GtkComponentPeer.java, [...]: Explicitly import used classes.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-09  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
7         Explicitly import used classes.
8         * java/awt/Container.java: New version from classpath.
9
10 2003-07-09  Michael Koch  <konqueror@gmx.de>
11
12         * libgcj.pc.in
13         * Makefile.am
14         * Makefile.in
15         * configure
16         * configure.in
17
18 2003-07-08  Mark Wielaard <mark@klomp.org>
19
20         * gcj/cni.h: CNI now expands to Compiled Native Interface.
21
22         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
23         * java/lang/fdlibm.h: Likewise.
24
25 2003-07-07  Adam Megacz <adam@xwt.org>
26
27         * posix.cc: added #include<stdio.h>
28                 
29 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
30
31         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
32         formatting.
33
34         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
35         (setCaretPosition, setEditable): Rely entirely on native
36         implementation.
37         (getArgs): Remove.
38         (postTextEvent): New method.
39         (handleEvent): New method.
40         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
41         method.
42         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
43         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
44         (keysym_to_awt_keycode): Fix range checks.
45         (generates_key_typed_event): New function.
46         (awt_event_handler): Post AWT_KEY_RELEASED events to event
47         queue.
48         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
49         (gtkInit): Store TextComponent's postTextEvent method ID.
50         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
51         (setText): Post TEXT_VALUE_CHANGED event to event queue.
52
53 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
54
55         * configure.in: Check for usleep declaration.
56         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
57         * configure: Regenerate.
58         * include/config.h.in: Likewise.
59         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
60
61 2003-07-01  Michael Koch  <konqueror@gmx.de>
62
63         * gnu/gcj/convert/natIconv.cc
64         (iconv_init): Fixed possible memory leak by releasing allocated iconv
65         handle.
66
67 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
68
69         * glib-2.0.m4: New file.
70         * gtk-2.0.m4: New file.
71         * glib.m4: Remove.
72         * gtk.m4: Remove.
73         * configure.in: Update AM_PATH_GTK macro call to
74         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
75         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
76         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
77         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
78         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
79         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
80         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
81         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
82         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
83         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
84         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
85         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
86         jni/gtk-peer/gthread-jni.c,
87         jni/gtk-peer/gthread-jni.h:
88         New versions from classpath.
89         * aclocal.m4: Regenerate.
90         * configure: Regenerate.
91         * Makefile.in: Regenerate.
92         * gcj/Makefile.in: Regenerate.
93         * include/Makefile.in: Regenerate.
94         * testsuite/Makefile.in: Regenerate.
95
96 2003-06-30  Gary Benson  <gbenson@redhat.com>
97
98         For PR libgcj/11349:
99         * javax/naming/spi/NamingManager.java (getURLContext): Use
100         correct name for factory class.
101
102 2003-06-28  Michael Koch  <konqueror@gmx.de>
103
104         * java/io/PrintStream.java
105         (checkError): Call flush() instead of direct flushing of the Writer
106         object.
107         (print): Call print(String) instead of direct print method of the
108         Writer Object.
109         (println): Call println(String) instead of direct println method of the
110         Writer Object.
111         (write): Simplified.
112
113 2003-06-28  Michael Koch  <konqueror@gmx.de>
114
115         * java/net/ServerSocket.java
116         (setChannel): New method.
117         * java/net/Socket.java
118         (setChannel): New method.
119
120 2003-06-27  Michael Koch  <konqueror@gmx.de>
121
122         * java/beans/beancontext/BeanContextSupport.java:
123         New version from classpath.
124
125 2003-06-27  Michael Koch  <konqueror@gmx.de>
126
127         * java/awt/Window.java,
128         java/awt/font/GraphicAttribute.java,
129         java/awt/font/ImageGraphicAttribute.java,
130         java/awt/image/DataBufferByte.java,
131         java/awt/image/DataBufferInt.java,
132         java/awt/image/DataBufferUShort.java,
133         java/awt/image/DirectColorModel.java,
134         java/awt/image/PixelGrabber.java:
135         New versions from classpath.
136
137 2003-06-27  Michael Koch  <konqueror@gmx.de>
138
139         * java/security/Certificate.java
140         (getGuarantor): Removed wrong @deprecated tag.
141         (getPrincipal): Likewise.
142         (getPublicKey): Likewise.
143         (encode): Likewise.
144         (decode): Likewise.
145         (getFormat): Likewise.
146         (toString): Likewise.
147         * java/security/cert/PolicyQualifierInfo.java
148         (PolicyQualifierInfo): Made final.
149         * javax/security/auth/x500/X500Principal.java
150         (serialVersionUID): New member variable.
151
152 2003-06-27  Michael Koch  <konqueror@gmx.de>
153
154         * java/text/Format.java
155         (serialVersionUID): Fixed value.
156
157 2003-06-27  Michael Koch  <konqueror@gmx.de>
158
159         * java/net/Inet4Address.java
160         (Inet4Address): Made package-private.
161         * java/net/Inet6Address.java
162         (Inet4Address): Made package-private.
163
164 2003-06-27  Michael Koch  <konqueror@gmx.de>
165
166         * java/io/RandomAccessFile.java
167         (readLine): Removed wrong @deprecated tag.
168         (getChannel): Made final.
169
170 2003-06-27  Michael Koch  <konqueror@gmx.de>
171
172         * gnu/java/nio/FileChannelImpl.java
173         (write): Removed.
174
175 2003-06-27  Michael Koch  <konqueror@gmx.de>
176
177         * java/nio/ByteBufferImpl.java
178         (ByteBufferImpl): Made it a package-private class
179         * java/nio/CharBufferImpl.java
180         (CharBufferImpl): Made it a package-private class
181         * java/nio/DirectByteBufferImpl.java
182         (DirectByteBufferImpl): Made it a package-private class
183         * java/nio/DoubleBufferImpl.java
184         (DoubleBufferImpl): Made it a package-private class
185         * java/nio/FloatBufferImpl.java
186         (FloatBufferImpl): Made it a package-private class
187         * java/nio/IntBufferImpl.java
188         (IntBufferImpl): Made it a package-private class
189         * java/nio/LongBufferImpl.java
190         (LongBufferImpl): Made it a package-private class
191         * java/nio/ShortBufferImpl.java
192         (ShortBufferImpl): Made it a package-private class
193         * java/nio/channels/FileChannel.java
194         (write): Made final.
195         * java/nio/channels/ServerSocketChannel.java
196         (ServerSocketChanne): Made protected.
197
198 2003-06-27  Michael Koch  <konqueror@gmx.de>
199
200         * javax/naming/CompositeName.java
201         (serialVersionUID): New member variable.
202         * javax/naming/CompoundName.java
203         (serialVersionUID): New member variable.
204         * javax/naming/InitialContext.java
205         (InitialContext): Throws NamingException.
206         (init): Likewise.
207         * javax/naming/LinkRef.java
208         (serialVersionUID): New member variable.
209         (gteLinkName): Throws NamingException.
210         * javax/naming/NamingException.java
211         (serialVersionUID): New member variable.
212         * javax/naming/NamingSecurityException.java
213         (NamingSecurityException): Made abstract.
214         (serialVersionUID): New member variable.
215         * javax/naming/ReferralException.java
216         (serialVersionUID): New member variable.
217         * javax/naming/StringRefAddr.java
218         (serialVersionUID): New member variable.
219         * javax/naming/directory/BasicAttribute.java:
220         Reworked imports.
221         (serialVersionUID): New member variable.
222         (get): Throws NamingException.
223         (getAll): Throws NamingException.
224         * javax/naming/directory/BasicAttributes.java:
225         Reworked imports.
226         (serialVersionUID): New member variable.
227         * javax/naming/ldap/UnsolicitedNotificationEvent.java
228         (serialVersionUID): New member variable.
229
230 2003-06-27  Michael Koch  <konqueror@gmx.de>
231
232         * Makefile.am
233         (awt_java_source_files): Added new files:
234         javax/swing/Popup.java,
235         javax/swing/PopupFactory.java
236         * Makefile.in: Regenerated.
237
238 2003-06-27  Michael Koch  <konqueror@gmx.de>
239
240         * javax/swing/JWindow.java,
241         javax/swing/event/AncestorEvent.java,
242         javax/swing/event/HyperlinkEvent.java,
243         javax/swing/event/InternalFrameEvent.java,
244         javax/swing/event/ListDataEvent.java,
245         javax/swing/event/TableModelEvent.java,
246         javax/swing/plaf/PopupMenuUI.java,
247         javax/swing/plaf/SplitPaneUI.java,
248         javax/swing/plaf/TabbedPaneUI.java,
249         javax/swing/plaf/TextUI.java,
250         javax/swing/plaf/TreeUI.java,
251         javax/swing/plaf/basic/BasicTextUI.java,
252         javax/swing/plaf/basic/BasicTreeUI.java:
253         New versions from classpath.
254         * javax/swing/Popup.java,
255         javax/swing/PopupFactory.jav:
256         New source files from classpath.
257         * javax/swing/plaf/doc-files/TreeUI-1.png:
258         New binary files from classpath.
259
260 2003-06-25  Michael Koch  <konqueror@gmx.de>
261
262         * Makefile.am
263         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
264         * Makefile.in: Regenerated.
265
266 2003-06-25  Michael Koch  <konqueror@gmx.de>
267
268         * javax/swing/plaf/ActionMapUIResource.java,
269         javax/swing/plaf/BorderUIResource.java,
270         javax/swing/plaf/ButtonUI.java,
271         javax/swing/plaf/ColorChooserUI.java,
272         javax/swing/plaf/ColorUIResource.java,
273         javax/swing/plaf/ComboBoxUI.java,
274         javax/swing/plaf/ComponentInputMapUIResource.java,
275         javax/swing/plaf/ComponentUI.java,
276         javax/swing/plaf/DesktopIconUI.java,
277         javax/swing/plaf/DesktopPaneUI.java,
278         javax/swing/plaf/DimensionUIResource.java,
279         javax/swing/plaf/FileChooserUI.java,
280         javax/swing/plaf/FontUIResource.java,
281         javax/swing/plaf/IconUIResource.java,
282         javax/swing/plaf/InputMapUIResource.java,
283         javax/swing/plaf/InsetsUIResource.java,
284         javax/swing/plaf/InternalFrameUI.java,
285         javax/swing/plaf/LabelUI.java,
286         javax/swing/plaf/ListUI.java,
287         javax/swing/plaf/MenuBarUI.java,
288         javax/swing/plaf/MenuItemUI.java,
289         javax/swing/plaf/OptionPaneUI.java,
290         javax/swing/plaf/PanelUI.java,
291         javax/swing/plaf/ProgressBarUI.java,
292         javax/swing/plaf/RootPaneUI.java,
293         javax/swing/plaf/ScrollBarUI.java,
294         javax/swing/plaf/ScrollPaneUI.java,
295         javax/swing/plaf/SeparatorUI.java,
296         javax/swing/plaf/SliderUI.java,
297         javax/swing/plaf/TableHeaderUI.java,
298         javax/swing/plaf/TableUI.java,
299         javax/swing/plaf/ToolBarUI.java,
300         javax/swing/plaf/ToolTipUI.java,
301         javax/swing/plaf/ViewportUI.java:
302         New versions from classpath.
303         * javax/swing/plaf/SpinnerUI.java: 
304         New file from classpath
305
306 2003-06-25  Michael Koch  <konqueror@gmx.de>
307
308         * java/awt/image/ColorModel.java:
309         New version from classpath.
310
311 2003-06-25  Michael Koch  <konqueror@gmx.de>
312
313         * java/net/PlainDatagramSocketImpl.java:
314         Partly merged with classpath, this mainly adds documentation.
315
316 2003-06-25  Michael Koch  <konqueror@gmx.de>
317
318         * java/io/ObjectInputStream.java
319         (readClassDescriptor): New method.
320         (readObject): Moved functionality to readClassDescriptor().
321         * java/io/ObjectOutputStream.java
322         (writeClassDescriptor): New method.
323         (writeObject): Moved functionality to writeClassDescriptor().
324
325 2003-06-25  Michael Koch  <konqueror@gmx.de>
326
327         * javax/swing/plaf/basic/BasicListUI.java,
328         javax/swing/plaf/basic/BasicOptionPaneUI.java:
329         Added missing methods.
330
331 2003-06-25  Michael Koch  <konqueror@gmx.de>
332
333         * javax/swing/event/AncestorEvent.java
334         javax/swing/event/HyperlinkEvent.java
335         javax/swing/event/InternalFrameEvent.java
336         javax/swing/event/ListDataEvent.java
337         javax/swing/event/TableModelEvent.java:
338         Compile fixes.
339
340 2003-06-24  Michael Koch  <konqueror@gmx.de>
341
342         * java/net/URL.java:
343         Renamed "handler" to "ph" in the whole file to match classpaths
344         version.
345         * java/net/URLStreamHandler.java:
346         (equals): Renamed "handler" to "ph".
347
348 2003-06-24  Michael Koch  <konqueror@gmx.de>
349
350         * javax/swing/event/AncestorEvent.java,
351         javax/swing/event/HyperlinkEvent.java,
352         javax/swing/event/InternalFrameEvent.java,
353         javax/swing/event/ListDataEvent.java,
354         javax/swing/event/TableModelEvent.java,
355         javax/swing/event/TreeWillExpandListener.java,
356         javax/swing/plaf/ComponentUI.java,
357         javax/swing/plaf/DesktopIconUI.java,
358         javax/swing/plaf/DesktopPaneUI.java,
359         javax/swing/plaf/DimensionUIResource.java,
360         javax/swing/plaf/FileChooserUI.java,
361         javax/swing/plaf/FontUIResource.java,
362         javax/swing/plaf/IconUIResource.java,
363         javax/swing/plaf/InputMapUIResource.java,
364         javax/swing/plaf/InsetsUIResource.java,
365         javax/swing/plaf/InternalFrameUI.java,
366         javax/swing/plaf/LabelUI.java,
367         javax/swing/plaf/ListUI.java,
368         javax/swing/plaf/MenuBarUI.java,
369         javax/swing/plaf/MenuItemUI.java,
370         javax/swing/plaf/OptionPaneUI.java,
371         javax/swing/plaf/PanelUI.java,
372         javax/swing/plaf/ProgressBarUI.java,
373         javax/swing/plaf/doc-files/ComponentUI-1.dia,
374         javax/swing/plaf/doc-files/ComponentUI-1.png:
375         New versions from classpath.
376
377 2003-06-24  Michael Koch  <konqueror@gmx.de>
378
379         * java/nio/Buffer.java
380         (cap): Made package-private.
381         (pos): Likewise.
382         (limit): Likewise.
383         (mark): Likewise.
384
385 2003-06-24  Michael Koch  <konqueror@gmx.de>
386
387         * java/net/SocketImpl.java
388         (shutdownInput): Made it non-abstract method throwing an exception
389         like in SUNs JRE.
390         (shutdownOutput): Likewise.
391         * java/net/SocketInputStream.java,
392         java/net/SocketOutputStream.java:
393         New files from classpath.
394
395 2003-06-24  Michael Koch  <konqueror@gmx.de>
396
397         * java/awt/Font.java,
398         java/awt/Window.java,
399         java/awt/color/ColorSpace.java,
400         java/awt/datatransfer/StringSelection.java,
401         java/awt/image/ColorModel.java:
402         New versions from classpath.
403
404 2003-06-24  Michael Koch  <konqueror@gmx.de>
405
406         * Makefile.am
407         (awt_java_source_files): Added new files:
408         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
409         javax/swing/plaf/basic/BasicSplitPaneUI.java
410         * Makefile.in: Regenerated.
411
412 2003-06-24  Michael Koch  <konqueror@gmx.de>
413
414         * javax/swing/text/JTextComponent.java:
415         New version from classpath.
416
417 2003-06-24  Michael Koch  <konqueror@gmx.de>
418
419         * javax/swing/Timer.java,
420         javax/swing/plaf/ActionMapUIResource.java,
421         javax/swing/plaf/ButtonUI.java,
422         javax/swing/plaf/ColorChooserUI.java,
423         javax/swing/plaf/ColorUIResource.java,
424         javax/swing/plaf/ComboBoxUI.java,
425         javax/swing/plaf/ComponentInputMapUIResource.java,
426         javax/swing/plaf/basic/BasicBorders.java:
427         New versions from classpath.
428         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
429         javax/swing/plaf/basic/BasicSplitPaneUI.java:
430         New file from classpath.
431         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
432         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
433         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
434         javax/swing/plaf/doc-files/ComponentUI-1.dia,
435         javax/swing/plaf/doc-files/ComponentUI-1.png:
436         New binary files from classpath.
437
438 2003-06-24  Michael Koch  <konqueror@gmx.de>
439
440         * java/io/LineNumberReader.java
441         (skip): Dont do line number accounting here as this is already done in
442         read(), simplified.
443
444 2003-06-21  Michael Koch  <konqueror@gmx.de>
445
446         * java/io/File.java
447         (static): Load javaio lib if existing (only in classpath).
448         (File): Revised documentation to show the correct argument name.
449         (createTempFile): Partly merged with classpath.
450         (compareTo): Simplified.
451         (lastModified): Throw exception if time < 0.
452         (deleteOnExit): Revised documentation.
453
454 2003-06-21  Michael Koch  <konqueror@gmx.de>
455
456         * java/net/PlainSocketImpl.java:
457         Reformatted.
458         (PlainSocketImpl): Merged class documentaion with classpath.
459         (in): Moved.
460         (out): Moved.
461         (PlainSocketImpl): New empty constructor.
462         (finalize): Moved.
463         (setOption): Merged documentation from classpath.
464         (getOption): Likewise.
465         (create): Likewise.
466         (connect): Likewise.
467         (bind): Likewise.
468         (listen): Likewise.
469         (accept): Likewise.
470         (available): Likewise.
471         (close): Likewise.
472         (read): Likewise.
473         (write): Likewise.
474         (getInputStream): Made synchronozed to get sure that only one stream
475         object can be created for this socket, merged documentation from
476         classpath.
477         (getOutputStream): Likewise.
478
479 2003-06-21  Michael Koch  <konqueror@gmx.de>
480
481         * java/net/PlainSocketImpl.java:
482         Reformatting.
483         (static): New implicit method.
484         (read): Made package private.
485         (write): Likewise.
486
487 2003-06-21  Michael Koch  <konqueror@gmx.de>
488
489         * java/util/SimpleTimeZone.java:
490         Removed unneeded import, reformatting.
491
492 2003-06-21  Michael Koch  <konqueror@gmx.de>
493
494         * java/text/DateFormat.java,
495         java/text/SimpleDateFormat.java,
496         java/util/Locale.java:
497         New versions from classpath.
498
499 2003-06-21  Michael Koch  <konqueror@gmx.de>
500
501         * javax/swing/SpinnerModel.java:
502         New file from classpath.
503         * javax/swing/border/LineBorder.java,
504         javax/swing/border/SoftBevelBorder.java,
505         javax/swing/plaf/BorderUIResource.java,
506         javax/swing/plaf/basic/BasicBorders.java:
507         New versions from classpath.
508         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
509         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
510         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
511         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
512         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
513         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
514         New binary files from classpath.
515
516 2003-06-21  Michael Koch  <konqueror@gmx.de>
517
518         * java/util/logging/LogRecord.java,
519         java/util/logging/Logger.java,
520         java/util/logging/SocketHandler.java,
521         java/util/logging/SimpleFormatter.java,
522         java/util/logging/Formatter.java,
523         java/util/logging/ErrorManager.java,
524         java/util/logging/Handler.java,
525         java/util/logging/FileHandler.java,
526         java/util/logging/LogManager.java,
527         java/util/logging/Level.java,
528         java/util/logging/ConsoleHandler.java,
529         java/util/logging/StreamHandler.java,
530         java/util/logging/LoggingPermission.java,
531         java/util/logging/Filter.java,
532         java/util/logging/MemoryHandler.java,
533         java/util/logging/XMLFormatter.java:
534         New files from classpath.
535
536 2003-06-20  Michael Koch  <konqueror@gmx.de>
537
538         * java/io/ObjectStreamField.java
539         (unshared): new member variable.
540         (ObjectStreamField): New constructor.
541         (isUnshared): New method.
542
543 2003-06-20  Michael Koch  <konqueror@gmx.de>
544
545         * java/net/URLStreamHandler.java
546         (hostsEqual): Rewritten.
547
548 2003-06-20  Michael Koch  <konqueror@gmx.de>
549
550         * gnu/java/nio/MappedByteFileBuffer.java,
551         gnu/java/nio/natMappedByteFileBuffer.cc:
552         Removed
553         * java/nio/MappedByteBufferImpl.java:
554         New file.
555         * gnu/java/nio/FileChannelImpl.java:
556         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
557         * Makefile.am
558         (ordinary_java_source_files): Removed
559         gnu/java/nio/MappedByteFileBuffer.java and added
560         java/nio/MappedByteBufferImpl.java.
561         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
562         * Makefile.in: Regenerated.
563
564 2003-06-19  Michael Koch  <konqueror@gmx.de>
565
566         * gnu/java/nio/DatagramChannelImpl.java
567         (fd): Removed.
568         (blocking): New member variable.
569         (socket): Likewise.
570         (DatagramChannelImpl): Throws IOException, initialize socket.
571         (socket):Implemented.
572         (implCloseSelectableChannel): Throws IOException, implemented.
573         (implConfigureBlocking): Likewise.
574         (connect): Likewise.
575         (disconnect): Likewise.
576         (isConnected): Likewise.
577         (write): Likewise.
578         (read): Likewise.
579         (receive): Throws IOException.
580         (send): Likewise.
581         * gnu/java/nio/SocketChannelImpl.java
582         (read): Implemented.
583         (write): Implemented.
584
585 2003-06-19  Michael Koch  <konqueror@gmx.de>
586
587         * javax/swing/JComponent.java,
588         javax/swing/JInternalFrame.java,
589         javax/swing/MenuSelectionManager.java,
590         javax/swing/SwingUtilities.java,
591         javax/swing/ToggleButtonModel.java:
592         New versions from classpath.
593
594 2003-06-19  Michael Koch  <konqueror@gmx.de>
595
596         * java/text/CollationElementIterator.java
597         (NULLORDER): Initialize with -1 as JDK documentation says.
598
599 2003-06-19  Michael Koch  <konqueror@gmx.de>
600
601         * java/net/HttpURLConnection.java,
602         java/net/Inet4Address.java,
603         java/net/Inet6Address.java,
604         java/net/SocketImpl.java,
605         java/net/URLClassLoader.java:
606         Reworked import statements.
607         * java/net/InetAddress.java
608         (getByAddress): Simplified.
609         * java/net/ServerSocket.java
610         (ServerSocket): Moved special handling during bind operation to
611         bind().
612         (bind): Handle different cases when trying to bind a socket.
613         * java/net/URLConnection.java
614         (getHeaderFieldDate): Merged with classpath.
615         (getHeaderFieldInt): Likewise.
616
617 2003-06-19  Michael Koch  <konqueror@gmx.de>
618
619         * java/util/zip/InflaterInputStream.java
620         (InflaterInputStream): Throw NullPointerException if in is null (as
621         JDK does).
622
623 2003-06-19  Michael Koch  <konqueror@gmx.de>
624
625         * java/awt/Font.java
626         javax/swing/UIManager.java
627         javax/swing/border/AbstractBorder.java
628         javax/swing/border/BevelBorder.java
629         javax/swing/border/Border.java
630         javax/swing/border/CompoundBorder.java
631         javax/swing/border/EmptyBorder.java
632         javax/swing/border/EtchedBorder.java
633         javax/swing/border/LineBorder.java
634         javax/swing/border/MatteBorder.java
635         javax/swing/border/TitledBorder.java
636         javax/swing/plaf/BorderUIResource.java
637         javax/swing/plaf/basic/BasicBorders.java
638         javax/swing/plaf/basic/BasicButtonUI.java
639         javax/swing/plaf/basic/BasicCheckBoxUI.java
640         javax/swing/plaf/basic/BasicGraphicsUtils.java
641         javax/swing/plaf/basic/BasicLabelUI.java
642         javax/swing/plaf/basic/BasicRadioButtonUI.java
643         javax/swing/plaf/basic/BasicToggleButtonUI.java:
644         New versions from classpath.
645         * javax/swing/border/SoftBevelBorder.java:
646         New file from classpath.
647         * javax/swing/border/doc-files/LineBorder-1.png,
648         javax/swing/border/doc-files/BevelBorder-1.png,
649         javax/swing/border/doc-files/BevelBorder-2.png,
650         javax/swing/border/doc-files/BevelBorder-3.png,
651         javax/swing/border/doc-files/EmptyBorder-1.png,
652         javax/swing/border/doc-files/EtchedBorder-1.png,
653         javax/swing/border/doc-files/EtchedBorder-2.png,
654         javax/swing/border/doc-files/MatteBorder-1.png,
655         javax/swing/border/doc-files/MatteBorder-2.png,
656         javax/swing/border/doc-files/MatteBorder-3.png,
657         javax/swing/border/doc-files/MatteBorder-4.png,
658         javax/swing/border/doc-files/MatteBorder-5.png,
659         javax/swing/border/doc-files/MatteBorder-6.png,
660         javax/swing/border/doc-files/SoftBevelBorder-1.png,
661         javax/swing/border/doc-files/SoftBevelBorder-2.png,
662         javax/swing/border/doc-files/SoftBevelBorder-3.png,
663         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
664         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
665         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
666         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
667         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
668         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
669         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
670         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
671         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
672         New binary files from classpath.
673         * Makefile.am
674         (awt_java_source_files): Added
675         javax/swing/border/SoftBevelBorder.java.
676         * Makefile.in: Regenerated.
677
678 2003-06-19  Michael Koch  <konqueror@gmx.de>
679
680         * gnu/java/security/x509/X509Certificate.java
681         (writeReplace): Merged from classpath.
682
683 2003-06-19  Michael Koch  <konqueror@gmx.de>
684
685         * gnu/java/nio/FileChannelImpl.java
686         (map_address): Made public.
687         (FileChannelImpl): Merged with classpath.
688         * gnu/java/nio/natFileChannelImpl.cc
689         (nio_mmap_file): Commented out unused arguments.
690         (nio_unmmap_file): Likewise.
691         (niu_msync): Likewise.
692
693 2003-06-19  Michael Koch  <konqueror@gmx.de>
694
695         * java/awt/image/IndexColorModel.java:
696         New version from classpath.
697
698 2003-06-18  Tom Tromey  <tromey@redhat.com>
699
700         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
701         on arrays.
702         (isLoopbackAddress): Likewise.
703         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
704         on arrays.
705
706 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
707
708         * java/lang/natVMSecurityManager.cc (getClassContext):
709         Use maxlen instead of len for loop bound.
710
711 2003-06-18  Michael Koch  <konqueror@gmx.de>
712
713         * gnu/java/nio/SelectorImpl.java
714         (register): Use fd with value 0 for now, will be fixed later.
715         * gnu/java/nio/ServerSocketChannelImpl.java
716         (fd): Removed.
717         (local_port): Removed.
718         (InetSocketAddress): Removed.
719         (ServerSocketChannelImpl): Just initialize internal socket object.
720         (implCloseSelectableChannel): Close internal socket object.
721         (implConfigureBlocking): Added comment.
722         (accept): Use jaba.net stuff to accept socket.
723         * gnu/java/nio/SocketChannelImpl.java
724         (fd): Removed.
725         (local_port): Removed.
726         (InetSocketAddress): Removed.
727         (SocketCreate): Removed.
728         (SocketConnect): Removed.
729         (SocketBind): Removed.
730         (SocketListen): Removed.
731         (SocketAvailable): Removed.
732         (SocketClose): Removed.
733         (SocketRead): Removed.
734         (SocketWrite): Removed.
735         (SocketChannelImpl): Just initialize internal socket object.
736         (implCloseSelectableChannel): Close internal socket object.
737         (implConfigureBlocking): Fixed implementation, added comment.
738         (connect): Use internal socket object to connect.
739         (socket): No need for sanity checks.
740         (read): Comment out some stuff, this will be reimplemented in the next
741         commit.
742         (write): Likewise.
743         * gnu/java/nio/natFileChannelImpl.cc
744         (nio_mmap_file): Line wrapped.
745         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
746         * Makefile.am
747         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
748         * Makefile.in: Regenerated.
749
750 2003-06-18  Michael Koch  <konqueror@gmx.de>
751
752         * java/util/Locale.java
753         (equals): Merged from classpath.
754
755 2003-06-18  Michael Koch  <konqueror@gmx.de>
756
757         * java/net/InetAddress.java:
758         Reformatted to better match classpath's version.
759         * java/net/URL.java
760         (equals): Simplified.
761         * java/net/URLConnection.java
762         (setDoInput): Revised documentation.
763         (getDefaultUseCaches): Likewise.
764         (setRequestProperty): Added @since tag.
765
766 2003-06-17  Michael Koch  <konqueror@gmx.de>
767
768         * java/net/InetSocketAddress.java
769         (InetSocketAddress): Use wildcard address if addr is null.
770         (InetSocketAddress): Dont duplicate implementation.
771         (InetSocketAddress): Throw exception when hostname is null.
772         * java/net/Socket.java:
773         Reworked imports.
774         (Socket): Throw exception when raddr is null, handle case when laddr
775         is null.
776
777 2003-06-17  Michael Koch  <konqueror@gmx.de>
778
779         * java/nio/DirectByteBufferImpl.java
780         (address): Made package private.
781         (DirectByteBufferImpl): New constructor.
782         * java/nio/natDirectByteBufferImpl.cc
783         (allocateImpl): Moved to java.nio namespace, implemented.
784         (freeImpl): Likewise.
785         (getImpl): Likewise.
786         (putImpl): Likewise.
787         * jni.cc
788         (_Jv_JNI_NewDirectByteBuffer): Implemented.
789         (_Jv_JNI_GetDirectBufferAddress): Implemented.
790         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
791
792 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
793
794         * include/powerpc-signal.h: New File.
795         * configure.in: Use it.
796         * configure: Regenerated.
797
798 2003-06-17  Michael Koch  <konqueror@gmx.de>
799
800         * java/util/Locale.java
801         (getDisplayLanguage): Made it final.
802         (getDisplayCountry): Likewise.
803         (getDisplayVariant): Likewise.
804         (getDisplayName): Likewise.
805
806 2003-06-17  Michael Koch  <konqueror@gmx.de>
807
808         * java/util/PropertyResourceBundle.java:
809         Removed unneeded import.
810
811 2003-06-17  Michael Koch  <konqueror@gmx.de>
812
813         * java/util/prefs/AbstractPreferences.java,
814         java/util/prefs/PreferencesFactory.java:
815         Reworked imports, removed unused imports.
816         * java/util/prefs/Preferences.java
817         (systemNodeForPackage): Method takes a Class not an Object.
818         (userNodeForPackage): Likewise.
819         (nodeForPackage): Likewise.
820
821 2003-06-17  Michael Koch  <konqueror@gmx.de>
822
823         * gnu/java/security/x509/X509Certificate.java:
824         Explicitely import used classes.
825
826 2003-06-17  Michael Koch  <konqueror@gmx.de>
827
828         * java/util/zip/ZipEntry.java,
829         java/util/zip/ZipFile.java,
830         java/util/zip/ZipInputStream.java,
831         java/util/zip/ZipOutputStream.java:
832         Reworked imports, only import used classes.
833
834 2003-06-17  Michael Koch  <konqueror@gmx.de>
835
836         * gnu/java/lang/ArrayHelper.java,
837         gnu/java/lang/ClassHelper.java:
838         Reformatted to match classpath's versions.
839
840 2003-06-14  Michael Koch  <konqueror@gmx.de>
841
842         * gnu/java/nio/FileChannelImpl.java
843         (map_address): Removed incorrect comment.        
844         * gnu/java/nio/SelectorImpl.java
845         (register): Remove code duplication and code for file channel handling.        
846         * gnu/java/nio/ServerSocketChannelImpl.java
847         (serverSocket): Renamed from sock_object.
848         (ServerSocketChannel): Initialize serverSocket.
849         (socket): Return serverSocket.
850         * gnu/java/nio/SocketChannelImpl.java
851         (socket): Renamed from sock_object.
852         (isConnectionPenging): Simplified.
853         (socket): Return socket.
854 2003-06-14  Michael Koch  <konqueror@gmx.de>
855
856         * java/security/BasicPermission.java:
857         New version from classpath.
858
859 2003-06-14  Michael Koch  <konqueror@gmx.de>
860
861         * javax/naming/directory/Attribute.java:
862         New version from classpath.
863
864 2003-06-14  Michael Koch  <konqueror@gmx.de>
865
866         * java/io/BufferedReader.java,
867         java/io/FileOutputStream.java:
868         New versions from classpath.
869
870 2003-06-12  Andrew Haley  <aph@redhat.com>
871
872         * prims.cc (catch_segv): Create exception in handler.
873         (catch_fpe): Likewise.  
874         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
875         (_Jv_ThrowSignal): Remove.
876
877         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
878         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
879         to nullp and arithexception.
880         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
881         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
882         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
883         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
884         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
885
886 2003-06-11  Andrew Haley  <aph@redhat.com>
887
888         * jni.cc (_Jv_JNI_check_types): New.
889         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
890         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
891         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
892         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
893         
894         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
895         infinite loop.
896
897 2003-06-11  Tom Tromey  <tromey@redhat.com>
898
899         * java/lang/ClassLoader.java (loadClass): Not deprecated.
900         * java/io/PrintStream.java: Not deprecated.
901
902 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
903
904         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
905         (fillOval): implemented
906         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
907         (fillArc): implemented.
908         * gnu/gcj/xlib/GC.java (drawArc): added native method.
909         (fillArc): added native method.
910         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
911         (fillArc): added native method.
912
913 2003-06-11  Michael Koch  <konqueror@gmx.de>
914
915         * java/awt/im/InputSubset.java:
916         New version from classpath.
917
918 2003-06-11  Michael Koch  <konqueror@gmx.de>
919
920         * javax/swing/AbstractAction.java,
921         javax/swing/AbstractButton.java,
922         javax/swing/AbstractCellEditor.java,
923         javax/swing/AbstractListModel.java,
924         javax/swing/BorderFactory.java,
925         javax/swing/Box.java,
926         javax/swing/BoxLayout.java,
927         javax/swing/ButtonGroup.java,
928         javax/swing/DefaultButtonModel.java,
929         javax/swing/DefaultListModel.java,
930         javax/swing/DefaultListSelectionModel.java,
931         javax/swing/FocusManager.java,
932         javax/swing/ImageIcon.java,
933         javax/swing/InputMap.java,
934         javax/swing/JApplet.java,
935         javax/swing/JButton.java,
936         javax/swing/JCheckBox.java,
937         javax/swing/JCheckBoxMenuItem.java,
938         javax/swing/JColorChooser.java,
939         javax/swing/JComboBox.java,
940         javax/swing/JComponent.java,
941         javax/swing/JDesktopPane.java,
942         javax/swing/JDialog.java,
943         javax/swing/JEditorPane.java,
944         javax/swing/JFileChooser.java,
945         javax/swing/JFormattedTextField.java,
946         javax/swing/JFrame.java,
947         javax/swing/JLabel.java,
948         javax/swing/JLayeredPane.java,
949         javax/swing/JList.java,
950         javax/swing/JMenuBar.java,
951         javax/swing/JMenuItem.java,
952         javax/swing/JOptionPane.java,
953         javax/swing/JPanel.java,
954         javax/swing/JPasswordField.java,
955         javax/swing/JPopupMenu.java,
956         javax/swing/JProgressBar.java,
957         javax/swing/JRadioButton.java,
958         javax/swing/JRadioButtonMenuItem.java,
959         javax/swing/JRootPane.java,
960         javax/swing/JScrollBar.java,
961         javax/swing/JScrollPane.java,
962         javax/swing/JSeparator.java,
963         javax/swing/JSlider.java,
964         javax/swing/JTabbedPane.java,
965         javax/swing/JTable.java,
966         javax/swing/JTextField.java,
967         javax/swing/JToggleButton.java,
968         javax/swing/JToolBar.java,
969         javax/swing/JToolTip.java,
970         javax/swing/JTree.java,
971         javax/swing/JViewport.java,
972         javax/swing/JWindow.java,
973         javax/swing/KeyStroke.java,
974         javax/swing/ListSelectionModel.java,
975         javax/swing/LookAndFeel.java,
976         javax/swing/RepaintManager.java,
977         javax/swing/ScrollPaneLayout.java,
978         javax/swing/SizeRequirements.java,
979         javax/swing/SwingConstants.java,
980         javax/swing/Timer.java,
981         javax/swing/UIDefaults.java,
982         javax/swing/UIManager.java,
983         javax/swing/border/AbstractBorder.java,
984         javax/swing/border/CompoundBorder.java,
985         javax/swing/colorchooser/AbstractColorChooserPanel.java,
986         javax/swing/colorchooser/ColorChooserComponentFactory.java,
987         javax/swing/colorchooser/ColorSelectionModel.java,
988         javax/swing/colorchooser/DefaultColorSelectionModel.java,
989         javax/swing/event/AncestorEvent.java,
990         javax/swing/event/HyperlinkEvent.java,
991         javax/swing/event/InternalFrameAdapter.java,
992         javax/swing/event/InternalFrameEvent.java,
993         javax/swing/event/ListDataEvent.java,
994         javax/swing/event/MouseInputAdapter.java,
995         javax/swing/event/SwingPropertyChangeSupport.java,
996         javax/swing/event/TableModelEvent.java,
997         javax/swing/event/TreeWillExpandListener.java,
998         javax/swing/event/UndoableEditEvent.java,
999         javax/swing/filechooser/FileFilter.java,
1000         javax/swing/filechooser/FileSystemView.java,
1001         javax/swing/filechooser/FileView.java,
1002         javax/swing/plaf/BorderUIResource.java,
1003         javax/swing/plaf/basic/BasicDefaults.java,
1004         javax/swing/table/AbstractTableModel.java,
1005         javax/swing/table/DefaultTableCellRenderer.java,
1006         javax/swing/table/DefaultTableColumnModel.java,
1007         javax/swing/table/DefaultTableModel.java,
1008         javax/swing/table/TableColumn.java,
1009         javax/swing/text/JTextComponent.java,
1010         javax/swing/tree/AbstractLayoutCache.java,
1011         javax/swing/tree/DefaultMutableTreeNode.java,
1012         javax/swing/tree/DefaultTreeCellEditor.java,
1013         javax/swing/tree/DefaultTreeCellRenderer.java,
1014         javax/swing/tree/DefaultTreeModel.java,
1015         javax/swing/tree/DefaultTreeSelectionModel.java,
1016         javax/swing/tree/FixedHeightLayoutCache.java,
1017         javax/swing/tree/TreeCellEditor.java,
1018         javax/swing/tree/TreeModel.java,
1019         javax/swing/tree/TreeNode.java,
1020         javax/swing/tree/TreePath.java,
1021         javax/swing/tree/TreeSelectionModel.java,
1022         javax/swing/tree/VariableHeightLayoutCache.java,
1023         javax/swing/undo/AbstractUndoableEdit.java,
1024         javax/swing/undo/CompoundEdit.java,
1025         javax/swing/undo/StateEdit.java,
1026         javax/swing/undo/UndoManager.java,
1027         javax/swing/undo/UndoableEditSupport.java:
1028         New versions from classpath.
1029         * javax/swing/table/JTableHeader.java:
1030         New file from classpath.
1031         * Makefile.am
1032         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1033         * Makefile.in: Regenerated.
1034
1035 2003-06-11  Michael Koch  <konqueror@gmx.de>
1036
1037         * java/nio/MappedByteBuffer.java,
1038         java/nio/channels/Channels.java,
1039         java/nio/channels/ServerSocketChannel.java,
1040         java/nio/channels/spi/AbstractSelector.java:
1041         Removed unneeded imports.
1042
1043 2003-06-11  Michael Koch  <konqueror@gmx.de>
1044
1045         * java/net/DatagramSocket.java:
1046         Partly merged with classpath.
1047
1048 2003-06-11  Michael Koch  <konqueror@gmx.de>
1049
1050         * java/awt/Frame.java,
1051         java/awt/Graphics.java,
1052         java/awt/Menu.java,
1053         java/awt/Robot.java,
1054         java/awt/image/ColorModel.java:
1055         New versions from classpath.
1056
1057 2003-06-10  Michael Koch  <konqueror@gmx.de>
1058
1059         * java/io/PrintStream.java:
1060         Merged version from classpath.
1061         (close): Removed sychronized keyword. This class is not garantied to
1062         be thread-safe.
1063         (write): Likewise.
1064
1065 2003-06-09  Tom Tromey  <tromey@redhat.com>
1066
1067         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1068         field.
1069         (getDescent): Likewise, for "descent".
1070
1071 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1072
1073         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1074         (getMaxDescent): adjusted return value.
1075         (getAscent): modified to use metrics for 'O'.
1076         (getDescent): modified to use metrics for 'y'.
1077
1078 2003-06-08  Anthony Green  <green@redhat.com>
1079
1080         * java/net/URLStreamHandler.java (sameFile): Fix port value
1081         comparison.
1082         * java/net/URL.java (handler): Make package private.
1083         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1084
1085 2003-06-07  Tom Tromey  <tromey@redhat.com>
1086
1087         For PR libgcj/11085:
1088         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1089         Limit number of characters in numeric field when required.
1090         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1091         Respect maximumIntegerDigits.
1092
1093 2003-06-08  Michael Koch  <konqueror@gmx.de>
1094
1095         * java/net/Socket.java
1096         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1097         call bind() and connect() to actually do the bind and connect tasks.
1098         (bind): Connect to canonical address if bindpoint is null, create
1099         socket and bind it to bindpoint.
1100         (connect): Check for exceptions.
1101
1102 2003-06-08  Michael Koch  <konqueror@gmx.de>
1103
1104         * java/net/DatagramSocket.java
1105         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1106         into the Multicast constructors.
1107         * java/net/DatagramSocketImpl.java
1108         (getOption): Removed.
1109         (setOption): Removed.
1110         * java/net/MulticastSocket.java
1111         (MulticastSocket): Call setReuseAddress (true).
1112         * java/net/SocketImpl.java
1113         (getOption): Removed.
1114         (setOption): Removed.
1115
1116 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1117
1118         PR libgcj/10886:
1119         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1120         Test for empty vector.
1121
1122 2003-06-06  Mark Wielaard  <mark@klomp.org>
1123
1124         * java/security/Security.java (secprops): Initialize.
1125         (loadProviders): Return boolean.
1126         (static): Check result of loadProvider calls. If necessary
1127         display WARNING and fallback to Gnu provider.
1128
1129 2002-06-06  James Clark  <jjc@jclark.com>
1130
1131         Fix for PR libgcj/8738:
1132         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1133         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1134         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1135         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1136         (write): Always decrease avail when count is increased.
1137         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1138         and whether output buffer is full before increasing size.
1139
1140 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1141
1142         * java/io/PrintStream.java (writeChars(char[],int, int)):
1143         Check converter.havePendingBytes().
1144         (writeChars(String,int,int)): Likewise.
1145         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1146         Check converter.havePendingBytes() and flush buffer when stalled.
1147
1148 2003-06-07  Michael Koch  <konqueror@gmx.de>
1149
1150         * include/posix.h
1151         (O_DSYNC): Define O_DSYNC on platforms not
1152         supporting O_FSYNC (newlib).
1153
1154 2003-06-06  Mark Wielaard  <mark@klomp.org>
1155
1156         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1157         AWTError.
1158
1159 2003-06-06  Michael Koch  <konqueror@gmx.de>
1160
1161         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1162         More compile fixes from my stupid work yesterday.
1163
1164 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1165
1166         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1167         if _IEEE_LIBM is undefined.
1168
1169 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1170
1171         * libjava/include/posix.h (O_SYNC): Define if not available
1172         and a reasonable, perhaps more conservative, replacement exists.
1173         (O_DSYNC): Likewise.
1174         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1175
1176 2003-06-05  Michael Koch  <konqueror@gmx.de>
1177
1178         * javax/swing/plaf/BorderUIResource.java,
1179         javax/swing/plaf/basic/BasicDefaults.java,
1180         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1181         More compile fixes for latest Border commit. I should not commit
1182         something in this heat here ...
1183
1184 2003-06-05  Michael Koch  <konqueror@gmx.de>
1185
1186         * javax/swing/border/BevelBorder.java
1187         (BevelBorder): Removed.
1188         * javax/swing/border/EmptyBorder.java:
1189         Reformatted.
1190         (EmptyBorder): Removed.
1191         (getBorderInsets): Dont use l, r, t and b.
1192         * javax/swing/border/EtchedBorder.java
1193         (EtchedBorder): Removed.
1194         * javax/swing/border/LineBorder.java
1195         (LineBorder): Removed.
1196         * javax/swing/border/MatteBorder.java
1197         (MatteBorder): Removed.
1198         * javax/swing/border/TitledBorder.java
1199         (defaultBorder): Use other default for now.
1200         (defaultFont): Likewise.
1201         (defaultColor): Likewise.
1202
1203 2003-06-05  Michael Koch  <konqueror@gmx.de>
1204
1205         * javax/swing/border/Border.java:
1206         New version from classpath.
1207
1208 2003-06-05  Michael Koch  <konqueror@gmx.de>
1209
1210         * javax/swing/border/AbstractBorder.java,
1211         javax/swing/border/BevelBorder.java,
1212         javax/swing/border/CompoundBorder.java,
1213         javax/swing/border/EmptyBorder.java,
1214         javax/swing/border/EtchedBorder.java,
1215         javax/swing/border/LineBorder.java,
1216         javax/swing/border/MatteBorder.java,
1217         javax/swing/border/TitledBorder.java:
1218         New versions from Classpath.
1219
1220 2003-06-05  Michael Koch  <konqueror@gmx.de>
1221
1222         * java/awt/Button.java,
1223         java/awt/Checkbox.java,
1224         java/awt/CheckboxMenuItem.java,
1225         java/awt/Choice.java,
1226         java/awt/Container.java,
1227         java/awt/Dialog.java,
1228         java/awt/EventQueue.java,
1229         java/awt/FileDialog.java,
1230         java/awt/Frame.java,
1231         java/awt/Label.java,
1232         java/awt/List.java,
1233         java/awt/Menu.java,
1234         java/awt/MenuItem.java,
1235         java/awt/Panel.java,
1236         java/awt/PopupMenu.java,
1237         java/awt/Rectangle.java,
1238         java/awt/ScrollPane.java,
1239         java/awt/Scrollbar.java,
1240         java/awt/TextArea.java,
1241         java/awt/TextField.java,
1242         java/awt/Window.java,
1243         java/awt/datatransfer/DataFlavor.java,
1244         java/awt/dnd/DragSource.java,
1245         java/awt/dnd/DragSourceContext.java,
1246         java/awt/event/HierarchyEvent.java,
1247         java/awt/event/MouseWheelEvent.java,
1248         java/awt/im/InputContext.java,
1249         java/awt/image/BufferedImage.java,
1250         java/awt/image/ComponentColorModel.java,
1251         java/awt/image/Raster.java,
1252         java/awt/image/WritableRaster.java,
1253         java/awt/peer/ComponentPeer.java,
1254         java/awt/print/PageFormat.java,
1255         java/awt/print/PrinterJob.java:
1256         New versions from Classpath.
1257
1258 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1259
1260         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1261         numberFormat.setParseIntegerOnly(true).
1262
1263 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1264
1265         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1266
1267 2003-06-03  Andrew Haley  <aph@redhat.com>
1268
1269         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1270         stack volatile to prevent optimization from removing it.
1271
1272 2003-05-27  Michael Koch  <konqueror@gmx.de>
1273
1274         * java/util/zip/Deflater.java
1275         (FILTERED): Merged documentation from classpath.
1276         * java/util/zip/DeflaterOutputStream.java
1277         (DeflaterOutputStream): Merged documentation and argument validity
1278         check from classpath.
1279         (deflate): Merged documentation from classpath.
1280         (finish): Likewise.
1281         * java/util/zip/Inflater.java
1282         (Inflater): Merged class documentation from classpath.
1283         (zstream): Reordered.
1284         (is_finished): Reordered.
1285         (dict_needed): Reordered.
1286         (Inflater): Reordered, merged documentation from classpath.
1287         (end): Likewise.
1288         (finalize): Merged documentation from classpath.
1289         (finished): Likewise.
1290         (getAdler): Likewise.
1291         (getRemaining): Likewise.
1292         (getTotalIn): Likewise.
1293         (getTotalOut): Likewise.
1294         (inflate): Likewise.
1295         (needsDictionary): Likewise.
1296         (needsInput): Likewise.
1297         (reset): Likewise.
1298         (setDictionary): Likewise.
1299         (setInput): Likewise.
1300
1301 2003-05-27  Michael Koch  <konqueror@gmx.de>
1302
1303         * java/net/URLConnection.java
1304         (getHeaderFieldInt): Merged with classpath.
1305
1306 2003-05-27  Michael Koch  <konqueror@gmx.de>
1307
1308         * java/io/PrintStream.java
1309         (PrintStream): Reformatted.
1310         (PrintStream): New method, merged from classpath.
1311         (write): Reformatted.
1312
1313 2003-05-27  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/lang/System.java:
1316         Explicitely import needed classes.
1317
1318 2003-05-26  Michael Koch  <konqueror@gmx.de>
1319
1320         * java/net/NetPermission.java,
1321         java/net/NetworkInterface.java,
1322         java/net/PasswordAuthentication.java,
1323         java/net/SocketPermission.java:
1324         New versions from classpath.
1325
1326 2003-05-25  Michael Koch  <konqueror@gmx.de>
1327
1328         * java/io/PushbackInputStream.java,
1329         java/net/Authenticator.java,
1330         java/net/ContentHandler.java,
1331         java/net/ContentHandlerFactory.java,
1332         java/net/DatagramSocket.java,
1333         java/net/DatagramSocketImpl.java,
1334         java/net/DatagramSocketImplFactory.java,
1335         java/net/FileNameMap.java,
1336         java/net/SocketImplFactory.java,
1337         java/net/SocketOptions.java,
1338         java/net/URLStreamHandlerFactory.java:
1339         Merged new versions from classpath.
1340
1341 2003-05-25  Michael Koch  <konqueror@gmx.de>
1342
1343         * java/awt/Checkbox.java,
1344         java/awt/Dialog.java,
1345         java/awt/Font.java,
1346         java/awt/Frame.java,
1347         java/awt/ScrollPaneAdjustable.java,
1348         java/awt/Scrollbar.java,
1349         java/awt/Window.java:
1350         New versions from classpath.
1351
1352 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1353
1354         PR libgcj/10838:
1355         * java/io/ObjectInputStream (enableResolveObject):
1356         Fixed spelling of permission name.
1357
1358 2003-05-20  Michael Koch  <konqueror@gmx.de>
1359
1360         * java/io/DataInputStream.java
1361         (convertFromUTF): Merged comment from classpath.
1362         * java/io/PrintStream.java
1363         (error_occured): Renamed from error, merged comment from classpath.
1364         (PrintStream): No need to initialized error.
1365         (checkError): Replace error with error_occurred.
1366         (setError): Likewise.
1367
1368 2003-05-20  Michael Koch  <konqueror@gmx.de>
1369
1370         * java/io/DataInputStream.java:
1371         Reformatted, Replaced < and & with html entitites in documentation.
1372         * java/io/File.java:
1373         Reformatted.
1374         * java/io/PrintWriter.java:
1375         Moved class documentation.
1376
1377 2003-05-20  Michael Koch  <konqueror@gmx.de>
1378
1379         * gnu/java/nio/ByteBufferImpl.java,
1380         gnu/java/nio/CharBufferImpl.java,
1381         gnu/java/nio/CharViewBufferImpl.java,
1382         gnu/java/nio/DirectByteBufferImpl.java,
1383         gnu/java/nio/DoubleBufferImpl.java,
1384         gnu/java/nio/DoubleViewBufferImpl.java,
1385         gnu/java/nio/FloatBufferImpl.java,
1386         gnu/java/nio/FloatViewBufferImpl.java,
1387         gnu/java/nio/IntBufferImpl.java,
1388         gnu/java/nio/IntViewBufferImpl.java,
1389         gnu/java/nio/LongBufferImpl.java,
1390         gnu/java/nio/LongViewBufferImpl.java,
1391         gnu/java/nio/natDirectByteBufferImpl.cc,
1392         gnu/java/nio/ShortBufferImpl.java,
1393         gnu/java/nio/ShortViewBufferImpl.java:
1394         Moved files to java/nio.
1395         * gnu/java/nio/SocketChannelImpl.java
1396         
1397         * java/nio/ByteBuffer.java,
1398         java/nio/CharBuffer.java,
1399         java/nio/DoubleBuffer.java,
1400         java/nio/FloatBuffer.java,
1401         java/nio/IntBuffer.java,
1402         java/nio/LongBuffer.java,
1403         java/nio/ShortBuffer.java:
1404         Dont import anything.
1405         * java/nio/ByteBufferImpl.java,
1406         java/nio/CharBufferImpl.java,
1407         java/nio/CharViewBufferImpl.java,
1408         java/nio/DirectByteBufferImpl.java,
1409         java/nio/DoubleBufferImpl.java,
1410         java/nio/DoubleViewBufferImpl.java,
1411         java/nio/FloatBufferImpl.java,
1412         java/nio/FloatViewBufferImpl.java,
1413         java/nio/IntBufferImpl.java,
1414         java/nio/IntViewBufferImpl.java,
1415         java/nio/LongBufferImpl.java,
1416         java/nio/LongViewBufferImpl.java,
1417         java/nio/natDirectByteBufferImpl.cc,
1418         java/nio/ShortBufferImpl.java,
1419         java/nio/ShortViewBufferImpl.java:
1420         Moved from gnu/java/nio.
1421         * Makefile.am
1422         (ordinary_java_source_files): Moved files from gnu/java/nio to
1423         java/nio.
1424         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1425         to java/nio.
1426         * Makefile.in: Regenerated.
1427
1428 2003-05-19  Michael Koch  <konqueror@gmx.de>
1429
1430         * java/util/Calendar.java
1431         (get): Not final anymore since JDK 1.4
1432         (set): Likewise.
1433
1434 2003-05-19  Michael Koch  <konqueror@gmx.de>
1435
1436         * java/text/CollationKey.java:
1437         Merged copyright and dat from classpath.
1438         * java/text/RuleBasedCollator.java:
1439         Merged class documentation from classpath.
1440
1441 2003-05-19  Michael Koch  <konqueror@gmx.de>
1442
1443         * java/nio/CharBuffer.java
1444         (toString): Compile fix.
1445
1446 2003-05-19  Michael Koch  <konqueror@gmx.de>
1447
1448         * gnu/java/nio/ByteBufferImpl.java
1449         (putLong): Fixed conversion to bytes.
1450         (putDouble): Fixed conversion to bytes.
1451         * gnu/java/nio/DirectByteBufferImpl.java
1452         (putLong): Fixed conversion to bytes.
1453         (putDouble): Fixed conversion to bytes.
1454         * gnu/java/nio/FileLockImpl.java
1455         (isValid): Reformatted.
1456         * java/nio/Buffer.java
1457         (Buffer): Fixed off-by-one bug in handling mark.
1458         * java/nio/ByteBuffer.java:
1459         Added newline.
1460         * java/nio/CharBuffer.java
1461         (toString): Don't use relative get to get string data.
1462
1463 2003-05-16  Michael Koch  <konqueror@gmx.de>
1464
1465         * java/io/natFileDescriptorPosix.cc
1466         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1467         tested.
1468
1469 2003-05-14  Michael Koch  <konqueror@gmx.de>
1470
1471         * gnu/java/nio/FileLockImpl.java
1472         (released): New member variable.
1473         (FileLockImpl): Initialize released.
1474         (releaseImpl): New native method.
1475         (release): Implemented.
1476         * gnu/java/nio/SelectorImpl.java: Reformatted.
1477         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1478         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1479         (accept): Throws IOException.
1480         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1481         (implConfigureBlocking): Throws IOException.
1482         (connect): Likewise.
1483         (read): Likewise.
1484         (write): Likewise.
1485         * gnu/java/nio/natFileLockImpl.cc: New file.
1486         * java/nio/channels/FileLock.java: Reformatted.
1487         * Makefile.am:
1488         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1489         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1490         * Makefile.in: Regenerated.
1491
1492 2003-05-13  Michael Koch  <konqueror@gmx.de>
1493
1494         * gnu/java/nio/CharViewBufferImpl.java
1495         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1496         (get): Shift bits to the right direction.
1497         (put): Likewise.
1498         * gnu/java/nio/DoubleViewBufferImpl.java
1499         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1500         (get): Shift bits to the right direction.
1501         (put): Likewise.
1502         * gnu/java/nio/FloatViewBufferImpl.java
1503         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1504         (get): Shift bits to the right direction.
1505         (put): Likewise.
1506         * gnu/java/nio/IntViewBufferImpl.java
1507         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1508         (get): Shift bits to the right direction.
1509         (put): Likewise.
1510         * gnu/java/nio/LongViewBufferImpl.java
1511         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1512         (get): Shift bits to the right direction.
1513         (put): Likewise.
1514         * gnu/java/nio/ShortViewBufferImpl.java
1515         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1516         (get): Shift bits to the right direction.
1517         (put): Likewise.
1518
1519 2003-05-13  Michael Koch  <konqueror@gmx.de>
1520
1521         * gnu/java/nio/natDirectByteBufferImpl.cc
1522         (allocateImpl): jlong -> RawData*.
1523         (freeImpl): Likewise.
1524
1525 2003-05-13  Michael Koch  <konqueror@gmx.de>
1526
1527         * java/nio/channels/FileChannel.java
1528         (MapMode.m): Made it package-private to match JDK 1.4.
1529         * java/nio/charset/Charset.java
1530         (decode): Made it final to match JDK 1.4.
1531
1532 2003-05-13  Michael Koch  <konqueror@gmx.de>
1533
1534        * java/io/FileDescriptor.java
1535        (SYNC): New constant.
1536        (DSYNC): Likewise.
1537        (getLength): Renamed from lenght() to match classpath's
1538        FileDescriptor.java.
1539        * java/io/RandomAccessFile.java
1540        (RandomAccessFile): Removed unneeded mode check, implemented mode
1541        "rws" and "rwd", merged documentation from classpath.
1542        (setLength): Reformatted.
1543        (length): Use new getLength() of FileDescriptor.
1544        * java/io/natFileDescriptorEcos.cc
1545        (getLength): Renamed from length().
1546        * java/io/natFileDescriptorPosix.cc
1547        (open): Implemented support for SYNC and DSYNC.
1548        (seek): Use getLength() instead of length().
1549        (getLength): Renamed from length().
1550        * java/io/natFileDescriptorWin32.cc
1551        (getLength): Renamed from length().
1552        (seek): Use getLength() instead of length().
1553        (available): Likewise.
1554        * gnu/java/nio/natFileChannelImpl.cc
1555        (size): Use getLength() instead of length().
1556
1557 2003-05-13  Michael Koch  <konqueror@gmx.de>
1558
1559         * gnu/java/nio/ByteBufferImpl.java
1560         (ByteBufferImpl): All constructors revised.
1561         (slice): Reimplemented.
1562         (duplicate): Reimplemented.
1563         (asReadOnlyBuffer): Reimplemented.
1564         * java/nio/ByteBuffer.java:
1565         Reformatted.
1566         (array_offset): Renamed from "offset" to match all other buffer
1567         classes.
1568         (ByteBuffer): All constructors revised.
1569         (allocateDirect): Implemented.
1570         (allocate): New implementation, documentation reworked.
1571         (wrap): Likewise.
1572         (get): Documentation reworked.
1573         (put): New implementation, documentation reworked.
1574         (hasArray): Documentation reworked.
1575         (arrayOffset): Likewise.
1576         (hashCode): Likewise.
1577         (equals): Likewise.
1578         (compareTo): Likewise.
1579         (order): Likewise.
1580         (compact): Likewise.
1581         (isDirect): Likewise.
1582         (slice): Likewise.
1583         (duplicate): Likewise.
1584         (asReadOnlyBuffer): Likewise.
1585         * Makefile.am
1586         (ordinary_java_source_files):
1587         Added gnu/java/nio/DirectByteBufferImpl.java.
1588         (nat_source_files):
1589         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1590         * Makefile.in: Regenerated.
1591
1592 2003-05-12  Michael Koch  <konqueror@gmx.de>
1593
1594         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1595         (nio_get_*): Removed.
1596         (nio_put_*): Removed.
1597         (as*Buffer): Implemented.
1598         (compact): Implemented.
1599         (get): Documentation added.
1600         (put): Documentation added.
1601         (get*): Newly implemented.
1602         (put*): Newly implemented.
1603         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1604         (CharBufferImpl): Revised.
1605         (slice): New implementation.
1606         (duplicate): New implementation.
1607         (compact): New implementation.
1608         (asReadOnlyBuffer): New implementation.
1609         (get): Documentation revised.
1610         (order): Return native byte order.
1611         * gnu/java/nio/DirectByteBufferImpl.java
1612         (allocateDirect): objects can be null not 0.
1613         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1614         (DoubleBufferImpl): Revised.
1615         (slice): New implementation.
1616         (duplicate): New implementation.
1617         (compact): New implementation.
1618         (asReadOnlyBuffer): New implementation.
1619         (get): Documentation revised.
1620         (order): Return native byte order.
1621         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1622         (FloatBufferImpl): Revised.
1623         (slice): New implementation.
1624         (duplicate): New implementation.
1625         (compact): New implementation.
1626         (asReadOnlyBuffer): New implementation.
1627         (get): Documentation revised.
1628         (order): Return native byte order.
1629         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1630         (IntBufferImpl): Revised.
1631         (slice): New implementation.
1632         (duplicate): New implementation.
1633         (compact): New implementation.
1634         (asReadOnlyBuffer): New implementation.
1635         (get): Documentation revised.
1636         (order): Return native byte order.
1637         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1638         (LongBufferImpl): Revised.
1639         (slice): New implementation.
1640         (duplicate): New implementation.
1641         (compact): New implementation.
1642         (asReadOnlyBuffer): New implementation.
1643         (get): Documentation revised.
1644         (order): Return native byte order.
1645         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1646         (ShortBufferImpl): Revised.
1647         (slice): New implementation.
1648         (duplicate): New implementation.
1649         (compact): New implementation.
1650         (asReadOnlyBuffer): New implementation.
1651         (get): Documentation revised.
1652         (order): Return native byte order.
1653         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1654         (CharBuffer): Revised.
1655         (order): Removed.
1656         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1657         (DoubleBuffer): Revised.
1658         (allocateDirect): Removed.
1659         (order): Removed.
1660         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1661         (FloatBuffer): Revised.
1662         (allocateDirect): Removed.
1663         (order): Removed.
1664         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1665         (IntBuffer): Revised.
1666         (allocateDirect): Removed.
1667         (order): Removed.
1668         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1669         (LongBuffer): Revised.
1670         (allocateDirect): Removed.
1671         (order): Removed.
1672         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1673         (ShortBuffer): Revised.
1674         (allocateDirect): Removed.
1675         (order): Removed.
1676         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1677         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1678         * Makefile.am
1679         (ordinary_java_source_files): Added the following files:
1680         gnu/java/nio/CharViewBufferImpl.java,
1681         gnu/java/nio/DoubleViewBufferImpl.java,
1682         gnu/java/nio/FloatViewBufferImpl.java,
1683         gnu/java/nio/IntViewBufferImpl.java,
1684         gnu/java/nio/LongViewBufferImpl.java,
1685         gnu/java/nio/ShortViewBufferImpl.java
1686         (nat_source_files): Removed the following files:
1687         gnu/java/nio/natByteBufferImpl.cc,
1688         gnu/java/nio/natCharBufferImpl.cc
1689         * Makefile.in: Regenerated.
1690
1691 2003-05-12  Michael Koch  <konqueror@gmx.de>
1692
1693         * gnu/java/nio/CharViewBufferImpl.java,
1694         gnu/java/nio/DirectByteBufferImpl.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         gnu/java/nio/natDirectByteBufferImpl.cc:
1701         New files, not yet to be compiled.
1702
1703 2003-05-10  Michael Koch  <konqueror@gmx.de>
1704
1705         * javax/swing/plaf/ButtonUI.java,
1706         javax/swing/plaf/ColorUIResource.java,
1707         javax/swing/plaf/ComponentUI.java,
1708         javax/swing/plaf/DimensionUIResource.java,
1709         javax/swing/plaf/FontUIResource.java,
1710         javax/swing/plaf/IconUIResource.java,
1711         javax/swing/plaf/InsetsUIResource.java,
1712         javax/swing/plaf/LabelUI.java,
1713         javax/swing/plaf/ListUI.java,
1714         javax/swing/plaf/OptionPaneUI.java,
1715         javax/swing/plaf/PanelUI.java,
1716         javax/swing/plaf/TabbedPaneUI.java,
1717         javax/swing/plaf/TextUI.java,
1718         javax/swing/plaf/TreeUI.java,
1719         javax/swing/plaf/ViewportUI.java,
1720         javax/swing/plaf/basic/BasicBorders.java,
1721         javax/swing/plaf/basic/BasicButtonUI.java,
1722         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1723         javax/swing/plaf/basic/BasicDefaults.java,
1724         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1725         javax/swing/plaf/basic/BasicIconFactory.java,
1726         javax/swing/plaf/basic/BasicLabelUI.java,
1727         javax/swing/plaf/basic/BasicListUI.java,
1728         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1729         javax/swing/plaf/basic/BasicPanelUI.java,
1730         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1731         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1732         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1733         javax/swing/plaf/basic/BasicTextUI.java,
1734         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1735         javax/swing/plaf/basic/BasicTreeUI.java,
1736         javax/swing/plaf/basic/BasicViewportUI.java,
1737         javax/swing/plaf/metal/MetalLookAndFeel.java:
1738         New versions from classpath. This adds copyrights to all files and
1739         some serialVersionUIDs.
1740
1741 2003-05-10  Michael Koch  <konqueror@gmx.de>
1742
1743         * java/nio/CharBuffer.java
1744         (offset): Make it package-private.
1745         (backing_buffer): Likewise.
1746         * java/nio/DoubleBuffer.java
1747         (offset): Make it package-private.
1748         (backing_buffer): Likewise.
1749         (put): Reformatted.
1750         * java/nio/FloatBuffer.java
1751         (offset): Make it package-private.
1752         (backing_buffer): Likewise.
1753         * java/nio/IntBuffer.java
1754         (offset): Make it package-private.
1755         (backing_buffer): Likewise.
1756         * java/nio/LongBuffer.java
1757         (offset): Make it package-private.
1758         (backing_buffer): Likewise.
1759         * java/nio/ShortBuffer.java
1760         (offset): Make it package-private.
1761         (backing_buffer): Likewise.
1762
1763 2003-05-10  Michael Koch  <konqueror@gmx.de>
1764
1765         * java/nio/CharBuffer.java
1766         (put): Fixed precondtion check.
1767         (toString): Make it work without backing array.
1768         (put): Skip one level of method calling.
1769
1770 2003-05-10  Michael Koch  <konqueror@gmx.de>
1771
1772         * java/security/Identity.java,
1773         java/security/IdentityScope.java,
1774         java/security/Key.java,
1775         java/security/KeyPair.java,
1776         java/security/PrivateKey.java,
1777         java/security/Provider.java,
1778         java/security/PublicKey.java,
1779         java/security/SecureRandom.java,
1780         java/security/SecureRandomSpi.java,
1781         java/security/SignedObject.java,
1782         java/security/Signer.java,
1783         java/security/cert/Certificate.java,
1784         java/security/cert/PKIXCertPathBuilderResult.java,
1785         java/security/cert/X509Certificate.java:
1786         New versions from classpath.
1787
1788 2003-05-09  Tom Tromey  <tromey@redhat.com>
1789
1790         * Makefile.in: Rebuilt.
1791         * Makefile.am (nat_source_files): Removed old files.
1792         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1793         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1794         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1795         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1796         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1797
1798 2003-05-09  Michael Koch  <konqueror@gmx.de>
1799
1800         * gnu/java/nio/ByteBufferImpl.java
1801         (nio_cast): Removed.
1802         (ByteBufferImpl): Removed.
1803         (nio_get_Byte): Removed.
1804         (nio_put_Byte): Removed.
1805         (asByteBuffer): Removed.
1806         (asCharBuffer): Removed implementation and throw exception.
1807         (asShortBuffer): Likewise.
1808         (asIntBuffer): Likewise.
1809         (asLongBuffer): Likewise.
1810         (asFloatBuffer): Likewise.
1811         (asDoubleBuffer): Likewise.
1812         * gnu/java/nio/CharBufferImpl.java
1813         (CharBufferImpl): Removed.
1814         (nio_get_Byte): Removed.
1815         (nio_put_Byte): Removed.
1816         (asByteBuffer): Removed.
1817         * gnu/java/nio/DoubleBufferImpl.java
1818         (DoubleBufferImpl): Removed.
1819         (nio_get_Byte): Removed.
1820         (nio_put_Byte): Removed.
1821         (asByteBuffer): Removed.
1822         * gnu/java/nio/FloatBufferImpl.java
1823         (FloatBufferImpl): Removed.
1824         (nio_get_Byte): Removed.
1825         (nio_put_Byte): Removed.
1826         (asByteBuffer): Removed.
1827         * gnu/java/nio/IntBufferImpl.java
1828         (IntBufferImpl): Removed.
1829         (nio_get_Byte): Removed.
1830         (nio_put_Byte): Removed.
1831         (asByteBuffer): Removed.
1832         * gnu/java/nio/LongBufferImpl.java
1833         (LongBufferImpl): Removed.
1834         (nio_get_Byte): Removed.
1835         (nio_put_Byte): Removed.
1836         (asByteBuffer): Removed.
1837         * gnu/java/nio/ShortBufferImpl.java
1838         (ShortBufferImpl): Removed.
1839         (nio_get_Byte): Removed.
1840         (nio_put_Byte): Removed.
1841         (asByteBuffer): Removed.
1842         * gnu/java/nio/natByteBufferImpl.cc
1843         (nio_cast): Removed.
1844         (nio_get_Byte): Removed.
1845         (nio_put_Byte): Removed.
1846         * gnu/java/nio/natCharBufferImpl.cc
1847         (nio_get_Byte): Removed.
1848         (nio_put_Byte): Removed.
1849
1850 2003-05-09  Michael Koch  <konqueror@gmx.de>
1851
1852         * java/net/JarURLConnection.java
1853         (getJarEntry): Merged documentation from classpath.
1854         (getJarFile): Likewise.
1855         (getMainAttributes): Likewise.
1856         (getAttributes): Likewise.
1857         (getManifest): Likewise.
1858         (getCertificates): Reformatted.
1859         * java/net/URLConnection.java:
1860         Little classpath merge.
1861
1862 2003-05-09  Michael Koch  <konqueror@gmx.de>
1863
1864         * java/io/DataOutputStream.java
1865         (writeShort): Made it synchronized.
1866         (writeChar): Likewise.
1867         (writeInt): Likewise.
1868         (writeLong): Liekwise.
1869         (writeUTF): Made it synchronized, renamed argument to match classpath.
1870         * java/io/InputStreamReader.java
1871         (converter): Added documentation.
1872         (read): Merged documentation from classpath.
1873         * java/io/OutputStreamWriter.java
1874         (OutputStreamWriter): Merged documentation from classpath.
1875         (close): Reformatted.
1876         (getEncoding): Likewise.
1877         (flush): Likewise.
1878         (write): Merged documentation from classpath, reformatted.
1879
1880 2003-05-08  Tom Tromey  <tromey@redhat.com>
1881
1882         * configure.host <powerpc64*-*>: Set with_libffi_default and
1883         libgcj_interpreter to "yes".
1884
1885 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1886
1887         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1888         
1889 2003-05-06  Tom Tromey  <tromey@redhat.com>
1890
1891         * verify.cc: Reverted previous patch.
1892
1893 2003-05-06  Michael Koch  <konqueror@gmx.de>
1894
1895         * java/io/DataOutputStream.java
1896         (write): Renamed argument to "value", merged documentation from
1897         classpath.
1898         (writeBoolean): Likewise.
1899         (writeByte): Likewise.
1900         (writeShort): Likewise.
1901         (writeChar): Likewise.
1902         (writeInt): Likewise.
1903         (writeLong): Likewise.
1904         (writeFloat): Likewise.
1905         (writeDouble): Likewise.
1906         (writeBytes): Likewise.
1907         (writeChars): Likewise.
1908         (writeUTF): Likewise.
1909         * java/io/File.java
1910         (performDelete): Added documentation.
1911         (performList): Likewise.
1912         (performMkdir): Likewise.
1913         (performSetReadOnly): Likewise.
1914         (performRenameTo): Likewise.
1915         (performSetLastModified): Likewise.
1916         (delete): Made it sychronized.
1917         (renameTo): Made it sychronized.
1918         (equals): Reformatted.
1919         (isHidden): Likewise.
1920         (listFiles): Likewise.
1921         (setReadOnly): Likewise.
1922         (listRoots): Likewise.
1923         (setLastModified): Likewise.
1924         (checkRead): Likewise.
1925         (checkWrite): Likewise.
1926         * java/io/FileInputStream.java
1927         (skip): Made it sychronized, merged from classpath.
1928         * java/io/FileOutputStream.java
1929         (write): Merged from classpath.
1930         * java/io/InputStreamReader.java:
1931         (InputStreamReader): Merged documentation from classpath.
1932
1933 2003-05-05  Michael Koch  <konqueror@gmx.de>
1934
1935         * java/net/NetworkInterface.java
1936         (networkInterfaces): Removed.
1937         (getByName): Use getRealNetworkInterfaces() instead of
1938         networkInterfaces.
1939         (getByInetAddress): Likewise.
1940         (getNetworkInterfaces): Likewise.
1941         (toString): Fix output of addresses of an interface.
1942
1943 2003-05-05  Michael Koch  <konqueror@gmx.de>
1944
1945         * java/io/DataInputStream.java:
1946         Merged new documentation from classpath.
1947
1948 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1949
1950         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1951         "version".
1952         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1953         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1954         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1955         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1956         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1957         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1958         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1959         * java/security/Key.java: Likewise.
1960         * java/security/PrivateKey.java: Likewise.
1961         * java/security/Provider.java: Likewise.
1962         * java/security/PublicKey.java: Likewise.
1963
1964 2003-05-02  Michael Koch  <konqueror@gmx.de>
1965
1966         * java/net/URI.java
1967         (create): Doesnt throws any exceptions.
1968         * java/net/URLConnection.java
1969         (URLConnection): Commend added.
1970         (getExpiration): The header field is called "expires" not
1971         "expiration".
1972         (getHeaderField): Merged documentation with classpath.
1973         (getHeaderFieldInt): Likewise.
1974         (getHeaderFieldDate): Likewise.
1975         (getHeaderFieldKey): Likewise.
1976         (getPermission): Likewise.
1977         (setDefaultUseCaches): Likewise.
1978         (setRequestProperty): Likewise.
1979         (addRequestProperty): Likewise.
1980         (getRequestProperty): Likewise.
1981         (getRequestProperties): Likewise.
1982         (setDefaultRequestProperty): Likewise.
1983         (getDefaultRequestProperty): Likewise.
1984         (guessContentTypeFromStream): Likewise.
1985         (getFileNameMap): Likewise.
1986         (setFileNameMap): Likewise.
1987         (setDoInput): Merged implementation and documentation with classpath.
1988         (setDoOutput): Likewise.
1989         (setAllowUserInteraction): Likewise.
1990         (setDefaultAllowUserInteraction): Likewise.
1991         (setContentHandlerFactory): Made it synchronized, merged documentation
1992         with classpath.
1993         (guessContentTypeFromName): Renamed argument fname to filename to
1994         match classpath, merged documentation with classpath.
1995
1996 2003-05-02  Michael Koch  <konqueror@gmx.de>
1997
1998         * java/net/JarURLConnection.java
1999         (JarURLConnection): Class documentation merged with classpath.
2000         (getJarFileURL): Moved and documentation merged with classpath.
2001         (getEntryName): Likewise.
2002         (JarURLConnection): Documentation merged with classpath.
2003         (getJarEntry): Likewise.
2004         (getJarFile): Likewise.
2005         * java/net/PlainDatagramSocketImpl.java:
2006         Class documentation moved.
2007         * java/net/URLConnection.java
2008         (fileNameMap): Moved and documentation merged with classpath.
2009         (factory): Likewise.
2010         (defaultAllowUserInteraction): Likewis.
2011         (defaultUseCaches): Likewise.
2012         (allowUserInteraction): Likewise.
2013         (connected): Likewise.
2014         (url): Likewise.
2015         (connect): Documentation merged with classpath.
2016         (getURL): Likewise.
2017         (getContentLength): Likewise.
2018         (getContentType): Likewise.
2019         (getContentEncoding): Likewise.
2020         (getExpiration): Likewise.
2021         (getDate): Likewise.
2022         (getLastModified): Likewise.
2023         (getHeaderField): Likewise.
2024         (getContent): Likewise.
2025         (getPermission): Likewise.
2026         (getInputStream): Likewise.
2027         (getOutputStream): Likewise.
2028         (toString): Likewise.
2029         (getDoInput): Likewise.
2030         (getDoOutput): Likewise.
2031         (setAllowUserInteraction): Likewise.
2032         (getAllowUserInteraction): Likewise.
2033         (setDefaultAllowUserInteraction): Likewise.
2034         (getDefaultAllowUserInteraction): Likewise.
2035         (setUseCaches): Likewise.
2036         (getUseCaches): Likewise.
2037         (setIfModifiedSince): Likewise.
2038         (getIfModifiedSince): Likewise.
2039         (setDefaultRequestProperty): Likewise.
2040         (getDefaultRequestProperty): Likewise.
2041         (setContentHandlerFactory): Likewise.
2042         (setFileNameMap): Likewise.
2043
2044 2003-05-02  Michael Koch  <konqueror@gmx.de>
2045
2046         * java/net/InetAddress.java:
2047         Merged class documentation with classpath.
2048         * java/net/JarURLConnection.java:
2049         Explicitely import all used classes.
2050         * java/net/URL.java:
2051         Reformatting.
2052         * java/net/ServerSocket.java,
2053         java/net/Socket.java:
2054         New versions from classpath.
2055
2056 2003-05-02  Michael Koch  <konqueror@gmx.de>
2057
2058         * gnu/java/nio/FileChannelImpl.java
2059         (read): New implementation.
2060         (implRead): New methods.
2061         (write): New implementation, call other write insteal of read method.
2062         (implWrite): New methods.
2063         (map): Added comment.
2064         (transferFrom): Implemented.
2065         (transferTo): Implemented.
2066         (lock): Added checks to throw exceptions.
2067         (truncate): Added check to throw exception.
2068         * gnu/java/nio/natFileChannelImpl.cc
2069         (implRead): New method.
2070         (implWrite): New method.
2071         * java/nio/ByteBuffer.java
2072         (hashCode): Fixed comment.
2073         (get): Fixed exception documentation.
2074         (put): Fixed exception documentation.
2075         * java/nio/CharBuffer.java:
2076         Added comment for later optimizations.
2077
2078 2003-04-30  Tom Tromey  <tromey@redhat.com>
2079
2080         PR libgcj/10582:
2081         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2082         Removed.
2083         (type::compatible): Use _Jv_IsAssignableFrom.
2084         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2085         (_Jv_IsAssignableFrom): Work even when source or target class is
2086         not prepared.
2087
2088 2003-04-30  Michael Koch  <konqueror@gmx.de>
2089
2090         * java/text/BreakIterator.java
2091         (clone): New method.
2092
2093 2003-04-30  Michael Koch  <konqueror@gmx.de>
2094
2095         * java/text/CollationElementIterator.java,
2096         java/text/CollationKey.java,
2097         java/text/RuleBasedCollator.java:
2098         Merged copyright and documentation from classpath and
2099         rearranged some code. No code changes done.
2100
2101 2003-04-30  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/util/regex/Matcher.java
2104         (pattern): New member variable.
2105         (appendReplacement): New method.
2106         (appendTail): New method.
2107         (end): New method.
2108         (find): New method.
2109         (group): New method.
2110         (replaceFirst): Added documentation.
2111         (replaceAll): Added documentation.
2112         (groupCount): New method.
2113         (lookingAt): New method.
2114         (matches): New method.
2115         (reset): New method.
2116         (start): New method.
2117         * java/util/regex/Pattern.java
2118         (serialVersionUID): New constant.
2119         (CANON_EQ): New constant.
2120         (CASE_INSENSITIVE): New constant.
2121         (COMMENTS): New constant.
2122         (DOTALL): New constant.
2123         (MULTILINE): New constant.
2124         (UNICODE_CASE): New constant.
2125         (UNIX_LINES): New constant.
2126         (regex): New member variable.
2127         (flags): New member variable.
2128         (Pattern): New method.
2129         (compile): Documentation added.
2130         (flags): New method.
2131         (matches): Documentation added.
2132         (matcher): Documentation added.
2133         (split): Documentation added.
2134         (pattern): New method.
2135
2136 2003-04-30  Michael Koch  <konqueror@gmx.de>
2137
2138         * gnu/java/security/Engine.java,
2139         gnu/java/security/OID.java,
2140         gnu/java/security/der/BitString.java,
2141         gnu/java/security/der/DER.java,
2142         gnu/java/security/der/DERReader.java,
2143         gnu/java/security/der/DERValue.java,
2144         gnu/java/security/der/DERWriter.java,
2145         gnu/java/security/provider/DSAKeyFactory.java,
2146         gnu/java/security/provider/X509CertificateFactory.java,
2147         gnu/java/security/x509/X500DistinguishedName.java,
2148         gnu/java/security/x509/X509CRL.java,
2149         gnu/java/security/x509/X509CRLEntry.java,
2150         gnu/java/security/x509/X509Certificate.java,
2151         java/security/cert/CRLSelector.java,
2152         java/security/cert/CertPathBuilder.java,
2153         java/security/cert/CertPathBuilderResult.java,
2154         java/security/cert/CertPathBuilderSpi.java,
2155         java/security/cert/CertPathParameters.java,
2156         java/security/cert/CertPathValidator.java,
2157         java/security/cert/CertPathValidatorResult.java,
2158         java/security/cert/CertPathValidatorSpi.java,
2159         java/security/cert/CertSelector.java,
2160         java/security/cert/CertStore.java,
2161         java/security/cert/CertStoreParameters.java,
2162         java/security/cert/CertStoreSpi.java,
2163         java/security/cert/CollectionCertStoreParameters.java,
2164         java/security/cert/LDAPCertStoreParameters.java,
2165         java/security/cert/PKIXBuilderParameters.java,
2166         java/security/cert/PKIXCertPathBuilderResult.java,
2167         java/security/cert/PKIXCertPathChecker.java,
2168         java/security/cert/PKIXCertPathValidatorResult.java,
2169         java/security/cert/PKIXParameters.java,
2170         java/security/cert/PolicyNode.java,
2171         java/security/cert/PolicyQualifierInfo.java,
2172         java/security/cert/TrustAnchor.java,
2173         javax/security/auth/x500/X500Principal.java:
2174         New files from classpath.
2175         * gnu/java/io/ASN1ParsingException.java,
2176         gnu/java/io/Base64InputStream.java,
2177         gnu/java/security/der/DEREncodingException.java,
2178         gnu/java/security/provider/DSAParameters.java,
2179         gnu/java/security/provider/DSASignature.java,
2180         gnu/java/security/provider/Gnu.java,
2181         gnu/java/security/provider/GnuDSAPrivateKey.java,
2182         gnu/java/security/provider/GnuDSAPublicKey.java,
2183         java/security/AlgorithmParameterGenerator.java,
2184         java/security/AlgorithmParameters.java,
2185         java/security/KeyFactory.java,
2186         java/security/KeyPairGenerator.java,
2187         java/security/KeyStore.java,
2188         java/security/MessageDigest.java,
2189         java/security/SecureClassLoader.java,
2190         java/security/SecureRandom.java,
2191         java/security/Security.java,
2192         java/security/Signature.java,
2193         java/security/cert/Certificate.java,
2194         java/security/cert/CertificateFactory.java,
2195         java/security/cert/CertificateFactorySpi.java,
2196         java/security/cert/X509CRL.java,
2197         java/security/cert/X509Certificate.java,
2198         java/security/spec/DSAPublicKeySpec.java:
2199         New versions from classpath.
2200         * gnu/java/security/provider/DERReader.java,
2201         gnu/java/security/provider/DERWriter.java,
2202         java/security/Engine.java: Removed.
2203         * Makefile.am
2204         (java_source_files, javax_source_files): Added new files.
2205         * Makefile.in: Regenerated.
2206
2207 2003-04-29  Michael Koch  <konqueror@gmx.de>
2208
2209         * javax/swing/JTable.java
2210         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2211         (AUTO_RESIZE_LAST_COLUMN): New constant.
2212         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2213         (AUTO_RESIZE_OFF): New constant.
2214         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2215         (JTable): New method.
2216         (columnAdded): New method.
2217         (columnMarginChanged): New method.
2218         (columnMoved): New method.
2219         (columnRemoved): New method.
2220         (columnSelectionChanged): New method.
2221         (editingCanceled): New method.
2222         (editingStopped): New method.
2223         (getColumnModel): New method.
2224         (getPreferredScrollableViewportSize): New method.
2225         (getScrollableBlockIncrement): New method.
2226         (getScrollableTracksViewportHeight): New method.
2227         (getScrollableTracksViewportWidth): New method.
2228         (getScrollableUnitIncrement): New method.
2229         (getSelectedRow): New method.
2230         (getSelectionModel): New method.
2231         (tableChanged): New method.
2232         (setModel): New method.
2233         (setSelectionMode): New method.
2234         (setSelectionModel): New method.
2235         (setShowGrid): New method.
2236         (valueChanged): New method.
2237         * javax/swing/text/DefaultEditorKit.java
2238         (backwardAction): New constant.
2239         (beepAction): New constant.
2240         (beginAction): New constant.
2241         (beginLineAction): New constant.
2242         (beginParagraphAction): New constant.
2243         (beginWordAction): New constant.
2244         (copyAction): New constant.
2245         (cutAction): New constant.
2246         (defaultKeyTypedAction): New constant.
2247         (deleteNextCharAction): New constant.
2248         (deletePrevCharAction): New constant.
2249         (downAction): New constant.
2250         (endAction): New constant.
2251         (endLineAction): New constant.
2252         (endOfLineStringProperty): New constant.
2253         (endParagraphAction): New constant.
2254         (endWordAction): New constant.
2255         (forwardAction): New constant.
2256         (insertBreakAction): New constant.
2257         (insertContentAction): New constant.
2258         (insertTabAction): New constant.
2259         (nextWordAction): New constant.
2260         (pageDownAction): New constant.
2261         (pageUpAction): New constant.
2262         (pasteAction): New constant.
2263         (previousWordAction): New constant.
2264         (readOnlyAction): New constant.
2265         (selectAllAction): New constant.
2266         (selectionBackwardAction): New constant.
2267         (selectionBeginAction): New constant.
2268         (selectionBeginLineAction): New constant.
2269         (selectionBeginParagraphAction): New constant.
2270         (selectionBeginWordAction): New constant.
2271         (selectionDownAction): New constant.
2272         (selectionEndAction): New constant.
2273         (selectionEndLineAction): New constant.
2274         (selectionEndParagraphAction): New constant.
2275         (selectionEndWordAction): New constant.
2276         (selectionForwardAction): New constant.
2277         (selectionNextWordAction): New constant.
2278         (selectionPreviousWordAction): New constant.
2279         (selectionUpAction): New constant.
2280         (selectLineAction): New constant.
2281         (selectParagraphAction): New constant.
2282         (selectWordAction): New constant.
2283         (upAction): New constant.
2284         (writableAction): New constant.
2285
2286 2003-04-29  Michael Koch  <konqueror@gmx.de>
2287
2288         * java/util/PropertyPermission.java:
2289         New version from classpath
2290         * java/util/ResourceBundle.java:
2291         Partly merged from classpath
2292         (getObject): Reformated.
2293         (tryBundle): Set foundBundle = null if no bundle found.
2294
2295 2003-04-29  Michael Koch  <konqueror@gmx.de>
2296
2297         * javax/swing/AbstractListModel.java,
2298         javax/swing/DefaultBoundedRangeModel.java,
2299         javax/swing/DefaultSingleSelectionModel.java:
2300         New Versions from classpath.
2301
2302 2003-04-29  Michael Koch  <konqueror@gmx.de>
2303
2304         * java/awt/Window.java
2305         (show): Call super.show() instead of setVisible() to avoid endless
2306         loop.
2307         (hide): Call super.hide() instead of setVisible() to avoid endless
2308         loop.
2309
2310 2003-04-29  Michael Koch  <konqueror@gmx.de>
2311
2312         * java/util/zip/Deflater.java,
2313         java/util/zip/DeflaterOutputStream.java:
2314         Partly merged with classpath.
2315
2316 2003-04-27  Tom Tromey  <tromey@redhat.com>
2317
2318         * java/lang/natString.cc (_Jv_AllocString): Initialize
2319         cachedHashCode.
2320         (init): Likewise.
2321         (_Jv_NewStringUtf8Const): Likewise.
2322
2323 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2324
2325         * include/jvm.h: (_Jv_GetNbArgs) added
2326         (_Jv_GetSafeArg) added
2327         (_Jv_SetArgs) added
2328         * prims.cc: (_Jv_GetNbArgs) implemented
2329         (_Jv_GetSafeArg) implemented
2330         (_Jv_SetArgs) implemented
2331         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2332         setting _Jv_argc and _Jv_argv
2333         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2334         instead of _Jv_argv
2335         * java/lang/natRuntime.cc: (insertSystemProperties) use
2336         _Jv_GetSafeArg() instead of _Jv_argv
2337
2338 2003-04-23  Tom Tromey  <tromey@redhat.com>
2339
2340         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2341         required by this object.  Search superclasses to find required
2342         alignment.
2343         (get_alignment_from_class): Use alignment of type as it appears
2344         in a struct.
2345         (ALIGNOF): New macro.
2346         (struct aligner): New helper structure.
2347
2348 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2349
2350         * java/awt/Container.java (addImpl): Enable paint events if adding
2351         a lightweight to a heavyweight.
2352         (addNotify): Ensure that peer is created before
2353         addNotifyContainerChildren.
2354         (addNotifyContainerChildren): Enable paint events if a heavyweight
2355         container contains a lightweight.
2356
2357 2003-04-20  Tom Tromey  <tromey@redhat.com>
2358
2359         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2360         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2361         Classpath.
2362
2363 2003-04-19  Tom Tromey  <tromey@redhat.com>
2364
2365         * java/sql/Date.java, java/sql/DriverManager.java,
2366         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2367         Classpath.
2368
2369         * Makefile.in: Rebuilt.
2370         * Makefile.am (ordinary_java_source_files): Added new files.
2371         * java/security/AlgorithmParameterGenerator.java,
2372         java/security/AlgorithmParameters.java, java/security/Engine.java,
2373         java/security/Identity.java, java/security/IdentityScope.java,
2374         java/security/KeyFactory.java,
2375         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2376         java/security/MessageDigest.java, java/security/Policy.java,
2377         java/security/ProtectionDomain.java,
2378         java/security/SecureRandom.java, java/security/Security.java,
2379         java/security/Signature.java, java/security/SignatureSpi.java,
2380         java/security/SignedObject.java, java/security/Signer.java,
2381         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2382         java/security/spec/PSSParameterSpec.java,
2383         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2384         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2385         Classpath.
2386
2387 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2388
2389         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2390         (dispose): Null metrics.
2391         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2392         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2393         finalize.
2394         (finalize): Call dispose.
2395         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2396         (gcCachedCount): New field.
2397         (finalize): New method.
2398         (putGCInCache): New method.
2399         (getGCFromCache): New method.
2400         * gnu/gcj/xlib/GC.java (GC): Make protected.
2401         (clone): Get new GC from cache if possible.
2402         (create): New static method.
2403         (dispose): Save old GC in cache.
2404         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2405         deleting.
2406         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2407         is null.
2408         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2409         * java/awt/Container.java (visitChild): Dispose gfx2 when
2410         finished.
2411
2412 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2413
2414         * java/math/BigInteger.java (probablePrime): New.
2415         * java/math/BigDecimal.java (unscaledValue): New.
2416
2417 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2418
2419         * java/io/File.java (getAbsolutePath): On Windows, take care
2420         of paths like "C:", "G:foo\bar", etc.
2421         (getName): Make it work correctly on Windows.
2422         (getParent): Make it work correctly on Windows. For UNIX,
2423         fix bug that causes "/" to be returned as the parent of "/",
2424         instead of null as returned by Sun's JRE.
2425
2426         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2427
2428 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2429
2430         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2431         inner class.
2432         (CACHE_SIZE_PER_DISPLAY): New field
2433         (fontMetricsCache): New field
2434         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2435         loading ISO10646-1 fonts.
2436
2437 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2438
2439         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2440         characters.
2441         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2442         characters.
2443
2444 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2445
2446         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2447         floating point.
2448
2449 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2450
2451         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2452         installed libpthread is either linuxthreads with floating stacks or
2453         NPTL.
2454
2455 2003-04-14  Tom Tromey  <tromey@redhat.com>
2456
2457         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2458         of alignment.
2459
2460 2003-04-10  Tom Tromey  <tromey@redhat.com>
2461
2462         * verify.cc (pop64): Removed.
2463         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2464         exception if top-of-stack is narrow.
2465         (initialize_stack): Check to ensure that <init> is not static and
2466         <clinit> is.
2467
2468 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2469
2470         * java/io/ObjectStreamException
2471         * java/io/FileFilter
2472         * java/io/FilenameFilter
2473         * java/io/ObjectInput
2474         * java/io/ObjectOutput
2475         * java/io/ObjectStreamConstants
2476         Minor doc fixes, format fixes, spelling corrections, etc.
2477         * java/io/DataInput
2478         Corrected code samples in Javadocs to match reality
2479         * java/io/DataOutput
2480         * java/io/ObjectInputValidation
2481         Major documentation fixes - all Javadocs re-written or updated
2482
2483 2003-04-06  Michael Koch  <konqueror@gmx.de>
2484
2485         * java/net/URLConnection.java:
2486         Import classes directly.
2487         (URLConnection): Merged class documentation with classpath.
2488         (url): Moved, documentation from classpath added.
2489         (doInput): Moved, documentation from classpath added.
2490         (doOutput): Moved, documentation from classpath added.
2491         (allowUserInteraction): Moved.
2492         (useCaches): Moved, documentation from classpath added.
2493         (ifModifiedSince): Moved, documentation from classpath added.
2494         (connected): Moved, documentation from classpath added.
2495
2496 2003-04-06  Michael Koch  <konqueror@gmx.de>
2497
2498         * java/io/FileInputStream.java
2499         (skip): Renamed some variables to match classpath, added
2500         checks from classpath.
2501
2502 2003-03-31  Michael Koch  <konqueror@gmx.de>
2503
2504         * javax/swing/AbstractAction.java
2505         (AbstractAction): Reformatted.
2506         (serialVersionUID): New private member variable.
2507         * javax/swing/plaf/BorderUIResource.java
2508         (serialVersionUID): New private member variable.
2509         * javax/swing/plaf/basic/BasicLookAndFeel.java
2510         (serialVersionUID): New private member variable.
2511
2512 2003-03-31  Michael Koch  <konqueror@gmx.de>
2513
2514         * java/sql/Date.java
2515         (valueOf): Deprecated, reformatted.
2516         (toString): Deprecated, reformatted.
2517         * java/sql/Time.java
2518         (valueOf): Deprecated, reformatted.
2519         (toString): Deprecated, reformatted.
2520
2521 2003-03-31  Michael Koch  <konqueror@gmx.de>
2522
2523         * java/rmi/dgc/VMID.java
2524         (isUnique): Deprecated.
2525
2526 2003-03-31  Michael Koch  <konqueror@gmx.de>
2527
2528         * java/io/File.java
2529         (separator): Merged documentation from classpath.
2530         (separatorChar): Merged documentation from classpath.
2531         (pathSeparator): Merged documentation from classpath.
2532         (pathSeparatorChar): Merged documentation from classpath.
2533         (path): Merged documentation from classpath.
2534         (canRead): Merged documentation from classpath.
2535         (canWrite): Merged documentation from classpath.
2536         (createNewFile): Merged documentation from classpath.
2537         (delete): Merged documentation from classpath.
2538         (equals): Merged documentation from classpath.
2539         (exists): Merged documentation from classpath.
2540         (File): Renamed p to name to match classpath, merged documentation
2541         from classpath.
2542         (getAbsolutePath): Merged documentation from classpath.
2543         (getCanonicalPath): Merged documentation from classpath.
2544         (getCanonicalFile): Merged documentation from classpath.
2545         (getName): Merged documentation from classpath.
2546         (getParent): Merged documentation from classpath.
2547         (getParentFile): Merged documentation from classpath.
2548         (getPath): Merged documentation from classpath.
2549         (hashCode): Merged documentation from classpath.
2550         (isAbsolute): Merged documentation from classpath.
2551         (isDirectory): Merged documentation from classpath.
2552         (isFile): Merged documentation from classpath.
2553         (isHidden): Merged documentation from classpath.
2554         (lastModified): Merged documentation from classpath.
2555         (length): Merged documentation from classpath.
2556         (list): Merged documentation from classpath.
2557         (listFiles): Merged documentation from classpath.
2558         (toString): Merged documentation from classpath.
2559         (toURL): Merged documentation from classpath.
2560         (mkdir): Merged documentation from classpath.
2561         (mkdirs): Merged documentation from classpath.
2562         (createTempFile): Merged documentation from classpath.
2563         (setReadOnly): Merged documentation from classpath.
2564         (listRoots): Merged documentation from classpath.
2565         (compareTo): Merged documentation from classpath.
2566         (renameTo): Merged documentation from classpath.
2567         (setLastModified): Merged documentation from classpath.
2568         * java/io/PrintStream.java
2569         (auto_flush): Merged documentation from classpath.
2570         (PrintStream): Merged documentation from classpath.
2571         (checkError): Merged documentation from classpath.
2572         (setError): Merged documentation from classpath.
2573         (close): Merged documentation from classpath.
2574         (flush): Merged documentation from classpath.
2575         (print): Merged documentation from classpath.
2576         (println):  Merged documentation from classpath.
2577         (write): Renamed count to len to match classpath,
2578         merged documentation from classpath.
2579         * java/io/RandomAccessFile.java
2580         (readShort): Merged documentation from classpath.
2581         (readUnsignedByte): Merged documentation from classpath.
2582         (readUnsignedShort): Merged documentation from classpath.
2583         (readUTF): Merged documentation from classpath.
2584         (seek): Reformatted, merged documentation from classpath.
2585         (skipBytes): Renamed some variables to match classpath, reformatted,
2586         merged documentation from classpath.
2587         (write): Merged documentation from classpath.
2588         (writeBoolean): Merged documentation from classpath.
2589         (writeByte): Merged documentation from classpath.
2590         (writeShort): Merged documentation from classpath.
2591         (writeChar): Merged documentation from classpath.
2592         (writeInt): Merged documentation from classpath.
2593         (writeLong): Merged documentation from classpath.
2594         (writeFloat): Merged documentation from classpath.
2595         (writeDouble): Merged documentation from classpath.
2596         (writeBytes): Merged documentation from classpath.
2597         (writeChars): Merged documentation from classpath.
2598         (writeUTF): Reformatted.
2599         (getChannel): Reformatted.
2600
2601 2003-03-31  Michael Koch  <konqueror@gmx.de>
2602
2603         * java/awt/font/TextAttribute.java
2604         (readResolve): Throws java.io.InvalidObjectException.
2605
2606 2003-03-31  Michael Koch  <konqueror@gmx.de>
2607
2608         * java/rmi/server/LoaderHandler.java
2609         (loadClass): Deprecated.
2610         (getSecurityContext): Deprecated.
2611         * java/rmi/server/LogStream.java
2612         (getDefaultStream): Deprecated.
2613         (setDefaultStream): Deprecated.
2614         (getOutputStream): Deprecated.
2615         (setOutputStream): Deprecated.
2616         (write): Deprecated.
2617         (toString): Deprecated.
2618         (parseLevel): Deprecated.
2619         * java/rmi/server/Operation.java
2620         (Operation): Deprecated.
2621         (getOperation): Deprecated.
2622         (toString): Deprecated.
2623         * java/rmi/server/RemoteCall.java
2624         (getOutputStream): Deprecated.
2625         (releaseOutputStream): Deprecated.
2626         (getInputStream): Deprecated.
2627         (releaseInputStream): Deprecated.
2628         (getResultStream): Deprecated.
2629         (executeCall): Deprecated.
2630         (done): Deprecated.
2631         * java/rmi/server/RemoteRef.java
2632         (invoke): Deprecated.
2633         (newCall): Deprecated.
2634         (done): Deprecated.
2635         * java/rmi/server/RemoteStub.java
2636         (setRef): Deprecated.
2637         * java/rmi/server/Skeleton.java:
2638         No need to import java.lang.Exception explicitly.
2639         (dispatch): Deprecated.
2640         (getOperations): Deprecated.
2641
2642 2003-03-31  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/rmi/dgc/VMID.java,
2645         java/rmi/registry/RegistryHandler.java,
2646         java/rmi/server/LogStream.java,
2647         java/rmi/server/Operation.java,
2648         java/rmi/server/RemoteCall.java,
2649         java/rmi/server/RemoteRef.java,
2650         java/rmi/server/RemoteStub.java:
2651         Reformatted.
2652
2653 2003-03-31  Michael Koch  <konqueror@gmx.de>
2654
2655         * javax/swing/AbstractCellEditor.java,
2656         javax/swing/AbstractListModel.java,
2657         javax/swing/ActionMap.java,
2658         javax/swing/BorderFactory.java,
2659         javax/swing/ButtonGroup.java,
2660         javax/swing/DefaultBoundedRangeModel.java,
2661         javax/swing/DefaultButtonModel.java,
2662         javax/swing/DefaultCellEditor.java,
2663         javax/swing/DefaultComboBoxModel.java,
2664         javax/swing/DefaultDesktopManager.java,
2665         javax/swing/DefaultListCellRenderer.java,
2666         javax/swing/DefaultSingleSelectionModel.java,
2667         javax/swing/InputMap.java,
2668         javax/swing/JComponent.java,
2669         javax/swing/JMenu.java,
2670         javax/swing/JSlider.java,
2671         javax/swing/KeyStroke.java,
2672         javax/swing/OverlayLayout.java,
2673         javax/swing/ScrollPaneLayout.java,
2674         javax/swing/SizeRequirements.java,
2675         javax/swing/UIManager.java,
2676         javax/swing/ViewportLayout.java,
2677         javax/swing/border/AbstractBorder.java,
2678         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2679         javax/swing/event/EventListenerList.java,
2680         javax/swing/table/AbstractTableModel.java,
2681         javax/swing/table/DefaultTableCellRenderer.java,
2682         javax/swing/table/DefaultTableColumnModel.java,
2683         javax/swing/table/DefaultTableModel.java,
2684         javax/swing/table/TableColumn.java,
2685         javax/swing/text/StyledEditorKit.java,
2686         javax/swing/tree/DefaultMutableTreeNode.java,
2687         javax/swing/tree/DefaultTreeModel.java,
2688         javax/swing/tree/DefaultTreeSelectionModel.java,
2689         javax/swing/tree/TreePath.java,
2690         javax/swing/undo/AbstractUndoableEdit.java,
2691         javax/swing/undo/StateEdit.java,
2692         javax/swing/undo/StateEditable.java,
2693         javax/swing/undo/UndoableEditSupport.java:
2694         Merges from classpath.
2695
2696 2003-03-30  Tom Tromey  <tromey@redhat.com>
2697
2698         * java/lang/String.java (data, boffset, count): Documented.
2699         (String(byte[],String)): Reformatted.
2700         (String(byte[])): Likewise.
2701         (lastIndexOf(int)): Likewise.
2702         (lastIndexOf(String)): Likewise.
2703         (substring(int)): Renamed argument to match Classpath.
2704         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2705
2706         * java/lang/String.java: Miscellaneous minor formatting changes
2707         to match Classpath more closely.
2708
2709 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2710             Tom Tromey  <tromey@redhat.com>
2711
2712         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2713         (init()): Removed.
2714         (charAt): Put index in exception.
2715         (contentEquals): New method.
2716         Include StringBuffer.h.
2717         * java/lang/String.java (cachedHashCode): New field.
2718         (String()): Follow classpath implementation.
2719         (init()): Removed.
2720         (contentEquals): Declare.
2721         (subSequence): Don't declare IndexOutIfBoundsException in throws
2722         clause.
2723         (matches, replaceFirst, replaceAll, split): New methods from
2724         Classpath.
2725
2726 2003-03-29  Tom Tromey  <tromey@redhat.com>
2727
2728         * java/lang/String.java: Reordered to follow Classpath; merged in
2729         javadoc.
2730
2731         * java/text/MessageFormat.java: Removed some whitespace.
2732
2733         * Makefile.in: Rebuilt.
2734         * Makefile.am (awt_java_source_files): Added new files.
2735         * gnu/javax/rmi/PortableServer.java,
2736         gnu/javax/rmi/CORBA/DelegateFactory.java,
2737         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2738         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2739         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2740         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2741         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2742         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2743         javax/rmi/PortableRemoteObject.java,
2744         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2745         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2746         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2747         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2748         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2749         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2750
2751         * java/lang/natClass.cc (newInstance): Put method name in
2752         exception.
2753         (getConstructor): Likewise.
2754         (getDeclaredConstructor): Likewise.
2755         (getPrivateMethod): Likewise.
2756
2757 2003-03-28  Tom Tromey  <tromey@redhat.com>
2758
2759         * java/lang/reflect/Proxy.java: New version from Classpath.
2760         * java/lang/Package.java: New version from Classpath.
2761
2762 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2763
2764         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2765         * configure: Regenerate.
2766
2767 2003-03-28  Michael Koch  <konqueror@gmx.de>
2768
2769         * java/io/File.java:
2770         Import needed classes instead of whole packages, merged class
2771         documentation with classpath, moved constants and variables to top of
2772         class.
2773         * java/io/PrintStream.java:
2774         Merged class documentation with classpath, moved constants and
2775         variables to top of class.
2776         * java/io/RandomAccessFile.java
2777         (RandomAccessFile): Merged with classpath.
2778         (read): Merged with classpath).
2779         (read*): Reformatted.
2780
2781 2003-03-28  Michael Koch  <konqueror@gmx.de>
2782
2783         * java/io/FileDescriptor.java
2784         (finalize): Throws Throwable, not IOException.
2785         * java/io/ObjectOutputStream.java
2786         (PutField.put): Doesnt throws anything.
2787
2788 2003­03-28  Michael Koch  <konqueror@gmx.de>
2789
2790         * java/io/FileOutputStream.java:
2791         Merged class documentation and authors with classpath.
2792         (FileOutputStream): Partly merged with classpath.
2793         (write): Merged with classpath.
2794         (getChannel): Make it synchronized instead of explicit block in this
2795         method.
2796         * java/io/RandomAccessFile.java:
2797         Merged class documentation and authors with classpath.
2798
2799 2003-03-26  Tom Tromey  <tromey@redhat.com>
2800
2801         * java/lang/natRuntime.cc (insertSystemProperties): Set
2802         gnu.classpath.home.url.
2803         * Makefile.in: Rebuilt.
2804         * Makefile.am: Define LIBDIR.
2805
2806 2003-03-25  Michael Koch  <konqueror@gmx.de>
2807
2808         * java/io/FileInputStream.java
2809         (read): Renamed b to buf and off to offset.
2810         * java/io/FileOutputStream.java
2811         (ch): Documentation added.
2812         (FileOutputStream): Documentation added.
2813         (getFD): Documentation added.
2814         (write): Documentation added.
2815         (close): Documentation added.
2816         (getChannel): Documentation added.
2817
2818 2003-03-24  Michael Koch  <konqueror@gmx.de>
2819
2820         * java/io/DataOutputStream.java
2821         (write): Merged from classpath.
2822         * java/io/File.java:
2823         Merged copyrigth with classpath.
2824         * java/io/FileInputStream.java
2825         (getChannel): Made it synchronized instead of using a synchronized
2826         block.
2827         * java/io/FileOutputStream.java: Reformatted.
2828         * java/io/InputStreamReader.java
2829         (InputStreamReader): Renamed enc to encoding_name.
2830         (close): Merged documentation from classpath.
2831         (getEncoding): Merged documentation from classpath.
2832         (ready): Merged documentation from classpath.
2833         (read): Merged documentation from classpath.
2834         * java/io/LineNumberReader.java
2835         (lineNumber): Made it private.
2836         (LineNumberReader): Use Constant instead of a direct value.
2837         * java/io/OutputStreamWriter.java
2838         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2839         documentation from classpath.
2840         (close): Merged documentation from classpath.
2841         (flush): Merged documentation from classpath.
2842         (write): Merged documentation from classpath.
2843         * java/io/PrintStream.java: Reformatted.
2844
2845 2003-03-24  Michael Koch  <konqueror@gmx.de>
2846
2847         * javax/swing/text/ComponentView.java
2848         (getComponent): Must be final.
2849         * javax/swing/tree/DefaultTreeCellRenderer.java:
2850         Reformatted.
2851         * javax/swing/undo/StateEditable.java:
2852         Reformatted.
2853
2854 2003-03-24  Michael Koch  <konqueror@gmx.de>
2855
2856         * java/rmi/activation/ActivationInstantiator.java:
2857         Reformatted.
2858         * java/rmi/activation/Activator.java:
2859         Reformatted.
2860         * java/rmi/registry/RegistryHandler.java:
2861         Remerged from classpath.
2862
2863 2003-03-24  Michael Koch  <konqueror@gmx.de>
2864
2865         * java/util/Date.java:
2866         Fixed documentation starting tag to make javadoc happy.
2867         * java/util/regex/Pattern.java
2868         (Pattern): Implements Serializable.
2869         * java/util/PatternSyntaxException.java
2870         (serialVersionUID): New member variable.
2871
2872 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2873
2874         * java/awt/ContainerOrderFocusTraversalPolicy.java
2875         (getFirstComponent): Implemented.
2876         (getLastComponent): Implemented.
2877         (getDefaultComponent): Implemented.
2878         (setImplicitDownCycleTraversal): Fixed implementation.
2879         * java/awt/Robot.java
2880         (Robot): Added documentation.
2881         * java/awt/Toolkit.java
2882         (getFontList): Deprecated.
2883         (getFontMetrics): Deprecated.
2884         (getPrintJob): Added documentation.
2885         (getSystemSelection): Added documentation.
2886         (getLockingKeyState): Added documentation.
2887         (setLockingKeyState): Added documentation.
2888         (createCustomCursor): Added documentation.
2889         (getBestCursorSize): Added documentation.
2890         (getMaximumCursorColors): Added documentation.
2891         (isFrameStateSupported): Added documentation.
2892
2893 2003-03-24  Michael Koch  <konqueror@gmx.de>
2894
2895         * java/io/RandomAccessFile.java:
2896         More little merges with classpath. No code changes.
2897
2898 2003-03-24  Michael Koch  <konqueror@gmx.de>
2899
2900         * java/net/natInetAddressNoNet.cc:
2901         Include stddef.h.
2902         * java/net/natPlainDatagramSocketImplNoNet.cc:
2903         Fixed inlcude of java/net/DatagramPacket.h.
2904         * java/net/natPlainSocketImplNoNet.cc:
2905         Include some missing classes.
2906
2907 2003-03-24  Michael Koch  <konqueror@gmx.de>
2908
2909         * java/awt/dnd/DropTarget.java
2910         (DropTargetAutoScroller): According to the online documentation, this
2911         is protected, but in reality it is public.
2912         * java/awt/dnd/DropTargetContext.java
2913         (TransferableProxy): According to the online documentation, this
2914         is protected, but in reality it is public.
2915
2916 2003-03-24  Michael Koch  <konqueror@gmx.de>
2917
2918         * java/io/DataInputStream.java
2919         (): Wrapped documentation line.
2920         (): Fixed @return tag.
2921         * java/io/DataOutputStream.java
2922         (written): Moved to top of class.
2923         (all methods): Merged documentation from classpath.
2924         * java/io/File.java:
2925         Merged copyright year with classpath.
2926         * java/io/FileInputStream.java
2927         (all methods): Merged documentation from classpath.
2928         * java/io/LineNumberReader.java
2929         (getLineNumber): Fixed @return tag.
2930         * java/io/ObjectInputStream.java.
2931         Reformatted.
2932         * java/io/ObjectOutputStream.java:
2933         Reformatted, fixed some @see tags.
2934         * java/io/OutputStreamWriter.java:
2935         Deleted empty line.
2936         * java/io/Writer.java:
2937         Reformatted.
2938
2939 2003-03-24  Michael Koch  <konqueror@gmx.de>
2940
2941         * java/awt/Frame.java
2942         (DEFAULT_CURSOR): Fixed @deprecated tag.
2943         (setCursor): Fixed @deprecated tag.
2944
2945 2003-03-24  Michael Koch  <konqueror@gmx.de>
2946
2947         * java/beans/beancontext/BeanContextEvent.java:
2948         Reformated.
2949
2950 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2951
2952         * java/lang/natStringBuffer.cc (regionMatches): New function.
2953         * java/lang/String.java (count): Now package-private.
2954         * java/lang/StringBuffer.java: Merged with Classpath.
2955
2956 2003-03-23  Michael Koch  <konqueror@gmx.de>
2957
2958         * java/io/BufferedOutputStream.java:
2959         Reformated.
2960         * java/io/BufferedReader.java:
2961         Reformated.
2962         * java/io/ByteArrayOutputStream.java
2963         (size): Fixed @see tag.
2964         * java/io/CharArrayWriter.java
2965         (size): Fixed @see tag.
2966         * java/io/DataInput.java:
2967         Reformated.
2968         * java/io/DataOutput.java:
2969         Reformated.
2970         * java/io/DataOutputStream.java:
2971         Merged copyright years with classpath.
2972         * java/io/Externalizable.java:
2973         Reformated.
2974         * java/io/FileFilter.java:
2975         Reformated.
2976         * java/io/FileInputStream.java:
2977         Merged copyright years with classpath.
2978         * java/io/FileOutputStream.java:
2979         Merged copyright years with classpath.
2980         * java/io/FilePermission.java
2981         (FilePermission): Replaced @XXX with FIXME:.
2982         * java/io/FileWriter.java:
2983         Reformated.
2984         * java/io/FilenameFilter.java:
2985         Reformated.
2986         * java/io/FilterInputStream.java:
2987         Reformated.
2988         * java/io/FilterOutputStream.java:
2989         Reformated.
2990         * java/io/FilterReader.java:
2991         Reformated.
2992         * java/io/FilterWriter.java:
2993         Reformated.
2994         * java/io/LineNumberInputStream.java
2995         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2996         happy.
2997         (getLineNumber): Fixed @return tag.
2998         * java/io/ObjectInput.java:
2999         Reformated.
3000         * java/io/ObjectOutput.java:
3001         Reformated.
3002         * java/io/ObjectStreamClass.java:
3003         Reformated.
3004         * java/io/PrintStream.java:
3005         Merged copyright years with classpath.
3006         * java/io/PushbackReader.java
3007         (PushbackReader): Replaced @code with @param.
3008         * java/io/SerializablePermission.java:
3009         Reformated.
3010         * java/io/StreamTokenizer.java
3011         (resetSyntax): Fixed @see tag.
3012
3013 2003-03-22  Richard Henderson  <rth@redhat.com>
3014
3015         * sysdep/ia64/locks.h: Include ia64intrin.h.
3016         (compare_and_swap): Use __sync_bool_compare_and_swap.
3017         (compare_and_swap_release): Expose ar.ccv assignment.
3018
3019 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
3020
3021         * include/posix.h: Add suffix for darwin dynamic libraries.
3022
3023 2003-03-21  Michael Koch  <konqueror@gmx.de>
3024
3025         * javax/swing/Action.java
3026         (ACCELERATOR_KEY): New constant.
3027         (ACTION_COMMAND_KEY): Likewise.
3028         (MNEMONIC_KEY): Likewise.
3029         * javax/swing/UnsupportedLookAndFeelException.java
3030         (UnsupportedLookAndFeelException): Must be public.
3031         * javax/swing/WindowConstants.java
3032         (EXIT_ON_CLOSE): New constant.
3033         * javax/swing/text/BadLocationException.java
3034         (offset): New member variable.
3035         (BadLocationException): New implementation, documentation added.
3036         (offsetRequested): New method.
3037         * javax/swing/text/Caret.java:
3038         Reformated.
3039         * javax/swing/text/Document.java:
3040         Reformated.
3041
3042 2003-03-21  Michael Koch  <konqueror@gmx.de>
3043
3044         * java/rmi/activation/Activatable.java
3045         (serialVersionUID): New member variable.
3046         * java/rmi/activation/ActivationGroup.java
3047         (serialVersionUID): New member variable.
3048         * java/rmi/activation/ActivationGroupDesc.java
3049         (serialVersionUID): New member variable.
3050         * java/rmi/registry/Registry.java:
3051         Reformated.
3052         (Registry): Deprecated.
3053         * java/rmi/server/LoaderHandler.java
3054         Reformated.
3055         (LoaderHandler): Deprecated.
3056         * java/rmi/server/LogStream.java
3057         Reformated.
3058         (LogStream): Deprecated.
3059         * java/rmi/server/Operation.java
3060         (Operation): Deprecated.
3061         * java/rmi/server/RMIFailureHandler.java:
3062         Reformated.
3063         * java/rmi/server/RMISocketFactory.java:
3064         Reformated.
3065         * java/rmi/server/RemoteCall.java
3066         (RemoteCall): Deprecated.
3067         * java/rmi/server/RemoteStub.java:
3068         Reformated.
3069         * java/rmi/server/Skeleton.java
3070         Reformated.
3071         (Skeleton): Deprecated.
3072
3073 2003-03-21  Michael Koch  <konqueror@gmx.de>
3074
3075         * java/io/LineNumberReader.java
3076         (LineNumberReader): Merged documentation with classpath.
3077         (getLineNumber): Likewise.
3078         (setLineNumber): Likewise.
3079         (mark): Likewise.
3080         (reset): Likewise.
3081         (read): Likewise.
3082         (readLine): Likewise.
3083         (skip): Likewise.
3084
3085 2003-03-21  Michael Koch  <konqueror@gmx.de>
3086
3087         * java/rmi/RMISecurityManager.java
3088         (checkAccept): Removed.
3089         (checkAccess): Likewise.
3090         (checkAccess): Likewise.
3091         (checkAwtEventQueueAccess): Likewise.
3092         (checkConnect): Likewise.
3093         (checkCreateClassLoader): Likewise.
3094         (checkDelete): Likewise.
3095         (checkExec): Likewise.
3096         (checkExit): Likewise.
3097         (checkLink): Likewise.
3098         (checkListen): Likewise.
3099         (checkMemberAccess): Likewise.
3100         (checkMulticast): Likewise.
3101         (checkPackageAccess): Likewise.
3102         (checkPackageDefinition): Likewise.
3103         (checkPermission): Likewise.
3104         (checkPrintJobAccess): Likewise.
3105         (checkPropertiesAccess): Likewise.
3106         (checkPropertyAccess): Likewise.
3107         (checkRead): Likewise.
3108         (checkSecurityAccess): Likewise.
3109         (checkSetFactory): Likewise.
3110         (checkSystemClipboardAccess): Likewise.
3111         (checkTopLevelWindow): Likewise.
3112         (checkWrite): Likewise.
3113
3114 2003-03-20  Michael Koch  <konqueror@gmx.de>
3115
3116         * gnu/java/nio/FileChannelImpl.java
3117         (address): Removed.
3118         (map_address): New member variable.
3119         (length): Make it package private.
3120         (fd): Make it package private.
3121         (buf): Make it package private.
3122         (file_obj): Make it package private.
3123         (FileChannelImpl): New constructor.
3124         (nio_mmap_file): Use RawData instead of long.
3125         (nio_munmap_file): Use RawData instead of long.
3126         (nio_msync): Use RawData instead of long.
3127         (implCloseChannel): New implementation using map_address.
3128         (read): Reformated.
3129         (map): Implemented.
3130         (create_direct_mapped_buffer): Implemented, use RawData, throws
3131         IOException.
3132         (force): Use map_address instead of address.
3133         * gnu/java/nio/MappedByteFileBuffer.java
3134         (address): Removed.
3135         (map_address): New member variable.
3136         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3137         (several methods): Use map_address instead of address, replaced long
3138         with RawData where appropriate.
3139         * gnu/java/nio/natFileChannelImpl.cc
3140         (nio_mmap_file): Replaced long with RawData.
3141         (nio_munmap_file): Replaced long with RawData.
3142         (nio_msync): Replaced long with RawData.
3143         * gnu/java/nio/natMappedByteFileBuffer.cc
3144         (several methods): Replaced long with RawData where appropriate.
3145
3146 2003-03-20  Michael Koch  <konqueror@gmx.de>
3147
3148         * java/net/InetAddress.java,
3149         java/net/JarURLConnection.java,
3150         java/net/PlainDatagramSocketImpl.java,
3151         java/net/PlainSocketImpl.java,
3152         java/net/URLConnection.java:
3153         Merged copyright statements with classpath for easier merging.
3154
3155 2003-03-20  Michael Koch  <konqueror@gmx.de>
3156
3157         * java/io/FileInputStream.java
3158         (getChannel): New implementation.
3159         * java/io/FileOutputStream.java
3160         (ch): New member variable.
3161         (getChannel): Implemented.
3162         * java/io/RandomAccessFile.java
3163         (RandomAccessFile): Throws FileNotFoundException instead of
3164         IOException.
3165         (getChannel): New method.
3166         (ch): New member variable.
3167
3168 2003-03-20  Michael Koch  <konqueror@gmx.de>
3169
3170         * java/io/DataOutputStream.java,
3171         java/io/File.java,
3172         java/io/FileInputStream.java,
3173         java/io/FileOutputStream.java,
3174         java/io/InputStreamReader.java,
3175         java/io/LineNumberReader.java,
3176         java/io/OutputStreamWriter.java,
3177         java/io/PrintStream.java,
3178         java/io/RandomAccessFile.java:
3179         Merged copyright statements with classpath for easier merging.
3180
3181 2003-03-19  Michael Koch  <konqueror@gmx.de>
3182
3183         * java/lang/Process.java:
3184         Merged from classpath.
3185
3186 2003-03-19  Michael Koch  <konqueror@gmx.de>
3187
3188         * java/io/FileOutputStream.java
3189         (FileOutputStream): New constructor, merged from classpath.
3190         * java/io/FileWriter.java
3191         (FileWriter): New constructor, merged from classpath.
3192
3193 2003-03-18  Michael Koch  <konqueror@gmx.de>
3194
3195         * java/awt/ScrollPane.java
3196         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3197         (getViewportSize): Likewise.
3198         (addNotify): Likewise.
3199         (removeNotify): Likewise.
3200         * java/awt/ScrollPaneAdjustable.java
3201         (ScrollPaneAdjustable): No longer extends Scrollbar.
3202         * java/beans/beancontext/BeanContextServices.java:
3203         Reformated.
3204         (getService): Added throws TooManyListenersException;
3205         * java/beans/beancontext/BeanContextServicesSupport.java:
3206         Reformated.
3207
3208 2003-03-18  Michael Koch  <konqueror@gmx.de>
3209
3210         * java/io/BufferedOutputStream.java,
3211         java/io/DataInput.java,
3212         java/io/DataInputStream.java,
3213         java/io/DataOutput.java,
3214         java/io/Externalizable.java:
3215         More merges from classpath.
3216
3217 2003-03-18  Michael Koch  <konqueror@gmx.de>
3218
3219         * configure.in: Fixed links to platform dependant java.net files.
3220         * configure: Regenerated.
3221         * java/net/natInetAddress.cc,
3222         java/net/natNetworkInterface.cc,
3223         java/net/natPlainDatagramSocketImpl.cc,
3224         java/net/natPlainSocketImpl.cc:
3225         Removed.
3226
3227 2003-03-18  Michael Koch  <konqueror@gmx.de>
3228
3229         * configure.in: Create links to architecture dependent files,
3230         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3231         * configure: Regenerated.
3232         * java/net/natInetAddressNoNet.cc,
3233         java/net/natInetAddressPosix.cc,
3234         java/net/natInetAddressWin32.cc,
3235         java/net/natNetworkInterfaceNoNet.cc,
3236         java/net/natNetworkInterfacePosix.cc,
3237         java/net/natNetworkInterfaceWin32.cc,
3238         java/net/natPlainDatagramSocketImplNoNet.cc,
3239         java/net/natPlainDatagramSocketImplPosix.cc,
3240         java/net/natPlainDatagramSocketImplWin32.cc,
3241         java/net/natPlainSocketImplNoNet.cc,
3242         java/net/natPlainSocketImplPosix.cc,
3243         java/net/natPlainSocketImplWin32.cc: New files.
3244
3245 2003-03-18  Michael Koch  <konqueror@gmx.de>
3246
3247         * java/io/BufferedReader.java,
3248         java/io/BufferedWriter.java,
3249         java/io/ByteArrayOutputStream.java,
3250         java/io/FileFilter.java,
3251         java/io/FilePermission.java,
3252         java/io/FileReader.java,
3253         java/io/FileWriter.java,
3254         java/io/FilenameFilter.java,
3255         java/io/FilterInputStream.java,
3256         java/io/FilterOutputStream.java,
3257         java/io/FilterReader.java,
3258         java/io/FilterWriter.java,
3259         java/io/ObjectInput.java,
3260         java/io/ObjectInputValidation.java,
3261         java/io/ObjectOutput.java,
3262         java/io/ObjectStreamField.java,
3263         java/io/PipedInputStream.java,
3264         java/io/PipedReader.java,
3265         java/io/PrintWriter.java,
3266         java/io/PushbackReader.java,
3267         java/io/Reader.java,
3268         java/io/SerializablePermission.java,
3269         java/io/StringReader.java,
3270         java/io/Writer.java:
3271         Merged from classpath.
3272
3273 2003-03-17  Michael Koch  <konqueror@gmx.de>
3274
3275         * java/awt/ScrollPaneAdjustable.java:
3276         Compile fixes.
3277         
3278 2003-03-17  Michael Koch  <konqueror@gmx.de>
3279
3280         * java/net/DatagramSocket.java
3281         (connect): Fixed comment.
3282         * java/nio/ByteBuffer.java
3283         (hasArray): Fixed comment.
3284
3285 2003-03-17  Michael Koch  <konqueror@gmx.de>
3286
3287         * java/beans/Beans.java:
3288         Explicitely import classes not packages.
3289         * java/beans/FeatureDescriptor.java
3290         (preferred): New member variable.
3291         (isPreferred): New method.
3292         (setPreferred): New method.
3293         * java/beans/PropertyEditorManager.java:
3294         Explicitely import used classes.
3295         * java/beans/beancontext/BeanContextChild.java:
3296         Added line wrapping.
3297         * java/beans/beancontext/BeanContextChildSupport.java:
3298         Reindented.
3299         * java/beans/beancontext/BeanContextEvent.java:
3300         Reindented.
3301
3302 2003-03-17  Michael Koch  <konqueror@gmx.de>
3303
3304         * java/awt/Dialog.java
3305         (Dialog): New constructor, changed implementations, added
3306         documentation.
3307         * java/awt/ScrollPaneAdjustable.java
3308         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3309         Serializable.
3310         (serialVersionUID): New member variable.
3311         (sp): New member variable.
3312         (orientation): New member variable.
3313         (value): New member variable.
3314         (minimum): New member variable.
3315         (maximum): New member variable.
3316         (visibleAmount): New member variable.
3317         (unitIncrement): New member variable.
3318         (blockIncrement): New member variable.
3319         (AdjustmentListener): New member variable.
3320         (ScrollPaneAdjustable): New implementation.
3321         (addAdjustmentListener): New method.
3322         (removeAdjustmentListener): New method.
3323         (getAdjustmentListeners): New method.
3324         (getBlockIncrement): New method.
3325         (getMaximum): New method.
3326         (getMinimum): New method.
3327         (getOrientation): New method.
3328         (getUnitIncrement): New method.
3329         (getValue): New method.
3330         (getVisibleAmount): New method.
3331         (setBlockIncrement): New method.
3332         (setMaximum): Implemented.
3333         (setMinimum): Implemented.
3334         (setUnitIncrement): New method.
3335         (setValue): New method.
3336         (setVisibleAmount): Implemented. 
3337         (paramString): New stubbed method.
3338         * java/awt/Window.java
3339         (show): Call setVisible().
3340         (hide): Call setVisible().
3341         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3342         and WINDOW_STATE_CHANGED.
3343         (processWindowFocusEvent): New method.
3344         (processWindowStateEvent): New method.
3345         (postEvent): Deprecated.
3346         (applyResourceBundle): Deprecated.
3347         * java/awt/datatransfer/DataFlavor.java
3348         (DataFlavor): Doesn't thow ClassNotFoundException.
3349
3350 2003-03-17  Michael Koch
3351
3352         * javax/print/attribute/Attribute.java,
3353         javax/print/attribute/AttributeSet.java,
3354         javax/print/attribute/PrintRequestAttributeSet.java:
3355         New files.
3356         * Makefile.am
3357         (javax_source_files): Added new files:
3358         javax/print/attribute/Attribute.java
3359         javax/print/attribute/AttributeSet.java
3360         javax/print/attribute/PrintRequestAttributeSet.java
3361         * Makefile.in: Regenerated.
3362
3363 2003-03-17  Michael Koch
3364
3365         * javax/print/attribute/Attribute.java,
3366         javax/print/attribute/AttributeSet.java,
3367         javax/print/attribute/PrintRequestAttributeSet.java:
3368         New files.
3369         * Makefile.am
3370         (awt_java_source_files): Added new files:
3371         javax/print/attribute/Attribute.java
3372         javax/print/attribute/AttributeSet.java
3373         javax/print/attribute/PrintRequestAttributeSet.java
3374         * Makefile.in: Regenerated.
3375
3376 2003-03-16  Tom Tromey  <tromey@redhat.com>
3377
3378         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3379         Include platform.h.
3380         * java/lang/natRuntime.cc (insertSystemProperties): Use
3381         _Jv_platform_path_separator.
3382         (nativeGetLibname): Use _Jv_platform_file_separator.
3383         (_load): Use _Jv_platform_onload_names.
3384         (onload_names): New global.
3385         * include/win32.h (_Jv_platform_file_separator): New define.
3386         (_Jv_platform_path_separator): Likewise.
3387         (_Jv_platform_onload_names): Likewise.
3388         (_Jv_platform_ffi_abi): Likewise.
3389         * include/posix.h (_Jv_platform_file_separator): New define.
3390         (_Jv_platform_path_separator): Likewise.
3391         (_Jv_platform_onload_names): Likewise.
3392         (_Jv_platform_ffi_abi): Likewise.
3393
3394 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3395
3396         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3397
3398 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3399
3400         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3401         hierarchy loop.
3402         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3403         list to Object,ObjectStreamClass, moved callReadMethod code up into
3404         readObject and added Class argument to all setXxxField calls.
3405         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3406         consistent with ObjectOutputStream and to facilitate caching the
3407         Method in the future.
3408         (setBooleanField): Added Class argument.
3409         (setByteField): Likewise.
3410         (setCharField): Likewise.
3411         (setDoubleField): Likewise.
3412         (setFloatField): Likewise.
3413         (setIntField): Likewise.
3414         (setLongField): Likewise.
3415         (setShortField): Likewise.
3416         (setObjectField): Likewise.
3417         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3418         class hierarchy loop.
3419         (defaultWriteObject): Call writeFields with new argument list.
3420         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3421         list to Object,ObjectStreamClass, moved callWriteMethod up into
3422         writeObject and added Class argument to all getXxxField calls.
3423         (callWriteMethod): Added ObjectStreamClass argument to be able to
3424         get the proper class to call getMethod on (each class can have (or
3425         not have) its own writeObject method).
3426         (getBooleanField): Added Class argument.
3427         (getByteField): Likewise.
3428         (getCharField): Likewise.
3429         (getDoubleField): Likewise.
3430         (getFloatField): Likewise.
3431         (getIntField): Likewise.
3432         (getLongField): Likewise.
3433         (getShortField): Likewise.
3434         (getObjectField): Likewise.
3435         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3436         facilitate caching the Method object in the future.
3437
3438 2003-03-12  Andreas Schwab  <schwab@suse.de>
3439
3440         * configure.in: Avoid trailing /. in toolexeclibdir.
3441         * configure: Rebuilt.
3442
3443 2003-03-11  Michael Koch  <konqueror@gmx.de>
3444
3445         * gnu/java/nio/ByteBufferImpl.java
3446         (putInt): Use limit() instead of limit.
3447         * gnu/java/nio/CharBufferImpl.java
3448         (slice): Fixed implementation.
3449         (subSequence): Better bounds checking.
3450         * gnu/java/nio/MappedByteFileBuffer.java:
3451         Import all needed classes directly.
3452         * java/nio/ByteBuffer.java
3453         (hashCode): New dummy method.
3454         * java/nio/CharBuffer.java
3455         (array_offset): New member variable.
3456         (hasArray): Fixed documentation.
3457         (arrayOffset): Return array_offset.
3458
3459 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3460
3461         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3462         setter; made return value of getter const char* instead of char*
3463         * prims.cc: removed all references to _Jv_ThisExecutable().
3464         These are in the platform-specific sections now.
3465         * posix.cc: define platform-specific _Jv_ThisExecutable().
3466         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3467         * win32.cc: define platform-specific _Jv_ThisExecutable()
3468         using GetModuleFilename()
3469         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3470         to argv[0] instead of _Jv_ThisExecutable()
3471
3472 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3473
3474         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3475         that is set if we are using addr2name.awk instead of addr2line.
3476         (NameFinder): Set usingAddr2name if using addr2name.awk.
3477         (getExternalLabel): New native method to convert a method 
3478         name to an external label.
3479         (lookup): Convert name given by addr2line to an external label
3480         before demangling.
3481
3482         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3483         constant representing the prefix attached to method names to
3484         convert them to an external label.
3485         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3486         using LABEL_PREFIX.
3487
3488 2003-03-10  Tom Tromey  <tromey@redhat.com>
3489
3490         * Makefile.in: Rebuilt.
3491         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3492         (JC1FLAGS): Removed -Wno-deprecated.
3493
3494 2003-03-10  Michael Koch  <konqueror@gmx.de>
3495
3496         * java/nio/ByteOrder.java
3497         (nativeOrder): Working implementation, added documentation.
3498         (toString): Added documentation.
3499
3500 2003-03-10  Michael Koch  <konqueror@gmx.de>
3501
3502         * java/net/DatagramSocket.java,
3503         java/net/MulticastSocket.java,
3504         java/net/Socket.java,
3505         java/net/URL.java,
3506         java/net/URLConnection.java:
3507         Fixed some documentation tags to make javadoc and friends happy.
3508
3509 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3510
3511         * java/beans/beancontext/BeanContextServicesSupport.java,
3512         java/beans/beancontext/BeanContextSupport.java: New files.
3513         * Makefile.am
3514         (awt_source_files): Added new files.
3515         * Makefile.in: Regenerated.
3516
3517 2003-03-10  Michael Koch  <konqueror@gmx.de>
3518
3519         * java/awt/FocusTraversalPolicy.java
3520         (FocusTraversalPolicy): Documentation added.
3521         (getComponentAfter): Documentation added.
3522         (getComponentBefore): Documentation added.
3523         (getFirstComponent): Documentation added.
3524         (getLastComponent): Documentation added.
3525         (getDefaultComponent): Documentation added.
3526         (getInitialComponent): Documentation added.
3527         * java/awt/ScrollPaneAdjustable.java
3528         (sp): New member variable.
3529         (orientation): New member variable.
3530         (value): New member variable.
3531         (minimum): New member variable.
3532         (maximum): New member variable.
3533         (visibleAmount): New member variable.
3534         (unitIncrement): New member variable.
3535         (blockIncrement): New member variable.
3536         (adjustmentListener): New member variable.
3537         (ScrollPaneAdjustable): Rewrote.
3538         (addAdjustmentListener): New method.
3539         (removeAdjustmentListener): New method.
3540         (getAdjustmentListeners): New method.
3541         (getBlockIncrement): New method.
3542         (getMaximum): New method.
3543         (getMinimum): New method.
3544         (getOrientation): New method.
3545         (getUnitIncrement): New method.
3546         (getValue): New method.
3547         (getVisibleAmount): New method.
3548         (setBlockIncrement): New method.
3549         (setUnitIncrement): New method.
3550         (setMaximum): Implemented.
3551         (setMinimum): Implemented.
3552         (setValue): New method.
3553         (setVisibleAmount): Implemented.
3554         (paramString): New method.
3555         * java/awt/Window.java
3556         (show): Use setVisible(true) instead of super.show().
3557         (hide): Use sevVisible(false) instead of super.hide().
3558         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3559         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3560         (postEvent): Deprecated.
3561         (applyResourceBundle): Deprecated.
3562         (processWindowFocusEvent): New method.
3563         (processWindowStateEvent): New method.
3564         * java/awt/datatransfer/DataFlavor.java: Reindented.
3565         * java/awt/font/TextHitInfo.java
3566         (charIndex): New member variable.
3567         (leadingEdge): New member variable.
3568         (TextHitInfo): New constructor.
3569         (getCharIndex): Implemented.
3570         (isLeadingEdge): Implemented.
3571         (getInsertionIndex): Implemented.
3572         (hashCode): Access charIndex directly.
3573         (equals): Reformated.
3574         (leading): Implemented.
3575         (trailing): Implemented.
3576         (beforeOffset): Implemented.
3577         (afterOffset): Implemented.
3578         (getOtherHit): Implemented.
3579         (getOffsetHit): Implemented.
3580         (toString): Implemented.
3581         * java/awt/image/BufferedImage.java
3582         (BufferedImage): Implements WritableRenderedImage.
3583         (observers): New member variable.
3584         (addTileObserver): New method.
3585         (removeTileObserver): New method.
3586
3587 2003-03-09  Tom Tromey  <tromey@redhat.com>
3588
3589         PR libgcj/9934:
3590         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3591         to lseek.  Return 0 if we can't compute the value.
3592
3593 2003-03-03  Michael Koch  <konqueror@gmx.de>
3594
3595         * java/net/NetworkInterface.java: Merged with classpath.
3596
3597 2003-03-03  Tom Tromey  <tromey@redhat.com>
3598
3599         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3600         of bytecode.
3601         (handle_ret_insn): Fail if returning to jsr that appears at end of
3602         bytecode.
3603
3604 2003-03-03  Michael Koch  <konqueror@gmx.de>
3605
3606         * Makefile.am
3607         (ordinary_java_source_files):
3608         Added gnu/java/nio/MappedByteFileBuffer.java.
3609         (nat_source_files):
3610         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3611         * Makefile.in: Regenerated.
3612
3613 2003-03-03  Michael Koch  <konqueror@gmx.de>
3614
3615         * java/net/DatagramSocket.java
3616         (connect): Merged comment from classpath.
3617         (receive): Merged documentation from classpath.
3618         * java/net/Socket.java
3619         (setSoTimeout): Clarified documentation.
3620         * java/net/URL.java
3621         (getPath): Merged from classpath.
3622         (getUserInfo): Merged from classpath.
3623         (getQuery): Merged from classpath.
3624         * java/net/URLStreamHandler.java
3625         (toExternalForm): Merged from classpath.
3626
3627 2003-03-02  Mark Wielaard  <mark@klomp.org>
3628
3629         * java/util/Properties.java (load): Only skip line if the first
3630         character is a comment, whitespaces don't count.
3631
3632 2003-03-02  Michael Koch  <konqueror@gmx.de>
3633
3634         * java/net/NetPermission.java:
3635         Merged copyright with classpath.
3636
3637 2003-03-02  Michael Koch  <konqueror@gmx.de>
3638
3639         * java/lang/Package.java:
3640         Remerged from classpath.
3641
3642 2003-03-02  Michael Koch  <konqueror@gmx.de>
3643
3644         * java/net/HttpURLConnection.java
3645         (HTTP_SERVER_ERROR): Deprecated.
3646         * java/net/MulticastSocket.java
3647         (send): Replaced checkMulticast with appropriate checkPermission call,
3648         deprecated.
3649         * java/net/URLDecoder.java
3650         (decode): Deprecated.
3651         * java/net/URLEncoder.java
3652         (encode): Deprecated.
3653
3654 2003-03-02  Michael Koch  <konqueror@gmx.de>
3655
3656         * javax/swing/text/Caret.java
3657         (getMagicCaretPosition): Fixed typo in method name.
3658         * javax/swing/text/DefaultCaret.java
3659         (getMagicCaretPosition): Fixed typo in method name.
3660
3661 2003-03-02  Michael Koch  <konqueror@gmx.de>
3662
3663         * java/awt/List.java
3664         (setMultipleSelections): Deprecated.
3665         (delItem): Deprecated.
3666         * java/awt/MenuComponent.java
3667         (getPeer): Deprecated.
3668         * java/awt/ScrollPane.java
3669         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3670         * java/awt/dnd/MouseDragGestureRecognizer.java
3671         (mouseClicked): Added comment.
3672         (mousePressed): Added comment.
3673         (mouseReleased): Added comment.
3674         (mouseEntered): Added comment.
3675         (mouseExited): Added comment.
3676         (mouseDragged): Added comment.
3677         (mouseMoved): Added comment.
3678         * java/awt/event/KeyEvent.java
3679         (KeyEvent): Deprecated.
3680         (setModifiers): Deprecated.
3681         
3682 2003-03-02  Michael Koch  <konqueror@gmx.de>
3683
3684         * gnu/java/nio/FileChannelImpl.java
3685         (fd): Type FileDescriptor instead of int.
3686         (lengthInternal): Removed.
3687         (FileChannelImpl): Fixed arguments, check type of file object.
3688         (size): Made it native.
3689         (implPosition): New native method.
3690         (implTruncate): New native method.
3691         (position): Implemented.
3692         (truncate): Implemented.
3693         (nio_mmap_file): Changed arguments.
3694         (nio_munmap_file): Changed arguments.
3695         (nio_msync): Changed arguments.
3696         * gnu/java/nio/natFileChannelImpl.cc
3697         (lengthInternal): Removed.
3698         (size): New method.
3699         (implPosition): New method.
3700         (implTruncate): New method.
3701         (nio_mmap_file): Changed arguments.
3702         (nio_munmap_file): Changed arguments.
3703         (nio_msync): Changed arguments.
3704
3705 2003-03-02  Michael Koch  <konqueror@gmx.de>
3706
3707         * java/awt/dnd/DropTargetContext.java:
3708         Compile fix: Forgot to commit import.
3709         
3710 2003-03-02  Michael Koch  <konqueror@gmx.de>
3711
3712         * java/awt/Component.java,
3713         java/awt/ScrollPane.java:
3714         Fixed typos.
3715
3716 2003-03-02  Michael Koch  <konqueror@gmx.de>
3717
3718         * java/awt/dnd/DnDEventMulticaster.java: New file.
3719         * java/awt/dnd/DragSource.java
3720         (flavorMap): New member variable.
3721         (dragSourceListener): New member variable.
3722         (dragSourceMotionListener): New member variable.
3723         (getFlavorMap): Implemented.
3724         (createDragGestureRecognizer): Implemented.
3725         (addDragSourceListener): Implemented.
3726         (removeDragSourceListener): Implemented.
3727         (getDragSourceListeners): Implemented.
3728         (addDragSourceMotionListener): Implemented.
3729         (removeDragSourceMotionListener): Implemented.
3730         (getDragSourceMotionListeners): Implemented.
3731         (getListeners): Implemented.
3732         * java/awt/dnd/DragSourceContext.java
3733         (peer): New member variable.
3734         (cursor): New member variable.
3735         (transferable): New member variable.
3736         (trigger): New member variable.
3737         (dragSourceListener): New member variable.
3738         (image): New member variable.
3739         (offset): New member variable.
3740         (DragSourceContext): Implemented.
3741         (getDragSource): Implemented.
3742         (getComponent): Implemented.
3743         (getTrigger): Implemented.
3744         (getSourceActions): Implemented.
3745         (setCursor): Implemented.
3746         (getCursor): Implemented.
3747         (addDragSourceListener): Implemented.
3748         (removeDragSourceListener): Implemented.
3749         (getTransferable): Implemented.
3750         * java/awt/dnd/DropTarget.java
3751         (DropTargetAutoScroller.component): New member variable.
3752         (DropTargetAutoScroller.point): New member variable.
3753         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3754         (DropTargetAutoScroller.updateLocation): Implemented.
3755         (active): Renamed from isActive, defaults to true now.
3756         (component): New member variable.
3757         (flavorMap): New member variable.
3758         (actions): New member variable.
3759         (dropTargetContext): New member variable.
3760         (dropTargetListener): New member variable.
3761         (DropTarget): Implemented.
3762         (getComponent): Implemented.
3763         (setComponent): Implemented.
3764         (setDefaultActions): Implemented.
3765         (getDefaultActions): Implemented.
3766         (setActive): Use active instead of isActive.
3767         (isActive): Use active instead of isActive.
3768         (addDropTargetListener): Implemented.
3769         (removeDropTargetListener): Implemented.
3770         (getFlavorMap): Implemented.
3771         (setFlavorMap): Implemented.
3772         (getDropTargetContext): Implemented.
3773         (createDropTargetContext): Implemented.
3774         (createDropTargetAutoScroller): Implemented.
3775         * java/awt/dnd/DropTargetContext.java
3776         (TransferableProxy.getTransferDataFlavors): Implemented.
3777         (TransferableProxy.isDataFlavorSupported): Implemented.
3778         (TransferableProxy.getTransferData): Implemented.
3779         (dropTarget):  New member variable.
3780         (dtcp): New member variable.
3781         (DropTargetContext): New package private constructor.
3782         (getDropTarget): Implemented.
3783         (getComponent): Implemented.
3784         (addNotify): Implemented.
3785         (removeNotify): Implemented.
3786         (getCurrentDataFlavorsAsList): Implemented.
3787         (isDataFlavorSupported): Implemented.
3788         * java/awt/dnd/MouseDragGestureRecognizer.java
3789         (registerListeners): Implemented.
3790         (unregisterListeners): Implemented.
3791         * Makefile.am
3792         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3793         * Makefile.in: Regenerated.
3794
3795 2003-03-02  Michael Koch  <konqueror@gmx.de>
3796
3797         * java/awt/Component.java
3798         (eventTypeEnabled): New method.
3799         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3800         * java/awt/Container.java
3801         (changeSupport): New member variable.
3802         (addPropertyChangeListener): New methods.
3803         * java/awt/ContainerOrderFocusTraversalPolicy.java
3804         (ContainerOrderFocusTraversalPolicy): Added comment.
3805         (getComponentAfter): Throw exception, documentation added.
3806         (getComponentBefore): Throw exception, documentation added.
3807         (getFirstComponent): Throw exception, documentation added.
3808         (getLastComponent): Throw exception, documentation added.
3809         (getDefaultComponent): Throw exception, documentation added.
3810         * java/awt/EventQueue.java: Reindented.
3811         * java/awt/FocusTraversalPolicy.java:
3812         (FocusTraversalPolicy): Added comment.
3813         (getComponentAfter): Documentation added.
3814         (getComponentBefore): Documentation added.
3815         (getFirstComponent): Documentation added.
3816         (getLastComponent): Documentation added.
3817         (getDefaultComponent): Documentation added.
3818         (getInitialComponent): Documentation added.
3819         * java/awt/ScrollPane.java
3820         (wheelScrollingEnabled): New member variable.
3821         (ScrollPane): Initialize wheelScollingEnabled.
3822         (eventTypeEnabled): New method.
3823         (isWheelScrollingEnabled): New method.
3824         (setWheelScrollingEnabled): New method.
3825
3826 2003-03-02  Michael Koch  <konqueror@gmx.de>
3827
3828         * java/net/DatagramSocket.java
3829         (closed): New member variable.
3830         (close): Use closed variable.
3831         (getInetAddress): No need to call isConnected().
3832         (getPort): No need to call isConnected().
3833         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3834         (isClosed): Reimplemented.
3835         
3836 2003-03-02  Michael Koch  <konqueror@gmx.de>
3837
3838         * configure.in: Added check for memory mapping of files.
3839         * configure: Regenerated.
3840         * config.h.in: Regenerated.
3841
3842 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3843
3844         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3845         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3846
3847 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3848
3849         * java/io/File.java (normalizePath): Remove trailing separator
3850         on Windows only if path is not of the form "x:\".
3851
3852         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3853         (java::io::File::attr): Change formatting a bit and use
3854         WIN32_EPOCH_MILLIS instead of magic numbers.
3855         (java::io::File::isAbsolute): Path must have at least 3 
3856         characters for a UNC network path.
3857         (java::io::File::init_native): Define.
3858         (java::io::File::performCreate): Likewise.
3859         (java::io::File::performSetReadOnly): Likewise.
3860         (java::io::File::performSetLastModified): Likewise.
3861         (java::io::File::performListRoots): Likewise.
3862
3863 2003-03-01  Tom Tromey  <tromey@redhat.com>
3864
3865         * java/lang/natObject.cc: Don't include assert.h.
3866         (heavy_lock_obj_finalization_proc): Use JvAssert.
3867         (remove_all_heavy): Likewise.
3868         (_Jv_MonitorEnter): Likewise.
3869         (_Jv_MonitorExit): Likewise.
3870         (wait): Likewise.
3871
3872 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3873
3874         * java/io/File (getAbsolutePath): Prefix drive specifier on
3875         Windows for paths starting with a '\'.
3876         (toURL): Make URL more consistent with what Sun's JDK returns.
3877
3878         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3879         true only if the path is a UNC network path or it starts with a
3880         drive specifier.
3881
3882         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3883         Be prepared to handle either '/' or '\\' in the file path for
3884         Windows if using the "file" protocol.
3885         Canonicalise the file path if using a relative path in the given
3886         context and the "file" protocol.
3887
3888 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3889
3890         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3891         program array element passed to CreateProcess.
3892
3893 2003-03-01  Tom Tromey  <tromey@redhat.com>
3894
3895         * java/rmi/registry/RegistryHandler.java: Deprecate.
3896
3897 2003-03-01  Tom Tromey  <tromey@redhat.com>
3898
3899         * javax/accessibility/AccessibleEditableText.java,
3900         javax/accessibility/AccessibleHyperlink.java: New versions from
3901         Classpath.
3902
3903         * gnu/java/locale/LocaleInformation_af_ZA.java,
3904         gnu/java/locale/LocaleInformation_ar_AE.java,
3905         gnu/java/locale/LocaleInformation_ar_BH.java,
3906         gnu/java/locale/LocaleInformation_ar_DZ.java,
3907         gnu/java/locale/LocaleInformation_ar_EG.java,
3908         gnu/java/locale/LocaleInformation_ar_IN.java,
3909         gnu/java/locale/LocaleInformation_ar_IQ.java,
3910         gnu/java/locale/LocaleInformation_ar_JO.java,
3911         gnu/java/locale/LocaleInformation_ar_KW.java,
3912         gnu/java/locale/LocaleInformation_ar_LB.java,
3913         gnu/java/locale/LocaleInformation_ar_LY.java,
3914         gnu/java/locale/LocaleInformation_ar_MA.java,
3915         gnu/java/locale/LocaleInformation_ar_OM.java,
3916         gnu/java/locale/LocaleInformation_ar_QA.java,
3917         gnu/java/locale/LocaleInformation_ar_SD.java,
3918         gnu/java/locale/LocaleInformation_ar_SY.java,
3919         gnu/java/locale/LocaleInformation_ar_TN.java,
3920         gnu/java/locale/LocaleInformation_ar_YE.java,
3921         gnu/java/locale/LocaleInformation_be_BY.java,
3922         gnu/java/locale/LocaleInformation_bn_IN.java,
3923         gnu/java/locale/LocaleInformation_br_FR.java,
3924         gnu/java/locale/LocaleInformation_bs_BA.java,
3925         gnu/java/locale/LocaleInformation_ca_ES.java,
3926         gnu/java/locale/LocaleInformation_cs_CZ.java,
3927         gnu/java/locale/LocaleInformation_cy_GB.java,
3928         gnu/java/locale/LocaleInformation_da_DK.java,
3929         gnu/java/locale/LocaleInformation_de_AT.java,
3930         gnu/java/locale/LocaleInformation_de_BE.java,
3931         gnu/java/locale/LocaleInformation_de_CH.java,
3932         gnu/java/locale/LocaleInformation_de_DE.java,
3933         gnu/java/locale/LocaleInformation_de_LU.java,
3934         gnu/java/locale/LocaleInformation_el_GR.java,
3935         gnu/java/locale/LocaleInformation_en_AU.java,
3936         gnu/java/locale/LocaleInformation_en_BW.java,
3937         gnu/java/locale/LocaleInformation_en_CA.java,
3938         gnu/java/locale/LocaleInformation_en_DK.java,
3939         gnu/java/locale/LocaleInformation_en_GB.java,
3940         gnu/java/locale/LocaleInformation_en_HK.java,
3941         gnu/java/locale/LocaleInformation_en_IE.java,
3942         gnu/java/locale/LocaleInformation_en_IN.java,
3943         gnu/java/locale/LocaleInformation_en_NZ.java,
3944         gnu/java/locale/LocaleInformation_en_PH.java,
3945         gnu/java/locale/LocaleInformation_en_SG.java,
3946         gnu/java/locale/LocaleInformation_en_US.java,
3947         gnu/java/locale/LocaleInformation_en_ZA.java,
3948         gnu/java/locale/LocaleInformation_en_ZW.java,
3949         gnu/java/locale/LocaleInformation_es_AR.java,
3950         gnu/java/locale/LocaleInformation_es_BO.java,
3951         gnu/java/locale/LocaleInformation_es_CL.java,
3952         gnu/java/locale/LocaleInformation_es_CO.java,
3953         gnu/java/locale/LocaleInformation_es_CR.java,
3954         gnu/java/locale/LocaleInformation_es_DO.java,
3955         gnu/java/locale/LocaleInformation_es_EC.java,
3956         gnu/java/locale/LocaleInformation_es_ES.java,
3957         gnu/java/locale/LocaleInformation_es_GT.java,
3958         gnu/java/locale/LocaleInformation_es_HN.java,
3959         gnu/java/locale/LocaleInformation_es_MX.java,
3960         gnu/java/locale/LocaleInformation_es_NI.java,
3961         gnu/java/locale/LocaleInformation_es_PA.java,
3962         gnu/java/locale/LocaleInformation_es_PE.java,
3963         gnu/java/locale/LocaleInformation_es_PR.java,
3964         gnu/java/locale/LocaleInformation_es_PY.java,
3965         gnu/java/locale/LocaleInformation_es_SV.java,
3966         gnu/java/locale/LocaleInformation_es_US.java,
3967         gnu/java/locale/LocaleInformation_es_UY.java,
3968         gnu/java/locale/LocaleInformation_es_VE.java,
3969         gnu/java/locale/LocaleInformation_et_EE.java,
3970         gnu/java/locale/LocaleInformation_eu_ES.java,
3971         gnu/java/locale/LocaleInformation_fa_IR.java,
3972         gnu/java/locale/LocaleInformation_fi_FI.java,
3973         gnu/java/locale/LocaleInformation_fo_FO.java,
3974         gnu/java/locale/LocaleInformation_fr_BE.java,
3975         gnu/java/locale/LocaleInformation_fr_CA.java,
3976         gnu/java/locale/LocaleInformation_fr_CH.java,
3977         gnu/java/locale/LocaleInformation_fr_FR.java,
3978         gnu/java/locale/LocaleInformation_fr_LU.java,
3979         gnu/java/locale/LocaleInformation_ga_IE.java,
3980         gnu/java/locale/LocaleInformation_gd_GB.java,
3981         gnu/java/locale/LocaleInformation_gl_ES.java,
3982         gnu/java/locale/LocaleInformation_gv_GB.java,
3983         gnu/java/locale/LocaleInformation_he_IL.java,
3984         gnu/java/locale/LocaleInformation_hi_IN.java,
3985         gnu/java/locale/LocaleInformation_hr_HR.java,
3986         gnu/java/locale/LocaleInformation_hu_HU.java,
3987         gnu/java/locale/LocaleInformation_id_ID.java,
3988         gnu/java/locale/LocaleInformation_it_CH.java,
3989         gnu/java/locale/LocaleInformation_it_IT.java,
3990         gnu/java/locale/LocaleInformation_iw_IL.java,
3991         gnu/java/locale/LocaleInformation_ja_JP.java,
3992         gnu/java/locale/LocaleInformation_ka_GE.java,
3993         gnu/java/locale/LocaleInformation_kl_GL.java,
3994         gnu/java/locale/LocaleInformation_ko_KR.java,
3995         gnu/java/locale/LocaleInformation_kw_GB.java,
3996         gnu/java/locale/LocaleInformation_lt_LT.java,
3997         gnu/java/locale/LocaleInformation_lv_LV.java,
3998         gnu/java/locale/LocaleInformation_mi_NZ.java,
3999         gnu/java/locale/LocaleInformation_mk_MK.java,
4000         gnu/java/locale/LocaleInformation_mr_IN.java,
4001         gnu/java/locale/LocaleInformation_mt_MT.java,
4002         gnu/java/locale/LocaleInformation_nl_BE.java,
4003         gnu/java/locale/LocaleInformation_nl_NL.java,
4004         gnu/java/locale/LocaleInformation_nn_NO.java,
4005         gnu/java/locale/LocaleInformation_no_NO.java,
4006         gnu/java/locale/LocaleInformation_oc_FR.java,
4007         gnu/java/locale/LocaleInformation_pl_PL.java,
4008         gnu/java/locale/LocaleInformation_pt_BR.java,
4009         gnu/java/locale/LocaleInformation_pt_PT.java,
4010         gnu/java/locale/LocaleInformation_ro_RO.java,
4011         gnu/java/locale/LocaleInformation_ru_RU.java,
4012         gnu/java/locale/LocaleInformation_ru_UA.java,
4013         gnu/java/locale/LocaleInformation_se_NO.java,
4014         gnu/java/locale/LocaleInformation_sk_SK.java,
4015         gnu/java/locale/LocaleInformation_sl_SI.java,
4016         gnu/java/locale/LocaleInformation_sq_AL.java,
4017         gnu/java/locale/LocaleInformation_sr_YU.java,
4018         gnu/java/locale/LocaleInformation_sv_FI.java,
4019         gnu/java/locale/LocaleInformation_sv_SE.java,
4020         gnu/java/locale/LocaleInformation_ta_IN.java,
4021         gnu/java/locale/LocaleInformation_te_IN.java,
4022         gnu/java/locale/LocaleInformation_tg_TJ.java,
4023         gnu/java/locale/LocaleInformation_tl_PH.java,
4024         gnu/java/locale/LocaleInformation_tr_TR.java,
4025         gnu/java/locale/LocaleInformation_uk_UA.java,
4026         gnu/java/locale/LocaleInformation_ur_PK.java,
4027         gnu/java/locale/LocaleInformation_uz_UZ.java,
4028         gnu/java/locale/LocaleInformation_vi_VN.java,
4029         gnu/java/locale/LocaleInformation_yi_US.java,
4030         gnu/java/locale/LocaleInformation_zh_CN.java,
4031         gnu/java/locale/LocaleInformation_zh_HK.java,
4032         gnu/java/locale/LocaleInformation_zh_SG.java,
4033         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4034         info; from Classpath.
4035
4036         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4037         isPaintPending): New methods.
4038         * gnu/awt/xlib/XFramePeer.java (getState, setState,
4039         setMaximizedBounds): New methods.
4040         (beginLayout, endLayout, isPaintPending): Likewise.
4041         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4042         (requestFocus): Likewise.
4043         (isObscured): Likewise.
4044         (canDetermineObscurity): Likewise.
4045         (coalescePaintEvent): Likewise.
4046         (updateCursorImmediately): Likewise.
4047         (createVolatileImage): Likewise.
4048         (handlesWheelScrolling): Likewise.
4049         (createBuffers): Likewise.
4050         (getBackBuffer): Likewise.
4051         (flip): Likewise.
4052         (destroyBuffers): Likewise.
4053
4054         * Makefile.in: Rebuilt.
4055         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4056         RobotPeer.java.
4057         * gnu/java/awt/GLightweightPeer.java,
4058         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4059         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4060         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4061         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4062         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4063         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4064         java/awt/dnd/peer/DragSourceContextPeer.java,
4065         java/awt/dnd/peer/DropTargetContextPeer.java,
4066         java/awt/peer/ButtonPeer.java,
4067         java/awt/peer/CheckboxMenuItemPeer.java,
4068         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4069         java/awt/peer/ComponentPeer.java,
4070         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4071         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4072         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4073         java/awt/peer/MenuBarPeer.java,
4074         java/awt/peer/MenuComponentPeer.java,
4075         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4076         java/awt/peer/PopupMenuPeer.java,
4077         java/awt/peer/ScrollPanePeer.java,
4078         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4079         java/awt/peer/TextComponentPeer.java,
4080         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4081         New versions from Classpath.
4082         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4083         * java/awt/peer/RobotPeer.java: Likewise.
4084
4085 2003-03-01  Mark Wielaard  <mark@klomp.org>
4086
4087         * java/io/ObjectInputStream.java: Reindent.
4088         * java/io/ObjectOutputStream.java: Likewise.
4089
4090 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4091
4092         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4093         jvalue for each argument. Simplify.
4094         * testsuite/libjava.jni/calls.c (docall),
4095         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4096         misalignment.
4097
4098 2003-02-28  Mark Wielaard  <mark@klomp.org>
4099
4100         * Makefile.am (nat_source_files): Remove
4101         java/io/natObjectOutputStream.cc.
4102         * Makefile.in: Regenerated.
4103         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4104         * java/io/ObjectStreamField.java (typename): New field.
4105         (ObjectStreamField(String, Class)): Initialize new field.
4106         (ObjectStreamField(String, String)): New Constructor.
4107         (getTypeCode): Use new field.
4108         (getTypeString): Use new field.
4109         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4110         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4111         Handle reading of Proxy classes. Never drain(), just write
4112         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4113         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4114         (flush): Call flush(), not just drain().
4115         (writeBoolean): Always use blockDataOutput.
4116         (writeByte): Likewise.
4117         (writeShort): Likewise.
4118         (writeChar): Likewise.
4119         (writeInt): Likewise.
4120         (writeLong): Likewise.
4121         (writeFloat): Likewise.
4122         (writeDouble): Likewise.
4123         (writeBytes): Likewise.
4124         (putfield (put(String,Object))): Throw IllegalArgumentException if
4125         field cannot be found.
4126         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4127         (writeArraySizeAndElements): Write byte[] in one go.
4128         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4129         set BlockDataMode to false.
4130         (annotateProxyClass): New method.
4131         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4132         (getField): No longer native.
4133         (getMethod): Likewise.
4134         (setBlockDataMode): Always drain() on switch, return old mode.
4135         (static): New static code block.
4136         * java/io/natObjectOutputStream.cc: Removed.
4137         * java/io/ObjectInputStream.java (getField): No longer native.
4138         (getMethod): Likewise.
4139         (readObject): Remember and reset old BlockDataMode. Track whether
4140         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4141         TC_LONGSTRING.
4142         (defaultReadObject): Set BlockDataMode to false during readFields.
4143         (resolveClass): Create new SecurityManager if necessary.
4144         Use Class.forName() if null ClassLoader found.
4145         (read(byte[],int,int): Copy remaining bytes to data before calling
4146         readNextBlock().
4147         (readFields): Set and reset BlockDataMode on call_read_method.
4148         Catch NoSuchFieldErrors.
4149         (setBlockDataMode): Return old mode.
4150         (static): New static code block.
4151         * java/io/natObjectInputStream.cc (getField): Removed.
4152         (getMethod): Likewise.
4153
4154 2003-02-27  Michael Koch  <konqueror@gmx.de>
4155
4156         * java/beans/Beans.java,
4157         java/beans/FeatureDescriptor.java
4158         java/beans/PropertyEditorManager.java:
4159         Reformated to GNU style.
4160
4161 2003-02-25  Michael Koch  <konqueror@gmx.de>
4162
4163         * gnu/java/nio/MappedByteFileBuffer.java,
4164         gnu/java/nio/natMappedByteFileBuffer.cc:
4165         New files, both are not compiled yet to get not noncompiling CVS.
4166
4167 2003-02-24  Tom Tromey  <tromey@redhat.com>
4168
4169         * java/util/prefs/AbstractPreferences.java (isUserNode):
4170         Implemented.
4171
4172 2003-02-24  Tom Tromey  <tromey@redhat.com>
4173
4174         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4175         Deprecate.
4176         * java/lang/Thread.java (resume): Deprecate.
4177         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4178         in @deprecated.
4179
4180 2003-02-23  Tom Tromey  <tromey@redhat.com>
4181
4182         * Makefile.in: Rebuilt.
4183         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4184
4185 2003-02-23  Tom Tromey  <tromey@redhat.com>
4186
4187         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4188         libraries): Removed.
4189         (add_library): Removed.
4190         (_load): Don't call add_library.
4191         (loadLibraryInternal): Likewise.
4192         (init): Likewise.
4193         (lookup_data): New struct.
4194         (find_symbol): New function.
4195         (_Jv_FindSymbolInExecutable): Use it.
4196
4197 2002-02-21  Anthony Green  <green@redhat.com>
4198
4199         * java/lang/Thread.java (Thread): New constructor taking stack
4200         size parameter (ignored for now).
4201         * Many methods: Merged GNU Classpath documentation.
4202
4203         * java/lang/Class.java (finalize): throws a Throwable.
4204
4205 2003-02-21  Mark Wielaard  <mark@klomp.org>
4206
4207         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4208         argument is null.
4209
4210 2003-02-21  Mark Wielaard  <mark@klomp.org>
4211
4212         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4213         then 65535 chars throw IllegalArgumentException.
4214
4215 2003-02-21  Mark Wielaard  <mark@klomp.org>
4216
4217         * java/util/zip/ZipFile.java (finalize): New method.
4218
4219 2003-02-21  Michael Koch  <konqueror@gmx.de>
4220
4221         * gnu/java/nio/natSocketChannelImpl.cc:
4222         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4223         <cato@df.lth.se> for pointing to it.
4224
4225 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4226
4227         * java/math/BigInteger.java (euclidInv): Take result array as an
4228         argument.  Updated all callers.
4229         (modInverse): Removed unused variables.
4230
4231 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4232
4233         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4234         config.status.
4235         * configure: Rebuilt.
4236
4237 2003-02-19  Michael Koch  <konqueror@gmx.de>
4238
4239         * gnu/java/nio/natSocketChannelImpl.cc:
4240         Added support for platforms without network support.
4241
4242 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4243
4244         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4245         after config.h.  Use <> for consistency.
4246         * java/lang/natObject.cc: Likewise.
4247         * java/lang/natRuntime.cc: Likewise.
4248         * java/lang/natSystem.cc: Likewise.
4249         * java/util/natTimeZone.cc: Likewise.
4250         * win32.cc: Likewise.
4251         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4252         listen, write, read): Undef to avoid interference from OS macros.
4253
4254 2003-02-19  Michael Koch  <konqueror@gmx.de>
4255
4256         * gnu/java/nio/ByteBufferImpl.java
4257         (ByteBufferImpl): Renamed two variables.
4258         * gnu/java/nio/CharBufferImpl.java
4259         (CharBufferImpl): Renamed two variables.
4260         * gnu/java/nio/DoubleBufferImpl.java
4261         (DoubleBufferImpl): Renamed two variables.
4262         * gnu/java/nio/FloatBufferImpl.java
4263         (FloatBufferImpl): Renamed two variables.
4264         * gnu/java/nio/IntBufferImpl.java
4265         (IntBufferImpl): Renamed two variables.
4266         * gnu/java/nio/LongBufferImpl.java
4267         (LongBufferImpl): Renamed two variables.
4268         * gnu/java/nio/ShortBufferImpl.java
4269         (ShortBufferImpl): Renamed two variables.
4270         * java/nio/CharBuffer.java
4271         (wrap): Fixed arguments to CharBufferImpl constructor.
4272         (hasArray): Only not read-only buffers have backing arrays.
4273         (length): Documentation added.
4274         (subSequence): Documentation added.
4275         * java/nio/DoubleBuffer.java
4276         (hasArray): Only not read-only buffers have backing arrays.
4277         * java/nio/FloatBuffer.java
4278         (hasArray): Only not read-only buffers have backing arrays.
4279         * java/nio/IntBuffer.java
4280         (hasArray): Only not read-only buffers have backing arrays.
4281         * java/nio/LongBuffer.java
4282         (hasArray): Only not read-only buffers have backing arrays.
4283         * java/nio/ShortBuffer.java
4284         (hasArray): Only not read-only buffers have backing arrays.
4285         
4286 2003-02-19  Michael Koch  <konqueror@gmx.de>
4287
4288         * javax/accessibility/AccessibleContext.java
4289         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4290
4291 2003-02-19  Michael Koch  <konqueror@gmx.de>
4292
4293         * java/awt/ScrollPaneAdjustable.java: Reformated.
4294
4295 2003-02-19  Michael Koch <konqueror@gmx.de>
4296
4297         * gnu/awt/j2d/Graphics2DImpl.java
4298         (getFontRenderContext): New method.
4299         (drawGlyphVector): New method.
4300         * java/awt/Graphics2D.java
4301         (getFontRenderContext): New abstract method.
4302         (drawGlyphVector): New abstract method.
4303         
4304 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4305
4306         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4307         if necessary.
4308         
4309         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4310         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4311         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4313         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4315         (setFont, gtkSetFont): add.
4316         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4317         Propagate font to peer.  (setFont): add FIXME comment.
4318
4319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4320         (gtkTextGetSize): fix height, width computation.
4321
4322         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4323         Make X font name a bit less bogus.
4324
4325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4326         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4327
4328         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4329         (processAdjustmentEvent): Adjust value.
4330
4331         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4332         logic errors.
4333
4334         * java/awt/Component.java (setVisible, show, hide): Call show and
4335         hide methods in subclasses.
4336         (getPreferredSize): don't set prefSize before we have peer.
4337
4338         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4339         Guess (0,0) if we don't have peer.
4340
4341
4342 2003-02-18  Michael Koch  <konqueror@gmx.de>
4343
4344         * java/nio/channels/FileChannel.java
4345         (toString): New implementation, added documentation.
4346         (map): Added exception documentation.
4347         (size): Added exception documentation.
4348         (write): New methods, documentation work.
4349         (read): New methods, documentation work.
4350         (implCloseChannel): Rewrote exception documentation.
4351         (force): Throws IOException, added documentation.
4352         (lock): New methods.
4353         (tryLock): New methods.
4354         (position): New methods.
4355         (transferTo): New method.
4356         (transferFrom): New method.
4357         (truncate): New method.
4358         * java/nio/channels/spi/SelectorProvider.java
4359         (provider): Implemented.
4360         * Makefile.am
4361         (ordinary_java_source_files): Added the following files:
4362         gnu/java/nio/DatagramChannelImpl.java
4363         gnu/java/nio/FileChannelImpl.java
4364         gnu/java/nio/PipeImpl.java
4365         gnu/java/nio/SelectionKeyImpl.java
4366         gnu/java/nio/SelectorImpl.java
4367         gnu/java/nio/SelectorProviderImpl.java
4368         gnu/java/nio/ServerSocketChannelImpl.java
4369         gnu/java/nio/SocketChannelImpl.java
4370         java/nio/channels/FileLock.java
4371         (nat_java_source_files): Added the following files:
4372         gnu/java/nio/natFileChannelImpl.cc
4373         gnu/java/nio/natSelectorImpl.cc
4374         gnu/java/nio/natSocketChannelImpl.cc
4375         * Makefile.in: Regenerated.
4376
4377 2003-02-17  Tom Tromey  <tromey@redhat.com>
4378
4379         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4380         * java/awt/image/ImageFilter.java: Likewise.
4381
4382 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4383
4384         * java/math/BigInteger.java (euclidInv): Return array of
4385         `BigInteger's.  Changed all callers.
4386
4387 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4388
4389         * java/util/Properties.java (store): Move the code formerly in
4390         list(), into this method.
4391         (list (PrintStream)): Just call list (PrintWriter) with a 
4392         PrintWriter object constructed from the given PrintStream object.
4393         (list (PrintWriter)): Emulate the output of Properties.list()
4394         as found in JDK 1.3/1.4.
4395
4396 2003-02-17  Michael Koch  <konqueror@gmx.de>
4397
4398         * java/net/DatagramSocket.java
4399         (connect): Merged with classpath.
4400         (disconnect): Merged documentation with classpath.
4401         (receice): Merged documentation with classpath.
4402         (send): Merged documentation with classpath.
4403         
4404 2003-02-17  Michael Koch  <konqueror@gmx.de>
4405
4406         * java/awt/dnd/DragSourceContext.java
4407         (addDragSourceListener): Added documentation.
4408         * java/awt/dnd/DragSourceDragEvent.java
4409         (serialVersionUID): New member variable.
4410         (getDropAction): Reformated.
4411         * java/awt/dnd/DragSourceDropEvent.java
4412         (serialVersionUID): New member variable.
4413         (dropSuccess): Renamed from success for serialization issues.
4414         * java/awt/dnd/DragSourceEvent.java
4415         (serialVersionUID): New member variable.
4416         * java/awt/dnd/DropTarget.java
4417         (serialVersionUID): New member variable.
4418         (DropTarget): Implemented, documentation reworked.
4419         (setComponent): Documentation added.
4420         (getComponent): Documentation added.
4421         (setDefaultActions): Documentation added.
4422         (getDefaultActions): Documentation added.
4423         (addDropTargetListener): Documentation added.
4424         * java/awt/dnd/DropTargetContext.java
4425         (DropTargetContext): Documentation added.
4426         (TransferableProxy.TransferableProxy): New method.
4427         (dropComplete): Fixed documentation.
4428         (getTransferable): Fixed documentation.
4429         (createTransferableProxy): Implemented.
4430         * java/awt/dnd/DropTargetDragEvent.java
4431         (DropTargetDragEvent): Documentation added.
4432         (serialVersionUID): New member variable.
4433         (DropTargetDragEvent): Throw exceptions, documentation added.
4434         (acceptDrag): Implemented.
4435         (getCurrentDataFlavors): Implemented.3yy
4436         (getCurrentDataFlavorsAsList): Implemented.
4437         (isDataFlavorSupported): Implemented.
4438         (rejectDrag): Implemented.
4439         * java/awt/dnd/DropTargetDropEvent.java
4440         (DropTargetDropEvent): Documentation added.
4441         (serialVersionUID): New member variable.
4442         (actions): Renamed from srcActions for serialization issues.
4443         (isLocalTx): Renamed from isLocalTx for serialization issues.
4444         (DropTargetDropEvent): New implementation, throw exceptions,
4445         documentation added.
4446         (getCurrentDataFlavors): Implemented.
4447         (getCurrentDataFlavorsAsList): Implemented.
4448         (isDataFlavorSupported): Implemented.
4449         (getSourceActions): Implemented.
4450         (getDropAction): Implemented.
4451         (getTransferable): Implemented.
4452         (acceptDrop): Implemented.
4453         (rejectDrop): Implemented.
4454         * java/awt/dnd/DropTargetListener.java
4455         (drop): Fixed documentation.
4456         * java/awt/dnd/MouseDragGestureRecognizer.java
4457         (MouseDragGestureRecognizer): Documentation added.
4458
4459 2003-02-17  Michael Koch  <konqueror@gmx.de>
4460
4461         * java/awt/font/FontRenderContext.java,
4462         java/awt/font/ShapeGraphicAttribute.java,
4463         java/awt/font/MultipleMaster.java,
4464         java/awt/font/TransformAttribute.java,
4465         java/awt/font/GlyphJustificationInfo.java,
4466         java/awt/font/LineBreakMeasurer.java,
4467         java/awt/font/TextMeasurer.java,
4468         java/awt/font/TextLayout.java,
4469         java/awt/font/LineMetrics.java,
4470         java/awt/font/TextAttribute.java,
4471         java/awt/font/GlyphMetrics.java,
4472         java/awt/font/OpenType.java,
4473         java/awt/font/GlyphVector.java,
4474         java/awt/font/GraphicAttribute.java,
4475         java/awt/font/ImageGraphicAttribute.java,
4476         java/awt/font/NumericShaper.java: New files.
4477         * Makefile.am
4478         (awt_java_source_files): Added the following files:
4479         java/awt/font/FontRenderContext.java
4480         java/awt/font/ShapeGraphicAttribute.java
4481         java/awt/font/MultipleMaster.java
4482         java/awt/font/TransformAttribute.java
4483         java/awt/font/GlyphJustificationInfo.java
4484         java/awt/font/LineBreakMeasurer.java
4485         java/awt/font/TextMeasurer.java
4486         java/awt/font/TextLayout.java
4487         java/awt/font/LineMetrics.java
4488         java/awt/font/TextAttribute.java
4489         java/awt/font/GlyphMetrics.java
4490         java/awt/font/OpenType.java
4491         java/awt/font/GlyphVector.java
4492         java/awt/font/GraphicAttribute.java
4493         java/awt/font/ImageGraphicAttribute.java
4494         java/awt/font/NumericShaper.java
4495         * Makefile.in: Regenerated.
4496
4497 2003-02-17  Michael Koch  <konqueror@gmx.de>
4498
4499         * java/awt/print/Paper.java
4500         (Paper): Implements Cloneable.
4501         * java/awt/print/PrinterJob.java
4502         (setJobName): Return value must be void.
4503         (print): Throws PrinterException.
4504         
4505 2003-02-16  Tom Tromey  <tromey@redhat.com>
4506
4507         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4508         variable.
4509
4510 2003-02-15  Michael Koch  <konqueror@gmx.de>
4511
4512         * java/awt/datatransfer/DataFlavor.java
4513         (isRepresentationClassByteBuffer): Removed try-catch block.
4514         (isRepresentationClassCharBuffer): Removed try-catch block.
4515         (isRepresentationClassReader): Removed try-catch block.
4516
4517 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4518
4519         * java/nio/charset/Charset.java
4520         (isRegistered): Fixed method args and implementation.
4521         * java/nio/charset/CharsetEncoder.java
4522         (unmappableCharacterAction): New method.
4523
4524 2003-02-15  Michael Koch  <konqueror@gmx.de>
4525
4526         * java/awt/CheckboxMenuItem.java
4527         (CheckBoxMenuItem): Dont implement Serializable.
4528         (getListeners): New method,
4529         (getItemListeners): New method.
4530         * java/awt/Choice.java
4531         (getListeners): New method,
4532         (getItemListeners): New method.
4533         * java/awt/Container.java
4534         (getListeners): Added exception documentation.
4535         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4536         (getFocusTraversalKeys): Added documentation.
4537         (areFocusTraversalKeysSet): Added documentation.
4538         (applyComponentOrientation): Added documentation.
4539         * java/awt/ContainerOrderFocusTraversalPolicy.java
4540         (implicitDownCycleTraversal): Renamed from downCycle for
4541         serialization.
4542         (ContainerOrderFocusTraversalPolicy): Added documentation.
4543         (accept): Reformated.
4544         * java/awt/Dialog.java
4545         (Dialog): Dont implement Serializable.
4546         (Dialog): Added documentation.
4547         * java/awt/Font.java
4548         (Font): Dont use absolute class name.
4549         * java/awt/Frame.java
4550         (Frame): Font implement Serializable.
4551         * java/awt/List.java
4552         (getListeners): New method,
4553         (getActionListeners): New method.       
4554         (getItemListeners): New method.
4555         * java/awt/Menu.java
4556         (countItems): New deprecated method.
4557         * java/awt/Scrollbar.java
4558         (getListeners): New method,
4559         (getAdjustmentListeners): New method,
4560         * java/awt/TextComponent.java
4561         (getListeners): New method,
4562         (getTextListeners): New method,
4563         * java/awt/TextField.java
4564         (getListeners): New method,
4565         (getActionListeners): New method.       
4566         * java/awt/Window.java
4567         (windowFocusListener): New member variable.
4568         (windowStateListener): New member variable.
4569         (getWindowFocusListeners): New method.
4570         (getWindowStateListeners): New method.
4571         (addWindowFocusListener): New method.
4572         (addWindowStateListener): New method.
4573         (removeWindowFocusListener): New method.
4574         (removeWindowStateListener): New method.
4575         * java/awt/datatransfer/DataFlavor.java
4576         (isRepresentationClassByteBuffer): New method.
4577         (isRepresentationClassCharBuffer): New method.
4578         (isRepresentationClassReader): New method.
4579
4580 2003-02-14  Mark Wielaard  <mark@klomp.org>
4581
4582         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4583         zero when there is an exponent and the significant is zero.
4584         (divide): Always set scale to newScale even in special ZERO case.
4585
4586 2003-02-14  Tom Tromey  <tromey@redhat.com>
4587
4588         * java/lang/System.java (properties): Use Properties.clone.
4589         (setProperties): Likewise.
4590
4591 2003-02-14  Michael Koch  <konqueror@gmx.de>
4592
4593         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4594         * gnu/java/nio/ServerSocketChannelImpl.java
4595         (SocketAccept): Removed.
4596         (accept): Commented out use of SocketAccept.
4597
4598 2003-02-13  Tom Tromey  <tromey@redhat.com>
4599
4600         * verify.cc (state::seen_subrs): New field.
4601         (state::state): Initialize it.
4602         (state::clean_subrs): New method.
4603         (state::~state): Call it.
4604         (state::copy): Copy subroutine list.
4605         (state::add_subr): New method.
4606         (state::merge): Only register a change if the current subroutine
4607         hasn't yet been noted.
4608
4609 2003-02-13  Mark Wielaard  <mark@klomp.org>
4610
4611         * java/io/InputStreamReader.java (getEncoding): Return null when
4612         closed.
4613         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4614
4615 2003-02-13  Mark Wielaard  <mark@klomp.org>
4616  
4617         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4618         is zero.
4619
4620 2003-02-13  Mark Wielaard  <mark@klomp.org>
4621
4622         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4623         next byte cannot be buffered.
4624
4625 2003-02-13  Michael Koch  <konqueror@gmx.de>
4626  
4627         * java/awt/Label.java
4628         (Label): Don't implement Serializable directly.
4629         (addNotify): Fixed typo in documentation.
4630         * java/awt/List.java
4631         (List): Don't implement Serializable directly.
4632         * java/awt/PopupMenu.java
4633         (PopupMenu): Don't implement Serializable directly.
4634         * java/awt/ScrollPane.java
4635         (ScrollPane): Don't implement Serializable directly.
4636         * java/awt/Scrollbar.java
4637         (Scrollbar): Don't implement Serializable directly.
4638         * java/awt/TextArea.java
4639         (preferredSize): Fixed method arguments.
4640         * java/awt/TextField.java
4641         (TextField): Don't implement Serializable directly.
4642         * java/awt/color/ICC_ColorSpace.java
4643         (fromCIOXYZ): Documentation added.
4644         (getMinValue): Documentation added.
4645         (getMaxValue): Documentation added.
4646         * java/awt/datatransfer/DataFlavor.java
4647         (isMimeTypeEqual): May not be final.
4648         (clone): Throws CloneNotSupportedException.
4649         (getReaderForText): Don't throws UnsupportedEncodingException.
4650
4651 2003-02-13  Michael Koch  <konqueror@gmx.de>
4652  
4653         * gnu/java/awt/peer/gtk/GdkGraphics.java
4654         (drawString): New stubbed method.
4655         * java/awt/Graphics.java
4656         (drawString): New method.
4657
4658 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4659
4660         PR libgcj/9271:
4661         * java/security/SecureRandom.java (next): Avoid bias in results.
4662
4663 2003-02-13  Michael  <konqueror@gmx.de>
4664
4665         * gnu/java/nio/FileChannelImpl.java
4666         (lengthInternal): Must be native.
4667         (size): Check if channel is already closed.
4668         (implCloseChannel): Reformated.
4669         (read): w was unused, removed it.
4670         (read): Removed.
4671         (read): New method.
4672         (write): New method.
4673         (map): Check arguments.
4674         (force): Throws IOException, check if channel is closed.
4675         (transferTo): New method.
4676         (transferFrom): New method.
4677         (lock): New method.
4678         (tryLock): New method.
4679         (position): New method.
4680         (truncate): New method.
4681         (nio_mmap_file): Uncommented.
4682         (nio_munmap_file): Uncommented.
4683         (nio_msync): Uncommented.
4684         * gnu/java/nio/natFileChannelImpl.cc: New file.
4685         
4686 2003-02-13  Michael Koch  <konqueror@gmx.de>
4687
4688         * java/nio/ByteBuffer.java
4689         (endian): New member variable.
4690         (get): New methods.
4691         (equals): New method.
4692         (compareTo): New method.
4693         (order): New methods.
4694         (compact): New method.
4695         (isDirect): New method.
4696         (slice): New method.
4697         (duplicate): New method.
4698         (asReadOnlyBuffer): New method.
4699         (asCharBuffer): New method.
4700         (asDoubleBuffer): New method.
4701         (asFloatBuffer): New method.
4702         (asIntBuffer): New method.
4703         (asLongBuffer): New method.
4704         (asShortBuffer): New method.
4705         (get*): New methods.
4706         (put*): New methods.
4707         (toString): New method.
4708         * java/nio/CharBuffer.java
4709         (CharBuffer): Implement Comparable instead of Cloneable.
4710         (get): May not be final.
4711         (put): May not be final.
4712         
4713 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4714
4715         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4716         lastIndexOf( ) instead of indexOf( ) to find the colon before
4717         the line number, because Win32 file names might contain a 
4718         drive letter and a colon at the start of an absolute path.
4719
4720 2003-02-13  Michael Koch  <konqueror@gmx.de>
4721
4722         * gnu/java/nio/natSocketChannelImpl.cc
4723         (SocketConnect): This is not implemented yet.
4724         (SocketBind): This is not implemented yet.
4725
4726 2003-02-13  Michael Koch  <konqueror@gmx.de>
4727
4728         * gnu/java/nio/natByteBufferImpl.cc,
4729         gnu/java/nio/natCharBufferImpl.cc,
4730         gnu/java/nio/natDoubleBufferImpl.cc,
4731         gnu/java/nio/natFloatBufferImpl.cc,
4732         gnu/java/nio/natIntBufferImpl.cc,
4733         gnu/java/nio/natLongBufferImpl.cc,
4734         gnu/java/nio/natShortBufferImpl.cc:
4735         Added copyright and license.
4736         * java/nio/DoubleBuffer.java,
4737         java/nio/FloatBuffer.java,
4738         java/nio/IntBuffer.java,
4739         java/nio/LongBuffer.java,
4740         java/nio/ShortBuffer.java
4741         (array): Throw exceptions.
4742         (arrayOffset): Throw exceptions.
4743
4744 2003-02-13  Michael Koch  <konqueror@gmx.de>
4745  
4746         * gnu/java/util/prefs/FileBasedFactory.java,
4747         gnu/java/util/prefs/MemmoryBasedFactory.java,
4748         gnu/java/util/prefs/MemoryBasedPreferences.java,
4749         gnu/java/util/prefs/NodeReader.java,
4750         gnu/java/util/prefs/NodeWriter.java,
4751         java/util/prefs/AbstractPreferences.java,
4752         java/util/prefs/BackingStoreException.java,
4753         java/util/prefs/InvalidPreferencesFormatException.java,
4754         java/util/prefs/NodeChangeEvent.java,
4755         java/util/prefs/NodeChangeListener.java,
4756         java/util/prefs/PreferenceChangeEvent.java,
4757         java/util/prefs/PreferenceChangeListener.java,
4758         java/util/prefs/Preferences.java,
4759         java/util/prefs/PreferencesFactory.java:
4760         New files, all merged from classpath.
4761         * Makefile.am
4762         (ordinary_java_source_files): Added the following files:
4763         gnu/java/util/prefs/FileBasedFactory.java,
4764         gnu/java/util/prefs/MemmoryBasedFactory.java,
4765         gnu/java/util/prefs/MemoryBasedPreferences.java,
4766         gnu/java/util/prefs/NodeReader.java,
4767         gnu/java/util/prefs/NodeWriter.java,
4768         (core_java_source_files): Added the following files:
4769         java/util/prefs/AbstractPreferences.java,
4770         java/util/prefs/BackingStoreException.java,
4771         java/util/prefs/InvalidPreferencesFormatException.java,
4772         java/util/prefs/NodeChangeEvent.java,
4773         java/util/prefs/NodeChangeListener.java,
4774         java/util/prefs/PreferenceChangeEvent.java,
4775         java/util/prefs/PreferenceChangeListener.java,
4776         java/util/prefs/Preferences.java,
4777         java/util/prefs/PreferencesFactory.java
4778         * Makefile.in: Regenerated.
4779  
4780 2003-02-13  Michael Koch  <konqueror@gmx.de>
4781
4782         * java/net/NetPermission.java
4783         (NetPermission): Make doucmentation match the method declaration.
4784         * java/net/NetworkInterface.java
4785         (equals): Reformated for GNU coding style.
4786         * java/net/ServerSocket.java: Merged with classpath.
4787         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4788         * java/net/SocketImpl.java
4789         (localPort): Merged with classpath (initialize with -1).
4790         * java/net/SocketPermission.java: Merged with classpath (reindented).
4791         * java/net/URLDecoder.java: Merged with classpath (reindented).
4792
4793 2003-02-13  Michael Koch  <konqueror@gmx.de>
4794
4795         * java/awt/GridBagConstraints.java
4796         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4797         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4798         * java/awt/KeyboardFocusManager.java
4799         (setGlobalCurrentFocusCycleRoot): Must be public.
4800         * java/awt/MenuComponent.java
4801         (MenuComponent): Must be public.
4802         * java/awt/Toolkit.java:
4803         Added some empty lines to make documentation more readable.
4804         (getFontPeer): Added @deprecated.
4805         (getColorModel): Added exception documentation.
4806         (getProperty): Fixed documentation.
4807  
4808 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4809
4810         * configure.host (alpha*-*): Default to -mieee.
4811         * configure.in (IEEESPEC): New.
4812         * libgcj.spec.in (jc1): Add IEEESPEC.
4813         * configure: Rebuild.
4814
4815 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4816
4817         * include/win32.h: Include ws2tcpip.h instead of
4818         winsock.h to obtain definition of the socklen_t type.
4819         Remove IP_TOS definition - not needed with ws2tcpip.h
4820         (_Jv_connect): Correct slight formatting error.
4821
4822 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4823
4824         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4825         size of the arguments for a JNI function. For Win32,
4826         modify to search for all forms of possible exported
4827         names of an stdcall JNI function.
4828         (_Jv_JNIMethod::call): Modify to calculate the size
4829         of the arguments passed to a JNI function and pass
4830         it to _Jv_LookupJNIMethod.
4831
4832 2003-02-12  Michael Koch  <konqueror@gmx.de>
4833
4834         * java/nio/channels/Channels.java: New file.
4835         * Makefile.am
4836         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4837         * Makefile.in: Regenerated.
4838
4839 2003-02-12  Michael Koch  <konqueror@gmx.de>
4840
4841         * java/nio/ByteBuffer.java
4842         (allocate): Implemented.
4843         (wrap): Implemented.
4844         * java/nio/CharBuffer.java:
4845         Some documentation added and reworked.
4846         (endian): Removed.
4847         (allocate): Implemented.
4848         (wrap): Implemented.
4849         (array): Throw exceptions.
4850         (arrayOffset): Throw exceptions.
4851         (toString): Implemented.
4852         (length): Implemented.
4853         (put): Implemented.
4854         (charAt): Implemented.
4855
4856 2003-02-11  John Leuner  <jewel@debian.org>
4857
4858         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4859         reads from end of file.
4860
4861 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4862
4863         * java/io/natFileDescriptorWin32.cc 
4864         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4865         returns with Win32 error code ERROR_BROKEN_PIPE.
4866
4867 2003-02-11  Michael Koch  <konqueror@gmx.de>
4868
4869         * Makefile.in
4870         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4871
4872 2003-02-11  Michael Koch  <konqueror@gmx.de>
4873
4874         * gnu/java/nio/ByteBufferImpl.java:
4875         Reformated and removed some code.
4876         (backing_buffer): Removed.      
4877         (array_offset): Removed.
4878         (ro): Renamed to readOnly.
4879         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4880         * gnu/java/nio/CharBufferImpl.java:
4881         Reformated and removed some code.
4882         (array_offset): Removed.
4883         (ro): Renamed to readOnly.
4884         (CharBufferImpl): Use parent constructor, initialize readOnly.
4885         (inc_pos): Removed.
4886         (order): New method.
4887         * gnu/java/nio/DoubleBufferImpl.java:
4888         Reformated and removed some code.
4889         (array_offset): Removed.
4890         (ro): Renamed to readOnly.
4891         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4892         (inc_pos): Removed.
4893         (order): New method.
4894         * gnu/java/nio/FloatBufferImpl.java:
4895         Reformated and removed some code.
4896         (array_offset): Removed.
4897         (ro): Renamed to readOnly.
4898         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4899         (inc_pos): Removed.
4900         (order): New method.
4901         * gnu/java/nio/IntBufferImpl.java:
4902         Reformated and removed some code.
4903         (array_offset): Removed.
4904         (ro): Renamed to readOnly.
4905         (IntBufferImpl): Use parent constructor, initialize readOnly.
4906         (inc_pos): Removed.
4907         (order): New method.
4908         * gnu/java/nio/LongBufferImpl.java:
4909         Reformated and removed some code.
4910         (array_offset): Removed.
4911         (ro): Renamed to readOnly.
4912         (LongBufferImpl): Use parent constructor, initialize readOnly.
4913         (inc_pos): Removed.
4914         (order): New method.
4915         * gnu/java/nio/ShortBufferImpl.java:
4916         Reformated and removed some code.
4917         (array_offset): Removed.
4918         (ro): Renamed to readOnly.
4919         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4920         (inc_pos): Removed.
4921         (order): New method.
4922         * Makefile.am
4923         (ordinary_java_source_files): Added the following files:
4924         gnu/java/nio/ByteBufferImpl.java
4925         gnu/java/nio/CharBufferImpl.java
4926         gnu/java/nio/DoubleBufferImpl.java
4927         gnu/java/nio/FloatBufferImpl.java
4928         gnu/java/nio/IntBufferImpl.java
4929         gnu/java/nio/LongBufferImpl.java
4930         gnu/java/nio/ShortBufferImpl.java
4931         java/nio/DoubleBuffer.java
4932         java/nio/FloatBuffer.java
4933         java/nio/IntBuffer.java
4934         java/nio/LongBuffer.java
4935         java/nio/ShortBuffer.java
4936         (nat_source_files): Added the following files:
4937         gnu/java/nio/natByteBufferImpl.cc
4938         gnu/java/nio/natCharBufferImpl.cc
4939         gnu/java/nio/natDoubleBufferImpl.cc
4940         gnu/java/nio/natFloatBufferImpl.cc
4941         gnu/java/nio/natIntBufferImpl.cc
4942         gnu/java/nio/natLongBufferImpl.cc
4943         gnu/java/nio/natShortBufferImpl.cc
4944         * Makefile.in: Regenerated.
4945
4946 2003-02-11  Michael Koch  <konqueror@gmx.de>
4947
4948         * gnu/java/nio/natCharBufferImpl.cc
4949         (nio_cast): Removed.
4950         (nio_put_*): Removed.
4951         (nio_get_*): Removed.
4952         * gnu/java/nio/natDoubleBufferImpl.cc
4953         (nio_cast): Removed.
4954         (nio_put_*): Removed.
4955         (nio_get_*): Removed.
4956         * gnu/java/nio/natFloatBufferImpl.cc
4957         (nio_cast): Removed.
4958         (nio_put_*): Removed.
4959         (nio_get_*): Removed.
4960         * gnu/java/nio/natIntBufferImpl.cc
4961         (nio_cast): Removed.
4962         (nio_put_*): Removed.
4963         (nio_get_*): Removed.
4964         * gnu/java/nio/natLongBufferImpl.cc
4965         (nio_cast): Removed.
4966         (nio_put_*): Removed.
4967         (nio_get_*): Removed.
4968         * gnu/java/nio/natShortBufferImpl.cc
4969         (nio_cast): Removed.
4970         (nio_put_*): Removed.
4971         (nio_get_*): Removed.
4972         * gnu/java/nio/SelectorProviderImpl.java
4973         (openDatagramChannel): Throws IOException.
4974         (openPipe): Throws IOException.
4975         (openSelector): Throws IOException.
4976         (openServerSocketChannel): Throws IOException.
4977         (openSocketChannel): Throws IOException.
4978         * gnu/java/nio/ServerSocketChannelImpl.java
4979         (ServerSocketChannelImpl): Throws IOException.
4980         (implCloseSelectableChannel): Throws IOException.
4981         (implConfigureBlocking): Throws IOException.
4982         * java/nio/ByteBuffer.java
4983         (readOnly): Removed.
4984         (hasArray): Use isReadOnly() instead of readOnly.
4985         (array): Use isReadOnly() instead of readOnly.
4986         (arrayOffset): Use isReadOnly() instead of readOnly.
4987         * java/nio/CharBuffer.java
4988         (CharBuffer): Implements Cloneable and CharSequence.
4989
4990 2003-02-11  Michael Koch  <konqueror@gmx.de>
4991
4992         * java/nio/DoubleBuffer.java
4993         (DoubleBuffer): Implements Comparable.
4994         (endian): Removed.
4995         (array_offset): New member variable.
4996         (DoubleBuffer): New constuctor.
4997         (get): May not be final.
4998         (put): May not be final.
4999         (arrayOffset): Implemented.
5000         (order): Made abstract.
5001         (order): Removed.
5002         (as*Buffer): Removed.
5003         (get*): Removed.
5004         (put*): Removed.
5005         * java/nio/FloatBuffer.java
5006         (FloatBuffer): Implements Comparable.
5007         (endian): Removed.
5008         (array_offset): New member variable.
5009         (FloatBuffer): New constuctor.
5010         (get): May not be final.
5011         (put): May not be final.
5012         (arrayOffset): Implemented.
5013         (order): Made abstract.
5014         (order): Removed.
5015         (as*Buffer): Removed.
5016         (get*): Removed.
5017         (put*): Removed.
5018         * java/nio/IntBuffer.java
5019         (IntBuffer): Implements Comparable.
5020         (endian): Removed.
5021         (array_offset): New member variable.
5022         (IntBuffer): New constuctor.
5023         (get): May not be final.
5024         (put): May not be final.
5025         (arrayOffset): Implemented.
5026         (order): Made abstract.
5027         (order): Removed.
5028         (as*Buffer): Removed.
5029         (get*): Removed.
5030         (put*): Removed.
5031         * java/nio/LongBuffer.java
5032         (LongBuffer): Implements Comparable.
5033         (endian): Removed.
5034         (array_offset): New member variable.
5035         (LongBuffer): New constuctor.
5036         (get): May not be final.
5037         (put): May not be final.
5038         (arrayOffset): Implemented.
5039         (order): Made abstract.
5040         (order): Removed.
5041         (as*Buffer): Removed.
5042         (get*): Removed.
5043         (put*): Removed.
5044         * java/nio/ShortBuffer.java
5045         (ShortBuffer): Implements Comparable.
5046         (endian): Removed.
5047         (array_offset): New member variable.
5048         (ShortBuffer): New constuctor.
5049         (get): May not be final.
5050         (put): May not be final.
5051         (arrayOffset): Implemented.
5052         (order): Made abstract.
5053         (order): Removed.
5054         (as*Buffer): Removed.
5055         (get*): Removed.
5056         (put*): Removed.
5057
5058 2003-02-11   Michael Koch  <konqueror@gmx.de>
5059
5060         * java/nio/channels/SelectionKey.java
5061         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5062         values.
5063
5064 2003-02-11  Michael Koch  <konqueror@gmx.de>
5065
5066         * java/nio/channels/DatagramChannel.java
5067         (write): Throws IOException.
5068         (connect): Throws IOException.
5069         (disconnect): Throws IOException.
5070         (read): Throws IOException.
5071         (receive): Throws IOException.
5072         (send): Throws IOException.
5073         * java/nio/channels/Pipe.java
5074         (open): Throws IOException.
5075         * java/nio/channels/SelectableChannel.java
5076         (configureBlocking): Throws IOException.
5077         * java/nio/channels/ServerSocketChannel.java
5078         (accept): Throws IOException.
5079         * java/nio/channels/SocketChannel.java
5080         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5081         GatheringByteChannel.
5082         (read): Throws IOException.
5083         (write): Throws IOException.
5084         (finishConnect): Throws IOException.
5085         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5086         (end): Throws AsynchronousCloseException.
5087         * java/nio/channels/spi/AbstractSelectableChannel.java
5088         (configureBlocking): Throws IOException.
5089         (implCloseChannel): Throws IOException.
5090         (implCloseSelectableChannel): Throws IOException.
5091         (implConfigureBlocking): Throws IOException.
5092         * java/nio/channels/spi/SelectorProvider.java
5093         (openDatagramChannel): Throws IOException.
5094         (openPipe): Throws IOException.
5095         (openSelector): Throws IOException.
5096         (openServerSocketChannel): Throws IOException.
5097         (openSocketChannel): Throws IOException.
5098
5099 2003-02-11  Michael Koch  <konqueror@gmx.de>
5100
5101         * gnu/java/nio/FileLockImpl.java,
5102         java/nio/channels/FileLock.java: New files.
5103
5104 2003-02-11  Michael Koch  <konqueror@gmx.de>
5105
5106         * java/nio/charset/IllegalCharsetNameException.java
5107         (serialVersionUID): New member variable.
5108         (charsetName): New member variable.
5109         (IllegalCharsetException): New implementation.
5110         (getCharsetName): New implementation.
5111         * java/nio/charset/UnsupportedCharsetException.java
5112         (serialVersionUID): New member variable.
5113         (charsetName): New member variable.
5114         (UnsupportedCharsetException): New implementation.
5115         (getCharsetName): New implementation.
5116
5117 2003-02-10  Tom Tromey  <tromey@redhat.com>
5118
5119         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5120         (ex): Renamed from sqlException.
5121
5122 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5123
5124         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5125         method used to ensure seeding has occurred and that a specific 
5126         seed can be set and used.
5127
5128 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5129
5130         * java/lang/Win32Process.java (destroy): Declare as native.
5131         (hasExited): New native method.
5132         (exitValue): Define.
5133         (getErrorStream): Likewise.
5134         (getInputStream): Likewise.
5135         (getOutputStream): Likewise.
5136         (waitFor): Declare as native.
5137         (startProcess): New native method.
5138         (cleanup): Likewise.
5139         (ConcreteProcess): Define.
5140         (outputStream, inputStream, errorStream): New members.
5141         (procHandle, exitCode): Likewise.
5142
5143         * java/lang/natWin32Process.cc
5144         (java::lang::ConcreteProcess::cleanup): Define.
5145         (java::lang::ConcreteProcess::destroy): Likewise.
5146         (java::lang::ConcreteProcess::hasExited): Likewise.
5147         (java::lang::ConcreteProcess::waitFor): Likewise.
5148         (new_string): Likewise.
5149         (java::lang::ConcreteProcess::startProcess): Likewise.
5150
5151 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5152
5153         * java/math/BigInteger.java:
5154         Updated notice to include years 2002 and 3.
5155         Added 2 private (int) arrays with values from the HAC (Handbook of
5156         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5157         and t[] that contains nbr. of tests --used in isProbablePrime().
5158
5159         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5160
5161         * java/math/BigInteger.java (make(int[],int), add(int,int),
5162         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5163         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5164         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5165         make(long).
5166
5167         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5168         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5169         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5170         BIs and returns void.
5171         (modInverse(BI)): Use new signatures of euclidInv().
5172
5173         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5174         static small primes instead of remainder().
5175         Use pre-computed max nbr of trials based on bitlength of BI to test.
5176         Use pre-computed small primes for the trial tests instead of random
5177         numbers.
5178
5179         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5180         not used.
5181
5182         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5183         invoacation of MPN.chars_per_word().  not used.
5184
5185         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5186         local var and used where needed.
5187
5188         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5189         Combined declaration with initialisation of locals.
5190         Removed unused var.
5191
5192         * java/math/BigInteger.java: Style changes
5193         (pow(int)): Removed 'else' keyword.
5194         (toString(int)): idem.
5195         (doubleValue()): idem.
5196         (bitLength()): idem.
5197         (equals(Object)): Use static methods name in same class w/o prepending
5198         class name.
5199         (doubleValue()): idem.
5200         (setNegative(BI)): idem.
5201         (negate()): idem.
5202         (and(BI,int)): idem.
5203         (and(BI)): idem.
5204         (gcd(BI)): idem.
5205         (byteArrayToIntArray()): Removed casting to (int). this is
5206         std. behaviour.
5207         (canonicalize()): idem.
5208         (alloc(int)): Always instantiate a new BI.
5209
5210 2003-02-10  Tom Tromey  <tromey@redhat.com>
5211
5212         * java/sql/Timestamp.java (compareTo(Object)): New method.
5213         (compareTo(Timestamp)): Likewise.
5214         (serialVersionUID): Updated.
5215
5216 2003-02-07  Mark Wielaard  <mark@klomp.org>
5217
5218         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5219         when verify is true.
5220         (JarFile(File, boolean)): Likewise.
5221         (manifestRead): Set manifestRead field correctly.
5222
5223 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5224
5225         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5226         tests; see patch #1016 on Savannah.
5227
5228 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5229
5230         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5231         (toString): do not return Strings starting with . and - erroneously.
5232         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5233         DiagBigDecimal.
5234
5235 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5236
5237         * java/beans/PropertyDescriptor.java
5238         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5239         methods.
5240         (PropertyDescriptor(String, Class, String, String)): Likewise.
5241         (PropertyDescriptor(String, Method, Method): Factor out getter and
5242         setter method sanity checks into new method.
5243         (findMethods): Don't do parameter sanity checking of get method here.
5244         (checkMethods): New method.
5245
5246 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5247
5248         * java/beans/PropertyDescriptor.java: Reformat.
5249
5250 2003-02-04  Tom Tromey  <tromey@redhat.com>
5251
5252         * java/io/PipedOutputStream.java (flush): Declare as throwing
5253         IOException.
5254         (close): Likewise.
5255         * java/io/PipedWriter.java (close): Declare as throwing
5256         IOException.
5257         * java/io/StringWriter.java (close): Declare as throwing
5258         IOException.
5259
5260 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5261
5262         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5263         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5264         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5265         "_JNI_OnLoad@8" (MSVC).
5266
5267 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5268
5269         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5270         convention on Win32 to invoke native JNI methods.
5271
5272 2003-02-03  Andrew Haley  <aph@redhat.com>
5273
5274         * configure.host (x86_64): Enable interpreter.
5275
5276 2003-02-03  Andrew Haley  <aph@redhat.com>
5277
5278         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5279         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5280         * configure.in (BACKTRACESPEC): New.
5281         * configure: Regenerate.
5282
5283 2003-02-02  Tom Tromey  <tromey@redhat.com>
5284
5285         * configure: Rebuilt.
5286         * configure.in (TOOLKIT) [xlib]: Set correctly.
5287
5288         * Makefile.in: Rebuilt.
5289         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5290         libstdc++.
5291
5292 2003-01-31  Mark WIelaard  <mark@klomp.org>
5293
5294         * Makefile.in: Rebuilt.
5295         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5296
5297 2003-01-31  Tom Tromey  <tromey@redhat.com>
5298
5299         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5300         cast to element type.
5301         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5302         (_Jv_JNI_GetObjectArrayElement): Likewise.
5303
5304         * Makefile.in: Rebuilt.
5305         * Makefile.am (cond_x_ltlibrary): Renamed library to
5306         lib-gnu-awt-xlib.la.
5307         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5308         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5309         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5310         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5311         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5312         (lib_gnu_awt_xlib_la_LINK): Likewise.
5313         (install-exec-hook): Removed.
5314         (lib-gnu-awt-xlib.la): Renamed.
5315
5316 2003-01-31  Tom Tromey  <tromey@redhat.com>
5317
5318         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5319         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5320         aclocal.m4 and lost in some merge.
5321
5322         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5323         Don't try to find graphics configuration.
5324         * java/awt/Toolkit.java (default_toolkit_name): Use new
5325         Configuration entry.
5326         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5327         New global.
5328         * configure: Rebuilt.
5329         * configure.in (TOOLKIT): New subst.
5330         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5331         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5332         directory.  Make output directories for .c files.
5333         * Makefile.in: Rebuilt.
5334         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5335         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5336         (all_java_source_files): Added new sources.
5337         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5338         (gtk_c_files): New macro.
5339         (gtk_c_source_files): New macro.
5340         (cond_gtk_ltlibrary): New macro.
5341         ($(gtk_c_files)): New target.
5342         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5343         (gtk_awt_peer_sources): New macro.
5344         (gtk_c_headers): New macro.
5345         ($(gtk_c_headers)): New target.
5346         (ACLOCAL_AMFLAGS): New macro.
5347         * gtk.m4, glib.m4, libart.m4: New files.
5348         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5349         gnu/java/awt/peer/gtk/GdkGraphics.java,
5350         gnu/java/awt/peer/gtk/GtkArg.java,
5351         gnu/java/awt/peer/gtk/GtkArgList.java,
5352         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5353         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5354         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5355         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5356         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5357         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5358         gnu/java/awt/peer/gtk/GtkClipboard.java,
5359         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5360         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5361         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5362         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5363         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5364         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5365         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5366         gnu/java/awt/peer/gtk/GtkImage.java,
5367         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5368         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5369         gnu/java/awt/peer/gtk/GtkListPeer.java,
5370         gnu/java/awt/peer/gtk/GtkMainThread.java,
5371         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5372         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5373         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5374         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5375         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5376         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5377         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5378         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5379         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5380         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5381         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5382         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5383         gnu/java/awt/peer/gtk/GtkToolkit.java,
5384         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5385         gnu/java/awt/peer/gtk/TestAWT.java,
5386         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5388         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5405         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5406         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5407         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5408         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5414         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5415         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5416         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5417         jni/classpath/native_state.c, jni/classpath/native_state.h,
5418         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5419
5420 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5421
5422         * java/util/Properties.java (load): Ignore backslash before EOF.
5423
5424 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5425
5426         * java/lang/natClass.cc (initializeClass): Check tables when
5427         (state == JV_STATE_IN_PROGRESS).
5428         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5429         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5430         interpreted classes.
5431         (linkClass0): Use _Jv_WaitForState.
5432
5433 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5434
5435         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5436         object when finished.
5437
5438 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5439
5440         * libjava/configure.host: Disable can_unwind_signal on darwin.
5441
5442 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5443
5444         Fixes PR java/9254:
5445         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5446         additionally containing id of the owner thread as well as
5447         the number of nested times the thread has acquired the mutex.
5448         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5449         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5450         (_Jv_MutexUnlock): Check if really the owner thread, reset
5451         owner thread id to 0 before leaving, if leaving for the last
5452         time.
5453         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5454         refcount.
5455         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5456         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5457         the passed mutex.
5458         Pass handle of the broadcast event, instead of a pointer to it
5459         in Win32 ResetEvent( ) call.
5460         Remove incorrect return values.
5461         (_Jv_CondDestroy): Close both event handles and delete
5462         critical section.
5463         (_Jv_CondNotify): Check if really the owner thread.
5464         (_Jv_CondNotifyAll): Check if really the owner thread.
5465         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5466         (really_start): Use SetEvent( ) to signal daemon_cond.
5467         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5468         WaitForSingleObject( ) instead to wait for daemon_cond to be
5469         signalled.
5470
5471 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5472
5473         * configure.in: Specifically define HAVE_BACKTRACE if building
5474         for MinGW.
5475         * include/win32.h: Remove HAVE_BACKTRACE definition.
5476         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5477         * configure: Rebuilt.
5478
5479 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5480
5481         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5482         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5483         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5484         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5485         * Makefile.in, configure: Rebuilt.
5486
5487 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5488
5489         Fixes PR java/9253:
5490         * java/io/natFileWin32.cc (performList): Append only "*.*"
5491         if the canonical file path already has a "\" at the end.
5492
5493 2003-01-24  Tom Tromey  <tromey@redhat.com>
5494
5495         * defineclass.cc (handleMethodsEnd): Precompute code for static
5496         method.
5497         (handleCodeAttribute): Likewise.
5498         * resolve.cc (ncode): Use run_class for unsynchronized static
5499         methods.
5500         * include/java-interp.h (class _Jv_InterpMethod): Declare
5501         run_class.
5502         * interpret.cc (run_synch_class): Initialize class.
5503         (run) [insn_invokestatic]: Don't initialize class.
5504         [insn_anewarray]: Likewise.
5505         [insn_multianewarray]: Likewise.
5506         (run_class): New function.
5507
5508 2003-01-24  Tom Tromey  <tromey@redhat.com>
5509
5510         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5511         comment.
5512
5513 2003-01-22  Andrew Haley  <aph@redhat.com>
5514
5515         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5516         * configure.host (CHECKREFSPEC): Define for x86_64.
5517
5518 2003-01-21  Tom Tromey  <tromey@redhat.com>
5519
5520         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5521         search at 2, not 3.
5522
5523 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5524
5525         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5526         looking at any characters.
5527         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5528         be used.
5529         (isAbsolute): Check path's length as well.
5530
5531 2003-01-17  Mark Wielaard  <mark@klomp.org>
5532
5533         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5534         (nat_source_files): Add natVMObjectStreamClass.cc.
5535         * Makefile.in: Regenerated.
5536         * gcj/javaprims.h (namespace java): Regenerated.
5537         * java/io/ObjectStreamClass.java (getClassUID): Call
5538         VMObjectStreamClass.hasClassInitializer().
5539         (hasClassInitializer): Removed.
5540         * java/io/VMObjectStreamClass.java: New class.
5541         * java/io/natVMObjectStreamClass.cc: New file.
5542         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5543
5544 2003-01-16  Mark Wielaard  <mark@klomp.org>
5545
5546         * java/net/SocketImpl.java (toString): Don't explicitly call
5547         toString() on possible null address.
5548
5549 2003-01-16  Michael Koch  <konqueror@gmx.de>
5550
5551         * java/net/MulticastSocket.java
5552         (setInterface): Reindented.
5553
5554 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5555
5556         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5557         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5558         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5559         translateY arguments.  Implement.
5560         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5561         down translation arguments.
5562         (drawPolyline, drawPolygon): Fix incorrect tests.
5563         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5564         translateX and translateY arguments.
5565
5566 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5567
5568         * Makefile.in: Rebuilt.
5569         * Makefile.am (xlib_includes): New macro.
5570         (INCLUDES): Use it.
5571
5572 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5573
5574         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5575         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5576         16-bit display mode.
5577
5578 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5579
5580         * java/awt/CardLayout.java (show): Rewrote.
5581         (gotoComponent): Removed `target' argument.  Simplified code.
5582         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5583         Changed all callers.
5584         (NONE): Removed.
5585         
5586 2003-01-14  Michael Koch  <konqueror@gmx.de>
5587
5588         * java/net/InetSocketAddress.java
5589         (serialVersionUID): New member variable.
5590         * java/net/NetPermission.java
5591         (NetPermission): Dont implement java.io.Serialization directly.
5592         * java/net/SocketAddress.java:
5593         (serialVersionUID): Documentation added.
5594         
5595 2003-01-14  Michael Koch  <konqueror@gmx.de>
5596
5597         * java/awt/Label.java
5598         (Label): Implements javax.accessibility.Accessible;
5599         * java/awt/List.java
5600         (List): Implements javax.accessibility.Accessible;
5601         * java/awt/ScrollPane.java
5602         (ScrollPane): Implements javax.accessibility.Accessible;
5603         * java/awt/Scrollbar.java
5604         (Scrollbar): Implements javax.accessibility.Accessible;
5605         * java/awt/TextComponent.java
5606         (setCaretPosition): Throw exception, documentation added.
5607         * java/awt/Toolkit.java:
5608         Added some newlines in method documentations.
5609         (createButton): Exception documentation added.
5610         (createTextField): Exception documentation added.
5611         (createLabel): Exception documentation added.
5612         (createList): Exception documentation added.
5613         (createCheckbox): Exception documentation added.
5614         (createScrollbar): Exception documentation added.
5615         (createScrollPane): Exception documentation added.
5616         (createTextArea): Exception documentation added.
5617         (createChoice): Exception documentation added.
5618         (createFrame): Exception documentation added.
5619         (createWindow): Exception documentation added.
5620         (createDialog): Exception documentation added.
5621         (createMenuBar): Exception documentation added.
5622         (createMenu): Exception documentation added.
5623         (createMenuItem): Exception documentation added.
5624         (createFileDialog): Exception documentation added.
5625         (createCheckboxMenuItem): Exception documentation added.
5626         (loadSystemColors): Exception documentation added.
5627         (setDynamicLayout): Exception documentation added.
5628         (isDynamicLayoutSet): Exception documentation added.
5629         (isDynamicLayoutActive): Exception documentation added.
5630         (getScreenSize): Exception documentation added.
5631         (getScreenResolution): Exception documentation added.
5632         (getScreenInsets): Exception documentation added.
5633         (getColorModel): Exception documentation added.
5634         (getSystemClipboard): Exception documentation added.
5635         (getSystemSelection): Exception documentation added.
5636         (getMenuShortcutKeyMask): Exception documentation added.
5637         (getSystemEventQueue): Exception documentation added.
5638         * java/awt/Window.java:
5639         Reindented some code.
5640         (Window): Centralized implementation, documentation added.
5641         (finalize): Documentation added.
5642         (hide): Fixed typo in comment.
5643         (getWindowListeners): Documentation added.
5644         * java/awt/color/ColorSpace.java
5645         (toRGB): Documentation added.
5646         * java/awt/color/ICC_ColorSpace.java
5647         (ICC_ColorSpace): Documentation added.
5648         (toRGB): Throw exception, documentation added.
5649         (fromRGB): Throw exception, documentation added.
5650         (toCIEXYZ): Documentation added.
5651         (fromCIEXYZ): Documentation added.
5652         (getMinValue): Documentation added.
5653         (getMaxValue): Documentation added.
5654         * java/awt/geom/Dimension2D.java
5655         (clone): Documentation added.
5656         * java/awt/geom/GeneralPath.java
5657         (clone): Documentation added.
5658         * java/awt/geom/Line2D.java
5659         (clone): Documentation added.
5660         * java/awt/geom/QuadCurve2D.java
5661         (clone): Documentation added.
5662         * java/awt/image/ColorModel.java
5663         (ColorModel): Throw exception, documentation added.
5664         * java/awt/image/ImageFilter.java
5665         (clone): Doesnt throw CloneNotSupportedException.
5666
5667 2003-01-14  Andrew Haley  <aph@redhat.com>
5668
5669         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5670         in a try block.
5671
5672 2003-01-10  Andrew Haley  <aph@redhat.com>
5673
5674         * include/dwarf2-signal.h: Remove x86_64.
5675         * configure.host (x86_64 DIVIDESPEC): Remove.
5676         * include/x86_64-signal.h: New file.
5677         * configure.in: Regenerate.
5678
5679 2003-01-10  Michael Koch  <konqueror@gmx.de>
5680
5681         * java/net/DatagramSocket.java
5682         (ch): Description added.
5683         (remotePort): Initialize with -1.
5684         (connect): Doesnt throws SocketException.
5685         * java/net/MulticastSocket.java
5686         (setInterface): Merge with Classpath.
5687         * java/net/ServerSocket.java
5688         (closed): New member variable.
5689         (bind): Check if socket is closed.
5690         (close): Close an associated channel too, set new value to closed.
5691         (isBound): Reindented.
5692         (isClosed): Implemented.
5693         * java/net/Socket.java
5694         (closed): New member variable.
5695         (bind): Check if socket is closed.
5696         (connect): Check if socket is closed.
5697         (close): Close an associated channel too, set new value to closed.
5698         (isClosed): Implemented.
5699
5700 2003-01-10  Michael Koch  <konqueror@gmx.de>
5701
5702         * java/awt/DisplayMode.java
5703         (equals): Fixed argument type and implementation.
5704
5705 2003-01-07  Tom Tromey  <tromey@redhat.com>
5706
5707         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5708         JV_HASH_SYNCHRONIZATION.
5709         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5710         JV_HASH_SYNCHRONIZATION.
5711
5712 2003-01-07  Michael Koch  <konqueror@gmx.de>
5713  
5714         * java/net/DatagramSocket.java:
5715         Added classpath license info.
5716         (DatagramSocket): Merged description with classpath.
5717         (close): Merged description with classpath.
5718         (getChannel): Merged description with classpath.
5719         (getInetAddress): Merged description with classpath.
5720         (getPort): Merged description with classpath.
5721         (getLocalAddress): Merged description with classpath.
5722         (getLocalPort): Merged description with classpath.
5723         (getSoTimeout): Merged description with classpath.
5724         (setSoTimeout): Merged description with classpath.
5725         (getSendBufferSize): Merged description with classpath.
5726         (setSendBufferSize): Merged description with classpath.
5727         (getReceiveBufferSize): Merged description with classpath.
5728         (setReceiveBufferSize): Merged description with classpath.
5729         
5730 2003-01-04  Tom Tromey  <tromey@redhat.com>
5731
5732         * java/awt/List.java: Merged with Classpath.
5733
5734 2003-01-03  Mark Wielaard  <mark@klomp.org>
5735
5736         * java/io/FileDescriptor.java (position): New private field.
5737         * java/io/natFileDescriptorPosix.cc (write): Up position.
5738         (setLength): Use and set position.
5739         (seek): Set position.
5740         (getFilePointer): Return position.
5741         (read): Up position.
5742
5743 2003-01-03  Mark Wielaard  <mark@klomp.org>
5744
5745         Merge with Classpath:
5746         * java/io/ObjectStreamClass.java (lookup): Split method and call
5747         lookupForClassObject().
5748         (lookupForClassObject): New method.
5749         (isProxyClass): New field.
5750         (setClass): Set isProxyClass, add object to classLookupTable, set
5751         superClass and calculateOffsets.
5752         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5753         and not a proxy class.
5754         (setFields): Set accessible true for serialPersistentFields.
5755         (getClassUID): Same for suid. And check if suid is of type long.
5756         (hasClassInitializer): Don't throw NoSuchMethodError.
5757
5758 2003-01-03  Mark Wielaard  <mark@klomp.org>
5759
5760         * java/io/FileInputStream.java (finalize): Don't explicitly
5761         finalize FileDescriptor.
5762
5763 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5764
5765         * configure.host (sparc*-*): Enable bytecode interpreter.
5766
5767 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5768
5769         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5770         Don't throw RemoteException.
5771         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5772         throw RemoteException.
5773
5774 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5775
5776         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5777         proxyHost): New static fields.
5778         (<clinit>): Initialize new fields.
5779         (connect): Use proxy if necessary.
5780         (usingProxy): Implement.
5781
5782 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5783
5784         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5785         (TreeIterator.remove): Prefer IllegalStateException over
5786         ConcurrentModificationException, to match Sun.
5787
5788 2002-12-22  Anthony Green  <green@redhat.com>
5789
5790         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5791
5792 2003-01-02  Mark Wielaard  <mark@klomp.org>
5793
5794         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5795         public.
5796         (HTTP_USE_PROXY): Add field.
5797         (getResponseVals): Only set responseCode when not yet explicitly
5798         set by subclass.
5799
5800 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5801             Mark Wielaard  <mark@klomp.org>
5802
5803         * java/util/zip/ZipFile.java (entries): Now HashMap.
5804         (readLeShort(DataInput, byte[])): Read from given byte array.
5805         (readLeInt(DataInput, byte[]): Likewise.
5806         (readLeShort(byte[] b, int off)): New method.
5807         (readLeInt(byte[] b, int off)): Likewise.
5808         (readEntries): Use byte arrays to read info in bigger chunks.
5809         (getEntries): Return HashMap.
5810         (getEntry): Use HashMap.
5811         (locBuf): New private field.
5812         (checkLocalHeader): Use locBuf to read info in one chunk.
5813         (getInputStream): Use entries HashMap, wrap PartialInputStream
5814         in BufferedInputStream.
5815         (ZipEntryEnumeration): Use HashMap and Interator.
5816
5817 2003-01-02  Mark Wielaard  <mark@klomp.org>
5818             Jeroen Frijters  <jeroen@sumatra.nl>
5819
5820         * java/net/URLClassLoader.java (Resource.getCodeSource):
5821         Fix check certs == null.
5822         (getCanonicalFileURL): Removed method.
5823         (JarURLLoader): Don't call removed method.
5824         (FileURLLoader): Likewise.
5825         (FileURLLoader.getResource): Don't canonicalize file name.
5826
5827 2003-01-01  Tom Tromey  <tromey@redhat.com>
5828
5829         * Makefile.in: Rebuilt.
5830         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5831         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5832         java/awt/BufferCapabilities.java, java/awt/Button.java,
5833         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5834         java/awt/Container.java, java/awt/Cursor.java,
5835         java/awt/EventQueue.java, java/awt/FileDialog.java,
5836         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5837         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5838         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5839         java/awt/Scrollbar.java, java/awt/TextArea.java,
5840         java/awt/TextField.java, java/awt/color/CMMException.java,
5841         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5842         java/awt/color/ProfileDataException.java,
5843         java/awt/datatransfer/Clipboard.java,
5844         java/awt/datatransfer/DataFlavor.java,
5845         java/awt/datatransfer/FlavorMap.java,
5846         java/awt/datatransfer/SystemFlavorMap.java,
5847         java/awt/dnd/DragGestureEvent.java,
5848         java/awt/dnd/DragGestureRecognizer.java,
5849         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5850         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5851         java/awt/im/InputMethodHighlight.java,
5852         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5853         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5854
5855         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5856         `op' to BufferedImageOp.
5857
5858 2002-12-31  Tom Tromey  <tromey@redhat.com>
5859
5860         Fix for PR libgcj/7416:
5861         * javax/naming/InitialContext.java (init): Use
5862         gnu.classpath.home.url.
5863         * java/security/Security.java: Use new properties.
5864         (loadProviders): Accept base url; use it.
5865         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5866         gnu.classpath.home.url.
5867         (gnu.classpath.home.url): Define.
5868         (gnu.classpath.vm.shortname): Likewise.
5869
5870 2002-12-31  Tom Tromey  <tromey@redhat.com>
5871             Ranjit Mathew  <rmathew@hotmail.com>
5872
5873         Fix for PR libgcj/8997:
5874         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5875         Include platform.h.
5876         * include/posix.h (_Jv_platform_usleep): New function.
5877         * include/win32.h (_Jv_platform_usleep): New function.
5878
5879 2002-12-29  Tom Tromey  <tromey@redhat.com>
5880
5881         * gcj/javaprims.h: Updated.
5882         * scripts/classes.pl (scan): Removed stray semicolon.
5883
5884 2002-12-30  Mark Wielaard  <mark@klomp.org>
5885
5886         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5887         if zero or smaller.
5888
5889 2002-12-30  Mark Wielaard  <mark@klomp.org>
5890
5891         * java/util/Properties (formatForOutput): Don't fall through to
5892         default case after escaping character.
5893
5894 2002-12-30  Mark Wielaard  <mark@klomp.org>
5895
5896         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5897         against count.
5898
5899 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5900
5901         * boehm.cc: Remove stray semicolon.
5902         * interpret.cc: Likewise.
5903         * prims.cc: Likewise.
5904         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5905         earlier to ensure default arguments are processed.
5906         * gcj/array.h (JArray): Add forward declaration.
5907         (elements): Likewise.
5908         * gcj/javaprim.h: Remove stray semicolons.
5909         * include/bohm-gc.h: Likewise.
5910         * include/jni.h: Likewise.
5911         * include/jvm.h: Likewise.
5912         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5913         
5914 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5915
5916         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5917         of catch_type.
5918         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5919         idt tables after initializing superclass.
5920         * java/lang/natClassLoader.cc (uaddr): New typedef.
5921         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5922         if they are constant pool indicies.  Don't link vtable, otable yet.
5923
5924 2002-12-21  Anthony Green  <green@redhat.com>
5925
5926         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5927         libraries.
5928         * Makefile.in: Rebuilt.
5929
5930 2002-12-19  Anthony Green  <green@redhat.com>
5931
5932         * Makefile.am (ordinary_java_source_files): Add
5933         org/xml/sax/helpers/NewInstance.java.
5934         * Makefile.in: Rebuilt.
5935         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5936         org/xml/sax/helpers/package.html: New files.
5937         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5938         http://www.saxproject.org.
5939
5940 2002-12-19  Andrew Haley  <aph@redhat.com>
5941
5942         * java/util/natResourceBundle.cc: Include
5943         ArrayIndexOutOfBoundsException.h.
5944         (getCallingClassLoader): Don't put upper bound on stack search.
5945         Catch ArrayIndexOutOfBoundsException.
5946
5947 2002-12-19  Tom Tromey  <tromey@redhat.com>
5948
5949         * libtool-version: Increased `current'.
5950
5951 2002-12-19  Tom Tromey  <tromey@redhat.com>
5952
5953         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5954         comment.
5955         * java/lang/ClassLoader.java (defineClass): Use chained
5956         exception when rethrowing.
5957         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5958         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5959         constants.
5960         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5961         (_Jv_PrepareClass): Use it.
5962         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5963         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5964         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5965         (Class): _Jv_PrepareMissingMethods now friend.
5966         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5967         Record `NULL' for system class loader.
5968         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5969         system class loader.
5970         (_Jv_FindClassInCache): Likewise.
5971         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5972         (_Jv_FindClass): Special case system class loader.
5973         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5974         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5975         vtable slots.
5976         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5977         in a final class.
5978         (_getDeclaredMethod): Don't return synthetic methods.
5979         (getDeclaredMethods): Likewise.
5980         (_getMethod): Likewise.
5981         (_getMethods): Likewise.
5982
5983 2002-12-18  Raif Naffah  <raif@fl.net.au>
5984
5985         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5986         canonical form after divide().
5987         (modInverse): Likewise.
5988
5989 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5990             Mark Wielaard  <mark@klomp.org>
5991
5992         * java/security/SecurityRandom (digest): Removed field.
5993         (SecureRandom): Check all providers for case-insensitive SecureRandom
5994         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5995         if necessary.
5996         (getInstance(String,Provider,boolean): New method.
5997         (getInstance(String)): Use new method.
5998         (getInstance(String,String)): Likewise.
5999         (getInstance(String,Provider)): Likewise.
6000
6001 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
6002
6003         * java/security/Security.java (loadProviders): Increment i only once.
6004
6005 2002-12-12  Mark Wielaard  <mark@klomp.org>
6006
6007         * java/lang/ClassLoader.java (resolveClass0): Transform
6008         ClassNotFoundException to NoClassDefFoundError. Transform all other
6009         throwables to LinkageError.
6010
6011 2002-12-11  Tom Tromey  <tromey@redhat.com>
6012
6013         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6014
6015         * java/lang/ClassLoader.java (loadedClasses): New field.
6016         (defineClass): Fixed indentation.  Put new class in
6017         loadedClasses.
6018         (findLoadedClass): Implement here.
6019         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6020
6021 2002-12-10  Tom Tromey  <tromey@redhat.com>
6022
6023         * Makefile.in: Rebuilt.
6024         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6025         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6026         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6027         * java/lang/natClassLoader.cc
6028         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6029
6030 2002-12-10  Mark Wielaard  <mark@klomp.org>
6031             Tom Tromey  <tromey@redhat.com>
6032
6033         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6034         (JarURLLoader): Use it.
6035         (FileURLLoader): Likewise.
6036         (JarURLResource.getURL): Use chained exception.
6037         (FileResource.getURL): Likewise.
6038         (FileURLLoader.getResource): Use canonical file name.
6039         (addURL): Indentation fix.
6040
6041 2002-12-10  Tom Tromey  <tromey@redhat.com>
6042
6043         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6044         From Laurent Bardet <l.bardet@magic.fr>.
6045
6046 2002-12-09  Tom Tromey  <tromey@redhat.com>
6047
6048         * include/win32.h (_Jv_platform_solib_prefix): New define.
6049         (_Jv_platform_solib_suffix): Likewise.
6050         * include/posix.h (_Jv_platform_solib_prefix): New define.
6051         (_Jv_platform_solib_suffix): Likewise.
6052         * java/lang/natRuntime.cc: Include StackTrace.h.
6053         (_load): Use findLibrary and new platform defines.
6054         (nativeGetLibname): Use new platform defines.
6055
6056         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6057         `t' won't be null.
6058
6059 2002-12-08  Mark Wielaard  <mark@klomp.org>
6060
6061         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6062         cache remote jar files.
6063         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6064         add File.separator to URL when it is a directory.
6065         * java/lang/ClassLoader.java: Add Classpath javadoc.
6066         (parent): final.
6067         (getParent): Add (disabled) security check.
6068         (findLibrary): New default method.
6069         * java/net/JarURLConnection.java (getManifest): Implement.
6070         (getInputStream): Only create InputStream when entry exists.
6071         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6072         when they exist.
6073         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6074
6075 2002-12-08  Mark Wielaard  <mark@klomp.org>
6076
6077         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6078         (lastDefaultLocale): New field.
6079         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6080         resourceBundleCache.
6081
6082 2002-12-06  Mark Wielaard  <mark@klomp.org>
6083
6084         * java/net/InetAddress.java (toString): Use hostname when not null,
6085         don't do an explicit reverse getHostName() lookup.
6086         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6087         NullPointerException.
6088
6089 2002-12-06  Tom Tromey  <tromey@redhat.com>
6090
6091         * include/java-interp.h (class _Jv_InterpMethod): Added
6092         JV_MARKOBJ_DECL.
6093         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6094         mark `prepared' field of interpreted method.
6095         * interpret.cc (compile): Use _Jv_AllocBytes.
6096
6097 2002-12-05  Andrew Haley  <aph@redhat.com>
6098
6099         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6100         #ifdef (HAVE_BACKTRACE) around the whole function body.
6101
6102 2002-12-05  Tom Tromey  <tromey@redhat.com>
6103
6104         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6105         * resolve.cc: Don't include AbstractMethodError.h.
6106         (_Jv_abstractMethodError): Removed.
6107         * defineclass.cc (handleMethodsBegin): Initialize method index to
6108         -1.
6109         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6110         method index for "new" final method.
6111         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6112         isVirtualMethod.  Added `flags' argument.
6113         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6114         class.
6115
6116 2002-12-04  Tom Tromey  <tromey@redhat.com>
6117
6118         * java/net/SocketPermission.java (hashCode): Rewrote.
6119
6120 2002-12-04  Tom Tromey  <tromey@redhat.com>
6121
6122         * Makefile.in: Rebuilt.
6123         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6124         natResourceBundle.
6125         * java/util/ResourceBundle.java (Security): Removed.
6126         (getCallingClassLoader): Now native.
6127         * java/util/natResourceBundle.cc: New file.
6128         * java/lang/natVMSecurityManager.cc: New file.
6129         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6130
6131 2002-12-03  Mark Wielaard  <mark@klomp.org>
6132
6133         * java/util/jar/JarFile.java (manifest): Not final.
6134         (manifestRead): New field.
6135         (JarFile): Don't read Manifest in constructor.
6136         (getManifest): New method.
6137         (JarEnumeration.nextElement): Use new method.
6138         (getEntry): Likewise.
6139         * java/util/zip/ZipFile.java (name): Final.
6140         (raf): Likewsie.
6141         (entries): Change type to Hashtable.
6142         (closed): New field.
6143         (ZipFile): Don't read enties in constructor.
6144         (readEntries): Use Hashtable.
6145         (close): Set new close flag and set entries to null inside
6146         synchronized block.
6147         (entries): Contruct enumeration using new getEntries() method and
6148         entries Hashtable.
6149         (getEntryIndex): Removed.
6150         (getEntries): New method.
6151         (getEntry): Use new getEntries() method and entries Hastable.
6152         (getInputStream): Likewise.
6153         (size): Return getEntries().size().
6154         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6155         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6156         (time): Removed
6157         (dostime): New field.
6158         (zipFileIndex): Removed.
6159         (ZipEntry(ZipEntry)): Copy dostime.
6160         (setDOSTime): Now final and doesn't convert dos time.
6161         (getDOSTime): Likewise.
6162         (setTime): Convert dos time.
6163         (getTime): Likewise.
6164         (getCalendar): New method.
6165         (setExtra): Use setTime().
6166         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6167
6168 2002-12-03  Tom Tromey  <tromey@redhat.com>
6169
6170         * java/lang/Character.java (forDigit): Formatting fix.
6171
6172 2002-12-03  Raif Naffah  <raif@fl.net.au>
6173
6174         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6175         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6176         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6177
6178 2002-12-03  Andrew Haley  <aph@redhat.com>
6179
6180         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6181         _Jv_PushClass.
6182         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6183         (_Jv_PopClass): New.
6184         (_Jv_PushClass): New.
6185         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6186         discover the ClassLoader of our caller.
6187         (_Jv_CheckArrayStore): Don't check that a class is assignment
6188         compatible with Object.
6189         * java/lang/natVMTHrowable.cc: Delete.
6190         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6191         java.lang.VMThrowable.
6192         (StackTrace(), StackTrace(int)): New constructors.
6193         (classAt, methodAt, update, methodAtAddress): New methods.
6194         (map): New field.
6195         * java/lang/VMThrowable.java: Use StackTrace instead of
6196         natVMTHrowable.
6197         * java/lang/Class.h (getClassLoaderInternal): New.
6198         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6199         Be friendly with gnu::gcj::runtime::StackTrace.
6200         (Object.chain): New field.
6201         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6202         gnu::gcj::runtime::StackTrace.
6203         * gnu/gcj/runtime/natStackTrace.cc: New file.
6204         * gnu/gcj/runtime/MethodRef.java: New file.
6205         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6206         instead of getClassLoader().
6207         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6208         java::lang::VMThrowable.
6209         * Makefile.am (core_java_source_files): Add MethodRef.java,
6210         StackTrace.java.
6211         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6212         * Makefile.in: Rebuild.
6213
6214 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6215
6216         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6217         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6218         yes also for sh-linux* and sh[34]*-linux*.
6219         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6220         set SIGNAL_HANDLER to use DWARF2 exception for them.
6221         * configure: Regenerate.
6222
6223 2002-12-02  Tom Tromey  <tromey@redhat.com>
6224
6225         * jni.cc: Added `name' argument.
6226         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6227         `const char *' argument.
6228         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6229
6230 2002-12-01  Tom Tromey  <tromey@redhat.com>
6231
6232         Bug compatibility, for PR libgcj/8738:
6233         * java/io/CharArrayWriter.java (close): Do nothing.
6234         (flush): Likewise.
6235         (reset): Don't touch `closed'.
6236         (write(int)): Don't throw IOException.
6237         (write(char[],int,int)): Likewise.
6238         (write(String,int,int)): Likewise.
6239         (closed): Removed.
6240
6241 2002-12-01  Mark Wielaard  <mark@klomp.org>
6242
6243         * java/lang/SecurityManager.java: Remerge comments, indenting and
6244         checkXXX methods with Classpath.
6245
6246 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6247
6248         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6249         getNormalizedComponents): Fix calculation which was using one too
6250         many bits in the unnormalized format.
6251
6252 2002-11-29  Gary Benson  <gbenson@redhat.com>
6253
6254         For PR libgcj/8759:
6255         * java/beans/Introspector.java (flushCaches): New method.
6256         (flushFromCaches): Likewise.
6257
6258 2002-11-29  Michael Koch <konqueror@gmx.de>
6259
6260         * java/nio/channels/DatagramChannel.java
6261         (open): Added exception documentation.
6262         (write): Added exception documentation.
6263         (connect): Added exception documentation.
6264         (disconnect): Added exception documentation.
6265         (isConnected): Added exception documentation.
6266         (read): Added exception documentation.
6267         (receive): Added exception documentation.
6268         (send): Added exception documentation.
6269         (validOps): Added exception documentation.
6270         * java/nio/channels/SocketChannel.java
6271         (open): Added exception documentation.
6272         (read): Added exception documentation.
6273         (write): Added exception documentation.
6274         (connect): Added exception documentation.
6275         (finishConnect): Added exception documentation.
6276
6277 2002-11-29  Michael Koch <konqueror@gmx.de>
6278
6279         * gnu/java/nio/DatagramChannelImpl:
6280         (fd): New member variable to store file descriptor of socket.
6281         * gnu/java/nio/SelectionKeyImpl.java:
6282         (ops): Removed.
6283         (readyOps): New member variable.
6284         (interestOps): New member variable.
6285         (readyOps): Implemented.
6286         (readyOps): New method to set member variable readyOps.
6287         (interestOps): Replaced ops by interestOps.
6288         * gnu/java/nio/SelectorImpl.java:
6289         (SelectorImpl): Initialize key sets.
6290         (select): Call select with -1 instead of Long.MAX_VALUE).
6291         (java_do_select): Make it a native method.
6292         (getFDsAsArray): New helper method.
6293         (select): Remove canceled keys, give only interested file discriptors
6294         to java_do_select, set ready ops.
6295         (add): No need to initialize keys set here.
6296         (add_selected): No need to initialize selected set here.
6297         (deregisterCanceledKeys): New helper method.
6298         (register): Set interest ops, set attachments, added handling of datagram
6299         channels.
6300         * gnu/java/nio/ServerSocketChannelImpl:
6301         (SocketAccept): Renamed from NioSocketAccept.
6302         (implConfigureBlocking): Implemented.
6303         (accept): Use SocketAccept instead of NioSocketAccept.
6304         * gnu/java/nio/SocketChannelImpl:
6305         Reactivate native methods.
6306
6307 2002-11-29  Michael Koch <konqueror@gmx.de>
6308
6309         * gnu/java/nio/natByteBufferImpl.cc,
6310         gnu/java/nio/natCharBufferImpl.cc,
6311         gnu/java/nio/natDoubleBufferImpl.cc,
6312         gnu/java/nio/natFloatBufferImpl.cc,
6313         gnu/java/nio/natIntBufferImpl.cc,
6314         gnu/java/nio/natLongBufferImpl.cc,
6315         gnu/java/nio/natSelectorImpl.cc,
6316         gnu/java/nio/natServerSocketChannelImpl.cc,
6317         gnu/java/nio/natShortBufferImpl.cc,
6318         gnu/java/nio/natSocketChannelImpl.cc:
6319         New files that implement native functionalities.
6320
6321 2002-11-29  Michael Koch <konqueror@gmx.de>
6322
6323         * gnu/java/nio/ByteBufferImpl.java
6324         (ByteBufferImpl): Moved position() after limit.
6325         (nio_*): Use native implementation.
6326         * gnu/java/nio/CharBufferImpl.java:
6327         Reformated.
6328         (endian): New member variable string endianess of buffer.
6329         (CharBufferImpl): Moved position() after limit.
6330         (nio_*): Use native implementation.
6331         (subSequence): Implemented.
6332         * gnu/java/nio/DoubleBufferImpl.java
6333         (DoubleBufferImpl): Moved position() after limit.
6334         (nio_*): Use native implementation.
6335         * gnu/java/nio/FloatBufferImpl.java
6336         Reformated.
6337         (FloatBufferImpl): Moved position() after limit.
6338         (nio_*): Use native implementation.
6339         * gnu/java/nio/IntBufferImpl.java
6340         Added needed imports, Reformated.
6341         (IntBufferImpl): Moved position() after limit.
6342         (nio_*): Use native implementation.
6343         * gnu/java/nio/LongBufferImpl.java
6344         Reformated.
6345         (LongBufferImpl): Moved position() after limit.
6346         (nio_*): Use native implementation.
6347         * gnu/java/nio/ShortBufferImpl.java
6348         Reformated.
6349         (ShortBufferImpl): Moved position() after limit.
6350         (nio_*): Use native implementation.
6351
6352 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6353
6354         * java/util/Locale.java (toString): Improve efficiency if country
6355         and variant are both empty.
6356
6357 2002-11-26  Tom Tromey  <tromey@redhat.com>
6358
6359         * verify.cc (pop_init_ref): New method.
6360         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6361         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6362         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6363         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6364         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6365         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6366         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6367         let `this' argument be uninitialized.  Don't let `null' be passed
6368         as `this' to construtor.
6369
6370 2002-11-26  Mark Wielaard  <mark@klomp.org>
6371
6372         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6373         * javax/transaction/HeuristicMixedException.java: Likewise.
6374         * javax/transaction/HeuristicRollbackException.java: Likewise.
6375         * javax/transaction/InvalidTransactionException.java: Likewise.
6376         * javax/transaction/NotSupportedException.java: Likewise.
6377         * javax/transaction/RollbackException.java: Likewise.
6378         * javax/transaction/Status.java: Likewise.
6379         * javax/transaction/Synchronization.java: Likewise.
6380         * javax/transaction/SystemException.java: Likewise.
6381         * javax/transaction/Transaction.java: Likewise.
6382         * javax/transaction/TransactionManager.java: Likewise.
6383         * javax/transaction/TransactionRequiredException.java: Likewise.
6384         * javax/transaction/TransactionRolledbackException.java: Likewise.
6385         * javax/transaction/UserTransaction.java: Likewise.
6386         * javax/transaction/xa/XAException.java: Likewise.
6387         * javax/transaction/xa/XAResource.java: Likewise.
6388         * javax/transaction/xa/Xid.java: Likewise.
6389
6390 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6391
6392         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6393         define.
6394         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6395         * include/posix.h (socklen_t): Define if not already defined.
6396
6397 2002-11-25  Tom Tromey  <tromey@redhat.com>
6398
6399         * verify.cc (type::compatible): Backed out broken change.
6400
6401         * verify.cc (type::compatible): Check initialization status
6402         first.
6403         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6404         Don't use NULLCHECK.
6405
6406 2002-11-23  H.J. Lu <hjl@gnu.org>
6407
6408         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6409         Include ../config/accross.m4.
6410         * aclocal.m4; Rebuild.
6411         * configure: Likewise.
6412
6413 2002-11-23  Mark Wielaard  <mark@klomp.org>
6414
6415         * javax/naming/AuthenticationException.java: Update copyright header.
6416         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6417         * javax/naming/Binding.java: Likewise.
6418         * javax/naming/CannotProceedException.java: Likewise.
6419         * javax/naming/CommunicationException.java: Likewise.
6420         * javax/naming/CompositeName.java: Likewise.
6421         * javax/naming/CompoundName.java: Likewise.
6422         * javax/naming/ConfigurationException.java: Likewise.
6423         * javax/naming/Context.java: Likewise.
6424         * javax/naming/ContextNotEmptyException.java: Likewise.
6425         * javax/naming/InitialContext.java: Likewise.
6426         * javax/naming/InsufficientResourcesException.java: Likewise.
6427         * javax/naming/InterruptedNamingException.java: Likewise.
6428         * javax/naming/LimitExceededException.java: Likewise.
6429         * javax/naming/LinkException.java: Likewise.
6430         * javax/naming/LinkLoopException.java: Likewise.
6431         * javax/naming/LinkRef.java: Likewise.
6432         * javax/naming/MalformedLinkException.java: Likewise.
6433         * javax/naming/NameAlreadyBoundException.java: Likewise.
6434         * javax/naming/NameClassPair.java: Likewise.
6435         * javax/naming/NameNotFoundException.java: Likewise.
6436         * javax/naming/NameParser.java: Likewise.
6437         * javax/naming/NamingEnumeration.java: Likewise.
6438         * javax/naming/NamingSecurityException.java: Likewise.
6439         * javax/naming/NoInitialContextException.java: Likewise.
6440         * javax/naming/NoPermissionException.java: Likewise.
6441         * javax/naming/NotContextException.java: Likewise.
6442         * javax/naming/OperationNotSupportedException.java: Likewise.
6443         * javax/naming/PartialResultException.java: Likewise.
6444         * javax/naming/Reference.java: Likewise.
6445         * javax/naming/Referenceable.java: Likewise.
6446         * javax/naming/ReferralException.java: Likewise.
6447         * javax/naming/ServiceUnavailableException.java: Likewise.
6448         * javax/naming/SizeLimitExceededException.java: Likewise.
6449         * javax/naming/TimeLimitExceededException.java: Likewise.
6450         * javax/naming/directory/Attribute.java: Likewise.
6451         * javax/naming/directory/AttributeInUseException.java: Likewise.
6452         * javax/naming/directory/AttributeModificationException.java: Likewise.
6453         * javax/naming/directory/Attributes.java: Likewise.
6454         * javax/naming/directory/BasicAttribute.java: Likewise.
6455         * javax/naming/directory/BasicAttributes.java: Likewise.
6456         * javax/naming/directory/DirContext.java: Likewise.
6457         * javax/naming/directory/InitialDirContext.java: Likewise.
6458         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6459         Likewise.
6460         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6461         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6462         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6463         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6464         * javax/naming/directory/ModificationItem.java: Likewise.
6465         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6466         * javax/naming/directory/SchemaViolationException.java: Likewise.
6467         * javax/naming/directory/SearchControls.java: Likewise.
6468         * javax/naming/directory/SearchResult.java: Likewise.
6469         * javax/naming/event/EventContext.java: Likewise.
6470         * javax/naming/event/EventDirContext.java: Likewise.
6471         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6472         * javax/naming/event/NamingEvent.java: Likewise.
6473         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6474         * javax/naming/event/NamingListener.java: Likewise.
6475         * javax/naming/event/ObjectChangeListener.java: Likewise.
6476         * javax/naming/ldap/Control.java: Likewise.
6477         * javax/naming/ldap/ControlFactory.java: Likewise.
6478         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6479         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6480         * javax/naming/ldap/HasControls.java: Likewise.
6481         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6482         * javax/naming/ldap/LdapContext.java: Likewise.
6483         * javax/naming/ldap/LdapReferralException.java: Likewise.
6484         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6485         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6486         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6487         * javax/naming/spi/DirObjectFactory.java: Likewise.
6488         * javax/naming/spi/DirStateFactory.java: Likewise.
6489         * javax/naming/spi/DirectoryManager.java: Likewise.
6490         * javax/naming/spi/InitialContextFactory.java: Likewise.
6491         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6492         * javax/naming/spi/NamingManager.java: Likewise.
6493         * javax/naming/spi/ObjectFactory.java: Likewise.
6494         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6495         * javax/naming/spi/ResolveResult.java: Likewise.
6496         * javax/naming/spi/Resolver.java: Likewise.
6497         * javax/naming/spi/StateFactory.java: Likewise.
6498
6499         * javax/naming/spi/NamingManager.java (ofb): Package private.
6500
6501 2002-11-21  Mark Wielaard  <mark@klomp.org>
6502
6503         * java/net/URL.java: Merge with Classpath (partly).
6504         * java/net/URLStreamHandler: Merge with Classpath.
6505
6506 2002-11-22  Michael Koch <konqueror@gmx.de>
6507
6508         * include/posix.h:
6509         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6510         * include/win32.h:
6511         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6512         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6513
6514 2002-11-21  Michael Koch <konqueror@gmx.de>
6515
6516         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6517         Only the new network functions should be in it.
6518
6519 2002-11-21  Michael Koch <konqueror@gmx.de>
6520
6521         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6522         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6523
6524 2002-11-21  Michael Koch <konqueror@gmx.de>
6525
6526         * java/nio/channels/AsynchronousCloseException.java,
6527         java/nio/channels/CancelledKeyException.java,
6528         java/nio/channels/ClosedByInterruptException.java,
6529         java/nio/channels/ConnectionPendingException.java,
6530         java/nio/channels/FileLockInterruptionException.java,
6531         java/nio/channels/IllegalSelectorException.java,
6532         java/nio/channels/NoConnectionPendingException.java,
6533         java/nio/channels/NonReadableChannelException.java,
6534         java/nio/channels/NonWritableChannelException.java,
6535         java/nio/channels/NotYetBoundException.java,
6536         java/nio/channels/NotYetConnectedException.java,
6537         java/nio/channels/OverlappingFileLockException.java,
6538         java/nio/channels/UnresolvedAddressException.java,
6539         java/nio/channels/UnsupportedAddressTypeException.java:
6540         New files.
6541         * Makefile.am (ordinary_java_source_files): Added new files.
6542         * Makefile.in: Regenerated.
6543
6544 2002-11-21  Michael Koch <konqueror@gmx.de>
6545
6546         * include/posix.h
6547         (_Jv_socket): New method.
6548         (_Jv_connect): New method.
6549         (_Jv_close): New method.
6550         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6551         (_Jv_bind): New method.
6552         (_Jv_listen): New method.
6553         (_Jv_write): New method.
6554         (_Jv_read): New method.
6555         * include/win32.h
6556         (_Jv_socket): New method.
6557         (_Jv_connect): New method.
6558         (_Jv_close): New method.
6559         (_Jv_bind): New method.
6560         (_Jv_listen): New method.
6561         (_Jv_write): New method.
6562         (_Jv_read): New method.
6563         * java/net/natNetworkInterface.cc:
6564         Include platform.h, removed inclusion of socket.h
6565         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6566         ::close() by _Jv_close().
6567         * java/net/natPlainDatagramSocketImpl.cc:
6568         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6569         added some new lines to make code more readable.
6570         (create): Replaced ::socket() by _Jv_socket().
6571         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6572         * java/net/natPlainSocketImpl.cc:
6573         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6574         removed include of socket.h, removed some windows defines
6575         (now in include/win32.h).
6576         (create): Replaced ::socket() by _Jv_socket().
6577         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6578         (write): Replaced ::read by _Jv_write().
6579         (read): Replaced ::read by _Jv_read().
6580
6581 2002-11-20  Michael Koch <konqueror@gmx.de>
6582
6583         * Makefile.am (ordinary_java_source_files):
6584         Added java/nio/channels/FileChannel.java.
6585         * Makefile.in: Regenerated.
6586
6587 2002-11-20  Michael Koch <konqueror@gmx.de>
6588
6589         * java/io/FileInputStream.java
6590         (getChannel): New method.
6591         * java/io/FileOutputStream.java
6592         (getChannel): New method.
6593         * java/net/ServerSocket.java
6594         (bind): Removed duplicate code and called another bind method instead.
6595         * java/nio/channels/SelectionKey.java
6596         (isValid): Removed wrong exception documentation.
6597         * java/nio/channels/ServerSocketChannel.java
6598         (accept): Added exception documentation.
6599         (open): Fixed typo, added exception documentation.
6600         * java/nio/channels/spi/AbstractSelectableChannel.java
6601         (implCloseChannel): Added exception documentation.
6602         (add): Reformated.
6603         (register): Added exception documentation.
6604
6605 2002-11-20  Andreas Jaeger  <aj@suse.de>
6606
6607         * configure: Regenerated with new libtool.m4.
6608
6609 2002-11-19  Tom Tromey  <tromey@redhat.com>
6610
6611         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6612         `referent'.
6613         (finalize_referred_to_object): Don't modify `referent' or `copy'
6614         fields.
6615         (add_to_hash): Correctly set `n->next' when updating list.
6616         * java/lang/ref/Reference.java (enqueue): Return false if already
6617         enqueued.
6618
6619 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6620
6621         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6622         to function and function pointer declarations in accordance with
6623         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6624         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6625         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6626         JNI function definitions.
6627
6628 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6629
6630         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6631         that was causing CoderResults to be cached, not WeakReferences
6632         to CoderResults.
6633
6634 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6635
6636         * java/security/KeyStore.java (getInstance): Fix
6637         comment and throw IllegalArgumentException if
6638         given provider is null.
6639         (getInstance): New method for jdk1.4 compatibility.
6640
6641 2002-11-18  Michael Koch <konqueror@gmx.de>
6642
6643         * java/net/PlainSocketImpl.java: Fix imports.
6644
6645 2002-11-18  Michael Koch <konqueror@gmx.de>
6646
6647         * java/nio/channels/SelectionKey.java
6648         (isValid): Added exception documentation.
6649         * java/nio/channels/Selector.java
6650         (open): Declare "throws IOException".
6651
6652 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6653
6654         * java/nio/charset/Charset.java
6655         (<clinit>): New method.
6656         (encode): Synchronize use of cached encoder object.
6657         (decode): Synchronize use of cached encoder object.
6658
6659 2002-11-18  Michael Koch <konqueror@gmx.de>
6660
6661         * gnu/java/nio/ByteBufferImpl.java,
6662         gnu/java/nio/CharBufferImpl.java,
6663         gnu/java/nio/DatagramChannelImpl.java,
6664         gnu/java/nio/DoubleBufferImpl.java,
6665         gnu/java/nio/FileChannelImpl.java,
6666         gnu/java/nio/FloatBufferImpl.java,
6667         gnu/java/nio/IntBufferImpl.java,
6668         gnu/java/nio/LongBufferImpl.java,
6669         gnu/java/nio/PipeImpl.java,
6670         gnu/java/nio/SelectionKeyImpl.java,
6671         gnu/java/nio/SelectorImpl.java,
6672         gnu/java/nio/SelectorProviderImpl.java,
6673         gnu/java/nio/ServerSocketChannelImpl.java,
6674         gnu/java/nio/ShortBufferImpl.java,
6675         gnu/java/nio/SocketChannelImpl.java,
6676         java/nio/DoubleBuffer.java,
6677         java/nio/FloatBuffer.java,
6678         java/nio/IntBuffer.java,
6679         java/nio/LongBuffer.java,
6680         java/nio/ShortBuffer.java,
6681         java/nio/channels/FileChannel.java: New files.
6682
6683 2002-11-18  Michael Koch <konqueror@gmx.de>
6684
6685         * Makefile.am (ordinary_java_source_files):
6686         Added java/nio/ReadOnlyBufferException.java and
6687         java/nio/channels/ClosedSelectorException.java.
6688         * Makefile.in: Regenerated.
6689
6690 2002-11-18  Michael Koch <konqueror@gmx.de>
6691
6692         * java/net/PlainSocketImpl.java: Reworked imports.
6693         * java/net/ServerSocket.java
6694         (ServerSocket): Create socket.
6695         * java/net/SocketAddress.java: Documentation added.
6696         * java/net/natPlainSocketImpl.cc: Reindented.
6697         * java/nio/ReadOnlyBufferException.java: New file
6698         * java/nio/channels/ClosedChannelException.java: Documentation added.
6699         * java/nio/channels/ClosedSelectorException.java: New file.
6700
6701 2002-11-17  Mark Wielaard  <mark@klomp.org>
6702
6703         * java/net/HttpURLConnection.java ((getPermission): Take port
6704         into consideration.
6705         (getErrorStream): Implement.
6706
6707 2002-11-17  Mark Wielaard  <mark@klomp.org>
6708
6709         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6710
6711 2002-11-16  Mark Wielaard  <mark@klomp.org>
6712
6713         Integrate work by Raif S. Naffah (raif@fl.net.au)
6714         * java/security/DummyKeyPairGenerator.java (clone): New method.
6715         * java/security/DummyMessageDigest.java (clone): New method.
6716         (engineUpdate): Now public.
6717         (engineReset): Likewise.
6718         (engineDigest): Likewise.
6719         (engineGetDigestLength): New method.
6720         * java/security/DummySignature.java (clone): New method.
6721         * java/security/KeyPairGenerator.java (provider): Now package private.
6722         (getInstance(String)): Use getInstance(String,Provider).
6723         (getInstance(String,String): Use getInstance(String,Provider)
6724         (getInstance(String,Provider): New method.
6725         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6726         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6727         * java/security/MessageDigest.java (provider): Now package private.
6728         (getInstance(String): Use getInstance(String,Provider).
6729         (getInstance(String,String): Use getInstance(String,Provider)
6730         (getInstance(String,Provider): New method.
6731         * java/security/Provider.java (toCanonicalKey): New method.
6732         (get): New method that uses toCanonicalKey().
6733         (put): Use toCanonicalKey().
6734         (remove): Likewise.
6735         * java/security/Security.java (insertProviderAt): Provider index is one
6736         based, not zero based.
6737         (addProvider): Likewise.
6738         (removeProvider): Likewise.
6739         * java/security/Signature.java (provider): Now package private.
6740         (getInstance(String)): Use getInstance(String,Provider).
6741         (getInstance(String,String): Use getInstance(String,Provider)
6742         (getInstance(String,Provider): New method.
6743         (getInstance(String,String,Provider): Don't cast DummySignature.
6744
6745 2002-11-15  Tom Tromey  <tromey@redhat.com>
6746
6747         For PR libgcj/8593:
6748         * java/util/zip/GZIPInputStream.java (read): Check file size.
6749         Look in inflater for remaining input bytes.
6750         (read4): Added buf and offset arguments.
6751
6752 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6753
6754         * java/applet/AppletContext.java: Fix typo and remove redundant
6755         modifiers.
6756
6757 2002-11-14  Tom Tromey  <tromey@redhat.com>
6758
6759         * java/lang/natRuntime.cc (insertSystemProperties): Set
6760         gnu.classpath.home.
6761
6762 2002-11-13  Michael Koch <konqueror@gmx.de>
6763
6764         * java/nio/ByteBuffer.java
6765         (allocate): New method.
6766         (wrap): New method.
6767         (put): New method.
6768         (get): New method.
6769
6770 2002-11-13  Michael Koch <konqueror@gmx.de>
6771
6772         * java/nio/channels/AlreadyConnectedException.java:
6773         Removed unneeded import.
6774         (AlreadyConnectedException): Documentation added.
6775         * java/nio/channels/Pipe.java
6776         (SinkChannel.SinkChannel): Documentation added.
6777         (SinkChannel.validOps): New method.
6778         (SourceChannel.SourceChannel): Documentation added.
6779         (SourceChannel.validOps): New method.
6780         (Pipe): Documentation added.
6781         (open): Documentation added.
6782         (SinkChannel.channel): Documentation added.
6783         (SourceChannel.channel): Documentation added.
6784         * java/nio/channel/SelectableChannel.java
6785         (SelectableChannel): Documentation added.
6786         (blockingLock): Documentation added.
6787         (configureBlocking):Documentation added.
6788         (isBlocking):Documentation added.
6789         (isRegistered):Documentation added.
6790         (keyFor):Documentation added.
6791         (provider):Documentation added.
6792         (register): Documentation added.
6793         (validOps): Documentation added.
6794         * jaba/nio/channels/SelectionKey.java
6795         (SelectionKey): Documentation added.
6796         (attach): Documentation added.
6797         (attachment): Documentation added.
6798         (isAcceptable): Documentation added.
6799         (isConnetable): Documentation added.
6800         (isReadable): Documentation added.
6801         (isWritable): Documentation added.
6802         (cancel): Documentation added.
6803         (channel): Documentation added.
6804         (interestOps): Documentation added.
6805         (isValid): Documentation added.
6806         (readyOps): Documentation added.
6807         (selector): Documentation added.
6808         * jaba/nio/channels/Selector.java
6809         (Selector): Documentation added.
6810         (open): Documentation added.
6811         (close): Documentation added.
6812         (isOpen): Documentation added.
6813         (keys): Documentation added.
6814         (provider): Documentation added.
6815         (select): Documentation added.
6816         (selectedKeys): Documentation added.
6817         (selectNow): Documentation added.
6818         (wakeup): Documentation added.
6819         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6820         (AbstractInterruptibleChannel): Documentation added.
6821         (opened): Default to true;
6822         (begin): Documentation added.
6823         (close): Set opened to false, documentation added.
6824         (isOpen): Documentation added.
6825         * java/nio/channels/spi/AbstractSelectionKey.java
6826         (AbstractSelectionKey): Documentation added.
6827         (cancel): Documentation added.
6828         (isValid): Documentation added.
6829         * java/nio/channels/spi/AbstractSelector.java
6830         (AbstractSelector): Documentation added.
6831         (begin): Documentation added.
6832         (close): Documentation added.
6833         (isOpen): Documentation added.
6834         (deregister): Documentation added.
6835         (end): Documentation added.
6836         (provider): Documentation added.
6837         (implCloseSelector): Documentation added.
6838         (register): Documentation added.
6839         * java/nio/channels/spi/SelectorProvider.java
6840         (SelectorProvider): Documentation added.
6841         (openDatagramChannel): Documentation added.
6842         (openPipe): Documentation added.
6843         (openSelector): Documentation added.
6844         (openServerSocketChannel): Documentation added.
6845         (openSocketChannel): Documentation added.
6846         (provider): Documentation added.
6847
6848 2002-11-12  Michael Koch <konqueror@gmx.de>
6849
6850         * java/nio/Buffer.java: Implemented.
6851         * java/nio/CharBuffer.java: New file.
6852         * java/nio/InvalidMarkException.java: New file.
6853         * java/nio/channels/DatagramChannel.java: Implemented.
6854         * java/nio/channels/ServerSocketChannel.java: Implemented.
6855         * java/nio/channels/SocketChannel.java: Implemented.
6856         * java/nio/channels/spi/AbstractChannel.java: Removed.
6857         * java/nio/channels/spi/AbstractSelectableChannel.java:
6858         Implemented.
6859         * java/nio/charset/Charset.java:
6860         Merge from Classpath.
6861         * java/nio/charset/CharsetDecoder.java: New file.
6862         * java/nio/charset/CharsetEncoder.java: New file.
6863         * java/nio/charset/CoderResult.java: New file.
6864         * Makefile.am (ordinary_java_source_files): Added new files.
6865         * Makefile.in: Regenerated.
6866
6867 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6868
6869         * gnu/java/nio/charset/ISO_8859_1.java,
6870         gnu/java/nio/charset/Provider.java,
6871         gnu/java/nio/charset/US_ASCII.java,
6872         gnu/java/nio/charset/UTF_16.java,
6873         gnu/java/nio/charset/UTF_16BE.java,
6874         gnu/java/nio/charset/UTF_16Decoder.java,
6875         gnu/java/nio/charset/UTF_16Encoder.java,
6876         gnu/java/nio/charset/UTF_16LE.java,
6877         gnu/java/nio/charset/UTF_8.java: New files.
6878
6879 2002-11-11  Michael Koch <konqueror@gmx.de>
6880
6881         * java/nio/charset/CharacterCodingException.java:
6882         This class must be public.
6883         * java/nio/charset/CoderMalfunctionError.java:
6884         This class must be public.
6885         * java/nio/charset/CodingErrorAction.java:
6886         This class must be public.
6887         * java/nio/charset/IllegalCharsetNameException.java:
6888         This class must be public, better implementation.
6889         * java/nio/charset/MalformedInputException.java:
6890         This class must be public, better implementation.
6891         * java/nio/charset/UnmappableCharacterException.java:
6892         This class must be public, better implementation.
6893         * java/nio/charset/UnsupportedCharsetException.java:
6894         This class must be public, better implementation.
6895
6896 2002-11-11  Michael Koch <konqueror@gmx.de>
6897
6898         * java/nio/BufferOverflowException.java,
6899         java/nio/BufferUnderflowException.java: New file.
6900         * Makefile.am (ordinary_java_source_files):
6901         Added new files.
6902         * Makefile.in: Regenerated.
6903
6904 2002-11-10  Tom Tromey  <tromey@redhat.com>
6905
6906         * java/awt/Container.java (validate): Use tree lock.
6907         (getComponent): Likewise.
6908         (getComponents): Likewise.
6909         (addImpl): Likewise.
6910         (remove): Likewise.
6911         (removeAll): Likewise.
6912         (processEvent): Fixed indentation.
6913         (getComponentAt): Use tree lock.
6914         (findComponentAt): Likewise.
6915         (removeNotify): Likewise.
6916         (isAncestorOf): Likewise.
6917         (list): Likewise.
6918         (visitChildren): Likewise.
6919         (findNextFocusComponent): Likewise.
6920         (addNotifyContainerChildren): Likewise.
6921         (getAccessibleChildrenCount): Likewise.
6922         (getAccessibleChild): Likewise.
6923
6924         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6925         (getSize): Likewise.
6926         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6927         (getSize): Likewise.
6928         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6929         (calcSize): Likewise.
6930         * java/awt/CardLayout.java (getSize): Use tree lock.
6931         (gotoComponent): Likewise.
6932         (layoutContainer): Likewise.
6933
6934         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6935         count is 0.
6936         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6937         count is 0.
6938
6939         * java/io/Externalizable.java, java/io/FilePermission.java,
6940         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6941         java/io/SerializablePermission.java, java/text/Format.java,
6942         java/util/AbstractMap.java, java/util/HashMap.java,
6943         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6944         versions from Classpath.
6945
6946 2002-11-10  Anthony Green  <green@redhat.com>
6947
6948         * java/util/jar/Attributes.java (Name): Fix name check.
6949
6950 2002-11-10  Mark Wielaard  <mark@klomp.org>
6951
6952         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6953         with getName() as message.
6954         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6955         type as message.
6956
6957         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6958         unused.
6959
6960 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6961
6962         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6963         for Win32. JNICALL has been defined to __stdcall to be compatible
6964         with Sun's JDKs.
6965
6966 2002-11-10  Tom Tromey  <tromey@redhat.com>
6967
6968         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6969         (setRows): Check newRows, not rows.
6970
6971         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6972
6973 2002-11-09  Tom Tromey  <tromey@redhat.com>
6974
6975         * java/applet/Applet.java, java/applet/AppletContext.java,
6976         java/applet/AppletStub.java, java/applet/AudioClip.java,
6977         java/awt/CardLayout.java,
6978         java/awt/ContainerOrderFocusTraversalPolicy.java,
6979         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6980         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6981         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6982         java/awt/color/ICC_ColorSpace.java,
6983         java/awt/color/ICC_Profile.java,
6984         java/awt/color/ICC_ProfileGray.java,
6985         java/awt/color/ICC_ProfileRGB.java,
6986         java/awt/datatransfer/DataFlavor.java,
6987         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6988         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6989         New versions from Classpath.
6990         * Makefile.in: Rebuilt.
6991         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6992         ICC_ProfileRGB.
6993
6994         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6995         display policy.
6996
6997         * java/awt/List.java (processEvent): Added missing `else's.
6998
6999         * java/awt/Window.java (show): validate() before showing.  Make
7000         parent displayable.
7001         (isDisplayable): New method.
7002
7003 2002-11-07  Mark Wielaard  <mark@klomp.org>
7004
7005         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7006         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7007
7008         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7009         annotation.
7010         (loadClass): Take String as codebases.
7011         (getClassAnnotation): Use MyClassLoader annotations.
7012         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7013         call exportObject(this).
7014
7015         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7016         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7017         (setAnnotation): Don't set locBytesStream and locStream.
7018         (replaceObject): Removed.
7019         (flush): Don't test locStream.
7020         (getLocBytes): LikeWise.
7021         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7022         (leaseCache): New field.
7023         (dirty): Use leaseCache.
7024         (LeaseRecord): New inner class.
7025         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7026         explicitly call exportObject().
7027         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7028         false to communicate with Sun JDK130.
7029         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7030         * gnu/java/rmi/server/RMIObjectInputStream.java
7031         (UnicastConnectionManager): Removed field.
7032         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7033         Use UnicastServer.getExportedRef().
7034         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7035         (expireTime): Likewise.
7036         (CONNECTION_TIMEOUT): Likewise.
7037         (disconnect): Call sock.close().
7038         (isExpired): New method.
7039         (resetTime): Likewise.
7040         (run): Use do while loop and catch Exception for discardConnection().
7041         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7042         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7043         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7044         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7045         (exportObject): Use refcache.
7046         (unexportObject): Likewise.
7047         (getExportedRef): New method.
7048         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7049         constructor.
7050         (exportObject): Save manager.serverobj.
7051         (getStub): New method.
7052
7053 2002-11-07  Mark Wielaard  <mark@klomp.org>
7054
7055         * java/lang/reflect/natField.cc (getBoolean): Use getType().
7056         (getByte): Likewise.
7057         (getShort): Likewise.
7058         (getInt): Likewise.
7059         (getLong): Likewise.
7060         (getFloat): Likewise.
7061         (getDouble): Likewise.
7062         (get): Likewise.
7063         (setChar): Likewise.
7064         (setByte): Likewise.
7065         (setShort): Likewise.
7066         (setInt): Likewise.
7067         (setLong): Likewise.
7068         (setFloat): Likewise.
7069         (setDouble): Likewise.
7070
7071 2002-11-07  Michael Koch <konqueror@gmx.de>
7072
7073         * java/awt/Choice.java,
7074         java/awt/Container.java,
7075         java/awt/GridBagLayout.java:
7076         Fixed documentation.
7077         * java/awt/peer/ContainerPeer.java:
7078         Reindented.
7079
7080 2002-11-07  Michael Koch <konqueror@gmx.de>
7081
7082         * java/awt/color/ICC_Profile.java:
7083         Added missing constants.
7084         * java/awt/color/ICC_ColorSpace.java
7085         (getMinValue): Added dummy implementation.
7086         (getMaxValue): Added dummy implementation.
7087         * java/awt/datatransfer/DataFlavor.java
7088         (imageFlavor): Added.
7089         (isMimeTypeEqual): Must be final.
7090         (getDefaultRepresentationClass): Must be non-static.
7091         (getDefaultRepresentationClassAsString): Must be non-static.
7092         * java/awt/dnd/DragSourceContext.java
7093         (dragExit): Corrected argument.
7094         (dragDropEnd): Corrected argument.
7095         * java/awt/dnd/DragSourceListener.java.java
7096         (dragExit): Corrected argument.
7097         (dragDropEnd): Corrected argument.
7098         * java/awt/font/TextHitInfo.java
7099         (toString): Added stubbed implementation.
7100         * java/awt/geom/PathIterator.java:
7101         The constants must be static.
7102         * java/awt/image/VolatileImage.java
7103         (IMAGE_INCOMPATIBLE): Fixed typo.
7104         * java/awt/image/renderable/RenderableImage.java
7105         (HINTS_OBSERVED): Must be static.
7106         * java/beans/BeanInfo.java:
7107         Constants must be final.
7108
7109 2002-11-06  Tom Tromey  <tromey@redhat.com>
7110
7111         From svens@it.uu.se.  For PR libgcj/8481.
7112         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7113
7114 2002-11-06  Tom Tromey  <tromey@redhat.com>
7115
7116         * jni.cc (array_from_valist): Assume that jlong won't be
7117         promoted.
7118
7119 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7120
7121         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7122         Return 20.
7123         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7124         Return 16.
7125
7126 2002-11-03  Tom Tromey  <tromey@redhat.com>
7127
7128         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7129         VMClassLoader, not findClass.
7130
7131 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7132
7133         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7134         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7135         _Jv_DetermineVTableIndex, to determine vtable offset.
7136         (_Jv_DetermineVTableIndex): Remove.
7137         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7138
7139         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7140
7141 2002-11-03  Tom Tromey  <tromey@redhat.com>
7142
7143         * java/nio/channels/AlreadyConnectedException.java: Extend
7144         IllegalStateException, per spec.
7145
7146 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7147
7148         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7149
7150 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7151
7152         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7153         size items.
7154
7155 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7156
7157         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7158         initial estimated size to avoid enlarge buffer frequently.
7159
7160 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7161
7162         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7163         ClassLoader when null.
7164         (ProxyType.hashCode): Loader null check no longer needed.
7165         (ProxyType.sameTypes): New method.
7166         (ProxyType.equals): Use new method.
7167
7168 2002-10-31  Mark Wielaard  <mark@klomp.org>
7169
7170         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7171         length of String.
7172         * java/net/URLEncoder.java (encode): Likewise.
7173
7174 2002-10-31  Mark Wielaard  <mark@klomp.org>
7175
7176         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7177         when stream is closed.
7178         (closeEntry): Likewise.
7179         (read): Likewise.
7180         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7181         ZipException when no entry active.
7182         (closeEntry): Likewise.
7183         (write): Likewise.
7184
7185 2002-11-02  Tom Tromey  <tromey@redhat.com>
7186
7187         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7188         * java/lang/natClass.cc (initializeClass): Don't return just
7189         because self==thread.
7190
7191         For PR java/8415:
7192         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7193         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7194
7195 2002-11-02  Andreas Schwab  <schwab@suse.de>
7196
7197         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7198         pass GCJFLAGS.
7199         (FLAGS_TO_PASS): Define.
7200         * Makefile.in: Regenerated.
7201
7202 2002-11-01  Michael Koch  <konqueror@gmx.de>
7203
7204         * java/nio/ByteOrder.java: New file.
7205         * java/nio/channels/DatagramChannel.java:
7206         (DatagramChannel): New constructor.
7207         * java/nio/channels/Pipe.java: New file.
7208         * java/nio/channels/SelectableChannel.java: New file.
7209         * java/nio/channels/SelectionKey.java: New file.
7210         * java/nio/channels/Selector.java: New file.
7211         * java/nio/channels/ServerSocketChannel.java
7212         (ServerSocketChannel): New constructor.
7213         * java/nio/channels/SocketChannel.java
7214         (SocketChannel): New constructor.
7215         * java/nio/channels/Pipe.java: New file.
7216         * java/nio/channels/spi/AbstractChannel.java: New file.
7217         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7218         * java/nio/channels/spi/AbstractSelectableChannel.java:
7219         License added
7220         (AbstractSelectableChannel): New stubbed method.
7221         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7222         * java/nio/channels/spi/AbstractSelector.java: New file.
7223         * java/nio/channels/spi/SelectorProvider.java: New file.
7224         * java/nio/charset/Charset.java: New file.
7225         * java/nio/charset/CoderMalfunctionError.java: New file.
7226         * java/nio/charset/CodingErrorAction.java: New file.
7227         * java/nio/charset/spi/CharsetProvider.java
7228         (charsetForName): Uncommented.
7229         * Makefile.am (java_native_source_files): Added new files.
7230         * Makefile.in: Regenerated.
7231
7232 2002-11-01  Michael Koch  <konqueror@gmx.de>
7233
7234         * java/net/InetAddress.java:
7235         (isAnyLocalAddress): Implemented.
7236         (isLoopbackAddress): Implemented, comment added.
7237         (isLinkLocalAddress): Implemented, documentation added.
7238         (isSiteLocalAddress): Implemented, documentation added.
7239         (isMCGlobal): Implemented, documentation added.
7240         (isMCNodeLocal): Implemented, documentation added.
7241         (isMCLinkLocal): Implemented, documentation added.
7242         (isMCSiteLocal): Implemented, documentation added.
7243         (isMCOrgLocal): Implemented, documentation added.
7244         (getHostName): Documentation added.
7245         (getCanonicalHostName): Implemented, documentation added.
7246         (getAddress): Documentation added.
7247         (hashCode): Documentation added.
7248         (equals): Documentation added.
7249         (toString): Fixed implementation.
7250         (getByAddress): Use Inet4Address and Inet6Address.
7251         (lookup): New linewrap.
7252         (getByName): SecurityManager check added, support Inet4Address and
7253         Inet6address, comments added.
7254         (getAllByName): SecurityManager check added, comments added.
7255         * java/net/Inet6Address.java:
7256         (Inet6Address): Initialize parent class with addr instead of null.
7257         * java/net/URL.java
7258         (equals): Documentation added.
7259         (getFile): Documentation added.
7260         (hashCode): Documentation added.
7261         * java/net/natInetAddress.cc:
7262         (aton): Fix IPv6 support.
7263         * java/net/natPlainDatagramSocketImpl.cc:
7264         (peek): Throw PortUnreachableException when suitable.
7265         (peekData): Throw PortUnreachableException when suitable.
7266         (send): Throw PortUnreachableException when suitable.
7267         (receive): Throw PortUnreachableException when suitable.
7268
7269 2002-10-27  Mark Wielaard  <mark@klomp.org>
7270
7271         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7272         argument.
7273         (readLeShort): Likewise and use byte[].
7274         (readLeInt): Likewise.
7275         (readEntries): Use new versions of methods and use byte[] for reading
7276         a complete zip entry. Add ZipFile name to exceptions.
7277         (entries): Add ZipFile name to exceptions.
7278         (getEntry): Likewise.
7279         (checkLocalHeader): Use new versions of methods and add ZipFile name
7280         to exceptions.
7281
7282 2002-10-31  Mark Anderson  <mark@panonet.net>
7283
7284         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7285         added
7286
7287 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7288
7289         * configure.in: Disable hash sync when not using threads.
7290         * configure: Regenerated.
7291
7292 2002-10-24  Tom Tromey  <tromey@redhat.com>
7293
7294         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7295         (_Jv_FindSymbolInExecutable): Removed argument name.
7296         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7297         java.library.path is set.
7298
7299         * gij.cc (help): Document --showversion.
7300         (version): Don't exit.
7301         (main): Handle --showversion.  Exit if --version given.
7302
7303 2002-10-23  Tom Tromey  <tromey@redhat.com>
7304
7305         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7306         (array_from_valist): Correctly handle promotion for jint, jlong,
7307         jfloat, and jdouble.
7308
7309 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7310
7311         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7312         GetFileAttributesEx( ) to find file length and modification times,
7313         as the latter is not present on Windows 95.
7314
7315 2002-10-21  Michael Koch  <konqueror@gmx.de>
7316
7317         * java/net/URL.java
7318         (URL): Activate SecurityManager checks.
7319         (equals): Use URLStreamHandler implementation instead of doing it
7320         alone. This allows special protocol stream handlers to change default
7321         behaviour.
7322         (hashCode): Use URLStreamHandler implementation instead of doing it
7323         alone. This allows special protocol stream handlers to change default
7324         behaviour.
7325         * java/net/URLStreamHandler.java
7326         (equals): Implemented default URL equality check.
7327         (hostsEqual): Implemented default URL equality check.
7328         (hashCode): Implemented default URL hashCode algorithm.
7329         * java/net/natPlainDatagramSocketImpl.cc:
7330         No lines longer then 80 characters.
7331
7332 2002-10-20  Adam Megacz <adam@xwt.org>
7333
7334         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7335         * configure.in: enabled hash sync on Win32
7336         * include/win32-threads.h (_Jv_ThreadId_t): added.
7337         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7338         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7339         removed some posix-isms, use Thread::sleep() instead of usleep,
7340         added code to clear bottom three bits if platform has a broken
7341         linker.
7342         * include/win32-threads.h (_Jv_ThreadId_t): added.
7343
7344 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7345
7346         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7347         runtime property "gnu.gcj.progname" containing the name used to
7348         invoke the current Java program (similar to argv[0] for C
7349         programs).
7350
7351 2002-10-15  Tom Tromey  <tromey@redhat.com>
7352
7353         Fix for PR libgcj/8234:
7354         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7355         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7356
7357 2002-10-13  Mark Wielaard  <mark@klomp.org>
7358
7359         * mauve-libgcj: Enable Mauve tests that compile now.
7360
7361 2002-10-11  Mark Wielaard  <mark@klomp.org>
7362
7363         Fix for PR libgcj/8142
7364         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7365         loading native modules.
7366
7367 2002-10-10  Michael Koch  <konqueror@gmx.de>
7368
7369         * javax/swing/AbstractListModel.java
7370         (getListDataListeners): New stubbed method.
7371         javax/swing/DefaultBoundedRangeModel.java
7372         (getChangeListeners): New stubbed method.
7373         javax/swing/DefaultSingleSelectionModel.java
7374         (getChangeListeners): New stubbed method.
7375
7376 2002-10-10  Michael Koch  <konqueror@gmx.de>
7377
7378         * gcj/.cvsignore: New file to ignore files generated during build.
7379         * include/.cvsignore: New file to ignore files generated during build.
7380
7381 2002-10-10  Michael Koch  <konqueror@gmx.de>
7382
7383         * java/net/HttpURLConnection.java
7384         (getPermission): New method.
7385         (getErrorStream): New stub method.
7386         (getHeaderFieldDate): New stub method.
7387         * java/net/Inet4Address.java:
7388         (isLinkLocalAddress): Typo fixed.
7389         * java/net/InetAddress.java:
7390         (readResolve): New stubbed method (for serialization).
7391         (isAnyLocalAddress): New stubbed method.
7392         (isLoopbackAddress): New stubbed method.
7393         (isLinkLocalAddress): New stubbed method.
7394         (isSiteLocalAddress): New stubbed method.
7395         (isMCGlobal): New stubbed method.
7396         (isMCNodeGlobal): New stubbed method.
7397         (isMCLinkLocal): New stubbed method.
7398         (isMCSiteLocal): New stubbed method.
7399         (isMCOrgLocal): New stubbed method.
7400         (getCanonicalHostName): New stubbed method.
7401         (getByAddress): Create instances of Inet4Address/Inet6Address,
7402         instead of InetAddress, documentation added.
7403         * java/net/MulticastSocket.java
7404         (getInterface): Removed FIXME.
7405         (getNetworkInterface): New method.
7406         (setNetworkInterface): New method.
7407         * java/net/NetworkInterface.java:
7408         (toString): Use property "line.separator" instead of "\n".
7409         * java/net/URLConnection.java
7410         (getContent): New stubbed method.
7411         * java/net/URLStreamHandler.java:
7412         (equals): New stubbed method.
7413         (hostsEqual): New stubbed method.
7414         (hashCode): New stubbed method.
7415         * java/net/natNetworkInterface.cc:
7416         (getRealNetworkInterfaces): Create Inet4Address object
7417         instead of InetAddress.
7418
7419 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7420
7421         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7422         unsigned long temporary to implement insn_iushr shifts.
7423
7424 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7425
7426         * configure.host [s390*-*]: Enable Java interpreter.
7427         Enable hash synchronization.  Add sysdeps dir.
7428         * sysdep/s390/locks.h: New file.
7429
7430 2002-10-06  Mark Wielaard  <mark@klomp.org>
7431
7432         * java/lang/Thread.java (setDaemon): Check startable_flag,
7433         not isAlive().
7434
7435 2002-10-07  Michael Koch  <konqueror@gmx.de>
7436
7437         * java/nio/Buffer.java: New stub file.
7438         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7439         of class Charset.
7440         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7441         * Makefile.in: Regenerated.
7442
7443 2002-10-07  Michael Koch  <konqueror@gmx.de>
7444
7445         * java/nio/ByteBuffer.java:
7446         removed import of not commited class.
7447
7448 2002-10-07  Michael Koch  <konqueror@gmx.de>
7449
7450         * java/nio/ByteBuffer.java,
7451         java/nio/MappedByteBuffer.java:
7452         New files, forgot to add these dummies.
7453         * Makefile.am (java_native_source_files): Added new files.
7454         * Makefile.in: Regenerated.
7455
7456 2002-10-07  Michael Koch  <konqueror@gmx.de>
7457
7458         * java/nio/channels/AlreadyConnectedException.java,
7459         java/nio/channels/ClosedChannelException.java,
7460         java/nio/channels/ReadableByteChannel.java,
7461         java/nio/channels/InterruptibleChannel.java,
7462         java/nio/channels/Channel.java,
7463         java/nio/channels/ByteChannel.java,
7464         java/nio/channels/GatheringByteChannel.java,
7465         java/nio/channels/ScatteringByteChannel.java,
7466         java/nio/channels/WritableByteChannel.java,
7467         java/nio/charset/CharacterCodingException.java,
7468         java/nio/charset/IllegalCharsetNameException.java,
7469         java/nio/charset/MalformedInputException.java,
7470         java/nio/charset/UnmappableCharacterException.java,
7471         java/nio/charset/UnsupportedCharsetException.java,
7472         java/nio/charset/spi/CharsetProvider.java: New file.
7473         These files are exceptions or interfaces,
7474         no real or abstract classes.
7475         * Makefile.am (java_native_source_files): Added new files.
7476         * Makefile.in: Regenerated.
7477
7478 2002-10-05  Michael Koch  <konqueror@gmx.de>
7479
7480         * java/net/InetAddress.java
7481         (getByAddress): Fixed documentation.
7482         (getByAddress): New method.
7483         * java/net/Inet4Address.java: New file.
7484         * java/net/URL.java
7485         (URL): Documentation added.
7486         (getContent): Documentation added.
7487         (getContent): New stubbed method.
7488         (getQuery): New method.
7489         (openConnection): Documentation added.
7490         (openStream): Documentation added.
7491         (setURLStreamHandlerFactory): Documentation added.
7492         * java/net/URI.java: New stub file.
7493         * Makefile.am
7494         (java_native_source_files): Added java/net/Inet4Address.java,
7495         java/net/Inet6Address.java and java/net/URI.java.
7496         * Makefile.in: Regenerated.
7497
7498 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7499
7500         * java/lang/ProtectionDomain.java (linesep): Remove field.
7501         (toString): Use System.getProperty("line.separator").
7502
7503 2002-10-04  Michael Koch  <konqueror@gmx.de>
7504
7505         * java/security/Identity.java: Added serialVersionUID.
7506         * java/security/KeyPair.java: Added serialVersionUID.
7507         * java/security/Provider.java: Added serialVersionUID.
7508         * java/security/SecureRandom.java: Added serialVersionUID.
7509         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7510         * java/security/SignedObject.java: Added serialVersionUID.
7511         * java/security/cert/Certificate.java: Added serialVersionUID.
7512
7513 2002-10-04  Mark Wielaard <mark@klomp.org>
7514
7515         * java/security/Security.java: Use java.home or gnu.classpath.home
7516         to load providers.
7517         (loadProviders): Extra dir argument.
7518         (getProvider): Return null when not found.
7519
7520 2002-10-04  Mark Wielaard  <mark@klomp.org>
7521
7522         * java/lang/Throwable.java: Remerge with Classpath.
7523
7524 2002-10-04  Michael Koch  <konqueror@gmx.de>
7525
7526         * java/net/InetAddress.java:
7527         (isMulticastAddress): Added documentation.
7528         (getHostAddress): Added documentation.
7529         (toString): Added documentation.
7530         (getByAddress): Fixed documentation.
7531         (getByName): Added documentation.
7532         (getAllByName): Added documentation.
7533         (getLocalHost): Added documentation.
7534
7535 2002-10-04  Michael Koch  <konqueror@gmx.de>
7536
7537         * java/beans/beancontext/BeanContextChildSupport.java:
7538         Added serialVersionUID.
7539         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7540         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7541         * javax/naming/Name.java: Added serialVersionUID.
7542
7543 2002-10-03  Adam Megacz <adam@xwt.org>
7544
7545         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7546         some functionality that isn't supported yet on WIN32.
7547
7548 2002-10-03  Tom Tromey  <tromey@redhat.com>
7549
7550         * Makefile.in: Rebuilt.
7551         * Makefile.am (awt_java_source_files): Added new files.
7552
7553 2002-10-03  Michael Koch  <konqueror@gmx.de>
7554
7555         * java/net/InetAddress.java
7556         (class InetAddress): Removed final keyword.
7557         (equals): Fixed typo.
7558         (getByAddress): New method.
7559
7560 2002-10-03  Michael Koch  <konqueror@gmx.de>
7561
7562         * java/awt/dnd/Autoscroll.java:
7563         New file, merge from Classpath.
7564         * java/awt/dnd/DragSourceAdapter.java:
7565         (dragExit): Fixed typos in argument type.
7566         (dragDropEnd): Fixed typos in argument type.
7567         * java/awt/dnd/DragSourceDropEvent.java:
7568         New file, merge from Classpath.
7569         * java/awt/dnd/DropTarget.java:
7570         Added stubs, merge from Classpath.
7571         * java/awt/dnd/DropTargetAdapter.java:
7572         New file, merge from Classpath.
7573         * java/awt/dnd/DropTargetContext.java:
7574         New file, merge from Classpath.
7575         * java/awt/dnd/DropTargetDragEvent.java:
7576         New file, merge from Classpath.
7577         * java/awt/dnd/DropTargetDropEvent.java:
7578         New file, merge from Classpath.
7579         * java/awt/dnd/DropTargetEvent.java:
7580         New file, merge from Classpath.
7581         * java/awt/dnd/DropTargetListener.java:
7582         New file, merge from Classpath.
7583         * java/awt/dnd/MouseDragGestureRecognizer.java:
7584         New file, merge from Classpath.
7585         * java/awt/dnd/peer/DropTargetContextPeer.java:
7586         New file, merge from Classpath.
7587
7588 2002-10-03  Michael Koch  <konqueror@gmx.de>
7589
7590         * java/net/DatagramPacket.java
7591         (setLength): Fixed typo and be HTML-aware.
7592         * java/net/InetSocketAddress.java
7593         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7594         (equals): Added comment about equality of InetSocketAddress objects.
7595         * java/net/ServerSocket.java
7596         (accept): Added checks.
7597         (isClosed): New stubbed method.
7598         * java/net/SocketOptions.java: Reindention.
7599         * java/net/SocketPermission
7600         (SocketPermission): Documentation fixed.
7601
7602 2002-10-03  Michael Koch  <konqueror@gmx.de>
7603
7604         * java/net/DatagramSocket.java
7605         (receive): Check with SecurityManager AFTER the packet is received,
7606         check if connected to multicast address, documentation added.
7607         (send): Only check SecurityManager if connected, check address of
7608         packet to send.
7609         (connect): Implemented, documentation added.
7610         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7611         * java/net/InetSocketAddress.java
7612         (whole file): Reindented.
7613         (hostname): New attribute.
7614         (InetSocketAddress): Initialize new attribute.
7615         (getAddress): Documentation added.
7616         (getHostName): Documentation added.
7617         (getPort): Documentation added.
7618         (hashCode): Documentation added.
7619         (isUnresolved): Documentation added.
7620         (toString): Conform to output of JDK 1.4.1, documentation added.
7621         * java/net/MulticastSocket.java
7622         (joinGroup): Removed FIXME, documentation added.
7623         (leaveGroup): Removed FIXME, documentation added.
7624         (send): Documentation added.
7625         * java/net/Socket.java
7626         (inputShutdown): New variable.
7627         (outputShutdown): New variable.
7628         (Socket): Initialize new variables.
7629         (getRemoteSocketAddress): Check if connected.
7630         (shutdownInput): Set new variable.
7631         (shutdownOutput): Set new variable.
7632         (isConnected): New method.
7633         (isClosed): New method.
7634         (isInputShutdown): New method.
7635         (isOutputShutdown): New method.
7636         * java/net/URLStreamHandler.java
7637         (URLStreamHandler): New method.
7638         (openConnection): Added documentation.
7639         (parseURL): Added documentation.
7640         (getHostAddress): New method.
7641         (getDefaultPort): New method.
7642
7643 2002-10-02  Tom Tromey  <tromey@redhat.com>
7644
7645         * java/rmi/activation/ActivationDesc.java,
7646         java/rmi/activation/ActivationGroupDesc.java,
7647         java/rmi/activation/ActivationGroupID.java,
7648         java/rmi/activation/ActivationID.java: New versions from
7649         Classpath.
7650
7651 2002-09-30  Bo Thorsen  <bo@suse.de>
7652
7653         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7654
7655 2002-09-30  Tom Tromey  <tromey@redhat.com>
7656
7657         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7658         from Classpath.
7659         * Makefile.in: Rebuilt.
7660         * Makefile.am (rmi_java_source_files): Added new files.
7661         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7662         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7663         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7664         Classpath.
7665         * gnu/java/rmi/dgc/DGCImpl.java,
7666         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7667         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7668         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7669         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7670         gnu/java/rmi/server/RMIHashes.java,
7671         gnu/java/rmi/server/RMIObjectInputStream.java,
7672         gnu/java/rmi/server/RMIObjectOutputStream.java,
7673         gnu/java/rmi/server/UnicastConnection.java,
7674         gnu/java/rmi/server/UnicastConnectionManager.java,
7675         gnu/java/rmi/server/UnicastRef.java,
7676         gnu/java/rmi/server/UnicastServer.java,
7677         gnu/java/rmi/server/UnicastServerRef.java,
7678         java/rmi/MarshalledObject.java,
7679         java/rmi/server/RMIClassLoader.java,
7680         java/rmi/server/RemoteObject.java,
7681         java/rmi/server/UnicastRemoteObject.java,
7682         java/security/SecureClassLoader.java: Merged from Classpath.
7683
7684 2002-09-29  Anthony Green  <green@redhat.com>
7685
7686         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7687         Imported from GNU Classpath.
7688         * java/lang/reflect/natProxy.cc: New file.
7689         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7690         from GNU Classpath.
7691         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7692         Classpath.
7693         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7694         Classpath.
7695         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7696         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7697         New statics.
7698         * gcj/javaprims.h ("Java"): Add new classes.
7699         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7700         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7701         java/lang/reflect/Proxy$$ProxyType.h): And this.
7702         (inner_nat_headers): Add these new headers.
7703         (ordinary_java_source_files): Add new files.
7704         (nat_source_files): Add new file.
7705         * Makefile.in: Rebuilt.
7706
7707 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7708
7709         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7710         a single configuration.
7711
7712 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7713
7714         * java/util/TimeZone.java (getDSTSavings): New method.
7715         Fixes PR libgcj/7786.
7716
7717 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7718
7719         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7720         to see if `the_method == 0' before looking up vtable index.
7721         Fixes PR libgcj/7709.
7722
7723 2002-09-25  Tom Tromey  <tromey@redhat.com>
7724
7725         * java/lang/natClassLoader.cc:
7726         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7727         * resolve.cc: Include NoClassDefFoundError.h, not
7728         ClassNotFoundException.h.
7729         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7730
7731         * defineclass.cc: Don't include ClassNotFoundException.h.
7732
7733         * resolve.cc: Include StringBuffer.
7734         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7735
7736         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7737         allocated but not initialized.
7738
7739 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7740
7741         Fix for PR libgcj/7766:
7742         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7743         (getNextEntry): Set it.
7744         (closeEntry): Likewise.
7745         (read): Likewise.
7746         (close): Likewise.
7747         (available): Use it.
7748
7749 2002-09-25  Michael Koch  <konqueror@gmx.de>
7750
7751         * java/net/DatagramSocket.java
7752         (DatagramSocket): Initialize new instance variables.
7753         (close): Reset new instance variables.
7754         (getLocalAddress): Remove unneeded SecurityManager usage.
7755         (getLocalPort): Check if socket is already bound.
7756         (isConnected): New method.
7757         (getInetAddress): Implemented.
7758         (getPort): Better Implementation, documentation fixed.
7759         (getRemoteSocketAddress): New method.
7760         * java/net/JarURLConnection.java
7761         (element): Typo fixed.
7762         (getMainAttributes): New method.
7763         (getAttributes): New method (stub only).
7764         (getManifest): New method (stub only).
7765         * java/net/NetPermission.java: Added serialVersionsUID.
7766         * java/net/Socket.java
7767         (connect): Check blocking mode of associated channel,
7768         documentation added.
7769         (getLocalSocketAddress): Better implementation.
7770         (getRemoteSocketAddress): Implemented.
7771         (isBound): New method.
7772         (setSendBufferSize): Documentation added.
7773         * java/net/SocketAddress.java: Added serialVersionsUID.
7774         * java/net/SocketPermission.java: Added serialVersionsUID.
7775         * java/net/URL.java
7776         (URL): Wrap for shorter lines, initialize new instance variables,
7777         documentation added.
7778         (equals): Check new instance variables too.
7779         (getContent): Documentation added.
7780         (getPath): Documentation added.
7781         (getAuthority): New method.
7782         (getHost): Documentation added.
7783         (getPort): Documentation added.
7784         (getDefaultPort): New method.
7785         (getProtocol): Documentation added.
7786         (getUserInfo): Documentation added.
7787         (set): Initialize new instance variables, documentation added.
7788         * java/net/URLStreamHandler.java
7789         (setURL): New method.
7790         * java/net/natPlainDatagramSocketImpl.cc
7791         (connect): Fix exception name.
7792         (disconnect): Fix exception name.
7793
7794 2002-09-25  Michael Koch  <konqueror@gmx.de>
7795
7796         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7797         * java/nio/channels/DatagramChannel.java:
7798         extends AbstractSelectableChannel
7799         * java/nio/channels/ServerSocketChannel.java:
7800         extends AbstractSelectableChannel
7801         * java/nio/channels/SocketChannel.java:
7802         extends AbstractSelectableChannel
7803         * Makefile.am (ordinary_java_source_files):
7804         java/nio/channels/spi/AbstractSelectableChannel.java added.
7805         * Makefile.in: Regenerated.
7806
7807 2002-09-25  Michael Koch  <konqueror@gmx.de>
7808
7809         * java/net/DatagramSocket.java
7810         (DatagramSocket): Exception documentation added.
7811         (bind): Exception documentation added, addded SecurityManager check,
7812         added SocketAddress type check.
7813         (getSoTimeout): Check impl.
7814         (receive): Fix SecurityManager check, check impl, documentation added.
7815         (send): Check channel mode, documentation added.
7816         (connect): New method.
7817         (disconnect): Implemented.
7818         (getLocalSocketAddress): New method.
7819         (getReceiveBufferSize): Check impl.
7820         (setReuseAddress): Check impl.
7821         (getReuseAddress): Check impl.
7822         (setBroadcast): Check impl.
7823         (getBroadcast): Check impl.
7824         (setTrafficClass): Check impl, Documentation cleared.
7825         (getTrafficClass): Check impl.
7826         (getSendBufferSize): Check impl.
7827         (setReceiveBufferSize): Check impl, documentation added.
7828         (setSendBufferSize): Documentation added.
7829         (setDatagramSocketImplFactory): New method.
7830         * java/net/HttpURLConnection.java
7831         (HTTP_INTERNAL_ERROR): The correct code is 500.
7832         (HTTP_NOT_IMPLEMENTED): Added new constant.
7833         (setFollowRedirects): Documentation added.
7834         (getInstanceFollowRedirects): New method.
7835         (setInstanceFollowRedirects): New method.
7836         (setRequestMethod): Documentation added.
7837         (getResponseCode): Documentation added.
7838         (getResponseMessage): Documentation added.
7839         * java/net/JarURLConnection.java
7840         (JarURLConnection): protected since JDK 1.4.
7841         (getJarEntry): java.io.IOException to IOException, documentation added.
7842         (getJarFile): Documentation added.
7843         * java/net/ServerSocket.java
7844         (ServerSocket): Private to public, exception added.
7845         (ServerSocket): java.io.IOException to IOException, documentation added.
7846         (bind): Check socket address type, documentation added.
7847         (bind): java.io.IOException to IOException, documentation added.
7848         (accept): Documentation added.
7849         (implAccept): Check ch is not non-blocking, documentation added.
7850         (setSoTimeout): Documentation fixed.
7851         (setReceiveBufferSize): Documentation added.
7852         * java/net/Socket.java
7853         (Socket): Documentation added.
7854         (bind): Documentation added.
7855         (connect): Check socket address type, documentation added.
7856         (getRemoteSocketAddress): New method.
7857         (getLocalSocketAddress): New method.
7858         (setSoLinger): Documentation added.
7859         (getReuseAddress): New method.
7860         (setReuseAddress): New method.
7861         (getTrafficClass): New method.
7862         (setTrafficClass): New method.
7863         * java/net/URLStreamHandler.java
7864         (openConnection): java.io.IOException to IOException.
7865         (parseURL): Documentation added.
7866         (sameFile): public to protected, documentation added.
7867         (setURL): Documentation added.
7868         * java/nio/IllegalBlockingModeException.java: New file.
7869         * Makefile.am (ordinary_java_source_files):
7870         added java/nio/IllegalBlockingModeException.java
7871         * Makefile.in: Regenerated.
7872
7873 2002-09-25  Michael Koch  <konqueror@gmx.de>
7874
7875         * java/net/DatagramPacket
7876         (DatagramPacket): Exception documentation added.
7877         (setData): Likewise.
7878         (setSocketAddress): Likewise.
7879         * java/net/DatagramSocketImpl.java
7880         (peek): Documentation addded.
7881         (peekData): Documentation addded.
7882         (send): Documentation addded.
7883         (receive): Documentation addded.
7884         (connect): New method.
7885         (disconnect): New method.
7886         (joinGroup): New abstract method.
7887         (leaveGroup): New abstract method.
7888         * java/net/InetSocketAddress.java
7889         (InetSocketAddress): Documentation added.
7890         (equals): final keyword added.
7891         (getAddress): final keyword added.
7892         (getHostName): final keyword added.
7893         (getPort): final keyword added.
7894         (hashCode): final keyword added.
7895         (isUnresolved): final keyword added.
7896         * java/net/MulticastSocket.java
7897         (MulticastSocket): Documentation added.
7898         (MulticastSocket): New method.
7899         (joinGroup): Documentation added.
7900         (joinGroup): New method.
7901         (leaveGroup): Documentation added.
7902         (leaveGroup): New method.
7903         (send): Documentation added.
7904         * java/net/NetworkInterface.java
7905         (getByName): Documentation added.
7906         (getByInetAddress): Documentation added.
7907         (getNetworkInterfaces): Documentation added.
7908         * java/net/PlainDatagramSocketImpl.java
7909         (connect): New method.
7910         (disconnect): New method.
7911         * java/net/SocketImpl.java
7912         (create): Documentation added.
7913         (shutdownInput): Convert public to protected, as it always was.
7914         (shutdownOutput): Convert public to protected, as it always was.
7915         * java/net/SocketOptions.java
7916         (whole file): Reintented.
7917         * java/net/URLClassLoader.java
7918         (URLClassLoader): SecurityManager check added, documentation added.
7919         (findResources): Documentation added.
7920         (findClass): Documentation added.
7921         (newInstance): More correct method arguments.
7922         * java/net/URLConnection.java
7923         (connect): Documentation added.
7924         (getContent): Documentation added.
7925         (getPermission): Documentation added.
7926         (getInputStream): Documentation added.
7927         (getOutputStream): Documentation added.
7928         (setDoInput): Throw correct exception, documentation added.
7929         (setDoOutput): Throw correct exception, documentation added.
7930         (setAllowUserInteraction): Throw correct exception, documentation added.
7931         (setUseCaches): Throw correct exception, documentation added.
7932         (setIfModifiedSince): Throw correct exception, documentation added.
7933         (setRequestProperty): Throw exception, documentation added.
7934         (addRequestProperty): Throw exception, documentation added.
7935         (getRequestProperty): Throw exception, documentation added.
7936         (getRequestProperties): Documentation added.
7937         (setContentHandlerFactory): Documentation added.
7938         (guessContentTypeFromName): protected to public.
7939         (setFileNameMap): Documentation added.
7940         * java/net/URLDecoder.java
7941         (URLDecoder): New method.
7942         (decode): Documentation added.
7943         (whole file): Reindented.
7944         * java/net/URLEncoder.java
7945         (encode): Documentation added.
7946         * java/net/natPlainDatagramSocketImpl.cc
7947         (connect): New method.
7948         (disconnect): New method.
7949         * javax/naming/RefAddr:
7950         (addrType): addrType was never final.
7951         (equals): Fix typo in method name.
7952         * javax/naming/BinaryRefAddr:
7953         (equals): Fix typo in method name.
7954
7955 2002-09-22  Tom Tromey  <tromey@redhat.com>
7956
7957         Fix for PR libgcj/6576:
7958         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7959         didn't find a given bundle.
7960         (getBundle): Don't require base bundle.
7961         (setParent): Removed old comment.
7962         (tryLocalBundle): Try components even if preceding components were
7963         empty.
7964
7965 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7966
7967         * Makefile.am (all-multi): Fix multilib parallel build.
7968
7969 2002-09-21  Michael Koch  <konqueror@gmx.de>
7970
7971         * java/net/Socket.java
7972         (sendUrgentData): New method.
7973         (getChannel): New method.
7974         * java/net/ServerSocket.java
7975         (getChannel): New method.
7976         (isBound): New method.
7977         * java/net/DatagramSocket.java
7978         (DatagramSocket): Two new methods.
7979         (bind): New method.
7980         (getChannel): New method.
7981         (isBound): New method.
7982         (send): Added newline to to make shorter lines.
7983         * java/net/PlainDatagramSocketImpl.java
7984         (mcastGrp): Added argument.
7985         (join): Use new mcastGrp.
7986         (leave): Use new mcastGrp.
7987         (joinGroup): New method.
7988         (leaveGroup): New method.
7989         * java/net/natPlainDatagramSocketImpl.cc
7990         (mcastGrp): Added argument, no yet really implemented.
7991         (getOption): Added newline for shorter lines.
7992         * java/net/natPlainSocketImpl.cc
7993         (read, setOption, getOption): Added newline for shorter lines.
7994
7995 2002-09-19  Tom Tromey  <tromey@redhat.com>
7996
7997        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7998        newly-created exception.
7999
8000 2002-09-18  Michael Koch  <konqueror@gmx.de>
8001
8002         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8003         java/util/regex/PatternSyntaxException.java:
8004         Merge with classpath, new files.
8005         * Makefile.am (core_java_source_files):
8006         Added java/util/regex/Matcher.java,
8007         java/util/regex/Pattern.java,
8008         java/util/regex/PatternSyntaxException.java
8009         * Makefile.in: Regenerated.
8010         * include/config.h.in: Added HAVE_NET_IF_H.
8011         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8012         Removed #if 0 ... #endif.
8013
8014 2002-09-17  Michael Koch  <konqueror@gmx.de>
8015
8016         * java/net/natNetworkInterface.cc:
8017         Removed unneed and yet wrong includes.
8018
8019 2002-09-17  Michael Koch  <konqueror@gmx.de>
8020
8021         * java/net/NetworkInterface.java: New file.
8022         * java/net/natNetworkInterface.java: New file.
8023         * configure.in: Added check for net/if.h.
8024         * configure: Regenerated.
8025         * Makefile.am
8026         (ordinary_java_source_files): Added NetworkInterface.java.
8027         (nat_source_files): Added natNetworkInterface.cc.
8028         * Makefile.in: Regenerated.
8029
8030 2002-09-16  Tom Tromey  <tromey@redhat.com>
8031
8032         * java/net/URLClassLoader.java (findClass): Code source for a
8033         class from a jar is not necessarily a jar: URL.
8034
8035 2002-09-16  Michael Koch  <konqueror@gmx.de>
8036
8037         * java/lang/AssertionError.java:
8038         Merge with classpath, fixes HTML.
8039         * java/rmi/server/LogStream.java:
8040         Merge with classpath, fixes some constants.
8041         * java/net/server/RemoteServer.java:
8042         Merge with classpath, adds serialVersionUID.
8043         * javax/naming/BinaryRefAddr.java:
8044         Merge with classpath, s/equal/equals/.
8045         * javax/naming/NamingException.java:
8046         Merge with classpath, fixed typo.
8047         * javax/naming/RefAddr.java:
8048         Merge with classpath, s/equal/equals/.
8049         * java/awt/Toolkit.java:
8050         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8051         and typo fixed.
8052
8053 2002-09-15  Adam Megacz <adam@xwt.org>
8054
8055         * java/net/natPlainSocketImpl.cc: fixed typo.
8056
8057 2002-09-15  Adam Megacz <adam@xwt.org>
8058
8059         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8060         which don't work on Win32 (yet).
8061
8062 2002-09-14  Adam Megacz <adam@xwt.org>
8063
8064         * java/net/natPlainDatagramSocket.cc: removed #include
8065         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8066         * include/win32.h: included definition for IP_TOS to satisfy
8067         natPlainDatagramSocket.cc
8068
8069 2002-09-13  Michael Koch  <konqueror@gmx.de>
8070
8071         * java/net/DatagramPacket.java (DatagramPacket):
8072         Added linebreak for 80 chars per line.
8073         * java/net/JarURLConection.java
8074         (getInputStreami, getJarEntry): Likewise.
8075         * java/net/SocketPErmission.java
8076         (SocketPermission class docu, implies): Likewise.
8077         * java/net/URLClassLoader.java (findResources): Likewise.
8078         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8079
8080 2002-09-13  Michael Koch  <konqueror@gmx.de>
8081
8082         * java/nio/channels/DatagramChannel.java,
8083         java/nio/channels/ServerSocketChannel.java
8084         java/nio/channels/SocketChannel.java:
8085         New dummy files to make java.net fully JDK 1.4 compatible
8086         * Makefile.am (ordinary_java_source_files): Added
8087         java/net/DatagramSocketImplFactory.java (long forgotten),
8088         java/nio/SocketChannel.java,
8089         java/nio/ServerSocketChannel.java,
8090         java/nio/DatagramChannel.java
8091         * Makefile.in: Regenrated.
8092
8093 2002-09-12  Michael Koch  <konqueror@gmx.de>
8094
8095         * java/net/DatagramSocketImpl.java
8096         (peekData): New method.
8097         * java/net/PlainDatagramSocketImpl.java
8098         (peekData): New method.
8099         * java/net/natPlainDatagramSocketImpl.cc
8100         (peekData): New method.
8101         * java/net/URLConnection
8102         (getPermission): New method.
8103         (addRequestProperty): New method.
8104         (getRequestProperties): New method.
8105         (guessContentTypeFromStream): New method, not really implemented.
8106         (URLConnection): Added/updated documentation.
8107         (connect): Added/updated documentation.
8108         (getURL): Added/updated documentation.
8109         (getContentLength): Added/updated documentation.
8110         (getContentType: Added/updated documentation.
8111         (getContentEncoding): Added/updated documentation.
8112         (getExpiration): Added/updated documentation.
8113         (getDate): Added/updated documentation.
8114         (getLastModified): Added/updated documentation.
8115         (getHeaderField): Added/updated documentation.
8116         (getHeaderFields): Added/updated documentation.
8117         (getHeaderFieldInt): Added/updated documentation.
8118         (getHeaderFieldDate): Added/updated documentation.
8119         (getHeaderFieldKey): Added/updated documentation.
8120         (getContent): Added/updated documentation.
8121         (getInputStream): Added/updated documentation.
8122         (getOutputStream): Added/updated documentation.
8123         (toString): Added/updated documentation.
8124         (setDoInput): Added/updated documentation.
8125         (getDoInput): Added/updated documentation.
8126         (setDoOutput): Added/updated documentation.
8127         (getDoOutput): Added/updated documentation.
8128         (setAllowUserInteraction): Added/updated documentation.
8129         (getAllowUserInteraction): Added/updated documentation.
8130         (setDefaultAllowUserInteraction): Added/updated documentation.
8131         (getDefaultAllowUserInteraction): Added/updated documentation.
8132         (setUseCaches): Added/updated documentation.
8133         (getUseCaches): Added/updated documentation.
8134         (setIfModifiedSince): Added/updated documentation.
8135         (getIfModifiedSince): Added/updated documentation.
8136         (getDefaultUseCaches): Added/updated documentation.
8137         (setDefaultUseCaches): Added/updated documentation.
8138         (setRequestProperty): Added/updated documentation.
8139         (getRequestProperty): Added/updated documentation.
8140         (setDefaultRequestProperty): Added/updated documentation.
8141         (getDefaultRequestProperty): Added/updated documentation.
8142         (setContentHandlerFactory): Added/updated documentation.
8143         (guessContentTypeFromName): Added/updated documentation.
8144         (getFileNameMap): Added/updated documentation.
8145         (setFileNameMap): Added/updated documentation.
8146
8147 2002-09-11  Michael Koch  <konqueror@gmx.de>
8148
8149         * java/net/Socket.java
8150         (Socket): protected to public (since JDK 1.4). Added @specnote.
8151         (bind): New method.
8152         (connect): Two new methods.
8153         (getKeepalive): Get correct socket option.
8154         (setKeepalive): Set correct socket option.
8155         (getOOBInline): New method.
8156         (setOOBInline): New method.
8157         * java/net/ServerSocket.java
8158         (bind): Two new methods.
8159         (getInetAddress): Reimplemented, catch exception.
8160         (getLocalSocketAddress): New method.
8161         (setReuseAddress): New method.
8162         (getReuseAdress): New method.
8163         (setReceiveBufferSize): New method.
8164         (getReceiveBufferSize): New method.
8165         (toString): Made string JDK 1.4 compliant.
8166
8167 2002-09-10  Michael Koch  <konqueror@gmx.de>
8168
8169         * java/net/SocketImpl.java
8170         (connect): New method.
8171         (supportsUrgentData): New method.
8172         (sendUrgentData): New method.
8173         * java/net/PlainSocketImpl.java
8174         (connect): One new method and two new implementation.
8175         (sendUrgentData): New method.
8176         * java/natPlainSocketImpl.cc
8177         (connect): Arguments changed, added support for timeouts.
8178         (getOption): Another __java_boolean to jboolean.
8179
8180 2002-09-07  Adam Megacz <adam@xwt.org>
8181
8182         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8183         definition of IP_TOS.
8184
8185 2002-09-04  Michael Koch  <konqueror@gmx.de>
8186
8187         * java/net/DatagramSocket.java
8188         (DatagramSocket): Added documentation.
8189         (close): Likewise.
8190         (getLocalAddress): Likewise.
8191         (getLocalPort): Likewise.
8192         (receive): Likewise.
8193         (send): Likewise.
8194         (setSoTimeout): Likewise.
8195         (connect): New method.
8196         (disconnect): New method.
8197         (getInetAddress): New method (FIXME)
8198         (getPort): New method.
8199         (setReuseAddress): New method.
8200         (getReuseAddress): New method.
8201         (setBroadcast): New method.
8202         (getBroadcast): New method.
8203         (setTrafficClass): New method.
8204         (getTrafficClass): New method.
8205         * java/net/MulticastSocket.java):
8206         (getTTL): Added @see in documentation.
8207         (setTTL): Added @see in documentation.
8208         (setLoopbackMode): New method.
8209         (getLoopbackMode): New method.
8210         * java/net/PlainSocketImpl.java:
8211         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8212         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8213         * java/net/PlainDatagramSocketImpl.java
8214         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8215         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8216         * java/net/natPlainSocketImpl.cc
8217         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8218         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8219         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8220         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8221         This should also fix SO_KEEPALIVE
8222         * java/net/natPlainDatagramSocketImpl.cc
8223         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8224         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8225         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8226         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8227
8228 2002-09-04  Michael Koch  <konqueror@gmx.de>
8229
8230         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8231         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8232         IP_MULTICAST_LOOP, IP_TOS
8233
8234 2002-09-03  Tom Tromey  <tromey@redhat.com>
8235
8236         * java/lang/Class.h (_getDeclaredMethod): Declare.
8237         (_getMethod): Now private.
8238         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8239         getDeclaredMethod.  Now returns NULL on failure.
8240         * java/lang/Class.java (_getDeclaredMethod): Declare.
8241         (getDeclaredMethod): No longer native; implements access checks.
8242
8243 2002-09-01  Mark Wielaard  <mark@klomp.org>
8244
8245         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8246         (sanitizeStack): Correctly reset unknown and interpreter counters,
8247         detect interpreter runtime frames.
8248         (demangleInterpreterMethod): New method.
8249         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8250         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8251         filling in addrs[].
8252
8253 2002-09-02  Michael Koch  <konqueror@gmx.de>
8254
8255         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8256         re-indented documentation.
8257
8258 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8259
8260         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8261         public, per 1.4 spec.  Fixes PR libgcj/7785.
8262
8263 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8264
8265         * Makefile.in: Rebuilt.
8266         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8267
8268 2002-08-29  Tom Tromey  <tromey@redhat.com>
8269
8270         * java/net/JarURLConnection.java (getCertificates): New method
8271         from Classpath.
8272         * java/net/URLClassLoader.java (URLClassLoader): Extends
8273         SecureClassLoader.
8274         (definePackage): New method from Classpath.
8275         (getPermissions): Likewise.
8276         (newInstance): Likewise.
8277         (findClass): Construct CodeSource for new class (from Classpath).
8278         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8279         methods.
8280         * java/net/URL.java (getUserInfo): New method.
8281         (set(String,String,int,String,String,String,String,String)): New
8282         method.
8283         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8284         (shutdownInput, shutdownOutput): Declare.
8285         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8286         Define.
8287         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8288         (getOption): Likewise.
8289         (shutdownInput): New method.
8290         (shutdownOutput): Likewise.
8291         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8292         keepalive.
8293         (getOption): Likewise.
8294         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8295         * java/net/Socket.java (setKeepAlive): New method.
8296         (getKeepAlive): Likewise.
8297         (shutdownInput, shutdownOutput): New methods.
8298
8299 2002-08-29  Michael Koch  <konqueror@gmx.de>
8300
8301         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8302         new methods are:
8303         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8304           address),
8305         DatagramPacket(byte[] buf, int length, SocketAddress address),
8306         void setSocketAddress(SocketAddress address)
8307         public SocketAddress getSocketAddress()
8308
8309 2002-08-29  Tom Tromey  <tromey@redhat.com>
8310
8311         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8312         ftruncate is missing.
8313         * configure, include/config.h.in: Rebuilt.
8314         * acconfig.h (HAVE_FTRUNCATE): Mention.
8315         * configure.in: Check for ftruncate.
8316
8317 2002-08-29  Tom Tromey  <tromey@redhat.com>
8318
8319         * include/jvm.h (struct _Jv_frame_info): New structure.
8320         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8321         java-interp.h.
8322         (lookupInterp): New method.
8323         (getAddrAsString): Use _Jv_frame_info.
8324         (dladdrLookup): Likewise.
8325         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8326         interpreted frame.
8327         (lookupInterp): Declare.
8328         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8329         (fillInStackTrace): Collect information on interpreted frames.
8330         Use _Jv_frame_info.
8331         * interpret.cc: Include Thread.h.
8332         (run): Create and push _Jv_MethodChain object.
8333         (_Jv_EndOfInterpreter): New global.
8334         * java/lang/Thread.java (interp_frame): New field.
8335         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8336         Include NameFinder.h.
8337
8338 2002-08-28  Tom Tromey  <tromey@redhat.com>
8339
8340         * java/lang/Class.h: Include Package.h.
8341         (Class::getProtectionDomain): Declare.
8342         (Class::getPackage): Declare.
8343
8344 2002-08-28  Michael Koch <konqueror@gmx.de>
8345
8346         * java/net/InetSocketAddress.java: Added some documentation and argument
8347         checks for the port numbers.
8348         * java/net/DatagramSocketImplFactory.java: New file.
8349
8350 2002-08-28  Michael Koch <konqueror@gmx.de>
8351
8352         * java/net/Authenticator.java: added some documentation.
8353
8354 2002-08-27  Tom Tromey  <tromey@redhat.com>
8355
8356         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8357         class.
8358         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8359
8360 2002-08-27  Michael Koch <konqueror@gmx.de>
8361
8362         * java/net/BindException.java,
8363         java/net/JarURLConnection.java,
8364         java/net/FileNameMap.java,
8365         java/net/HttpURLConnection.java,
8366         java/net/InetSocketAddress.java,
8367         java/net/DatagramPacket.java,
8368         java/net/DatagramSocket.java,
8369         java/net/DatagramSocketImpl.java,
8370         java/net/MulticastSocket.java,
8371         java/net/PasswordAuthentication.java,
8372         java/net/ServerSocket.java,
8373         java/net/Socket.java,
8374         java/net/URLClassLoader.java,
8375         java/net/URLConnection.java: add/update of some @since/@deprecated
8376
8377 2002-08-27  Tony Kimball <alk@pobox.com>
8378             Tom Tromey  <tromey@redhat.com>
8379
8380         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8381         define.
8382         (::close): Removed.
8383         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8384         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8385         (::close): Removed.
8386         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8387         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8388
8389 2002-08-25  Adam Megacz <adam@xwt.org>
8390
8391         * include/win32.h (getcwd): copied function declaration as
8392         temporary fix for header confusion.
8393
8394 2002-08-24  Mark Wielaard <mark@klomp.org>
8395
8396         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8397         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8398         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8399         and natNameFinder.cc.
8400         * Makefile.in: Regenerate.
8401         * prims.cc: Use trace_enabled from VMThrowable.
8402         * name-finder.cc: Removed.
8403         * gcj/javaprims.h: Add class VMThrowable.
8404         * gnu/gcj/runtime/NameFinder.java: New file.
8405         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8406         * include/name-finder.h: Removed.
8407         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8408         method stackTraceString().
8409         (printStackTrace (PrintWriter)): Likewise.
8410         (stackTraceString): Complete rewrite of old printStackTrace using
8411         StringBuffer.
8412         (stackTraceStringBuffer): New helper method for stackTraceString().
8413         (fillInStackTrace): Delegate to VMTrowable.
8414         (getStackTrace): Likewise.
8415         (getStackTrace0): Removed.
8416         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8417         (setStackTrace): Copy given array.
8418         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8419         * java/lang/VMThrowable.java: New class.
8420         * java/lang/natVMThrowable.cc: New file.
8421
8422 2003-08-23  Michael Koch  <konqueror@gmx.de>
8423
8424         * java/net/URLConnection.java,
8425         java/netJarURLConnection.java,
8426         gnu/gcj/protocol/core/Connection.java,
8427         gnu/gcj/protocol/file/Connection.java,
8428         gnu/gcj/protocol/http/Connection.java: Added implementation of
8429         getHeaderFields().
8430
8431 2002-08-22  Tom Tromey  <tromey@redhat.com>
8432
8433         * gij.cc (help): Document -cp and -classpath.
8434         (main): Handle -classpath.
8435
8436 2002-08-21  Tom Tromey  <tromey@redhat.com>
8437
8438         * Makefile.in: Rebuilt.
8439         * Makefile.am (ordinary_java_source_files): Added
8440         SocketAddress.java, InetSocketAddress.java.
8441         * java/net/PortUnreachableException.java: Merged with Classpath.
8442         * java/net/SocketTimeoutException.java: Likewise.
8443         * java/net/URISyntaxException.java: Likewise.
8444         * java/net/SocketAddress.java: New class from Classpath.
8445         * java/net/InetSocketAddress.java: Likewise.
8446
8447 2003-08-21  Michael Koch  <konqueror@gmx.de>
8448
8449         * java/net/Authenticator.java: updated JDK 1.4
8450         * java/net/ContentHandler.java: updated JDK 1.4
8451
8452 2002-08-20  Michael Koch  <konqueror@gmx.de>
8453
8454         * java/net/URISyntaxException.java: New file.
8455         * java/net/SocketTimeoutException.java: New file.
8456         * java/net/PortUnreachableException.java: New file.
8457         * Makefile.am: Updated.
8458         * Makefile.in: Rebuilt.
8459
8460 2002-08-18  Mark Wielaard  <mark@klomp.org>
8461
8462         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8463         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8464         MessageDigestSpi (fixes Classpath bug #783).
8465
8466 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8467
8468         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8469         (startProcess): Allocate path for chdir in async-signal-safe way.
8470
8471 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8472
8473         Fix for PR libgcj/7570 and PR libgcj/7578:
8474         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8475         (startProcess): Handle new `dir' argument.
8476         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8477         argument.
8478         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8479         argument.
8480         (startProcess): Likewise.
8481         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8482         argument.
8483         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8484         (exec): Don't create new environment if ENV==null.  Pass DIR to
8485         execInternal.
8486         * java/lang/natRuntime.cc: Include java/io/File.h.
8487         (execInternal): Added `dir' argument.
8488
8489 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8490
8491         * java/io/RandomAccessFile.java (skipBytes): Return number of
8492         bytes skipped.
8493
8494 2002-08-01  Mark Wielaard  <mark@klomp.org>
8495
8496         Reenable patch since shared library troubles on powerpc are solved:
8497         * gnu/java/security/provider/Gnu.java: Reference all implementation
8498         classes by using Class.getName().
8499         * gnu/java/security/der/DEREncodingException.java,
8500         gnu/java/security/provider/DERReader.java,
8501         gnu/java/security/provider/DERWriter.java,
8502         gnu/java/security/provider/DSAKeyPairGenerator.java,
8503         gnu/java/security/provider/DSAParameterGenerator.java,
8504         gnu/java/security/provider/DSAParameters.java,
8505         gnu/java/security/provider/DSASignature.java,
8506         gnu/java/security/provider/GnuDSAPrivateKey.java,
8507         gnu/java/security/provider/GnuDSAPublicKey.java,
8508         gnu/java/security/provider/MD5.java,
8509         gnu/java/security/util/Prime.java: New classes
8510         * Makefile.am (ordinary_java_source_files): Add above files.
8511         * Makefile.in: Regenerate.
8512         * gnu/java/security/provider/DefaultPolicy.java
8513         (getPermissions): Don't maintain static class variable of Permissions.
8514         * gnu/java/security/provider/SHA.java
8515         (engineUpdate): algorithm change.
8516         (engineDigest): algorithm change.
8517
8518 2002-08-09  Mark Wielaard  <mark@klomp.org>
8519
8520         * java/awt/image/MemoryImageSource.java: Change constructor to take
8521         int[] not byte[].
8522         * java/awt/Graphics2D.java: Uncomment methods that can now be
8523         compiled.
8524         * java/awt/GridBagLayout.java: New stub implementation.
8525         * javax/swing/text/html/HTML.java: Stub implementation.
8526         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8527         implementation.
8528
8529         * Makefile.am: Add new files.
8530         * Makefile.in: Rebuilt.
8531
8532 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8533
8534         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8535         methods in Graphics2D.
8536
8537 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8538
8539         AWT/Swing merge from GNU Classpath.
8540
8541         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8542         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8543         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8544         java/awt/color/ProfileDataException.java,
8545         java/awt/CompositeContext.java, java/awt/Composite.java,
8546         java/awt/ContainerOrderFocusTraversalPolicy.java,
8547         java/awt/datatransfer/FlavorTable.java,
8548         java/awt/DefaultFocusTraversalPolicy.java,
8549         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8550         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8551         java/awt/dnd/DragGestureListener.java,
8552         java/awt/dnd/DragGestureRecognizer.java,
8553         java/awt/dnd/DragSourceAdapter.java,
8554         java/awt/dnd/DragSourceContext.java,
8555         java/awt/dnd/DragSourceDragEvent.java,
8556         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8557         java/awt/dnd/DragSourceListener.java,
8558         java/awt/dnd/DragSourceMotionListener.java,
8559         java/awt/dnd/DropTarget.java,
8560         java/awt/dnd/InvalidDnDOperationException.java,
8561         java/awt/dnd/peer/DragSourceContextPeer.java,
8562         java/awt/event/AWTEventListenerProxy.java,
8563         java/awt/event/MouseWheelEvent.java,
8564         java/awt/event/MouseWheelListener.java,
8565         java/awt/event/WindowFocusListener.java,
8566         java/awt/event/WindowStateListener.java,
8567         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8568         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8569         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8570         java/awt/geom/FlatteningPathIterator.java,
8571         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8572         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8573         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8574         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8575         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8576         java/awt/image/ImagingOpException.java,
8577         java/awt/image/RasterFormatException.java,
8578         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8579         java/awt/image/VolatileImage.java,
8580         java/awt/image/WritableRenderedImage.java,
8581         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8582         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8583         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8584         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8585         java/awt/PageAttributes.java, java/awt/print/Book.java,
8586         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8587         java/awt/print/Paper.java, java/awt/print/Printable.java,
8588         java/awt/print/PrinterAbortException.java,
8589         java/awt/print/PrinterException.java,
8590         java/awt/print/PrinterGraphics.java,
8591         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8592         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8593         java/awt/Stroke.java, java/awt/TexturePaint.java,
8594         javax/accessibility/AccessibleAction.java,
8595         javax/accessibility/AccessibleBundle.java,
8596         javax/accessibility/AccessibleComponent.java,
8597         javax/accessibility/AccessibleContext.java,
8598         javax/accessibility/AccessibleEditableText.java,
8599         javax/accessibility/AccessibleExtendedComponent.java,
8600         javax/accessibility/AccessibleExtendedTable.java,
8601         javax/accessibility/AccessibleHyperlink.java,
8602         javax/accessibility/AccessibleHypertext.java,
8603         javax/accessibility/AccessibleIcon.java,
8604         javax/accessibility/Accessible.java,
8605         javax/accessibility/AccessibleKeyBinding.java,
8606         javax/accessibility/AccessibleRelation.java,
8607         javax/accessibility/AccessibleRelationSet.java,
8608         javax/accessibility/AccessibleResourceBundle.java,
8609         javax/accessibility/AccessibleRole.java,
8610         javax/accessibility/AccessibleSelection.java,
8611         javax/accessibility/AccessibleState.java,
8612         javax/accessibility/AccessibleStateSet.java,
8613         javax/accessibility/AccessibleTable.java,
8614         javax/accessibility/AccessibleTableModelChange.java,
8615         javax/accessibility/AccessibleText.java,
8616         javax/accessibility/AccessibleValue.java,
8617         javax/swing/AbstractAction.java,
8618         javax/swing/AbstractButton.java,
8619         javax/swing/AbstractCellEditor.java,
8620         javax/swing/AbstractListModel.java,
8621         javax/swing/AbstractSet.java, javax/swing/Action.java,
8622         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8623         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8624         javax/swing/border/CompoundBorder.java,
8625         javax/swing/border/EmptyBorder.java,
8626         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8627         javax/swing/border/LineBorder.java,
8628         javax/swing/border/MatteBorder.java,
8629         javax/swing/border/TitledBorder.java,
8630         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8631         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8632         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8633         javax/swing/CellRendererPane.java,
8634         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8635         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8636         javax/swing/colorchooser/ColorSelectionModel.java,
8637         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8638         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8639         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8640         javax/swing/DefaultBoundedRangeModel.java,
8641         javax/swing/DefaultButtonModel.java,
8642         javax/swing/DefaultCellEditor.java,
8643         javax/swing/DefaultCellRenderer.java,
8644         javax/swing/DefaultComboBoxModel.java,
8645         javax/swing/DefaultDesktopManager.java,
8646         javax/swing/DefaultFocusManager.java,
8647         javax/swing/DefaultListCellRenderer.java,
8648         javax/swing/DefaultListModel.java,
8649         javax/swing/DefaultListSelectionModel.java,
8650         javax/swing/DefaultSingleSelectionModel.java,
8651         javax/swing/DesktopManager.java,
8652         javax/swing/event/AncestorEvent.java,
8653         javax/swing/event/AncestorListener.java,
8654         javax/swing/event/CaretEvent.java,
8655         javax/swing/event/CaretListener.java,
8656         javax/swing/event/CellEditorListener.java,
8657         javax/swing/event/ChangeEvent.java,
8658         javax/swing/event/ChangeListener.java,
8659         javax/swing/event/DocumentEvent.java,
8660         javax/swing/event/DocumentListener.java,
8661         javax/swing/event/EventListenerList.java,
8662         javax/swing/event/HyperlinkEvent.java,
8663         javax/swing/event/HyperlinkListener.java,
8664         javax/swing/event/InternalFrameAdapter.java,
8665         javax/swing/event/InternalFrameEvent.java,
8666         javax/swing/event/InternalFrameListener.java,
8667         javax/swing/event/ListDataEvent.java,
8668         javax/swing/event/ListDataListener.java,
8669         javax/swing/event/ListSelectionEvent.java,
8670         javax/swing/event/ListSelectionListener.java,
8671         javax/swing/event/MenuDragMouseEvent.java,
8672         javax/swing/event/MenuDragMouseListener.java,
8673         javax/swing/event/MenuEvent.java,
8674         javax/swing/event/MenuKeyEvent.java,
8675         javax/swing/event/MenuKeyListener.java,
8676         javax/swing/event/MenuListener.java,
8677         javax/swing/event/MouseInputAdapter.java,
8678         javax/swing/event/MouseInputListener.java,
8679         javax/swing/event/PopupMenuEvent.java,
8680         javax/swing/event/PopupMenuListener.java,
8681         javax/swing/event/SwingPropertyChangeSupport.java,
8682         javax/swing/event/TableColumnModelEvent.java,
8683         javax/swing/event/TableColumnModelListener.java,
8684         javax/swing/event/TableModelEvent.java,
8685         javax/swing/event/TableModelListener.java,
8686         javax/swing/event/TreeExpansionEvent.java,
8687         javax/swing/event/TreeExpansionListener.java,
8688         javax/swing/event/TreeModelEvent.java,
8689         javax/swing/event/TreeModelListener.java,
8690         javax/swing/event/TreeSelectionEvent.java,
8691         javax/swing/event/TreeSelectionListener.java,
8692         javax/swing/event/TreeWillExpandListener.java,
8693         javax/swing/event/UndoableEditEvent.java,
8694         javax/swing/event/UndoableEditListener.java,
8695         javax/swing/filechooser/FileFilter.java,
8696         javax/swing/filechooser/FileSystemView.java,
8697         javax/swing/filechooser/FileView.java,
8698         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8699         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8700         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8701         javax/swing/JApplet.java, javax/swing/JButton.java,
8702         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8703         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8704         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8705         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8706         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8707         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8708         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8709         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8710         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8711         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8712         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8713         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8714         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8715         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8716         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8717         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8718         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8719         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8720         javax/swing/JToolTip.java, javax/swing/JTree.java,
8721         javax/swing/JViewport.java, javax/swing/JWindow.java,
8722         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8723         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8724         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8725         javax/swing/MenuSelectionManager.java,
8726         javax/swing/MutableComboBoxModel.java,
8727         javax/swing/OverlayLayout.java,
8728         javax/swing/plaf/ActionMapUIResource.java,
8729         javax/swing/plaf/basic/BasicBorders.java,
8730         javax/swing/plaf/basic/BasicButtonUI.java,
8731         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8732         javax/swing/plaf/basic/BasicDefaults.java,
8733         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8734         javax/swing/plaf/basic/BasicIconFactory.java,
8735         javax/swing/plaf/basic/BasicLabelUI.java,
8736         javax/swing/plaf/basic/BasicListUI.java,
8737         javax/swing/plaf/basic/BasicLookAndFeel.java,
8738         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8739         javax/swing/plaf/basic/BasicPanelUI.java,
8740         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8741         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8742         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8743         javax/swing/plaf/basic/BasicTextUI.java,
8744         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8745         javax/swing/plaf/basic/BasicTreeUI.java,
8746         javax/swing/plaf/basic/BasicViewportUI.java,
8747         javax/swing/plaf/BorderUIResource.java,
8748         javax/swing/plaf/ButtonUI.java,
8749         javax/swing/plaf/ColorChooserUI.java,
8750         javax/swing/plaf/ColorUIResource.java,
8751         javax/swing/plaf/ComboBoxUI.java,
8752         javax/swing/plaf/ComponentInputMapUIResource.java,
8753         javax/swing/plaf/ComponentUI.java,
8754         javax/swing/plaf/DesktopIconUI.java,
8755         javax/swing/plaf/DesktopPaneUI.java,
8756         javax/swing/plaf/DimensionUIResource.java,
8757         javax/swing/plaf/FileChooserUI.java,
8758         javax/swing/plaf/FontUIResource.java,
8759         javax/swing/plaf/IconUIResource.java,
8760         javax/swing/plaf/InputMapUIResource.java,
8761         javax/swing/plaf/InsetsUIResource.java,
8762         javax/swing/plaf/InternalFrameUI.java,
8763         javax/swing/plaf/LabelUI.java,
8764         javax/swing/plaf/ListUI.java,
8765         javax/swing/plaf/MenuBarUI.java,
8766         javax/swing/plaf/MenuItemUI.java,
8767         javax/swing/plaf/OptionPaneUI.java,
8768         javax/swing/plaf/PanelUI.java,
8769         javax/swing/plaf/PopupMenuUI.java,
8770         javax/swing/plaf/ProgressBarUI.java,
8771         javax/swing/plaf/RootPaneUI.java,
8772         javax/swing/plaf/ScrollBarUI.java,
8773         javax/swing/plaf/ScrollPaneUI.java,
8774         javax/swing/plaf/SeparatorUI.java,
8775         javax/swing/plaf/SliderUI.java,
8776         javax/swing/plaf/SplitPaneUI.java,
8777         javax/swing/plaf/TabbedPaneUI.java,
8778         javax/swing/plaf/TableHeaderUI.java,
8779         javax/swing/plaf/TableUI.java,
8780         javax/swing/plaf/TextUI.java,
8781         javax/swing/plaf/ToolBarUI.java,
8782         javax/swing/plaf/ToolTipUI.java,
8783         javax/swing/plaf/TreeUI.java,
8784         javax/swing/plaf/UIResource.java,
8785         javax/swing/plaf/ViewportUI.java,
8786         javax/swing/ProgressMonitorInputStream.java,
8787         javax/swing/ProgressMonitor.java,
8788         javax/swing/Renderer.java,
8789         javax/swing/RepaintManager.java,
8790         javax/swing/RootPaneContainer.java,
8791         javax/swing/Scrollable.java,
8792         javax/swing/ScrollPaneConstants.java,
8793         javax/swing/ScrollPaneLayout.java,
8794         javax/swing/SingleSelectionModel.java,
8795         javax/swing/SizeRequirements.java,
8796         javax/swing/SizeSequence.java,
8797         javax/swing/SwingConstants.java,
8798         javax/swing/SwingUtilities.java,
8799         javax/swing/table/AbstractTableModel.java,
8800         javax/swing/table/DefaultTableCellRenderer.java,
8801         javax/swing/table/DefaultTableColumnModel.java,
8802         javax/swing/table/DefaultTableModel.java,
8803         javax/swing/table/TableCellEditor.java,
8804         javax/swing/table/TableCellRenderer.java,
8805         javax/swing/table/TableColumn.java,
8806         javax/swing/table/TableColumnModel.java,
8807         javax/swing/table/TableModel.java,
8808         javax/swing/text/AbstractDocument.java,
8809         javax/swing/text/AttributeSet.java,
8810         javax/swing/text/BadLocationException.java,
8811         javax/swing/text/Caret.java,
8812         javax/swing/text/CharacterIterator.java,
8813         javax/swing/text/ComponentView.java,
8814         javax/swing/text/DefaultCaret.java,
8815         javax/swing/text/DefaultEditorKit.java,
8816         javax/swing/text/Document.java,
8817         javax/swing/text/EditorKit.java,
8818         javax/swing/text/Element.java,
8819         javax/swing/text/GapContent.java,
8820         javax/swing/text/JTextComponent.java,
8821         javax/swing/text/Keymap.java,
8822         javax/swing/text/MutableAttributeSet.java,
8823         javax/swing/text/PlainDocument.java,
8824         javax/swing/text/PlainEditorKit.java,
8825         javax/swing/text/Position.java,
8826         javax/swing/text/Segment.java,
8827         javax/swing/text/StyledDocument.java,
8828         javax/swing/text/StyledEditorKit.java,
8829         javax/swing/text/Style.java,
8830         javax/swing/text/TextAction.java,
8831         javax/swing/text/ViewFactory.java,
8832         javax/swing/text/View.java,
8833         javax/swing/Timer.java,
8834         javax/swing/ToggleButtonModel.java,
8835         javax/swing/ToolTipManager.java,
8836         javax/swing/tree/AbstractLayoutCache.java,
8837         javax/swing/tree/DefaultMutableTreeNode.java,
8838         javax/swing/tree/DefaultTreeCellEditor.java,
8839         javax/swing/tree/DefaultTreeCellRenderer.java,
8840         javax/swing/tree/DefaultTreeModel.java,
8841         javax/swing/tree/DefaultTreeSelectionModel.java,
8842         javax/swing/tree/ExpandVetoException.java,
8843         javax/swing/tree/FixedHeightLayoutCache.java,
8844         javax/swing/tree/MutableTreeNode.java,
8845         javax/swing/tree/RowMapper.java,
8846         javax/swing/tree/TreeCellEditor.java,
8847         javax/swing/tree/TreeCellRenderer.java,
8848         javax/swing/tree/TreeModel.java,
8849         javax/swing/tree/TreeNode.java,
8850         javax/swing/tree/TreePath.java,
8851         javax/swing/tree/TreeSelectionModel.java,
8852         javax/swing/tree/VariableHeightLayoutCache.java,
8853         javax/swing/UIDefaults.java,
8854         javax/swing/UIManager.java,
8855         javax/swing/undo/AbstractUndoableEdit.java,
8856         javax/swing/undo/CannotRedoException.java,
8857         javax/swing/undo/CannotUndoException.java,
8858         javax/swing/undo/CompoundEdit.java,
8859         javax/swing/undo/StateEditable.java,
8860         javax/swing/undo/StateEdit.java,
8861         javax/swing/undo/UndoableEdit.java,
8862         javax/swing/undo/UndoableEditSupport.java,
8863         javax/swing/undo/UndoManager.java,
8864         javax/swing/UnsupportedLookAndFeelException.java,
8865         javax/swing/ViewportLayout.java,
8866         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8867
8868         * java/awt/ActiveEvent.java,
8869         java/awt/Adjustable.java, java/awt/AWTError.java,
8870         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8871         java/awt/AWTException.java, java/awt/AWTPermission.java,
8872         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8873         java/awt/Color.java, java/awt/Component.java,
8874         java/awt/ComponentOrientation.java, java/awt/Container.java,
8875         java/awt/datatransfer/MimeTypeParseException.java,
8876         java/awt/datatransfer/Transferable.java,
8877         java/awt/datatransfer/UnsupportedFlavorException.java,
8878         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8879         java/awt/event/ActionListener.java,
8880         java/awt/event/AdjustmentEvent.java,
8881         java/awt/event/AdjustmentListener.java,
8882         java/awt/event/AWTEventListener.java,
8883         java/awt/event/ComponentAdapter.java,
8884         java/awt/event/ComponentEvent.java,
8885         java/awt/event/ComponentListener.java,
8886         java/awt/event/ContainerAdapter.java,
8887         java/awt/event/ContainerEvent.java,
8888         java/awt/event/ContainerListener.java,
8889         java/awt/event/FocusAdapter.java,
8890         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8891         java/awt/event/HierarchyBoundsAdapter.java,
8892         java/awt/event/HierarchyBoundsListener.java,
8893         java/awt/event/HierarchyEvent.java,
8894         java/awt/event/HierarchyListener.java,
8895         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8896         java/awt/event/InputMethodListener.java,
8897         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8898         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8899         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8900         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8901         java/awt/event/MouseListener.java,
8902         java/awt/event/MouseMotionAdapter.java,
8903         java/awt/event/MouseMotionListener.java,
8904         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8905         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8906         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8907         java/awt/event/WindowListener.java, java/awt/Font.java,
8908         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8909         java/awt/geom/Ellipse2D.java,
8910         java/awt/geom/IllegalPathStateException.java,
8911         java/awt/geom/Line2D.java,
8912         java/awt/geom/NoninvertibleTransformException.java,
8913         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8914         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8915         java/awt/geom/RoundRectangle2D.java,
8916         java/awt/GraphicsConfiguration.java,
8917         java/awt/IllegalComponentStateException.java,
8918         java/awt/image/IndexColorModel.java,
8919         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8920         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8921         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8922         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8923         java/awt/MenuItem.java, java/awt/PaintContext.java,
8924         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8925         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8926         java/awt/PrintJob.java, java/awt/Rectangle.java,
8927         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8928         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8929         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8930
8931         * java/awt/im/spi/InputMethod.java,
8932         java/awt/im/spi/InputMethodContext.java,
8933         java/awt/im/spi/InputMethodDescriptor.java,
8934         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8935         java/awt/image/renderable/ParameterBlock.java,
8936         java/awt/image/renderable/RenderContext.java,
8937         java/awt/image/renderable/RenderableImage.java,
8938         java/awt/image/renderable/RenderableImageOp.java,
8939         java/awt/image/renderable/RenderableImageProducer.java,
8940         java/awt/image/renderable/RenderedImageFactory.java: New files from
8941         classpath.
8942
8943         * gnu/java/awt/EventModifier.java,
8944         gnu/java/awt/image/ImageDecoder.java,
8945         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8946
8947         * gnu/awt/xlib/XGraphicsConfiguration.java,
8948         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8949         API.
8950
8951         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8952         GNU Classpath.
8953
8954         * Makefile.am: Add new files.
8955         * Makefile.in: Rebuilt.
8956
8957 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8958
8959         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8960         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8961         findResource, getResources, findResources): Add javadoc from classpath.
8962         (getSystemResources): Implemented.
8963
8964 2002-08-01  Mark Wielaard  <mark@klomp.org>
8965
8966         Revert patch that breaks libgcj shared library on powerpc:
8967         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8968         implementation classes by using Class.getName(). Uses Strings again.
8969         * gnu/java/security/der/DEREncodingException.java,
8970         gnu/java/security/provider/DERReader.java,
8971         gnu/java/security/provider/DERWriter.java,
8972         gnu/java/security/provider/DSAKeyPairGenerator.java,
8973         gnu/java/security/provider/DSAParameterGenerator.java,
8974         gnu/java/security/provider/DSAParameters.java,
8975         gnu/java/security/provider/DSASignature.java,
8976         gnu/java/security/provider/GnuDSAPrivateKey.java,
8977         gnu/java/security/provider/GnuDSAPublicKey.java,
8978         gnu/java/security/provider/MD5.java,
8979         gnu/java/security/util/Prime.java: Removed.
8980         * Makefile.am (ordinary_java_source_files): Remove above files.
8981         * Makefile.in: Regenerate.
8982         * gnu/java/security/provider/DefaultPolicy.java
8983         (getPermissions): Revert to maintaining static class variable of
8984         Permissions.
8985         * gnu/java/security/provider/SHA.java
8986         (engineUpdate): Revert algorithm change.
8987         (engineDigest): Revert algorithm change.
8988
8989 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8990
8991         * configure.host: Add SH support.
8992         * sysdep/sh/locks.h: New file.
8993
8994 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8995
8996         * java/awt/Frame.java (Frame): Remove println calls.
8997
8998 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8999
9000         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9001         * configure: Rebuilt.
9002
9003 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9004
9005         * sysdep/powerpc/locks.h: Formatting.
9006         (_LARX): Define.
9007         (_STCX): Define.
9008         (compare_and_swap): Use _LARX and _STCX.
9009         (compare_and_swap_release): Likewise.
9010
9011 2002-07-26  Tom Tromey  <tromey@redhat.com>
9012
9013         * java/net/Authenticator.java: New version from Classpath.
9014         * java/net/DatagramSocketImpl.java: New version from Classpath.
9015
9016 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
9017
9018         * configure.host: Add powerpc64*-* entry.
9019
9020 2002-07-26  Tom Tromey  <tromey@redhat.com>
9021
9022         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9023         fcntl.h.
9024
9025 2002-07-24  Tom Tromey  <tromey@redhat.com>
9026
9027         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9028         argument to _load.
9029
9030 2002-07-24  Tom Tromey  <tromey@redhat.com>
9031             Tony Kimball <alk@pobox.com>
9032
9033         * java/io/natFileDescriptorWin32.cc (setLength): New method.
9034         * java/io/natFileDescriptorPosix.cc (setLength): New method.
9035         * java/io/RandomAccessFile.java (setLength): New method.
9036         * java/io/natFileDescriptorEcos.cc (setLength): New method.
9037         * java/io/FileDescriptor.java (setLength): New method.
9038
9039 2002-07-24  Mark Wielaard  <mark@klomp.org>
9040
9041         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9042         * java/io/ObjectInputStream.java (setBooleanField): Before setting
9043         field call setAccessible(true).
9044         (setByteField): Likewise.
9045         (setCharField): Likewise.
9046         (setDoubleField): Likewise.
9047         (setFloatField): Likewise.
9048         (setIntField): Likewise.
9049         (setLongField): Likewise.
9050         (setShortField): Likewise.
9051         (setObjectField): Likewise.
9052
9053 2002-07-24  Tom Tromey  <tromey@redhat.com>
9054
9055         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9056         use toString() to format array element.
9057
9058 2002-07-23  Mark Wielaard  <mark@klomp.org>
9059
9060         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9061         MessageDigestSpi (fixes Classpath bug #783).
9062
9063 2002-07-21  Mark Wielaard  <mark@klomp.org>
9064
9065         * gnu/java/security/provider/Gnu.java: Reference all implementation
9066         classes by using Class.getName().
9067
9068 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9069
9070         * java/lang/ieeefp.h: Add x86-64 support.
9071         * configure.in: Likewise.
9072         * configure.host: Likewise.
9073         * configure: Regenerated.
9074         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9075
9076 2002-07-16  Mark Wielaard  <mark@klomp.org>
9077
9078         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9079         (whitespaceChars): call resetChar().
9080
9081 2002-07-15  Tom Tromey  <tromey@redhat.com>
9082
9083         * Makefile.in: Rebuilt.
9084         * Makefile.am (awt_java_source_files): Added new files.
9085         * java/beans/ExceptionListener.java: Merged with Classpath.
9086         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9087         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9088         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9089         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9090         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9091         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9092         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9093
9094 2002-07-14  Mark Wielaard  <mark@klomp.org>
9095
9096         * gnu/java/security/der/DEREncodingException.java,
9097         gnu/java/security/provider/DERReader.java,
9098         gnu/java/security/provider/DERWriter.java,
9099         gnu/java/security/provider/DSAKeyPairGenerator.java,
9100         gnu/java/security/provider/DSAParameterGenerator.java,
9101         gnu/java/security/provider/DSAParameters.java,
9102         gnu/java/security/provider/DSASignature.java,
9103         gnu/java/security/provider/GnuDSAPrivateKey.java,
9104         gnu/java/security/provider/GnuDSAPublicKey.java,
9105         gnu/java/security/provider/MD5.java,
9106         gnu/java/security/util/Prime.java: New files from Classpath.
9107         * Makefile.am (ordinary_java_source_files): Add new files.
9108         * Makefile.in: Regenerate.
9109
9110 2002-07-14  C. Brian Jones <cbj@gnu.org>
9111
9112         * gnu/java/security/provider/DefaultPolicy.java
9113         (getPermissions): do not maintain static class variable of
9114         Permissions
9115         * gnu/java/security/provider/SHA.java
9116         (engineUpdate): algorithm change
9117         (engineDigest): algorithm change
9118
9119 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9120
9121         For PR libgcj/7292:
9122         * java/lang/Character.java (toString(char)): Now static.
9123
9124 2002-07-12  Mark Wielaard  <mark@klomp.org>
9125
9126         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9127         (getStackTrace0): new method.
9128         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9129         (printStackTrace(PrintWriter)): replace with pure java implementation.
9130         (printRawStackTrace): removed.
9131         (getStackTrace0): new method.
9132         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9133         * gcj/javaprims.h: regenerate class list.
9134         * include/name-finder.h (lookup): new returns StackTraceElement*.
9135         (method_name, file_name): fields removed.
9136         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9137         (~_Jv_name_finder): close new descriptors.
9138         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9139         (createStackTraceElement): new method.
9140         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9141
9142 2002-07-10  Tom Tromey  <tromey@redhat.com>
9143
9144         * configure: Rebuilt.
9145         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9146
9147 2002-07-08  Mark Wielaard  <mark@klomp.org>
9148
9149         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9150         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9151         java.sql.DatabaseMetaData.TestJdbc20
9152
9153 2002-07-05  Tony Kimball  <alk@pobox.com>
9154
9155         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9156
9157 2002-07-04  Tom Tromey  <tromey@redhat.com>
9158             Jeff Sturm  <jsturm@one-point.com>
9159
9160         Fix for PR libgcj/7060:
9161         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9162         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9163         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9164         * java/lang/Class.java (getMethod): New Java implementation;
9165         complies with spec.
9166         (_getMethod): New native method.
9167
9168 2002-07-02  Tom Tromey  <tromey@redhat.com>
9169             David Hovemeyer  <daveho@cs.umd.edu>
9170
9171         * java/text/ChoiceFormat.java
9172         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9173         in check loop.
9174         * java/text/MessageFormat.java
9175         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9176         to MessageFormat.
9177
9178 2002-07-01  Tom Tromey  <tromey@redhat.com>
9179
9180         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9181         StringTokenizer on null string.  For PR libgcj/7180.
9182         From daveho@cs.umd.edu.
9183
9184 2002-06-24  Tom Tromey  <tromey@redhat.com>
9185
9186         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9187         (IntegerClass): Likewise.
9188         * java/lang/natClass.cc (CloneableClass): Removed.
9189         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9190         ConstructorClass): Likewise.
9191         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9192         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9193         SerializableClass): Likewise.
9194         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9195         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9196         LongClass, FloatClass, DoubleClass): Likewise.
9197
9198         * verify.cc (branch_prepass): Updated for change to exception
9199         handler type.
9200         (verify_instructions_0): Likewise.
9201         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9202         (handleExceptionTableEntry): Updated for change to exception
9203         handler type.
9204         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9205         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9206         (union _Jv_InterpPC): New.
9207         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9208         (class _Jv_InterpMethod): Added new `prepared' field.
9209         (class _Jv_InterpMethod): Added `compile' method.  Removed
9210         `continue1' and `find_exception'.  Changed arguments to `run'.
9211         * interpret.cc (union insn_slot): New.
9212         (find_exception): Removed.
9213         (run_normal): Removed most logic.
9214         (run_synch_object): Likewise; also, use JvSynchronize.
9215         (run_synch_class): Likewise.
9216         (run): Removed.
9217         (continue1): Renamed as `run'.  Compile bytecode if required.
9218         Add new code to allow refinement of direct-threaded code at
9219         runtime.  Handle exceptions.
9220         (SAVE_PC): Removed.
9221         (compile): New method.
9222         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9223         (NULLARRAYCHECK): Don't use SAVE_PC.
9224         (pc_t): New typedef.
9225         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9226         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9227
9228 2002-06-23  Tom Tromey  <tromey@redhat.com>
9229
9230         * configure: Rebuilt.
9231         * configure.in (INTERPRETER): New subst.
9232         (AM_RUNTESTFLAGS): Don't subst.
9233
9234         * Makefile.in: Rebuilt.
9235         * Makefile.am ($(srcdir)/java/lang/Object.h,
9236         $(srcdir)/java/lang/Class.h): Added dummy targets.
9237
9238 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9239
9240         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9241
9242         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9243         java/sql/Savepoint.java: New files.
9244         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9245         java/sql/Blob.java, java/sql/CallableStatement.java,
9246         java/sql/Clob.java, java/sql/Connection.java,
9247         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9248         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9249         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9250         java/sql/Ref.java, java/sql/ResultSet.java,
9251         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9252         java/sql/SQLException.java, java/sql/SQLInput.java,
9253         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9254         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9255         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9256         (JDK 1.4) specification.
9257         * javax/sql/ConnectionEvent.java,
9258         javax/sql/ConnectionEventListener.java,
9259         javax/sql/ConnectionPoolDataSource.java,
9260         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9261         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9262         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9263         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9264         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9265         javax/sql/XADataSource.java: New files.
9266         * Makefile.am: Add new files.
9267         * Makefile.in: Rebuilt.
9268
9269 2002-06-20  Tom Tromey  <tromey@redhat.com>
9270
9271         For PR libgcj/7073:
9272         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9273         exists.
9274         * defineclass.cc (handleClassBegin): Superclass for interface is
9275         `null'.
9276
9277 2002-06-18  Tom Tromey  <tromey@redhat.com>
9278
9279         * gcj/javaprims.h: Updated class declaration list.
9280         * Makefile.in: Rebuilt.
9281         * Makefile.am (core_java_source_files): Removed
9282         BasicMapEntry.java.
9283         * java/util/BasicMapEntry.java: Removed.
9284
9285 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9286
9287         * java/net/natPlainDatagramSocketImpl.cc (receive):
9288         Check bounds of argument to FD_SET.
9289         (setOption): Throw exception if socket is closed.
9290
9291         * java/net/natPlainSocketImpl.cc (accept, read):
9292         Check bounds of argument to FD_SET.
9293         (setOption): Throw exception if socket is closed.
9294
9295 2002-06-18  Tom Tromey  <tromey@redhat.com>
9296
9297         * gcj/javaprims.h: Updated class declaration list.
9298         * Makefile.in: Rebuilt.
9299         * Makefile.am (core_java_source_files): Added
9300         PropertyPermissionCollection.java.
9301         * java/lang/Thread.java (group, name): Now package-private.
9302         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9303         * java/util/AbstractList.java: Likewise.
9304         * java/util/AbstractMap.java: Likewise.
9305         * java/util/Calendar.java: Likewise.
9306         * java/util/Collections.java: Likewise.
9307         * java/util/HashMap.java: Likewise.
9308         * java/util/Hashtable.java: Likewise.
9309         * java/util/LinkedHashMap.java: Likewise.
9310         * java/util/LinkedList.java: Likewise.
9311         * java/util/List.java: Likewise.
9312         * java/util/ListResourceBundle.java: Likewise.
9313         * java/util/Map.java: Likewise.
9314         * java/util/Observable.java: Likewise.
9315         * java/util/Properties.java: Likewise.
9316         * java/util/PropertyPermission.java: Likewise.
9317         * java/util/PropertyPermissionCollection.java: Likewise.
9318         * java/util/PropertyResourceBundle.java: Likewise.
9319         * java/util/Random.java: Likewise.
9320         * java/util/SimpleTimeZone.java: Likewise.
9321         * java/util/StringTokenizer.java: Likewise.
9322         * java/util/TimerTask.java: Likewise.
9323         * java/util/TreeMap.java: Likewise.
9324         * java/util/WeakHashMap.java: Likewise.
9325         * java/util/jar/Attributes.java: Likewise.
9326         * java/util/jar/JarException.java: Likewise.
9327         * java/util/jar/Manifest.java: Likewise.
9328
9329 2002-06-17  Tom Tromey  <tromey@redhat.com>
9330
9331         * gcj/javaprims.h: Updated class declaration list.
9332         * Makefile.in: Rebuilt.
9333         * Makefile.am (core_java_source_files): Added new file.
9334         * java/util/EventListenerProxy.java: New file.
9335         * java/util/EventListener.java: Re-merge with Classpath.
9336         * java/util/EventObject.java: Re-merge with Classpath.
9337
9338 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9339
9340         * java/lang/ClassNotFoundException.java: New Classpath version.
9341
9342 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9343
9344         * java/rmi/activation/ActivateFailedException.java: Remerge from
9345         Classpath version.
9346         * java/rmi/activation/ActivationException.java: Ditto.
9347         * java/rmi/activation/UnknownGroupException.java: Ditto.
9348         * java/rmi/activation/UnknownObjectException.java: Ditto.
9349         * java/rmi/server/ExportException: Ditto.
9350         * java/rmi/server/ServerCloneException: Ditto.
9351         * java/rmi/server/ServerNotActiveException: Ditto.
9352         * java/rmi/server/SkeletonMismatchException: Ditto.
9353         * java/rmi/server/SkeletonNotFoundException: Ditto.
9354         * java/rmi/server/SocketSecurityException: Ditto.
9355
9356 2002-06-16  Tom Tromey  <tromey@redhat.com>
9357
9358         * gcj/javaprims.h: Updated class declaration list.
9359
9360         * java/io/LineNumberInputStream.java: Merged with Classpath.
9361
9362         * java/lang/RuntimeException.java: Re-merge with Classpath.
9363         * java/util/ArrayList.java: Likewise.
9364         * java/util/Arrays.java: Likewise.
9365         * java/util/BitSet.java: Likewise.
9366         * java/util/Dictionary.java: Likewise.
9367         * java/util/IdentityHashMap.java: Likewise.
9368         * java/util/MissingResourceException.java: Likewise.
9369         * java/util/Observer.java: Likewise.
9370         * java/util/TooManyListenersException.java: Likewise.
9371         * java/util/zip/DataFormatException.java: Likewise.
9372         * java/util/zip/ZipException.java: Likewise.
9373
9374 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9375
9376         * java/rmi/AccessException.java: Remerge from Classpath.
9377         * java/rmi/AlreadyBoundException.java: Ditto.
9378         * java/rmi/ConnectException.java: Ditto.
9379         * java/rmi/ConnectIOException.java: Ditto.
9380         * java/rmi/MarshalException.java: Ditto.
9381         * java/rmi/NoSuchObjectException.java: Ditto.
9382         * java/rmi/NotBoundException.java: Ditto.
9383         * java/rmi/RemoteException.java: Ditto.
9384         * java/rmi/RMISecurityException.java: Ditto.
9385         * java/rmi/ServerError.java: Ditto.
9386         * java/rmi/ServerException.java: Ditto.
9387         * java/rmi/ServerRuntimeException.java: Ditto.
9388         * java/rmi/StubNotFoundException.java: Ditto.
9389         * java/rmi/UnexpectedExcpetion.java: Ditto.
9390         * java/rmi/UnknownHostException.java: Ditto.
9391         * java/rmi/UnmarshalException.java: Ditto.
9392
9393 2002-06-15  Tom Tromey  <tromey@redhat.com>
9394
9395         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9396         * java/lang/ArithmeticException.java: Likewise.
9397         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9398         * java/lang/ArrayStoreException.java: Likewise.
9399         * java/lang/Byte.java: Likewise.
9400         * java/lang/CharSequence.java: Likewise.
9401         * java/lang/ClassCastException.java: Likewise.
9402         * java/lang/ClassCircularityError.java: Likewise.
9403         * java/lang/ClassFormatError.java: Likewise.
9404         * java/lang/CloneNotSupportedException.java: Likewise.
9405         * java/lang/Cloneable.java: Likewise.
9406         * java/lang/Comparable.java: Likewise.
9407         * java/lang/Compiler.java: Likewise.
9408         * java/lang/Error.java: Likewise.
9409         * java/lang/ExceptionInInitializerError.java: Likewise.
9410         * java/lang/IllegalAccessError.java: Likewise.
9411         * java/lang/IllegalAccessException.java: Likewise.
9412         * java/lang/IllegalArgumentException.java: Likewise.
9413         * java/lang/IllegalMonitorStateException.java: Likewise.
9414         * java/lang/IllegalStateException.java: Likewise.
9415         * java/lang/IllegalThreadStateException.java: Likewise.
9416         * java/lang/IncompatibleClassChangeError.java: Likewise.
9417         * java/lang/IndexOutOfBoundsException.java: Likewise.
9418         * java/lang/InheritableThreadLocal.java: Likewise.
9419         * java/lang/InstantiationError.java: Likewise.
9420         * java/lang/InstantiationException.java: Likewise.
9421         * java/lang/InternalError.java: Likewise.
9422         * java/lang/InterruptedException.java: Likewise.
9423         * java/lang/LinkageError.java: Likewise.
9424         * java/lang/NegativeArraySizeException.java: Likewise.
9425         * java/lang/NoClassDefFoundError.java: Likewise.
9426         * java/lang/NoSuchFieldError.java: Likewise.
9427         * java/lang/NoSuchFieldException.java: Likewise.
9428         * java/lang/NoSuchMethodError.java: Likewise.
9429         * java/lang/NoSuchMethodException.java: Likewise.
9430         * java/lang/NullPointerException.java: Likewise.
9431         * java/lang/NumberFormatException.java: Likewise.
9432         * java/lang/OutOfMemoryError.java: Likewise.
9433         * java/lang/Process.java: Likewise.
9434         * java/lang/Runnable.java: Likewise.
9435         * java/lang/RuntimePermission.java: Likewise.
9436         * java/lang/SecurityException.java: Likewise.
9437         * java/lang/Short.java: Likewise.
9438         * java/lang/StackOverflowError.java: Likewise.
9439         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9440         * java/lang/ThreadDeath.java: Likewise.
9441         * java/lang/ThreadLocal.java: Likewise.
9442         * java/lang/UnknownError.java: Likewise.
9443         * java/lang/UnsatisfiedLinkError.java: Likewise.
9444         * java/lang/UnsupportedClassVersionError.java: Likewise.
9445         * java/lang/UnsupportedOperationException.java: Likewise.
9446         * java/lang/VerifyError.java: Likewise.
9447         * java/lang/VirtualMachineError.java: Likewise.
9448         * java/lang/reflect/InvocationTargetException.java: Likewise.
9449         * java/net/BindException.java: Likewise.
9450         * java/net/ConnectException.java: Likewise.
9451         * java/net/MalformedURLException.java: Likewise.
9452         * java/net/NoRouteToHostException.java: Likewise.
9453         * java/net/ProtocolException.java: Likewise.
9454         * java/net/SocketException.java: Likewise.
9455         * java/net/UnknownHostException.java: Likewise.
9456         * java/net/UnknownServiceException.java: Likewise.
9457
9458         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9459         * java/io/CharConversionException.java: Likewise.
9460         * java/io/EOFException.java: Likewise.
9461         * java/io/FileNotFoundException.java: Likewise.
9462         * java/io/IOException.java: Likewise.
9463         * java/io/InterruptedIOException.java: Likewise.
9464         * java/io/InvalidClassException.java: Likewise.
9465         * java/io/InvalidObjectException.java: Likewise.
9466         * java/io/NotActiveException.java: Likewise.
9467         * java/io/NotSerializableException.java: Likewise.
9468         * java/io/ObjectStreamException.java: Likewise.
9469         * java/io/ObjectStreamConstants.java: Likewise.
9470         * java/io/OptionalDataException.java: Likewise.
9471         * java/io/PipedInputStream.java: Likewise.
9472         * java/io/PushbackInputStream.java: Likewise.
9473         * java/io/StreamCorruptedException.java: Likewise.
9474         * java/io/SyncFailedException.java: Likewise.
9475         * java/io/UTFDataFormatException.java: Likewise.
9476         * java/io/UnsupportedEncodingException.java: Likewise.
9477         * java/io/WriteAbortedException.java: Likewise.
9478
9479 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9480
9481         * java/text/ChoiceFormat.java: Update comments from Classpath.
9482         * java/text/ParseException.java (serialVersionUID): New
9483         field from Classpath.
9484         * java/text/ParseException.java: Update formatting & comments
9485         from Classpath.
9486
9487 2002-06-15  Tom Tromey  <tromey@redhat.com>
9488
9489         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9490         been read but none output by inflater.
9491         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9492         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9493         is_finished.
9494         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9495         version.
9496         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9497         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9498         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9499         version.
9500         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9501
9502 2002-06-13  Tom Tromey  <tromey@redhat.com>
9503
9504         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9505         true and OFFSET!=0.
9506         * java/lang/String.java (String(char[],int,int,boolean): New
9507         constructor.
9508         * java/lang/Long.java: Imported new version from Classpath.
9509         * java/lang/Number.java: Likewise.
9510         * java/lang/Integer.java: Likewise.
9511         * java/lang/Long.java: Likewise.
9512         * java/lang/Float.java: Likewise.
9513         * java/lang/Boolean.java: Likewise.
9514         * java/lang/Double.java: Likewise.
9515         * java/lang/Void.java: Likewise.
9516
9517 2002-06-12  Tom Tromey  <tromey@redhat.com>
9518
9519         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9520         Fixes PR libgcj/6652.
9521
9522 2002-06-10  Tom Tromey  <tromey@redhat.com>
9523
9524         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9525         (Class::getPackagePortion): Likewise.
9526         * java/lang/Class.java (desiredAssertionStatus): New method from
9527         Classpath.
9528         (getPackagePortion): Likewise.
9529         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9530         packageAssertionStatus, classAssertionStatus): New methods from
9531         Classpath.
9532         * java/lang/ClassLoader.java (defaultAssertionStatus,
9533         systemPackageAssertionStatus, packageAssertionStatus,
9534         systemClassAssertionStatus, classAssertionStatus): New fields from
9535         Classpath.
9536         (setDefaultAssertionStatus, setPackageAssertionStatus,
9537         setClassAssertionStatus, clearAssertionStatus): New methods from
9538         Classpath.
9539         * Makefile.in: Rebuilt.
9540         * Makefile.am (core_java_source_files): Added AssertionError.java.
9541         * java/lang/AssertionError.java: New from Classpath.
9542
9543 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9544
9545         * configure.host: Disable hash synchronization and slow_pthread_self
9546         for cygwin.
9547
9548 2002-06-06  Adam Megacz <adam@xwt.org>
9549
9550         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9551         locking, just like the Sun JVM does.
9552
9553 2002-06-05  H.J. Lu  (hjl@gnu.org)
9554
9555         * Makefile.am (libgcj_convenience.la): Revert the last change.
9556         (libgcj.la): Likewise.
9557         * Makefile.in: Regenerated.
9558
9559 2002-06-04  H.J. Lu  (hjl@gnu.org)
9560
9561         * Makefile.am (libgcj_convenience.la): New target.
9562         (libgcj.la): Depend on libgcj_convenience.la.
9563         * Makefile.in: Regenerated.
9564
9565 2002-06-04  H.J. Lu  (hjl@gnu.org)
9566
9567         * configure.in (--with-newlib): New option:
9568         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9569         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9570         Linux.
9571         * configure: Regenerated.
9572
9573 2002-06-04  Tom Tromey  <tromey@redhat.com>
9574
9575         * java/util/natTimeZone.cc: Include <stdio.h>.
9576
9577 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9578
9579         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9580         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9581         Set SIGNAL_HANDLER=include/s390-linux.h.
9582         * configure: Regenerate.
9583         * include/s390-linux.h: New file.
9584
9585 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9586
9587         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9588         not "stackTrace".
9589
9590 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9591
9592         Merge JDK 1.4 java.security changes from classpath.
9593
9594         * java/security/AccessControlException.java: Merge from Classpath.
9595         * java/security/AccessController.java: Likewise.
9596         * java/security/AllPermission.java: Likewise.
9597         * java/security/BasicPermission.java: Likewise.
9598         * java/security/Certificate.java: Likewise.
9599         * java/security/CodeSource.java: Likewise.
9600         * java/security/DigestException.java: Likewise.
9601         * java/security/DigestOutputStream.java: Likewise.
9602         * java/security/DomainCombiner.java: Likewise.
9603         * java/security/GeneralSecurityException.java: Likewise.
9604         * java/security/Guard.java: Likewise.
9605         * java/security/GuardedObject.java: Likewise.
9606         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9607         * java/security/InvalidKeyException.java: Likewise.
9608         * java/security/InvalidParameterException.java: Likewise.
9609         * java/security/Key.java: Likewise.
9610         * java/security/KeyException.java: Likewise.
9611         * java/security/KeyManagementException.java: Likewise.
9612         * java/security/KeyStoreException.java: Likewise.
9613         * java/security/MessageDigest.java: Likewise.
9614         * java/security/NoSuchAlgorithmException.java: Likewise.
9615         * java/security/NoSuchProviderException.java: Likewise.
9616         * java/security/Permission.java: Likewise.
9617         * java/security/PermissionCollection.java: Likewise.
9618         * java/security/Permissions.java: Likewise.
9619         * java/security/Policy.java: Likewise.
9620         * java/security/Principal.java: Likewise.
9621         * java/security/PrivateKey.java: Likewise.
9622         * java/security/PrivilegedAction.java: Likewise.
9623         * java/security/PrivilegedActionException.java: Likewise.
9624         * java/security/PrivilegedExceptionAction.java: Likewise.
9625         * java/security/ProtectionDomain.java: Likewise.
9626         * java/security/ProviderException.java: Likewise.
9627         * java/security/PublicKey.java: Likewise.
9628         * java/security/SecureClassLoader.java: Likewise.
9629         * java/security/SecurityPermission.java: Likewise.
9630         * java/security/SignatureException.java: Likewise.
9631         * java/security/UnrecoverableKeyException.java: Likewise.
9632         * java/security/UnresolvedPermission.java: Likewise.
9633         * java/security/acl/AclNotFoundException.java: Likewise.
9634         * java/security/acl/LastOwnerException.java: Likewise.
9635         * java/security/acl/NotOwnerException.java: Likewise.
9636         * java/security/cert/CRLException.java: Likewise.
9637         * java/security/cert/CertificateEncodingException.java: Likewise.
9638         * java/security/cert/CertificateException.java: Likewise.
9639         * java/security/cert/CertificateExpiredException.java: Likewise.
9640         * java/security/cert/CertificateFactory.java: Likewise.
9641         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9642         * java/security/cert/CertificateParsingException.java: Likewise.
9643         * java/security/spec/InvalidKeySpecException.java: Likewise.
9644         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9645
9646         * java/security/cert/CertPath.java: New file.
9647         * java/security/cert/CertPathBuilderException.java: New file.
9648         * java/security/cert/CertPathValidatorException.java: New file.
9649         * java/security/cert/CertStoreException.java: New file.
9650
9651         * Makefile.am: Add new CertPath classes.
9652         * Makefile.in: Rebuilt.
9653
9654         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9655
9656 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9657
9658         Merge JDK 1.4 exception chaining support from classpath.
9659
9660         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9661         (stackTraceBytes): Rename from stackTrace.
9662         * java/lang/Exception.java: Merge from classpath.
9663         * java/lang/StackTraceElement: New file from classpath.
9664         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9665         * Makefile.am: Add StackTraceElement.
9666         * Makefile.in: Rebuilt.
9667
9668 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9669
9670         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9671         they build first.
9672         * Makefile.in: Rebuilt.
9673
9674 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9675
9676         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9677         * configure.in: Likewise.
9678         * aclocal.m4: Regenerate.
9679         * configure: Regenerate.
9680
9681 2002-05-13  Tom Tromey  <tromey@redhat.com>
9682
9683         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9684         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9685         Include platform.h.
9686
9687         Fixes PR libgcj/6389:
9688         * Makefile.in: Rebuilt.
9689         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9690         * java/util/natTimeZone.cc: New file.
9691         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9692         * java/lang/System.java: Merged with Classpath.
9693         * java/lang/Runtime.java: Merged with Classpath.
9694         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9695         security check.
9696         (setIn0): Renamed from setIn; don't run security check.
9697         (setOut0): Renamed from setOut; don't run security check.
9698         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9699         init_properties): Moved to natRuntime.cc.
9700         Moved many includes to natRuntime.cc.
9701         (isWordsBigEndian): New method.
9702         * java/lang/natRuntime.cc: Include Long.h, also other includes
9703         previously in natSystem.cc.
9704         (maxMemory): New function.
9705         (exitInternal): Renamed from `_exit'.
9706         (exit): Removed.
9707         (init): Don't set finalize_on_exit.
9708         (exitInternal): Use `finalizeOnExit'.
9709         (file_encoding, getpwuid_adaptor): New functions from
9710         natSystem.cc.
9711         (insertSystemProperties): New method, renamed from
9712         System::init_properties.  Don't set user.timezone.
9713         (_load): Don't call checkLink.
9714         (execInternal): New method.
9715         (availableProcessors): Likewise.
9716         (nativeGetLibname): Likewise.
9717
9718 2002-05-11  Mark Wielaard  <mark@klomp.org>
9719
9720         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9721         space characters.
9722         (previous_internal): Likewise.
9723
9724 2002-05-09  Tom Tromey  <tromey@redhat.com>
9725
9726         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9727
9728         * java/util/ResourceBundle.java: New version from Classpath.
9729         * java/util/Locale.java: Likewise.
9730
9731 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9732
9733         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9734         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9735         LD_LIBRARY_PATH.
9736
9737 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9738
9739         * libjava/Makefile.am (all_java_source_files): New variable.
9740         (all_java_class_files): Likewise.
9741         .java.class: New rule.
9742         (CLEANFILES): Remove tmp-list.
9743         * libjava/Makefile.in: Regenerated.
9744
9745 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9746
9747         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9748         Append .exe to executable names.  Fix for cygwin.
9749
9750 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9751
9752         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9753         script entry, and set LD to it when configuring multilibs.
9754         * configure: Rebuilt.
9755
9756 2002-05-07  Tom Tromey  <tromey@redhat.com>
9757
9758         * java/lang/natString.cc (unintern): Fixed typo.
9759
9760 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9761
9762         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9763         with -no-install on *-*-cygwin*.
9764
9765 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9766
9767         * testsuite/lib/libjava.exp (test_libjava_from_source):
9768         Add comment explaining last patch
9769
9770 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9771
9772         * testsuite/lib/libjava.exp (test_libjava_from_source):
9773         Append .exe to executable names.  If no suffix is present,
9774         then ".exe" is added by default on win32.  Harmless
9775         elsewhere so always do it.
9776
9777 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9778             Tom Tromey  <tromey@redhat.com>
9779
9780         * java/lang/natSystem.cc (getSystemTimeZone): Use
9781         HAVE_UNDERSCORE_TIMEZONE.
9782         * include/config.h.in: Rebuilt.
9783         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9784         * aclocal.m4, configure: Rebuilt.
9785         * acinclude.m4: Run AC_EXEEXT.
9786         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9787         Add test for `_timezone'.
9788
9789 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9790
9791         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9792         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9793         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9794         * Makefile.in: Rebuilt.
9795
9796 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9797
9798         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9799         use sigaction instead of __libc_sigaction.
9800
9801 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9802
9803         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9804         (libjava_init): Use it to find libgcj.spec.
9805         (libjava_arguments): Likewise.
9806
9807 2002-05-02  David S. Miller  <davem@redhat.com>
9808
9809         PR bootstrap/6525
9810         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9811         __libc_sigaction on Sparc.
9812
9813 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9814
9815         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9816         sys/filio.h, if present.
9817
9818 2002-04-30  Tom Tromey  <tromey@redhat.com>
9819
9820         * java/io/BufferedReader.java (fill): Handle case where markPos
9821         point to ignored \n.  Fixes PR libgcj/6301.
9822
9823 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9824
9825         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9826
9827 2002-04-29  Adam King <aking@dreammechanics.com>
9828
9829         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9830         of file in APPEND mode.
9831
9832 2002-04-25  David S. Miller  <davem@redhat.com>
9833
9834         PR target/6422
9835         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9836         program counter to next program counter minus 8.  Update
9837         comments in this macro to explain why.
9838
9839 2002-04-26  Tom Tromey  <tromey@redhat.com>
9840
9841         * verify.cc (construct_primitive_array_type) [void_type]: New
9842         case.
9843         (branch_prepass): Added dummy entries for unused instruction
9844         values.
9845         (verify_instructions_0): Likewise.
9846         * interpret.cc (continue1): Comment fix.
9847         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9848         * Makefile.in: Rebuilt.
9849         * Makefile.am: Added -Wswitch-enum.
9850
9851 2002-04-24  Tom Tromey  <tromey@redhat.com>
9852
9853         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9854         correct length of UTF-8 encoded name.  Strip leading `/'.
9855         (_Jv_RegisterResource): Use _Jv_Malloc.
9856
9857 2002-04-23  Adam Megacz <adam@xwt.org>
9858
9859         * win32.cc, include/win32.cc (backtrace): Added this function
9860         because Win32 does not supply it.
9861
9862 2002-04-21  David S. Miller  <davem@redhat.com>
9863
9864         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9865         magic instruction reading sequence.
9866
9867 2002-04-21  Mark Wielaard  <mark@klomp.org>
9868
9869         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9870
9871 2002-04-19  David S. Miller  <davem@redhat.com>
9872
9873         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9874         arg.
9875         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9876         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9877         on Sparc too.
9878         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9879         for 64-bit sparc.
9880         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9881         * sysdeps/sparc/locks.h: New file.
9882         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9883         on all sparc Solaris configurations.  Set to
9884         include/dwarf2-signal.h on sparc Linux.
9885         * configure: Regenerate
9886         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9887
9888 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9889
9890         * configure: Rebuilt.
9891         * configure.in (backtrace): Function doesn't work on IA-64.
9892
9893 2002-04-17  Adam King <aking@dreammechanics.com>
9894
9895         * java/io/File.java (normalizePath): Add Win32 support for auto
9896         conversion of a '/' path separator to Win32's '\' separator.
9897
9898 2002-04-16  Tom Tromey  <tromey@redhat.com>
9899
9900         Fix for PR libgcj/6081:
9901         * Makefile.in: Rebuilt.
9902         * Makefile.am (install-data-local): Use GNU make trick to avoid
9903         shell limit.
9904
9905 2002-04-16  Adam King <aking@dreammechanics.com>
9906             Tom Tromey  <tromey@redhat.com>
9907
9908         * java/io/natFileWin32.cc (performList): Return the correct array
9909         type.  Don't duplicate the creation of a File since it's already
9910         done earlier in the method and the existing code would cause a
9911         ArrayStoreException.  Don't use fixed-size array.
9912         (_access, _stat, attr, getCanonicalPath, performMkdir,
9913         performRenameTo): Don't use fixed-size array.
9914         (getCanonicalPath): Use throw, not _Jv_Throw.
9915
9916 2002-04-15  DJ Delorie  <dj@redhat.com>
9917
9918         * configure.in: Allow building in $srcdir.
9919         * configure: Regenerated.
9920
9921 2002-04-14  Mark Wielaard <mark@klomp.org>
9922
9923         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9924         * java/net/natSocketImpl.cc (close): Likewise.
9925
9926 2002-04-14  Mark Wielaard <mark@klomp.org>
9927
9928         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9929
9930 2002-04-13  Adam King <aking@dreammechanics.com>
9931
9932         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9933         the f/F/d/D modifiers.
9934
9935 2002-04-12  Anthony Green  <green@redhat.com>
9936
9937         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9938         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9939         * Makefile.in: Rebuilt.
9940         * configure.in: Substitute gcc_version.
9941         * configure: Rebuilt.
9942
9943 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9944
9945         * configure.host: Set can_unwind_signal on hosts which support it.
9946         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9947         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9948         exceptions and can_unwind_signal isn't set.
9949         * configure: Rebuilt.
9950
9951 2002-04-11  Tom Tromey  <tromey@redhat.com>
9952
9953         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9954
9955 2002-04-11  Adam King <aking@dreammechanics.com>
9956             Tom Tromey  <tromey@redhat.com>
9957
9958         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9959         _Jv_ThrowNullPointerException): Mark as noreturn.
9960         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9961         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9962         fixes.
9963
9964 2002-04-10  Tom Tromey  <tromey@redhat.com>
9965
9966         * Makefile.in: Rebuilt.
9967         * Makefile.am (java/lang/Thread.h): Mark
9968         _Jv_AttachCurrentThreadAsDaemon as friend.
9969         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9970         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9971         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9972         function.
9973         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9974         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9975         (_Jv_JNI_InvokeFunctions): Added
9976         _Jv_JNI_AttachCurrentThreadAsDaemon.
9977         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9978         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9979         (JNI_CreateJavaVM): Likewise.
9980         (_Jv_JNI_AttachCurrentThread): Likewise.
9981         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9982         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9983         (_Jv_JNIFunctions): Initialize new fields.
9984         (_Jv_JNI_NewDirectByteBuffer): New function.
9985         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9986         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9987         * include/jni.h (JNI_VERSION_1_4): New macro.
9988         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9989         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9990         (JNINativeInterface::NewDirectByteBuffer): New field.
9991         (JNINativeInterface::GetDirectBufferAddress): New field.
9992         (JNINativeInterface::GetDirectBufferCapacity): New field.
9993         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9994         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9995         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9996
9997 2002-04-09  Tom Tromey  <tromey@redhat.com>
9998
9999         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10000
10001 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
10002
10003         Fix for PR libgcj/6187:
10004         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10005         distance.
10006
10007 2002-04-07  Mark Wielaard <mark@klomp.org>
10008
10009         * java/util/AbstractMap.java (putAll): Use entrySet size.
10010         (toString): Explicitly use getKey() and getValue().
10011
10012 2002-04-07  Mark Wielaard <mark@klomp.org>
10013
10014         * java/util/Hashtable.java (contains): Remove NullPointer check.
10015         (containsValue): Add NullPointer check.
10016         (remove): Always throw NullPointerException when key
10017         is null.
10018
10019 2002-04-07  Adam King <aking@dreammechanics.com>
10020
10021         * java/lang/natSystem.cc (init_properties): Call new function
10022         _Jv_platform_initProperties.
10023         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10024         support for the System properties os.name, os.arch, os.version,
10025         user.name, user.home, and user.dir.
10026         * include/posix.h, include/win32.h, posix.cc: New function
10027         _Jv_platform_initProperties.
10028
10029 2002-04-06  Mark Wielaard <mark@klomp.org>
10030
10031         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10032
10033 2002-04-06  Mark Wielaard <mark@klomp.org>
10034
10035         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10036         all of the remaining elements.
10037         * java/util/Vector.java (addAll(int,Collection)): Likewise.
10038         (removeRange): If toIndex == fromIndex do
10039         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10040         (removeAll): Always throw NullPointerException when collection is
10041         null.
10042         (retrainAll): Likewise.
10043
10044 2002-04-05  Mark Wielaard <mark@klomp.org>
10045
10046         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10047         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10048
10049 2002-04-05  Adam Megacz <adam@xwt.org>
10050
10051         * exception.cc (abort): added static modifier
10052
10053 2002-04-04  Adam Megacz <adam@xwt.org>
10054
10055         * include/win32.h (_Jv_platform_close_on_exec): added inline
10056         modifier.
10057
10058 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
10059
10060         * configure.host: Add case statement to support generic port
10061         properties.  Add *-*-freebsd* section.
10062
10063 2002-04-04  Mark Wielaard  <mark@klomp.org>
10064
10065         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10066         test.
10067         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10068         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10069         that depend on awt code and BufferedByteOutputStream.interrupt.
10070
10071 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10072
10073         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10074         incorrect "hi" value when count > 40.
10075
10076 2002-04-03  Mark Wielaard  <mark@klomp.org>
10077
10078         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10079         ordering.
10080
10081 2002-04-02  Tom Tromey  <tromey@redhat.com>
10082
10083         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10084         not `0'.
10085
10086 2002-04-02  Mark Wielaard  <mark@klomp.org>
10087
10088         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10089         list of testsuite crashers.
10090
10091 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10092
10093         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10094         when resizing table.
10095
10096 2002-04-01  Mark Wielaard  <mark@klomp.org>
10097
10098         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10099         NegativeArraySizeException
10100         (clear(int)): Use sign extended shift.
10101         (flip(int)): Likewise.
10102         (get(int)): Likewise.
10103         (nextClearBit(int)): Likewise.
10104         (nextSetBit(int)): Likewise.
10105         (set(int)): Likewise.
10106
10107 2002-04-01  Mark Wielaard  <mark@klomp.org>
10108
10109         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10110         that can be compiled now and add testsuite crashers to ignore list.
10111
10112 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10113
10114         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10115
10116         * libgcj.spec.in: Override libgcc, not lib.
10117         * libgcj-test.spec.in: Likewise.
10118
10119 2002-03-29  Tom Tromey  <tromey@redhat.com>
10120
10121         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10122         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10123
10124 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10125
10126         * java/net/PlainDatagramSocketImpl.java
10127         (close): Use native implementation.
10128         (finalize): New method.
10129
10130         * java/net/PlainSocketImpl.java (finalize): New method.
10131
10132         * java/net/natPlainDatagramSocketImpl.cc
10133         (java/io/FileDescriptor.h): Don't include.
10134         (close): Implement method here.
10135         (create): Don't assign fd.
10136
10137         * java/net/natPlainSocketImpl.cc
10138         (java/io/FileDescriptor.h): Don't include.
10139         (create): Don't assign fd.
10140         (accept): Likewise.
10141         (close): Synchronize.
10142
10143 2002-03-27  Richard Henderson  <rth@redhat.com>
10144
10145         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10146
10147 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10148
10149         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10150         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10151         instead of syscall on IA-64.
10152         Add FIXME comment.
10153
10154 2002-03-27  Anthony Green  <green@redhat.com>
10155
10156         * libgcj.spec.in: Add CHECKREFSPEC.
10157         * configure.in: Ditto.
10158         * configure.host: Ditto.  Check references for xscale-elf.
10159         * configure: Rebuilt.
10160
10161 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10162
10163         * include/dwarf2-signal.h: Temporarily back out last change.
10164
10165 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10166
10167         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10168
10169 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10170
10171         * configure.in, configure: enable dwarf2-exception-style
10172         exception handling on IA-64.
10173         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10174         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10175         Add FIXME comment.
10176
10177 2002-03-25  Tom Tromey  <tromey@redhat.com>
10178
10179         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10180         (jv_convert_LDFLAGS): Likewise.
10181         (gij_LDFLAGS): Likewise.
10182         (rmic_LDFLAGS): Likewise.
10183         (rmiregistry_LDFLAGS): Likewise.
10184         * configure.in (THREADLDFLAGS): New subst; set correctly for
10185         *BSD.
10186
10187 2002-03-25  Tom Tromey  <tromey@redhat.com>
10188
10189         For PR libgcj/5303:
10190         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10191         and --version.
10192         (help): New method.
10193         (version): Likewise.
10194         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10195         "GNU".
10196         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10197         "GNU".
10198
10199 2002-03-25  Tom Tromey  <tromey@redhat.com>
10200
10201         * java/awt/Component.java (processEvent): Check ComponentEvent
10202         after KeyEvent.
10203
10204 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10205
10206         * java/io/PushbackReader.java: Reformat.
10207
10208         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10209         calculate correct number of bytes skipped.
10210
10211         Based on patch from Intel's ORP team:
10212         * java/io/PushbackInputStream.java (available): Calculate correct
10213         number of bytes in buffer.
10214         (read): Remove redundant bound check. Return bytes from both the
10215         buffer and the stream.
10216
10217 2002-03-24  Tom Tromey  <tromey@redhat.com>
10218
10219         * java/awt/TextComponent.java (TextComponent): Editable by
10220         default.
10221
10222         * java/awt/MenuItem.java (eventMask): No longer private.
10223         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10224         superclass if we didn't handle event.
10225         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10226         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10227         * java/awt/Choice.java (dispatchEventImpl): New method.
10228         * java/awt/List.java (dispatchEventImpl): New method.
10229         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10230         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10231         * java/awt/TextField.java (dispatchEventImpl): New method.
10232
10233 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10234
10235         * java/beans/IntrospectionException.java: Update to 1.4.
10236         * java/beans/PropertyVetoException.java: Ditto.
10237
10238 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10239
10240         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10241         Arrays.equals instead of ArrayHelper.equalsArray.
10242
10243 2002-03-24  C. Brian Jones <cbj@gnu.org>
10244
10245         * java/beans/Introspector.java: added new static final fields
10246         introduced in 1.2, lots of other updates remain to be done
10247
10248 2002-03-24  C. Brian Jones <cbj@gnu.org>
10249
10250         * java/beans/Introspector.java: reformatting
10251
10252 2002-03-24  C. Brian Jones <cbj@gnu.org>
10253
10254         * java/beans/Introspector.java: default beanInfoSearchPath will
10255         not include sun.beans.infos given we provide no such package and
10256         the API doesn't really require it; gnu.java.beans.info is the
10257         default.
10258
10259 2002-03-24  Mark Wielaard  <mark@klomp.org>
10260
10261         Thanks to Orp developers
10262         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10263         switch TRUE and FALSE return values.
10264
10265 2002-03-23  Tom Tromey  <tromey@redhat.com>
10266
10267         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10268         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10269
10270 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10271
10272         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10273         MONTH entry.  Fixes PR libgcj/6045.
10274
10275 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10276
10277         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10278
10279 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10280
10281         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10282         not release_set.
10283         * sysdep/powerpc/locks.h (write_barrier): New function.
10284         * sysdep/i386/locks.h (write_barrier): New function.
10285
10286 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10287
10288         * include/jni.h Use correct C comments.
10289
10290 2002-03-18  Tom Tromey  <tromey@redhat.com>
10291
10292         * include/jni.h (JNIIMPORT): New macro.
10293         (JNIEXPORT): Likewise.
10294         (JNICALL): Likewise.
10295
10296 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10297
10298         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10299         systems.
10300
10301 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10302
10303         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10304         INIT_SEGV: Use old_i386_kernel_sigaction.
10305         INIT_FP: Likewise.
10306
10307 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10308
10309         * java/lang/natSystem.cc (init_properties): Update VM version
10310         properties.
10311         * configure.in: Set GCJVERSION.
10312         * acconfig.h: Add GCJVERSION.
10313         * configure: Rebuilt.
10314         * include/config.h.in: Rebuilt.
10315
10316 2002-03-17  Anthony Green  <green@redhat.com>
10317
10318         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10319
10320 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10321
10322         Build a single libgcj.so, without separate gc and zlib libraries.
10323         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10324         SYS_ZLIBS if system zlib is used.
10325         * configure: Rebuilt.
10326         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10327         * Makefile.in: Rebuilt.
10328         * libtool-version: Increment .so version number.
10329
10330         * Makefile.am: Escape quotes in echo.
10331         * Makefile.in: Rebuilt.
10332
10333 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10334
10335         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10336         * Makefile.in: Rebuilt.
10337
10338 2002-03-15  Anthony Green  <green@redhat.com>
10339
10340         * configure.host (FILE): New macro for specifing File
10341         implementation.
10342         * configure: Rebuilt.
10343         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10344
10345 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10346
10347         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10348         already implicitly brought in from libgcj.la.
10349         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10350         * Makefile.in: Rebuilt.
10351
10352 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10353
10354         * THANKS: Fix punctuation, alphabetization.
10355
10356 2002-03-15  Tom Tromey  <tromey@redhat.com>
10357             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10358
10359         Fix for PR libgcj/5944.
10360         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10361
10362 2002-03-15  Anthony Green  <green@redhat.com>
10363
10364         * configure.in (tool_include_dir): Define.
10365         * configure: Rebuilt.
10366         * gcj/Makefile.am: Install libgcj-config.h relative to
10367         tool_include_dir.
10368         * gcj/Makefile: Rebuilt.
10369         * gcj/libgcj-config.h: Add warning comment.
10370
10371 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10372
10373         * configure.host (powerpc*-darwin*): Enable interpreter.
10374
10375 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10376
10377         * include/posix.h: Add multiple include header protection.
10378         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10379
10380 2002-03-10  Adam Megacz <adam@xwt.org>
10381
10382         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10383
10384 2002-03-10  Tom Tromey  <tromey@redhat.com>
10385
10386         * java/awt/GridLayout.java (layoutContainer): Handle case where
10387         there are no items in container.
10388
10389         * java/lang/Win32Process.java: Added comment.
10390         * include/posix.h (_Jv_platform_close_on_exec): New function.
10391         Include fcntl.h.
10392         * include/win32.h (_Jv_platform_close_on_exec): New function.
10393         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10394         flag.
10395         (accept): Likewise.
10396         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10397         close-on-exec flag.
10398         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10399         flag.
10400
10401 2002-03-09  Tom Tromey  <tromey@redhat.com>
10402
10403         * verify.cc (state::NO_STACK): New constant.
10404         (state::is_unmerged_ret_state): Handle case where stacktop is
10405         NO_STACK.
10406         (state::merge): Handle NO_STACK merges.
10407         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10408         for instruction following jsr.
10409         (stacktop, stackdepth): Removed unused variables.
10410         (pop_jump): Ignore case where all remaining states are skipped.
10411
10412 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10413
10414         * java/awt/ImageMediaEntry: Removed.
10415         * java/awt/MediaEntry: Removed.
10416
10417 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10418
10419         Hashtable synchronization for PowerPC.
10420         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10421         slow_pthread_self. Set up symlink for sysdeps directory.
10422         * configure: Rebuild.
10423         * configure.host: Document more shell variables. Set sysdeps_dir
10424         for most platforms. Set slow_pthread_self for i686. Set
10425         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10426         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10427         that memory barrier is emitted where required.
10428         * prims.cc: 64-bit align static primitive class instances.
10429         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10430         read_barrier() to enforce ordering of reads.
10431         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10432         primitives for PowerPC.
10433         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10434         moved from natObject.cc.
10435         * sysdep/alpha/locks.h: Likewise.
10436         * sysdep/ia64/locks.h: Likewise.
10437         * sysdep/generic/locks.h: Likewise.
10438         * java/lang/natObject.cc: Move thread synchronization primitives to
10439         system-dependent headers.
10440
10441 2002-03-09  Adam Megacz  <adam@xwt.org>
10442
10443         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10444         bytes read and no failure code returned.
10445
10446 2002-03-09  Adam Megacz  <adam@xwt.org>
10447
10448         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10449         definitions to simulate -mthreads.
10450
10451 2002-03-09  Adam Megacz  <adam@xwt.org>
10452
10453         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10454         avoid precision loss.
10455
10456 2002-03-09  Per Bothner  <per@bothner.com>
10457
10458         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10459         * gnu/gcj/xlib/XImage.java:  Likewise.
10460         * gnu/gcj/xlib/XColor.java:  Likewise.
10461
10462 2002-03-09  Adam Megacz  <adam@xwt.org>
10463
10464         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10465         IOException so that Throwable.printStackTrace fails correctly.
10466
10467 2002-03-08  Adam Megacz  <adam@xwt.org>
10468
10469         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10470         fixed.
10471
10472 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10473
10474         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10475         truncated to int.
10476
10477 2002-03-08  Tom Tromey  <tromey@redhat.com>
10478
10479         * include/jni.h: Include stdio.h.
10480
10481 2002-03-08  Tom Tromey  <tromey@redhat.com>
10482
10483         * posix.cc (internal_gettimeofday): New function.
10484         (_Jv_select): Use it.
10485
10486 2002-03-07  Adam Megacz  <adam@xwt.org>
10487
10488         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10489         WIN32, and added thunks for read(), write(), and close().
10490         * java/net/natPlainSocketImpl.cc (accept, read, read):
10491         Disabled timeouts on WIN32 pending discussion.
10492
10493 2002-03-07  Adam Megacz  <adam@xwt.org>
10494
10495         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10496         returns jlong. Added implementation
10497         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10498         returns jlong.
10499         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10500         returns jlong.
10501         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10502         returns jlong.
10503         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10504         _Jv_platform_gettimeofday signature.
10505
10506 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10507
10508         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10509         (read): Call recv() directly, not _Jv_recv().
10510
10511 2002-03-06  Tom Tromey  <tromey@redhat.com>
10512
10513         * java/io/natFileDescriptorEcos.cc (init): Don't use
10514         GetStdHandle.
10515         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10516         is negative.
10517         (init): Don't use GetStdHandle.
10518
10519         * include/config.h.in: Rebuilt.
10520         * configure: Rebuilt.
10521         * Makefile.in: Rebuilt.
10522
10523 2002-03-06  Adam Megacz  <adam@xwt.org>
10524
10525         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10526         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10527         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10528         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10529
10530 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10531
10532         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10533         the code for generating include/java-chartables.h.
10534         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10535         merge with Classpath.
10536         * scripts/unicode-muncher.pl: Copy from Classpath.
10537         * scritps/MakeCharTables.java: New file.
10538         * gnu/gcj/convert/Blocks-3.txt: New file.
10539         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10540         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10541         * gnu/java/lang/CharData.java: Copy from Classpath.
10542         * Makefile.am (ordinary_java_source_files): Add
10543         gnu/java/lang/CharData.java.
10544         * configure.in: Remove --enable-fast-character option.
10545         * java/lang/Character.java: Merge algorithms and Javadoc with
10546         Classpath.
10547         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10548         efficiently.
10549         * include/java-chardecomp.h: Regenerate.
10550         * include/java-chartables.h: Regenerate.
10551
10552 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10553
10554         * java/awt/MediaTracker.java: Implemented.
10555         * Makefile.am: Add MediaTracker.
10556         * Makefile.in: Rebuilt.
10557
10558 2002-03-05  Tom Tromey  <tromey@redhat.com>
10559
10560         * java/lang/natPosixProcess.cc (fail): Removed.
10561         (startProcess): Simplified error-handling.  Preserve
10562         LD_LIBRARY_PATH across exec.
10563
10564         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10565         AbstractMethodError.
10566
10567 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10568
10569         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10570         * Makefile.in: Rebuilt.
10571
10572 2002-03-03 Mark Wielaard <mark@klomp.org>
10573
10574         * java/util/Timer (TaskQueue.stop): set elements to zero.
10575
10576 2002-02-28  Anthony Green  <green@redhat.com>
10577
10578         * java/lang/reflect/natMethod.cc (result): Add void* element.
10579         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10580         constructor test.
10581
10582 2002-02-27  Adam Megacz <adam@xwt.org>
10583
10584         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10585         '#undef STRICT'.
10586
10587 2002-02-26  Tom Tromey  <tromey@redhat.com>
10588
10589         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10590         * gij.cc (version): Use __VERSION__.
10591         * include/config.h.in: Rebuilt.
10592         * acconfig.h (GCJVERSION): Removed.
10593         * configure: Rebuilt.
10594         * configure.in (GCJVERSION): Removed.
10595
10596 2002-02-26  Andreas Schwab  <schwab@suse.de>
10597
10598         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10599         glibcpp_CXX, since libjava uses even another CXX.
10600         * aclocal.m4, configure: Regenerated.
10601
10602 2002-02-26  Tom Tromey  <tromey@redhat.com>
10603
10604         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10605         `1'.
10606
10607 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10608
10609         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10610         dependency tracking for .java files.
10611         * Makefile.in: Rebuilt.
10612
10613 2002-02-24  Adam Megacz  <adam@xwt.org>
10614
10615         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10616         typo. Sorry.
10617
10618 2002-02-24  Adam Megacz  <adam@xwt.org>
10619
10620         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10621         for Win32, changed #ifdefs to check WIN32 instead of the
10622         (now-obsolete) USE_WINSOCK, and removed support for socket
10623         timeouts on Win32 pending further discussion.
10624
10625 2002-02-24  Adam Megacz  <adam@xwt.org>
10626
10627         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10628         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10629         delete
10630
10631 2002-02-24  Adam Megacz  <adam@xwt.org>
10632
10633         * java/lang/Win32Process.java: Created a dummy class to allow
10634         build process to run to completion.
10635
10636 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10637
10638         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10639         Define ffi_result union for ffi_call result.  Cast
10640         ffi_result members to jvalue.
10641
10642 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10643
10644         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10645         * testsuite/Makefile.in: Likewise.
10646
10647 2002-02-20  Per Bothner  <per@bothner.com>
10648
10649         * java/net/URL.java (getPath):  New JDK 1.3 method.
10650
10651         * java/net/URLStreamHandler.java (parseURL):
10652         It is wrong to prepend '/' to the file part of a relative url.
10653
10654         * java/net/URLStreamHandler.java (parseURL):
10655         Minor optizations - append '/' rather than "/".
10656
10657         * java/net/URLStreamHandler.java (parseURL):
10658         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10659         We probably should canonicalize for a context-relative url, though.
10660         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10661         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10662         (sameFile):  New method.  Uses canonicalizeFilename.
10663
10664 2002-02-22  Tom Tromey  <tromey@redhat.com>
10665
10666         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10667         java.vendor and java.vm.vendor.
10668         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10669         recent copyright date.
10670         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10671         * gij.cc (version): Print `Inc'.
10672
10673 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10674
10675         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10676         * aclocal.m4, configure: Rebuilt.
10677
10678 2002-02-20  Per Bothner  <per@bothner.com>
10679
10680         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10681         and/or output streams immediately here, instead of using File.exists.
10682         (inputStream, outputStream):  New fields to save open streams.
10683         (getInputStream, getOutputStream):  Use already-opened streams.
10684
10685 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10686
10687         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10688         Use it.
10689         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10690         * aclocal.m4, configure, Makefile.in: Rebuilt.
10691
10692 2002-02-19  Tom Tromey  <tromey@redhat.com>
10693
10694         Fix for PR libgcj/5696:
10695         * verify.cc (is_assignable_from_slow): Never call
10696         _Jv_IsAssignableFrom.
10697         (verify_instructions_0): Added new debug statement.
10698         (state::print): Print information about whether local has
10699         changed.
10700         (state::merge): Don't call note_variable when merging locals.
10701         (state::set_exception): Removed old FIXME comment.
10702
10703 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10704
10705         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10706         enable SO_BROADCAST.
10707
10708 2002-02-18  Jason Merrill  <jason@redhat.com>
10709
10710         * name-finder.cc (toHex): Use word mode, not long long.
10711
10712         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10713
10714 2002-02-15  Tom Tromey  <tromey@redhat.com>
10715
10716         Fix for PR libgcj/5695:
10717         * verify.cc (is_assignable_from_slow): Check to see if target is
10718         an Object before checking to see if source is an interface.
10719         (verify_instructions_0) [op_invokeinterface]: Handle case where
10720         we're making an interface call on Object.
10721
10722 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10723
10724         * Makefile.in: Rebuilt with Eric's change below.
10725
10726         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10727         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10728         Removed functions which are now implemented in Math.java.
10729
10730 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10731
10732         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10733         * Makefile.am (core_java_source_files): Add
10734         java/lang/StrictMath.java.
10735         * java/lang/Math.java: Merge with Classpath.
10736         * java/lang/StrictMath.java: New file - merge with Classpath.
10737
10738 2002-02-14  Mark Wielaard  <mark@klomp.org>
10739
10740         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10741         package as a workaround for gcj 3.0.x
10742
10743 2002-02-14  Mark Wielaard <mark@klomp.org>
10744
10745         * java/security/BasicPermission.java: extends with fully qualified
10746         classname as workaround for gcj 3.0.4.
10747
10748 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10749
10750         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10751         around gcj bug of wrong emitted qualifier for inherited method.
10752         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10753         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10754         constructor to reduce amount of emitted bytecode. While this
10755         happens to work around a jikes 1.15 bug, it is still a useful
10756         patch even for correct compilers.
10757         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10758         * gnu/java/rmi/server/UnicastRemoteCall.java
10759         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10760
10761 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10762
10763         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10764         * java/net/SocketImpl.java: Ditto.
10765         * java/rmi/server/RMIClassLoader.java: Ditto.
10766         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10767
10768 2002-02-14  Mark Wielaard <mark@klomp.org>
10769
10770         Thanks to Takashi Okamoto
10771         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10772         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10773         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10774
10775 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10776
10777         Fix for PR libgcj/5670:
10778         * verify.cc (is_assignable_from_slow): If `source' is interface,
10779         recursively look for merge with `target'.
10780
10781 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10782
10783         * include/jni.h: Fix typo.
10784
10785 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10786
10787         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10788         correctly.
10789
10790 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10791
10792         Fix for PR libgcj/5671:
10793         * verify.cc (state::merge): Handle case where we're merging
10794         against an interface.
10795
10796 2002-02-12  Tom Tromey  <tromey@redhat.com>
10797
10798         * exception.cc (std::abort): Mark as noreturn.
10799
10800 2002-02-12  Adam Megacz <adam@xwt.org>
10801
10802         * java/lang/Win32Process.java: Filled in a placeholder
10803         implementation so Win32 will build.
10804
10805 2002-02-12  Adam Megacz <adam@xwt.org>
10806
10807         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10808         * java/io/natFile.cc: Removed from repository.
10809         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10810
10811 2002-02-12  Adam Megacz <adam@xwt.org>
10812
10813         * win32.cc: Added two #includes to make win32.cc compile.
10814
10815 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10816
10817         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10818         declarations.
10819         (_Jv_InitGC): Don't bother locking, as this is always called from a
10820         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10821
10822 2002-02-11  Adam Megacz <adam@xwt.org>
10823
10824         * include/win32.h: Added _Jv_platform_gettimeofday.
10825         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10826
10827 2002-02-11  Adam Megacz <adam@xwt.org>
10828
10829         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10830         Added #undef STRICT to make windows.h and
10831         java/lang/reflect/Modifier.h cooperate.
10832
10833 2002-02-11  Adam Megacz <adam@xwt.org>
10834
10835         * java/io/natFileWin32.cc: Created a placeholder class with lots
10836         of FIXMEs.
10837
10838 2002-02-11  Adam Megacz <adam@xwt.org>
10839
10840         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10841         std::abort() to simply abort(). Also added "fake" std::abort() so
10842         we can #include unwind-pe.h without having to link against
10843         libstdc++-v3.
10844
10845 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10846
10847         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10848
10849 2002-02-08  Tom Tromey  <tromey@redhat.com>
10850
10851         * interpret.cc (convert): New function.
10852         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10853         convert.
10854         Include Long.h.
10855
10856 2002-02-08  Anthony Green  <green@redhat.com>
10857
10858         * configure.host: Add support for xscale-elf embedded target.
10859
10860 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10861
10862         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10863         dereferenced.
10864         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10865         frame.
10866
10867 2002-02-07  Tom Tromey  <tromey@redhat.com>
10868
10869         * java/io/natFile.cc (_access): Use __builtin_alloca.
10870         (_stat): Likewise.
10871         (attr): Likewise.
10872         (getCanonicalPath): Likewise.
10873         (performList): Likewise.
10874         (performMkdir): Likewise.
10875         (performSetReadOnly): Likewise.
10876         (performRenameTo): Likewise.
10877         (performSetLastModified): Likewise.
10878         (performCreate): Likewise.
10879         (performDelete): Likewise.
10880
10881 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10882
10883         * HACKING: Fix URL for the automake-gcj.
10884
10885 2002-02-07  Tom Tromey  <tromey@redhat.com>
10886
10887         * java/lang/natThrowable.cc: Updated copyright.
10888         * java/io/natFileWin32.cc: Updated copyright.
10889         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10890         * win32-threads.cc: Updated copyright.
10891         * name-finder.cc: Updated copyright.
10892         * include/name-finder.h: Updated copyright.
10893
10894         * include/name-finder.h: Conditionally include sys/wait.h.
10895         * include/config.h.in: Rebuilt.
10896
10897         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10898         Size buffer based on real size of string.
10899         (_stat): Likewise.
10900         (attr): Likewise.
10901         (getCanonicalPath): Likewise.
10902         (performList): Likewise.
10903         (performMkdir): Likewise.
10904         (performSetReadOnly): Likewise.
10905         (unixroot): Removed.
10906         (performRenameTo): Likewise.
10907         (performSetLastModified): Likewise.
10908         (performCreate): Likewise.
10909         (performDelete): Likewise.
10910         (performListRoots): Always return new array.
10911
10912         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10913         * win32.cc (win32_exception_handler): Now static.
10914         * include/win32.h (_Jv_platform_initialize): Declare.
10915         (win32_exception_handler): Don't declare.
10916         * java/lang/natSystem.cc (currentTimeMillis): Use
10917         _Jv_platform_gettimeofday.
10918         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10919         (_Jv_select): Use new name.
10920         (_Jv_platform_initialize): New function.
10921         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10922         _Jv_gettimeofday.
10923         (_Jv_platform_initialize): Declare.
10924
10925         * configure: Rebuilt.
10926         * configure.in: Removed unnecessary parens.
10927
10928 2002-02-06  Adam Megacz <adam@xwt.org>
10929
10930        * configure.in: Changed mingw) to *mingw*).
10931        * win32.cc: Created this file.
10932        * win32.h: Created this file.
10933        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10934        win32_exception_handler from prims.cc to win32.cc, added
10935        header in win32.h.
10936        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10937        longer needed now that we have platform.h
10938
10939 2002-02-06  Adam Megacz <adam@xwt.org>
10940
10941         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10942         use uint<n>_t instead of LONG and BYTE
10943
10944 2002-02-06  Adam Megacz <adam@xwt.org>
10945
10946         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10947
10948 2002-02-06  Anthony Green  <green@redhat.com>
10949
10950         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10951         Implement missing method stubs.
10952         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10953         targets.
10954         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10955         concept of timezones.
10956         (init_properties): Don't refer to _Jv_Environment_Properties
10957         when this feature is not available.
10958         * include/config.h.in: Rebuilt.
10959         * acconfig.h: Add DISABLE_MAIN_ARGS.
10960         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10961         * configure: Rebuilt.
10962         * configure.in: Add --disable-main-args option.  Test for
10963           opendir function.  Replace AC_CHECK_SIZEOF with
10964           AC_COMPILE_CHECK_SIZEOF.
10965         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10966         * aclocal.m4: Rebuilt.
10967         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10968
10969 2002-02-06  Tom Tromey  <tromey@redhat.com>
10970
10971         * verify.cc (require_array_type): If argument is a null array of
10972         references, return null as the element type.
10973
10974 2002-02-06  Mark Wielaard  <mark@klomp.org>
10975
10976         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10977         duplicate of a wide type.
10978
10979 2002-02-06  Tom Tromey  <tromey@redhat.com>
10980
10981         * verify.cc (type::isnull): New method.
10982         (require_array_type): Handle case where array is null.
10983         (verify_instructions_0) [op_arraylength]: Likewise.
10984
10985 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10986
10987         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10988         Symlink PLATFORMH to platform.h.
10989         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10990         PLATFORMOBJS.
10991         * java/lang/natSystem.cc: #include platform.h not posix.h.
10992         * Makefile.in: Rebuilt with libgcj automake.
10993         * configure: Rebuilt.
10994
10995 2002-02-05  Richard Henderson  <rth@redhat.com>
10996
10997         * Makefile.in: Undo munging last change.
10998
10999 2002-02-04  Adam Megacz <adam@xwt.org>
11000
11001         * win32.cc: Created it.
11002         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11003         which is set to posix.cc or win32.cc.
11004         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11005
11006 2002-02-04  Adam Megacz <adam@xwt.org>
11007
11008         * configure.in: Corrected mingw case branches; added * before
11009         and after.
11010
11011 2002-02-04  Adam Megacz <adam@xwt.org>
11012
11013         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11014         if compiling for win32
11015
11016 2002-02-04  Adam Megacz <adam@xwt.org>
11017
11018         * win32-threads.cc: #undef STRICT after gc.h inclusion
11019
11020 2002-02-02  Tom Tromey  <tromey@redhat.com>
11021
11022         * Makefile.in: Rebuilt.
11023
11024 2002-02-02  Jason Merrill  <jason@redhat.com>
11025
11026         * Makefile.am (clean-nat): New target.
11027
11028 2002-02-02  Tom Tromey  <tromey@redhat.com>
11029
11030         * java/io/natFile.cc: Removed old "FIXME" comments.
11031
11032 2002-02-01  Tom Tromey  <tromey@redhat.com>
11033
11034         * java/lang/natPosixProcess.cc (myclose): New function.
11035         (fail): Use it.
11036         (startProcess): Likewise.
11037
11038 2002-02-01  Adam Megacz <adam@xwt.org>
11039
11040         * prims.cc: Added #undef STRICT after #include<windows.h>.
11041
11042 2002-02-01  Adam Megacz <adam@xwt.org>
11043
11044         * prims.cc
11045         (_Jv_CreateJavaVM): We now use WIN32 instead of
11046         USE_WIN32_SIGNALLING and USE_WINSOCK.
11047         (win32_exception_handler): Now throws an exception out of
11048         the signal handler; assumes SJLJ.
11049
11050 2002-02-01  Adam Megacz <adam@xwt.org>
11051
11052         * win32-threads.cc:
11053         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11054         wait() algorithm to make it safe.
11055         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11056         Added lazy creation of Win32 Events for better performance
11057         (really_start): This now uses GC_CreateThread so boehm-gc
11058         knows about new threads even when statically linked.
11059
11060 2002-02-01  Adam Megacz <adam@xwt.org>
11061
11062         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11063         enable safer wait() algorithm.
11064         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11065         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11066         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11067         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11068         instead of mutex.
11069         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11070
11071 2002-02-01  Adam Megacz <adam@xwt.org>
11072
11073         * configure.in: Added support for mingw.
11074         * java/lang/Win32Process.java: Created as empty file.
11075         * java/lang/natWin32Process.cc: Created as empty file.
11076
11077 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11078
11079         PR java/4972
11080         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11081         for libiconv in LIBICONV variable.
11082         * configure: Regenerated.
11083
11084 2002-01-31  Tom Tromey  <tromey@redhat.com>
11085
11086         * verify.cc (state::enter_subroutine): New method.
11087         (handle_jsr_insn): Use it.
11088         (state::merge): When processing a `ret', correctly use
11089         subroutine's state to determine which local variables have
11090         changed.
11091         (push_exception_jump): Don't let stack overflow.
11092
11093 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11094
11095         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11096         --version output.
11097
11098 2002-01-30  Tom Tromey  <tromey@redhat.com>
11099
11100         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11101         parameter for `recv' return type.
11102
11103         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11104         (state::merge): ... not here.
11105         (subr_entry_info): New structure.
11106         (entry_points): New field.
11107         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11108         entry_points.
11109
11110 2002-01-29  Tom Tromey  <tromey@redhat.com>
11111
11112         * java/awt/List.java (addNotify): Correctly check to see if peer
11113         does not exist.
11114
11115         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11116         to compute height of each cell, and number of columns to compute
11117         width of each cell.
11118         * java/awt/Window.java (getOwnedWindows): Don't return null.
11119         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11120         of component.  Increment x using horizontal gap, not vertical
11121         gap.
11122
11123 2002-01-28  Tom Tromey  <tromey@redhat.com>
11124
11125         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11126         `nargs' byte is number of words, not number of arguments.
11127
11128 2002-01-27  Tom Tromey  <tromey@redhat.com>
11129
11130         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11131         (when): Likewise.
11132         * java/awt/event/InputEvent.java (modifiers, when): Now
11133         package-private.
11134
11135         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11136         and to-do list.
11137         (state::merge): Use current class' class loader.
11138         (state::print): Print subroutine.
11139         (state::merge): Don't look at subroutine of unmerged `ret'.
11140
11141 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11142
11143         * nogc.cc: Remove warnings.
11144         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11145         New functions.
11146
11147 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11148
11149         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11150         int, int):  Remove empty "if" statement to work around compiler bug.
11151         (newPixels(int[], ColorModel, int, int): Likewise.
11152
11153 2002-01-25  Per Bothner  <per@bothner.com>
11154
11155         * verify.cc (verify_fail):  Change from being a top-level function
11156         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11157         Pass the current verifier to type: and state: methods as needed,
11158         for better error messages, and for resolve.
11159         (resolve):  Pass current class's loader for Class.forName and
11160         _Jv_FindClassFromSignature, rather than using the default loader.
11161         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11162         (get_type_val_for_signature):  Make non-static.
11163         (various methods):  Pass start_PC implicitly, not explicitly.
11164
11165 2002-01-25  Tom Tromey  <tromey@redhat.com>
11166
11167         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11168         loop termination condition.
11169         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11170         width.
11171
11172 2002-01-24  Tom Tromey  <tromey@redhat.com>
11173
11174         * java/awt/Shape.java: Merged with Classpath.
11175         * java/awt/Scrollbar.java: Merged with Classpath.
11176
11177         * java/awt/Container.java (addNotify): Unconditionally call
11178         addNotifyContainerChildren and superclass addNotify.
11179
11180         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11181         getAlpha, not getBlue.
11182
11183 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11184
11185         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11186
11187         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11188         (grabPixels(long)): Wait to be notified that the ImageProducer has
11189         completed.
11190
11191 2002-01-24  Per Bothner  <per@bothner.com>
11192
11193         * verify.cc (is_assignable_from_slow): If target is an interface,
11194         we must still check the source's superclass before giving up.
11195
11196 2002-01-24  Tom Tromey  <tromey@redhat.com>
11197
11198         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11199
11200 2002-01-23  Tom Tromey  <tromey@redhat.com>
11201
11202         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11203         `else'.
11204
11205         * Makefile.in: Rebuilt.
11206         * Makefile.am (awt_java_source_files): Added new files.
11207         * java/awt/Toolkit.java: Merged with Classpath.
11208         * java/awt/PrintGraphics.java: New file from Classpath.
11209         * java/awt/PrintJob.java: New file from Classpath.
11210         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11211         * java/awt/datatransfer/ClipboardOwner.java: New file from
11212         Classpath.
11213         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11214         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11215         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11216         Classpath.
11217         * java/awt/datatransfer/StringSelection.java: New file from
11218         Classpath.
11219         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11220         Classpath.
11221         * java/awt/datatransfer/Transferable.java: New file from
11222         Classpath.
11223         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11224         from Classpath.
11225
11226         * Makefile.in: Rebuilt.
11227         * Makefile.am (awt_java_source_files): Added new files.
11228         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11229         Classpath.
11230         * java/awt/image/CropImageFilter.java: New file from Classpath.
11231         * java/awt/image/FilteredImageSource.java: New file from
11232         Classpath.
11233         * java/awt/image/ImageFilter.java: New file from Classpath.
11234         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11235         * java/awt/image/PixelGrabber.java: New file from Classpath.
11236         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11237         * java/awt/image/ReplicateScaleFilter.java: New file from
11238         Classpath.
11239         * java/awt/image/ImageProducer.java: Replaced with Classpath
11240         version.
11241         * java/awt/image/ImageObserver.java: Replaced with Classpath
11242         version.
11243         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11244         version.
11245         * java/awt/GridBagConstraints.java (clone): Catch
11246         CloneNotSupportedException.
11247
11248 2002-01-23  Per Bothner  <per@bothner.com>
11249
11250         * java/lang/reflect/natField.cc (setAddr):  New function.
11251         Calls getAddr and then checks that the field isn't final.
11252         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11253         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11254         (set):  Call setAddr before check that new value has right type,
11255         to better match specified semantics.
11256
11257 2002-01-22  Tom Tromey  <tromey@redhat.com>
11258
11259         * java/awt/TextField.java: Replaced with Classpath version.
11260         * java/awt/TextArea.java: Replaced with Classpath version.
11261         * java/awt/TextComponent.java: Replaced with Classpath version.
11262
11263         * java/awt/GridBagConstraints.java: Updated copyright.
11264
11265 2002-01-22  Mark Wielaard <mark@klomp.org>
11266
11267         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11268         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11269         java/awt/Dialog.java java/awt/FileDialog.java
11270         java/awt/Font.java java/awt/FontMetrics.java
11271         java/awt/Image.java java/awt/ImageMediaEntry.java
11272         java/awt/Insets.java java/awt/List.java
11273         java/awt/MediaEntry.java java/awt/MediaTracker.java
11274         java/awt/Menu.java java/awt/MenuBar.java
11275         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11276         java/awt/PaintContext.java java/awt/Panel.java
11277         java/awt/PopupMenu.java java/awt/SystemColor.java
11278         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11279         java/awt/peer/CheckboxMenuItemPeer.java
11280         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11281         java/awt/peer/ComponentPeer.java
11282         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11283         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11284         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11285         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11286         java/awt/peer/MenuBarPeer.java
11287         java/awt/peer/MenuComponentPeer.java
11288         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11289         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11290         java/awt/peer/ScrollPanePeer.java
11291         java/awt/peer/ScrollbarPeer.java
11292         java/awt/peer/TextAreaPeer.java
11293         java/awt/peer/TextComponentPeer.java
11294         java/awt/peer/TextFieldPeer.java
11295         java/awt/peer/WindowPeer.java: Add license clarification.
11296
11297 2002-01-22  Mark Wielaard <mark@klomp.org>
11298
11299         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11300         gnu/gcj/runtime/StringBuffer.java
11301         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11302         gnu/java/awt/ComponentDataBlitOp.java
11303         gnu/java/awt/GLightweightPeer.java
11304         gnu/java/beans/BeanInfoEmbryo.java
11305         gnu/java/beans/EmptyBeanInfo.java
11306         gnu/java/beans/ExplicitBeanInfo.java
11307         gnu/java/beans/IntrospectionIncubator.java
11308         gnu/java/beans/editors/ColorEditor.java
11309         gnu/java/beans/editors/FontEditor.java
11310         gnu/java/beans/editors/NativeBooleanEditor.java
11311         gnu/java/beans/editors/NativeByteEditor.java
11312         gnu/java/beans/editors/NativeDoubleEditor.java
11313         gnu/java/beans/editors/NativeFloatEditor.java
11314         gnu/java/beans/editors/NativeIntEditor.java
11315         gnu/java/beans/editors/NativeLongEditor.java
11316         gnu/java/beans/editors/NativeShortEditor.java
11317         gnu/java/beans/editors/StringEditor.java
11318         gnu/java/beans/info/ComponentBeanInfo.java
11319         gnu/java/io/ClassLoaderObjectInputStream.java
11320         gnu/java/io/NullOutputStream.java
11321         gnu/java/io/ObjectIdentityWrapper.java
11322         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11323         gnu/java/lang/reflect/TypeSignature.java
11324         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11325         gnu/java/locale/Calendar_en.java
11326         gnu/java/locale/Calendar_nl.java
11327         gnu/java/locale/LocaleInformation.java
11328         gnu/java/locale/LocaleInformation_de.java
11329         gnu/java/locale/LocaleInformation_en.java
11330         gnu/java/locale/LocaleInformation_nl.java
11331         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11332         gnu/java/rmi/registry/RegistryImpl.java
11333         gnu/java/rmi/rmic/Compile_gcj.java
11334         gnu/java/rmi/rmic/Compiler.java
11335         gnu/java/rmi/rmic/CompilerProcess.java
11336         gnu/java/rmi/rmic/RMIC.java
11337         gnu/java/rmi/rmic/TabbedWriter.java
11338         gnu/java/rmi/server/ProtocolConstants.java
11339         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11340         gnu/java/rmi/server/RMIHashes.java
11341         gnu/java/rmi/server/RMIObjectInputStream.java
11342         gnu/java/rmi/server/RMIObjectOutputStream.java
11343         gnu/java/rmi/server/UnicastConnection.java
11344         gnu/java/rmi/server/UnicastConnectionManager.java
11345         gnu/java/rmi/server/UnicastRef.java
11346         gnu/java/rmi/server/UnicastRemoteCall.java
11347         gnu/java/rmi/server/UnicastRemoteStub.java
11348         gnu/java/rmi/server/UnicastServer.java
11349         gnu/java/rmi/server/UnicastServerRef.java
11350         gnu/java/security/provider/DefaultPolicy.java
11351         gnu/java/security/provider/Gnu.java
11352         gnu/java/security/provider/SHA.java
11353         gnu/java/security/provider/SHA1PRNG.java
11354         gnu/java/text/BaseBreakIterator.java
11355         gnu/java/text/CharacterBreakIterator.java
11356         gnu/java/text/LineBreakIterator.java
11357         gnu/java/text/SentenceBreakIterator.java
11358         gnu/java/text/WordBreakIterator.java
11359         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11360         java/applet/AppletContext.java java/applet/AppletStub.java
11361         java/applet/AudioClip.java java/awt/AWTError.java
11362         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11363         java/awt/AWTException.java java/awt/AWTPermission.java
11364         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11365         java/awt/Button.java java/awt/Canvas.java
11366         java/awt/CardLayout.java java/awt/Checkbox.java
11367         java/awt/CheckboxGroup.java java/awt/Component.java
11368         java/awt/ComponentOrientation.java java/awt/Container.java
11369         java/awt/Dimension.java java/awt/Event.java
11370         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11371         java/awt/FlowLayout.java java/awt/Frame.java
11372         java/awt/Graphics.java java/awt/Graphics2D.java
11373         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11374         java/awt/IllegalComponentStateException.java
11375         java/awt/ItemSelectable.java java/awt/Label.java
11376         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11377         java/awt/MenuComponent.java java/awt/MenuItem.java
11378         java/awt/Paint.java java/awt/Point.java
11379         java/awt/Rectangle.java java/awt/RenderingHints.java
11380         java/awt/Transparency.java java/awt/Window.java
11381         java/awt/color/ColorSpace.java
11382         java/awt/color/ICC_ColorSpace.java
11383         java/awt/color/ICC_Profile.java
11384         java/awt/event/HierarchyBoundsAdapter.java
11385         java/awt/event/HierarchyBoundsListener.java
11386         java/awt/event/HierarchyEvent.java
11387         java/awt/event/HierarchyListener.java
11388         java/awt/geom/AffineTransform.java
11389         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11390         java/awt/geom/IllegalPathStateException.java
11391         java/awt/geom/Line2D.java
11392         java/awt/geom/NoninvertibleTransformException.java
11393         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11394         java/awt/geom/Rectangle2D.java
11395         java/awt/geom/RectangularShape.java
11396         java/awt/geom/RoundRectangle2D.java
11397         java/awt/image/BufferedImage.java
11398         java/awt/image/ColorModel.java
11399         java/awt/image/ComponentColorModel.java
11400         java/awt/image/ComponentSampleModel.java
11401         java/awt/image/DataBuffer.java
11402         java/awt/image/DataBufferByte.java
11403         java/awt/image/DataBufferInt.java
11404         java/awt/image/DataBufferUShort.java
11405         java/awt/image/DirectColorModel.java
11406         java/awt/image/PackedColorModel.java
11407         java/awt/image/Raster.java java/awt/image/RasterOp.java
11408         java/awt/image/SampleModel.java
11409         java/awt/image/SinglePixelPackedSampleModel.java
11410         java/awt/image/WritableRaster.java
11411         java/beans/AppletInitializer.java
11412         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11413         java/beans/Beans.java java/beans/Customizer.java
11414         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11415         java/beans/FeatureDescriptor.java
11416         java/beans/IndexedPropertyDescriptor.java
11417         java/beans/IntrospectionException.java
11418         java/beans/Introspector.java java/beans/MethodDescriptor.java
11419         java/beans/ParameterDescriptor.java
11420         java/beans/PropertyChangeEvent.java
11421         java/beans/PropertyChangeListener.java
11422         java/beans/PropertyChangeSupport.java
11423         java/beans/PropertyDescriptor.java
11424         java/beans/PropertyEditor.java
11425         java/beans/PropertyEditorManager.java
11426         java/beans/PropertyEditorSupport.java
11427         java/beans/PropertyVetoException.java
11428         java/beans/SimpleBeanInfo.java
11429         java/beans/VetoableChangeListener.java
11430         java/beans/VetoableChangeSupport.java
11431         java/beans/Visibility.java
11432         java/beans/beancontext/BeanContext.java
11433         java/beans/beancontext/BeanContextChild.java
11434         java/beans/beancontext/BeanContextChildComponentProxy.java
11435         java/beans/beancontext/BeanContextChildSupport.java
11436         java/beans/beancontext/BeanContextContainerProxy.java
11437         java/beans/beancontext/BeanContextEvent.java
11438         java/beans/beancontext/BeanContextMembershipEvent.java
11439         java/beans/beancontext/BeanContextMembershipListener.java
11440         java/beans/beancontext/BeanContextProxy.java
11441         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11442         java/beans/beancontext/BeanContextServiceProvider.java
11443         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11444         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11445         java/beans/beancontext/BeanContextServiceRevokedListener.java
11446         java/beans/beancontext/BeanContextServices.java
11447         java/beans/beancontext/BeanContextServicesListener.java
11448         java/io/BufferedInputStream.java
11449         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11450         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11451         java/io/ByteArrayOutputStream.java
11452         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11453         java/io/CharConversionException.java java/io/DataInput.java
11454         java/io/DataInputStream.java java/io/DataOutput.java
11455         java/io/EOFException.java java/io/Externalizable.java
11456         java/io/FileFilter.java java/io/FileNotFoundException.java
11457         java/io/FilePermission.java java/io/FileReader.java
11458         java/io/FileWriter.java java/io/FilenameFilter.java
11459         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11460         java/io/FilterReader.java java/io/FilterWriter.java
11461         java/io/IOException.java java/io/InputStream.java
11462         java/io/InterruptedIOException.java
11463         java/io/InvalidClassException.java
11464         java/io/InvalidObjectException.java
11465         java/io/NotActiveException.java
11466         java/io/NotSerializableException.java java/io/ObjectInput.java
11467         java/io/ObjectInputStream.java
11468         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11469         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11470         java/io/ObjectStreamConstants.java
11471         java/io/ObjectStreamException.java
11472         java/io/ObjectStreamField.java
11473         java/io/OptionalDataException.java java/io/OutputStream.java
11474         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11475         java/io/PipedReader.java java/io/PipedWriter.java
11476         java/io/PrintWriter.java java/io/PushbackInputStream.java
11477         java/io/PushbackReader.java java/io/Reader.java
11478         java/io/SequenceInputStream.java java/io/Serializable.java
11479         java/io/SerializablePermission.java
11480         java/io/StreamCorruptedException.java
11481         java/io/StreamTokenizer.java
11482         java/io/StringBufferInputStream.java java/io/StringReader.java
11483         java/io/StringWriter.java java/io/SyncFailedException.java
11484         java/io/UTFDataFormatException.java
11485         java/io/UnsupportedEncodingException.java
11486         java/io/WriteAbortedException.java java/io/Writer.java
11487         java/lang/AbstractMethodError.java
11488         java/lang/ArithmeticException.java
11489         java/lang/ArrayIndexOutOfBoundsException.java
11490         java/lang/ArrayStoreException.java java/lang/Boolean.java
11491         java/lang/Byte.java java/lang/CharSequence.java
11492         java/lang/ClassCastException.java
11493         java/lang/ClassCircularityError.java
11494         java/lang/ClassFormatError.java
11495         java/lang/ClassNotFoundException.java
11496         java/lang/CloneNotSupportedException.java
11497         java/lang/Cloneable.java java/lang/Comparable.java
11498         java/lang/Compiler.java java/lang/Double.java
11499         java/lang/Error.java java/lang/Exception.java
11500         java/lang/ExceptionInInitializerError.java
11501         java/lang/Float.java java/lang/IllegalAccessError.java
11502         java/lang/IllegalAccessException.java
11503         java/lang/IllegalArgumentException.java
11504         java/lang/IllegalMonitorStateException.java
11505         java/lang/IllegalStateException.java
11506         java/lang/IllegalThreadStateException.java
11507         java/lang/IncompatibleClassChangeError.java
11508         java/lang/IndexOutOfBoundsException.java
11509         java/lang/InheritableThreadLocal.java
11510         java/lang/InstantiationError.java
11511         java/lang/InstantiationException.java java/lang/Integer.java
11512         java/lang/InternalError.java
11513         java/lang/InterruptedException.java
11514         java/lang/LinkageError.java java/lang/Long.java
11515         java/lang/NegativeArraySizeException.java
11516         java/lang/NoClassDefFoundError.java
11517         java/lang/NoSuchFieldError.java
11518         java/lang/NoSuchFieldException.java
11519         java/lang/NoSuchMethodError.java
11520         java/lang/NoSuchMethodException.java
11521         java/lang/NullPointerException.java java/lang/Number.java
11522         java/lang/NumberFormatException.java
11523         java/lang/OutOfMemoryError.java java/lang/Package.java
11524         java/lang/Process.java java/lang/Runnable.java
11525         java/lang/RuntimeException.java
11526         java/lang/RuntimePermission.java
11527         java/lang/SecurityException.java
11528         java/lang/SecurityManager.java java/lang/Short.java
11529         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11530         java/lang/StringIndexOutOfBoundsException.java
11531         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11532         java/lang/ThreadLocal.java java/lang/UnknownError.java
11533         java/lang/UnsatisfiedLinkError.java
11534         java/lang/UnsupportedClassVersionError.java
11535         java/lang/UnsupportedOperationException.java
11536         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11537         java/lang/Void.java java/lang/ref/PhantomReference.java
11538         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11539         java/lang/ref/SoftReference.java
11540         java/lang/ref/WeakReference.java
11541         java/lang/reflect/AccessibleObject.java
11542         java/lang/reflect/InvocationTargetException.java
11543         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11544         java/lang/reflect/ReflectPermission.java
11545         java/math/BigDecimal.java java/math/BigInteger.java
11546         java/net/Authenticator.java java/net/BindException.java
11547         java/net/ConnectException.java java/net/ContentHandler.java
11548         java/net/ContentHandlerFactory.java
11549         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11550         java/net/FileNameMap.java java/net/MalformedURLException.java
11551         java/net/MulticastSocket.java java/net/NetPermission.java
11552         java/net/NoRouteToHostException.java
11553         java/net/PasswordAuthentication.java
11554         java/net/ProtocolException.java java/net/ServerSocket.java
11555         java/net/Socket.java java/net/SocketException.java
11556         java/net/SocketImpl.java java/net/SocketImplFactory.java
11557         java/net/SocketOptions.java java/net/SocketPermission.java
11558         java/net/URLDecoder.java java/net/URLEncoder.java
11559         java/net/URLStreamHandlerFactory.java
11560         java/net/UnknownHostException.java
11561         java/net/UnknownServiceException.java
11562         java/rmi/AccessException.java
11563         java/rmi/AlreadyBoundException.java
11564         java/rmi/ConnectException.java
11565         java/rmi/ConnectIOException.java
11566         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11567         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11568         java/rmi/NotBoundException.java
11569         java/rmi/RMISecurityException.java
11570         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11571         java/rmi/RemoteException.java java/rmi/ServerError.java
11572         java/rmi/ServerException.java
11573         java/rmi/ServerRuntimeException.java
11574         java/rmi/StubNotFoundException.java
11575         java/rmi/UnexpectedException.java
11576         java/rmi/UnknownHostException.java
11577         java/rmi/UnmarshalException.java
11578         java/rmi/activation/Activatable.java
11579         java/rmi/activation/ActivateFailedException.java
11580         java/rmi/activation/ActivationDesc.java
11581         java/rmi/activation/ActivationException.java
11582         java/rmi/activation/ActivationGroup.java
11583         java/rmi/activation/ActivationGroupDesc.java
11584         java/rmi/activation/ActivationGroupID.java
11585         java/rmi/activation/ActivationID.java
11586         java/rmi/activation/ActivationInstantiator.java
11587         java/rmi/activation/ActivationMonitor.java
11588         java/rmi/activation/ActivationSystem.java
11589         java/rmi/activation/Activator.java
11590         java/rmi/activation/UnknownGroupException.java
11591         java/rmi/activation/UnknownObjectException.java
11592         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11593         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11594         java/rmi/registry/Registry.java
11595         java/rmi/registry/RegistryHandler.java
11596         java/rmi/server/ExportException.java
11597         java/rmi/server/LoaderHandler.java
11598         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11599         java/rmi/server/Operation.java
11600         java/rmi/server/RMIClassLoader.java
11601         java/rmi/server/RMIClientSocketFactory.java
11602         java/rmi/server/RMIFailureHandler.java
11603         java/rmi/server/RMIServerSocketFactory.java
11604         java/rmi/server/RMISocketFactory.java
11605         java/rmi/server/RemoteCall.java
11606         java/rmi/server/RemoteObject.java
11607         java/rmi/server/RemoteRef.java
11608         java/rmi/server/RemoteServer.java
11609         java/rmi/server/RemoteStub.java
11610         java/rmi/server/ServerCloneException.java
11611         java/rmi/server/ServerNotActiveException.java
11612         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11613         java/rmi/server/SkeletonMismatchException.java
11614         java/rmi/server/SkeletonNotFoundException.java
11615         java/rmi/server/SocketSecurityException.java
11616         java/rmi/server/UID.java
11617         java/rmi/server/UnicastRemoteObject.java
11618         java/rmi/server/Unreferenced.java
11619         java/security/AccessControlContext.java
11620         java/security/AccessControlException.java
11621         java/security/AccessController.java
11622         java/security/AlgorithmParameterGenerator.java
11623         java/security/AlgorithmParameterGeneratorSpi.java
11624         java/security/AlgorithmParameters.java
11625         java/security/AlgorithmParametersSpi.java
11626         java/security/AllPermission.java
11627         java/security/BasicPermission.java
11628         java/security/Certificate.java java/security/CodeSource.java
11629         java/security/DigestException.java
11630         java/security/DigestInputStream.java
11631         java/security/DigestOutputStream.java
11632         java/security/DomainCombiner.java
11633         java/security/DummyKeyPairGenerator.java
11634         java/security/DummyMessageDigest.java
11635         java/security/DummySignature.java
11636         java/security/GeneralSecurityException.java
11637         java/security/Guard.java java/security/GuardedObject.java
11638         java/security/Identity.java java/security/IdentityScope.java
11639         java/security/InvalidAlgorithmParameterException.java
11640         java/security/InvalidKeyException.java
11641         java/security/InvalidParameterException.java
11642         java/security/Key.java java/security/KeyException.java
11643         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11644         java/security/KeyManagementException.java
11645         java/security/KeyPair.java java/security/KeyPairGenerator.java
11646         java/security/KeyPairGeneratorSpi.java
11647         java/security/KeyStore.java
11648         java/security/KeyStoreException.java
11649         java/security/KeyStoreSpi.java
11650         java/security/MessageDigest.java
11651         java/security/MessageDigestSpi.java
11652         java/security/NoSuchAlgorithmException.java
11653         java/security/NoSuchProviderException.java
11654         java/security/Permission.java
11655         java/security/PermissionCollection.java
11656         java/security/Permissions.java java/security/Policy.java
11657         java/security/Principal.java java/security/PrivateKey.java
11658         java/security/PrivilegedAction.java
11659         java/security/PrivilegedActionException.java
11660         java/security/PrivilegedExceptionAction.java
11661         java/security/ProtectionDomain.java
11662         java/security/Provider.java
11663         java/security/ProviderException.java
11664         java/security/PublicKey.java
11665         java/security/SecureClassLoader.java
11666         java/security/SecureRandom.java
11667         java/security/SecureRandomSpi.java java/security/Security.java
11668         java/security/SecurityPermission.java
11669         java/security/Signature.java
11670         java/security/SignatureException.java
11671         java/security/SignatureSpi.java
11672         java/security/SignedObject.java java/security/Signer.java
11673         java/security/UnrecoverableKeyException.java
11674         java/security/UnresolvedPermission.java
11675         java/security/acl/Acl.java java/security/acl/AclEntry.java
11676         java/security/acl/AclNotFoundException.java
11677         java/security/acl/Group.java
11678         java/security/acl/LastOwnerException.java
11679         java/security/acl/NotOwnerException.java
11680         java/security/acl/Owner.java java/security/acl/Permission.java
11681         java/security/cert/CRL.java
11682         java/security/cert/CRLException.java
11683         java/security/cert/Certificate.java
11684         java/security/cert/CertificateEncodingException.java
11685         java/security/cert/CertificateException.java
11686         java/security/cert/CertificateExpiredException.java
11687         java/security/cert/CertificateFactory.java
11688         java/security/cert/CertificateFactorySpi.java
11689         java/security/cert/CertificateNotYetValidException.java
11690         java/security/cert/CertificateParsingException.java
11691         java/security/cert/X509CRL.java
11692         java/security/cert/X509CRLEntry.java
11693         java/security/cert/X509Certificate.java
11694         java/security/cert/X509Extension.java
11695         java/security/interfaces/DSAKey.java
11696         java/security/interfaces/DSAKeyPairGenerator.java
11697         java/security/interfaces/DSAParams.java
11698         java/security/interfaces/DSAPrivateKey.java
11699         java/security/interfaces/DSAPublicKey.java
11700         java/security/interfaces/RSAKey.java
11701         java/security/interfaces/RSAPrivateCrtKey.java
11702         java/security/interfaces/RSAPrivateKey.java
11703         java/security/interfaces/RSAPublicKey.java
11704         java/security/spec/AlgorithmParameterSpec.java
11705         java/security/spec/DSAParameterSpec.java
11706         java/security/spec/DSAPrivateKeySpec.java
11707         java/security/spec/DSAPublicKeySpec.java
11708         java/security/spec/EncodedKeySpec.java
11709         java/security/spec/InvalidKeySpecException.java
11710         java/security/spec/InvalidParameterSpecException.java
11711         java/security/spec/KeySpec.java
11712         java/security/spec/PKCS8EncodedKeySpec.java
11713         java/security/spec/RSAKeyGenParameterSpec.java
11714         java/security/spec/RSAPrivateCrtKeySpec.java
11715         java/security/spec/RSAPrivateKeySpec.java
11716         java/security/spec/RSAPublicKeySpec.java
11717         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11718         java/sql/BatchUpdateException.java java/sql/Blob.java
11719         java/sql/CallableStatement.java java/sql/Clob.java
11720         java/sql/Connection.java java/sql/DataTruncation.java
11721         java/sql/DatabaseMetaData.java java/sql/Date.java
11722         java/sql/Driver.java java/sql/DriverManager.java
11723         java/sql/DriverPropertyInfo.java
11724         java/sql/PreparedStatement.java java/sql/Ref.java
11725         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11726         java/sql/SQLData.java java/sql/SQLException.java
11727         java/sql/SQLInput.java java/sql/SQLOutput.java
11728         java/sql/SQLWarning.java java/sql/Statement.java
11729         java/sql/Struct.java java/sql/Time.java
11730         java/sql/Timestamp.java java/sql/Types.java
11731         java/text/Annotation.java
11732         java/text/AttributedCharacterIterator.java
11733         java/text/AttributedString.java
11734         java/text/AttributedStringIterator.java
11735         java/text/BreakIterator.java java/text/CharacterIterator.java
11736         java/text/ChoiceFormat.java java/text/Collator.java
11737         java/text/DateFormat.java java/text/DateFormatSymbols.java
11738         java/text/DecimalFormat.java
11739         java/text/DecimalFormatSymbols.java
11740         java/text/FieldPosition.java java/text/Format.java
11741         java/text/MessageFormat.java java/text/NumberFormat.java
11742         java/text/ParseException.java java/text/ParsePosition.java
11743         java/text/SimpleDateFormat.java
11744         java/text/StringCharacterIterator.java
11745         java/util/AbstractCollection.java java/util/AbstractList.java
11746         java/util/AbstractMap.java
11747         java/util/AbstractSequentialList.java
11748         java/util/AbstractSet.java java/util/ArrayList.java
11749         java/util/Arrays.java java/util/BasicMapEntry.java
11750         java/util/BitSet.java java/util/Calendar.java
11751         java/util/Collection.java java/util/Collections.java
11752         java/util/Comparator.java
11753         java/util/ConcurrentModificationException.java
11754         java/util/Date.java java/util/Dictionary.java
11755         java/util/EmptyStackException.java java/util/Enumeration.java
11756         java/util/EventListener.java java/util/EventObject.java
11757         java/util/GregorianCalendar.java java/util/HashMap.java
11758         java/util/HashSet.java java/util/Hashtable.java
11759         java/util/IdentityHashMap.java java/util/Iterator.java
11760         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11761         java/util/LinkedList.java java/util/List.java
11762         java/util/ListIterator.java java/util/ListResourceBundle.java
11763         java/util/Locale.java java/util/Map.java
11764         java/util/MissingResourceException.java
11765         java/util/NoSuchElementException.java
11766         java/util/Observable.java java/util/Observer.java
11767         java/util/Properties.java java/util/PropertyPermission.java
11768         java/util/PropertyResourceBundle.java java/util/Random.java
11769         java/util/RandomAccess.java java/util/ResourceBundle.java
11770         java/util/Set.java java/util/SimpleTimeZone.java
11771         java/util/SortedMap.java java/util/SortedSet.java
11772         java/util/Stack.java java/util/StringTokenizer.java
11773         java/util/TimeZone.java java/util/Timer.java
11774         java/util/TimerTask.java
11775         java/util/TooManyListenersException.java
11776         java/util/TreeMap.java java/util/TreeSet.java
11777         java/util/Vector.java java/util/WeakHashMap.java
11778         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11779         java/util/jar/JarException.java java/util/jar/JarFile.java
11780         java/util/jar/JarInputStream.java
11781         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11782         java/util/zip/Adler32.java java/util/zip/CRC32.java
11783         java/util/zip/CheckedInputStream.java
11784         java/util/zip/CheckedOutputStream.java
11785         java/util/zip/Checksum.java
11786         java/util/zip/DataFormatException.java
11787         java/util/zip/Deflater.java
11788         java/util/zip/DeflaterOutputStream.java
11789         java/util/zip/GZIPInputStream.java
11790         java/util/zip/GZIPOutputStream.java
11791         java/util/zip/Inflater.java
11792         java/util/zip/InflaterInputStream.java
11793         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11794         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11795         java/util/zip/ZipInputStream.java
11796         java/util/zip/ZipOutputStream.java
11797         javax/naming/BinaryRefAddr.java
11798         javax/naming/InvalidNameException.java javax/naming/Name.java
11799         javax/naming/NamingException.java javax/naming/RefAddr.java
11800         javax/naming/StringRefAddr.java: Add license clarification.
11801
11802 2002-01-22  Tom Tromey  <tromey@redhat.com>
11803
11804         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11805         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11806         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11807         version.
11808         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11809         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11810         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11811         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11812         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11813         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11814         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11815         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11816         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11817         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11818         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11819         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11820         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11821         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11822         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11823         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11824         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11825         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11826         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11827         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11828         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11829         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11830         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11831         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11832         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11833         (minimumSize, preferredSize, reshape): Likewise.
11834         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11835         getColorModel): New methods.
11836         * java/awt/PopupMenu.java: Merged with Classpath.
11837         * java/awt/MenuBar.java: Merged with Classpath.
11838         * java/awt/SystemColor.java: Replace with Classpath version.
11839         * java/awt/Panel.java: Merged with Classpath.
11840         * java/awt/PaintContext.java: Updated copyright.
11841         * java/awt/MenuShortcut.java: Merged with Classpath.
11842         * java/awt/MenuContainer.java: Merged with Classpath.
11843         * java/awt/Menu.java: Merged with Classpath.
11844         * java/awt/MediaEntry.java: New file from Classpath.
11845         * java/awt/MediaTracker.java: New file from Classpath.
11846         * java/awt/List.java: Merged with Classpath version.
11847         * java/awt/Insets.java: Merged with Classpath version.
11848         * java/awt/ImageMediaEntry.java: New file from Classpath.
11849         * java/awt/Image.java: Replaced with Classpath version.
11850         * java/awt/FontMetrics.java: Merged with Classpath version.
11851         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11852         constant.
11853         * java/awt/Font.java: Merged with Classpath version.
11854         * java/awt/Dialog.java: Merged with Classpath version.
11855         * java/awt/Color.java: Merged with Classpath version.
11856         * java/awt/Choice.java: Merged with Classpath version.
11857         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11858         * java/awt/Adjustable.java: Replace with Classpath version.
11859         * java/awt/MenuItem.java (paramString): Don't include class name
11860         or brackets.  Call superclass paramString.
11861         * java/awt/MenuComponent.java (toString): Call paramString.
11862         (paramString): Compute string; don't call toString.
11863         * java/awt/Label.java (paramString): Don't include class name
11864         or brackets.  Call superclass paramString.
11865         * java/awt/Checkbox.java (paramString): Don't include class name
11866         or brackets.  Call superclass paramString.
11867         * java/awt/Button.java (paramString): Don't include class name or
11868         brackets.  Call superclass paramString.
11869         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11870
11871 2002-01-20  Andreas Schwab  <schwab@suse.de>
11872
11873         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11874         function and of parameter recv_func to ssize_t, as specified by
11875         POSIX.
11876
11877 2002-01-19  Per Bothner  <per@bothner.com>
11878
11879         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11880         uncompressed_size in readiness for next entry.
11881
11882 2002-01-18  Tom Tromey  <tromey@redhat.com>
11883
11884         * java/net/natPlainSocketImpl.cc: Include
11885         IllegalArgumentException.h.
11886         (_Jv_recv): New template function.
11887         (BooleanClass): Removed.
11888         (read): Use _Jv_recv.
11889         (setOption): Use Boolean::class$.  Throw exception if object is
11890         not Boolean or Integer.
11891
11892 2002-01-17  Tom Tromey  <tromey@redhat.com>
11893
11894         * java/awt/MenuComponent.java: Merged with Classpath.
11895         * java/awt/MenuItem.java: Merged with Classpath.
11896         * java/awt/Button.java: Merged with Classpath.
11897
11898         * java/awt/ActiveEvent.java: Updated copyright.
11899
11900         * java/awt/AWTError.java: Replaced with Classpath version.
11901         * java/awt/AWTException.java: Replaced with Classpath version.
11902         * java/awt/IllegalComponentStateException.java: Replaced with
11903         Classpath version.
11904
11905 2002-01-16  Tom Tromey  <tromey@redhat.com>
11906
11907         * java/awt/Canvas.java (serialVersionUID): New constant.
11908         Updated copyright.  Added javadoc from Classpath.
11909         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11910
11911         * java/awt/CheckboxGroup.java: Merged with Classpath.
11912         * java/awt/Checkbox.java: Merged with Classpath.
11913
11914         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11915         Classpath.
11916         * java/awt/Point.java: Updated copyright.
11917
11918         * java/awt/Point.java (toString): Use getClass().getName().
11919         Added javadoc.
11920
11921         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11922         commented code.
11923         (hash): Correctly compute initial value for `h'.
11924
11925         * java/awt/Label.java: Merged with Classpath.
11926
11927 2002-01-15  Tom Tromey  <tromey@redhat.com>
11928
11929         * java/awt/AWTPermission.java: Updated copyright.
11930
11931         * java/awt/LayoutManager2.java: Merged with Classpath.
11932         * java/awt/LayoutManager.java: Merged with Classpath.
11933         * java/awt/GridLayout.java: Updated copyright and javadoc.
11934         (getSize): Use `parent.ncomponents'.  Handle insets.
11935         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11936         there are fewer children than columns.  Correctly compute size of
11937         each cell in the grid.  Handle case where there isn't enough
11938         space.
11939         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11940         all users.
11941         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11942         before calling setVisible() on it.  Last item is `num - 1', not
11943         `num'.
11944         (layoutContainer): Hoist invariants out of loop.
11945
11946         Start of AWT merge with Classpath:
11947         * Makefile.in: Rebuilt.
11948         * Makefile.am (awt_java_source_files): Reference files in
11949         gnu/java/awt, not gnu/gcj/awt.
11950         * java/awt/image/BufferedImage.java: Updated copyright.
11951         * java/awt/image/ComponentColorModel.java: Updated copyright.
11952         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11953         * java/awt/image/DataBuffer.java: Updated copyright.
11954         * java/awt/image/DataBufferByte.java: Updated copyright.
11955         * java/awt/image/DataBufferInt.java: Updated copyright.
11956         * java/awt/image/DataBufferUShort.java: Updated copyright.
11957         * java/awt/image/IndexColorModel.java: Updated copyright.
11958         * java/awt/image/PackedColorModel.java: Updated copyright.
11959         * java/awt/image/Raster.java: Updated copyright.
11960         * java/awt/image/RasterOp.java: Updated copyright.
11961         * java/awt/image/SampleModel.java: Updated copyright.
11962         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11963         * java/awt/image/WritableRaster.java: Updated copyright.
11964         * java/awt/color/ColorSpace.java: Updated copyright.
11965         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11966         * java/awt/color/ICC_Profile.java: Updated copyright.
11967         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11968         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11969         * java/awt/event/HierarchyEvent.java: Updated copyright.
11970         * java/awt/event/HierarchyListener.java: Updated copyright.
11971         * java/awt/geom/AffineTransform.java: Updated copyright.
11972         * java/awt/geom/Dimension2D.java: Updated copyright.
11973         * java/awt/geom/Ellipse2D.java: Updated copyright.
11974         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11975         * java/awt/geom/Line2D.java: Updated copyright.
11976         * java/awt/geom/NoninvertibleTransformException.java: Updated
11977         copyright.
11978         * java/awt/geom/PathIterator.java: Updated copyright.
11979         * java/awt/geom/Point2D.java: Updated copyright.
11980         * java/awt/geom/Rectangle2D.java: Updated copyright.
11981         * java/awt/geom/RectangularShape.java: Updated copyright.
11982         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11983         * java/awt/Toolkit.java: Updated import for file moves.
11984         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11985         Classpath.
11986         (hashCode): New method from Classpath.
11987         * java/awt/Graphics2D.java: Updated copyright.
11988         * java/awt/Transparency.java: Updated copyright.
11989         * java/awt/Paint.java: Updated copyright.
11990         * java/awt/Graphics.java: New version from Classpath.
11991         * java/awt/EventDispatchThread.java: Updated copyright.
11992         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11993         children.
11994         (gotoComponent): Wrap around on next/previous.
11995         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11996         * gnu/gcj/awt/Buffers.java: Removed.
11997         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11998         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11999         * gnu/java/awt/BitMaskExtent.java: Added.
12000         * gnu/java/awt/Buffers.java: Added.
12001         * gnu/java/awt/ComponentDataBlitOp.java: Added.
12002         * gnu/java/awt/GLightweightPeer.java: Added.
12003         * java/awt/geom/Line2D.java (clone): Ignore
12004         CloneNotSupportedException.
12005         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12006         * java/awt/Frame.java: Merged with Classpath.
12007         * java/awt/RenderingHints.java: Copyright update.
12008         * java/awt/Paint.java: Copyright update.
12009         * java/awt/image/DirectColorModel.java: Merged with Classpath.
12010         * java/awt/image/ColorModel.java: Merged with Classpath.
12011         * java/awt/Window.java (show): New Implementation from Classpath.
12012         (isShowing): Use super.isShowing().
12013         * java/awt/EventQueue.java: Merged with Classpath.
12014         * java/awt/AWTEventMulticaster.java (save): Throw
12015         RuntimeException.
12016         (saveInternal): Likewise.
12017         * java/awt/AWTEvent.java: Now implements Serializable.
12018         * java/awt/Event.java: Copyright update.
12019         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12020         * java/awt/image/BufferedImage.java: Copyright update.
12021         * java/awt/GraphicsConfiguration.java: Copyright update.
12022         * java/awt/Component.java: (addNotify): Don't call
12023         addNotifyContainerChildren().
12024         (addNotifyContainerChildren): Removed.
12025         (setPeer): New method from Classpath.
12026         (setTreeLock): Likewise.
12027         (setVisible): Rewrote.
12028         (show): Use it.
12029         (hide): Likewise.
12030         (validate): Set `valid'.
12031         (checkImage(Image,ImageObserver)): Implementation from Classpath.
12032         (createImage(ImageProducer)): Likewise.
12033         (prepareImage): Likewise.
12034         * java/awt/Container.java (addImpl): Handle case where constraint
12035         is not a String.  Post event via system event queue.
12036         (remove): Post event via system event queue.
12037         (validateTree): Only validate child if it is invalid.
12038         (getAlignmentX): Call super method as default.
12039         (getAlignmentY): Likewise.
12040         (addContainerListener): Now synchronized.
12041         (removeContainerListener): Likewise.
12042         (addNotifyContainerChildren): Now private.
12043         * java/awt/ComponentOrientation.java: Updated copyright.  Added
12044         @author.
12045         * java/awt/FlowLayout.java (serialVersionUID): New field.
12046         (setAlignment): Better exception message.
12047         (layoutContainer): Don't compute component's preferred size unless
12048         we're going to use it.
12049         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12050         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12051         (firstLine, lastLine, firstItem, lastItem): New fields.
12052         (addLayoutComponent): Handle case where constraints is null.
12053         Also, handle relative locations.
12054         (removeLayoutComponent): Handle relative locations.
12055         (MIN, MAX, PREF): New constants.
12056         (calcCompSize): New method.
12057         (calcSize): New method.
12058         (minimumLayoutSize): Use it.
12059         (preferredLayoutSize): Likewise.
12060         (maximumLayoutSize): Likewise.
12061         (toString): Include more information.
12062         (setBounds): New method.
12063         (layoutContainer): Use libgcj implementation; extended to handle
12064         relative locations.
12065
12066 2002-01-15  Tom Tromey  <tromey@redhat.com>
12067
12068         * java/lang/Float.java (equals): Preserve old code.
12069         * java/lang/Double.java (equals): Preserve old code.
12070
12071 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12072
12073         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12074         * java/lang/Float.java (equals, compare): Ditto.
12075
12076 2002-01-13  Mark Wielaard  <mark@klomp.org>
12077
12078         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12079         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12080         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12081         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12082
12083 2002-01-11  Mark Wielaard  <mark@klomp.org>
12084
12085         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12086         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12087         InetAddress.
12088         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12089         * java/net/Socket.java: Merge with Classpath.
12090         * java/net/ServerSocket.java: Likewise.
12091
12092 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12093
12094         * interpret.cc (NULLARRAYCHECK): New macro.
12095         (SAVE_PC): Just store `pc'.
12096         (find_exception): Subtract one from `pc' here.
12097         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12098         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12099         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12100         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12101         don't call SAVE_PC.
12102         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12103         call SAVE_PC.
12104
12105 2002-01-11  Tom Tromey  <tromey@redhat.com>
12106
12107         * java/lang/natSystem.cc (init_properties): Only look for default
12108         locale if LC_MESSAGES is defined.
12109         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12110         * configure.in: Call AM_LC_MESSAGES.
12111         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12112
12113 2002-01-10  Tom Tromey  <tromey@redhat.com>
12114
12115         For PR libgcj/5303:
12116         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12117         --version.  Recognize GNU-style long options.  Print GNU-style
12118         error messages.
12119         (usage): Print GNU-style help.  Exit with status 0.
12120         (error): New method.
12121         (run): Print error message if no class names found.
12122         (main): Don't print usage on error.
12123
12124 2002-01-09  Tom Tromey  <tromey@redhat.com>
12125
12126         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12127         property.
12128         (help, version): Use println(), not println("").
12129
12130         For PR libgcj/5303:
12131         * gnu/gcj/convert/Convert.java (error): Program is called
12132         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12133         -1.
12134         (main): Handle --help and --version.
12135         (help): New method.
12136         (version): Likewise.
12137
12138 2002-01-08  Tom Tromey  <tromey@redhat.com>
12139
12140         * Makefile.in: Rebuilt.
12141         * Makefile.am (ordinary_java_source_files): Added new files.
12142         * gnu/java/locale/LocaleInformation.java: Extend
12143         LocaleInformation_en.
12144         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12145         and time/date formats.
12146         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12147         generated.
12148         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12149         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12150         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12151         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12152         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12153         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12154         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12155         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12156         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12157         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12158         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12159         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12160         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12161         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12162         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12163         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12164         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12165         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12166         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12167         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12168         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12169         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12170         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12171         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12172         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12173         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12174         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12175         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12176         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12177         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12178         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12179         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12180         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12181         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12182         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12183         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12184         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12185         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12186         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12187         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12188         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12189         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12190         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12191         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12192         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12193         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12194         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12195         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12196         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12197         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12198         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12199         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12200         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12201         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12202         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12203         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12204         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12205         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12206         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12207         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12208         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12209         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12210         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12211         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12212         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12213         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12214         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12215         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12216         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12217         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12218         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12219         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12220         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12221         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12222         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12223         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12224         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12225         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12226         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12227         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12228         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12229         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12230         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12231         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12232         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12233         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12234         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12235         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12236         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12237         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12238         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12239         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12240         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12241         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12242         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12243         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12244         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12245         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12246         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12247         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12248         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12249         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12250         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12251         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12252         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12253         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12254         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12255         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12256         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12257         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12258         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12259         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12260         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12261         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12262         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12263         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12264         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12265         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12266         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12267         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12268         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12269         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12270         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12271         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12272         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12273         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12274         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12275         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12276         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12277         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12278
12279         For PR libgcj/5031:
12280         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12281         choose default locale.
12282
12283         * Makefile.in: Rebuilt.
12284         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12285
12286 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12287
12288         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12289         sockets.
12290         (close): New function closes the socket.
12291         (write): New functions for output to socket.
12292         (read): New functions for reading from socket.
12293         * java/net/PlainSocketImpl.java: Glue for new timeout
12294         implementation.
12295         (write): Call the native impl.
12296         (read): Likewise.
12297         (getInputStream): Get a stream to read from the socket.
12298         (getOutputStream): Get a stream to write to the socket.
12299
12300 2002-01-08  Tom Tromey  <tromey@redhat.com>
12301
12302         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12303
12304 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12305
12306         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12307         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12308
12309 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12310
12311         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12312         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12313         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12314         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12315         insn_bastore, insn_castore, insn_sastore]: Use it.
12316         (continue1) [insn_arraylength]: Check for null array.
12317
12318 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12319
12320         * configure, include/config.h.in: Rebuilt.
12321         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12322         * configure.in: Call AC_STRUCT_TIMEZONE.
12323
12324 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12325
12326         * configure.host: Disable the interpreter for Darwin.
12327
12328 2002-01-04  Tom Tromey  <tromey@redhat.com>
12329
12330         * java/lang/Thread.java (stop): No longer synchronized.
12331         (start): Likewise.
12332
12333 2002-01-02  Tom Tromey  <tromey@redhat.com>
12334
12335         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12336         patch.
12337
12338 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12339
12340         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12341         PPC Darwin, not for all of Darwin.