Makefile.in: Rebuilt.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-09  Tom Tromey  <tromey@redhat.com>
2
3         * Makefile.in: Rebuilt.
4         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5
6 2003-07-09  Mark Wielaard  <mark@klomp.org>
7
8         * java/io/ObjectOutputStream.java (writeObject): break after
9         calling writeClassDescriptor().
10
11 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
12
13         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
14
15 2003-07-09  Michael Koch  <konqueror@gmx.de>
16
17         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
19         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
20         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
21         Explicitly import used classes.
22         * java/awt/Container.java: New version from classpath.
23
24 2003-07-09  Michael Koch  <konqueror@gmx.de>
25
26         * libgcj.pc.in
27         * Makefile.am
28         * Makefile.in
29         * configure
30         * configure.in
31
32 2003-07-08  Mark Wielaard <mark@klomp.org>
33
34         * gcj/cni.h: CNI now expands to Compiled Native Interface.
35
36         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
37         * java/lang/fdlibm.h: Likewise.
38
39 2003-07-07  Adam Megacz <adam@xwt.org>
40
41         * posix.cc: added #include<stdio.h>
42                 
43 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
44
45         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
46         formatting.
47
48         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
49         (setCaretPosition, setEditable): Rely entirely on native
50         implementation.
51         (getArgs): Remove.
52         (postTextEvent): New method.
53         (handleEvent): New method.
54         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
55         method.
56         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
57         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
58         (keysym_to_awt_keycode): Fix range checks.
59         (generates_key_typed_event): New function.
60         (awt_event_handler): Post AWT_KEY_RELEASED events to event
61         queue.
62         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
63         (gtkInit): Store TextComponent's postTextEvent method ID.
64         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
65         (setText): Post TEXT_VALUE_CHANGED event to event queue.
66
67 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
68
69         * configure.in: Check for usleep declaration.
70         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
71         * configure: Regenerate.
72         * include/config.h.in: Likewise.
73         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
74
75 2003-07-01  Michael Koch  <konqueror@gmx.de>
76
77         * gnu/gcj/convert/natIconv.cc
78         (iconv_init): Fixed possible memory leak by releasing allocated iconv
79         handle.
80
81 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
82
83         * glib-2.0.m4: New file.
84         * gtk-2.0.m4: New file.
85         * glib.m4: Remove.
86         * gtk.m4: Remove.
87         * configure.in: Update AM_PATH_GTK macro call to
88         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
89         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
90         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
91         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
92         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
93         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
94         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
95         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
96         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
97         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
98         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
99         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
100         jni/gtk-peer/gthread-jni.c,
101         jni/gtk-peer/gthread-jni.h:
102         New versions from classpath.
103         * aclocal.m4: Regenerate.
104         * configure: Regenerate.
105         * Makefile.in: Regenerate.
106         * gcj/Makefile.in: Regenerate.
107         * include/Makefile.in: Regenerate.
108         * testsuite/Makefile.in: Regenerate.
109
110 2003-06-30  Gary Benson  <gbenson@redhat.com>
111
112         For PR libgcj/11349:
113         * javax/naming/spi/NamingManager.java (getURLContext): Use
114         correct name for factory class.
115
116 2003-06-28  Michael Koch  <konqueror@gmx.de>
117
118         * java/io/PrintStream.java
119         (checkError): Call flush() instead of direct flushing of the Writer
120         object.
121         (print): Call print(String) instead of direct print method of the
122         Writer Object.
123         (println): Call println(String) instead of direct println method of the
124         Writer Object.
125         (write): Simplified.
126
127 2003-06-28  Michael Koch  <konqueror@gmx.de>
128
129         * java/net/ServerSocket.java
130         (setChannel): New method.
131         * java/net/Socket.java
132         (setChannel): New method.
133
134 2003-06-27  Michael Koch  <konqueror@gmx.de>
135
136         * java/beans/beancontext/BeanContextSupport.java:
137         New version from classpath.
138
139 2003-06-27  Michael Koch  <konqueror@gmx.de>
140
141         * java/awt/Window.java,
142         java/awt/font/GraphicAttribute.java,
143         java/awt/font/ImageGraphicAttribute.java,
144         java/awt/image/DataBufferByte.java,
145         java/awt/image/DataBufferInt.java,
146         java/awt/image/DataBufferUShort.java,
147         java/awt/image/DirectColorModel.java,
148         java/awt/image/PixelGrabber.java:
149         New versions from classpath.
150
151 2003-06-27  Michael Koch  <konqueror@gmx.de>
152
153         * java/security/Certificate.java
154         (getGuarantor): Removed wrong @deprecated tag.
155         (getPrincipal): Likewise.
156         (getPublicKey): Likewise.
157         (encode): Likewise.
158         (decode): Likewise.
159         (getFormat): Likewise.
160         (toString): Likewise.
161         * java/security/cert/PolicyQualifierInfo.java
162         (PolicyQualifierInfo): Made final.
163         * javax/security/auth/x500/X500Principal.java
164         (serialVersionUID): New member variable.
165
166 2003-06-27  Michael Koch  <konqueror@gmx.de>
167
168         * java/text/Format.java
169         (serialVersionUID): Fixed value.
170
171 2003-06-27  Michael Koch  <konqueror@gmx.de>
172
173         * java/net/Inet4Address.java
174         (Inet4Address): Made package-private.
175         * java/net/Inet6Address.java
176         (Inet4Address): Made package-private.
177
178 2003-06-27  Michael Koch  <konqueror@gmx.de>
179
180         * java/io/RandomAccessFile.java
181         (readLine): Removed wrong @deprecated tag.
182         (getChannel): Made final.
183
184 2003-06-27  Michael Koch  <konqueror@gmx.de>
185
186         * gnu/java/nio/FileChannelImpl.java
187         (write): Removed.
188
189 2003-06-27  Michael Koch  <konqueror@gmx.de>
190
191         * java/nio/ByteBufferImpl.java
192         (ByteBufferImpl): Made it a package-private class
193         * java/nio/CharBufferImpl.java
194         (CharBufferImpl): Made it a package-private class
195         * java/nio/DirectByteBufferImpl.java
196         (DirectByteBufferImpl): Made it a package-private class
197         * java/nio/DoubleBufferImpl.java
198         (DoubleBufferImpl): Made it a package-private class
199         * java/nio/FloatBufferImpl.java
200         (FloatBufferImpl): Made it a package-private class
201         * java/nio/IntBufferImpl.java
202         (IntBufferImpl): Made it a package-private class
203         * java/nio/LongBufferImpl.java
204         (LongBufferImpl): Made it a package-private class
205         * java/nio/ShortBufferImpl.java
206         (ShortBufferImpl): Made it a package-private class
207         * java/nio/channels/FileChannel.java
208         (write): Made final.
209         * java/nio/channels/ServerSocketChannel.java
210         (ServerSocketChanne): Made protected.
211
212 2003-06-27  Michael Koch  <konqueror@gmx.de>
213
214         * javax/naming/CompositeName.java
215         (serialVersionUID): New member variable.
216         * javax/naming/CompoundName.java
217         (serialVersionUID): New member variable.
218         * javax/naming/InitialContext.java
219         (InitialContext): Throws NamingException.
220         (init): Likewise.
221         * javax/naming/LinkRef.java
222         (serialVersionUID): New member variable.
223         (gteLinkName): Throws NamingException.
224         * javax/naming/NamingException.java
225         (serialVersionUID): New member variable.
226         * javax/naming/NamingSecurityException.java
227         (NamingSecurityException): Made abstract.
228         (serialVersionUID): New member variable.
229         * javax/naming/ReferralException.java
230         (serialVersionUID): New member variable.
231         * javax/naming/StringRefAddr.java
232         (serialVersionUID): New member variable.
233         * javax/naming/directory/BasicAttribute.java:
234         Reworked imports.
235         (serialVersionUID): New member variable.
236         (get): Throws NamingException.
237         (getAll): Throws NamingException.
238         * javax/naming/directory/BasicAttributes.java:
239         Reworked imports.
240         (serialVersionUID): New member variable.
241         * javax/naming/ldap/UnsolicitedNotificationEvent.java
242         (serialVersionUID): New member variable.
243
244 2003-06-27  Michael Koch  <konqueror@gmx.de>
245
246         * Makefile.am
247         (awt_java_source_files): Added new files:
248         javax/swing/Popup.java,
249         javax/swing/PopupFactory.java
250         * Makefile.in: Regenerated.
251
252 2003-06-27  Michael Koch  <konqueror@gmx.de>
253
254         * javax/swing/JWindow.java,
255         javax/swing/event/AncestorEvent.java,
256         javax/swing/event/HyperlinkEvent.java,
257         javax/swing/event/InternalFrameEvent.java,
258         javax/swing/event/ListDataEvent.java,
259         javax/swing/event/TableModelEvent.java,
260         javax/swing/plaf/PopupMenuUI.java,
261         javax/swing/plaf/SplitPaneUI.java,
262         javax/swing/plaf/TabbedPaneUI.java,
263         javax/swing/plaf/TextUI.java,
264         javax/swing/plaf/TreeUI.java,
265         javax/swing/plaf/basic/BasicTextUI.java,
266         javax/swing/plaf/basic/BasicTreeUI.java:
267         New versions from classpath.
268         * javax/swing/Popup.java,
269         javax/swing/PopupFactory.jav:
270         New source files from classpath.
271         * javax/swing/plaf/doc-files/TreeUI-1.png:
272         New binary files from classpath.
273
274 2003-06-25  Michael Koch  <konqueror@gmx.de>
275
276         * Makefile.am
277         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
278         * Makefile.in: Regenerated.
279
280 2003-06-25  Michael Koch  <konqueror@gmx.de>
281
282         * javax/swing/plaf/ActionMapUIResource.java,
283         javax/swing/plaf/BorderUIResource.java,
284         javax/swing/plaf/ButtonUI.java,
285         javax/swing/plaf/ColorChooserUI.java,
286         javax/swing/plaf/ColorUIResource.java,
287         javax/swing/plaf/ComboBoxUI.java,
288         javax/swing/plaf/ComponentInputMapUIResource.java,
289         javax/swing/plaf/ComponentUI.java,
290         javax/swing/plaf/DesktopIconUI.java,
291         javax/swing/plaf/DesktopPaneUI.java,
292         javax/swing/plaf/DimensionUIResource.java,
293         javax/swing/plaf/FileChooserUI.java,
294         javax/swing/plaf/FontUIResource.java,
295         javax/swing/plaf/IconUIResource.java,
296         javax/swing/plaf/InputMapUIResource.java,
297         javax/swing/plaf/InsetsUIResource.java,
298         javax/swing/plaf/InternalFrameUI.java,
299         javax/swing/plaf/LabelUI.java,
300         javax/swing/plaf/ListUI.java,
301         javax/swing/plaf/MenuBarUI.java,
302         javax/swing/plaf/MenuItemUI.java,
303         javax/swing/plaf/OptionPaneUI.java,
304         javax/swing/plaf/PanelUI.java,
305         javax/swing/plaf/ProgressBarUI.java,
306         javax/swing/plaf/RootPaneUI.java,
307         javax/swing/plaf/ScrollBarUI.java,
308         javax/swing/plaf/ScrollPaneUI.java,
309         javax/swing/plaf/SeparatorUI.java,
310         javax/swing/plaf/SliderUI.java,
311         javax/swing/plaf/TableHeaderUI.java,
312         javax/swing/plaf/TableUI.java,
313         javax/swing/plaf/ToolBarUI.java,
314         javax/swing/plaf/ToolTipUI.java,
315         javax/swing/plaf/ViewportUI.java:
316         New versions from classpath.
317         * javax/swing/plaf/SpinnerUI.java: 
318         New file from classpath
319
320 2003-06-25  Michael Koch  <konqueror@gmx.de>
321
322         * java/awt/image/ColorModel.java:
323         New version from classpath.
324
325 2003-06-25  Michael Koch  <konqueror@gmx.de>
326
327         * java/net/PlainDatagramSocketImpl.java:
328         Partly merged with classpath, this mainly adds documentation.
329
330 2003-06-25  Michael Koch  <konqueror@gmx.de>
331
332         * java/io/ObjectInputStream.java
333         (readClassDescriptor): New method.
334         (readObject): Moved functionality to readClassDescriptor().
335         * java/io/ObjectOutputStream.java
336         (writeClassDescriptor): New method.
337         (writeObject): Moved functionality to writeClassDescriptor().
338
339 2003-06-25  Michael Koch  <konqueror@gmx.de>
340
341         * javax/swing/plaf/basic/BasicListUI.java,
342         javax/swing/plaf/basic/BasicOptionPaneUI.java:
343         Added missing methods.
344
345 2003-06-25  Michael Koch  <konqueror@gmx.de>
346
347         * javax/swing/event/AncestorEvent.java
348         javax/swing/event/HyperlinkEvent.java
349         javax/swing/event/InternalFrameEvent.java
350         javax/swing/event/ListDataEvent.java
351         javax/swing/event/TableModelEvent.java:
352         Compile fixes.
353
354 2003-06-24  Michael Koch  <konqueror@gmx.de>
355
356         * java/net/URL.java:
357         Renamed "handler" to "ph" in the whole file to match classpaths
358         version.
359         * java/net/URLStreamHandler.java:
360         (equals): Renamed "handler" to "ph".
361
362 2003-06-24  Michael Koch  <konqueror@gmx.de>
363
364         * javax/swing/event/AncestorEvent.java,
365         javax/swing/event/HyperlinkEvent.java,
366         javax/swing/event/InternalFrameEvent.java,
367         javax/swing/event/ListDataEvent.java,
368         javax/swing/event/TableModelEvent.java,
369         javax/swing/event/TreeWillExpandListener.java,
370         javax/swing/plaf/ComponentUI.java,
371         javax/swing/plaf/DesktopIconUI.java,
372         javax/swing/plaf/DesktopPaneUI.java,
373         javax/swing/plaf/DimensionUIResource.java,
374         javax/swing/plaf/FileChooserUI.java,
375         javax/swing/plaf/FontUIResource.java,
376         javax/swing/plaf/IconUIResource.java,
377         javax/swing/plaf/InputMapUIResource.java,
378         javax/swing/plaf/InsetsUIResource.java,
379         javax/swing/plaf/InternalFrameUI.java,
380         javax/swing/plaf/LabelUI.java,
381         javax/swing/plaf/ListUI.java,
382         javax/swing/plaf/MenuBarUI.java,
383         javax/swing/plaf/MenuItemUI.java,
384         javax/swing/plaf/OptionPaneUI.java,
385         javax/swing/plaf/PanelUI.java,
386         javax/swing/plaf/ProgressBarUI.java,
387         javax/swing/plaf/doc-files/ComponentUI-1.dia,
388         javax/swing/plaf/doc-files/ComponentUI-1.png:
389         New versions from classpath.
390
391 2003-06-24  Michael Koch  <konqueror@gmx.de>
392
393         * java/nio/Buffer.java
394         (cap): Made package-private.
395         (pos): Likewise.
396         (limit): Likewise.
397         (mark): Likewise.
398
399 2003-06-24  Michael Koch  <konqueror@gmx.de>
400
401         * java/net/SocketImpl.java
402         (shutdownInput): Made it non-abstract method throwing an exception
403         like in SUNs JRE.
404         (shutdownOutput): Likewise.
405         * java/net/SocketInputStream.java,
406         java/net/SocketOutputStream.java:
407         New files from classpath.
408
409 2003-06-24  Michael Koch  <konqueror@gmx.de>
410
411         * java/awt/Font.java,
412         java/awt/Window.java,
413         java/awt/color/ColorSpace.java,
414         java/awt/datatransfer/StringSelection.java,
415         java/awt/image/ColorModel.java:
416         New versions from classpath.
417
418 2003-06-24  Michael Koch  <konqueror@gmx.de>
419
420         * Makefile.am
421         (awt_java_source_files): Added new files:
422         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
423         javax/swing/plaf/basic/BasicSplitPaneUI.java
424         * Makefile.in: Regenerated.
425
426 2003-06-24  Michael Koch  <konqueror@gmx.de>
427
428         * javax/swing/text/JTextComponent.java:
429         New version from classpath.
430
431 2003-06-24  Michael Koch  <konqueror@gmx.de>
432
433         * javax/swing/Timer.java,
434         javax/swing/plaf/ActionMapUIResource.java,
435         javax/swing/plaf/ButtonUI.java,
436         javax/swing/plaf/ColorChooserUI.java,
437         javax/swing/plaf/ColorUIResource.java,
438         javax/swing/plaf/ComboBoxUI.java,
439         javax/swing/plaf/ComponentInputMapUIResource.java,
440         javax/swing/plaf/basic/BasicBorders.java:
441         New versions from classpath.
442         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
443         javax/swing/plaf/basic/BasicSplitPaneUI.java:
444         New file from classpath.
445         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
446         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
447         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
448         javax/swing/plaf/doc-files/ComponentUI-1.dia,
449         javax/swing/plaf/doc-files/ComponentUI-1.png:
450         New binary files from classpath.
451
452 2003-06-24  Michael Koch  <konqueror@gmx.de>
453
454         * java/io/LineNumberReader.java
455         (skip): Dont do line number accounting here as this is already done in
456         read(), simplified.
457
458 2003-06-21  Michael Koch  <konqueror@gmx.de>
459
460         * java/io/File.java
461         (static): Load javaio lib if existing (only in classpath).
462         (File): Revised documentation to show the correct argument name.
463         (createTempFile): Partly merged with classpath.
464         (compareTo): Simplified.
465         (lastModified): Throw exception if time < 0.
466         (deleteOnExit): Revised documentation.
467
468 2003-06-21  Michael Koch  <konqueror@gmx.de>
469
470         * java/net/PlainSocketImpl.java:
471         Reformatted.
472         (PlainSocketImpl): Merged class documentaion with classpath.
473         (in): Moved.
474         (out): Moved.
475         (PlainSocketImpl): New empty constructor.
476         (finalize): Moved.
477         (setOption): Merged documentation from classpath.
478         (getOption): Likewise.
479         (create): Likewise.
480         (connect): Likewise.
481         (bind): Likewise.
482         (listen): Likewise.
483         (accept): Likewise.
484         (available): Likewise.
485         (close): Likewise.
486         (read): Likewise.
487         (write): Likewise.
488         (getInputStream): Made synchronozed to get sure that only one stream
489         object can be created for this socket, merged documentation from
490         classpath.
491         (getOutputStream): Likewise.
492
493 2003-06-21  Michael Koch  <konqueror@gmx.de>
494
495         * java/net/PlainSocketImpl.java:
496         Reformatting.
497         (static): New implicit method.
498         (read): Made package private.
499         (write): Likewise.
500
501 2003-06-21  Michael Koch  <konqueror@gmx.de>
502
503         * java/util/SimpleTimeZone.java:
504         Removed unneeded import, reformatting.
505
506 2003-06-21  Michael Koch  <konqueror@gmx.de>
507
508         * java/text/DateFormat.java,
509         java/text/SimpleDateFormat.java,
510         java/util/Locale.java:
511         New versions from classpath.
512
513 2003-06-21  Michael Koch  <konqueror@gmx.de>
514
515         * javax/swing/SpinnerModel.java:
516         New file from classpath.
517         * javax/swing/border/LineBorder.java,
518         javax/swing/border/SoftBevelBorder.java,
519         javax/swing/plaf/BorderUIResource.java,
520         javax/swing/plaf/basic/BasicBorders.java:
521         New versions from classpath.
522         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
523         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
524         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
525         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
526         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
527         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
528         New binary files from classpath.
529
530 2003-06-21  Michael Koch  <konqueror@gmx.de>
531
532         * java/util/logging/LogRecord.java,
533         java/util/logging/Logger.java,
534         java/util/logging/SocketHandler.java,
535         java/util/logging/SimpleFormatter.java,
536         java/util/logging/Formatter.java,
537         java/util/logging/ErrorManager.java,
538         java/util/logging/Handler.java,
539         java/util/logging/FileHandler.java,
540         java/util/logging/LogManager.java,
541         java/util/logging/Level.java,
542         java/util/logging/ConsoleHandler.java,
543         java/util/logging/StreamHandler.java,
544         java/util/logging/LoggingPermission.java,
545         java/util/logging/Filter.java,
546         java/util/logging/MemoryHandler.java,
547         java/util/logging/XMLFormatter.java:
548         New files from classpath.
549
550 2003-06-20  Michael Koch  <konqueror@gmx.de>
551
552         * java/io/ObjectStreamField.java
553         (unshared): new member variable.
554         (ObjectStreamField): New constructor.
555         (isUnshared): New method.
556
557 2003-06-20  Michael Koch  <konqueror@gmx.de>
558
559         * java/net/URLStreamHandler.java
560         (hostsEqual): Rewritten.
561
562 2003-06-20  Michael Koch  <konqueror@gmx.de>
563
564         * gnu/java/nio/MappedByteFileBuffer.java,
565         gnu/java/nio/natMappedByteFileBuffer.cc:
566         Removed
567         * java/nio/MappedByteBufferImpl.java:
568         New file.
569         * gnu/java/nio/FileChannelImpl.java:
570         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
571         * Makefile.am
572         (ordinary_java_source_files): Removed
573         gnu/java/nio/MappedByteFileBuffer.java and added
574         java/nio/MappedByteBufferImpl.java.
575         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
576         * Makefile.in: Regenerated.
577
578 2003-06-19  Michael Koch  <konqueror@gmx.de>
579
580         * gnu/java/nio/DatagramChannelImpl.java
581         (fd): Removed.
582         (blocking): New member variable.
583         (socket): Likewise.
584         (DatagramChannelImpl): Throws IOException, initialize socket.
585         (socket):Implemented.
586         (implCloseSelectableChannel): Throws IOException, implemented.
587         (implConfigureBlocking): Likewise.
588         (connect): Likewise.
589         (disconnect): Likewise.
590         (isConnected): Likewise.
591         (write): Likewise.
592         (read): Likewise.
593         (receive): Throws IOException.
594         (send): Likewise.
595         * gnu/java/nio/SocketChannelImpl.java
596         (read): Implemented.
597         (write): Implemented.
598
599 2003-06-19  Michael Koch  <konqueror@gmx.de>
600
601         * javax/swing/JComponent.java,
602         javax/swing/JInternalFrame.java,
603         javax/swing/MenuSelectionManager.java,
604         javax/swing/SwingUtilities.java,
605         javax/swing/ToggleButtonModel.java:
606         New versions from classpath.
607
608 2003-06-19  Michael Koch  <konqueror@gmx.de>
609
610         * java/text/CollationElementIterator.java
611         (NULLORDER): Initialize with -1 as JDK documentation says.
612
613 2003-06-19  Michael Koch  <konqueror@gmx.de>
614
615         * java/net/HttpURLConnection.java,
616         java/net/Inet4Address.java,
617         java/net/Inet6Address.java,
618         java/net/SocketImpl.java,
619         java/net/URLClassLoader.java:
620         Reworked import statements.
621         * java/net/InetAddress.java
622         (getByAddress): Simplified.
623         * java/net/ServerSocket.java
624         (ServerSocket): Moved special handling during bind operation to
625         bind().
626         (bind): Handle different cases when trying to bind a socket.
627         * java/net/URLConnection.java
628         (getHeaderFieldDate): Merged with classpath.
629         (getHeaderFieldInt): Likewise.
630
631 2003-06-19  Michael Koch  <konqueror@gmx.de>
632
633         * java/util/zip/InflaterInputStream.java
634         (InflaterInputStream): Throw NullPointerException if in is null (as
635         JDK does).
636
637 2003-06-19  Michael Koch  <konqueror@gmx.de>
638
639         * java/awt/Font.java
640         javax/swing/UIManager.java
641         javax/swing/border/AbstractBorder.java
642         javax/swing/border/BevelBorder.java
643         javax/swing/border/Border.java
644         javax/swing/border/CompoundBorder.java
645         javax/swing/border/EmptyBorder.java
646         javax/swing/border/EtchedBorder.java
647         javax/swing/border/LineBorder.java
648         javax/swing/border/MatteBorder.java
649         javax/swing/border/TitledBorder.java
650         javax/swing/plaf/BorderUIResource.java
651         javax/swing/plaf/basic/BasicBorders.java
652         javax/swing/plaf/basic/BasicButtonUI.java
653         javax/swing/plaf/basic/BasicCheckBoxUI.java
654         javax/swing/plaf/basic/BasicGraphicsUtils.java
655         javax/swing/plaf/basic/BasicLabelUI.java
656         javax/swing/plaf/basic/BasicRadioButtonUI.java
657         javax/swing/plaf/basic/BasicToggleButtonUI.java:
658         New versions from classpath.
659         * javax/swing/border/SoftBevelBorder.java:
660         New file from classpath.
661         * javax/swing/border/doc-files/LineBorder-1.png,
662         javax/swing/border/doc-files/BevelBorder-1.png,
663         javax/swing/border/doc-files/BevelBorder-2.png,
664         javax/swing/border/doc-files/BevelBorder-3.png,
665         javax/swing/border/doc-files/EmptyBorder-1.png,
666         javax/swing/border/doc-files/EtchedBorder-1.png,
667         javax/swing/border/doc-files/EtchedBorder-2.png,
668         javax/swing/border/doc-files/MatteBorder-1.png,
669         javax/swing/border/doc-files/MatteBorder-2.png,
670         javax/swing/border/doc-files/MatteBorder-3.png,
671         javax/swing/border/doc-files/MatteBorder-4.png,
672         javax/swing/border/doc-files/MatteBorder-5.png,
673         javax/swing/border/doc-files/MatteBorder-6.png,
674         javax/swing/border/doc-files/SoftBevelBorder-1.png,
675         javax/swing/border/doc-files/SoftBevelBorder-2.png,
676         javax/swing/border/doc-files/SoftBevelBorder-3.png,
677         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
678         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
679         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
680         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
681         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
682         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
683         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
684         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
685         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
686         New binary files from classpath.
687         * Makefile.am
688         (awt_java_source_files): Added
689         javax/swing/border/SoftBevelBorder.java.
690         * Makefile.in: Regenerated.
691
692 2003-06-19  Michael Koch  <konqueror@gmx.de>
693
694         * gnu/java/security/x509/X509Certificate.java
695         (writeReplace): Merged from classpath.
696
697 2003-06-19  Michael Koch  <konqueror@gmx.de>
698
699         * gnu/java/nio/FileChannelImpl.java
700         (map_address): Made public.
701         (FileChannelImpl): Merged with classpath.
702         * gnu/java/nio/natFileChannelImpl.cc
703         (nio_mmap_file): Commented out unused arguments.
704         (nio_unmmap_file): Likewise.
705         (niu_msync): Likewise.
706
707 2003-06-19  Michael Koch  <konqueror@gmx.de>
708
709         * java/awt/image/IndexColorModel.java:
710         New version from classpath.
711
712 2003-06-18  Tom Tromey  <tromey@redhat.com>
713
714         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
715         on arrays.
716         (isLoopbackAddress): Likewise.
717         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
718         on arrays.
719
720 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
721
722         * java/lang/natVMSecurityManager.cc (getClassContext):
723         Use maxlen instead of len for loop bound.
724
725 2003-06-18  Michael Koch  <konqueror@gmx.de>
726
727         * gnu/java/nio/SelectorImpl.java
728         (register): Use fd with value 0 for now, will be fixed later.
729         * gnu/java/nio/ServerSocketChannelImpl.java
730         (fd): Removed.
731         (local_port): Removed.
732         (InetSocketAddress): Removed.
733         (ServerSocketChannelImpl): Just initialize internal socket object.
734         (implCloseSelectableChannel): Close internal socket object.
735         (implConfigureBlocking): Added comment.
736         (accept): Use jaba.net stuff to accept socket.
737         * gnu/java/nio/SocketChannelImpl.java
738         (fd): Removed.
739         (local_port): Removed.
740         (InetSocketAddress): Removed.
741         (SocketCreate): Removed.
742         (SocketConnect): Removed.
743         (SocketBind): Removed.
744         (SocketListen): Removed.
745         (SocketAvailable): Removed.
746         (SocketClose): Removed.
747         (SocketRead): Removed.
748         (SocketWrite): Removed.
749         (SocketChannelImpl): Just initialize internal socket object.
750         (implCloseSelectableChannel): Close internal socket object.
751         (implConfigureBlocking): Fixed implementation, added comment.
752         (connect): Use internal socket object to connect.
753         (socket): No need for sanity checks.
754         (read): Comment out some stuff, this will be reimplemented in the next
755         commit.
756         (write): Likewise.
757         * gnu/java/nio/natFileChannelImpl.cc
758         (nio_mmap_file): Line wrapped.
759         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
760         * Makefile.am
761         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
762         * Makefile.in: Regenerated.
763
764 2003-06-18  Michael Koch  <konqueror@gmx.de>
765
766         * java/util/Locale.java
767         (equals): Merged from classpath.
768
769 2003-06-18  Michael Koch  <konqueror@gmx.de>
770
771         * java/net/InetAddress.java:
772         Reformatted to better match classpath's version.
773         * java/net/URL.java
774         (equals): Simplified.
775         * java/net/URLConnection.java
776         (setDoInput): Revised documentation.
777         (getDefaultUseCaches): Likewise.
778         (setRequestProperty): Added @since tag.
779
780 2003-06-17  Michael Koch  <konqueror@gmx.de>
781
782         * java/net/InetSocketAddress.java
783         (InetSocketAddress): Use wildcard address if addr is null.
784         (InetSocketAddress): Dont duplicate implementation.
785         (InetSocketAddress): Throw exception when hostname is null.
786         * java/net/Socket.java:
787         Reworked imports.
788         (Socket): Throw exception when raddr is null, handle case when laddr
789         is null.
790
791 2003-06-17  Michael Koch  <konqueror@gmx.de>
792
793         * java/nio/DirectByteBufferImpl.java
794         (address): Made package private.
795         (DirectByteBufferImpl): New constructor.
796         * java/nio/natDirectByteBufferImpl.cc
797         (allocateImpl): Moved to java.nio namespace, implemented.
798         (freeImpl): Likewise.
799         (getImpl): Likewise.
800         (putImpl): Likewise.
801         * jni.cc
802         (_Jv_JNI_NewDirectByteBuffer): Implemented.
803         (_Jv_JNI_GetDirectBufferAddress): Implemented.
804         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
805
806 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
807
808         * include/powerpc-signal.h: New File.
809         * configure.in: Use it.
810         * configure: Regenerated.
811
812 2003-06-17  Michael Koch  <konqueror@gmx.de>
813
814         * java/util/Locale.java
815         (getDisplayLanguage): Made it final.
816         (getDisplayCountry): Likewise.
817         (getDisplayVariant): Likewise.
818         (getDisplayName): Likewise.
819
820 2003-06-17  Michael Koch  <konqueror@gmx.de>
821
822         * java/util/PropertyResourceBundle.java:
823         Removed unneeded import.
824
825 2003-06-17  Michael Koch  <konqueror@gmx.de>
826
827         * java/util/prefs/AbstractPreferences.java,
828         java/util/prefs/PreferencesFactory.java:
829         Reworked imports, removed unused imports.
830         * java/util/prefs/Preferences.java
831         (systemNodeForPackage): Method takes a Class not an Object.
832         (userNodeForPackage): Likewise.
833         (nodeForPackage): Likewise.
834
835 2003-06-17  Michael Koch  <konqueror@gmx.de>
836
837         * gnu/java/security/x509/X509Certificate.java:
838         Explicitely import used classes.
839
840 2003-06-17  Michael Koch  <konqueror@gmx.de>
841
842         * java/util/zip/ZipEntry.java,
843         java/util/zip/ZipFile.java,
844         java/util/zip/ZipInputStream.java,
845         java/util/zip/ZipOutputStream.java:
846         Reworked imports, only import used classes.
847
848 2003-06-17  Michael Koch  <konqueror@gmx.de>
849
850         * gnu/java/lang/ArrayHelper.java,
851         gnu/java/lang/ClassHelper.java:
852         Reformatted to match classpath's versions.
853
854 2003-06-14  Michael Koch  <konqueror@gmx.de>
855
856         * gnu/java/nio/FileChannelImpl.java
857         (map_address): Removed incorrect comment.        
858         * gnu/java/nio/SelectorImpl.java
859         (register): Remove code duplication and code for file channel handling.        
860         * gnu/java/nio/ServerSocketChannelImpl.java
861         (serverSocket): Renamed from sock_object.
862         (ServerSocketChannel): Initialize serverSocket.
863         (socket): Return serverSocket.
864         * gnu/java/nio/SocketChannelImpl.java
865         (socket): Renamed from sock_object.
866         (isConnectionPenging): Simplified.
867         (socket): Return socket.
868 2003-06-14  Michael Koch  <konqueror@gmx.de>
869
870         * java/security/BasicPermission.java:
871         New version from classpath.
872
873 2003-06-14  Michael Koch  <konqueror@gmx.de>
874
875         * javax/naming/directory/Attribute.java:
876         New version from classpath.
877
878 2003-06-14  Michael Koch  <konqueror@gmx.de>
879
880         * java/io/BufferedReader.java,
881         java/io/FileOutputStream.java:
882         New versions from classpath.
883
884 2003-06-12  Andrew Haley  <aph@redhat.com>
885
886         * prims.cc (catch_segv): Create exception in handler.
887         (catch_fpe): Likewise.  
888         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
889         (_Jv_ThrowSignal): Remove.
890
891         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
892         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
893         to nullp and arithexception.
894         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
895         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
896         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
897         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
898         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
899
900 2003-06-11  Andrew Haley  <aph@redhat.com>
901
902         * jni.cc (_Jv_JNI_check_types): New.
903         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
904         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
905         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
906         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
907         
908         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
909         infinite loop.
910
911 2003-06-11  Tom Tromey  <tromey@redhat.com>
912
913         * java/lang/ClassLoader.java (loadClass): Not deprecated.
914         * java/io/PrintStream.java: Not deprecated.
915
916 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
917
918         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
919         (fillOval): implemented
920         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
921         (fillArc): implemented.
922         * gnu/gcj/xlib/GC.java (drawArc): added native method.
923         (fillArc): added native method.
924         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
925         (fillArc): added native method.
926
927 2003-06-11  Michael Koch  <konqueror@gmx.de>
928
929         * java/awt/im/InputSubset.java:
930         New version from classpath.
931
932 2003-06-11  Michael Koch  <konqueror@gmx.de>
933
934         * javax/swing/AbstractAction.java,
935         javax/swing/AbstractButton.java,
936         javax/swing/AbstractCellEditor.java,
937         javax/swing/AbstractListModel.java,
938         javax/swing/BorderFactory.java,
939         javax/swing/Box.java,
940         javax/swing/BoxLayout.java,
941         javax/swing/ButtonGroup.java,
942         javax/swing/DefaultButtonModel.java,
943         javax/swing/DefaultListModel.java,
944         javax/swing/DefaultListSelectionModel.java,
945         javax/swing/FocusManager.java,
946         javax/swing/ImageIcon.java,
947         javax/swing/InputMap.java,
948         javax/swing/JApplet.java,
949         javax/swing/JButton.java,
950         javax/swing/JCheckBox.java,
951         javax/swing/JCheckBoxMenuItem.java,
952         javax/swing/JColorChooser.java,
953         javax/swing/JComboBox.java,
954         javax/swing/JComponent.java,
955         javax/swing/JDesktopPane.java,
956         javax/swing/JDialog.java,
957         javax/swing/JEditorPane.java,
958         javax/swing/JFileChooser.java,
959         javax/swing/JFormattedTextField.java,
960         javax/swing/JFrame.java,
961         javax/swing/JLabel.java,
962         javax/swing/JLayeredPane.java,
963         javax/swing/JList.java,
964         javax/swing/JMenuBar.java,
965         javax/swing/JMenuItem.java,
966         javax/swing/JOptionPane.java,
967         javax/swing/JPanel.java,
968         javax/swing/JPasswordField.java,
969         javax/swing/JPopupMenu.java,
970         javax/swing/JProgressBar.java,
971         javax/swing/JRadioButton.java,
972         javax/swing/JRadioButtonMenuItem.java,
973         javax/swing/JRootPane.java,
974         javax/swing/JScrollBar.java,
975         javax/swing/JScrollPane.java,
976         javax/swing/JSeparator.java,
977         javax/swing/JSlider.java,
978         javax/swing/JTabbedPane.java,
979         javax/swing/JTable.java,
980         javax/swing/JTextField.java,
981         javax/swing/JToggleButton.java,
982         javax/swing/JToolBar.java,
983         javax/swing/JToolTip.java,
984         javax/swing/JTree.java,
985         javax/swing/JViewport.java,
986         javax/swing/JWindow.java,
987         javax/swing/KeyStroke.java,
988         javax/swing/ListSelectionModel.java,
989         javax/swing/LookAndFeel.java,
990         javax/swing/RepaintManager.java,
991         javax/swing/ScrollPaneLayout.java,
992         javax/swing/SizeRequirements.java,
993         javax/swing/SwingConstants.java,
994         javax/swing/Timer.java,
995         javax/swing/UIDefaults.java,
996         javax/swing/UIManager.java,
997         javax/swing/border/AbstractBorder.java,
998         javax/swing/border/CompoundBorder.java,
999         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1000         javax/swing/colorchooser/ColorChooserComponentFactory.java,
1001         javax/swing/colorchooser/ColorSelectionModel.java,
1002         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1003         javax/swing/event/AncestorEvent.java,
1004         javax/swing/event/HyperlinkEvent.java,
1005         javax/swing/event/InternalFrameAdapter.java,
1006         javax/swing/event/InternalFrameEvent.java,
1007         javax/swing/event/ListDataEvent.java,
1008         javax/swing/event/MouseInputAdapter.java,
1009         javax/swing/event/SwingPropertyChangeSupport.java,
1010         javax/swing/event/TableModelEvent.java,
1011         javax/swing/event/TreeWillExpandListener.java,
1012         javax/swing/event/UndoableEditEvent.java,
1013         javax/swing/filechooser/FileFilter.java,
1014         javax/swing/filechooser/FileSystemView.java,
1015         javax/swing/filechooser/FileView.java,
1016         javax/swing/plaf/BorderUIResource.java,
1017         javax/swing/plaf/basic/BasicDefaults.java,
1018         javax/swing/table/AbstractTableModel.java,
1019         javax/swing/table/DefaultTableCellRenderer.java,
1020         javax/swing/table/DefaultTableColumnModel.java,
1021         javax/swing/table/DefaultTableModel.java,
1022         javax/swing/table/TableColumn.java,
1023         javax/swing/text/JTextComponent.java,
1024         javax/swing/tree/AbstractLayoutCache.java,
1025         javax/swing/tree/DefaultMutableTreeNode.java,
1026         javax/swing/tree/DefaultTreeCellEditor.java,
1027         javax/swing/tree/DefaultTreeCellRenderer.java,
1028         javax/swing/tree/DefaultTreeModel.java,
1029         javax/swing/tree/DefaultTreeSelectionModel.java,
1030         javax/swing/tree/FixedHeightLayoutCache.java,
1031         javax/swing/tree/TreeCellEditor.java,
1032         javax/swing/tree/TreeModel.java,
1033         javax/swing/tree/TreeNode.java,
1034         javax/swing/tree/TreePath.java,
1035         javax/swing/tree/TreeSelectionModel.java,
1036         javax/swing/tree/VariableHeightLayoutCache.java,
1037         javax/swing/undo/AbstractUndoableEdit.java,
1038         javax/swing/undo/CompoundEdit.java,
1039         javax/swing/undo/StateEdit.java,
1040         javax/swing/undo/UndoManager.java,
1041         javax/swing/undo/UndoableEditSupport.java:
1042         New versions from classpath.
1043         * javax/swing/table/JTableHeader.java:
1044         New file from classpath.
1045         * Makefile.am
1046         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1047         * Makefile.in: Regenerated.
1048
1049 2003-06-11  Michael Koch  <konqueror@gmx.de>
1050
1051         * java/nio/MappedByteBuffer.java,
1052         java/nio/channels/Channels.java,
1053         java/nio/channels/ServerSocketChannel.java,
1054         java/nio/channels/spi/AbstractSelector.java:
1055         Removed unneeded imports.
1056
1057 2003-06-11  Michael Koch  <konqueror@gmx.de>
1058
1059         * java/net/DatagramSocket.java:
1060         Partly merged with classpath.
1061
1062 2003-06-11  Michael Koch  <konqueror@gmx.de>
1063
1064         * java/awt/Frame.java,
1065         java/awt/Graphics.java,
1066         java/awt/Menu.java,
1067         java/awt/Robot.java,
1068         java/awt/image/ColorModel.java:
1069         New versions from classpath.
1070
1071 2003-06-10  Michael Koch  <konqueror@gmx.de>
1072
1073         * java/io/PrintStream.java:
1074         Merged version from classpath.
1075         (close): Removed sychronized keyword. This class is not garantied to
1076         be thread-safe.
1077         (write): Likewise.
1078
1079 2003-06-09  Tom Tromey  <tromey@redhat.com>
1080
1081         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1082         field.
1083         (getDescent): Likewise, for "descent".
1084
1085 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1086
1087         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1088         (getMaxDescent): adjusted return value.
1089         (getAscent): modified to use metrics for 'O'.
1090         (getDescent): modified to use metrics for 'y'.
1091
1092 2003-06-08  Anthony Green  <green@redhat.com>
1093
1094         * java/net/URLStreamHandler.java (sameFile): Fix port value
1095         comparison.
1096         * java/net/URL.java (handler): Make package private.
1097         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1098
1099 2003-06-07  Tom Tromey  <tromey@redhat.com>
1100
1101         For PR libgcj/11085:
1102         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1103         Limit number of characters in numeric field when required.
1104         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1105         Respect maximumIntegerDigits.
1106
1107 2003-06-08  Michael Koch  <konqueror@gmx.de>
1108
1109         * java/net/Socket.java
1110         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1111         call bind() and connect() to actually do the bind and connect tasks.
1112         (bind): Connect to canonical address if bindpoint is null, create
1113         socket and bind it to bindpoint.
1114         (connect): Check for exceptions.
1115
1116 2003-06-08  Michael Koch  <konqueror@gmx.de>
1117
1118         * java/net/DatagramSocket.java
1119         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1120         into the Multicast constructors.
1121         * java/net/DatagramSocketImpl.java
1122         (getOption): Removed.
1123         (setOption): Removed.
1124         * java/net/MulticastSocket.java
1125         (MulticastSocket): Call setReuseAddress (true).
1126         * java/net/SocketImpl.java
1127         (getOption): Removed.
1128         (setOption): Removed.
1129
1130 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1131
1132         PR libgcj/10886:
1133         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1134         Test for empty vector.
1135
1136 2003-06-06  Mark Wielaard  <mark@klomp.org>
1137
1138         * java/security/Security.java (secprops): Initialize.
1139         (loadProviders): Return boolean.
1140         (static): Check result of loadProvider calls. If necessary
1141         display WARNING and fallback to Gnu provider.
1142
1143 2002-06-06  James Clark  <jjc@jclark.com>
1144
1145         Fix for PR libgcj/8738:
1146         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1147         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1148         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1149         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1150         (write): Always decrease avail when count is increased.
1151         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1152         and whether output buffer is full before increasing size.
1153
1154 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1155
1156         * java/io/PrintStream.java (writeChars(char[],int, int)):
1157         Check converter.havePendingBytes().
1158         (writeChars(String,int,int)): Likewise.
1159         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1160         Check converter.havePendingBytes() and flush buffer when stalled.
1161
1162 2003-06-07  Michael Koch  <konqueror@gmx.de>
1163
1164         * include/posix.h
1165         (O_DSYNC): Define O_DSYNC on platforms not
1166         supporting O_FSYNC (newlib).
1167
1168 2003-06-06  Mark Wielaard  <mark@klomp.org>
1169
1170         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1171         AWTError.
1172
1173 2003-06-06  Michael Koch  <konqueror@gmx.de>
1174
1175         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1176         More compile fixes from my stupid work yesterday.
1177
1178 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1179
1180         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1181         if _IEEE_LIBM is undefined.
1182
1183 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1184
1185         * libjava/include/posix.h (O_SYNC): Define if not available
1186         and a reasonable, perhaps more conservative, replacement exists.
1187         (O_DSYNC): Likewise.
1188         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1189
1190 2003-06-05  Michael Koch  <konqueror@gmx.de>
1191
1192         * javax/swing/plaf/BorderUIResource.java,
1193         javax/swing/plaf/basic/BasicDefaults.java,
1194         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1195         More compile fixes for latest Border commit. I should not commit
1196         something in this heat here ...
1197
1198 2003-06-05  Michael Koch  <konqueror@gmx.de>
1199
1200         * javax/swing/border/BevelBorder.java
1201         (BevelBorder): Removed.
1202         * javax/swing/border/EmptyBorder.java:
1203         Reformatted.
1204         (EmptyBorder): Removed.
1205         (getBorderInsets): Dont use l, r, t and b.
1206         * javax/swing/border/EtchedBorder.java
1207         (EtchedBorder): Removed.
1208         * javax/swing/border/LineBorder.java
1209         (LineBorder): Removed.
1210         * javax/swing/border/MatteBorder.java
1211         (MatteBorder): Removed.
1212         * javax/swing/border/TitledBorder.java
1213         (defaultBorder): Use other default for now.
1214         (defaultFont): Likewise.
1215         (defaultColor): Likewise.
1216
1217 2003-06-05  Michael Koch  <konqueror@gmx.de>
1218
1219         * javax/swing/border/Border.java:
1220         New version from classpath.
1221
1222 2003-06-05  Michael Koch  <konqueror@gmx.de>
1223
1224         * javax/swing/border/AbstractBorder.java,
1225         javax/swing/border/BevelBorder.java,
1226         javax/swing/border/CompoundBorder.java,
1227         javax/swing/border/EmptyBorder.java,
1228         javax/swing/border/EtchedBorder.java,
1229         javax/swing/border/LineBorder.java,
1230         javax/swing/border/MatteBorder.java,
1231         javax/swing/border/TitledBorder.java:
1232         New versions from Classpath.
1233
1234 2003-06-05  Michael Koch  <konqueror@gmx.de>
1235
1236         * java/awt/Button.java,
1237         java/awt/Checkbox.java,
1238         java/awt/CheckboxMenuItem.java,
1239         java/awt/Choice.java,
1240         java/awt/Container.java,
1241         java/awt/Dialog.java,
1242         java/awt/EventQueue.java,
1243         java/awt/FileDialog.java,
1244         java/awt/Frame.java,
1245         java/awt/Label.java,
1246         java/awt/List.java,
1247         java/awt/Menu.java,
1248         java/awt/MenuItem.java,
1249         java/awt/Panel.java,
1250         java/awt/PopupMenu.java,
1251         java/awt/Rectangle.java,
1252         java/awt/ScrollPane.java,
1253         java/awt/Scrollbar.java,
1254         java/awt/TextArea.java,
1255         java/awt/TextField.java,
1256         java/awt/Window.java,
1257         java/awt/datatransfer/DataFlavor.java,
1258         java/awt/dnd/DragSource.java,
1259         java/awt/dnd/DragSourceContext.java,
1260         java/awt/event/HierarchyEvent.java,
1261         java/awt/event/MouseWheelEvent.java,
1262         java/awt/im/InputContext.java,
1263         java/awt/image/BufferedImage.java,
1264         java/awt/image/ComponentColorModel.java,
1265         java/awt/image/Raster.java,
1266         java/awt/image/WritableRaster.java,
1267         java/awt/peer/ComponentPeer.java,
1268         java/awt/print/PageFormat.java,
1269         java/awt/print/PrinterJob.java:
1270         New versions from Classpath.
1271
1272 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1273
1274         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1275         numberFormat.setParseIntegerOnly(true).
1276
1277 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1278
1279         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1280
1281 2003-06-03  Andrew Haley  <aph@redhat.com>
1282
1283         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1284         stack volatile to prevent optimization from removing it.
1285
1286 2003-05-27  Michael Koch  <konqueror@gmx.de>
1287
1288         * java/util/zip/Deflater.java
1289         (FILTERED): Merged documentation from classpath.
1290         * java/util/zip/DeflaterOutputStream.java
1291         (DeflaterOutputStream): Merged documentation and argument validity
1292         check from classpath.
1293         (deflate): Merged documentation from classpath.
1294         (finish): Likewise.
1295         * java/util/zip/Inflater.java
1296         (Inflater): Merged class documentation from classpath.
1297         (zstream): Reordered.
1298         (is_finished): Reordered.
1299         (dict_needed): Reordered.
1300         (Inflater): Reordered, merged documentation from classpath.
1301         (end): Likewise.
1302         (finalize): Merged documentation from classpath.
1303         (finished): Likewise.
1304         (getAdler): Likewise.
1305         (getRemaining): Likewise.
1306         (getTotalIn): Likewise.
1307         (getTotalOut): Likewise.
1308         (inflate): Likewise.
1309         (needsDictionary): Likewise.
1310         (needsInput): Likewise.
1311         (reset): Likewise.
1312         (setDictionary): Likewise.
1313         (setInput): Likewise.
1314
1315 2003-05-27  Michael Koch  <konqueror@gmx.de>
1316
1317         * java/net/URLConnection.java
1318         (getHeaderFieldInt): Merged with classpath.
1319
1320 2003-05-27  Michael Koch  <konqueror@gmx.de>
1321
1322         * java/io/PrintStream.java
1323         (PrintStream): Reformatted.
1324         (PrintStream): New method, merged from classpath.
1325         (write): Reformatted.
1326
1327 2003-05-27  Michael Koch  <konqueror@gmx.de>
1328
1329         * java/lang/System.java:
1330         Explicitely import needed classes.
1331
1332 2003-05-26  Michael Koch  <konqueror@gmx.de>
1333
1334         * java/net/NetPermission.java,
1335         java/net/NetworkInterface.java,
1336         java/net/PasswordAuthentication.java,
1337         java/net/SocketPermission.java:
1338         New versions from classpath.
1339
1340 2003-05-25  Michael Koch  <konqueror@gmx.de>
1341
1342         * java/io/PushbackInputStream.java,
1343         java/net/Authenticator.java,
1344         java/net/ContentHandler.java,
1345         java/net/ContentHandlerFactory.java,
1346         java/net/DatagramSocket.java,
1347         java/net/DatagramSocketImpl.java,
1348         java/net/DatagramSocketImplFactory.java,
1349         java/net/FileNameMap.java,
1350         java/net/SocketImplFactory.java,
1351         java/net/SocketOptions.java,
1352         java/net/URLStreamHandlerFactory.java:
1353         Merged new versions from classpath.
1354
1355 2003-05-25  Michael Koch  <konqueror@gmx.de>
1356
1357         * java/awt/Checkbox.java,
1358         java/awt/Dialog.java,
1359         java/awt/Font.java,
1360         java/awt/Frame.java,
1361         java/awt/ScrollPaneAdjustable.java,
1362         java/awt/Scrollbar.java,
1363         java/awt/Window.java:
1364         New versions from classpath.
1365
1366 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1367
1368         PR libgcj/10838:
1369         * java/io/ObjectInputStream (enableResolveObject):
1370         Fixed spelling of permission name.
1371
1372 2003-05-20  Michael Koch  <konqueror@gmx.de>
1373
1374         * java/io/DataInputStream.java
1375         (convertFromUTF): Merged comment from classpath.
1376         * java/io/PrintStream.java
1377         (error_occured): Renamed from error, merged comment from classpath.
1378         (PrintStream): No need to initialized error.
1379         (checkError): Replace error with error_occurred.
1380         (setError): Likewise.
1381
1382 2003-05-20  Michael Koch  <konqueror@gmx.de>
1383
1384         * java/io/DataInputStream.java:
1385         Reformatted, Replaced < and & with html entitites in documentation.
1386         * java/io/File.java:
1387         Reformatted.
1388         * java/io/PrintWriter.java:
1389         Moved class documentation.
1390
1391 2003-05-20  Michael Koch  <konqueror@gmx.de>
1392
1393         * gnu/java/nio/ByteBufferImpl.java,
1394         gnu/java/nio/CharBufferImpl.java,
1395         gnu/java/nio/CharViewBufferImpl.java,
1396         gnu/java/nio/DirectByteBufferImpl.java,
1397         gnu/java/nio/DoubleBufferImpl.java,
1398         gnu/java/nio/DoubleViewBufferImpl.java,
1399         gnu/java/nio/FloatBufferImpl.java,
1400         gnu/java/nio/FloatViewBufferImpl.java,
1401         gnu/java/nio/IntBufferImpl.java,
1402         gnu/java/nio/IntViewBufferImpl.java,
1403         gnu/java/nio/LongBufferImpl.java,
1404         gnu/java/nio/LongViewBufferImpl.java,
1405         gnu/java/nio/natDirectByteBufferImpl.cc,
1406         gnu/java/nio/ShortBufferImpl.java,
1407         gnu/java/nio/ShortViewBufferImpl.java:
1408         Moved files to java/nio.
1409         * gnu/java/nio/SocketChannelImpl.java
1410         
1411         * java/nio/ByteBuffer.java,
1412         java/nio/CharBuffer.java,
1413         java/nio/DoubleBuffer.java,
1414         java/nio/FloatBuffer.java,
1415         java/nio/IntBuffer.java,
1416         java/nio/LongBuffer.java,
1417         java/nio/ShortBuffer.java:
1418         Dont import anything.
1419         * java/nio/ByteBufferImpl.java,
1420         java/nio/CharBufferImpl.java,
1421         java/nio/CharViewBufferImpl.java,
1422         java/nio/DirectByteBufferImpl.java,
1423         java/nio/DoubleBufferImpl.java,
1424         java/nio/DoubleViewBufferImpl.java,
1425         java/nio/FloatBufferImpl.java,
1426         java/nio/FloatViewBufferImpl.java,
1427         java/nio/IntBufferImpl.java,
1428         java/nio/IntViewBufferImpl.java,
1429         java/nio/LongBufferImpl.java,
1430         java/nio/LongViewBufferImpl.java,
1431         java/nio/natDirectByteBufferImpl.cc,
1432         java/nio/ShortBufferImpl.java,
1433         java/nio/ShortViewBufferImpl.java:
1434         Moved from gnu/java/nio.
1435         * Makefile.am
1436         (ordinary_java_source_files): Moved files from gnu/java/nio to
1437         java/nio.
1438         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1439         to java/nio.
1440         * Makefile.in: Regenerated.
1441
1442 2003-05-19  Michael Koch  <konqueror@gmx.de>
1443
1444         * java/util/Calendar.java
1445         (get): Not final anymore since JDK 1.4
1446         (set): Likewise.
1447
1448 2003-05-19  Michael Koch  <konqueror@gmx.de>
1449
1450         * java/text/CollationKey.java:
1451         Merged copyright and dat from classpath.
1452         * java/text/RuleBasedCollator.java:
1453         Merged class documentation from classpath.
1454
1455 2003-05-19  Michael Koch  <konqueror@gmx.de>
1456
1457         * java/nio/CharBuffer.java
1458         (toString): Compile fix.
1459
1460 2003-05-19  Michael Koch  <konqueror@gmx.de>
1461
1462         * gnu/java/nio/ByteBufferImpl.java
1463         (putLong): Fixed conversion to bytes.
1464         (putDouble): Fixed conversion to bytes.
1465         * gnu/java/nio/DirectByteBufferImpl.java
1466         (putLong): Fixed conversion to bytes.
1467         (putDouble): Fixed conversion to bytes.
1468         * gnu/java/nio/FileLockImpl.java
1469         (isValid): Reformatted.
1470         * java/nio/Buffer.java
1471         (Buffer): Fixed off-by-one bug in handling mark.
1472         * java/nio/ByteBuffer.java:
1473         Added newline.
1474         * java/nio/CharBuffer.java
1475         (toString): Don't use relative get to get string data.
1476
1477 2003-05-16  Michael Koch  <konqueror@gmx.de>
1478
1479         * java/io/natFileDescriptorPosix.cc
1480         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1481         tested.
1482
1483 2003-05-14  Michael Koch  <konqueror@gmx.de>
1484
1485         * gnu/java/nio/FileLockImpl.java
1486         (released): New member variable.
1487         (FileLockImpl): Initialize released.
1488         (releaseImpl): New native method.
1489         (release): Implemented.
1490         * gnu/java/nio/SelectorImpl.java: Reformatted.
1491         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1492         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1493         (accept): Throws IOException.
1494         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1495         (implConfigureBlocking): Throws IOException.
1496         (connect): Likewise.
1497         (read): Likewise.
1498         (write): Likewise.
1499         * gnu/java/nio/natFileLockImpl.cc: New file.
1500         * java/nio/channels/FileLock.java: Reformatted.
1501         * Makefile.am:
1502         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1503         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1504         * Makefile.in: Regenerated.
1505
1506 2003-05-13  Michael Koch  <konqueror@gmx.de>
1507
1508         * gnu/java/nio/CharViewBufferImpl.java
1509         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1510         (get): Shift bits to the right direction.
1511         (put): Likewise.
1512         * gnu/java/nio/DoubleViewBufferImpl.java
1513         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1514         (get): Shift bits to the right direction.
1515         (put): Likewise.
1516         * gnu/java/nio/FloatViewBufferImpl.java
1517         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1518         (get): Shift bits to the right direction.
1519         (put): Likewise.
1520         * gnu/java/nio/IntViewBufferImpl.java
1521         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1522         (get): Shift bits to the right direction.
1523         (put): Likewise.
1524         * gnu/java/nio/LongViewBufferImpl.java
1525         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1526         (get): Shift bits to the right direction.
1527         (put): Likewise.
1528         * gnu/java/nio/ShortViewBufferImpl.java
1529         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1530         (get): Shift bits to the right direction.
1531         (put): Likewise.
1532
1533 2003-05-13  Michael Koch  <konqueror@gmx.de>
1534
1535         * gnu/java/nio/natDirectByteBufferImpl.cc
1536         (allocateImpl): jlong -> RawData*.
1537         (freeImpl): Likewise.
1538
1539 2003-05-13  Michael Koch  <konqueror@gmx.de>
1540
1541         * java/nio/channels/FileChannel.java
1542         (MapMode.m): Made it package-private to match JDK 1.4.
1543         * java/nio/charset/Charset.java
1544         (decode): Made it final to match JDK 1.4.
1545
1546 2003-05-13  Michael Koch  <konqueror@gmx.de>
1547
1548        * java/io/FileDescriptor.java
1549        (SYNC): New constant.
1550        (DSYNC): Likewise.
1551        (getLength): Renamed from lenght() to match classpath's
1552        FileDescriptor.java.
1553        * java/io/RandomAccessFile.java
1554        (RandomAccessFile): Removed unneeded mode check, implemented mode
1555        "rws" and "rwd", merged documentation from classpath.
1556        (setLength): Reformatted.
1557        (length): Use new getLength() of FileDescriptor.
1558        * java/io/natFileDescriptorEcos.cc
1559        (getLength): Renamed from length().
1560        * java/io/natFileDescriptorPosix.cc
1561        (open): Implemented support for SYNC and DSYNC.
1562        (seek): Use getLength() instead of length().
1563        (getLength): Renamed from length().
1564        * java/io/natFileDescriptorWin32.cc
1565        (getLength): Renamed from length().
1566        (seek): Use getLength() instead of length().
1567        (available): Likewise.
1568        * gnu/java/nio/natFileChannelImpl.cc
1569        (size): Use getLength() instead of length().
1570
1571 2003-05-13  Michael Koch  <konqueror@gmx.de>
1572
1573         * gnu/java/nio/ByteBufferImpl.java
1574         (ByteBufferImpl): All constructors revised.
1575         (slice): Reimplemented.
1576         (duplicate): Reimplemented.
1577         (asReadOnlyBuffer): Reimplemented.
1578         * java/nio/ByteBuffer.java:
1579         Reformatted.
1580         (array_offset): Renamed from "offset" to match all other buffer
1581         classes.
1582         (ByteBuffer): All constructors revised.
1583         (allocateDirect): Implemented.
1584         (allocate): New implementation, documentation reworked.
1585         (wrap): Likewise.
1586         (get): Documentation reworked.
1587         (put): New implementation, documentation reworked.
1588         (hasArray): Documentation reworked.
1589         (arrayOffset): Likewise.
1590         (hashCode): Likewise.
1591         (equals): Likewise.
1592         (compareTo): Likewise.
1593         (order): Likewise.
1594         (compact): Likewise.
1595         (isDirect): Likewise.
1596         (slice): Likewise.
1597         (duplicate): Likewise.
1598         (asReadOnlyBuffer): Likewise.
1599         * Makefile.am
1600         (ordinary_java_source_files):
1601         Added gnu/java/nio/DirectByteBufferImpl.java.
1602         (nat_source_files):
1603         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1604         * Makefile.in: Regenerated.
1605
1606 2003-05-12  Michael Koch  <konqueror@gmx.de>
1607
1608         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1609         (nio_get_*): Removed.
1610         (nio_put_*): Removed.
1611         (as*Buffer): Implemented.
1612         (compact): Implemented.
1613         (get): Documentation added.
1614         (put): Documentation added.
1615         (get*): Newly implemented.
1616         (put*): Newly implemented.
1617         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1618         (CharBufferImpl): 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/DirectByteBufferImpl.java
1626         (allocateDirect): objects can be null not 0.
1627         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1628         (DoubleBufferImpl): Revised.
1629         (slice): New implementation.
1630         (duplicate): New implementation.
1631         (compact): New implementation.
1632         (asReadOnlyBuffer): New implementation.
1633         (get): Documentation revised.
1634         (order): Return native byte order.
1635         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1636         (FloatBufferImpl): Revised.
1637         (slice): New implementation.
1638         (duplicate): New implementation.
1639         (compact): New implementation.
1640         (asReadOnlyBuffer): New implementation.
1641         (get): Documentation revised.
1642         (order): Return native byte order.
1643         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1644         (IntBufferImpl): Revised.
1645         (slice): New implementation.
1646         (duplicate): New implementation.
1647         (compact): New implementation.
1648         (asReadOnlyBuffer): New implementation.
1649         (get): Documentation revised.
1650         (order): Return native byte order.
1651         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1652         (LongBufferImpl): Revised.
1653         (slice): New implementation.
1654         (duplicate): New implementation.
1655         (compact): New implementation.
1656         (asReadOnlyBuffer): New implementation.
1657         (get): Documentation revised.
1658         (order): Return native byte order.
1659         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1660         (ShortBufferImpl): Revised.
1661         (slice): New implementation.
1662         (duplicate): New implementation.
1663         (compact): New implementation.
1664         (asReadOnlyBuffer): New implementation.
1665         (get): Documentation revised.
1666         (order): Return native byte order.
1667         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1668         (CharBuffer): Revised.
1669         (order): Removed.
1670         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1671         (DoubleBuffer): Revised.
1672         (allocateDirect): Removed.
1673         (order): Removed.
1674         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1675         (FloatBuffer): Revised.
1676         (allocateDirect): Removed.
1677         (order): Removed.
1678         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1679         (IntBuffer): Revised.
1680         (allocateDirect): Removed.
1681         (order): Removed.
1682         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1683         (LongBuffer): Revised.
1684         (allocateDirect): Removed.
1685         (order): Removed.
1686         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1687         (ShortBuffer): Revised.
1688         (allocateDirect): Removed.
1689         (order): Removed.
1690         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1691         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1692         * Makefile.am
1693         (ordinary_java_source_files): Added the following files:
1694         gnu/java/nio/CharViewBufferImpl.java,
1695         gnu/java/nio/DoubleViewBufferImpl.java,
1696         gnu/java/nio/FloatViewBufferImpl.java,
1697         gnu/java/nio/IntViewBufferImpl.java,
1698         gnu/java/nio/LongViewBufferImpl.java,
1699         gnu/java/nio/ShortViewBufferImpl.java
1700         (nat_source_files): Removed the following files:
1701         gnu/java/nio/natByteBufferImpl.cc,
1702         gnu/java/nio/natCharBufferImpl.cc
1703         * Makefile.in: Regenerated.
1704
1705 2003-05-12  Michael Koch  <konqueror@gmx.de>
1706
1707         * gnu/java/nio/CharViewBufferImpl.java,
1708         gnu/java/nio/DirectByteBufferImpl.java,
1709         gnu/java/nio/DoubleViewBufferImpl.java,
1710         gnu/java/nio/FloatViewBufferImpl.java,
1711         gnu/java/nio/IntViewBufferImpl.java,
1712         gnu/java/nio/LongViewBufferImpl.java,
1713         gnu/java/nio/ShortViewBufferImpl.java,
1714         gnu/java/nio/natDirectByteBufferImpl.cc:
1715         New files, not yet to be compiled.
1716
1717 2003-05-10  Michael Koch  <konqueror@gmx.de>
1718
1719         * javax/swing/plaf/ButtonUI.java,
1720         javax/swing/plaf/ColorUIResource.java,
1721         javax/swing/plaf/ComponentUI.java,
1722         javax/swing/plaf/DimensionUIResource.java,
1723         javax/swing/plaf/FontUIResource.java,
1724         javax/swing/plaf/IconUIResource.java,
1725         javax/swing/plaf/InsetsUIResource.java,
1726         javax/swing/plaf/LabelUI.java,
1727         javax/swing/plaf/ListUI.java,
1728         javax/swing/plaf/OptionPaneUI.java,
1729         javax/swing/plaf/PanelUI.java,
1730         javax/swing/plaf/TabbedPaneUI.java,
1731         javax/swing/plaf/TextUI.java,
1732         javax/swing/plaf/TreeUI.java,
1733         javax/swing/plaf/ViewportUI.java,
1734         javax/swing/plaf/basic/BasicBorders.java,
1735         javax/swing/plaf/basic/BasicButtonUI.java,
1736         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1737         javax/swing/plaf/basic/BasicDefaults.java,
1738         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1739         javax/swing/plaf/basic/BasicIconFactory.java,
1740         javax/swing/plaf/basic/BasicLabelUI.java,
1741         javax/swing/plaf/basic/BasicListUI.java,
1742         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1743         javax/swing/plaf/basic/BasicPanelUI.java,
1744         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1745         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1746         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1747         javax/swing/plaf/basic/BasicTextUI.java,
1748         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1749         javax/swing/plaf/basic/BasicTreeUI.java,
1750         javax/swing/plaf/basic/BasicViewportUI.java,
1751         javax/swing/plaf/metal/MetalLookAndFeel.java:
1752         New versions from classpath. This adds copyrights to all files and
1753         some serialVersionUIDs.
1754
1755 2003-05-10  Michael Koch  <konqueror@gmx.de>
1756
1757         * java/nio/CharBuffer.java
1758         (offset): Make it package-private.
1759         (backing_buffer): Likewise.
1760         * java/nio/DoubleBuffer.java
1761         (offset): Make it package-private.
1762         (backing_buffer): Likewise.
1763         (put): Reformatted.
1764         * java/nio/FloatBuffer.java
1765         (offset): Make it package-private.
1766         (backing_buffer): Likewise.
1767         * java/nio/IntBuffer.java
1768         (offset): Make it package-private.
1769         (backing_buffer): Likewise.
1770         * java/nio/LongBuffer.java
1771         (offset): Make it package-private.
1772         (backing_buffer): Likewise.
1773         * java/nio/ShortBuffer.java
1774         (offset): Make it package-private.
1775         (backing_buffer): Likewise.
1776
1777 2003-05-10  Michael Koch  <konqueror@gmx.de>
1778
1779         * java/nio/CharBuffer.java
1780         (put): Fixed precondtion check.
1781         (toString): Make it work without backing array.
1782         (put): Skip one level of method calling.
1783
1784 2003-05-10  Michael Koch  <konqueror@gmx.de>
1785
1786         * java/security/Identity.java,
1787         java/security/IdentityScope.java,
1788         java/security/Key.java,
1789         java/security/KeyPair.java,
1790         java/security/PrivateKey.java,
1791         java/security/Provider.java,
1792         java/security/PublicKey.java,
1793         java/security/SecureRandom.java,
1794         java/security/SecureRandomSpi.java,
1795         java/security/SignedObject.java,
1796         java/security/Signer.java,
1797         java/security/cert/Certificate.java,
1798         java/security/cert/PKIXCertPathBuilderResult.java,
1799         java/security/cert/X509Certificate.java:
1800         New versions from classpath.
1801
1802 2003-05-09  Tom Tromey  <tromey@redhat.com>
1803
1804         * Makefile.in: Rebuilt.
1805         * Makefile.am (nat_source_files): Removed old files.
1806         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1807         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1808         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1809         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1810         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1811
1812 2003-05-09  Michael Koch  <konqueror@gmx.de>
1813
1814         * gnu/java/nio/ByteBufferImpl.java
1815         (nio_cast): Removed.
1816         (ByteBufferImpl): Removed.
1817         (nio_get_Byte): Removed.
1818         (nio_put_Byte): Removed.
1819         (asByteBuffer): Removed.
1820         (asCharBuffer): Removed implementation and throw exception.
1821         (asShortBuffer): Likewise.
1822         (asIntBuffer): Likewise.
1823         (asLongBuffer): Likewise.
1824         (asFloatBuffer): Likewise.
1825         (asDoubleBuffer): Likewise.
1826         * gnu/java/nio/CharBufferImpl.java
1827         (CharBufferImpl): Removed.
1828         (nio_get_Byte): Removed.
1829         (nio_put_Byte): Removed.
1830         (asByteBuffer): Removed.
1831         * gnu/java/nio/DoubleBufferImpl.java
1832         (DoubleBufferImpl): Removed.
1833         (nio_get_Byte): Removed.
1834         (nio_put_Byte): Removed.
1835         (asByteBuffer): Removed.
1836         * gnu/java/nio/FloatBufferImpl.java
1837         (FloatBufferImpl): Removed.
1838         (nio_get_Byte): Removed.
1839         (nio_put_Byte): Removed.
1840         (asByteBuffer): Removed.
1841         * gnu/java/nio/IntBufferImpl.java
1842         (IntBufferImpl): Removed.
1843         (nio_get_Byte): Removed.
1844         (nio_put_Byte): Removed.
1845         (asByteBuffer): Removed.
1846         * gnu/java/nio/LongBufferImpl.java
1847         (LongBufferImpl): Removed.
1848         (nio_get_Byte): Removed.
1849         (nio_put_Byte): Removed.
1850         (asByteBuffer): Removed.
1851         * gnu/java/nio/ShortBufferImpl.java
1852         (ShortBufferImpl): Removed.
1853         (nio_get_Byte): Removed.
1854         (nio_put_Byte): Removed.
1855         (asByteBuffer): Removed.
1856         * gnu/java/nio/natByteBufferImpl.cc
1857         (nio_cast): Removed.
1858         (nio_get_Byte): Removed.
1859         (nio_put_Byte): Removed.
1860         * gnu/java/nio/natCharBufferImpl.cc
1861         (nio_get_Byte): Removed.
1862         (nio_put_Byte): Removed.
1863
1864 2003-05-09  Michael Koch  <konqueror@gmx.de>
1865
1866         * java/net/JarURLConnection.java
1867         (getJarEntry): Merged documentation from classpath.
1868         (getJarFile): Likewise.
1869         (getMainAttributes): Likewise.
1870         (getAttributes): Likewise.
1871         (getManifest): Likewise.
1872         (getCertificates): Reformatted.
1873         * java/net/URLConnection.java:
1874         Little classpath merge.
1875
1876 2003-05-09  Michael Koch  <konqueror@gmx.de>
1877
1878         * java/io/DataOutputStream.java
1879         (writeShort): Made it synchronized.
1880         (writeChar): Likewise.
1881         (writeInt): Likewise.
1882         (writeLong): Liekwise.
1883         (writeUTF): Made it synchronized, renamed argument to match classpath.
1884         * java/io/InputStreamReader.java
1885         (converter): Added documentation.
1886         (read): Merged documentation from classpath.
1887         * java/io/OutputStreamWriter.java
1888         (OutputStreamWriter): Merged documentation from classpath.
1889         (close): Reformatted.
1890         (getEncoding): Likewise.
1891         (flush): Likewise.
1892         (write): Merged documentation from classpath, reformatted.
1893
1894 2003-05-08  Tom Tromey  <tromey@redhat.com>
1895
1896         * configure.host <powerpc64*-*>: Set with_libffi_default and
1897         libgcj_interpreter to "yes".
1898
1899 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1900
1901         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1902         
1903 2003-05-06  Tom Tromey  <tromey@redhat.com>
1904
1905         * verify.cc: Reverted previous patch.
1906
1907 2003-05-06  Michael Koch  <konqueror@gmx.de>
1908
1909         * java/io/DataOutputStream.java
1910         (write): Renamed argument to "value", merged documentation from
1911         classpath.
1912         (writeBoolean): Likewise.
1913         (writeByte): Likewise.
1914         (writeShort): Likewise.
1915         (writeChar): Likewise.
1916         (writeInt): Likewise.
1917         (writeLong): Likewise.
1918         (writeFloat): Likewise.
1919         (writeDouble): Likewise.
1920         (writeBytes): Likewise.
1921         (writeChars): Likewise.
1922         (writeUTF): Likewise.
1923         * java/io/File.java
1924         (performDelete): Added documentation.
1925         (performList): Likewise.
1926         (performMkdir): Likewise.
1927         (performSetReadOnly): Likewise.
1928         (performRenameTo): Likewise.
1929         (performSetLastModified): Likewise.
1930         (delete): Made it sychronized.
1931         (renameTo): Made it sychronized.
1932         (equals): Reformatted.
1933         (isHidden): Likewise.
1934         (listFiles): Likewise.
1935         (setReadOnly): Likewise.
1936         (listRoots): Likewise.
1937         (setLastModified): Likewise.
1938         (checkRead): Likewise.
1939         (checkWrite): Likewise.
1940         * java/io/FileInputStream.java
1941         (skip): Made it sychronized, merged from classpath.
1942         * java/io/FileOutputStream.java
1943         (write): Merged from classpath.
1944         * java/io/InputStreamReader.java:
1945         (InputStreamReader): Merged documentation from classpath.
1946
1947 2003-05-05  Michael Koch  <konqueror@gmx.de>
1948
1949         * java/net/NetworkInterface.java
1950         (networkInterfaces): Removed.
1951         (getByName): Use getRealNetworkInterfaces() instead of
1952         networkInterfaces.
1953         (getByInetAddress): Likewise.
1954         (getNetworkInterfaces): Likewise.
1955         (toString): Fix output of addresses of an interface.
1956
1957 2003-05-05  Michael Koch  <konqueror@gmx.de>
1958
1959         * java/io/DataInputStream.java:
1960         Merged new documentation from classpath.
1961
1962 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1963
1964         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1965         "version".
1966         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1967         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1968         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1969         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1970         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1971         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1972         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1973         * java/security/Key.java: Likewise.
1974         * java/security/PrivateKey.java: Likewise.
1975         * java/security/Provider.java: Likewise.
1976         * java/security/PublicKey.java: Likewise.
1977
1978 2003-05-02  Michael Koch  <konqueror@gmx.de>
1979
1980         * java/net/URI.java
1981         (create): Doesnt throws any exceptions.
1982         * java/net/URLConnection.java
1983         (URLConnection): Commend added.
1984         (getExpiration): The header field is called "expires" not
1985         "expiration".
1986         (getHeaderField): Merged documentation with classpath.
1987         (getHeaderFieldInt): Likewise.
1988         (getHeaderFieldDate): Likewise.
1989         (getHeaderFieldKey): Likewise.
1990         (getPermission): Likewise.
1991         (setDefaultUseCaches): Likewise.
1992         (setRequestProperty): Likewise.
1993         (addRequestProperty): Likewise.
1994         (getRequestProperty): Likewise.
1995         (getRequestProperties): Likewise.
1996         (setDefaultRequestProperty): Likewise.
1997         (getDefaultRequestProperty): Likewise.
1998         (guessContentTypeFromStream): Likewise.
1999         (getFileNameMap): Likewise.
2000         (setFileNameMap): Likewise.
2001         (setDoInput): Merged implementation and documentation with classpath.
2002         (setDoOutput): Likewise.
2003         (setAllowUserInteraction): Likewise.
2004         (setDefaultAllowUserInteraction): Likewise.
2005         (setContentHandlerFactory): Made it synchronized, merged documentation
2006         with classpath.
2007         (guessContentTypeFromName): Renamed argument fname to filename to
2008         match classpath, merged documentation with classpath.
2009
2010 2003-05-02  Michael Koch  <konqueror@gmx.de>
2011
2012         * java/net/JarURLConnection.java
2013         (JarURLConnection): Class documentation merged with classpath.
2014         (getJarFileURL): Moved and documentation merged with classpath.
2015         (getEntryName): Likewise.
2016         (JarURLConnection): Documentation merged with classpath.
2017         (getJarEntry): Likewise.
2018         (getJarFile): Likewise.
2019         * java/net/PlainDatagramSocketImpl.java:
2020         Class documentation moved.
2021         * java/net/URLConnection.java
2022         (fileNameMap): Moved and documentation merged with classpath.
2023         (factory): Likewise.
2024         (defaultAllowUserInteraction): Likewis.
2025         (defaultUseCaches): Likewise.
2026         (allowUserInteraction): Likewise.
2027         (connected): Likewise.
2028         (url): Likewise.
2029         (connect): Documentation merged with classpath.
2030         (getURL): Likewise.
2031         (getContentLength): Likewise.
2032         (getContentType): Likewise.
2033         (getContentEncoding): Likewise.
2034         (getExpiration): Likewise.
2035         (getDate): Likewise.
2036         (getLastModified): Likewise.
2037         (getHeaderField): Likewise.
2038         (getContent): Likewise.
2039         (getPermission): Likewise.
2040         (getInputStream): Likewise.
2041         (getOutputStream): Likewise.
2042         (toString): Likewise.
2043         (getDoInput): Likewise.
2044         (getDoOutput): Likewise.
2045         (setAllowUserInteraction): Likewise.
2046         (getAllowUserInteraction): Likewise.
2047         (setDefaultAllowUserInteraction): Likewise.
2048         (getDefaultAllowUserInteraction): Likewise.
2049         (setUseCaches): Likewise.
2050         (getUseCaches): Likewise.
2051         (setIfModifiedSince): Likewise.
2052         (getIfModifiedSince): Likewise.
2053         (setDefaultRequestProperty): Likewise.
2054         (getDefaultRequestProperty): Likewise.
2055         (setContentHandlerFactory): Likewise.
2056         (setFileNameMap): Likewise.
2057
2058 2003-05-02  Michael Koch  <konqueror@gmx.de>
2059
2060         * java/net/InetAddress.java:
2061         Merged class documentation with classpath.
2062         * java/net/JarURLConnection.java:
2063         Explicitely import all used classes.
2064         * java/net/URL.java:
2065         Reformatting.
2066         * java/net/ServerSocket.java,
2067         java/net/Socket.java:
2068         New versions from classpath.
2069
2070 2003-05-02  Michael Koch  <konqueror@gmx.de>
2071
2072         * gnu/java/nio/FileChannelImpl.java
2073         (read): New implementation.
2074         (implRead): New methods.
2075         (write): New implementation, call other write insteal of read method.
2076         (implWrite): New methods.
2077         (map): Added comment.
2078         (transferFrom): Implemented.
2079         (transferTo): Implemented.
2080         (lock): Added checks to throw exceptions.
2081         (truncate): Added check to throw exception.
2082         * gnu/java/nio/natFileChannelImpl.cc
2083         (implRead): New method.
2084         (implWrite): New method.
2085         * java/nio/ByteBuffer.java
2086         (hashCode): Fixed comment.
2087         (get): Fixed exception documentation.
2088         (put): Fixed exception documentation.
2089         * java/nio/CharBuffer.java:
2090         Added comment for later optimizations.
2091
2092 2003-04-30  Tom Tromey  <tromey@redhat.com>
2093
2094         PR libgcj/10582:
2095         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2096         Removed.
2097         (type::compatible): Use _Jv_IsAssignableFrom.
2098         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2099         (_Jv_IsAssignableFrom): Work even when source or target class is
2100         not prepared.
2101
2102 2003-04-30  Michael Koch  <konqueror@gmx.de>
2103
2104         * java/text/BreakIterator.java
2105         (clone): New method.
2106
2107 2003-04-30  Michael Koch  <konqueror@gmx.de>
2108
2109         * java/text/CollationElementIterator.java,
2110         java/text/CollationKey.java,
2111         java/text/RuleBasedCollator.java:
2112         Merged copyright and documentation from classpath and
2113         rearranged some code. No code changes done.
2114
2115 2003-04-30  Michael Koch  <konqueror@gmx.de>
2116
2117         * java/util/regex/Matcher.java
2118         (pattern): New member variable.
2119         (appendReplacement): New method.
2120         (appendTail): New method.
2121         (end): New method.
2122         (find): New method.
2123         (group): New method.
2124         (replaceFirst): Added documentation.
2125         (replaceAll): Added documentation.
2126         (groupCount): New method.
2127         (lookingAt): New method.
2128         (matches): New method.
2129         (reset): New method.
2130         (start): New method.
2131         * java/util/regex/Pattern.java
2132         (serialVersionUID): New constant.
2133         (CANON_EQ): New constant.
2134         (CASE_INSENSITIVE): New constant.
2135         (COMMENTS): New constant.
2136         (DOTALL): New constant.
2137         (MULTILINE): New constant.
2138         (UNICODE_CASE): New constant.
2139         (UNIX_LINES): New constant.
2140         (regex): New member variable.
2141         (flags): New member variable.
2142         (Pattern): New method.
2143         (compile): Documentation added.
2144         (flags): New method.
2145         (matches): Documentation added.
2146         (matcher): Documentation added.
2147         (split): Documentation added.
2148         (pattern): New method.
2149
2150 2003-04-30  Michael Koch  <konqueror@gmx.de>
2151
2152         * gnu/java/security/Engine.java,
2153         gnu/java/security/OID.java,
2154         gnu/java/security/der/BitString.java,
2155         gnu/java/security/der/DER.java,
2156         gnu/java/security/der/DERReader.java,
2157         gnu/java/security/der/DERValue.java,
2158         gnu/java/security/der/DERWriter.java,
2159         gnu/java/security/provider/DSAKeyFactory.java,
2160         gnu/java/security/provider/X509CertificateFactory.java,
2161         gnu/java/security/x509/X500DistinguishedName.java,
2162         gnu/java/security/x509/X509CRL.java,
2163         gnu/java/security/x509/X509CRLEntry.java,
2164         gnu/java/security/x509/X509Certificate.java,
2165         java/security/cert/CRLSelector.java,
2166         java/security/cert/CertPathBuilder.java,
2167         java/security/cert/CertPathBuilderResult.java,
2168         java/security/cert/CertPathBuilderSpi.java,
2169         java/security/cert/CertPathParameters.java,
2170         java/security/cert/CertPathValidator.java,
2171         java/security/cert/CertPathValidatorResult.java,
2172         java/security/cert/CertPathValidatorSpi.java,
2173         java/security/cert/CertSelector.java,
2174         java/security/cert/CertStore.java,
2175         java/security/cert/CertStoreParameters.java,
2176         java/security/cert/CertStoreSpi.java,
2177         java/security/cert/CollectionCertStoreParameters.java,
2178         java/security/cert/LDAPCertStoreParameters.java,
2179         java/security/cert/PKIXBuilderParameters.java,
2180         java/security/cert/PKIXCertPathBuilderResult.java,
2181         java/security/cert/PKIXCertPathChecker.java,
2182         java/security/cert/PKIXCertPathValidatorResult.java,
2183         java/security/cert/PKIXParameters.java,
2184         java/security/cert/PolicyNode.java,
2185         java/security/cert/PolicyQualifierInfo.java,
2186         java/security/cert/TrustAnchor.java,
2187         javax/security/auth/x500/X500Principal.java:
2188         New files from classpath.
2189         * gnu/java/io/ASN1ParsingException.java,
2190         gnu/java/io/Base64InputStream.java,
2191         gnu/java/security/der/DEREncodingException.java,
2192         gnu/java/security/provider/DSAParameters.java,
2193         gnu/java/security/provider/DSASignature.java,
2194         gnu/java/security/provider/Gnu.java,
2195         gnu/java/security/provider/GnuDSAPrivateKey.java,
2196         gnu/java/security/provider/GnuDSAPublicKey.java,
2197         java/security/AlgorithmParameterGenerator.java,
2198         java/security/AlgorithmParameters.java,
2199         java/security/KeyFactory.java,
2200         java/security/KeyPairGenerator.java,
2201         java/security/KeyStore.java,
2202         java/security/MessageDigest.java,
2203         java/security/SecureClassLoader.java,
2204         java/security/SecureRandom.java,
2205         java/security/Security.java,
2206         java/security/Signature.java,
2207         java/security/cert/Certificate.java,
2208         java/security/cert/CertificateFactory.java,
2209         java/security/cert/CertificateFactorySpi.java,
2210         java/security/cert/X509CRL.java,
2211         java/security/cert/X509Certificate.java,
2212         java/security/spec/DSAPublicKeySpec.java:
2213         New versions from classpath.
2214         * gnu/java/security/provider/DERReader.java,
2215         gnu/java/security/provider/DERWriter.java,
2216         java/security/Engine.java: Removed.
2217         * Makefile.am
2218         (java_source_files, javax_source_files): Added new files.
2219         * Makefile.in: Regenerated.
2220
2221 2003-04-29  Michael Koch  <konqueror@gmx.de>
2222
2223         * javax/swing/JTable.java
2224         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2225         (AUTO_RESIZE_LAST_COLUMN): New constant.
2226         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2227         (AUTO_RESIZE_OFF): New constant.
2228         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2229         (JTable): New method.
2230         (columnAdded): New method.
2231         (columnMarginChanged): New method.
2232         (columnMoved): New method.
2233         (columnRemoved): New method.
2234         (columnSelectionChanged): New method.
2235         (editingCanceled): New method.
2236         (editingStopped): New method.
2237         (getColumnModel): New method.
2238         (getPreferredScrollableViewportSize): New method.
2239         (getScrollableBlockIncrement): New method.
2240         (getScrollableTracksViewportHeight): New method.
2241         (getScrollableTracksViewportWidth): New method.
2242         (getScrollableUnitIncrement): New method.
2243         (getSelectedRow): New method.
2244         (getSelectionModel): New method.
2245         (tableChanged): New method.
2246         (setModel): New method.
2247         (setSelectionMode): New method.
2248         (setSelectionModel): New method.
2249         (setShowGrid): New method.
2250         (valueChanged): New method.
2251         * javax/swing/text/DefaultEditorKit.java
2252         (backwardAction): New constant.
2253         (beepAction): New constant.
2254         (beginAction): New constant.
2255         (beginLineAction): New constant.
2256         (beginParagraphAction): New constant.
2257         (beginWordAction): New constant.
2258         (copyAction): New constant.
2259         (cutAction): New constant.
2260         (defaultKeyTypedAction): New constant.
2261         (deleteNextCharAction): New constant.
2262         (deletePrevCharAction): New constant.
2263         (downAction): New constant.
2264         (endAction): New constant.
2265         (endLineAction): New constant.
2266         (endOfLineStringProperty): New constant.
2267         (endParagraphAction): New constant.
2268         (endWordAction): New constant.
2269         (forwardAction): New constant.
2270         (insertBreakAction): New constant.
2271         (insertContentAction): New constant.
2272         (insertTabAction): New constant.
2273         (nextWordAction): New constant.
2274         (pageDownAction): New constant.
2275         (pageUpAction): New constant.
2276         (pasteAction): New constant.
2277         (previousWordAction): New constant.
2278         (readOnlyAction): New constant.
2279         (selectAllAction): New constant.
2280         (selectionBackwardAction): New constant.
2281         (selectionBeginAction): New constant.
2282         (selectionBeginLineAction): New constant.
2283         (selectionBeginParagraphAction): New constant.
2284         (selectionBeginWordAction): New constant.
2285         (selectionDownAction): New constant.
2286         (selectionEndAction): New constant.
2287         (selectionEndLineAction): New constant.
2288         (selectionEndParagraphAction): New constant.
2289         (selectionEndWordAction): New constant.
2290         (selectionForwardAction): New constant.
2291         (selectionNextWordAction): New constant.
2292         (selectionPreviousWordAction): New constant.
2293         (selectionUpAction): New constant.
2294         (selectLineAction): New constant.
2295         (selectParagraphAction): New constant.
2296         (selectWordAction): New constant.
2297         (upAction): New constant.
2298         (writableAction): New constant.
2299
2300 2003-04-29  Michael Koch  <konqueror@gmx.de>
2301
2302         * java/util/PropertyPermission.java:
2303         New version from classpath
2304         * java/util/ResourceBundle.java:
2305         Partly merged from classpath
2306         (getObject): Reformated.
2307         (tryBundle): Set foundBundle = null if no bundle found.
2308
2309 2003-04-29  Michael Koch  <konqueror@gmx.de>
2310
2311         * javax/swing/AbstractListModel.java,
2312         javax/swing/DefaultBoundedRangeModel.java,
2313         javax/swing/DefaultSingleSelectionModel.java:
2314         New Versions from classpath.
2315
2316 2003-04-29  Michael Koch  <konqueror@gmx.de>
2317
2318         * java/awt/Window.java
2319         (show): Call super.show() instead of setVisible() to avoid endless
2320         loop.
2321         (hide): Call super.hide() instead of setVisible() to avoid endless
2322         loop.
2323
2324 2003-04-29  Michael Koch  <konqueror@gmx.de>
2325
2326         * java/util/zip/Deflater.java,
2327         java/util/zip/DeflaterOutputStream.java:
2328         Partly merged with classpath.
2329
2330 2003-04-27  Tom Tromey  <tromey@redhat.com>
2331
2332         * java/lang/natString.cc (_Jv_AllocString): Initialize
2333         cachedHashCode.
2334         (init): Likewise.
2335         (_Jv_NewStringUtf8Const): Likewise.
2336
2337 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2338
2339         * include/jvm.h: (_Jv_GetNbArgs) added
2340         (_Jv_GetSafeArg) added
2341         (_Jv_SetArgs) added
2342         * prims.cc: (_Jv_GetNbArgs) implemented
2343         (_Jv_GetSafeArg) implemented
2344         (_Jv_SetArgs) implemented
2345         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2346         setting _Jv_argc and _Jv_argv
2347         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2348         instead of _Jv_argv
2349         * java/lang/natRuntime.cc: (insertSystemProperties) use
2350         _Jv_GetSafeArg() instead of _Jv_argv
2351
2352 2003-04-23  Tom Tromey  <tromey@redhat.com>
2353
2354         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2355         required by this object.  Search superclasses to find required
2356         alignment.
2357         (get_alignment_from_class): Use alignment of type as it appears
2358         in a struct.
2359         (ALIGNOF): New macro.
2360         (struct aligner): New helper structure.
2361
2362 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2363
2364         * java/awt/Container.java (addImpl): Enable paint events if adding
2365         a lightweight to a heavyweight.
2366         (addNotify): Ensure that peer is created before
2367         addNotifyContainerChildren.
2368         (addNotifyContainerChildren): Enable paint events if a heavyweight
2369         container contains a lightweight.
2370
2371 2003-04-20  Tom Tromey  <tromey@redhat.com>
2372
2373         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2374         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2375         Classpath.
2376
2377 2003-04-19  Tom Tromey  <tromey@redhat.com>
2378
2379         * java/sql/Date.java, java/sql/DriverManager.java,
2380         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2381         Classpath.
2382
2383         * Makefile.in: Rebuilt.
2384         * Makefile.am (ordinary_java_source_files): Added new files.
2385         * java/security/AlgorithmParameterGenerator.java,
2386         java/security/AlgorithmParameters.java, java/security/Engine.java,
2387         java/security/Identity.java, java/security/IdentityScope.java,
2388         java/security/KeyFactory.java,
2389         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2390         java/security/MessageDigest.java, java/security/Policy.java,
2391         java/security/ProtectionDomain.java,
2392         java/security/SecureRandom.java, java/security/Security.java,
2393         java/security/Signature.java, java/security/SignatureSpi.java,
2394         java/security/SignedObject.java, java/security/Signer.java,
2395         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2396         java/security/spec/PSSParameterSpec.java,
2397         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2398         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2399         Classpath.
2400
2401 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2402
2403         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2404         (dispose): Null metrics.
2405         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2406         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2407         finalize.
2408         (finalize): Call dispose.
2409         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2410         (gcCachedCount): New field.
2411         (finalize): New method.
2412         (putGCInCache): New method.
2413         (getGCFromCache): New method.
2414         * gnu/gcj/xlib/GC.java (GC): Make protected.
2415         (clone): Get new GC from cache if possible.
2416         (create): New static method.
2417         (dispose): Save old GC in cache.
2418         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2419         deleting.
2420         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2421         is null.
2422         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2423         * java/awt/Container.java (visitChild): Dispose gfx2 when
2424         finished.
2425
2426 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2427
2428         * java/math/BigInteger.java (probablePrime): New.
2429         * java/math/BigDecimal.java (unscaledValue): New.
2430
2431 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2432
2433         * java/io/File.java (getAbsolutePath): On Windows, take care
2434         of paths like "C:", "G:foo\bar", etc.
2435         (getName): Make it work correctly on Windows.
2436         (getParent): Make it work correctly on Windows. For UNIX,
2437         fix bug that causes "/" to be returned as the parent of "/",
2438         instead of null as returned by Sun's JRE.
2439
2440         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2441
2442 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2443
2444         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2445         inner class.
2446         (CACHE_SIZE_PER_DISPLAY): New field
2447         (fontMetricsCache): New field
2448         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2449         loading ISO10646-1 fonts.
2450
2451 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2452
2453         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2454         characters.
2455         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2456         characters.
2457
2458 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2459
2460         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2461         floating point.
2462
2463 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2464
2465         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2466         installed libpthread is either linuxthreads with floating stacks or
2467         NPTL.
2468
2469 2003-04-14  Tom Tromey  <tromey@redhat.com>
2470
2471         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2472         of alignment.
2473
2474 2003-04-10  Tom Tromey  <tromey@redhat.com>
2475
2476         * verify.cc (pop64): Removed.
2477         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2478         exception if top-of-stack is narrow.
2479         (initialize_stack): Check to ensure that <init> is not static and
2480         <clinit> is.
2481
2482 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2483
2484         * java/io/ObjectStreamException
2485         * java/io/FileFilter
2486         * java/io/FilenameFilter
2487         * java/io/ObjectInput
2488         * java/io/ObjectOutput
2489         * java/io/ObjectStreamConstants
2490         Minor doc fixes, format fixes, spelling corrections, etc.
2491         * java/io/DataInput
2492         Corrected code samples in Javadocs to match reality
2493         * java/io/DataOutput
2494         * java/io/ObjectInputValidation
2495         Major documentation fixes - all Javadocs re-written or updated
2496
2497 2003-04-06  Michael Koch  <konqueror@gmx.de>
2498
2499         * java/net/URLConnection.java:
2500         Import classes directly.
2501         (URLConnection): Merged class documentation with classpath.
2502         (url): Moved, documentation from classpath added.
2503         (doInput): Moved, documentation from classpath added.
2504         (doOutput): Moved, documentation from classpath added.
2505         (allowUserInteraction): Moved.
2506         (useCaches): Moved, documentation from classpath added.
2507         (ifModifiedSince): Moved, documentation from classpath added.
2508         (connected): Moved, documentation from classpath added.
2509
2510 2003-04-06  Michael Koch  <konqueror@gmx.de>
2511
2512         * java/io/FileInputStream.java
2513         (skip): Renamed some variables to match classpath, added
2514         checks from classpath.
2515
2516 2003-03-31  Michael Koch  <konqueror@gmx.de>
2517
2518         * javax/swing/AbstractAction.java
2519         (AbstractAction): Reformatted.
2520         (serialVersionUID): New private member variable.
2521         * javax/swing/plaf/BorderUIResource.java
2522         (serialVersionUID): New private member variable.
2523         * javax/swing/plaf/basic/BasicLookAndFeel.java
2524         (serialVersionUID): New private member variable.
2525
2526 2003-03-31  Michael Koch  <konqueror@gmx.de>
2527
2528         * java/sql/Date.java
2529         (valueOf): Deprecated, reformatted.
2530         (toString): Deprecated, reformatted.
2531         * java/sql/Time.java
2532         (valueOf): Deprecated, reformatted.
2533         (toString): Deprecated, reformatted.
2534
2535 2003-03-31  Michael Koch  <konqueror@gmx.de>
2536
2537         * java/rmi/dgc/VMID.java
2538         (isUnique): Deprecated.
2539
2540 2003-03-31  Michael Koch  <konqueror@gmx.de>
2541
2542         * java/io/File.java
2543         (separator): Merged documentation from classpath.
2544         (separatorChar): Merged documentation from classpath.
2545         (pathSeparator): Merged documentation from classpath.
2546         (pathSeparatorChar): Merged documentation from classpath.
2547         (path): Merged documentation from classpath.
2548         (canRead): Merged documentation from classpath.
2549         (canWrite): Merged documentation from classpath.
2550         (createNewFile): Merged documentation from classpath.
2551         (delete): Merged documentation from classpath.
2552         (equals): Merged documentation from classpath.
2553         (exists): Merged documentation from classpath.
2554         (File): Renamed p to name to match classpath, merged documentation
2555         from classpath.
2556         (getAbsolutePath): Merged documentation from classpath.
2557         (getCanonicalPath): Merged documentation from classpath.
2558         (getCanonicalFile): Merged documentation from classpath.
2559         (getName): Merged documentation from classpath.
2560         (getParent): Merged documentation from classpath.
2561         (getParentFile): Merged documentation from classpath.
2562         (getPath): Merged documentation from classpath.
2563         (hashCode): Merged documentation from classpath.
2564         (isAbsolute): Merged documentation from classpath.
2565         (isDirectory): Merged documentation from classpath.
2566         (isFile): Merged documentation from classpath.
2567         (isHidden): Merged documentation from classpath.
2568         (lastModified): Merged documentation from classpath.
2569         (length): Merged documentation from classpath.
2570         (list): Merged documentation from classpath.
2571         (listFiles): Merged documentation from classpath.
2572         (toString): Merged documentation from classpath.
2573         (toURL): Merged documentation from classpath.
2574         (mkdir): Merged documentation from classpath.
2575         (mkdirs): Merged documentation from classpath.
2576         (createTempFile): Merged documentation from classpath.
2577         (setReadOnly): Merged documentation from classpath.
2578         (listRoots): Merged documentation from classpath.
2579         (compareTo): Merged documentation from classpath.
2580         (renameTo): Merged documentation from classpath.
2581         (setLastModified): Merged documentation from classpath.
2582         * java/io/PrintStream.java
2583         (auto_flush): Merged documentation from classpath.
2584         (PrintStream): Merged documentation from classpath.
2585         (checkError): Merged documentation from classpath.
2586         (setError): Merged documentation from classpath.
2587         (close): Merged documentation from classpath.
2588         (flush): Merged documentation from classpath.
2589         (print): Merged documentation from classpath.
2590         (println):  Merged documentation from classpath.
2591         (write): Renamed count to len to match classpath,
2592         merged documentation from classpath.
2593         * java/io/RandomAccessFile.java
2594         (readShort): Merged documentation from classpath.
2595         (readUnsignedByte): Merged documentation from classpath.
2596         (readUnsignedShort): Merged documentation from classpath.
2597         (readUTF): Merged documentation from classpath.
2598         (seek): Reformatted, merged documentation from classpath.
2599         (skipBytes): Renamed some variables to match classpath, reformatted,
2600         merged documentation from classpath.
2601         (write): Merged documentation from classpath.
2602         (writeBoolean): Merged documentation from classpath.
2603         (writeByte): Merged documentation from classpath.
2604         (writeShort): Merged documentation from classpath.
2605         (writeChar): Merged documentation from classpath.
2606         (writeInt): Merged documentation from classpath.
2607         (writeLong): Merged documentation from classpath.
2608         (writeFloat): Merged documentation from classpath.
2609         (writeDouble): Merged documentation from classpath.
2610         (writeBytes): Merged documentation from classpath.
2611         (writeChars): Merged documentation from classpath.
2612         (writeUTF): Reformatted.
2613         (getChannel): Reformatted.
2614
2615 2003-03-31  Michael Koch  <konqueror@gmx.de>
2616
2617         * java/awt/font/TextAttribute.java
2618         (readResolve): Throws java.io.InvalidObjectException.
2619
2620 2003-03-31  Michael Koch  <konqueror@gmx.de>
2621
2622         * java/rmi/server/LoaderHandler.java
2623         (loadClass): Deprecated.
2624         (getSecurityContext): Deprecated.
2625         * java/rmi/server/LogStream.java
2626         (getDefaultStream): Deprecated.
2627         (setDefaultStream): Deprecated.
2628         (getOutputStream): Deprecated.
2629         (setOutputStream): Deprecated.
2630         (write): Deprecated.
2631         (toString): Deprecated.
2632         (parseLevel): Deprecated.
2633         * java/rmi/server/Operation.java
2634         (Operation): Deprecated.
2635         (getOperation): Deprecated.
2636         (toString): Deprecated.
2637         * java/rmi/server/RemoteCall.java
2638         (getOutputStream): Deprecated.
2639         (releaseOutputStream): Deprecated.
2640         (getInputStream): Deprecated.
2641         (releaseInputStream): Deprecated.
2642         (getResultStream): Deprecated.
2643         (executeCall): Deprecated.
2644         (done): Deprecated.
2645         * java/rmi/server/RemoteRef.java
2646         (invoke): Deprecated.
2647         (newCall): Deprecated.
2648         (done): Deprecated.
2649         * java/rmi/server/RemoteStub.java
2650         (setRef): Deprecated.
2651         * java/rmi/server/Skeleton.java:
2652         No need to import java.lang.Exception explicitly.
2653         (dispatch): Deprecated.
2654         (getOperations): Deprecated.
2655
2656 2003-03-31  Michael Koch  <konqueror@gmx.de>
2657
2658         * java/rmi/dgc/VMID.java,
2659         java/rmi/registry/RegistryHandler.java,
2660         java/rmi/server/LogStream.java,
2661         java/rmi/server/Operation.java,
2662         java/rmi/server/RemoteCall.java,
2663         java/rmi/server/RemoteRef.java,
2664         java/rmi/server/RemoteStub.java:
2665         Reformatted.
2666
2667 2003-03-31  Michael Koch  <konqueror@gmx.de>
2668
2669         * javax/swing/AbstractCellEditor.java,
2670         javax/swing/AbstractListModel.java,
2671         javax/swing/ActionMap.java,
2672         javax/swing/BorderFactory.java,
2673         javax/swing/ButtonGroup.java,
2674         javax/swing/DefaultBoundedRangeModel.java,
2675         javax/swing/DefaultButtonModel.java,
2676         javax/swing/DefaultCellEditor.java,
2677         javax/swing/DefaultComboBoxModel.java,
2678         javax/swing/DefaultDesktopManager.java,
2679         javax/swing/DefaultListCellRenderer.java,
2680         javax/swing/DefaultSingleSelectionModel.java,
2681         javax/swing/InputMap.java,
2682         javax/swing/JComponent.java,
2683         javax/swing/JMenu.java,
2684         javax/swing/JSlider.java,
2685         javax/swing/KeyStroke.java,
2686         javax/swing/OverlayLayout.java,
2687         javax/swing/ScrollPaneLayout.java,
2688         javax/swing/SizeRequirements.java,
2689         javax/swing/UIManager.java,
2690         javax/swing/ViewportLayout.java,
2691         javax/swing/border/AbstractBorder.java,
2692         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2693         javax/swing/event/EventListenerList.java,
2694         javax/swing/table/AbstractTableModel.java,
2695         javax/swing/table/DefaultTableCellRenderer.java,
2696         javax/swing/table/DefaultTableColumnModel.java,
2697         javax/swing/table/DefaultTableModel.java,
2698         javax/swing/table/TableColumn.java,
2699         javax/swing/text/StyledEditorKit.java,
2700         javax/swing/tree/DefaultMutableTreeNode.java,
2701         javax/swing/tree/DefaultTreeModel.java,
2702         javax/swing/tree/DefaultTreeSelectionModel.java,
2703         javax/swing/tree/TreePath.java,
2704         javax/swing/undo/AbstractUndoableEdit.java,
2705         javax/swing/undo/StateEdit.java,
2706         javax/swing/undo/StateEditable.java,
2707         javax/swing/undo/UndoableEditSupport.java:
2708         Merges from classpath.
2709
2710 2003-03-30  Tom Tromey  <tromey@redhat.com>
2711
2712         * java/lang/String.java (data, boffset, count): Documented.
2713         (String(byte[],String)): Reformatted.
2714         (String(byte[])): Likewise.
2715         (lastIndexOf(int)): Likewise.
2716         (lastIndexOf(String)): Likewise.
2717         (substring(int)): Renamed argument to match Classpath.
2718         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2719
2720         * java/lang/String.java: Miscellaneous minor formatting changes
2721         to match Classpath more closely.
2722
2723 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2724             Tom Tromey  <tromey@redhat.com>
2725
2726         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2727         (init()): Removed.
2728         (charAt): Put index in exception.
2729         (contentEquals): New method.
2730         Include StringBuffer.h.
2731         * java/lang/String.java (cachedHashCode): New field.
2732         (String()): Follow classpath implementation.
2733         (init()): Removed.
2734         (contentEquals): Declare.
2735         (subSequence): Don't declare IndexOutIfBoundsException in throws
2736         clause.
2737         (matches, replaceFirst, replaceAll, split): New methods from
2738         Classpath.
2739
2740 2003-03-29  Tom Tromey  <tromey@redhat.com>
2741
2742         * java/lang/String.java: Reordered to follow Classpath; merged in
2743         javadoc.
2744
2745         * java/text/MessageFormat.java: Removed some whitespace.
2746
2747         * Makefile.in: Rebuilt.
2748         * Makefile.am (awt_java_source_files): Added new files.
2749         * gnu/javax/rmi/PortableServer.java,
2750         gnu/javax/rmi/CORBA/DelegateFactory.java,
2751         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2752         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2753         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2754         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2755         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2756         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2757         javax/rmi/PortableRemoteObject.java,
2758         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2759         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2760         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2761         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2762         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2763         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2764
2765         * java/lang/natClass.cc (newInstance): Put method name in
2766         exception.
2767         (getConstructor): Likewise.
2768         (getDeclaredConstructor): Likewise.
2769         (getPrivateMethod): Likewise.
2770
2771 2003-03-28  Tom Tromey  <tromey@redhat.com>
2772
2773         * java/lang/reflect/Proxy.java: New version from Classpath.
2774         * java/lang/Package.java: New version from Classpath.
2775
2776 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2777
2778         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2779         * configure: Regenerate.
2780
2781 2003-03-28  Michael Koch  <konqueror@gmx.de>
2782
2783         * java/io/File.java:
2784         Import needed classes instead of whole packages, merged class
2785         documentation with classpath, moved constants and variables to top of
2786         class.
2787         * java/io/PrintStream.java:
2788         Merged class documentation with classpath, moved constants and
2789         variables to top of class.
2790         * java/io/RandomAccessFile.java
2791         (RandomAccessFile): Merged with classpath.
2792         (read): Merged with classpath).
2793         (read*): Reformatted.
2794
2795 2003-03-28  Michael Koch  <konqueror@gmx.de>
2796
2797         * java/io/FileDescriptor.java
2798         (finalize): Throws Throwable, not IOException.
2799         * java/io/ObjectOutputStream.java
2800         (PutField.put): Doesnt throws anything.
2801
2802 2003­03-28  Michael Koch  <konqueror@gmx.de>
2803
2804         * java/io/FileOutputStream.java:
2805         Merged class documentation and authors with classpath.
2806         (FileOutputStream): Partly merged with classpath.
2807         (write): Merged with classpath.
2808         (getChannel): Make it synchronized instead of explicit block in this
2809         method.
2810         * java/io/RandomAccessFile.java:
2811         Merged class documentation and authors with classpath.
2812
2813 2003-03-26  Tom Tromey  <tromey@redhat.com>
2814
2815         * java/lang/natRuntime.cc (insertSystemProperties): Set
2816         gnu.classpath.home.url.
2817         * Makefile.in: Rebuilt.
2818         * Makefile.am: Define LIBDIR.
2819
2820 2003-03-25  Michael Koch  <konqueror@gmx.de>
2821
2822         * java/io/FileInputStream.java
2823         (read): Renamed b to buf and off to offset.
2824         * java/io/FileOutputStream.java
2825         (ch): Documentation added.
2826         (FileOutputStream): Documentation added.
2827         (getFD): Documentation added.
2828         (write): Documentation added.
2829         (close): Documentation added.
2830         (getChannel): Documentation added.
2831
2832 2003-03-24  Michael Koch  <konqueror@gmx.de>
2833
2834         * java/io/DataOutputStream.java
2835         (write): Merged from classpath.
2836         * java/io/File.java:
2837         Merged copyrigth with classpath.
2838         * java/io/FileInputStream.java
2839         (getChannel): Made it synchronized instead of using a synchronized
2840         block.
2841         * java/io/FileOutputStream.java: Reformatted.
2842         * java/io/InputStreamReader.java
2843         (InputStreamReader): Renamed enc to encoding_name.
2844         (close): Merged documentation from classpath.
2845         (getEncoding): Merged documentation from classpath.
2846         (ready): Merged documentation from classpath.
2847         (read): Merged documentation from classpath.
2848         * java/io/LineNumberReader.java
2849         (lineNumber): Made it private.
2850         (LineNumberReader): Use Constant instead of a direct value.
2851         * java/io/OutputStreamWriter.java
2852         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2853         documentation from classpath.
2854         (close): Merged documentation from classpath.
2855         (flush): Merged documentation from classpath.
2856         (write): Merged documentation from classpath.
2857         * java/io/PrintStream.java: Reformatted.
2858
2859 2003-03-24  Michael Koch  <konqueror@gmx.de>
2860
2861         * javax/swing/text/ComponentView.java
2862         (getComponent): Must be final.
2863         * javax/swing/tree/DefaultTreeCellRenderer.java:
2864         Reformatted.
2865         * javax/swing/undo/StateEditable.java:
2866         Reformatted.
2867
2868 2003-03-24  Michael Koch  <konqueror@gmx.de>
2869
2870         * java/rmi/activation/ActivationInstantiator.java:
2871         Reformatted.
2872         * java/rmi/activation/Activator.java:
2873         Reformatted.
2874         * java/rmi/registry/RegistryHandler.java:
2875         Remerged from classpath.
2876
2877 2003-03-24  Michael Koch  <konqueror@gmx.de>
2878
2879         * java/util/Date.java:
2880         Fixed documentation starting tag to make javadoc happy.
2881         * java/util/regex/Pattern.java
2882         (Pattern): Implements Serializable.
2883         * java/util/PatternSyntaxException.java
2884         (serialVersionUID): New member variable.
2885
2886 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2887
2888         * java/awt/ContainerOrderFocusTraversalPolicy.java
2889         (getFirstComponent): Implemented.
2890         (getLastComponent): Implemented.
2891         (getDefaultComponent): Implemented.
2892         (setImplicitDownCycleTraversal): Fixed implementation.
2893         * java/awt/Robot.java
2894         (Robot): Added documentation.
2895         * java/awt/Toolkit.java
2896         (getFontList): Deprecated.
2897         (getFontMetrics): Deprecated.
2898         (getPrintJob): Added documentation.
2899         (getSystemSelection): Added documentation.
2900         (getLockingKeyState): Added documentation.
2901         (setLockingKeyState): Added documentation.
2902         (createCustomCursor): Added documentation.
2903         (getBestCursorSize): Added documentation.
2904         (getMaximumCursorColors): Added documentation.
2905         (isFrameStateSupported): Added documentation.
2906
2907 2003-03-24  Michael Koch  <konqueror@gmx.de>
2908
2909         * java/io/RandomAccessFile.java:
2910         More little merges with classpath. No code changes.
2911
2912 2003-03-24  Michael Koch  <konqueror@gmx.de>
2913
2914         * java/net/natInetAddressNoNet.cc:
2915         Include stddef.h.
2916         * java/net/natPlainDatagramSocketImplNoNet.cc:
2917         Fixed inlcude of java/net/DatagramPacket.h.
2918         * java/net/natPlainSocketImplNoNet.cc:
2919         Include some missing classes.
2920
2921 2003-03-24  Michael Koch  <konqueror@gmx.de>
2922
2923         * java/awt/dnd/DropTarget.java
2924         (DropTargetAutoScroller): According to the online documentation, this
2925         is protected, but in reality it is public.
2926         * java/awt/dnd/DropTargetContext.java
2927         (TransferableProxy): According to the online documentation, this
2928         is protected, but in reality it is public.
2929
2930 2003-03-24  Michael Koch  <konqueror@gmx.de>
2931
2932         * java/io/DataInputStream.java
2933         (): Wrapped documentation line.
2934         (): Fixed @return tag.
2935         * java/io/DataOutputStream.java
2936         (written): Moved to top of class.
2937         (all methods): Merged documentation from classpath.
2938         * java/io/File.java:
2939         Merged copyright year with classpath.
2940         * java/io/FileInputStream.java
2941         (all methods): Merged documentation from classpath.
2942         * java/io/LineNumberReader.java
2943         (getLineNumber): Fixed @return tag.
2944         * java/io/ObjectInputStream.java.
2945         Reformatted.
2946         * java/io/ObjectOutputStream.java:
2947         Reformatted, fixed some @see tags.
2948         * java/io/OutputStreamWriter.java:
2949         Deleted empty line.
2950         * java/io/Writer.java:
2951         Reformatted.
2952
2953 2003-03-24  Michael Koch  <konqueror@gmx.de>
2954
2955         * java/awt/Frame.java
2956         (DEFAULT_CURSOR): Fixed @deprecated tag.
2957         (setCursor): Fixed @deprecated tag.
2958
2959 2003-03-24  Michael Koch  <konqueror@gmx.de>
2960
2961         * java/beans/beancontext/BeanContextEvent.java:
2962         Reformated.
2963
2964 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2965
2966         * java/lang/natStringBuffer.cc (regionMatches): New function.
2967         * java/lang/String.java (count): Now package-private.
2968         * java/lang/StringBuffer.java: Merged with Classpath.
2969
2970 2003-03-23  Michael Koch  <konqueror@gmx.de>
2971
2972         * java/io/BufferedOutputStream.java:
2973         Reformated.
2974         * java/io/BufferedReader.java:
2975         Reformated.
2976         * java/io/ByteArrayOutputStream.java
2977         (size): Fixed @see tag.
2978         * java/io/CharArrayWriter.java
2979         (size): Fixed @see tag.
2980         * java/io/DataInput.java:
2981         Reformated.
2982         * java/io/DataOutput.java:
2983         Reformated.
2984         * java/io/DataOutputStream.java:
2985         Merged copyright years with classpath.
2986         * java/io/Externalizable.java:
2987         Reformated.
2988         * java/io/FileFilter.java:
2989         Reformated.
2990         * java/io/FileInputStream.java:
2991         Merged copyright years with classpath.
2992         * java/io/FileOutputStream.java:
2993         Merged copyright years with classpath.
2994         * java/io/FilePermission.java
2995         (FilePermission): Replaced @XXX with FIXME:.
2996         * java/io/FileWriter.java:
2997         Reformated.
2998         * java/io/FilenameFilter.java:
2999         Reformated.
3000         * java/io/FilterInputStream.java:
3001         Reformated.
3002         * java/io/FilterOutputStream.java:
3003         Reformated.
3004         * java/io/FilterReader.java:
3005         Reformated.
3006         * java/io/FilterWriter.java:
3007         Reformated.
3008         * java/io/LineNumberInputStream.java
3009         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3010         happy.
3011         (getLineNumber): Fixed @return tag.
3012         * java/io/ObjectInput.java:
3013         Reformated.
3014         * java/io/ObjectOutput.java:
3015         Reformated.
3016         * java/io/ObjectStreamClass.java:
3017         Reformated.
3018         * java/io/PrintStream.java:
3019         Merged copyright years with classpath.
3020         * java/io/PushbackReader.java
3021         (PushbackReader): Replaced @code with @param.
3022         * java/io/SerializablePermission.java:
3023         Reformated.
3024         * java/io/StreamTokenizer.java
3025         (resetSyntax): Fixed @see tag.
3026
3027 2003-03-22  Richard Henderson  <rth@redhat.com>
3028
3029         * sysdep/ia64/locks.h: Include ia64intrin.h.
3030         (compare_and_swap): Use __sync_bool_compare_and_swap.
3031         (compare_and_swap_release): Expose ar.ccv assignment.
3032
3033 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3034
3035         * include/posix.h: Add suffix for darwin dynamic libraries.
3036
3037 2003-03-21  Michael Koch  <konqueror@gmx.de>
3038
3039         * javax/swing/Action.java
3040         (ACCELERATOR_KEY): New constant.
3041         (ACTION_COMMAND_KEY): Likewise.
3042         (MNEMONIC_KEY): Likewise.
3043         * javax/swing/UnsupportedLookAndFeelException.java
3044         (UnsupportedLookAndFeelException): Must be public.
3045         * javax/swing/WindowConstants.java
3046         (EXIT_ON_CLOSE): New constant.
3047         * javax/swing/text/BadLocationException.java
3048         (offset): New member variable.
3049         (BadLocationException): New implementation, documentation added.
3050         (offsetRequested): New method.
3051         * javax/swing/text/Caret.java:
3052         Reformated.
3053         * javax/swing/text/Document.java:
3054         Reformated.
3055
3056 2003-03-21  Michael Koch  <konqueror@gmx.de>
3057
3058         * java/rmi/activation/Activatable.java
3059         (serialVersionUID): New member variable.
3060         * java/rmi/activation/ActivationGroup.java
3061         (serialVersionUID): New member variable.
3062         * java/rmi/activation/ActivationGroupDesc.java
3063         (serialVersionUID): New member variable.
3064         * java/rmi/registry/Registry.java:
3065         Reformated.
3066         (Registry): Deprecated.
3067         * java/rmi/server/LoaderHandler.java
3068         Reformated.
3069         (LoaderHandler): Deprecated.
3070         * java/rmi/server/LogStream.java
3071         Reformated.
3072         (LogStream): Deprecated.
3073         * java/rmi/server/Operation.java
3074         (Operation): Deprecated.
3075         * java/rmi/server/RMIFailureHandler.java:
3076         Reformated.
3077         * java/rmi/server/RMISocketFactory.java:
3078         Reformated.
3079         * java/rmi/server/RemoteCall.java
3080         (RemoteCall): Deprecated.
3081         * java/rmi/server/RemoteStub.java:
3082         Reformated.
3083         * java/rmi/server/Skeleton.java
3084         Reformated.
3085         (Skeleton): Deprecated.
3086
3087 2003-03-21  Michael Koch  <konqueror@gmx.de>
3088
3089         * java/io/LineNumberReader.java
3090         (LineNumberReader): Merged documentation with classpath.
3091         (getLineNumber): Likewise.
3092         (setLineNumber): Likewise.
3093         (mark): Likewise.
3094         (reset): Likewise.
3095         (read): Likewise.
3096         (readLine): Likewise.
3097         (skip): Likewise.
3098
3099 2003-03-21  Michael Koch  <konqueror@gmx.de>
3100
3101         * java/rmi/RMISecurityManager.java
3102         (checkAccept): Removed.
3103         (checkAccess): Likewise.
3104         (checkAccess): Likewise.
3105         (checkAwtEventQueueAccess): Likewise.
3106         (checkConnect): Likewise.
3107         (checkCreateClassLoader): Likewise.
3108         (checkDelete): Likewise.
3109         (checkExec): Likewise.
3110         (checkExit): Likewise.
3111         (checkLink): Likewise.
3112         (checkListen): Likewise.
3113         (checkMemberAccess): Likewise.
3114         (checkMulticast): Likewise.
3115         (checkPackageAccess): Likewise.
3116         (checkPackageDefinition): Likewise.
3117         (checkPermission): Likewise.
3118         (checkPrintJobAccess): Likewise.
3119         (checkPropertiesAccess): Likewise.
3120         (checkPropertyAccess): Likewise.
3121         (checkRead): Likewise.
3122         (checkSecurityAccess): Likewise.
3123         (checkSetFactory): Likewise.
3124         (checkSystemClipboardAccess): Likewise.
3125         (checkTopLevelWindow): Likewise.
3126         (checkWrite): Likewise.
3127
3128 2003-03-20  Michael Koch  <konqueror@gmx.de>
3129
3130         * gnu/java/nio/FileChannelImpl.java
3131         (address): Removed.
3132         (map_address): New member variable.
3133         (length): Make it package private.
3134         (fd): Make it package private.
3135         (buf): Make it package private.
3136         (file_obj): Make it package private.
3137         (FileChannelImpl): New constructor.
3138         (nio_mmap_file): Use RawData instead of long.
3139         (nio_munmap_file): Use RawData instead of long.
3140         (nio_msync): Use RawData instead of long.
3141         (implCloseChannel): New implementation using map_address.
3142         (read): Reformated.
3143         (map): Implemented.
3144         (create_direct_mapped_buffer): Implemented, use RawData, throws
3145         IOException.
3146         (force): Use map_address instead of address.
3147         * gnu/java/nio/MappedByteFileBuffer.java
3148         (address): Removed.
3149         (map_address): New member variable.
3150         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3151         (several methods): Use map_address instead of address, replaced long
3152         with RawData where appropriate.
3153         * gnu/java/nio/natFileChannelImpl.cc
3154         (nio_mmap_file): Replaced long with RawData.
3155         (nio_munmap_file): Replaced long with RawData.
3156         (nio_msync): Replaced long with RawData.
3157         * gnu/java/nio/natMappedByteFileBuffer.cc
3158         (several methods): Replaced long with RawData where appropriate.
3159
3160 2003-03-20  Michael Koch  <konqueror@gmx.de>
3161
3162         * java/net/InetAddress.java,
3163         java/net/JarURLConnection.java,
3164         java/net/PlainDatagramSocketImpl.java,
3165         java/net/PlainSocketImpl.java,
3166         java/net/URLConnection.java:
3167         Merged copyright statements with classpath for easier merging.
3168
3169 2003-03-20  Michael Koch  <konqueror@gmx.de>
3170
3171         * java/io/FileInputStream.java
3172         (getChannel): New implementation.
3173         * java/io/FileOutputStream.java
3174         (ch): New member variable.
3175         (getChannel): Implemented.
3176         * java/io/RandomAccessFile.java
3177         (RandomAccessFile): Throws FileNotFoundException instead of
3178         IOException.
3179         (getChannel): New method.
3180         (ch): New member variable.
3181
3182 2003-03-20  Michael Koch  <konqueror@gmx.de>
3183
3184         * java/io/DataOutputStream.java,
3185         java/io/File.java,
3186         java/io/FileInputStream.java,
3187         java/io/FileOutputStream.java,
3188         java/io/InputStreamReader.java,
3189         java/io/LineNumberReader.java,
3190         java/io/OutputStreamWriter.java,
3191         java/io/PrintStream.java,
3192         java/io/RandomAccessFile.java:
3193         Merged copyright statements with classpath for easier merging.
3194
3195 2003-03-19  Michael Koch  <konqueror@gmx.de>
3196
3197         * java/lang/Process.java:
3198         Merged from classpath.
3199
3200 2003-03-19  Michael Koch  <konqueror@gmx.de>
3201
3202         * java/io/FileOutputStream.java
3203         (FileOutputStream): New constructor, merged from classpath.
3204         * java/io/FileWriter.java
3205         (FileWriter): New constructor, merged from classpath.
3206
3207 2003-03-18  Michael Koch  <konqueror@gmx.de>
3208
3209         * java/awt/ScrollPane.java
3210         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3211         (getViewportSize): Likewise.
3212         (addNotify): Likewise.
3213         (removeNotify): Likewise.
3214         * java/awt/ScrollPaneAdjustable.java
3215         (ScrollPaneAdjustable): No longer extends Scrollbar.
3216         * java/beans/beancontext/BeanContextServices.java:
3217         Reformated.
3218         (getService): Added throws TooManyListenersException;
3219         * java/beans/beancontext/BeanContextServicesSupport.java:
3220         Reformated.
3221
3222 2003-03-18  Michael Koch  <konqueror@gmx.de>
3223
3224         * java/io/BufferedOutputStream.java,
3225         java/io/DataInput.java,
3226         java/io/DataInputStream.java,
3227         java/io/DataOutput.java,
3228         java/io/Externalizable.java:
3229         More merges from classpath.
3230
3231 2003-03-18  Michael Koch  <konqueror@gmx.de>
3232
3233         * configure.in: Fixed links to platform dependant java.net files.
3234         * configure: Regenerated.
3235         * java/net/natInetAddress.cc,
3236         java/net/natNetworkInterface.cc,
3237         java/net/natPlainDatagramSocketImpl.cc,
3238         java/net/natPlainSocketImpl.cc:
3239         Removed.
3240
3241 2003-03-18  Michael Koch  <konqueror@gmx.de>
3242
3243         * configure.in: Create links to architecture dependent files,
3244         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3245         * configure: Regenerated.
3246         * java/net/natInetAddressNoNet.cc,
3247         java/net/natInetAddressPosix.cc,
3248         java/net/natInetAddressWin32.cc,
3249         java/net/natNetworkInterfaceNoNet.cc,
3250         java/net/natNetworkInterfacePosix.cc,
3251         java/net/natNetworkInterfaceWin32.cc,
3252         java/net/natPlainDatagramSocketImplNoNet.cc,
3253         java/net/natPlainDatagramSocketImplPosix.cc,
3254         java/net/natPlainDatagramSocketImplWin32.cc,
3255         java/net/natPlainSocketImplNoNet.cc,
3256         java/net/natPlainSocketImplPosix.cc,
3257         java/net/natPlainSocketImplWin32.cc: New files.
3258
3259 2003-03-18  Michael Koch  <konqueror@gmx.de>
3260
3261         * java/io/BufferedReader.java,
3262         java/io/BufferedWriter.java,
3263         java/io/ByteArrayOutputStream.java,
3264         java/io/FileFilter.java,
3265         java/io/FilePermission.java,
3266         java/io/FileReader.java,
3267         java/io/FileWriter.java,
3268         java/io/FilenameFilter.java,
3269         java/io/FilterInputStream.java,
3270         java/io/FilterOutputStream.java,
3271         java/io/FilterReader.java,
3272         java/io/FilterWriter.java,
3273         java/io/ObjectInput.java,
3274         java/io/ObjectInputValidation.java,
3275         java/io/ObjectOutput.java,
3276         java/io/ObjectStreamField.java,
3277         java/io/PipedInputStream.java,
3278         java/io/PipedReader.java,
3279         java/io/PrintWriter.java,
3280         java/io/PushbackReader.java,
3281         java/io/Reader.java,
3282         java/io/SerializablePermission.java,
3283         java/io/StringReader.java,
3284         java/io/Writer.java:
3285         Merged from classpath.
3286
3287 2003-03-17  Michael Koch  <konqueror@gmx.de>
3288
3289         * java/awt/ScrollPaneAdjustable.java:
3290         Compile fixes.
3291         
3292 2003-03-17  Michael Koch  <konqueror@gmx.de>
3293
3294         * java/net/DatagramSocket.java
3295         (connect): Fixed comment.
3296         * java/nio/ByteBuffer.java
3297         (hasArray): Fixed comment.
3298
3299 2003-03-17  Michael Koch  <konqueror@gmx.de>
3300
3301         * java/beans/Beans.java:
3302         Explicitely import classes not packages.
3303         * java/beans/FeatureDescriptor.java
3304         (preferred): New member variable.
3305         (isPreferred): New method.
3306         (setPreferred): New method.
3307         * java/beans/PropertyEditorManager.java:
3308         Explicitely import used classes.
3309         * java/beans/beancontext/BeanContextChild.java:
3310         Added line wrapping.
3311         * java/beans/beancontext/BeanContextChildSupport.java:
3312         Reindented.
3313         * java/beans/beancontext/BeanContextEvent.java:
3314         Reindented.
3315
3316 2003-03-17  Michael Koch  <konqueror@gmx.de>
3317
3318         * java/awt/Dialog.java
3319         (Dialog): New constructor, changed implementations, added
3320         documentation.
3321         * java/awt/ScrollPaneAdjustable.java
3322         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3323         Serializable.
3324         (serialVersionUID): New member variable.
3325         (sp): New member variable.
3326         (orientation): New member variable.
3327         (value): New member variable.
3328         (minimum): New member variable.
3329         (maximum): New member variable.
3330         (visibleAmount): New member variable.
3331         (unitIncrement): New member variable.
3332         (blockIncrement): New member variable.
3333         (AdjustmentListener): New member variable.
3334         (ScrollPaneAdjustable): New implementation.
3335         (addAdjustmentListener): New method.
3336         (removeAdjustmentListener): New method.
3337         (getAdjustmentListeners): New method.
3338         (getBlockIncrement): New method.
3339         (getMaximum): New method.
3340         (getMinimum): New method.
3341         (getOrientation): New method.
3342         (getUnitIncrement): New method.
3343         (getValue): New method.
3344         (getVisibleAmount): New method.
3345         (setBlockIncrement): New method.
3346         (setMaximum): Implemented.
3347         (setMinimum): Implemented.
3348         (setUnitIncrement): New method.
3349         (setValue): New method.
3350         (setVisibleAmount): Implemented. 
3351         (paramString): New stubbed method.
3352         * java/awt/Window.java
3353         (show): Call setVisible().
3354         (hide): Call setVisible().
3355         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3356         and WINDOW_STATE_CHANGED.
3357         (processWindowFocusEvent): New method.
3358         (processWindowStateEvent): New method.
3359         (postEvent): Deprecated.
3360         (applyResourceBundle): Deprecated.
3361         * java/awt/datatransfer/DataFlavor.java
3362         (DataFlavor): Doesn't thow ClassNotFoundException.
3363
3364 2003-03-17  Michael Koch
3365
3366         * javax/print/attribute/Attribute.java,
3367         javax/print/attribute/AttributeSet.java,
3368         javax/print/attribute/PrintRequestAttributeSet.java:
3369         New files.
3370         * Makefile.am
3371         (javax_source_files): Added new files:
3372         javax/print/attribute/Attribute.java
3373         javax/print/attribute/AttributeSet.java
3374         javax/print/attribute/PrintRequestAttributeSet.java
3375         * Makefile.in: Regenerated.
3376
3377 2003-03-17  Michael Koch
3378
3379         * javax/print/attribute/Attribute.java,
3380         javax/print/attribute/AttributeSet.java,
3381         javax/print/attribute/PrintRequestAttributeSet.java:
3382         New files.
3383         * Makefile.am
3384         (awt_java_source_files): Added new files:
3385         javax/print/attribute/Attribute.java
3386         javax/print/attribute/AttributeSet.java
3387         javax/print/attribute/PrintRequestAttributeSet.java
3388         * Makefile.in: Regenerated.
3389
3390 2003-03-16  Tom Tromey  <tromey@redhat.com>
3391
3392         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3393         Include platform.h.
3394         * java/lang/natRuntime.cc (insertSystemProperties): Use
3395         _Jv_platform_path_separator.
3396         (nativeGetLibname): Use _Jv_platform_file_separator.
3397         (_load): Use _Jv_platform_onload_names.
3398         (onload_names): New global.
3399         * include/win32.h (_Jv_platform_file_separator): New define.
3400         (_Jv_platform_path_separator): Likewise.
3401         (_Jv_platform_onload_names): Likewise.
3402         (_Jv_platform_ffi_abi): Likewise.
3403         * include/posix.h (_Jv_platform_file_separator): New define.
3404         (_Jv_platform_path_separator): Likewise.
3405         (_Jv_platform_onload_names): Likewise.
3406         (_Jv_platform_ffi_abi): Likewise.
3407
3408 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3409
3410         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3411
3412 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3413
3414         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3415         hierarchy loop.
3416         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3417         list to Object,ObjectStreamClass, moved callReadMethod code up into
3418         readObject and added Class argument to all setXxxField calls.
3419         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3420         consistent with ObjectOutputStream and to facilitate caching the
3421         Method in the future.
3422         (setBooleanField): Added Class argument.
3423         (setByteField): Likewise.
3424         (setCharField): Likewise.
3425         (setDoubleField): Likewise.
3426         (setFloatField): Likewise.
3427         (setIntField): Likewise.
3428         (setLongField): Likewise.
3429         (setShortField): Likewise.
3430         (setObjectField): Likewise.
3431         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3432         class hierarchy loop.
3433         (defaultWriteObject): Call writeFields with new argument list.
3434         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3435         list to Object,ObjectStreamClass, moved callWriteMethod up into
3436         writeObject and added Class argument to all getXxxField calls.
3437         (callWriteMethod): Added ObjectStreamClass argument to be able to
3438         get the proper class to call getMethod on (each class can have (or
3439         not have) its own writeObject method).
3440         (getBooleanField): Added Class argument.
3441         (getByteField): Likewise.
3442         (getCharField): Likewise.
3443         (getDoubleField): Likewise.
3444         (getFloatField): Likewise.
3445         (getIntField): Likewise.
3446         (getLongField): Likewise.
3447         (getShortField): Likewise.
3448         (getObjectField): Likewise.
3449         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3450         facilitate caching the Method object in the future.
3451
3452 2003-03-12  Andreas Schwab  <schwab@suse.de>
3453
3454         * configure.in: Avoid trailing /. in toolexeclibdir.
3455         * configure: Rebuilt.
3456
3457 2003-03-11  Michael Koch  <konqueror@gmx.de>
3458
3459         * gnu/java/nio/ByteBufferImpl.java
3460         (putInt): Use limit() instead of limit.
3461         * gnu/java/nio/CharBufferImpl.java
3462         (slice): Fixed implementation.
3463         (subSequence): Better bounds checking.
3464         * gnu/java/nio/MappedByteFileBuffer.java:
3465         Import all needed classes directly.
3466         * java/nio/ByteBuffer.java
3467         (hashCode): New dummy method.
3468         * java/nio/CharBuffer.java
3469         (array_offset): New member variable.
3470         (hasArray): Fixed documentation.
3471         (arrayOffset): Return array_offset.
3472
3473 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3474
3475         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3476         setter; made return value of getter const char* instead of char*
3477         * prims.cc: removed all references to _Jv_ThisExecutable().
3478         These are in the platform-specific sections now.
3479         * posix.cc: define platform-specific _Jv_ThisExecutable().
3480         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3481         * win32.cc: define platform-specific _Jv_ThisExecutable()
3482         using GetModuleFilename()
3483         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3484         to argv[0] instead of _Jv_ThisExecutable()
3485
3486 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3487
3488         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3489         that is set if we are using addr2name.awk instead of addr2line.
3490         (NameFinder): Set usingAddr2name if using addr2name.awk.
3491         (getExternalLabel): New native method to convert a method 
3492         name to an external label.
3493         (lookup): Convert name given by addr2line to an external label
3494         before demangling.
3495
3496         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3497         constant representing the prefix attached to method names to
3498         convert them to an external label.
3499         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3500         using LABEL_PREFIX.
3501
3502 2003-03-10  Tom Tromey  <tromey@redhat.com>
3503
3504         * Makefile.in: Rebuilt.
3505         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3506         (JC1FLAGS): Removed -Wno-deprecated.
3507
3508 2003-03-10  Michael Koch  <konqueror@gmx.de>
3509
3510         * java/nio/ByteOrder.java
3511         (nativeOrder): Working implementation, added documentation.
3512         (toString): Added documentation.
3513
3514 2003-03-10  Michael Koch  <konqueror@gmx.de>
3515
3516         * java/net/DatagramSocket.java,
3517         java/net/MulticastSocket.java,
3518         java/net/Socket.java,
3519         java/net/URL.java,
3520         java/net/URLConnection.java:
3521         Fixed some documentation tags to make javadoc and friends happy.
3522
3523 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3524
3525         * java/beans/beancontext/BeanContextServicesSupport.java,
3526         java/beans/beancontext/BeanContextSupport.java: New files.
3527         * Makefile.am
3528         (awt_source_files): Added new files.
3529         * Makefile.in: Regenerated.
3530
3531 2003-03-10  Michael Koch  <konqueror@gmx.de>
3532
3533         * java/awt/FocusTraversalPolicy.java
3534         (FocusTraversalPolicy): Documentation added.
3535         (getComponentAfter): Documentation added.
3536         (getComponentBefore): Documentation added.
3537         (getFirstComponent): Documentation added.
3538         (getLastComponent): Documentation added.
3539         (getDefaultComponent): Documentation added.
3540         (getInitialComponent): Documentation added.
3541         * java/awt/ScrollPaneAdjustable.java
3542         (sp): New member variable.
3543         (orientation): New member variable.
3544         (value): New member variable.
3545         (minimum): New member variable.
3546         (maximum): New member variable.
3547         (visibleAmount): New member variable.
3548         (unitIncrement): New member variable.
3549         (blockIncrement): New member variable.
3550         (adjustmentListener): New member variable.
3551         (ScrollPaneAdjustable): Rewrote.
3552         (addAdjustmentListener): New method.
3553         (removeAdjustmentListener): New method.
3554         (getAdjustmentListeners): New method.
3555         (getBlockIncrement): New method.
3556         (getMaximum): New method.
3557         (getMinimum): New method.
3558         (getOrientation): New method.
3559         (getUnitIncrement): New method.
3560         (getValue): New method.
3561         (getVisibleAmount): New method.
3562         (setBlockIncrement): New method.
3563         (setUnitIncrement): New method.
3564         (setMaximum): Implemented.
3565         (setMinimum): Implemented.
3566         (setValue): New method.
3567         (setVisibleAmount): Implemented.
3568         (paramString): New method.
3569         * java/awt/Window.java
3570         (show): Use setVisible(true) instead of super.show().
3571         (hide): Use sevVisible(false) instead of super.hide().
3572         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3573         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3574         (postEvent): Deprecated.
3575         (applyResourceBundle): Deprecated.
3576         (processWindowFocusEvent): New method.
3577         (processWindowStateEvent): New method.
3578         * java/awt/datatransfer/DataFlavor.java: Reindented.
3579         * java/awt/font/TextHitInfo.java
3580         (charIndex): New member variable.
3581         (leadingEdge): New member variable.
3582         (TextHitInfo): New constructor.
3583         (getCharIndex): Implemented.
3584         (isLeadingEdge): Implemented.
3585         (getInsertionIndex): Implemented.
3586         (hashCode): Access charIndex directly.
3587         (equals): Reformated.
3588         (leading): Implemented.
3589         (trailing): Implemented.
3590         (beforeOffset): Implemented.
3591         (afterOffset): Implemented.
3592         (getOtherHit): Implemented.
3593         (getOffsetHit): Implemented.
3594         (toString): Implemented.
3595         * java/awt/image/BufferedImage.java
3596         (BufferedImage): Implements WritableRenderedImage.
3597         (observers): New member variable.
3598         (addTileObserver): New method.
3599         (removeTileObserver): New method.
3600
3601 2003-03-09  Tom Tromey  <tromey@redhat.com>
3602
3603         PR libgcj/9934:
3604         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3605         to lseek.  Return 0 if we can't compute the value.
3606
3607 2003-03-03  Michael Koch  <konqueror@gmx.de>
3608
3609         * java/net/NetworkInterface.java: Merged with classpath.
3610
3611 2003-03-03  Tom Tromey  <tromey@redhat.com>
3612
3613         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3614         of bytecode.
3615         (handle_ret_insn): Fail if returning to jsr that appears at end of
3616         bytecode.
3617
3618 2003-03-03  Michael Koch  <konqueror@gmx.de>
3619
3620         * Makefile.am
3621         (ordinary_java_source_files):
3622         Added gnu/java/nio/MappedByteFileBuffer.java.
3623         (nat_source_files):
3624         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3625         * Makefile.in: Regenerated.
3626
3627 2003-03-03  Michael Koch  <konqueror@gmx.de>
3628
3629         * java/net/DatagramSocket.java
3630         (connect): Merged comment from classpath.
3631         (receive): Merged documentation from classpath.
3632         * java/net/Socket.java
3633         (setSoTimeout): Clarified documentation.
3634         * java/net/URL.java
3635         (getPath): Merged from classpath.
3636         (getUserInfo): Merged from classpath.
3637         (getQuery): Merged from classpath.
3638         * java/net/URLStreamHandler.java
3639         (toExternalForm): Merged from classpath.
3640
3641 2003-03-02  Mark Wielaard  <mark@klomp.org>
3642
3643         * java/util/Properties.java (load): Only skip line if the first
3644         character is a comment, whitespaces don't count.
3645
3646 2003-03-02  Michael Koch  <konqueror@gmx.de>
3647
3648         * java/net/NetPermission.java:
3649         Merged copyright with classpath.
3650
3651 2003-03-02  Michael Koch  <konqueror@gmx.de>
3652
3653         * java/lang/Package.java:
3654         Remerged from classpath.
3655
3656 2003-03-02  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/net/HttpURLConnection.java
3659         (HTTP_SERVER_ERROR): Deprecated.
3660         * java/net/MulticastSocket.java
3661         (send): Replaced checkMulticast with appropriate checkPermission call,
3662         deprecated.
3663         * java/net/URLDecoder.java
3664         (decode): Deprecated.
3665         * java/net/URLEncoder.java
3666         (encode): Deprecated.
3667
3668 2003-03-02  Michael Koch  <konqueror@gmx.de>
3669
3670         * javax/swing/text/Caret.java
3671         (getMagicCaretPosition): Fixed typo in method name.
3672         * javax/swing/text/DefaultCaret.java
3673         (getMagicCaretPosition): Fixed typo in method name.
3674
3675 2003-03-02  Michael Koch  <konqueror@gmx.de>
3676
3677         * java/awt/List.java
3678         (setMultipleSelections): Deprecated.
3679         (delItem): Deprecated.
3680         * java/awt/MenuComponent.java
3681         (getPeer): Deprecated.
3682         * java/awt/ScrollPane.java
3683         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3684         * java/awt/dnd/MouseDragGestureRecognizer.java
3685         (mouseClicked): Added comment.
3686         (mousePressed): Added comment.
3687         (mouseReleased): Added comment.
3688         (mouseEntered): Added comment.
3689         (mouseExited): Added comment.
3690         (mouseDragged): Added comment.
3691         (mouseMoved): Added comment.
3692         * java/awt/event/KeyEvent.java
3693         (KeyEvent): Deprecated.
3694         (setModifiers): Deprecated.
3695         
3696 2003-03-02  Michael Koch  <konqueror@gmx.de>
3697
3698         * gnu/java/nio/FileChannelImpl.java
3699         (fd): Type FileDescriptor instead of int.
3700         (lengthInternal): Removed.
3701         (FileChannelImpl): Fixed arguments, check type of file object.
3702         (size): Made it native.
3703         (implPosition): New native method.
3704         (implTruncate): New native method.
3705         (position): Implemented.
3706         (truncate): Implemented.
3707         (nio_mmap_file): Changed arguments.
3708         (nio_munmap_file): Changed arguments.
3709         (nio_msync): Changed arguments.
3710         * gnu/java/nio/natFileChannelImpl.cc
3711         (lengthInternal): Removed.
3712         (size): New method.
3713         (implPosition): New method.
3714         (implTruncate): New method.
3715         (nio_mmap_file): Changed arguments.
3716         (nio_munmap_file): Changed arguments.
3717         (nio_msync): Changed arguments.
3718
3719 2003-03-02  Michael Koch  <konqueror@gmx.de>
3720
3721         * java/awt/dnd/DropTargetContext.java:
3722         Compile fix: Forgot to commit import.
3723         
3724 2003-03-02  Michael Koch  <konqueror@gmx.de>
3725
3726         * java/awt/Component.java,
3727         java/awt/ScrollPane.java:
3728         Fixed typos.
3729
3730 2003-03-02  Michael Koch  <konqueror@gmx.de>
3731
3732         * java/awt/dnd/DnDEventMulticaster.java: New file.
3733         * java/awt/dnd/DragSource.java
3734         (flavorMap): New member variable.
3735         (dragSourceListener): New member variable.
3736         (dragSourceMotionListener): New member variable.
3737         (getFlavorMap): Implemented.
3738         (createDragGestureRecognizer): Implemented.
3739         (addDragSourceListener): Implemented.
3740         (removeDragSourceListener): Implemented.
3741         (getDragSourceListeners): Implemented.
3742         (addDragSourceMotionListener): Implemented.
3743         (removeDragSourceMotionListener): Implemented.
3744         (getDragSourceMotionListeners): Implemented.
3745         (getListeners): Implemented.
3746         * java/awt/dnd/DragSourceContext.java
3747         (peer): New member variable.
3748         (cursor): New member variable.
3749         (transferable): New member variable.
3750         (trigger): New member variable.
3751         (dragSourceListener): New member variable.
3752         (image): New member variable.
3753         (offset): New member variable.
3754         (DragSourceContext): Implemented.
3755         (getDragSource): Implemented.
3756         (getComponent): Implemented.
3757         (getTrigger): Implemented.
3758         (getSourceActions): Implemented.
3759         (setCursor): Implemented.
3760         (getCursor): Implemented.
3761         (addDragSourceListener): Implemented.
3762         (removeDragSourceListener): Implemented.
3763         (getTransferable): Implemented.
3764         * java/awt/dnd/DropTarget.java
3765         (DropTargetAutoScroller.component): New member variable.
3766         (DropTargetAutoScroller.point): New member variable.
3767         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3768         (DropTargetAutoScroller.updateLocation): Implemented.
3769         (active): Renamed from isActive, defaults to true now.
3770         (component): New member variable.
3771         (flavorMap): New member variable.
3772         (actions): New member variable.
3773         (dropTargetContext): New member variable.
3774         (dropTargetListener): New member variable.
3775         (DropTarget): Implemented.
3776         (getComponent): Implemented.
3777         (setComponent): Implemented.
3778         (setDefaultActions): Implemented.
3779         (getDefaultActions): Implemented.
3780         (setActive): Use active instead of isActive.
3781         (isActive): Use active instead of isActive.
3782         (addDropTargetListener): Implemented.
3783         (removeDropTargetListener): Implemented.
3784         (getFlavorMap): Implemented.
3785         (setFlavorMap): Implemented.
3786         (getDropTargetContext): Implemented.
3787         (createDropTargetContext): Implemented.
3788         (createDropTargetAutoScroller): Implemented.
3789         * java/awt/dnd/DropTargetContext.java
3790         (TransferableProxy.getTransferDataFlavors): Implemented.
3791         (TransferableProxy.isDataFlavorSupported): Implemented.
3792         (TransferableProxy.getTransferData): Implemented.
3793         (dropTarget):  New member variable.
3794         (dtcp): New member variable.
3795         (DropTargetContext): New package private constructor.
3796         (getDropTarget): Implemented.
3797         (getComponent): Implemented.
3798         (addNotify): Implemented.
3799         (removeNotify): Implemented.
3800         (getCurrentDataFlavorsAsList): Implemented.
3801         (isDataFlavorSupported): Implemented.
3802         * java/awt/dnd/MouseDragGestureRecognizer.java
3803         (registerListeners): Implemented.
3804         (unregisterListeners): Implemented.
3805         * Makefile.am
3806         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3807         * Makefile.in: Regenerated.
3808
3809 2003-03-02  Michael Koch  <konqueror@gmx.de>
3810
3811         * java/awt/Component.java
3812         (eventTypeEnabled): New method.
3813         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3814         * java/awt/Container.java
3815         (changeSupport): New member variable.
3816         (addPropertyChangeListener): New methods.
3817         * java/awt/ContainerOrderFocusTraversalPolicy.java
3818         (ContainerOrderFocusTraversalPolicy): Added comment.
3819         (getComponentAfter): Throw exception, documentation added.
3820         (getComponentBefore): Throw exception, documentation added.
3821         (getFirstComponent): Throw exception, documentation added.
3822         (getLastComponent): Throw exception, documentation added.
3823         (getDefaultComponent): Throw exception, documentation added.
3824         * java/awt/EventQueue.java: Reindented.
3825         * java/awt/FocusTraversalPolicy.java:
3826         (FocusTraversalPolicy): Added comment.
3827         (getComponentAfter): Documentation added.
3828         (getComponentBefore): Documentation added.
3829         (getFirstComponent): Documentation added.
3830         (getLastComponent): Documentation added.
3831         (getDefaultComponent): Documentation added.
3832         (getInitialComponent): Documentation added.
3833         * java/awt/ScrollPane.java
3834         (wheelScrollingEnabled): New member variable.
3835         (ScrollPane): Initialize wheelScollingEnabled.
3836         (eventTypeEnabled): New method.
3837         (isWheelScrollingEnabled): New method.
3838         (setWheelScrollingEnabled): New method.
3839
3840 2003-03-02  Michael Koch  <konqueror@gmx.de>
3841
3842         * java/net/DatagramSocket.java
3843         (closed): New member variable.
3844         (close): Use closed variable.
3845         (getInetAddress): No need to call isConnected().
3846         (getPort): No need to call isConnected().
3847         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3848         (isClosed): Reimplemented.
3849         
3850 2003-03-02  Michael Koch  <konqueror@gmx.de>
3851
3852         * configure.in: Added check for memory mapping of files.
3853         * configure: Regenerated.
3854         * config.h.in: Regenerated.
3855
3856 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3857
3858         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3859         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3860
3861 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3862
3863         * java/io/File.java (normalizePath): Remove trailing separator
3864         on Windows only if path is not of the form "x:\".
3865
3866         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3867         (java::io::File::attr): Change formatting a bit and use
3868         WIN32_EPOCH_MILLIS instead of magic numbers.
3869         (java::io::File::isAbsolute): Path must have at least 3 
3870         characters for a UNC network path.
3871         (java::io::File::init_native): Define.
3872         (java::io::File::performCreate): Likewise.
3873         (java::io::File::performSetReadOnly): Likewise.
3874         (java::io::File::performSetLastModified): Likewise.
3875         (java::io::File::performListRoots): Likewise.
3876
3877 2003-03-01  Tom Tromey  <tromey@redhat.com>
3878
3879         * java/lang/natObject.cc: Don't include assert.h.
3880         (heavy_lock_obj_finalization_proc): Use JvAssert.
3881         (remove_all_heavy): Likewise.
3882         (_Jv_MonitorEnter): Likewise.
3883         (_Jv_MonitorExit): Likewise.
3884         (wait): Likewise.
3885
3886 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3887
3888         * java/io/File (getAbsolutePath): Prefix drive specifier on
3889         Windows for paths starting with a '\'.
3890         (toURL): Make URL more consistent with what Sun's JDK returns.
3891
3892         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3893         true only if the path is a UNC network path or it starts with a
3894         drive specifier.
3895
3896         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3897         Be prepared to handle either '/' or '\\' in the file path for
3898         Windows if using the "file" protocol.
3899         Canonicalise the file path if using a relative path in the given
3900         context and the "file" protocol.
3901
3902 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3903
3904         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3905         program array element passed to CreateProcess.
3906
3907 2003-03-01  Tom Tromey  <tromey@redhat.com>
3908
3909         * java/rmi/registry/RegistryHandler.java: Deprecate.
3910
3911 2003-03-01  Tom Tromey  <tromey@redhat.com>
3912
3913         * javax/accessibility/AccessibleEditableText.java,
3914         javax/accessibility/AccessibleHyperlink.java: New versions from
3915         Classpath.
3916
3917         * gnu/java/locale/LocaleInformation_af_ZA.java,
3918         gnu/java/locale/LocaleInformation_ar_AE.java,
3919         gnu/java/locale/LocaleInformation_ar_BH.java,
3920         gnu/java/locale/LocaleInformation_ar_DZ.java,
3921         gnu/java/locale/LocaleInformation_ar_EG.java,
3922         gnu/java/locale/LocaleInformation_ar_IN.java,
3923         gnu/java/locale/LocaleInformation_ar_IQ.java,
3924         gnu/java/locale/LocaleInformation_ar_JO.java,
3925         gnu/java/locale/LocaleInformation_ar_KW.java,
3926         gnu/java/locale/LocaleInformation_ar_LB.java,
3927         gnu/java/locale/LocaleInformation_ar_LY.java,
3928         gnu/java/locale/LocaleInformation_ar_MA.java,
3929         gnu/java/locale/LocaleInformation_ar_OM.java,
3930         gnu/java/locale/LocaleInformation_ar_QA.java,
3931         gnu/java/locale/LocaleInformation_ar_SD.java,
3932         gnu/java/locale/LocaleInformation_ar_SY.java,
3933         gnu/java/locale/LocaleInformation_ar_TN.java,
3934         gnu/java/locale/LocaleInformation_ar_YE.java,
3935         gnu/java/locale/LocaleInformation_be_BY.java,
3936         gnu/java/locale/LocaleInformation_bn_IN.java,
3937         gnu/java/locale/LocaleInformation_br_FR.java,
3938         gnu/java/locale/LocaleInformation_bs_BA.java,
3939         gnu/java/locale/LocaleInformation_ca_ES.java,
3940         gnu/java/locale/LocaleInformation_cs_CZ.java,
3941         gnu/java/locale/LocaleInformation_cy_GB.java,
3942         gnu/java/locale/LocaleInformation_da_DK.java,
3943         gnu/java/locale/LocaleInformation_de_AT.java,
3944         gnu/java/locale/LocaleInformation_de_BE.java,
3945         gnu/java/locale/LocaleInformation_de_CH.java,
3946         gnu/java/locale/LocaleInformation_de_DE.java,
3947         gnu/java/locale/LocaleInformation_de_LU.java,
3948         gnu/java/locale/LocaleInformation_el_GR.java,
3949         gnu/java/locale/LocaleInformation_en_AU.java,
3950         gnu/java/locale/LocaleInformation_en_BW.java,
3951         gnu/java/locale/LocaleInformation_en_CA.java,
3952         gnu/java/locale/LocaleInformation_en_DK.java,
3953         gnu/java/locale/LocaleInformation_en_GB.java,
3954         gnu/java/locale/LocaleInformation_en_HK.java,
3955         gnu/java/locale/LocaleInformation_en_IE.java,
3956         gnu/java/locale/LocaleInformation_en_IN.java,
3957         gnu/java/locale/LocaleInformation_en_NZ.java,
3958         gnu/java/locale/LocaleInformation_en_PH.java,
3959         gnu/java/locale/LocaleInformation_en_SG.java,
3960         gnu/java/locale/LocaleInformation_en_US.java,
3961         gnu/java/locale/LocaleInformation_en_ZA.java,
3962         gnu/java/locale/LocaleInformation_en_ZW.java,
3963         gnu/java/locale/LocaleInformation_es_AR.java,
3964         gnu/java/locale/LocaleInformation_es_BO.java,
3965         gnu/java/locale/LocaleInformation_es_CL.java,
3966         gnu/java/locale/LocaleInformation_es_CO.java,
3967         gnu/java/locale/LocaleInformation_es_CR.java,
3968         gnu/java/locale/LocaleInformation_es_DO.java,
3969         gnu/java/locale/LocaleInformation_es_EC.java,
3970         gnu/java/locale/LocaleInformation_es_ES.java,
3971         gnu/java/locale/LocaleInformation_es_GT.java,
3972         gnu/java/locale/LocaleInformation_es_HN.java,
3973         gnu/java/locale/LocaleInformation_es_MX.java,
3974         gnu/java/locale/LocaleInformation_es_NI.java,
3975         gnu/java/locale/LocaleInformation_es_PA.java,
3976         gnu/java/locale/LocaleInformation_es_PE.java,
3977         gnu/java/locale/LocaleInformation_es_PR.java,
3978         gnu/java/locale/LocaleInformation_es_PY.java,
3979         gnu/java/locale/LocaleInformation_es_SV.java,
3980         gnu/java/locale/LocaleInformation_es_US.java,
3981         gnu/java/locale/LocaleInformation_es_UY.java,
3982         gnu/java/locale/LocaleInformation_es_VE.java,
3983         gnu/java/locale/LocaleInformation_et_EE.java,
3984         gnu/java/locale/LocaleInformation_eu_ES.java,
3985         gnu/java/locale/LocaleInformation_fa_IR.java,
3986         gnu/java/locale/LocaleInformation_fi_FI.java,
3987         gnu/java/locale/LocaleInformation_fo_FO.java,
3988         gnu/java/locale/LocaleInformation_fr_BE.java,
3989         gnu/java/locale/LocaleInformation_fr_CA.java,
3990         gnu/java/locale/LocaleInformation_fr_CH.java,
3991         gnu/java/locale/LocaleInformation_fr_FR.java,
3992         gnu/java/locale/LocaleInformation_fr_LU.java,
3993         gnu/java/locale/LocaleInformation_ga_IE.java,
3994         gnu/java/locale/LocaleInformation_gd_GB.java,
3995         gnu/java/locale/LocaleInformation_gl_ES.java,
3996         gnu/java/locale/LocaleInformation_gv_GB.java,
3997         gnu/java/locale/LocaleInformation_he_IL.java,
3998         gnu/java/locale/LocaleInformation_hi_IN.java,
3999         gnu/java/locale/LocaleInformation_hr_HR.java,
4000         gnu/java/locale/LocaleInformation_hu_HU.java,
4001         gnu/java/locale/LocaleInformation_id_ID.java,
4002         gnu/java/locale/LocaleInformation_it_CH.java,
4003         gnu/java/locale/LocaleInformation_it_IT.java,
4004         gnu/java/locale/LocaleInformation_iw_IL.java,
4005         gnu/java/locale/LocaleInformation_ja_JP.java,
4006         gnu/java/locale/LocaleInformation_ka_GE.java,
4007         gnu/java/locale/LocaleInformation_kl_GL.java,
4008         gnu/java/locale/LocaleInformation_ko_KR.java,
4009         gnu/java/locale/LocaleInformation_kw_GB.java,
4010         gnu/java/locale/LocaleInformation_lt_LT.java,
4011         gnu/java/locale/LocaleInformation_lv_LV.java,
4012         gnu/java/locale/LocaleInformation_mi_NZ.java,
4013         gnu/java/locale/LocaleInformation_mk_MK.java,
4014         gnu/java/locale/LocaleInformation_mr_IN.java,
4015         gnu/java/locale/LocaleInformation_mt_MT.java,
4016         gnu/java/locale/LocaleInformation_nl_BE.java,
4017         gnu/java/locale/LocaleInformation_nl_NL.java,
4018         gnu/java/locale/LocaleInformation_nn_NO.java,
4019         gnu/java/locale/LocaleInformation_no_NO.java,
4020         gnu/java/locale/LocaleInformation_oc_FR.java,
4021         gnu/java/locale/LocaleInformation_pl_PL.java,
4022         gnu/java/locale/LocaleInformation_pt_BR.java,
4023         gnu/java/locale/LocaleInformation_pt_PT.java,
4024         gnu/java/locale/LocaleInformation_ro_RO.java,
4025         gnu/java/locale/LocaleInformation_ru_RU.java,
4026         gnu/java/locale/LocaleInformation_ru_UA.java,
4027         gnu/java/locale/LocaleInformation_se_NO.java,
4028         gnu/java/locale/LocaleInformation_sk_SK.java,
4029         gnu/java/locale/LocaleInformation_sl_SI.java,
4030         gnu/java/locale/LocaleInformation_sq_AL.java,
4031         gnu/java/locale/LocaleInformation_sr_YU.java,
4032         gnu/java/locale/LocaleInformation_sv_FI.java,
4033         gnu/java/locale/LocaleInformation_sv_SE.java,
4034         gnu/java/locale/LocaleInformation_ta_IN.java,
4035         gnu/java/locale/LocaleInformation_te_IN.java,
4036         gnu/java/locale/LocaleInformation_tg_TJ.java,
4037         gnu/java/locale/LocaleInformation_tl_PH.java,
4038         gnu/java/locale/LocaleInformation_tr_TR.java,
4039         gnu/java/locale/LocaleInformation_uk_UA.java,
4040         gnu/java/locale/LocaleInformation_ur_PK.java,
4041         gnu/java/locale/LocaleInformation_uz_UZ.java,
4042         gnu/java/locale/LocaleInformation_vi_VN.java,
4043         gnu/java/locale/LocaleInformation_yi_US.java,
4044         gnu/java/locale/LocaleInformation_zh_CN.java,
4045         gnu/java/locale/LocaleInformation_zh_HK.java,
4046         gnu/java/locale/LocaleInformation_zh_SG.java,
4047         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4048         info; from Classpath.
4049
4050         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4051         isPaintPending): New methods.
4052         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4053         setMaximizedBounds): New methods.
4054         (beginLayout, endLayout, isPaintPending): Likewise.
4055         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4056         (requestFocus): Likewise.
4057         (isObscured): Likewise.
4058         (canDetermineObscurity): Likewise.
4059         (coalescePaintEvent): Likewise.
4060         (updateCursorImmediately): Likewise.
4061         (createVolatileImage): Likewise.
4062         (handlesWheelScrolling): Likewise.
4063         (createBuffers): Likewise.
4064         (getBackBuffer): Likewise.
4065         (flip): Likewise.
4066         (destroyBuffers): Likewise.
4067
4068         * Makefile.in: Rebuilt.
4069         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4070         RobotPeer.java.
4071         * gnu/java/awt/GLightweightPeer.java,
4072         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4073         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4074         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4075         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4076         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4077         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4078         java/awt/dnd/peer/DragSourceContextPeer.java,
4079         java/awt/dnd/peer/DropTargetContextPeer.java,
4080         java/awt/peer/ButtonPeer.java,
4081         java/awt/peer/CheckboxMenuItemPeer.java,
4082         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4083         java/awt/peer/ComponentPeer.java,
4084         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4085         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4086         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4087         java/awt/peer/MenuBarPeer.java,
4088         java/awt/peer/MenuComponentPeer.java,
4089         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4090         java/awt/peer/PopupMenuPeer.java,
4091         java/awt/peer/ScrollPanePeer.java,
4092         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4093         java/awt/peer/TextComponentPeer.java,
4094         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4095         New versions from Classpath.
4096         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4097         * java/awt/peer/RobotPeer.java: Likewise.
4098
4099 2003-03-01  Mark Wielaard  <mark@klomp.org>
4100
4101         * java/io/ObjectInputStream.java: Reindent.
4102         * java/io/ObjectOutputStream.java: Likewise.
4103
4104 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4105
4106         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4107         jvalue for each argument. Simplify.
4108         * testsuite/libjava.jni/calls.c (docall),
4109         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4110         misalignment.
4111
4112 2003-02-28  Mark Wielaard  <mark@klomp.org>
4113
4114         * Makefile.am (nat_source_files): Remove
4115         java/io/natObjectOutputStream.cc.
4116         * Makefile.in: Regenerated.
4117         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4118         * java/io/ObjectStreamField.java (typename): New field.
4119         (ObjectStreamField(String, Class)): Initialize new field.
4120         (ObjectStreamField(String, String)): New Constructor.
4121         (getTypeCode): Use new field.
4122         (getTypeString): Use new field.
4123         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4124         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4125         Handle reading of Proxy classes. Never drain(), just write
4126         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4127         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4128         (flush): Call flush(), not just drain().
4129         (writeBoolean): Always use blockDataOutput.
4130         (writeByte): Likewise.
4131         (writeShort): Likewise.
4132         (writeChar): Likewise.
4133         (writeInt): Likewise.
4134         (writeLong): Likewise.
4135         (writeFloat): Likewise.
4136         (writeDouble): Likewise.
4137         (writeBytes): Likewise.
4138         (putfield (put(String,Object))): Throw IllegalArgumentException if
4139         field cannot be found.
4140         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4141         (writeArraySizeAndElements): Write byte[] in one go.
4142         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4143         set BlockDataMode to false.
4144         (annotateProxyClass): New method.
4145         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4146         (getField): No longer native.
4147         (getMethod): Likewise.
4148         (setBlockDataMode): Always drain() on switch, return old mode.
4149         (static): New static code block.
4150         * java/io/natObjectOutputStream.cc: Removed.
4151         * java/io/ObjectInputStream.java (getField): No longer native.
4152         (getMethod): Likewise.
4153         (readObject): Remember and reset old BlockDataMode. Track whether
4154         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4155         TC_LONGSTRING.
4156         (defaultReadObject): Set BlockDataMode to false during readFields.
4157         (resolveClass): Create new SecurityManager if necessary.
4158         Use Class.forName() if null ClassLoader found.
4159         (read(byte[],int,int): Copy remaining bytes to data before calling
4160         readNextBlock().
4161         (readFields): Set and reset BlockDataMode on call_read_method.
4162         Catch NoSuchFieldErrors.
4163         (setBlockDataMode): Return old mode.
4164         (static): New static code block.
4165         * java/io/natObjectInputStream.cc (getField): Removed.
4166         (getMethod): Likewise.
4167
4168 2003-02-27  Michael Koch  <konqueror@gmx.de>
4169
4170         * java/beans/Beans.java,
4171         java/beans/FeatureDescriptor.java
4172         java/beans/PropertyEditorManager.java:
4173         Reformated to GNU style.
4174
4175 2003-02-25  Michael Koch  <konqueror@gmx.de>
4176
4177         * gnu/java/nio/MappedByteFileBuffer.java,
4178         gnu/java/nio/natMappedByteFileBuffer.cc:
4179         New files, both are not compiled yet to get not noncompiling CVS.
4180
4181 2003-02-24  Tom Tromey  <tromey@redhat.com>
4182
4183         * java/util/prefs/AbstractPreferences.java (isUserNode):
4184         Implemented.
4185
4186 2003-02-24  Tom Tromey  <tromey@redhat.com>
4187
4188         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4189         Deprecate.
4190         * java/lang/Thread.java (resume): Deprecate.
4191         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4192         in @deprecated.
4193
4194 2003-02-23  Tom Tromey  <tromey@redhat.com>
4195
4196         * Makefile.in: Rebuilt.
4197         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4198
4199 2003-02-23  Tom Tromey  <tromey@redhat.com>
4200
4201         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4202         libraries): Removed.
4203         (add_library): Removed.
4204         (_load): Don't call add_library.
4205         (loadLibraryInternal): Likewise.
4206         (init): Likewise.
4207         (lookup_data): New struct.
4208         (find_symbol): New function.
4209         (_Jv_FindSymbolInExecutable): Use it.
4210
4211 2002-02-21  Anthony Green  <green@redhat.com>
4212
4213         * java/lang/Thread.java (Thread): New constructor taking stack
4214         size parameter (ignored for now).
4215         * Many methods: Merged GNU Classpath documentation.
4216
4217         * java/lang/Class.java (finalize): throws a Throwable.
4218
4219 2003-02-21  Mark Wielaard  <mark@klomp.org>
4220
4221         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4222         argument is null.
4223
4224 2003-02-21  Mark Wielaard  <mark@klomp.org>
4225
4226         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4227         then 65535 chars throw IllegalArgumentException.
4228
4229 2003-02-21  Mark Wielaard  <mark@klomp.org>
4230
4231         * java/util/zip/ZipFile.java (finalize): New method.
4232
4233 2003-02-21  Michael Koch  <konqueror@gmx.de>
4234
4235         * gnu/java/nio/natSocketChannelImpl.cc:
4236         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4237         <cato@df.lth.se> for pointing to it.
4238
4239 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4240
4241         * java/math/BigInteger.java (euclidInv): Take result array as an
4242         argument.  Updated all callers.
4243         (modInverse): Removed unused variables.
4244
4245 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4246
4247         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4248         config.status.
4249         * configure: Rebuilt.
4250
4251 2003-02-19  Michael Koch  <konqueror@gmx.de>
4252
4253         * gnu/java/nio/natSocketChannelImpl.cc:
4254         Added support for platforms without network support.
4255
4256 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4257
4258         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4259         after config.h.  Use <> for consistency.
4260         * java/lang/natObject.cc: Likewise.
4261         * java/lang/natRuntime.cc: Likewise.
4262         * java/lang/natSystem.cc: Likewise.
4263         * java/util/natTimeZone.cc: Likewise.
4264         * win32.cc: Likewise.
4265         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4266         listen, write, read): Undef to avoid interference from OS macros.
4267
4268 2003-02-19  Michael Koch  <konqueror@gmx.de>
4269
4270         * gnu/java/nio/ByteBufferImpl.java
4271         (ByteBufferImpl): Renamed two variables.
4272         * gnu/java/nio/CharBufferImpl.java
4273         (CharBufferImpl): Renamed two variables.
4274         * gnu/java/nio/DoubleBufferImpl.java
4275         (DoubleBufferImpl): Renamed two variables.
4276         * gnu/java/nio/FloatBufferImpl.java
4277         (FloatBufferImpl): Renamed two variables.
4278         * gnu/java/nio/IntBufferImpl.java
4279         (IntBufferImpl): Renamed two variables.
4280         * gnu/java/nio/LongBufferImpl.java
4281         (LongBufferImpl): Renamed two variables.
4282         * gnu/java/nio/ShortBufferImpl.java
4283         (ShortBufferImpl): Renamed two variables.
4284         * java/nio/CharBuffer.java
4285         (wrap): Fixed arguments to CharBufferImpl constructor.
4286         (hasArray): Only not read-only buffers have backing arrays.
4287         (length): Documentation added.
4288         (subSequence): Documentation added.
4289         * java/nio/DoubleBuffer.java
4290         (hasArray): Only not read-only buffers have backing arrays.
4291         * java/nio/FloatBuffer.java
4292         (hasArray): Only not read-only buffers have backing arrays.
4293         * java/nio/IntBuffer.java
4294         (hasArray): Only not read-only buffers have backing arrays.
4295         * java/nio/LongBuffer.java
4296         (hasArray): Only not read-only buffers have backing arrays.
4297         * java/nio/ShortBuffer.java
4298         (hasArray): Only not read-only buffers have backing arrays.
4299         
4300 2003-02-19  Michael Koch  <konqueror@gmx.de>
4301
4302         * javax/accessibility/AccessibleContext.java
4303         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4304
4305 2003-02-19  Michael Koch  <konqueror@gmx.de>
4306
4307         * java/awt/ScrollPaneAdjustable.java: Reformated.
4308
4309 2003-02-19  Michael Koch <konqueror@gmx.de>
4310
4311         * gnu/awt/j2d/Graphics2DImpl.java
4312         (getFontRenderContext): New method.
4313         (drawGlyphVector): New method.
4314         * java/awt/Graphics2D.java
4315         (getFontRenderContext): New abstract method.
4316         (drawGlyphVector): New abstract method.
4317         
4318 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4319
4320         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4321         if necessary.
4322         
4323         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4324         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4325         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4326         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4328         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4329         (setFont, gtkSetFont): add.
4330         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4331         Propagate font to peer.  (setFont): add FIXME comment.
4332
4333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4334         (gtkTextGetSize): fix height, width computation.
4335
4336         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4337         Make X font name a bit less bogus.
4338
4339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4340         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4341
4342         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4343         (processAdjustmentEvent): Adjust value.
4344
4345         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4346         logic errors.
4347
4348         * java/awt/Component.java (setVisible, show, hide): Call show and
4349         hide methods in subclasses.
4350         (getPreferredSize): don't set prefSize before we have peer.
4351
4352         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4353         Guess (0,0) if we don't have peer.
4354
4355
4356 2003-02-18  Michael Koch  <konqueror@gmx.de>
4357
4358         * java/nio/channels/FileChannel.java
4359         (toString): New implementation, added documentation.
4360         (map): Added exception documentation.
4361         (size): Added exception documentation.
4362         (write): New methods, documentation work.
4363         (read): New methods, documentation work.
4364         (implCloseChannel): Rewrote exception documentation.
4365         (force): Throws IOException, added documentation.
4366         (lock): New methods.
4367         (tryLock): New methods.
4368         (position): New methods.
4369         (transferTo): New method.
4370         (transferFrom): New method.
4371         (truncate): New method.
4372         * java/nio/channels/spi/SelectorProvider.java
4373         (provider): Implemented.
4374         * Makefile.am
4375         (ordinary_java_source_files): Added the following files:
4376         gnu/java/nio/DatagramChannelImpl.java
4377         gnu/java/nio/FileChannelImpl.java
4378         gnu/java/nio/PipeImpl.java
4379         gnu/java/nio/SelectionKeyImpl.java
4380         gnu/java/nio/SelectorImpl.java
4381         gnu/java/nio/SelectorProviderImpl.java
4382         gnu/java/nio/ServerSocketChannelImpl.java
4383         gnu/java/nio/SocketChannelImpl.java
4384         java/nio/channels/FileLock.java
4385         (nat_java_source_files): Added the following files:
4386         gnu/java/nio/natFileChannelImpl.cc
4387         gnu/java/nio/natSelectorImpl.cc
4388         gnu/java/nio/natSocketChannelImpl.cc
4389         * Makefile.in: Regenerated.
4390
4391 2003-02-17  Tom Tromey  <tromey@redhat.com>
4392
4393         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4394         * java/awt/image/ImageFilter.java: Likewise.
4395
4396 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4397
4398         * java/math/BigInteger.java (euclidInv): Return array of
4399         `BigInteger's.  Changed all callers.
4400
4401 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4402
4403         * java/util/Properties.java (store): Move the code formerly in
4404         list(), into this method.
4405         (list (PrintStream)): Just call list (PrintWriter) with a 
4406         PrintWriter object constructed from the given PrintStream object.
4407         (list (PrintWriter)): Emulate the output of Properties.list()
4408         as found in JDK 1.3/1.4.
4409
4410 2003-02-17  Michael Koch  <konqueror@gmx.de>
4411
4412         * java/net/DatagramSocket.java
4413         (connect): Merged with classpath.
4414         (disconnect): Merged documentation with classpath.
4415         (receice): Merged documentation with classpath.
4416         (send): Merged documentation with classpath.
4417         
4418 2003-02-17  Michael Koch  <konqueror@gmx.de>
4419
4420         * java/awt/dnd/DragSourceContext.java
4421         (addDragSourceListener): Added documentation.
4422         * java/awt/dnd/DragSourceDragEvent.java
4423         (serialVersionUID): New member variable.
4424         (getDropAction): Reformated.
4425         * java/awt/dnd/DragSourceDropEvent.java
4426         (serialVersionUID): New member variable.
4427         (dropSuccess): Renamed from success for serialization issues.
4428         * java/awt/dnd/DragSourceEvent.java
4429         (serialVersionUID): New member variable.
4430         * java/awt/dnd/DropTarget.java
4431         (serialVersionUID): New member variable.
4432         (DropTarget): Implemented, documentation reworked.
4433         (setComponent): Documentation added.
4434         (getComponent): Documentation added.
4435         (setDefaultActions): Documentation added.
4436         (getDefaultActions): Documentation added.
4437         (addDropTargetListener): Documentation added.
4438         * java/awt/dnd/DropTargetContext.java
4439         (DropTargetContext): Documentation added.
4440         (TransferableProxy.TransferableProxy): New method.
4441         (dropComplete): Fixed documentation.
4442         (getTransferable): Fixed documentation.
4443         (createTransferableProxy): Implemented.
4444         * java/awt/dnd/DropTargetDragEvent.java
4445         (DropTargetDragEvent): Documentation added.
4446         (serialVersionUID): New member variable.
4447         (DropTargetDragEvent): Throw exceptions, documentation added.
4448         (acceptDrag): Implemented.
4449         (getCurrentDataFlavors): Implemented.3yy
4450         (getCurrentDataFlavorsAsList): Implemented.
4451         (isDataFlavorSupported): Implemented.
4452         (rejectDrag): Implemented.
4453         * java/awt/dnd/DropTargetDropEvent.java
4454         (DropTargetDropEvent): Documentation added.
4455         (serialVersionUID): New member variable.
4456         (actions): Renamed from srcActions for serialization issues.
4457         (isLocalTx): Renamed from isLocalTx for serialization issues.
4458         (DropTargetDropEvent): New implementation, throw exceptions,
4459         documentation added.
4460         (getCurrentDataFlavors): Implemented.
4461         (getCurrentDataFlavorsAsList): Implemented.
4462         (isDataFlavorSupported): Implemented.
4463         (getSourceActions): Implemented.
4464         (getDropAction): Implemented.
4465         (getTransferable): Implemented.
4466         (acceptDrop): Implemented.
4467         (rejectDrop): Implemented.
4468         * java/awt/dnd/DropTargetListener.java
4469         (drop): Fixed documentation.
4470         * java/awt/dnd/MouseDragGestureRecognizer.java
4471         (MouseDragGestureRecognizer): Documentation added.
4472
4473 2003-02-17  Michael Koch  <konqueror@gmx.de>
4474
4475         * java/awt/font/FontRenderContext.java,
4476         java/awt/font/ShapeGraphicAttribute.java,
4477         java/awt/font/MultipleMaster.java,
4478         java/awt/font/TransformAttribute.java,
4479         java/awt/font/GlyphJustificationInfo.java,
4480         java/awt/font/LineBreakMeasurer.java,
4481         java/awt/font/TextMeasurer.java,
4482         java/awt/font/TextLayout.java,
4483         java/awt/font/LineMetrics.java,
4484         java/awt/font/TextAttribute.java,
4485         java/awt/font/GlyphMetrics.java,
4486         java/awt/font/OpenType.java,
4487         java/awt/font/GlyphVector.java,
4488         java/awt/font/GraphicAttribute.java,
4489         java/awt/font/ImageGraphicAttribute.java,
4490         java/awt/font/NumericShaper.java: New files.
4491         * Makefile.am
4492         (awt_java_source_files): Added the following files:
4493         java/awt/font/FontRenderContext.java
4494         java/awt/font/ShapeGraphicAttribute.java
4495         java/awt/font/MultipleMaster.java
4496         java/awt/font/TransformAttribute.java
4497         java/awt/font/GlyphJustificationInfo.java
4498         java/awt/font/LineBreakMeasurer.java
4499         java/awt/font/TextMeasurer.java
4500         java/awt/font/TextLayout.java
4501         java/awt/font/LineMetrics.java
4502         java/awt/font/TextAttribute.java
4503         java/awt/font/GlyphMetrics.java
4504         java/awt/font/OpenType.java
4505         java/awt/font/GlyphVector.java
4506         java/awt/font/GraphicAttribute.java
4507         java/awt/font/ImageGraphicAttribute.java
4508         java/awt/font/NumericShaper.java
4509         * Makefile.in: Regenerated.
4510
4511 2003-02-17  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/awt/print/Paper.java
4514         (Paper): Implements Cloneable.
4515         * java/awt/print/PrinterJob.java
4516         (setJobName): Return value must be void.
4517         (print): Throws PrinterException.
4518         
4519 2003-02-16  Tom Tromey  <tromey@redhat.com>
4520
4521         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4522         variable.
4523
4524 2003-02-15  Michael Koch  <konqueror@gmx.de>
4525
4526         * java/awt/datatransfer/DataFlavor.java
4527         (isRepresentationClassByteBuffer): Removed try-catch block.
4528         (isRepresentationClassCharBuffer): Removed try-catch block.
4529         (isRepresentationClassReader): Removed try-catch block.
4530
4531 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4532
4533         * java/nio/charset/Charset.java
4534         (isRegistered): Fixed method args and implementation.
4535         * java/nio/charset/CharsetEncoder.java
4536         (unmappableCharacterAction): New method.
4537
4538 2003-02-15  Michael Koch  <konqueror@gmx.de>
4539
4540         * java/awt/CheckboxMenuItem.java
4541         (CheckBoxMenuItem): Dont implement Serializable.
4542         (getListeners): New method,
4543         (getItemListeners): New method.
4544         * java/awt/Choice.java
4545         (getListeners): New method,
4546         (getItemListeners): New method.
4547         * java/awt/Container.java
4548         (getListeners): Added exception documentation.
4549         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4550         (getFocusTraversalKeys): Added documentation.
4551         (areFocusTraversalKeysSet): Added documentation.
4552         (applyComponentOrientation): Added documentation.
4553         * java/awt/ContainerOrderFocusTraversalPolicy.java
4554         (implicitDownCycleTraversal): Renamed from downCycle for
4555         serialization.
4556         (ContainerOrderFocusTraversalPolicy): Added documentation.
4557         (accept): Reformated.
4558         * java/awt/Dialog.java
4559         (Dialog): Dont implement Serializable.
4560         (Dialog): Added documentation.
4561         * java/awt/Font.java
4562         (Font): Dont use absolute class name.
4563         * java/awt/Frame.java
4564         (Frame): Font implement Serializable.
4565         * java/awt/List.java
4566         (getListeners): New method,
4567         (getActionListeners): New method.       
4568         (getItemListeners): New method.
4569         * java/awt/Menu.java
4570         (countItems): New deprecated method.
4571         * java/awt/Scrollbar.java
4572         (getListeners): New method,
4573         (getAdjustmentListeners): New method,
4574         * java/awt/TextComponent.java
4575         (getListeners): New method,
4576         (getTextListeners): New method,
4577         * java/awt/TextField.java
4578         (getListeners): New method,
4579         (getActionListeners): New method.       
4580         * java/awt/Window.java
4581         (windowFocusListener): New member variable.
4582         (windowStateListener): New member variable.
4583         (getWindowFocusListeners): New method.
4584         (getWindowStateListeners): New method.
4585         (addWindowFocusListener): New method.
4586         (addWindowStateListener): New method.
4587         (removeWindowFocusListener): New method.
4588         (removeWindowStateListener): New method.
4589         * java/awt/datatransfer/DataFlavor.java
4590         (isRepresentationClassByteBuffer): New method.
4591         (isRepresentationClassCharBuffer): New method.
4592         (isRepresentationClassReader): New method.
4593
4594 2003-02-14  Mark Wielaard  <mark@klomp.org>
4595
4596         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4597         zero when there is an exponent and the significant is zero.
4598         (divide): Always set scale to newScale even in special ZERO case.
4599
4600 2003-02-14  Tom Tromey  <tromey@redhat.com>
4601
4602         * java/lang/System.java (properties): Use Properties.clone.
4603         (setProperties): Likewise.
4604
4605 2003-02-14  Michael Koch  <konqueror@gmx.de>
4606
4607         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4608         * gnu/java/nio/ServerSocketChannelImpl.java
4609         (SocketAccept): Removed.
4610         (accept): Commented out use of SocketAccept.
4611
4612 2003-02-13  Tom Tromey  <tromey@redhat.com>
4613
4614         * verify.cc (state::seen_subrs): New field.
4615         (state::state): Initialize it.
4616         (state::clean_subrs): New method.
4617         (state::~state): Call it.
4618         (state::copy): Copy subroutine list.
4619         (state::add_subr): New method.
4620         (state::merge): Only register a change if the current subroutine
4621         hasn't yet been noted.
4622
4623 2003-02-13  Mark Wielaard  <mark@klomp.org>
4624
4625         * java/io/InputStreamReader.java (getEncoding): Return null when
4626         closed.
4627         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4628
4629 2003-02-13  Mark Wielaard  <mark@klomp.org>
4630  
4631         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4632         is zero.
4633
4634 2003-02-13  Mark Wielaard  <mark@klomp.org>
4635
4636         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4637         next byte cannot be buffered.
4638
4639 2003-02-13  Michael Koch  <konqueror@gmx.de>
4640  
4641         * java/awt/Label.java
4642         (Label): Don't implement Serializable directly.
4643         (addNotify): Fixed typo in documentation.
4644         * java/awt/List.java
4645         (List): Don't implement Serializable directly.
4646         * java/awt/PopupMenu.java
4647         (PopupMenu): Don't implement Serializable directly.
4648         * java/awt/ScrollPane.java
4649         (ScrollPane): Don't implement Serializable directly.
4650         * java/awt/Scrollbar.java
4651         (Scrollbar): Don't implement Serializable directly.
4652         * java/awt/TextArea.java
4653         (preferredSize): Fixed method arguments.
4654         * java/awt/TextField.java
4655         (TextField): Don't implement Serializable directly.
4656         * java/awt/color/ICC_ColorSpace.java
4657         (fromCIOXYZ): Documentation added.
4658         (getMinValue): Documentation added.
4659         (getMaxValue): Documentation added.
4660         * java/awt/datatransfer/DataFlavor.java
4661         (isMimeTypeEqual): May not be final.
4662         (clone): Throws CloneNotSupportedException.
4663         (getReaderForText): Don't throws UnsupportedEncodingException.
4664
4665 2003-02-13  Michael Koch  <konqueror@gmx.de>
4666  
4667         * gnu/java/awt/peer/gtk/GdkGraphics.java
4668         (drawString): New stubbed method.
4669         * java/awt/Graphics.java
4670         (drawString): New method.
4671
4672 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4673
4674         PR libgcj/9271:
4675         * java/security/SecureRandom.java (next): Avoid bias in results.
4676
4677 2003-02-13  Michael  <konqueror@gmx.de>
4678
4679         * gnu/java/nio/FileChannelImpl.java
4680         (lengthInternal): Must be native.
4681         (size): Check if channel is already closed.
4682         (implCloseChannel): Reformated.
4683         (read): w was unused, removed it.
4684         (read): Removed.
4685         (read): New method.
4686         (write): New method.
4687         (map): Check arguments.
4688         (force): Throws IOException, check if channel is closed.
4689         (transferTo): New method.
4690         (transferFrom): New method.
4691         (lock): New method.
4692         (tryLock): New method.
4693         (position): New method.
4694         (truncate): New method.
4695         (nio_mmap_file): Uncommented.
4696         (nio_munmap_file): Uncommented.
4697         (nio_msync): Uncommented.
4698         * gnu/java/nio/natFileChannelImpl.cc: New file.
4699         
4700 2003-02-13  Michael Koch  <konqueror@gmx.de>
4701
4702         * java/nio/ByteBuffer.java
4703         (endian): New member variable.
4704         (get): New methods.
4705         (equals): New method.
4706         (compareTo): New method.
4707         (order): New methods.
4708         (compact): New method.
4709         (isDirect): New method.
4710         (slice): New method.
4711         (duplicate): New method.
4712         (asReadOnlyBuffer): New method.
4713         (asCharBuffer): New method.
4714         (asDoubleBuffer): New method.
4715         (asFloatBuffer): New method.
4716         (asIntBuffer): New method.
4717         (asLongBuffer): New method.
4718         (asShortBuffer): New method.
4719         (get*): New methods.
4720         (put*): New methods.
4721         (toString): New method.
4722         * java/nio/CharBuffer.java
4723         (CharBuffer): Implement Comparable instead of Cloneable.
4724         (get): May not be final.
4725         (put): May not be final.
4726         
4727 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4728
4729         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4730         lastIndexOf( ) instead of indexOf( ) to find the colon before
4731         the line number, because Win32 file names might contain a 
4732         drive letter and a colon at the start of an absolute path.
4733
4734 2003-02-13  Michael Koch  <konqueror@gmx.de>
4735
4736         * gnu/java/nio/natSocketChannelImpl.cc
4737         (SocketConnect): This is not implemented yet.
4738         (SocketBind): This is not implemented yet.
4739
4740 2003-02-13  Michael Koch  <konqueror@gmx.de>
4741
4742         * gnu/java/nio/natByteBufferImpl.cc,
4743         gnu/java/nio/natCharBufferImpl.cc,
4744         gnu/java/nio/natDoubleBufferImpl.cc,
4745         gnu/java/nio/natFloatBufferImpl.cc,
4746         gnu/java/nio/natIntBufferImpl.cc,
4747         gnu/java/nio/natLongBufferImpl.cc,
4748         gnu/java/nio/natShortBufferImpl.cc:
4749         Added copyright and license.
4750         * java/nio/DoubleBuffer.java,
4751         java/nio/FloatBuffer.java,
4752         java/nio/IntBuffer.java,
4753         java/nio/LongBuffer.java,
4754         java/nio/ShortBuffer.java
4755         (array): Throw exceptions.
4756         (arrayOffset): Throw exceptions.
4757
4758 2003-02-13  Michael Koch  <konqueror@gmx.de>
4759  
4760         * gnu/java/util/prefs/FileBasedFactory.java,
4761         gnu/java/util/prefs/MemmoryBasedFactory.java,
4762         gnu/java/util/prefs/MemoryBasedPreferences.java,
4763         gnu/java/util/prefs/NodeReader.java,
4764         gnu/java/util/prefs/NodeWriter.java,
4765         java/util/prefs/AbstractPreferences.java,
4766         java/util/prefs/BackingStoreException.java,
4767         java/util/prefs/InvalidPreferencesFormatException.java,
4768         java/util/prefs/NodeChangeEvent.java,
4769         java/util/prefs/NodeChangeListener.java,
4770         java/util/prefs/PreferenceChangeEvent.java,
4771         java/util/prefs/PreferenceChangeListener.java,
4772         java/util/prefs/Preferences.java,
4773         java/util/prefs/PreferencesFactory.java:
4774         New files, all merged from classpath.
4775         * Makefile.am
4776         (ordinary_java_source_files): Added the following files:
4777         gnu/java/util/prefs/FileBasedFactory.java,
4778         gnu/java/util/prefs/MemmoryBasedFactory.java,
4779         gnu/java/util/prefs/MemoryBasedPreferences.java,
4780         gnu/java/util/prefs/NodeReader.java,
4781         gnu/java/util/prefs/NodeWriter.java,
4782         (core_java_source_files): Added the following files:
4783         java/util/prefs/AbstractPreferences.java,
4784         java/util/prefs/BackingStoreException.java,
4785         java/util/prefs/InvalidPreferencesFormatException.java,
4786         java/util/prefs/NodeChangeEvent.java,
4787         java/util/prefs/NodeChangeListener.java,
4788         java/util/prefs/PreferenceChangeEvent.java,
4789         java/util/prefs/PreferenceChangeListener.java,
4790         java/util/prefs/Preferences.java,
4791         java/util/prefs/PreferencesFactory.java
4792         * Makefile.in: Regenerated.
4793  
4794 2003-02-13  Michael Koch  <konqueror@gmx.de>
4795
4796         * java/net/NetPermission.java
4797         (NetPermission): Make doucmentation match the method declaration.
4798         * java/net/NetworkInterface.java
4799         (equals): Reformated for GNU coding style.
4800         * java/net/ServerSocket.java: Merged with classpath.
4801         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4802         * java/net/SocketImpl.java
4803         (localPort): Merged with classpath (initialize with -1).
4804         * java/net/SocketPermission.java: Merged with classpath (reindented).
4805         * java/net/URLDecoder.java: Merged with classpath (reindented).
4806
4807 2003-02-13  Michael Koch  <konqueror@gmx.de>
4808
4809         * java/awt/GridBagConstraints.java
4810         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4811         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4812         * java/awt/KeyboardFocusManager.java
4813         (setGlobalCurrentFocusCycleRoot): Must be public.
4814         * java/awt/MenuComponent.java
4815         (MenuComponent): Must be public.
4816         * java/awt/Toolkit.java:
4817         Added some empty lines to make documentation more readable.
4818         (getFontPeer): Added @deprecated.
4819         (getColorModel): Added exception documentation.
4820         (getProperty): Fixed documentation.
4821  
4822 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4823
4824         * configure.host (alpha*-*): Default to -mieee.
4825         * configure.in (IEEESPEC): New.
4826         * libgcj.spec.in (jc1): Add IEEESPEC.
4827         * configure: Rebuild.
4828
4829 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4830
4831         * include/win32.h: Include ws2tcpip.h instead of
4832         winsock.h to obtain definition of the socklen_t type.
4833         Remove IP_TOS definition - not needed with ws2tcpip.h
4834         (_Jv_connect): Correct slight formatting error.
4835
4836 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4837
4838         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4839         size of the arguments for a JNI function. For Win32,
4840         modify to search for all forms of possible exported
4841         names of an stdcall JNI function.
4842         (_Jv_JNIMethod::call): Modify to calculate the size
4843         of the arguments passed to a JNI function and pass
4844         it to _Jv_LookupJNIMethod.
4845
4846 2003-02-12  Michael Koch  <konqueror@gmx.de>
4847
4848         * java/nio/channels/Channels.java: New file.
4849         * Makefile.am
4850         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4851         * Makefile.in: Regenerated.
4852
4853 2003-02-12  Michael Koch  <konqueror@gmx.de>
4854
4855         * java/nio/ByteBuffer.java
4856         (allocate): Implemented.
4857         (wrap): Implemented.
4858         * java/nio/CharBuffer.java:
4859         Some documentation added and reworked.
4860         (endian): Removed.
4861         (allocate): Implemented.
4862         (wrap): Implemented.
4863         (array): Throw exceptions.
4864         (arrayOffset): Throw exceptions.
4865         (toString): Implemented.
4866         (length): Implemented.
4867         (put): Implemented.
4868         (charAt): Implemented.
4869
4870 2003-02-11  John Leuner  <jewel@debian.org>
4871
4872         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4873         reads from end of file.
4874
4875 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4876
4877         * java/io/natFileDescriptorWin32.cc 
4878         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4879         returns with Win32 error code ERROR_BROKEN_PIPE.
4880
4881 2003-02-11  Michael Koch  <konqueror@gmx.de>
4882
4883         * Makefile.in
4884         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4885
4886 2003-02-11  Michael Koch  <konqueror@gmx.de>
4887
4888         * gnu/java/nio/ByteBufferImpl.java:
4889         Reformated and removed some code.
4890         (backing_buffer): Removed.      
4891         (array_offset): Removed.
4892         (ro): Renamed to readOnly.
4893         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4894         * gnu/java/nio/CharBufferImpl.java:
4895         Reformated and removed some code.
4896         (array_offset): Removed.
4897         (ro): Renamed to readOnly.
4898         (CharBufferImpl): Use parent constructor, initialize readOnly.
4899         (inc_pos): Removed.
4900         (order): New method.
4901         * gnu/java/nio/DoubleBufferImpl.java:
4902         Reformated and removed some code.
4903         (array_offset): Removed.
4904         (ro): Renamed to readOnly.
4905         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4906         (inc_pos): Removed.
4907         (order): New method.
4908         * gnu/java/nio/FloatBufferImpl.java:
4909         Reformated and removed some code.
4910         (array_offset): Removed.
4911         (ro): Renamed to readOnly.
4912         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4913         (inc_pos): Removed.
4914         (order): New method.
4915         * gnu/java/nio/IntBufferImpl.java:
4916         Reformated and removed some code.
4917         (array_offset): Removed.
4918         (ro): Renamed to readOnly.
4919         (IntBufferImpl): Use parent constructor, initialize readOnly.
4920         (inc_pos): Removed.
4921         (order): New method.
4922         * gnu/java/nio/LongBufferImpl.java:
4923         Reformated and removed some code.
4924         (array_offset): Removed.
4925         (ro): Renamed to readOnly.
4926         (LongBufferImpl): Use parent constructor, initialize readOnly.
4927         (inc_pos): Removed.
4928         (order): New method.
4929         * gnu/java/nio/ShortBufferImpl.java:
4930         Reformated and removed some code.
4931         (array_offset): Removed.
4932         (ro): Renamed to readOnly.
4933         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4934         (inc_pos): Removed.
4935         (order): New method.
4936         * Makefile.am
4937         (ordinary_java_source_files): Added the following files:
4938         gnu/java/nio/ByteBufferImpl.java
4939         gnu/java/nio/CharBufferImpl.java
4940         gnu/java/nio/DoubleBufferImpl.java
4941         gnu/java/nio/FloatBufferImpl.java
4942         gnu/java/nio/IntBufferImpl.java
4943         gnu/java/nio/LongBufferImpl.java
4944         gnu/java/nio/ShortBufferImpl.java
4945         java/nio/DoubleBuffer.java
4946         java/nio/FloatBuffer.java
4947         java/nio/IntBuffer.java
4948         java/nio/LongBuffer.java
4949         java/nio/ShortBuffer.java
4950         (nat_source_files): Added the following files:
4951         gnu/java/nio/natByteBufferImpl.cc
4952         gnu/java/nio/natCharBufferImpl.cc
4953         gnu/java/nio/natDoubleBufferImpl.cc
4954         gnu/java/nio/natFloatBufferImpl.cc
4955         gnu/java/nio/natIntBufferImpl.cc
4956         gnu/java/nio/natLongBufferImpl.cc
4957         gnu/java/nio/natShortBufferImpl.cc
4958         * Makefile.in: Regenerated.
4959
4960 2003-02-11  Michael Koch  <konqueror@gmx.de>
4961
4962         * gnu/java/nio/natCharBufferImpl.cc
4963         (nio_cast): Removed.
4964         (nio_put_*): Removed.
4965         (nio_get_*): Removed.
4966         * gnu/java/nio/natDoubleBufferImpl.cc
4967         (nio_cast): Removed.
4968         (nio_put_*): Removed.
4969         (nio_get_*): Removed.
4970         * gnu/java/nio/natFloatBufferImpl.cc
4971         (nio_cast): Removed.
4972         (nio_put_*): Removed.
4973         (nio_get_*): Removed.
4974         * gnu/java/nio/natIntBufferImpl.cc
4975         (nio_cast): Removed.
4976         (nio_put_*): Removed.
4977         (nio_get_*): Removed.
4978         * gnu/java/nio/natLongBufferImpl.cc
4979         (nio_cast): Removed.
4980         (nio_put_*): Removed.
4981         (nio_get_*): Removed.
4982         * gnu/java/nio/natShortBufferImpl.cc
4983         (nio_cast): Removed.
4984         (nio_put_*): Removed.
4985         (nio_get_*): Removed.
4986         * gnu/java/nio/SelectorProviderImpl.java
4987         (openDatagramChannel): Throws IOException.
4988         (openPipe): Throws IOException.
4989         (openSelector): Throws IOException.
4990         (openServerSocketChannel): Throws IOException.
4991         (openSocketChannel): Throws IOException.
4992         * gnu/java/nio/ServerSocketChannelImpl.java
4993         (ServerSocketChannelImpl): Throws IOException.
4994         (implCloseSelectableChannel): Throws IOException.
4995         (implConfigureBlocking): Throws IOException.
4996         * java/nio/ByteBuffer.java
4997         (readOnly): Removed.
4998         (hasArray): Use isReadOnly() instead of readOnly.
4999         (array): Use isReadOnly() instead of readOnly.
5000         (arrayOffset): Use isReadOnly() instead of readOnly.
5001         * java/nio/CharBuffer.java
5002         (CharBuffer): Implements Cloneable and CharSequence.
5003
5004 2003-02-11  Michael Koch  <konqueror@gmx.de>
5005
5006         * java/nio/DoubleBuffer.java
5007         (DoubleBuffer): Implements Comparable.
5008         (endian): Removed.
5009         (array_offset): New member variable.
5010         (DoubleBuffer): New constuctor.
5011         (get): May not be final.
5012         (put): May not be final.
5013         (arrayOffset): Implemented.
5014         (order): Made abstract.
5015         (order): Removed.
5016         (as*Buffer): Removed.
5017         (get*): Removed.
5018         (put*): Removed.
5019         * java/nio/FloatBuffer.java
5020         (FloatBuffer): Implements Comparable.
5021         (endian): Removed.
5022         (array_offset): New member variable.
5023         (FloatBuffer): New constuctor.
5024         (get): May not be final.
5025         (put): May not be final.
5026         (arrayOffset): Implemented.
5027         (order): Made abstract.
5028         (order): Removed.
5029         (as*Buffer): Removed.
5030         (get*): Removed.
5031         (put*): Removed.
5032         * java/nio/IntBuffer.java
5033         (IntBuffer): Implements Comparable.
5034         (endian): Removed.
5035         (array_offset): New member variable.
5036         (IntBuffer): New constuctor.
5037         (get): May not be final.
5038         (put): May not be final.
5039         (arrayOffset): Implemented.
5040         (order): Made abstract.
5041         (order): Removed.
5042         (as*Buffer): Removed.
5043         (get*): Removed.
5044         (put*): Removed.
5045         * java/nio/LongBuffer.java
5046         (LongBuffer): Implements Comparable.
5047         (endian): Removed.
5048         (array_offset): New member variable.
5049         (LongBuffer): New constuctor.
5050         (get): May not be final.
5051         (put): May not be final.
5052         (arrayOffset): Implemented.
5053         (order): Made abstract.
5054         (order): Removed.
5055         (as*Buffer): Removed.
5056         (get*): Removed.
5057         (put*): Removed.
5058         * java/nio/ShortBuffer.java
5059         (ShortBuffer): Implements Comparable.
5060         (endian): Removed.
5061         (array_offset): New member variable.
5062         (ShortBuffer): New constuctor.
5063         (get): May not be final.
5064         (put): May not be final.
5065         (arrayOffset): Implemented.
5066         (order): Made abstract.
5067         (order): Removed.
5068         (as*Buffer): Removed.
5069         (get*): Removed.
5070         (put*): Removed.
5071
5072 2003-02-11   Michael Koch  <konqueror@gmx.de>
5073
5074         * java/nio/channels/SelectionKey.java
5075         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5076         values.
5077
5078 2003-02-11  Michael Koch  <konqueror@gmx.de>
5079
5080         * java/nio/channels/DatagramChannel.java
5081         (write): Throws IOException.
5082         (connect): Throws IOException.
5083         (disconnect): Throws IOException.
5084         (read): Throws IOException.
5085         (receive): Throws IOException.
5086         (send): Throws IOException.
5087         * java/nio/channels/Pipe.java
5088         (open): Throws IOException.
5089         * java/nio/channels/SelectableChannel.java
5090         (configureBlocking): Throws IOException.
5091         * java/nio/channels/ServerSocketChannel.java
5092         (accept): Throws IOException.
5093         * java/nio/channels/SocketChannel.java
5094         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5095         GatheringByteChannel.
5096         (read): Throws IOException.
5097         (write): Throws IOException.
5098         (finishConnect): Throws IOException.
5099         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5100         (end): Throws AsynchronousCloseException.
5101         * java/nio/channels/spi/AbstractSelectableChannel.java
5102         (configureBlocking): Throws IOException.
5103         (implCloseChannel): Throws IOException.
5104         (implCloseSelectableChannel): Throws IOException.
5105         (implConfigureBlocking): Throws IOException.
5106         * java/nio/channels/spi/SelectorProvider.java
5107         (openDatagramChannel): Throws IOException.
5108         (openPipe): Throws IOException.
5109         (openSelector): Throws IOException.
5110         (openServerSocketChannel): Throws IOException.
5111         (openSocketChannel): Throws IOException.
5112
5113 2003-02-11  Michael Koch  <konqueror@gmx.de>
5114
5115         * gnu/java/nio/FileLockImpl.java,
5116         java/nio/channels/FileLock.java: New files.
5117
5118 2003-02-11  Michael Koch  <konqueror@gmx.de>
5119
5120         * java/nio/charset/IllegalCharsetNameException.java
5121         (serialVersionUID): New member variable.
5122         (charsetName): New member variable.
5123         (IllegalCharsetException): New implementation.
5124         (getCharsetName): New implementation.
5125         * java/nio/charset/UnsupportedCharsetException.java
5126         (serialVersionUID): New member variable.
5127         (charsetName): New member variable.
5128         (UnsupportedCharsetException): New implementation.
5129         (getCharsetName): New implementation.
5130
5131 2003-02-10  Tom Tromey  <tromey@redhat.com>
5132
5133         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5134         (ex): Renamed from sqlException.
5135
5136 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5137
5138         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5139         method used to ensure seeding has occurred and that a specific 
5140         seed can be set and used.
5141
5142 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5143
5144         * java/lang/Win32Process.java (destroy): Declare as native.
5145         (hasExited): New native method.
5146         (exitValue): Define.
5147         (getErrorStream): Likewise.
5148         (getInputStream): Likewise.
5149         (getOutputStream): Likewise.
5150         (waitFor): Declare as native.
5151         (startProcess): New native method.
5152         (cleanup): Likewise.
5153         (ConcreteProcess): Define.
5154         (outputStream, inputStream, errorStream): New members.
5155         (procHandle, exitCode): Likewise.
5156
5157         * java/lang/natWin32Process.cc
5158         (java::lang::ConcreteProcess::cleanup): Define.
5159         (java::lang::ConcreteProcess::destroy): Likewise.
5160         (java::lang::ConcreteProcess::hasExited): Likewise.
5161         (java::lang::ConcreteProcess::waitFor): Likewise.
5162         (new_string): Likewise.
5163         (java::lang::ConcreteProcess::startProcess): Likewise.
5164
5165 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5166
5167         * java/math/BigInteger.java:
5168         Updated notice to include years 2002 and 3.
5169         Added 2 private (int) arrays with values from the HAC (Handbook of
5170         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5171         and t[] that contains nbr. of tests --used in isProbablePrime().
5172
5173         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5174
5175         * java/math/BigInteger.java (make(int[],int), add(int,int),
5176         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5177         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5178         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5179         make(long).
5180
5181         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5182         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5183         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5184         BIs and returns void.
5185         (modInverse(BI)): Use new signatures of euclidInv().
5186
5187         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5188         static small primes instead of remainder().
5189         Use pre-computed max nbr of trials based on bitlength of BI to test.
5190         Use pre-computed small primes for the trial tests instead of random
5191         numbers.
5192
5193         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5194         not used.
5195
5196         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5197         invoacation of MPN.chars_per_word().  not used.
5198
5199         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5200         local var and used where needed.
5201
5202         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5203         Combined declaration with initialisation of locals.
5204         Removed unused var.
5205
5206         * java/math/BigInteger.java: Style changes
5207         (pow(int)): Removed 'else' keyword.
5208         (toString(int)): idem.
5209         (doubleValue()): idem.
5210         (bitLength()): idem.
5211         (equals(Object)): Use static methods name in same class w/o prepending
5212         class name.
5213         (doubleValue()): idem.
5214         (setNegative(BI)): idem.
5215         (negate()): idem.
5216         (and(BI,int)): idem.
5217         (and(BI)): idem.
5218         (gcd(BI)): idem.
5219         (byteArrayToIntArray()): Removed casting to (int). this is
5220         std. behaviour.
5221         (canonicalize()): idem.
5222         (alloc(int)): Always instantiate a new BI.
5223
5224 2003-02-10  Tom Tromey  <tromey@redhat.com>
5225
5226         * java/sql/Timestamp.java (compareTo(Object)): New method.
5227         (compareTo(Timestamp)): Likewise.
5228         (serialVersionUID): Updated.
5229
5230 2003-02-07  Mark Wielaard  <mark@klomp.org>
5231
5232         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5233         when verify is true.
5234         (JarFile(File, boolean)): Likewise.
5235         (manifestRead): Set manifestRead field correctly.
5236
5237 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5238
5239         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5240         tests; see patch #1016 on Savannah.
5241
5242 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5243
5244         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5245         (toString): do not return Strings starting with . and - erroneously.
5246         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5247         DiagBigDecimal.
5248
5249 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5250
5251         * java/beans/PropertyDescriptor.java
5252         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5253         methods.
5254         (PropertyDescriptor(String, Class, String, String)): Likewise.
5255         (PropertyDescriptor(String, Method, Method): Factor out getter and
5256         setter method sanity checks into new method.
5257         (findMethods): Don't do parameter sanity checking of get method here.
5258         (checkMethods): New method.
5259
5260 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5261
5262         * java/beans/PropertyDescriptor.java: Reformat.
5263
5264 2003-02-04  Tom Tromey  <tromey@redhat.com>
5265
5266         * java/io/PipedOutputStream.java (flush): Declare as throwing
5267         IOException.
5268         (close): Likewise.
5269         * java/io/PipedWriter.java (close): Declare as throwing
5270         IOException.
5271         * java/io/StringWriter.java (close): Declare as throwing
5272         IOException.
5273
5274 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5275
5276         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5277         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5278         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5279         "_JNI_OnLoad@8" (MSVC).
5280
5281 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5282
5283         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5284         convention on Win32 to invoke native JNI methods.
5285
5286 2003-02-03  Andrew Haley  <aph@redhat.com>
5287
5288         * configure.host (x86_64): Enable interpreter.
5289
5290 2003-02-03  Andrew Haley  <aph@redhat.com>
5291
5292         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5293         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5294         * configure.in (BACKTRACESPEC): New.
5295         * configure: Regenerate.
5296
5297 2003-02-02  Tom Tromey  <tromey@redhat.com>
5298
5299         * configure: Rebuilt.
5300         * configure.in (TOOLKIT) [xlib]: Set correctly.
5301
5302         * Makefile.in: Rebuilt.
5303         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5304         libstdc++.
5305
5306 2003-01-31  Mark WIelaard  <mark@klomp.org>
5307
5308         * Makefile.in: Rebuilt.
5309         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5310
5311 2003-01-31  Tom Tromey  <tromey@redhat.com>
5312
5313         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5314         cast to element type.
5315         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5316         (_Jv_JNI_GetObjectArrayElement): Likewise.
5317
5318         * Makefile.in: Rebuilt.
5319         * Makefile.am (cond_x_ltlibrary): Renamed library to
5320         lib-gnu-awt-xlib.la.
5321         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5322         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5323         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5324         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5325         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5326         (lib_gnu_awt_xlib_la_LINK): Likewise.
5327         (install-exec-hook): Removed.
5328         (lib-gnu-awt-xlib.la): Renamed.
5329
5330 2003-01-31  Tom Tromey  <tromey@redhat.com>
5331
5332         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5333         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5334         aclocal.m4 and lost in some merge.
5335
5336         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5337         Don't try to find graphics configuration.
5338         * java/awt/Toolkit.java (default_toolkit_name): Use new
5339         Configuration entry.
5340         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5341         New global.
5342         * configure: Rebuilt.
5343         * configure.in (TOOLKIT): New subst.
5344         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5345         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5346         directory.  Make output directories for .c files.
5347         * Makefile.in: Rebuilt.
5348         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5349         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5350         (all_java_source_files): Added new sources.
5351         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5352         (gtk_c_files): New macro.
5353         (gtk_c_source_files): New macro.
5354         (cond_gtk_ltlibrary): New macro.
5355         ($(gtk_c_files)): New target.
5356         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5357         (gtk_awt_peer_sources): New macro.
5358         (gtk_c_headers): New macro.
5359         ($(gtk_c_headers)): New target.
5360         (ACLOCAL_AMFLAGS): New macro.
5361         * gtk.m4, glib.m4, libart.m4: New files.
5362         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5363         gnu/java/awt/peer/gtk/GdkGraphics.java,
5364         gnu/java/awt/peer/gtk/GtkArg.java,
5365         gnu/java/awt/peer/gtk/GtkArgList.java,
5366         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5367         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5368         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5369         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5370         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5371         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5372         gnu/java/awt/peer/gtk/GtkClipboard.java,
5373         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5374         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5375         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5376         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5377         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5378         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5379         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5380         gnu/java/awt/peer/gtk/GtkImage.java,
5381         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5382         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5383         gnu/java/awt/peer/gtk/GtkListPeer.java,
5384         gnu/java/awt/peer/gtk/GtkMainThread.java,
5385         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5386         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5387         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5388         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5389         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5390         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5391         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5392         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5393         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5394         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5395         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5396         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5397         gnu/java/awt/peer/gtk/GtkToolkit.java,
5398         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5399         gnu/java/awt/peer/gtk/TestAWT.java,
5400         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5402         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5405         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5406         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5407         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5408         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5419         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5421         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5422         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5423         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5424         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5425         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5426         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5427         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5428         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5429         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5430         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5431         jni/classpath/native_state.c, jni/classpath/native_state.h,
5432         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5433
5434 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5435
5436         * java/util/Properties.java (load): Ignore backslash before EOF.
5437
5438 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5439
5440         * java/lang/natClass.cc (initializeClass): Check tables when
5441         (state == JV_STATE_IN_PROGRESS).
5442         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5443         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5444         interpreted classes.
5445         (linkClass0): Use _Jv_WaitForState.
5446
5447 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5448
5449         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5450         object when finished.
5451
5452 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5453
5454         * libjava/configure.host: Disable can_unwind_signal on darwin.
5455
5456 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5457
5458         Fixes PR java/9254:
5459         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5460         additionally containing id of the owner thread as well as
5461         the number of nested times the thread has acquired the mutex.
5462         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5463         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5464         (_Jv_MutexUnlock): Check if really the owner thread, reset
5465         owner thread id to 0 before leaving, if leaving for the last
5466         time.
5467         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5468         refcount.
5469         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5470         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5471         the passed mutex.
5472         Pass handle of the broadcast event, instead of a pointer to it
5473         in Win32 ResetEvent( ) call.
5474         Remove incorrect return values.
5475         (_Jv_CondDestroy): Close both event handles and delete
5476         critical section.
5477         (_Jv_CondNotify): Check if really the owner thread.
5478         (_Jv_CondNotifyAll): Check if really the owner thread.
5479         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5480         (really_start): Use SetEvent( ) to signal daemon_cond.
5481         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5482         WaitForSingleObject( ) instead to wait for daemon_cond to be
5483         signalled.
5484
5485 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5486
5487         * configure.in: Specifically define HAVE_BACKTRACE if building
5488         for MinGW.
5489         * include/win32.h: Remove HAVE_BACKTRACE definition.
5490         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5491         * configure: Rebuilt.
5492
5493 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5494
5495         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5496         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5497         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5498         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5499         * Makefile.in, configure: Rebuilt.
5500
5501 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5502
5503         Fixes PR java/9253:
5504         * java/io/natFileWin32.cc (performList): Append only "*.*"
5505         if the canonical file path already has a "\" at the end.
5506
5507 2003-01-24  Tom Tromey  <tromey@redhat.com>
5508
5509         * defineclass.cc (handleMethodsEnd): Precompute code for static
5510         method.
5511         (handleCodeAttribute): Likewise.
5512         * resolve.cc (ncode): Use run_class for unsynchronized static
5513         methods.
5514         * include/java-interp.h (class _Jv_InterpMethod): Declare
5515         run_class.
5516         * interpret.cc (run_synch_class): Initialize class.
5517         (run) [insn_invokestatic]: Don't initialize class.
5518         [insn_anewarray]: Likewise.
5519         [insn_multianewarray]: Likewise.
5520         (run_class): New function.
5521
5522 2003-01-24  Tom Tromey  <tromey@redhat.com>
5523
5524         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5525         comment.
5526
5527 2003-01-22  Andrew Haley  <aph@redhat.com>
5528
5529         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5530         * configure.host (CHECKREFSPEC): Define for x86_64.
5531
5532 2003-01-21  Tom Tromey  <tromey@redhat.com>
5533
5534         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5535         search at 2, not 3.
5536
5537 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5538
5539         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5540         looking at any characters.
5541         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5542         be used.
5543         (isAbsolute): Check path's length as well.
5544
5545 2003-01-17  Mark Wielaard  <mark@klomp.org>
5546
5547         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5548         (nat_source_files): Add natVMObjectStreamClass.cc.
5549         * Makefile.in: Regenerated.
5550         * gcj/javaprims.h (namespace java): Regenerated.
5551         * java/io/ObjectStreamClass.java (getClassUID): Call
5552         VMObjectStreamClass.hasClassInitializer().
5553         (hasClassInitializer): Removed.
5554         * java/io/VMObjectStreamClass.java: New class.
5555         * java/io/natVMObjectStreamClass.cc: New file.
5556         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5557
5558 2003-01-16  Mark Wielaard  <mark@klomp.org>
5559
5560         * java/net/SocketImpl.java (toString): Don't explicitly call
5561         toString() on possible null address.
5562
5563 2003-01-16  Michael Koch  <konqueror@gmx.de>
5564
5565         * java/net/MulticastSocket.java
5566         (setInterface): Reindented.
5567
5568 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5569
5570         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5571         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5572         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5573         translateY arguments.  Implement.
5574         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5575         down translation arguments.
5576         (drawPolyline, drawPolygon): Fix incorrect tests.
5577         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5578         translateX and translateY arguments.
5579
5580 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5581
5582         * Makefile.in: Rebuilt.
5583         * Makefile.am (xlib_includes): New macro.
5584         (INCLUDES): Use it.
5585
5586 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5587
5588         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5589         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5590         16-bit display mode.
5591
5592 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5593
5594         * java/awt/CardLayout.java (show): Rewrote.
5595         (gotoComponent): Removed `target' argument.  Simplified code.
5596         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5597         Changed all callers.
5598         (NONE): Removed.
5599         
5600 2003-01-14  Michael Koch  <konqueror@gmx.de>
5601
5602         * java/net/InetSocketAddress.java
5603         (serialVersionUID): New member variable.
5604         * java/net/NetPermission.java
5605         (NetPermission): Dont implement java.io.Serialization directly.
5606         * java/net/SocketAddress.java:
5607         (serialVersionUID): Documentation added.
5608         
5609 2003-01-14  Michael Koch  <konqueror@gmx.de>
5610
5611         * java/awt/Label.java
5612         (Label): Implements javax.accessibility.Accessible;
5613         * java/awt/List.java
5614         (List): Implements javax.accessibility.Accessible;
5615         * java/awt/ScrollPane.java
5616         (ScrollPane): Implements javax.accessibility.Accessible;
5617         * java/awt/Scrollbar.java
5618         (Scrollbar): Implements javax.accessibility.Accessible;
5619         * java/awt/TextComponent.java
5620         (setCaretPosition): Throw exception, documentation added.
5621         * java/awt/Toolkit.java:
5622         Added some newlines in method documentations.
5623         (createButton): Exception documentation added.
5624         (createTextField): Exception documentation added.
5625         (createLabel): Exception documentation added.
5626         (createList): Exception documentation added.
5627         (createCheckbox): Exception documentation added.
5628         (createScrollbar): Exception documentation added.
5629         (createScrollPane): Exception documentation added.
5630         (createTextArea): Exception documentation added.
5631         (createChoice): Exception documentation added.
5632         (createFrame): Exception documentation added.
5633         (createWindow): Exception documentation added.
5634         (createDialog): Exception documentation added.
5635         (createMenuBar): Exception documentation added.
5636         (createMenu): Exception documentation added.
5637         (createMenuItem): Exception documentation added.
5638         (createFileDialog): Exception documentation added.
5639         (createCheckboxMenuItem): Exception documentation added.
5640         (loadSystemColors): Exception documentation added.
5641         (setDynamicLayout): Exception documentation added.
5642         (isDynamicLayoutSet): Exception documentation added.
5643         (isDynamicLayoutActive): Exception documentation added.
5644         (getScreenSize): Exception documentation added.
5645         (getScreenResolution): Exception documentation added.
5646         (getScreenInsets): Exception documentation added.
5647         (getColorModel): Exception documentation added.
5648         (getSystemClipboard): Exception documentation added.
5649         (getSystemSelection): Exception documentation added.
5650         (getMenuShortcutKeyMask): Exception documentation added.
5651         (getSystemEventQueue): Exception documentation added.
5652         * java/awt/Window.java:
5653         Reindented some code.
5654         (Window): Centralized implementation, documentation added.
5655         (finalize): Documentation added.
5656         (hide): Fixed typo in comment.
5657         (getWindowListeners): Documentation added.
5658         * java/awt/color/ColorSpace.java
5659         (toRGB): Documentation added.
5660         * java/awt/color/ICC_ColorSpace.java
5661         (ICC_ColorSpace): Documentation added.
5662         (toRGB): Throw exception, documentation added.
5663         (fromRGB): Throw exception, documentation added.
5664         (toCIEXYZ): Documentation added.
5665         (fromCIEXYZ): Documentation added.
5666         (getMinValue): Documentation added.
5667         (getMaxValue): Documentation added.
5668         * java/awt/geom/Dimension2D.java
5669         (clone): Documentation added.
5670         * java/awt/geom/GeneralPath.java
5671         (clone): Documentation added.
5672         * java/awt/geom/Line2D.java
5673         (clone): Documentation added.
5674         * java/awt/geom/QuadCurve2D.java
5675         (clone): Documentation added.
5676         * java/awt/image/ColorModel.java
5677         (ColorModel): Throw exception, documentation added.
5678         * java/awt/image/ImageFilter.java
5679         (clone): Doesnt throw CloneNotSupportedException.
5680
5681 2003-01-14  Andrew Haley  <aph@redhat.com>
5682
5683         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5684         in a try block.
5685
5686 2003-01-10  Andrew Haley  <aph@redhat.com>
5687
5688         * include/dwarf2-signal.h: Remove x86_64.
5689         * configure.host (x86_64 DIVIDESPEC): Remove.
5690         * include/x86_64-signal.h: New file.
5691         * configure.in: Regenerate.
5692
5693 2003-01-10  Michael Koch  <konqueror@gmx.de>
5694
5695         * java/net/DatagramSocket.java
5696         (ch): Description added.
5697         (remotePort): Initialize with -1.
5698         (connect): Doesnt throws SocketException.
5699         * java/net/MulticastSocket.java
5700         (setInterface): Merge with Classpath.
5701         * java/net/ServerSocket.java
5702         (closed): New member variable.
5703         (bind): Check if socket is closed.
5704         (close): Close an associated channel too, set new value to closed.
5705         (isBound): Reindented.
5706         (isClosed): Implemented.
5707         * java/net/Socket.java
5708         (closed): New member variable.
5709         (bind): Check if socket is closed.
5710         (connect): Check if socket is closed.
5711         (close): Close an associated channel too, set new value to closed.
5712         (isClosed): Implemented.
5713
5714 2003-01-10  Michael Koch  <konqueror@gmx.de>
5715
5716         * java/awt/DisplayMode.java
5717         (equals): Fixed argument type and implementation.
5718
5719 2003-01-07  Tom Tromey  <tromey@redhat.com>
5720
5721         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5722         JV_HASH_SYNCHRONIZATION.
5723         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5724         JV_HASH_SYNCHRONIZATION.
5725
5726 2003-01-07  Michael Koch  <konqueror@gmx.de>
5727  
5728         * java/net/DatagramSocket.java:
5729         Added classpath license info.
5730         (DatagramSocket): Merged description with classpath.
5731         (close): Merged description with classpath.
5732         (getChannel): Merged description with classpath.
5733         (getInetAddress): Merged description with classpath.
5734         (getPort): Merged description with classpath.
5735         (getLocalAddress): Merged description with classpath.
5736         (getLocalPort): Merged description with classpath.
5737         (getSoTimeout): Merged description with classpath.
5738         (setSoTimeout): Merged description with classpath.
5739         (getSendBufferSize): Merged description with classpath.
5740         (setSendBufferSize): Merged description with classpath.
5741         (getReceiveBufferSize): Merged description with classpath.
5742         (setReceiveBufferSize): Merged description with classpath.
5743         
5744 2003-01-04  Tom Tromey  <tromey@redhat.com>
5745
5746         * java/awt/List.java: Merged with Classpath.
5747
5748 2003-01-03  Mark Wielaard  <mark@klomp.org>
5749
5750         * java/io/FileDescriptor.java (position): New private field.
5751         * java/io/natFileDescriptorPosix.cc (write): Up position.
5752         (setLength): Use and set position.
5753         (seek): Set position.
5754         (getFilePointer): Return position.
5755         (read): Up position.
5756
5757 2003-01-03  Mark Wielaard  <mark@klomp.org>
5758
5759         Merge with Classpath:
5760         * java/io/ObjectStreamClass.java (lookup): Split method and call
5761         lookupForClassObject().
5762         (lookupForClassObject): New method.
5763         (isProxyClass): New field.
5764         (setClass): Set isProxyClass, add object to classLookupTable, set
5765         superClass and calculateOffsets.
5766         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5767         and not a proxy class.
5768         (setFields): Set accessible true for serialPersistentFields.
5769         (getClassUID): Same for suid. And check if suid is of type long.
5770         (hasClassInitializer): Don't throw NoSuchMethodError.
5771
5772 2003-01-03  Mark Wielaard  <mark@klomp.org>
5773
5774         * java/io/FileInputStream.java (finalize): Don't explicitly
5775         finalize FileDescriptor.
5776
5777 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5778
5779         * configure.host (sparc*-*): Enable bytecode interpreter.
5780
5781 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5782
5783         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5784         Don't throw RemoteException.
5785         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5786         throw RemoteException.
5787
5788 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5789
5790         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5791         proxyHost): New static fields.
5792         (<clinit>): Initialize new fields.
5793         (connect): Use proxy if necessary.
5794         (usingProxy): Implement.
5795
5796 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5797
5798         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5799         (TreeIterator.remove): Prefer IllegalStateException over
5800         ConcurrentModificationException, to match Sun.
5801
5802 2002-12-22  Anthony Green  <green@redhat.com>
5803
5804         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5805
5806 2003-01-02  Mark Wielaard  <mark@klomp.org>
5807
5808         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5809         public.
5810         (HTTP_USE_PROXY): Add field.
5811         (getResponseVals): Only set responseCode when not yet explicitly
5812         set by subclass.
5813
5814 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5815             Mark Wielaard  <mark@klomp.org>
5816
5817         * java/util/zip/ZipFile.java (entries): Now HashMap.
5818         (readLeShort(DataInput, byte[])): Read from given byte array.
5819         (readLeInt(DataInput, byte[]): Likewise.
5820         (readLeShort(byte[] b, int off)): New method.
5821         (readLeInt(byte[] b, int off)): Likewise.
5822         (readEntries): Use byte arrays to read info in bigger chunks.
5823         (getEntries): Return HashMap.
5824         (getEntry): Use HashMap.
5825         (locBuf): New private field.
5826         (checkLocalHeader): Use locBuf to read info in one chunk.
5827         (getInputStream): Use entries HashMap, wrap PartialInputStream
5828         in BufferedInputStream.
5829         (ZipEntryEnumeration): Use HashMap and Interator.
5830
5831 2003-01-02  Mark Wielaard  <mark@klomp.org>
5832             Jeroen Frijters  <jeroen@sumatra.nl>
5833
5834         * java/net/URLClassLoader.java (Resource.getCodeSource):
5835         Fix check certs == null.
5836         (getCanonicalFileURL): Removed method.
5837         (JarURLLoader): Don't call removed method.
5838         (FileURLLoader): Likewise.
5839         (FileURLLoader.getResource): Don't canonicalize file name.
5840
5841 2003-01-01  Tom Tromey  <tromey@redhat.com>
5842
5843         * Makefile.in: Rebuilt.
5844         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5845         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5846         java/awt/BufferCapabilities.java, java/awt/Button.java,
5847         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5848         java/awt/Container.java, java/awt/Cursor.java,
5849         java/awt/EventQueue.java, java/awt/FileDialog.java,
5850         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5851         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5852         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5853         java/awt/Scrollbar.java, java/awt/TextArea.java,
5854         java/awt/TextField.java, java/awt/color/CMMException.java,
5855         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5856         java/awt/color/ProfileDataException.java,
5857         java/awt/datatransfer/Clipboard.java,
5858         java/awt/datatransfer/DataFlavor.java,
5859         java/awt/datatransfer/FlavorMap.java,
5860         java/awt/datatransfer/SystemFlavorMap.java,
5861         java/awt/dnd/DragGestureEvent.java,
5862         java/awt/dnd/DragGestureRecognizer.java,
5863         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5864         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5865         java/awt/im/InputMethodHighlight.java,
5866         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5867         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5868
5869         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5870         `op' to BufferedImageOp.
5871
5872 2002-12-31  Tom Tromey  <tromey@redhat.com>
5873
5874         Fix for PR libgcj/7416:
5875         * javax/naming/InitialContext.java (init): Use
5876         gnu.classpath.home.url.
5877         * java/security/Security.java: Use new properties.
5878         (loadProviders): Accept base url; use it.
5879         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5880         gnu.classpath.home.url.
5881         (gnu.classpath.home.url): Define.
5882         (gnu.classpath.vm.shortname): Likewise.
5883
5884 2002-12-31  Tom Tromey  <tromey@redhat.com>
5885             Ranjit Mathew  <rmathew@hotmail.com>
5886
5887         Fix for PR libgcj/8997:
5888         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5889         Include platform.h.
5890         * include/posix.h (_Jv_platform_usleep): New function.
5891         * include/win32.h (_Jv_platform_usleep): New function.
5892
5893 2002-12-29  Tom Tromey  <tromey@redhat.com>
5894
5895         * gcj/javaprims.h: Updated.
5896         * scripts/classes.pl (scan): Removed stray semicolon.
5897
5898 2002-12-30  Mark Wielaard  <mark@klomp.org>
5899
5900         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5901         if zero or smaller.
5902
5903 2002-12-30  Mark Wielaard  <mark@klomp.org>
5904
5905         * java/util/Properties (formatForOutput): Don't fall through to
5906         default case after escaping character.
5907
5908 2002-12-30  Mark Wielaard  <mark@klomp.org>
5909
5910         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5911         against count.
5912
5913 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5914
5915         * boehm.cc: Remove stray semicolon.
5916         * interpret.cc: Likewise.
5917         * prims.cc: Likewise.
5918         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5919         earlier to ensure default arguments are processed.
5920         * gcj/array.h (JArray): Add forward declaration.
5921         (elements): Likewise.
5922         * gcj/javaprim.h: Remove stray semicolons.
5923         * include/bohm-gc.h: Likewise.
5924         * include/jni.h: Likewise.
5925         * include/jvm.h: Likewise.
5926         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5927         
5928 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5929
5930         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5931         of catch_type.
5932         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5933         idt tables after initializing superclass.
5934         * java/lang/natClassLoader.cc (uaddr): New typedef.
5935         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5936         if they are constant pool indicies.  Don't link vtable, otable yet.
5937
5938 2002-12-21  Anthony Green  <green@redhat.com>
5939
5940         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5941         libraries.
5942         * Makefile.in: Rebuilt.
5943
5944 2002-12-19  Anthony Green  <green@redhat.com>
5945
5946         * Makefile.am (ordinary_java_source_files): Add
5947         org/xml/sax/helpers/NewInstance.java.
5948         * Makefile.in: Rebuilt.
5949         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5950         org/xml/sax/helpers/package.html: New files.
5951         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5952         http://www.saxproject.org.
5953
5954 2002-12-19  Andrew Haley  <aph@redhat.com>
5955
5956         * java/util/natResourceBundle.cc: Include
5957         ArrayIndexOutOfBoundsException.h.
5958         (getCallingClassLoader): Don't put upper bound on stack search.
5959         Catch ArrayIndexOutOfBoundsException.
5960
5961 2002-12-19  Tom Tromey  <tromey@redhat.com>
5962
5963         * libtool-version: Increased `current'.
5964
5965 2002-12-19  Tom Tromey  <tromey@redhat.com>
5966
5967         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5968         comment.
5969         * java/lang/ClassLoader.java (defineClass): Use chained
5970         exception when rethrowing.
5971         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5972         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5973         constants.
5974         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5975         (_Jv_PrepareClass): Use it.
5976         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5977         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5978         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5979         (Class): _Jv_PrepareMissingMethods now friend.
5980         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5981         Record `NULL' for system class loader.
5982         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5983         system class loader.
5984         (_Jv_FindClassInCache): Likewise.
5985         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5986         (_Jv_FindClass): Special case system class loader.
5987         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5988         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5989         vtable slots.
5990         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5991         in a final class.
5992         (_getDeclaredMethod): Don't return synthetic methods.
5993         (getDeclaredMethods): Likewise.
5994         (_getMethod): Likewise.
5995         (_getMethods): Likewise.
5996
5997 2002-12-18  Raif Naffah  <raif@fl.net.au>
5998
5999         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6000         canonical form after divide().
6001         (modInverse): Likewise.
6002
6003 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6004             Mark Wielaard  <mark@klomp.org>
6005
6006         * java/security/SecurityRandom (digest): Removed field.
6007         (SecureRandom): Check all providers for case-insensitive SecureRandom
6008         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6009         if necessary.
6010         (getInstance(String,Provider,boolean): New method.
6011         (getInstance(String)): Use new method.
6012         (getInstance(String,String)): Likewise.
6013         (getInstance(String,Provider)): Likewise.
6014
6015 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6016
6017         * java/security/Security.java (loadProviders): Increment i only once.
6018
6019 2002-12-12  Mark Wielaard  <mark@klomp.org>
6020
6021         * java/lang/ClassLoader.java (resolveClass0): Transform
6022         ClassNotFoundException to NoClassDefFoundError. Transform all other
6023         throwables to LinkageError.
6024
6025 2002-12-11  Tom Tromey  <tromey@redhat.com>
6026
6027         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6028
6029         * java/lang/ClassLoader.java (loadedClasses): New field.
6030         (defineClass): Fixed indentation.  Put new class in
6031         loadedClasses.
6032         (findLoadedClass): Implement here.
6033         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6034
6035 2002-12-10  Tom Tromey  <tromey@redhat.com>
6036
6037         * Makefile.in: Rebuilt.
6038         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6039         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6040         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6041         * java/lang/natClassLoader.cc
6042         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6043
6044 2002-12-10  Mark Wielaard  <mark@klomp.org>
6045             Tom Tromey  <tromey@redhat.com>
6046
6047         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6048         (JarURLLoader): Use it.
6049         (FileURLLoader): Likewise.
6050         (JarURLResource.getURL): Use chained exception.
6051         (FileResource.getURL): Likewise.
6052         (FileURLLoader.getResource): Use canonical file name.
6053         (addURL): Indentation fix.
6054
6055 2002-12-10  Tom Tromey  <tromey@redhat.com>
6056
6057         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6058         From Laurent Bardet <l.bardet@magic.fr>.
6059
6060 2002-12-09  Tom Tromey  <tromey@redhat.com>
6061
6062         * include/win32.h (_Jv_platform_solib_prefix): New define.
6063         (_Jv_platform_solib_suffix): Likewise.
6064         * include/posix.h (_Jv_platform_solib_prefix): New define.
6065         (_Jv_platform_solib_suffix): Likewise.
6066         * java/lang/natRuntime.cc: Include StackTrace.h.
6067         (_load): Use findLibrary and new platform defines.
6068         (nativeGetLibname): Use new platform defines.
6069
6070         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6071         `t' won't be null.
6072
6073 2002-12-08  Mark Wielaard  <mark@klomp.org>
6074
6075         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6076         cache remote jar files.
6077         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6078         add File.separator to URL when it is a directory.
6079         * java/lang/ClassLoader.java: Add Classpath javadoc.
6080         (parent): final.
6081         (getParent): Add (disabled) security check.
6082         (findLibrary): New default method.
6083         * java/net/JarURLConnection.java (getManifest): Implement.
6084         (getInputStream): Only create InputStream when entry exists.
6085         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6086         when they exist.
6087         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6088
6089 2002-12-08  Mark Wielaard  <mark@klomp.org>
6090
6091         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6092         (lastDefaultLocale): New field.
6093         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6094         resourceBundleCache.
6095
6096 2002-12-06  Mark Wielaard  <mark@klomp.org>
6097
6098         * java/net/InetAddress.java (toString): Use hostname when not null,
6099         don't do an explicit reverse getHostName() lookup.
6100         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6101         NullPointerException.
6102
6103 2002-12-06  Tom Tromey  <tromey@redhat.com>
6104
6105         * include/java-interp.h (class _Jv_InterpMethod): Added
6106         JV_MARKOBJ_DECL.
6107         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6108         mark `prepared' field of interpreted method.
6109         * interpret.cc (compile): Use _Jv_AllocBytes.
6110
6111 2002-12-05  Andrew Haley  <aph@redhat.com>
6112
6113         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6114         #ifdef (HAVE_BACKTRACE) around the whole function body.
6115
6116 2002-12-05  Tom Tromey  <tromey@redhat.com>
6117
6118         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6119         * resolve.cc: Don't include AbstractMethodError.h.
6120         (_Jv_abstractMethodError): Removed.
6121         * defineclass.cc (handleMethodsBegin): Initialize method index to
6122         -1.
6123         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6124         method index for "new" final method.
6125         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6126         isVirtualMethod.  Added `flags' argument.
6127         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6128         class.
6129
6130 2002-12-04  Tom Tromey  <tromey@redhat.com>
6131
6132         * java/net/SocketPermission.java (hashCode): Rewrote.
6133
6134 2002-12-04  Tom Tromey  <tromey@redhat.com>
6135
6136         * Makefile.in: Rebuilt.
6137         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6138         natResourceBundle.
6139         * java/util/ResourceBundle.java (Security): Removed.
6140         (getCallingClassLoader): Now native.
6141         * java/util/natResourceBundle.cc: New file.
6142         * java/lang/natVMSecurityManager.cc: New file.
6143         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6144
6145 2002-12-03  Mark Wielaard  <mark@klomp.org>
6146
6147         * java/util/jar/JarFile.java (manifest): Not final.
6148         (manifestRead): New field.
6149         (JarFile): Don't read Manifest in constructor.
6150         (getManifest): New method.
6151         (JarEnumeration.nextElement): Use new method.
6152         (getEntry): Likewise.
6153         * java/util/zip/ZipFile.java (name): Final.
6154         (raf): Likewsie.
6155         (entries): Change type to Hashtable.
6156         (closed): New field.
6157         (ZipFile): Don't read enties in constructor.
6158         (readEntries): Use Hashtable.
6159         (close): Set new close flag and set entries to null inside
6160         synchronized block.
6161         (entries): Contruct enumeration using new getEntries() method and
6162         entries Hashtable.
6163         (getEntryIndex): Removed.
6164         (getEntries): New method.
6165         (getEntry): Use new getEntries() method and entries Hastable.
6166         (getInputStream): Likewise.
6167         (size): Return getEntries().size().
6168         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6169         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6170         (time): Removed
6171         (dostime): New field.
6172         (zipFileIndex): Removed.
6173         (ZipEntry(ZipEntry)): Copy dostime.
6174         (setDOSTime): Now final and doesn't convert dos time.
6175         (getDOSTime): Likewise.
6176         (setTime): Convert dos time.
6177         (getTime): Likewise.
6178         (getCalendar): New method.
6179         (setExtra): Use setTime().
6180         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6181
6182 2002-12-03  Tom Tromey  <tromey@redhat.com>
6183
6184         * java/lang/Character.java (forDigit): Formatting fix.
6185
6186 2002-12-03  Raif Naffah  <raif@fl.net.au>
6187
6188         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6189         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6190         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6191
6192 2002-12-03  Andrew Haley  <aph@redhat.com>
6193
6194         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6195         _Jv_PushClass.
6196         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6197         (_Jv_PopClass): New.
6198         (_Jv_PushClass): New.
6199         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6200         discover the ClassLoader of our caller.
6201         (_Jv_CheckArrayStore): Don't check that a class is assignment
6202         compatible with Object.
6203         * java/lang/natVMTHrowable.cc: Delete.
6204         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6205         java.lang.VMThrowable.
6206         (StackTrace(), StackTrace(int)): New constructors.
6207         (classAt, methodAt, update, methodAtAddress): New methods.
6208         (map): New field.
6209         * java/lang/VMThrowable.java: Use StackTrace instead of
6210         natVMTHrowable.
6211         * java/lang/Class.h (getClassLoaderInternal): New.
6212         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6213         Be friendly with gnu::gcj::runtime::StackTrace.
6214         (Object.chain): New field.
6215         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6216         gnu::gcj::runtime::StackTrace.
6217         * gnu/gcj/runtime/natStackTrace.cc: New file.
6218         * gnu/gcj/runtime/MethodRef.java: New file.
6219         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6220         instead of getClassLoader().
6221         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6222         java::lang::VMThrowable.
6223         * Makefile.am (core_java_source_files): Add MethodRef.java,
6224         StackTrace.java.
6225         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6226         * Makefile.in: Rebuild.
6227
6228 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6229
6230         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6231         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6232         yes also for sh-linux* and sh[34]*-linux*.
6233         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6234         set SIGNAL_HANDLER to use DWARF2 exception for them.
6235         * configure: Regenerate.
6236
6237 2002-12-02  Tom Tromey  <tromey@redhat.com>
6238
6239         * jni.cc: Added `name' argument.
6240         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6241         `const char *' argument.
6242         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6243
6244 2002-12-01  Tom Tromey  <tromey@redhat.com>
6245
6246         Bug compatibility, for PR libgcj/8738:
6247         * java/io/CharArrayWriter.java (close): Do nothing.
6248         (flush): Likewise.
6249         (reset): Don't touch `closed'.
6250         (write(int)): Don't throw IOException.
6251         (write(char[],int,int)): Likewise.
6252         (write(String,int,int)): Likewise.
6253         (closed): Removed.
6254
6255 2002-12-01  Mark Wielaard  <mark@klomp.org>
6256
6257         * java/lang/SecurityManager.java: Remerge comments, indenting and
6258         checkXXX methods with Classpath.
6259
6260 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6261
6262         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6263         getNormalizedComponents): Fix calculation which was using one too
6264         many bits in the unnormalized format.
6265
6266 2002-11-29  Gary Benson  <gbenson@redhat.com>
6267
6268         For PR libgcj/8759:
6269         * java/beans/Introspector.java (flushCaches): New method.
6270         (flushFromCaches): Likewise.
6271
6272 2002-11-29  Michael Koch <konqueror@gmx.de>
6273
6274         * java/nio/channels/DatagramChannel.java
6275         (open): Added exception documentation.
6276         (write): Added exception documentation.
6277         (connect): Added exception documentation.
6278         (disconnect): Added exception documentation.
6279         (isConnected): Added exception documentation.
6280         (read): Added exception documentation.
6281         (receive): Added exception documentation.
6282         (send): Added exception documentation.
6283         (validOps): Added exception documentation.
6284         * java/nio/channels/SocketChannel.java
6285         (open): Added exception documentation.
6286         (read): Added exception documentation.
6287         (write): Added exception documentation.
6288         (connect): Added exception documentation.
6289         (finishConnect): Added exception documentation.
6290
6291 2002-11-29  Michael Koch <konqueror@gmx.de>
6292
6293         * gnu/java/nio/DatagramChannelImpl:
6294         (fd): New member variable to store file descriptor of socket.
6295         * gnu/java/nio/SelectionKeyImpl.java:
6296         (ops): Removed.
6297         (readyOps): New member variable.
6298         (interestOps): New member variable.
6299         (readyOps): Implemented.
6300         (readyOps): New method to set member variable readyOps.
6301         (interestOps): Replaced ops by interestOps.
6302         * gnu/java/nio/SelectorImpl.java:
6303         (SelectorImpl): Initialize key sets.
6304         (select): Call select with -1 instead of Long.MAX_VALUE).
6305         (java_do_select): Make it a native method.
6306         (getFDsAsArray): New helper method.
6307         (select): Remove canceled keys, give only interested file discriptors
6308         to java_do_select, set ready ops.
6309         (add): No need to initialize keys set here.
6310         (add_selected): No need to initialize selected set here.
6311         (deregisterCanceledKeys): New helper method.
6312         (register): Set interest ops, set attachments, added handling of datagram
6313         channels.
6314         * gnu/java/nio/ServerSocketChannelImpl:
6315         (SocketAccept): Renamed from NioSocketAccept.
6316         (implConfigureBlocking): Implemented.
6317         (accept): Use SocketAccept instead of NioSocketAccept.
6318         * gnu/java/nio/SocketChannelImpl:
6319         Reactivate native methods.
6320
6321 2002-11-29  Michael Koch <konqueror@gmx.de>
6322
6323         * gnu/java/nio/natByteBufferImpl.cc,
6324         gnu/java/nio/natCharBufferImpl.cc,
6325         gnu/java/nio/natDoubleBufferImpl.cc,
6326         gnu/java/nio/natFloatBufferImpl.cc,
6327         gnu/java/nio/natIntBufferImpl.cc,
6328         gnu/java/nio/natLongBufferImpl.cc,
6329         gnu/java/nio/natSelectorImpl.cc,
6330         gnu/java/nio/natServerSocketChannelImpl.cc,
6331         gnu/java/nio/natShortBufferImpl.cc,
6332         gnu/java/nio/natSocketChannelImpl.cc:
6333         New files that implement native functionalities.
6334
6335 2002-11-29  Michael Koch <konqueror@gmx.de>
6336
6337         * gnu/java/nio/ByteBufferImpl.java
6338         (ByteBufferImpl): Moved position() after limit.
6339         (nio_*): Use native implementation.
6340         * gnu/java/nio/CharBufferImpl.java:
6341         Reformated.
6342         (endian): New member variable string endianess of buffer.
6343         (CharBufferImpl): Moved position() after limit.
6344         (nio_*): Use native implementation.
6345         (subSequence): Implemented.
6346         * gnu/java/nio/DoubleBufferImpl.java
6347         (DoubleBufferImpl): Moved position() after limit.
6348         (nio_*): Use native implementation.
6349         * gnu/java/nio/FloatBufferImpl.java
6350         Reformated.
6351         (FloatBufferImpl): Moved position() after limit.
6352         (nio_*): Use native implementation.
6353         * gnu/java/nio/IntBufferImpl.java
6354         Added needed imports, Reformated.
6355         (IntBufferImpl): Moved position() after limit.
6356         (nio_*): Use native implementation.
6357         * gnu/java/nio/LongBufferImpl.java
6358         Reformated.
6359         (LongBufferImpl): Moved position() after limit.
6360         (nio_*): Use native implementation.
6361         * gnu/java/nio/ShortBufferImpl.java
6362         Reformated.
6363         (ShortBufferImpl): Moved position() after limit.
6364         (nio_*): Use native implementation.
6365
6366 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6367
6368         * java/util/Locale.java (toString): Improve efficiency if country
6369         and variant are both empty.
6370
6371 2002-11-26  Tom Tromey  <tromey@redhat.com>
6372
6373         * verify.cc (pop_init_ref): New method.
6374         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6375         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6376         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6377         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6378         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6379         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6380         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6381         let `this' argument be uninitialized.  Don't let `null' be passed
6382         as `this' to construtor.
6383
6384 2002-11-26  Mark Wielaard  <mark@klomp.org>
6385
6386         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6387         * javax/transaction/HeuristicMixedException.java: Likewise.
6388         * javax/transaction/HeuristicRollbackException.java: Likewise.
6389         * javax/transaction/InvalidTransactionException.java: Likewise.
6390         * javax/transaction/NotSupportedException.java: Likewise.
6391         * javax/transaction/RollbackException.java: Likewise.
6392         * javax/transaction/Status.java: Likewise.
6393         * javax/transaction/Synchronization.java: Likewise.
6394         * javax/transaction/SystemException.java: Likewise.
6395         * javax/transaction/Transaction.java: Likewise.
6396         * javax/transaction/TransactionManager.java: Likewise.
6397         * javax/transaction/TransactionRequiredException.java: Likewise.
6398         * javax/transaction/TransactionRolledbackException.java: Likewise.
6399         * javax/transaction/UserTransaction.java: Likewise.
6400         * javax/transaction/xa/XAException.java: Likewise.
6401         * javax/transaction/xa/XAResource.java: Likewise.
6402         * javax/transaction/xa/Xid.java: Likewise.
6403
6404 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6405
6406         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6407         define.
6408         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6409         * include/posix.h (socklen_t): Define if not already defined.
6410
6411 2002-11-25  Tom Tromey  <tromey@redhat.com>
6412
6413         * verify.cc (type::compatible): Backed out broken change.
6414
6415         * verify.cc (type::compatible): Check initialization status
6416         first.
6417         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6418         Don't use NULLCHECK.
6419
6420 2002-11-23  H.J. Lu <hjl@gnu.org>
6421
6422         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6423         Include ../config/accross.m4.
6424         * aclocal.m4; Rebuild.
6425         * configure: Likewise.
6426
6427 2002-11-23  Mark Wielaard  <mark@klomp.org>
6428
6429         * javax/naming/AuthenticationException.java: Update copyright header.
6430         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6431         * javax/naming/Binding.java: Likewise.
6432         * javax/naming/CannotProceedException.java: Likewise.
6433         * javax/naming/CommunicationException.java: Likewise.
6434         * javax/naming/CompositeName.java: Likewise.
6435         * javax/naming/CompoundName.java: Likewise.
6436         * javax/naming/ConfigurationException.java: Likewise.
6437         * javax/naming/Context.java: Likewise.
6438         * javax/naming/ContextNotEmptyException.java: Likewise.
6439         * javax/naming/InitialContext.java: Likewise.
6440         * javax/naming/InsufficientResourcesException.java: Likewise.
6441         * javax/naming/InterruptedNamingException.java: Likewise.
6442         * javax/naming/LimitExceededException.java: Likewise.
6443         * javax/naming/LinkException.java: Likewise.
6444         * javax/naming/LinkLoopException.java: Likewise.
6445         * javax/naming/LinkRef.java: Likewise.
6446         * javax/naming/MalformedLinkException.java: Likewise.
6447         * javax/naming/NameAlreadyBoundException.java: Likewise.
6448         * javax/naming/NameClassPair.java: Likewise.
6449         * javax/naming/NameNotFoundException.java: Likewise.
6450         * javax/naming/NameParser.java: Likewise.
6451         * javax/naming/NamingEnumeration.java: Likewise.
6452         * javax/naming/NamingSecurityException.java: Likewise.
6453         * javax/naming/NoInitialContextException.java: Likewise.
6454         * javax/naming/NoPermissionException.java: Likewise.
6455         * javax/naming/NotContextException.java: Likewise.
6456         * javax/naming/OperationNotSupportedException.java: Likewise.
6457         * javax/naming/PartialResultException.java: Likewise.
6458         * javax/naming/Reference.java: Likewise.
6459         * javax/naming/Referenceable.java: Likewise.
6460         * javax/naming/ReferralException.java: Likewise.
6461         * javax/naming/ServiceUnavailableException.java: Likewise.
6462         * javax/naming/SizeLimitExceededException.java: Likewise.
6463         * javax/naming/TimeLimitExceededException.java: Likewise.
6464         * javax/naming/directory/Attribute.java: Likewise.
6465         * javax/naming/directory/AttributeInUseException.java: Likewise.
6466         * javax/naming/directory/AttributeModificationException.java: Likewise.
6467         * javax/naming/directory/Attributes.java: Likewise.
6468         * javax/naming/directory/BasicAttribute.java: Likewise.
6469         * javax/naming/directory/BasicAttributes.java: Likewise.
6470         * javax/naming/directory/DirContext.java: Likewise.
6471         * javax/naming/directory/InitialDirContext.java: Likewise.
6472         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6473         Likewise.
6474         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6475         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6476         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6477         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6478         * javax/naming/directory/ModificationItem.java: Likewise.
6479         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6480         * javax/naming/directory/SchemaViolationException.java: Likewise.
6481         * javax/naming/directory/SearchControls.java: Likewise.
6482         * javax/naming/directory/SearchResult.java: Likewise.
6483         * javax/naming/event/EventContext.java: Likewise.
6484         * javax/naming/event/EventDirContext.java: Likewise.
6485         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6486         * javax/naming/event/NamingEvent.java: Likewise.
6487         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6488         * javax/naming/event/NamingListener.java: Likewise.
6489         * javax/naming/event/ObjectChangeListener.java: Likewise.
6490         * javax/naming/ldap/Control.java: Likewise.
6491         * javax/naming/ldap/ControlFactory.java: Likewise.
6492         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6493         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6494         * javax/naming/ldap/HasControls.java: Likewise.
6495         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6496         * javax/naming/ldap/LdapContext.java: Likewise.
6497         * javax/naming/ldap/LdapReferralException.java: Likewise.
6498         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6499         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6500         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6501         * javax/naming/spi/DirObjectFactory.java: Likewise.
6502         * javax/naming/spi/DirStateFactory.java: Likewise.
6503         * javax/naming/spi/DirectoryManager.java: Likewise.
6504         * javax/naming/spi/InitialContextFactory.java: Likewise.
6505         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6506         * javax/naming/spi/NamingManager.java: Likewise.
6507         * javax/naming/spi/ObjectFactory.java: Likewise.
6508         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6509         * javax/naming/spi/ResolveResult.java: Likewise.
6510         * javax/naming/spi/Resolver.java: Likewise.
6511         * javax/naming/spi/StateFactory.java: Likewise.
6512
6513         * javax/naming/spi/NamingManager.java (ofb): Package private.
6514
6515 2002-11-21  Mark Wielaard  <mark@klomp.org>
6516
6517         * java/net/URL.java: Merge with Classpath (partly).
6518         * java/net/URLStreamHandler: Merge with Classpath.
6519
6520 2002-11-22  Michael Koch <konqueror@gmx.de>
6521
6522         * include/posix.h:
6523         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6524         * include/win32.h:
6525         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6526         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6527
6528 2002-11-21  Michael Koch <konqueror@gmx.de>
6529
6530         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6531         Only the new network functions should be in it.
6532
6533 2002-11-21  Michael Koch <konqueror@gmx.de>
6534
6535         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6536         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6537
6538 2002-11-21  Michael Koch <konqueror@gmx.de>
6539
6540         * java/nio/channels/AsynchronousCloseException.java,
6541         java/nio/channels/CancelledKeyException.java,
6542         java/nio/channels/ClosedByInterruptException.java,
6543         java/nio/channels/ConnectionPendingException.java,
6544         java/nio/channels/FileLockInterruptionException.java,
6545         java/nio/channels/IllegalSelectorException.java,
6546         java/nio/channels/NoConnectionPendingException.java,
6547         java/nio/channels/NonReadableChannelException.java,
6548         java/nio/channels/NonWritableChannelException.java,
6549         java/nio/channels/NotYetBoundException.java,
6550         java/nio/channels/NotYetConnectedException.java,
6551         java/nio/channels/OverlappingFileLockException.java,
6552         java/nio/channels/UnresolvedAddressException.java,
6553         java/nio/channels/UnsupportedAddressTypeException.java:
6554         New files.
6555         * Makefile.am (ordinary_java_source_files): Added new files.
6556         * Makefile.in: Regenerated.
6557
6558 2002-11-21  Michael Koch <konqueror@gmx.de>
6559
6560         * include/posix.h
6561         (_Jv_socket): New method.
6562         (_Jv_connect): New method.
6563         (_Jv_close): New method.
6564         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6565         (_Jv_bind): New method.
6566         (_Jv_listen): New method.
6567         (_Jv_write): New method.
6568         (_Jv_read): New method.
6569         * include/win32.h
6570         (_Jv_socket): New method.
6571         (_Jv_connect): New method.
6572         (_Jv_close): New method.
6573         (_Jv_bind): New method.
6574         (_Jv_listen): New method.
6575         (_Jv_write): New method.
6576         (_Jv_read): New method.
6577         * java/net/natNetworkInterface.cc:
6578         Include platform.h, removed inclusion of socket.h
6579         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6580         ::close() by _Jv_close().
6581         * java/net/natPlainDatagramSocketImpl.cc:
6582         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6583         added some new lines to make code more readable.
6584         (create): Replaced ::socket() by _Jv_socket().
6585         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6586         * java/net/natPlainSocketImpl.cc:
6587         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6588         removed include of socket.h, removed some windows defines
6589         (now in include/win32.h).
6590         (create): Replaced ::socket() by _Jv_socket().
6591         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6592         (write): Replaced ::read by _Jv_write().
6593         (read): Replaced ::read by _Jv_read().
6594
6595 2002-11-20  Michael Koch <konqueror@gmx.de>
6596
6597         * Makefile.am (ordinary_java_source_files):
6598         Added java/nio/channels/FileChannel.java.
6599         * Makefile.in: Regenerated.
6600
6601 2002-11-20  Michael Koch <konqueror@gmx.de>
6602
6603         * java/io/FileInputStream.java
6604         (getChannel): New method.
6605         * java/io/FileOutputStream.java
6606         (getChannel): New method.
6607         * java/net/ServerSocket.java
6608         (bind): Removed duplicate code and called another bind method instead.
6609         * java/nio/channels/SelectionKey.java
6610         (isValid): Removed wrong exception documentation.
6611         * java/nio/channels/ServerSocketChannel.java
6612         (accept): Added exception documentation.
6613         (open): Fixed typo, added exception documentation.
6614         * java/nio/channels/spi/AbstractSelectableChannel.java
6615         (implCloseChannel): Added exception documentation.
6616         (add): Reformated.
6617         (register): Added exception documentation.
6618
6619 2002-11-20  Andreas Jaeger  <aj@suse.de>
6620
6621         * configure: Regenerated with new libtool.m4.
6622
6623 2002-11-19  Tom Tromey  <tromey@redhat.com>
6624
6625         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6626         `referent'.
6627         (finalize_referred_to_object): Don't modify `referent' or `copy'
6628         fields.
6629         (add_to_hash): Correctly set `n->next' when updating list.
6630         * java/lang/ref/Reference.java (enqueue): Return false if already
6631         enqueued.
6632
6633 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6634
6635         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6636         to function and function pointer declarations in accordance with
6637         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6638         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6639         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6640         JNI function definitions.
6641
6642 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6643
6644         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6645         that was causing CoderResults to be cached, not WeakReferences
6646         to CoderResults.
6647
6648 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6649
6650         * java/security/KeyStore.java (getInstance): Fix
6651         comment and throw IllegalArgumentException if
6652         given provider is null.
6653         (getInstance): New method for jdk1.4 compatibility.
6654
6655 2002-11-18  Michael Koch <konqueror@gmx.de>
6656
6657         * java/net/PlainSocketImpl.java: Fix imports.
6658
6659 2002-11-18  Michael Koch <konqueror@gmx.de>
6660
6661         * java/nio/channels/SelectionKey.java
6662         (isValid): Added exception documentation.
6663         * java/nio/channels/Selector.java
6664         (open): Declare "throws IOException".
6665
6666 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6667
6668         * java/nio/charset/Charset.java
6669         (<clinit>): New method.
6670         (encode): Synchronize use of cached encoder object.
6671         (decode): Synchronize use of cached encoder object.
6672
6673 2002-11-18  Michael Koch <konqueror@gmx.de>
6674
6675         * gnu/java/nio/ByteBufferImpl.java,
6676         gnu/java/nio/CharBufferImpl.java,
6677         gnu/java/nio/DatagramChannelImpl.java,
6678         gnu/java/nio/DoubleBufferImpl.java,
6679         gnu/java/nio/FileChannelImpl.java,
6680         gnu/java/nio/FloatBufferImpl.java,
6681         gnu/java/nio/IntBufferImpl.java,
6682         gnu/java/nio/LongBufferImpl.java,
6683         gnu/java/nio/PipeImpl.java,
6684         gnu/java/nio/SelectionKeyImpl.java,
6685         gnu/java/nio/SelectorImpl.java,
6686         gnu/java/nio/SelectorProviderImpl.java,
6687         gnu/java/nio/ServerSocketChannelImpl.java,
6688         gnu/java/nio/ShortBufferImpl.java,
6689         gnu/java/nio/SocketChannelImpl.java,
6690         java/nio/DoubleBuffer.java,
6691         java/nio/FloatBuffer.java,
6692         java/nio/IntBuffer.java,
6693         java/nio/LongBuffer.java,
6694         java/nio/ShortBuffer.java,
6695         java/nio/channels/FileChannel.java: New files.
6696
6697 2002-11-18  Michael Koch <konqueror@gmx.de>
6698
6699         * Makefile.am (ordinary_java_source_files):
6700         Added java/nio/ReadOnlyBufferException.java and
6701         java/nio/channels/ClosedSelectorException.java.
6702         * Makefile.in: Regenerated.
6703
6704 2002-11-18  Michael Koch <konqueror@gmx.de>
6705
6706         * java/net/PlainSocketImpl.java: Reworked imports.
6707         * java/net/ServerSocket.java
6708         (ServerSocket): Create socket.
6709         * java/net/SocketAddress.java: Documentation added.
6710         * java/net/natPlainSocketImpl.cc: Reindented.
6711         * java/nio/ReadOnlyBufferException.java: New file
6712         * java/nio/channels/ClosedChannelException.java: Documentation added.
6713         * java/nio/channels/ClosedSelectorException.java: New file.
6714
6715 2002-11-17  Mark Wielaard  <mark@klomp.org>
6716
6717         * java/net/HttpURLConnection.java ((getPermission): Take port
6718         into consideration.
6719         (getErrorStream): Implement.
6720
6721 2002-11-17  Mark Wielaard  <mark@klomp.org>
6722
6723         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6724
6725 2002-11-16  Mark Wielaard  <mark@klomp.org>
6726
6727         Integrate work by Raif S. Naffah (raif@fl.net.au)
6728         * java/security/DummyKeyPairGenerator.java (clone): New method.
6729         * java/security/DummyMessageDigest.java (clone): New method.
6730         (engineUpdate): Now public.
6731         (engineReset): Likewise.
6732         (engineDigest): Likewise.
6733         (engineGetDigestLength): New method.
6734         * java/security/DummySignature.java (clone): New method.
6735         * java/security/KeyPairGenerator.java (provider): Now package private.
6736         (getInstance(String)): Use getInstance(String,Provider).
6737         (getInstance(String,String): Use getInstance(String,Provider)
6738         (getInstance(String,Provider): New method.
6739         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6740         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6741         * java/security/MessageDigest.java (provider): Now package private.
6742         (getInstance(String): Use getInstance(String,Provider).
6743         (getInstance(String,String): Use getInstance(String,Provider)
6744         (getInstance(String,Provider): New method.
6745         * java/security/Provider.java (toCanonicalKey): New method.
6746         (get): New method that uses toCanonicalKey().
6747         (put): Use toCanonicalKey().
6748         (remove): Likewise.
6749         * java/security/Security.java (insertProviderAt): Provider index is one
6750         based, not zero based.
6751         (addProvider): Likewise.
6752         (removeProvider): Likewise.
6753         * java/security/Signature.java (provider): Now package private.
6754         (getInstance(String)): Use getInstance(String,Provider).
6755         (getInstance(String,String): Use getInstance(String,Provider)
6756         (getInstance(String,Provider): New method.
6757         (getInstance(String,String,Provider): Don't cast DummySignature.
6758
6759 2002-11-15  Tom Tromey  <tromey@redhat.com>
6760
6761         For PR libgcj/8593:
6762         * java/util/zip/GZIPInputStream.java (read): Check file size.
6763         Look in inflater for remaining input bytes.
6764         (read4): Added buf and offset arguments.
6765
6766 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6767
6768         * java/applet/AppletContext.java: Fix typo and remove redundant
6769         modifiers.
6770
6771 2002-11-14  Tom Tromey  <tromey@redhat.com>
6772
6773         * java/lang/natRuntime.cc (insertSystemProperties): Set
6774         gnu.classpath.home.
6775
6776 2002-11-13  Michael Koch <konqueror@gmx.de>
6777
6778         * java/nio/ByteBuffer.java
6779         (allocate): New method.
6780         (wrap): New method.
6781         (put): New method.
6782         (get): New method.
6783
6784 2002-11-13  Michael Koch <konqueror@gmx.de>
6785
6786         * java/nio/channels/AlreadyConnectedException.java:
6787         Removed unneeded import.
6788         (AlreadyConnectedException): Documentation added.
6789         * java/nio/channels/Pipe.java
6790         (SinkChannel.SinkChannel): Documentation added.
6791         (SinkChannel.validOps): New method.
6792         (SourceChannel.SourceChannel): Documentation added.
6793         (SourceChannel.validOps): New method.
6794         (Pipe): Documentation added.
6795         (open): Documentation added.
6796         (SinkChannel.channel): Documentation added.
6797         (SourceChannel.channel): Documentation added.
6798         * java/nio/channel/SelectableChannel.java
6799         (SelectableChannel): Documentation added.
6800         (blockingLock): Documentation added.
6801         (configureBlocking):Documentation added.
6802         (isBlocking):Documentation added.
6803         (isRegistered):Documentation added.
6804         (keyFor):Documentation added.
6805         (provider):Documentation added.
6806         (register): Documentation added.
6807         (validOps): Documentation added.
6808         * jaba/nio/channels/SelectionKey.java
6809         (SelectionKey): Documentation added.
6810         (attach): Documentation added.
6811         (attachment): Documentation added.
6812         (isAcceptable): Documentation added.
6813         (isConnetable): Documentation added.
6814         (isReadable): Documentation added.
6815         (isWritable): Documentation added.
6816         (cancel): Documentation added.
6817         (channel): Documentation added.
6818         (interestOps): Documentation added.
6819         (isValid): Documentation added.
6820         (readyOps): Documentation added.
6821         (selector): Documentation added.
6822         * jaba/nio/channels/Selector.java
6823         (Selector): Documentation added.
6824         (open): Documentation added.
6825         (close): Documentation added.
6826         (isOpen): Documentation added.
6827         (keys): Documentation added.
6828         (provider): Documentation added.
6829         (select): Documentation added.
6830         (selectedKeys): Documentation added.
6831         (selectNow): Documentation added.
6832         (wakeup): Documentation added.
6833         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6834         (AbstractInterruptibleChannel): Documentation added.
6835         (opened): Default to true;
6836         (begin): Documentation added.
6837         (close): Set opened to false, documentation added.
6838         (isOpen): Documentation added.
6839         * java/nio/channels/spi/AbstractSelectionKey.java
6840         (AbstractSelectionKey): Documentation added.
6841         (cancel): Documentation added.
6842         (isValid): Documentation added.
6843         * java/nio/channels/spi/AbstractSelector.java
6844         (AbstractSelector): Documentation added.
6845         (begin): Documentation added.
6846         (close): Documentation added.
6847         (isOpen): Documentation added.
6848         (deregister): Documentation added.
6849         (end): Documentation added.
6850         (provider): Documentation added.
6851         (implCloseSelector): Documentation added.
6852         (register): Documentation added.
6853         * java/nio/channels/spi/SelectorProvider.java
6854         (SelectorProvider): Documentation added.
6855         (openDatagramChannel): Documentation added.
6856         (openPipe): Documentation added.
6857         (openSelector): Documentation added.
6858         (openServerSocketChannel): Documentation added.
6859         (openSocketChannel): Documentation added.
6860         (provider): Documentation added.
6861
6862 2002-11-12  Michael Koch <konqueror@gmx.de>
6863
6864         * java/nio/Buffer.java: Implemented.
6865         * java/nio/CharBuffer.java: New file.
6866         * java/nio/InvalidMarkException.java: New file.
6867         * java/nio/channels/DatagramChannel.java: Implemented.
6868         * java/nio/channels/ServerSocketChannel.java: Implemented.
6869         * java/nio/channels/SocketChannel.java: Implemented.
6870         * java/nio/channels/spi/AbstractChannel.java: Removed.
6871         * java/nio/channels/spi/AbstractSelectableChannel.java:
6872         Implemented.
6873         * java/nio/charset/Charset.java:
6874         Merge from Classpath.
6875         * java/nio/charset/CharsetDecoder.java: New file.
6876         * java/nio/charset/CharsetEncoder.java: New file.
6877         * java/nio/charset/CoderResult.java: New file.
6878         * Makefile.am (ordinary_java_source_files): Added new files.
6879         * Makefile.in: Regenerated.
6880
6881 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6882
6883         * gnu/java/nio/charset/ISO_8859_1.java,
6884         gnu/java/nio/charset/Provider.java,
6885         gnu/java/nio/charset/US_ASCII.java,
6886         gnu/java/nio/charset/UTF_16.java,
6887         gnu/java/nio/charset/UTF_16BE.java,
6888         gnu/java/nio/charset/UTF_16Decoder.java,
6889         gnu/java/nio/charset/UTF_16Encoder.java,
6890         gnu/java/nio/charset/UTF_16LE.java,
6891         gnu/java/nio/charset/UTF_8.java: New files.
6892
6893 2002-11-11  Michael Koch <konqueror@gmx.de>
6894
6895         * java/nio/charset/CharacterCodingException.java:
6896         This class must be public.
6897         * java/nio/charset/CoderMalfunctionError.java:
6898         This class must be public.
6899         * java/nio/charset/CodingErrorAction.java:
6900         This class must be public.
6901         * java/nio/charset/IllegalCharsetNameException.java:
6902         This class must be public, better implementation.
6903         * java/nio/charset/MalformedInputException.java:
6904         This class must be public, better implementation.
6905         * java/nio/charset/UnmappableCharacterException.java:
6906         This class must be public, better implementation.
6907         * java/nio/charset/UnsupportedCharsetException.java:
6908         This class must be public, better implementation.
6909
6910 2002-11-11  Michael Koch <konqueror@gmx.de>
6911
6912         * java/nio/BufferOverflowException.java,
6913         java/nio/BufferUnderflowException.java: New file.
6914         * Makefile.am (ordinary_java_source_files):
6915         Added new files.
6916         * Makefile.in: Regenerated.
6917
6918 2002-11-10  Tom Tromey  <tromey@redhat.com>
6919
6920         * java/awt/Container.java (validate): Use tree lock.
6921         (getComponent): Likewise.
6922         (getComponents): Likewise.
6923         (addImpl): Likewise.
6924         (remove): Likewise.
6925         (removeAll): Likewise.
6926         (processEvent): Fixed indentation.
6927         (getComponentAt): Use tree lock.
6928         (findComponentAt): Likewise.
6929         (removeNotify): Likewise.
6930         (isAncestorOf): Likewise.
6931         (list): Likewise.
6932         (visitChildren): Likewise.
6933         (findNextFocusComponent): Likewise.
6934         (addNotifyContainerChildren): Likewise.
6935         (getAccessibleChildrenCount): Likewise.
6936         (getAccessibleChild): Likewise.
6937
6938         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6939         (getSize): Likewise.
6940         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6941         (getSize): Likewise.
6942         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6943         (calcSize): Likewise.
6944         * java/awt/CardLayout.java (getSize): Use tree lock.
6945         (gotoComponent): Likewise.
6946         (layoutContainer): Likewise.
6947
6948         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6949         count is 0.
6950         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6951         count is 0.
6952
6953         * java/io/Externalizable.java, java/io/FilePermission.java,
6954         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6955         java/io/SerializablePermission.java, java/text/Format.java,
6956         java/util/AbstractMap.java, java/util/HashMap.java,
6957         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6958         versions from Classpath.
6959
6960 2002-11-10  Anthony Green  <green@redhat.com>
6961
6962         * java/util/jar/Attributes.java (Name): Fix name check.
6963
6964 2002-11-10  Mark Wielaard  <mark@klomp.org>
6965
6966         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6967         with getName() as message.
6968         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6969         type as message.
6970
6971         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6972         unused.
6973
6974 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6975
6976         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6977         for Win32. JNICALL has been defined to __stdcall to be compatible
6978         with Sun's JDKs.
6979
6980 2002-11-10  Tom Tromey  <tromey@redhat.com>
6981
6982         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6983         (setRows): Check newRows, not rows.
6984
6985         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6986
6987 2002-11-09  Tom Tromey  <tromey@redhat.com>
6988
6989         * java/applet/Applet.java, java/applet/AppletContext.java,
6990         java/applet/AppletStub.java, java/applet/AudioClip.java,
6991         java/awt/CardLayout.java,
6992         java/awt/ContainerOrderFocusTraversalPolicy.java,
6993         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6994         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6995         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6996         java/awt/color/ICC_ColorSpace.java,
6997         java/awt/color/ICC_Profile.java,
6998         java/awt/color/ICC_ProfileGray.java,
6999         java/awt/color/ICC_ProfileRGB.java,
7000         java/awt/datatransfer/DataFlavor.java,
7001         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7002         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7003         New versions from Classpath.
7004         * Makefile.in: Rebuilt.
7005         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7006         ICC_ProfileRGB.
7007
7008         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7009         display policy.
7010
7011         * java/awt/List.java (processEvent): Added missing `else's.
7012
7013         * java/awt/Window.java (show): validate() before showing.  Make
7014         parent displayable.
7015         (isDisplayable): New method.
7016
7017 2002-11-07  Mark Wielaard  <mark@klomp.org>
7018
7019         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7020         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7021
7022         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7023         annotation.
7024         (loadClass): Take String as codebases.
7025         (getClassAnnotation): Use MyClassLoader annotations.
7026         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7027         call exportObject(this).
7028
7029         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7030         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7031         (setAnnotation): Don't set locBytesStream and locStream.
7032         (replaceObject): Removed.
7033         (flush): Don't test locStream.
7034         (getLocBytes): LikeWise.
7035         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7036         (leaseCache): New field.
7037         (dirty): Use leaseCache.
7038         (LeaseRecord): New inner class.
7039         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7040         explicitly call exportObject().
7041         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7042         false to communicate with Sun JDK130.
7043         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7044         * gnu/java/rmi/server/RMIObjectInputStream.java
7045         (UnicastConnectionManager): Removed field.
7046         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7047         Use UnicastServer.getExportedRef().
7048         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7049         (expireTime): Likewise.
7050         (CONNECTION_TIMEOUT): Likewise.
7051         (disconnect): Call sock.close().
7052         (isExpired): New method.
7053         (resetTime): Likewise.
7054         (run): Use do while loop and catch Exception for discardConnection().
7055         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7056         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7057         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7058         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7059         (exportObject): Use refcache.
7060         (unexportObject): Likewise.
7061         (getExportedRef): New method.
7062         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7063         constructor.
7064         (exportObject): Save manager.serverobj.
7065         (getStub): New method.
7066
7067 2002-11-07  Mark Wielaard  <mark@klomp.org>
7068
7069         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7070         (getByte): Likewise.
7071         (getShort): Likewise.
7072         (getInt): Likewise.
7073         (getLong): Likewise.
7074         (getFloat): Likewise.
7075         (getDouble): Likewise.
7076         (get): Likewise.
7077         (setChar): Likewise.
7078         (setByte): Likewise.
7079         (setShort): Likewise.
7080         (setInt): Likewise.
7081         (setLong): Likewise.
7082         (setFloat): Likewise.
7083         (setDouble): Likewise.
7084
7085 2002-11-07  Michael Koch <konqueror@gmx.de>
7086
7087         * java/awt/Choice.java,
7088         java/awt/Container.java,
7089         java/awt/GridBagLayout.java:
7090         Fixed documentation.
7091         * java/awt/peer/ContainerPeer.java:
7092         Reindented.
7093
7094 2002-11-07  Michael Koch <konqueror@gmx.de>
7095
7096         * java/awt/color/ICC_Profile.java:
7097         Added missing constants.
7098         * java/awt/color/ICC_ColorSpace.java
7099         (getMinValue): Added dummy implementation.
7100         (getMaxValue): Added dummy implementation.
7101         * java/awt/datatransfer/DataFlavor.java
7102         (imageFlavor): Added.
7103         (isMimeTypeEqual): Must be final.
7104         (getDefaultRepresentationClass): Must be non-static.
7105         (getDefaultRepresentationClassAsString): Must be non-static.
7106         * java/awt/dnd/DragSourceContext.java
7107         (dragExit): Corrected argument.
7108         (dragDropEnd): Corrected argument.
7109         * java/awt/dnd/DragSourceListener.java.java
7110         (dragExit): Corrected argument.
7111         (dragDropEnd): Corrected argument.
7112         * java/awt/font/TextHitInfo.java
7113         (toString): Added stubbed implementation.
7114         * java/awt/geom/PathIterator.java:
7115         The constants must be static.
7116         * java/awt/image/VolatileImage.java
7117         (IMAGE_INCOMPATIBLE): Fixed typo.
7118         * java/awt/image/renderable/RenderableImage.java
7119         (HINTS_OBSERVED): Must be static.
7120         * java/beans/BeanInfo.java:
7121         Constants must be final.
7122
7123 2002-11-06  Tom Tromey  <tromey@redhat.com>
7124
7125         From svens@it.uu.se.  For PR libgcj/8481.
7126         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7127
7128 2002-11-06  Tom Tromey  <tromey@redhat.com>
7129
7130         * jni.cc (array_from_valist): Assume that jlong won't be
7131         promoted.
7132
7133 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7134
7135         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7136         Return 20.
7137         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7138         Return 16.
7139
7140 2002-11-03  Tom Tromey  <tromey@redhat.com>
7141
7142         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7143         VMClassLoader, not findClass.
7144
7145 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7146
7147         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7148         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7149         _Jv_DetermineVTableIndex, to determine vtable offset.
7150         (_Jv_DetermineVTableIndex): Remove.
7151         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7152
7153         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7154
7155 2002-11-03  Tom Tromey  <tromey@redhat.com>
7156
7157         * java/nio/channels/AlreadyConnectedException.java: Extend
7158         IllegalStateException, per spec.
7159
7160 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7161
7162         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7163
7164 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7165
7166         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7167         size items.
7168
7169 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7170
7171         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7172         initial estimated size to avoid enlarge buffer frequently.
7173
7174 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7175
7176         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7177         ClassLoader when null.
7178         (ProxyType.hashCode): Loader null check no longer needed.
7179         (ProxyType.sameTypes): New method.
7180         (ProxyType.equals): Use new method.
7181
7182 2002-10-31  Mark Wielaard  <mark@klomp.org>
7183
7184         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7185         length of String.
7186         * java/net/URLEncoder.java (encode): Likewise.
7187
7188 2002-10-31  Mark Wielaard  <mark@klomp.org>
7189
7190         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7191         when stream is closed.
7192         (closeEntry): Likewise.
7193         (read): Likewise.
7194         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7195         ZipException when no entry active.
7196         (closeEntry): Likewise.
7197         (write): Likewise.
7198
7199 2002-11-02  Tom Tromey  <tromey@redhat.com>
7200
7201         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7202         * java/lang/natClass.cc (initializeClass): Don't return just
7203         because self==thread.
7204
7205         For PR java/8415:
7206         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7207         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7208
7209 2002-11-02  Andreas Schwab  <schwab@suse.de>
7210
7211         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7212         pass GCJFLAGS.
7213         (FLAGS_TO_PASS): Define.
7214         * Makefile.in: Regenerated.
7215
7216 2002-11-01  Michael Koch  <konqueror@gmx.de>
7217
7218         * java/nio/ByteOrder.java: New file.
7219         * java/nio/channels/DatagramChannel.java:
7220         (DatagramChannel): New constructor.
7221         * java/nio/channels/Pipe.java: New file.
7222         * java/nio/channels/SelectableChannel.java: New file.
7223         * java/nio/channels/SelectionKey.java: New file.
7224         * java/nio/channels/Selector.java: New file.
7225         * java/nio/channels/ServerSocketChannel.java
7226         (ServerSocketChannel): New constructor.
7227         * java/nio/channels/SocketChannel.java
7228         (SocketChannel): New constructor.
7229         * java/nio/channels/Pipe.java: New file.
7230         * java/nio/channels/spi/AbstractChannel.java: New file.
7231         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7232         * java/nio/channels/spi/AbstractSelectableChannel.java:
7233         License added
7234         (AbstractSelectableChannel): New stubbed method.
7235         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7236         * java/nio/channels/spi/AbstractSelector.java: New file.
7237         * java/nio/channels/spi/SelectorProvider.java: New file.
7238         * java/nio/charset/Charset.java: New file.
7239         * java/nio/charset/CoderMalfunctionError.java: New file.
7240         * java/nio/charset/CodingErrorAction.java: New file.
7241         * java/nio/charset/spi/CharsetProvider.java
7242         (charsetForName): Uncommented.
7243         * Makefile.am (java_native_source_files): Added new files.
7244         * Makefile.in: Regenerated.
7245
7246 2002-11-01  Michael Koch  <konqueror@gmx.de>
7247
7248         * java/net/InetAddress.java:
7249         (isAnyLocalAddress): Implemented.
7250         (isLoopbackAddress): Implemented, comment added.
7251         (isLinkLocalAddress): Implemented, documentation added.
7252         (isSiteLocalAddress): Implemented, documentation added.
7253         (isMCGlobal): Implemented, documentation added.
7254         (isMCNodeLocal): Implemented, documentation added.
7255         (isMCLinkLocal): Implemented, documentation added.
7256         (isMCSiteLocal): Implemented, documentation added.
7257         (isMCOrgLocal): Implemented, documentation added.
7258         (getHostName): Documentation added.
7259         (getCanonicalHostName): Implemented, documentation added.
7260         (getAddress): Documentation added.
7261         (hashCode): Documentation added.
7262         (equals): Documentation added.
7263         (toString): Fixed implementation.
7264         (getByAddress): Use Inet4Address and Inet6Address.
7265         (lookup): New linewrap.
7266         (getByName): SecurityManager check added, support Inet4Address and
7267         Inet6address, comments added.
7268         (getAllByName): SecurityManager check added, comments added.
7269         * java/net/Inet6Address.java:
7270         (Inet6Address): Initialize parent class with addr instead of null.
7271         * java/net/URL.java
7272         (equals): Documentation added.
7273         (getFile): Documentation added.
7274         (hashCode): Documentation added.
7275         * java/net/natInetAddress.cc:
7276         (aton): Fix IPv6 support.
7277         * java/net/natPlainDatagramSocketImpl.cc:
7278         (peek): Throw PortUnreachableException when suitable.
7279         (peekData): Throw PortUnreachableException when suitable.
7280         (send): Throw PortUnreachableException when suitable.
7281         (receive): Throw PortUnreachableException when suitable.
7282
7283 2002-10-27  Mark Wielaard  <mark@klomp.org>
7284
7285         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7286         argument.
7287         (readLeShort): Likewise and use byte[].
7288         (readLeInt): Likewise.
7289         (readEntries): Use new versions of methods and use byte[] for reading
7290         a complete zip entry. Add ZipFile name to exceptions.
7291         (entries): Add ZipFile name to exceptions.
7292         (getEntry): Likewise.
7293         (checkLocalHeader): Use new versions of methods and add ZipFile name
7294         to exceptions.
7295
7296 2002-10-31  Mark Anderson  <mark@panonet.net>
7297
7298         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7299         added
7300
7301 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7302
7303         * configure.in: Disable hash sync when not using threads.
7304         * configure: Regenerated.
7305
7306 2002-10-24  Tom Tromey  <tromey@redhat.com>
7307
7308         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7309         (_Jv_FindSymbolInExecutable): Removed argument name.
7310         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7311         java.library.path is set.
7312
7313         * gij.cc (help): Document --showversion.
7314         (version): Don't exit.
7315         (main): Handle --showversion.  Exit if --version given.
7316
7317 2002-10-23  Tom Tromey  <tromey@redhat.com>
7318
7319         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7320         (array_from_valist): Correctly handle promotion for jint, jlong,
7321         jfloat, and jdouble.
7322
7323 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7324
7325         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7326         GetFileAttributesEx( ) to find file length and modification times,
7327         as the latter is not present on Windows 95.
7328
7329 2002-10-21  Michael Koch  <konqueror@gmx.de>
7330
7331         * java/net/URL.java
7332         (URL): Activate SecurityManager checks.
7333         (equals): Use URLStreamHandler implementation instead of doing it
7334         alone. This allows special protocol stream handlers to change default
7335         behaviour.
7336         (hashCode): Use URLStreamHandler implementation instead of doing it
7337         alone. This allows special protocol stream handlers to change default
7338         behaviour.
7339         * java/net/URLStreamHandler.java
7340         (equals): Implemented default URL equality check.
7341         (hostsEqual): Implemented default URL equality check.
7342         (hashCode): Implemented default URL hashCode algorithm.
7343         * java/net/natPlainDatagramSocketImpl.cc:
7344         No lines longer then 80 characters.
7345
7346 2002-10-20  Adam Megacz <adam@xwt.org>
7347
7348         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7349         * configure.in: enabled hash sync on Win32
7350         * include/win32-threads.h (_Jv_ThreadId_t): added.
7351         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7352         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7353         removed some posix-isms, use Thread::sleep() instead of usleep,
7354         added code to clear bottom three bits if platform has a broken
7355         linker.
7356         * include/win32-threads.h (_Jv_ThreadId_t): added.
7357
7358 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7359
7360         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7361         runtime property "gnu.gcj.progname" containing the name used to
7362         invoke the current Java program (similar to argv[0] for C
7363         programs).
7364
7365 2002-10-15  Tom Tromey  <tromey@redhat.com>
7366
7367         Fix for PR libgcj/8234:
7368         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7369         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7370
7371 2002-10-13  Mark Wielaard  <mark@klomp.org>
7372
7373         * mauve-libgcj: Enable Mauve tests that compile now.
7374
7375 2002-10-11  Mark Wielaard  <mark@klomp.org>
7376
7377         Fix for PR libgcj/8142
7378         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7379         loading native modules.
7380
7381 2002-10-10  Michael Koch  <konqueror@gmx.de>
7382
7383         * javax/swing/AbstractListModel.java
7384         (getListDataListeners): New stubbed method.
7385         javax/swing/DefaultBoundedRangeModel.java
7386         (getChangeListeners): New stubbed method.
7387         javax/swing/DefaultSingleSelectionModel.java
7388         (getChangeListeners): New stubbed method.
7389
7390 2002-10-10  Michael Koch  <konqueror@gmx.de>
7391
7392         * gcj/.cvsignore: New file to ignore files generated during build.
7393         * include/.cvsignore: New file to ignore files generated during build.
7394
7395 2002-10-10  Michael Koch  <konqueror@gmx.de>
7396
7397         * java/net/HttpURLConnection.java
7398         (getPermission): New method.
7399         (getErrorStream): New stub method.
7400         (getHeaderFieldDate): New stub method.
7401         * java/net/Inet4Address.java:
7402         (isLinkLocalAddress): Typo fixed.
7403         * java/net/InetAddress.java:
7404         (readResolve): New stubbed method (for serialization).
7405         (isAnyLocalAddress): New stubbed method.
7406         (isLoopbackAddress): New stubbed method.
7407         (isLinkLocalAddress): New stubbed method.
7408         (isSiteLocalAddress): New stubbed method.
7409         (isMCGlobal): New stubbed method.
7410         (isMCNodeGlobal): New stubbed method.
7411         (isMCLinkLocal): New stubbed method.
7412         (isMCSiteLocal): New stubbed method.
7413         (isMCOrgLocal): New stubbed method.
7414         (getCanonicalHostName): New stubbed method.
7415         (getByAddress): Create instances of Inet4Address/Inet6Address,
7416         instead of InetAddress, documentation added.
7417         * java/net/MulticastSocket.java
7418         (getInterface): Removed FIXME.
7419         (getNetworkInterface): New method.
7420         (setNetworkInterface): New method.
7421         * java/net/NetworkInterface.java:
7422         (toString): Use property "line.separator" instead of "\n".
7423         * java/net/URLConnection.java
7424         (getContent): New stubbed method.
7425         * java/net/URLStreamHandler.java:
7426         (equals): New stubbed method.
7427         (hostsEqual): New stubbed method.
7428         (hashCode): New stubbed method.
7429         * java/net/natNetworkInterface.cc:
7430         (getRealNetworkInterfaces): Create Inet4Address object
7431         instead of InetAddress.
7432
7433 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7434
7435         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7436         unsigned long temporary to implement insn_iushr shifts.
7437
7438 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7439
7440         * configure.host [s390*-*]: Enable Java interpreter.
7441         Enable hash synchronization.  Add sysdeps dir.
7442         * sysdep/s390/locks.h: New file.
7443
7444 2002-10-06  Mark Wielaard  <mark@klomp.org>
7445
7446         * java/lang/Thread.java (setDaemon): Check startable_flag,
7447         not isAlive().
7448
7449 2002-10-07  Michael Koch  <konqueror@gmx.de>
7450
7451         * java/nio/Buffer.java: New stub file.
7452         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7453         of class Charset.
7454         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7455         * Makefile.in: Regenerated.
7456
7457 2002-10-07  Michael Koch  <konqueror@gmx.de>
7458
7459         * java/nio/ByteBuffer.java:
7460         removed import of not commited class.
7461
7462 2002-10-07  Michael Koch  <konqueror@gmx.de>
7463
7464         * java/nio/ByteBuffer.java,
7465         java/nio/MappedByteBuffer.java:
7466         New files, forgot to add these dummies.
7467         * Makefile.am (java_native_source_files): Added new files.
7468         * Makefile.in: Regenerated.
7469
7470 2002-10-07  Michael Koch  <konqueror@gmx.de>
7471
7472         * java/nio/channels/AlreadyConnectedException.java,
7473         java/nio/channels/ClosedChannelException.java,
7474         java/nio/channels/ReadableByteChannel.java,
7475         java/nio/channels/InterruptibleChannel.java,
7476         java/nio/channels/Channel.java,
7477         java/nio/channels/ByteChannel.java,
7478         java/nio/channels/GatheringByteChannel.java,
7479         java/nio/channels/ScatteringByteChannel.java,
7480         java/nio/channels/WritableByteChannel.java,
7481         java/nio/charset/CharacterCodingException.java,
7482         java/nio/charset/IllegalCharsetNameException.java,
7483         java/nio/charset/MalformedInputException.java,
7484         java/nio/charset/UnmappableCharacterException.java,
7485         java/nio/charset/UnsupportedCharsetException.java,
7486         java/nio/charset/spi/CharsetProvider.java: New file.
7487         These files are exceptions or interfaces,
7488         no real or abstract classes.
7489         * Makefile.am (java_native_source_files): Added new files.
7490         * Makefile.in: Regenerated.
7491
7492 2002-10-05  Michael Koch  <konqueror@gmx.de>
7493
7494         * java/net/InetAddress.java
7495         (getByAddress): Fixed documentation.
7496         (getByAddress): New method.
7497         * java/net/Inet4Address.java: New file.
7498         * java/net/URL.java
7499         (URL): Documentation added.
7500         (getContent): Documentation added.
7501         (getContent): New stubbed method.
7502         (getQuery): New method.
7503         (openConnection): Documentation added.
7504         (openStream): Documentation added.
7505         (setURLStreamHandlerFactory): Documentation added.
7506         * java/net/URI.java: New stub file.
7507         * Makefile.am
7508         (java_native_source_files): Added java/net/Inet4Address.java,
7509         java/net/Inet6Address.java and java/net/URI.java.
7510         * Makefile.in: Regenerated.
7511
7512 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7513
7514         * java/lang/ProtectionDomain.java (linesep): Remove field.
7515         (toString): Use System.getProperty("line.separator").
7516
7517 2002-10-04  Michael Koch  <konqueror@gmx.de>
7518
7519         * java/security/Identity.java: Added serialVersionUID.
7520         * java/security/KeyPair.java: Added serialVersionUID.
7521         * java/security/Provider.java: Added serialVersionUID.
7522         * java/security/SecureRandom.java: Added serialVersionUID.
7523         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7524         * java/security/SignedObject.java: Added serialVersionUID.
7525         * java/security/cert/Certificate.java: Added serialVersionUID.
7526
7527 2002-10-04  Mark Wielaard <mark@klomp.org>
7528
7529         * java/security/Security.java: Use java.home or gnu.classpath.home
7530         to load providers.
7531         (loadProviders): Extra dir argument.
7532         (getProvider): Return null when not found.
7533
7534 2002-10-04  Mark Wielaard  <mark@klomp.org>
7535
7536         * java/lang/Throwable.java: Remerge with Classpath.
7537
7538 2002-10-04  Michael Koch  <konqueror@gmx.de>
7539
7540         * java/net/InetAddress.java:
7541         (isMulticastAddress): Added documentation.
7542         (getHostAddress): Added documentation.
7543         (toString): Added documentation.
7544         (getByAddress): Fixed documentation.
7545         (getByName): Added documentation.
7546         (getAllByName): Added documentation.
7547         (getLocalHost): Added documentation.
7548
7549 2002-10-04  Michael Koch  <konqueror@gmx.de>
7550
7551         * java/beans/beancontext/BeanContextChildSupport.java:
7552         Added serialVersionUID.
7553         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7554         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7555         * javax/naming/Name.java: Added serialVersionUID.
7556
7557 2002-10-03  Adam Megacz <adam@xwt.org>
7558
7559         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7560         some functionality that isn't supported yet on WIN32.
7561
7562 2002-10-03  Tom Tromey  <tromey@redhat.com>
7563
7564         * Makefile.in: Rebuilt.
7565         * Makefile.am (awt_java_source_files): Added new files.
7566
7567 2002-10-03  Michael Koch  <konqueror@gmx.de>
7568
7569         * java/net/InetAddress.java
7570         (class InetAddress): Removed final keyword.
7571         (equals): Fixed typo.
7572         (getByAddress): New method.
7573
7574 2002-10-03  Michael Koch  <konqueror@gmx.de>
7575
7576         * java/awt/dnd/Autoscroll.java:
7577         New file, merge from Classpath.
7578         * java/awt/dnd/DragSourceAdapter.java:
7579         (dragExit): Fixed typos in argument type.
7580         (dragDropEnd): Fixed typos in argument type.
7581         * java/awt/dnd/DragSourceDropEvent.java:
7582         New file, merge from Classpath.
7583         * java/awt/dnd/DropTarget.java:
7584         Added stubs, merge from Classpath.
7585         * java/awt/dnd/DropTargetAdapter.java:
7586         New file, merge from Classpath.
7587         * java/awt/dnd/DropTargetContext.java:
7588         New file, merge from Classpath.
7589         * java/awt/dnd/DropTargetDragEvent.java:
7590         New file, merge from Classpath.
7591         * java/awt/dnd/DropTargetDropEvent.java:
7592         New file, merge from Classpath.
7593         * java/awt/dnd/DropTargetEvent.java:
7594         New file, merge from Classpath.
7595         * java/awt/dnd/DropTargetListener.java:
7596         New file, merge from Classpath.
7597         * java/awt/dnd/MouseDragGestureRecognizer.java:
7598         New file, merge from Classpath.
7599         * java/awt/dnd/peer/DropTargetContextPeer.java:
7600         New file, merge from Classpath.
7601
7602 2002-10-03  Michael Koch  <konqueror@gmx.de>
7603
7604         * java/net/DatagramPacket.java
7605         (setLength): Fixed typo and be HTML-aware.
7606         * java/net/InetSocketAddress.java
7607         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7608         (equals): Added comment about equality of InetSocketAddress objects.
7609         * java/net/ServerSocket.java
7610         (accept): Added checks.
7611         (isClosed): New stubbed method.
7612         * java/net/SocketOptions.java: Reindention.
7613         * java/net/SocketPermission
7614         (SocketPermission): Documentation fixed.
7615
7616 2002-10-03  Michael Koch  <konqueror@gmx.de>
7617
7618         * java/net/DatagramSocket.java
7619         (receive): Check with SecurityManager AFTER the packet is received,
7620         check if connected to multicast address, documentation added.
7621         (send): Only check SecurityManager if connected, check address of
7622         packet to send.
7623         (connect): Implemented, documentation added.
7624         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7625         * java/net/InetSocketAddress.java
7626         (whole file): Reindented.
7627         (hostname): New attribute.
7628         (InetSocketAddress): Initialize new attribute.
7629         (getAddress): Documentation added.
7630         (getHostName): Documentation added.
7631         (getPort): Documentation added.
7632         (hashCode): Documentation added.
7633         (isUnresolved): Documentation added.
7634         (toString): Conform to output of JDK 1.4.1, documentation added.
7635         * java/net/MulticastSocket.java
7636         (joinGroup): Removed FIXME, documentation added.
7637         (leaveGroup): Removed FIXME, documentation added.
7638         (send): Documentation added.
7639         * java/net/Socket.java
7640         (inputShutdown): New variable.
7641         (outputShutdown): New variable.
7642         (Socket): Initialize new variables.
7643         (getRemoteSocketAddress): Check if connected.
7644         (shutdownInput): Set new variable.
7645         (shutdownOutput): Set new variable.
7646         (isConnected): New method.
7647         (isClosed): New method.
7648         (isInputShutdown): New method.
7649         (isOutputShutdown): New method.
7650         * java/net/URLStreamHandler.java
7651         (URLStreamHandler): New method.
7652         (openConnection): Added documentation.
7653         (parseURL): Added documentation.
7654         (getHostAddress): New method.
7655         (getDefaultPort): New method.
7656
7657 2002-10-02  Tom Tromey  <tromey@redhat.com>
7658
7659         * java/rmi/activation/ActivationDesc.java,
7660         java/rmi/activation/ActivationGroupDesc.java,
7661         java/rmi/activation/ActivationGroupID.java,
7662         java/rmi/activation/ActivationID.java: New versions from
7663         Classpath.
7664
7665 2002-09-30  Bo Thorsen  <bo@suse.de>
7666
7667         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7668
7669 2002-09-30  Tom Tromey  <tromey@redhat.com>
7670
7671         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7672         from Classpath.
7673         * Makefile.in: Rebuilt.
7674         * Makefile.am (rmi_java_source_files): Added new files.
7675         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7676         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7677         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7678         Classpath.
7679         * gnu/java/rmi/dgc/DGCImpl.java,
7680         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7681         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7682         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7683         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7684         gnu/java/rmi/server/RMIHashes.java,
7685         gnu/java/rmi/server/RMIObjectInputStream.java,
7686         gnu/java/rmi/server/RMIObjectOutputStream.java,
7687         gnu/java/rmi/server/UnicastConnection.java,
7688         gnu/java/rmi/server/UnicastConnectionManager.java,
7689         gnu/java/rmi/server/UnicastRef.java,
7690         gnu/java/rmi/server/UnicastServer.java,
7691         gnu/java/rmi/server/UnicastServerRef.java,
7692         java/rmi/MarshalledObject.java,
7693         java/rmi/server/RMIClassLoader.java,
7694         java/rmi/server/RemoteObject.java,
7695         java/rmi/server/UnicastRemoteObject.java,
7696         java/security/SecureClassLoader.java: Merged from Classpath.
7697
7698 2002-09-29  Anthony Green  <green@redhat.com>
7699
7700         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7701         Imported from GNU Classpath.
7702         * java/lang/reflect/natProxy.cc: New file.
7703         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7704         from GNU Classpath.
7705         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7706         Classpath.
7707         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7708         Classpath.
7709         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7710         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7711         New statics.
7712         * gcj/javaprims.h ("Java"): Add new classes.
7713         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7714         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7715         java/lang/reflect/Proxy$$ProxyType.h): And this.
7716         (inner_nat_headers): Add these new headers.
7717         (ordinary_java_source_files): Add new files.
7718         (nat_source_files): Add new file.
7719         * Makefile.in: Rebuilt.
7720
7721 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7722
7723         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7724         a single configuration.
7725
7726 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7727
7728         * java/util/TimeZone.java (getDSTSavings): New method.
7729         Fixes PR libgcj/7786.
7730
7731 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7732
7733         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7734         to see if `the_method == 0' before looking up vtable index.
7735         Fixes PR libgcj/7709.
7736
7737 2002-09-25  Tom Tromey  <tromey@redhat.com>
7738
7739         * java/lang/natClassLoader.cc:
7740         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7741         * resolve.cc: Include NoClassDefFoundError.h, not
7742         ClassNotFoundException.h.
7743         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7744
7745         * defineclass.cc: Don't include ClassNotFoundException.h.
7746
7747         * resolve.cc: Include StringBuffer.
7748         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7749
7750         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7751         allocated but not initialized.
7752
7753 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7754
7755         Fix for PR libgcj/7766:
7756         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7757         (getNextEntry): Set it.
7758         (closeEntry): Likewise.
7759         (read): Likewise.
7760         (close): Likewise.
7761         (available): Use it.
7762
7763 2002-09-25  Michael Koch  <konqueror@gmx.de>
7764
7765         * java/net/DatagramSocket.java
7766         (DatagramSocket): Initialize new instance variables.
7767         (close): Reset new instance variables.
7768         (getLocalAddress): Remove unneeded SecurityManager usage.
7769         (getLocalPort): Check if socket is already bound.
7770         (isConnected): New method.
7771         (getInetAddress): Implemented.
7772         (getPort): Better Implementation, documentation fixed.
7773         (getRemoteSocketAddress): New method.
7774         * java/net/JarURLConnection.java
7775         (element): Typo fixed.
7776         (getMainAttributes): New method.
7777         (getAttributes): New method (stub only).
7778         (getManifest): New method (stub only).
7779         * java/net/NetPermission.java: Added serialVersionsUID.
7780         * java/net/Socket.java
7781         (connect): Check blocking mode of associated channel,
7782         documentation added.
7783         (getLocalSocketAddress): Better implementation.
7784         (getRemoteSocketAddress): Implemented.
7785         (isBound): New method.
7786         (setSendBufferSize): Documentation added.
7787         * java/net/SocketAddress.java: Added serialVersionsUID.
7788         * java/net/SocketPermission.java: Added serialVersionsUID.
7789         * java/net/URL.java
7790         (URL): Wrap for shorter lines, initialize new instance variables,
7791         documentation added.
7792         (equals): Check new instance variables too.
7793         (getContent): Documentation added.
7794         (getPath): Documentation added.
7795         (getAuthority): New method.
7796         (getHost): Documentation added.
7797         (getPort): Documentation added.
7798         (getDefaultPort): New method.
7799         (getProtocol): Documentation added.
7800         (getUserInfo): Documentation added.
7801         (set): Initialize new instance variables, documentation added.
7802         * java/net/URLStreamHandler.java
7803         (setURL): New method.
7804         * java/net/natPlainDatagramSocketImpl.cc
7805         (connect): Fix exception name.
7806         (disconnect): Fix exception name.
7807
7808 2002-09-25  Michael Koch  <konqueror@gmx.de>
7809
7810         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7811         * java/nio/channels/DatagramChannel.java:
7812         extends AbstractSelectableChannel
7813         * java/nio/channels/ServerSocketChannel.java:
7814         extends AbstractSelectableChannel
7815         * java/nio/channels/SocketChannel.java:
7816         extends AbstractSelectableChannel
7817         * Makefile.am (ordinary_java_source_files):
7818         java/nio/channels/spi/AbstractSelectableChannel.java added.
7819         * Makefile.in: Regenerated.
7820
7821 2002-09-25  Michael Koch  <konqueror@gmx.de>
7822
7823         * java/net/DatagramSocket.java
7824         (DatagramSocket): Exception documentation added.
7825         (bind): Exception documentation added, addded SecurityManager check,
7826         added SocketAddress type check.
7827         (getSoTimeout): Check impl.
7828         (receive): Fix SecurityManager check, check impl, documentation added.
7829         (send): Check channel mode, documentation added.
7830         (connect): New method.
7831         (disconnect): Implemented.
7832         (getLocalSocketAddress): New method.
7833         (getReceiveBufferSize): Check impl.
7834         (setReuseAddress): Check impl.
7835         (getReuseAddress): Check impl.
7836         (setBroadcast): Check impl.
7837         (getBroadcast): Check impl.
7838         (setTrafficClass): Check impl, Documentation cleared.
7839         (getTrafficClass): Check impl.
7840         (getSendBufferSize): Check impl.
7841         (setReceiveBufferSize): Check impl, documentation added.
7842         (setSendBufferSize): Documentation added.
7843         (setDatagramSocketImplFactory): New method.
7844         * java/net/HttpURLConnection.java
7845         (HTTP_INTERNAL_ERROR): The correct code is 500.
7846         (HTTP_NOT_IMPLEMENTED): Added new constant.
7847         (setFollowRedirects): Documentation added.
7848         (getInstanceFollowRedirects): New method.
7849         (setInstanceFollowRedirects): New method.
7850         (setRequestMethod): Documentation added.
7851         (getResponseCode): Documentation added.
7852         (getResponseMessage): Documentation added.
7853         * java/net/JarURLConnection.java
7854         (JarURLConnection): protected since JDK 1.4.
7855         (getJarEntry): java.io.IOException to IOException, documentation added.
7856         (getJarFile): Documentation added.
7857         * java/net/ServerSocket.java
7858         (ServerSocket): Private to public, exception added.
7859         (ServerSocket): java.io.IOException to IOException, documentation added.
7860         (bind): Check socket address type, documentation added.
7861         (bind): java.io.IOException to IOException, documentation added.
7862         (accept): Documentation added.
7863         (implAccept): Check ch is not non-blocking, documentation added.
7864         (setSoTimeout): Documentation fixed.
7865         (setReceiveBufferSize): Documentation added.
7866         * java/net/Socket.java
7867         (Socket): Documentation added.
7868         (bind): Documentation added.
7869         (connect): Check socket address type, documentation added.
7870         (getRemoteSocketAddress): New method.
7871         (getLocalSocketAddress): New method.
7872         (setSoLinger): Documentation added.
7873         (getReuseAddress): New method.
7874         (setReuseAddress): New method.
7875         (getTrafficClass): New method.
7876         (setTrafficClass): New method.
7877         * java/net/URLStreamHandler.java
7878         (openConnection): java.io.IOException to IOException.
7879         (parseURL): Documentation added.
7880         (sameFile): public to protected, documentation added.
7881         (setURL): Documentation added.
7882         * java/nio/IllegalBlockingModeException.java: New file.
7883         * Makefile.am (ordinary_java_source_files):
7884         added java/nio/IllegalBlockingModeException.java
7885         * Makefile.in: Regenerated.
7886
7887 2002-09-25  Michael Koch  <konqueror@gmx.de>
7888
7889         * java/net/DatagramPacket
7890         (DatagramPacket): Exception documentation added.
7891         (setData): Likewise.
7892         (setSocketAddress): Likewise.
7893         * java/net/DatagramSocketImpl.java
7894         (peek): Documentation addded.
7895         (peekData): Documentation addded.
7896         (send): Documentation addded.
7897         (receive): Documentation addded.
7898         (connect): New method.
7899         (disconnect): New method.
7900         (joinGroup): New abstract method.
7901         (leaveGroup): New abstract method.
7902         * java/net/InetSocketAddress.java
7903         (InetSocketAddress): Documentation added.
7904         (equals): final keyword added.
7905         (getAddress): final keyword added.
7906         (getHostName): final keyword added.
7907         (getPort): final keyword added.
7908         (hashCode): final keyword added.
7909         (isUnresolved): final keyword added.
7910         * java/net/MulticastSocket.java
7911         (MulticastSocket): Documentation added.
7912         (MulticastSocket): New method.
7913         (joinGroup): Documentation added.
7914         (joinGroup): New method.
7915         (leaveGroup): Documentation added.
7916         (leaveGroup): New method.
7917         (send): Documentation added.
7918         * java/net/NetworkInterface.java
7919         (getByName): Documentation added.
7920         (getByInetAddress): Documentation added.
7921         (getNetworkInterfaces): Documentation added.
7922         * java/net/PlainDatagramSocketImpl.java
7923         (connect): New method.
7924         (disconnect): New method.
7925         * java/net/SocketImpl.java
7926         (create): Documentation added.
7927         (shutdownInput): Convert public to protected, as it always was.
7928         (shutdownOutput): Convert public to protected, as it always was.
7929         * java/net/SocketOptions.java
7930         (whole file): Reintented.
7931         * java/net/URLClassLoader.java
7932         (URLClassLoader): SecurityManager check added, documentation added.
7933         (findResources): Documentation added.
7934         (findClass): Documentation added.
7935         (newInstance): More correct method arguments.
7936         * java/net/URLConnection.java
7937         (connect): Documentation added.
7938         (getContent): Documentation added.
7939         (getPermission): Documentation added.
7940         (getInputStream): Documentation added.
7941         (getOutputStream): Documentation added.
7942         (setDoInput): Throw correct exception, documentation added.
7943         (setDoOutput): Throw correct exception, documentation added.
7944         (setAllowUserInteraction): Throw correct exception, documentation added.
7945         (setUseCaches): Throw correct exception, documentation added.
7946         (setIfModifiedSince): Throw correct exception, documentation added.
7947         (setRequestProperty): Throw exception, documentation added.
7948         (addRequestProperty): Throw exception, documentation added.
7949         (getRequestProperty): Throw exception, documentation added.
7950         (getRequestProperties): Documentation added.
7951         (setContentHandlerFactory): Documentation added.
7952         (guessContentTypeFromName): protected to public.
7953         (setFileNameMap): Documentation added.
7954         * java/net/URLDecoder.java
7955         (URLDecoder): New method.
7956         (decode): Documentation added.
7957         (whole file): Reindented.
7958         * java/net/URLEncoder.java
7959         (encode): Documentation added.
7960         * java/net/natPlainDatagramSocketImpl.cc
7961         (connect): New method.
7962         (disconnect): New method.
7963         * javax/naming/RefAddr:
7964         (addrType): addrType was never final.
7965         (equals): Fix typo in method name.
7966         * javax/naming/BinaryRefAddr:
7967         (equals): Fix typo in method name.
7968
7969 2002-09-22  Tom Tromey  <tromey@redhat.com>
7970
7971         Fix for PR libgcj/6576:
7972         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7973         didn't find a given bundle.
7974         (getBundle): Don't require base bundle.
7975         (setParent): Removed old comment.
7976         (tryLocalBundle): Try components even if preceding components were
7977         empty.
7978
7979 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7980
7981         * Makefile.am (all-multi): Fix multilib parallel build.
7982
7983 2002-09-21  Michael Koch  <konqueror@gmx.de>
7984
7985         * java/net/Socket.java
7986         (sendUrgentData): New method.
7987         (getChannel): New method.
7988         * java/net/ServerSocket.java
7989         (getChannel): New method.
7990         (isBound): New method.
7991         * java/net/DatagramSocket.java
7992         (DatagramSocket): Two new methods.
7993         (bind): New method.
7994         (getChannel): New method.
7995         (isBound): New method.
7996         (send): Added newline to to make shorter lines.
7997         * java/net/PlainDatagramSocketImpl.java
7998         (mcastGrp): Added argument.
7999         (join): Use new mcastGrp.
8000         (leave): Use new mcastGrp.
8001         (joinGroup): New method.
8002         (leaveGroup): New method.
8003         * java/net/natPlainDatagramSocketImpl.cc
8004         (mcastGrp): Added argument, no yet really implemented.
8005         (getOption): Added newline for shorter lines.
8006         * java/net/natPlainSocketImpl.cc
8007         (read, setOption, getOption): Added newline for shorter lines.
8008
8009 2002-09-19  Tom Tromey  <tromey@redhat.com>
8010
8011        * java/lang/ClassLoader.java (resolveClass0): Set cause for
8012        newly-created exception.
8013
8014 2002-09-18  Michael Koch  <konqueror@gmx.de>
8015
8016         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8017         java/util/regex/PatternSyntaxException.java:
8018         Merge with classpath, new files.
8019         * Makefile.am (core_java_source_files):
8020         Added java/util/regex/Matcher.java,
8021         java/util/regex/Pattern.java,
8022         java/util/regex/PatternSyntaxException.java
8023         * Makefile.in: Regenerated.
8024         * include/config.h.in: Added HAVE_NET_IF_H.
8025         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8026         Removed #if 0 ... #endif.
8027
8028 2002-09-17  Michael Koch  <konqueror@gmx.de>
8029
8030         * java/net/natNetworkInterface.cc:
8031         Removed unneed and yet wrong includes.
8032
8033 2002-09-17  Michael Koch  <konqueror@gmx.de>
8034
8035         * java/net/NetworkInterface.java: New file.
8036         * java/net/natNetworkInterface.java: New file.
8037         * configure.in: Added check for net/if.h.
8038         * configure: Regenerated.
8039         * Makefile.am
8040         (ordinary_java_source_files): Added NetworkInterface.java.
8041         (nat_source_files): Added natNetworkInterface.cc.
8042         * Makefile.in: Regenerated.
8043
8044 2002-09-16  Tom Tromey  <tromey@redhat.com>
8045
8046         * java/net/URLClassLoader.java (findClass): Code source for a
8047         class from a jar is not necessarily a jar: URL.
8048
8049 2002-09-16  Michael Koch  <konqueror@gmx.de>
8050
8051         * java/lang/AssertionError.java:
8052         Merge with classpath, fixes HTML.
8053         * java/rmi/server/LogStream.java:
8054         Merge with classpath, fixes some constants.
8055         * java/net/server/RemoteServer.java:
8056         Merge with classpath, adds serialVersionUID.
8057         * javax/naming/BinaryRefAddr.java:
8058         Merge with classpath, s/equal/equals/.
8059         * javax/naming/NamingException.java:
8060         Merge with classpath, fixed typo.
8061         * javax/naming/RefAddr.java:
8062         Merge with classpath, s/equal/equals/.
8063         * java/awt/Toolkit.java:
8064         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8065         and typo fixed.
8066
8067 2002-09-15  Adam Megacz <adam@xwt.org>
8068
8069         * java/net/natPlainSocketImpl.cc: fixed typo.
8070
8071 2002-09-15  Adam Megacz <adam@xwt.org>
8072
8073         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8074         which don't work on Win32 (yet).
8075
8076 2002-09-14  Adam Megacz <adam@xwt.org>
8077
8078         * java/net/natPlainDatagramSocket.cc: removed #include
8079         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8080         * include/win32.h: included definition for IP_TOS to satisfy
8081         natPlainDatagramSocket.cc
8082
8083 2002-09-13  Michael Koch  <konqueror@gmx.de>
8084
8085         * java/net/DatagramPacket.java (DatagramPacket):
8086         Added linebreak for 80 chars per line.
8087         * java/net/JarURLConection.java
8088         (getInputStreami, getJarEntry): Likewise.
8089         * java/net/SocketPErmission.java
8090         (SocketPermission class docu, implies): Likewise.
8091         * java/net/URLClassLoader.java (findResources): Likewise.
8092         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8093
8094 2002-09-13  Michael Koch  <konqueror@gmx.de>
8095
8096         * java/nio/channels/DatagramChannel.java,
8097         java/nio/channels/ServerSocketChannel.java
8098         java/nio/channels/SocketChannel.java:
8099         New dummy files to make java.net fully JDK 1.4 compatible
8100         * Makefile.am (ordinary_java_source_files): Added
8101         java/net/DatagramSocketImplFactory.java (long forgotten),
8102         java/nio/SocketChannel.java,
8103         java/nio/ServerSocketChannel.java,
8104         java/nio/DatagramChannel.java
8105         * Makefile.in: Regenrated.
8106
8107 2002-09-12  Michael Koch  <konqueror@gmx.de>
8108
8109         * java/net/DatagramSocketImpl.java
8110         (peekData): New method.
8111         * java/net/PlainDatagramSocketImpl.java
8112         (peekData): New method.
8113         * java/net/natPlainDatagramSocketImpl.cc
8114         (peekData): New method.
8115         * java/net/URLConnection
8116         (getPermission): New method.
8117         (addRequestProperty): New method.
8118         (getRequestProperties): New method.
8119         (guessContentTypeFromStream): New method, not really implemented.
8120         (URLConnection): Added/updated documentation.
8121         (connect): Added/updated documentation.
8122         (getURL): Added/updated documentation.
8123         (getContentLength): Added/updated documentation.
8124         (getContentType: Added/updated documentation.
8125         (getContentEncoding): Added/updated documentation.
8126         (getExpiration): Added/updated documentation.
8127         (getDate): Added/updated documentation.
8128         (getLastModified): Added/updated documentation.
8129         (getHeaderField): Added/updated documentation.
8130         (getHeaderFields): Added/updated documentation.
8131         (getHeaderFieldInt): Added/updated documentation.
8132         (getHeaderFieldDate): Added/updated documentation.
8133         (getHeaderFieldKey): Added/updated documentation.
8134         (getContent): Added/updated documentation.
8135         (getInputStream): Added/updated documentation.
8136         (getOutputStream): Added/updated documentation.
8137         (toString): Added/updated documentation.
8138         (setDoInput): Added/updated documentation.
8139         (getDoInput): Added/updated documentation.
8140         (setDoOutput): Added/updated documentation.
8141         (getDoOutput): Added/updated documentation.
8142         (setAllowUserInteraction): Added/updated documentation.
8143         (getAllowUserInteraction): Added/updated documentation.
8144         (setDefaultAllowUserInteraction): Added/updated documentation.
8145         (getDefaultAllowUserInteraction): Added/updated documentation.
8146         (setUseCaches): Added/updated documentation.
8147         (getUseCaches): Added/updated documentation.
8148         (setIfModifiedSince): Added/updated documentation.
8149         (getIfModifiedSince): Added/updated documentation.
8150         (getDefaultUseCaches): Added/updated documentation.
8151         (setDefaultUseCaches): Added/updated documentation.
8152         (setRequestProperty): Added/updated documentation.
8153         (getRequestProperty): Added/updated documentation.
8154         (setDefaultRequestProperty): Added/updated documentation.
8155         (getDefaultRequestProperty): Added/updated documentation.
8156         (setContentHandlerFactory): Added/updated documentation.
8157         (guessContentTypeFromName): Added/updated documentation.
8158         (getFileNameMap): Added/updated documentation.
8159         (setFileNameMap): Added/updated documentation.
8160
8161 2002-09-11  Michael Koch  <konqueror@gmx.de>
8162
8163         * java/net/Socket.java
8164         (Socket): protected to public (since JDK 1.4). Added @specnote.
8165         (bind): New method.
8166         (connect): Two new methods.
8167         (getKeepalive): Get correct socket option.
8168         (setKeepalive): Set correct socket option.
8169         (getOOBInline): New method.
8170         (setOOBInline): New method.
8171         * java/net/ServerSocket.java
8172         (bind): Two new methods.
8173         (getInetAddress): Reimplemented, catch exception.
8174         (getLocalSocketAddress): New method.
8175         (setReuseAddress): New method.
8176         (getReuseAdress): New method.
8177         (setReceiveBufferSize): New method.
8178         (getReceiveBufferSize): New method.
8179         (toString): Made string JDK 1.4 compliant.
8180
8181 2002-09-10  Michael Koch  <konqueror@gmx.de>
8182
8183         * java/net/SocketImpl.java
8184         (connect): New method.
8185         (supportsUrgentData): New method.
8186         (sendUrgentData): New method.
8187         * java/net/PlainSocketImpl.java
8188         (connect): One new method and two new implementation.
8189         (sendUrgentData): New method.
8190         * java/natPlainSocketImpl.cc
8191         (connect): Arguments changed, added support for timeouts.
8192         (getOption): Another __java_boolean to jboolean.
8193
8194 2002-09-07  Adam Megacz <adam@xwt.org>
8195
8196         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8197         definition of IP_TOS.
8198
8199 2002-09-04  Michael Koch  <konqueror@gmx.de>
8200
8201         * java/net/DatagramSocket.java
8202         (DatagramSocket): Added documentation.
8203         (close): Likewise.
8204         (getLocalAddress): Likewise.
8205         (getLocalPort): Likewise.
8206         (receive): Likewise.
8207         (send): Likewise.
8208         (setSoTimeout): Likewise.
8209         (connect): New method.
8210         (disconnect): New method.
8211         (getInetAddress): New method (FIXME)
8212         (getPort): New method.
8213         (setReuseAddress): New method.
8214         (getReuseAddress): New method.
8215         (setBroadcast): New method.
8216         (getBroadcast): New method.
8217         (setTrafficClass): New method.
8218         (getTrafficClass): New method.
8219         * java/net/MulticastSocket.java):
8220         (getTTL): Added @see in documentation.
8221         (setTTL): Added @see in documentation.
8222         (setLoopbackMode): New method.
8223         (getLoopbackMode): New method.
8224         * java/net/PlainSocketImpl.java:
8225         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8226         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8227         * java/net/PlainDatagramSocketImpl.java
8228         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8229         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8230         * java/net/natPlainSocketImpl.cc
8231         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8232         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8233         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8234         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8235         This should also fix SO_KEEPALIVE
8236         * java/net/natPlainDatagramSocketImpl.cc
8237         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8238         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8239         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8240         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8241
8242 2002-09-04  Michael Koch  <konqueror@gmx.de>
8243
8244         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8245         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8246         IP_MULTICAST_LOOP, IP_TOS
8247
8248 2002-09-03  Tom Tromey  <tromey@redhat.com>
8249
8250         * java/lang/Class.h (_getDeclaredMethod): Declare.
8251         (_getMethod): Now private.
8252         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8253         getDeclaredMethod.  Now returns NULL on failure.
8254         * java/lang/Class.java (_getDeclaredMethod): Declare.
8255         (getDeclaredMethod): No longer native; implements access checks.
8256
8257 2002-09-01  Mark Wielaard  <mark@klomp.org>
8258
8259         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8260         (sanitizeStack): Correctly reset unknown and interpreter counters,
8261         detect interpreter runtime frames.
8262         (demangleInterpreterMethod): New method.
8263         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8264         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8265         filling in addrs[].
8266
8267 2002-09-02  Michael Koch  <konqueror@gmx.de>
8268
8269         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8270         re-indented documentation.
8271
8272 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8273
8274         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8275         public, per 1.4 spec.  Fixes PR libgcj/7785.
8276
8277 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8278
8279         * Makefile.in: Rebuilt.
8280         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8281
8282 2002-08-29  Tom Tromey  <tromey@redhat.com>
8283
8284         * java/net/JarURLConnection.java (getCertificates): New method
8285         from Classpath.
8286         * java/net/URLClassLoader.java (URLClassLoader): Extends
8287         SecureClassLoader.
8288         (definePackage): New method from Classpath.
8289         (getPermissions): Likewise.
8290         (newInstance): Likewise.
8291         (findClass): Construct CodeSource for new class (from Classpath).
8292         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8293         methods.
8294         * java/net/URL.java (getUserInfo): New method.
8295         (set(String,String,int,String,String,String,String,String)): New
8296         method.
8297         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8298         (shutdownInput, shutdownOutput): Declare.
8299         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8300         Define.
8301         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8302         (getOption): Likewise.
8303         (shutdownInput): New method.
8304         (shutdownOutput): Likewise.
8305         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8306         keepalive.
8307         (getOption): Likewise.
8308         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8309         * java/net/Socket.java (setKeepAlive): New method.
8310         (getKeepAlive): Likewise.
8311         (shutdownInput, shutdownOutput): New methods.
8312
8313 2002-08-29  Michael Koch  <konqueror@gmx.de>
8314
8315         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8316         new methods are:
8317         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8318           address),
8319         DatagramPacket(byte[] buf, int length, SocketAddress address),
8320         void setSocketAddress(SocketAddress address)
8321         public SocketAddress getSocketAddress()
8322
8323 2002-08-29  Tom Tromey  <tromey@redhat.com>
8324
8325         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8326         ftruncate is missing.
8327         * configure, include/config.h.in: Rebuilt.
8328         * acconfig.h (HAVE_FTRUNCATE): Mention.
8329         * configure.in: Check for ftruncate.
8330
8331 2002-08-29  Tom Tromey  <tromey@redhat.com>
8332
8333         * include/jvm.h (struct _Jv_frame_info): New structure.
8334         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8335         java-interp.h.
8336         (lookupInterp): New method.
8337         (getAddrAsString): Use _Jv_frame_info.
8338         (dladdrLookup): Likewise.
8339         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8340         interpreted frame.
8341         (lookupInterp): Declare.
8342         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8343         (fillInStackTrace): Collect information on interpreted frames.
8344         Use _Jv_frame_info.
8345         * interpret.cc: Include Thread.h.
8346         (run): Create and push _Jv_MethodChain object.
8347         (_Jv_EndOfInterpreter): New global.
8348         * java/lang/Thread.java (interp_frame): New field.
8349         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8350         Include NameFinder.h.
8351
8352 2002-08-28  Tom Tromey  <tromey@redhat.com>
8353
8354         * java/lang/Class.h: Include Package.h.
8355         (Class::getProtectionDomain): Declare.
8356         (Class::getPackage): Declare.
8357
8358 2002-08-28  Michael Koch <konqueror@gmx.de>
8359
8360         * java/net/InetSocketAddress.java: Added some documentation and argument
8361         checks for the port numbers.
8362         * java/net/DatagramSocketImplFactory.java: New file.
8363
8364 2002-08-28  Michael Koch <konqueror@gmx.de>
8365
8366         * java/net/Authenticator.java: added some documentation.
8367
8368 2002-08-27  Tom Tromey  <tromey@redhat.com>
8369
8370         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8371         class.
8372         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8373
8374 2002-08-27  Michael Koch <konqueror@gmx.de>
8375
8376         * java/net/BindException.java,
8377         java/net/JarURLConnection.java,
8378         java/net/FileNameMap.java,
8379         java/net/HttpURLConnection.java,
8380         java/net/InetSocketAddress.java,
8381         java/net/DatagramPacket.java,
8382         java/net/DatagramSocket.java,
8383         java/net/DatagramSocketImpl.java,
8384         java/net/MulticastSocket.java,
8385         java/net/PasswordAuthentication.java,
8386         java/net/ServerSocket.java,
8387         java/net/Socket.java,
8388         java/net/URLClassLoader.java,
8389         java/net/URLConnection.java: add/update of some @since/@deprecated
8390
8391 2002-08-27  Tony Kimball <alk@pobox.com>
8392             Tom Tromey  <tromey@redhat.com>
8393
8394         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8395         define.
8396         (::close): Removed.
8397         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8398         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8399         (::close): Removed.
8400         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8401         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8402
8403 2002-08-25  Adam Megacz <adam@xwt.org>
8404
8405         * include/win32.h (getcwd): copied function declaration as
8406         temporary fix for header confusion.
8407
8408 2002-08-24  Mark Wielaard <mark@klomp.org>
8409
8410         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8411         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8412         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8413         and natNameFinder.cc.
8414         * Makefile.in: Regenerate.
8415         * prims.cc: Use trace_enabled from VMThrowable.
8416         * name-finder.cc: Removed.
8417         * gcj/javaprims.h: Add class VMThrowable.
8418         * gnu/gcj/runtime/NameFinder.java: New file.
8419         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8420         * include/name-finder.h: Removed.
8421         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8422         method stackTraceString().
8423         (printStackTrace (PrintWriter)): Likewise.
8424         (stackTraceString): Complete rewrite of old printStackTrace using
8425         StringBuffer.
8426         (stackTraceStringBuffer): New helper method for stackTraceString().
8427         (fillInStackTrace): Delegate to VMTrowable.
8428         (getStackTrace): Likewise.
8429         (getStackTrace0): Removed.
8430         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8431         (setStackTrace): Copy given array.
8432         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8433         * java/lang/VMThrowable.java: New class.
8434         * java/lang/natVMThrowable.cc: New file.
8435
8436 2003-08-23  Michael Koch  <konqueror@gmx.de>
8437
8438         * java/net/URLConnection.java,
8439         java/netJarURLConnection.java,
8440         gnu/gcj/protocol/core/Connection.java,
8441         gnu/gcj/protocol/file/Connection.java,
8442         gnu/gcj/protocol/http/Connection.java: Added implementation of
8443         getHeaderFields().
8444
8445 2002-08-22  Tom Tromey  <tromey@redhat.com>
8446
8447         * gij.cc (help): Document -cp and -classpath.
8448         (main): Handle -classpath.
8449
8450 2002-08-21  Tom Tromey  <tromey@redhat.com>
8451
8452         * Makefile.in: Rebuilt.
8453         * Makefile.am (ordinary_java_source_files): Added
8454         SocketAddress.java, InetSocketAddress.java.
8455         * java/net/PortUnreachableException.java: Merged with Classpath.
8456         * java/net/SocketTimeoutException.java: Likewise.
8457         * java/net/URISyntaxException.java: Likewise.
8458         * java/net/SocketAddress.java: New class from Classpath.
8459         * java/net/InetSocketAddress.java: Likewise.
8460
8461 2003-08-21  Michael Koch  <konqueror@gmx.de>
8462
8463         * java/net/Authenticator.java: updated JDK 1.4
8464         * java/net/ContentHandler.java: updated JDK 1.4
8465
8466 2002-08-20  Michael Koch  <konqueror@gmx.de>
8467
8468         * java/net/URISyntaxException.java: New file.
8469         * java/net/SocketTimeoutException.java: New file.
8470         * java/net/PortUnreachableException.java: New file.
8471         * Makefile.am: Updated.
8472         * Makefile.in: Rebuilt.
8473
8474 2002-08-18  Mark Wielaard  <mark@klomp.org>
8475
8476         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8477         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8478         MessageDigestSpi (fixes Classpath bug #783).
8479
8480 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8481
8482         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8483         (startProcess): Allocate path for chdir in async-signal-safe way.
8484
8485 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8486
8487         Fix for PR libgcj/7570 and PR libgcj/7578:
8488         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8489         (startProcess): Handle new `dir' argument.
8490         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8491         argument.
8492         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8493         argument.
8494         (startProcess): Likewise.
8495         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8496         argument.
8497         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8498         (exec): Don't create new environment if ENV==null.  Pass DIR to
8499         execInternal.
8500         * java/lang/natRuntime.cc: Include java/io/File.h.
8501         (execInternal): Added `dir' argument.
8502
8503 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8504
8505         * java/io/RandomAccessFile.java (skipBytes): Return number of
8506         bytes skipped.
8507
8508 2002-08-01  Mark Wielaard  <mark@klomp.org>
8509
8510         Reenable patch since shared library troubles on powerpc are solved:
8511         * gnu/java/security/provider/Gnu.java: Reference all implementation
8512         classes by using Class.getName().
8513         * gnu/java/security/der/DEREncodingException.java,
8514         gnu/java/security/provider/DERReader.java,
8515         gnu/java/security/provider/DERWriter.java,
8516         gnu/java/security/provider/DSAKeyPairGenerator.java,
8517         gnu/java/security/provider/DSAParameterGenerator.java,
8518         gnu/java/security/provider/DSAParameters.java,
8519         gnu/java/security/provider/DSASignature.java,
8520         gnu/java/security/provider/GnuDSAPrivateKey.java,
8521         gnu/java/security/provider/GnuDSAPublicKey.java,
8522         gnu/java/security/provider/MD5.java,
8523         gnu/java/security/util/Prime.java: New classes
8524         * Makefile.am (ordinary_java_source_files): Add above files.
8525         * Makefile.in: Regenerate.
8526         * gnu/java/security/provider/DefaultPolicy.java
8527         (getPermissions): Don't maintain static class variable of Permissions.
8528         * gnu/java/security/provider/SHA.java
8529         (engineUpdate): algorithm change.
8530         (engineDigest): algorithm change.
8531
8532 2002-08-09  Mark Wielaard  <mark@klomp.org>
8533
8534         * java/awt/image/MemoryImageSource.java: Change constructor to take
8535         int[] not byte[].
8536         * java/awt/Graphics2D.java: Uncomment methods that can now be
8537         compiled.
8538         * java/awt/GridBagLayout.java: New stub implementation.
8539         * javax/swing/text/html/HTML.java: Stub implementation.
8540         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8541         implementation.
8542
8543         * Makefile.am: Add new files.
8544         * Makefile.in: Rebuilt.
8545
8546 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8547
8548         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8549         methods in Graphics2D.
8550
8551 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8552
8553         AWT/Swing merge from GNU Classpath.
8554
8555         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8556         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8557         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8558         java/awt/color/ProfileDataException.java,
8559         java/awt/CompositeContext.java, java/awt/Composite.java,
8560         java/awt/ContainerOrderFocusTraversalPolicy.java,
8561         java/awt/datatransfer/FlavorTable.java,
8562         java/awt/DefaultFocusTraversalPolicy.java,
8563         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8564         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8565         java/awt/dnd/DragGestureListener.java,
8566         java/awt/dnd/DragGestureRecognizer.java,
8567         java/awt/dnd/DragSourceAdapter.java,
8568         java/awt/dnd/DragSourceContext.java,
8569         java/awt/dnd/DragSourceDragEvent.java,
8570         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8571         java/awt/dnd/DragSourceListener.java,
8572         java/awt/dnd/DragSourceMotionListener.java,
8573         java/awt/dnd/DropTarget.java,
8574         java/awt/dnd/InvalidDnDOperationException.java,
8575         java/awt/dnd/peer/DragSourceContextPeer.java,
8576         java/awt/event/AWTEventListenerProxy.java,
8577         java/awt/event/MouseWheelEvent.java,
8578         java/awt/event/MouseWheelListener.java,
8579         java/awt/event/WindowFocusListener.java,
8580         java/awt/event/WindowStateListener.java,
8581         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8582         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8583         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8584         java/awt/geom/FlatteningPathIterator.java,
8585         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8586         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8587         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8588         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8589         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8590         java/awt/image/ImagingOpException.java,
8591         java/awt/image/RasterFormatException.java,
8592         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8593         java/awt/image/VolatileImage.java,
8594         java/awt/image/WritableRenderedImage.java,
8595         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8596         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8597         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8598         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8599         java/awt/PageAttributes.java, java/awt/print/Book.java,
8600         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8601         java/awt/print/Paper.java, java/awt/print/Printable.java,
8602         java/awt/print/PrinterAbortException.java,
8603         java/awt/print/PrinterException.java,
8604         java/awt/print/PrinterGraphics.java,
8605         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8606         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8607         java/awt/Stroke.java, java/awt/TexturePaint.java,
8608         javax/accessibility/AccessibleAction.java,
8609         javax/accessibility/AccessibleBundle.java,
8610         javax/accessibility/AccessibleComponent.java,
8611         javax/accessibility/AccessibleContext.java,
8612         javax/accessibility/AccessibleEditableText.java,
8613         javax/accessibility/AccessibleExtendedComponent.java,
8614         javax/accessibility/AccessibleExtendedTable.java,
8615         javax/accessibility/AccessibleHyperlink.java,
8616         javax/accessibility/AccessibleHypertext.java,
8617         javax/accessibility/AccessibleIcon.java,
8618         javax/accessibility/Accessible.java,
8619         javax/accessibility/AccessibleKeyBinding.java,
8620         javax/accessibility/AccessibleRelation.java,
8621         javax/accessibility/AccessibleRelationSet.java,
8622         javax/accessibility/AccessibleResourceBundle.java,
8623         javax/accessibility/AccessibleRole.java,
8624         javax/accessibility/AccessibleSelection.java,
8625         javax/accessibility/AccessibleState.java,
8626         javax/accessibility/AccessibleStateSet.java,
8627         javax/accessibility/AccessibleTable.java,
8628         javax/accessibility/AccessibleTableModelChange.java,
8629         javax/accessibility/AccessibleText.java,
8630         javax/accessibility/AccessibleValue.java,
8631         javax/swing/AbstractAction.java,
8632         javax/swing/AbstractButton.java,
8633         javax/swing/AbstractCellEditor.java,
8634         javax/swing/AbstractListModel.java,
8635         javax/swing/AbstractSet.java, javax/swing/Action.java,
8636         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8637         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8638         javax/swing/border/CompoundBorder.java,
8639         javax/swing/border/EmptyBorder.java,
8640         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8641         javax/swing/border/LineBorder.java,
8642         javax/swing/border/MatteBorder.java,
8643         javax/swing/border/TitledBorder.java,
8644         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8645         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8646         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8647         javax/swing/CellRendererPane.java,
8648         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8649         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8650         javax/swing/colorchooser/ColorSelectionModel.java,
8651         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8652         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8653         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8654         javax/swing/DefaultBoundedRangeModel.java,
8655         javax/swing/DefaultButtonModel.java,
8656         javax/swing/DefaultCellEditor.java,
8657         javax/swing/DefaultCellRenderer.java,
8658         javax/swing/DefaultComboBoxModel.java,
8659         javax/swing/DefaultDesktopManager.java,
8660         javax/swing/DefaultFocusManager.java,
8661         javax/swing/DefaultListCellRenderer.java,
8662         javax/swing/DefaultListModel.java,
8663         javax/swing/DefaultListSelectionModel.java,
8664         javax/swing/DefaultSingleSelectionModel.java,
8665         javax/swing/DesktopManager.java,
8666         javax/swing/event/AncestorEvent.java,
8667         javax/swing/event/AncestorListener.java,
8668         javax/swing/event/CaretEvent.java,
8669         javax/swing/event/CaretListener.java,
8670         javax/swing/event/CellEditorListener.java,
8671         javax/swing/event/ChangeEvent.java,
8672         javax/swing/event/ChangeListener.java,
8673         javax/swing/event/DocumentEvent.java,
8674         javax/swing/event/DocumentListener.java,
8675         javax/swing/event/EventListenerList.java,
8676         javax/swing/event/HyperlinkEvent.java,
8677         javax/swing/event/HyperlinkListener.java,
8678         javax/swing/event/InternalFrameAdapter.java,
8679         javax/swing/event/InternalFrameEvent.java,
8680         javax/swing/event/InternalFrameListener.java,
8681         javax/swing/event/ListDataEvent.java,
8682         javax/swing/event/ListDataListener.java,
8683         javax/swing/event/ListSelectionEvent.java,
8684         javax/swing/event/ListSelectionListener.java,
8685         javax/swing/event/MenuDragMouseEvent.java,
8686         javax/swing/event/MenuDragMouseListener.java,
8687         javax/swing/event/MenuEvent.java,
8688         javax/swing/event/MenuKeyEvent.java,
8689         javax/swing/event/MenuKeyListener.java,
8690         javax/swing/event/MenuListener.java,
8691         javax/swing/event/MouseInputAdapter.java,
8692         javax/swing/event/MouseInputListener.java,
8693         javax/swing/event/PopupMenuEvent.java,
8694         javax/swing/event/PopupMenuListener.java,
8695         javax/swing/event/SwingPropertyChangeSupport.java,
8696         javax/swing/event/TableColumnModelEvent.java,
8697         javax/swing/event/TableColumnModelListener.java,
8698         javax/swing/event/TableModelEvent.java,
8699         javax/swing/event/TableModelListener.java,
8700         javax/swing/event/TreeExpansionEvent.java,
8701         javax/swing/event/TreeExpansionListener.java,
8702         javax/swing/event/TreeModelEvent.java,
8703         javax/swing/event/TreeModelListener.java,
8704         javax/swing/event/TreeSelectionEvent.java,
8705         javax/swing/event/TreeSelectionListener.java,
8706         javax/swing/event/TreeWillExpandListener.java,
8707         javax/swing/event/UndoableEditEvent.java,
8708         javax/swing/event/UndoableEditListener.java,
8709         javax/swing/filechooser/FileFilter.java,
8710         javax/swing/filechooser/FileSystemView.java,
8711         javax/swing/filechooser/FileView.java,
8712         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8713         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8714         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8715         javax/swing/JApplet.java, javax/swing/JButton.java,
8716         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8717         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8718         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8719         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8720         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8721         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8722         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8723         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8724         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8725         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8726         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8727         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8728         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8729         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8730         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8731         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8732         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8733         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8734         javax/swing/JToolTip.java, javax/swing/JTree.java,
8735         javax/swing/JViewport.java, javax/swing/JWindow.java,
8736         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8737         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8738         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8739         javax/swing/MenuSelectionManager.java,
8740         javax/swing/MutableComboBoxModel.java,
8741         javax/swing/OverlayLayout.java,
8742         javax/swing/plaf/ActionMapUIResource.java,
8743         javax/swing/plaf/basic/BasicBorders.java,
8744         javax/swing/plaf/basic/BasicButtonUI.java,
8745         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8746         javax/swing/plaf/basic/BasicDefaults.java,
8747         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8748         javax/swing/plaf/basic/BasicIconFactory.java,
8749         javax/swing/plaf/basic/BasicLabelUI.java,
8750         javax/swing/plaf/basic/BasicListUI.java,
8751         javax/swing/plaf/basic/BasicLookAndFeel.java,
8752         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8753         javax/swing/plaf/basic/BasicPanelUI.java,
8754         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8755         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8756         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8757         javax/swing/plaf/basic/BasicTextUI.java,
8758         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8759         javax/swing/plaf/basic/BasicTreeUI.java,
8760         javax/swing/plaf/basic/BasicViewportUI.java,
8761         javax/swing/plaf/BorderUIResource.java,
8762         javax/swing/plaf/ButtonUI.java,
8763         javax/swing/plaf/ColorChooserUI.java,
8764         javax/swing/plaf/ColorUIResource.java,
8765         javax/swing/plaf/ComboBoxUI.java,
8766         javax/swing/plaf/ComponentInputMapUIResource.java,
8767         javax/swing/plaf/ComponentUI.java,
8768         javax/swing/plaf/DesktopIconUI.java,
8769         javax/swing/plaf/DesktopPaneUI.java,
8770         javax/swing/plaf/DimensionUIResource.java,
8771         javax/swing/plaf/FileChooserUI.java,
8772         javax/swing/plaf/FontUIResource.java,
8773         javax/swing/plaf/IconUIResource.java,
8774         javax/swing/plaf/InputMapUIResource.java,
8775         javax/swing/plaf/InsetsUIResource.java,
8776         javax/swing/plaf/InternalFrameUI.java,
8777         javax/swing/plaf/LabelUI.java,
8778         javax/swing/plaf/ListUI.java,
8779         javax/swing/plaf/MenuBarUI.java,
8780         javax/swing/plaf/MenuItemUI.java,
8781         javax/swing/plaf/OptionPaneUI.java,
8782         javax/swing/plaf/PanelUI.java,
8783         javax/swing/plaf/PopupMenuUI.java,
8784         javax/swing/plaf/ProgressBarUI.java,
8785         javax/swing/plaf/RootPaneUI.java,
8786         javax/swing/plaf/ScrollBarUI.java,
8787         javax/swing/plaf/ScrollPaneUI.java,
8788         javax/swing/plaf/SeparatorUI.java,
8789         javax/swing/plaf/SliderUI.java,
8790         javax/swing/plaf/SplitPaneUI.java,
8791         javax/swing/plaf/TabbedPaneUI.java,
8792         javax/swing/plaf/TableHeaderUI.java,
8793         javax/swing/plaf/TableUI.java,
8794         javax/swing/plaf/TextUI.java,
8795         javax/swing/plaf/ToolBarUI.java,
8796         javax/swing/plaf/ToolTipUI.java,
8797         javax/swing/plaf/TreeUI.java,
8798         javax/swing/plaf/UIResource.java,
8799         javax/swing/plaf/ViewportUI.java,
8800         javax/swing/ProgressMonitorInputStream.java,
8801         javax/swing/ProgressMonitor.java,
8802         javax/swing/Renderer.java,
8803         javax/swing/RepaintManager.java,
8804         javax/swing/RootPaneContainer.java,
8805         javax/swing/Scrollable.java,
8806         javax/swing/ScrollPaneConstants.java,
8807         javax/swing/ScrollPaneLayout.java,
8808         javax/swing/SingleSelectionModel.java,
8809         javax/swing/SizeRequirements.java,
8810         javax/swing/SizeSequence.java,
8811         javax/swing/SwingConstants.java,
8812         javax/swing/SwingUtilities.java,
8813         javax/swing/table/AbstractTableModel.java,
8814         javax/swing/table/DefaultTableCellRenderer.java,
8815         javax/swing/table/DefaultTableColumnModel.java,
8816         javax/swing/table/DefaultTableModel.java,
8817         javax/swing/table/TableCellEditor.java,
8818         javax/swing/table/TableCellRenderer.java,
8819         javax/swing/table/TableColumn.java,
8820         javax/swing/table/TableColumnModel.java,
8821         javax/swing/table/TableModel.java,
8822         javax/swing/text/AbstractDocument.java,
8823         javax/swing/text/AttributeSet.java,
8824         javax/swing/text/BadLocationException.java,
8825         javax/swing/text/Caret.java,
8826         javax/swing/text/CharacterIterator.java,
8827         javax/swing/text/ComponentView.java,
8828         javax/swing/text/DefaultCaret.java,
8829         javax/swing/text/DefaultEditorKit.java,
8830         javax/swing/text/Document.java,
8831         javax/swing/text/EditorKit.java,
8832         javax/swing/text/Element.java,
8833         javax/swing/text/GapContent.java,
8834         javax/swing/text/JTextComponent.java,
8835         javax/swing/text/Keymap.java,
8836         javax/swing/text/MutableAttributeSet.java,
8837         javax/swing/text/PlainDocument.java,
8838         javax/swing/text/PlainEditorKit.java,
8839         javax/swing/text/Position.java,
8840         javax/swing/text/Segment.java,
8841         javax/swing/text/StyledDocument.java,
8842         javax/swing/text/StyledEditorKit.java,
8843         javax/swing/text/Style.java,
8844         javax/swing/text/TextAction.java,
8845         javax/swing/text/ViewFactory.java,
8846         javax/swing/text/View.java,
8847         javax/swing/Timer.java,
8848         javax/swing/ToggleButtonModel.java,
8849         javax/swing/ToolTipManager.java,
8850         javax/swing/tree/AbstractLayoutCache.java,
8851         javax/swing/tree/DefaultMutableTreeNode.java,
8852         javax/swing/tree/DefaultTreeCellEditor.java,
8853         javax/swing/tree/DefaultTreeCellRenderer.java,
8854         javax/swing/tree/DefaultTreeModel.java,
8855         javax/swing/tree/DefaultTreeSelectionModel.java,
8856         javax/swing/tree/ExpandVetoException.java,
8857         javax/swing/tree/FixedHeightLayoutCache.java,
8858         javax/swing/tree/MutableTreeNode.java,
8859         javax/swing/tree/RowMapper.java,
8860         javax/swing/tree/TreeCellEditor.java,
8861         javax/swing/tree/TreeCellRenderer.java,
8862         javax/swing/tree/TreeModel.java,
8863         javax/swing/tree/TreeNode.java,
8864         javax/swing/tree/TreePath.java,
8865         javax/swing/tree/TreeSelectionModel.java,
8866         javax/swing/tree/VariableHeightLayoutCache.java,
8867         javax/swing/UIDefaults.java,
8868         javax/swing/UIManager.java,
8869         javax/swing/undo/AbstractUndoableEdit.java,
8870         javax/swing/undo/CannotRedoException.java,
8871         javax/swing/undo/CannotUndoException.java,
8872         javax/swing/undo/CompoundEdit.java,
8873         javax/swing/undo/StateEditable.java,
8874         javax/swing/undo/StateEdit.java,
8875         javax/swing/undo/UndoableEdit.java,
8876         javax/swing/undo/UndoableEditSupport.java,
8877         javax/swing/undo/UndoManager.java,
8878         javax/swing/UnsupportedLookAndFeelException.java,
8879         javax/swing/ViewportLayout.java,
8880         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8881
8882         * java/awt/ActiveEvent.java,
8883         java/awt/Adjustable.java, java/awt/AWTError.java,
8884         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8885         java/awt/AWTException.java, java/awt/AWTPermission.java,
8886         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8887         java/awt/Color.java, java/awt/Component.java,
8888         java/awt/ComponentOrientation.java, java/awt/Container.java,
8889         java/awt/datatransfer/MimeTypeParseException.java,
8890         java/awt/datatransfer/Transferable.java,
8891         java/awt/datatransfer/UnsupportedFlavorException.java,
8892         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8893         java/awt/event/ActionListener.java,
8894         java/awt/event/AdjustmentEvent.java,
8895         java/awt/event/AdjustmentListener.java,
8896         java/awt/event/AWTEventListener.java,
8897         java/awt/event/ComponentAdapter.java,
8898         java/awt/event/ComponentEvent.java,
8899         java/awt/event/ComponentListener.java,
8900         java/awt/event/ContainerAdapter.java,
8901         java/awt/event/ContainerEvent.java,
8902         java/awt/event/ContainerListener.java,
8903         java/awt/event/FocusAdapter.java,
8904         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8905         java/awt/event/HierarchyBoundsAdapter.java,
8906         java/awt/event/HierarchyBoundsListener.java,
8907         java/awt/event/HierarchyEvent.java,
8908         java/awt/event/HierarchyListener.java,
8909         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8910         java/awt/event/InputMethodListener.java,
8911         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8912         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8913         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8914         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8915         java/awt/event/MouseListener.java,
8916         java/awt/event/MouseMotionAdapter.java,
8917         java/awt/event/MouseMotionListener.java,
8918         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8919         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8920         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8921         java/awt/event/WindowListener.java, java/awt/Font.java,
8922         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8923         java/awt/geom/Ellipse2D.java,
8924         java/awt/geom/IllegalPathStateException.java,
8925         java/awt/geom/Line2D.java,
8926         java/awt/geom/NoninvertibleTransformException.java,
8927         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8928         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8929         java/awt/geom/RoundRectangle2D.java,
8930         java/awt/GraphicsConfiguration.java,
8931         java/awt/IllegalComponentStateException.java,
8932         java/awt/image/IndexColorModel.java,
8933         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8934         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8935         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8936         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8937         java/awt/MenuItem.java, java/awt/PaintContext.java,
8938         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8939         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8940         java/awt/PrintJob.java, java/awt/Rectangle.java,
8941         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8942         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8943         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8944
8945         * java/awt/im/spi/InputMethod.java,
8946         java/awt/im/spi/InputMethodContext.java,
8947         java/awt/im/spi/InputMethodDescriptor.java,
8948         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8949         java/awt/image/renderable/ParameterBlock.java,
8950         java/awt/image/renderable/RenderContext.java,
8951         java/awt/image/renderable/RenderableImage.java,
8952         java/awt/image/renderable/RenderableImageOp.java,
8953         java/awt/image/renderable/RenderableImageProducer.java,
8954         java/awt/image/renderable/RenderedImageFactory.java: New files from
8955         classpath.
8956
8957         * gnu/java/awt/EventModifier.java,
8958         gnu/java/awt/image/ImageDecoder.java,
8959         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8960
8961         * gnu/awt/xlib/XGraphicsConfiguration.java,
8962         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8963         API.
8964
8965         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8966         GNU Classpath.
8967
8968         * Makefile.am: Add new files.
8969         * Makefile.in: Rebuilt.
8970
8971 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8972
8973         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8974         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8975         findResource, getResources, findResources): Add javadoc from classpath.
8976         (getSystemResources): Implemented.
8977
8978 2002-08-01  Mark Wielaard  <mark@klomp.org>
8979
8980         Revert patch that breaks libgcj shared library on powerpc:
8981         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8982         implementation classes by using Class.getName(). Uses Strings again.
8983         * gnu/java/security/der/DEREncodingException.java,
8984         gnu/java/security/provider/DERReader.java,
8985         gnu/java/security/provider/DERWriter.java,
8986         gnu/java/security/provider/DSAKeyPairGenerator.java,
8987         gnu/java/security/provider/DSAParameterGenerator.java,
8988         gnu/java/security/provider/DSAParameters.java,
8989         gnu/java/security/provider/DSASignature.java,
8990         gnu/java/security/provider/GnuDSAPrivateKey.java,
8991         gnu/java/security/provider/GnuDSAPublicKey.java,
8992         gnu/java/security/provider/MD5.java,
8993         gnu/java/security/util/Prime.java: Removed.
8994         * Makefile.am (ordinary_java_source_files): Remove above files.
8995         * Makefile.in: Regenerate.
8996         * gnu/java/security/provider/DefaultPolicy.java
8997         (getPermissions): Revert to maintaining static class variable of
8998         Permissions.
8999         * gnu/java/security/provider/SHA.java
9000         (engineUpdate): Revert algorithm change.
9001         (engineDigest): Revert algorithm change.
9002
9003 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
9004
9005         * configure.host: Add SH support.
9006         * sysdep/sh/locks.h: New file.
9007
9008 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9009
9010         * java/awt/Frame.java (Frame): Remove println calls.
9011
9012 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
9013
9014         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9015         * configure: Rebuilt.
9016
9017 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9018
9019         * sysdep/powerpc/locks.h: Formatting.
9020         (_LARX): Define.
9021         (_STCX): Define.
9022         (compare_and_swap): Use _LARX and _STCX.
9023         (compare_and_swap_release): Likewise.
9024
9025 2002-07-26  Tom Tromey  <tromey@redhat.com>
9026
9027         * java/net/Authenticator.java: New version from Classpath.
9028         * java/net/DatagramSocketImpl.java: New version from Classpath.
9029
9030 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9031
9032         * configure.host: Add powerpc64*-* entry.
9033
9034 2002-07-26  Tom Tromey  <tromey@redhat.com>
9035
9036         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9037         fcntl.h.
9038
9039 2002-07-24  Tom Tromey  <tromey@redhat.com>
9040
9041         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9042         argument to _load.
9043
9044 2002-07-24  Tom Tromey  <tromey@redhat.com>
9045             Tony Kimball <alk@pobox.com>
9046
9047         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9048         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9049         * java/io/RandomAccessFile.java (setLength): New method.
9050         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9051         * java/io/FileDescriptor.java (setLength): New method.
9052
9053 2002-07-24  Mark Wielaard  <mark@klomp.org>
9054
9055         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9056         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9057         field call setAccessible(true).
9058         (setByteField): Likewise.
9059         (setCharField): Likewise.
9060         (setDoubleField): Likewise.
9061         (setFloatField): Likewise.
9062         (setIntField): Likewise.
9063         (setLongField): Likewise.
9064         (setShortField): Likewise.
9065         (setObjectField): Likewise.
9066
9067 2002-07-24  Tom Tromey  <tromey@redhat.com>
9068
9069         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9070         use toString() to format array element.
9071
9072 2002-07-23  Mark Wielaard  <mark@klomp.org>
9073
9074         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9075         MessageDigestSpi (fixes Classpath bug #783).
9076
9077 2002-07-21  Mark Wielaard  <mark@klomp.org>
9078
9079         * gnu/java/security/provider/Gnu.java: Reference all implementation
9080         classes by using Class.getName().
9081
9082 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9083
9084         * java/lang/ieeefp.h: Add x86-64 support.
9085         * configure.in: Likewise.
9086         * configure.host: Likewise.
9087         * configure: Regenerated.
9088         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9089
9090 2002-07-16  Mark Wielaard  <mark@klomp.org>
9091
9092         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9093         (whitespaceChars): call resetChar().
9094
9095 2002-07-15  Tom Tromey  <tromey@redhat.com>
9096
9097         * Makefile.in: Rebuilt.
9098         * Makefile.am (awt_java_source_files): Added new files.
9099         * java/beans/ExceptionListener.java: Merged with Classpath.
9100         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9101         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9102         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9103         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9104         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9105         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9106         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9107
9108 2002-07-14  Mark Wielaard  <mark@klomp.org>
9109
9110         * gnu/java/security/der/DEREncodingException.java,
9111         gnu/java/security/provider/DERReader.java,
9112         gnu/java/security/provider/DERWriter.java,
9113         gnu/java/security/provider/DSAKeyPairGenerator.java,
9114         gnu/java/security/provider/DSAParameterGenerator.java,
9115         gnu/java/security/provider/DSAParameters.java,
9116         gnu/java/security/provider/DSASignature.java,
9117         gnu/java/security/provider/GnuDSAPrivateKey.java,
9118         gnu/java/security/provider/GnuDSAPublicKey.java,
9119         gnu/java/security/provider/MD5.java,
9120         gnu/java/security/util/Prime.java: New files from Classpath.
9121         * Makefile.am (ordinary_java_source_files): Add new files.
9122         * Makefile.in: Regenerate.
9123
9124 2002-07-14  C. Brian Jones <cbj@gnu.org>
9125
9126         * gnu/java/security/provider/DefaultPolicy.java
9127         (getPermissions): do not maintain static class variable of
9128         Permissions
9129         * gnu/java/security/provider/SHA.java
9130         (engineUpdate): algorithm change
9131         (engineDigest): algorithm change
9132
9133 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9134
9135         For PR libgcj/7292:
9136         * java/lang/Character.java (toString(char)): Now static.
9137
9138 2002-07-12  Mark Wielaard  <mark@klomp.org>
9139
9140         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9141         (getStackTrace0): new method.
9142         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9143         (printStackTrace(PrintWriter)): replace with pure java implementation.
9144         (printRawStackTrace): removed.
9145         (getStackTrace0): new method.
9146         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9147         * gcj/javaprims.h: regenerate class list.
9148         * include/name-finder.h (lookup): new returns StackTraceElement*.
9149         (method_name, file_name): fields removed.
9150         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9151         (~_Jv_name_finder): close new descriptors.
9152         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9153         (createStackTraceElement): new method.
9154         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9155
9156 2002-07-10  Tom Tromey  <tromey@redhat.com>
9157
9158         * configure: Rebuilt.
9159         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9160
9161 2002-07-08  Mark Wielaard  <mark@klomp.org>
9162
9163         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9164         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9165         java.sql.DatabaseMetaData.TestJdbc20
9166
9167 2002-07-05  Tony Kimball  <alk@pobox.com>
9168
9169         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9170
9171 2002-07-04  Tom Tromey  <tromey@redhat.com>
9172             Jeff Sturm  <jsturm@one-point.com>
9173
9174         Fix for PR libgcj/7060:
9175         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9176         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9177         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9178         * java/lang/Class.java (getMethod): New Java implementation;
9179         complies with spec.
9180         (_getMethod): New native method.
9181
9182 2002-07-02  Tom Tromey  <tromey@redhat.com>
9183             David Hovemeyer  <daveho@cs.umd.edu>
9184
9185         * java/text/ChoiceFormat.java
9186         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9187         in check loop.
9188         * java/text/MessageFormat.java
9189         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9190         to MessageFormat.
9191
9192 2002-07-01  Tom Tromey  <tromey@redhat.com>
9193
9194         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9195         StringTokenizer on null string.  For PR libgcj/7180.
9196         From daveho@cs.umd.edu.
9197
9198 2002-06-24  Tom Tromey  <tromey@redhat.com>
9199
9200         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9201         (IntegerClass): Likewise.
9202         * java/lang/natClass.cc (CloneableClass): Removed.
9203         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9204         ConstructorClass): Likewise.
9205         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9206         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9207         SerializableClass): Likewise.
9208         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9209         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9210         LongClass, FloatClass, DoubleClass): Likewise.
9211
9212         * verify.cc (branch_prepass): Updated for change to exception
9213         handler type.
9214         (verify_instructions_0): Likewise.
9215         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9216         (handleExceptionTableEntry): Updated for change to exception
9217         handler type.
9218         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9219         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9220         (union _Jv_InterpPC): New.
9221         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9222         (class _Jv_InterpMethod): Added new `prepared' field.
9223         (class _Jv_InterpMethod): Added `compile' method.  Removed
9224         `continue1' and `find_exception'.  Changed arguments to `run'.
9225         * interpret.cc (union insn_slot): New.
9226         (find_exception): Removed.
9227         (run_normal): Removed most logic.
9228         (run_synch_object): Likewise; also, use JvSynchronize.
9229         (run_synch_class): Likewise.
9230         (run): Removed.
9231         (continue1): Renamed as `run'.  Compile bytecode if required.
9232         Add new code to allow refinement of direct-threaded code at
9233         runtime.  Handle exceptions.
9234         (SAVE_PC): Removed.
9235         (compile): New method.
9236         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9237         (NULLARRAYCHECK): Don't use SAVE_PC.
9238         (pc_t): New typedef.
9239         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9240         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9241
9242 2002-06-23  Tom Tromey  <tromey@redhat.com>
9243
9244         * configure: Rebuilt.
9245         * configure.in (INTERPRETER): New subst.
9246         (AM_RUNTESTFLAGS): Don't subst.
9247
9248         * Makefile.in: Rebuilt.
9249         * Makefile.am ($(srcdir)/java/lang/Object.h,
9250         $(srcdir)/java/lang/Class.h): Added dummy targets.
9251
9252 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9253
9254         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9255
9256         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9257         java/sql/Savepoint.java: New files.
9258         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9259         java/sql/Blob.java, java/sql/CallableStatement.java,
9260         java/sql/Clob.java, java/sql/Connection.java,
9261         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9262         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9263         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9264         java/sql/Ref.java, java/sql/ResultSet.java,
9265         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9266         java/sql/SQLException.java, java/sql/SQLInput.java,
9267         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9268         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9269         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9270         (JDK 1.4) specification.
9271         * javax/sql/ConnectionEvent.java,
9272         javax/sql/ConnectionEventListener.java,
9273         javax/sql/ConnectionPoolDataSource.java,
9274         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9275         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9276         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9277         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9278         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9279         javax/sql/XADataSource.java: New files.
9280         * Makefile.am: Add new files.
9281         * Makefile.in: Rebuilt.
9282
9283 2002-06-20  Tom Tromey  <tromey@redhat.com>
9284
9285         For PR libgcj/7073:
9286         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9287         exists.
9288         * defineclass.cc (handleClassBegin): Superclass for interface is
9289         `null'.
9290
9291 2002-06-18  Tom Tromey  <tromey@redhat.com>
9292
9293         * gcj/javaprims.h: Updated class declaration list.
9294         * Makefile.in: Rebuilt.
9295         * Makefile.am (core_java_source_files): Removed
9296         BasicMapEntry.java.
9297         * java/util/BasicMapEntry.java: Removed.
9298
9299 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9300
9301         * java/net/natPlainDatagramSocketImpl.cc (receive):
9302         Check bounds of argument to FD_SET.
9303         (setOption): Throw exception if socket is closed.
9304
9305         * java/net/natPlainSocketImpl.cc (accept, read):
9306         Check bounds of argument to FD_SET.
9307         (setOption): Throw exception if socket is closed.
9308
9309 2002-06-18  Tom Tromey  <tromey@redhat.com>
9310
9311         * gcj/javaprims.h: Updated class declaration list.
9312         * Makefile.in: Rebuilt.
9313         * Makefile.am (core_java_source_files): Added
9314         PropertyPermissionCollection.java.
9315         * java/lang/Thread.java (group, name): Now package-private.
9316         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9317         * java/util/AbstractList.java: Likewise.
9318         * java/util/AbstractMap.java: Likewise.
9319         * java/util/Calendar.java: Likewise.
9320         * java/util/Collections.java: Likewise.
9321         * java/util/HashMap.java: Likewise.
9322         * java/util/Hashtable.java: Likewise.
9323         * java/util/LinkedHashMap.java: Likewise.
9324         * java/util/LinkedList.java: Likewise.
9325         * java/util/List.java: Likewise.
9326         * java/util/ListResourceBundle.java: Likewise.
9327         * java/util/Map.java: Likewise.
9328         * java/util/Observable.java: Likewise.
9329         * java/util/Properties.java: Likewise.
9330         * java/util/PropertyPermission.java: Likewise.
9331         * java/util/PropertyPermissionCollection.java: Likewise.
9332         * java/util/PropertyResourceBundle.java: Likewise.
9333         * java/util/Random.java: Likewise.
9334         * java/util/SimpleTimeZone.java: Likewise.
9335         * java/util/StringTokenizer.java: Likewise.
9336         * java/util/TimerTask.java: Likewise.
9337         * java/util/TreeMap.java: Likewise.
9338         * java/util/WeakHashMap.java: Likewise.
9339         * java/util/jar/Attributes.java: Likewise.
9340         * java/util/jar/JarException.java: Likewise.
9341         * java/util/jar/Manifest.java: Likewise.
9342
9343 2002-06-17  Tom Tromey  <tromey@redhat.com>
9344
9345         * gcj/javaprims.h: Updated class declaration list.
9346         * Makefile.in: Rebuilt.
9347         * Makefile.am (core_java_source_files): Added new file.
9348         * java/util/EventListenerProxy.java: New file.
9349         * java/util/EventListener.java: Re-merge with Classpath.
9350         * java/util/EventObject.java: Re-merge with Classpath.
9351
9352 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9353
9354         * java/lang/ClassNotFoundException.java: New Classpath version.
9355
9356 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9357
9358         * java/rmi/activation/ActivateFailedException.java: Remerge from
9359         Classpath version.
9360         * java/rmi/activation/ActivationException.java: Ditto.
9361         * java/rmi/activation/UnknownGroupException.java: Ditto.
9362         * java/rmi/activation/UnknownObjectException.java: Ditto.
9363         * java/rmi/server/ExportException: Ditto.
9364         * java/rmi/server/ServerCloneException: Ditto.
9365         * java/rmi/server/ServerNotActiveException: Ditto.
9366         * java/rmi/server/SkeletonMismatchException: Ditto.
9367         * java/rmi/server/SkeletonNotFoundException: Ditto.
9368         * java/rmi/server/SocketSecurityException: Ditto.
9369
9370 2002-06-16  Tom Tromey  <tromey@redhat.com>
9371
9372         * gcj/javaprims.h: Updated class declaration list.
9373
9374         * java/io/LineNumberInputStream.java: Merged with Classpath.
9375
9376         * java/lang/RuntimeException.java: Re-merge with Classpath.
9377         * java/util/ArrayList.java: Likewise.
9378         * java/util/Arrays.java: Likewise.
9379         * java/util/BitSet.java: Likewise.
9380         * java/util/Dictionary.java: Likewise.
9381         * java/util/IdentityHashMap.java: Likewise.
9382         * java/util/MissingResourceException.java: Likewise.
9383         * java/util/Observer.java: Likewise.
9384         * java/util/TooManyListenersException.java: Likewise.
9385         * java/util/zip/DataFormatException.java: Likewise.
9386         * java/util/zip/ZipException.java: Likewise.
9387
9388 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9389
9390         * java/rmi/AccessException.java: Remerge from Classpath.
9391         * java/rmi/AlreadyBoundException.java: Ditto.
9392         * java/rmi/ConnectException.java: Ditto.
9393         * java/rmi/ConnectIOException.java: Ditto.
9394         * java/rmi/MarshalException.java: Ditto.
9395         * java/rmi/NoSuchObjectException.java: Ditto.
9396         * java/rmi/NotBoundException.java: Ditto.
9397         * java/rmi/RemoteException.java: Ditto.
9398         * java/rmi/RMISecurityException.java: Ditto.
9399         * java/rmi/ServerError.java: Ditto.
9400         * java/rmi/ServerException.java: Ditto.
9401         * java/rmi/ServerRuntimeException.java: Ditto.
9402         * java/rmi/StubNotFoundException.java: Ditto.
9403         * java/rmi/UnexpectedExcpetion.java: Ditto.
9404         * java/rmi/UnknownHostException.java: Ditto.
9405         * java/rmi/UnmarshalException.java: Ditto.
9406
9407 2002-06-15  Tom Tromey  <tromey@redhat.com>
9408
9409         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9410         * java/lang/ArithmeticException.java: Likewise.
9411         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9412         * java/lang/ArrayStoreException.java: Likewise.
9413         * java/lang/Byte.java: Likewise.
9414         * java/lang/CharSequence.java: Likewise.
9415         * java/lang/ClassCastException.java: Likewise.
9416         * java/lang/ClassCircularityError.java: Likewise.
9417         * java/lang/ClassFormatError.java: Likewise.
9418         * java/lang/CloneNotSupportedException.java: Likewise.
9419         * java/lang/Cloneable.java: Likewise.
9420         * java/lang/Comparable.java: Likewise.
9421         * java/lang/Compiler.java: Likewise.
9422         * java/lang/Error.java: Likewise.
9423         * java/lang/ExceptionInInitializerError.java: Likewise.
9424         * java/lang/IllegalAccessError.java: Likewise.
9425         * java/lang/IllegalAccessException.java: Likewise.
9426         * java/lang/IllegalArgumentException.java: Likewise.
9427         * java/lang/IllegalMonitorStateException.java: Likewise.
9428         * java/lang/IllegalStateException.java: Likewise.
9429         * java/lang/IllegalThreadStateException.java: Likewise.
9430         * java/lang/IncompatibleClassChangeError.java: Likewise.
9431         * java/lang/IndexOutOfBoundsException.java: Likewise.
9432         * java/lang/InheritableThreadLocal.java: Likewise.
9433         * java/lang/InstantiationError.java: Likewise.
9434         * java/lang/InstantiationException.java: Likewise.
9435         * java/lang/InternalError.java: Likewise.
9436         * java/lang/InterruptedException.java: Likewise.
9437         * java/lang/LinkageError.java: Likewise.
9438         * java/lang/NegativeArraySizeException.java: Likewise.
9439         * java/lang/NoClassDefFoundError.java: Likewise.
9440         * java/lang/NoSuchFieldError.java: Likewise.
9441         * java/lang/NoSuchFieldException.java: Likewise.
9442         * java/lang/NoSuchMethodError.java: Likewise.
9443         * java/lang/NoSuchMethodException.java: Likewise.
9444         * java/lang/NullPointerException.java: Likewise.
9445         * java/lang/NumberFormatException.java: Likewise.
9446         * java/lang/OutOfMemoryError.java: Likewise.
9447         * java/lang/Process.java: Likewise.
9448         * java/lang/Runnable.java: Likewise.
9449         * java/lang/RuntimePermission.java: Likewise.
9450         * java/lang/SecurityException.java: Likewise.
9451         * java/lang/Short.java: Likewise.
9452         * java/lang/StackOverflowError.java: Likewise.
9453         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9454         * java/lang/ThreadDeath.java: Likewise.
9455         * java/lang/ThreadLocal.java: Likewise.
9456         * java/lang/UnknownError.java: Likewise.
9457         * java/lang/UnsatisfiedLinkError.java: Likewise.
9458         * java/lang/UnsupportedClassVersionError.java: Likewise.
9459         * java/lang/UnsupportedOperationException.java: Likewise.
9460         * java/lang/VerifyError.java: Likewise.
9461         * java/lang/VirtualMachineError.java: Likewise.
9462         * java/lang/reflect/InvocationTargetException.java: Likewise.
9463         * java/net/BindException.java: Likewise.
9464         * java/net/ConnectException.java: Likewise.
9465         * java/net/MalformedURLException.java: Likewise.
9466         * java/net/NoRouteToHostException.java: Likewise.
9467         * java/net/ProtocolException.java: Likewise.
9468         * java/net/SocketException.java: Likewise.
9469         * java/net/UnknownHostException.java: Likewise.
9470         * java/net/UnknownServiceException.java: Likewise.
9471
9472         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9473         * java/io/CharConversionException.java: Likewise.
9474         * java/io/EOFException.java: Likewise.
9475         * java/io/FileNotFoundException.java: Likewise.
9476         * java/io/IOException.java: Likewise.
9477         * java/io/InterruptedIOException.java: Likewise.
9478         * java/io/InvalidClassException.java: Likewise.
9479         * java/io/InvalidObjectException.java: Likewise.
9480         * java/io/NotActiveException.java: Likewise.
9481         * java/io/NotSerializableException.java: Likewise.
9482         * java/io/ObjectStreamException.java: Likewise.
9483         * java/io/ObjectStreamConstants.java: Likewise.
9484         * java/io/OptionalDataException.java: Likewise.
9485         * java/io/PipedInputStream.java: Likewise.
9486         * java/io/PushbackInputStream.java: Likewise.
9487         * java/io/StreamCorruptedException.java: Likewise.
9488         * java/io/SyncFailedException.java: Likewise.
9489         * java/io/UTFDataFormatException.java: Likewise.
9490         * java/io/UnsupportedEncodingException.java: Likewise.
9491         * java/io/WriteAbortedException.java: Likewise.
9492
9493 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9494
9495         * java/text/ChoiceFormat.java: Update comments from Classpath.
9496         * java/text/ParseException.java (serialVersionUID): New
9497         field from Classpath.
9498         * java/text/ParseException.java: Update formatting & comments
9499         from Classpath.
9500
9501 2002-06-15  Tom Tromey  <tromey@redhat.com>
9502
9503         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9504         been read but none output by inflater.
9505         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9506         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9507         is_finished.
9508         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9509         version.
9510         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9511         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9512         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9513         version.
9514         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9515
9516 2002-06-13  Tom Tromey  <tromey@redhat.com>
9517
9518         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9519         true and OFFSET!=0.
9520         * java/lang/String.java (String(char[],int,int,boolean): New
9521         constructor.
9522         * java/lang/Long.java: Imported new version from Classpath.
9523         * java/lang/Number.java: Likewise.
9524         * java/lang/Integer.java: Likewise.
9525         * java/lang/Long.java: Likewise.
9526         * java/lang/Float.java: Likewise.
9527         * java/lang/Boolean.java: Likewise.
9528         * java/lang/Double.java: Likewise.
9529         * java/lang/Void.java: Likewise.
9530
9531 2002-06-12  Tom Tromey  <tromey@redhat.com>
9532
9533         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9534         Fixes PR libgcj/6652.
9535
9536 2002-06-10  Tom Tromey  <tromey@redhat.com>
9537
9538         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9539         (Class::getPackagePortion): Likewise.
9540         * java/lang/Class.java (desiredAssertionStatus): New method from
9541         Classpath.
9542         (getPackagePortion): Likewise.
9543         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9544         packageAssertionStatus, classAssertionStatus): New methods from
9545         Classpath.
9546         * java/lang/ClassLoader.java (defaultAssertionStatus,
9547         systemPackageAssertionStatus, packageAssertionStatus,
9548         systemClassAssertionStatus, classAssertionStatus): New fields from
9549         Classpath.
9550         (setDefaultAssertionStatus, setPackageAssertionStatus,
9551         setClassAssertionStatus, clearAssertionStatus): New methods from
9552         Classpath.
9553         * Makefile.in: Rebuilt.
9554         * Makefile.am (core_java_source_files): Added AssertionError.java.
9555         * java/lang/AssertionError.java: New from Classpath.
9556
9557 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9558
9559         * configure.host: Disable hash synchronization and slow_pthread_self
9560         for cygwin.
9561
9562 2002-06-06  Adam Megacz <adam@xwt.org>
9563
9564         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9565         locking, just like the Sun JVM does.
9566
9567 2002-06-05  H.J. Lu  (hjl@gnu.org)
9568
9569         * Makefile.am (libgcj_convenience.la): Revert the last change.
9570         (libgcj.la): Likewise.
9571         * Makefile.in: Regenerated.
9572
9573 2002-06-04  H.J. Lu  (hjl@gnu.org)
9574
9575         * Makefile.am (libgcj_convenience.la): New target.
9576         (libgcj.la): Depend on libgcj_convenience.la.
9577         * Makefile.in: Regenerated.
9578
9579 2002-06-04  H.J. Lu  (hjl@gnu.org)
9580
9581         * configure.in (--with-newlib): New option:
9582         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9583         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9584         Linux.
9585         * configure: Regenerated.
9586
9587 2002-06-04  Tom Tromey  <tromey@redhat.com>
9588
9589         * java/util/natTimeZone.cc: Include <stdio.h>.
9590
9591 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9592
9593         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9594         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9595         Set SIGNAL_HANDLER=include/s390-linux.h.
9596         * configure: Regenerate.
9597         * include/s390-linux.h: New file.
9598
9599 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9600
9601         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9602         not "stackTrace".
9603
9604 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9605
9606         Merge JDK 1.4 java.security changes from classpath.
9607
9608         * java/security/AccessControlException.java: Merge from Classpath.
9609         * java/security/AccessController.java: Likewise.
9610         * java/security/AllPermission.java: Likewise.
9611         * java/security/BasicPermission.java: Likewise.
9612         * java/security/Certificate.java: Likewise.
9613         * java/security/CodeSource.java: Likewise.
9614         * java/security/DigestException.java: Likewise.
9615         * java/security/DigestOutputStream.java: Likewise.
9616         * java/security/DomainCombiner.java: Likewise.
9617         * java/security/GeneralSecurityException.java: Likewise.
9618         * java/security/Guard.java: Likewise.
9619         * java/security/GuardedObject.java: Likewise.
9620         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9621         * java/security/InvalidKeyException.java: Likewise.
9622         * java/security/InvalidParameterException.java: Likewise.
9623         * java/security/Key.java: Likewise.
9624         * java/security/KeyException.java: Likewise.
9625         * java/security/KeyManagementException.java: Likewise.
9626         * java/security/KeyStoreException.java: Likewise.
9627         * java/security/MessageDigest.java: Likewise.
9628         * java/security/NoSuchAlgorithmException.java: Likewise.
9629         * java/security/NoSuchProviderException.java: Likewise.
9630         * java/security/Permission.java: Likewise.
9631         * java/security/PermissionCollection.java: Likewise.
9632         * java/security/Permissions.java: Likewise.
9633         * java/security/Policy.java: Likewise.
9634         * java/security/Principal.java: Likewise.
9635         * java/security/PrivateKey.java: Likewise.
9636         * java/security/PrivilegedAction.java: Likewise.
9637         * java/security/PrivilegedActionException.java: Likewise.
9638         * java/security/PrivilegedExceptionAction.java: Likewise.
9639         * java/security/ProtectionDomain.java: Likewise.
9640         * java/security/ProviderException.java: Likewise.
9641         * java/security/PublicKey.java: Likewise.
9642         * java/security/SecureClassLoader.java: Likewise.
9643         * java/security/SecurityPermission.java: Likewise.
9644         * java/security/SignatureException.java: Likewise.
9645         * java/security/UnrecoverableKeyException.java: Likewise.
9646         * java/security/UnresolvedPermission.java: Likewise.
9647         * java/security/acl/AclNotFoundException.java: Likewise.
9648         * java/security/acl/LastOwnerException.java: Likewise.
9649         * java/security/acl/NotOwnerException.java: Likewise.
9650         * java/security/cert/CRLException.java: Likewise.
9651         * java/security/cert/CertificateEncodingException.java: Likewise.
9652         * java/security/cert/CertificateException.java: Likewise.
9653         * java/security/cert/CertificateExpiredException.java: Likewise.
9654         * java/security/cert/CertificateFactory.java: Likewise.
9655         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9656         * java/security/cert/CertificateParsingException.java: Likewise.
9657         * java/security/spec/InvalidKeySpecException.java: Likewise.
9658         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9659
9660         * java/security/cert/CertPath.java: New file.
9661         * java/security/cert/CertPathBuilderException.java: New file.
9662         * java/security/cert/CertPathValidatorException.java: New file.
9663         * java/security/cert/CertStoreException.java: New file.
9664
9665         * Makefile.am: Add new CertPath classes.
9666         * Makefile.in: Rebuilt.
9667
9668         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9669
9670 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9671
9672         Merge JDK 1.4 exception chaining support from classpath.
9673
9674         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9675         (stackTraceBytes): Rename from stackTrace.
9676         * java/lang/Exception.java: Merge from classpath.
9677         * java/lang/StackTraceElement: New file from classpath.
9678         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9679         * Makefile.am: Add StackTraceElement.
9680         * Makefile.in: Rebuilt.
9681
9682 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9683
9684         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9685         they build first.
9686         * Makefile.in: Rebuilt.
9687
9688 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9689
9690         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9691         * configure.in: Likewise.
9692         * aclocal.m4: Regenerate.
9693         * configure: Regenerate.
9694
9695 2002-05-13  Tom Tromey  <tromey@redhat.com>
9696
9697         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9698         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9699         Include platform.h.
9700
9701         Fixes PR libgcj/6389:
9702         * Makefile.in: Rebuilt.
9703         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9704         * java/util/natTimeZone.cc: New file.
9705         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9706         * java/lang/System.java: Merged with Classpath.
9707         * java/lang/Runtime.java: Merged with Classpath.
9708         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9709         security check.
9710         (setIn0): Renamed from setIn; don't run security check.
9711         (setOut0): Renamed from setOut; don't run security check.
9712         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9713         init_properties): Moved to natRuntime.cc.
9714         Moved many includes to natRuntime.cc.
9715         (isWordsBigEndian): New method.
9716         * java/lang/natRuntime.cc: Include Long.h, also other includes
9717         previously in natSystem.cc.
9718         (maxMemory): New function.
9719         (exitInternal): Renamed from `_exit'.
9720         (exit): Removed.
9721         (init): Don't set finalize_on_exit.
9722         (exitInternal): Use `finalizeOnExit'.
9723         (file_encoding, getpwuid_adaptor): New functions from
9724         natSystem.cc.
9725         (insertSystemProperties): New method, renamed from
9726         System::init_properties.  Don't set user.timezone.
9727         (_load): Don't call checkLink.
9728         (execInternal): New method.
9729         (availableProcessors): Likewise.
9730         (nativeGetLibname): Likewise.
9731
9732 2002-05-11  Mark Wielaard  <mark@klomp.org>
9733
9734         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9735         space characters.
9736         (previous_internal): Likewise.
9737
9738 2002-05-09  Tom Tromey  <tromey@redhat.com>
9739
9740         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9741
9742         * java/util/ResourceBundle.java: New version from Classpath.
9743         * java/util/Locale.java: Likewise.
9744
9745 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9746
9747         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9748         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9749         LD_LIBRARY_PATH.
9750
9751 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9752
9753         * libjava/Makefile.am (all_java_source_files): New variable.
9754         (all_java_class_files): Likewise.
9755         .java.class: New rule.
9756         (CLEANFILES): Remove tmp-list.
9757         * libjava/Makefile.in: Regenerated.
9758
9759 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9760
9761         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9762         Append .exe to executable names.  Fix for cygwin.
9763
9764 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9765
9766         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9767         script entry, and set LD to it when configuring multilibs.
9768         * configure: Rebuilt.
9769
9770 2002-05-07  Tom Tromey  <tromey@redhat.com>
9771
9772         * java/lang/natString.cc (unintern): Fixed typo.
9773
9774 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9775
9776         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9777         with -no-install on *-*-cygwin*.
9778
9779 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9780
9781         * testsuite/lib/libjava.exp (test_libjava_from_source):
9782         Add comment explaining last patch
9783
9784 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9785
9786         * testsuite/lib/libjava.exp (test_libjava_from_source):
9787         Append .exe to executable names.  If no suffix is present,
9788         then ".exe" is added by default on win32.  Harmless
9789         elsewhere so always do it.
9790
9791 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9792             Tom Tromey  <tromey@redhat.com>
9793
9794         * java/lang/natSystem.cc (getSystemTimeZone): Use
9795         HAVE_UNDERSCORE_TIMEZONE.
9796         * include/config.h.in: Rebuilt.
9797         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9798         * aclocal.m4, configure: Rebuilt.
9799         * acinclude.m4: Run AC_EXEEXT.
9800         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9801         Add test for `_timezone'.
9802
9803 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9804
9805         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9806         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9807         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9808         * Makefile.in: Rebuilt.
9809
9810 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9811
9812         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9813         use sigaction instead of __libc_sigaction.
9814
9815 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9816
9817         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9818         (libjava_init): Use it to find libgcj.spec.
9819         (libjava_arguments): Likewise.
9820
9821 2002-05-02  David S. Miller  <davem@redhat.com>
9822
9823         PR bootstrap/6525
9824         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9825         __libc_sigaction on Sparc.
9826
9827 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9828
9829         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9830         sys/filio.h, if present.
9831
9832 2002-04-30  Tom Tromey  <tromey@redhat.com>
9833
9834         * java/io/BufferedReader.java (fill): Handle case where markPos
9835         point to ignored \n.  Fixes PR libgcj/6301.
9836
9837 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9838
9839         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9840
9841 2002-04-29  Adam King <aking@dreammechanics.com>
9842
9843         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9844         of file in APPEND mode.
9845
9846 2002-04-25  David S. Miller  <davem@redhat.com>
9847
9848         PR target/6422
9849         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9850         program counter to next program counter minus 8.  Update
9851         comments in this macro to explain why.
9852
9853 2002-04-26  Tom Tromey  <tromey@redhat.com>
9854
9855         * verify.cc (construct_primitive_array_type) [void_type]: New
9856         case.
9857         (branch_prepass): Added dummy entries for unused instruction
9858         values.
9859         (verify_instructions_0): Likewise.
9860         * interpret.cc (continue1): Comment fix.
9861         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9862         * Makefile.in: Rebuilt.
9863         * Makefile.am: Added -Wswitch-enum.
9864
9865 2002-04-24  Tom Tromey  <tromey@redhat.com>
9866
9867         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9868         correct length of UTF-8 encoded name.  Strip leading `/'.
9869         (_Jv_RegisterResource): Use _Jv_Malloc.
9870
9871 2002-04-23  Adam Megacz <adam@xwt.org>
9872
9873         * win32.cc, include/win32.cc (backtrace): Added this function
9874         because Win32 does not supply it.
9875
9876 2002-04-21  David S. Miller  <davem@redhat.com>
9877
9878         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9879         magic instruction reading sequence.
9880
9881 2002-04-21  Mark Wielaard  <mark@klomp.org>
9882
9883         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9884
9885 2002-04-19  David S. Miller  <davem@redhat.com>
9886
9887         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9888         arg.
9889         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9890         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9891         on Sparc too.
9892         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9893         for 64-bit sparc.
9894         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9895         * sysdeps/sparc/locks.h: New file.
9896         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9897         on all sparc Solaris configurations.  Set to
9898         include/dwarf2-signal.h on sparc Linux.
9899         * configure: Regenerate
9900         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9901
9902 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9903
9904         * configure: Rebuilt.
9905         * configure.in (backtrace): Function doesn't work on IA-64.
9906
9907 2002-04-17  Adam King <aking@dreammechanics.com>
9908
9909         * java/io/File.java (normalizePath): Add Win32 support for auto
9910         conversion of a '/' path separator to Win32's '\' separator.
9911
9912 2002-04-16  Tom Tromey  <tromey@redhat.com>
9913
9914         Fix for PR libgcj/6081:
9915         * Makefile.in: Rebuilt.
9916         * Makefile.am (install-data-local): Use GNU make trick to avoid
9917         shell limit.
9918
9919 2002-04-16  Adam King <aking@dreammechanics.com>
9920             Tom Tromey  <tromey@redhat.com>
9921
9922         * java/io/natFileWin32.cc (performList): Return the correct array
9923         type.  Don't duplicate the creation of a File since it's already
9924         done earlier in the method and the existing code would cause a
9925         ArrayStoreException.  Don't use fixed-size array.
9926         (_access, _stat, attr, getCanonicalPath, performMkdir,
9927         performRenameTo): Don't use fixed-size array.
9928         (getCanonicalPath): Use throw, not _Jv_Throw.
9929
9930 2002-04-15  DJ Delorie  <dj@redhat.com>
9931
9932         * configure.in: Allow building in $srcdir.
9933         * configure: Regenerated.
9934
9935 2002-04-14  Mark Wielaard <mark@klomp.org>
9936
9937         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9938         * java/net/natSocketImpl.cc (close): Likewise.
9939
9940 2002-04-14  Mark Wielaard <mark@klomp.org>
9941
9942         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9943
9944 2002-04-13  Adam King <aking@dreammechanics.com>
9945
9946         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9947         the f/F/d/D modifiers.
9948
9949 2002-04-12  Anthony Green  <green@redhat.com>
9950
9951         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9952         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9953         * Makefile.in: Rebuilt.
9954         * configure.in: Substitute gcc_version.
9955         * configure: Rebuilt.
9956
9957 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9958
9959         * configure.host: Set can_unwind_signal on hosts which support it.
9960         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9961         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9962         exceptions and can_unwind_signal isn't set.
9963         * configure: Rebuilt.
9964
9965 2002-04-11  Tom Tromey  <tromey@redhat.com>
9966
9967         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9968
9969 2002-04-11  Adam King <aking@dreammechanics.com>
9970             Tom Tromey  <tromey@redhat.com>
9971
9972         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9973         _Jv_ThrowNullPointerException): Mark as noreturn.
9974         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9975         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9976         fixes.
9977
9978 2002-04-10  Tom Tromey  <tromey@redhat.com>
9979
9980         * Makefile.in: Rebuilt.
9981         * Makefile.am (java/lang/Thread.h): Mark
9982         _Jv_AttachCurrentThreadAsDaemon as friend.
9983         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9984         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9985         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9986         function.
9987         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9988         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9989         (_Jv_JNI_InvokeFunctions): Added
9990         _Jv_JNI_AttachCurrentThreadAsDaemon.
9991         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9992         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9993         (JNI_CreateJavaVM): Likewise.
9994         (_Jv_JNI_AttachCurrentThread): Likewise.
9995         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9996         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9997         (_Jv_JNIFunctions): Initialize new fields.
9998         (_Jv_JNI_NewDirectByteBuffer): New function.
9999         (_Jv_JNI_GetDirectBufferAddress): Likewise.
10000         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10001         * include/jni.h (JNI_VERSION_1_4): New macro.
10002         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10003         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10004         (JNINativeInterface::NewDirectByteBuffer): New field.
10005         (JNINativeInterface::GetDirectBufferAddress): New field.
10006         (JNINativeInterface::GetDirectBufferCapacity): New field.
10007         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10008         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10009         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10010
10011 2002-04-09  Tom Tromey  <tromey@redhat.com>
10012
10013         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10014
10015 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10016
10017         Fix for PR libgcj/6187:
10018         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10019         distance.
10020
10021 2002-04-07  Mark Wielaard <mark@klomp.org>
10022
10023         * java/util/AbstractMap.java (putAll): Use entrySet size.
10024         (toString): Explicitly use getKey() and getValue().
10025
10026 2002-04-07  Mark Wielaard <mark@klomp.org>
10027
10028         * java/util/Hashtable.java (contains): Remove NullPointer check.
10029         (containsValue): Add NullPointer check.
10030         (remove): Always throw NullPointerException when key
10031         is null.
10032
10033 2002-04-07  Adam King <aking@dreammechanics.com>
10034
10035         * java/lang/natSystem.cc (init_properties): Call new function
10036         _Jv_platform_initProperties.
10037         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10038         support for the System properties os.name, os.arch, os.version,
10039         user.name, user.home, and user.dir.
10040         * include/posix.h, include/win32.h, posix.cc: New function
10041         _Jv_platform_initProperties.
10042
10043 2002-04-06  Mark Wielaard <mark@klomp.org>
10044
10045         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10046
10047 2002-04-06  Mark Wielaard <mark@klomp.org>
10048
10049         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10050         all of the remaining elements.
10051         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10052         (removeRange): If toIndex == fromIndex do
10053         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10054         (removeAll): Always throw NullPointerException when collection is
10055         null.
10056         (retrainAll): Likewise.
10057
10058 2002-04-05  Mark Wielaard <mark@klomp.org>
10059
10060         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10061         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10062
10063 2002-04-05  Adam Megacz <adam@xwt.org>
10064
10065         * exception.cc (abort): added static modifier
10066
10067 2002-04-04  Adam Megacz <adam@xwt.org>
10068
10069         * include/win32.h (_Jv_platform_close_on_exec): added inline
10070         modifier.
10071
10072 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10073
10074         * configure.host: Add case statement to support generic port
10075         properties.  Add *-*-freebsd* section.
10076
10077 2002-04-04  Mark Wielaard  <mark@klomp.org>
10078
10079         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10080         test.
10081         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10082         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10083         that depend on awt code and BufferedByteOutputStream.interrupt.
10084
10085 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10086
10087         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10088         incorrect "hi" value when count > 40.
10089
10090 2002-04-03  Mark Wielaard  <mark@klomp.org>
10091
10092         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10093         ordering.
10094
10095 2002-04-02  Tom Tromey  <tromey@redhat.com>
10096
10097         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10098         not `0'.
10099
10100 2002-04-02  Mark Wielaard  <mark@klomp.org>
10101
10102         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10103         list of testsuite crashers.
10104
10105 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10106
10107         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10108         when resizing table.
10109
10110 2002-04-01  Mark Wielaard  <mark@klomp.org>
10111
10112         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10113         NegativeArraySizeException
10114         (clear(int)): Use sign extended shift.
10115         (flip(int)): Likewise.
10116         (get(int)): Likewise.
10117         (nextClearBit(int)): Likewise.
10118         (nextSetBit(int)): Likewise.
10119         (set(int)): Likewise.
10120
10121 2002-04-01  Mark Wielaard  <mark@klomp.org>
10122
10123         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10124         that can be compiled now and add testsuite crashers to ignore list.
10125
10126 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10127
10128         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10129
10130         * libgcj.spec.in: Override libgcc, not lib.
10131         * libgcj-test.spec.in: Likewise.
10132
10133 2002-03-29  Tom Tromey  <tromey@redhat.com>
10134
10135         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10136         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10137
10138 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10139
10140         * java/net/PlainDatagramSocketImpl.java
10141         (close): Use native implementation.
10142         (finalize): New method.
10143
10144         * java/net/PlainSocketImpl.java (finalize): New method.
10145
10146         * java/net/natPlainDatagramSocketImpl.cc
10147         (java/io/FileDescriptor.h): Don't include.
10148         (close): Implement method here.
10149         (create): Don't assign fd.
10150
10151         * java/net/natPlainSocketImpl.cc
10152         (java/io/FileDescriptor.h): Don't include.
10153         (create): Don't assign fd.
10154         (accept): Likewise.
10155         (close): Synchronize.
10156
10157 2002-03-27  Richard Henderson  <rth@redhat.com>
10158
10159         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10160
10161 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10162
10163         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10164         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10165         instead of syscall on IA-64.
10166         Add FIXME comment.
10167
10168 2002-03-27  Anthony Green  <green@redhat.com>
10169
10170         * libgcj.spec.in: Add CHECKREFSPEC.
10171         * configure.in: Ditto.
10172         * configure.host: Ditto.  Check references for xscale-elf.
10173         * configure: Rebuilt.
10174
10175 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10176
10177         * include/dwarf2-signal.h: Temporarily back out last change.
10178
10179 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10180
10181         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10182
10183 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10184
10185         * configure.in, configure: enable dwarf2-exception-style
10186         exception handling on IA-64.
10187         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10188         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10189         Add FIXME comment.
10190
10191 2002-03-25  Tom Tromey  <tromey@redhat.com>
10192
10193         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10194         (jv_convert_LDFLAGS): Likewise.
10195         (gij_LDFLAGS): Likewise.
10196         (rmic_LDFLAGS): Likewise.
10197         (rmiregistry_LDFLAGS): Likewise.
10198         * configure.in (THREADLDFLAGS): New subst; set correctly for
10199         *BSD.
10200
10201 2002-03-25  Tom Tromey  <tromey@redhat.com>
10202
10203         For PR libgcj/5303:
10204         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10205         and --version.
10206         (help): New method.
10207         (version): Likewise.
10208         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10209         "GNU".
10210         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10211         "GNU".
10212
10213 2002-03-25  Tom Tromey  <tromey@redhat.com>
10214
10215         * java/awt/Component.java (processEvent): Check ComponentEvent
10216         after KeyEvent.
10217
10218 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10219
10220         * java/io/PushbackReader.java: Reformat.
10221
10222         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10223         calculate correct number of bytes skipped.
10224
10225         Based on patch from Intel's ORP team:
10226         * java/io/PushbackInputStream.java (available): Calculate correct
10227         number of bytes in buffer.
10228         (read): Remove redundant bound check. Return bytes from both the
10229         buffer and the stream.
10230
10231 2002-03-24  Tom Tromey  <tromey@redhat.com>
10232
10233         * java/awt/TextComponent.java (TextComponent): Editable by
10234         default.
10235
10236         * java/awt/MenuItem.java (eventMask): No longer private.
10237         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10238         superclass if we didn't handle event.
10239         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10240         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10241         * java/awt/Choice.java (dispatchEventImpl): New method.
10242         * java/awt/List.java (dispatchEventImpl): New method.
10243         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10244         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10245         * java/awt/TextField.java (dispatchEventImpl): New method.
10246
10247 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10248
10249         * java/beans/IntrospectionException.java: Update to 1.4.
10250         * java/beans/PropertyVetoException.java: Ditto.
10251
10252 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10253
10254         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10255         Arrays.equals instead of ArrayHelper.equalsArray.
10256
10257 2002-03-24  C. Brian Jones <cbj@gnu.org>
10258
10259         * java/beans/Introspector.java: added new static final fields
10260         introduced in 1.2, lots of other updates remain to be done
10261
10262 2002-03-24  C. Brian Jones <cbj@gnu.org>
10263
10264         * java/beans/Introspector.java: reformatting
10265
10266 2002-03-24  C. Brian Jones <cbj@gnu.org>
10267
10268         * java/beans/Introspector.java: default beanInfoSearchPath will
10269         not include sun.beans.infos given we provide no such package and
10270         the API doesn't really require it; gnu.java.beans.info is the
10271         default.
10272
10273 2002-03-24  Mark Wielaard  <mark@klomp.org>
10274
10275         Thanks to Orp developers
10276         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10277         switch TRUE and FALSE return values.
10278
10279 2002-03-23  Tom Tromey  <tromey@redhat.com>
10280
10281         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10282         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10283
10284 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10285
10286         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10287         MONTH entry.  Fixes PR libgcj/6045.
10288
10289 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10290
10291         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10292
10293 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10294
10295         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10296         not release_set.
10297         * sysdep/powerpc/locks.h (write_barrier): New function.
10298         * sysdep/i386/locks.h (write_barrier): New function.
10299
10300 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10301
10302         * include/jni.h Use correct C comments.
10303
10304 2002-03-18  Tom Tromey  <tromey@redhat.com>
10305
10306         * include/jni.h (JNIIMPORT): New macro.
10307         (JNIEXPORT): Likewise.
10308         (JNICALL): Likewise.
10309
10310 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10311
10312         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10313         systems.
10314
10315 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10316
10317         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10318         INIT_SEGV: Use old_i386_kernel_sigaction.
10319         INIT_FP: Likewise.
10320
10321 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10322
10323         * java/lang/natSystem.cc (init_properties): Update VM version
10324         properties.
10325         * configure.in: Set GCJVERSION.
10326         * acconfig.h: Add GCJVERSION.
10327         * configure: Rebuilt.
10328         * include/config.h.in: Rebuilt.
10329
10330 2002-03-17  Anthony Green  <green@redhat.com>
10331
10332         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10333
10334 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10335
10336         Build a single libgcj.so, without separate gc and zlib libraries.
10337         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10338         SYS_ZLIBS if system zlib is used.
10339         * configure: Rebuilt.
10340         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10341         * Makefile.in: Rebuilt.
10342         * libtool-version: Increment .so version number.
10343
10344         * Makefile.am: Escape quotes in echo.
10345         * Makefile.in: Rebuilt.
10346
10347 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10348
10349         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10350         * Makefile.in: Rebuilt.
10351
10352 2002-03-15  Anthony Green  <green@redhat.com>
10353
10354         * configure.host (FILE): New macro for specifing File
10355         implementation.
10356         * configure: Rebuilt.
10357         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10358
10359 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10360
10361         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10362         already implicitly brought in from libgcj.la.
10363         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10364         * Makefile.in: Rebuilt.
10365
10366 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10367
10368         * THANKS: Fix punctuation, alphabetization.
10369
10370 2002-03-15  Tom Tromey  <tromey@redhat.com>
10371             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10372
10373         Fix for PR libgcj/5944.
10374         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10375
10376 2002-03-15  Anthony Green  <green@redhat.com>
10377
10378         * configure.in (tool_include_dir): Define.
10379         * configure: Rebuilt.
10380         * gcj/Makefile.am: Install libgcj-config.h relative to
10381         tool_include_dir.
10382         * gcj/Makefile: Rebuilt.
10383         * gcj/libgcj-config.h: Add warning comment.
10384
10385 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10386
10387         * configure.host (powerpc*-darwin*): Enable interpreter.
10388
10389 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10390
10391         * include/posix.h: Add multiple include header protection.
10392         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10393
10394 2002-03-10  Adam Megacz <adam@xwt.org>
10395
10396         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10397
10398 2002-03-10  Tom Tromey  <tromey@redhat.com>
10399
10400         * java/awt/GridLayout.java (layoutContainer): Handle case where
10401         there are no items in container.
10402
10403         * java/lang/Win32Process.java: Added comment.
10404         * include/posix.h (_Jv_platform_close_on_exec): New function.
10405         Include fcntl.h.
10406         * include/win32.h (_Jv_platform_close_on_exec): New function.
10407         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10408         flag.
10409         (accept): Likewise.
10410         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10411         close-on-exec flag.
10412         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10413         flag.
10414
10415 2002-03-09  Tom Tromey  <tromey@redhat.com>
10416
10417         * verify.cc (state::NO_STACK): New constant.
10418         (state::is_unmerged_ret_state): Handle case where stacktop is
10419         NO_STACK.
10420         (state::merge): Handle NO_STACK merges.
10421         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10422         for instruction following jsr.
10423         (stacktop, stackdepth): Removed unused variables.
10424         (pop_jump): Ignore case where all remaining states are skipped.
10425
10426 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10427
10428         * java/awt/ImageMediaEntry: Removed.
10429         * java/awt/MediaEntry: Removed.
10430
10431 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10432
10433         Hashtable synchronization for PowerPC.
10434         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10435         slow_pthread_self. Set up symlink for sysdeps directory.
10436         * configure: Rebuild.
10437         * configure.host: Document more shell variables. Set sysdeps_dir
10438         for most platforms. Set slow_pthread_self for i686. Set
10439         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10440         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10441         that memory barrier is emitted where required.
10442         * prims.cc: 64-bit align static primitive class instances.
10443         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10444         read_barrier() to enforce ordering of reads.
10445         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10446         primitives for PowerPC.
10447         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10448         moved from natObject.cc.
10449         * sysdep/alpha/locks.h: Likewise.
10450         * sysdep/ia64/locks.h: Likewise.
10451         * sysdep/generic/locks.h: Likewise.
10452         * java/lang/natObject.cc: Move thread synchronization primitives to
10453         system-dependent headers.
10454
10455 2002-03-09  Adam Megacz  <adam@xwt.org>
10456
10457         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10458         bytes read and no failure code returned.
10459
10460 2002-03-09  Adam Megacz  <adam@xwt.org>
10461
10462         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10463         definitions to simulate -mthreads.
10464
10465 2002-03-09  Adam Megacz  <adam@xwt.org>
10466
10467         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10468         avoid precision loss.
10469
10470 2002-03-09  Per Bothner  <per@bothner.com>
10471
10472         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10473         * gnu/gcj/xlib/XImage.java:  Likewise.
10474         * gnu/gcj/xlib/XColor.java:  Likewise.
10475
10476 2002-03-09  Adam Megacz  <adam@xwt.org>
10477
10478         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10479         IOException so that Throwable.printStackTrace fails correctly.
10480
10481 2002-03-08  Adam Megacz  <adam@xwt.org>
10482
10483         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10484         fixed.
10485
10486 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10487
10488         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10489         truncated to int.
10490
10491 2002-03-08  Tom Tromey  <tromey@redhat.com>
10492
10493         * include/jni.h: Include stdio.h.
10494
10495 2002-03-08  Tom Tromey  <tromey@redhat.com>
10496
10497         * posix.cc (internal_gettimeofday): New function.
10498         (_Jv_select): Use it.
10499
10500 2002-03-07  Adam Megacz  <adam@xwt.org>
10501
10502         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10503         WIN32, and added thunks for read(), write(), and close().
10504         * java/net/natPlainSocketImpl.cc (accept, read, read):
10505         Disabled timeouts on WIN32 pending discussion.
10506
10507 2002-03-07  Adam Megacz  <adam@xwt.org>
10508
10509         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10510         returns jlong. Added implementation
10511         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10512         returns jlong.
10513         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10514         returns jlong.
10515         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10516         returns jlong.
10517         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10518         _Jv_platform_gettimeofday signature.
10519
10520 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10521
10522         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10523         (read): Call recv() directly, not _Jv_recv().
10524
10525 2002-03-06  Tom Tromey  <tromey@redhat.com>
10526
10527         * java/io/natFileDescriptorEcos.cc (init): Don't use
10528         GetStdHandle.
10529         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10530         is negative.
10531         (init): Don't use GetStdHandle.
10532
10533         * include/config.h.in: Rebuilt.
10534         * configure: Rebuilt.
10535         * Makefile.in: Rebuilt.
10536
10537 2002-03-06  Adam Megacz  <adam@xwt.org>
10538
10539         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10540         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10541         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10542         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10543
10544 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10545
10546         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10547         the code for generating include/java-chartables.h.
10548         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10549         merge with Classpath.
10550         * scripts/unicode-muncher.pl: Copy from Classpath.
10551         * scritps/MakeCharTables.java: New file.
10552         * gnu/gcj/convert/Blocks-3.txt: New file.
10553         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10554         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10555         * gnu/java/lang/CharData.java: Copy from Classpath.
10556         * Makefile.am (ordinary_java_source_files): Add
10557         gnu/java/lang/CharData.java.
10558         * configure.in: Remove --enable-fast-character option.
10559         * java/lang/Character.java: Merge algorithms and Javadoc with
10560         Classpath.
10561         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10562         efficiently.
10563         * include/java-chardecomp.h: Regenerate.
10564         * include/java-chartables.h: Regenerate.
10565
10566 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10567
10568         * java/awt/MediaTracker.java: Implemented.
10569         * Makefile.am: Add MediaTracker.
10570         * Makefile.in: Rebuilt.
10571
10572 2002-03-05  Tom Tromey  <tromey@redhat.com>
10573
10574         * java/lang/natPosixProcess.cc (fail): Removed.
10575         (startProcess): Simplified error-handling.  Preserve
10576         LD_LIBRARY_PATH across exec.
10577
10578         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10579         AbstractMethodError.
10580
10581 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10582
10583         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10584         * Makefile.in: Rebuilt.
10585
10586 2002-03-03 Mark Wielaard <mark@klomp.org>
10587
10588         * java/util/Timer (TaskQueue.stop): set elements to zero.
10589
10590 2002-02-28  Anthony Green  <green@redhat.com>
10591
10592         * java/lang/reflect/natMethod.cc (result): Add void* element.
10593         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10594         constructor test.
10595
10596 2002-02-27  Adam Megacz <adam@xwt.org>
10597
10598         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10599         '#undef STRICT'.
10600
10601 2002-02-26  Tom Tromey  <tromey@redhat.com>
10602
10603         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10604         * gij.cc (version): Use __VERSION__.
10605         * include/config.h.in: Rebuilt.
10606         * acconfig.h (GCJVERSION): Removed.
10607         * configure: Rebuilt.
10608         * configure.in (GCJVERSION): Removed.
10609
10610 2002-02-26  Andreas Schwab  <schwab@suse.de>
10611
10612         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10613         glibcpp_CXX, since libjava uses even another CXX.
10614         * aclocal.m4, configure: Regenerated.
10615
10616 2002-02-26  Tom Tromey  <tromey@redhat.com>
10617
10618         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10619         `1'.
10620
10621 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10622
10623         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10624         dependency tracking for .java files.
10625         * Makefile.in: Rebuilt.
10626
10627 2002-02-24  Adam Megacz  <adam@xwt.org>
10628
10629         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10630         typo. Sorry.
10631
10632 2002-02-24  Adam Megacz  <adam@xwt.org>
10633
10634         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10635         for Win32, changed #ifdefs to check WIN32 instead of the
10636         (now-obsolete) USE_WINSOCK, and removed support for socket
10637         timeouts on Win32 pending further discussion.
10638
10639 2002-02-24  Adam Megacz  <adam@xwt.org>
10640
10641         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10642         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10643         delete
10644
10645 2002-02-24  Adam Megacz  <adam@xwt.org>
10646
10647         * java/lang/Win32Process.java: Created a dummy class to allow
10648         build process to run to completion.
10649
10650 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10651
10652         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10653         Define ffi_result union for ffi_call result.  Cast
10654         ffi_result members to jvalue.
10655
10656 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10657
10658         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10659         * testsuite/Makefile.in: Likewise.
10660
10661 2002-02-20  Per Bothner  <per@bothner.com>
10662
10663         * java/net/URL.java (getPath):  New JDK 1.3 method.
10664
10665         * java/net/URLStreamHandler.java (parseURL):
10666         It is wrong to prepend '/' to the file part of a relative url.
10667
10668         * java/net/URLStreamHandler.java (parseURL):
10669         Minor optizations - append '/' rather than "/".
10670
10671         * java/net/URLStreamHandler.java (parseURL):
10672         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10673         We probably should canonicalize for a context-relative url, though.
10674         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10675         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10676         (sameFile):  New method.  Uses canonicalizeFilename.
10677
10678 2002-02-22  Tom Tromey  <tromey@redhat.com>
10679
10680         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10681         java.vendor and java.vm.vendor.
10682         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10683         recent copyright date.
10684         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10685         * gij.cc (version): Print `Inc'.
10686
10687 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10688
10689         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10690         * aclocal.m4, configure: Rebuilt.
10691
10692 2002-02-20  Per Bothner  <per@bothner.com>
10693
10694         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10695         and/or output streams immediately here, instead of using File.exists.
10696         (inputStream, outputStream):  New fields to save open streams.
10697         (getInputStream, getOutputStream):  Use already-opened streams.
10698
10699 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10700
10701         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10702         Use it.
10703         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10704         * aclocal.m4, configure, Makefile.in: Rebuilt.
10705
10706 2002-02-19  Tom Tromey  <tromey@redhat.com>
10707
10708         Fix for PR libgcj/5696:
10709         * verify.cc (is_assignable_from_slow): Never call
10710         _Jv_IsAssignableFrom.
10711         (verify_instructions_0): Added new debug statement.
10712         (state::print): Print information about whether local has
10713         changed.
10714         (state::merge): Don't call note_variable when merging locals.
10715         (state::set_exception): Removed old FIXME comment.
10716
10717 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10718
10719         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10720         enable SO_BROADCAST.
10721
10722 2002-02-18  Jason Merrill  <jason@redhat.com>
10723
10724         * name-finder.cc (toHex): Use word mode, not long long.
10725
10726         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10727
10728 2002-02-15  Tom Tromey  <tromey@redhat.com>
10729
10730         Fix for PR libgcj/5695:
10731         * verify.cc (is_assignable_from_slow): Check to see if target is
10732         an Object before checking to see if source is an interface.
10733         (verify_instructions_0) [op_invokeinterface]: Handle case where
10734         we're making an interface call on Object.
10735
10736 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10737
10738         * Makefile.in: Rebuilt with Eric's change below.
10739
10740         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10741         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10742         Removed functions which are now implemented in Math.java.
10743
10744 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10745
10746         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10747         * Makefile.am (core_java_source_files): Add
10748         java/lang/StrictMath.java.
10749         * java/lang/Math.java: Merge with Classpath.
10750         * java/lang/StrictMath.java: New file - merge with Classpath.
10751
10752 2002-02-14  Mark Wielaard  <mark@klomp.org>
10753
10754         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10755         package as a workaround for gcj 3.0.x
10756
10757 2002-02-14  Mark Wielaard <mark@klomp.org>
10758
10759         * java/security/BasicPermission.java: extends with fully qualified
10760         classname as workaround for gcj 3.0.4.
10761
10762 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10763
10764         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10765         around gcj bug of wrong emitted qualifier for inherited method.
10766         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10767         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10768         constructor to reduce amount of emitted bytecode. While this
10769         happens to work around a jikes 1.15 bug, it is still a useful
10770         patch even for correct compilers.
10771         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10772         * gnu/java/rmi/server/UnicastRemoteCall.java
10773         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10774
10775 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10776
10777         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10778         * java/net/SocketImpl.java: Ditto.
10779         * java/rmi/server/RMIClassLoader.java: Ditto.
10780         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10781
10782 2002-02-14  Mark Wielaard <mark@klomp.org>
10783
10784         Thanks to Takashi Okamoto
10785         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10786         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10787         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10788
10789 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10790
10791         Fix for PR libgcj/5670:
10792         * verify.cc (is_assignable_from_slow): If `source' is interface,
10793         recursively look for merge with `target'.
10794
10795 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10796
10797         * include/jni.h: Fix typo.
10798
10799 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10800
10801         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10802         correctly.
10803
10804 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10805
10806         Fix for PR libgcj/5671:
10807         * verify.cc (state::merge): Handle case where we're merging
10808         against an interface.
10809
10810 2002-02-12  Tom Tromey  <tromey@redhat.com>
10811
10812         * exception.cc (std::abort): Mark as noreturn.
10813
10814 2002-02-12  Adam Megacz <adam@xwt.org>
10815
10816         * java/lang/Win32Process.java: Filled in a placeholder
10817         implementation so Win32 will build.
10818
10819 2002-02-12  Adam Megacz <adam@xwt.org>
10820
10821         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10822         * java/io/natFile.cc: Removed from repository.
10823         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10824
10825 2002-02-12  Adam Megacz <adam@xwt.org>
10826
10827         * win32.cc: Added two #includes to make win32.cc compile.
10828
10829 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10830
10831         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10832         declarations.
10833         (_Jv_InitGC): Don't bother locking, as this is always called from a
10834         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10835
10836 2002-02-11  Adam Megacz <adam@xwt.org>
10837
10838         * include/win32.h: Added _Jv_platform_gettimeofday.
10839         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10840
10841 2002-02-11  Adam Megacz <adam@xwt.org>
10842
10843         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10844         Added #undef STRICT to make windows.h and
10845         java/lang/reflect/Modifier.h cooperate.
10846
10847 2002-02-11  Adam Megacz <adam@xwt.org>
10848
10849         * java/io/natFileWin32.cc: Created a placeholder class with lots
10850         of FIXMEs.
10851
10852 2002-02-11  Adam Megacz <adam@xwt.org>
10853
10854         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10855         std::abort() to simply abort(). Also added "fake" std::abort() so
10856         we can #include unwind-pe.h without having to link against
10857         libstdc++-v3.
10858
10859 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10860
10861         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10862
10863 2002-02-08  Tom Tromey  <tromey@redhat.com>
10864
10865         * interpret.cc (convert): New function.
10866         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10867         convert.
10868         Include Long.h.
10869
10870 2002-02-08  Anthony Green  <green@redhat.com>
10871
10872         * configure.host: Add support for xscale-elf embedded target.
10873
10874 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10875
10876         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10877         dereferenced.
10878         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10879         frame.
10880
10881 2002-02-07  Tom Tromey  <tromey@redhat.com>
10882
10883         * java/io/natFile.cc (_access): Use __builtin_alloca.
10884         (_stat): Likewise.
10885         (attr): Likewise.
10886         (getCanonicalPath): Likewise.
10887         (performList): Likewise.
10888         (performMkdir): Likewise.
10889         (performSetReadOnly): Likewise.
10890         (performRenameTo): Likewise.
10891         (performSetLastModified): Likewise.
10892         (performCreate): Likewise.
10893         (performDelete): Likewise.
10894
10895 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10896
10897         * HACKING: Fix URL for the automake-gcj.
10898
10899 2002-02-07  Tom Tromey  <tromey@redhat.com>
10900
10901         * java/lang/natThrowable.cc: Updated copyright.
10902         * java/io/natFileWin32.cc: Updated copyright.
10903         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10904         * win32-threads.cc: Updated copyright.
10905         * name-finder.cc: Updated copyright.
10906         * include/name-finder.h: Updated copyright.
10907
10908         * include/name-finder.h: Conditionally include sys/wait.h.
10909         * include/config.h.in: Rebuilt.
10910
10911         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10912         Size buffer based on real size of string.
10913         (_stat): Likewise.
10914         (attr): Likewise.
10915         (getCanonicalPath): Likewise.
10916         (performList): Likewise.
10917         (performMkdir): Likewise.
10918         (performSetReadOnly): Likewise.
10919         (unixroot): Removed.
10920         (performRenameTo): Likewise.
10921         (performSetLastModified): Likewise.
10922         (performCreate): Likewise.
10923         (performDelete): Likewise.
10924         (performListRoots): Always return new array.
10925
10926         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10927         * win32.cc (win32_exception_handler): Now static.
10928         * include/win32.h (_Jv_platform_initialize): Declare.
10929         (win32_exception_handler): Don't declare.
10930         * java/lang/natSystem.cc (currentTimeMillis): Use
10931         _Jv_platform_gettimeofday.
10932         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10933         (_Jv_select): Use new name.
10934         (_Jv_platform_initialize): New function.
10935         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10936         _Jv_gettimeofday.
10937         (_Jv_platform_initialize): Declare.
10938
10939         * configure: Rebuilt.
10940         * configure.in: Removed unnecessary parens.
10941
10942 2002-02-06  Adam Megacz <adam@xwt.org>
10943
10944        * configure.in: Changed mingw) to *mingw*).
10945        * win32.cc: Created this file.
10946        * win32.h: Created this file.
10947        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10948        win32_exception_handler from prims.cc to win32.cc, added
10949        header in win32.h.
10950        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10951        longer needed now that we have platform.h
10952
10953 2002-02-06  Adam Megacz <adam@xwt.org>
10954
10955         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10956         use uint<n>_t instead of LONG and BYTE
10957
10958 2002-02-06  Adam Megacz <adam@xwt.org>
10959
10960         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10961
10962 2002-02-06  Anthony Green  <green@redhat.com>
10963
10964         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10965         Implement missing method stubs.
10966         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10967         targets.
10968         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10969         concept of timezones.
10970         (init_properties): Don't refer to _Jv_Environment_Properties
10971         when this feature is not available.
10972         * include/config.h.in: Rebuilt.
10973         * acconfig.h: Add DISABLE_MAIN_ARGS.
10974         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10975         * configure: Rebuilt.
10976         * configure.in: Add --disable-main-args option.  Test for
10977           opendir function.  Replace AC_CHECK_SIZEOF with
10978           AC_COMPILE_CHECK_SIZEOF.
10979         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10980         * aclocal.m4: Rebuilt.
10981         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10982
10983 2002-02-06  Tom Tromey  <tromey@redhat.com>
10984
10985         * verify.cc (require_array_type): If argument is a null array of
10986         references, return null as the element type.
10987
10988 2002-02-06  Mark Wielaard  <mark@klomp.org>
10989
10990         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10991         duplicate of a wide type.
10992
10993 2002-02-06  Tom Tromey  <tromey@redhat.com>
10994
10995         * verify.cc (type::isnull): New method.
10996         (require_array_type): Handle case where array is null.
10997         (verify_instructions_0) [op_arraylength]: Likewise.
10998
10999 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11000
11001         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11002         Symlink PLATFORMH to platform.h.
11003         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11004         PLATFORMOBJS.
11005         * java/lang/natSystem.cc: #include platform.h not posix.h.
11006         * Makefile.in: Rebuilt with libgcj automake.
11007         * configure: Rebuilt.
11008
11009 2002-02-05  Richard Henderson  <rth@redhat.com>
11010
11011         * Makefile.in: Undo munging last change.
11012
11013 2002-02-04  Adam Megacz <adam@xwt.org>
11014
11015         * win32.cc: Created it.
11016         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11017         which is set to posix.cc or win32.cc.
11018         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11019
11020 2002-02-04  Adam Megacz <adam@xwt.org>
11021
11022         * configure.in: Corrected mingw case branches; added * before
11023         and after.
11024
11025 2002-02-04  Adam Megacz <adam@xwt.org>
11026
11027         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11028         if compiling for win32
11029
11030 2002-02-04  Adam Megacz <adam@xwt.org>
11031
11032         * win32-threads.cc: #undef STRICT after gc.h inclusion
11033
11034 2002-02-02  Tom Tromey  <tromey@redhat.com>
11035
11036         * Makefile.in: Rebuilt.
11037
11038 2002-02-02  Jason Merrill  <jason@redhat.com>
11039
11040         * Makefile.am (clean-nat): New target.
11041
11042 2002-02-02  Tom Tromey  <tromey@redhat.com>
11043
11044         * java/io/natFile.cc: Removed old "FIXME" comments.
11045
11046 2002-02-01  Tom Tromey  <tromey@redhat.com>
11047
11048         * java/lang/natPosixProcess.cc (myclose): New function.
11049         (fail): Use it.
11050         (startProcess): Likewise.
11051
11052 2002-02-01  Adam Megacz <adam@xwt.org>
11053
11054         * prims.cc: Added #undef STRICT after #include<windows.h>.
11055
11056 2002-02-01  Adam Megacz <adam@xwt.org>
11057
11058         * prims.cc
11059         (_Jv_CreateJavaVM): We now use WIN32 instead of
11060         USE_WIN32_SIGNALLING and USE_WINSOCK.
11061         (win32_exception_handler): Now throws an exception out of
11062         the signal handler; assumes SJLJ.
11063
11064 2002-02-01  Adam Megacz <adam@xwt.org>
11065
11066         * win32-threads.cc:
11067         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11068         wait() algorithm to make it safe.
11069         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11070         Added lazy creation of Win32 Events for better performance
11071         (really_start): This now uses GC_CreateThread so boehm-gc
11072         knows about new threads even when statically linked.
11073
11074 2002-02-01  Adam Megacz <adam@xwt.org>
11075
11076         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11077         enable safer wait() algorithm.
11078         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11079         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11080         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11081         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11082         instead of mutex.
11083         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11084
11085 2002-02-01  Adam Megacz <adam@xwt.org>
11086
11087         * configure.in: Added support for mingw.
11088         * java/lang/Win32Process.java: Created as empty file.
11089         * java/lang/natWin32Process.cc: Created as empty file.
11090
11091 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11092
11093         PR java/4972
11094         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11095         for libiconv in LIBICONV variable.
11096         * configure: Regenerated.
11097
11098 2002-01-31  Tom Tromey  <tromey@redhat.com>
11099
11100         * verify.cc (state::enter_subroutine): New method.
11101         (handle_jsr_insn): Use it.
11102         (state::merge): When processing a `ret', correctly use
11103         subroutine's state to determine which local variables have
11104         changed.
11105         (push_exception_jump): Don't let stack overflow.
11106
11107 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11108
11109         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11110         --version output.
11111
11112 2002-01-30  Tom Tromey  <tromey@redhat.com>
11113
11114         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11115         parameter for `recv' return type.
11116
11117         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11118         (state::merge): ... not here.
11119         (subr_entry_info): New structure.
11120         (entry_points): New field.
11121         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11122         entry_points.
11123
11124 2002-01-29  Tom Tromey  <tromey@redhat.com>
11125
11126         * java/awt/List.java (addNotify): Correctly check to see if peer
11127         does not exist.
11128
11129         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11130         to compute height of each cell, and number of columns to compute
11131         width of each cell.
11132         * java/awt/Window.java (getOwnedWindows): Don't return null.
11133         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11134         of component.  Increment x using horizontal gap, not vertical
11135         gap.
11136
11137 2002-01-28  Tom Tromey  <tromey@redhat.com>
11138
11139         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11140         `nargs' byte is number of words, not number of arguments.
11141
11142 2002-01-27  Tom Tromey  <tromey@redhat.com>
11143
11144         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11145         (when): Likewise.
11146         * java/awt/event/InputEvent.java (modifiers, when): Now
11147         package-private.
11148
11149         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11150         and to-do list.
11151         (state::merge): Use current class' class loader.
11152         (state::print): Print subroutine.
11153         (state::merge): Don't look at subroutine of unmerged `ret'.
11154
11155 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11156
11157         * nogc.cc: Remove warnings.
11158         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11159         New functions.
11160
11161 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11162
11163         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11164         int, int):  Remove empty "if" statement to work around compiler bug.
11165         (newPixels(int[], ColorModel, int, int): Likewise.
11166
11167 2002-01-25  Per Bothner  <per@bothner.com>
11168
11169         * verify.cc (verify_fail):  Change from being a top-level function
11170         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11171         Pass the current verifier to type: and state: methods as needed,
11172         for better error messages, and for resolve.
11173         (resolve):  Pass current class's loader for Class.forName and
11174         _Jv_FindClassFromSignature, rather than using the default loader.
11175         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11176         (get_type_val_for_signature):  Make non-static.
11177         (various methods):  Pass start_PC implicitly, not explicitly.
11178
11179 2002-01-25  Tom Tromey  <tromey@redhat.com>
11180
11181         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11182         loop termination condition.
11183         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11184         width.
11185
11186 2002-01-24  Tom Tromey  <tromey@redhat.com>
11187
11188         * java/awt/Shape.java: Merged with Classpath.
11189         * java/awt/Scrollbar.java: Merged with Classpath.
11190
11191         * java/awt/Container.java (addNotify): Unconditionally call
11192         addNotifyContainerChildren and superclass addNotify.
11193
11194         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11195         getAlpha, not getBlue.
11196
11197 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11198
11199         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11200
11201         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11202         (grabPixels(long)): Wait to be notified that the ImageProducer has
11203         completed.
11204
11205 2002-01-24  Per Bothner  <per@bothner.com>
11206
11207         * verify.cc (is_assignable_from_slow): If target is an interface,
11208         we must still check the source's superclass before giving up.
11209
11210 2002-01-24  Tom Tromey  <tromey@redhat.com>
11211
11212         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11213
11214 2002-01-23  Tom Tromey  <tromey@redhat.com>
11215
11216         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11217         `else'.
11218
11219         * Makefile.in: Rebuilt.
11220         * Makefile.am (awt_java_source_files): Added new files.
11221         * java/awt/Toolkit.java: Merged with Classpath.
11222         * java/awt/PrintGraphics.java: New file from Classpath.
11223         * java/awt/PrintJob.java: New file from Classpath.
11224         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11225         * java/awt/datatransfer/ClipboardOwner.java: New file from
11226         Classpath.
11227         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11228         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11229         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11230         Classpath.
11231         * java/awt/datatransfer/StringSelection.java: New file from
11232         Classpath.
11233         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11234         Classpath.
11235         * java/awt/datatransfer/Transferable.java: New file from
11236         Classpath.
11237         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11238         from Classpath.
11239
11240         * Makefile.in: Rebuilt.
11241         * Makefile.am (awt_java_source_files): Added new files.
11242         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11243         Classpath.
11244         * java/awt/image/CropImageFilter.java: New file from Classpath.
11245         * java/awt/image/FilteredImageSource.java: New file from
11246         Classpath.
11247         * java/awt/image/ImageFilter.java: New file from Classpath.
11248         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11249         * java/awt/image/PixelGrabber.java: New file from Classpath.
11250         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11251         * java/awt/image/ReplicateScaleFilter.java: New file from
11252         Classpath.
11253         * java/awt/image/ImageProducer.java: Replaced with Classpath
11254         version.
11255         * java/awt/image/ImageObserver.java: Replaced with Classpath
11256         version.
11257         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11258         version.
11259         * java/awt/GridBagConstraints.java (clone): Catch
11260         CloneNotSupportedException.
11261
11262 2002-01-23  Per Bothner  <per@bothner.com>
11263
11264         * java/lang/reflect/natField.cc (setAddr):  New function.
11265         Calls getAddr and then checks that the field isn't final.
11266         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11267         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11268         (set):  Call setAddr before check that new value has right type,
11269         to better match specified semantics.
11270
11271 2002-01-22  Tom Tromey  <tromey@redhat.com>
11272
11273         * java/awt/TextField.java: Replaced with Classpath version.
11274         * java/awt/TextArea.java: Replaced with Classpath version.
11275         * java/awt/TextComponent.java: Replaced with Classpath version.
11276
11277         * java/awt/GridBagConstraints.java: Updated copyright.
11278
11279 2002-01-22  Mark Wielaard <mark@klomp.org>
11280
11281         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11282         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11283         java/awt/Dialog.java java/awt/FileDialog.java
11284         java/awt/Font.java java/awt/FontMetrics.java
11285         java/awt/Image.java java/awt/ImageMediaEntry.java
11286         java/awt/Insets.java java/awt/List.java
11287         java/awt/MediaEntry.java java/awt/MediaTracker.java
11288         java/awt/Menu.java java/awt/MenuBar.java
11289         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11290         java/awt/PaintContext.java java/awt/Panel.java
11291         java/awt/PopupMenu.java java/awt/SystemColor.java
11292         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11293         java/awt/peer/CheckboxMenuItemPeer.java
11294         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11295         java/awt/peer/ComponentPeer.java
11296         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11297         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11298         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11299         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11300         java/awt/peer/MenuBarPeer.java
11301         java/awt/peer/MenuComponentPeer.java
11302         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11303         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11304         java/awt/peer/ScrollPanePeer.java
11305         java/awt/peer/ScrollbarPeer.java
11306         java/awt/peer/TextAreaPeer.java
11307         java/awt/peer/TextComponentPeer.java
11308         java/awt/peer/TextFieldPeer.java
11309         java/awt/peer/WindowPeer.java: Add license clarification.
11310
11311 2002-01-22  Mark Wielaard <mark@klomp.org>
11312
11313         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11314         gnu/gcj/runtime/StringBuffer.java
11315         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11316         gnu/java/awt/ComponentDataBlitOp.java
11317         gnu/java/awt/GLightweightPeer.java
11318         gnu/java/beans/BeanInfoEmbryo.java
11319         gnu/java/beans/EmptyBeanInfo.java
11320         gnu/java/beans/ExplicitBeanInfo.java
11321         gnu/java/beans/IntrospectionIncubator.java
11322         gnu/java/beans/editors/ColorEditor.java
11323         gnu/java/beans/editors/FontEditor.java
11324         gnu/java/beans/editors/NativeBooleanEditor.java
11325         gnu/java/beans/editors/NativeByteEditor.java
11326         gnu/java/beans/editors/NativeDoubleEditor.java
11327         gnu/java/beans/editors/NativeFloatEditor.java
11328         gnu/java/beans/editors/NativeIntEditor.java
11329         gnu/java/beans/editors/NativeLongEditor.java
11330         gnu/java/beans/editors/NativeShortEditor.java
11331         gnu/java/beans/editors/StringEditor.java
11332         gnu/java/beans/info/ComponentBeanInfo.java
11333         gnu/java/io/ClassLoaderObjectInputStream.java
11334         gnu/java/io/NullOutputStream.java
11335         gnu/java/io/ObjectIdentityWrapper.java
11336         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11337         gnu/java/lang/reflect/TypeSignature.java
11338         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11339         gnu/java/locale/Calendar_en.java
11340         gnu/java/locale/Calendar_nl.java
11341         gnu/java/locale/LocaleInformation.java
11342         gnu/java/locale/LocaleInformation_de.java
11343         gnu/java/locale/LocaleInformation_en.java
11344         gnu/java/locale/LocaleInformation_nl.java
11345         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11346         gnu/java/rmi/registry/RegistryImpl.java
11347         gnu/java/rmi/rmic/Compile_gcj.java
11348         gnu/java/rmi/rmic/Compiler.java
11349         gnu/java/rmi/rmic/CompilerProcess.java
11350         gnu/java/rmi/rmic/RMIC.java
11351         gnu/java/rmi/rmic/TabbedWriter.java
11352         gnu/java/rmi/server/ProtocolConstants.java
11353         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11354         gnu/java/rmi/server/RMIHashes.java
11355         gnu/java/rmi/server/RMIObjectInputStream.java
11356         gnu/java/rmi/server/RMIObjectOutputStream.java
11357         gnu/java/rmi/server/UnicastConnection.java
11358         gnu/java/rmi/server/UnicastConnectionManager.java
11359         gnu/java/rmi/server/UnicastRef.java
11360         gnu/java/rmi/server/UnicastRemoteCall.java
11361         gnu/java/rmi/server/UnicastRemoteStub.java
11362         gnu/java/rmi/server/UnicastServer.java
11363         gnu/java/rmi/server/UnicastServerRef.java
11364         gnu/java/security/provider/DefaultPolicy.java
11365         gnu/java/security/provider/Gnu.java
11366         gnu/java/security/provider/SHA.java
11367         gnu/java/security/provider/SHA1PRNG.java
11368         gnu/java/text/BaseBreakIterator.java
11369         gnu/java/text/CharacterBreakIterator.java
11370         gnu/java/text/LineBreakIterator.java
11371         gnu/java/text/SentenceBreakIterator.java
11372         gnu/java/text/WordBreakIterator.java
11373         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11374         java/applet/AppletContext.java java/applet/AppletStub.java
11375         java/applet/AudioClip.java java/awt/AWTError.java
11376         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11377         java/awt/AWTException.java java/awt/AWTPermission.java
11378         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11379         java/awt/Button.java java/awt/Canvas.java
11380         java/awt/CardLayout.java java/awt/Checkbox.java
11381         java/awt/CheckboxGroup.java java/awt/Component.java
11382         java/awt/ComponentOrientation.java java/awt/Container.java
11383         java/awt/Dimension.java java/awt/Event.java
11384         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11385         java/awt/FlowLayout.java java/awt/Frame.java
11386         java/awt/Graphics.java java/awt/Graphics2D.java
11387         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11388         java/awt/IllegalComponentStateException.java
11389         java/awt/ItemSelectable.java java/awt/Label.java
11390         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11391         java/awt/MenuComponent.java java/awt/MenuItem.java
11392         java/awt/Paint.java java/awt/Point.java
11393         java/awt/Rectangle.java java/awt/RenderingHints.java
11394         java/awt/Transparency.java java/awt/Window.java
11395         java/awt/color/ColorSpace.java
11396         java/awt/color/ICC_ColorSpace.java
11397         java/awt/color/ICC_Profile.java
11398         java/awt/event/HierarchyBoundsAdapter.java
11399         java/awt/event/HierarchyBoundsListener.java
11400         java/awt/event/HierarchyEvent.java
11401         java/awt/event/HierarchyListener.java
11402         java/awt/geom/AffineTransform.java
11403         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11404         java/awt/geom/IllegalPathStateException.java
11405         java/awt/geom/Line2D.java
11406         java/awt/geom/NoninvertibleTransformException.java
11407         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11408         java/awt/geom/Rectangle2D.java
11409         java/awt/geom/RectangularShape.java
11410         java/awt/geom/RoundRectangle2D.java
11411         java/awt/image/BufferedImage.java
11412         java/awt/image/ColorModel.java
11413         java/awt/image/ComponentColorModel.java
11414         java/awt/image/ComponentSampleModel.java
11415         java/awt/image/DataBuffer.java
11416         java/awt/image/DataBufferByte.java
11417         java/awt/image/DataBufferInt.java
11418         java/awt/image/DataBufferUShort.java
11419         java/awt/image/DirectColorModel.java
11420         java/awt/image/PackedColorModel.java
11421         java/awt/image/Raster.java java/awt/image/RasterOp.java
11422         java/awt/image/SampleModel.java
11423         java/awt/image/SinglePixelPackedSampleModel.java
11424         java/awt/image/WritableRaster.java
11425         java/beans/AppletInitializer.java
11426         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11427         java/beans/Beans.java java/beans/Customizer.java
11428         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11429         java/beans/FeatureDescriptor.java
11430         java/beans/IndexedPropertyDescriptor.java
11431         java/beans/IntrospectionException.java
11432         java/beans/Introspector.java java/beans/MethodDescriptor.java
11433         java/beans/ParameterDescriptor.java
11434         java/beans/PropertyChangeEvent.java
11435         java/beans/PropertyChangeListener.java
11436         java/beans/PropertyChangeSupport.java
11437         java/beans/PropertyDescriptor.java
11438         java/beans/PropertyEditor.java
11439         java/beans/PropertyEditorManager.java
11440         java/beans/PropertyEditorSupport.java
11441         java/beans/PropertyVetoException.java
11442         java/beans/SimpleBeanInfo.java
11443         java/beans/VetoableChangeListener.java
11444         java/beans/VetoableChangeSupport.java
11445         java/beans/Visibility.java
11446         java/beans/beancontext/BeanContext.java
11447         java/beans/beancontext/BeanContextChild.java
11448         java/beans/beancontext/BeanContextChildComponentProxy.java
11449         java/beans/beancontext/BeanContextChildSupport.java
11450         java/beans/beancontext/BeanContextContainerProxy.java
11451         java/beans/beancontext/BeanContextEvent.java
11452         java/beans/beancontext/BeanContextMembershipEvent.java
11453         java/beans/beancontext/BeanContextMembershipListener.java
11454         java/beans/beancontext/BeanContextProxy.java
11455         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11456         java/beans/beancontext/BeanContextServiceProvider.java
11457         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11458         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11459         java/beans/beancontext/BeanContextServiceRevokedListener.java
11460         java/beans/beancontext/BeanContextServices.java
11461         java/beans/beancontext/BeanContextServicesListener.java
11462         java/io/BufferedInputStream.java
11463         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11464         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11465         java/io/ByteArrayOutputStream.java
11466         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11467         java/io/CharConversionException.java java/io/DataInput.java
11468         java/io/DataInputStream.java java/io/DataOutput.java
11469         java/io/EOFException.java java/io/Externalizable.java
11470         java/io/FileFilter.java java/io/FileNotFoundException.java
11471         java/io/FilePermission.java java/io/FileReader.java
11472         java/io/FileWriter.java java/io/FilenameFilter.java
11473         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11474         java/io/FilterReader.java java/io/FilterWriter.java
11475         java/io/IOException.java java/io/InputStream.java
11476         java/io/InterruptedIOException.java
11477         java/io/InvalidClassException.java
11478         java/io/InvalidObjectException.java
11479         java/io/NotActiveException.java
11480         java/io/NotSerializableException.java java/io/ObjectInput.java
11481         java/io/ObjectInputStream.java
11482         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11483         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11484         java/io/ObjectStreamConstants.java
11485         java/io/ObjectStreamException.java
11486         java/io/ObjectStreamField.java
11487         java/io/OptionalDataException.java java/io/OutputStream.java
11488         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11489         java/io/PipedReader.java java/io/PipedWriter.java
11490         java/io/PrintWriter.java java/io/PushbackInputStream.java
11491         java/io/PushbackReader.java java/io/Reader.java
11492         java/io/SequenceInputStream.java java/io/Serializable.java
11493         java/io/SerializablePermission.java
11494         java/io/StreamCorruptedException.java
11495         java/io/StreamTokenizer.java
11496         java/io/StringBufferInputStream.java java/io/StringReader.java
11497         java/io/StringWriter.java java/io/SyncFailedException.java
11498         java/io/UTFDataFormatException.java
11499         java/io/UnsupportedEncodingException.java
11500         java/io/WriteAbortedException.java java/io/Writer.java
11501         java/lang/AbstractMethodError.java
11502         java/lang/ArithmeticException.java
11503         java/lang/ArrayIndexOutOfBoundsException.java
11504         java/lang/ArrayStoreException.java java/lang/Boolean.java
11505         java/lang/Byte.java java/lang/CharSequence.java
11506         java/lang/ClassCastException.java
11507         java/lang/ClassCircularityError.java
11508         java/lang/ClassFormatError.java
11509         java/lang/ClassNotFoundException.java
11510         java/lang/CloneNotSupportedException.java
11511         java/lang/Cloneable.java java/lang/Comparable.java
11512         java/lang/Compiler.java java/lang/Double.java
11513         java/lang/Error.java java/lang/Exception.java
11514         java/lang/ExceptionInInitializerError.java
11515         java/lang/Float.java java/lang/IllegalAccessError.java
11516         java/lang/IllegalAccessException.java
11517         java/lang/IllegalArgumentException.java
11518         java/lang/IllegalMonitorStateException.java
11519         java/lang/IllegalStateException.java
11520         java/lang/IllegalThreadStateException.java
11521         java/lang/IncompatibleClassChangeError.java
11522         java/lang/IndexOutOfBoundsException.java
11523         java/lang/InheritableThreadLocal.java
11524         java/lang/InstantiationError.java
11525         java/lang/InstantiationException.java java/lang/Integer.java
11526         java/lang/InternalError.java
11527         java/lang/InterruptedException.java
11528         java/lang/LinkageError.java java/lang/Long.java
11529         java/lang/NegativeArraySizeException.java
11530         java/lang/NoClassDefFoundError.java
11531         java/lang/NoSuchFieldError.java
11532         java/lang/NoSuchFieldException.java
11533         java/lang/NoSuchMethodError.java
11534         java/lang/NoSuchMethodException.java
11535         java/lang/NullPointerException.java java/lang/Number.java
11536         java/lang/NumberFormatException.java
11537         java/lang/OutOfMemoryError.java java/lang/Package.java
11538         java/lang/Process.java java/lang/Runnable.java
11539         java/lang/RuntimeException.java
11540         java/lang/RuntimePermission.java
11541         java/lang/SecurityException.java
11542         java/lang/SecurityManager.java java/lang/Short.java
11543         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11544         java/lang/StringIndexOutOfBoundsException.java
11545         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11546         java/lang/ThreadLocal.java java/lang/UnknownError.java
11547         java/lang/UnsatisfiedLinkError.java
11548         java/lang/UnsupportedClassVersionError.java
11549         java/lang/UnsupportedOperationException.java
11550         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11551         java/lang/Void.java java/lang/ref/PhantomReference.java
11552         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11553         java/lang/ref/SoftReference.java
11554         java/lang/ref/WeakReference.java
11555         java/lang/reflect/AccessibleObject.java
11556         java/lang/reflect/InvocationTargetException.java
11557         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11558         java/lang/reflect/ReflectPermission.java
11559         java/math/BigDecimal.java java/math/BigInteger.java
11560         java/net/Authenticator.java java/net/BindException.java
11561         java/net/ConnectException.java java/net/ContentHandler.java
11562         java/net/ContentHandlerFactory.java
11563         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11564         java/net/FileNameMap.java java/net/MalformedURLException.java
11565         java/net/MulticastSocket.java java/net/NetPermission.java
11566         java/net/NoRouteToHostException.java
11567         java/net/PasswordAuthentication.java
11568         java/net/ProtocolException.java java/net/ServerSocket.java
11569         java/net/Socket.java java/net/SocketException.java
11570         java/net/SocketImpl.java java/net/SocketImplFactory.java
11571         java/net/SocketOptions.java java/net/SocketPermission.java
11572         java/net/URLDecoder.java java/net/URLEncoder.java
11573         java/net/URLStreamHandlerFactory.java
11574         java/net/UnknownHostException.java
11575         java/net/UnknownServiceException.java
11576         java/rmi/AccessException.java
11577         java/rmi/AlreadyBoundException.java
11578         java/rmi/ConnectException.java
11579         java/rmi/ConnectIOException.java
11580         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11581         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11582         java/rmi/NotBoundException.java
11583         java/rmi/RMISecurityException.java
11584         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11585         java/rmi/RemoteException.java java/rmi/ServerError.java
11586         java/rmi/ServerException.java
11587         java/rmi/ServerRuntimeException.java
11588         java/rmi/StubNotFoundException.java
11589         java/rmi/UnexpectedException.java
11590         java/rmi/UnknownHostException.java
11591         java/rmi/UnmarshalException.java
11592         java/rmi/activation/Activatable.java
11593         java/rmi/activation/ActivateFailedException.java
11594         java/rmi/activation/ActivationDesc.java
11595         java/rmi/activation/ActivationException.java
11596         java/rmi/activation/ActivationGroup.java
11597         java/rmi/activation/ActivationGroupDesc.java
11598         java/rmi/activation/ActivationGroupID.java
11599         java/rmi/activation/ActivationID.java
11600         java/rmi/activation/ActivationInstantiator.java
11601         java/rmi/activation/ActivationMonitor.java
11602         java/rmi/activation/ActivationSystem.java
11603         java/rmi/activation/Activator.java
11604         java/rmi/activation/UnknownGroupException.java
11605         java/rmi/activation/UnknownObjectException.java
11606         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11607         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11608         java/rmi/registry/Registry.java
11609         java/rmi/registry/RegistryHandler.java
11610         java/rmi/server/ExportException.java
11611         java/rmi/server/LoaderHandler.java
11612         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11613         java/rmi/server/Operation.java
11614         java/rmi/server/RMIClassLoader.java
11615         java/rmi/server/RMIClientSocketFactory.java
11616         java/rmi/server/RMIFailureHandler.java
11617         java/rmi/server/RMIServerSocketFactory.java
11618         java/rmi/server/RMISocketFactory.java
11619         java/rmi/server/RemoteCall.java
11620         java/rmi/server/RemoteObject.java
11621         java/rmi/server/RemoteRef.java
11622         java/rmi/server/RemoteServer.java
11623         java/rmi/server/RemoteStub.java
11624         java/rmi/server/ServerCloneException.java
11625         java/rmi/server/ServerNotActiveException.java
11626         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11627         java/rmi/server/SkeletonMismatchException.java
11628         java/rmi/server/SkeletonNotFoundException.java
11629         java/rmi/server/SocketSecurityException.java
11630         java/rmi/server/UID.java
11631         java/rmi/server/UnicastRemoteObject.java
11632         java/rmi/server/Unreferenced.java
11633         java/security/AccessControlContext.java
11634         java/security/AccessControlException.java
11635         java/security/AccessController.java
11636         java/security/AlgorithmParameterGenerator.java
11637         java/security/AlgorithmParameterGeneratorSpi.java
11638         java/security/AlgorithmParameters.java
11639         java/security/AlgorithmParametersSpi.java
11640         java/security/AllPermission.java
11641         java/security/BasicPermission.java
11642         java/security/Certificate.java java/security/CodeSource.java
11643         java/security/DigestException.java
11644         java/security/DigestInputStream.java
11645         java/security/DigestOutputStream.java
11646         java/security/DomainCombiner.java
11647         java/security/DummyKeyPairGenerator.java
11648         java/security/DummyMessageDigest.java
11649         java/security/DummySignature.java
11650         java/security/GeneralSecurityException.java
11651         java/security/Guard.java java/security/GuardedObject.java
11652         java/security/Identity.java java/security/IdentityScope.java
11653         java/security/InvalidAlgorithmParameterException.java
11654         java/security/InvalidKeyException.java
11655         java/security/InvalidParameterException.java
11656         java/security/Key.java java/security/KeyException.java
11657         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11658         java/security/KeyManagementException.java
11659         java/security/KeyPair.java java/security/KeyPairGenerator.java
11660         java/security/KeyPairGeneratorSpi.java
11661         java/security/KeyStore.java
11662         java/security/KeyStoreException.java
11663         java/security/KeyStoreSpi.java
11664         java/security/MessageDigest.java
11665         java/security/MessageDigestSpi.java
11666         java/security/NoSuchAlgorithmException.java
11667         java/security/NoSuchProviderException.java
11668         java/security/Permission.java
11669         java/security/PermissionCollection.java
11670         java/security/Permissions.java java/security/Policy.java
11671         java/security/Principal.java java/security/PrivateKey.java
11672         java/security/PrivilegedAction.java
11673         java/security/PrivilegedActionException.java
11674         java/security/PrivilegedExceptionAction.java
11675         java/security/ProtectionDomain.java
11676         java/security/Provider.java
11677         java/security/ProviderException.java
11678         java/security/PublicKey.java
11679         java/security/SecureClassLoader.java
11680         java/security/SecureRandom.java
11681         java/security/SecureRandomSpi.java java/security/Security.java
11682         java/security/SecurityPermission.java
11683         java/security/Signature.java
11684         java/security/SignatureException.java
11685         java/security/SignatureSpi.java
11686         java/security/SignedObject.java java/security/Signer.java
11687         java/security/UnrecoverableKeyException.java
11688         java/security/UnresolvedPermission.java
11689         java/security/acl/Acl.java java/security/acl/AclEntry.java
11690         java/security/acl/AclNotFoundException.java
11691         java/security/acl/Group.java
11692         java/security/acl/LastOwnerException.java
11693         java/security/acl/NotOwnerException.java
11694         java/security/acl/Owner.java java/security/acl/Permission.java
11695         java/security/cert/CRL.java
11696         java/security/cert/CRLException.java
11697         java/security/cert/Certificate.java
11698         java/security/cert/CertificateEncodingException.java
11699         java/security/cert/CertificateException.java
11700         java/security/cert/CertificateExpiredException.java
11701         java/security/cert/CertificateFactory.java
11702         java/security/cert/CertificateFactorySpi.java
11703         java/security/cert/CertificateNotYetValidException.java
11704         java/security/cert/CertificateParsingException.java
11705         java/security/cert/X509CRL.java
11706         java/security/cert/X509CRLEntry.java
11707         java/security/cert/X509Certificate.java
11708         java/security/cert/X509Extension.java
11709         java/security/interfaces/DSAKey.java
11710         java/security/interfaces/DSAKeyPairGenerator.java
11711         java/security/interfaces/DSAParams.java
11712         java/security/interfaces/DSAPrivateKey.java
11713         java/security/interfaces/DSAPublicKey.java
11714         java/security/interfaces/RSAKey.java
11715         java/security/interfaces/RSAPrivateCrtKey.java
11716         java/security/interfaces/RSAPrivateKey.java
11717         java/security/interfaces/RSAPublicKey.java
11718         java/security/spec/AlgorithmParameterSpec.java
11719         java/security/spec/DSAParameterSpec.java
11720         java/security/spec/DSAPrivateKeySpec.java
11721         java/security/spec/DSAPublicKeySpec.java
11722         java/security/spec/EncodedKeySpec.java
11723         java/security/spec/InvalidKeySpecException.java
11724         java/security/spec/InvalidParameterSpecException.java
11725         java/security/spec/KeySpec.java
11726         java/security/spec/PKCS8EncodedKeySpec.java
11727         java/security/spec/RSAKeyGenParameterSpec.java
11728         java/security/spec/RSAPrivateCrtKeySpec.java
11729         java/security/spec/RSAPrivateKeySpec.java
11730         java/security/spec/RSAPublicKeySpec.java
11731         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11732         java/sql/BatchUpdateException.java java/sql/Blob.java
11733         java/sql/CallableStatement.java java/sql/Clob.java
11734         java/sql/Connection.java java/sql/DataTruncation.java
11735         java/sql/DatabaseMetaData.java java/sql/Date.java
11736         java/sql/Driver.java java/sql/DriverManager.java
11737         java/sql/DriverPropertyInfo.java
11738         java/sql/PreparedStatement.java java/sql/Ref.java
11739         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11740         java/sql/SQLData.java java/sql/SQLException.java
11741         java/sql/SQLInput.java java/sql/SQLOutput.java
11742         java/sql/SQLWarning.java java/sql/Statement.java
11743         java/sql/Struct.java java/sql/Time.java
11744         java/sql/Timestamp.java java/sql/Types.java
11745         java/text/Annotation.java
11746         java/text/AttributedCharacterIterator.java
11747         java/text/AttributedString.java
11748         java/text/AttributedStringIterator.java
11749         java/text/BreakIterator.java java/text/CharacterIterator.java
11750         java/text/ChoiceFormat.java java/text/Collator.java
11751         java/text/DateFormat.java java/text/DateFormatSymbols.java
11752         java/text/DecimalFormat.java
11753         java/text/DecimalFormatSymbols.java
11754         java/text/FieldPosition.java java/text/Format.java
11755         java/text/MessageFormat.java java/text/NumberFormat.java
11756         java/text/ParseException.java java/text/ParsePosition.java
11757         java/text/SimpleDateFormat.java
11758         java/text/StringCharacterIterator.java
11759         java/util/AbstractCollection.java java/util/AbstractList.java
11760         java/util/AbstractMap.java
11761         java/util/AbstractSequentialList.java
11762         java/util/AbstractSet.java java/util/ArrayList.java
11763         java/util/Arrays.java java/util/BasicMapEntry.java
11764         java/util/BitSet.java java/util/Calendar.java
11765         java/util/Collection.java java/util/Collections.java
11766         java/util/Comparator.java
11767         java/util/ConcurrentModificationException.java
11768         java/util/Date.java java/util/Dictionary.java
11769         java/util/EmptyStackException.java java/util/Enumeration.java
11770         java/util/EventListener.java java/util/EventObject.java
11771         java/util/GregorianCalendar.java java/util/HashMap.java
11772         java/util/HashSet.java java/util/Hashtable.java
11773         java/util/IdentityHashMap.java java/util/Iterator.java
11774         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11775         java/util/LinkedList.java java/util/List.java
11776         java/util/ListIterator.java java/util/ListResourceBundle.java
11777         java/util/Locale.java java/util/Map.java
11778         java/util/MissingResourceException.java
11779         java/util/NoSuchElementException.java
11780         java/util/Observable.java java/util/Observer.java
11781         java/util/Properties.java java/util/PropertyPermission.java
11782         java/util/PropertyResourceBundle.java java/util/Random.java
11783         java/util/RandomAccess.java java/util/ResourceBundle.java
11784         java/util/Set.java java/util/SimpleTimeZone.java
11785         java/util/SortedMap.java java/util/SortedSet.java
11786         java/util/Stack.java java/util/StringTokenizer.java
11787         java/util/TimeZone.java java/util/Timer.java
11788         java/util/TimerTask.java
11789         java/util/TooManyListenersException.java
11790         java/util/TreeMap.java java/util/TreeSet.java
11791         java/util/Vector.java java/util/WeakHashMap.java
11792         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11793         java/util/jar/JarException.java java/util/jar/JarFile.java
11794         java/util/jar/JarInputStream.java
11795         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11796         java/util/zip/Adler32.java java/util/zip/CRC32.java
11797         java/util/zip/CheckedInputStream.java
11798         java/util/zip/CheckedOutputStream.java
11799         java/util/zip/Checksum.java
11800         java/util/zip/DataFormatException.java
11801         java/util/zip/Deflater.java
11802         java/util/zip/DeflaterOutputStream.java
11803         java/util/zip/GZIPInputStream.java
11804         java/util/zip/GZIPOutputStream.java
11805         java/util/zip/Inflater.java
11806         java/util/zip/InflaterInputStream.java
11807         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11808         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11809         java/util/zip/ZipInputStream.java
11810         java/util/zip/ZipOutputStream.java
11811         javax/naming/BinaryRefAddr.java
11812         javax/naming/InvalidNameException.java javax/naming/Name.java
11813         javax/naming/NamingException.java javax/naming/RefAddr.java
11814         javax/naming/StringRefAddr.java: Add license clarification.
11815
11816 2002-01-22  Tom Tromey  <tromey@redhat.com>
11817
11818         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11819         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11820         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11821         version.
11822         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11823         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11824         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11825         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11826         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11827         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11828         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11829         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11830         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11831         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11832         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11833         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11834         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11835         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11836         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11837         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11838         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11839         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11840         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11841         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11842         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11843         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11844         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11845         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11846         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11847         (minimumSize, preferredSize, reshape): Likewise.
11848         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11849         getColorModel): New methods.
11850         * java/awt/PopupMenu.java: Merged with Classpath.
11851         * java/awt/MenuBar.java: Merged with Classpath.
11852         * java/awt/SystemColor.java: Replace with Classpath version.
11853         * java/awt/Panel.java: Merged with Classpath.
11854         * java/awt/PaintContext.java: Updated copyright.
11855         * java/awt/MenuShortcut.java: Merged with Classpath.
11856         * java/awt/MenuContainer.java: Merged with Classpath.
11857         * java/awt/Menu.java: Merged with Classpath.
11858         * java/awt/MediaEntry.java: New file from Classpath.
11859         * java/awt/MediaTracker.java: New file from Classpath.
11860         * java/awt/List.java: Merged with Classpath version.
11861         * java/awt/Insets.java: Merged with Classpath version.
11862         * java/awt/ImageMediaEntry.java: New file from Classpath.
11863         * java/awt/Image.java: Replaced with Classpath version.
11864         * java/awt/FontMetrics.java: Merged with Classpath version.
11865         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11866         constant.
11867         * java/awt/Font.java: Merged with Classpath version.
11868         * java/awt/Dialog.java: Merged with Classpath version.
11869         * java/awt/Color.java: Merged with Classpath version.
11870         * java/awt/Choice.java: Merged with Classpath version.
11871         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11872         * java/awt/Adjustable.java: Replace with Classpath version.
11873         * java/awt/MenuItem.java (paramString): Don't include class name
11874         or brackets.  Call superclass paramString.
11875         * java/awt/MenuComponent.java (toString): Call paramString.
11876         (paramString): Compute string; don't call toString.
11877         * java/awt/Label.java (paramString): Don't include class name
11878         or brackets.  Call superclass paramString.
11879         * java/awt/Checkbox.java (paramString): Don't include class name
11880         or brackets.  Call superclass paramString.
11881         * java/awt/Button.java (paramString): Don't include class name or
11882         brackets.  Call superclass paramString.
11883         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11884
11885 2002-01-20  Andreas Schwab  <schwab@suse.de>
11886
11887         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11888         function and of parameter recv_func to ssize_t, as specified by
11889         POSIX.
11890
11891 2002-01-19  Per Bothner  <per@bothner.com>
11892
11893         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11894         uncompressed_size in readiness for next entry.
11895
11896 2002-01-18  Tom Tromey  <tromey@redhat.com>
11897
11898         * java/net/natPlainSocketImpl.cc: Include
11899         IllegalArgumentException.h.
11900         (_Jv_recv): New template function.
11901         (BooleanClass): Removed.
11902         (read): Use _Jv_recv.
11903         (setOption): Use Boolean::class$.  Throw exception if object is
11904         not Boolean or Integer.
11905
11906 2002-01-17  Tom Tromey  <tromey@redhat.com>
11907
11908         * java/awt/MenuComponent.java: Merged with Classpath.
11909         * java/awt/MenuItem.java: Merged with Classpath.
11910         * java/awt/Button.java: Merged with Classpath.
11911
11912         * java/awt/ActiveEvent.java: Updated copyright.
11913
11914         * java/awt/AWTError.java: Replaced with Classpath version.
11915         * java/awt/AWTException.java: Replaced with Classpath version.
11916         * java/awt/IllegalComponentStateException.java: Replaced with
11917         Classpath version.
11918
11919 2002-01-16  Tom Tromey  <tromey@redhat.com>
11920
11921         * java/awt/Canvas.java (serialVersionUID): New constant.
11922         Updated copyright.  Added javadoc from Classpath.
11923         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11924
11925         * java/awt/CheckboxGroup.java: Merged with Classpath.
11926         * java/awt/Checkbox.java: Merged with Classpath.
11927
11928         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11929         Classpath.
11930         * java/awt/Point.java: Updated copyright.
11931
11932         * java/awt/Point.java (toString): Use getClass().getName().
11933         Added javadoc.
11934
11935         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11936         commented code.
11937         (hash): Correctly compute initial value for `h'.
11938
11939         * java/awt/Label.java: Merged with Classpath.
11940
11941 2002-01-15  Tom Tromey  <tromey@redhat.com>
11942
11943         * java/awt/AWTPermission.java: Updated copyright.
11944
11945         * java/awt/LayoutManager2.java: Merged with Classpath.
11946         * java/awt/LayoutManager.java: Merged with Classpath.
11947         * java/awt/GridLayout.java: Updated copyright and javadoc.
11948         (getSize): Use `parent.ncomponents'.  Handle insets.
11949         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11950         there are fewer children than columns.  Correctly compute size of
11951         each cell in the grid.  Handle case where there isn't enough
11952         space.
11953         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11954         all users.
11955         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11956         before calling setVisible() on it.  Last item is `num - 1', not
11957         `num'.
11958         (layoutContainer): Hoist invariants out of loop.
11959
11960         Start of AWT merge with Classpath:
11961         * Makefile.in: Rebuilt.
11962         * Makefile.am (awt_java_source_files): Reference files in
11963         gnu/java/awt, not gnu/gcj/awt.
11964         * java/awt/image/BufferedImage.java: Updated copyright.
11965         * java/awt/image/ComponentColorModel.java: Updated copyright.
11966         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11967         * java/awt/image/DataBuffer.java: Updated copyright.
11968         * java/awt/image/DataBufferByte.java: Updated copyright.
11969         * java/awt/image/DataBufferInt.java: Updated copyright.
11970         * java/awt/image/DataBufferUShort.java: Updated copyright.
11971         * java/awt/image/IndexColorModel.java: Updated copyright.
11972         * java/awt/image/PackedColorModel.java: Updated copyright.
11973         * java/awt/image/Raster.java: Updated copyright.
11974         * java/awt/image/RasterOp.java: Updated copyright.
11975         * java/awt/image/SampleModel.java: Updated copyright.
11976         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11977         * java/awt/image/WritableRaster.java: Updated copyright.
11978         * java/awt/color/ColorSpace.java: Updated copyright.
11979         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11980         * java/awt/color/ICC_Profile.java: Updated copyright.
11981         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11982         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11983         * java/awt/event/HierarchyEvent.java: Updated copyright.
11984         * java/awt/event/HierarchyListener.java: Updated copyright.
11985         * java/awt/geom/AffineTransform.java: Updated copyright.
11986         * java/awt/geom/Dimension2D.java: Updated copyright.
11987         * java/awt/geom/Ellipse2D.java: Updated copyright.
11988         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11989         * java/awt/geom/Line2D.java: Updated copyright.
11990         * java/awt/geom/NoninvertibleTransformException.java: Updated
11991         copyright.
11992         * java/awt/geom/PathIterator.java: Updated copyright.
11993         * java/awt/geom/Point2D.java: Updated copyright.
11994         * java/awt/geom/Rectangle2D.java: Updated copyright.
11995         * java/awt/geom/RectangularShape.java: Updated copyright.
11996         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11997         * java/awt/Toolkit.java: Updated import for file moves.
11998         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11999         Classpath.
12000         (hashCode): New method from Classpath.
12001         * java/awt/Graphics2D.java: Updated copyright.
12002         * java/awt/Transparency.java: Updated copyright.
12003         * java/awt/Paint.java: Updated copyright.
12004         * java/awt/Graphics.java: New version from Classpath.
12005         * java/awt/EventDispatchThread.java: Updated copyright.
12006         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12007         children.
12008         (gotoComponent): Wrap around on next/previous.
12009         * gnu/gcj/awt/BitMaskExtent.java: Removed.
12010         * gnu/gcj/awt/Buffers.java: Removed.
12011         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12012         * gnu/gcj/awt/GLightweightPeer.java: Removed.
12013         * gnu/java/awt/BitMaskExtent.java: Added.
12014         * gnu/java/awt/Buffers.java: Added.
12015         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12016         * gnu/java/awt/GLightweightPeer.java: Added.
12017         * java/awt/geom/Line2D.java (clone): Ignore
12018         CloneNotSupportedException.
12019         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12020         * java/awt/Frame.java: Merged with Classpath.
12021         * java/awt/RenderingHints.java: Copyright update.
12022         * java/awt/Paint.java: Copyright update.
12023         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12024         * java/awt/image/ColorModel.java: Merged with Classpath.
12025         * java/awt/Window.java (show): New Implementation from Classpath.
12026         (isShowing): Use super.isShowing().
12027         * java/awt/EventQueue.java: Merged with Classpath.
12028         * java/awt/AWTEventMulticaster.java (save): Throw
12029         RuntimeException.
12030         (saveInternal): Likewise.
12031         * java/awt/AWTEvent.java: Now implements Serializable.
12032         * java/awt/Event.java: Copyright update.
12033         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12034         * java/awt/image/BufferedImage.java: Copyright update.
12035         * java/awt/GraphicsConfiguration.java: Copyright update.
12036         * java/awt/Component.java: (addNotify): Don't call
12037         addNotifyContainerChildren().
12038         (addNotifyContainerChildren): Removed.
12039         (setPeer): New method from Classpath.
12040         (setTreeLock): Likewise.
12041         (setVisible): Rewrote.
12042         (show): Use it.
12043         (hide): Likewise.
12044         (validate): Set `valid'.
12045         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12046         (createImage(ImageProducer)): Likewise.
12047         (prepareImage): Likewise.
12048         * java/awt/Container.java (addImpl): Handle case where constraint
12049         is not a String.  Post event via system event queue.
12050         (remove): Post event via system event queue.
12051         (validateTree): Only validate child if it is invalid.
12052         (getAlignmentX): Call super method as default.
12053         (getAlignmentY): Likewise.
12054         (addContainerListener): Now synchronized.
12055         (removeContainerListener): Likewise.
12056         (addNotifyContainerChildren): Now private.
12057         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12058         @author.
12059         * java/awt/FlowLayout.java (serialVersionUID): New field.
12060         (setAlignment): Better exception message.
12061         (layoutContainer): Don't compute component's preferred size unless
12062         we're going to use it.
12063         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12064         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12065         (firstLine, lastLine, firstItem, lastItem): New fields.
12066         (addLayoutComponent): Handle case where constraints is null.
12067         Also, handle relative locations.
12068         (removeLayoutComponent): Handle relative locations.
12069         (MIN, MAX, PREF): New constants.
12070         (calcCompSize): New method.
12071         (calcSize): New method.
12072         (minimumLayoutSize): Use it.
12073         (preferredLayoutSize): Likewise.
12074         (maximumLayoutSize): Likewise.
12075         (toString): Include more information.
12076         (setBounds): New method.
12077         (layoutContainer): Use libgcj implementation; extended to handle
12078         relative locations.
12079
12080 2002-01-15  Tom Tromey  <tromey@redhat.com>
12081
12082         * java/lang/Float.java (equals): Preserve old code.
12083         * java/lang/Double.java (equals): Preserve old code.
12084
12085 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12086
12087         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12088         * java/lang/Float.java (equals, compare): Ditto.
12089
12090 2002-01-13  Mark Wielaard  <mark@klomp.org>
12091
12092         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12093         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12094         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12095         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12096
12097 2002-01-11  Mark Wielaard  <mark@klomp.org>
12098
12099         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12100         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12101         InetAddress.
12102         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12103         * java/net/Socket.java: Merge with Classpath.
12104         * java/net/ServerSocket.java: Likewise.
12105
12106 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12107
12108         * interpret.cc (NULLARRAYCHECK): New macro.
12109         (SAVE_PC): Just store `pc'.
12110         (find_exception): Subtract one from `pc' here.
12111         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12112         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12113         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12114         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12115         don't call SAVE_PC.
12116         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12117         call SAVE_PC.
12118
12119 2002-01-11  Tom Tromey  <tromey@redhat.com>
12120
12121         * java/lang/natSystem.cc (init_properties): Only look for default
12122         locale if LC_MESSAGES is defined.
12123         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12124         * configure.in: Call AM_LC_MESSAGES.
12125         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12126
12127 2002-01-10  Tom Tromey  <tromey@redhat.com>
12128
12129         For PR libgcj/5303:
12130         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12131         --version.  Recognize GNU-style long options.  Print GNU-style
12132         error messages.
12133         (usage): Print GNU-style help.  Exit with status 0.
12134         (error): New method.
12135         (run): Print error message if no class names found.
12136         (main): Don't print usage on error.
12137
12138 2002-01-09  Tom Tromey  <tromey@redhat.com>
12139
12140         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12141         property.
12142         (help, version): Use println(), not println("").
12143
12144         For PR libgcj/5303:
12145         * gnu/gcj/convert/Convert.java (error): Program is called
12146         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12147         -1.
12148         (main): Handle --help and --version.
12149         (help): New method.
12150         (version): Likewise.
12151
12152 2002-01-08  Tom Tromey  <tromey@redhat.com>
12153
12154         * Makefile.in: Rebuilt.
12155         * Makefile.am (ordinary_java_source_files): Added new files.
12156         * gnu/java/locale/LocaleInformation.java: Extend
12157         LocaleInformation_en.
12158         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12159         and time/date formats.
12160         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12161         generated.
12162         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12163         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12164         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12165         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12166         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12167         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12168         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12169         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12170         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12171         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12172         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12173         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12174         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12175         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12176         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12177         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12178         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12179         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12180         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12181         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12182         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12183         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12184         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12185         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12186         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12187         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12188         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12189         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12190         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12191         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12192         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12193         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12194         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12195         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12196         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12197         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12198         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12199         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12200         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12201         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12202         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12203         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12204         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12205         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12206         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12207         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12208         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12209         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12210         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12211         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12212         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12213         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12214         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12215         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12216         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12217         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12218         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12219         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12220         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12221         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12222         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12223         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12224         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12225         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12226         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12227         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12228         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12229         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12230         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12231         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12232         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12233         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12234         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12235         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12236         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12237         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12238         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12239         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12240         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12241         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12242         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12243         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12244         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12245         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12246         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12247         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12248         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12249         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12250         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12251         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12252         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12253         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12254         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12255         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12256         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12257         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12258         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12259         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12260         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12261         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12262         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12263         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12264         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12265         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12266         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12267         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12268         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12269         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12270         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12271         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12272         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12273         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12274         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12275         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12276         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12277         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12278         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12279         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12280         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12281         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12282         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12283         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12284         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12285         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12286         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12287         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12288         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12289         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12290         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12291         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12292
12293         For PR libgcj/5031:
12294         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12295         choose default locale.
12296
12297         * Makefile.in: Rebuilt.
12298         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12299
12300 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12301
12302         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12303         sockets.
12304         (close): New function closes the socket.
12305         (write): New functions for output to socket.
12306         (read): New functions for reading from socket.
12307         * java/net/PlainSocketImpl.java: Glue for new timeout
12308         implementation.
12309         (write): Call the native impl.
12310         (read): Likewise.
12311         (getInputStream): Get a stream to read from the socket.
12312         (getOutputStream): Get a stream to write to the socket.
12313
12314 2002-01-08  Tom Tromey  <tromey@redhat.com>
12315
12316         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12317
12318 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12319
12320         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12321         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12322
12323 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12324
12325         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12326         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12327         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12328         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12329         insn_bastore, insn_castore, insn_sastore]: Use it.
12330         (continue1) [insn_arraylength]: Check for null array.
12331
12332 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12333
12334         * configure, include/config.h.in: Rebuilt.
12335         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12336         * configure.in: Call AC_STRUCT_TIMEZONE.
12337
12338 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12339
12340         * configure.host: Disable the interpreter for Darwin.
12341
12342 2002-01-04  Tom Tromey  <tromey@redhat.com>
12343
12344         * java/lang/Thread.java (stop): No longer synchronized.
12345         (start): Likewise.
12346
12347 2002-01-02  Tom Tromey  <tromey@redhat.com>
12348
12349         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12350         patch.
12351
12352 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12353
12354         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12355         PPC Darwin, not for all of Darwin.