2003-07-01 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-07-01  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/gcj/convert/natIconv.cc
4         (iconv_init): Fixed possible memory leak by releasing allocated iconv
5         handle.
6
7 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
8
9         * glib-2.0.m4: New file.
10         * gtk-2.0.m4: New file.
11         * glib.m4: Remove.
12         * gtk.m4: Remove.
13         * configure.in: Update AM_PATH_GTK macro call to
14         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
15         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
16         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
17         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
18         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
19         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
20         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
21         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
22         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
23         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
24         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
25         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
26         jni/gtk-peer/gthread-jni.c,
27         jni/gtk-peer/gthread-jni.h:
28         New versions from classpath.
29         * aclocal.m4: Regenerate.
30         * configure: Regenerate.
31         * Makefile.in: Regenerate.
32         * gcj/Makefile.in: Regenerate.
33         * include/Makefile.in: Regenerate.
34         * testsuite/Makefile.in: Regenerate.
35
36 2003-06-30  Gary Benson  <gbenson@redhat.com>
37
38         For PR libgcj/11349:
39         * javax/naming/spi/NamingManager.java (getURLContext): Use
40         correct name for factory class.
41
42 2003-06-28  Michael Koch  <konqueror@gmx.de>
43
44         * java/io/PrintStream.java
45         (checkError): Call flush() instead of direct flushing of the Writer
46         object.
47         (print): Call print(String) instead of direct print method of the
48         Writer Object.
49         (println): Call println(String) instead of direct println method of the
50         Writer Object.
51         (write): Simplified.
52
53 2003-06-28  Michael Koch  <konqueror@gmx.de>
54
55         * java/net/ServerSocket.java
56         (setChannel): New method.
57         * java/net/Socket.java
58         (setChannel): New method.
59
60 2003-06-27  Michael Koch  <konqueror@gmx.de>
61
62         * java/beans/beancontext/BeanContextSupport.java:
63         New version from classpath.
64
65 2003-06-27  Michael Koch  <konqueror@gmx.de>
66
67         * java/awt/Window.java,
68         java/awt/font/GraphicAttribute.java,
69         java/awt/font/ImageGraphicAttribute.java,
70         java/awt/image/DataBufferByte.java,
71         java/awt/image/DataBufferInt.java,
72         java/awt/image/DataBufferUShort.java,
73         java/awt/image/DirectColorModel.java,
74         java/awt/image/PixelGrabber.java:
75         New versions from classpath.
76
77 2003-06-27  Michael Koch  <konqueror@gmx.de>
78
79         * java/security/Certificate.java
80         (getGuarantor): Removed wrong @deprecated tag.
81         (getPrincipal): Likewise.
82         (getPublicKey): Likewise.
83         (encode): Likewise.
84         (decode): Likewise.
85         (getFormat): Likewise.
86         (toString): Likewise.
87         * java/security/cert/PolicyQualifierInfo.java
88         (PolicyQualifierInfo): Made final.
89         * javax/security/auth/x500/X500Principal.java
90         (serialVersionUID): New member variable.
91
92 2003-06-27  Michael Koch  <konqueror@gmx.de>
93
94         * java/text/Format.java
95         (serialVersionUID): Fixed value.
96
97 2003-06-27  Michael Koch  <konqueror@gmx.de>
98
99         * java/net/Inet4Address.java
100         (Inet4Address): Made package-private.
101         * java/net/Inet6Address.java
102         (Inet4Address): Made package-private.
103
104 2003-06-27  Michael Koch  <konqueror@gmx.de>
105
106         * java/io/RandomAccessFile.java
107         (readLine): Removed wrong @deprecated tag.
108         (getChannel): Made final.
109
110 2003-06-27  Michael Koch  <konqueror@gmx.de>
111
112         * gnu/java/nio/FileChannelImpl.java
113         (write): Removed.
114
115 2003-06-27  Michael Koch  <konqueror@gmx.de>
116
117         * java/nio/ByteBufferImpl.java
118         (ByteBufferImpl): Made it a package-private class
119         * java/nio/CharBufferImpl.java
120         (CharBufferImpl): Made it a package-private class
121         * java/nio/DirectByteBufferImpl.java
122         (DirectByteBufferImpl): Made it a package-private class
123         * java/nio/DoubleBufferImpl.java
124         (DoubleBufferImpl): Made it a package-private class
125         * java/nio/FloatBufferImpl.java
126         (FloatBufferImpl): Made it a package-private class
127         * java/nio/IntBufferImpl.java
128         (IntBufferImpl): Made it a package-private class
129         * java/nio/LongBufferImpl.java
130         (LongBufferImpl): Made it a package-private class
131         * java/nio/ShortBufferImpl.java
132         (ShortBufferImpl): Made it a package-private class
133         * java/nio/channels/FileChannel.java
134         (write): Made final.
135         * java/nio/channels/ServerSocketChannel.java
136         (ServerSocketChanne): Made protected.
137
138 2003-06-27  Michael Koch  <konqueror@gmx.de>
139
140         * javax/naming/CompositeName.java
141         (serialVersionUID): New member variable.
142         * javax/naming/CompoundName.java
143         (serialVersionUID): New member variable.
144         * javax/naming/InitialContext.java
145         (InitialContext): Throws NamingException.
146         (init): Likewise.
147         * javax/naming/LinkRef.java
148         (serialVersionUID): New member variable.
149         (gteLinkName): Throws NamingException.
150         * javax/naming/NamingException.java
151         (serialVersionUID): New member variable.
152         * javax/naming/NamingSecurityException.java
153         (NamingSecurityException): Made abstract.
154         (serialVersionUID): New member variable.
155         * javax/naming/ReferralException.java
156         (serialVersionUID): New member variable.
157         * javax/naming/StringRefAddr.java
158         (serialVersionUID): New member variable.
159         * javax/naming/directory/BasicAttribute.java:
160         Reworked imports.
161         (serialVersionUID): New member variable.
162         (get): Throws NamingException.
163         (getAll): Throws NamingException.
164         * javax/naming/directory/BasicAttributes.java:
165         Reworked imports.
166         (serialVersionUID): New member variable.
167         * javax/naming/ldap/UnsolicitedNotificationEvent.java
168         (serialVersionUID): New member variable.
169
170 2003-06-27  Michael Koch  <konqueror@gmx.de>
171
172         * Makefile.am
173         (awt_java_source_files): Added new files:
174         javax/swing/Popup.java,
175         javax/swing/PopupFactory.java
176         * Makefile.in: Regenerated.
177
178 2003-06-27  Michael Koch  <konqueror@gmx.de>
179
180         * javax/swing/JWindow.java,
181         javax/swing/event/AncestorEvent.java,
182         javax/swing/event/HyperlinkEvent.java,
183         javax/swing/event/InternalFrameEvent.java,
184         javax/swing/event/ListDataEvent.java,
185         javax/swing/event/TableModelEvent.java,
186         javax/swing/plaf/PopupMenuUI.java,
187         javax/swing/plaf/SplitPaneUI.java,
188         javax/swing/plaf/TabbedPaneUI.java,
189         javax/swing/plaf/TextUI.java,
190         javax/swing/plaf/TreeUI.java,
191         javax/swing/plaf/basic/BasicTextUI.java,
192         javax/swing/plaf/basic/BasicTreeUI.java:
193         New versions from classpath.
194         * javax/swing/Popup.java,
195         javax/swing/PopupFactory.jav:
196         New source files from classpath.
197         * javax/swing/plaf/doc-files/TreeUI-1.png:
198         New binary files from classpath.
199
200 2003-06-25  Michael Koch  <konqueror@gmx.de>
201
202         * Makefile.am
203         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
204         * Makefile.in: Regenerated.
205
206 2003-06-25  Michael Koch  <konqueror@gmx.de>
207
208         * javax/swing/plaf/ActionMapUIResource.java,
209         javax/swing/plaf/BorderUIResource.java,
210         javax/swing/plaf/ButtonUI.java,
211         javax/swing/plaf/ColorChooserUI.java,
212         javax/swing/plaf/ColorUIResource.java,
213         javax/swing/plaf/ComboBoxUI.java,
214         javax/swing/plaf/ComponentInputMapUIResource.java,
215         javax/swing/plaf/ComponentUI.java,
216         javax/swing/plaf/DesktopIconUI.java,
217         javax/swing/plaf/DesktopPaneUI.java,
218         javax/swing/plaf/DimensionUIResource.java,
219         javax/swing/plaf/FileChooserUI.java,
220         javax/swing/plaf/FontUIResource.java,
221         javax/swing/plaf/IconUIResource.java,
222         javax/swing/plaf/InputMapUIResource.java,
223         javax/swing/plaf/InsetsUIResource.java,
224         javax/swing/plaf/InternalFrameUI.java,
225         javax/swing/plaf/LabelUI.java,
226         javax/swing/plaf/ListUI.java,
227         javax/swing/plaf/MenuBarUI.java,
228         javax/swing/plaf/MenuItemUI.java,
229         javax/swing/plaf/OptionPaneUI.java,
230         javax/swing/plaf/PanelUI.java,
231         javax/swing/plaf/ProgressBarUI.java,
232         javax/swing/plaf/RootPaneUI.java,
233         javax/swing/plaf/ScrollBarUI.java,
234         javax/swing/plaf/ScrollPaneUI.java,
235         javax/swing/plaf/SeparatorUI.java,
236         javax/swing/plaf/SliderUI.java,
237         javax/swing/plaf/TableHeaderUI.java,
238         javax/swing/plaf/TableUI.java,
239         javax/swing/plaf/ToolBarUI.java,
240         javax/swing/plaf/ToolTipUI.java,
241         javax/swing/plaf/ViewportUI.java:
242         New versions from classpath.
243         * javax/swing/plaf/SpinnerUI.java: 
244         New file from classpath
245
246 2003-06-25  Michael Koch  <konqueror@gmx.de>
247
248         * java/awt/image/ColorModel.java:
249         New version from classpath.
250
251 2003-06-25  Michael Koch  <konqueror@gmx.de>
252
253         * java/net/PlainDatagramSocketImpl.java:
254         Partly merged with classpath, this mainly adds documentation.
255
256 2003-06-25  Michael Koch  <konqueror@gmx.de>
257
258         * java/io/ObjectInputStream.java
259         (readClassDescriptor): New method.
260         (readObject): Moved functionality to readClassDescriptor().
261         * java/io/ObjectOutputStream.java
262         (writeClassDescriptor): New method.
263         (writeObject): Moved functionality to writeClassDescriptor().
264
265 2003-06-25  Michael Koch  <konqueror@gmx.de>
266
267         * javax/swing/plaf/basic/BasicListUI.java,
268         javax/swing/plaf/basic/BasicOptionPaneUI.java:
269         Added missing methods.
270
271 2003-06-25  Michael Koch  <konqueror@gmx.de>
272
273         * javax/swing/event/AncestorEvent.java
274         javax/swing/event/HyperlinkEvent.java
275         javax/swing/event/InternalFrameEvent.java
276         javax/swing/event/ListDataEvent.java
277         javax/swing/event/TableModelEvent.java:
278         Compile fixes.
279
280 2003-06-24  Michael Koch  <konqueror@gmx.de>
281
282         * java/net/URL.java:
283         Renamed "handler" to "ph" in the whole file to match classpaths
284         version.
285         * java/net/URLStreamHandler.java:
286         (equals): Renamed "handler" to "ph".
287
288 2003-06-24  Michael Koch  <konqueror@gmx.de>
289
290         * javax/swing/event/AncestorEvent.java,
291         javax/swing/event/HyperlinkEvent.java,
292         javax/swing/event/InternalFrameEvent.java,
293         javax/swing/event/ListDataEvent.java,
294         javax/swing/event/TableModelEvent.java,
295         javax/swing/event/TreeWillExpandListener.java,
296         javax/swing/plaf/ComponentUI.java,
297         javax/swing/plaf/DesktopIconUI.java,
298         javax/swing/plaf/DesktopPaneUI.java,
299         javax/swing/plaf/DimensionUIResource.java,
300         javax/swing/plaf/FileChooserUI.java,
301         javax/swing/plaf/FontUIResource.java,
302         javax/swing/plaf/IconUIResource.java,
303         javax/swing/plaf/InputMapUIResource.java,
304         javax/swing/plaf/InsetsUIResource.java,
305         javax/swing/plaf/InternalFrameUI.java,
306         javax/swing/plaf/LabelUI.java,
307         javax/swing/plaf/ListUI.java,
308         javax/swing/plaf/MenuBarUI.java,
309         javax/swing/plaf/MenuItemUI.java,
310         javax/swing/plaf/OptionPaneUI.java,
311         javax/swing/plaf/PanelUI.java,
312         javax/swing/plaf/ProgressBarUI.java,
313         javax/swing/plaf/doc-files/ComponentUI-1.dia,
314         javax/swing/plaf/doc-files/ComponentUI-1.png:
315         New versions from classpath.
316
317 2003-06-24  Michael Koch  <konqueror@gmx.de>
318
319         * java/nio/Buffer.java
320         (cap): Made package-private.
321         (pos): Likewise.
322         (limit): Likewise.
323         (mark): Likewise.
324
325 2003-06-24  Michael Koch  <konqueror@gmx.de>
326
327         * java/net/SocketImpl.java
328         (shutdownInput): Made it non-abstract method throwing an exception
329         like in SUNs JRE.
330         (shutdownOutput): Likewise.
331         * java/net/SocketInputStream.java,
332         java/net/SocketOutputStream.java:
333         New files from classpath.
334
335 2003-06-24  Michael Koch  <konqueror@gmx.de>
336
337         * java/awt/Font.java,
338         java/awt/Window.java,
339         java/awt/color/ColorSpace.java,
340         java/awt/datatransfer/StringSelection.java,
341         java/awt/image/ColorModel.java:
342         New versions from classpath.
343
344 2003-06-24  Michael Koch  <konqueror@gmx.de>
345
346         * Makefile.am
347         (awt_java_source_files): Added new files:
348         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
349         javax/swing/plaf/basic/BasicSplitPaneUI.java
350         * Makefile.in: Regenerated.
351
352 2003-06-24  Michael Koch  <konqueror@gmx.de>
353
354         * javax/swing/text/JTextComponent.java:
355         New version from classpath.
356
357 2003-06-24  Michael Koch  <konqueror@gmx.de>
358
359         * javax/swing/Timer.java,
360         javax/swing/plaf/ActionMapUIResource.java,
361         javax/swing/plaf/ButtonUI.java,
362         javax/swing/plaf/ColorChooserUI.java,
363         javax/swing/plaf/ColorUIResource.java,
364         javax/swing/plaf/ComboBoxUI.java,
365         javax/swing/plaf/ComponentInputMapUIResource.java,
366         javax/swing/plaf/basic/BasicBorders.java:
367         New versions from classpath.
368         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
369         javax/swing/plaf/basic/BasicSplitPaneUI.java:
370         New file from classpath.
371         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
372         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
373         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
374         javax/swing/plaf/doc-files/ComponentUI-1.dia,
375         javax/swing/plaf/doc-files/ComponentUI-1.png:
376         New binary files from classpath.
377
378 2003-06-24  Michael Koch  <konqueror@gmx.de>
379
380         * java/io/LineNumberReader.java
381         (skip): Dont do line number accounting here as this is already done in
382         read(), simplified.
383
384 2003-06-21  Michael Koch  <konqueror@gmx.de>
385
386         * java/io/File.java
387         (static): Load javaio lib if existing (only in classpath).
388         (File): Revised documentation to show the correct argument name.
389         (createTempFile): Partly merged with classpath.
390         (compareTo): Simplified.
391         (lastModified): Throw exception if time < 0.
392         (deleteOnExit): Revised documentation.
393
394 2003-06-21  Michael Koch  <konqueror@gmx.de>
395
396         * java/net/PlainSocketImpl.java:
397         Reformatted.
398         (PlainSocketImpl): Merged class documentaion with classpath.
399         (in): Moved.
400         (out): Moved.
401         (PlainSocketImpl): New empty constructor.
402         (finalize): Moved.
403         (setOption): Merged documentation from classpath.
404         (getOption): Likewise.
405         (create): Likewise.
406         (connect): Likewise.
407         (bind): Likewise.
408         (listen): Likewise.
409         (accept): Likewise.
410         (available): Likewise.
411         (close): Likewise.
412         (read): Likewise.
413         (write): Likewise.
414         (getInputStream): Made synchronozed to get sure that only one stream
415         object can be created for this socket, merged documentation from
416         classpath.
417         (getOutputStream): Likewise.
418
419 2003-06-21  Michael Koch  <konqueror@gmx.de>
420
421         * java/net/PlainSocketImpl.java:
422         Reformatting.
423         (static): New implicit method.
424         (read): Made package private.
425         (write): Likewise.
426
427 2003-06-21  Michael Koch  <konqueror@gmx.de>
428
429         * java/util/SimpleTimeZone.java:
430         Removed unneeded import, reformatting.
431
432 2003-06-21  Michael Koch  <konqueror@gmx.de>
433
434         * java/text/DateFormat.java,
435         java/text/SimpleDateFormat.java,
436         java/util/Locale.java:
437         New versions from classpath.
438
439 2003-06-21  Michael Koch  <konqueror@gmx.de>
440
441         * javax/swing/SpinnerModel.java:
442         New file from classpath.
443         * javax/swing/border/LineBorder.java,
444         javax/swing/border/SoftBevelBorder.java,
445         javax/swing/plaf/BorderUIResource.java,
446         javax/swing/plaf/basic/BasicBorders.java:
447         New versions from classpath.
448         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
449         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
450         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
451         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
452         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
453         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
454         New binary files from classpath.
455
456 2003-06-21  Michael Koch  <konqueror@gmx.de>
457
458         * java/util/logging/LogRecord.java,
459         java/util/logging/Logger.java,
460         java/util/logging/SocketHandler.java,
461         java/util/logging/SimpleFormatter.java,
462         java/util/logging/Formatter.java,
463         java/util/logging/ErrorManager.java,
464         java/util/logging/Handler.java,
465         java/util/logging/FileHandler.java,
466         java/util/logging/LogManager.java,
467         java/util/logging/Level.java,
468         java/util/logging/ConsoleHandler.java,
469         java/util/logging/StreamHandler.java,
470         java/util/logging/LoggingPermission.java,
471         java/util/logging/Filter.java,
472         java/util/logging/MemoryHandler.java,
473         java/util/logging/XMLFormatter.java:
474         New files from classpath.
475
476 2003-06-20  Michael Koch  <konqueror@gmx.de>
477
478         * java/io/ObjectStreamField.java
479         (unshared): new member variable.
480         (ObjectStreamField): New constructor.
481         (isUnshared): New method.
482
483 2003-06-20  Michael Koch  <konqueror@gmx.de>
484
485         * java/net/URLStreamHandler.java
486         (hostsEqual): Rewritten.
487
488 2003-06-20  Michael Koch  <konqueror@gmx.de>
489
490         * gnu/java/nio/MappedByteFileBuffer.java,
491         gnu/java/nio/natMappedByteFileBuffer.cc:
492         Removed
493         * java/nio/MappedByteBufferImpl.java:
494         New file.
495         * gnu/java/nio/FileChannelImpl.java:
496         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
497         * Makefile.am
498         (ordinary_java_source_files): Removed
499         gnu/java/nio/MappedByteFileBuffer.java and added
500         java/nio/MappedByteBufferImpl.java.
501         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
502         * Makefile.in: Regenerated.
503
504 2003-06-19  Michael Koch  <konqueror@gmx.de>
505
506         * gnu/java/nio/DatagramChannelImpl.java
507         (fd): Removed.
508         (blocking): New member variable.
509         (socket): Likewise.
510         (DatagramChannelImpl): Throws IOException, initialize socket.
511         (socket):Implemented.
512         (implCloseSelectableChannel): Throws IOException, implemented.
513         (implConfigureBlocking): Likewise.
514         (connect): Likewise.
515         (disconnect): Likewise.
516         (isConnected): Likewise.
517         (write): Likewise.
518         (read): Likewise.
519         (receive): Throws IOException.
520         (send): Likewise.
521         * gnu/java/nio/SocketChannelImpl.java
522         (read): Implemented.
523         (write): Implemented.
524
525 2003-06-19  Michael Koch  <konqueror@gmx.de>
526
527         * javax/swing/JComponent.java,
528         javax/swing/JInternalFrame.java,
529         javax/swing/MenuSelectionManager.java,
530         javax/swing/SwingUtilities.java,
531         javax/swing/ToggleButtonModel.java:
532         New versions from classpath.
533
534 2003-06-19  Michael Koch  <konqueror@gmx.de>
535
536         * java/text/CollationElementIterator.java
537         (NULLORDER): Initialize with -1 as JDK documentation says.
538
539 2003-06-19  Michael Koch  <konqueror@gmx.de>
540
541         * java/net/HttpURLConnection.java,
542         java/net/Inet4Address.java,
543         java/net/Inet6Address.java,
544         java/net/SocketImpl.java,
545         java/net/URLClassLoader.java:
546         Reworked import statements.
547         * java/net/InetAddress.java
548         (getByAddress): Simplified.
549         * java/net/ServerSocket.java
550         (ServerSocket): Moved special handling during bind operation to
551         bind().
552         (bind): Handle different cases when trying to bind a socket.
553         * java/net/URLConnection.java
554         (getHeaderFieldDate): Merged with classpath.
555         (getHeaderFieldInt): Likewise.
556
557 2003-06-19  Michael Koch  <konqueror@gmx.de>
558
559         * java/util/zip/InflaterInputStream.java
560         (InflaterInputStream): Throw NullPointerException if in is null (as
561         JDK does).
562
563 2003-06-19  Michael Koch  <konqueror@gmx.de>
564
565         * java/awt/Font.java
566         javax/swing/UIManager.java
567         javax/swing/border/AbstractBorder.java
568         javax/swing/border/BevelBorder.java
569         javax/swing/border/Border.java
570         javax/swing/border/CompoundBorder.java
571         javax/swing/border/EmptyBorder.java
572         javax/swing/border/EtchedBorder.java
573         javax/swing/border/LineBorder.java
574         javax/swing/border/MatteBorder.java
575         javax/swing/border/TitledBorder.java
576         javax/swing/plaf/BorderUIResource.java
577         javax/swing/plaf/basic/BasicBorders.java
578         javax/swing/plaf/basic/BasicButtonUI.java
579         javax/swing/plaf/basic/BasicCheckBoxUI.java
580         javax/swing/plaf/basic/BasicGraphicsUtils.java
581         javax/swing/plaf/basic/BasicLabelUI.java
582         javax/swing/plaf/basic/BasicRadioButtonUI.java
583         javax/swing/plaf/basic/BasicToggleButtonUI.java:
584         New versions from classpath.
585         * javax/swing/border/SoftBevelBorder.java:
586         New file from classpath.
587         * javax/swing/border/doc-files/LineBorder-1.png,
588         javax/swing/border/doc-files/BevelBorder-1.png,
589         javax/swing/border/doc-files/BevelBorder-2.png,
590         javax/swing/border/doc-files/BevelBorder-3.png,
591         javax/swing/border/doc-files/EmptyBorder-1.png,
592         javax/swing/border/doc-files/EtchedBorder-1.png,
593         javax/swing/border/doc-files/EtchedBorder-2.png,
594         javax/swing/border/doc-files/MatteBorder-1.png,
595         javax/swing/border/doc-files/MatteBorder-2.png,
596         javax/swing/border/doc-files/MatteBorder-3.png,
597         javax/swing/border/doc-files/MatteBorder-4.png,
598         javax/swing/border/doc-files/MatteBorder-5.png,
599         javax/swing/border/doc-files/MatteBorder-6.png,
600         javax/swing/border/doc-files/SoftBevelBorder-1.png,
601         javax/swing/border/doc-files/SoftBevelBorder-2.png,
602         javax/swing/border/doc-files/SoftBevelBorder-3.png,
603         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
604         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
605         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
606         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
607         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
608         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
609         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
610         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
611         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
612         New binary files from classpath.
613         * Makefile.am
614         (awt_java_source_files): Added
615         javax/swing/border/SoftBevelBorder.java.
616         * Makefile.in: Regenerated.
617
618 2003-06-19  Michael Koch  <konqueror@gmx.de>
619
620         * gnu/java/security/x509/X509Certificate.java
621         (writeReplace): Merged from classpath.
622
623 2003-06-19  Michael Koch  <konqueror@gmx.de>
624
625         * gnu/java/nio/FileChannelImpl.java
626         (map_address): Made public.
627         (FileChannelImpl): Merged with classpath.
628         * gnu/java/nio/natFileChannelImpl.cc
629         (nio_mmap_file): Commented out unused arguments.
630         (nio_unmmap_file): Likewise.
631         (niu_msync): Likewise.
632
633 2003-06-19  Michael Koch  <konqueror@gmx.de>
634
635         * java/awt/image/IndexColorModel.java:
636         New version from classpath.
637
638 2003-06-18  Tom Tromey  <tromey@redhat.com>
639
640         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
641         on arrays.
642         (isLoopbackAddress): Likewise.
643         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
644         on arrays.
645
646 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
647
648         * java/lang/natVMSecurityManager.cc (getClassContext):
649         Use maxlen instead of len for loop bound.
650
651 2003-06-18  Michael Koch  <konqueror@gmx.de>
652
653         * gnu/java/nio/SelectorImpl.java
654         (register): Use fd with value 0 for now, will be fixed later.
655         * gnu/java/nio/ServerSocketChannelImpl.java
656         (fd): Removed.
657         (local_port): Removed.
658         (InetSocketAddress): Removed.
659         (ServerSocketChannelImpl): Just initialize internal socket object.
660         (implCloseSelectableChannel): Close internal socket object.
661         (implConfigureBlocking): Added comment.
662         (accept): Use jaba.net stuff to accept socket.
663         * gnu/java/nio/SocketChannelImpl.java
664         (fd): Removed.
665         (local_port): Removed.
666         (InetSocketAddress): Removed.
667         (SocketCreate): Removed.
668         (SocketConnect): Removed.
669         (SocketBind): Removed.
670         (SocketListen): Removed.
671         (SocketAvailable): Removed.
672         (SocketClose): Removed.
673         (SocketRead): Removed.
674         (SocketWrite): Removed.
675         (SocketChannelImpl): Just initialize internal socket object.
676         (implCloseSelectableChannel): Close internal socket object.
677         (implConfigureBlocking): Fixed implementation, added comment.
678         (connect): Use internal socket object to connect.
679         (socket): No need for sanity checks.
680         (read): Comment out some stuff, this will be reimplemented in the next
681         commit.
682         (write): Likewise.
683         * gnu/java/nio/natFileChannelImpl.cc
684         (nio_mmap_file): Line wrapped.
685         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
686         * Makefile.am
687         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
688         * Makefile.in: Regenerated.
689
690 2003-06-18  Michael Koch  <konqueror@gmx.de>
691
692         * java/util/Locale.java
693         (equals): Merged from classpath.
694
695 2003-06-18  Michael Koch  <konqueror@gmx.de>
696
697         * java/net/InetAddress.java:
698         Reformatted to better match classpath's version.
699         * java/net/URL.java
700         (equals): Simplified.
701         * java/net/URLConnection.java
702         (setDoInput): Revised documentation.
703         (getDefaultUseCaches): Likewise.
704         (setRequestProperty): Added @since tag.
705
706 2003-06-17  Michael Koch  <konqueror@gmx.de>
707
708         * java/net/InetSocketAddress.java
709         (InetSocketAddress): Use wildcard address if addr is null.
710         (InetSocketAddress): Dont duplicate implementation.
711         (InetSocketAddress): Throw exception when hostname is null.
712         * java/net/Socket.java:
713         Reworked imports.
714         (Socket): Throw exception when raddr is null, handle case when laddr
715         is null.
716
717 2003-06-17  Michael Koch  <konqueror@gmx.de>
718
719         * java/nio/DirectByteBufferImpl.java
720         (address): Made package private.
721         (DirectByteBufferImpl): New constructor.
722         * java/nio/natDirectByteBufferImpl.cc
723         (allocateImpl): Moved to java.nio namespace, implemented.
724         (freeImpl): Likewise.
725         (getImpl): Likewise.
726         (putImpl): Likewise.
727         * jni.cc
728         (_Jv_JNI_NewDirectByteBuffer): Implemented.
729         (_Jv_JNI_GetDirectBufferAddress): Implemented.
730         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
731
732 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
733
734         * include/powerpc-signal.h: New File.
735         * configure.in: Use it.
736         * configure: Regenerated.
737
738 2003-06-17  Michael Koch  <konqueror@gmx.de>
739
740         * java/util/Locale.java
741         (getDisplayLanguage): Made it final.
742         (getDisplayCountry): Likewise.
743         (getDisplayVariant): Likewise.
744         (getDisplayName): Likewise.
745
746 2003-06-17  Michael Koch  <konqueror@gmx.de>
747
748         * java/util/PropertyResourceBundle.java:
749         Removed unneeded import.
750
751 2003-06-17  Michael Koch  <konqueror@gmx.de>
752
753         * java/util/prefs/AbstractPreferences.java,
754         java/util/prefs/PreferencesFactory.java:
755         Reworked imports, removed unused imports.
756         * java/util/prefs/Preferences.java
757         (systemNodeForPackage): Method takes a Class not an Object.
758         (userNodeForPackage): Likewise.
759         (nodeForPackage): Likewise.
760
761 2003-06-17  Michael Koch  <konqueror@gmx.de>
762
763         * gnu/java/security/x509/X509Certificate.java:
764         Explicitely import used classes.
765
766 2003-06-17  Michael Koch  <konqueror@gmx.de>
767
768         * java/util/zip/ZipEntry.java,
769         java/util/zip/ZipFile.java,
770         java/util/zip/ZipInputStream.java,
771         java/util/zip/ZipOutputStream.java:
772         Reworked imports, only import used classes.
773
774 2003-06-17  Michael Koch  <konqueror@gmx.de>
775
776         * gnu/java/lang/ArrayHelper.java,
777         gnu/java/lang/ClassHelper.java:
778         Reformatted to match classpath's versions.
779
780 2003-06-14  Michael Koch  <konqueror@gmx.de>
781
782         * gnu/java/nio/FileChannelImpl.java
783         (map_address): Removed incorrect comment.        
784         * gnu/java/nio/SelectorImpl.java
785         (register): Remove code duplication and code for file channel handling.        
786         * gnu/java/nio/ServerSocketChannelImpl.java
787         (serverSocket): Renamed from sock_object.
788         (ServerSocketChannel): Initialize serverSocket.
789         (socket): Return serverSocket.
790         * gnu/java/nio/SocketChannelImpl.java
791         (socket): Renamed from sock_object.
792         (isConnectionPenging): Simplified.
793         (socket): Return socket.
794 2003-06-14  Michael Koch  <konqueror@gmx.de>
795
796         * java/security/BasicPermission.java:
797         New version from classpath.
798
799 2003-06-14  Michael Koch  <konqueror@gmx.de>
800
801         * javax/naming/directory/Attribute.java:
802         New version from classpath.
803
804 2003-06-14  Michael Koch  <konqueror@gmx.de>
805
806         * java/io/BufferedReader.java,
807         java/io/FileOutputStream.java:
808         New versions from classpath.
809
810 2003-06-12  Andrew Haley  <aph@redhat.com>
811
812         * prims.cc (catch_segv): Create exception in handler.
813         (catch_fpe): Likewise.  
814         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
815         (_Jv_ThrowSignal): Remove.
816
817         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
818         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
819         to nullp and arithexception.
820         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
821         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
822         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
823         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
824         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
825
826 2003-06-11  Andrew Haley  <aph@redhat.com>
827
828         * jni.cc (_Jv_JNI_check_types): New.
829         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
830         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
831         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
832         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
833         
834         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
835         infinite loop.
836
837 2003-06-11  Tom Tromey  <tromey@redhat.com>
838
839         * java/lang/ClassLoader.java (loadClass): Not deprecated.
840         * java/io/PrintStream.java: Not deprecated.
841
842 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
843
844         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
845         (fillOval): implemented
846         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
847         (fillArc): implemented.
848         * gnu/gcj/xlib/GC.java (drawArc): added native method.
849         (fillArc): added native method.
850         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
851         (fillArc): added native method.
852
853 2003-06-11  Michael Koch  <konqueror@gmx.de>
854
855         * java/awt/im/InputSubset.java:
856         New version from classpath.
857
858 2003-06-11  Michael Koch  <konqueror@gmx.de>
859
860         * javax/swing/AbstractAction.java,
861         javax/swing/AbstractButton.java,
862         javax/swing/AbstractCellEditor.java,
863         javax/swing/AbstractListModel.java,
864         javax/swing/BorderFactory.java,
865         javax/swing/Box.java,
866         javax/swing/BoxLayout.java,
867         javax/swing/ButtonGroup.java,
868         javax/swing/DefaultButtonModel.java,
869         javax/swing/DefaultListModel.java,
870         javax/swing/DefaultListSelectionModel.java,
871         javax/swing/FocusManager.java,
872         javax/swing/ImageIcon.java,
873         javax/swing/InputMap.java,
874         javax/swing/JApplet.java,
875         javax/swing/JButton.java,
876         javax/swing/JCheckBox.java,
877         javax/swing/JCheckBoxMenuItem.java,
878         javax/swing/JColorChooser.java,
879         javax/swing/JComboBox.java,
880         javax/swing/JComponent.java,
881         javax/swing/JDesktopPane.java,
882         javax/swing/JDialog.java,
883         javax/swing/JEditorPane.java,
884         javax/swing/JFileChooser.java,
885         javax/swing/JFormattedTextField.java,
886         javax/swing/JFrame.java,
887         javax/swing/JLabel.java,
888         javax/swing/JLayeredPane.java,
889         javax/swing/JList.java,
890         javax/swing/JMenuBar.java,
891         javax/swing/JMenuItem.java,
892         javax/swing/JOptionPane.java,
893         javax/swing/JPanel.java,
894         javax/swing/JPasswordField.java,
895         javax/swing/JPopupMenu.java,
896         javax/swing/JProgressBar.java,
897         javax/swing/JRadioButton.java,
898         javax/swing/JRadioButtonMenuItem.java,
899         javax/swing/JRootPane.java,
900         javax/swing/JScrollBar.java,
901         javax/swing/JScrollPane.java,
902         javax/swing/JSeparator.java,
903         javax/swing/JSlider.java,
904         javax/swing/JTabbedPane.java,
905         javax/swing/JTable.java,
906         javax/swing/JTextField.java,
907         javax/swing/JToggleButton.java,
908         javax/swing/JToolBar.java,
909         javax/swing/JToolTip.java,
910         javax/swing/JTree.java,
911         javax/swing/JViewport.java,
912         javax/swing/JWindow.java,
913         javax/swing/KeyStroke.java,
914         javax/swing/ListSelectionModel.java,
915         javax/swing/LookAndFeel.java,
916         javax/swing/RepaintManager.java,
917         javax/swing/ScrollPaneLayout.java,
918         javax/swing/SizeRequirements.java,
919         javax/swing/SwingConstants.java,
920         javax/swing/Timer.java,
921         javax/swing/UIDefaults.java,
922         javax/swing/UIManager.java,
923         javax/swing/border/AbstractBorder.java,
924         javax/swing/border/CompoundBorder.java,
925         javax/swing/colorchooser/AbstractColorChooserPanel.java,
926         javax/swing/colorchooser/ColorChooserComponentFactory.java,
927         javax/swing/colorchooser/ColorSelectionModel.java,
928         javax/swing/colorchooser/DefaultColorSelectionModel.java,
929         javax/swing/event/AncestorEvent.java,
930         javax/swing/event/HyperlinkEvent.java,
931         javax/swing/event/InternalFrameAdapter.java,
932         javax/swing/event/InternalFrameEvent.java,
933         javax/swing/event/ListDataEvent.java,
934         javax/swing/event/MouseInputAdapter.java,
935         javax/swing/event/SwingPropertyChangeSupport.java,
936         javax/swing/event/TableModelEvent.java,
937         javax/swing/event/TreeWillExpandListener.java,
938         javax/swing/event/UndoableEditEvent.java,
939         javax/swing/filechooser/FileFilter.java,
940         javax/swing/filechooser/FileSystemView.java,
941         javax/swing/filechooser/FileView.java,
942         javax/swing/plaf/BorderUIResource.java,
943         javax/swing/plaf/basic/BasicDefaults.java,
944         javax/swing/table/AbstractTableModel.java,
945         javax/swing/table/DefaultTableCellRenderer.java,
946         javax/swing/table/DefaultTableColumnModel.java,
947         javax/swing/table/DefaultTableModel.java,
948         javax/swing/table/TableColumn.java,
949         javax/swing/text/JTextComponent.java,
950         javax/swing/tree/AbstractLayoutCache.java,
951         javax/swing/tree/DefaultMutableTreeNode.java,
952         javax/swing/tree/DefaultTreeCellEditor.java,
953         javax/swing/tree/DefaultTreeCellRenderer.java,
954         javax/swing/tree/DefaultTreeModel.java,
955         javax/swing/tree/DefaultTreeSelectionModel.java,
956         javax/swing/tree/FixedHeightLayoutCache.java,
957         javax/swing/tree/TreeCellEditor.java,
958         javax/swing/tree/TreeModel.java,
959         javax/swing/tree/TreeNode.java,
960         javax/swing/tree/TreePath.java,
961         javax/swing/tree/TreeSelectionModel.java,
962         javax/swing/tree/VariableHeightLayoutCache.java,
963         javax/swing/undo/AbstractUndoableEdit.java,
964         javax/swing/undo/CompoundEdit.java,
965         javax/swing/undo/StateEdit.java,
966         javax/swing/undo/UndoManager.java,
967         javax/swing/undo/UndoableEditSupport.java:
968         New versions from classpath.
969         * javax/swing/table/JTableHeader.java:
970         New file from classpath.
971         * Makefile.am
972         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
973         * Makefile.in: Regenerated.
974
975 2003-06-11  Michael Koch  <konqueror@gmx.de>
976
977         * java/nio/MappedByteBuffer.java,
978         java/nio/channels/Channels.java,
979         java/nio/channels/ServerSocketChannel.java,
980         java/nio/channels/spi/AbstractSelector.java:
981         Removed unneeded imports.
982
983 2003-06-11  Michael Koch  <konqueror@gmx.de>
984
985         * java/net/DatagramSocket.java:
986         Partly merged with classpath.
987
988 2003-06-11  Michael Koch  <konqueror@gmx.de>
989
990         * java/awt/Frame.java,
991         java/awt/Graphics.java,
992         java/awt/Menu.java,
993         java/awt/Robot.java,
994         java/awt/image/ColorModel.java:
995         New versions from classpath.
996
997 2003-06-10  Michael Koch  <konqueror@gmx.de>
998
999         * java/io/PrintStream.java:
1000         Merged version from classpath.
1001         (close): Removed sychronized keyword. This class is not garantied to
1002         be thread-safe.
1003         (write): Likewise.
1004
1005 2003-06-09  Tom Tromey  <tromey@redhat.com>
1006
1007         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1008         field.
1009         (getDescent): Likewise, for "descent".
1010
1011 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
1012
1013         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1014         (getMaxDescent): adjusted return value.
1015         (getAscent): modified to use metrics for 'O'.
1016         (getDescent): modified to use metrics for 'y'.
1017
1018 2003-06-08  Anthony Green  <green@redhat.com>
1019
1020         * java/net/URLStreamHandler.java (sameFile): Fix port value
1021         comparison.
1022         * java/net/URL.java (handler): Make package private.
1023         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1024
1025 2003-06-07  Tom Tromey  <tromey@redhat.com>
1026
1027         For PR libgcj/11085:
1028         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1029         Limit number of characters in numeric field when required.
1030         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1031         Respect maximumIntegerDigits.
1032
1033 2003-06-08  Michael Koch  <konqueror@gmx.de>
1034
1035         * java/net/Socket.java
1036         (Socket): Dont initialize inputShutdown and outputShutdown twice,
1037         call bind() and connect() to actually do the bind and connect tasks.
1038         (bind): Connect to canonical address if bindpoint is null, create
1039         socket and bind it to bindpoint.
1040         (connect): Check for exceptions.
1041
1042 2003-06-08  Michael Koch  <konqueror@gmx.de>
1043
1044         * java/net/DatagramSocket.java
1045         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1046         into the Multicast constructors.
1047         * java/net/DatagramSocketImpl.java
1048         (getOption): Removed.
1049         (setOption): Removed.
1050         * java/net/MulticastSocket.java
1051         (MulticastSocket): Call setReuseAddress (true).
1052         * java/net/SocketImpl.java
1053         (getOption): Removed.
1054         (setOption): Removed.
1055
1056 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
1057
1058         PR libgcj/10886:
1059         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1060         Test for empty vector.
1061
1062 2003-06-06  Mark Wielaard  <mark@klomp.org>
1063
1064         * java/security/Security.java (secprops): Initialize.
1065         (loadProviders): Return boolean.
1066         (static): Check result of loadProvider calls. If necessary
1067         display WARNING and fallback to Gnu provider.
1068
1069 2002-06-06  James Clark  <jjc@jclark.com>
1070
1071         Fix for PR libgcj/8738:
1072         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1073         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1074         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1075         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1076         (write): Always decrease avail when count is increased.
1077         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1078         and whether output buffer is full before increasing size.
1079
1080 2002-06-06  Mark Wielaard  <mark@klomp dot org>
1081
1082         * java/io/PrintStream.java (writeChars(char[],int, int)):
1083         Check converter.havePendingBytes().
1084         (writeChars(String,int,int)): Likewise.
1085         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1086         Check converter.havePendingBytes() and flush buffer when stalled.
1087
1088 2003-06-07  Michael Koch  <konqueror@gmx.de>
1089
1090         * include/posix.h
1091         (O_DSYNC): Define O_DSYNC on platforms not
1092         supporting O_FSYNC (newlib).
1093
1094 2003-06-06  Mark Wielaard  <mark@klomp.org>
1095
1096         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1097         AWTError.
1098
1099 2003-06-06  Michael Koch  <konqueror@gmx.de>
1100
1101         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1102         More compile fixes from my stupid work yesterday.
1103
1104 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
1105
1106         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1107         if _IEEE_LIBM is undefined.
1108
1109 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
1110
1111         * libjava/include/posix.h (O_SYNC): Define if not available
1112         and a reasonable, perhaps more conservative, replacement exists.
1113         (O_DSYNC): Likewise.
1114         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1115
1116 2003-06-05  Michael Koch  <konqueror@gmx.de>
1117
1118         * javax/swing/plaf/BorderUIResource.java,
1119         javax/swing/plaf/basic/BasicDefaults.java,
1120         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1121         More compile fixes for latest Border commit. I should not commit
1122         something in this heat here ...
1123
1124 2003-06-05  Michael Koch  <konqueror@gmx.de>
1125
1126         * javax/swing/border/BevelBorder.java
1127         (BevelBorder): Removed.
1128         * javax/swing/border/EmptyBorder.java:
1129         Reformatted.
1130         (EmptyBorder): Removed.
1131         (getBorderInsets): Dont use l, r, t and b.
1132         * javax/swing/border/EtchedBorder.java
1133         (EtchedBorder): Removed.
1134         * javax/swing/border/LineBorder.java
1135         (LineBorder): Removed.
1136         * javax/swing/border/MatteBorder.java
1137         (MatteBorder): Removed.
1138         * javax/swing/border/TitledBorder.java
1139         (defaultBorder): Use other default for now.
1140         (defaultFont): Likewise.
1141         (defaultColor): Likewise.
1142
1143 2003-06-05  Michael Koch  <konqueror@gmx.de>
1144
1145         * javax/swing/border/Border.java:
1146         New version from classpath.
1147
1148 2003-06-05  Michael Koch  <konqueror@gmx.de>
1149
1150         * javax/swing/border/AbstractBorder.java,
1151         javax/swing/border/BevelBorder.java,
1152         javax/swing/border/CompoundBorder.java,
1153         javax/swing/border/EmptyBorder.java,
1154         javax/swing/border/EtchedBorder.java,
1155         javax/swing/border/LineBorder.java,
1156         javax/swing/border/MatteBorder.java,
1157         javax/swing/border/TitledBorder.java:
1158         New versions from Classpath.
1159
1160 2003-06-05  Michael Koch  <konqueror@gmx.de>
1161
1162         * java/awt/Button.java,
1163         java/awt/Checkbox.java,
1164         java/awt/CheckboxMenuItem.java,
1165         java/awt/Choice.java,
1166         java/awt/Container.java,
1167         java/awt/Dialog.java,
1168         java/awt/EventQueue.java,
1169         java/awt/FileDialog.java,
1170         java/awt/Frame.java,
1171         java/awt/Label.java,
1172         java/awt/List.java,
1173         java/awt/Menu.java,
1174         java/awt/MenuItem.java,
1175         java/awt/Panel.java,
1176         java/awt/PopupMenu.java,
1177         java/awt/Rectangle.java,
1178         java/awt/ScrollPane.java,
1179         java/awt/Scrollbar.java,
1180         java/awt/TextArea.java,
1181         java/awt/TextField.java,
1182         java/awt/Window.java,
1183         java/awt/datatransfer/DataFlavor.java,
1184         java/awt/dnd/DragSource.java,
1185         java/awt/dnd/DragSourceContext.java,
1186         java/awt/event/HierarchyEvent.java,
1187         java/awt/event/MouseWheelEvent.java,
1188         java/awt/im/InputContext.java,
1189         java/awt/image/BufferedImage.java,
1190         java/awt/image/ComponentColorModel.java,
1191         java/awt/image/Raster.java,
1192         java/awt/image/WritableRaster.java,
1193         java/awt/peer/ComponentPeer.java,
1194         java/awt/print/PageFormat.java,
1195         java/awt/print/PrinterJob.java:
1196         New versions from Classpath.
1197
1198 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1199
1200         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1201         numberFormat.setParseIntegerOnly(true).
1202
1203 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1204
1205         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1206
1207 2003-06-03  Andrew Haley  <aph@redhat.com>
1208
1209         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1210         stack volatile to prevent optimization from removing it.
1211
1212 2003-05-27  Michael Koch  <konqueror@gmx.de>
1213
1214         * java/util/zip/Deflater.java
1215         (FILTERED): Merged documentation from classpath.
1216         * java/util/zip/DeflaterOutputStream.java
1217         (DeflaterOutputStream): Merged documentation and argument validity
1218         check from classpath.
1219         (deflate): Merged documentation from classpath.
1220         (finish): Likewise.
1221         * java/util/zip/Inflater.java
1222         (Inflater): Merged class documentation from classpath.
1223         (zstream): Reordered.
1224         (is_finished): Reordered.
1225         (dict_needed): Reordered.
1226         (Inflater): Reordered, merged documentation from classpath.
1227         (end): Likewise.
1228         (finalize): Merged documentation from classpath.
1229         (finished): Likewise.
1230         (getAdler): Likewise.
1231         (getRemaining): Likewise.
1232         (getTotalIn): Likewise.
1233         (getTotalOut): Likewise.
1234         (inflate): Likewise.
1235         (needsDictionary): Likewise.
1236         (needsInput): Likewise.
1237         (reset): Likewise.
1238         (setDictionary): Likewise.
1239         (setInput): Likewise.
1240
1241 2003-05-27  Michael Koch  <konqueror@gmx.de>
1242
1243         * java/net/URLConnection.java
1244         (getHeaderFieldInt): Merged with classpath.
1245
1246 2003-05-27  Michael Koch  <konqueror@gmx.de>
1247
1248         * java/io/PrintStream.java
1249         (PrintStream): Reformatted.
1250         (PrintStream): New method, merged from classpath.
1251         (write): Reformatted.
1252
1253 2003-05-27  Michael Koch  <konqueror@gmx.de>
1254
1255         * java/lang/System.java:
1256         Explicitely import needed classes.
1257
1258 2003-05-26  Michael Koch  <konqueror@gmx.de>
1259
1260         * java/net/NetPermission.java,
1261         java/net/NetworkInterface.java,
1262         java/net/PasswordAuthentication.java,
1263         java/net/SocketPermission.java:
1264         New versions from classpath.
1265
1266 2003-05-25  Michael Koch  <konqueror@gmx.de>
1267
1268         * java/io/PushbackInputStream.java,
1269         java/net/Authenticator.java,
1270         java/net/ContentHandler.java,
1271         java/net/ContentHandlerFactory.java,
1272         java/net/DatagramSocket.java,
1273         java/net/DatagramSocketImpl.java,
1274         java/net/DatagramSocketImplFactory.java,
1275         java/net/FileNameMap.java,
1276         java/net/SocketImplFactory.java,
1277         java/net/SocketOptions.java,
1278         java/net/URLStreamHandlerFactory.java:
1279         Merged new versions from classpath.
1280
1281 2003-05-25  Michael Koch  <konqueror@gmx.de>
1282
1283         * java/awt/Checkbox.java,
1284         java/awt/Dialog.java,
1285         java/awt/Font.java,
1286         java/awt/Frame.java,
1287         java/awt/ScrollPaneAdjustable.java,
1288         java/awt/Scrollbar.java,
1289         java/awt/Window.java:
1290         New versions from classpath.
1291
1292 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1293
1294         PR libgcj/10838:
1295         * java/io/ObjectInputStream (enableResolveObject):
1296         Fixed spelling of permission name.
1297
1298 2003-05-20  Michael Koch  <konqueror@gmx.de>
1299
1300         * java/io/DataInputStream.java
1301         (convertFromUTF): Merged comment from classpath.
1302         * java/io/PrintStream.java
1303         (error_occured): Renamed from error, merged comment from classpath.
1304         (PrintStream): No need to initialized error.
1305         (checkError): Replace error with error_occurred.
1306         (setError): Likewise.
1307
1308 2003-05-20  Michael Koch  <konqueror@gmx.de>
1309
1310         * java/io/DataInputStream.java:
1311         Reformatted, Replaced < and & with html entitites in documentation.
1312         * java/io/File.java:
1313         Reformatted.
1314         * java/io/PrintWriter.java:
1315         Moved class documentation.
1316
1317 2003-05-20  Michael Koch  <konqueror@gmx.de>
1318
1319         * gnu/java/nio/ByteBufferImpl.java,
1320         gnu/java/nio/CharBufferImpl.java,
1321         gnu/java/nio/CharViewBufferImpl.java,
1322         gnu/java/nio/DirectByteBufferImpl.java,
1323         gnu/java/nio/DoubleBufferImpl.java,
1324         gnu/java/nio/DoubleViewBufferImpl.java,
1325         gnu/java/nio/FloatBufferImpl.java,
1326         gnu/java/nio/FloatViewBufferImpl.java,
1327         gnu/java/nio/IntBufferImpl.java,
1328         gnu/java/nio/IntViewBufferImpl.java,
1329         gnu/java/nio/LongBufferImpl.java,
1330         gnu/java/nio/LongViewBufferImpl.java,
1331         gnu/java/nio/natDirectByteBufferImpl.cc,
1332         gnu/java/nio/ShortBufferImpl.java,
1333         gnu/java/nio/ShortViewBufferImpl.java:
1334         Moved files to java/nio.
1335         * gnu/java/nio/SocketChannelImpl.java
1336         
1337         * java/nio/ByteBuffer.java,
1338         java/nio/CharBuffer.java,
1339         java/nio/DoubleBuffer.java,
1340         java/nio/FloatBuffer.java,
1341         java/nio/IntBuffer.java,
1342         java/nio/LongBuffer.java,
1343         java/nio/ShortBuffer.java:
1344         Dont import anything.
1345         * java/nio/ByteBufferImpl.java,
1346         java/nio/CharBufferImpl.java,
1347         java/nio/CharViewBufferImpl.java,
1348         java/nio/DirectByteBufferImpl.java,
1349         java/nio/DoubleBufferImpl.java,
1350         java/nio/DoubleViewBufferImpl.java,
1351         java/nio/FloatBufferImpl.java,
1352         java/nio/FloatViewBufferImpl.java,
1353         java/nio/IntBufferImpl.java,
1354         java/nio/IntViewBufferImpl.java,
1355         java/nio/LongBufferImpl.java,
1356         java/nio/LongViewBufferImpl.java,
1357         java/nio/natDirectByteBufferImpl.cc,
1358         java/nio/ShortBufferImpl.java,
1359         java/nio/ShortViewBufferImpl.java:
1360         Moved from gnu/java/nio.
1361         * Makefile.am
1362         (ordinary_java_source_files): Moved files from gnu/java/nio to
1363         java/nio.
1364         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1365         to java/nio.
1366         * Makefile.in: Regenerated.
1367
1368 2003-05-19  Michael Koch  <konqueror@gmx.de>
1369
1370         * java/util/Calendar.java
1371         (get): Not final anymore since JDK 1.4
1372         (set): Likewise.
1373
1374 2003-05-19  Michael Koch  <konqueror@gmx.de>
1375
1376         * java/text/CollationKey.java:
1377         Merged copyright and dat from classpath.
1378         * java/text/RuleBasedCollator.java:
1379         Merged class documentation from classpath.
1380
1381 2003-05-19  Michael Koch  <konqueror@gmx.de>
1382
1383         * java/nio/CharBuffer.java
1384         (toString): Compile fix.
1385
1386 2003-05-19  Michael Koch  <konqueror@gmx.de>
1387
1388         * gnu/java/nio/ByteBufferImpl.java
1389         (putLong): Fixed conversion to bytes.
1390         (putDouble): Fixed conversion to bytes.
1391         * gnu/java/nio/DirectByteBufferImpl.java
1392         (putLong): Fixed conversion to bytes.
1393         (putDouble): Fixed conversion to bytes.
1394         * gnu/java/nio/FileLockImpl.java
1395         (isValid): Reformatted.
1396         * java/nio/Buffer.java
1397         (Buffer): Fixed off-by-one bug in handling mark.
1398         * java/nio/ByteBuffer.java:
1399         Added newline.
1400         * java/nio/CharBuffer.java
1401         (toString): Don't use relative get to get string data.
1402
1403 2003-05-16  Michael Koch  <konqueror@gmx.de>
1404
1405         * java/io/natFileDescriptorPosix.cc
1406         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1407         tested.
1408
1409 2003-05-14  Michael Koch  <konqueror@gmx.de>
1410
1411         * gnu/java/nio/FileLockImpl.java
1412         (released): New member variable.
1413         (FileLockImpl): Initialize released.
1414         (releaseImpl): New native method.
1415         (release): Implemented.
1416         * gnu/java/nio/SelectorImpl.java: Reformatted.
1417         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1418         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1419         (accept): Throws IOException.
1420         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1421         (implConfigureBlocking): Throws IOException.
1422         (connect): Likewise.
1423         (read): Likewise.
1424         (write): Likewise.
1425         * gnu/java/nio/natFileLockImpl.cc: New file.
1426         * java/nio/channels/FileLock.java: Reformatted.
1427         * Makefile.am:
1428         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1429         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1430         * Makefile.in: Regenerated.
1431
1432 2003-05-13  Michael Koch  <konqueror@gmx.de>
1433
1434         * gnu/java/nio/CharViewBufferImpl.java
1435         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1436         (get): Shift bits to the right direction.
1437         (put): Likewise.
1438         * gnu/java/nio/DoubleViewBufferImpl.java
1439         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1440         (get): Shift bits to the right direction.
1441         (put): Likewise.
1442         * gnu/java/nio/FloatViewBufferImpl.java
1443         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1444         (get): Shift bits to the right direction.
1445         (put): Likewise.
1446         * gnu/java/nio/IntViewBufferImpl.java
1447         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1448         (get): Shift bits to the right direction.
1449         (put): Likewise.
1450         * gnu/java/nio/LongViewBufferImpl.java
1451         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1452         (get): Shift bits to the right direction.
1453         (put): Likewise.
1454         * gnu/java/nio/ShortViewBufferImpl.java
1455         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1456         (get): Shift bits to the right direction.
1457         (put): Likewise.
1458
1459 2003-05-13  Michael Koch  <konqueror@gmx.de>
1460
1461         * gnu/java/nio/natDirectByteBufferImpl.cc
1462         (allocateImpl): jlong -> RawData*.
1463         (freeImpl): Likewise.
1464
1465 2003-05-13  Michael Koch  <konqueror@gmx.de>
1466
1467         * java/nio/channels/FileChannel.java
1468         (MapMode.m): Made it package-private to match JDK 1.4.
1469         * java/nio/charset/Charset.java
1470         (decode): Made it final to match JDK 1.4.
1471
1472 2003-05-13  Michael Koch  <konqueror@gmx.de>
1473
1474        * java/io/FileDescriptor.java
1475        (SYNC): New constant.
1476        (DSYNC): Likewise.
1477        (getLength): Renamed from lenght() to match classpath's
1478        FileDescriptor.java.
1479        * java/io/RandomAccessFile.java
1480        (RandomAccessFile): Removed unneeded mode check, implemented mode
1481        "rws" and "rwd", merged documentation from classpath.
1482        (setLength): Reformatted.
1483        (length): Use new getLength() of FileDescriptor.
1484        * java/io/natFileDescriptorEcos.cc
1485        (getLength): Renamed from length().
1486        * java/io/natFileDescriptorPosix.cc
1487        (open): Implemented support for SYNC and DSYNC.
1488        (seek): Use getLength() instead of length().
1489        (getLength): Renamed from length().
1490        * java/io/natFileDescriptorWin32.cc
1491        (getLength): Renamed from length().
1492        (seek): Use getLength() instead of length().
1493        (available): Likewise.
1494        * gnu/java/nio/natFileChannelImpl.cc
1495        (size): Use getLength() instead of length().
1496
1497 2003-05-13  Michael Koch  <konqueror@gmx.de>
1498
1499         * gnu/java/nio/ByteBufferImpl.java
1500         (ByteBufferImpl): All constructors revised.
1501         (slice): Reimplemented.
1502         (duplicate): Reimplemented.
1503         (asReadOnlyBuffer): Reimplemented.
1504         * java/nio/ByteBuffer.java:
1505         Reformatted.
1506         (array_offset): Renamed from "offset" to match all other buffer
1507         classes.
1508         (ByteBuffer): All constructors revised.
1509         (allocateDirect): Implemented.
1510         (allocate): New implementation, documentation reworked.
1511         (wrap): Likewise.
1512         (get): Documentation reworked.
1513         (put): New implementation, documentation reworked.
1514         (hasArray): Documentation reworked.
1515         (arrayOffset): Likewise.
1516         (hashCode): Likewise.
1517         (equals): Likewise.
1518         (compareTo): Likewise.
1519         (order): Likewise.
1520         (compact): Likewise.
1521         (isDirect): Likewise.
1522         (slice): Likewise.
1523         (duplicate): Likewise.
1524         (asReadOnlyBuffer): Likewise.
1525         * Makefile.am
1526         (ordinary_java_source_files):
1527         Added gnu/java/nio/DirectByteBufferImpl.java.
1528         (nat_source_files):
1529         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1530         * Makefile.in: Regenerated.
1531
1532 2003-05-12  Michael Koch  <konqueror@gmx.de>
1533
1534         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1535         (nio_get_*): Removed.
1536         (nio_put_*): Removed.
1537         (as*Buffer): Implemented.
1538         (compact): Implemented.
1539         (get): Documentation added.
1540         (put): Documentation added.
1541         (get*): Newly implemented.
1542         (put*): Newly implemented.
1543         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1544         (CharBufferImpl): Revised.
1545         (slice): New implementation.
1546         (duplicate): New implementation.
1547         (compact): New implementation.
1548         (asReadOnlyBuffer): New implementation.
1549         (get): Documentation revised.
1550         (order): Return native byte order.
1551         * gnu/java/nio/DirectByteBufferImpl.java
1552         (allocateDirect): objects can be null not 0.
1553         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1554         (DoubleBufferImpl): Revised.
1555         (slice): New implementation.
1556         (duplicate): New implementation.
1557         (compact): New implementation.
1558         (asReadOnlyBuffer): New implementation.
1559         (get): Documentation revised.
1560         (order): Return native byte order.
1561         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1562         (FloatBufferImpl): Revised.
1563         (slice): New implementation.
1564         (duplicate): New implementation.
1565         (compact): New implementation.
1566         (asReadOnlyBuffer): New implementation.
1567         (get): Documentation revised.
1568         (order): Return native byte order.
1569         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1570         (IntBufferImpl): Revised.
1571         (slice): New implementation.
1572         (duplicate): New implementation.
1573         (compact): New implementation.
1574         (asReadOnlyBuffer): New implementation.
1575         (get): Documentation revised.
1576         (order): Return native byte order.
1577         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1578         (LongBufferImpl): Revised.
1579         (slice): New implementation.
1580         (duplicate): New implementation.
1581         (compact): New implementation.
1582         (asReadOnlyBuffer): New implementation.
1583         (get): Documentation revised.
1584         (order): Return native byte order.
1585         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1586         (ShortBufferImpl): Revised.
1587         (slice): New implementation.
1588         (duplicate): New implementation.
1589         (compact): New implementation.
1590         (asReadOnlyBuffer): New implementation.
1591         (get): Documentation revised.
1592         (order): Return native byte order.
1593         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1594         (CharBuffer): Revised.
1595         (order): Removed.
1596         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1597         (DoubleBuffer): Revised.
1598         (allocateDirect): Removed.
1599         (order): Removed.
1600         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1601         (FloatBuffer): Revised.
1602         (allocateDirect): Removed.
1603         (order): Removed.
1604         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1605         (IntBuffer): Revised.
1606         (allocateDirect): Removed.
1607         (order): Removed.
1608         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1609         (LongBuffer): Revised.
1610         (allocateDirect): Removed.
1611         (order): Removed.
1612         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1613         (ShortBuffer): Revised.
1614         (allocateDirect): Removed.
1615         (order): Removed.
1616         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1617         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1618         * Makefile.am
1619         (ordinary_java_source_files): Added the following files:
1620         gnu/java/nio/CharViewBufferImpl.java,
1621         gnu/java/nio/DoubleViewBufferImpl.java,
1622         gnu/java/nio/FloatViewBufferImpl.java,
1623         gnu/java/nio/IntViewBufferImpl.java,
1624         gnu/java/nio/LongViewBufferImpl.java,
1625         gnu/java/nio/ShortViewBufferImpl.java
1626         (nat_source_files): Removed the following files:
1627         gnu/java/nio/natByteBufferImpl.cc,
1628         gnu/java/nio/natCharBufferImpl.cc
1629         * Makefile.in: Regenerated.
1630
1631 2003-05-12  Michael Koch  <konqueror@gmx.de>
1632
1633         * gnu/java/nio/CharViewBufferImpl.java,
1634         gnu/java/nio/DirectByteBufferImpl.java,
1635         gnu/java/nio/DoubleViewBufferImpl.java,
1636         gnu/java/nio/FloatViewBufferImpl.java,
1637         gnu/java/nio/IntViewBufferImpl.java,
1638         gnu/java/nio/LongViewBufferImpl.java,
1639         gnu/java/nio/ShortViewBufferImpl.java,
1640         gnu/java/nio/natDirectByteBufferImpl.cc:
1641         New files, not yet to be compiled.
1642
1643 2003-05-10  Michael Koch  <konqueror@gmx.de>
1644
1645         * javax/swing/plaf/ButtonUI.java,
1646         javax/swing/plaf/ColorUIResource.java,
1647         javax/swing/plaf/ComponentUI.java,
1648         javax/swing/plaf/DimensionUIResource.java,
1649         javax/swing/plaf/FontUIResource.java,
1650         javax/swing/plaf/IconUIResource.java,
1651         javax/swing/plaf/InsetsUIResource.java,
1652         javax/swing/plaf/LabelUI.java,
1653         javax/swing/plaf/ListUI.java,
1654         javax/swing/plaf/OptionPaneUI.java,
1655         javax/swing/plaf/PanelUI.java,
1656         javax/swing/plaf/TabbedPaneUI.java,
1657         javax/swing/plaf/TextUI.java,
1658         javax/swing/plaf/TreeUI.java,
1659         javax/swing/plaf/ViewportUI.java,
1660         javax/swing/plaf/basic/BasicBorders.java,
1661         javax/swing/plaf/basic/BasicButtonUI.java,
1662         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1663         javax/swing/plaf/basic/BasicDefaults.java,
1664         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1665         javax/swing/plaf/basic/BasicIconFactory.java,
1666         javax/swing/plaf/basic/BasicLabelUI.java,
1667         javax/swing/plaf/basic/BasicListUI.java,
1668         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1669         javax/swing/plaf/basic/BasicPanelUI.java,
1670         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1671         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1672         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1673         javax/swing/plaf/basic/BasicTextUI.java,
1674         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1675         javax/swing/plaf/basic/BasicTreeUI.java,
1676         javax/swing/plaf/basic/BasicViewportUI.java,
1677         javax/swing/plaf/metal/MetalLookAndFeel.java:
1678         New versions from classpath. This adds copyrights to all files and
1679         some serialVersionUIDs.
1680
1681 2003-05-10  Michael Koch  <konqueror@gmx.de>
1682
1683         * java/nio/CharBuffer.java
1684         (offset): Make it package-private.
1685         (backing_buffer): Likewise.
1686         * java/nio/DoubleBuffer.java
1687         (offset): Make it package-private.
1688         (backing_buffer): Likewise.
1689         (put): Reformatted.
1690         * java/nio/FloatBuffer.java
1691         (offset): Make it package-private.
1692         (backing_buffer): Likewise.
1693         * java/nio/IntBuffer.java
1694         (offset): Make it package-private.
1695         (backing_buffer): Likewise.
1696         * java/nio/LongBuffer.java
1697         (offset): Make it package-private.
1698         (backing_buffer): Likewise.
1699         * java/nio/ShortBuffer.java
1700         (offset): Make it package-private.
1701         (backing_buffer): Likewise.
1702
1703 2003-05-10  Michael Koch  <konqueror@gmx.de>
1704
1705         * java/nio/CharBuffer.java
1706         (put): Fixed precondtion check.
1707         (toString): Make it work without backing array.
1708         (put): Skip one level of method calling.
1709
1710 2003-05-10  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/security/Identity.java,
1713         java/security/IdentityScope.java,
1714         java/security/Key.java,
1715         java/security/KeyPair.java,
1716         java/security/PrivateKey.java,
1717         java/security/Provider.java,
1718         java/security/PublicKey.java,
1719         java/security/SecureRandom.java,
1720         java/security/SecureRandomSpi.java,
1721         java/security/SignedObject.java,
1722         java/security/Signer.java,
1723         java/security/cert/Certificate.java,
1724         java/security/cert/PKIXCertPathBuilderResult.java,
1725         java/security/cert/X509Certificate.java:
1726         New versions from classpath.
1727
1728 2003-05-09  Tom Tromey  <tromey@redhat.com>
1729
1730         * Makefile.in: Rebuilt.
1731         * Makefile.am (nat_source_files): Removed old files.
1732         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1733         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1734         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1735         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1736         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1737
1738 2003-05-09  Michael Koch  <konqueror@gmx.de>
1739
1740         * gnu/java/nio/ByteBufferImpl.java
1741         (nio_cast): Removed.
1742         (ByteBufferImpl): Removed.
1743         (nio_get_Byte): Removed.
1744         (nio_put_Byte): Removed.
1745         (asByteBuffer): Removed.
1746         (asCharBuffer): Removed implementation and throw exception.
1747         (asShortBuffer): Likewise.
1748         (asIntBuffer): Likewise.
1749         (asLongBuffer): Likewise.
1750         (asFloatBuffer): Likewise.
1751         (asDoubleBuffer): Likewise.
1752         * gnu/java/nio/CharBufferImpl.java
1753         (CharBufferImpl): Removed.
1754         (nio_get_Byte): Removed.
1755         (nio_put_Byte): Removed.
1756         (asByteBuffer): Removed.
1757         * gnu/java/nio/DoubleBufferImpl.java
1758         (DoubleBufferImpl): Removed.
1759         (nio_get_Byte): Removed.
1760         (nio_put_Byte): Removed.
1761         (asByteBuffer): Removed.
1762         * gnu/java/nio/FloatBufferImpl.java
1763         (FloatBufferImpl): Removed.
1764         (nio_get_Byte): Removed.
1765         (nio_put_Byte): Removed.
1766         (asByteBuffer): Removed.
1767         * gnu/java/nio/IntBufferImpl.java
1768         (IntBufferImpl): Removed.
1769         (nio_get_Byte): Removed.
1770         (nio_put_Byte): Removed.
1771         (asByteBuffer): Removed.
1772         * gnu/java/nio/LongBufferImpl.java
1773         (LongBufferImpl): Removed.
1774         (nio_get_Byte): Removed.
1775         (nio_put_Byte): Removed.
1776         (asByteBuffer): Removed.
1777         * gnu/java/nio/ShortBufferImpl.java
1778         (ShortBufferImpl): Removed.
1779         (nio_get_Byte): Removed.
1780         (nio_put_Byte): Removed.
1781         (asByteBuffer): Removed.
1782         * gnu/java/nio/natByteBufferImpl.cc
1783         (nio_cast): Removed.
1784         (nio_get_Byte): Removed.
1785         (nio_put_Byte): Removed.
1786         * gnu/java/nio/natCharBufferImpl.cc
1787         (nio_get_Byte): Removed.
1788         (nio_put_Byte): Removed.
1789
1790 2003-05-09  Michael Koch  <konqueror@gmx.de>
1791
1792         * java/net/JarURLConnection.java
1793         (getJarEntry): Merged documentation from classpath.
1794         (getJarFile): Likewise.
1795         (getMainAttributes): Likewise.
1796         (getAttributes): Likewise.
1797         (getManifest): Likewise.
1798         (getCertificates): Reformatted.
1799         * java/net/URLConnection.java:
1800         Little classpath merge.
1801
1802 2003-05-09  Michael Koch  <konqueror@gmx.de>
1803
1804         * java/io/DataOutputStream.java
1805         (writeShort): Made it synchronized.
1806         (writeChar): Likewise.
1807         (writeInt): Likewise.
1808         (writeLong): Liekwise.
1809         (writeUTF): Made it synchronized, renamed argument to match classpath.
1810         * java/io/InputStreamReader.java
1811         (converter): Added documentation.
1812         (read): Merged documentation from classpath.
1813         * java/io/OutputStreamWriter.java
1814         (OutputStreamWriter): Merged documentation from classpath.
1815         (close): Reformatted.
1816         (getEncoding): Likewise.
1817         (flush): Likewise.
1818         (write): Merged documentation from classpath, reformatted.
1819
1820 2003-05-08  Tom Tromey  <tromey@redhat.com>
1821
1822         * configure.host <powerpc64*-*>: Set with_libffi_default and
1823         libgcj_interpreter to "yes".
1824
1825 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1826
1827         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1828         
1829 2003-05-06  Tom Tromey  <tromey@redhat.com>
1830
1831         * verify.cc: Reverted previous patch.
1832
1833 2003-05-06  Michael Koch  <konqueror@gmx.de>
1834
1835         * java/io/DataOutputStream.java
1836         (write): Renamed argument to "value", merged documentation from
1837         classpath.
1838         (writeBoolean): Likewise.
1839         (writeByte): Likewise.
1840         (writeShort): Likewise.
1841         (writeChar): Likewise.
1842         (writeInt): Likewise.
1843         (writeLong): Likewise.
1844         (writeFloat): Likewise.
1845         (writeDouble): Likewise.
1846         (writeBytes): Likewise.
1847         (writeChars): Likewise.
1848         (writeUTF): Likewise.
1849         * java/io/File.java
1850         (performDelete): Added documentation.
1851         (performList): Likewise.
1852         (performMkdir): Likewise.
1853         (performSetReadOnly): Likewise.
1854         (performRenameTo): Likewise.
1855         (performSetLastModified): Likewise.
1856         (delete): Made it sychronized.
1857         (renameTo): Made it sychronized.
1858         (equals): Reformatted.
1859         (isHidden): Likewise.
1860         (listFiles): Likewise.
1861         (setReadOnly): Likewise.
1862         (listRoots): Likewise.
1863         (setLastModified): Likewise.
1864         (checkRead): Likewise.
1865         (checkWrite): Likewise.
1866         * java/io/FileInputStream.java
1867         (skip): Made it sychronized, merged from classpath.
1868         * java/io/FileOutputStream.java
1869         (write): Merged from classpath.
1870         * java/io/InputStreamReader.java:
1871         (InputStreamReader): Merged documentation from classpath.
1872
1873 2003-05-05  Michael Koch  <konqueror@gmx.de>
1874
1875         * java/net/NetworkInterface.java
1876         (networkInterfaces): Removed.
1877         (getByName): Use getRealNetworkInterfaces() instead of
1878         networkInterfaces.
1879         (getByInetAddress): Likewise.
1880         (getNetworkInterfaces): Likewise.
1881         (toString): Fix output of addresses of an interface.
1882
1883 2003-05-05  Michael Koch  <konqueror@gmx.de>
1884
1885         * java/io/DataInputStream.java:
1886         Merged new documentation from classpath.
1887
1888 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1889
1890         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1891         "version".
1892         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1893         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1894         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1895         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1896         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1897         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1898         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1899         * java/security/Key.java: Likewise.
1900         * java/security/PrivateKey.java: Likewise.
1901         * java/security/Provider.java: Likewise.
1902         * java/security/PublicKey.java: Likewise.
1903
1904 2003-05-02  Michael Koch  <konqueror@gmx.de>
1905
1906         * java/net/URI.java
1907         (create): Doesnt throws any exceptions.
1908         * java/net/URLConnection.java
1909         (URLConnection): Commend added.
1910         (getExpiration): The header field is called "expires" not
1911         "expiration".
1912         (getHeaderField): Merged documentation with classpath.
1913         (getHeaderFieldInt): Likewise.
1914         (getHeaderFieldDate): Likewise.
1915         (getHeaderFieldKey): Likewise.
1916         (getPermission): Likewise.
1917         (setDefaultUseCaches): Likewise.
1918         (setRequestProperty): Likewise.
1919         (addRequestProperty): Likewise.
1920         (getRequestProperty): Likewise.
1921         (getRequestProperties): Likewise.
1922         (setDefaultRequestProperty): Likewise.
1923         (getDefaultRequestProperty): Likewise.
1924         (guessContentTypeFromStream): Likewise.
1925         (getFileNameMap): Likewise.
1926         (setFileNameMap): Likewise.
1927         (setDoInput): Merged implementation and documentation with classpath.
1928         (setDoOutput): Likewise.
1929         (setAllowUserInteraction): Likewise.
1930         (setDefaultAllowUserInteraction): Likewise.
1931         (setContentHandlerFactory): Made it synchronized, merged documentation
1932         with classpath.
1933         (guessContentTypeFromName): Renamed argument fname to filename to
1934         match classpath, merged documentation with classpath.
1935
1936 2003-05-02  Michael Koch  <konqueror@gmx.de>
1937
1938         * java/net/JarURLConnection.java
1939         (JarURLConnection): Class documentation merged with classpath.
1940         (getJarFileURL): Moved and documentation merged with classpath.
1941         (getEntryName): Likewise.
1942         (JarURLConnection): Documentation merged with classpath.
1943         (getJarEntry): Likewise.
1944         (getJarFile): Likewise.
1945         * java/net/PlainDatagramSocketImpl.java:
1946         Class documentation moved.
1947         * java/net/URLConnection.java
1948         (fileNameMap): Moved and documentation merged with classpath.
1949         (factory): Likewise.
1950         (defaultAllowUserInteraction): Likewis.
1951         (defaultUseCaches): Likewise.
1952         (allowUserInteraction): Likewise.
1953         (connected): Likewise.
1954         (url): Likewise.
1955         (connect): Documentation merged with classpath.
1956         (getURL): Likewise.
1957         (getContentLength): Likewise.
1958         (getContentType): Likewise.
1959         (getContentEncoding): Likewise.
1960         (getExpiration): Likewise.
1961         (getDate): Likewise.
1962         (getLastModified): Likewise.
1963         (getHeaderField): Likewise.
1964         (getContent): Likewise.
1965         (getPermission): Likewise.
1966         (getInputStream): Likewise.
1967         (getOutputStream): Likewise.
1968         (toString): Likewise.
1969         (getDoInput): Likewise.
1970         (getDoOutput): Likewise.
1971         (setAllowUserInteraction): Likewise.
1972         (getAllowUserInteraction): Likewise.
1973         (setDefaultAllowUserInteraction): Likewise.
1974         (getDefaultAllowUserInteraction): Likewise.
1975         (setUseCaches): Likewise.
1976         (getUseCaches): Likewise.
1977         (setIfModifiedSince): Likewise.
1978         (getIfModifiedSince): Likewise.
1979         (setDefaultRequestProperty): Likewise.
1980         (getDefaultRequestProperty): Likewise.
1981         (setContentHandlerFactory): Likewise.
1982         (setFileNameMap): Likewise.
1983
1984 2003-05-02  Michael Koch  <konqueror@gmx.de>
1985
1986         * java/net/InetAddress.java:
1987         Merged class documentation with classpath.
1988         * java/net/JarURLConnection.java:
1989         Explicitely import all used classes.
1990         * java/net/URL.java:
1991         Reformatting.
1992         * java/net/ServerSocket.java,
1993         java/net/Socket.java:
1994         New versions from classpath.
1995
1996 2003-05-02  Michael Koch  <konqueror@gmx.de>
1997
1998         * gnu/java/nio/FileChannelImpl.java
1999         (read): New implementation.
2000         (implRead): New methods.
2001         (write): New implementation, call other write insteal of read method.
2002         (implWrite): New methods.
2003         (map): Added comment.
2004         (transferFrom): Implemented.
2005         (transferTo): Implemented.
2006         (lock): Added checks to throw exceptions.
2007         (truncate): Added check to throw exception.
2008         * gnu/java/nio/natFileChannelImpl.cc
2009         (implRead): New method.
2010         (implWrite): New method.
2011         * java/nio/ByteBuffer.java
2012         (hashCode): Fixed comment.
2013         (get): Fixed exception documentation.
2014         (put): Fixed exception documentation.
2015         * java/nio/CharBuffer.java:
2016         Added comment for later optimizations.
2017
2018 2003-04-30  Tom Tromey  <tromey@redhat.com>
2019
2020         PR libgcj/10582:
2021         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2022         Removed.
2023         (type::compatible): Use _Jv_IsAssignableFrom.
2024         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2025         (_Jv_IsAssignableFrom): Work even when source or target class is
2026         not prepared.
2027
2028 2003-04-30  Michael Koch  <konqueror@gmx.de>
2029
2030         * java/text/BreakIterator.java
2031         (clone): New method.
2032
2033 2003-04-30  Michael Koch  <konqueror@gmx.de>
2034
2035         * java/text/CollationElementIterator.java,
2036         java/text/CollationKey.java,
2037         java/text/RuleBasedCollator.java:
2038         Merged copyright and documentation from classpath and
2039         rearranged some code. No code changes done.
2040
2041 2003-04-30  Michael Koch  <konqueror@gmx.de>
2042
2043         * java/util/regex/Matcher.java
2044         (pattern): New member variable.
2045         (appendReplacement): New method.
2046         (appendTail): New method.
2047         (end): New method.
2048         (find): New method.
2049         (group): New method.
2050         (replaceFirst): Added documentation.
2051         (replaceAll): Added documentation.
2052         (groupCount): New method.
2053         (lookingAt): New method.
2054         (matches): New method.
2055         (reset): New method.
2056         (start): New method.
2057         * java/util/regex/Pattern.java
2058         (serialVersionUID): New constant.
2059         (CANON_EQ): New constant.
2060         (CASE_INSENSITIVE): New constant.
2061         (COMMENTS): New constant.
2062         (DOTALL): New constant.
2063         (MULTILINE): New constant.
2064         (UNICODE_CASE): New constant.
2065         (UNIX_LINES): New constant.
2066         (regex): New member variable.
2067         (flags): New member variable.
2068         (Pattern): New method.
2069         (compile): Documentation added.
2070         (flags): New method.
2071         (matches): Documentation added.
2072         (matcher): Documentation added.
2073         (split): Documentation added.
2074         (pattern): New method.
2075
2076 2003-04-30  Michael Koch  <konqueror@gmx.de>
2077
2078         * gnu/java/security/Engine.java,
2079         gnu/java/security/OID.java,
2080         gnu/java/security/der/BitString.java,
2081         gnu/java/security/der/DER.java,
2082         gnu/java/security/der/DERReader.java,
2083         gnu/java/security/der/DERValue.java,
2084         gnu/java/security/der/DERWriter.java,
2085         gnu/java/security/provider/DSAKeyFactory.java,
2086         gnu/java/security/provider/X509CertificateFactory.java,
2087         gnu/java/security/x509/X500DistinguishedName.java,
2088         gnu/java/security/x509/X509CRL.java,
2089         gnu/java/security/x509/X509CRLEntry.java,
2090         gnu/java/security/x509/X509Certificate.java,
2091         java/security/cert/CRLSelector.java,
2092         java/security/cert/CertPathBuilder.java,
2093         java/security/cert/CertPathBuilderResult.java,
2094         java/security/cert/CertPathBuilderSpi.java,
2095         java/security/cert/CertPathParameters.java,
2096         java/security/cert/CertPathValidator.java,
2097         java/security/cert/CertPathValidatorResult.java,
2098         java/security/cert/CertPathValidatorSpi.java,
2099         java/security/cert/CertSelector.java,
2100         java/security/cert/CertStore.java,
2101         java/security/cert/CertStoreParameters.java,
2102         java/security/cert/CertStoreSpi.java,
2103         java/security/cert/CollectionCertStoreParameters.java,
2104         java/security/cert/LDAPCertStoreParameters.java,
2105         java/security/cert/PKIXBuilderParameters.java,
2106         java/security/cert/PKIXCertPathBuilderResult.java,
2107         java/security/cert/PKIXCertPathChecker.java,
2108         java/security/cert/PKIXCertPathValidatorResult.java,
2109         java/security/cert/PKIXParameters.java,
2110         java/security/cert/PolicyNode.java,
2111         java/security/cert/PolicyQualifierInfo.java,
2112         java/security/cert/TrustAnchor.java,
2113         javax/security/auth/x500/X500Principal.java:
2114         New files from classpath.
2115         * gnu/java/io/ASN1ParsingException.java,
2116         gnu/java/io/Base64InputStream.java,
2117         gnu/java/security/der/DEREncodingException.java,
2118         gnu/java/security/provider/DSAParameters.java,
2119         gnu/java/security/provider/DSASignature.java,
2120         gnu/java/security/provider/Gnu.java,
2121         gnu/java/security/provider/GnuDSAPrivateKey.java,
2122         gnu/java/security/provider/GnuDSAPublicKey.java,
2123         java/security/AlgorithmParameterGenerator.java,
2124         java/security/AlgorithmParameters.java,
2125         java/security/KeyFactory.java,
2126         java/security/KeyPairGenerator.java,
2127         java/security/KeyStore.java,
2128         java/security/MessageDigest.java,
2129         java/security/SecureClassLoader.java,
2130         java/security/SecureRandom.java,
2131         java/security/Security.java,
2132         java/security/Signature.java,
2133         java/security/cert/Certificate.java,
2134         java/security/cert/CertificateFactory.java,
2135         java/security/cert/CertificateFactorySpi.java,
2136         java/security/cert/X509CRL.java,
2137         java/security/cert/X509Certificate.java,
2138         java/security/spec/DSAPublicKeySpec.java:
2139         New versions from classpath.
2140         * gnu/java/security/provider/DERReader.java,
2141         gnu/java/security/provider/DERWriter.java,
2142         java/security/Engine.java: Removed.
2143         * Makefile.am
2144         (java_source_files, javax_source_files): Added new files.
2145         * Makefile.in: Regenerated.
2146
2147 2003-04-29  Michael Koch  <konqueror@gmx.de>
2148
2149         * javax/swing/JTable.java
2150         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2151         (AUTO_RESIZE_LAST_COLUMN): New constant.
2152         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2153         (AUTO_RESIZE_OFF): New constant.
2154         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2155         (JTable): New method.
2156         (columnAdded): New method.
2157         (columnMarginChanged): New method.
2158         (columnMoved): New method.
2159         (columnRemoved): New method.
2160         (columnSelectionChanged): New method.
2161         (editingCanceled): New method.
2162         (editingStopped): New method.
2163         (getColumnModel): New method.
2164         (getPreferredScrollableViewportSize): New method.
2165         (getScrollableBlockIncrement): New method.
2166         (getScrollableTracksViewportHeight): New method.
2167         (getScrollableTracksViewportWidth): New method.
2168         (getScrollableUnitIncrement): New method.
2169         (getSelectedRow): New method.
2170         (getSelectionModel): New method.
2171         (tableChanged): New method.
2172         (setModel): New method.
2173         (setSelectionMode): New method.
2174         (setSelectionModel): New method.
2175         (setShowGrid): New method.
2176         (valueChanged): New method.
2177         * javax/swing/text/DefaultEditorKit.java
2178         (backwardAction): New constant.
2179         (beepAction): New constant.
2180         (beginAction): New constant.
2181         (beginLineAction): New constant.
2182         (beginParagraphAction): New constant.
2183         (beginWordAction): New constant.
2184         (copyAction): New constant.
2185         (cutAction): New constant.
2186         (defaultKeyTypedAction): New constant.
2187         (deleteNextCharAction): New constant.
2188         (deletePrevCharAction): New constant.
2189         (downAction): New constant.
2190         (endAction): New constant.
2191         (endLineAction): New constant.
2192         (endOfLineStringProperty): New constant.
2193         (endParagraphAction): New constant.
2194         (endWordAction): New constant.
2195         (forwardAction): New constant.
2196         (insertBreakAction): New constant.
2197         (insertContentAction): New constant.
2198         (insertTabAction): New constant.
2199         (nextWordAction): New constant.
2200         (pageDownAction): New constant.
2201         (pageUpAction): New constant.
2202         (pasteAction): New constant.
2203         (previousWordAction): New constant.
2204         (readOnlyAction): New constant.
2205         (selectAllAction): New constant.
2206         (selectionBackwardAction): New constant.
2207         (selectionBeginAction): New constant.
2208         (selectionBeginLineAction): New constant.
2209         (selectionBeginParagraphAction): New constant.
2210         (selectionBeginWordAction): New constant.
2211         (selectionDownAction): New constant.
2212         (selectionEndAction): New constant.
2213         (selectionEndLineAction): New constant.
2214         (selectionEndParagraphAction): New constant.
2215         (selectionEndWordAction): New constant.
2216         (selectionForwardAction): New constant.
2217         (selectionNextWordAction): New constant.
2218         (selectionPreviousWordAction): New constant.
2219         (selectionUpAction): New constant.
2220         (selectLineAction): New constant.
2221         (selectParagraphAction): New constant.
2222         (selectWordAction): New constant.
2223         (upAction): New constant.
2224         (writableAction): New constant.
2225
2226 2003-04-29  Michael Koch  <konqueror@gmx.de>
2227
2228         * java/util/PropertyPermission.java:
2229         New version from classpath
2230         * java/util/ResourceBundle.java:
2231         Partly merged from classpath
2232         (getObject): Reformated.
2233         (tryBundle): Set foundBundle = null if no bundle found.
2234
2235 2003-04-29  Michael Koch  <konqueror@gmx.de>
2236
2237         * javax/swing/AbstractListModel.java,
2238         javax/swing/DefaultBoundedRangeModel.java,
2239         javax/swing/DefaultSingleSelectionModel.java:
2240         New Versions from classpath.
2241
2242 2003-04-29  Michael Koch  <konqueror@gmx.de>
2243
2244         * java/awt/Window.java
2245         (show): Call super.show() instead of setVisible() to avoid endless
2246         loop.
2247         (hide): Call super.hide() instead of setVisible() to avoid endless
2248         loop.
2249
2250 2003-04-29  Michael Koch  <konqueror@gmx.de>
2251
2252         * java/util/zip/Deflater.java,
2253         java/util/zip/DeflaterOutputStream.java:
2254         Partly merged with classpath.
2255
2256 2003-04-27  Tom Tromey  <tromey@redhat.com>
2257
2258         * java/lang/natString.cc (_Jv_AllocString): Initialize
2259         cachedHashCode.
2260         (init): Likewise.
2261         (_Jv_NewStringUtf8Const): Likewise.
2262
2263 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2264
2265         * include/jvm.h: (_Jv_GetNbArgs) added
2266         (_Jv_GetSafeArg) added
2267         (_Jv_SetArgs) added
2268         * prims.cc: (_Jv_GetNbArgs) implemented
2269         (_Jv_GetSafeArg) implemented
2270         (_Jv_SetArgs) implemented
2271         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2272         setting _Jv_argc and _Jv_argv
2273         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2274         instead of _Jv_argv
2275         * java/lang/natRuntime.cc: (insertSystemProperties) use
2276         _Jv_GetSafeArg() instead of _Jv_argv
2277
2278 2003-04-23  Tom Tromey  <tromey@redhat.com>
2279
2280         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2281         required by this object.  Search superclasses to find required
2282         alignment.
2283         (get_alignment_from_class): Use alignment of type as it appears
2284         in a struct.
2285         (ALIGNOF): New macro.
2286         (struct aligner): New helper structure.
2287
2288 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2289
2290         * java/awt/Container.java (addImpl): Enable paint events if adding
2291         a lightweight to a heavyweight.
2292         (addNotify): Ensure that peer is created before
2293         addNotifyContainerChildren.
2294         (addNotifyContainerChildren): Enable paint events if a heavyweight
2295         container contains a lightweight.
2296
2297 2003-04-20  Tom Tromey  <tromey@redhat.com>
2298
2299         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2300         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2301         Classpath.
2302
2303 2003-04-19  Tom Tromey  <tromey@redhat.com>
2304
2305         * java/sql/Date.java, java/sql/DriverManager.java,
2306         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2307         Classpath.
2308
2309         * Makefile.in: Rebuilt.
2310         * Makefile.am (ordinary_java_source_files): Added new files.
2311         * java/security/AlgorithmParameterGenerator.java,
2312         java/security/AlgorithmParameters.java, java/security/Engine.java,
2313         java/security/Identity.java, java/security/IdentityScope.java,
2314         java/security/KeyFactory.java,
2315         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2316         java/security/MessageDigest.java, java/security/Policy.java,
2317         java/security/ProtectionDomain.java,
2318         java/security/SecureRandom.java, java/security/Security.java,
2319         java/security/Signature.java, java/security/SignatureSpi.java,
2320         java/security/SignedObject.java, java/security/Signer.java,
2321         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2322         java/security/spec/PSSParameterSpec.java,
2323         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2324         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2325         Classpath.
2326
2327 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2328
2329         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2330         (dispose): Null metrics.
2331         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2332         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2333         finalize.
2334         (finalize): Call dispose.
2335         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2336         (gcCachedCount): New field.
2337         (finalize): New method.
2338         (putGCInCache): New method.
2339         (getGCFromCache): New method.
2340         * gnu/gcj/xlib/GC.java (GC): Make protected.
2341         (clone): Get new GC from cache if possible.
2342         (create): New static method.
2343         (dispose): Save old GC in cache.
2344         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2345         deleting.
2346         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2347         is null.
2348         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2349         * java/awt/Container.java (visitChild): Dispose gfx2 when
2350         finished.
2351
2352 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2353
2354         * java/math/BigInteger.java (probablePrime): New.
2355         * java/math/BigDecimal.java (unscaledValue): New.
2356
2357 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2358
2359         * java/io/File.java (getAbsolutePath): On Windows, take care
2360         of paths like "C:", "G:foo\bar", etc.
2361         (getName): Make it work correctly on Windows.
2362         (getParent): Make it work correctly on Windows. For UNIX,
2363         fix bug that causes "/" to be returned as the parent of "/",
2364         instead of null as returned by Sun's JRE.
2365
2366         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2367
2368 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2369
2370         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2371         inner class.
2372         (CACHE_SIZE_PER_DISPLAY): New field
2373         (fontMetricsCache): New field
2374         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2375         loading ISO10646-1 fonts.
2376
2377 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2378
2379         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2380         characters.
2381         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2382         characters.
2383
2384 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2385
2386         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2387         floating point.
2388
2389 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2390
2391         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2392         installed libpthread is either linuxthreads with floating stacks or
2393         NPTL.
2394
2395 2003-04-14  Tom Tromey  <tromey@redhat.com>
2396
2397         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2398         of alignment.
2399
2400 2003-04-10  Tom Tromey  <tromey@redhat.com>
2401
2402         * verify.cc (pop64): Removed.
2403         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2404         exception if top-of-stack is narrow.
2405         (initialize_stack): Check to ensure that <init> is not static and
2406         <clinit> is.
2407
2408 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2409
2410         * java/io/ObjectStreamException
2411         * java/io/FileFilter
2412         * java/io/FilenameFilter
2413         * java/io/ObjectInput
2414         * java/io/ObjectOutput
2415         * java/io/ObjectStreamConstants
2416         Minor doc fixes, format fixes, spelling corrections, etc.
2417         * java/io/DataInput
2418         Corrected code samples in Javadocs to match reality
2419         * java/io/DataOutput
2420         * java/io/ObjectInputValidation
2421         Major documentation fixes - all Javadocs re-written or updated
2422
2423 2003-04-06  Michael Koch  <konqueror@gmx.de>
2424
2425         * java/net/URLConnection.java:
2426         Import classes directly.
2427         (URLConnection): Merged class documentation with classpath.
2428         (url): Moved, documentation from classpath added.
2429         (doInput): Moved, documentation from classpath added.
2430         (doOutput): Moved, documentation from classpath added.
2431         (allowUserInteraction): Moved.
2432         (useCaches): Moved, documentation from classpath added.
2433         (ifModifiedSince): Moved, documentation from classpath added.
2434         (connected): Moved, documentation from classpath added.
2435
2436 2003-04-06  Michael Koch  <konqueror@gmx.de>
2437
2438         * java/io/FileInputStream.java
2439         (skip): Renamed some variables to match classpath, added
2440         checks from classpath.
2441
2442 2003-03-31  Michael Koch  <konqueror@gmx.de>
2443
2444         * javax/swing/AbstractAction.java
2445         (AbstractAction): Reformatted.
2446         (serialVersionUID): New private member variable.
2447         * javax/swing/plaf/BorderUIResource.java
2448         (serialVersionUID): New private member variable.
2449         * javax/swing/plaf/basic/BasicLookAndFeel.java
2450         (serialVersionUID): New private member variable.
2451
2452 2003-03-31  Michael Koch  <konqueror@gmx.de>
2453
2454         * java/sql/Date.java
2455         (valueOf): Deprecated, reformatted.
2456         (toString): Deprecated, reformatted.
2457         * java/sql/Time.java
2458         (valueOf): Deprecated, reformatted.
2459         (toString): Deprecated, reformatted.
2460
2461 2003-03-31  Michael Koch  <konqueror@gmx.de>
2462
2463         * java/rmi/dgc/VMID.java
2464         (isUnique): Deprecated.
2465
2466 2003-03-31  Michael Koch  <konqueror@gmx.de>
2467
2468         * java/io/File.java
2469         (separator): Merged documentation from classpath.
2470         (separatorChar): Merged documentation from classpath.
2471         (pathSeparator): Merged documentation from classpath.
2472         (pathSeparatorChar): Merged documentation from classpath.
2473         (path): Merged documentation from classpath.
2474         (canRead): Merged documentation from classpath.
2475         (canWrite): Merged documentation from classpath.
2476         (createNewFile): Merged documentation from classpath.
2477         (delete): Merged documentation from classpath.
2478         (equals): Merged documentation from classpath.
2479         (exists): Merged documentation from classpath.
2480         (File): Renamed p to name to match classpath, merged documentation
2481         from classpath.
2482         (getAbsolutePath): Merged documentation from classpath.
2483         (getCanonicalPath): Merged documentation from classpath.
2484         (getCanonicalFile): Merged documentation from classpath.
2485         (getName): Merged documentation from classpath.
2486         (getParent): Merged documentation from classpath.
2487         (getParentFile): Merged documentation from classpath.
2488         (getPath): Merged documentation from classpath.
2489         (hashCode): Merged documentation from classpath.
2490         (isAbsolute): Merged documentation from classpath.
2491         (isDirectory): Merged documentation from classpath.
2492         (isFile): Merged documentation from classpath.
2493         (isHidden): Merged documentation from classpath.
2494         (lastModified): Merged documentation from classpath.
2495         (length): Merged documentation from classpath.
2496         (list): Merged documentation from classpath.
2497         (listFiles): Merged documentation from classpath.
2498         (toString): Merged documentation from classpath.
2499         (toURL): Merged documentation from classpath.
2500         (mkdir): Merged documentation from classpath.
2501         (mkdirs): Merged documentation from classpath.
2502         (createTempFile): Merged documentation from classpath.
2503         (setReadOnly): Merged documentation from classpath.
2504         (listRoots): Merged documentation from classpath.
2505         (compareTo): Merged documentation from classpath.
2506         (renameTo): Merged documentation from classpath.
2507         (setLastModified): Merged documentation from classpath.
2508         * java/io/PrintStream.java
2509         (auto_flush): Merged documentation from classpath.
2510         (PrintStream): Merged documentation from classpath.
2511         (checkError): Merged documentation from classpath.
2512         (setError): Merged documentation from classpath.
2513         (close): Merged documentation from classpath.
2514         (flush): Merged documentation from classpath.
2515         (print): Merged documentation from classpath.
2516         (println):  Merged documentation from classpath.
2517         (write): Renamed count to len to match classpath,
2518         merged documentation from classpath.
2519         * java/io/RandomAccessFile.java
2520         (readShort): Merged documentation from classpath.
2521         (readUnsignedByte): Merged documentation from classpath.
2522         (readUnsignedShort): Merged documentation from classpath.
2523         (readUTF): Merged documentation from classpath.
2524         (seek): Reformatted, merged documentation from classpath.
2525         (skipBytes): Renamed some variables to match classpath, reformatted,
2526         merged documentation from classpath.
2527         (write): Merged documentation from classpath.
2528         (writeBoolean): Merged documentation from classpath.
2529         (writeByte): Merged documentation from classpath.
2530         (writeShort): Merged documentation from classpath.
2531         (writeChar): Merged documentation from classpath.
2532         (writeInt): Merged documentation from classpath.
2533         (writeLong): Merged documentation from classpath.
2534         (writeFloat): Merged documentation from classpath.
2535         (writeDouble): Merged documentation from classpath.
2536         (writeBytes): Merged documentation from classpath.
2537         (writeChars): Merged documentation from classpath.
2538         (writeUTF): Reformatted.
2539         (getChannel): Reformatted.
2540
2541 2003-03-31  Michael Koch  <konqueror@gmx.de>
2542
2543         * java/awt/font/TextAttribute.java
2544         (readResolve): Throws java.io.InvalidObjectException.
2545
2546 2003-03-31  Michael Koch  <konqueror@gmx.de>
2547
2548         * java/rmi/server/LoaderHandler.java
2549         (loadClass): Deprecated.
2550         (getSecurityContext): Deprecated.
2551         * java/rmi/server/LogStream.java
2552         (getDefaultStream): Deprecated.
2553         (setDefaultStream): Deprecated.
2554         (getOutputStream): Deprecated.
2555         (setOutputStream): Deprecated.
2556         (write): Deprecated.
2557         (toString): Deprecated.
2558         (parseLevel): Deprecated.
2559         * java/rmi/server/Operation.java
2560         (Operation): Deprecated.
2561         (getOperation): Deprecated.
2562         (toString): Deprecated.
2563         * java/rmi/server/RemoteCall.java
2564         (getOutputStream): Deprecated.
2565         (releaseOutputStream): Deprecated.
2566         (getInputStream): Deprecated.
2567         (releaseInputStream): Deprecated.
2568         (getResultStream): Deprecated.
2569         (executeCall): Deprecated.
2570         (done): Deprecated.
2571         * java/rmi/server/RemoteRef.java
2572         (invoke): Deprecated.
2573         (newCall): Deprecated.
2574         (done): Deprecated.
2575         * java/rmi/server/RemoteStub.java
2576         (setRef): Deprecated.
2577         * java/rmi/server/Skeleton.java:
2578         No need to import java.lang.Exception explicitly.
2579         (dispatch): Deprecated.
2580         (getOperations): Deprecated.
2581
2582 2003-03-31  Michael Koch  <konqueror@gmx.de>
2583
2584         * java/rmi/dgc/VMID.java,
2585         java/rmi/registry/RegistryHandler.java,
2586         java/rmi/server/LogStream.java,
2587         java/rmi/server/Operation.java,
2588         java/rmi/server/RemoteCall.java,
2589         java/rmi/server/RemoteRef.java,
2590         java/rmi/server/RemoteStub.java:
2591         Reformatted.
2592
2593 2003-03-31  Michael Koch  <konqueror@gmx.de>
2594
2595         * javax/swing/AbstractCellEditor.java,
2596         javax/swing/AbstractListModel.java,
2597         javax/swing/ActionMap.java,
2598         javax/swing/BorderFactory.java,
2599         javax/swing/ButtonGroup.java,
2600         javax/swing/DefaultBoundedRangeModel.java,
2601         javax/swing/DefaultButtonModel.java,
2602         javax/swing/DefaultCellEditor.java,
2603         javax/swing/DefaultComboBoxModel.java,
2604         javax/swing/DefaultDesktopManager.java,
2605         javax/swing/DefaultListCellRenderer.java,
2606         javax/swing/DefaultSingleSelectionModel.java,
2607         javax/swing/InputMap.java,
2608         javax/swing/JComponent.java,
2609         javax/swing/JMenu.java,
2610         javax/swing/JSlider.java,
2611         javax/swing/KeyStroke.java,
2612         javax/swing/OverlayLayout.java,
2613         javax/swing/ScrollPaneLayout.java,
2614         javax/swing/SizeRequirements.java,
2615         javax/swing/UIManager.java,
2616         javax/swing/ViewportLayout.java,
2617         javax/swing/border/AbstractBorder.java,
2618         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2619         javax/swing/event/EventListenerList.java,
2620         javax/swing/table/AbstractTableModel.java,
2621         javax/swing/table/DefaultTableCellRenderer.java,
2622         javax/swing/table/DefaultTableColumnModel.java,
2623         javax/swing/table/DefaultTableModel.java,
2624         javax/swing/table/TableColumn.java,
2625         javax/swing/text/StyledEditorKit.java,
2626         javax/swing/tree/DefaultMutableTreeNode.java,
2627         javax/swing/tree/DefaultTreeModel.java,
2628         javax/swing/tree/DefaultTreeSelectionModel.java,
2629         javax/swing/tree/TreePath.java,
2630         javax/swing/undo/AbstractUndoableEdit.java,
2631         javax/swing/undo/StateEdit.java,
2632         javax/swing/undo/StateEditable.java,
2633         javax/swing/undo/UndoableEditSupport.java:
2634         Merges from classpath.
2635
2636 2003-03-30  Tom Tromey  <tromey@redhat.com>
2637
2638         * java/lang/String.java (data, boffset, count): Documented.
2639         (String(byte[],String)): Reformatted.
2640         (String(byte[])): Likewise.
2641         (lastIndexOf(int)): Likewise.
2642         (lastIndexOf(String)): Likewise.
2643         (substring(int)): Renamed argument to match Classpath.
2644         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2645
2646         * java/lang/String.java: Miscellaneous minor formatting changes
2647         to match Classpath more closely.
2648
2649 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2650             Tom Tromey  <tromey@redhat.com>
2651
2652         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2653         (init()): Removed.
2654         (charAt): Put index in exception.
2655         (contentEquals): New method.
2656         Include StringBuffer.h.
2657         * java/lang/String.java (cachedHashCode): New field.
2658         (String()): Follow classpath implementation.
2659         (init()): Removed.
2660         (contentEquals): Declare.
2661         (subSequence): Don't declare IndexOutIfBoundsException in throws
2662         clause.
2663         (matches, replaceFirst, replaceAll, split): New methods from
2664         Classpath.
2665
2666 2003-03-29  Tom Tromey  <tromey@redhat.com>
2667
2668         * java/lang/String.java: Reordered to follow Classpath; merged in
2669         javadoc.
2670
2671         * java/text/MessageFormat.java: Removed some whitespace.
2672
2673         * Makefile.in: Rebuilt.
2674         * Makefile.am (awt_java_source_files): Added new files.
2675         * gnu/javax/rmi/PortableServer.java,
2676         gnu/javax/rmi/CORBA/DelegateFactory.java,
2677         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2678         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2679         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2680         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2681         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2682         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2683         javax/rmi/PortableRemoteObject.java,
2684         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2685         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2686         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2687         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2688         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2689         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2690
2691         * java/lang/natClass.cc (newInstance): Put method name in
2692         exception.
2693         (getConstructor): Likewise.
2694         (getDeclaredConstructor): Likewise.
2695         (getPrivateMethod): Likewise.
2696
2697 2003-03-28  Tom Tromey  <tromey@redhat.com>
2698
2699         * java/lang/reflect/Proxy.java: New version from Classpath.
2700         * java/lang/Package.java: New version from Classpath.
2701
2702 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2703
2704         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2705         * configure: Regenerate.
2706
2707 2003-03-28  Michael Koch  <konqueror@gmx.de>
2708
2709         * java/io/File.java:
2710         Import needed classes instead of whole packages, merged class
2711         documentation with classpath, moved constants and variables to top of
2712         class.
2713         * java/io/PrintStream.java:
2714         Merged class documentation with classpath, moved constants and
2715         variables to top of class.
2716         * java/io/RandomAccessFile.java
2717         (RandomAccessFile): Merged with classpath.
2718         (read): Merged with classpath).
2719         (read*): Reformatted.
2720
2721 2003-03-28  Michael Koch  <konqueror@gmx.de>
2722
2723         * java/io/FileDescriptor.java
2724         (finalize): Throws Throwable, not IOException.
2725         * java/io/ObjectOutputStream.java
2726         (PutField.put): Doesnt throws anything.
2727
2728 2003­03-28  Michael Koch  <konqueror@gmx.de>
2729
2730         * java/io/FileOutputStream.java:
2731         Merged class documentation and authors with classpath.
2732         (FileOutputStream): Partly merged with classpath.
2733         (write): Merged with classpath.
2734         (getChannel): Make it synchronized instead of explicit block in this
2735         method.
2736         * java/io/RandomAccessFile.java:
2737         Merged class documentation and authors with classpath.
2738
2739 2003-03-26  Tom Tromey  <tromey@redhat.com>
2740
2741         * java/lang/natRuntime.cc (insertSystemProperties): Set
2742         gnu.classpath.home.url.
2743         * Makefile.in: Rebuilt.
2744         * Makefile.am: Define LIBDIR.
2745
2746 2003-03-25  Michael Koch  <konqueror@gmx.de>
2747
2748         * java/io/FileInputStream.java
2749         (read): Renamed b to buf and off to offset.
2750         * java/io/FileOutputStream.java
2751         (ch): Documentation added.
2752         (FileOutputStream): Documentation added.
2753         (getFD): Documentation added.
2754         (write): Documentation added.
2755         (close): Documentation added.
2756         (getChannel): Documentation added.
2757
2758 2003-03-24  Michael Koch  <konqueror@gmx.de>
2759
2760         * java/io/DataOutputStream.java
2761         (write): Merged from classpath.
2762         * java/io/File.java:
2763         Merged copyrigth with classpath.
2764         * java/io/FileInputStream.java
2765         (getChannel): Made it synchronized instead of using a synchronized
2766         block.
2767         * java/io/FileOutputStream.java: Reformatted.
2768         * java/io/InputStreamReader.java
2769         (InputStreamReader): Renamed enc to encoding_name.
2770         (close): Merged documentation from classpath.
2771         (getEncoding): Merged documentation from classpath.
2772         (ready): Merged documentation from classpath.
2773         (read): Merged documentation from classpath.
2774         * java/io/LineNumberReader.java
2775         (lineNumber): Made it private.
2776         (LineNumberReader): Use Constant instead of a direct value.
2777         * java/io/OutputStreamWriter.java
2778         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2779         documentation from classpath.
2780         (close): Merged documentation from classpath.
2781         (flush): Merged documentation from classpath.
2782         (write): Merged documentation from classpath.
2783         * java/io/PrintStream.java: Reformatted.
2784
2785 2003-03-24  Michael Koch  <konqueror@gmx.de>
2786
2787         * javax/swing/text/ComponentView.java
2788         (getComponent): Must be final.
2789         * javax/swing/tree/DefaultTreeCellRenderer.java:
2790         Reformatted.
2791         * javax/swing/undo/StateEditable.java:
2792         Reformatted.
2793
2794 2003-03-24  Michael Koch  <konqueror@gmx.de>
2795
2796         * java/rmi/activation/ActivationInstantiator.java:
2797         Reformatted.
2798         * java/rmi/activation/Activator.java:
2799         Reformatted.
2800         * java/rmi/registry/RegistryHandler.java:
2801         Remerged from classpath.
2802
2803 2003-03-24  Michael Koch  <konqueror@gmx.de>
2804
2805         * java/util/Date.java:
2806         Fixed documentation starting tag to make javadoc happy.
2807         * java/util/regex/Pattern.java
2808         (Pattern): Implements Serializable.
2809         * java/util/PatternSyntaxException.java
2810         (serialVersionUID): New member variable.
2811
2812 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2813
2814         * java/awt/ContainerOrderFocusTraversalPolicy.java
2815         (getFirstComponent): Implemented.
2816         (getLastComponent): Implemented.
2817         (getDefaultComponent): Implemented.
2818         (setImplicitDownCycleTraversal): Fixed implementation.
2819         * java/awt/Robot.java
2820         (Robot): Added documentation.
2821         * java/awt/Toolkit.java
2822         (getFontList): Deprecated.
2823         (getFontMetrics): Deprecated.
2824         (getPrintJob): Added documentation.
2825         (getSystemSelection): Added documentation.
2826         (getLockingKeyState): Added documentation.
2827         (setLockingKeyState): Added documentation.
2828         (createCustomCursor): Added documentation.
2829         (getBestCursorSize): Added documentation.
2830         (getMaximumCursorColors): Added documentation.
2831         (isFrameStateSupported): Added documentation.
2832
2833 2003-03-24  Michael Koch  <konqueror@gmx.de>
2834
2835         * java/io/RandomAccessFile.java:
2836         More little merges with classpath. No code changes.
2837
2838 2003-03-24  Michael Koch  <konqueror@gmx.de>
2839
2840         * java/net/natInetAddressNoNet.cc:
2841         Include stddef.h.
2842         * java/net/natPlainDatagramSocketImplNoNet.cc:
2843         Fixed inlcude of java/net/DatagramPacket.h.
2844         * java/net/natPlainSocketImplNoNet.cc:
2845         Include some missing classes.
2846
2847 2003-03-24  Michael Koch  <konqueror@gmx.de>
2848
2849         * java/awt/dnd/DropTarget.java
2850         (DropTargetAutoScroller): According to the online documentation, this
2851         is protected, but in reality it is public.
2852         * java/awt/dnd/DropTargetContext.java
2853         (TransferableProxy): According to the online documentation, this
2854         is protected, but in reality it is public.
2855
2856 2003-03-24  Michael Koch  <konqueror@gmx.de>
2857
2858         * java/io/DataInputStream.java
2859         (): Wrapped documentation line.
2860         (): Fixed @return tag.
2861         * java/io/DataOutputStream.java
2862         (written): Moved to top of class.
2863         (all methods): Merged documentation from classpath.
2864         * java/io/File.java:
2865         Merged copyright year with classpath.
2866         * java/io/FileInputStream.java
2867         (all methods): Merged documentation from classpath.
2868         * java/io/LineNumberReader.java
2869         (getLineNumber): Fixed @return tag.
2870         * java/io/ObjectInputStream.java.
2871         Reformatted.
2872         * java/io/ObjectOutputStream.java:
2873         Reformatted, fixed some @see tags.
2874         * java/io/OutputStreamWriter.java:
2875         Deleted empty line.
2876         * java/io/Writer.java:
2877         Reformatted.
2878
2879 2003-03-24  Michael Koch  <konqueror@gmx.de>
2880
2881         * java/awt/Frame.java
2882         (DEFAULT_CURSOR): Fixed @deprecated tag.
2883         (setCursor): Fixed @deprecated tag.
2884
2885 2003-03-24  Michael Koch  <konqueror@gmx.de>
2886
2887         * java/beans/beancontext/BeanContextEvent.java:
2888         Reformated.
2889
2890 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2891
2892         * java/lang/natStringBuffer.cc (regionMatches): New function.
2893         * java/lang/String.java (count): Now package-private.
2894         * java/lang/StringBuffer.java: Merged with Classpath.
2895
2896 2003-03-23  Michael Koch  <konqueror@gmx.de>
2897
2898         * java/io/BufferedOutputStream.java:
2899         Reformated.
2900         * java/io/BufferedReader.java:
2901         Reformated.
2902         * java/io/ByteArrayOutputStream.java
2903         (size): Fixed @see tag.
2904         * java/io/CharArrayWriter.java
2905         (size): Fixed @see tag.
2906         * java/io/DataInput.java:
2907         Reformated.
2908         * java/io/DataOutput.java:
2909         Reformated.
2910         * java/io/DataOutputStream.java:
2911         Merged copyright years with classpath.
2912         * java/io/Externalizable.java:
2913         Reformated.
2914         * java/io/FileFilter.java:
2915         Reformated.
2916         * java/io/FileInputStream.java:
2917         Merged copyright years with classpath.
2918         * java/io/FileOutputStream.java:
2919         Merged copyright years with classpath.
2920         * java/io/FilePermission.java
2921         (FilePermission): Replaced @XXX with FIXME:.
2922         * java/io/FileWriter.java:
2923         Reformated.
2924         * java/io/FilenameFilter.java:
2925         Reformated.
2926         * java/io/FilterInputStream.java:
2927         Reformated.
2928         * java/io/FilterOutputStream.java:
2929         Reformated.
2930         * java/io/FilterReader.java:
2931         Reformated.
2932         * java/io/FilterWriter.java:
2933         Reformated.
2934         * java/io/LineNumberInputStream.java
2935         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2936         happy.
2937         (getLineNumber): Fixed @return tag.
2938         * java/io/ObjectInput.java:
2939         Reformated.
2940         * java/io/ObjectOutput.java:
2941         Reformated.
2942         * java/io/ObjectStreamClass.java:
2943         Reformated.
2944         * java/io/PrintStream.java:
2945         Merged copyright years with classpath.
2946         * java/io/PushbackReader.java
2947         (PushbackReader): Replaced @code with @param.
2948         * java/io/SerializablePermission.java:
2949         Reformated.
2950         * java/io/StreamTokenizer.java
2951         (resetSyntax): Fixed @see tag.
2952
2953 2003-03-22  Richard Henderson  <rth@redhat.com>
2954
2955         * sysdep/ia64/locks.h: Include ia64intrin.h.
2956         (compare_and_swap): Use __sync_bool_compare_and_swap.
2957         (compare_and_swap_release): Expose ar.ccv assignment.
2958
2959 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2960
2961         * include/posix.h: Add suffix for darwin dynamic libraries.
2962
2963 2003-03-21  Michael Koch  <konqueror@gmx.de>
2964
2965         * javax/swing/Action.java
2966         (ACCELERATOR_KEY): New constant.
2967         (ACTION_COMMAND_KEY): Likewise.
2968         (MNEMONIC_KEY): Likewise.
2969         * javax/swing/UnsupportedLookAndFeelException.java
2970         (UnsupportedLookAndFeelException): Must be public.
2971         * javax/swing/WindowConstants.java
2972         (EXIT_ON_CLOSE): New constant.
2973         * javax/swing/text/BadLocationException.java
2974         (offset): New member variable.
2975         (BadLocationException): New implementation, documentation added.
2976         (offsetRequested): New method.
2977         * javax/swing/text/Caret.java:
2978         Reformated.
2979         * javax/swing/text/Document.java:
2980         Reformated.
2981
2982 2003-03-21  Michael Koch  <konqueror@gmx.de>
2983
2984         * java/rmi/activation/Activatable.java
2985         (serialVersionUID): New member variable.
2986         * java/rmi/activation/ActivationGroup.java
2987         (serialVersionUID): New member variable.
2988         * java/rmi/activation/ActivationGroupDesc.java
2989         (serialVersionUID): New member variable.
2990         * java/rmi/registry/Registry.java:
2991         Reformated.
2992         (Registry): Deprecated.
2993         * java/rmi/server/LoaderHandler.java
2994         Reformated.
2995         (LoaderHandler): Deprecated.
2996         * java/rmi/server/LogStream.java
2997         Reformated.
2998         (LogStream): Deprecated.
2999         * java/rmi/server/Operation.java
3000         (Operation): Deprecated.
3001         * java/rmi/server/RMIFailureHandler.java:
3002         Reformated.
3003         * java/rmi/server/RMISocketFactory.java:
3004         Reformated.
3005         * java/rmi/server/RemoteCall.java
3006         (RemoteCall): Deprecated.
3007         * java/rmi/server/RemoteStub.java:
3008         Reformated.
3009         * java/rmi/server/Skeleton.java
3010         Reformated.
3011         (Skeleton): Deprecated.
3012
3013 2003-03-21  Michael Koch  <konqueror@gmx.de>
3014
3015         * java/io/LineNumberReader.java
3016         (LineNumberReader): Merged documentation with classpath.
3017         (getLineNumber): Likewise.
3018         (setLineNumber): Likewise.
3019         (mark): Likewise.
3020         (reset): Likewise.
3021         (read): Likewise.
3022         (readLine): Likewise.
3023         (skip): Likewise.
3024
3025 2003-03-21  Michael Koch  <konqueror@gmx.de>
3026
3027         * java/rmi/RMISecurityManager.java
3028         (checkAccept): Removed.
3029         (checkAccess): Likewise.
3030         (checkAccess): Likewise.
3031         (checkAwtEventQueueAccess): Likewise.
3032         (checkConnect): Likewise.
3033         (checkCreateClassLoader): Likewise.
3034         (checkDelete): Likewise.
3035         (checkExec): Likewise.
3036         (checkExit): Likewise.
3037         (checkLink): Likewise.
3038         (checkListen): Likewise.
3039         (checkMemberAccess): Likewise.
3040         (checkMulticast): Likewise.
3041         (checkPackageAccess): Likewise.
3042         (checkPackageDefinition): Likewise.
3043         (checkPermission): Likewise.
3044         (checkPrintJobAccess): Likewise.
3045         (checkPropertiesAccess): Likewise.
3046         (checkPropertyAccess): Likewise.
3047         (checkRead): Likewise.
3048         (checkSecurityAccess): Likewise.
3049         (checkSetFactory): Likewise.
3050         (checkSystemClipboardAccess): Likewise.
3051         (checkTopLevelWindow): Likewise.
3052         (checkWrite): Likewise.
3053
3054 2003-03-20  Michael Koch  <konqueror@gmx.de>
3055
3056         * gnu/java/nio/FileChannelImpl.java
3057         (address): Removed.
3058         (map_address): New member variable.
3059         (length): Make it package private.
3060         (fd): Make it package private.
3061         (buf): Make it package private.
3062         (file_obj): Make it package private.
3063         (FileChannelImpl): New constructor.
3064         (nio_mmap_file): Use RawData instead of long.
3065         (nio_munmap_file): Use RawData instead of long.
3066         (nio_msync): Use RawData instead of long.
3067         (implCloseChannel): New implementation using map_address.
3068         (read): Reformated.
3069         (map): Implemented.
3070         (create_direct_mapped_buffer): Implemented, use RawData, throws
3071         IOException.
3072         (force): Use map_address instead of address.
3073         * gnu/java/nio/MappedByteFileBuffer.java
3074         (address): Removed.
3075         (map_address): New member variable.
3076         (MappedByteFileBuffer): Use map_address instead of address, reformated.
3077         (several methods): Use map_address instead of address, replaced long
3078         with RawData where appropriate.
3079         * gnu/java/nio/natFileChannelImpl.cc
3080         (nio_mmap_file): Replaced long with RawData.
3081         (nio_munmap_file): Replaced long with RawData.
3082         (nio_msync): Replaced long with RawData.
3083         * gnu/java/nio/natMappedByteFileBuffer.cc
3084         (several methods): Replaced long with RawData where appropriate.
3085
3086 2003-03-20  Michael Koch  <konqueror@gmx.de>
3087
3088         * java/net/InetAddress.java,
3089         java/net/JarURLConnection.java,
3090         java/net/PlainDatagramSocketImpl.java,
3091         java/net/PlainSocketImpl.java,
3092         java/net/URLConnection.java:
3093         Merged copyright statements with classpath for easier merging.
3094
3095 2003-03-20  Michael Koch  <konqueror@gmx.de>
3096
3097         * java/io/FileInputStream.java
3098         (getChannel): New implementation.
3099         * java/io/FileOutputStream.java
3100         (ch): New member variable.
3101         (getChannel): Implemented.
3102         * java/io/RandomAccessFile.java
3103         (RandomAccessFile): Throws FileNotFoundException instead of
3104         IOException.
3105         (getChannel): New method.
3106         (ch): New member variable.
3107
3108 2003-03-20  Michael Koch  <konqueror@gmx.de>
3109
3110         * java/io/DataOutputStream.java,
3111         java/io/File.java,
3112         java/io/FileInputStream.java,
3113         java/io/FileOutputStream.java,
3114         java/io/InputStreamReader.java,
3115         java/io/LineNumberReader.java,
3116         java/io/OutputStreamWriter.java,
3117         java/io/PrintStream.java,
3118         java/io/RandomAccessFile.java:
3119         Merged copyright statements with classpath for easier merging.
3120
3121 2003-03-19  Michael Koch  <konqueror@gmx.de>
3122
3123         * java/lang/Process.java:
3124         Merged from classpath.
3125
3126 2003-03-19  Michael Koch  <konqueror@gmx.de>
3127
3128         * java/io/FileOutputStream.java
3129         (FileOutputStream): New constructor, merged from classpath.
3130         * java/io/FileWriter.java
3131         (FileWriter): New constructor, merged from classpath.
3132
3133 2003-03-18  Michael Koch  <konqueror@gmx.de>
3134
3135         * java/awt/ScrollPane.java
3136         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3137         (getViewportSize): Likewise.
3138         (addNotify): Likewise.
3139         (removeNotify): Likewise.
3140         * java/awt/ScrollPaneAdjustable.java
3141         (ScrollPaneAdjustable): No longer extends Scrollbar.
3142         * java/beans/beancontext/BeanContextServices.java:
3143         Reformated.
3144         (getService): Added throws TooManyListenersException;
3145         * java/beans/beancontext/BeanContextServicesSupport.java:
3146         Reformated.
3147
3148 2003-03-18  Michael Koch  <konqueror@gmx.de>
3149
3150         * java/io/BufferedOutputStream.java,
3151         java/io/DataInput.java,
3152         java/io/DataInputStream.java,
3153         java/io/DataOutput.java,
3154         java/io/Externalizable.java:
3155         More merges from classpath.
3156
3157 2003-03-18  Michael Koch  <konqueror@gmx.de>
3158
3159         * configure.in: Fixed links to platform dependant java.net files.
3160         * configure: Regenerated.
3161         * java/net/natInetAddress.cc,
3162         java/net/natNetworkInterface.cc,
3163         java/net/natPlainDatagramSocketImpl.cc,
3164         java/net/natPlainSocketImpl.cc:
3165         Removed.
3166
3167 2003-03-18  Michael Koch  <konqueror@gmx.de>
3168
3169         * configure.in: Create links to architecture dependent files,
3170         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3171         * configure: Regenerated.
3172         * java/net/natInetAddressNoNet.cc,
3173         java/net/natInetAddressPosix.cc,
3174         java/net/natInetAddressWin32.cc,
3175         java/net/natNetworkInterfaceNoNet.cc,
3176         java/net/natNetworkInterfacePosix.cc,
3177         java/net/natNetworkInterfaceWin32.cc,
3178         java/net/natPlainDatagramSocketImplNoNet.cc,
3179         java/net/natPlainDatagramSocketImplPosix.cc,
3180         java/net/natPlainDatagramSocketImplWin32.cc,
3181         java/net/natPlainSocketImplNoNet.cc,
3182         java/net/natPlainSocketImplPosix.cc,
3183         java/net/natPlainSocketImplWin32.cc: New files.
3184
3185 2003-03-18  Michael Koch  <konqueror@gmx.de>
3186
3187         * java/io/BufferedReader.java,
3188         java/io/BufferedWriter.java,
3189         java/io/ByteArrayOutputStream.java,
3190         java/io/FileFilter.java,
3191         java/io/FilePermission.java,
3192         java/io/FileReader.java,
3193         java/io/FileWriter.java,
3194         java/io/FilenameFilter.java,
3195         java/io/FilterInputStream.java,
3196         java/io/FilterOutputStream.java,
3197         java/io/FilterReader.java,
3198         java/io/FilterWriter.java,
3199         java/io/ObjectInput.java,
3200         java/io/ObjectInputValidation.java,
3201         java/io/ObjectOutput.java,
3202         java/io/ObjectStreamField.java,
3203         java/io/PipedInputStream.java,
3204         java/io/PipedReader.java,
3205         java/io/PrintWriter.java,
3206         java/io/PushbackReader.java,
3207         java/io/Reader.java,
3208         java/io/SerializablePermission.java,
3209         java/io/StringReader.java,
3210         java/io/Writer.java:
3211         Merged from classpath.
3212
3213 2003-03-17  Michael Koch  <konqueror@gmx.de>
3214
3215         * java/awt/ScrollPaneAdjustable.java:
3216         Compile fixes.
3217         
3218 2003-03-17  Michael Koch  <konqueror@gmx.de>
3219
3220         * java/net/DatagramSocket.java
3221         (connect): Fixed comment.
3222         * java/nio/ByteBuffer.java
3223         (hasArray): Fixed comment.
3224
3225 2003-03-17  Michael Koch  <konqueror@gmx.de>
3226
3227         * java/beans/Beans.java:
3228         Explicitely import classes not packages.
3229         * java/beans/FeatureDescriptor.java
3230         (preferred): New member variable.
3231         (isPreferred): New method.
3232         (setPreferred): New method.
3233         * java/beans/PropertyEditorManager.java:
3234         Explicitely import used classes.
3235         * java/beans/beancontext/BeanContextChild.java:
3236         Added line wrapping.
3237         * java/beans/beancontext/BeanContextChildSupport.java:
3238         Reindented.
3239         * java/beans/beancontext/BeanContextEvent.java:
3240         Reindented.
3241
3242 2003-03-17  Michael Koch  <konqueror@gmx.de>
3243
3244         * java/awt/Dialog.java
3245         (Dialog): New constructor, changed implementations, added
3246         documentation.
3247         * java/awt/ScrollPaneAdjustable.java
3248         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3249         Serializable.
3250         (serialVersionUID): New member variable.
3251         (sp): New member variable.
3252         (orientation): New member variable.
3253         (value): New member variable.
3254         (minimum): New member variable.
3255         (maximum): New member variable.
3256         (visibleAmount): New member variable.
3257         (unitIncrement): New member variable.
3258         (blockIncrement): New member variable.
3259         (AdjustmentListener): New member variable.
3260         (ScrollPaneAdjustable): New implementation.
3261         (addAdjustmentListener): New method.
3262         (removeAdjustmentListener): New method.
3263         (getAdjustmentListeners): New method.
3264         (getBlockIncrement): New method.
3265         (getMaximum): New method.
3266         (getMinimum): New method.
3267         (getOrientation): New method.
3268         (getUnitIncrement): New method.
3269         (getValue): New method.
3270         (getVisibleAmount): New method.
3271         (setBlockIncrement): New method.
3272         (setMaximum): Implemented.
3273         (setMinimum): Implemented.
3274         (setUnitIncrement): New method.
3275         (setValue): New method.
3276         (setVisibleAmount): Implemented. 
3277         (paramString): New stubbed method.
3278         * java/awt/Window.java
3279         (show): Call setVisible().
3280         (hide): Call setVisible().
3281         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3282         and WINDOW_STATE_CHANGED.
3283         (processWindowFocusEvent): New method.
3284         (processWindowStateEvent): New method.
3285         (postEvent): Deprecated.
3286         (applyResourceBundle): Deprecated.
3287         * java/awt/datatransfer/DataFlavor.java
3288         (DataFlavor): Doesn't thow ClassNotFoundException.
3289
3290 2003-03-17  Michael Koch
3291
3292         * javax/print/attribute/Attribute.java,
3293         javax/print/attribute/AttributeSet.java,
3294         javax/print/attribute/PrintRequestAttributeSet.java:
3295         New files.
3296         * Makefile.am
3297         (javax_source_files): Added new files:
3298         javax/print/attribute/Attribute.java
3299         javax/print/attribute/AttributeSet.java
3300         javax/print/attribute/PrintRequestAttributeSet.java
3301         * Makefile.in: Regenerated.
3302
3303 2003-03-17  Michael Koch
3304
3305         * javax/print/attribute/Attribute.java,
3306         javax/print/attribute/AttributeSet.java,
3307         javax/print/attribute/PrintRequestAttributeSet.java:
3308         New files.
3309         * Makefile.am
3310         (awt_java_source_files): Added new files:
3311         javax/print/attribute/Attribute.java
3312         javax/print/attribute/AttributeSet.java
3313         javax/print/attribute/PrintRequestAttributeSet.java
3314         * Makefile.in: Regenerated.
3315
3316 2003-03-16  Tom Tromey  <tromey@redhat.com>
3317
3318         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3319         Include platform.h.
3320         * java/lang/natRuntime.cc (insertSystemProperties): Use
3321         _Jv_platform_path_separator.
3322         (nativeGetLibname): Use _Jv_platform_file_separator.
3323         (_load): Use _Jv_platform_onload_names.
3324         (onload_names): New global.
3325         * include/win32.h (_Jv_platform_file_separator): New define.
3326         (_Jv_platform_path_separator): Likewise.
3327         (_Jv_platform_onload_names): Likewise.
3328         (_Jv_platform_ffi_abi): Likewise.
3329         * include/posix.h (_Jv_platform_file_separator): New define.
3330         (_Jv_platform_path_separator): Likewise.
3331         (_Jv_platform_onload_names): Likewise.
3332         (_Jv_platform_ffi_abi): Likewise.
3333
3334 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3335
3336         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3337
3338 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3339
3340         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3341         hierarchy loop.
3342         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3343         list to Object,ObjectStreamClass, moved callReadMethod code up into
3344         readObject and added Class argument to all setXxxField calls.
3345         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3346         consistent with ObjectOutputStream and to facilitate caching the
3347         Method in the future.
3348         (setBooleanField): Added Class argument.
3349         (setByteField): Likewise.
3350         (setCharField): Likewise.
3351         (setDoubleField): Likewise.
3352         (setFloatField): Likewise.
3353         (setIntField): Likewise.
3354         (setLongField): Likewise.
3355         (setShortField): Likewise.
3356         (setObjectField): Likewise.
3357         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3358         class hierarchy loop.
3359         (defaultWriteObject): Call writeFields with new argument list.
3360         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3361         list to Object,ObjectStreamClass, moved callWriteMethod up into
3362         writeObject and added Class argument to all getXxxField calls.
3363         (callWriteMethod): Added ObjectStreamClass argument to be able to
3364         get the proper class to call getMethod on (each class can have (or
3365         not have) its own writeObject method).
3366         (getBooleanField): Added Class argument.
3367         (getByteField): Likewise.
3368         (getCharField): Likewise.
3369         (getDoubleField): Likewise.
3370         (getFloatField): Likewise.
3371         (getIntField): Likewise.
3372         (getLongField): Likewise.
3373         (getShortField): Likewise.
3374         (getObjectField): Likewise.
3375         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3376         facilitate caching the Method object in the future.
3377
3378 2003-03-12  Andreas Schwab  <schwab@suse.de>
3379
3380         * configure.in: Avoid trailing /. in toolexeclibdir.
3381         * configure: Rebuilt.
3382
3383 2003-03-11  Michael Koch  <konqueror@gmx.de>
3384
3385         * gnu/java/nio/ByteBufferImpl.java
3386         (putInt): Use limit() instead of limit.
3387         * gnu/java/nio/CharBufferImpl.java
3388         (slice): Fixed implementation.
3389         (subSequence): Better bounds checking.
3390         * gnu/java/nio/MappedByteFileBuffer.java:
3391         Import all needed classes directly.
3392         * java/nio/ByteBuffer.java
3393         (hashCode): New dummy method.
3394         * java/nio/CharBuffer.java
3395         (array_offset): New member variable.
3396         (hasArray): Fixed documentation.
3397         (arrayOffset): Return array_offset.
3398
3399 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3400
3401         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3402         setter; made return value of getter const char* instead of char*
3403         * prims.cc: removed all references to _Jv_ThisExecutable().
3404         These are in the platform-specific sections now.
3405         * posix.cc: define platform-specific _Jv_ThisExecutable().
3406         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3407         * win32.cc: define platform-specific _Jv_ThisExecutable()
3408         using GetModuleFilename()
3409         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3410         to argv[0] instead of _Jv_ThisExecutable()
3411
3412 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3413
3414         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3415         that is set if we are using addr2name.awk instead of addr2line.
3416         (NameFinder): Set usingAddr2name if using addr2name.awk.
3417         (getExternalLabel): New native method to convert a method 
3418         name to an external label.
3419         (lookup): Convert name given by addr2line to an external label
3420         before demangling.
3421
3422         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3423         constant representing the prefix attached to method names to
3424         convert them to an external label.
3425         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3426         using LABEL_PREFIX.
3427
3428 2003-03-10  Tom Tromey  <tromey@redhat.com>
3429
3430         * Makefile.in: Rebuilt.
3431         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3432         (JC1FLAGS): Removed -Wno-deprecated.
3433
3434 2003-03-10  Michael Koch  <konqueror@gmx.de>
3435
3436         * java/nio/ByteOrder.java
3437         (nativeOrder): Working implementation, added documentation.
3438         (toString): Added documentation.
3439
3440 2003-03-10  Michael Koch  <konqueror@gmx.de>
3441
3442         * java/net/DatagramSocket.java,
3443         java/net/MulticastSocket.java,
3444         java/net/Socket.java,
3445         java/net/URL.java,
3446         java/net/URLConnection.java:
3447         Fixed some documentation tags to make javadoc and friends happy.
3448
3449 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3450
3451         * java/beans/beancontext/BeanContextServicesSupport.java,
3452         java/beans/beancontext/BeanContextSupport.java: New files.
3453         * Makefile.am
3454         (awt_source_files): Added new files.
3455         * Makefile.in: Regenerated.
3456
3457 2003-03-10  Michael Koch  <konqueror@gmx.de>
3458
3459         * java/awt/FocusTraversalPolicy.java
3460         (FocusTraversalPolicy): Documentation added.
3461         (getComponentAfter): Documentation added.
3462         (getComponentBefore): Documentation added.
3463         (getFirstComponent): Documentation added.
3464         (getLastComponent): Documentation added.
3465         (getDefaultComponent): Documentation added.
3466         (getInitialComponent): Documentation added.
3467         * java/awt/ScrollPaneAdjustable.java
3468         (sp): New member variable.
3469         (orientation): New member variable.
3470         (value): New member variable.
3471         (minimum): New member variable.
3472         (maximum): New member variable.
3473         (visibleAmount): New member variable.
3474         (unitIncrement): New member variable.
3475         (blockIncrement): New member variable.
3476         (adjustmentListener): New member variable.
3477         (ScrollPaneAdjustable): Rewrote.
3478         (addAdjustmentListener): New method.
3479         (removeAdjustmentListener): New method.
3480         (getAdjustmentListeners): New method.
3481         (getBlockIncrement): New method.
3482         (getMaximum): New method.
3483         (getMinimum): New method.
3484         (getOrientation): New method.
3485         (getUnitIncrement): New method.
3486         (getValue): New method.
3487         (getVisibleAmount): New method.
3488         (setBlockIncrement): New method.
3489         (setUnitIncrement): New method.
3490         (setMaximum): Implemented.
3491         (setMinimum): Implemented.
3492         (setValue): New method.
3493         (setVisibleAmount): Implemented.
3494         (paramString): New method.
3495         * java/awt/Window.java
3496         (show): Use setVisible(true) instead of super.show().
3497         (hide): Use sevVisible(false) instead of super.hide().
3498         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3499         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3500         (postEvent): Deprecated.
3501         (applyResourceBundle): Deprecated.
3502         (processWindowFocusEvent): New method.
3503         (processWindowStateEvent): New method.
3504         * java/awt/datatransfer/DataFlavor.java: Reindented.
3505         * java/awt/font/TextHitInfo.java
3506         (charIndex): New member variable.
3507         (leadingEdge): New member variable.
3508         (TextHitInfo): New constructor.
3509         (getCharIndex): Implemented.
3510         (isLeadingEdge): Implemented.
3511         (getInsertionIndex): Implemented.
3512         (hashCode): Access charIndex directly.
3513         (equals): Reformated.
3514         (leading): Implemented.
3515         (trailing): Implemented.
3516         (beforeOffset): Implemented.
3517         (afterOffset): Implemented.
3518         (getOtherHit): Implemented.
3519         (getOffsetHit): Implemented.
3520         (toString): Implemented.
3521         * java/awt/image/BufferedImage.java
3522         (BufferedImage): Implements WritableRenderedImage.
3523         (observers): New member variable.
3524         (addTileObserver): New method.
3525         (removeTileObserver): New method.
3526
3527 2003-03-09  Tom Tromey  <tromey@redhat.com>
3528
3529         PR libgcj/9934:
3530         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3531         to lseek.  Return 0 if we can't compute the value.
3532
3533 2003-03-03  Michael Koch  <konqueror@gmx.de>
3534
3535         * java/net/NetworkInterface.java: Merged with classpath.
3536
3537 2003-03-03  Tom Tromey  <tromey@redhat.com>
3538
3539         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3540         of bytecode.
3541         (handle_ret_insn): Fail if returning to jsr that appears at end of
3542         bytecode.
3543
3544 2003-03-03  Michael Koch  <konqueror@gmx.de>
3545
3546         * Makefile.am
3547         (ordinary_java_source_files):
3548         Added gnu/java/nio/MappedByteFileBuffer.java.
3549         (nat_source_files):
3550         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3551         * Makefile.in: Regenerated.
3552
3553 2003-03-03  Michael Koch  <konqueror@gmx.de>
3554
3555         * java/net/DatagramSocket.java
3556         (connect): Merged comment from classpath.
3557         (receive): Merged documentation from classpath.
3558         * java/net/Socket.java
3559         (setSoTimeout): Clarified documentation.
3560         * java/net/URL.java
3561         (getPath): Merged from classpath.
3562         (getUserInfo): Merged from classpath.
3563         (getQuery): Merged from classpath.
3564         * java/net/URLStreamHandler.java
3565         (toExternalForm): Merged from classpath.
3566
3567 2003-03-02  Mark Wielaard  <mark@klomp.org>
3568
3569         * java/util/Properties.java (load): Only skip line if the first
3570         character is a comment, whitespaces don't count.
3571
3572 2003-03-02  Michael Koch  <konqueror@gmx.de>
3573
3574         * java/net/NetPermission.java:
3575         Merged copyright with classpath.
3576
3577 2003-03-02  Michael Koch  <konqueror@gmx.de>
3578
3579         * java/lang/Package.java:
3580         Remerged from classpath.
3581
3582 2003-03-02  Michael Koch  <konqueror@gmx.de>
3583
3584         * java/net/HttpURLConnection.java
3585         (HTTP_SERVER_ERROR): Deprecated.
3586         * java/net/MulticastSocket.java
3587         (send): Replaced checkMulticast with appropriate checkPermission call,
3588         deprecated.
3589         * java/net/URLDecoder.java
3590         (decode): Deprecated.
3591         * java/net/URLEncoder.java
3592         (encode): Deprecated.
3593
3594 2003-03-02  Michael Koch  <konqueror@gmx.de>
3595
3596         * javax/swing/text/Caret.java
3597         (getMagicCaretPosition): Fixed typo in method name.
3598         * javax/swing/text/DefaultCaret.java
3599         (getMagicCaretPosition): Fixed typo in method name.
3600
3601 2003-03-02  Michael Koch  <konqueror@gmx.de>
3602
3603         * java/awt/List.java
3604         (setMultipleSelections): Deprecated.
3605         (delItem): Deprecated.
3606         * java/awt/MenuComponent.java
3607         (getPeer): Deprecated.
3608         * java/awt/ScrollPane.java
3609         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3610         * java/awt/dnd/MouseDragGestureRecognizer.java
3611         (mouseClicked): Added comment.
3612         (mousePressed): Added comment.
3613         (mouseReleased): Added comment.
3614         (mouseEntered): Added comment.
3615         (mouseExited): Added comment.
3616         (mouseDragged): Added comment.
3617         (mouseMoved): Added comment.
3618         * java/awt/event/KeyEvent.java
3619         (KeyEvent): Deprecated.
3620         (setModifiers): Deprecated.
3621         
3622 2003-03-02  Michael Koch  <konqueror@gmx.de>
3623
3624         * gnu/java/nio/FileChannelImpl.java
3625         (fd): Type FileDescriptor instead of int.
3626         (lengthInternal): Removed.
3627         (FileChannelImpl): Fixed arguments, check type of file object.
3628         (size): Made it native.
3629         (implPosition): New native method.
3630         (implTruncate): New native method.
3631         (position): Implemented.
3632         (truncate): Implemented.
3633         (nio_mmap_file): Changed arguments.
3634         (nio_munmap_file): Changed arguments.
3635         (nio_msync): Changed arguments.
3636         * gnu/java/nio/natFileChannelImpl.cc
3637         (lengthInternal): Removed.
3638         (size): New method.
3639         (implPosition): New method.
3640         (implTruncate): New method.
3641         (nio_mmap_file): Changed arguments.
3642         (nio_munmap_file): Changed arguments.
3643         (nio_msync): Changed arguments.
3644
3645 2003-03-02  Michael Koch  <konqueror@gmx.de>
3646
3647         * java/awt/dnd/DropTargetContext.java:
3648         Compile fix: Forgot to commit import.
3649         
3650 2003-03-02  Michael Koch  <konqueror@gmx.de>
3651
3652         * java/awt/Component.java,
3653         java/awt/ScrollPane.java:
3654         Fixed typos.
3655
3656 2003-03-02  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/awt/dnd/DnDEventMulticaster.java: New file.
3659         * java/awt/dnd/DragSource.java
3660         (flavorMap): New member variable.
3661         (dragSourceListener): New member variable.
3662         (dragSourceMotionListener): New member variable.
3663         (getFlavorMap): Implemented.
3664         (createDragGestureRecognizer): Implemented.
3665         (addDragSourceListener): Implemented.
3666         (removeDragSourceListener): Implemented.
3667         (getDragSourceListeners): Implemented.
3668         (addDragSourceMotionListener): Implemented.
3669         (removeDragSourceMotionListener): Implemented.
3670         (getDragSourceMotionListeners): Implemented.
3671         (getListeners): Implemented.
3672         * java/awt/dnd/DragSourceContext.java
3673         (peer): New member variable.
3674         (cursor): New member variable.
3675         (transferable): New member variable.
3676         (trigger): New member variable.
3677         (dragSourceListener): New member variable.
3678         (image): New member variable.
3679         (offset): New member variable.
3680         (DragSourceContext): Implemented.
3681         (getDragSource): Implemented.
3682         (getComponent): Implemented.
3683         (getTrigger): Implemented.
3684         (getSourceActions): Implemented.
3685         (setCursor): Implemented.
3686         (getCursor): Implemented.
3687         (addDragSourceListener): Implemented.
3688         (removeDragSourceListener): Implemented.
3689         (getTransferable): Implemented.
3690         * java/awt/dnd/DropTarget.java
3691         (DropTargetAutoScroller.component): New member variable.
3692         (DropTargetAutoScroller.point): New member variable.
3693         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3694         (DropTargetAutoScroller.updateLocation): Implemented.
3695         (active): Renamed from isActive, defaults to true now.
3696         (component): New member variable.
3697         (flavorMap): New member variable.
3698         (actions): New member variable.
3699         (dropTargetContext): New member variable.
3700         (dropTargetListener): New member variable.
3701         (DropTarget): Implemented.
3702         (getComponent): Implemented.
3703         (setComponent): Implemented.
3704         (setDefaultActions): Implemented.
3705         (getDefaultActions): Implemented.
3706         (setActive): Use active instead of isActive.
3707         (isActive): Use active instead of isActive.
3708         (addDropTargetListener): Implemented.
3709         (removeDropTargetListener): Implemented.
3710         (getFlavorMap): Implemented.
3711         (setFlavorMap): Implemented.
3712         (getDropTargetContext): Implemented.
3713         (createDropTargetContext): Implemented.
3714         (createDropTargetAutoScroller): Implemented.
3715         * java/awt/dnd/DropTargetContext.java
3716         (TransferableProxy.getTransferDataFlavors): Implemented.
3717         (TransferableProxy.isDataFlavorSupported): Implemented.
3718         (TransferableProxy.getTransferData): Implemented.
3719         (dropTarget):  New member variable.
3720         (dtcp): New member variable.
3721         (DropTargetContext): New package private constructor.
3722         (getDropTarget): Implemented.
3723         (getComponent): Implemented.
3724         (addNotify): Implemented.
3725         (removeNotify): Implemented.
3726         (getCurrentDataFlavorsAsList): Implemented.
3727         (isDataFlavorSupported): Implemented.
3728         * java/awt/dnd/MouseDragGestureRecognizer.java
3729         (registerListeners): Implemented.
3730         (unregisterListeners): Implemented.
3731         * Makefile.am
3732         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3733         * Makefile.in: Regenerated.
3734
3735 2003-03-02  Michael Koch  <konqueror@gmx.de>
3736
3737         * java/awt/Component.java
3738         (eventTypeEnabled): New method.
3739         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3740         * java/awt/Container.java
3741         (changeSupport): New member variable.
3742         (addPropertyChangeListener): New methods.
3743         * java/awt/ContainerOrderFocusTraversalPolicy.java
3744         (ContainerOrderFocusTraversalPolicy): Added comment.
3745         (getComponentAfter): Throw exception, documentation added.
3746         (getComponentBefore): Throw exception, documentation added.
3747         (getFirstComponent): Throw exception, documentation added.
3748         (getLastComponent): Throw exception, documentation added.
3749         (getDefaultComponent): Throw exception, documentation added.
3750         * java/awt/EventQueue.java: Reindented.
3751         * java/awt/FocusTraversalPolicy.java:
3752         (FocusTraversalPolicy): Added comment.
3753         (getComponentAfter): Documentation added.
3754         (getComponentBefore): Documentation added.
3755         (getFirstComponent): Documentation added.
3756         (getLastComponent): Documentation added.
3757         (getDefaultComponent): Documentation added.
3758         (getInitialComponent): Documentation added.
3759         * java/awt/ScrollPane.java
3760         (wheelScrollingEnabled): New member variable.
3761         (ScrollPane): Initialize wheelScollingEnabled.
3762         (eventTypeEnabled): New method.
3763         (isWheelScrollingEnabled): New method.
3764         (setWheelScrollingEnabled): New method.
3765
3766 2003-03-02  Michael Koch  <konqueror@gmx.de>
3767
3768         * java/net/DatagramSocket.java
3769         (closed): New member variable.
3770         (close): Use closed variable.
3771         (getInetAddress): No need to call isConnected().
3772         (getPort): No need to call isConnected().
3773         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3774         (isClosed): Reimplemented.
3775         
3776 2003-03-02  Michael Koch  <konqueror@gmx.de>
3777
3778         * configure.in: Added check for memory mapping of files.
3779         * configure: Regenerated.
3780         * config.h.in: Regenerated.
3781
3782 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3783
3784         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3785         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3786
3787 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3788
3789         * java/io/File.java (normalizePath): Remove trailing separator
3790         on Windows only if path is not of the form "x:\".
3791
3792         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3793         (java::io::File::attr): Change formatting a bit and use
3794         WIN32_EPOCH_MILLIS instead of magic numbers.
3795         (java::io::File::isAbsolute): Path must have at least 3 
3796         characters for a UNC network path.
3797         (java::io::File::init_native): Define.
3798         (java::io::File::performCreate): Likewise.
3799         (java::io::File::performSetReadOnly): Likewise.
3800         (java::io::File::performSetLastModified): Likewise.
3801         (java::io::File::performListRoots): Likewise.
3802
3803 2003-03-01  Tom Tromey  <tromey@redhat.com>
3804
3805         * java/lang/natObject.cc: Don't include assert.h.
3806         (heavy_lock_obj_finalization_proc): Use JvAssert.
3807         (remove_all_heavy): Likewise.
3808         (_Jv_MonitorEnter): Likewise.
3809         (_Jv_MonitorExit): Likewise.
3810         (wait): Likewise.
3811
3812 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3813
3814         * java/io/File (getAbsolutePath): Prefix drive specifier on
3815         Windows for paths starting with a '\'.
3816         (toURL): Make URL more consistent with what Sun's JDK returns.
3817
3818         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3819         true only if the path is a UNC network path or it starts with a
3820         drive specifier.
3821
3822         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3823         Be prepared to handle either '/' or '\\' in the file path for
3824         Windows if using the "file" protocol.
3825         Canonicalise the file path if using a relative path in the given
3826         context and the "file" protocol.
3827
3828 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3829
3830         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3831         program array element passed to CreateProcess.
3832
3833 2003-03-01  Tom Tromey  <tromey@redhat.com>
3834
3835         * java/rmi/registry/RegistryHandler.java: Deprecate.
3836
3837 2003-03-01  Tom Tromey  <tromey@redhat.com>
3838
3839         * javax/accessibility/AccessibleEditableText.java,
3840         javax/accessibility/AccessibleHyperlink.java: New versions from
3841         Classpath.
3842
3843         * gnu/java/locale/LocaleInformation_af_ZA.java,
3844         gnu/java/locale/LocaleInformation_ar_AE.java,
3845         gnu/java/locale/LocaleInformation_ar_BH.java,
3846         gnu/java/locale/LocaleInformation_ar_DZ.java,
3847         gnu/java/locale/LocaleInformation_ar_EG.java,
3848         gnu/java/locale/LocaleInformation_ar_IN.java,
3849         gnu/java/locale/LocaleInformation_ar_IQ.java,
3850         gnu/java/locale/LocaleInformation_ar_JO.java,
3851         gnu/java/locale/LocaleInformation_ar_KW.java,
3852         gnu/java/locale/LocaleInformation_ar_LB.java,
3853         gnu/java/locale/LocaleInformation_ar_LY.java,
3854         gnu/java/locale/LocaleInformation_ar_MA.java,
3855         gnu/java/locale/LocaleInformation_ar_OM.java,
3856         gnu/java/locale/LocaleInformation_ar_QA.java,
3857         gnu/java/locale/LocaleInformation_ar_SD.java,
3858         gnu/java/locale/LocaleInformation_ar_SY.java,
3859         gnu/java/locale/LocaleInformation_ar_TN.java,
3860         gnu/java/locale/LocaleInformation_ar_YE.java,
3861         gnu/java/locale/LocaleInformation_be_BY.java,
3862         gnu/java/locale/LocaleInformation_bn_IN.java,
3863         gnu/java/locale/LocaleInformation_br_FR.java,
3864         gnu/java/locale/LocaleInformation_bs_BA.java,
3865         gnu/java/locale/LocaleInformation_ca_ES.java,
3866         gnu/java/locale/LocaleInformation_cs_CZ.java,
3867         gnu/java/locale/LocaleInformation_cy_GB.java,
3868         gnu/java/locale/LocaleInformation_da_DK.java,
3869         gnu/java/locale/LocaleInformation_de_AT.java,
3870         gnu/java/locale/LocaleInformation_de_BE.java,
3871         gnu/java/locale/LocaleInformation_de_CH.java,
3872         gnu/java/locale/LocaleInformation_de_DE.java,
3873         gnu/java/locale/LocaleInformation_de_LU.java,
3874         gnu/java/locale/LocaleInformation_el_GR.java,
3875         gnu/java/locale/LocaleInformation_en_AU.java,
3876         gnu/java/locale/LocaleInformation_en_BW.java,
3877         gnu/java/locale/LocaleInformation_en_CA.java,
3878         gnu/java/locale/LocaleInformation_en_DK.java,
3879         gnu/java/locale/LocaleInformation_en_GB.java,
3880         gnu/java/locale/LocaleInformation_en_HK.java,
3881         gnu/java/locale/LocaleInformation_en_IE.java,
3882         gnu/java/locale/LocaleInformation_en_IN.java,
3883         gnu/java/locale/LocaleInformation_en_NZ.java,
3884         gnu/java/locale/LocaleInformation_en_PH.java,
3885         gnu/java/locale/LocaleInformation_en_SG.java,
3886         gnu/java/locale/LocaleInformation_en_US.java,
3887         gnu/java/locale/LocaleInformation_en_ZA.java,
3888         gnu/java/locale/LocaleInformation_en_ZW.java,
3889         gnu/java/locale/LocaleInformation_es_AR.java,
3890         gnu/java/locale/LocaleInformation_es_BO.java,
3891         gnu/java/locale/LocaleInformation_es_CL.java,
3892         gnu/java/locale/LocaleInformation_es_CO.java,
3893         gnu/java/locale/LocaleInformation_es_CR.java,
3894         gnu/java/locale/LocaleInformation_es_DO.java,
3895         gnu/java/locale/LocaleInformation_es_EC.java,
3896         gnu/java/locale/LocaleInformation_es_ES.java,
3897         gnu/java/locale/LocaleInformation_es_GT.java,
3898         gnu/java/locale/LocaleInformation_es_HN.java,
3899         gnu/java/locale/LocaleInformation_es_MX.java,
3900         gnu/java/locale/LocaleInformation_es_NI.java,
3901         gnu/java/locale/LocaleInformation_es_PA.java,
3902         gnu/java/locale/LocaleInformation_es_PE.java,
3903         gnu/java/locale/LocaleInformation_es_PR.java,
3904         gnu/java/locale/LocaleInformation_es_PY.java,
3905         gnu/java/locale/LocaleInformation_es_SV.java,
3906         gnu/java/locale/LocaleInformation_es_US.java,
3907         gnu/java/locale/LocaleInformation_es_UY.java,
3908         gnu/java/locale/LocaleInformation_es_VE.java,
3909         gnu/java/locale/LocaleInformation_et_EE.java,
3910         gnu/java/locale/LocaleInformation_eu_ES.java,
3911         gnu/java/locale/LocaleInformation_fa_IR.java,
3912         gnu/java/locale/LocaleInformation_fi_FI.java,
3913         gnu/java/locale/LocaleInformation_fo_FO.java,
3914         gnu/java/locale/LocaleInformation_fr_BE.java,
3915         gnu/java/locale/LocaleInformation_fr_CA.java,
3916         gnu/java/locale/LocaleInformation_fr_CH.java,
3917         gnu/java/locale/LocaleInformation_fr_FR.java,
3918         gnu/java/locale/LocaleInformation_fr_LU.java,
3919         gnu/java/locale/LocaleInformation_ga_IE.java,
3920         gnu/java/locale/LocaleInformation_gd_GB.java,
3921         gnu/java/locale/LocaleInformation_gl_ES.java,
3922         gnu/java/locale/LocaleInformation_gv_GB.java,
3923         gnu/java/locale/LocaleInformation_he_IL.java,
3924         gnu/java/locale/LocaleInformation_hi_IN.java,
3925         gnu/java/locale/LocaleInformation_hr_HR.java,
3926         gnu/java/locale/LocaleInformation_hu_HU.java,
3927         gnu/java/locale/LocaleInformation_id_ID.java,
3928         gnu/java/locale/LocaleInformation_it_CH.java,
3929         gnu/java/locale/LocaleInformation_it_IT.java,
3930         gnu/java/locale/LocaleInformation_iw_IL.java,
3931         gnu/java/locale/LocaleInformation_ja_JP.java,
3932         gnu/java/locale/LocaleInformation_ka_GE.java,
3933         gnu/java/locale/LocaleInformation_kl_GL.java,
3934         gnu/java/locale/LocaleInformation_ko_KR.java,
3935         gnu/java/locale/LocaleInformation_kw_GB.java,
3936         gnu/java/locale/LocaleInformation_lt_LT.java,
3937         gnu/java/locale/LocaleInformation_lv_LV.java,
3938         gnu/java/locale/LocaleInformation_mi_NZ.java,
3939         gnu/java/locale/LocaleInformation_mk_MK.java,
3940         gnu/java/locale/LocaleInformation_mr_IN.java,
3941         gnu/java/locale/LocaleInformation_mt_MT.java,
3942         gnu/java/locale/LocaleInformation_nl_BE.java,
3943         gnu/java/locale/LocaleInformation_nl_NL.java,
3944         gnu/java/locale/LocaleInformation_nn_NO.java,
3945         gnu/java/locale/LocaleInformation_no_NO.java,
3946         gnu/java/locale/LocaleInformation_oc_FR.java,
3947         gnu/java/locale/LocaleInformation_pl_PL.java,
3948         gnu/java/locale/LocaleInformation_pt_BR.java,
3949         gnu/java/locale/LocaleInformation_pt_PT.java,
3950         gnu/java/locale/LocaleInformation_ro_RO.java,
3951         gnu/java/locale/LocaleInformation_ru_RU.java,
3952         gnu/java/locale/LocaleInformation_ru_UA.java,
3953         gnu/java/locale/LocaleInformation_se_NO.java,
3954         gnu/java/locale/LocaleInformation_sk_SK.java,
3955         gnu/java/locale/LocaleInformation_sl_SI.java,
3956         gnu/java/locale/LocaleInformation_sq_AL.java,
3957         gnu/java/locale/LocaleInformation_sr_YU.java,
3958         gnu/java/locale/LocaleInformation_sv_FI.java,
3959         gnu/java/locale/LocaleInformation_sv_SE.java,
3960         gnu/java/locale/LocaleInformation_ta_IN.java,
3961         gnu/java/locale/LocaleInformation_te_IN.java,
3962         gnu/java/locale/LocaleInformation_tg_TJ.java,
3963         gnu/java/locale/LocaleInformation_tl_PH.java,
3964         gnu/java/locale/LocaleInformation_tr_TR.java,
3965         gnu/java/locale/LocaleInformation_uk_UA.java,
3966         gnu/java/locale/LocaleInformation_ur_PK.java,
3967         gnu/java/locale/LocaleInformation_uz_UZ.java,
3968         gnu/java/locale/LocaleInformation_vi_VN.java,
3969         gnu/java/locale/LocaleInformation_yi_US.java,
3970         gnu/java/locale/LocaleInformation_zh_CN.java,
3971         gnu/java/locale/LocaleInformation_zh_HK.java,
3972         gnu/java/locale/LocaleInformation_zh_SG.java,
3973         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3974         info; from Classpath.
3975
3976         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3977         isPaintPending): New methods.
3978         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3979         setMaximizedBounds): New methods.
3980         (beginLayout, endLayout, isPaintPending): Likewise.
3981         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3982         (requestFocus): Likewise.
3983         (isObscured): Likewise.
3984         (canDetermineObscurity): Likewise.
3985         (coalescePaintEvent): Likewise.
3986         (updateCursorImmediately): Likewise.
3987         (createVolatileImage): Likewise.
3988         (handlesWheelScrolling): Likewise.
3989         (createBuffers): Likewise.
3990         (getBackBuffer): Likewise.
3991         (flip): Likewise.
3992         (destroyBuffers): Likewise.
3993
3994         * Makefile.in: Rebuilt.
3995         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3996         RobotPeer.java.
3997         * gnu/java/awt/GLightweightPeer.java,
3998         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3999         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4000         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4001         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4002         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4003         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4004         java/awt/dnd/peer/DragSourceContextPeer.java,
4005         java/awt/dnd/peer/DropTargetContextPeer.java,
4006         java/awt/peer/ButtonPeer.java,
4007         java/awt/peer/CheckboxMenuItemPeer.java,
4008         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4009         java/awt/peer/ComponentPeer.java,
4010         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4011         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4012         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4013         java/awt/peer/MenuBarPeer.java,
4014         java/awt/peer/MenuComponentPeer.java,
4015         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4016         java/awt/peer/PopupMenuPeer.java,
4017         java/awt/peer/ScrollPanePeer.java,
4018         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4019         java/awt/peer/TextComponentPeer.java,
4020         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4021         New versions from Classpath.
4022         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4023         * java/awt/peer/RobotPeer.java: Likewise.
4024
4025 2003-03-01  Mark Wielaard  <mark@klomp.org>
4026
4027         * java/io/ObjectInputStream.java: Reindent.
4028         * java/io/ObjectOutputStream.java: Likewise.
4029
4030 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
4031
4032         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4033         jvalue for each argument. Simplify.
4034         * testsuite/libjava.jni/calls.c (docall),
4035         testsuite/libjava.jni/calls.java (longpb_f): check for argument
4036         misalignment.
4037
4038 2003-02-28  Mark Wielaard  <mark@klomp.org>
4039
4040         * Makefile.am (nat_source_files): Remove
4041         java/io/natObjectOutputStream.cc.
4042         * Makefile.in: Regenerated.
4043         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4044         * java/io/ObjectStreamField.java (typename): New field.
4045         (ObjectStreamField(String, Class)): Initialize new field.
4046         (ObjectStreamField(String, String)): New Constructor.
4047         (getTypeCode): Use new field.
4048         (getTypeString): Use new field.
4049         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4050         ObjectStreamExceptions. Remember and reset old BlockDataMode.
4051         Handle reading of Proxy classes. Never drain(), just write
4052         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4053         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4054         (flush): Call flush(), not just drain().
4055         (writeBoolean): Always use blockDataOutput.
4056         (writeByte): Likewise.
4057         (writeShort): Likewise.
4058         (writeChar): Likewise.
4059         (writeInt): Likewise.
4060         (writeLong): Likewise.
4061         (writeFloat): Likewise.
4062         (writeDouble): Likewise.
4063         (writeBytes): Likewise.
4064         (putfield (put(String,Object))): Throw IllegalArgumentException if
4065         field cannot be found.
4066         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4067         (writeArraySizeAndElements): Write byte[] in one go.
4068         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4069         set BlockDataMode to false.
4070         (annotateProxyClass): New method.
4071         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4072         (getField): No longer native.
4073         (getMethod): Likewise.
4074         (setBlockDataMode): Always drain() on switch, return old mode.
4075         (static): New static code block.
4076         * java/io/natObjectOutputStream.cc: Removed.
4077         * java/io/ObjectInputStream.java (getField): No longer native.
4078         (getMethod): Likewise.
4079         (readObject): Remember and reset old BlockDataMode. Track whether
4080         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4081         TC_LONGSTRING.
4082         (defaultReadObject): Set BlockDataMode to false during readFields.
4083         (resolveClass): Create new SecurityManager if necessary.
4084         Use Class.forName() if null ClassLoader found.
4085         (read(byte[],int,int): Copy remaining bytes to data before calling
4086         readNextBlock().
4087         (readFields): Set and reset BlockDataMode on call_read_method.
4088         Catch NoSuchFieldErrors.
4089         (setBlockDataMode): Return old mode.
4090         (static): New static code block.
4091         * java/io/natObjectInputStream.cc (getField): Removed.
4092         (getMethod): Likewise.
4093
4094 2003-02-27  Michael Koch  <konqueror@gmx.de>
4095
4096         * java/beans/Beans.java,
4097         java/beans/FeatureDescriptor.java
4098         java/beans/PropertyEditorManager.java:
4099         Reformated to GNU style.
4100
4101 2003-02-25  Michael Koch  <konqueror@gmx.de>
4102
4103         * gnu/java/nio/MappedByteFileBuffer.java,
4104         gnu/java/nio/natMappedByteFileBuffer.cc:
4105         New files, both are not compiled yet to get not noncompiling CVS.
4106
4107 2003-02-24  Tom Tromey  <tromey@redhat.com>
4108
4109         * java/util/prefs/AbstractPreferences.java (isUserNode):
4110         Implemented.
4111
4112 2003-02-24  Tom Tromey  <tromey@redhat.com>
4113
4114         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4115         Deprecate.
4116         * java/lang/Thread.java (resume): Deprecate.
4117         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4118         in @deprecated.
4119
4120 2003-02-23  Tom Tromey  <tromey@redhat.com>
4121
4122         * Makefile.in: Rebuilt.
4123         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4124
4125 2003-02-23  Tom Tromey  <tromey@redhat.com>
4126
4127         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4128         libraries): Removed.
4129         (add_library): Removed.
4130         (_load): Don't call add_library.
4131         (loadLibraryInternal): Likewise.
4132         (init): Likewise.
4133         (lookup_data): New struct.
4134         (find_symbol): New function.
4135         (_Jv_FindSymbolInExecutable): Use it.
4136
4137 2002-02-21  Anthony Green  <green@redhat.com>
4138
4139         * java/lang/Thread.java (Thread): New constructor taking stack
4140         size parameter (ignored for now).
4141         * Many methods: Merged GNU Classpath documentation.
4142
4143         * java/lang/Class.java (finalize): throws a Throwable.
4144
4145 2003-02-21  Mark Wielaard  <mark@klomp.org>
4146
4147         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4148         argument is null.
4149
4150 2003-02-21  Mark Wielaard  <mark@klomp.org>
4151
4152         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4153         then 65535 chars throw IllegalArgumentException.
4154
4155 2003-02-21  Mark Wielaard  <mark@klomp.org>
4156
4157         * java/util/zip/ZipFile.java (finalize): New method.
4158
4159 2003-02-21  Michael Koch  <konqueror@gmx.de>
4160
4161         * gnu/java/nio/natSocketChannelImpl.cc:
4162         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4163         <cato@df.lth.se> for pointing to it.
4164
4165 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4166
4167         * java/math/BigInteger.java (euclidInv): Take result array as an
4168         argument.  Updated all callers.
4169         (modInverse): Removed unused variables.
4170
4171 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4172
4173         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4174         config.status.
4175         * configure: Rebuilt.
4176
4177 2003-02-19  Michael Koch  <konqueror@gmx.de>
4178
4179         * gnu/java/nio/natSocketChannelImpl.cc:
4180         Added support for platforms without network support.
4181
4182 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4183
4184         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4185         after config.h.  Use <> for consistency.
4186         * java/lang/natObject.cc: Likewise.
4187         * java/lang/natRuntime.cc: Likewise.
4188         * java/lang/natSystem.cc: Likewise.
4189         * java/util/natTimeZone.cc: Likewise.
4190         * win32.cc: Likewise.
4191         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4192         listen, write, read): Undef to avoid interference from OS macros.
4193
4194 2003-02-19  Michael Koch  <konqueror@gmx.de>
4195
4196         * gnu/java/nio/ByteBufferImpl.java
4197         (ByteBufferImpl): Renamed two variables.
4198         * gnu/java/nio/CharBufferImpl.java
4199         (CharBufferImpl): Renamed two variables.
4200         * gnu/java/nio/DoubleBufferImpl.java
4201         (DoubleBufferImpl): Renamed two variables.
4202         * gnu/java/nio/FloatBufferImpl.java
4203         (FloatBufferImpl): Renamed two variables.
4204         * gnu/java/nio/IntBufferImpl.java
4205         (IntBufferImpl): Renamed two variables.
4206         * gnu/java/nio/LongBufferImpl.java
4207         (LongBufferImpl): Renamed two variables.
4208         * gnu/java/nio/ShortBufferImpl.java
4209         (ShortBufferImpl): Renamed two variables.
4210         * java/nio/CharBuffer.java
4211         (wrap): Fixed arguments to CharBufferImpl constructor.
4212         (hasArray): Only not read-only buffers have backing arrays.
4213         (length): Documentation added.
4214         (subSequence): Documentation added.
4215         * java/nio/DoubleBuffer.java
4216         (hasArray): Only not read-only buffers have backing arrays.
4217         * java/nio/FloatBuffer.java
4218         (hasArray): Only not read-only buffers have backing arrays.
4219         * java/nio/IntBuffer.java
4220         (hasArray): Only not read-only buffers have backing arrays.
4221         * java/nio/LongBuffer.java
4222         (hasArray): Only not read-only buffers have backing arrays.
4223         * java/nio/ShortBuffer.java
4224         (hasArray): Only not read-only buffers have backing arrays.
4225         
4226 2003-02-19  Michael Koch  <konqueror@gmx.de>
4227
4228         * javax/accessibility/AccessibleContext.java
4229         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4230
4231 2003-02-19  Michael Koch  <konqueror@gmx.de>
4232
4233         * java/awt/ScrollPaneAdjustable.java: Reformated.
4234
4235 2003-02-19  Michael Koch <konqueror@gmx.de>
4236
4237         * gnu/awt/j2d/Graphics2DImpl.java
4238         (getFontRenderContext): New method.
4239         (drawGlyphVector): New method.
4240         * java/awt/Graphics2D.java
4241         (getFontRenderContext): New abstract method.
4242         (drawGlyphVector): New abstract method.
4243         
4244 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4245
4246         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4247         if necessary.
4248         
4249         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4250         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4251         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4252         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4253         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4254         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4255         (setFont, gtkSetFont): add.
4256         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4257         Propagate font to peer.  (setFont): add FIXME comment.
4258
4259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4260         (gtkTextGetSize): fix height, width computation.
4261
4262         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4263         Make X font name a bit less bogus.
4264
4265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4266         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4267
4268         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4269         (processAdjustmentEvent): Adjust value.
4270
4271         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4272         logic errors.
4273
4274         * java/awt/Component.java (setVisible, show, hide): Call show and
4275         hide methods in subclasses.
4276         (getPreferredSize): don't set prefSize before we have peer.
4277
4278         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4279         Guess (0,0) if we don't have peer.
4280
4281
4282 2003-02-18  Michael Koch  <konqueror@gmx.de>
4283
4284         * java/nio/channels/FileChannel.java
4285         (toString): New implementation, added documentation.
4286         (map): Added exception documentation.
4287         (size): Added exception documentation.
4288         (write): New methods, documentation work.
4289         (read): New methods, documentation work.
4290         (implCloseChannel): Rewrote exception documentation.
4291         (force): Throws IOException, added documentation.
4292         (lock): New methods.
4293         (tryLock): New methods.
4294         (position): New methods.
4295         (transferTo): New method.
4296         (transferFrom): New method.
4297         (truncate): New method.
4298         * java/nio/channels/spi/SelectorProvider.java
4299         (provider): Implemented.
4300         * Makefile.am
4301         (ordinary_java_source_files): Added the following files:
4302         gnu/java/nio/DatagramChannelImpl.java
4303         gnu/java/nio/FileChannelImpl.java
4304         gnu/java/nio/PipeImpl.java
4305         gnu/java/nio/SelectionKeyImpl.java
4306         gnu/java/nio/SelectorImpl.java
4307         gnu/java/nio/SelectorProviderImpl.java
4308         gnu/java/nio/ServerSocketChannelImpl.java
4309         gnu/java/nio/SocketChannelImpl.java
4310         java/nio/channels/FileLock.java
4311         (nat_java_source_files): Added the following files:
4312         gnu/java/nio/natFileChannelImpl.cc
4313         gnu/java/nio/natSelectorImpl.cc
4314         gnu/java/nio/natSocketChannelImpl.cc
4315         * Makefile.in: Regenerated.
4316
4317 2003-02-17  Tom Tromey  <tromey@redhat.com>
4318
4319         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4320         * java/awt/image/ImageFilter.java: Likewise.
4321
4322 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4323
4324         * java/math/BigInteger.java (euclidInv): Return array of
4325         `BigInteger's.  Changed all callers.
4326
4327 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4328
4329         * java/util/Properties.java (store): Move the code formerly in
4330         list(), into this method.
4331         (list (PrintStream)): Just call list (PrintWriter) with a 
4332         PrintWriter object constructed from the given PrintStream object.
4333         (list (PrintWriter)): Emulate the output of Properties.list()
4334         as found in JDK 1.3/1.4.
4335
4336 2003-02-17  Michael Koch  <konqueror@gmx.de>
4337
4338         * java/net/DatagramSocket.java
4339         (connect): Merged with classpath.
4340         (disconnect): Merged documentation with classpath.
4341         (receice): Merged documentation with classpath.
4342         (send): Merged documentation with classpath.
4343         
4344 2003-02-17  Michael Koch  <konqueror@gmx.de>
4345
4346         * java/awt/dnd/DragSourceContext.java
4347         (addDragSourceListener): Added documentation.
4348         * java/awt/dnd/DragSourceDragEvent.java
4349         (serialVersionUID): New member variable.
4350         (getDropAction): Reformated.
4351         * java/awt/dnd/DragSourceDropEvent.java
4352         (serialVersionUID): New member variable.
4353         (dropSuccess): Renamed from success for serialization issues.
4354         * java/awt/dnd/DragSourceEvent.java
4355         (serialVersionUID): New member variable.
4356         * java/awt/dnd/DropTarget.java
4357         (serialVersionUID): New member variable.
4358         (DropTarget): Implemented, documentation reworked.
4359         (setComponent): Documentation added.
4360         (getComponent): Documentation added.
4361         (setDefaultActions): Documentation added.
4362         (getDefaultActions): Documentation added.
4363         (addDropTargetListener): Documentation added.
4364         * java/awt/dnd/DropTargetContext.java
4365         (DropTargetContext): Documentation added.
4366         (TransferableProxy.TransferableProxy): New method.
4367         (dropComplete): Fixed documentation.
4368         (getTransferable): Fixed documentation.
4369         (createTransferableProxy): Implemented.
4370         * java/awt/dnd/DropTargetDragEvent.java
4371         (DropTargetDragEvent): Documentation added.
4372         (serialVersionUID): New member variable.
4373         (DropTargetDragEvent): Throw exceptions, documentation added.
4374         (acceptDrag): Implemented.
4375         (getCurrentDataFlavors): Implemented.3yy
4376         (getCurrentDataFlavorsAsList): Implemented.
4377         (isDataFlavorSupported): Implemented.
4378         (rejectDrag): Implemented.
4379         * java/awt/dnd/DropTargetDropEvent.java
4380         (DropTargetDropEvent): Documentation added.
4381         (serialVersionUID): New member variable.
4382         (actions): Renamed from srcActions for serialization issues.
4383         (isLocalTx): Renamed from isLocalTx for serialization issues.
4384         (DropTargetDropEvent): New implementation, throw exceptions,
4385         documentation added.
4386         (getCurrentDataFlavors): Implemented.
4387         (getCurrentDataFlavorsAsList): Implemented.
4388         (isDataFlavorSupported): Implemented.
4389         (getSourceActions): Implemented.
4390         (getDropAction): Implemented.
4391         (getTransferable): Implemented.
4392         (acceptDrop): Implemented.
4393         (rejectDrop): Implemented.
4394         * java/awt/dnd/DropTargetListener.java
4395         (drop): Fixed documentation.
4396         * java/awt/dnd/MouseDragGestureRecognizer.java
4397         (MouseDragGestureRecognizer): Documentation added.
4398
4399 2003-02-17  Michael Koch  <konqueror@gmx.de>
4400
4401         * java/awt/font/FontRenderContext.java,
4402         java/awt/font/ShapeGraphicAttribute.java,
4403         java/awt/font/MultipleMaster.java,
4404         java/awt/font/TransformAttribute.java,
4405         java/awt/font/GlyphJustificationInfo.java,
4406         java/awt/font/LineBreakMeasurer.java,
4407         java/awt/font/TextMeasurer.java,
4408         java/awt/font/TextLayout.java,
4409         java/awt/font/LineMetrics.java,
4410         java/awt/font/TextAttribute.java,
4411         java/awt/font/GlyphMetrics.java,
4412         java/awt/font/OpenType.java,
4413         java/awt/font/GlyphVector.java,
4414         java/awt/font/GraphicAttribute.java,
4415         java/awt/font/ImageGraphicAttribute.java,
4416         java/awt/font/NumericShaper.java: New files.
4417         * Makefile.am
4418         (awt_java_source_files): Added the following files:
4419         java/awt/font/FontRenderContext.java
4420         java/awt/font/ShapeGraphicAttribute.java
4421         java/awt/font/MultipleMaster.java
4422         java/awt/font/TransformAttribute.java
4423         java/awt/font/GlyphJustificationInfo.java
4424         java/awt/font/LineBreakMeasurer.java
4425         java/awt/font/TextMeasurer.java
4426         java/awt/font/TextLayout.java
4427         java/awt/font/LineMetrics.java
4428         java/awt/font/TextAttribute.java
4429         java/awt/font/GlyphMetrics.java
4430         java/awt/font/OpenType.java
4431         java/awt/font/GlyphVector.java
4432         java/awt/font/GraphicAttribute.java
4433         java/awt/font/ImageGraphicAttribute.java
4434         java/awt/font/NumericShaper.java
4435         * Makefile.in: Regenerated.
4436
4437 2003-02-17  Michael Koch  <konqueror@gmx.de>
4438
4439         * java/awt/print/Paper.java
4440         (Paper): Implements Cloneable.
4441         * java/awt/print/PrinterJob.java
4442         (setJobName): Return value must be void.
4443         (print): Throws PrinterException.
4444         
4445 2003-02-16  Tom Tromey  <tromey@redhat.com>
4446
4447         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4448         variable.
4449
4450 2003-02-15  Michael Koch  <konqueror@gmx.de>
4451
4452         * java/awt/datatransfer/DataFlavor.java
4453         (isRepresentationClassByteBuffer): Removed try-catch block.
4454         (isRepresentationClassCharBuffer): Removed try-catch block.
4455         (isRepresentationClassReader): Removed try-catch block.
4456
4457 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4458
4459         * java/nio/charset/Charset.java
4460         (isRegistered): Fixed method args and implementation.
4461         * java/nio/charset/CharsetEncoder.java
4462         (unmappableCharacterAction): New method.
4463
4464 2003-02-15  Michael Koch  <konqueror@gmx.de>
4465
4466         * java/awt/CheckboxMenuItem.java
4467         (CheckBoxMenuItem): Dont implement Serializable.
4468         (getListeners): New method,
4469         (getItemListeners): New method.
4470         * java/awt/Choice.java
4471         (getListeners): New method,
4472         (getItemListeners): New method.
4473         * java/awt/Container.java
4474         (getListeners): Added exception documentation.
4475         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4476         (getFocusTraversalKeys): Added documentation.
4477         (areFocusTraversalKeysSet): Added documentation.
4478         (applyComponentOrientation): Added documentation.
4479         * java/awt/ContainerOrderFocusTraversalPolicy.java
4480         (implicitDownCycleTraversal): Renamed from downCycle for
4481         serialization.
4482         (ContainerOrderFocusTraversalPolicy): Added documentation.
4483         (accept): Reformated.
4484         * java/awt/Dialog.java
4485         (Dialog): Dont implement Serializable.
4486         (Dialog): Added documentation.
4487         * java/awt/Font.java
4488         (Font): Dont use absolute class name.
4489         * java/awt/Frame.java
4490         (Frame): Font implement Serializable.
4491         * java/awt/List.java
4492         (getListeners): New method,
4493         (getActionListeners): New method.       
4494         (getItemListeners): New method.
4495         * java/awt/Menu.java
4496         (countItems): New deprecated method.
4497         * java/awt/Scrollbar.java
4498         (getListeners): New method,
4499         (getAdjustmentListeners): New method,
4500         * java/awt/TextComponent.java
4501         (getListeners): New method,
4502         (getTextListeners): New method,
4503         * java/awt/TextField.java
4504         (getListeners): New method,
4505         (getActionListeners): New method.       
4506         * java/awt/Window.java
4507         (windowFocusListener): New member variable.
4508         (windowStateListener): New member variable.
4509         (getWindowFocusListeners): New method.
4510         (getWindowStateListeners): New method.
4511         (addWindowFocusListener): New method.
4512         (addWindowStateListener): New method.
4513         (removeWindowFocusListener): New method.
4514         (removeWindowStateListener): New method.
4515         * java/awt/datatransfer/DataFlavor.java
4516         (isRepresentationClassByteBuffer): New method.
4517         (isRepresentationClassCharBuffer): New method.
4518         (isRepresentationClassReader): New method.
4519
4520 2003-02-14  Mark Wielaard  <mark@klomp.org>
4521
4522         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4523         zero when there is an exponent and the significant is zero.
4524         (divide): Always set scale to newScale even in special ZERO case.
4525
4526 2003-02-14  Tom Tromey  <tromey@redhat.com>
4527
4528         * java/lang/System.java (properties): Use Properties.clone.
4529         (setProperties): Likewise.
4530
4531 2003-02-14  Michael Koch  <konqueror@gmx.de>
4532
4533         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4534         * gnu/java/nio/ServerSocketChannelImpl.java
4535         (SocketAccept): Removed.
4536         (accept): Commented out use of SocketAccept.
4537
4538 2003-02-13  Tom Tromey  <tromey@redhat.com>
4539
4540         * verify.cc (state::seen_subrs): New field.
4541         (state::state): Initialize it.
4542         (state::clean_subrs): New method.
4543         (state::~state): Call it.
4544         (state::copy): Copy subroutine list.
4545         (state::add_subr): New method.
4546         (state::merge): Only register a change if the current subroutine
4547         hasn't yet been noted.
4548
4549 2003-02-13  Mark Wielaard  <mark@klomp.org>
4550
4551         * java/io/InputStreamReader.java (getEncoding): Return null when
4552         closed.
4553         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4554
4555 2003-02-13  Mark Wielaard  <mark@klomp.org>
4556  
4557         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4558         is zero.
4559
4560 2003-02-13  Mark Wielaard  <mark@klomp.org>
4561
4562         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4563         next byte cannot be buffered.
4564
4565 2003-02-13  Michael Koch  <konqueror@gmx.de>
4566  
4567         * java/awt/Label.java
4568         (Label): Don't implement Serializable directly.
4569         (addNotify): Fixed typo in documentation.
4570         * java/awt/List.java
4571         (List): Don't implement Serializable directly.
4572         * java/awt/PopupMenu.java
4573         (PopupMenu): Don't implement Serializable directly.
4574         * java/awt/ScrollPane.java
4575         (ScrollPane): Don't implement Serializable directly.
4576         * java/awt/Scrollbar.java
4577         (Scrollbar): Don't implement Serializable directly.
4578         * java/awt/TextArea.java
4579         (preferredSize): Fixed method arguments.
4580         * java/awt/TextField.java
4581         (TextField): Don't implement Serializable directly.
4582         * java/awt/color/ICC_ColorSpace.java
4583         (fromCIOXYZ): Documentation added.
4584         (getMinValue): Documentation added.
4585         (getMaxValue): Documentation added.
4586         * java/awt/datatransfer/DataFlavor.java
4587         (isMimeTypeEqual): May not be final.
4588         (clone): Throws CloneNotSupportedException.
4589         (getReaderForText): Don't throws UnsupportedEncodingException.
4590
4591 2003-02-13  Michael Koch  <konqueror@gmx.de>
4592  
4593         * gnu/java/awt/peer/gtk/GdkGraphics.java
4594         (drawString): New stubbed method.
4595         * java/awt/Graphics.java
4596         (drawString): New method.
4597
4598 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4599
4600         PR libgcj/9271:
4601         * java/security/SecureRandom.java (next): Avoid bias in results.
4602
4603 2003-02-13  Michael  <konqueror@gmx.de>
4604
4605         * gnu/java/nio/FileChannelImpl.java
4606         (lengthInternal): Must be native.
4607         (size): Check if channel is already closed.
4608         (implCloseChannel): Reformated.
4609         (read): w was unused, removed it.
4610         (read): Removed.
4611         (read): New method.
4612         (write): New method.
4613         (map): Check arguments.
4614         (force): Throws IOException, check if channel is closed.
4615         (transferTo): New method.
4616         (transferFrom): New method.
4617         (lock): New method.
4618         (tryLock): New method.
4619         (position): New method.
4620         (truncate): New method.
4621         (nio_mmap_file): Uncommented.
4622         (nio_munmap_file): Uncommented.
4623         (nio_msync): Uncommented.
4624         * gnu/java/nio/natFileChannelImpl.cc: New file.
4625         
4626 2003-02-13  Michael Koch  <konqueror@gmx.de>
4627
4628         * java/nio/ByteBuffer.java
4629         (endian): New member variable.
4630         (get): New methods.
4631         (equals): New method.
4632         (compareTo): New method.
4633         (order): New methods.
4634         (compact): New method.
4635         (isDirect): New method.
4636         (slice): New method.
4637         (duplicate): New method.
4638         (asReadOnlyBuffer): New method.
4639         (asCharBuffer): New method.
4640         (asDoubleBuffer): New method.
4641         (asFloatBuffer): New method.
4642         (asIntBuffer): New method.
4643         (asLongBuffer): New method.
4644         (asShortBuffer): New method.
4645         (get*): New methods.
4646         (put*): New methods.
4647         (toString): New method.
4648         * java/nio/CharBuffer.java
4649         (CharBuffer): Implement Comparable instead of Cloneable.
4650         (get): May not be final.
4651         (put): May not be final.
4652         
4653 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4654
4655         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4656         lastIndexOf( ) instead of indexOf( ) to find the colon before
4657         the line number, because Win32 file names might contain a 
4658         drive letter and a colon at the start of an absolute path.
4659
4660 2003-02-13  Michael Koch  <konqueror@gmx.de>
4661
4662         * gnu/java/nio/natSocketChannelImpl.cc
4663         (SocketConnect): This is not implemented yet.
4664         (SocketBind): This is not implemented yet.
4665
4666 2003-02-13  Michael Koch  <konqueror@gmx.de>
4667
4668         * gnu/java/nio/natByteBufferImpl.cc,
4669         gnu/java/nio/natCharBufferImpl.cc,
4670         gnu/java/nio/natDoubleBufferImpl.cc,
4671         gnu/java/nio/natFloatBufferImpl.cc,
4672         gnu/java/nio/natIntBufferImpl.cc,
4673         gnu/java/nio/natLongBufferImpl.cc,
4674         gnu/java/nio/natShortBufferImpl.cc:
4675         Added copyright and license.
4676         * java/nio/DoubleBuffer.java,
4677         java/nio/FloatBuffer.java,
4678         java/nio/IntBuffer.java,
4679         java/nio/LongBuffer.java,
4680         java/nio/ShortBuffer.java
4681         (array): Throw exceptions.
4682         (arrayOffset): Throw exceptions.
4683
4684 2003-02-13  Michael Koch  <konqueror@gmx.de>
4685  
4686         * gnu/java/util/prefs/FileBasedFactory.java,
4687         gnu/java/util/prefs/MemmoryBasedFactory.java,
4688         gnu/java/util/prefs/MemoryBasedPreferences.java,
4689         gnu/java/util/prefs/NodeReader.java,
4690         gnu/java/util/prefs/NodeWriter.java,
4691         java/util/prefs/AbstractPreferences.java,
4692         java/util/prefs/BackingStoreException.java,
4693         java/util/prefs/InvalidPreferencesFormatException.java,
4694         java/util/prefs/NodeChangeEvent.java,
4695         java/util/prefs/NodeChangeListener.java,
4696         java/util/prefs/PreferenceChangeEvent.java,
4697         java/util/prefs/PreferenceChangeListener.java,
4698         java/util/prefs/Preferences.java,
4699         java/util/prefs/PreferencesFactory.java:
4700         New files, all merged from classpath.
4701         * Makefile.am
4702         (ordinary_java_source_files): Added the following files:
4703         gnu/java/util/prefs/FileBasedFactory.java,
4704         gnu/java/util/prefs/MemmoryBasedFactory.java,
4705         gnu/java/util/prefs/MemoryBasedPreferences.java,
4706         gnu/java/util/prefs/NodeReader.java,
4707         gnu/java/util/prefs/NodeWriter.java,
4708         (core_java_source_files): Added the following files:
4709         java/util/prefs/AbstractPreferences.java,
4710         java/util/prefs/BackingStoreException.java,
4711         java/util/prefs/InvalidPreferencesFormatException.java,
4712         java/util/prefs/NodeChangeEvent.java,
4713         java/util/prefs/NodeChangeListener.java,
4714         java/util/prefs/PreferenceChangeEvent.java,
4715         java/util/prefs/PreferenceChangeListener.java,
4716         java/util/prefs/Preferences.java,
4717         java/util/prefs/PreferencesFactory.java
4718         * Makefile.in: Regenerated.
4719  
4720 2003-02-13  Michael Koch  <konqueror@gmx.de>
4721
4722         * java/net/NetPermission.java
4723         (NetPermission): Make doucmentation match the method declaration.
4724         * java/net/NetworkInterface.java
4725         (equals): Reformated for GNU coding style.
4726         * java/net/ServerSocket.java: Merged with classpath.
4727         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4728         * java/net/SocketImpl.java
4729         (localPort): Merged with classpath (initialize with -1).
4730         * java/net/SocketPermission.java: Merged with classpath (reindented).
4731         * java/net/URLDecoder.java: Merged with classpath (reindented).
4732
4733 2003-02-13  Michael Koch  <konqueror@gmx.de>
4734
4735         * java/awt/GridBagConstraints.java
4736         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4737         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4738         * java/awt/KeyboardFocusManager.java
4739         (setGlobalCurrentFocusCycleRoot): Must be public.
4740         * java/awt/MenuComponent.java
4741         (MenuComponent): Must be public.
4742         * java/awt/Toolkit.java:
4743         Added some empty lines to make documentation more readable.
4744         (getFontPeer): Added @deprecated.
4745         (getColorModel): Added exception documentation.
4746         (getProperty): Fixed documentation.
4747  
4748 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4749
4750         * configure.host (alpha*-*): Default to -mieee.
4751         * configure.in (IEEESPEC): New.
4752         * libgcj.spec.in (jc1): Add IEEESPEC.
4753         * configure: Rebuild.
4754
4755 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4756
4757         * include/win32.h: Include ws2tcpip.h instead of
4758         winsock.h to obtain definition of the socklen_t type.
4759         Remove IP_TOS definition - not needed with ws2tcpip.h
4760         (_Jv_connect): Correct slight formatting error.
4761
4762 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4763
4764         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4765         size of the arguments for a JNI function. For Win32,
4766         modify to search for all forms of possible exported
4767         names of an stdcall JNI function.
4768         (_Jv_JNIMethod::call): Modify to calculate the size
4769         of the arguments passed to a JNI function and pass
4770         it to _Jv_LookupJNIMethod.
4771
4772 2003-02-12  Michael Koch  <konqueror@gmx.de>
4773
4774         * java/nio/channels/Channels.java: New file.
4775         * Makefile.am
4776         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4777         * Makefile.in: Regenerated.
4778
4779 2003-02-12  Michael Koch  <konqueror@gmx.de>
4780
4781         * java/nio/ByteBuffer.java
4782         (allocate): Implemented.
4783         (wrap): Implemented.
4784         * java/nio/CharBuffer.java:
4785         Some documentation added and reworked.
4786         (endian): Removed.
4787         (allocate): Implemented.
4788         (wrap): Implemented.
4789         (array): Throw exceptions.
4790         (arrayOffset): Throw exceptions.
4791         (toString): Implemented.
4792         (length): Implemented.
4793         (put): Implemented.
4794         (charAt): Implemented.
4795
4796 2003-02-11  John Leuner  <jewel@debian.org>
4797
4798         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4799         reads from end of file.
4800
4801 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4802
4803         * java/io/natFileDescriptorWin32.cc 
4804         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4805         returns with Win32 error code ERROR_BROKEN_PIPE.
4806
4807 2003-02-11  Michael Koch  <konqueror@gmx.de>
4808
4809         * Makefile.in
4810         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4811
4812 2003-02-11  Michael Koch  <konqueror@gmx.de>
4813
4814         * gnu/java/nio/ByteBufferImpl.java:
4815         Reformated and removed some code.
4816         (backing_buffer): Removed.      
4817         (array_offset): Removed.
4818         (ro): Renamed to readOnly.
4819         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4820         * gnu/java/nio/CharBufferImpl.java:
4821         Reformated and removed some code.
4822         (array_offset): Removed.
4823         (ro): Renamed to readOnly.
4824         (CharBufferImpl): Use parent constructor, initialize readOnly.
4825         (inc_pos): Removed.
4826         (order): New method.
4827         * gnu/java/nio/DoubleBufferImpl.java:
4828         Reformated and removed some code.
4829         (array_offset): Removed.
4830         (ro): Renamed to readOnly.
4831         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4832         (inc_pos): Removed.
4833         (order): New method.
4834         * gnu/java/nio/FloatBufferImpl.java:
4835         Reformated and removed some code.
4836         (array_offset): Removed.
4837         (ro): Renamed to readOnly.
4838         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4839         (inc_pos): Removed.
4840         (order): New method.
4841         * gnu/java/nio/IntBufferImpl.java:
4842         Reformated and removed some code.
4843         (array_offset): Removed.
4844         (ro): Renamed to readOnly.
4845         (IntBufferImpl): Use parent constructor, initialize readOnly.
4846         (inc_pos): Removed.
4847         (order): New method.
4848         * gnu/java/nio/LongBufferImpl.java:
4849         Reformated and removed some code.
4850         (array_offset): Removed.
4851         (ro): Renamed to readOnly.
4852         (LongBufferImpl): Use parent constructor, initialize readOnly.
4853         (inc_pos): Removed.
4854         (order): New method.
4855         * gnu/java/nio/ShortBufferImpl.java:
4856         Reformated and removed some code.
4857         (array_offset): Removed.
4858         (ro): Renamed to readOnly.
4859         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4860         (inc_pos): Removed.
4861         (order): New method.
4862         * Makefile.am
4863         (ordinary_java_source_files): Added the following files:
4864         gnu/java/nio/ByteBufferImpl.java
4865         gnu/java/nio/CharBufferImpl.java
4866         gnu/java/nio/DoubleBufferImpl.java
4867         gnu/java/nio/FloatBufferImpl.java
4868         gnu/java/nio/IntBufferImpl.java
4869         gnu/java/nio/LongBufferImpl.java
4870         gnu/java/nio/ShortBufferImpl.java
4871         java/nio/DoubleBuffer.java
4872         java/nio/FloatBuffer.java
4873         java/nio/IntBuffer.java
4874         java/nio/LongBuffer.java
4875         java/nio/ShortBuffer.java
4876         (nat_source_files): Added the following files:
4877         gnu/java/nio/natByteBufferImpl.cc
4878         gnu/java/nio/natCharBufferImpl.cc
4879         gnu/java/nio/natDoubleBufferImpl.cc
4880         gnu/java/nio/natFloatBufferImpl.cc
4881         gnu/java/nio/natIntBufferImpl.cc
4882         gnu/java/nio/natLongBufferImpl.cc
4883         gnu/java/nio/natShortBufferImpl.cc
4884         * Makefile.in: Regenerated.
4885
4886 2003-02-11  Michael Koch  <konqueror@gmx.de>
4887
4888         * gnu/java/nio/natCharBufferImpl.cc
4889         (nio_cast): Removed.
4890         (nio_put_*): Removed.
4891         (nio_get_*): Removed.
4892         * gnu/java/nio/natDoubleBufferImpl.cc
4893         (nio_cast): Removed.
4894         (nio_put_*): Removed.
4895         (nio_get_*): Removed.
4896         * gnu/java/nio/natFloatBufferImpl.cc
4897         (nio_cast): Removed.
4898         (nio_put_*): Removed.
4899         (nio_get_*): Removed.
4900         * gnu/java/nio/natIntBufferImpl.cc
4901         (nio_cast): Removed.
4902         (nio_put_*): Removed.
4903         (nio_get_*): Removed.
4904         * gnu/java/nio/natLongBufferImpl.cc
4905         (nio_cast): Removed.
4906         (nio_put_*): Removed.
4907         (nio_get_*): Removed.
4908         * gnu/java/nio/natShortBufferImpl.cc
4909         (nio_cast): Removed.
4910         (nio_put_*): Removed.
4911         (nio_get_*): Removed.
4912         * gnu/java/nio/SelectorProviderImpl.java
4913         (openDatagramChannel): Throws IOException.
4914         (openPipe): Throws IOException.
4915         (openSelector): Throws IOException.
4916         (openServerSocketChannel): Throws IOException.
4917         (openSocketChannel): Throws IOException.
4918         * gnu/java/nio/ServerSocketChannelImpl.java
4919         (ServerSocketChannelImpl): Throws IOException.
4920         (implCloseSelectableChannel): Throws IOException.
4921         (implConfigureBlocking): Throws IOException.
4922         * java/nio/ByteBuffer.java
4923         (readOnly): Removed.
4924         (hasArray): Use isReadOnly() instead of readOnly.
4925         (array): Use isReadOnly() instead of readOnly.
4926         (arrayOffset): Use isReadOnly() instead of readOnly.
4927         * java/nio/CharBuffer.java
4928         (CharBuffer): Implements Cloneable and CharSequence.
4929
4930 2003-02-11  Michael Koch  <konqueror@gmx.de>
4931
4932         * java/nio/DoubleBuffer.java
4933         (DoubleBuffer): Implements Comparable.
4934         (endian): Removed.
4935         (array_offset): New member variable.
4936         (DoubleBuffer): New constuctor.
4937         (get): May not be final.
4938         (put): May not be final.
4939         (arrayOffset): Implemented.
4940         (order): Made abstract.
4941         (order): Removed.
4942         (as*Buffer): Removed.
4943         (get*): Removed.
4944         (put*): Removed.
4945         * java/nio/FloatBuffer.java
4946         (FloatBuffer): Implements Comparable.
4947         (endian): Removed.
4948         (array_offset): New member variable.
4949         (FloatBuffer): New constuctor.
4950         (get): May not be final.
4951         (put): May not be final.
4952         (arrayOffset): Implemented.
4953         (order): Made abstract.
4954         (order): Removed.
4955         (as*Buffer): Removed.
4956         (get*): Removed.
4957         (put*): Removed.
4958         * java/nio/IntBuffer.java
4959         (IntBuffer): Implements Comparable.
4960         (endian): Removed.
4961         (array_offset): New member variable.
4962         (IntBuffer): New constuctor.
4963         (get): May not be final.
4964         (put): May not be final.
4965         (arrayOffset): Implemented.
4966         (order): Made abstract.
4967         (order): Removed.
4968         (as*Buffer): Removed.
4969         (get*): Removed.
4970         (put*): Removed.
4971         * java/nio/LongBuffer.java
4972         (LongBuffer): Implements Comparable.
4973         (endian): Removed.
4974         (array_offset): New member variable.
4975         (LongBuffer): New constuctor.
4976         (get): May not be final.
4977         (put): May not be final.
4978         (arrayOffset): Implemented.
4979         (order): Made abstract.
4980         (order): Removed.
4981         (as*Buffer): Removed.
4982         (get*): Removed.
4983         (put*): Removed.
4984         * java/nio/ShortBuffer.java
4985         (ShortBuffer): Implements Comparable.
4986         (endian): Removed.
4987         (array_offset): New member variable.
4988         (ShortBuffer): New constuctor.
4989         (get): May not be final.
4990         (put): May not be final.
4991         (arrayOffset): Implemented.
4992         (order): Made abstract.
4993         (order): Removed.
4994         (as*Buffer): Removed.
4995         (get*): Removed.
4996         (put*): Removed.
4997
4998 2003-02-11   Michael Koch  <konqueror@gmx.de>
4999
5000         * java/nio/channels/SelectionKey.java
5001         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5002         values.
5003
5004 2003-02-11  Michael Koch  <konqueror@gmx.de>
5005
5006         * java/nio/channels/DatagramChannel.java
5007         (write): Throws IOException.
5008         (connect): Throws IOException.
5009         (disconnect): Throws IOException.
5010         (read): Throws IOException.
5011         (receive): Throws IOException.
5012         (send): Throws IOException.
5013         * java/nio/channels/Pipe.java
5014         (open): Throws IOException.
5015         * java/nio/channels/SelectableChannel.java
5016         (configureBlocking): Throws IOException.
5017         * java/nio/channels/ServerSocketChannel.java
5018         (accept): Throws IOException.
5019         * java/nio/channels/SocketChannel.java
5020         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5021         GatheringByteChannel.
5022         (read): Throws IOException.
5023         (write): Throws IOException.
5024         (finishConnect): Throws IOException.
5025         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5026         (end): Throws AsynchronousCloseException.
5027         * java/nio/channels/spi/AbstractSelectableChannel.java
5028         (configureBlocking): Throws IOException.
5029         (implCloseChannel): Throws IOException.
5030         (implCloseSelectableChannel): Throws IOException.
5031         (implConfigureBlocking): Throws IOException.
5032         * java/nio/channels/spi/SelectorProvider.java
5033         (openDatagramChannel): Throws IOException.
5034         (openPipe): Throws IOException.
5035         (openSelector): Throws IOException.
5036         (openServerSocketChannel): Throws IOException.
5037         (openSocketChannel): Throws IOException.
5038
5039 2003-02-11  Michael Koch  <konqueror@gmx.de>
5040
5041         * gnu/java/nio/FileLockImpl.java,
5042         java/nio/channels/FileLock.java: New files.
5043
5044 2003-02-11  Michael Koch  <konqueror@gmx.de>
5045
5046         * java/nio/charset/IllegalCharsetNameException.java
5047         (serialVersionUID): New member variable.
5048         (charsetName): New member variable.
5049         (IllegalCharsetException): New implementation.
5050         (getCharsetName): New implementation.
5051         * java/nio/charset/UnsupportedCharsetException.java
5052         (serialVersionUID): New member variable.
5053         (charsetName): New member variable.
5054         (UnsupportedCharsetException): New implementation.
5055         (getCharsetName): New implementation.
5056
5057 2003-02-10  Tom Tromey  <tromey@redhat.com>
5058
5059         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5060         (ex): Renamed from sqlException.
5061
5062 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
5063
5064         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
5065         method used to ensure seeding has occurred and that a specific 
5066         seed can be set and used.
5067
5068 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
5069
5070         * java/lang/Win32Process.java (destroy): Declare as native.
5071         (hasExited): New native method.
5072         (exitValue): Define.
5073         (getErrorStream): Likewise.
5074         (getInputStream): Likewise.
5075         (getOutputStream): Likewise.
5076         (waitFor): Declare as native.
5077         (startProcess): New native method.
5078         (cleanup): Likewise.
5079         (ConcreteProcess): Define.
5080         (outputStream, inputStream, errorStream): New members.
5081         (procHandle, exitCode): Likewise.
5082
5083         * java/lang/natWin32Process.cc
5084         (java::lang::ConcreteProcess::cleanup): Define.
5085         (java::lang::ConcreteProcess::destroy): Likewise.
5086         (java::lang::ConcreteProcess::hasExited): Likewise.
5087         (java::lang::ConcreteProcess::waitFor): Likewise.
5088         (new_string): Likewise.
5089         (java::lang::ConcreteProcess::startProcess): Likewise.
5090
5091 2003-02-10  Raif S. Naffah <raif@fl.net.au>
5092
5093         * java/math/BigInteger.java:
5094         Updated notice to include years 2002 and 3.
5095         Added 2 private (int) arrays with values from the HAC (Handbook of
5096         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5097         and t[] that contains nbr. of tests --used in isProbablePrime().
5098
5099         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5100
5101         * java/math/BigInteger.java (make(int[],int), add(int,int),
5102         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5103         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5104         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5105         make(long).
5106
5107         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5108         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5109         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5110         BIs and returns void.
5111         (modInverse(BI)): Use new signatures of euclidInv().
5112
5113         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5114         static small primes instead of remainder().
5115         Use pre-computed max nbr of trials based on bitlength of BI to test.
5116         Use pre-computed small primes for the trial tests instead of random
5117         numbers.
5118
5119         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5120         not used.
5121
5122         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5123         invoacation of MPN.chars_per_word().  not used.
5124
5125         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5126         local var and used where needed.
5127
5128         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5129         Combined declaration with initialisation of locals.
5130         Removed unused var.
5131
5132         * java/math/BigInteger.java: Style changes
5133         (pow(int)): Removed 'else' keyword.
5134         (toString(int)): idem.
5135         (doubleValue()): idem.
5136         (bitLength()): idem.
5137         (equals(Object)): Use static methods name in same class w/o prepending
5138         class name.
5139         (doubleValue()): idem.
5140         (setNegative(BI)): idem.
5141         (negate()): idem.
5142         (and(BI,int)): idem.
5143         (and(BI)): idem.
5144         (gcd(BI)): idem.
5145         (byteArrayToIntArray()): Removed casting to (int). this is
5146         std. behaviour.
5147         (canonicalize()): idem.
5148         (alloc(int)): Always instantiate a new BI.
5149
5150 2003-02-10  Tom Tromey  <tromey@redhat.com>
5151
5152         * java/sql/Timestamp.java (compareTo(Object)): New method.
5153         (compareTo(Timestamp)): Likewise.
5154         (serialVersionUID): Updated.
5155
5156 2003-02-07  Mark Wielaard  <mark@klomp.org>
5157
5158         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5159         when verify is true.
5160         (JarFile(File, boolean)): Likewise.
5161         (manifestRead): Set manifestRead field correctly.
5162
5163 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5164
5165         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5166         tests; see patch #1016 on Savannah.
5167
5168 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5169
5170         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5171         (toString): do not return Strings starting with . and - erroneously.
5172         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5173         DiagBigDecimal.
5174
5175 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5176
5177         * java/beans/PropertyDescriptor.java
5178         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5179         methods.
5180         (PropertyDescriptor(String, Class, String, String)): Likewise.
5181         (PropertyDescriptor(String, Method, Method): Factor out getter and
5182         setter method sanity checks into new method.
5183         (findMethods): Don't do parameter sanity checking of get method here.
5184         (checkMethods): New method.
5185
5186 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5187
5188         * java/beans/PropertyDescriptor.java: Reformat.
5189
5190 2003-02-04  Tom Tromey  <tromey@redhat.com>
5191
5192         * java/io/PipedOutputStream.java (flush): Declare as throwing
5193         IOException.
5194         (close): Likewise.
5195         * java/io/PipedWriter.java (close): Declare as throwing
5196         IOException.
5197         * java/io/StringWriter.java (close): Declare as throwing
5198         IOException.
5199
5200 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5201
5202         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5203         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5204         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5205         "_JNI_OnLoad@8" (MSVC).
5206
5207 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5208
5209         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5210         convention on Win32 to invoke native JNI methods.
5211
5212 2003-02-03  Andrew Haley  <aph@redhat.com>
5213
5214         * configure.host (x86_64): Enable interpreter.
5215
5216 2003-02-03  Andrew Haley  <aph@redhat.com>
5217
5218         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5219         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5220         * configure.in (BACKTRACESPEC): New.
5221         * configure: Regenerate.
5222
5223 2003-02-02  Tom Tromey  <tromey@redhat.com>
5224
5225         * configure: Rebuilt.
5226         * configure.in (TOOLKIT) [xlib]: Set correctly.
5227
5228         * Makefile.in: Rebuilt.
5229         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5230         libstdc++.
5231
5232 2003-01-31  Mark WIelaard  <mark@klomp.org>
5233
5234         * Makefile.in: Rebuilt.
5235         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5236
5237 2003-01-31  Tom Tromey  <tromey@redhat.com>
5238
5239         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5240         cast to element type.
5241         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5242         (_Jv_JNI_GetObjectArrayElement): Likewise.
5243
5244         * Makefile.in: Rebuilt.
5245         * Makefile.am (cond_x_ltlibrary): Renamed library to
5246         lib-gnu-awt-xlib.la.
5247         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5248         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5249         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5250         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5251         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5252         (lib_gnu_awt_xlib_la_LINK): Likewise.
5253         (install-exec-hook): Removed.
5254         (lib-gnu-awt-xlib.la): Renamed.
5255
5256 2003-01-31  Tom Tromey  <tromey@redhat.com>
5257
5258         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5259         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5260         aclocal.m4 and lost in some merge.
5261
5262         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5263         Don't try to find graphics configuration.
5264         * java/awt/Toolkit.java (default_toolkit_name): Use new
5265         Configuration entry.
5266         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5267         New global.
5268         * configure: Rebuilt.
5269         * configure.in (TOOLKIT): New subst.
5270         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5271         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5272         directory.  Make output directories for .c files.
5273         * Makefile.in: Rebuilt.
5274         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5275         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5276         (all_java_source_files): Added new sources.
5277         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5278         (gtk_c_files): New macro.
5279         (gtk_c_source_files): New macro.
5280         (cond_gtk_ltlibrary): New macro.
5281         ($(gtk_c_files)): New target.
5282         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5283         (gtk_awt_peer_sources): New macro.
5284         (gtk_c_headers): New macro.
5285         ($(gtk_c_headers)): New target.
5286         (ACLOCAL_AMFLAGS): New macro.
5287         * gtk.m4, glib.m4, libart.m4: New files.
5288         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5289         gnu/java/awt/peer/gtk/GdkGraphics.java,
5290         gnu/java/awt/peer/gtk/GtkArg.java,
5291         gnu/java/awt/peer/gtk/GtkArgList.java,
5292         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5293         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5294         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5295         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5296         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5297         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5298         gnu/java/awt/peer/gtk/GtkClipboard.java,
5299         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5300         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5301         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5302         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5303         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5304         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5305         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5306         gnu/java/awt/peer/gtk/GtkImage.java,
5307         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5308         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5309         gnu/java/awt/peer/gtk/GtkListPeer.java,
5310         gnu/java/awt/peer/gtk/GtkMainThread.java,
5311         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5312         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5313         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5314         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5315         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5316         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5317         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5318         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5319         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5320         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5321         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5322         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5323         gnu/java/awt/peer/gtk/GtkToolkit.java,
5324         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5325         gnu/java/awt/peer/gtk/TestAWT.java,
5326         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5328         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5329         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5330         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5331         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5332         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5335         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5337         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5338         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5339         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5347         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5349         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5350         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5351         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5353         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5354         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5355         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5356         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5357         jni/classpath/native_state.c, jni/classpath/native_state.h,
5358         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5359
5360 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5361
5362         * java/util/Properties.java (load): Ignore backslash before EOF.
5363
5364 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5365
5366         * java/lang/natClass.cc (initializeClass): Check tables when
5367         (state == JV_STATE_IN_PROGRESS).
5368         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5369         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5370         interpreted classes.
5371         (linkClass0): Use _Jv_WaitForState.
5372
5373 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5374
5375         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5376         object when finished.
5377
5378 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5379
5380         * libjava/configure.host: Disable can_unwind_signal on darwin.
5381
5382 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5383
5384         Fixes PR java/9254:
5385         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5386         additionally containing id of the owner thread as well as
5387         the number of nested times the thread has acquired the mutex.
5388         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5389         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5390         (_Jv_MutexUnlock): Check if really the owner thread, reset
5391         owner thread id to 0 before leaving, if leaving for the last
5392         time.
5393         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5394         refcount.
5395         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5396         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5397         the passed mutex.
5398         Pass handle of the broadcast event, instead of a pointer to it
5399         in Win32 ResetEvent( ) call.
5400         Remove incorrect return values.
5401         (_Jv_CondDestroy): Close both event handles and delete
5402         critical section.
5403         (_Jv_CondNotify): Check if really the owner thread.
5404         (_Jv_CondNotifyAll): Check if really the owner thread.
5405         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5406         (really_start): Use SetEvent( ) to signal daemon_cond.
5407         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5408         WaitForSingleObject( ) instead to wait for daemon_cond to be
5409         signalled.
5410
5411 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5412
5413         * configure.in: Specifically define HAVE_BACKTRACE if building
5414         for MinGW.
5415         * include/win32.h: Remove HAVE_BACKTRACE definition.
5416         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5417         * configure: Rebuilt.
5418
5419 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5420
5421         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5422         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5423         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5424         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5425         * Makefile.in, configure: Rebuilt.
5426
5427 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5428
5429         Fixes PR java/9253:
5430         * java/io/natFileWin32.cc (performList): Append only "*.*"
5431         if the canonical file path already has a "\" at the end.
5432
5433 2003-01-24  Tom Tromey  <tromey@redhat.com>
5434
5435         * defineclass.cc (handleMethodsEnd): Precompute code for static
5436         method.
5437         (handleCodeAttribute): Likewise.
5438         * resolve.cc (ncode): Use run_class for unsynchronized static
5439         methods.
5440         * include/java-interp.h (class _Jv_InterpMethod): Declare
5441         run_class.
5442         * interpret.cc (run_synch_class): Initialize class.
5443         (run) [insn_invokestatic]: Don't initialize class.
5444         [insn_anewarray]: Likewise.
5445         [insn_multianewarray]: Likewise.
5446         (run_class): New function.
5447
5448 2003-01-24  Tom Tromey  <tromey@redhat.com>
5449
5450         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5451         comment.
5452
5453 2003-01-22  Andrew Haley  <aph@redhat.com>
5454
5455         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5456         * configure.host (CHECKREFSPEC): Define for x86_64.
5457
5458 2003-01-21  Tom Tromey  <tromey@redhat.com>
5459
5460         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5461         search at 2, not 3.
5462
5463 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5464
5465         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5466         looking at any characters.
5467         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5468         be used.
5469         (isAbsolute): Check path's length as well.
5470
5471 2003-01-17  Mark Wielaard  <mark@klomp.org>
5472
5473         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5474         (nat_source_files): Add natVMObjectStreamClass.cc.
5475         * Makefile.in: Regenerated.
5476         * gcj/javaprims.h (namespace java): Regenerated.
5477         * java/io/ObjectStreamClass.java (getClassUID): Call
5478         VMObjectStreamClass.hasClassInitializer().
5479         (hasClassInitializer): Removed.
5480         * java/io/VMObjectStreamClass.java: New class.
5481         * java/io/natVMObjectStreamClass.cc: New file.
5482         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5483
5484 2003-01-16  Mark Wielaard  <mark@klomp.org>
5485
5486         * java/net/SocketImpl.java (toString): Don't explicitly call
5487         toString() on possible null address.
5488
5489 2003-01-16  Michael Koch  <konqueror@gmx.de>
5490
5491         * java/net/MulticastSocket.java
5492         (setInterface): Reindented.
5493
5494 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5495
5496         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5497         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5498         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5499         translateY arguments.  Implement.
5500         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5501         down translation arguments.
5502         (drawPolyline, drawPolygon): Fix incorrect tests.
5503         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5504         translateX and translateY arguments.
5505
5506 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5507
5508         * Makefile.in: Rebuilt.
5509         * Makefile.am (xlib_includes): New macro.
5510         (INCLUDES): Use it.
5511
5512 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5513
5514         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5515         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5516         16-bit display mode.
5517
5518 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5519
5520         * java/awt/CardLayout.java (show): Rewrote.
5521         (gotoComponent): Removed `target' argument.  Simplified code.
5522         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5523         Changed all callers.
5524         (NONE): Removed.
5525         
5526 2003-01-14  Michael Koch  <konqueror@gmx.de>
5527
5528         * java/net/InetSocketAddress.java
5529         (serialVersionUID): New member variable.
5530         * java/net/NetPermission.java
5531         (NetPermission): Dont implement java.io.Serialization directly.
5532         * java/net/SocketAddress.java:
5533         (serialVersionUID): Documentation added.
5534         
5535 2003-01-14  Michael Koch  <konqueror@gmx.de>
5536
5537         * java/awt/Label.java
5538         (Label): Implements javax.accessibility.Accessible;
5539         * java/awt/List.java
5540         (List): Implements javax.accessibility.Accessible;
5541         * java/awt/ScrollPane.java
5542         (ScrollPane): Implements javax.accessibility.Accessible;
5543         * java/awt/Scrollbar.java
5544         (Scrollbar): Implements javax.accessibility.Accessible;
5545         * java/awt/TextComponent.java
5546         (setCaretPosition): Throw exception, documentation added.
5547         * java/awt/Toolkit.java:
5548         Added some newlines in method documentations.
5549         (createButton): Exception documentation added.
5550         (createTextField): Exception documentation added.
5551         (createLabel): Exception documentation added.
5552         (createList): Exception documentation added.
5553         (createCheckbox): Exception documentation added.
5554         (createScrollbar): Exception documentation added.
5555         (createScrollPane): Exception documentation added.
5556         (createTextArea): Exception documentation added.
5557         (createChoice): Exception documentation added.
5558         (createFrame): Exception documentation added.
5559         (createWindow): Exception documentation added.
5560         (createDialog): Exception documentation added.
5561         (createMenuBar): Exception documentation added.
5562         (createMenu): Exception documentation added.
5563         (createMenuItem): Exception documentation added.
5564         (createFileDialog): Exception documentation added.
5565         (createCheckboxMenuItem): Exception documentation added.
5566         (loadSystemColors): Exception documentation added.
5567         (setDynamicLayout): Exception documentation added.
5568         (isDynamicLayoutSet): Exception documentation added.
5569         (isDynamicLayoutActive): Exception documentation added.
5570         (getScreenSize): Exception documentation added.
5571         (getScreenResolution): Exception documentation added.
5572         (getScreenInsets): Exception documentation added.
5573         (getColorModel): Exception documentation added.
5574         (getSystemClipboard): Exception documentation added.
5575         (getSystemSelection): Exception documentation added.
5576         (getMenuShortcutKeyMask): Exception documentation added.
5577         (getSystemEventQueue): Exception documentation added.
5578         * java/awt/Window.java:
5579         Reindented some code.
5580         (Window): Centralized implementation, documentation added.
5581         (finalize): Documentation added.
5582         (hide): Fixed typo in comment.
5583         (getWindowListeners): Documentation added.
5584         * java/awt/color/ColorSpace.java
5585         (toRGB): Documentation added.
5586         * java/awt/color/ICC_ColorSpace.java
5587         (ICC_ColorSpace): Documentation added.
5588         (toRGB): Throw exception, documentation added.
5589         (fromRGB): Throw exception, documentation added.
5590         (toCIEXYZ): Documentation added.
5591         (fromCIEXYZ): Documentation added.
5592         (getMinValue): Documentation added.
5593         (getMaxValue): Documentation added.
5594         * java/awt/geom/Dimension2D.java
5595         (clone): Documentation added.
5596         * java/awt/geom/GeneralPath.java
5597         (clone): Documentation added.
5598         * java/awt/geom/Line2D.java
5599         (clone): Documentation added.
5600         * java/awt/geom/QuadCurve2D.java
5601         (clone): Documentation added.
5602         * java/awt/image/ColorModel.java
5603         (ColorModel): Throw exception, documentation added.
5604         * java/awt/image/ImageFilter.java
5605         (clone): Doesnt throw CloneNotSupportedException.
5606
5607 2003-01-14  Andrew Haley  <aph@redhat.com>
5608
5609         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5610         in a try block.
5611
5612 2003-01-10  Andrew Haley  <aph@redhat.com>
5613
5614         * include/dwarf2-signal.h: Remove x86_64.
5615         * configure.host (x86_64 DIVIDESPEC): Remove.
5616         * include/x86_64-signal.h: New file.
5617         * configure.in: Regenerate.
5618
5619 2003-01-10  Michael Koch  <konqueror@gmx.de>
5620
5621         * java/net/DatagramSocket.java
5622         (ch): Description added.
5623         (remotePort): Initialize with -1.
5624         (connect): Doesnt throws SocketException.
5625         * java/net/MulticastSocket.java
5626         (setInterface): Merge with Classpath.
5627         * java/net/ServerSocket.java
5628         (closed): New member variable.
5629         (bind): Check if socket is closed.
5630         (close): Close an associated channel too, set new value to closed.
5631         (isBound): Reindented.
5632         (isClosed): Implemented.
5633         * java/net/Socket.java
5634         (closed): New member variable.
5635         (bind): Check if socket is closed.
5636         (connect): Check if socket is closed.
5637         (close): Close an associated channel too, set new value to closed.
5638         (isClosed): Implemented.
5639
5640 2003-01-10  Michael Koch  <konqueror@gmx.de>
5641
5642         * java/awt/DisplayMode.java
5643         (equals): Fixed argument type and implementation.
5644
5645 2003-01-07  Tom Tromey  <tromey@redhat.com>
5646
5647         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5648         JV_HASH_SYNCHRONIZATION.
5649         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5650         JV_HASH_SYNCHRONIZATION.
5651
5652 2003-01-07  Michael Koch  <konqueror@gmx.de>
5653  
5654         * java/net/DatagramSocket.java:
5655         Added classpath license info.
5656         (DatagramSocket): Merged description with classpath.
5657         (close): Merged description with classpath.
5658         (getChannel): Merged description with classpath.
5659         (getInetAddress): Merged description with classpath.
5660         (getPort): Merged description with classpath.
5661         (getLocalAddress): Merged description with classpath.
5662         (getLocalPort): Merged description with classpath.
5663         (getSoTimeout): Merged description with classpath.
5664         (setSoTimeout): Merged description with classpath.
5665         (getSendBufferSize): Merged description with classpath.
5666         (setSendBufferSize): Merged description with classpath.
5667         (getReceiveBufferSize): Merged description with classpath.
5668         (setReceiveBufferSize): Merged description with classpath.
5669         
5670 2003-01-04  Tom Tromey  <tromey@redhat.com>
5671
5672         * java/awt/List.java: Merged with Classpath.
5673
5674 2003-01-03  Mark Wielaard  <mark@klomp.org>
5675
5676         * java/io/FileDescriptor.java (position): New private field.
5677         * java/io/natFileDescriptorPosix.cc (write): Up position.
5678         (setLength): Use and set position.
5679         (seek): Set position.
5680         (getFilePointer): Return position.
5681         (read): Up position.
5682
5683 2003-01-03  Mark Wielaard  <mark@klomp.org>
5684
5685         Merge with Classpath:
5686         * java/io/ObjectStreamClass.java (lookup): Split method and call
5687         lookupForClassObject().
5688         (lookupForClassObject): New method.
5689         (isProxyClass): New field.
5690         (setClass): Set isProxyClass, add object to classLookupTable, set
5691         superClass and calculateOffsets.
5692         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5693         and not a proxy class.
5694         (setFields): Set accessible true for serialPersistentFields.
5695         (getClassUID): Same for suid. And check if suid is of type long.
5696         (hasClassInitializer): Don't throw NoSuchMethodError.
5697
5698 2003-01-03  Mark Wielaard  <mark@klomp.org>
5699
5700         * java/io/FileInputStream.java (finalize): Don't explicitly
5701         finalize FileDescriptor.
5702
5703 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5704
5705         * configure.host (sparc*-*): Enable bytecode interpreter.
5706
5707 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5708
5709         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5710         Don't throw RemoteException.
5711         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5712         throw RemoteException.
5713
5714 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5715
5716         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5717         proxyHost): New static fields.
5718         (<clinit>): Initialize new fields.
5719         (connect): Use proxy if necessary.
5720         (usingProxy): Implement.
5721
5722 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5723
5724         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5725         (TreeIterator.remove): Prefer IllegalStateException over
5726         ConcurrentModificationException, to match Sun.
5727
5728 2002-12-22  Anthony Green  <green@redhat.com>
5729
5730         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5731
5732 2003-01-02  Mark Wielaard  <mark@klomp.org>
5733
5734         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5735         public.
5736         (HTTP_USE_PROXY): Add field.
5737         (getResponseVals): Only set responseCode when not yet explicitly
5738         set by subclass.
5739
5740 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5741             Mark Wielaard  <mark@klomp.org>
5742
5743         * java/util/zip/ZipFile.java (entries): Now HashMap.
5744         (readLeShort(DataInput, byte[])): Read from given byte array.
5745         (readLeInt(DataInput, byte[]): Likewise.
5746         (readLeShort(byte[] b, int off)): New method.
5747         (readLeInt(byte[] b, int off)): Likewise.
5748         (readEntries): Use byte arrays to read info in bigger chunks.
5749         (getEntries): Return HashMap.
5750         (getEntry): Use HashMap.
5751         (locBuf): New private field.
5752         (checkLocalHeader): Use locBuf to read info in one chunk.
5753         (getInputStream): Use entries HashMap, wrap PartialInputStream
5754         in BufferedInputStream.
5755         (ZipEntryEnumeration): Use HashMap and Interator.
5756
5757 2003-01-02  Mark Wielaard  <mark@klomp.org>
5758             Jeroen Frijters  <jeroen@sumatra.nl>
5759
5760         * java/net/URLClassLoader.java (Resource.getCodeSource):
5761         Fix check certs == null.
5762         (getCanonicalFileURL): Removed method.
5763         (JarURLLoader): Don't call removed method.
5764         (FileURLLoader): Likewise.
5765         (FileURLLoader.getResource): Don't canonicalize file name.
5766
5767 2003-01-01  Tom Tromey  <tromey@redhat.com>
5768
5769         * Makefile.in: Rebuilt.
5770         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5771         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5772         java/awt/BufferCapabilities.java, java/awt/Button.java,
5773         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5774         java/awt/Container.java, java/awt/Cursor.java,
5775         java/awt/EventQueue.java, java/awt/FileDialog.java,
5776         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5777         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5778         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5779         java/awt/Scrollbar.java, java/awt/TextArea.java,
5780         java/awt/TextField.java, java/awt/color/CMMException.java,
5781         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5782         java/awt/color/ProfileDataException.java,
5783         java/awt/datatransfer/Clipboard.java,
5784         java/awt/datatransfer/DataFlavor.java,
5785         java/awt/datatransfer/FlavorMap.java,
5786         java/awt/datatransfer/SystemFlavorMap.java,
5787         java/awt/dnd/DragGestureEvent.java,
5788         java/awt/dnd/DragGestureRecognizer.java,
5789         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5790         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5791         java/awt/im/InputMethodHighlight.java,
5792         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5793         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5794
5795         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5796         `op' to BufferedImageOp.
5797
5798 2002-12-31  Tom Tromey  <tromey@redhat.com>
5799
5800         Fix for PR libgcj/7416:
5801         * javax/naming/InitialContext.java (init): Use
5802         gnu.classpath.home.url.
5803         * java/security/Security.java: Use new properties.
5804         (loadProviders): Accept base url; use it.
5805         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5806         gnu.classpath.home.url.
5807         (gnu.classpath.home.url): Define.
5808         (gnu.classpath.vm.shortname): Likewise.
5809
5810 2002-12-31  Tom Tromey  <tromey@redhat.com>
5811             Ranjit Mathew  <rmathew@hotmail.com>
5812
5813         Fix for PR libgcj/8997:
5814         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5815         Include platform.h.
5816         * include/posix.h (_Jv_platform_usleep): New function.
5817         * include/win32.h (_Jv_platform_usleep): New function.
5818
5819 2002-12-29  Tom Tromey  <tromey@redhat.com>
5820
5821         * gcj/javaprims.h: Updated.
5822         * scripts/classes.pl (scan): Removed stray semicolon.
5823
5824 2002-12-30  Mark Wielaard  <mark@klomp.org>
5825
5826         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5827         if zero or smaller.
5828
5829 2002-12-30  Mark Wielaard  <mark@klomp.org>
5830
5831         * java/util/Properties (formatForOutput): Don't fall through to
5832         default case after escaping character.
5833
5834 2002-12-30  Mark Wielaard  <mark@klomp.org>
5835
5836         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5837         against count.
5838
5839 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5840
5841         * boehm.cc: Remove stray semicolon.
5842         * interpret.cc: Likewise.
5843         * prims.cc: Likewise.
5844         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5845         earlier to ensure default arguments are processed.
5846         * gcj/array.h (JArray): Add forward declaration.
5847         (elements): Likewise.
5848         * gcj/javaprim.h: Remove stray semicolons.
5849         * include/bohm-gc.h: Likewise.
5850         * include/jni.h: Likewise.
5851         * include/jvm.h: Likewise.
5852         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5853         
5854 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5855
5856         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5857         of catch_type.
5858         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5859         idt tables after initializing superclass.
5860         * java/lang/natClassLoader.cc (uaddr): New typedef.
5861         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5862         if they are constant pool indicies.  Don't link vtable, otable yet.
5863
5864 2002-12-21  Anthony Green  <green@redhat.com>
5865
5866         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5867         libraries.
5868         * Makefile.in: Rebuilt.
5869
5870 2002-12-19  Anthony Green  <green@redhat.com>
5871
5872         * Makefile.am (ordinary_java_source_files): Add
5873         org/xml/sax/helpers/NewInstance.java.
5874         * Makefile.in: Rebuilt.
5875         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5876         org/xml/sax/helpers/package.html: New files.
5877         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5878         http://www.saxproject.org.
5879
5880 2002-12-19  Andrew Haley  <aph@redhat.com>
5881
5882         * java/util/natResourceBundle.cc: Include
5883         ArrayIndexOutOfBoundsException.h.
5884         (getCallingClassLoader): Don't put upper bound on stack search.
5885         Catch ArrayIndexOutOfBoundsException.
5886
5887 2002-12-19  Tom Tromey  <tromey@redhat.com>
5888
5889         * libtool-version: Increased `current'.
5890
5891 2002-12-19  Tom Tromey  <tromey@redhat.com>
5892
5893         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5894         comment.
5895         * java/lang/ClassLoader.java (defineClass): Use chained
5896         exception when rethrowing.
5897         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5898         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5899         constants.
5900         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5901         (_Jv_PrepareClass): Use it.
5902         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5903         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5904         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5905         (Class): _Jv_PrepareMissingMethods now friend.
5906         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5907         Record `NULL' for system class loader.
5908         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5909         system class loader.
5910         (_Jv_FindClassInCache): Likewise.
5911         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5912         (_Jv_FindClass): Special case system class loader.
5913         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5914         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5915         vtable slots.
5916         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5917         in a final class.
5918         (_getDeclaredMethod): Don't return synthetic methods.
5919         (getDeclaredMethods): Likewise.
5920         (_getMethod): Likewise.
5921         (_getMethods): Likewise.
5922
5923 2002-12-18  Raif Naffah  <raif@fl.net.au>
5924
5925         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5926         canonical form after divide().
5927         (modInverse): Likewise.
5928
5929 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5930             Mark Wielaard  <mark@klomp.org>
5931
5932         * java/security/SecurityRandom (digest): Removed field.
5933         (SecureRandom): Check all providers for case-insensitive SecureRandom
5934         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5935         if necessary.
5936         (getInstance(String,Provider,boolean): New method.
5937         (getInstance(String)): Use new method.
5938         (getInstance(String,String)): Likewise.
5939         (getInstance(String,Provider)): Likewise.
5940
5941 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5942
5943         * java/security/Security.java (loadProviders): Increment i only once.
5944
5945 2002-12-12  Mark Wielaard  <mark@klomp.org>
5946
5947         * java/lang/ClassLoader.java (resolveClass0): Transform
5948         ClassNotFoundException to NoClassDefFoundError. Transform all other
5949         throwables to LinkageError.
5950
5951 2002-12-11  Tom Tromey  <tromey@redhat.com>
5952
5953         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5954
5955         * java/lang/ClassLoader.java (loadedClasses): New field.
5956         (defineClass): Fixed indentation.  Put new class in
5957         loadedClasses.
5958         (findLoadedClass): Implement here.
5959         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5960
5961 2002-12-10  Tom Tromey  <tromey@redhat.com>
5962
5963         * Makefile.in: Rebuilt.
5964         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5965         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5966         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5967         * java/lang/natClassLoader.cc
5968         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5969
5970 2002-12-10  Mark Wielaard  <mark@klomp.org>
5971             Tom Tromey  <tromey@redhat.com>
5972
5973         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5974         (JarURLLoader): Use it.
5975         (FileURLLoader): Likewise.
5976         (JarURLResource.getURL): Use chained exception.
5977         (FileResource.getURL): Likewise.
5978         (FileURLLoader.getResource): Use canonical file name.
5979         (addURL): Indentation fix.
5980
5981 2002-12-10  Tom Tromey  <tromey@redhat.com>
5982
5983         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5984         From Laurent Bardet <l.bardet@magic.fr>.
5985
5986 2002-12-09  Tom Tromey  <tromey@redhat.com>
5987
5988         * include/win32.h (_Jv_platform_solib_prefix): New define.
5989         (_Jv_platform_solib_suffix): Likewise.
5990         * include/posix.h (_Jv_platform_solib_prefix): New define.
5991         (_Jv_platform_solib_suffix): Likewise.
5992         * java/lang/natRuntime.cc: Include StackTrace.h.
5993         (_load): Use findLibrary and new platform defines.
5994         (nativeGetLibname): Use new platform defines.
5995
5996         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5997         `t' won't be null.
5998
5999 2002-12-08  Mark Wielaard  <mark@klomp.org>
6000
6001         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6002         cache remote jar files.
6003         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6004         add File.separator to URL when it is a directory.
6005         * java/lang/ClassLoader.java: Add Classpath javadoc.
6006         (parent): final.
6007         (getParent): Add (disabled) security check.
6008         (findLibrary): New default method.
6009         * java/net/JarURLConnection.java (getManifest): Implement.
6010         (getInputStream): Only create InputStream when entry exists.
6011         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6012         when they exist.
6013         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6014
6015 2002-12-08  Mark Wielaard  <mark@klomp.org>
6016
6017         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6018         (lastDefaultLocale): New field.
6019         (getBundle): When Locale.getDefault != lastDefaultLocale reset
6020         resourceBundleCache.
6021
6022 2002-12-06  Mark Wielaard  <mark@klomp.org>
6023
6024         * java/net/InetAddress.java (toString): Use hostname when not null,
6025         don't do an explicit reverse getHostName() lookup.
6026         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6027         NullPointerException.
6028
6029 2002-12-06  Tom Tromey  <tromey@redhat.com>
6030
6031         * include/java-interp.h (class _Jv_InterpMethod): Added
6032         JV_MARKOBJ_DECL.
6033         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
6034         mark `prepared' field of interpreted method.
6035         * interpret.cc (compile): Use _Jv_AllocBytes.
6036
6037 2002-12-05  Andrew Haley  <aph@redhat.com>
6038
6039         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6040         #ifdef (HAVE_BACKTRACE) around the whole function body.
6041
6042 2002-12-05  Tom Tromey  <tromey@redhat.com>
6043
6044         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6045         * resolve.cc: Don't include AbstractMethodError.h.
6046         (_Jv_abstractMethodError): Removed.
6047         * defineclass.cc (handleMethodsBegin): Initialize method index to
6048         -1.
6049         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6050         method index for "new" final method.
6051         (_Jv_SetVTableEntries): Compare index against -1 instead of using
6052         isVirtualMethod.  Added `flags' argument.
6053         (_Jv_MakeVTable): Throw exception for abstract method in concrete
6054         class.
6055
6056 2002-12-04  Tom Tromey  <tromey@redhat.com>
6057
6058         * java/net/SocketPermission.java (hashCode): Rewrote.
6059
6060 2002-12-04  Tom Tromey  <tromey@redhat.com>
6061
6062         * Makefile.in: Rebuilt.
6063         * Makefile.am (nat_source_files): Added natVMSecurityManager,
6064         natResourceBundle.
6065         * java/util/ResourceBundle.java (Security): Removed.
6066         (getCallingClassLoader): Now native.
6067         * java/util/natResourceBundle.cc: New file.
6068         * java/lang/natVMSecurityManager.cc: New file.
6069         * java/lang/VMSecurityManager.java (getClassContext): Now native.
6070
6071 2002-12-03  Mark Wielaard  <mark@klomp.org>
6072
6073         * java/util/jar/JarFile.java (manifest): Not final.
6074         (manifestRead): New field.
6075         (JarFile): Don't read Manifest in constructor.
6076         (getManifest): New method.
6077         (JarEnumeration.nextElement): Use new method.
6078         (getEntry): Likewise.
6079         * java/util/zip/ZipFile.java (name): Final.
6080         (raf): Likewsie.
6081         (entries): Change type to Hashtable.
6082         (closed): New field.
6083         (ZipFile): Don't read enties in constructor.
6084         (readEntries): Use Hashtable.
6085         (close): Set new close flag and set entries to null inside
6086         synchronized block.
6087         (entries): Contruct enumeration using new getEntries() method and
6088         entries Hashtable.
6089         (getEntryIndex): Removed.
6090         (getEntries): New method.
6091         (getEntry): Use new getEntries() method and entries Hastable.
6092         (getInputStream): Likewise.
6093         (size): Return getEntries().size().
6094         (ZipEntryEnumeration): Wrap entries Hashtable elements.
6095         * java/util/zip/ZipEntry.java (cal): Don't initialize.
6096         (time): Removed
6097         (dostime): New field.
6098         (zipFileIndex): Removed.
6099         (ZipEntry(ZipEntry)): Copy dostime.
6100         (setDOSTime): Now final and doesn't convert dos time.
6101         (getDOSTime): Likewise.
6102         (setTime): Convert dos time.
6103         (getTime): Likewise.
6104         (getCalendar): New method.
6105         (setExtra): Use setTime().
6106         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6107
6108 2002-12-03  Tom Tromey  <tromey@redhat.com>
6109
6110         * java/lang/Character.java (forDigit): Formatting fix.
6111
6112 2002-12-03  Raif Naffah  <raif@fl.net.au>
6113
6114         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6115         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6116         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6117
6118 2002-12-03  Andrew Haley  <aph@redhat.com>
6119
6120         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6121         _Jv_PushClass.
6122         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6123         (_Jv_PopClass): New.
6124         (_Jv_PushClass): New.
6125         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6126         discover the ClassLoader of our caller.
6127         (_Jv_CheckArrayStore): Don't check that a class is assignment
6128         compatible with Object.
6129         * java/lang/natVMTHrowable.cc: Delete.
6130         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6131         java.lang.VMThrowable.
6132         (StackTrace(), StackTrace(int)): New constructors.
6133         (classAt, methodAt, update, methodAtAddress): New methods.
6134         (map): New field.
6135         * java/lang/VMThrowable.java: Use StackTrace instead of
6136         natVMTHrowable.
6137         * java/lang/Class.h (getClassLoaderInternal): New.
6138         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6139         Be friendly with gnu::gcj::runtime::StackTrace.
6140         (Object.chain): New field.
6141         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6142         gnu::gcj::runtime::StackTrace.
6143         * gnu/gcj/runtime/natStackTrace.cc: New file.
6144         * gnu/gcj/runtime/MethodRef.java: New file.
6145         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6146         instead of getClassLoader().
6147         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6148         java::lang::VMThrowable.
6149         * Makefile.am (core_java_source_files): Add MethodRef.java,
6150         StackTrace.java.
6151         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6152         * Makefile.in: Rebuild.
6153
6154 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6155
6156         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6157         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6158         yes also for sh-linux* and sh[34]*-linux*.
6159         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6160         set SIGNAL_HANDLER to use DWARF2 exception for them.
6161         * configure: Regenerate.
6162
6163 2002-12-02  Tom Tromey  <tromey@redhat.com>
6164
6165         * jni.cc: Added `name' argument.
6166         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6167         `const char *' argument.
6168         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6169
6170 2002-12-01  Tom Tromey  <tromey@redhat.com>
6171
6172         Bug compatibility, for PR libgcj/8738:
6173         * java/io/CharArrayWriter.java (close): Do nothing.
6174         (flush): Likewise.
6175         (reset): Don't touch `closed'.
6176         (write(int)): Don't throw IOException.
6177         (write(char[],int,int)): Likewise.
6178         (write(String,int,int)): Likewise.
6179         (closed): Removed.
6180
6181 2002-12-01  Mark Wielaard  <mark@klomp.org>
6182
6183         * java/lang/SecurityManager.java: Remerge comments, indenting and
6184         checkXXX methods with Classpath.
6185
6186 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6187
6188         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6189         getNormalizedComponents): Fix calculation which was using one too
6190         many bits in the unnormalized format.
6191
6192 2002-11-29  Gary Benson  <gbenson@redhat.com>
6193
6194         For PR libgcj/8759:
6195         * java/beans/Introspector.java (flushCaches): New method.
6196         (flushFromCaches): Likewise.
6197
6198 2002-11-29  Michael Koch <konqueror@gmx.de>
6199
6200         * java/nio/channels/DatagramChannel.java
6201         (open): Added exception documentation.
6202         (write): Added exception documentation.
6203         (connect): Added exception documentation.
6204         (disconnect): Added exception documentation.
6205         (isConnected): Added exception documentation.
6206         (read): Added exception documentation.
6207         (receive): Added exception documentation.
6208         (send): Added exception documentation.
6209         (validOps): Added exception documentation.
6210         * java/nio/channels/SocketChannel.java
6211         (open): Added exception documentation.
6212         (read): Added exception documentation.
6213         (write): Added exception documentation.
6214         (connect): Added exception documentation.
6215         (finishConnect): Added exception documentation.
6216
6217 2002-11-29  Michael Koch <konqueror@gmx.de>
6218
6219         * gnu/java/nio/DatagramChannelImpl:
6220         (fd): New member variable to store file descriptor of socket.
6221         * gnu/java/nio/SelectionKeyImpl.java:
6222         (ops): Removed.
6223         (readyOps): New member variable.
6224         (interestOps): New member variable.
6225         (readyOps): Implemented.
6226         (readyOps): New method to set member variable readyOps.
6227         (interestOps): Replaced ops by interestOps.
6228         * gnu/java/nio/SelectorImpl.java:
6229         (SelectorImpl): Initialize key sets.
6230         (select): Call select with -1 instead of Long.MAX_VALUE).
6231         (java_do_select): Make it a native method.
6232         (getFDsAsArray): New helper method.
6233         (select): Remove canceled keys, give only interested file discriptors
6234         to java_do_select, set ready ops.
6235         (add): No need to initialize keys set here.
6236         (add_selected): No need to initialize selected set here.
6237         (deregisterCanceledKeys): New helper method.
6238         (register): Set interest ops, set attachments, added handling of datagram
6239         channels.
6240         * gnu/java/nio/ServerSocketChannelImpl:
6241         (SocketAccept): Renamed from NioSocketAccept.
6242         (implConfigureBlocking): Implemented.
6243         (accept): Use SocketAccept instead of NioSocketAccept.
6244         * gnu/java/nio/SocketChannelImpl:
6245         Reactivate native methods.
6246
6247 2002-11-29  Michael Koch <konqueror@gmx.de>
6248
6249         * gnu/java/nio/natByteBufferImpl.cc,
6250         gnu/java/nio/natCharBufferImpl.cc,
6251         gnu/java/nio/natDoubleBufferImpl.cc,
6252         gnu/java/nio/natFloatBufferImpl.cc,
6253         gnu/java/nio/natIntBufferImpl.cc,
6254         gnu/java/nio/natLongBufferImpl.cc,
6255         gnu/java/nio/natSelectorImpl.cc,
6256         gnu/java/nio/natServerSocketChannelImpl.cc,
6257         gnu/java/nio/natShortBufferImpl.cc,
6258         gnu/java/nio/natSocketChannelImpl.cc:
6259         New files that implement native functionalities.
6260
6261 2002-11-29  Michael Koch <konqueror@gmx.de>
6262
6263         * gnu/java/nio/ByteBufferImpl.java
6264         (ByteBufferImpl): Moved position() after limit.
6265         (nio_*): Use native implementation.
6266         * gnu/java/nio/CharBufferImpl.java:
6267         Reformated.
6268         (endian): New member variable string endianess of buffer.
6269         (CharBufferImpl): Moved position() after limit.
6270         (nio_*): Use native implementation.
6271         (subSequence): Implemented.
6272         * gnu/java/nio/DoubleBufferImpl.java
6273         (DoubleBufferImpl): Moved position() after limit.
6274         (nio_*): Use native implementation.
6275         * gnu/java/nio/FloatBufferImpl.java
6276         Reformated.
6277         (FloatBufferImpl): Moved position() after limit.
6278         (nio_*): Use native implementation.
6279         * gnu/java/nio/IntBufferImpl.java
6280         Added needed imports, Reformated.
6281         (IntBufferImpl): Moved position() after limit.
6282         (nio_*): Use native implementation.
6283         * gnu/java/nio/LongBufferImpl.java
6284         Reformated.
6285         (LongBufferImpl): Moved position() after limit.
6286         (nio_*): Use native implementation.
6287         * gnu/java/nio/ShortBufferImpl.java
6288         Reformated.
6289         (ShortBufferImpl): Moved position() after limit.
6290         (nio_*): Use native implementation.
6291
6292 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6293
6294         * java/util/Locale.java (toString): Improve efficiency if country
6295         and variant are both empty.
6296
6297 2002-11-26  Tom Tromey  <tromey@redhat.com>
6298
6299         * verify.cc (pop_init_ref): New method.
6300         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6301         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6302         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6303         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6304         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6305         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6306         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6307         let `this' argument be uninitialized.  Don't let `null' be passed
6308         as `this' to construtor.
6309
6310 2002-11-26  Mark Wielaard  <mark@klomp.org>
6311
6312         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6313         * javax/transaction/HeuristicMixedException.java: Likewise.
6314         * javax/transaction/HeuristicRollbackException.java: Likewise.
6315         * javax/transaction/InvalidTransactionException.java: Likewise.
6316         * javax/transaction/NotSupportedException.java: Likewise.
6317         * javax/transaction/RollbackException.java: Likewise.
6318         * javax/transaction/Status.java: Likewise.
6319         * javax/transaction/Synchronization.java: Likewise.
6320         * javax/transaction/SystemException.java: Likewise.
6321         * javax/transaction/Transaction.java: Likewise.
6322         * javax/transaction/TransactionManager.java: Likewise.
6323         * javax/transaction/TransactionRequiredException.java: Likewise.
6324         * javax/transaction/TransactionRolledbackException.java: Likewise.
6325         * javax/transaction/UserTransaction.java: Likewise.
6326         * javax/transaction/xa/XAException.java: Likewise.
6327         * javax/transaction/xa/XAResource.java: Likewise.
6328         * javax/transaction/xa/Xid.java: Likewise.
6329
6330 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6331
6332         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6333         define.
6334         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6335         * include/posix.h (socklen_t): Define if not already defined.
6336
6337 2002-11-25  Tom Tromey  <tromey@redhat.com>
6338
6339         * verify.cc (type::compatible): Backed out broken change.
6340
6341         * verify.cc (type::compatible): Check initialization status
6342         first.
6343         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6344         Don't use NULLCHECK.
6345
6346 2002-11-23  H.J. Lu <hjl@gnu.org>
6347
6348         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6349         Include ../config/accross.m4.
6350         * aclocal.m4; Rebuild.
6351         * configure: Likewise.
6352
6353 2002-11-23  Mark Wielaard  <mark@klomp.org>
6354
6355         * javax/naming/AuthenticationException.java: Update copyright header.
6356         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6357         * javax/naming/Binding.java: Likewise.
6358         * javax/naming/CannotProceedException.java: Likewise.
6359         * javax/naming/CommunicationException.java: Likewise.
6360         * javax/naming/CompositeName.java: Likewise.
6361         * javax/naming/CompoundName.java: Likewise.
6362         * javax/naming/ConfigurationException.java: Likewise.
6363         * javax/naming/Context.java: Likewise.
6364         * javax/naming/ContextNotEmptyException.java: Likewise.
6365         * javax/naming/InitialContext.java: Likewise.
6366         * javax/naming/InsufficientResourcesException.java: Likewise.
6367         * javax/naming/InterruptedNamingException.java: Likewise.
6368         * javax/naming/LimitExceededException.java: Likewise.
6369         * javax/naming/LinkException.java: Likewise.
6370         * javax/naming/LinkLoopException.java: Likewise.
6371         * javax/naming/LinkRef.java: Likewise.
6372         * javax/naming/MalformedLinkException.java: Likewise.
6373         * javax/naming/NameAlreadyBoundException.java: Likewise.
6374         * javax/naming/NameClassPair.java: Likewise.
6375         * javax/naming/NameNotFoundException.java: Likewise.
6376         * javax/naming/NameParser.java: Likewise.
6377         * javax/naming/NamingEnumeration.java: Likewise.
6378         * javax/naming/NamingSecurityException.java: Likewise.
6379         * javax/naming/NoInitialContextException.java: Likewise.
6380         * javax/naming/NoPermissionException.java: Likewise.
6381         * javax/naming/NotContextException.java: Likewise.
6382         * javax/naming/OperationNotSupportedException.java: Likewise.
6383         * javax/naming/PartialResultException.java: Likewise.
6384         * javax/naming/Reference.java: Likewise.
6385         * javax/naming/Referenceable.java: Likewise.
6386         * javax/naming/ReferralException.java: Likewise.
6387         * javax/naming/ServiceUnavailableException.java: Likewise.
6388         * javax/naming/SizeLimitExceededException.java: Likewise.
6389         * javax/naming/TimeLimitExceededException.java: Likewise.
6390         * javax/naming/directory/Attribute.java: Likewise.
6391         * javax/naming/directory/AttributeInUseException.java: Likewise.
6392         * javax/naming/directory/AttributeModificationException.java: Likewise.
6393         * javax/naming/directory/Attributes.java: Likewise.
6394         * javax/naming/directory/BasicAttribute.java: Likewise.
6395         * javax/naming/directory/BasicAttributes.java: Likewise.
6396         * javax/naming/directory/DirContext.java: Likewise.
6397         * javax/naming/directory/InitialDirContext.java: Likewise.
6398         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6399         Likewise.
6400         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6401         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6402         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6403         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6404         * javax/naming/directory/ModificationItem.java: Likewise.
6405         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6406         * javax/naming/directory/SchemaViolationException.java: Likewise.
6407         * javax/naming/directory/SearchControls.java: Likewise.
6408         * javax/naming/directory/SearchResult.java: Likewise.
6409         * javax/naming/event/EventContext.java: Likewise.
6410         * javax/naming/event/EventDirContext.java: Likewise.
6411         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6412         * javax/naming/event/NamingEvent.java: Likewise.
6413         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6414         * javax/naming/event/NamingListener.java: Likewise.
6415         * javax/naming/event/ObjectChangeListener.java: Likewise.
6416         * javax/naming/ldap/Control.java: Likewise.
6417         * javax/naming/ldap/ControlFactory.java: Likewise.
6418         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6419         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6420         * javax/naming/ldap/HasControls.java: Likewise.
6421         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6422         * javax/naming/ldap/LdapContext.java: Likewise.
6423         * javax/naming/ldap/LdapReferralException.java: Likewise.
6424         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6425         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6426         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6427         * javax/naming/spi/DirObjectFactory.java: Likewise.
6428         * javax/naming/spi/DirStateFactory.java: Likewise.
6429         * javax/naming/spi/DirectoryManager.java: Likewise.
6430         * javax/naming/spi/InitialContextFactory.java: Likewise.
6431         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6432         * javax/naming/spi/NamingManager.java: Likewise.
6433         * javax/naming/spi/ObjectFactory.java: Likewise.
6434         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6435         * javax/naming/spi/ResolveResult.java: Likewise.
6436         * javax/naming/spi/Resolver.java: Likewise.
6437         * javax/naming/spi/StateFactory.java: Likewise.
6438
6439         * javax/naming/spi/NamingManager.java (ofb): Package private.
6440
6441 2002-11-21  Mark Wielaard  <mark@klomp.org>
6442
6443         * java/net/URL.java: Merge with Classpath (partly).
6444         * java/net/URLStreamHandler: Merge with Classpath.
6445
6446 2002-11-22  Michael Koch <konqueror@gmx.de>
6447
6448         * include/posix.h:
6449         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6450         * include/win32.h:
6451         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6452         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6453
6454 2002-11-21  Michael Koch <konqueror@gmx.de>
6455
6456         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6457         Only the new network functions should be in it.
6458
6459 2002-11-21  Michael Koch <konqueror@gmx.de>
6460
6461         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6462         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6463
6464 2002-11-21  Michael Koch <konqueror@gmx.de>
6465
6466         * java/nio/channels/AsynchronousCloseException.java,
6467         java/nio/channels/CancelledKeyException.java,
6468         java/nio/channels/ClosedByInterruptException.java,
6469         java/nio/channels/ConnectionPendingException.java,
6470         java/nio/channels/FileLockInterruptionException.java,
6471         java/nio/channels/IllegalSelectorException.java,
6472         java/nio/channels/NoConnectionPendingException.java,
6473         java/nio/channels/NonReadableChannelException.java,
6474         java/nio/channels/NonWritableChannelException.java,
6475         java/nio/channels/NotYetBoundException.java,
6476         java/nio/channels/NotYetConnectedException.java,
6477         java/nio/channels/OverlappingFileLockException.java,
6478         java/nio/channels/UnresolvedAddressException.java,
6479         java/nio/channels/UnsupportedAddressTypeException.java:
6480         New files.
6481         * Makefile.am (ordinary_java_source_files): Added new files.
6482         * Makefile.in: Regenerated.
6483
6484 2002-11-21  Michael Koch <konqueror@gmx.de>
6485
6486         * include/posix.h
6487         (_Jv_socket): New method.
6488         (_Jv_connect): New method.
6489         (_Jv_close): New method.
6490         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6491         (_Jv_bind): New method.
6492         (_Jv_listen): New method.
6493         (_Jv_write): New method.
6494         (_Jv_read): New method.
6495         * include/win32.h
6496         (_Jv_socket): New method.
6497         (_Jv_connect): New method.
6498         (_Jv_close): New method.
6499         (_Jv_bind): New method.
6500         (_Jv_listen): New method.
6501         (_Jv_write): New method.
6502         (_Jv_read): New method.
6503         * java/net/natNetworkInterface.cc:
6504         Include platform.h, removed inclusion of socket.h
6505         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6506         ::close() by _Jv_close().
6507         * java/net/natPlainDatagramSocketImpl.cc:
6508         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6509         added some new lines to make code more readable.
6510         (create): Replaced ::socket() by _Jv_socket().
6511         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6512         * java/net/natPlainSocketImpl.cc:
6513         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6514         removed include of socket.h, removed some windows defines
6515         (now in include/win32.h).
6516         (create): Replaced ::socket() by _Jv_socket().
6517         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6518         (write): Replaced ::read by _Jv_write().
6519         (read): Replaced ::read by _Jv_read().
6520
6521 2002-11-20  Michael Koch <konqueror@gmx.de>
6522
6523         * Makefile.am (ordinary_java_source_files):
6524         Added java/nio/channels/FileChannel.java.
6525         * Makefile.in: Regenerated.
6526
6527 2002-11-20  Michael Koch <konqueror@gmx.de>
6528
6529         * java/io/FileInputStream.java
6530         (getChannel): New method.
6531         * java/io/FileOutputStream.java
6532         (getChannel): New method.
6533         * java/net/ServerSocket.java
6534         (bind): Removed duplicate code and called another bind method instead.
6535         * java/nio/channels/SelectionKey.java
6536         (isValid): Removed wrong exception documentation.
6537         * java/nio/channels/ServerSocketChannel.java
6538         (accept): Added exception documentation.
6539         (open): Fixed typo, added exception documentation.
6540         * java/nio/channels/spi/AbstractSelectableChannel.java
6541         (implCloseChannel): Added exception documentation.
6542         (add): Reformated.
6543         (register): Added exception documentation.
6544
6545 2002-11-20  Andreas Jaeger  <aj@suse.de>
6546
6547         * configure: Regenerated with new libtool.m4.
6548
6549 2002-11-19  Tom Tromey  <tromey@redhat.com>
6550
6551         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6552         `referent'.
6553         (finalize_referred_to_object): Don't modify `referent' or `copy'
6554         fields.
6555         (add_to_hash): Correctly set `n->next' when updating list.
6556         * java/lang/ref/Reference.java (enqueue): Return false if already
6557         enqueued.
6558
6559 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6560
6561         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6562         to function and function pointer declarations in accordance with
6563         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6564         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6565         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6566         JNI function definitions.
6567
6568 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6569
6570         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6571         that was causing CoderResults to be cached, not WeakReferences
6572         to CoderResults.
6573
6574 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6575
6576         * java/security/KeyStore.java (getInstance): Fix
6577         comment and throw IllegalArgumentException if
6578         given provider is null.
6579         (getInstance): New method for jdk1.4 compatibility.
6580
6581 2002-11-18  Michael Koch <konqueror@gmx.de>
6582
6583         * java/net/PlainSocketImpl.java: Fix imports.
6584
6585 2002-11-18  Michael Koch <konqueror@gmx.de>
6586
6587         * java/nio/channels/SelectionKey.java
6588         (isValid): Added exception documentation.
6589         * java/nio/channels/Selector.java
6590         (open): Declare "throws IOException".
6591
6592 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6593
6594         * java/nio/charset/Charset.java
6595         (<clinit>): New method.
6596         (encode): Synchronize use of cached encoder object.
6597         (decode): Synchronize use of cached encoder object.
6598
6599 2002-11-18  Michael Koch <konqueror@gmx.de>
6600
6601         * gnu/java/nio/ByteBufferImpl.java,
6602         gnu/java/nio/CharBufferImpl.java,
6603         gnu/java/nio/DatagramChannelImpl.java,
6604         gnu/java/nio/DoubleBufferImpl.java,
6605         gnu/java/nio/FileChannelImpl.java,
6606         gnu/java/nio/FloatBufferImpl.java,
6607         gnu/java/nio/IntBufferImpl.java,
6608         gnu/java/nio/LongBufferImpl.java,
6609         gnu/java/nio/PipeImpl.java,
6610         gnu/java/nio/SelectionKeyImpl.java,
6611         gnu/java/nio/SelectorImpl.java,
6612         gnu/java/nio/SelectorProviderImpl.java,
6613         gnu/java/nio/ServerSocketChannelImpl.java,
6614         gnu/java/nio/ShortBufferImpl.java,
6615         gnu/java/nio/SocketChannelImpl.java,
6616         java/nio/DoubleBuffer.java,
6617         java/nio/FloatBuffer.java,
6618         java/nio/IntBuffer.java,
6619         java/nio/LongBuffer.java,
6620         java/nio/ShortBuffer.java,
6621         java/nio/channels/FileChannel.java: New files.
6622
6623 2002-11-18  Michael Koch <konqueror@gmx.de>
6624
6625         * Makefile.am (ordinary_java_source_files):
6626         Added java/nio/ReadOnlyBufferException.java and
6627         java/nio/channels/ClosedSelectorException.java.
6628         * Makefile.in: Regenerated.
6629
6630 2002-11-18  Michael Koch <konqueror@gmx.de>
6631
6632         * java/net/PlainSocketImpl.java: Reworked imports.
6633         * java/net/ServerSocket.java
6634         (ServerSocket): Create socket.
6635         * java/net/SocketAddress.java: Documentation added.
6636         * java/net/natPlainSocketImpl.cc: Reindented.
6637         * java/nio/ReadOnlyBufferException.java: New file
6638         * java/nio/channels/ClosedChannelException.java: Documentation added.
6639         * java/nio/channels/ClosedSelectorException.java: New file.
6640
6641 2002-11-17  Mark Wielaard  <mark@klomp.org>
6642
6643         * java/net/HttpURLConnection.java ((getPermission): Take port
6644         into consideration.
6645         (getErrorStream): Implement.
6646
6647 2002-11-17  Mark Wielaard  <mark@klomp.org>
6648
6649         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6650
6651 2002-11-16  Mark Wielaard  <mark@klomp.org>
6652
6653         Integrate work by Raif S. Naffah (raif@fl.net.au)
6654         * java/security/DummyKeyPairGenerator.java (clone): New method.
6655         * java/security/DummyMessageDigest.java (clone): New method.
6656         (engineUpdate): Now public.
6657         (engineReset): Likewise.
6658         (engineDigest): Likewise.
6659         (engineGetDigestLength): New method.
6660         * java/security/DummySignature.java (clone): New method.
6661         * java/security/KeyPairGenerator.java (provider): Now package private.
6662         (getInstance(String)): Use getInstance(String,Provider).
6663         (getInstance(String,String): Use getInstance(String,Provider)
6664         (getInstance(String,Provider): New method.
6665         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6666         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6667         * java/security/MessageDigest.java (provider): Now package private.
6668         (getInstance(String): Use getInstance(String,Provider).
6669         (getInstance(String,String): Use getInstance(String,Provider)
6670         (getInstance(String,Provider): New method.
6671         * java/security/Provider.java (toCanonicalKey): New method.
6672         (get): New method that uses toCanonicalKey().
6673         (put): Use toCanonicalKey().
6674         (remove): Likewise.
6675         * java/security/Security.java (insertProviderAt): Provider index is one
6676         based, not zero based.
6677         (addProvider): Likewise.
6678         (removeProvider): Likewise.
6679         * java/security/Signature.java (provider): Now package private.
6680         (getInstance(String)): Use getInstance(String,Provider).
6681         (getInstance(String,String): Use getInstance(String,Provider)
6682         (getInstance(String,Provider): New method.
6683         (getInstance(String,String,Provider): Don't cast DummySignature.
6684
6685 2002-11-15  Tom Tromey  <tromey@redhat.com>
6686
6687         For PR libgcj/8593:
6688         * java/util/zip/GZIPInputStream.java (read): Check file size.
6689         Look in inflater for remaining input bytes.
6690         (read4): Added buf and offset arguments.
6691
6692 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6693
6694         * java/applet/AppletContext.java: Fix typo and remove redundant
6695         modifiers.
6696
6697 2002-11-14  Tom Tromey  <tromey@redhat.com>
6698
6699         * java/lang/natRuntime.cc (insertSystemProperties): Set
6700         gnu.classpath.home.
6701
6702 2002-11-13  Michael Koch <konqueror@gmx.de>
6703
6704         * java/nio/ByteBuffer.java
6705         (allocate): New method.
6706         (wrap): New method.
6707         (put): New method.
6708         (get): New method.
6709
6710 2002-11-13  Michael Koch <konqueror@gmx.de>
6711
6712         * java/nio/channels/AlreadyConnectedException.java:
6713         Removed unneeded import.
6714         (AlreadyConnectedException): Documentation added.
6715         * java/nio/channels/Pipe.java
6716         (SinkChannel.SinkChannel): Documentation added.
6717         (SinkChannel.validOps): New method.
6718         (SourceChannel.SourceChannel): Documentation added.
6719         (SourceChannel.validOps): New method.
6720         (Pipe): Documentation added.
6721         (open): Documentation added.
6722         (SinkChannel.channel): Documentation added.
6723         (SourceChannel.channel): Documentation added.
6724         * java/nio/channel/SelectableChannel.java
6725         (SelectableChannel): Documentation added.
6726         (blockingLock): Documentation added.
6727         (configureBlocking):Documentation added.
6728         (isBlocking):Documentation added.
6729         (isRegistered):Documentation added.
6730         (keyFor):Documentation added.
6731         (provider):Documentation added.
6732         (register): Documentation added.
6733         (validOps): Documentation added.
6734         * jaba/nio/channels/SelectionKey.java
6735         (SelectionKey): Documentation added.
6736         (attach): Documentation added.
6737         (attachment): Documentation added.
6738         (isAcceptable): Documentation added.
6739         (isConnetable): Documentation added.
6740         (isReadable): Documentation added.
6741         (isWritable): Documentation added.
6742         (cancel): Documentation added.
6743         (channel): Documentation added.
6744         (interestOps): Documentation added.
6745         (isValid): Documentation added.
6746         (readyOps): Documentation added.
6747         (selector): Documentation added.
6748         * jaba/nio/channels/Selector.java
6749         (Selector): Documentation added.
6750         (open): Documentation added.
6751         (close): Documentation added.
6752         (isOpen): Documentation added.
6753         (keys): Documentation added.
6754         (provider): Documentation added.
6755         (select): Documentation added.
6756         (selectedKeys): Documentation added.
6757         (selectNow): Documentation added.
6758         (wakeup): Documentation added.
6759         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6760         (AbstractInterruptibleChannel): Documentation added.
6761         (opened): Default to true;
6762         (begin): Documentation added.
6763         (close): Set opened to false, documentation added.
6764         (isOpen): Documentation added.
6765         * java/nio/channels/spi/AbstractSelectionKey.java
6766         (AbstractSelectionKey): Documentation added.
6767         (cancel): Documentation added.
6768         (isValid): Documentation added.
6769         * java/nio/channels/spi/AbstractSelector.java
6770         (AbstractSelector): Documentation added.
6771         (begin): Documentation added.
6772         (close): Documentation added.
6773         (isOpen): Documentation added.
6774         (deregister): Documentation added.
6775         (end): Documentation added.
6776         (provider): Documentation added.
6777         (implCloseSelector): Documentation added.
6778         (register): Documentation added.
6779         * java/nio/channels/spi/SelectorProvider.java
6780         (SelectorProvider): Documentation added.
6781         (openDatagramChannel): Documentation added.
6782         (openPipe): Documentation added.
6783         (openSelector): Documentation added.
6784         (openServerSocketChannel): Documentation added.
6785         (openSocketChannel): Documentation added.
6786         (provider): Documentation added.
6787
6788 2002-11-12  Michael Koch <konqueror@gmx.de>
6789
6790         * java/nio/Buffer.java: Implemented.
6791         * java/nio/CharBuffer.java: New file.
6792         * java/nio/InvalidMarkException.java: New file.
6793         * java/nio/channels/DatagramChannel.java: Implemented.
6794         * java/nio/channels/ServerSocketChannel.java: Implemented.
6795         * java/nio/channels/SocketChannel.java: Implemented.
6796         * java/nio/channels/spi/AbstractChannel.java: Removed.
6797         * java/nio/channels/spi/AbstractSelectableChannel.java:
6798         Implemented.
6799         * java/nio/charset/Charset.java:
6800         Merge from Classpath.
6801         * java/nio/charset/CharsetDecoder.java: New file.
6802         * java/nio/charset/CharsetEncoder.java: New file.
6803         * java/nio/charset/CoderResult.java: New file.
6804         * Makefile.am (ordinary_java_source_files): Added new files.
6805         * Makefile.in: Regenerated.
6806
6807 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6808
6809         * gnu/java/nio/charset/ISO_8859_1.java,
6810         gnu/java/nio/charset/Provider.java,
6811         gnu/java/nio/charset/US_ASCII.java,
6812         gnu/java/nio/charset/UTF_16.java,
6813         gnu/java/nio/charset/UTF_16BE.java,
6814         gnu/java/nio/charset/UTF_16Decoder.java,
6815         gnu/java/nio/charset/UTF_16Encoder.java,
6816         gnu/java/nio/charset/UTF_16LE.java,
6817         gnu/java/nio/charset/UTF_8.java: New files.
6818
6819 2002-11-11  Michael Koch <konqueror@gmx.de>
6820
6821         * java/nio/charset/CharacterCodingException.java:
6822         This class must be public.
6823         * java/nio/charset/CoderMalfunctionError.java:
6824         This class must be public.
6825         * java/nio/charset/CodingErrorAction.java:
6826         This class must be public.
6827         * java/nio/charset/IllegalCharsetNameException.java:
6828         This class must be public, better implementation.
6829         * java/nio/charset/MalformedInputException.java:
6830         This class must be public, better implementation.
6831         * java/nio/charset/UnmappableCharacterException.java:
6832         This class must be public, better implementation.
6833         * java/nio/charset/UnsupportedCharsetException.java:
6834         This class must be public, better implementation.
6835
6836 2002-11-11  Michael Koch <konqueror@gmx.de>
6837
6838         * java/nio/BufferOverflowException.java,
6839         java/nio/BufferUnderflowException.java: New file.
6840         * Makefile.am (ordinary_java_source_files):
6841         Added new files.
6842         * Makefile.in: Regenerated.
6843
6844 2002-11-10  Tom Tromey  <tromey@redhat.com>
6845
6846         * java/awt/Container.java (validate): Use tree lock.
6847         (getComponent): Likewise.
6848         (getComponents): Likewise.
6849         (addImpl): Likewise.
6850         (remove): Likewise.
6851         (removeAll): Likewise.
6852         (processEvent): Fixed indentation.
6853         (getComponentAt): Use tree lock.
6854         (findComponentAt): Likewise.
6855         (removeNotify): Likewise.
6856         (isAncestorOf): Likewise.
6857         (list): Likewise.
6858         (visitChildren): Likewise.
6859         (findNextFocusComponent): Likewise.
6860         (addNotifyContainerChildren): Likewise.
6861         (getAccessibleChildrenCount): Likewise.
6862         (getAccessibleChild): Likewise.
6863
6864         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6865         (getSize): Likewise.
6866         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6867         (getSize): Likewise.
6868         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6869         (calcSize): Likewise.
6870         * java/awt/CardLayout.java (getSize): Use tree lock.
6871         (gotoComponent): Likewise.
6872         (layoutContainer): Likewise.
6873
6874         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6875         count is 0.
6876         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6877         count is 0.
6878
6879         * java/io/Externalizable.java, java/io/FilePermission.java,
6880         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6881         java/io/SerializablePermission.java, java/text/Format.java,
6882         java/util/AbstractMap.java, java/util/HashMap.java,
6883         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6884         versions from Classpath.
6885
6886 2002-11-10  Anthony Green  <green@redhat.com>
6887
6888         * java/util/jar/Attributes.java (Name): Fix name check.
6889
6890 2002-11-10  Mark Wielaard  <mark@klomp.org>
6891
6892         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6893         with getName() as message.
6894         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6895         type as message.
6896
6897         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6898         unused.
6899
6900 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6901
6902         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6903         for Win32. JNICALL has been defined to __stdcall to be compatible
6904         with Sun's JDKs.
6905
6906 2002-11-10  Tom Tromey  <tromey@redhat.com>
6907
6908         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6909         (setRows): Check newRows, not rows.
6910
6911         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6912
6913 2002-11-09  Tom Tromey  <tromey@redhat.com>
6914
6915         * java/applet/Applet.java, java/applet/AppletContext.java,
6916         java/applet/AppletStub.java, java/applet/AudioClip.java,
6917         java/awt/CardLayout.java,
6918         java/awt/ContainerOrderFocusTraversalPolicy.java,
6919         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6920         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6921         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6922         java/awt/color/ICC_ColorSpace.java,
6923         java/awt/color/ICC_Profile.java,
6924         java/awt/color/ICC_ProfileGray.java,
6925         java/awt/color/ICC_ProfileRGB.java,
6926         java/awt/datatransfer/DataFlavor.java,
6927         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6928         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6929         New versions from Classpath.
6930         * Makefile.in: Rebuilt.
6931         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6932         ICC_ProfileRGB.
6933
6934         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6935         display policy.
6936
6937         * java/awt/List.java (processEvent): Added missing `else's.
6938
6939         * java/awt/Window.java (show): validate() before showing.  Make
6940         parent displayable.
6941         (isDisplayable): New method.
6942
6943 2002-11-07  Mark Wielaard  <mark@klomp.org>
6944
6945         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6946         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6947
6948         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6949         annotation.
6950         (loadClass): Take String as codebases.
6951         (getClassAnnotation): Use MyClassLoader annotations.
6952         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6953         call exportObject(this).
6954
6955         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6956         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6957         (setAnnotation): Don't set locBytesStream and locStream.
6958         (replaceObject): Removed.
6959         (flush): Don't test locStream.
6960         (getLocBytes): LikeWise.
6961         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6962         (leaseCache): New field.
6963         (dirty): Use leaseCache.
6964         (LeaseRecord): New inner class.
6965         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6966         explicitly call exportObject().
6967         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6968         false to communicate with Sun JDK130.
6969         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6970         * gnu/java/rmi/server/RMIObjectInputStream.java
6971         (UnicastConnectionManager): Removed field.
6972         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6973         Use UnicastServer.getExportedRef().
6974         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6975         (expireTime): Likewise.
6976         (CONNECTION_TIMEOUT): Likewise.
6977         (disconnect): Call sock.close().
6978         (isExpired): New method.
6979         (resetTime): Likewise.
6980         (run): Use do while loop and catch Exception for discardConnection().
6981         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6982         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6983         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6984         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6985         (exportObject): Use refcache.
6986         (unexportObject): Likewise.
6987         (getExportedRef): New method.
6988         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6989         constructor.
6990         (exportObject): Save manager.serverobj.
6991         (getStub): New method.
6992
6993 2002-11-07  Mark Wielaard  <mark@klomp.org>
6994
6995         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6996         (getByte): Likewise.
6997         (getShort): Likewise.
6998         (getInt): Likewise.
6999         (getLong): Likewise.
7000         (getFloat): Likewise.
7001         (getDouble): Likewise.
7002         (get): Likewise.
7003         (setChar): Likewise.
7004         (setByte): Likewise.
7005         (setShort): Likewise.
7006         (setInt): Likewise.
7007         (setLong): Likewise.
7008         (setFloat): Likewise.
7009         (setDouble): Likewise.
7010
7011 2002-11-07  Michael Koch <konqueror@gmx.de>
7012
7013         * java/awt/Choice.java,
7014         java/awt/Container.java,
7015         java/awt/GridBagLayout.java:
7016         Fixed documentation.
7017         * java/awt/peer/ContainerPeer.java:
7018         Reindented.
7019
7020 2002-11-07  Michael Koch <konqueror@gmx.de>
7021
7022         * java/awt/color/ICC_Profile.java:
7023         Added missing constants.
7024         * java/awt/color/ICC_ColorSpace.java
7025         (getMinValue): Added dummy implementation.
7026         (getMaxValue): Added dummy implementation.
7027         * java/awt/datatransfer/DataFlavor.java
7028         (imageFlavor): Added.
7029         (isMimeTypeEqual): Must be final.
7030         (getDefaultRepresentationClass): Must be non-static.
7031         (getDefaultRepresentationClassAsString): Must be non-static.
7032         * java/awt/dnd/DragSourceContext.java
7033         (dragExit): Corrected argument.
7034         (dragDropEnd): Corrected argument.
7035         * java/awt/dnd/DragSourceListener.java.java
7036         (dragExit): Corrected argument.
7037         (dragDropEnd): Corrected argument.
7038         * java/awt/font/TextHitInfo.java
7039         (toString): Added stubbed implementation.
7040         * java/awt/geom/PathIterator.java:
7041         The constants must be static.
7042         * java/awt/image/VolatileImage.java
7043         (IMAGE_INCOMPATIBLE): Fixed typo.
7044         * java/awt/image/renderable/RenderableImage.java
7045         (HINTS_OBSERVED): Must be static.
7046         * java/beans/BeanInfo.java:
7047         Constants must be final.
7048
7049 2002-11-06  Tom Tromey  <tromey@redhat.com>
7050
7051         From svens@it.uu.se.  For PR libgcj/8481.
7052         * java/util/Random.java (nextInt(int)): Only use 31 bits.
7053
7054 2002-11-06  Tom Tromey  <tromey@redhat.com>
7055
7056         * jni.cc (array_from_valist): Assume that jlong won't be
7057         promoted.
7058
7059 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
7060
7061         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7062         Return 20.
7063         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7064         Return 16.
7065
7066 2002-11-03  Tom Tromey  <tromey@redhat.com>
7067
7068         * java/lang/ClassLoader.java (loadClass): Call loadClass on
7069         VMClassLoader, not findClass.
7070
7071 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
7072
7073         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7074         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7075         _Jv_DetermineVTableIndex, to determine vtable offset.
7076         (_Jv_DetermineVTableIndex): Remove.
7077         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
7078
7079         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7080
7081 2002-11-03  Tom Tromey  <tromey@redhat.com>
7082
7083         * java/nio/channels/AlreadyConnectedException.java: Extend
7084         IllegalStateException, per spec.
7085
7086 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
7087
7088         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7089
7090 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7091
7092         * java/util/ArrayList.java (readObject, writeObject): Only read/write
7093         size items.
7094
7095 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7096
7097         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7098         initial estimated size to avoid enlarge buffer frequently.
7099
7100 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
7101
7102         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7103         ClassLoader when null.
7104         (ProxyType.hashCode): Loader null check no longer needed.
7105         (ProxyType.sameTypes): New method.
7106         (ProxyType.equals): Use new method.
7107
7108 2002-10-31  Mark Wielaard  <mark@klomp.org>
7109
7110         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7111         length of String.
7112         * java/net/URLEncoder.java (encode): Likewise.
7113
7114 2002-10-31  Mark Wielaard  <mark@klomp.org>
7115
7116         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7117         when stream is closed.
7118         (closeEntry): Likewise.
7119         (read): Likewise.
7120         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7121         ZipException when no entry active.
7122         (closeEntry): Likewise.
7123         (write): Likewise.
7124
7125 2002-11-02  Tom Tromey  <tromey@redhat.com>
7126
7127         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7128         * java/lang/natClass.cc (initializeClass): Don't return just
7129         because self==thread.
7130
7131         For PR java/8415:
7132         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7133         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7134
7135 2002-11-02  Andreas Schwab  <schwab@suse.de>
7136
7137         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7138         pass GCJFLAGS.
7139         (FLAGS_TO_PASS): Define.
7140         * Makefile.in: Regenerated.
7141
7142 2002-11-01  Michael Koch  <konqueror@gmx.de>
7143
7144         * java/nio/ByteOrder.java: New file.
7145         * java/nio/channels/DatagramChannel.java:
7146         (DatagramChannel): New constructor.
7147         * java/nio/channels/Pipe.java: New file.
7148         * java/nio/channels/SelectableChannel.java: New file.
7149         * java/nio/channels/SelectionKey.java: New file.
7150         * java/nio/channels/Selector.java: New file.
7151         * java/nio/channels/ServerSocketChannel.java
7152         (ServerSocketChannel): New constructor.
7153         * java/nio/channels/SocketChannel.java
7154         (SocketChannel): New constructor.
7155         * java/nio/channels/Pipe.java: New file.
7156         * java/nio/channels/spi/AbstractChannel.java: New file.
7157         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7158         * java/nio/channels/spi/AbstractSelectableChannel.java:
7159         License added
7160         (AbstractSelectableChannel): New stubbed method.
7161         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7162         * java/nio/channels/spi/AbstractSelector.java: New file.
7163         * java/nio/channels/spi/SelectorProvider.java: New file.
7164         * java/nio/charset/Charset.java: New file.
7165         * java/nio/charset/CoderMalfunctionError.java: New file.
7166         * java/nio/charset/CodingErrorAction.java: New file.
7167         * java/nio/charset/spi/CharsetProvider.java
7168         (charsetForName): Uncommented.
7169         * Makefile.am (java_native_source_files): Added new files.
7170         * Makefile.in: Regenerated.
7171
7172 2002-11-01  Michael Koch  <konqueror@gmx.de>
7173
7174         * java/net/InetAddress.java:
7175         (isAnyLocalAddress): Implemented.
7176         (isLoopbackAddress): Implemented, comment added.
7177         (isLinkLocalAddress): Implemented, documentation added.
7178         (isSiteLocalAddress): Implemented, documentation added.
7179         (isMCGlobal): Implemented, documentation added.
7180         (isMCNodeLocal): Implemented, documentation added.
7181         (isMCLinkLocal): Implemented, documentation added.
7182         (isMCSiteLocal): Implemented, documentation added.
7183         (isMCOrgLocal): Implemented, documentation added.
7184         (getHostName): Documentation added.
7185         (getCanonicalHostName): Implemented, documentation added.
7186         (getAddress): Documentation added.
7187         (hashCode): Documentation added.
7188         (equals): Documentation added.
7189         (toString): Fixed implementation.
7190         (getByAddress): Use Inet4Address and Inet6Address.
7191         (lookup): New linewrap.
7192         (getByName): SecurityManager check added, support Inet4Address and
7193         Inet6address, comments added.
7194         (getAllByName): SecurityManager check added, comments added.
7195         * java/net/Inet6Address.java:
7196         (Inet6Address): Initialize parent class with addr instead of null.
7197         * java/net/URL.java
7198         (equals): Documentation added.
7199         (getFile): Documentation added.
7200         (hashCode): Documentation added.
7201         * java/net/natInetAddress.cc:
7202         (aton): Fix IPv6 support.
7203         * java/net/natPlainDatagramSocketImpl.cc:
7204         (peek): Throw PortUnreachableException when suitable.
7205         (peekData): Throw PortUnreachableException when suitable.
7206         (send): Throw PortUnreachableException when suitable.
7207         (receive): Throw PortUnreachableException when suitable.
7208
7209 2002-10-27  Mark Wielaard  <mark@klomp.org>
7210
7211         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7212         argument.
7213         (readLeShort): Likewise and use byte[].
7214         (readLeInt): Likewise.
7215         (readEntries): Use new versions of methods and use byte[] for reading
7216         a complete zip entry. Add ZipFile name to exceptions.
7217         (entries): Add ZipFile name to exceptions.
7218         (getEntry): Likewise.
7219         (checkLocalHeader): Use new versions of methods and add ZipFile name
7220         to exceptions.
7221
7222 2002-10-31  Mark Anderson  <mark@panonet.net>
7223
7224         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7225         added
7226
7227 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7228
7229         * configure.in: Disable hash sync when not using threads.
7230         * configure: Regenerated.
7231
7232 2002-10-24  Tom Tromey  <tromey@redhat.com>
7233
7234         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7235         (_Jv_FindSymbolInExecutable): Removed argument name.
7236         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7237         java.library.path is set.
7238
7239         * gij.cc (help): Document --showversion.
7240         (version): Don't exit.
7241         (main): Handle --showversion.  Exit if --version given.
7242
7243 2002-10-23  Tom Tromey  <tromey@redhat.com>
7244
7245         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7246         (array_from_valist): Correctly handle promotion for jint, jlong,
7247         jfloat, and jdouble.
7248
7249 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7250
7251         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7252         GetFileAttributesEx( ) to find file length and modification times,
7253         as the latter is not present on Windows 95.
7254
7255 2002-10-21  Michael Koch  <konqueror@gmx.de>
7256
7257         * java/net/URL.java
7258         (URL): Activate SecurityManager checks.
7259         (equals): Use URLStreamHandler implementation instead of doing it
7260         alone. This allows special protocol stream handlers to change default
7261         behaviour.
7262         (hashCode): Use URLStreamHandler implementation instead of doing it
7263         alone. This allows special protocol stream handlers to change default
7264         behaviour.
7265         * java/net/URLStreamHandler.java
7266         (equals): Implemented default URL equality check.
7267         (hostsEqual): Implemented default URL equality check.
7268         (hashCode): Implemented default URL hashCode algorithm.
7269         * java/net/natPlainDatagramSocketImpl.cc:
7270         No lines longer then 80 characters.
7271
7272 2002-10-20  Adam Megacz <adam@xwt.org>
7273
7274         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7275         * configure.in: enabled hash sync on Win32
7276         * include/win32-threads.h (_Jv_ThreadId_t): added.
7277         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7278         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7279         removed some posix-isms, use Thread::sleep() instead of usleep,
7280         added code to clear bottom three bits if platform has a broken
7281         linker.
7282         * include/win32-threads.h (_Jv_ThreadId_t): added.
7283
7284 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7285
7286         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7287         runtime property "gnu.gcj.progname" containing the name used to
7288         invoke the current Java program (similar to argv[0] for C
7289         programs).
7290
7291 2002-10-15  Tom Tromey  <tromey@redhat.com>
7292
7293         Fix for PR libgcj/8234:
7294         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7295         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7296
7297 2002-10-13  Mark Wielaard  <mark@klomp.org>
7298
7299         * mauve-libgcj: Enable Mauve tests that compile now.
7300
7301 2002-10-11  Mark Wielaard  <mark@klomp.org>
7302
7303         Fix for PR libgcj/8142
7304         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7305         loading native modules.
7306
7307 2002-10-10  Michael Koch  <konqueror@gmx.de>
7308
7309         * javax/swing/AbstractListModel.java
7310         (getListDataListeners): New stubbed method.
7311         javax/swing/DefaultBoundedRangeModel.java
7312         (getChangeListeners): New stubbed method.
7313         javax/swing/DefaultSingleSelectionModel.java
7314         (getChangeListeners): New stubbed method.
7315
7316 2002-10-10  Michael Koch  <konqueror@gmx.de>
7317
7318         * gcj/.cvsignore: New file to ignore files generated during build.
7319         * include/.cvsignore: New file to ignore files generated during build.
7320
7321 2002-10-10  Michael Koch  <konqueror@gmx.de>
7322
7323         * java/net/HttpURLConnection.java
7324         (getPermission): New method.
7325         (getErrorStream): New stub method.
7326         (getHeaderFieldDate): New stub method.
7327         * java/net/Inet4Address.java:
7328         (isLinkLocalAddress): Typo fixed.
7329         * java/net/InetAddress.java:
7330         (readResolve): New stubbed method (for serialization).
7331         (isAnyLocalAddress): New stubbed method.
7332         (isLoopbackAddress): New stubbed method.
7333         (isLinkLocalAddress): New stubbed method.
7334         (isSiteLocalAddress): New stubbed method.
7335         (isMCGlobal): New stubbed method.
7336         (isMCNodeGlobal): New stubbed method.
7337         (isMCLinkLocal): New stubbed method.
7338         (isMCSiteLocal): New stubbed method.
7339         (isMCOrgLocal): New stubbed method.
7340         (getCanonicalHostName): New stubbed method.
7341         (getByAddress): Create instances of Inet4Address/Inet6Address,
7342         instead of InetAddress, documentation added.
7343         * java/net/MulticastSocket.java
7344         (getInterface): Removed FIXME.
7345         (getNetworkInterface): New method.
7346         (setNetworkInterface): New method.
7347         * java/net/NetworkInterface.java:
7348         (toString): Use property "line.separator" instead of "\n".
7349         * java/net/URLConnection.java
7350         (getContent): New stubbed method.
7351         * java/net/URLStreamHandler.java:
7352         (equals): New stubbed method.
7353         (hostsEqual): New stubbed method.
7354         (hashCode): New stubbed method.
7355         * java/net/natNetworkInterface.cc:
7356         (getRealNetworkInterfaces): Create Inet4Address object
7357         instead of InetAddress.
7358
7359 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7360
7361         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7362         unsigned long temporary to implement insn_iushr shifts.
7363
7364 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7365
7366         * configure.host [s390*-*]: Enable Java interpreter.
7367         Enable hash synchronization.  Add sysdeps dir.
7368         * sysdep/s390/locks.h: New file.
7369
7370 2002-10-06  Mark Wielaard  <mark@klomp.org>
7371
7372         * java/lang/Thread.java (setDaemon): Check startable_flag,
7373         not isAlive().
7374
7375 2002-10-07  Michael Koch  <konqueror@gmx.de>
7376
7377         * java/nio/Buffer.java: New stub file.
7378         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7379         of class Charset.
7380         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7381         * Makefile.in: Regenerated.
7382
7383 2002-10-07  Michael Koch  <konqueror@gmx.de>
7384
7385         * java/nio/ByteBuffer.java:
7386         removed import of not commited class.
7387
7388 2002-10-07  Michael Koch  <konqueror@gmx.de>
7389
7390         * java/nio/ByteBuffer.java,
7391         java/nio/MappedByteBuffer.java:
7392         New files, forgot to add these dummies.
7393         * Makefile.am (java_native_source_files): Added new files.
7394         * Makefile.in: Regenerated.
7395
7396 2002-10-07  Michael Koch  <konqueror@gmx.de>
7397
7398         * java/nio/channels/AlreadyConnectedException.java,
7399         java/nio/channels/ClosedChannelException.java,
7400         java/nio/channels/ReadableByteChannel.java,
7401         java/nio/channels/InterruptibleChannel.java,
7402         java/nio/channels/Channel.java,
7403         java/nio/channels/ByteChannel.java,
7404         java/nio/channels/GatheringByteChannel.java,
7405         java/nio/channels/ScatteringByteChannel.java,
7406         java/nio/channels/WritableByteChannel.java,
7407         java/nio/charset/CharacterCodingException.java,
7408         java/nio/charset/IllegalCharsetNameException.java,
7409         java/nio/charset/MalformedInputException.java,
7410         java/nio/charset/UnmappableCharacterException.java,
7411         java/nio/charset/UnsupportedCharsetException.java,
7412         java/nio/charset/spi/CharsetProvider.java: New file.
7413         These files are exceptions or interfaces,
7414         no real or abstract classes.
7415         * Makefile.am (java_native_source_files): Added new files.
7416         * Makefile.in: Regenerated.
7417
7418 2002-10-05  Michael Koch  <konqueror@gmx.de>
7419
7420         * java/net/InetAddress.java
7421         (getByAddress): Fixed documentation.
7422         (getByAddress): New method.
7423         * java/net/Inet4Address.java: New file.
7424         * java/net/URL.java
7425         (URL): Documentation added.
7426         (getContent): Documentation added.
7427         (getContent): New stubbed method.
7428         (getQuery): New method.
7429         (openConnection): Documentation added.
7430         (openStream): Documentation added.
7431         (setURLStreamHandlerFactory): Documentation added.
7432         * java/net/URI.java: New stub file.
7433         * Makefile.am
7434         (java_native_source_files): Added java/net/Inet4Address.java,
7435         java/net/Inet6Address.java and java/net/URI.java.
7436         * Makefile.in: Regenerated.
7437
7438 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7439
7440         * java/lang/ProtectionDomain.java (linesep): Remove field.
7441         (toString): Use System.getProperty("line.separator").
7442
7443 2002-10-04  Michael Koch  <konqueror@gmx.de>
7444
7445         * java/security/Identity.java: Added serialVersionUID.
7446         * java/security/KeyPair.java: Added serialVersionUID.
7447         * java/security/Provider.java: Added serialVersionUID.
7448         * java/security/SecureRandom.java: Added serialVersionUID.
7449         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7450         * java/security/SignedObject.java: Added serialVersionUID.
7451         * java/security/cert/Certificate.java: Added serialVersionUID.
7452
7453 2002-10-04  Mark Wielaard <mark@klomp.org>
7454
7455         * java/security/Security.java: Use java.home or gnu.classpath.home
7456         to load providers.
7457         (loadProviders): Extra dir argument.
7458         (getProvider): Return null when not found.
7459
7460 2002-10-04  Mark Wielaard  <mark@klomp.org>
7461
7462         * java/lang/Throwable.java: Remerge with Classpath.
7463
7464 2002-10-04  Michael Koch  <konqueror@gmx.de>
7465
7466         * java/net/InetAddress.java:
7467         (isMulticastAddress): Added documentation.
7468         (getHostAddress): Added documentation.
7469         (toString): Added documentation.
7470         (getByAddress): Fixed documentation.
7471         (getByName): Added documentation.
7472         (getAllByName): Added documentation.
7473         (getLocalHost): Added documentation.
7474
7475 2002-10-04  Michael Koch  <konqueror@gmx.de>
7476
7477         * java/beans/beancontext/BeanContextChildSupport.java:
7478         Added serialVersionUID.
7479         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7480         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7481         * javax/naming/Name.java: Added serialVersionUID.
7482
7483 2002-10-03  Adam Megacz <adam@xwt.org>
7484
7485         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7486         some functionality that isn't supported yet on WIN32.
7487
7488 2002-10-03  Tom Tromey  <tromey@redhat.com>
7489
7490         * Makefile.in: Rebuilt.
7491         * Makefile.am (awt_java_source_files): Added new files.
7492
7493 2002-10-03  Michael Koch  <konqueror@gmx.de>
7494
7495         * java/net/InetAddress.java
7496         (class InetAddress): Removed final keyword.
7497         (equals): Fixed typo.
7498         (getByAddress): New method.
7499
7500 2002-10-03  Michael Koch  <konqueror@gmx.de>
7501
7502         * java/awt/dnd/Autoscroll.java:
7503         New file, merge from Classpath.
7504         * java/awt/dnd/DragSourceAdapter.java:
7505         (dragExit): Fixed typos in argument type.
7506         (dragDropEnd): Fixed typos in argument type.
7507         * java/awt/dnd/DragSourceDropEvent.java:
7508         New file, merge from Classpath.
7509         * java/awt/dnd/DropTarget.java:
7510         Added stubs, merge from Classpath.
7511         * java/awt/dnd/DropTargetAdapter.java:
7512         New file, merge from Classpath.
7513         * java/awt/dnd/DropTargetContext.java:
7514         New file, merge from Classpath.
7515         * java/awt/dnd/DropTargetDragEvent.java:
7516         New file, merge from Classpath.
7517         * java/awt/dnd/DropTargetDropEvent.java:
7518         New file, merge from Classpath.
7519         * java/awt/dnd/DropTargetEvent.java:
7520         New file, merge from Classpath.
7521         * java/awt/dnd/DropTargetListener.java:
7522         New file, merge from Classpath.
7523         * java/awt/dnd/MouseDragGestureRecognizer.java:
7524         New file, merge from Classpath.
7525         * java/awt/dnd/peer/DropTargetContextPeer.java:
7526         New file, merge from Classpath.
7527
7528 2002-10-03  Michael Koch  <konqueror@gmx.de>
7529
7530         * java/net/DatagramPacket.java
7531         (setLength): Fixed typo and be HTML-aware.
7532         * java/net/InetSocketAddress.java
7533         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7534         (equals): Added comment about equality of InetSocketAddress objects.
7535         * java/net/ServerSocket.java
7536         (accept): Added checks.
7537         (isClosed): New stubbed method.
7538         * java/net/SocketOptions.java: Reindention.
7539         * java/net/SocketPermission
7540         (SocketPermission): Documentation fixed.
7541
7542 2002-10-03  Michael Koch  <konqueror@gmx.de>
7543
7544         * java/net/DatagramSocket.java
7545         (receive): Check with SecurityManager AFTER the packet is received,
7546         check if connected to multicast address, documentation added.
7547         (send): Only check SecurityManager if connected, check address of
7548         packet to send.
7549         (connect): Implemented, documentation added.
7550         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7551         * java/net/InetSocketAddress.java
7552         (whole file): Reindented.
7553         (hostname): New attribute.
7554         (InetSocketAddress): Initialize new attribute.
7555         (getAddress): Documentation added.
7556         (getHostName): Documentation added.
7557         (getPort): Documentation added.
7558         (hashCode): Documentation added.
7559         (isUnresolved): Documentation added.
7560         (toString): Conform to output of JDK 1.4.1, documentation added.
7561         * java/net/MulticastSocket.java
7562         (joinGroup): Removed FIXME, documentation added.
7563         (leaveGroup): Removed FIXME, documentation added.
7564         (send): Documentation added.
7565         * java/net/Socket.java
7566         (inputShutdown): New variable.
7567         (outputShutdown): New variable.
7568         (Socket): Initialize new variables.
7569         (getRemoteSocketAddress): Check if connected.
7570         (shutdownInput): Set new variable.
7571         (shutdownOutput): Set new variable.
7572         (isConnected): New method.
7573         (isClosed): New method.
7574         (isInputShutdown): New method.
7575         (isOutputShutdown): New method.
7576         * java/net/URLStreamHandler.java
7577         (URLStreamHandler): New method.
7578         (openConnection): Added documentation.
7579         (parseURL): Added documentation.
7580         (getHostAddress): New method.
7581         (getDefaultPort): New method.
7582
7583 2002-10-02  Tom Tromey  <tromey@redhat.com>
7584
7585         * java/rmi/activation/ActivationDesc.java,
7586         java/rmi/activation/ActivationGroupDesc.java,
7587         java/rmi/activation/ActivationGroupID.java,
7588         java/rmi/activation/ActivationID.java: New versions from
7589         Classpath.
7590
7591 2002-09-30  Bo Thorsen  <bo@suse.de>
7592
7593         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7594
7595 2002-09-30  Tom Tromey  <tromey@redhat.com>
7596
7597         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7598         from Classpath.
7599         * Makefile.in: Rebuilt.
7600         * Makefile.am (rmi_java_source_files): Added new files.
7601         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7602         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7603         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7604         Classpath.
7605         * gnu/java/rmi/dgc/DGCImpl.java,
7606         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7607         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7608         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7609         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7610         gnu/java/rmi/server/RMIHashes.java,
7611         gnu/java/rmi/server/RMIObjectInputStream.java,
7612         gnu/java/rmi/server/RMIObjectOutputStream.java,
7613         gnu/java/rmi/server/UnicastConnection.java,
7614         gnu/java/rmi/server/UnicastConnectionManager.java,
7615         gnu/java/rmi/server/UnicastRef.java,
7616         gnu/java/rmi/server/UnicastServer.java,
7617         gnu/java/rmi/server/UnicastServerRef.java,
7618         java/rmi/MarshalledObject.java,
7619         java/rmi/server/RMIClassLoader.java,
7620         java/rmi/server/RemoteObject.java,
7621         java/rmi/server/UnicastRemoteObject.java,
7622         java/security/SecureClassLoader.java: Merged from Classpath.
7623
7624 2002-09-29  Anthony Green  <green@redhat.com>
7625
7626         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7627         Imported from GNU Classpath.
7628         * java/lang/reflect/natProxy.cc: New file.
7629         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7630         from GNU Classpath.
7631         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7632         Classpath.
7633         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7634         Classpath.
7635         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7636         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7637         New statics.
7638         * gcj/javaprims.h ("Java"): Add new classes.
7639         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7640         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7641         java/lang/reflect/Proxy$$ProxyType.h): And this.
7642         (inner_nat_headers): Add these new headers.
7643         (ordinary_java_source_files): Add new files.
7644         (nat_source_files): Add new file.
7645         * Makefile.in: Rebuilt.
7646
7647 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7648
7649         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7650         a single configuration.
7651
7652 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7653
7654         * java/util/TimeZone.java (getDSTSavings): New method.
7655         Fixes PR libgcj/7786.
7656
7657 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7658
7659         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7660         to see if `the_method == 0' before looking up vtable index.
7661         Fixes PR libgcj/7709.
7662
7663 2002-09-25  Tom Tromey  <tromey@redhat.com>
7664
7665         * java/lang/natClassLoader.cc:
7666         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7667         * resolve.cc: Include NoClassDefFoundError.h, not
7668         ClassNotFoundException.h.
7669         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7670
7671         * defineclass.cc: Don't include ClassNotFoundException.h.
7672
7673         * resolve.cc: Include StringBuffer.
7674         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7675
7676         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7677         allocated but not initialized.
7678
7679 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7680
7681         Fix for PR libgcj/7766:
7682         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7683         (getNextEntry): Set it.
7684         (closeEntry): Likewise.
7685         (read): Likewise.
7686         (close): Likewise.
7687         (available): Use it.
7688
7689 2002-09-25  Michael Koch  <konqueror@gmx.de>
7690
7691         * java/net/DatagramSocket.java
7692         (DatagramSocket): Initialize new instance variables.
7693         (close): Reset new instance variables.
7694         (getLocalAddress): Remove unneeded SecurityManager usage.
7695         (getLocalPort): Check if socket is already bound.
7696         (isConnected): New method.
7697         (getInetAddress): Implemented.
7698         (getPort): Better Implementation, documentation fixed.
7699         (getRemoteSocketAddress): New method.
7700         * java/net/JarURLConnection.java
7701         (element): Typo fixed.
7702         (getMainAttributes): New method.
7703         (getAttributes): New method (stub only).
7704         (getManifest): New method (stub only).
7705         * java/net/NetPermission.java: Added serialVersionsUID.
7706         * java/net/Socket.java
7707         (connect): Check blocking mode of associated channel,
7708         documentation added.
7709         (getLocalSocketAddress): Better implementation.
7710         (getRemoteSocketAddress): Implemented.
7711         (isBound): New method.
7712         (setSendBufferSize): Documentation added.
7713         * java/net/SocketAddress.java: Added serialVersionsUID.
7714         * java/net/SocketPermission.java: Added serialVersionsUID.
7715         * java/net/URL.java
7716         (URL): Wrap for shorter lines, initialize new instance variables,
7717         documentation added.
7718         (equals): Check new instance variables too.
7719         (getContent): Documentation added.
7720         (getPath): Documentation added.
7721         (getAuthority): New method.
7722         (getHost): Documentation added.
7723         (getPort): Documentation added.
7724         (getDefaultPort): New method.
7725         (getProtocol): Documentation added.
7726         (getUserInfo): Documentation added.
7727         (set): Initialize new instance variables, documentation added.
7728         * java/net/URLStreamHandler.java
7729         (setURL): New method.
7730         * java/net/natPlainDatagramSocketImpl.cc
7731         (connect): Fix exception name.
7732         (disconnect): Fix exception name.
7733
7734 2002-09-25  Michael Koch  <konqueror@gmx.de>
7735
7736         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7737         * java/nio/channels/DatagramChannel.java:
7738         extends AbstractSelectableChannel
7739         * java/nio/channels/ServerSocketChannel.java:
7740         extends AbstractSelectableChannel
7741         * java/nio/channels/SocketChannel.java:
7742         extends AbstractSelectableChannel
7743         * Makefile.am (ordinary_java_source_files):
7744         java/nio/channels/spi/AbstractSelectableChannel.java added.
7745         * Makefile.in: Regenerated.
7746
7747 2002-09-25  Michael Koch  <konqueror@gmx.de>
7748
7749         * java/net/DatagramSocket.java
7750         (DatagramSocket): Exception documentation added.
7751         (bind): Exception documentation added, addded SecurityManager check,
7752         added SocketAddress type check.
7753         (getSoTimeout): Check impl.
7754         (receive): Fix SecurityManager check, check impl, documentation added.
7755         (send): Check channel mode, documentation added.
7756         (connect): New method.
7757         (disconnect): Implemented.
7758         (getLocalSocketAddress): New method.
7759         (getReceiveBufferSize): Check impl.
7760         (setReuseAddress): Check impl.
7761         (getReuseAddress): Check impl.
7762         (setBroadcast): Check impl.
7763         (getBroadcast): Check impl.
7764         (setTrafficClass): Check impl, Documentation cleared.
7765         (getTrafficClass): Check impl.
7766         (getSendBufferSize): Check impl.
7767         (setReceiveBufferSize): Check impl, documentation added.
7768         (setSendBufferSize): Documentation added.
7769         (setDatagramSocketImplFactory): New method.
7770         * java/net/HttpURLConnection.java
7771         (HTTP_INTERNAL_ERROR): The correct code is 500.
7772         (HTTP_NOT_IMPLEMENTED): Added new constant.
7773         (setFollowRedirects): Documentation added.
7774         (getInstanceFollowRedirects): New method.
7775         (setInstanceFollowRedirects): New method.
7776         (setRequestMethod): Documentation added.
7777         (getResponseCode): Documentation added.
7778         (getResponseMessage): Documentation added.
7779         * java/net/JarURLConnection.java
7780         (JarURLConnection): protected since JDK 1.4.
7781         (getJarEntry): java.io.IOException to IOException, documentation added.
7782         (getJarFile): Documentation added.
7783         * java/net/ServerSocket.java
7784         (ServerSocket): Private to public, exception added.
7785         (ServerSocket): java.io.IOException to IOException, documentation added.
7786         (bind): Check socket address type, documentation added.
7787         (bind): java.io.IOException to IOException, documentation added.
7788         (accept): Documentation added.
7789         (implAccept): Check ch is not non-blocking, documentation added.
7790         (setSoTimeout): Documentation fixed.
7791         (setReceiveBufferSize): Documentation added.
7792         * java/net/Socket.java
7793         (Socket): Documentation added.
7794         (bind): Documentation added.
7795         (connect): Check socket address type, documentation added.
7796         (getRemoteSocketAddress): New method.
7797         (getLocalSocketAddress): New method.
7798         (setSoLinger): Documentation added.
7799         (getReuseAddress): New method.
7800         (setReuseAddress): New method.
7801         (getTrafficClass): New method.
7802         (setTrafficClass): New method.
7803         * java/net/URLStreamHandler.java
7804         (openConnection): java.io.IOException to IOException.
7805         (parseURL): Documentation added.
7806         (sameFile): public to protected, documentation added.
7807         (setURL): Documentation added.
7808         * java/nio/IllegalBlockingModeException.java: New file.
7809         * Makefile.am (ordinary_java_source_files):
7810         added java/nio/IllegalBlockingModeException.java
7811         * Makefile.in: Regenerated.
7812
7813 2002-09-25  Michael Koch  <konqueror@gmx.de>
7814
7815         * java/net/DatagramPacket
7816         (DatagramPacket): Exception documentation added.
7817         (setData): Likewise.
7818         (setSocketAddress): Likewise.
7819         * java/net/DatagramSocketImpl.java
7820         (peek): Documentation addded.
7821         (peekData): Documentation addded.
7822         (send): Documentation addded.
7823         (receive): Documentation addded.
7824         (connect): New method.
7825         (disconnect): New method.
7826         (joinGroup): New abstract method.
7827         (leaveGroup): New abstract method.
7828         * java/net/InetSocketAddress.java
7829         (InetSocketAddress): Documentation added.
7830         (equals): final keyword added.
7831         (getAddress): final keyword added.
7832         (getHostName): final keyword added.
7833         (getPort): final keyword added.
7834         (hashCode): final keyword added.
7835         (isUnresolved): final keyword added.
7836         * java/net/MulticastSocket.java
7837         (MulticastSocket): Documentation added.
7838         (MulticastSocket): New method.
7839         (joinGroup): Documentation added.
7840         (joinGroup): New method.
7841         (leaveGroup): Documentation added.
7842         (leaveGroup): New method.
7843         (send): Documentation added.
7844         * java/net/NetworkInterface.java
7845         (getByName): Documentation added.
7846         (getByInetAddress): Documentation added.
7847         (getNetworkInterfaces): Documentation added.
7848         * java/net/PlainDatagramSocketImpl.java
7849         (connect): New method.
7850         (disconnect): New method.
7851         * java/net/SocketImpl.java
7852         (create): Documentation added.
7853         (shutdownInput): Convert public to protected, as it always was.
7854         (shutdownOutput): Convert public to protected, as it always was.
7855         * java/net/SocketOptions.java
7856         (whole file): Reintented.
7857         * java/net/URLClassLoader.java
7858         (URLClassLoader): SecurityManager check added, documentation added.
7859         (findResources): Documentation added.
7860         (findClass): Documentation added.
7861         (newInstance): More correct method arguments.
7862         * java/net/URLConnection.java
7863         (connect): Documentation added.
7864         (getContent): Documentation added.
7865         (getPermission): Documentation added.
7866         (getInputStream): Documentation added.
7867         (getOutputStream): Documentation added.
7868         (setDoInput): Throw correct exception, documentation added.
7869         (setDoOutput): Throw correct exception, documentation added.
7870         (setAllowUserInteraction): Throw correct exception, documentation added.
7871         (setUseCaches): Throw correct exception, documentation added.
7872         (setIfModifiedSince): Throw correct exception, documentation added.
7873         (setRequestProperty): Throw exception, documentation added.
7874         (addRequestProperty): Throw exception, documentation added.
7875         (getRequestProperty): Throw exception, documentation added.
7876         (getRequestProperties): Documentation added.
7877         (setContentHandlerFactory): Documentation added.
7878         (guessContentTypeFromName): protected to public.
7879         (setFileNameMap): Documentation added.
7880         * java/net/URLDecoder.java
7881         (URLDecoder): New method.
7882         (decode): Documentation added.
7883         (whole file): Reindented.
7884         * java/net/URLEncoder.java
7885         (encode): Documentation added.
7886         * java/net/natPlainDatagramSocketImpl.cc
7887         (connect): New method.
7888         (disconnect): New method.
7889         * javax/naming/RefAddr:
7890         (addrType): addrType was never final.
7891         (equals): Fix typo in method name.
7892         * javax/naming/BinaryRefAddr:
7893         (equals): Fix typo in method name.
7894
7895 2002-09-22  Tom Tromey  <tromey@redhat.com>
7896
7897         Fix for PR libgcj/6576:
7898         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7899         didn't find a given bundle.
7900         (getBundle): Don't require base bundle.
7901         (setParent): Removed old comment.
7902         (tryLocalBundle): Try components even if preceding components were
7903         empty.
7904
7905 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7906
7907         * Makefile.am (all-multi): Fix multilib parallel build.
7908
7909 2002-09-21  Michael Koch  <konqueror@gmx.de>
7910
7911         * java/net/Socket.java
7912         (sendUrgentData): New method.
7913         (getChannel): New method.
7914         * java/net/ServerSocket.java
7915         (getChannel): New method.
7916         (isBound): New method.
7917         * java/net/DatagramSocket.java
7918         (DatagramSocket): Two new methods.
7919         (bind): New method.
7920         (getChannel): New method.
7921         (isBound): New method.
7922         (send): Added newline to to make shorter lines.
7923         * java/net/PlainDatagramSocketImpl.java
7924         (mcastGrp): Added argument.
7925         (join): Use new mcastGrp.
7926         (leave): Use new mcastGrp.
7927         (joinGroup): New method.
7928         (leaveGroup): New method.
7929         * java/net/natPlainDatagramSocketImpl.cc
7930         (mcastGrp): Added argument, no yet really implemented.
7931         (getOption): Added newline for shorter lines.
7932         * java/net/natPlainSocketImpl.cc
7933         (read, setOption, getOption): Added newline for shorter lines.
7934
7935 2002-09-19  Tom Tromey  <tromey@redhat.com>
7936
7937        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7938        newly-created exception.
7939
7940 2002-09-18  Michael Koch  <konqueror@gmx.de>
7941
7942         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7943         java/util/regex/PatternSyntaxException.java:
7944         Merge with classpath, new files.
7945         * Makefile.am (core_java_source_files):
7946         Added java/util/regex/Matcher.java,
7947         java/util/regex/Pattern.java,
7948         java/util/regex/PatternSyntaxException.java
7949         * Makefile.in: Regenerated.
7950         * include/config.h.in: Added HAVE_NET_IF_H.
7951         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7952         Removed #if 0 ... #endif.
7953
7954 2002-09-17  Michael Koch  <konqueror@gmx.de>
7955
7956         * java/net/natNetworkInterface.cc:
7957         Removed unneed and yet wrong includes.
7958
7959 2002-09-17  Michael Koch  <konqueror@gmx.de>
7960
7961         * java/net/NetworkInterface.java: New file.
7962         * java/net/natNetworkInterface.java: New file.
7963         * configure.in: Added check for net/if.h.
7964         * configure: Regenerated.
7965         * Makefile.am
7966         (ordinary_java_source_files): Added NetworkInterface.java.
7967         (nat_source_files): Added natNetworkInterface.cc.
7968         * Makefile.in: Regenerated.
7969
7970 2002-09-16  Tom Tromey  <tromey@redhat.com>
7971
7972         * java/net/URLClassLoader.java (findClass): Code source for a
7973         class from a jar is not necessarily a jar: URL.
7974
7975 2002-09-16  Michael Koch  <konqueror@gmx.de>
7976
7977         * java/lang/AssertionError.java:
7978         Merge with classpath, fixes HTML.
7979         * java/rmi/server/LogStream.java:
7980         Merge with classpath, fixes some constants.
7981         * java/net/server/RemoteServer.java:
7982         Merge with classpath, adds serialVersionUID.
7983         * javax/naming/BinaryRefAddr.java:
7984         Merge with classpath, s/equal/equals/.
7985         * javax/naming/NamingException.java:
7986         Merge with classpath, fixed typo.
7987         * javax/naming/RefAddr.java:
7988         Merge with classpath, s/equal/equals/.
7989         * java/awt/Toolkit.java:
7990         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7991         and typo fixed.
7992
7993 2002-09-15  Adam Megacz <adam@xwt.org>
7994
7995         * java/net/natPlainSocketImpl.cc: fixed typo.
7996
7997 2002-09-15  Adam Megacz <adam@xwt.org>
7998
7999         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8000         which don't work on Win32 (yet).
8001
8002 2002-09-14  Adam Megacz <adam@xwt.org>
8003
8004         * java/net/natPlainDatagramSocket.cc: removed #include
8005         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8006         * include/win32.h: included definition for IP_TOS to satisfy
8007         natPlainDatagramSocket.cc
8008
8009 2002-09-13  Michael Koch  <konqueror@gmx.de>
8010
8011         * java/net/DatagramPacket.java (DatagramPacket):
8012         Added linebreak for 80 chars per line.
8013         * java/net/JarURLConection.java
8014         (getInputStreami, getJarEntry): Likewise.
8015         * java/net/SocketPErmission.java
8016         (SocketPermission class docu, implies): Likewise.
8017         * java/net/URLClassLoader.java (findResources): Likewise.
8018         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8019
8020 2002-09-13  Michael Koch  <konqueror@gmx.de>
8021
8022         * java/nio/channels/DatagramChannel.java,
8023         java/nio/channels/ServerSocketChannel.java
8024         java/nio/channels/SocketChannel.java:
8025         New dummy files to make java.net fully JDK 1.4 compatible
8026         * Makefile.am (ordinary_java_source_files): Added
8027         java/net/DatagramSocketImplFactory.java (long forgotten),
8028         java/nio/SocketChannel.java,
8029         java/nio/ServerSocketChannel.java,
8030         java/nio/DatagramChannel.java
8031         * Makefile.in: Regenrated.
8032
8033 2002-09-12  Michael Koch  <konqueror@gmx.de>
8034
8035         * java/net/DatagramSocketImpl.java
8036         (peekData): New method.
8037         * java/net/PlainDatagramSocketImpl.java
8038         (peekData): New method.
8039         * java/net/natPlainDatagramSocketImpl.cc
8040         (peekData): New method.
8041         * java/net/URLConnection
8042         (getPermission): New method.
8043         (addRequestProperty): New method.
8044         (getRequestProperties): New method.
8045         (guessContentTypeFromStream): New method, not really implemented.
8046         (URLConnection): Added/updated documentation.
8047         (connect): Added/updated documentation.
8048         (getURL): Added/updated documentation.
8049         (getContentLength): Added/updated documentation.
8050         (getContentType: Added/updated documentation.
8051         (getContentEncoding): Added/updated documentation.
8052         (getExpiration): Added/updated documentation.
8053         (getDate): Added/updated documentation.
8054         (getLastModified): Added/updated documentation.
8055         (getHeaderField): Added/updated documentation.
8056         (getHeaderFields): Added/updated documentation.
8057         (getHeaderFieldInt): Added/updated documentation.
8058         (getHeaderFieldDate): Added/updated documentation.
8059         (getHeaderFieldKey): Added/updated documentation.
8060         (getContent): Added/updated documentation.
8061         (getInputStream): Added/updated documentation.
8062         (getOutputStream): Added/updated documentation.
8063         (toString): Added/updated documentation.
8064         (setDoInput): Added/updated documentation.
8065         (getDoInput): Added/updated documentation.
8066         (setDoOutput): Added/updated documentation.
8067         (getDoOutput): Added/updated documentation.
8068         (setAllowUserInteraction): Added/updated documentation.
8069         (getAllowUserInteraction): Added/updated documentation.
8070         (setDefaultAllowUserInteraction): Added/updated documentation.
8071         (getDefaultAllowUserInteraction): Added/updated documentation.
8072         (setUseCaches): Added/updated documentation.
8073         (getUseCaches): Added/updated documentation.
8074         (setIfModifiedSince): Added/updated documentation.
8075         (getIfModifiedSince): Added/updated documentation.
8076         (getDefaultUseCaches): Added/updated documentation.
8077         (setDefaultUseCaches): Added/updated documentation.
8078         (setRequestProperty): Added/updated documentation.
8079         (getRequestProperty): Added/updated documentation.
8080         (setDefaultRequestProperty): Added/updated documentation.
8081         (getDefaultRequestProperty): Added/updated documentation.
8082         (setContentHandlerFactory): Added/updated documentation.
8083         (guessContentTypeFromName): Added/updated documentation.
8084         (getFileNameMap): Added/updated documentation.
8085         (setFileNameMap): Added/updated documentation.
8086
8087 2002-09-11  Michael Koch  <konqueror@gmx.de>
8088
8089         * java/net/Socket.java
8090         (Socket): protected to public (since JDK 1.4). Added @specnote.
8091         (bind): New method.
8092         (connect): Two new methods.
8093         (getKeepalive): Get correct socket option.
8094         (setKeepalive): Set correct socket option.
8095         (getOOBInline): New method.
8096         (setOOBInline): New method.
8097         * java/net/ServerSocket.java
8098         (bind): Two new methods.
8099         (getInetAddress): Reimplemented, catch exception.
8100         (getLocalSocketAddress): New method.
8101         (setReuseAddress): New method.
8102         (getReuseAdress): New method.
8103         (setReceiveBufferSize): New method.
8104         (getReceiveBufferSize): New method.
8105         (toString): Made string JDK 1.4 compliant.
8106
8107 2002-09-10  Michael Koch  <konqueror@gmx.de>
8108
8109         * java/net/SocketImpl.java
8110         (connect): New method.
8111         (supportsUrgentData): New method.
8112         (sendUrgentData): New method.
8113         * java/net/PlainSocketImpl.java
8114         (connect): One new method and two new implementation.
8115         (sendUrgentData): New method.
8116         * java/natPlainSocketImpl.cc
8117         (connect): Arguments changed, added support for timeouts.
8118         (getOption): Another __java_boolean to jboolean.
8119
8120 2002-09-07  Adam Megacz <adam@xwt.org>
8121
8122         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8123         definition of IP_TOS.
8124
8125 2002-09-04  Michael Koch  <konqueror@gmx.de>
8126
8127         * java/net/DatagramSocket.java
8128         (DatagramSocket): Added documentation.
8129         (close): Likewise.
8130         (getLocalAddress): Likewise.
8131         (getLocalPort): Likewise.
8132         (receive): Likewise.
8133         (send): Likewise.
8134         (setSoTimeout): Likewise.
8135         (connect): New method.
8136         (disconnect): New method.
8137         (getInetAddress): New method (FIXME)
8138         (getPort): New method.
8139         (setReuseAddress): New method.
8140         (getReuseAddress): New method.
8141         (setBroadcast): New method.
8142         (getBroadcast): New method.
8143         (setTrafficClass): New method.
8144         (getTrafficClass): New method.
8145         * java/net/MulticastSocket.java):
8146         (getTTL): Added @see in documentation.
8147         (setTTL): Added @see in documentation.
8148         (setLoopbackMode): New method.
8149         (getLoopbackMode): New method.
8150         * java/net/PlainSocketImpl.java:
8151         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8152         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8153         * java/net/PlainDatagramSocketImpl.java
8154         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8155         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8156         * java/net/natPlainSocketImpl.cc
8157         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8158         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8159         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8160         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8161         This should also fix SO_KEEPALIVE
8162         * java/net/natPlainDatagramSocketImpl.cc
8163         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8164         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8165         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8166         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8167
8168 2002-09-04  Michael Koch  <konqueror@gmx.de>
8169
8170         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8171         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8172         IP_MULTICAST_LOOP, IP_TOS
8173
8174 2002-09-03  Tom Tromey  <tromey@redhat.com>
8175
8176         * java/lang/Class.h (_getDeclaredMethod): Declare.
8177         (_getMethod): Now private.
8178         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8179         getDeclaredMethod.  Now returns NULL on failure.
8180         * java/lang/Class.java (_getDeclaredMethod): Declare.
8181         (getDeclaredMethod): No longer native; implements access checks.
8182
8183 2002-09-01  Mark Wielaard  <mark@klomp.org>
8184
8185         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8186         (sanitizeStack): Correctly reset unknown and interpreter counters,
8187         detect interpreter runtime frames.
8188         (demangleInterpreterMethod): New method.
8189         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8190         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8191         filling in addrs[].
8192
8193 2002-09-02  Michael Koch  <konqueror@gmx.de>
8194
8195         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8196         re-indented documentation.
8197
8198 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8199
8200         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8201         public, per 1.4 spec.  Fixes PR libgcj/7785.
8202
8203 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8204
8205         * Makefile.in: Rebuilt.
8206         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8207
8208 2002-08-29  Tom Tromey  <tromey@redhat.com>
8209
8210         * java/net/JarURLConnection.java (getCertificates): New method
8211         from Classpath.
8212         * java/net/URLClassLoader.java (URLClassLoader): Extends
8213         SecureClassLoader.
8214         (definePackage): New method from Classpath.
8215         (getPermissions): Likewise.
8216         (newInstance): Likewise.
8217         (findClass): Construct CodeSource for new class (from Classpath).
8218         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8219         methods.
8220         * java/net/URL.java (getUserInfo): New method.
8221         (set(String,String,int,String,String,String,String,String)): New
8222         method.
8223         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8224         (shutdownInput, shutdownOutput): Declare.
8225         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8226         Define.
8227         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8228         (getOption): Likewise.
8229         (shutdownInput): New method.
8230         (shutdownOutput): Likewise.
8231         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8232         keepalive.
8233         (getOption): Likewise.
8234         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8235         * java/net/Socket.java (setKeepAlive): New method.
8236         (getKeepAlive): Likewise.
8237         (shutdownInput, shutdownOutput): New methods.
8238
8239 2002-08-29  Michael Koch  <konqueror@gmx.de>
8240
8241         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8242         new methods are:
8243         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8244           address),
8245         DatagramPacket(byte[] buf, int length, SocketAddress address),
8246         void setSocketAddress(SocketAddress address)
8247         public SocketAddress getSocketAddress()
8248
8249 2002-08-29  Tom Tromey  <tromey@redhat.com>
8250
8251         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8252         ftruncate is missing.
8253         * configure, include/config.h.in: Rebuilt.
8254         * acconfig.h (HAVE_FTRUNCATE): Mention.
8255         * configure.in: Check for ftruncate.
8256
8257 2002-08-29  Tom Tromey  <tromey@redhat.com>
8258
8259         * include/jvm.h (struct _Jv_frame_info): New structure.
8260         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8261         java-interp.h.
8262         (lookupInterp): New method.
8263         (getAddrAsString): Use _Jv_frame_info.
8264         (dladdrLookup): Likewise.
8265         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8266         interpreted frame.
8267         (lookupInterp): Declare.
8268         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8269         (fillInStackTrace): Collect information on interpreted frames.
8270         Use _Jv_frame_info.
8271         * interpret.cc: Include Thread.h.
8272         (run): Create and push _Jv_MethodChain object.
8273         (_Jv_EndOfInterpreter): New global.
8274         * java/lang/Thread.java (interp_frame): New field.
8275         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8276         Include NameFinder.h.
8277
8278 2002-08-28  Tom Tromey  <tromey@redhat.com>
8279
8280         * java/lang/Class.h: Include Package.h.
8281         (Class::getProtectionDomain): Declare.
8282         (Class::getPackage): Declare.
8283
8284 2002-08-28  Michael Koch <konqueror@gmx.de>
8285
8286         * java/net/InetSocketAddress.java: Added some documentation and argument
8287         checks for the port numbers.
8288         * java/net/DatagramSocketImplFactory.java: New file.
8289
8290 2002-08-28  Michael Koch <konqueror@gmx.de>
8291
8292         * java/net/Authenticator.java: added some documentation.
8293
8294 2002-08-27  Tom Tromey  <tromey@redhat.com>
8295
8296         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8297         class.
8298         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8299
8300 2002-08-27  Michael Koch <konqueror@gmx.de>
8301
8302         * java/net/BindException.java,
8303         java/net/JarURLConnection.java,
8304         java/net/FileNameMap.java,
8305         java/net/HttpURLConnection.java,
8306         java/net/InetSocketAddress.java,
8307         java/net/DatagramPacket.java,
8308         java/net/DatagramSocket.java,
8309         java/net/DatagramSocketImpl.java,
8310         java/net/MulticastSocket.java,
8311         java/net/PasswordAuthentication.java,
8312         java/net/ServerSocket.java,
8313         java/net/Socket.java,
8314         java/net/URLClassLoader.java,
8315         java/net/URLConnection.java: add/update of some @since/@deprecated
8316
8317 2002-08-27  Tony Kimball <alk@pobox.com>
8318             Tom Tromey  <tromey@redhat.com>
8319
8320         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8321         define.
8322         (::close): Removed.
8323         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8324         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8325         (::close): Removed.
8326         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8327         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8328
8329 2002-08-25  Adam Megacz <adam@xwt.org>
8330
8331         * include/win32.h (getcwd): copied function declaration as
8332         temporary fix for header confusion.
8333
8334 2002-08-24  Mark Wielaard <mark@klomp.org>
8335
8336         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8337         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8338         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8339         and natNameFinder.cc.
8340         * Makefile.in: Regenerate.
8341         * prims.cc: Use trace_enabled from VMThrowable.
8342         * name-finder.cc: Removed.
8343         * gcj/javaprims.h: Add class VMThrowable.
8344         * gnu/gcj/runtime/NameFinder.java: New file.
8345         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8346         * include/name-finder.h: Removed.
8347         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8348         method stackTraceString().
8349         (printStackTrace (PrintWriter)): Likewise.
8350         (stackTraceString): Complete rewrite of old printStackTrace using
8351         StringBuffer.
8352         (stackTraceStringBuffer): New helper method for stackTraceString().
8353         (fillInStackTrace): Delegate to VMTrowable.
8354         (getStackTrace): Likewise.
8355         (getStackTrace0): Removed.
8356         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8357         (setStackTrace): Copy given array.
8358         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8359         * java/lang/VMThrowable.java: New class.
8360         * java/lang/natVMThrowable.cc: New file.
8361
8362 2003-08-23  Michael Koch  <konqueror@gmx.de>
8363
8364         * java/net/URLConnection.java,
8365         java/netJarURLConnection.java,
8366         gnu/gcj/protocol/core/Connection.java,
8367         gnu/gcj/protocol/file/Connection.java,
8368         gnu/gcj/protocol/http/Connection.java: Added implementation of
8369         getHeaderFields().
8370
8371 2002-08-22  Tom Tromey  <tromey@redhat.com>
8372
8373         * gij.cc (help): Document -cp and -classpath.
8374         (main): Handle -classpath.
8375
8376 2002-08-21  Tom Tromey  <tromey@redhat.com>
8377
8378         * Makefile.in: Rebuilt.
8379         * Makefile.am (ordinary_java_source_files): Added
8380         SocketAddress.java, InetSocketAddress.java.
8381         * java/net/PortUnreachableException.java: Merged with Classpath.
8382         * java/net/SocketTimeoutException.java: Likewise.
8383         * java/net/URISyntaxException.java: Likewise.
8384         * java/net/SocketAddress.java: New class from Classpath.
8385         * java/net/InetSocketAddress.java: Likewise.
8386
8387 2003-08-21  Michael Koch  <konqueror@gmx.de>
8388
8389         * java/net/Authenticator.java: updated JDK 1.4
8390         * java/net/ContentHandler.java: updated JDK 1.4
8391
8392 2002-08-20  Michael Koch  <konqueror@gmx.de>
8393
8394         * java/net/URISyntaxException.java: New file.
8395         * java/net/SocketTimeoutException.java: New file.
8396         * java/net/PortUnreachableException.java: New file.
8397         * Makefile.am: Updated.
8398         * Makefile.in: Rebuilt.
8399
8400 2002-08-18  Mark Wielaard  <mark@klomp.org>
8401
8402         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8403         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8404         MessageDigestSpi (fixes Classpath bug #783).
8405
8406 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8407
8408         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8409         (startProcess): Allocate path for chdir in async-signal-safe way.
8410
8411 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8412
8413         Fix for PR libgcj/7570 and PR libgcj/7578:
8414         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8415         (startProcess): Handle new `dir' argument.
8416         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8417         argument.
8418         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8419         argument.
8420         (startProcess): Likewise.
8421         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8422         argument.
8423         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8424         (exec): Don't create new environment if ENV==null.  Pass DIR to
8425         execInternal.
8426         * java/lang/natRuntime.cc: Include java/io/File.h.
8427         (execInternal): Added `dir' argument.
8428
8429 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8430
8431         * java/io/RandomAccessFile.java (skipBytes): Return number of
8432         bytes skipped.
8433
8434 2002-08-01  Mark Wielaard  <mark@klomp.org>
8435
8436         Reenable patch since shared library troubles on powerpc are solved:
8437         * gnu/java/security/provider/Gnu.java: Reference all implementation
8438         classes by using Class.getName().
8439         * gnu/java/security/der/DEREncodingException.java,
8440         gnu/java/security/provider/DERReader.java,
8441         gnu/java/security/provider/DERWriter.java,
8442         gnu/java/security/provider/DSAKeyPairGenerator.java,
8443         gnu/java/security/provider/DSAParameterGenerator.java,
8444         gnu/java/security/provider/DSAParameters.java,
8445         gnu/java/security/provider/DSASignature.java,
8446         gnu/java/security/provider/GnuDSAPrivateKey.java,
8447         gnu/java/security/provider/GnuDSAPublicKey.java,
8448         gnu/java/security/provider/MD5.java,
8449         gnu/java/security/util/Prime.java: New classes
8450         * Makefile.am (ordinary_java_source_files): Add above files.
8451         * Makefile.in: Regenerate.
8452         * gnu/java/security/provider/DefaultPolicy.java
8453         (getPermissions): Don't maintain static class variable of Permissions.
8454         * gnu/java/security/provider/SHA.java
8455         (engineUpdate): algorithm change.
8456         (engineDigest): algorithm change.
8457
8458 2002-08-09  Mark Wielaard  <mark@klomp.org>
8459
8460         * java/awt/image/MemoryImageSource.java: Change constructor to take
8461         int[] not byte[].
8462         * java/awt/Graphics2D.java: Uncomment methods that can now be
8463         compiled.
8464         * java/awt/GridBagLayout.java: New stub implementation.
8465         * javax/swing/text/html/HTML.java: Stub implementation.
8466         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8467         implementation.
8468
8469         * Makefile.am: Add new files.
8470         * Makefile.in: Rebuilt.
8471
8472 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8473
8474         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8475         methods in Graphics2D.
8476
8477 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8478
8479         AWT/Swing merge from GNU Classpath.
8480
8481         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8482         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8483         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8484         java/awt/color/ProfileDataException.java,
8485         java/awt/CompositeContext.java, java/awt/Composite.java,
8486         java/awt/ContainerOrderFocusTraversalPolicy.java,
8487         java/awt/datatransfer/FlavorTable.java,
8488         java/awt/DefaultFocusTraversalPolicy.java,
8489         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8490         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8491         java/awt/dnd/DragGestureListener.java,
8492         java/awt/dnd/DragGestureRecognizer.java,
8493         java/awt/dnd/DragSourceAdapter.java,
8494         java/awt/dnd/DragSourceContext.java,
8495         java/awt/dnd/DragSourceDragEvent.java,
8496         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8497         java/awt/dnd/DragSourceListener.java,
8498         java/awt/dnd/DragSourceMotionListener.java,
8499         java/awt/dnd/DropTarget.java,
8500         java/awt/dnd/InvalidDnDOperationException.java,
8501         java/awt/dnd/peer/DragSourceContextPeer.java,
8502         java/awt/event/AWTEventListenerProxy.java,
8503         java/awt/event/MouseWheelEvent.java,
8504         java/awt/event/MouseWheelListener.java,
8505         java/awt/event/WindowFocusListener.java,
8506         java/awt/event/WindowStateListener.java,
8507         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8508         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8509         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8510         java/awt/geom/FlatteningPathIterator.java,
8511         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8512         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8513         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8514         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8515         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8516         java/awt/image/ImagingOpException.java,
8517         java/awt/image/RasterFormatException.java,
8518         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8519         java/awt/image/VolatileImage.java,
8520         java/awt/image/WritableRenderedImage.java,
8521         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8522         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8523         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8524         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8525         java/awt/PageAttributes.java, java/awt/print/Book.java,
8526         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8527         java/awt/print/Paper.java, java/awt/print/Printable.java,
8528         java/awt/print/PrinterAbortException.java,
8529         java/awt/print/PrinterException.java,
8530         java/awt/print/PrinterGraphics.java,
8531         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8532         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8533         java/awt/Stroke.java, java/awt/TexturePaint.java,
8534         javax/accessibility/AccessibleAction.java,
8535         javax/accessibility/AccessibleBundle.java,
8536         javax/accessibility/AccessibleComponent.java,
8537         javax/accessibility/AccessibleContext.java,
8538         javax/accessibility/AccessibleEditableText.java,
8539         javax/accessibility/AccessibleExtendedComponent.java,
8540         javax/accessibility/AccessibleExtendedTable.java,
8541         javax/accessibility/AccessibleHyperlink.java,
8542         javax/accessibility/AccessibleHypertext.java,
8543         javax/accessibility/AccessibleIcon.java,
8544         javax/accessibility/Accessible.java,
8545         javax/accessibility/AccessibleKeyBinding.java,
8546         javax/accessibility/AccessibleRelation.java,
8547         javax/accessibility/AccessibleRelationSet.java,
8548         javax/accessibility/AccessibleResourceBundle.java,
8549         javax/accessibility/AccessibleRole.java,
8550         javax/accessibility/AccessibleSelection.java,
8551         javax/accessibility/AccessibleState.java,
8552         javax/accessibility/AccessibleStateSet.java,
8553         javax/accessibility/AccessibleTable.java,
8554         javax/accessibility/AccessibleTableModelChange.java,
8555         javax/accessibility/AccessibleText.java,
8556         javax/accessibility/AccessibleValue.java,
8557         javax/swing/AbstractAction.java,
8558         javax/swing/AbstractButton.java,
8559         javax/swing/AbstractCellEditor.java,
8560         javax/swing/AbstractListModel.java,
8561         javax/swing/AbstractSet.java, javax/swing/Action.java,
8562         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8563         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8564         javax/swing/border/CompoundBorder.java,
8565         javax/swing/border/EmptyBorder.java,
8566         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8567         javax/swing/border/LineBorder.java,
8568         javax/swing/border/MatteBorder.java,
8569         javax/swing/border/TitledBorder.java,
8570         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8571         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8572         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8573         javax/swing/CellRendererPane.java,
8574         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8575         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8576         javax/swing/colorchooser/ColorSelectionModel.java,
8577         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8578         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8579         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8580         javax/swing/DefaultBoundedRangeModel.java,
8581         javax/swing/DefaultButtonModel.java,
8582         javax/swing/DefaultCellEditor.java,
8583         javax/swing/DefaultCellRenderer.java,
8584         javax/swing/DefaultComboBoxModel.java,
8585         javax/swing/DefaultDesktopManager.java,
8586         javax/swing/DefaultFocusManager.java,
8587         javax/swing/DefaultListCellRenderer.java,
8588         javax/swing/DefaultListModel.java,
8589         javax/swing/DefaultListSelectionModel.java,
8590         javax/swing/DefaultSingleSelectionModel.java,
8591         javax/swing/DesktopManager.java,
8592         javax/swing/event/AncestorEvent.java,
8593         javax/swing/event/AncestorListener.java,
8594         javax/swing/event/CaretEvent.java,
8595         javax/swing/event/CaretListener.java,
8596         javax/swing/event/CellEditorListener.java,
8597         javax/swing/event/ChangeEvent.java,
8598         javax/swing/event/ChangeListener.java,
8599         javax/swing/event/DocumentEvent.java,
8600         javax/swing/event/DocumentListener.java,
8601         javax/swing/event/EventListenerList.java,
8602         javax/swing/event/HyperlinkEvent.java,
8603         javax/swing/event/HyperlinkListener.java,
8604         javax/swing/event/InternalFrameAdapter.java,
8605         javax/swing/event/InternalFrameEvent.java,
8606         javax/swing/event/InternalFrameListener.java,
8607         javax/swing/event/ListDataEvent.java,
8608         javax/swing/event/ListDataListener.java,
8609         javax/swing/event/ListSelectionEvent.java,
8610         javax/swing/event/ListSelectionListener.java,
8611         javax/swing/event/MenuDragMouseEvent.java,
8612         javax/swing/event/MenuDragMouseListener.java,
8613         javax/swing/event/MenuEvent.java,
8614         javax/swing/event/MenuKeyEvent.java,
8615         javax/swing/event/MenuKeyListener.java,
8616         javax/swing/event/MenuListener.java,
8617         javax/swing/event/MouseInputAdapter.java,
8618         javax/swing/event/MouseInputListener.java,
8619         javax/swing/event/PopupMenuEvent.java,
8620         javax/swing/event/PopupMenuListener.java,
8621         javax/swing/event/SwingPropertyChangeSupport.java,
8622         javax/swing/event/TableColumnModelEvent.java,
8623         javax/swing/event/TableColumnModelListener.java,
8624         javax/swing/event/TableModelEvent.java,
8625         javax/swing/event/TableModelListener.java,
8626         javax/swing/event/TreeExpansionEvent.java,
8627         javax/swing/event/TreeExpansionListener.java,
8628         javax/swing/event/TreeModelEvent.java,
8629         javax/swing/event/TreeModelListener.java,
8630         javax/swing/event/TreeSelectionEvent.java,
8631         javax/swing/event/TreeSelectionListener.java,
8632         javax/swing/event/TreeWillExpandListener.java,
8633         javax/swing/event/UndoableEditEvent.java,
8634         javax/swing/event/UndoableEditListener.java,
8635         javax/swing/filechooser/FileFilter.java,
8636         javax/swing/filechooser/FileSystemView.java,
8637         javax/swing/filechooser/FileView.java,
8638         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8639         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8640         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8641         javax/swing/JApplet.java, javax/swing/JButton.java,
8642         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8643         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8644         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8645         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8646         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8647         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8648         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8649         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8650         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8651         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8652         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8653         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8654         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8655         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8656         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8657         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8658         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8659         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8660         javax/swing/JToolTip.java, javax/swing/JTree.java,
8661         javax/swing/JViewport.java, javax/swing/JWindow.java,
8662         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8663         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8664         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8665         javax/swing/MenuSelectionManager.java,
8666         javax/swing/MutableComboBoxModel.java,
8667         javax/swing/OverlayLayout.java,
8668         javax/swing/plaf/ActionMapUIResource.java,
8669         javax/swing/plaf/basic/BasicBorders.java,
8670         javax/swing/plaf/basic/BasicButtonUI.java,
8671         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8672         javax/swing/plaf/basic/BasicDefaults.java,
8673         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8674         javax/swing/plaf/basic/BasicIconFactory.java,
8675         javax/swing/plaf/basic/BasicLabelUI.java,
8676         javax/swing/plaf/basic/BasicListUI.java,
8677         javax/swing/plaf/basic/BasicLookAndFeel.java,
8678         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8679         javax/swing/plaf/basic/BasicPanelUI.java,
8680         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8681         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8682         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8683         javax/swing/plaf/basic/BasicTextUI.java,
8684         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8685         javax/swing/plaf/basic/BasicTreeUI.java,
8686         javax/swing/plaf/basic/BasicViewportUI.java,
8687         javax/swing/plaf/BorderUIResource.java,
8688         javax/swing/plaf/ButtonUI.java,
8689         javax/swing/plaf/ColorChooserUI.java,
8690         javax/swing/plaf/ColorUIResource.java,
8691         javax/swing/plaf/ComboBoxUI.java,
8692         javax/swing/plaf/ComponentInputMapUIResource.java,
8693         javax/swing/plaf/ComponentUI.java,
8694         javax/swing/plaf/DesktopIconUI.java,
8695         javax/swing/plaf/DesktopPaneUI.java,
8696         javax/swing/plaf/DimensionUIResource.java,
8697         javax/swing/plaf/FileChooserUI.java,
8698         javax/swing/plaf/FontUIResource.java,
8699         javax/swing/plaf/IconUIResource.java,
8700         javax/swing/plaf/InputMapUIResource.java,
8701         javax/swing/plaf/InsetsUIResource.java,
8702         javax/swing/plaf/InternalFrameUI.java,
8703         javax/swing/plaf/LabelUI.java,
8704         javax/swing/plaf/ListUI.java,
8705         javax/swing/plaf/MenuBarUI.java,
8706         javax/swing/plaf/MenuItemUI.java,
8707         javax/swing/plaf/OptionPaneUI.java,
8708         javax/swing/plaf/PanelUI.java,
8709         javax/swing/plaf/PopupMenuUI.java,
8710         javax/swing/plaf/ProgressBarUI.java,
8711         javax/swing/plaf/RootPaneUI.java,
8712         javax/swing/plaf/ScrollBarUI.java,
8713         javax/swing/plaf/ScrollPaneUI.java,
8714         javax/swing/plaf/SeparatorUI.java,
8715         javax/swing/plaf/SliderUI.java,
8716         javax/swing/plaf/SplitPaneUI.java,
8717         javax/swing/plaf/TabbedPaneUI.java,
8718         javax/swing/plaf/TableHeaderUI.java,
8719         javax/swing/plaf/TableUI.java,
8720         javax/swing/plaf/TextUI.java,
8721         javax/swing/plaf/ToolBarUI.java,
8722         javax/swing/plaf/ToolTipUI.java,
8723         javax/swing/plaf/TreeUI.java,
8724         javax/swing/plaf/UIResource.java,
8725         javax/swing/plaf/ViewportUI.java,
8726         javax/swing/ProgressMonitorInputStream.java,
8727         javax/swing/ProgressMonitor.java,
8728         javax/swing/Renderer.java,
8729         javax/swing/RepaintManager.java,
8730         javax/swing/RootPaneContainer.java,
8731         javax/swing/Scrollable.java,
8732         javax/swing/ScrollPaneConstants.java,
8733         javax/swing/ScrollPaneLayout.java,
8734         javax/swing/SingleSelectionModel.java,
8735         javax/swing/SizeRequirements.java,
8736         javax/swing/SizeSequence.java,
8737         javax/swing/SwingConstants.java,
8738         javax/swing/SwingUtilities.java,
8739         javax/swing/table/AbstractTableModel.java,
8740         javax/swing/table/DefaultTableCellRenderer.java,
8741         javax/swing/table/DefaultTableColumnModel.java,
8742         javax/swing/table/DefaultTableModel.java,
8743         javax/swing/table/TableCellEditor.java,
8744         javax/swing/table/TableCellRenderer.java,
8745         javax/swing/table/TableColumn.java,
8746         javax/swing/table/TableColumnModel.java,
8747         javax/swing/table/TableModel.java,
8748         javax/swing/text/AbstractDocument.java,
8749         javax/swing/text/AttributeSet.java,
8750         javax/swing/text/BadLocationException.java,
8751         javax/swing/text/Caret.java,
8752         javax/swing/text/CharacterIterator.java,
8753         javax/swing/text/ComponentView.java,
8754         javax/swing/text/DefaultCaret.java,
8755         javax/swing/text/DefaultEditorKit.java,
8756         javax/swing/text/Document.java,
8757         javax/swing/text/EditorKit.java,
8758         javax/swing/text/Element.java,
8759         javax/swing/text/GapContent.java,
8760         javax/swing/text/JTextComponent.java,
8761         javax/swing/text/Keymap.java,
8762         javax/swing/text/MutableAttributeSet.java,
8763         javax/swing/text/PlainDocument.java,
8764         javax/swing/text/PlainEditorKit.java,
8765         javax/swing/text/Position.java,
8766         javax/swing/text/Segment.java,
8767         javax/swing/text/StyledDocument.java,
8768         javax/swing/text/StyledEditorKit.java,
8769         javax/swing/text/Style.java,
8770         javax/swing/text/TextAction.java,
8771         javax/swing/text/ViewFactory.java,
8772         javax/swing/text/View.java,
8773         javax/swing/Timer.java,
8774         javax/swing/ToggleButtonModel.java,
8775         javax/swing/ToolTipManager.java,
8776         javax/swing/tree/AbstractLayoutCache.java,
8777         javax/swing/tree/DefaultMutableTreeNode.java,
8778         javax/swing/tree/DefaultTreeCellEditor.java,
8779         javax/swing/tree/DefaultTreeCellRenderer.java,
8780         javax/swing/tree/DefaultTreeModel.java,
8781         javax/swing/tree/DefaultTreeSelectionModel.java,
8782         javax/swing/tree/ExpandVetoException.java,
8783         javax/swing/tree/FixedHeightLayoutCache.java,
8784         javax/swing/tree/MutableTreeNode.java,
8785         javax/swing/tree/RowMapper.java,
8786         javax/swing/tree/TreeCellEditor.java,
8787         javax/swing/tree/TreeCellRenderer.java,
8788         javax/swing/tree/TreeModel.java,
8789         javax/swing/tree/TreeNode.java,
8790         javax/swing/tree/TreePath.java,
8791         javax/swing/tree/TreeSelectionModel.java,
8792         javax/swing/tree/VariableHeightLayoutCache.java,
8793         javax/swing/UIDefaults.java,
8794         javax/swing/UIManager.java,
8795         javax/swing/undo/AbstractUndoableEdit.java,
8796         javax/swing/undo/CannotRedoException.java,
8797         javax/swing/undo/CannotUndoException.java,
8798         javax/swing/undo/CompoundEdit.java,
8799         javax/swing/undo/StateEditable.java,
8800         javax/swing/undo/StateEdit.java,
8801         javax/swing/undo/UndoableEdit.java,
8802         javax/swing/undo/UndoableEditSupport.java,
8803         javax/swing/undo/UndoManager.java,
8804         javax/swing/UnsupportedLookAndFeelException.java,
8805         javax/swing/ViewportLayout.java,
8806         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8807
8808         * java/awt/ActiveEvent.java,
8809         java/awt/Adjustable.java, java/awt/AWTError.java,
8810         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8811         java/awt/AWTException.java, java/awt/AWTPermission.java,
8812         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8813         java/awt/Color.java, java/awt/Component.java,
8814         java/awt/ComponentOrientation.java, java/awt/Container.java,
8815         java/awt/datatransfer/MimeTypeParseException.java,
8816         java/awt/datatransfer/Transferable.java,
8817         java/awt/datatransfer/UnsupportedFlavorException.java,
8818         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8819         java/awt/event/ActionListener.java,
8820         java/awt/event/AdjustmentEvent.java,
8821         java/awt/event/AdjustmentListener.java,
8822         java/awt/event/AWTEventListener.java,
8823         java/awt/event/ComponentAdapter.java,
8824         java/awt/event/ComponentEvent.java,
8825         java/awt/event/ComponentListener.java,
8826         java/awt/event/ContainerAdapter.java,
8827         java/awt/event/ContainerEvent.java,
8828         java/awt/event/ContainerListener.java,
8829         java/awt/event/FocusAdapter.java,
8830         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8831         java/awt/event/HierarchyBoundsAdapter.java,
8832         java/awt/event/HierarchyBoundsListener.java,
8833         java/awt/event/HierarchyEvent.java,
8834         java/awt/event/HierarchyListener.java,
8835         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8836         java/awt/event/InputMethodListener.java,
8837         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8838         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8839         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8840         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8841         java/awt/event/MouseListener.java,
8842         java/awt/event/MouseMotionAdapter.java,
8843         java/awt/event/MouseMotionListener.java,
8844         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8845         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8846         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8847         java/awt/event/WindowListener.java, java/awt/Font.java,
8848         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8849         java/awt/geom/Ellipse2D.java,
8850         java/awt/geom/IllegalPathStateException.java,
8851         java/awt/geom/Line2D.java,
8852         java/awt/geom/NoninvertibleTransformException.java,
8853         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8854         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8855         java/awt/geom/RoundRectangle2D.java,
8856         java/awt/GraphicsConfiguration.java,
8857         java/awt/IllegalComponentStateException.java,
8858         java/awt/image/IndexColorModel.java,
8859         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8860         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8861         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8862         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8863         java/awt/MenuItem.java, java/awt/PaintContext.java,
8864         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8865         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8866         java/awt/PrintJob.java, java/awt/Rectangle.java,
8867         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8868         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8869         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8870
8871         * java/awt/im/spi/InputMethod.java,
8872         java/awt/im/spi/InputMethodContext.java,
8873         java/awt/im/spi/InputMethodDescriptor.java,
8874         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8875         java/awt/image/renderable/ParameterBlock.java,
8876         java/awt/image/renderable/RenderContext.java,
8877         java/awt/image/renderable/RenderableImage.java,
8878         java/awt/image/renderable/RenderableImageOp.java,
8879         java/awt/image/renderable/RenderableImageProducer.java,
8880         java/awt/image/renderable/RenderedImageFactory.java: New files from
8881         classpath.
8882
8883         * gnu/java/awt/EventModifier.java,
8884         gnu/java/awt/image/ImageDecoder.java,
8885         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8886
8887         * gnu/awt/xlib/XGraphicsConfiguration.java,
8888         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8889         API.
8890
8891         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8892         GNU Classpath.
8893
8894         * Makefile.am: Add new files.
8895         * Makefile.in: Rebuilt.
8896
8897 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8898
8899         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8900         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8901         findResource, getResources, findResources): Add javadoc from classpath.
8902         (getSystemResources): Implemented.
8903
8904 2002-08-01  Mark Wielaard  <mark@klomp.org>
8905
8906         Revert patch that breaks libgcj shared library on powerpc:
8907         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8908         implementation classes by using Class.getName(). Uses Strings again.
8909         * gnu/java/security/der/DEREncodingException.java,
8910         gnu/java/security/provider/DERReader.java,
8911         gnu/java/security/provider/DERWriter.java,
8912         gnu/java/security/provider/DSAKeyPairGenerator.java,
8913         gnu/java/security/provider/DSAParameterGenerator.java,
8914         gnu/java/security/provider/DSAParameters.java,
8915         gnu/java/security/provider/DSASignature.java,
8916         gnu/java/security/provider/GnuDSAPrivateKey.java,
8917         gnu/java/security/provider/GnuDSAPublicKey.java,
8918         gnu/java/security/provider/MD5.java,
8919         gnu/java/security/util/Prime.java: Removed.
8920         * Makefile.am (ordinary_java_source_files): Remove above files.
8921         * Makefile.in: Regenerate.
8922         * gnu/java/security/provider/DefaultPolicy.java
8923         (getPermissions): Revert to maintaining static class variable of
8924         Permissions.
8925         * gnu/java/security/provider/SHA.java
8926         (engineUpdate): Revert algorithm change.
8927         (engineDigest): Revert algorithm change.
8928
8929 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8930
8931         * configure.host: Add SH support.
8932         * sysdep/sh/locks.h: New file.
8933
8934 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8935
8936         * java/awt/Frame.java (Frame): Remove println calls.
8937
8938 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8939
8940         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8941         * configure: Rebuilt.
8942
8943 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8944
8945         * sysdep/powerpc/locks.h: Formatting.
8946         (_LARX): Define.
8947         (_STCX): Define.
8948         (compare_and_swap): Use _LARX and _STCX.
8949         (compare_and_swap_release): Likewise.
8950
8951 2002-07-26  Tom Tromey  <tromey@redhat.com>
8952
8953         * java/net/Authenticator.java: New version from Classpath.
8954         * java/net/DatagramSocketImpl.java: New version from Classpath.
8955
8956 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8957
8958         * configure.host: Add powerpc64*-* entry.
8959
8960 2002-07-26  Tom Tromey  <tromey@redhat.com>
8961
8962         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8963         fcntl.h.
8964
8965 2002-07-24  Tom Tromey  <tromey@redhat.com>
8966
8967         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8968         argument to _load.
8969
8970 2002-07-24  Tom Tromey  <tromey@redhat.com>
8971             Tony Kimball <alk@pobox.com>
8972
8973         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8974         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8975         * java/io/RandomAccessFile.java (setLength): New method.
8976         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8977         * java/io/FileDescriptor.java (setLength): New method.
8978
8979 2002-07-24  Mark Wielaard  <mark@klomp.org>
8980
8981         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8982         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8983         field call setAccessible(true).
8984         (setByteField): Likewise.
8985         (setCharField): Likewise.
8986         (setDoubleField): Likewise.
8987         (setFloatField): Likewise.
8988         (setIntField): Likewise.
8989         (setLongField): Likewise.
8990         (setShortField): Likewise.
8991         (setObjectField): Likewise.
8992
8993 2002-07-24  Tom Tromey  <tromey@redhat.com>
8994
8995         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8996         use toString() to format array element.
8997
8998 2002-07-23  Mark Wielaard  <mark@klomp.org>
8999
9000         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9001         MessageDigestSpi (fixes Classpath bug #783).
9002
9003 2002-07-21  Mark Wielaard  <mark@klomp.org>
9004
9005         * gnu/java/security/provider/Gnu.java: Reference all implementation
9006         classes by using Class.getName().
9007
9008 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
9009
9010         * java/lang/ieeefp.h: Add x86-64 support.
9011         * configure.in: Likewise.
9012         * configure.host: Likewise.
9013         * configure: Regenerated.
9014         * sysdep/x86-64/locks.h: New file with x86-64 locks.
9015
9016 2002-07-16  Mark Wielaard  <mark@klomp.org>
9017
9018         * java/io/StreamTokenizer.java (pushBack): Update documentation.
9019         (whitespaceChars): call resetChar().
9020
9021 2002-07-15  Tom Tromey  <tromey@redhat.com>
9022
9023         * Makefile.in: Rebuilt.
9024         * Makefile.am (awt_java_source_files): Added new files.
9025         * java/beans/ExceptionListener.java: Merged with Classpath.
9026         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9027         * java/beans/PropertyChangeListener.java: Merged with Classpath.
9028         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9029         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9030         * java/beans/VetoableChangeListener.java: Merged with Classpath.
9031         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9032         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9033
9034 2002-07-14  Mark Wielaard  <mark@klomp.org>
9035
9036         * gnu/java/security/der/DEREncodingException.java,
9037         gnu/java/security/provider/DERReader.java,
9038         gnu/java/security/provider/DERWriter.java,
9039         gnu/java/security/provider/DSAKeyPairGenerator.java,
9040         gnu/java/security/provider/DSAParameterGenerator.java,
9041         gnu/java/security/provider/DSAParameters.java,
9042         gnu/java/security/provider/DSASignature.java,
9043         gnu/java/security/provider/GnuDSAPrivateKey.java,
9044         gnu/java/security/provider/GnuDSAPublicKey.java,
9045         gnu/java/security/provider/MD5.java,
9046         gnu/java/security/util/Prime.java: New files from Classpath.
9047         * Makefile.am (ordinary_java_source_files): Add new files.
9048         * Makefile.in: Regenerate.
9049
9050 2002-07-14  C. Brian Jones <cbj@gnu.org>
9051
9052         * gnu/java/security/provider/DefaultPolicy.java
9053         (getPermissions): do not maintain static class variable of
9054         Permissions
9055         * gnu/java/security/provider/SHA.java
9056         (engineUpdate): algorithm change
9057         (engineDigest): algorithm change
9058
9059 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
9060
9061         For PR libgcj/7292:
9062         * java/lang/Character.java (toString(char)): Now static.
9063
9064 2002-07-12  Mark Wielaard  <mark@klomp.org>
9065
9066         * java/lang/natThrowable.cc (printRawStackTrace): removed.
9067         (getStackTrace0): new method.
9068         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9069         (printStackTrace(PrintWriter)): replace with pure java implementation.
9070         (printRawStackTrace): removed.
9071         (getStackTrace0): new method.
9072         * java/lang/StackTraceElement.java (toString): add extra whitespace.
9073         * gcj/javaprims.h: regenerate class list.
9074         * include/name-finder.h (lookup): new returns StackTraceElement*.
9075         (method_name, file_name): fields removed.
9076         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9077         (~_Jv_name_finder): close new descriptors.
9078         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9079         (createStackTraceElement): new method.
9080         (lookup): returns StackTraceElement*, uses createStackTraceElement().
9081
9082 2002-07-10  Tom Tromey  <tromey@redhat.com>
9083
9084         * configure: Rebuilt.
9085         * configure.in: Use `test' after `&&'.  From Chris Faylor.
9086
9087 2002-07-08  Mark Wielaard  <mark@klomp.org>
9088
9089         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9090         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9091         java.sql.DatabaseMetaData.TestJdbc20
9092
9093 2002-07-05  Tony Kimball  <alk@pobox.com>
9094
9095         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9096
9097 2002-07-04  Tom Tromey  <tromey@redhat.com>
9098             Jeff Sturm  <jsturm@one-point.com>
9099
9100         Fix for PR libgcj/7060:
9101         * java/lang/Class.h (_getMethod): Renamed from getMethod.
9102         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9103         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
9104         * java/lang/Class.java (getMethod): New Java implementation;
9105         complies with spec.
9106         (_getMethod): New native method.
9107
9108 2002-07-02  Tom Tromey  <tromey@redhat.com>
9109             David Hovemeyer  <daveho@cs.umd.edu>
9110
9111         * java/text/ChoiceFormat.java
9112         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9113         in check loop.
9114         * java/text/MessageFormat.java
9115         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9116         to MessageFormat.
9117
9118 2002-07-01  Tom Tromey  <tromey@redhat.com>
9119
9120         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9121         StringTokenizer on null string.  For PR libgcj/7180.
9122         From daveho@cs.umd.edu.
9123
9124 2002-06-24  Tom Tromey  <tromey@redhat.com>
9125
9126         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9127         (IntegerClass): Likewise.
9128         * java/lang/natClass.cc (CloneableClass): Removed.
9129         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9130         ConstructorClass): Likewise.
9131         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9132         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9133         SerializableClass): Likewise.
9134         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9135         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9136         LongClass, FloatClass, DoubleClass): Likewise.
9137
9138         * verify.cc (branch_prepass): Updated for change to exception
9139         handler type.
9140         (verify_instructions_0): Likewise.
9141         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9142         (handleExceptionTableEntry): Updated for change to exception
9143         handler type.
9144         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9145         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9146         (union _Jv_InterpPC): New.
9147         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9148         (class _Jv_InterpMethod): Added new `prepared' field.
9149         (class _Jv_InterpMethod): Added `compile' method.  Removed
9150         `continue1' and `find_exception'.  Changed arguments to `run'.
9151         * interpret.cc (union insn_slot): New.
9152         (find_exception): Removed.
9153         (run_normal): Removed most logic.
9154         (run_synch_object): Likewise; also, use JvSynchronize.
9155         (run_synch_class): Likewise.
9156         (run): Removed.
9157         (continue1): Renamed as `run'.  Compile bytecode if required.
9158         Add new code to allow refinement of direct-threaded code at
9159         runtime.  Handle exceptions.
9160         (SAVE_PC): Removed.
9161         (compile): New method.
9162         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9163         (NULLARRAYCHECK): Don't use SAVE_PC.
9164         (pc_t): New typedef.
9165         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9166         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9167
9168 2002-06-23  Tom Tromey  <tromey@redhat.com>
9169
9170         * configure: Rebuilt.
9171         * configure.in (INTERPRETER): New subst.
9172         (AM_RUNTESTFLAGS): Don't subst.
9173
9174         * Makefile.in: Rebuilt.
9175         * Makefile.am ($(srcdir)/java/lang/Object.h,
9176         $(srcdir)/java/lang/Class.h): Added dummy targets.
9177
9178 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9179
9180         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9181
9182         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9183         java/sql/Savepoint.java: New files.
9184         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9185         java/sql/Blob.java, java/sql/CallableStatement.java,
9186         java/sql/Clob.java, java/sql/Connection.java,
9187         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9188         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9189         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9190         java/sql/Ref.java, java/sql/ResultSet.java,
9191         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9192         java/sql/SQLException.java, java/sql/SQLInput.java,
9193         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9194         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9195         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9196         (JDK 1.4) specification.
9197         * javax/sql/ConnectionEvent.java,
9198         javax/sql/ConnectionEventListener.java,
9199         javax/sql/ConnectionPoolDataSource.java,
9200         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9201         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9202         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9203         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9204         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9205         javax/sql/XADataSource.java: New files.
9206         * Makefile.am: Add new files.
9207         * Makefile.in: Rebuilt.
9208
9209 2002-06-20  Tom Tromey  <tromey@redhat.com>
9210
9211         For PR libgcj/7073:
9212         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9213         exists.
9214         * defineclass.cc (handleClassBegin): Superclass for interface is
9215         `null'.
9216
9217 2002-06-18  Tom Tromey  <tromey@redhat.com>
9218
9219         * gcj/javaprims.h: Updated class declaration list.
9220         * Makefile.in: Rebuilt.
9221         * Makefile.am (core_java_source_files): Removed
9222         BasicMapEntry.java.
9223         * java/util/BasicMapEntry.java: Removed.
9224
9225 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9226
9227         * java/net/natPlainDatagramSocketImpl.cc (receive):
9228         Check bounds of argument to FD_SET.
9229         (setOption): Throw exception if socket is closed.
9230
9231         * java/net/natPlainSocketImpl.cc (accept, read):
9232         Check bounds of argument to FD_SET.
9233         (setOption): Throw exception if socket is closed.
9234
9235 2002-06-18  Tom Tromey  <tromey@redhat.com>
9236
9237         * gcj/javaprims.h: Updated class declaration list.
9238         * Makefile.in: Rebuilt.
9239         * Makefile.am (core_java_source_files): Added
9240         PropertyPermissionCollection.java.
9241         * java/lang/Thread.java (group, name): Now package-private.
9242         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9243         * java/util/AbstractList.java: Likewise.
9244         * java/util/AbstractMap.java: Likewise.
9245         * java/util/Calendar.java: Likewise.
9246         * java/util/Collections.java: Likewise.
9247         * java/util/HashMap.java: Likewise.
9248         * java/util/Hashtable.java: Likewise.
9249         * java/util/LinkedHashMap.java: Likewise.
9250         * java/util/LinkedList.java: Likewise.
9251         * java/util/List.java: Likewise.
9252         * java/util/ListResourceBundle.java: Likewise.
9253         * java/util/Map.java: Likewise.
9254         * java/util/Observable.java: Likewise.
9255         * java/util/Properties.java: Likewise.
9256         * java/util/PropertyPermission.java: Likewise.
9257         * java/util/PropertyPermissionCollection.java: Likewise.
9258         * java/util/PropertyResourceBundle.java: Likewise.
9259         * java/util/Random.java: Likewise.
9260         * java/util/SimpleTimeZone.java: Likewise.
9261         * java/util/StringTokenizer.java: Likewise.
9262         * java/util/TimerTask.java: Likewise.
9263         * java/util/TreeMap.java: Likewise.
9264         * java/util/WeakHashMap.java: Likewise.
9265         * java/util/jar/Attributes.java: Likewise.
9266         * java/util/jar/JarException.java: Likewise.
9267         * java/util/jar/Manifest.java: Likewise.
9268
9269 2002-06-17  Tom Tromey  <tromey@redhat.com>
9270
9271         * gcj/javaprims.h: Updated class declaration list.
9272         * Makefile.in: Rebuilt.
9273         * Makefile.am (core_java_source_files): Added new file.
9274         * java/util/EventListenerProxy.java: New file.
9275         * java/util/EventListener.java: Re-merge with Classpath.
9276         * java/util/EventObject.java: Re-merge with Classpath.
9277
9278 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9279
9280         * java/lang/ClassNotFoundException.java: New Classpath version.
9281
9282 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9283
9284         * java/rmi/activation/ActivateFailedException.java: Remerge from
9285         Classpath version.
9286         * java/rmi/activation/ActivationException.java: Ditto.
9287         * java/rmi/activation/UnknownGroupException.java: Ditto.
9288         * java/rmi/activation/UnknownObjectException.java: Ditto.
9289         * java/rmi/server/ExportException: Ditto.
9290         * java/rmi/server/ServerCloneException: Ditto.
9291         * java/rmi/server/ServerNotActiveException: Ditto.
9292         * java/rmi/server/SkeletonMismatchException: Ditto.
9293         * java/rmi/server/SkeletonNotFoundException: Ditto.
9294         * java/rmi/server/SocketSecurityException: Ditto.
9295
9296 2002-06-16  Tom Tromey  <tromey@redhat.com>
9297
9298         * gcj/javaprims.h: Updated class declaration list.
9299
9300         * java/io/LineNumberInputStream.java: Merged with Classpath.
9301
9302         * java/lang/RuntimeException.java: Re-merge with Classpath.
9303         * java/util/ArrayList.java: Likewise.
9304         * java/util/Arrays.java: Likewise.
9305         * java/util/BitSet.java: Likewise.
9306         * java/util/Dictionary.java: Likewise.
9307         * java/util/IdentityHashMap.java: Likewise.
9308         * java/util/MissingResourceException.java: Likewise.
9309         * java/util/Observer.java: Likewise.
9310         * java/util/TooManyListenersException.java: Likewise.
9311         * java/util/zip/DataFormatException.java: Likewise.
9312         * java/util/zip/ZipException.java: Likewise.
9313
9314 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9315
9316         * java/rmi/AccessException.java: Remerge from Classpath.
9317         * java/rmi/AlreadyBoundException.java: Ditto.
9318         * java/rmi/ConnectException.java: Ditto.
9319         * java/rmi/ConnectIOException.java: Ditto.
9320         * java/rmi/MarshalException.java: Ditto.
9321         * java/rmi/NoSuchObjectException.java: Ditto.
9322         * java/rmi/NotBoundException.java: Ditto.
9323         * java/rmi/RemoteException.java: Ditto.
9324         * java/rmi/RMISecurityException.java: Ditto.
9325         * java/rmi/ServerError.java: Ditto.
9326         * java/rmi/ServerException.java: Ditto.
9327         * java/rmi/ServerRuntimeException.java: Ditto.
9328         * java/rmi/StubNotFoundException.java: Ditto.
9329         * java/rmi/UnexpectedExcpetion.java: Ditto.
9330         * java/rmi/UnknownHostException.java: Ditto.
9331         * java/rmi/UnmarshalException.java: Ditto.
9332
9333 2002-06-15  Tom Tromey  <tromey@redhat.com>
9334
9335         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9336         * java/lang/ArithmeticException.java: Likewise.
9337         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9338         * java/lang/ArrayStoreException.java: Likewise.
9339         * java/lang/Byte.java: Likewise.
9340         * java/lang/CharSequence.java: Likewise.
9341         * java/lang/ClassCastException.java: Likewise.
9342         * java/lang/ClassCircularityError.java: Likewise.
9343         * java/lang/ClassFormatError.java: Likewise.
9344         * java/lang/CloneNotSupportedException.java: Likewise.
9345         * java/lang/Cloneable.java: Likewise.
9346         * java/lang/Comparable.java: Likewise.
9347         * java/lang/Compiler.java: Likewise.
9348         * java/lang/Error.java: Likewise.
9349         * java/lang/ExceptionInInitializerError.java: Likewise.
9350         * java/lang/IllegalAccessError.java: Likewise.
9351         * java/lang/IllegalAccessException.java: Likewise.
9352         * java/lang/IllegalArgumentException.java: Likewise.
9353         * java/lang/IllegalMonitorStateException.java: Likewise.
9354         * java/lang/IllegalStateException.java: Likewise.
9355         * java/lang/IllegalThreadStateException.java: Likewise.
9356         * java/lang/IncompatibleClassChangeError.java: Likewise.
9357         * java/lang/IndexOutOfBoundsException.java: Likewise.
9358         * java/lang/InheritableThreadLocal.java: Likewise.
9359         * java/lang/InstantiationError.java: Likewise.
9360         * java/lang/InstantiationException.java: Likewise.
9361         * java/lang/InternalError.java: Likewise.
9362         * java/lang/InterruptedException.java: Likewise.
9363         * java/lang/LinkageError.java: Likewise.
9364         * java/lang/NegativeArraySizeException.java: Likewise.
9365         * java/lang/NoClassDefFoundError.java: Likewise.
9366         * java/lang/NoSuchFieldError.java: Likewise.
9367         * java/lang/NoSuchFieldException.java: Likewise.
9368         * java/lang/NoSuchMethodError.java: Likewise.
9369         * java/lang/NoSuchMethodException.java: Likewise.
9370         * java/lang/NullPointerException.java: Likewise.
9371         * java/lang/NumberFormatException.java: Likewise.
9372         * java/lang/OutOfMemoryError.java: Likewise.
9373         * java/lang/Process.java: Likewise.
9374         * java/lang/Runnable.java: Likewise.
9375         * java/lang/RuntimePermission.java: Likewise.
9376         * java/lang/SecurityException.java: Likewise.
9377         * java/lang/Short.java: Likewise.
9378         * java/lang/StackOverflowError.java: Likewise.
9379         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9380         * java/lang/ThreadDeath.java: Likewise.
9381         * java/lang/ThreadLocal.java: Likewise.
9382         * java/lang/UnknownError.java: Likewise.
9383         * java/lang/UnsatisfiedLinkError.java: Likewise.
9384         * java/lang/UnsupportedClassVersionError.java: Likewise.
9385         * java/lang/UnsupportedOperationException.java: Likewise.
9386         * java/lang/VerifyError.java: Likewise.
9387         * java/lang/VirtualMachineError.java: Likewise.
9388         * java/lang/reflect/InvocationTargetException.java: Likewise.
9389         * java/net/BindException.java: Likewise.
9390         * java/net/ConnectException.java: Likewise.
9391         * java/net/MalformedURLException.java: Likewise.
9392         * java/net/NoRouteToHostException.java: Likewise.
9393         * java/net/ProtocolException.java: Likewise.
9394         * java/net/SocketException.java: Likewise.
9395         * java/net/UnknownHostException.java: Likewise.
9396         * java/net/UnknownServiceException.java: Likewise.
9397
9398         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9399         * java/io/CharConversionException.java: Likewise.
9400         * java/io/EOFException.java: Likewise.
9401         * java/io/FileNotFoundException.java: Likewise.
9402         * java/io/IOException.java: Likewise.
9403         * java/io/InterruptedIOException.java: Likewise.
9404         * java/io/InvalidClassException.java: Likewise.
9405         * java/io/InvalidObjectException.java: Likewise.
9406         * java/io/NotActiveException.java: Likewise.
9407         * java/io/NotSerializableException.java: Likewise.
9408         * java/io/ObjectStreamException.java: Likewise.
9409         * java/io/ObjectStreamConstants.java: Likewise.
9410         * java/io/OptionalDataException.java: Likewise.
9411         * java/io/PipedInputStream.java: Likewise.
9412         * java/io/PushbackInputStream.java: Likewise.
9413         * java/io/StreamCorruptedException.java: Likewise.
9414         * java/io/SyncFailedException.java: Likewise.
9415         * java/io/UTFDataFormatException.java: Likewise.
9416         * java/io/UnsupportedEncodingException.java: Likewise.
9417         * java/io/WriteAbortedException.java: Likewise.
9418
9419 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9420
9421         * java/text/ChoiceFormat.java: Update comments from Classpath.
9422         * java/text/ParseException.java (serialVersionUID): New
9423         field from Classpath.
9424         * java/text/ParseException.java: Update formatting & comments
9425         from Classpath.
9426
9427 2002-06-15  Tom Tromey  <tromey@redhat.com>
9428
9429         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9430         been read but none output by inflater.
9431         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9432         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9433         is_finished.
9434         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9435         version.
9436         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9437         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9438         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9439         version.
9440         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9441
9442 2002-06-13  Tom Tromey  <tromey@redhat.com>
9443
9444         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9445         true and OFFSET!=0.
9446         * java/lang/String.java (String(char[],int,int,boolean): New
9447         constructor.
9448         * java/lang/Long.java: Imported new version from Classpath.
9449         * java/lang/Number.java: Likewise.
9450         * java/lang/Integer.java: Likewise.
9451         * java/lang/Long.java: Likewise.
9452         * java/lang/Float.java: Likewise.
9453         * java/lang/Boolean.java: Likewise.
9454         * java/lang/Double.java: Likewise.
9455         * java/lang/Void.java: Likewise.
9456
9457 2002-06-12  Tom Tromey  <tromey@redhat.com>
9458
9459         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9460         Fixes PR libgcj/6652.
9461
9462 2002-06-10  Tom Tromey  <tromey@redhat.com>
9463
9464         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9465         (Class::getPackagePortion): Likewise.
9466         * java/lang/Class.java (desiredAssertionStatus): New method from
9467         Classpath.
9468         (getPackagePortion): Likewise.
9469         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9470         packageAssertionStatus, classAssertionStatus): New methods from
9471         Classpath.
9472         * java/lang/ClassLoader.java (defaultAssertionStatus,
9473         systemPackageAssertionStatus, packageAssertionStatus,
9474         systemClassAssertionStatus, classAssertionStatus): New fields from
9475         Classpath.
9476         (setDefaultAssertionStatus, setPackageAssertionStatus,
9477         setClassAssertionStatus, clearAssertionStatus): New methods from
9478         Classpath.
9479         * Makefile.in: Rebuilt.
9480         * Makefile.am (core_java_source_files): Added AssertionError.java.
9481         * java/lang/AssertionError.java: New from Classpath.
9482
9483 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9484
9485         * configure.host: Disable hash synchronization and slow_pthread_self
9486         for cygwin.
9487
9488 2002-06-06  Adam Megacz <adam@xwt.org>
9489
9490         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9491         locking, just like the Sun JVM does.
9492
9493 2002-06-05  H.J. Lu  (hjl@gnu.org)
9494
9495         * Makefile.am (libgcj_convenience.la): Revert the last change.
9496         (libgcj.la): Likewise.
9497         * Makefile.in: Regenerated.
9498
9499 2002-06-04  H.J. Lu  (hjl@gnu.org)
9500
9501         * Makefile.am (libgcj_convenience.la): New target.
9502         (libgcj.la): Depend on libgcj_convenience.la.
9503         * Makefile.in: Regenerated.
9504
9505 2002-06-04  H.J. Lu  (hjl@gnu.org)
9506
9507         * configure.in (--with-newlib): New option:
9508         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9509         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9510         Linux.
9511         * configure: Regenerated.
9512
9513 2002-06-04  Tom Tromey  <tromey@redhat.com>
9514
9515         * java/util/natTimeZone.cc: Include <stdio.h>.
9516
9517 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9518
9519         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9520         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9521         Set SIGNAL_HANDLER=include/s390-linux.h.
9522         * configure: Regenerate.
9523         * include/s390-linux.h: New file.
9524
9525 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9526
9527         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9528         not "stackTrace".
9529
9530 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9531
9532         Merge JDK 1.4 java.security changes from classpath.
9533
9534         * java/security/AccessControlException.java: Merge from Classpath.
9535         * java/security/AccessController.java: Likewise.
9536         * java/security/AllPermission.java: Likewise.
9537         * java/security/BasicPermission.java: Likewise.
9538         * java/security/Certificate.java: Likewise.
9539         * java/security/CodeSource.java: Likewise.
9540         * java/security/DigestException.java: Likewise.
9541         * java/security/DigestOutputStream.java: Likewise.
9542         * java/security/DomainCombiner.java: Likewise.
9543         * java/security/GeneralSecurityException.java: Likewise.
9544         * java/security/Guard.java: Likewise.
9545         * java/security/GuardedObject.java: Likewise.
9546         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9547         * java/security/InvalidKeyException.java: Likewise.
9548         * java/security/InvalidParameterException.java: Likewise.
9549         * java/security/Key.java: Likewise.
9550         * java/security/KeyException.java: Likewise.
9551         * java/security/KeyManagementException.java: Likewise.
9552         * java/security/KeyStoreException.java: Likewise.
9553         * java/security/MessageDigest.java: Likewise.
9554         * java/security/NoSuchAlgorithmException.java: Likewise.
9555         * java/security/NoSuchProviderException.java: Likewise.
9556         * java/security/Permission.java: Likewise.
9557         * java/security/PermissionCollection.java: Likewise.
9558         * java/security/Permissions.java: Likewise.
9559         * java/security/Policy.java: Likewise.
9560         * java/security/Principal.java: Likewise.
9561         * java/security/PrivateKey.java: Likewise.
9562         * java/security/PrivilegedAction.java: Likewise.
9563         * java/security/PrivilegedActionException.java: Likewise.
9564         * java/security/PrivilegedExceptionAction.java: Likewise.
9565         * java/security/ProtectionDomain.java: Likewise.
9566         * java/security/ProviderException.java: Likewise.
9567         * java/security/PublicKey.java: Likewise.
9568         * java/security/SecureClassLoader.java: Likewise.
9569         * java/security/SecurityPermission.java: Likewise.
9570         * java/security/SignatureException.java: Likewise.
9571         * java/security/UnrecoverableKeyException.java: Likewise.
9572         * java/security/UnresolvedPermission.java: Likewise.
9573         * java/security/acl/AclNotFoundException.java: Likewise.
9574         * java/security/acl/LastOwnerException.java: Likewise.
9575         * java/security/acl/NotOwnerException.java: Likewise.
9576         * java/security/cert/CRLException.java: Likewise.
9577         * java/security/cert/CertificateEncodingException.java: Likewise.
9578         * java/security/cert/CertificateException.java: Likewise.
9579         * java/security/cert/CertificateExpiredException.java: Likewise.
9580         * java/security/cert/CertificateFactory.java: Likewise.
9581         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9582         * java/security/cert/CertificateParsingException.java: Likewise.
9583         * java/security/spec/InvalidKeySpecException.java: Likewise.
9584         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9585
9586         * java/security/cert/CertPath.java: New file.
9587         * java/security/cert/CertPathBuilderException.java: New file.
9588         * java/security/cert/CertPathValidatorException.java: New file.
9589         * java/security/cert/CertStoreException.java: New file.
9590
9591         * Makefile.am: Add new CertPath classes.
9592         * Makefile.in: Rebuilt.
9593
9594         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9595
9596 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9597
9598         Merge JDK 1.4 exception chaining support from classpath.
9599
9600         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9601         (stackTraceBytes): Rename from stackTrace.
9602         * java/lang/Exception.java: Merge from classpath.
9603         * java/lang/StackTraceElement: New file from classpath.
9604         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9605         * Makefile.am: Add StackTraceElement.
9606         * Makefile.in: Rebuilt.
9607
9608 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9609
9610         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9611         they build first.
9612         * Makefile.in: Rebuilt.
9613
9614 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9615
9616         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9617         * configure.in: Likewise.
9618         * aclocal.m4: Regenerate.
9619         * configure: Regenerate.
9620
9621 2002-05-13  Tom Tromey  <tromey@redhat.com>
9622
9623         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9624         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9625         Include platform.h.
9626
9627         Fixes PR libgcj/6389:
9628         * Makefile.in: Rebuilt.
9629         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9630         * java/util/natTimeZone.cc: New file.
9631         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9632         * java/lang/System.java: Merged with Classpath.
9633         * java/lang/Runtime.java: Merged with Classpath.
9634         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9635         security check.
9636         (setIn0): Renamed from setIn; don't run security check.
9637         (setOut0): Renamed from setOut; don't run security check.
9638         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9639         init_properties): Moved to natRuntime.cc.
9640         Moved many includes to natRuntime.cc.
9641         (isWordsBigEndian): New method.
9642         * java/lang/natRuntime.cc: Include Long.h, also other includes
9643         previously in natSystem.cc.
9644         (maxMemory): New function.
9645         (exitInternal): Renamed from `_exit'.
9646         (exit): Removed.
9647         (init): Don't set finalize_on_exit.
9648         (exitInternal): Use `finalizeOnExit'.
9649         (file_encoding, getpwuid_adaptor): New functions from
9650         natSystem.cc.
9651         (insertSystemProperties): New method, renamed from
9652         System::init_properties.  Don't set user.timezone.
9653         (_load): Don't call checkLink.
9654         (execInternal): New method.
9655         (availableProcessors): Likewise.
9656         (nativeGetLibname): Likewise.
9657
9658 2002-05-11  Mark Wielaard  <mark@klomp.org>
9659
9660         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9661         space characters.
9662         (previous_internal): Likewise.
9663
9664 2002-05-09  Tom Tromey  <tromey@redhat.com>
9665
9666         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9667
9668         * java/util/ResourceBundle.java: New version from Classpath.
9669         * java/util/Locale.java: Likewise.
9670
9671 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9672
9673         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9674         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9675         LD_LIBRARY_PATH.
9676
9677 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9678
9679         * libjava/Makefile.am (all_java_source_files): New variable.
9680         (all_java_class_files): Likewise.
9681         .java.class: New rule.
9682         (CLEANFILES): Remove tmp-list.
9683         * libjava/Makefile.in: Regenerated.
9684
9685 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9686
9687         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9688         Append .exe to executable names.  Fix for cygwin.
9689
9690 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9691
9692         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9693         script entry, and set LD to it when configuring multilibs.
9694         * configure: Rebuilt.
9695
9696 2002-05-07  Tom Tromey  <tromey@redhat.com>
9697
9698         * java/lang/natString.cc (unintern): Fixed typo.
9699
9700 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9701
9702         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9703         with -no-install on *-*-cygwin*.
9704
9705 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9706
9707         * testsuite/lib/libjava.exp (test_libjava_from_source):
9708         Add comment explaining last patch
9709
9710 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9711
9712         * testsuite/lib/libjava.exp (test_libjava_from_source):
9713         Append .exe to executable names.  If no suffix is present,
9714         then ".exe" is added by default on win32.  Harmless
9715         elsewhere so always do it.
9716
9717 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9718             Tom Tromey  <tromey@redhat.com>
9719
9720         * java/lang/natSystem.cc (getSystemTimeZone): Use
9721         HAVE_UNDERSCORE_TIMEZONE.
9722         * include/config.h.in: Rebuilt.
9723         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9724         * aclocal.m4, configure: Rebuilt.
9725         * acinclude.m4: Run AC_EXEEXT.
9726         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9727         Add test for `_timezone'.
9728
9729 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9730
9731         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9732         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9733         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9734         * Makefile.in: Rebuilt.
9735
9736 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9737
9738         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9739         use sigaction instead of __libc_sigaction.
9740
9741 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9742
9743         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9744         (libjava_init): Use it to find libgcj.spec.
9745         (libjava_arguments): Likewise.
9746
9747 2002-05-02  David S. Miller  <davem@redhat.com>
9748
9749         PR bootstrap/6525
9750         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9751         __libc_sigaction on Sparc.
9752
9753 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9754
9755         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9756         sys/filio.h, if present.
9757
9758 2002-04-30  Tom Tromey  <tromey@redhat.com>
9759
9760         * java/io/BufferedReader.java (fill): Handle case where markPos
9761         point to ignored \n.  Fixes PR libgcj/6301.
9762
9763 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9764
9765         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9766
9767 2002-04-29  Adam King <aking@dreammechanics.com>
9768
9769         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9770         of file in APPEND mode.
9771
9772 2002-04-25  David S. Miller  <davem@redhat.com>
9773
9774         PR target/6422
9775         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9776         program counter to next program counter minus 8.  Update
9777         comments in this macro to explain why.
9778
9779 2002-04-26  Tom Tromey  <tromey@redhat.com>
9780
9781         * verify.cc (construct_primitive_array_type) [void_type]: New
9782         case.
9783         (branch_prepass): Added dummy entries for unused instruction
9784         values.
9785         (verify_instructions_0): Likewise.
9786         * interpret.cc (continue1): Comment fix.
9787         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9788         * Makefile.in: Rebuilt.
9789         * Makefile.am: Added -Wswitch-enum.
9790
9791 2002-04-24  Tom Tromey  <tromey@redhat.com>
9792
9793         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9794         correct length of UTF-8 encoded name.  Strip leading `/'.
9795         (_Jv_RegisterResource): Use _Jv_Malloc.
9796
9797 2002-04-23  Adam Megacz <adam@xwt.org>
9798
9799         * win32.cc, include/win32.cc (backtrace): Added this function
9800         because Win32 does not supply it.
9801
9802 2002-04-21  David S. Miller  <davem@redhat.com>
9803
9804         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9805         magic instruction reading sequence.
9806
9807 2002-04-21  Mark Wielaard  <mark@klomp.org>
9808
9809         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9810
9811 2002-04-19  David S. Miller  <davem@redhat.com>
9812
9813         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9814         arg.
9815         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9816         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9817         on Sparc too.
9818         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9819         for 64-bit sparc.
9820         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9821         * sysdeps/sparc/locks.h: New file.
9822         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9823         on all sparc Solaris configurations.  Set to
9824         include/dwarf2-signal.h on sparc Linux.
9825         * configure: Regenerate
9826         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9827
9828 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9829
9830         * configure: Rebuilt.
9831         * configure.in (backtrace): Function doesn't work on IA-64.
9832
9833 2002-04-17  Adam King <aking@dreammechanics.com>
9834
9835         * java/io/File.java (normalizePath): Add Win32 support for auto
9836         conversion of a '/' path separator to Win32's '\' separator.
9837
9838 2002-04-16  Tom Tromey  <tromey@redhat.com>
9839
9840         Fix for PR libgcj/6081:
9841         * Makefile.in: Rebuilt.
9842         * Makefile.am (install-data-local): Use GNU make trick to avoid
9843         shell limit.
9844
9845 2002-04-16  Adam King <aking@dreammechanics.com>
9846             Tom Tromey  <tromey@redhat.com>
9847
9848         * java/io/natFileWin32.cc (performList): Return the correct array
9849         type.  Don't duplicate the creation of a File since it's already
9850         done earlier in the method and the existing code would cause a
9851         ArrayStoreException.  Don't use fixed-size array.
9852         (_access, _stat, attr, getCanonicalPath, performMkdir,
9853         performRenameTo): Don't use fixed-size array.
9854         (getCanonicalPath): Use throw, not _Jv_Throw.
9855
9856 2002-04-15  DJ Delorie  <dj@redhat.com>
9857
9858         * configure.in: Allow building in $srcdir.
9859         * configure: Regenerated.
9860
9861 2002-04-14  Mark Wielaard <mark@klomp.org>
9862
9863         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9864         * java/net/natSocketImpl.cc (close): Likewise.
9865
9866 2002-04-14  Mark Wielaard <mark@klomp.org>
9867
9868         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9869
9870 2002-04-13  Adam King <aking@dreammechanics.com>
9871
9872         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9873         the f/F/d/D modifiers.
9874
9875 2002-04-12  Anthony Green  <green@redhat.com>
9876
9877         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9878         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9879         * Makefile.in: Rebuilt.
9880         * configure.in: Substitute gcc_version.
9881         * configure: Rebuilt.
9882
9883 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9884
9885         * configure.host: Set can_unwind_signal on hosts which support it.
9886         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9887         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9888         exceptions and can_unwind_signal isn't set.
9889         * configure: Rebuilt.
9890
9891 2002-04-11  Tom Tromey  <tromey@redhat.com>
9892
9893         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9894
9895 2002-04-11  Adam King <aking@dreammechanics.com>
9896             Tom Tromey  <tromey@redhat.com>
9897
9898         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9899         _Jv_ThrowNullPointerException): Mark as noreturn.
9900         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9901         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9902         fixes.
9903
9904 2002-04-10  Tom Tromey  <tromey@redhat.com>
9905
9906         * Makefile.in: Rebuilt.
9907         * Makefile.am (java/lang/Thread.h): Mark
9908         _Jv_AttachCurrentThreadAsDaemon as friend.
9909         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9910         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9911         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9912         function.
9913         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9914         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9915         (_Jv_JNI_InvokeFunctions): Added
9916         _Jv_JNI_AttachCurrentThreadAsDaemon.
9917         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9918         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9919         (JNI_CreateJavaVM): Likewise.
9920         (_Jv_JNI_AttachCurrentThread): Likewise.
9921         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9922         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9923         (_Jv_JNIFunctions): Initialize new fields.
9924         (_Jv_JNI_NewDirectByteBuffer): New function.
9925         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9926         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9927         * include/jni.h (JNI_VERSION_1_4): New macro.
9928         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9929         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9930         (JNINativeInterface::NewDirectByteBuffer): New field.
9931         (JNINativeInterface::GetDirectBufferAddress): New field.
9932         (JNINativeInterface::GetDirectBufferCapacity): New field.
9933         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9934         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9935         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9936
9937 2002-04-09  Tom Tromey  <tromey@redhat.com>
9938
9939         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9940
9941 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9942
9943         Fix for PR libgcj/6187:
9944         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9945         distance.
9946
9947 2002-04-07  Mark Wielaard <mark@klomp.org>
9948
9949         * java/util/AbstractMap.java (putAll): Use entrySet size.
9950         (toString): Explicitly use getKey() and getValue().
9951
9952 2002-04-07  Mark Wielaard <mark@klomp.org>
9953
9954         * java/util/Hashtable.java (contains): Remove NullPointer check.
9955         (containsValue): Add NullPointer check.
9956         (remove): Always throw NullPointerException when key
9957         is null.
9958
9959 2002-04-07  Adam King <aking@dreammechanics.com>
9960
9961         * java/lang/natSystem.cc (init_properties): Call new function
9962         _Jv_platform_initProperties.
9963         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9964         support for the System properties os.name, os.arch, os.version,
9965         user.name, user.home, and user.dir.
9966         * include/posix.h, include/win32.h, posix.cc: New function
9967         _Jv_platform_initProperties.
9968
9969 2002-04-06  Mark Wielaard <mark@klomp.org>
9970
9971         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9972
9973 2002-04-06  Mark Wielaard <mark@klomp.org>
9974
9975         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9976         all of the remaining elements.
9977         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9978         (removeRange): If toIndex == fromIndex do
9979         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9980         (removeAll): Always throw NullPointerException when collection is
9981         null.
9982         (retrainAll): Likewise.
9983
9984 2002-04-05  Mark Wielaard <mark@klomp.org>
9985
9986         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9987         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9988
9989 2002-04-05  Adam Megacz <adam@xwt.org>
9990
9991         * exception.cc (abort): added static modifier
9992
9993 2002-04-04  Adam Megacz <adam@xwt.org>
9994
9995         * include/win32.h (_Jv_platform_close_on_exec): added inline
9996         modifier.
9997
9998 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9999
10000         * configure.host: Add case statement to support generic port
10001         properties.  Add *-*-freebsd* section.
10002
10003 2002-04-04  Mark Wielaard  <mark@klomp.org>
10004
10005         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10006         test.
10007         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10008         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10009         that depend on awt code and BufferedByteOutputStream.interrupt.
10010
10011 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10012
10013         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10014         incorrect "hi" value when count > 40.
10015
10016 2002-04-03  Mark Wielaard  <mark@klomp.org>
10017
10018         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10019         ordering.
10020
10021 2002-04-02  Tom Tromey  <tromey@redhat.com>
10022
10023         * java/lang/natClassLoader.cc (findClass): Compare against `3',
10024         not `0'.
10025
10026 2002-04-02  Mark Wielaard  <mark@klomp.org>
10027
10028         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10029         list of testsuite crashers.
10030
10031 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10032
10033         * java/util/IdentityHashMap.java (put): Set new threshold correctly
10034         when resizing table.
10035
10036 2002-04-01  Mark Wielaard  <mark@klomp.org>
10037
10038         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10039         NegativeArraySizeException
10040         (clear(int)): Use sign extended shift.
10041         (flip(int)): Likewise.
10042         (get(int)): Likewise.
10043         (nextClearBit(int)): Likewise.
10044         (nextSetBit(int)): Likewise.
10045         (set(int)): Likewise.
10046
10047 2002-04-01  Mark Wielaard  <mark@klomp.org>
10048
10049         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10050         that can be compiled now and add testsuite crashers to ignore list.
10051
10052 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
10053
10054         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10055
10056         * libgcj.spec.in: Override libgcc, not lib.
10057         * libgcj-test.spec.in: Likewise.
10058
10059 2002-03-29  Tom Tromey  <tromey@redhat.com>
10060
10061         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10062         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10063
10064 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
10065
10066         * java/net/PlainDatagramSocketImpl.java
10067         (close): Use native implementation.
10068         (finalize): New method.
10069
10070         * java/net/PlainSocketImpl.java (finalize): New method.
10071
10072         * java/net/natPlainDatagramSocketImpl.cc
10073         (java/io/FileDescriptor.h): Don't include.
10074         (close): Implement method here.
10075         (create): Don't assign fd.
10076
10077         * java/net/natPlainSocketImpl.cc
10078         (java/io/FileDescriptor.h): Don't include.
10079         (create): Don't assign fd.
10080         (accept): Likewise.
10081         (close): Synchronize.
10082
10083 2002-03-27  Richard Henderson  <rth@redhat.com>
10084
10085         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10086
10087 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10088
10089         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10090         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10091         instead of syscall on IA-64.
10092         Add FIXME comment.
10093
10094 2002-03-27  Anthony Green  <green@redhat.com>
10095
10096         * libgcj.spec.in: Add CHECKREFSPEC.
10097         * configure.in: Ditto.
10098         * configure.host: Ditto.  Check references for xscale-elf.
10099         * configure: Rebuilt.
10100
10101 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
10102
10103         * include/dwarf2-signal.h: Temporarily back out last change.
10104
10105 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
10106
10107         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10108
10109 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10110
10111         * configure.in, configure: enable dwarf2-exception-style
10112         exception handling on IA-64.
10113         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10114         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10115         Add FIXME comment.
10116
10117 2002-03-25  Tom Tromey  <tromey@redhat.com>
10118
10119         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10120         (jv_convert_LDFLAGS): Likewise.
10121         (gij_LDFLAGS): Likewise.
10122         (rmic_LDFLAGS): Likewise.
10123         (rmiregistry_LDFLAGS): Likewise.
10124         * configure.in (THREADLDFLAGS): New subst; set correctly for
10125         *BSD.
10126
10127 2002-03-25  Tom Tromey  <tromey@redhat.com>
10128
10129         For PR libgcj/5303:
10130         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10131         and --version.
10132         (help): New method.
10133         (version): Likewise.
10134         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10135         "GNU".
10136         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10137         "GNU".
10138
10139 2002-03-25  Tom Tromey  <tromey@redhat.com>
10140
10141         * java/awt/Component.java (processEvent): Check ComponentEvent
10142         after KeyEvent.
10143
10144 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10145
10146         * java/io/PushbackReader.java: Reformat.
10147
10148         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10149         calculate correct number of bytes skipped.
10150
10151         Based on patch from Intel's ORP team:
10152         * java/io/PushbackInputStream.java (available): Calculate correct
10153         number of bytes in buffer.
10154         (read): Remove redundant bound check. Return bytes from both the
10155         buffer and the stream.
10156
10157 2002-03-24  Tom Tromey  <tromey@redhat.com>
10158
10159         * java/awt/TextComponent.java (TextComponent): Editable by
10160         default.
10161
10162         * java/awt/MenuItem.java (eventMask): No longer private.
10163         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10164         superclass if we didn't handle event.
10165         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10166         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10167         * java/awt/Choice.java (dispatchEventImpl): New method.
10168         * java/awt/List.java (dispatchEventImpl): New method.
10169         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10170         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10171         * java/awt/TextField.java (dispatchEventImpl): New method.
10172
10173 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10174
10175         * java/beans/IntrospectionException.java: Update to 1.4.
10176         * java/beans/PropertyVetoException.java: Ditto.
10177
10178 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10179
10180         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10181         Arrays.equals instead of ArrayHelper.equalsArray.
10182
10183 2002-03-24  C. Brian Jones <cbj@gnu.org>
10184
10185         * java/beans/Introspector.java: added new static final fields
10186         introduced in 1.2, lots of other updates remain to be done
10187
10188 2002-03-24  C. Brian Jones <cbj@gnu.org>
10189
10190         * java/beans/Introspector.java: reformatting
10191
10192 2002-03-24  C. Brian Jones <cbj@gnu.org>
10193
10194         * java/beans/Introspector.java: default beanInfoSearchPath will
10195         not include sun.beans.infos given we provide no such package and
10196         the API doesn't really require it; gnu.java.beans.info is the
10197         default.
10198
10199 2002-03-24  Mark Wielaard  <mark@klomp.org>
10200
10201         Thanks to Orp developers
10202         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10203         switch TRUE and FALSE return values.
10204
10205 2002-03-23  Tom Tromey  <tromey@redhat.com>
10206
10207         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10208         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10209
10210 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10211
10212         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10213         MONTH entry.  Fixes PR libgcj/6045.
10214
10215 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10216
10217         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10218
10219 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10220
10221         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10222         not release_set.
10223         * sysdep/powerpc/locks.h (write_barrier): New function.
10224         * sysdep/i386/locks.h (write_barrier): New function.
10225
10226 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10227
10228         * include/jni.h Use correct C comments.
10229
10230 2002-03-18  Tom Tromey  <tromey@redhat.com>
10231
10232         * include/jni.h (JNIIMPORT): New macro.
10233         (JNIEXPORT): Likewise.
10234         (JNICALL): Likewise.
10235
10236 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10237
10238         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10239         systems.
10240
10241 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10242
10243         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10244         INIT_SEGV: Use old_i386_kernel_sigaction.
10245         INIT_FP: Likewise.
10246
10247 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10248
10249         * java/lang/natSystem.cc (init_properties): Update VM version
10250         properties.
10251         * configure.in: Set GCJVERSION.
10252         * acconfig.h: Add GCJVERSION.
10253         * configure: Rebuilt.
10254         * include/config.h.in: Rebuilt.
10255
10256 2002-03-17  Anthony Green  <green@redhat.com>
10257
10258         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10259
10260 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10261
10262         Build a single libgcj.so, without separate gc and zlib libraries.
10263         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10264         SYS_ZLIBS if system zlib is used.
10265         * configure: Rebuilt.
10266         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10267         * Makefile.in: Rebuilt.
10268         * libtool-version: Increment .so version number.
10269
10270         * Makefile.am: Escape quotes in echo.
10271         * Makefile.in: Rebuilt.
10272
10273 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10274
10275         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10276         * Makefile.in: Rebuilt.
10277
10278 2002-03-15  Anthony Green  <green@redhat.com>
10279
10280         * configure.host (FILE): New macro for specifing File
10281         implementation.
10282         * configure: Rebuilt.
10283         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10284
10285 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10286
10287         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10288         already implicitly brought in from libgcj.la.
10289         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10290         * Makefile.in: Rebuilt.
10291
10292 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10293
10294         * THANKS: Fix punctuation, alphabetization.
10295
10296 2002-03-15  Tom Tromey  <tromey@redhat.com>
10297             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10298
10299         Fix for PR libgcj/5944.
10300         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10301
10302 2002-03-15  Anthony Green  <green@redhat.com>
10303
10304         * configure.in (tool_include_dir): Define.
10305         * configure: Rebuilt.
10306         * gcj/Makefile.am: Install libgcj-config.h relative to
10307         tool_include_dir.
10308         * gcj/Makefile: Rebuilt.
10309         * gcj/libgcj-config.h: Add warning comment.
10310
10311 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10312
10313         * configure.host (powerpc*-darwin*): Enable interpreter.
10314
10315 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10316
10317         * include/posix.h: Add multiple include header protection.
10318         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10319
10320 2002-03-10  Adam Megacz <adam@xwt.org>
10321
10322         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10323
10324 2002-03-10  Tom Tromey  <tromey@redhat.com>
10325
10326         * java/awt/GridLayout.java (layoutContainer): Handle case where
10327         there are no items in container.
10328
10329         * java/lang/Win32Process.java: Added comment.
10330         * include/posix.h (_Jv_platform_close_on_exec): New function.
10331         Include fcntl.h.
10332         * include/win32.h (_Jv_platform_close_on_exec): New function.
10333         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10334         flag.
10335         (accept): Likewise.
10336         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10337         close-on-exec flag.
10338         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10339         flag.
10340
10341 2002-03-09  Tom Tromey  <tromey@redhat.com>
10342
10343         * verify.cc (state::NO_STACK): New constant.
10344         (state::is_unmerged_ret_state): Handle case where stacktop is
10345         NO_STACK.
10346         (state::merge): Handle NO_STACK merges.
10347         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10348         for instruction following jsr.
10349         (stacktop, stackdepth): Removed unused variables.
10350         (pop_jump): Ignore case where all remaining states are skipped.
10351
10352 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10353
10354         * java/awt/ImageMediaEntry: Removed.
10355         * java/awt/MediaEntry: Removed.
10356
10357 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10358
10359         Hashtable synchronization for PowerPC.
10360         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10361         slow_pthread_self. Set up symlink for sysdeps directory.
10362         * configure: Rebuild.
10363         * configure.host: Document more shell variables. Set sysdeps_dir
10364         for most platforms. Set slow_pthread_self for i686. Set
10365         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10366         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10367         that memory barrier is emitted where required.
10368         * prims.cc: 64-bit align static primitive class instances.
10369         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10370         read_barrier() to enforce ordering of reads.
10371         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10372         primitives for PowerPC.
10373         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10374         moved from natObject.cc.
10375         * sysdep/alpha/locks.h: Likewise.
10376         * sysdep/ia64/locks.h: Likewise.
10377         * sysdep/generic/locks.h: Likewise.
10378         * java/lang/natObject.cc: Move thread synchronization primitives to
10379         system-dependent headers.
10380
10381 2002-03-09  Adam Megacz  <adam@xwt.org>
10382
10383         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10384         bytes read and no failure code returned.
10385
10386 2002-03-09  Adam Megacz  <adam@xwt.org>
10387
10388         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10389         definitions to simulate -mthreads.
10390
10391 2002-03-09  Adam Megacz  <adam@xwt.org>
10392
10393         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10394         avoid precision loss.
10395
10396 2002-03-09  Per Bothner  <per@bothner.com>
10397
10398         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10399         * gnu/gcj/xlib/XImage.java:  Likewise.
10400         * gnu/gcj/xlib/XColor.java:  Likewise.
10401
10402 2002-03-09  Adam Megacz  <adam@xwt.org>
10403
10404         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10405         IOException so that Throwable.printStackTrace fails correctly.
10406
10407 2002-03-08  Adam Megacz  <adam@xwt.org>
10408
10409         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10410         fixed.
10411
10412 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10413
10414         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10415         truncated to int.
10416
10417 2002-03-08  Tom Tromey  <tromey@redhat.com>
10418
10419         * include/jni.h: Include stdio.h.
10420
10421 2002-03-08  Tom Tromey  <tromey@redhat.com>
10422
10423         * posix.cc (internal_gettimeofday): New function.
10424         (_Jv_select): Use it.
10425
10426 2002-03-07  Adam Megacz  <adam@xwt.org>
10427
10428         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10429         WIN32, and added thunks for read(), write(), and close().
10430         * java/net/natPlainSocketImpl.cc (accept, read, read):
10431         Disabled timeouts on WIN32 pending discussion.
10432
10433 2002-03-07  Adam Megacz  <adam@xwt.org>
10434
10435         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10436         returns jlong. Added implementation
10437         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10438         returns jlong.
10439         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10440         returns jlong.
10441         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10442         returns jlong.
10443         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10444         _Jv_platform_gettimeofday signature.
10445
10446 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10447
10448         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10449         (read): Call recv() directly, not _Jv_recv().
10450
10451 2002-03-06  Tom Tromey  <tromey@redhat.com>
10452
10453         * java/io/natFileDescriptorEcos.cc (init): Don't use
10454         GetStdHandle.
10455         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10456         is negative.
10457         (init): Don't use GetStdHandle.
10458
10459         * include/config.h.in: Rebuilt.
10460         * configure: Rebuilt.
10461         * Makefile.in: Rebuilt.
10462
10463 2002-03-06  Adam Megacz  <adam@xwt.org>
10464
10465         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10466         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10467         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10468         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10469
10470 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10471
10472         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10473         the code for generating include/java-chartables.h.
10474         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10475         merge with Classpath.
10476         * scripts/unicode-muncher.pl: Copy from Classpath.
10477         * scritps/MakeCharTables.java: New file.
10478         * gnu/gcj/convert/Blocks-3.txt: New file.
10479         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10480         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10481         * gnu/java/lang/CharData.java: Copy from Classpath.
10482         * Makefile.am (ordinary_java_source_files): Add
10483         gnu/java/lang/CharData.java.
10484         * configure.in: Remove --enable-fast-character option.
10485         * java/lang/Character.java: Merge algorithms and Javadoc with
10486         Classpath.
10487         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10488         efficiently.
10489         * include/java-chardecomp.h: Regenerate.
10490         * include/java-chartables.h: Regenerate.
10491
10492 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10493
10494         * java/awt/MediaTracker.java: Implemented.
10495         * Makefile.am: Add MediaTracker.
10496         * Makefile.in: Rebuilt.
10497
10498 2002-03-05  Tom Tromey  <tromey@redhat.com>
10499
10500         * java/lang/natPosixProcess.cc (fail): Removed.
10501         (startProcess): Simplified error-handling.  Preserve
10502         LD_LIBRARY_PATH across exec.
10503
10504         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10505         AbstractMethodError.
10506
10507 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10508
10509         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10510         * Makefile.in: Rebuilt.
10511
10512 2002-03-03 Mark Wielaard <mark@klomp.org>
10513
10514         * java/util/Timer (TaskQueue.stop): set elements to zero.
10515
10516 2002-02-28  Anthony Green  <green@redhat.com>
10517
10518         * java/lang/reflect/natMethod.cc (result): Add void* element.
10519         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10520         constructor test.
10521
10522 2002-02-27  Adam Megacz <adam@xwt.org>
10523
10524         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10525         '#undef STRICT'.
10526
10527 2002-02-26  Tom Tromey  <tromey@redhat.com>
10528
10529         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10530         * gij.cc (version): Use __VERSION__.
10531         * include/config.h.in: Rebuilt.
10532         * acconfig.h (GCJVERSION): Removed.
10533         * configure: Rebuilt.
10534         * configure.in (GCJVERSION): Removed.
10535
10536 2002-02-26  Andreas Schwab  <schwab@suse.de>
10537
10538         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10539         glibcpp_CXX, since libjava uses even another CXX.
10540         * aclocal.m4, configure: Regenerated.
10541
10542 2002-02-26  Tom Tromey  <tromey@redhat.com>
10543
10544         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10545         `1'.
10546
10547 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10548
10549         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10550         dependency tracking for .java files.
10551         * Makefile.in: Rebuilt.
10552
10553 2002-02-24  Adam Megacz  <adam@xwt.org>
10554
10555         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10556         typo. Sorry.
10557
10558 2002-02-24  Adam Megacz  <adam@xwt.org>
10559
10560         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10561         for Win32, changed #ifdefs to check WIN32 instead of the
10562         (now-obsolete) USE_WINSOCK, and removed support for socket
10563         timeouts on Win32 pending further discussion.
10564
10565 2002-02-24  Adam Megacz  <adam@xwt.org>
10566
10567         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10568         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10569         delete
10570
10571 2002-02-24  Adam Megacz  <adam@xwt.org>
10572
10573         * java/lang/Win32Process.java: Created a dummy class to allow
10574         build process to run to completion.
10575
10576 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10577
10578         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10579         Define ffi_result union for ffi_call result.  Cast
10580         ffi_result members to jvalue.
10581
10582 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10583
10584         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10585         * testsuite/Makefile.in: Likewise.
10586
10587 2002-02-20  Per Bothner  <per@bothner.com>
10588
10589         * java/net/URL.java (getPath):  New JDK 1.3 method.
10590
10591         * java/net/URLStreamHandler.java (parseURL):
10592         It is wrong to prepend '/' to the file part of a relative url.
10593
10594         * java/net/URLStreamHandler.java (parseURL):
10595         Minor optizations - append '/' rather than "/".
10596
10597         * java/net/URLStreamHandler.java (parseURL):
10598         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10599         We probably should canonicalize for a context-relative url, though.
10600         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10601         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10602         (sameFile):  New method.  Uses canonicalizeFilename.
10603
10604 2002-02-22  Tom Tromey  <tromey@redhat.com>
10605
10606         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10607         java.vendor and java.vm.vendor.
10608         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10609         recent copyright date.
10610         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10611         * gij.cc (version): Print `Inc'.
10612
10613 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10614
10615         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10616         * aclocal.m4, configure: Rebuilt.
10617
10618 2002-02-20  Per Bothner  <per@bothner.com>
10619
10620         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10621         and/or output streams immediately here, instead of using File.exists.
10622         (inputStream, outputStream):  New fields to save open streams.
10623         (getInputStream, getOutputStream):  Use already-opened streams.
10624
10625 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10626
10627         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10628         Use it.
10629         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10630         * aclocal.m4, configure, Makefile.in: Rebuilt.
10631
10632 2002-02-19  Tom Tromey  <tromey@redhat.com>
10633
10634         Fix for PR libgcj/5696:
10635         * verify.cc (is_assignable_from_slow): Never call
10636         _Jv_IsAssignableFrom.
10637         (verify_instructions_0): Added new debug statement.
10638         (state::print): Print information about whether local has
10639         changed.
10640         (state::merge): Don't call note_variable when merging locals.
10641         (state::set_exception): Removed old FIXME comment.
10642
10643 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10644
10645         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10646         enable SO_BROADCAST.
10647
10648 2002-02-18  Jason Merrill  <jason@redhat.com>
10649
10650         * name-finder.cc (toHex): Use word mode, not long long.
10651
10652         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10653
10654 2002-02-15  Tom Tromey  <tromey@redhat.com>
10655
10656         Fix for PR libgcj/5695:
10657         * verify.cc (is_assignable_from_slow): Check to see if target is
10658         an Object before checking to see if source is an interface.
10659         (verify_instructions_0) [op_invokeinterface]: Handle case where
10660         we're making an interface call on Object.
10661
10662 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10663
10664         * Makefile.in: Rebuilt with Eric's change below.
10665
10666         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10667         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10668         Removed functions which are now implemented in Math.java.
10669
10670 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10671
10672         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10673         * Makefile.am (core_java_source_files): Add
10674         java/lang/StrictMath.java.
10675         * java/lang/Math.java: Merge with Classpath.
10676         * java/lang/StrictMath.java: New file - merge with Classpath.
10677
10678 2002-02-14  Mark Wielaard  <mark@klomp.org>
10679
10680         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10681         package as a workaround for gcj 3.0.x
10682
10683 2002-02-14  Mark Wielaard <mark@klomp.org>
10684
10685         * java/security/BasicPermission.java: extends with fully qualified
10686         classname as workaround for gcj 3.0.4.
10687
10688 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10689
10690         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10691         around gcj bug of wrong emitted qualifier for inherited method.
10692         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10693         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10694         constructor to reduce amount of emitted bytecode. While this
10695         happens to work around a jikes 1.15 bug, it is still a useful
10696         patch even for correct compilers.
10697         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10698         * gnu/java/rmi/server/UnicastRemoteCall.java
10699         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10700
10701 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10702
10703         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10704         * java/net/SocketImpl.java: Ditto.
10705         * java/rmi/server/RMIClassLoader.java: Ditto.
10706         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10707
10708 2002-02-14  Mark Wielaard <mark@klomp.org>
10709
10710         Thanks to Takashi Okamoto
10711         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10712         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10713         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10714
10715 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10716
10717         Fix for PR libgcj/5670:
10718         * verify.cc (is_assignable_from_slow): If `source' is interface,
10719         recursively look for merge with `target'.
10720
10721 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10722
10723         * include/jni.h: Fix typo.
10724
10725 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10726
10727         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10728         correctly.
10729
10730 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10731
10732         Fix for PR libgcj/5671:
10733         * verify.cc (state::merge): Handle case where we're merging
10734         against an interface.
10735
10736 2002-02-12  Tom Tromey  <tromey@redhat.com>
10737
10738         * exception.cc (std::abort): Mark as noreturn.
10739
10740 2002-02-12  Adam Megacz <adam@xwt.org>
10741
10742         * java/lang/Win32Process.java: Filled in a placeholder
10743         implementation so Win32 will build.
10744
10745 2002-02-12  Adam Megacz <adam@xwt.org>
10746
10747         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10748         * java/io/natFile.cc: Removed from repository.
10749         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10750
10751 2002-02-12  Adam Megacz <adam@xwt.org>
10752
10753         * win32.cc: Added two #includes to make win32.cc compile.
10754
10755 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10756
10757         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10758         declarations.
10759         (_Jv_InitGC): Don't bother locking, as this is always called from a
10760         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10761
10762 2002-02-11  Adam Megacz <adam@xwt.org>
10763
10764         * include/win32.h: Added _Jv_platform_gettimeofday.
10765         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10766
10767 2002-02-11  Adam Megacz <adam@xwt.org>
10768
10769         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10770         Added #undef STRICT to make windows.h and
10771         java/lang/reflect/Modifier.h cooperate.
10772
10773 2002-02-11  Adam Megacz <adam@xwt.org>
10774
10775         * java/io/natFileWin32.cc: Created a placeholder class with lots
10776         of FIXMEs.
10777
10778 2002-02-11  Adam Megacz <adam@xwt.org>
10779
10780         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10781         std::abort() to simply abort(). Also added "fake" std::abort() so
10782         we can #include unwind-pe.h without having to link against
10783         libstdc++-v3.
10784
10785 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10786
10787         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10788
10789 2002-02-08  Tom Tromey  <tromey@redhat.com>
10790
10791         * interpret.cc (convert): New function.
10792         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10793         convert.
10794         Include Long.h.
10795
10796 2002-02-08  Anthony Green  <green@redhat.com>
10797
10798         * configure.host: Add support for xscale-elf embedded target.
10799
10800 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10801
10802         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10803         dereferenced.
10804         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10805         frame.
10806
10807 2002-02-07  Tom Tromey  <tromey@redhat.com>
10808
10809         * java/io/natFile.cc (_access): Use __builtin_alloca.
10810         (_stat): Likewise.
10811         (attr): Likewise.
10812         (getCanonicalPath): Likewise.
10813         (performList): Likewise.
10814         (performMkdir): Likewise.
10815         (performSetReadOnly): Likewise.
10816         (performRenameTo): Likewise.
10817         (performSetLastModified): Likewise.
10818         (performCreate): Likewise.
10819         (performDelete): Likewise.
10820
10821 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10822
10823         * HACKING: Fix URL for the automake-gcj.
10824
10825 2002-02-07  Tom Tromey  <tromey@redhat.com>
10826
10827         * java/lang/natThrowable.cc: Updated copyright.
10828         * java/io/natFileWin32.cc: Updated copyright.
10829         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10830         * win32-threads.cc: Updated copyright.
10831         * name-finder.cc: Updated copyright.
10832         * include/name-finder.h: Updated copyright.
10833
10834         * include/name-finder.h: Conditionally include sys/wait.h.
10835         * include/config.h.in: Rebuilt.
10836
10837         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10838         Size buffer based on real size of string.
10839         (_stat): Likewise.
10840         (attr): Likewise.
10841         (getCanonicalPath): Likewise.
10842         (performList): Likewise.
10843         (performMkdir): Likewise.
10844         (performSetReadOnly): Likewise.
10845         (unixroot): Removed.
10846         (performRenameTo): Likewise.
10847         (performSetLastModified): Likewise.
10848         (performCreate): Likewise.
10849         (performDelete): Likewise.
10850         (performListRoots): Always return new array.
10851
10852         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10853         * win32.cc (win32_exception_handler): Now static.
10854         * include/win32.h (_Jv_platform_initialize): Declare.
10855         (win32_exception_handler): Don't declare.
10856         * java/lang/natSystem.cc (currentTimeMillis): Use
10857         _Jv_platform_gettimeofday.
10858         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10859         (_Jv_select): Use new name.
10860         (_Jv_platform_initialize): New function.
10861         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10862         _Jv_gettimeofday.
10863         (_Jv_platform_initialize): Declare.
10864
10865         * configure: Rebuilt.
10866         * configure.in: Removed unnecessary parens.
10867
10868 2002-02-06  Adam Megacz <adam@xwt.org>
10869
10870        * configure.in: Changed mingw) to *mingw*).
10871        * win32.cc: Created this file.
10872        * win32.h: Created this file.
10873        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10874        win32_exception_handler from prims.cc to win32.cc, added
10875        header in win32.h.
10876        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10877        longer needed now that we have platform.h
10878
10879 2002-02-06  Adam Megacz <adam@xwt.org>
10880
10881         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10882         use uint<n>_t instead of LONG and BYTE
10883
10884 2002-02-06  Adam Megacz <adam@xwt.org>
10885
10886         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10887
10888 2002-02-06  Anthony Green  <green@redhat.com>
10889
10890         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10891         Implement missing method stubs.
10892         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10893         targets.
10894         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10895         concept of timezones.
10896         (init_properties): Don't refer to _Jv_Environment_Properties
10897         when this feature is not available.
10898         * include/config.h.in: Rebuilt.
10899         * acconfig.h: Add DISABLE_MAIN_ARGS.
10900         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10901         * configure: Rebuilt.
10902         * configure.in: Add --disable-main-args option.  Test for
10903           opendir function.  Replace AC_CHECK_SIZEOF with
10904           AC_COMPILE_CHECK_SIZEOF.
10905         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10906         * aclocal.m4: Rebuilt.
10907         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10908
10909 2002-02-06  Tom Tromey  <tromey@redhat.com>
10910
10911         * verify.cc (require_array_type): If argument is a null array of
10912         references, return null as the element type.
10913
10914 2002-02-06  Mark Wielaard  <mark@klomp.org>
10915
10916         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10917         duplicate of a wide type.
10918
10919 2002-02-06  Tom Tromey  <tromey@redhat.com>
10920
10921         * verify.cc (type::isnull): New method.
10922         (require_array_type): Handle case where array is null.
10923         (verify_instructions_0) [op_arraylength]: Likewise.
10924
10925 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10926
10927         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10928         Symlink PLATFORMH to platform.h.
10929         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10930         PLATFORMOBJS.
10931         * java/lang/natSystem.cc: #include platform.h not posix.h.
10932         * Makefile.in: Rebuilt with libgcj automake.
10933         * configure: Rebuilt.
10934
10935 2002-02-05  Richard Henderson  <rth@redhat.com>
10936
10937         * Makefile.in: Undo munging last change.
10938
10939 2002-02-04  Adam Megacz <adam@xwt.org>
10940
10941         * win32.cc: Created it.
10942         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10943         which is set to posix.cc or win32.cc.
10944         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10945
10946 2002-02-04  Adam Megacz <adam@xwt.org>
10947
10948         * configure.in: Corrected mingw case branches; added * before
10949         and after.
10950
10951 2002-02-04  Adam Megacz <adam@xwt.org>
10952
10953         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10954         if compiling for win32
10955
10956 2002-02-04  Adam Megacz <adam@xwt.org>
10957
10958         * win32-threads.cc: #undef STRICT after gc.h inclusion
10959
10960 2002-02-02  Tom Tromey  <tromey@redhat.com>
10961
10962         * Makefile.in: Rebuilt.
10963
10964 2002-02-02  Jason Merrill  <jason@redhat.com>
10965
10966         * Makefile.am (clean-nat): New target.
10967
10968 2002-02-02  Tom Tromey  <tromey@redhat.com>
10969
10970         * java/io/natFile.cc: Removed old "FIXME" comments.
10971
10972 2002-02-01  Tom Tromey  <tromey@redhat.com>
10973
10974         * java/lang/natPosixProcess.cc (myclose): New function.
10975         (fail): Use it.
10976         (startProcess): Likewise.
10977
10978 2002-02-01  Adam Megacz <adam@xwt.org>
10979
10980         * prims.cc: Added #undef STRICT after #include<windows.h>.
10981
10982 2002-02-01  Adam Megacz <adam@xwt.org>
10983
10984         * prims.cc
10985         (_Jv_CreateJavaVM): We now use WIN32 instead of
10986         USE_WIN32_SIGNALLING and USE_WINSOCK.
10987         (win32_exception_handler): Now throws an exception out of
10988         the signal handler; assumes SJLJ.
10989
10990 2002-02-01  Adam Megacz <adam@xwt.org>
10991
10992         * win32-threads.cc:
10993         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10994         wait() algorithm to make it safe.
10995         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10996         Added lazy creation of Win32 Events for better performance
10997         (really_start): This now uses GC_CreateThread so boehm-gc
10998         knows about new threads even when statically linked.
10999
11000 2002-02-01  Adam Megacz <adam@xwt.org>
11001
11002         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11003         enable safer wait() algorithm.
11004         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11005         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11006         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11007         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11008         instead of mutex.
11009         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11010
11011 2002-02-01  Adam Megacz <adam@xwt.org>
11012
11013         * configure.in: Added support for mingw.
11014         * java/lang/Win32Process.java: Created as empty file.
11015         * java/lang/natWin32Process.cc: Created as empty file.
11016
11017 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
11018
11019         PR java/4972
11020         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11021         for libiconv in LIBICONV variable.
11022         * configure: Regenerated.
11023
11024 2002-01-31  Tom Tromey  <tromey@redhat.com>
11025
11026         * verify.cc (state::enter_subroutine): New method.
11027         (handle_jsr_insn): Use it.
11028         (state::merge): When processing a `ret', correctly use
11029         subroutine's state to determine which local variables have
11030         changed.
11031         (push_exception_jump): Don't let stack overflow.
11032
11033 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
11034
11035         * gnu/gcj/convert/Convert.java: Only include one copyright year in
11036         --version output.
11037
11038 2002-01-30  Tom Tromey  <tromey@redhat.com>
11039
11040         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11041         parameter for `recv' return type.
11042
11043         * verify.cc (handle_ret_insn): Check for subroutine merge here...
11044         (state::merge): ... not here.
11045         (subr_entry_info): New structure.
11046         (entry_points): New field.
11047         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
11048         entry_points.
11049
11050 2002-01-29  Tom Tromey  <tromey@redhat.com>
11051
11052         * java/awt/List.java (addNotify): Correctly check to see if peer
11053         does not exist.
11054
11055         * java/awt/GridLayout.java (layoutContainer): Use number of rows
11056         to compute height of each cell, and number of columns to compute
11057         width of each cell.
11058         * java/awt/Window.java (getOwnedWindows): Don't return null.
11059         * java/awt/FlowLayout.java (layoutContainer): Set width and height
11060         of component.  Increment x using horizontal gap, not vertical
11061         gap.
11062
11063 2002-01-28  Tom Tromey  <tromey@redhat.com>
11064
11065         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11066         `nargs' byte is number of words, not number of arguments.
11067
11068 2002-01-27  Tom Tromey  <tromey@redhat.com>
11069
11070         * java/awt/event/MouseEvent.java (modifiers): Removed field.
11071         (when): Likewise.
11072         * java/awt/event/InputEvent.java (modifiers, when): Now
11073         package-private.
11074
11075         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11076         and to-do list.
11077         (state::merge): Use current class' class loader.
11078         (state::print): Print subroutine.
11079         (state::merge): Don't look at subroutine of unmerged `ret'.
11080
11081 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11082
11083         * nogc.cc: Remove warnings.
11084         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11085         New functions.
11086
11087 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11088
11089         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11090         int, int):  Remove empty "if" statement to work around compiler bug.
11091         (newPixels(int[], ColorModel, int, int): Likewise.
11092
11093 2002-01-25  Per Bothner  <per@bothner.com>
11094
11095         * verify.cc (verify_fail):  Change from being a top-level function
11096         to e method of _Jv_BytecodeVerifier.  Emit current method name.
11097         Pass the current verifier to type: and state: methods as needed,
11098         for better error messages, and for resolve.
11099         (resolve):  Pass current class's loader for Class.forName and
11100         _Jv_FindClassFromSignature, rather than using the default loader.
11101         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
11102         (get_type_val_for_signature):  Make non-static.
11103         (various methods):  Pass start_PC implicitly, not explicitly.
11104
11105 2002-01-25  Tom Tromey  <tromey@redhat.com>
11106
11107         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11108         loop termination condition.
11109         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11110         width.
11111
11112 2002-01-24  Tom Tromey  <tromey@redhat.com>
11113
11114         * java/awt/Shape.java: Merged with Classpath.
11115         * java/awt/Scrollbar.java: Merged with Classpath.
11116
11117         * java/awt/Container.java (addNotify): Unconditionally call
11118         addNotifyContainerChildren and superclass addNotify.
11119
11120         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11121         getAlpha, not getBlue.
11122
11123 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11124
11125         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11126
11127         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11128         (grabPixels(long)): Wait to be notified that the ImageProducer has
11129         completed.
11130
11131 2002-01-24  Per Bothner  <per@bothner.com>
11132
11133         * verify.cc (is_assignable_from_slow): If target is an interface,
11134         we must still check the source's superclass before giving up.
11135
11136 2002-01-24  Tom Tromey  <tromey@redhat.com>
11137
11138         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11139
11140 2002-01-23  Tom Tromey  <tromey@redhat.com>
11141
11142         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11143         `else'.
11144
11145         * Makefile.in: Rebuilt.
11146         * Makefile.am (awt_java_source_files): Added new files.
11147         * java/awt/Toolkit.java: Merged with Classpath.
11148         * java/awt/PrintGraphics.java: New file from Classpath.
11149         * java/awt/PrintJob.java: New file from Classpath.
11150         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11151         * java/awt/datatransfer/ClipboardOwner.java: New file from
11152         Classpath.
11153         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11154         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11155         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11156         Classpath.
11157         * java/awt/datatransfer/StringSelection.java: New file from
11158         Classpath.
11159         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11160         Classpath.
11161         * java/awt/datatransfer/Transferable.java: New file from
11162         Classpath.
11163         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11164         from Classpath.
11165
11166         * Makefile.in: Rebuilt.
11167         * Makefile.am (awt_java_source_files): Added new files.
11168         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11169         Classpath.
11170         * java/awt/image/CropImageFilter.java: New file from Classpath.
11171         * java/awt/image/FilteredImageSource.java: New file from
11172         Classpath.
11173         * java/awt/image/ImageFilter.java: New file from Classpath.
11174         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11175         * java/awt/image/PixelGrabber.java: New file from Classpath.
11176         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11177         * java/awt/image/ReplicateScaleFilter.java: New file from
11178         Classpath.
11179         * java/awt/image/ImageProducer.java: Replaced with Classpath
11180         version.
11181         * java/awt/image/ImageObserver.java: Replaced with Classpath
11182         version.
11183         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11184         version.
11185         * java/awt/GridBagConstraints.java (clone): Catch
11186         CloneNotSupportedException.
11187
11188 2002-01-23  Per Bothner  <per@bothner.com>
11189
11190         * java/lang/reflect/natField.cc (setAddr):  New function.
11191         Calls getAddr and then checks that the field isn't final.
11192         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11193         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11194         (set):  Call setAddr before check that new value has right type,
11195         to better match specified semantics.
11196
11197 2002-01-22  Tom Tromey  <tromey@redhat.com>
11198
11199         * java/awt/TextField.java: Replaced with Classpath version.
11200         * java/awt/TextArea.java: Replaced with Classpath version.
11201         * java/awt/TextComponent.java: Replaced with Classpath version.
11202
11203         * java/awt/GridBagConstraints.java: Updated copyright.
11204
11205 2002-01-22  Mark Wielaard <mark@klomp.org>
11206
11207         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11208         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11209         java/awt/Dialog.java java/awt/FileDialog.java
11210         java/awt/Font.java java/awt/FontMetrics.java
11211         java/awt/Image.java java/awt/ImageMediaEntry.java
11212         java/awt/Insets.java java/awt/List.java
11213         java/awt/MediaEntry.java java/awt/MediaTracker.java
11214         java/awt/Menu.java java/awt/MenuBar.java
11215         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11216         java/awt/PaintContext.java java/awt/Panel.java
11217         java/awt/PopupMenu.java java/awt/SystemColor.java
11218         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11219         java/awt/peer/CheckboxMenuItemPeer.java
11220         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11221         java/awt/peer/ComponentPeer.java
11222         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11223         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11224         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11225         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11226         java/awt/peer/MenuBarPeer.java
11227         java/awt/peer/MenuComponentPeer.java
11228         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11229         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11230         java/awt/peer/ScrollPanePeer.java
11231         java/awt/peer/ScrollbarPeer.java
11232         java/awt/peer/TextAreaPeer.java
11233         java/awt/peer/TextComponentPeer.java
11234         java/awt/peer/TextFieldPeer.java
11235         java/awt/peer/WindowPeer.java: Add license clarification.
11236
11237 2002-01-22  Mark Wielaard <mark@klomp.org>
11238
11239         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11240         gnu/gcj/runtime/StringBuffer.java
11241         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11242         gnu/java/awt/ComponentDataBlitOp.java
11243         gnu/java/awt/GLightweightPeer.java
11244         gnu/java/beans/BeanInfoEmbryo.java
11245         gnu/java/beans/EmptyBeanInfo.java
11246         gnu/java/beans/ExplicitBeanInfo.java
11247         gnu/java/beans/IntrospectionIncubator.java
11248         gnu/java/beans/editors/ColorEditor.java
11249         gnu/java/beans/editors/FontEditor.java
11250         gnu/java/beans/editors/NativeBooleanEditor.java
11251         gnu/java/beans/editors/NativeByteEditor.java
11252         gnu/java/beans/editors/NativeDoubleEditor.java
11253         gnu/java/beans/editors/NativeFloatEditor.java
11254         gnu/java/beans/editors/NativeIntEditor.java
11255         gnu/java/beans/editors/NativeLongEditor.java
11256         gnu/java/beans/editors/NativeShortEditor.java
11257         gnu/java/beans/editors/StringEditor.java
11258         gnu/java/beans/info/ComponentBeanInfo.java
11259         gnu/java/io/ClassLoaderObjectInputStream.java
11260         gnu/java/io/NullOutputStream.java
11261         gnu/java/io/ObjectIdentityWrapper.java
11262         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11263         gnu/java/lang/reflect/TypeSignature.java
11264         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11265         gnu/java/locale/Calendar_en.java
11266         gnu/java/locale/Calendar_nl.java
11267         gnu/java/locale/LocaleInformation.java
11268         gnu/java/locale/LocaleInformation_de.java
11269         gnu/java/locale/LocaleInformation_en.java
11270         gnu/java/locale/LocaleInformation_nl.java
11271         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11272         gnu/java/rmi/registry/RegistryImpl.java
11273         gnu/java/rmi/rmic/Compile_gcj.java
11274         gnu/java/rmi/rmic/Compiler.java
11275         gnu/java/rmi/rmic/CompilerProcess.java
11276         gnu/java/rmi/rmic/RMIC.java
11277         gnu/java/rmi/rmic/TabbedWriter.java
11278         gnu/java/rmi/server/ProtocolConstants.java
11279         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11280         gnu/java/rmi/server/RMIHashes.java
11281         gnu/java/rmi/server/RMIObjectInputStream.java
11282         gnu/java/rmi/server/RMIObjectOutputStream.java
11283         gnu/java/rmi/server/UnicastConnection.java
11284         gnu/java/rmi/server/UnicastConnectionManager.java
11285         gnu/java/rmi/server/UnicastRef.java
11286         gnu/java/rmi/server/UnicastRemoteCall.java
11287         gnu/java/rmi/server/UnicastRemoteStub.java
11288         gnu/java/rmi/server/UnicastServer.java
11289         gnu/java/rmi/server/UnicastServerRef.java
11290         gnu/java/security/provider/DefaultPolicy.java
11291         gnu/java/security/provider/Gnu.java
11292         gnu/java/security/provider/SHA.java
11293         gnu/java/security/provider/SHA1PRNG.java
11294         gnu/java/text/BaseBreakIterator.java
11295         gnu/java/text/CharacterBreakIterator.java
11296         gnu/java/text/LineBreakIterator.java
11297         gnu/java/text/SentenceBreakIterator.java
11298         gnu/java/text/WordBreakIterator.java
11299         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11300         java/applet/AppletContext.java java/applet/AppletStub.java
11301         java/applet/AudioClip.java java/awt/AWTError.java
11302         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11303         java/awt/AWTException.java java/awt/AWTPermission.java
11304         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11305         java/awt/Button.java java/awt/Canvas.java
11306         java/awt/CardLayout.java java/awt/Checkbox.java
11307         java/awt/CheckboxGroup.java java/awt/Component.java
11308         java/awt/ComponentOrientation.java java/awt/Container.java
11309         java/awt/Dimension.java java/awt/Event.java
11310         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11311         java/awt/FlowLayout.java java/awt/Frame.java
11312         java/awt/Graphics.java java/awt/Graphics2D.java
11313         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11314         java/awt/IllegalComponentStateException.java
11315         java/awt/ItemSelectable.java java/awt/Label.java
11316         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11317         java/awt/MenuComponent.java java/awt/MenuItem.java
11318         java/awt/Paint.java java/awt/Point.java
11319         java/awt/Rectangle.java java/awt/RenderingHints.java
11320         java/awt/Transparency.java java/awt/Window.java
11321         java/awt/color/ColorSpace.java
11322         java/awt/color/ICC_ColorSpace.java
11323         java/awt/color/ICC_Profile.java
11324         java/awt/event/HierarchyBoundsAdapter.java
11325         java/awt/event/HierarchyBoundsListener.java
11326         java/awt/event/HierarchyEvent.java
11327         java/awt/event/HierarchyListener.java
11328         java/awt/geom/AffineTransform.java
11329         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11330         java/awt/geom/IllegalPathStateException.java
11331         java/awt/geom/Line2D.java
11332         java/awt/geom/NoninvertibleTransformException.java
11333         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11334         java/awt/geom/Rectangle2D.java
11335         java/awt/geom/RectangularShape.java
11336         java/awt/geom/RoundRectangle2D.java
11337         java/awt/image/BufferedImage.java
11338         java/awt/image/ColorModel.java
11339         java/awt/image/ComponentColorModel.java
11340         java/awt/image/ComponentSampleModel.java
11341         java/awt/image/DataBuffer.java
11342         java/awt/image/DataBufferByte.java
11343         java/awt/image/DataBufferInt.java
11344         java/awt/image/DataBufferUShort.java
11345         java/awt/image/DirectColorModel.java
11346         java/awt/image/PackedColorModel.java
11347         java/awt/image/Raster.java java/awt/image/RasterOp.java
11348         java/awt/image/SampleModel.java
11349         java/awt/image/SinglePixelPackedSampleModel.java
11350         java/awt/image/WritableRaster.java
11351         java/beans/AppletInitializer.java
11352         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11353         java/beans/Beans.java java/beans/Customizer.java
11354         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11355         java/beans/FeatureDescriptor.java
11356         java/beans/IndexedPropertyDescriptor.java
11357         java/beans/IntrospectionException.java
11358         java/beans/Introspector.java java/beans/MethodDescriptor.java
11359         java/beans/ParameterDescriptor.java
11360         java/beans/PropertyChangeEvent.java
11361         java/beans/PropertyChangeListener.java
11362         java/beans/PropertyChangeSupport.java
11363         java/beans/PropertyDescriptor.java
11364         java/beans/PropertyEditor.java
11365         java/beans/PropertyEditorManager.java
11366         java/beans/PropertyEditorSupport.java
11367         java/beans/PropertyVetoException.java
11368         java/beans/SimpleBeanInfo.java
11369         java/beans/VetoableChangeListener.java
11370         java/beans/VetoableChangeSupport.java
11371         java/beans/Visibility.java
11372         java/beans/beancontext/BeanContext.java
11373         java/beans/beancontext/BeanContextChild.java
11374         java/beans/beancontext/BeanContextChildComponentProxy.java
11375         java/beans/beancontext/BeanContextChildSupport.java
11376         java/beans/beancontext/BeanContextContainerProxy.java
11377         java/beans/beancontext/BeanContextEvent.java
11378         java/beans/beancontext/BeanContextMembershipEvent.java
11379         java/beans/beancontext/BeanContextMembershipListener.java
11380         java/beans/beancontext/BeanContextProxy.java
11381         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11382         java/beans/beancontext/BeanContextServiceProvider.java
11383         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11384         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11385         java/beans/beancontext/BeanContextServiceRevokedListener.java
11386         java/beans/beancontext/BeanContextServices.java
11387         java/beans/beancontext/BeanContextServicesListener.java
11388         java/io/BufferedInputStream.java
11389         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11390         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11391         java/io/ByteArrayOutputStream.java
11392         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11393         java/io/CharConversionException.java java/io/DataInput.java
11394         java/io/DataInputStream.java java/io/DataOutput.java
11395         java/io/EOFException.java java/io/Externalizable.java
11396         java/io/FileFilter.java java/io/FileNotFoundException.java
11397         java/io/FilePermission.java java/io/FileReader.java
11398         java/io/FileWriter.java java/io/FilenameFilter.java
11399         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11400         java/io/FilterReader.java java/io/FilterWriter.java
11401         java/io/IOException.java java/io/InputStream.java
11402         java/io/InterruptedIOException.java
11403         java/io/InvalidClassException.java
11404         java/io/InvalidObjectException.java
11405         java/io/NotActiveException.java
11406         java/io/NotSerializableException.java java/io/ObjectInput.java
11407         java/io/ObjectInputStream.java
11408         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11409         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11410         java/io/ObjectStreamConstants.java
11411         java/io/ObjectStreamException.java
11412         java/io/ObjectStreamField.java
11413         java/io/OptionalDataException.java java/io/OutputStream.java
11414         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11415         java/io/PipedReader.java java/io/PipedWriter.java
11416         java/io/PrintWriter.java java/io/PushbackInputStream.java
11417         java/io/PushbackReader.java java/io/Reader.java
11418         java/io/SequenceInputStream.java java/io/Serializable.java
11419         java/io/SerializablePermission.java
11420         java/io/StreamCorruptedException.java
11421         java/io/StreamTokenizer.java
11422         java/io/StringBufferInputStream.java java/io/StringReader.java
11423         java/io/StringWriter.java java/io/SyncFailedException.java
11424         java/io/UTFDataFormatException.java
11425         java/io/UnsupportedEncodingException.java
11426         java/io/WriteAbortedException.java java/io/Writer.java
11427         java/lang/AbstractMethodError.java
11428         java/lang/ArithmeticException.java
11429         java/lang/ArrayIndexOutOfBoundsException.java
11430         java/lang/ArrayStoreException.java java/lang/Boolean.java
11431         java/lang/Byte.java java/lang/CharSequence.java
11432         java/lang/ClassCastException.java
11433         java/lang/ClassCircularityError.java
11434         java/lang/ClassFormatError.java
11435         java/lang/ClassNotFoundException.java
11436         java/lang/CloneNotSupportedException.java
11437         java/lang/Cloneable.java java/lang/Comparable.java
11438         java/lang/Compiler.java java/lang/Double.java
11439         java/lang/Error.java java/lang/Exception.java
11440         java/lang/ExceptionInInitializerError.java
11441         java/lang/Float.java java/lang/IllegalAccessError.java
11442         java/lang/IllegalAccessException.java
11443         java/lang/IllegalArgumentException.java
11444         java/lang/IllegalMonitorStateException.java
11445         java/lang/IllegalStateException.java
11446         java/lang/IllegalThreadStateException.java
11447         java/lang/IncompatibleClassChangeError.java
11448         java/lang/IndexOutOfBoundsException.java
11449         java/lang/InheritableThreadLocal.java
11450         java/lang/InstantiationError.java
11451         java/lang/InstantiationException.java java/lang/Integer.java
11452         java/lang/InternalError.java
11453         java/lang/InterruptedException.java
11454         java/lang/LinkageError.java java/lang/Long.java
11455         java/lang/NegativeArraySizeException.java
11456         java/lang/NoClassDefFoundError.java
11457         java/lang/NoSuchFieldError.java
11458         java/lang/NoSuchFieldException.java
11459         java/lang/NoSuchMethodError.java
11460         java/lang/NoSuchMethodException.java
11461         java/lang/NullPointerException.java java/lang/Number.java
11462         java/lang/NumberFormatException.java
11463         java/lang/OutOfMemoryError.java java/lang/Package.java
11464         java/lang/Process.java java/lang/Runnable.java
11465         java/lang/RuntimeException.java
11466         java/lang/RuntimePermission.java
11467         java/lang/SecurityException.java
11468         java/lang/SecurityManager.java java/lang/Short.java
11469         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11470         java/lang/StringIndexOutOfBoundsException.java
11471         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11472         java/lang/ThreadLocal.java java/lang/UnknownError.java
11473         java/lang/UnsatisfiedLinkError.java
11474         java/lang/UnsupportedClassVersionError.java
11475         java/lang/UnsupportedOperationException.java
11476         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11477         java/lang/Void.java java/lang/ref/PhantomReference.java
11478         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11479         java/lang/ref/SoftReference.java
11480         java/lang/ref/WeakReference.java
11481         java/lang/reflect/AccessibleObject.java
11482         java/lang/reflect/InvocationTargetException.java
11483         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11484         java/lang/reflect/ReflectPermission.java
11485         java/math/BigDecimal.java java/math/BigInteger.java
11486         java/net/Authenticator.java java/net/BindException.java
11487         java/net/ConnectException.java java/net/ContentHandler.java
11488         java/net/ContentHandlerFactory.java
11489         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11490         java/net/FileNameMap.java java/net/MalformedURLException.java
11491         java/net/MulticastSocket.java java/net/NetPermission.java
11492         java/net/NoRouteToHostException.java
11493         java/net/PasswordAuthentication.java
11494         java/net/ProtocolException.java java/net/ServerSocket.java
11495         java/net/Socket.java java/net/SocketException.java
11496         java/net/SocketImpl.java java/net/SocketImplFactory.java
11497         java/net/SocketOptions.java java/net/SocketPermission.java
11498         java/net/URLDecoder.java java/net/URLEncoder.java
11499         java/net/URLStreamHandlerFactory.java
11500         java/net/UnknownHostException.java
11501         java/net/UnknownServiceException.java
11502         java/rmi/AccessException.java
11503         java/rmi/AlreadyBoundException.java
11504         java/rmi/ConnectException.java
11505         java/rmi/ConnectIOException.java
11506         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11507         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11508         java/rmi/NotBoundException.java
11509         java/rmi/RMISecurityException.java
11510         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11511         java/rmi/RemoteException.java java/rmi/ServerError.java
11512         java/rmi/ServerException.java
11513         java/rmi/ServerRuntimeException.java
11514         java/rmi/StubNotFoundException.java
11515         java/rmi/UnexpectedException.java
11516         java/rmi/UnknownHostException.java
11517         java/rmi/UnmarshalException.java
11518         java/rmi/activation/Activatable.java
11519         java/rmi/activation/ActivateFailedException.java
11520         java/rmi/activation/ActivationDesc.java
11521         java/rmi/activation/ActivationException.java
11522         java/rmi/activation/ActivationGroup.java
11523         java/rmi/activation/ActivationGroupDesc.java
11524         java/rmi/activation/ActivationGroupID.java
11525         java/rmi/activation/ActivationID.java
11526         java/rmi/activation/ActivationInstantiator.java
11527         java/rmi/activation/ActivationMonitor.java
11528         java/rmi/activation/ActivationSystem.java
11529         java/rmi/activation/Activator.java
11530         java/rmi/activation/UnknownGroupException.java
11531         java/rmi/activation/UnknownObjectException.java
11532         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11533         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11534         java/rmi/registry/Registry.java
11535         java/rmi/registry/RegistryHandler.java
11536         java/rmi/server/ExportException.java
11537         java/rmi/server/LoaderHandler.java
11538         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11539         java/rmi/server/Operation.java
11540         java/rmi/server/RMIClassLoader.java
11541         java/rmi/server/RMIClientSocketFactory.java
11542         java/rmi/server/RMIFailureHandler.java
11543         java/rmi/server/RMIServerSocketFactory.java
11544         java/rmi/server/RMISocketFactory.java
11545         java/rmi/server/RemoteCall.java
11546         java/rmi/server/RemoteObject.java
11547         java/rmi/server/RemoteRef.java
11548         java/rmi/server/RemoteServer.java
11549         java/rmi/server/RemoteStub.java
11550         java/rmi/server/ServerCloneException.java
11551         java/rmi/server/ServerNotActiveException.java
11552         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11553         java/rmi/server/SkeletonMismatchException.java
11554         java/rmi/server/SkeletonNotFoundException.java
11555         java/rmi/server/SocketSecurityException.java
11556         java/rmi/server/UID.java
11557         java/rmi/server/UnicastRemoteObject.java
11558         java/rmi/server/Unreferenced.java
11559         java/security/AccessControlContext.java
11560         java/security/AccessControlException.java
11561         java/security/AccessController.java
11562         java/security/AlgorithmParameterGenerator.java
11563         java/security/AlgorithmParameterGeneratorSpi.java
11564         java/security/AlgorithmParameters.java
11565         java/security/AlgorithmParametersSpi.java
11566         java/security/AllPermission.java
11567         java/security/BasicPermission.java
11568         java/security/Certificate.java java/security/CodeSource.java
11569         java/security/DigestException.java
11570         java/security/DigestInputStream.java
11571         java/security/DigestOutputStream.java
11572         java/security/DomainCombiner.java
11573         java/security/DummyKeyPairGenerator.java
11574         java/security/DummyMessageDigest.java
11575         java/security/DummySignature.java
11576         java/security/GeneralSecurityException.java
11577         java/security/Guard.java java/security/GuardedObject.java
11578         java/security/Identity.java java/security/IdentityScope.java
11579         java/security/InvalidAlgorithmParameterException.java
11580         java/security/InvalidKeyException.java
11581         java/security/InvalidParameterException.java
11582         java/security/Key.java java/security/KeyException.java
11583         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11584         java/security/KeyManagementException.java
11585         java/security/KeyPair.java java/security/KeyPairGenerator.java
11586         java/security/KeyPairGeneratorSpi.java
11587         java/security/KeyStore.java
11588         java/security/KeyStoreException.java
11589         java/security/KeyStoreSpi.java
11590         java/security/MessageDigest.java
11591         java/security/MessageDigestSpi.java
11592         java/security/NoSuchAlgorithmException.java
11593         java/security/NoSuchProviderException.java
11594         java/security/Permission.java
11595         java/security/PermissionCollection.java
11596         java/security/Permissions.java java/security/Policy.java
11597         java/security/Principal.java java/security/PrivateKey.java
11598         java/security/PrivilegedAction.java
11599         java/security/PrivilegedActionException.java
11600         java/security/PrivilegedExceptionAction.java
11601         java/security/ProtectionDomain.java
11602         java/security/Provider.java
11603         java/security/ProviderException.java
11604         java/security/PublicKey.java
11605         java/security/SecureClassLoader.java
11606         java/security/SecureRandom.java
11607         java/security/SecureRandomSpi.java java/security/Security.java
11608         java/security/SecurityPermission.java
11609         java/security/Signature.java
11610         java/security/SignatureException.java
11611         java/security/SignatureSpi.java
11612         java/security/SignedObject.java java/security/Signer.java
11613         java/security/UnrecoverableKeyException.java
11614         java/security/UnresolvedPermission.java
11615         java/security/acl/Acl.java java/security/acl/AclEntry.java
11616         java/security/acl/AclNotFoundException.java
11617         java/security/acl/Group.java
11618         java/security/acl/LastOwnerException.java
11619         java/security/acl/NotOwnerException.java
11620         java/security/acl/Owner.java java/security/acl/Permission.java
11621         java/security/cert/CRL.java
11622         java/security/cert/CRLException.java
11623         java/security/cert/Certificate.java
11624         java/security/cert/CertificateEncodingException.java
11625         java/security/cert/CertificateException.java
11626         java/security/cert/CertificateExpiredException.java
11627         java/security/cert/CertificateFactory.java
11628         java/security/cert/CertificateFactorySpi.java
11629         java/security/cert/CertificateNotYetValidException.java
11630         java/security/cert/CertificateParsingException.java
11631         java/security/cert/X509CRL.java
11632         java/security/cert/X509CRLEntry.java
11633         java/security/cert/X509Certificate.java
11634         java/security/cert/X509Extension.java
11635         java/security/interfaces/DSAKey.java
11636         java/security/interfaces/DSAKeyPairGenerator.java
11637         java/security/interfaces/DSAParams.java
11638         java/security/interfaces/DSAPrivateKey.java
11639         java/security/interfaces/DSAPublicKey.java
11640         java/security/interfaces/RSAKey.java
11641         java/security/interfaces/RSAPrivateCrtKey.java
11642         java/security/interfaces/RSAPrivateKey.java
11643         java/security/interfaces/RSAPublicKey.java
11644         java/security/spec/AlgorithmParameterSpec.java
11645         java/security/spec/DSAParameterSpec.java
11646         java/security/spec/DSAPrivateKeySpec.java
11647         java/security/spec/DSAPublicKeySpec.java
11648         java/security/spec/EncodedKeySpec.java
11649         java/security/spec/InvalidKeySpecException.java
11650         java/security/spec/InvalidParameterSpecException.java
11651         java/security/spec/KeySpec.java
11652         java/security/spec/PKCS8EncodedKeySpec.java
11653         java/security/spec/RSAKeyGenParameterSpec.java
11654         java/security/spec/RSAPrivateCrtKeySpec.java
11655         java/security/spec/RSAPrivateKeySpec.java
11656         java/security/spec/RSAPublicKeySpec.java
11657         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11658         java/sql/BatchUpdateException.java java/sql/Blob.java
11659         java/sql/CallableStatement.java java/sql/Clob.java
11660         java/sql/Connection.java java/sql/DataTruncation.java
11661         java/sql/DatabaseMetaData.java java/sql/Date.java
11662         java/sql/Driver.java java/sql/DriverManager.java
11663         java/sql/DriverPropertyInfo.java
11664         java/sql/PreparedStatement.java java/sql/Ref.java
11665         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11666         java/sql/SQLData.java java/sql/SQLException.java
11667         java/sql/SQLInput.java java/sql/SQLOutput.java
11668         java/sql/SQLWarning.java java/sql/Statement.java
11669         java/sql/Struct.java java/sql/Time.java
11670         java/sql/Timestamp.java java/sql/Types.java
11671         java/text/Annotation.java
11672         java/text/AttributedCharacterIterator.java
11673         java/text/AttributedString.java
11674         java/text/AttributedStringIterator.java
11675         java/text/BreakIterator.java java/text/CharacterIterator.java
11676         java/text/ChoiceFormat.java java/text/Collator.java
11677         java/text/DateFormat.java java/text/DateFormatSymbols.java
11678         java/text/DecimalFormat.java
11679         java/text/DecimalFormatSymbols.java
11680         java/text/FieldPosition.java java/text/Format.java
11681         java/text/MessageFormat.java java/text/NumberFormat.java
11682         java/text/ParseException.java java/text/ParsePosition.java
11683         java/text/SimpleDateFormat.java
11684         java/text/StringCharacterIterator.java
11685         java/util/AbstractCollection.java java/util/AbstractList.java
11686         java/util/AbstractMap.java
11687         java/util/AbstractSequentialList.java
11688         java/util/AbstractSet.java java/util/ArrayList.java
11689         java/util/Arrays.java java/util/BasicMapEntry.java
11690         java/util/BitSet.java java/util/Calendar.java
11691         java/util/Collection.java java/util/Collections.java
11692         java/util/Comparator.java
11693         java/util/ConcurrentModificationException.java
11694         java/util/Date.java java/util/Dictionary.java
11695         java/util/EmptyStackException.java java/util/Enumeration.java
11696         java/util/EventListener.java java/util/EventObject.java
11697         java/util/GregorianCalendar.java java/util/HashMap.java
11698         java/util/HashSet.java java/util/Hashtable.java
11699         java/util/IdentityHashMap.java java/util/Iterator.java
11700         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11701         java/util/LinkedList.java java/util/List.java
11702         java/util/ListIterator.java java/util/ListResourceBundle.java
11703         java/util/Locale.java java/util/Map.java
11704         java/util/MissingResourceException.java
11705         java/util/NoSuchElementException.java
11706         java/util/Observable.java java/util/Observer.java
11707         java/util/Properties.java java/util/PropertyPermission.java
11708         java/util/PropertyResourceBundle.java java/util/Random.java
11709         java/util/RandomAccess.java java/util/ResourceBundle.java
11710         java/util/Set.java java/util/SimpleTimeZone.java
11711         java/util/SortedMap.java java/util/SortedSet.java
11712         java/util/Stack.java java/util/StringTokenizer.java
11713         java/util/TimeZone.java java/util/Timer.java
11714         java/util/TimerTask.java
11715         java/util/TooManyListenersException.java
11716         java/util/TreeMap.java java/util/TreeSet.java
11717         java/util/Vector.java java/util/WeakHashMap.java
11718         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11719         java/util/jar/JarException.java java/util/jar/JarFile.java
11720         java/util/jar/JarInputStream.java
11721         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11722         java/util/zip/Adler32.java java/util/zip/CRC32.java
11723         java/util/zip/CheckedInputStream.java
11724         java/util/zip/CheckedOutputStream.java
11725         java/util/zip/Checksum.java
11726         java/util/zip/DataFormatException.java
11727         java/util/zip/Deflater.java
11728         java/util/zip/DeflaterOutputStream.java
11729         java/util/zip/GZIPInputStream.java
11730         java/util/zip/GZIPOutputStream.java
11731         java/util/zip/Inflater.java
11732         java/util/zip/InflaterInputStream.java
11733         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11734         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11735         java/util/zip/ZipInputStream.java
11736         java/util/zip/ZipOutputStream.java
11737         javax/naming/BinaryRefAddr.java
11738         javax/naming/InvalidNameException.java javax/naming/Name.java
11739         javax/naming/NamingException.java javax/naming/RefAddr.java
11740         javax/naming/StringRefAddr.java: Add license clarification.
11741
11742 2002-01-22  Tom Tromey  <tromey@redhat.com>
11743
11744         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11745         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11746         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11747         version.
11748         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11749         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11750         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11751         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11752         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11753         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11754         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11755         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11756         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11757         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11758         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11759         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11760         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11761         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11762         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11763         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11764         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11765         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11766         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11767         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11768         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11769         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11770         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11771         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11772         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11773         (minimumSize, preferredSize, reshape): Likewise.
11774         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11775         getColorModel): New methods.
11776         * java/awt/PopupMenu.java: Merged with Classpath.
11777         * java/awt/MenuBar.java: Merged with Classpath.
11778         * java/awt/SystemColor.java: Replace with Classpath version.
11779         * java/awt/Panel.java: Merged with Classpath.
11780         * java/awt/PaintContext.java: Updated copyright.
11781         * java/awt/MenuShortcut.java: Merged with Classpath.
11782         * java/awt/MenuContainer.java: Merged with Classpath.
11783         * java/awt/Menu.java: Merged with Classpath.
11784         * java/awt/MediaEntry.java: New file from Classpath.
11785         * java/awt/MediaTracker.java: New file from Classpath.
11786         * java/awt/List.java: Merged with Classpath version.
11787         * java/awt/Insets.java: Merged with Classpath version.
11788         * java/awt/ImageMediaEntry.java: New file from Classpath.
11789         * java/awt/Image.java: Replaced with Classpath version.
11790         * java/awt/FontMetrics.java: Merged with Classpath version.
11791         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11792         constant.
11793         * java/awt/Font.java: Merged with Classpath version.
11794         * java/awt/Dialog.java: Merged with Classpath version.
11795         * java/awt/Color.java: Merged with Classpath version.
11796         * java/awt/Choice.java: Merged with Classpath version.
11797         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11798         * java/awt/Adjustable.java: Replace with Classpath version.
11799         * java/awt/MenuItem.java (paramString): Don't include class name
11800         or brackets.  Call superclass paramString.
11801         * java/awt/MenuComponent.java (toString): Call paramString.
11802         (paramString): Compute string; don't call toString.
11803         * java/awt/Label.java (paramString): Don't include class name
11804         or brackets.  Call superclass paramString.
11805         * java/awt/Checkbox.java (paramString): Don't include class name
11806         or brackets.  Call superclass paramString.
11807         * java/awt/Button.java (paramString): Don't include class name or
11808         brackets.  Call superclass paramString.
11809         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11810
11811 2002-01-20  Andreas Schwab  <schwab@suse.de>
11812
11813         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11814         function and of parameter recv_func to ssize_t, as specified by
11815         POSIX.
11816
11817 2002-01-19  Per Bothner  <per@bothner.com>
11818
11819         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11820         uncompressed_size in readiness for next entry.
11821
11822 2002-01-18  Tom Tromey  <tromey@redhat.com>
11823
11824         * java/net/natPlainSocketImpl.cc: Include
11825         IllegalArgumentException.h.
11826         (_Jv_recv): New template function.
11827         (BooleanClass): Removed.
11828         (read): Use _Jv_recv.
11829         (setOption): Use Boolean::class$.  Throw exception if object is
11830         not Boolean or Integer.
11831
11832 2002-01-17  Tom Tromey  <tromey@redhat.com>
11833
11834         * java/awt/MenuComponent.java: Merged with Classpath.
11835         * java/awt/MenuItem.java: Merged with Classpath.
11836         * java/awt/Button.java: Merged with Classpath.
11837
11838         * java/awt/ActiveEvent.java: Updated copyright.
11839
11840         * java/awt/AWTError.java: Replaced with Classpath version.
11841         * java/awt/AWTException.java: Replaced with Classpath version.
11842         * java/awt/IllegalComponentStateException.java: Replaced with
11843         Classpath version.
11844
11845 2002-01-16  Tom Tromey  <tromey@redhat.com>
11846
11847         * java/awt/Canvas.java (serialVersionUID): New constant.
11848         Updated copyright.  Added javadoc from Classpath.
11849         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11850
11851         * java/awt/CheckboxGroup.java: Merged with Classpath.
11852         * java/awt/Checkbox.java: Merged with Classpath.
11853
11854         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11855         Classpath.
11856         * java/awt/Point.java: Updated copyright.
11857
11858         * java/awt/Point.java (toString): Use getClass().getName().
11859         Added javadoc.
11860
11861         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11862         commented code.
11863         (hash): Correctly compute initial value for `h'.
11864
11865         * java/awt/Label.java: Merged with Classpath.
11866
11867 2002-01-15  Tom Tromey  <tromey@redhat.com>
11868
11869         * java/awt/AWTPermission.java: Updated copyright.
11870
11871         * java/awt/LayoutManager2.java: Merged with Classpath.
11872         * java/awt/LayoutManager.java: Merged with Classpath.
11873         * java/awt/GridLayout.java: Updated copyright and javadoc.
11874         (getSize): Use `parent.ncomponents'.  Handle insets.
11875         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11876         there are fewer children than columns.  Correctly compute size of
11877         each cell in the grid.  Handle case where there isn't enough
11878         space.
11879         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11880         all users.
11881         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11882         before calling setVisible() on it.  Last item is `num - 1', not
11883         `num'.
11884         (layoutContainer): Hoist invariants out of loop.
11885
11886         Start of AWT merge with Classpath:
11887         * Makefile.in: Rebuilt.
11888         * Makefile.am (awt_java_source_files): Reference files in
11889         gnu/java/awt, not gnu/gcj/awt.
11890         * java/awt/image/BufferedImage.java: Updated copyright.
11891         * java/awt/image/ComponentColorModel.java: Updated copyright.
11892         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11893         * java/awt/image/DataBuffer.java: Updated copyright.
11894         * java/awt/image/DataBufferByte.java: Updated copyright.
11895         * java/awt/image/DataBufferInt.java: Updated copyright.
11896         * java/awt/image/DataBufferUShort.java: Updated copyright.
11897         * java/awt/image/IndexColorModel.java: Updated copyright.
11898         * java/awt/image/PackedColorModel.java: Updated copyright.
11899         * java/awt/image/Raster.java: Updated copyright.
11900         * java/awt/image/RasterOp.java: Updated copyright.
11901         * java/awt/image/SampleModel.java: Updated copyright.
11902         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11903         * java/awt/image/WritableRaster.java: Updated copyright.
11904         * java/awt/color/ColorSpace.java: Updated copyright.
11905         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11906         * java/awt/color/ICC_Profile.java: Updated copyright.
11907         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11908         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11909         * java/awt/event/HierarchyEvent.java: Updated copyright.
11910         * java/awt/event/HierarchyListener.java: Updated copyright.
11911         * java/awt/geom/AffineTransform.java: Updated copyright.
11912         * java/awt/geom/Dimension2D.java: Updated copyright.
11913         * java/awt/geom/Ellipse2D.java: Updated copyright.
11914         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11915         * java/awt/geom/Line2D.java: Updated copyright.
11916         * java/awt/geom/NoninvertibleTransformException.java: Updated
11917         copyright.
11918         * java/awt/geom/PathIterator.java: Updated copyright.
11919         * java/awt/geom/Point2D.java: Updated copyright.
11920         * java/awt/geom/Rectangle2D.java: Updated copyright.
11921         * java/awt/geom/RectangularShape.java: Updated copyright.
11922         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11923         * java/awt/Toolkit.java: Updated import for file moves.
11924         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11925         Classpath.
11926         (hashCode): New method from Classpath.
11927         * java/awt/Graphics2D.java: Updated copyright.
11928         * java/awt/Transparency.java: Updated copyright.
11929         * java/awt/Paint.java: Updated copyright.
11930         * java/awt/Graphics.java: New version from Classpath.
11931         * java/awt/EventDispatchThread.java: Updated copyright.
11932         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11933         children.
11934         (gotoComponent): Wrap around on next/previous.
11935         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11936         * gnu/gcj/awt/Buffers.java: Removed.
11937         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11938         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11939         * gnu/java/awt/BitMaskExtent.java: Added.
11940         * gnu/java/awt/Buffers.java: Added.
11941         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11942         * gnu/java/awt/GLightweightPeer.java: Added.
11943         * java/awt/geom/Line2D.java (clone): Ignore
11944         CloneNotSupportedException.
11945         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11946         * java/awt/Frame.java: Merged with Classpath.
11947         * java/awt/RenderingHints.java: Copyright update.
11948         * java/awt/Paint.java: Copyright update.
11949         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11950         * java/awt/image/ColorModel.java: Merged with Classpath.
11951         * java/awt/Window.java (show): New Implementation from Classpath.
11952         (isShowing): Use super.isShowing().
11953         * java/awt/EventQueue.java: Merged with Classpath.
11954         * java/awt/AWTEventMulticaster.java (save): Throw
11955         RuntimeException.
11956         (saveInternal): Likewise.
11957         * java/awt/AWTEvent.java: Now implements Serializable.
11958         * java/awt/Event.java: Copyright update.
11959         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11960         * java/awt/image/BufferedImage.java: Copyright update.
11961         * java/awt/GraphicsConfiguration.java: Copyright update.
11962         * java/awt/Component.java: (addNotify): Don't call
11963         addNotifyContainerChildren().
11964         (addNotifyContainerChildren): Removed.
11965         (setPeer): New method from Classpath.
11966         (setTreeLock): Likewise.
11967         (setVisible): Rewrote.
11968         (show): Use it.
11969         (hide): Likewise.
11970         (validate): Set `valid'.
11971         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11972         (createImage(ImageProducer)): Likewise.
11973         (prepareImage): Likewise.
11974         * java/awt/Container.java (addImpl): Handle case where constraint
11975         is not a String.  Post event via system event queue.
11976         (remove): Post event via system event queue.
11977         (validateTree): Only validate child if it is invalid.
11978         (getAlignmentX): Call super method as default.
11979         (getAlignmentY): Likewise.
11980         (addContainerListener): Now synchronized.
11981         (removeContainerListener): Likewise.
11982         (addNotifyContainerChildren): Now private.
11983         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11984         @author.
11985         * java/awt/FlowLayout.java (serialVersionUID): New field.
11986         (setAlignment): Better exception message.
11987         (layoutContainer): Don't compute component's preferred size unless
11988         we're going to use it.
11989         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11990         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11991         (firstLine, lastLine, firstItem, lastItem): New fields.
11992         (addLayoutComponent): Handle case where constraints is null.
11993         Also, handle relative locations.
11994         (removeLayoutComponent): Handle relative locations.
11995         (MIN, MAX, PREF): New constants.
11996         (calcCompSize): New method.
11997         (calcSize): New method.
11998         (minimumLayoutSize): Use it.
11999         (preferredLayoutSize): Likewise.
12000         (maximumLayoutSize): Likewise.
12001         (toString): Include more information.
12002         (setBounds): New method.
12003         (layoutContainer): Use libgcj implementation; extended to handle
12004         relative locations.
12005
12006 2002-01-15  Tom Tromey  <tromey@redhat.com>
12007
12008         * java/lang/Float.java (equals): Preserve old code.
12009         * java/lang/Double.java (equals): Preserve old code.
12010
12011 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
12012
12013         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12014         * java/lang/Float.java (equals, compare): Ditto.
12015
12016 2002-01-13  Mark Wielaard  <mark@klomp.org>
12017
12018         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12019         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12020         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12021         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12022
12023 2002-01-11  Mark Wielaard  <mark@klomp.org>
12024
12025         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12026         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12027         InetAddress.
12028         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12029         * java/net/Socket.java: Merge with Classpath.
12030         * java/net/ServerSocket.java: Likewise.
12031
12032 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
12033
12034         * interpret.cc (NULLARRAYCHECK): New macro.
12035         (SAVE_PC): Just store `pc'.
12036         (find_exception): Subtract one from `pc' here.
12037         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12038         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12039         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12040         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12041         don't call SAVE_PC.
12042         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12043         call SAVE_PC.
12044
12045 2002-01-11  Tom Tromey  <tromey@redhat.com>
12046
12047         * java/lang/natSystem.cc (init_properties): Only look for default
12048         locale if LC_MESSAGES is defined.
12049         * aclocal.m4, configure, include/config.h.in: Rebuilt.
12050         * configure.in: Call AM_LC_MESSAGES.
12051         * acinclude.m4 (AM_LC_MESSAGES): New macro.
12052
12053 2002-01-10  Tom Tromey  <tromey@redhat.com>
12054
12055         For PR libgcj/5303:
12056         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12057         --version.  Recognize GNU-style long options.  Print GNU-style
12058         error messages.
12059         (usage): Print GNU-style help.  Exit with status 0.
12060         (error): New method.
12061         (run): Print error message if no class names found.
12062         (main): Don't print usage on error.
12063
12064 2002-01-09  Tom Tromey  <tromey@redhat.com>
12065
12066         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12067         property.
12068         (help, version): Use println(), not println("").
12069
12070         For PR libgcj/5303:
12071         * gnu/gcj/convert/Convert.java (error): Program is called
12072         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
12073         -1.
12074         (main): Handle --help and --version.
12075         (help): New method.
12076         (version): Likewise.
12077
12078 2002-01-08  Tom Tromey  <tromey@redhat.com>
12079
12080         * Makefile.in: Rebuilt.
12081         * Makefile.am (ordinary_java_source_files): Added new files.
12082         * gnu/java/locale/LocaleInformation.java: Extend
12083         LocaleInformation_en.
12084         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12085         and time/date formats.
12086         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12087         generated.
12088         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12089         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12090         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12091         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12092         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12093         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12094         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12095         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12096         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12097         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12098         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12099         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12100         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12101         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12102         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12103         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12104         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12105         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12106         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12107         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12108         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12109         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12110         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12111         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12112         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12113         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12114         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12115         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12116         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12117         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12118         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12119         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12120         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12121         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12122         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12123         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12124         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12125         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12126         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12127         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12128         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12129         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12130         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12131         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12132         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12133         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12134         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12135         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12136         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12137         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12138         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12139         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12140         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12141         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12142         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12143         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12144         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12145         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12146         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12147         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12148         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12149         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12150         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12151         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12152         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12153         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12154         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12155         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12156         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12157         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12158         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12159         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12160         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12161         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12162         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12163         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12164         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12165         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12166         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12167         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12168         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12169         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12170         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12171         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12172         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12173         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12174         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12175         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12176         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12177         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12178         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12179         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12180         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12181         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12182         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12183         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12184         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12185         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12186         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12187         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12188         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12189         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12190         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12191         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12192         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12193         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12194         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12195         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12196         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12197         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12198         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12199         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12200         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12201         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12202         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12203         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12204         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12205         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12206         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12207         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12208         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12209         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12210         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12211         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12212         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12213         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12214         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12215         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12216         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12217         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12218
12219         For PR libgcj/5031:
12220         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12221         choose default locale.
12222
12223         * Makefile.in: Rebuilt.
12224         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12225
12226 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12227
12228         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12229         sockets.
12230         (close): New function closes the socket.
12231         (write): New functions for output to socket.
12232         (read): New functions for reading from socket.
12233         * java/net/PlainSocketImpl.java: Glue for new timeout
12234         implementation.
12235         (write): Call the native impl.
12236         (read): Likewise.
12237         (getInputStream): Get a stream to read from the socket.
12238         (getOutputStream): Get a stream to write to the socket.
12239
12240 2002-01-08  Tom Tromey  <tromey@redhat.com>
12241
12242         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12243
12244 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12245
12246         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12247         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12248
12249 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12250
12251         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12252         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12253         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12254         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12255         insn_bastore, insn_castore, insn_sastore]: Use it.
12256         (continue1) [insn_arraylength]: Check for null array.
12257
12258 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12259
12260         * configure, include/config.h.in: Rebuilt.
12261         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12262         * configure.in: Call AC_STRUCT_TIMEZONE.
12263
12264 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12265
12266         * configure.host: Disable the interpreter for Darwin.
12267
12268 2002-01-04  Tom Tromey  <tromey@redhat.com>
12269
12270         * java/lang/Thread.java (stop): No longer synchronized.
12271         (start): Likewise.
12272
12273 2002-01-02  Tom Tromey  <tromey@redhat.com>
12274
12275         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12276         patch.
12277
12278 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12279
12280         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12281         PPC Darwin, not for all of Darwin.