2003-06-27 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-27  Michael Koch  <konqueror@gmx.de>
2
3         * java/nio/ByteBufferImpl.java
4         (ByteBufferImpl): Made it a package-private class
5         * java/nio/CharBufferImpl.java
6         (CharBufferImpl): Made it a package-private class
7         * java/nio/DirectByteBufferImpl.java
8         (DirectByteBufferImpl): Made it a package-private class
9         * java/nio/DoubleBufferImpl.java
10         (DoubleBufferImpl): Made it a package-private class
11         * java/nio/FloatBufferImpl.java
12         (FloatBufferImpl): Made it a package-private class
13         * java/nio/IntBufferImpl.java
14         (IntBufferImpl): Made it a package-private class
15         * java/nio/LongBufferImpl.java
16         (LongBufferImpl): Made it a package-private class
17         * java/nio/ShortBufferImpl.java
18         (ShortBufferImpl): Made it a package-private class
19         * java/nio/channels/FileChannel.java
20         (write): Made final.
21         * java/nio/channels/ServerSocketChannel.java
22         (ServerSocketChanne): Made protected.
23
24 2003-06-27  Michael Koch  <konqueror@gmx.de>
25
26         * javax/naming/CompositeName.java
27         (serialVersionUID): New member variable.
28         * javax/naming/CompoundName.java
29         (serialVersionUID): New member variable.
30         * javax/naming/InitialContext.java
31         (InitialContext): Throws NamingException.
32         (init): Likewise.
33         * javax/naming/LinkRef.java
34         (serialVersionUID): New member variable.
35         (gteLinkName): Throws NamingException.
36         * javax/naming/NamingException.java
37         (serialVersionUID): New member variable.
38         * javax/naming/NamingSecurityException.java
39         (NamingSecurityException): Made abstract.
40         (serialVersionUID): New member variable.
41         * javax/naming/ReferralException.java
42         (serialVersionUID): New member variable.
43         * javax/naming/StringRefAddr.java
44         (serialVersionUID): New member variable.
45         * javax/naming/directory/BasicAttribute.java:
46         Reworked imports.
47         (serialVersionUID): New member variable.
48         (get): Throws NamingException.
49         (getAll): Throws NamingException.
50         * javax/naming/directory/BasicAttributes.java:
51         Reworked imports.
52         (serialVersionUID): New member variable.
53         * javax/naming/ldap/UnsolicitedNotificationEvent.java
54         (serialVersionUID): New member variable.
55
56 2003-06-27  Michael Koch  <konqueror@gmx.de>
57
58         * Makefile.am
59         (awt_java_source_files): Added new files:
60         javax/swing/Popup.java,
61         javax/swing/PopupFactory.java
62         * Makefile.in: Regenerated.
63
64 2003-06-27  Michael Koch  <konqueror@gmx.de>
65
66         * javax/swing/JWindow.java,
67         javax/swing/event/AncestorEvent.java,
68         javax/swing/event/HyperlinkEvent.java,
69         javax/swing/event/InternalFrameEvent.java,
70         javax/swing/event/ListDataEvent.java,
71         javax/swing/event/TableModelEvent.java,
72         javax/swing/plaf/PopupMenuUI.java,
73         javax/swing/plaf/SplitPaneUI.java,
74         javax/swing/plaf/TabbedPaneUI.java,
75         javax/swing/plaf/TextUI.java,
76         javax/swing/plaf/TreeUI.java,
77         javax/swing/plaf/basic/BasicTextUI.java,
78         javax/swing/plaf/basic/BasicTreeUI.java:
79         New versions from classpath.
80         * javax/swing/Popup.java,
81         javax/swing/PopupFactory.jav:
82         New source files from classpath.
83         * javax/swing/plaf/doc-files/TreeUI-1.png:
84         New binary files from classpath.
85
86 2003-06-25  Michael Koch  <konqueror@gmx.de>
87
88         * Makefile.am
89         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
90         * Makefile.in: Regenerated.
91
92 2003-06-25  Michael Koch  <konqueror@gmx.de>
93
94         * javax/swing/plaf/ActionMapUIResource.java,
95         javax/swing/plaf/BorderUIResource.java,
96         javax/swing/plaf/ButtonUI.java,
97         javax/swing/plaf/ColorChooserUI.java,
98         javax/swing/plaf/ColorUIResource.java,
99         javax/swing/plaf/ComboBoxUI.java,
100         javax/swing/plaf/ComponentInputMapUIResource.java,
101         javax/swing/plaf/ComponentUI.java,
102         javax/swing/plaf/DesktopIconUI.java,
103         javax/swing/plaf/DesktopPaneUI.java,
104         javax/swing/plaf/DimensionUIResource.java,
105         javax/swing/plaf/FileChooserUI.java,
106         javax/swing/plaf/FontUIResource.java,
107         javax/swing/plaf/IconUIResource.java,
108         javax/swing/plaf/InputMapUIResource.java,
109         javax/swing/plaf/InsetsUIResource.java,
110         javax/swing/plaf/InternalFrameUI.java,
111         javax/swing/plaf/LabelUI.java,
112         javax/swing/plaf/ListUI.java,
113         javax/swing/plaf/MenuBarUI.java,
114         javax/swing/plaf/MenuItemUI.java,
115         javax/swing/plaf/OptionPaneUI.java,
116         javax/swing/plaf/PanelUI.java,
117         javax/swing/plaf/ProgressBarUI.java,
118         javax/swing/plaf/RootPaneUI.java,
119         javax/swing/plaf/ScrollBarUI.java,
120         javax/swing/plaf/ScrollPaneUI.java,
121         javax/swing/plaf/SeparatorUI.java,
122         javax/swing/plaf/SliderUI.java,
123         javax/swing/plaf/TableHeaderUI.java,
124         javax/swing/plaf/TableUI.java,
125         javax/swing/plaf/ToolBarUI.java,
126         javax/swing/plaf/ToolTipUI.java,
127         javax/swing/plaf/ViewportUI.java:
128         New versions from classpath.
129         * javax/swing/plaf/SpinnerUI.java: 
130         New file from classpath
131
132 2003-06-25  Michael Koch  <konqueror@gmx.de>
133
134         * java/awt/image/ColorModel.java:
135         New version from classpath.
136
137 2003-06-25  Michael Koch  <konqueror@gmx.de>
138
139         * java/net/PlainDatagramSocketImpl.java:
140         Partly merged with classpath, this mainly adds documentation.
141
142 2003-06-25  Michael Koch  <konqueror@gmx.de>
143
144         * java/io/ObjectInputStream.java
145         (readClassDescriptor): New method.
146         (readObject): Moved functionality to readClassDescriptor().
147         * java/io/ObjectOutputStream.java
148         (writeClassDescriptor): New method.
149         (writeObject): Moved functionality to writeClassDescriptor().
150
151 2003-06-25  Michael Koch  <konqueror@gmx.de>
152
153         * javax/swing/plaf/basic/BasicListUI.java,
154         javax/swing/plaf/basic/BasicOptionPaneUI.java:
155         Added missing methods.
156
157 2003-06-25  Michael Koch  <konqueror@gmx.de>
158
159         * javax/swing/event/AncestorEvent.java
160         javax/swing/event/HyperlinkEvent.java
161         javax/swing/event/InternalFrameEvent.java
162         javax/swing/event/ListDataEvent.java
163         javax/swing/event/TableModelEvent.java:
164         Compile fixes.
165
166 2003-06-24  Michael Koch  <konqueror@gmx.de>
167
168         * java/net/URL.java:
169         Renamed "handler" to "ph" in the whole file to match classpaths
170         version.
171         * java/net/URLStreamHandler.java:
172         (equals): Renamed "handler" to "ph".
173
174 2003-06-24  Michael Koch  <konqueror@gmx.de>
175
176         * javax/swing/event/AncestorEvent.java,
177         javax/swing/event/HyperlinkEvent.java,
178         javax/swing/event/InternalFrameEvent.java,
179         javax/swing/event/ListDataEvent.java,
180         javax/swing/event/TableModelEvent.java,
181         javax/swing/event/TreeWillExpandListener.java,
182         javax/swing/plaf/ComponentUI.java,
183         javax/swing/plaf/DesktopIconUI.java,
184         javax/swing/plaf/DesktopPaneUI.java,
185         javax/swing/plaf/DimensionUIResource.java,
186         javax/swing/plaf/FileChooserUI.java,
187         javax/swing/plaf/FontUIResource.java,
188         javax/swing/plaf/IconUIResource.java,
189         javax/swing/plaf/InputMapUIResource.java,
190         javax/swing/plaf/InsetsUIResource.java,
191         javax/swing/plaf/InternalFrameUI.java,
192         javax/swing/plaf/LabelUI.java,
193         javax/swing/plaf/ListUI.java,
194         javax/swing/plaf/MenuBarUI.java,
195         javax/swing/plaf/MenuItemUI.java,
196         javax/swing/plaf/OptionPaneUI.java,
197         javax/swing/plaf/PanelUI.java,
198         javax/swing/plaf/ProgressBarUI.java,
199         javax/swing/plaf/doc-files/ComponentUI-1.dia,
200         javax/swing/plaf/doc-files/ComponentUI-1.png:
201         New versions from classpath.
202
203 2003-06-24  Michael Koch  <konqueror@gmx.de>
204
205         * java/nio/Buffer.java
206         (cap): Made package-private.
207         (pos): Likewise.
208         (limit): Likewise.
209         (mark): Likewise.
210
211 2003-06-24  Michael Koch  <konqueror@gmx.de>
212
213         * java/net/SocketImpl.java
214         (shutdownInput): Made it non-abstract method throwing an exception
215         like in SUNs JRE.
216         (shutdownOutput): Likewise.
217         * java/net/SocketInputStream.java,
218         java/net/SocketOutputStream.java:
219         New files from classpath.
220
221 2003-06-24  Michael Koch  <konqueror@gmx.de>
222
223         * java/awt/Font.java,
224         java/awt/Window.java,
225         java/awt/color/ColorSpace.java,
226         java/awt/datatransfer/StringSelection.java,
227         java/awt/image/ColorModel.java:
228         New versions from classpath.
229
230 2003-06-24  Michael Koch  <konqueror@gmx.de>
231
232         * Makefile.am
233         (awt_java_source_files): Added new files:
234         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
235         javax/swing/plaf/basic/BasicSplitPaneUI.java
236         * Makefile.in: Regenerated.
237
238 2003-06-24  Michael Koch  <konqueror@gmx.de>
239
240         * javax/swing/text/JTextComponent.java:
241         New version from classpath.
242
243 2003-06-24  Michael Koch  <konqueror@gmx.de>
244
245         * javax/swing/Timer.java,
246         javax/swing/plaf/ActionMapUIResource.java,
247         javax/swing/plaf/ButtonUI.java,
248         javax/swing/plaf/ColorChooserUI.java,
249         javax/swing/plaf/ColorUIResource.java,
250         javax/swing/plaf/ComboBoxUI.java,
251         javax/swing/plaf/ComponentInputMapUIResource.java,
252         javax/swing/plaf/basic/BasicBorders.java:
253         New versions from classpath.
254         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
255         javax/swing/plaf/basic/BasicSplitPaneUI.java:
256         New file from classpath.
257         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
258         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
259         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
260         javax/swing/plaf/doc-files/ComponentUI-1.dia,
261         javax/swing/plaf/doc-files/ComponentUI-1.png:
262         New binary files from classpath.
263
264 2003-06-24  Michael Koch  <konqueror@gmx.de>
265
266         * java/io/LineNumberReader.java
267         (skip): Dont do line number accounting here as this is already done in
268         read(), simplified.
269
270 2003-06-21  Michael Koch  <konqueror@gmx.de>
271
272         * java/io/File.java
273         (static): Load javaio lib if existing (only in classpath).
274         (File): Revised documentation to show the correct argument name.
275         (createTempFile): Partly merged with classpath.
276         (compareTo): Simplified.
277         (lastModified): Throw exception if time < 0.
278         (deleteOnExit): Revised documentation.
279
280 2003-06-21  Michael Koch  <konqueror@gmx.de>
281
282         * java/net/PlainSocketImpl.java:
283         Reformatted.
284         (PlainSocketImpl): Merged class documentaion with classpath.
285         (in): Moved.
286         (out): Moved.
287         (PlainSocketImpl): New empty constructor.
288         (finalize): Moved.
289         (setOption): Merged documentation from classpath.
290         (getOption): Likewise.
291         (create): Likewise.
292         (connect): Likewise.
293         (bind): Likewise.
294         (listen): Likewise.
295         (accept): Likewise.
296         (available): Likewise.
297         (close): Likewise.
298         (read): Likewise.
299         (write): Likewise.
300         (getInputStream): Made synchronozed to get sure that only one stream
301         object can be created for this socket, merged documentation from
302         classpath.
303         (getOutputStream): Likewise.
304
305 2003-06-21  Michael Koch  <konqueror@gmx.de>
306
307         * java/net/PlainSocketImpl.java:
308         Reformatting.
309         (static): New implicit method.
310         (read): Made package private.
311         (write): Likewise.
312
313 2003-06-21  Michael Koch  <konqueror@gmx.de>
314
315         * java/util/SimpleTimeZone.java:
316         Removed unneeded import, reformatting.
317
318 2003-06-21  Michael Koch  <konqueror@gmx.de>
319
320         * java/text/DateFormat.java,
321         java/text/SimpleDateFormat.java,
322         java/util/Locale.java:
323         New versions from classpath.
324
325 2003-06-21  Michael Koch  <konqueror@gmx.de>
326
327         * javax/swing/SpinnerModel.java:
328         New file from classpath.
329         * javax/swing/border/LineBorder.java,
330         javax/swing/border/SoftBevelBorder.java,
331         javax/swing/plaf/BorderUIResource.java,
332         javax/swing/plaf/basic/BasicBorders.java:
333         New versions from classpath.
334         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
335         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
336         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
337         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
338         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
339         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
340         New binary files from classpath.
341
342 2003-06-21  Michael Koch  <konqueror@gmx.de>
343
344         * java/util/logging/LogRecord.java,
345         java/util/logging/Logger.java,
346         java/util/logging/SocketHandler.java,
347         java/util/logging/SimpleFormatter.java,
348         java/util/logging/Formatter.java,
349         java/util/logging/ErrorManager.java,
350         java/util/logging/Handler.java,
351         java/util/logging/FileHandler.java,
352         java/util/logging/LogManager.java,
353         java/util/logging/Level.java,
354         java/util/logging/ConsoleHandler.java,
355         java/util/logging/StreamHandler.java,
356         java/util/logging/LoggingPermission.java,
357         java/util/logging/Filter.java,
358         java/util/logging/MemoryHandler.java,
359         java/util/logging/XMLFormatter.java:
360         New files from classpath.
361
362 2003-06-20  Michael Koch  <konqueror@gmx.de>
363
364         * java/io/ObjectStreamField.java
365         (unshared): new member variable.
366         (ObjectStreamField): New constructor.
367         (isUnshared): New method.
368
369 2003-06-20  Michael Koch  <konqueror@gmx.de>
370
371         * java/net/URLStreamHandler.java
372         (hostsEqual): Rewritten.
373
374 2003-06-20  Michael Koch  <konqueror@gmx.de>
375
376         * gnu/java/nio/MappedByteFileBuffer.java,
377         gnu/java/nio/natMappedByteFileBuffer.cc:
378         Removed
379         * java/nio/MappedByteBufferImpl.java:
380         New file.
381         * gnu/java/nio/FileChannelImpl.java:
382         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
383         * Makefile.am
384         (ordinary_java_source_files): Removed
385         gnu/java/nio/MappedByteFileBuffer.java and added
386         java/nio/MappedByteBufferImpl.java.
387         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
388         * Makefile.in: Regenerated.
389
390 2003-06-19  Michael Koch  <konqueror@gmx.de>
391
392         * gnu/java/nio/DatagramChannelImpl.java
393         (fd): Removed.
394         (blocking): New member variable.
395         (socket): Likewise.
396         (DatagramChannelImpl): Throws IOException, initialize socket.
397         (socket):Implemented.
398         (implCloseSelectableChannel): Throws IOException, implemented.
399         (implConfigureBlocking): Likewise.
400         (connect): Likewise.
401         (disconnect): Likewise.
402         (isConnected): Likewise.
403         (write): Likewise.
404         (read): Likewise.
405         (receive): Throws IOException.
406         (send): Likewise.
407         * gnu/java/nio/SocketChannelImpl.java
408         (read): Implemented.
409         (write): Implemented.
410
411 2003-06-19  Michael Koch  <konqueror@gmx.de>
412
413         * javax/swing/JComponent.java,
414         javax/swing/JInternalFrame.java,
415         javax/swing/MenuSelectionManager.java,
416         javax/swing/SwingUtilities.java,
417         javax/swing/ToggleButtonModel.java:
418         New versions from classpath.
419
420 2003-06-19  Michael Koch  <konqueror@gmx.de>
421
422         * java/text/CollationElementIterator.java
423         (NULLORDER): Initialize with -1 as JDK documentation says.
424
425 2003-06-19  Michael Koch  <konqueror@gmx.de>
426
427         * java/net/HttpURLConnection.java,
428         java/net/Inet4Address.java,
429         java/net/Inet6Address.java,
430         java/net/SocketImpl.java,
431         java/net/URLClassLoader.java:
432         Reworked import statements.
433         * java/net/InetAddress.java
434         (getByAddress): Simplified.
435         * java/net/ServerSocket.java
436         (ServerSocket): Moved special handling during bind operation to
437         bind().
438         (bind): Handle different cases when trying to bind a socket.
439         * java/net/URLConnection.java
440         (getHeaderFieldDate): Merged with classpath.
441         (getHeaderFieldInt): Likewise.
442
443 2003-06-19  Michael Koch  <konqueror@gmx.de>
444
445         * java/util/zip/InflaterInputStream.java
446         (InflaterInputStream): Throw NullPointerException if in is null (as
447         JDK does).
448
449 2003-06-19  Michael Koch  <konqueror@gmx.de>
450
451         * java/awt/Font.java
452         javax/swing/UIManager.java
453         javax/swing/border/AbstractBorder.java
454         javax/swing/border/BevelBorder.java
455         javax/swing/border/Border.java
456         javax/swing/border/CompoundBorder.java
457         javax/swing/border/EmptyBorder.java
458         javax/swing/border/EtchedBorder.java
459         javax/swing/border/LineBorder.java
460         javax/swing/border/MatteBorder.java
461         javax/swing/border/TitledBorder.java
462         javax/swing/plaf/BorderUIResource.java
463         javax/swing/plaf/basic/BasicBorders.java
464         javax/swing/plaf/basic/BasicButtonUI.java
465         javax/swing/plaf/basic/BasicCheckBoxUI.java
466         javax/swing/plaf/basic/BasicGraphicsUtils.java
467         javax/swing/plaf/basic/BasicLabelUI.java
468         javax/swing/plaf/basic/BasicRadioButtonUI.java
469         javax/swing/plaf/basic/BasicToggleButtonUI.java:
470         New versions from classpath.
471         * javax/swing/border/SoftBevelBorder.java:
472         New file from classpath.
473         * javax/swing/border/doc-files/LineBorder-1.png,
474         javax/swing/border/doc-files/BevelBorder-1.png,
475         javax/swing/border/doc-files/BevelBorder-2.png,
476         javax/swing/border/doc-files/BevelBorder-3.png,
477         javax/swing/border/doc-files/EmptyBorder-1.png,
478         javax/swing/border/doc-files/EtchedBorder-1.png,
479         javax/swing/border/doc-files/EtchedBorder-2.png,
480         javax/swing/border/doc-files/MatteBorder-1.png,
481         javax/swing/border/doc-files/MatteBorder-2.png,
482         javax/swing/border/doc-files/MatteBorder-3.png,
483         javax/swing/border/doc-files/MatteBorder-4.png,
484         javax/swing/border/doc-files/MatteBorder-5.png,
485         javax/swing/border/doc-files/MatteBorder-6.png,
486         javax/swing/border/doc-files/SoftBevelBorder-1.png,
487         javax/swing/border/doc-files/SoftBevelBorder-2.png,
488         javax/swing/border/doc-files/SoftBevelBorder-3.png,
489         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
490         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
491         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
492         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
493         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
494         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
495         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
496         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
497         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
498         New binary files from classpath.
499         * Makefile.am
500         (awt_java_source_files): Added
501         javax/swing/border/SoftBevelBorder.java.
502         * Makefile.in: Regenerated.
503
504 2003-06-19  Michael Koch  <konqueror@gmx.de>
505
506         * gnu/java/security/x509/X509Certificate.java
507         (writeReplace): Merged from classpath.
508
509 2003-06-19  Michael Koch  <konqueror@gmx.de>
510
511         * gnu/java/nio/FileChannelImpl.java
512         (map_address): Made public.
513         (FileChannelImpl): Merged with classpath.
514         * gnu/java/nio/natFileChannelImpl.cc
515         (nio_mmap_file): Commented out unused arguments.
516         (nio_unmmap_file): Likewise.
517         (niu_msync): Likewise.
518
519 2003-06-19  Michael Koch  <konqueror@gmx.de>
520
521         * java/awt/image/IndexColorModel.java:
522         New version from classpath.
523
524 2003-06-18  Tom Tromey  <tromey@redhat.com>
525
526         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
527         on arrays.
528         (isLoopbackAddress): Likewise.
529         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
530         on arrays.
531
532 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
533
534         * java/lang/natVMSecurityManager.cc (getClassContext):
535         Use maxlen instead of len for loop bound.
536
537 2003-06-18  Michael Koch  <konqueror@gmx.de>
538
539         * gnu/java/nio/SelectorImpl.java
540         (register): Use fd with value 0 for now, will be fixed later.
541         * gnu/java/nio/ServerSocketChannelImpl.java
542         (fd): Removed.
543         (local_port): Removed.
544         (InetSocketAddress): Removed.
545         (ServerSocketChannelImpl): Just initialize internal socket object.
546         (implCloseSelectableChannel): Close internal socket object.
547         (implConfigureBlocking): Added comment.
548         (accept): Use jaba.net stuff to accept socket.
549         * gnu/java/nio/SocketChannelImpl.java
550         (fd): Removed.
551         (local_port): Removed.
552         (InetSocketAddress): Removed.
553         (SocketCreate): Removed.
554         (SocketConnect): Removed.
555         (SocketBind): Removed.
556         (SocketListen): Removed.
557         (SocketAvailable): Removed.
558         (SocketClose): Removed.
559         (SocketRead): Removed.
560         (SocketWrite): Removed.
561         (SocketChannelImpl): Just initialize internal socket object.
562         (implCloseSelectableChannel): Close internal socket object.
563         (implConfigureBlocking): Fixed implementation, added comment.
564         (connect): Use internal socket object to connect.
565         (socket): No need for sanity checks.
566         (read): Comment out some stuff, this will be reimplemented in the next
567         commit.
568         (write): Likewise.
569         * gnu/java/nio/natFileChannelImpl.cc
570         (nio_mmap_file): Line wrapped.
571         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
572         * Makefile.am
573         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
574         * Makefile.in: Regenerated.
575
576 2003-06-18  Michael Koch  <konqueror@gmx.de>
577
578         * java/util/Locale.java
579         (equals): Merged from classpath.
580
581 2003-06-18  Michael Koch  <konqueror@gmx.de>
582
583         * java/net/InetAddress.java:
584         Reformatted to better match classpath's version.
585         * java/net/URL.java
586         (equals): Simplified.
587         * java/net/URLConnection.java
588         (setDoInput): Revised documentation.
589         (getDefaultUseCaches): Likewise.
590         (setRequestProperty): Added @since tag.
591
592 2003-06-17  Michael Koch  <konqueror@gmx.de>
593
594         * java/net/InetSocketAddress.java
595         (InetSocketAddress): Use wildcard address if addr is null.
596         (InetSocketAddress): Dont duplicate implementation.
597         (InetSocketAddress): Throw exception when hostname is null.
598         * java/net/Socket.java:
599         Reworked imports.
600         (Socket): Throw exception when raddr is null, handle case when laddr
601         is null.
602
603 2003-06-17  Michael Koch  <konqueror@gmx.de>
604
605         * java/nio/DirectByteBufferImpl.java
606         (address): Made package private.
607         (DirectByteBufferImpl): New constructor.
608         * java/nio/natDirectByteBufferImpl.cc
609         (allocateImpl): Moved to java.nio namespace, implemented.
610         (freeImpl): Likewise.
611         (getImpl): Likewise.
612         (putImpl): Likewise.
613         * jni.cc
614         (_Jv_JNI_NewDirectByteBuffer): Implemented.
615         (_Jv_JNI_GetDirectBufferAddress): Implemented.
616         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
617
618 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
619
620         * include/powerpc-signal.h: New File.
621         * configure.in: Use it.
622         * configure: Regenerated.
623
624 2003-06-17  Michael Koch  <konqueror@gmx.de>
625
626         * java/util/Locale.java
627         (getDisplayLanguage): Made it final.
628         (getDisplayCountry): Likewise.
629         (getDisplayVariant): Likewise.
630         (getDisplayName): Likewise.
631
632 2003-06-17  Michael Koch  <konqueror@gmx.de>
633
634         * java/util/PropertyResourceBundle.java:
635         Removed unneeded import.
636
637 2003-06-17  Michael Koch  <konqueror@gmx.de>
638
639         * java/util/prefs/AbstractPreferences.java,
640         java/util/prefs/PreferencesFactory.java:
641         Reworked imports, removed unused imports.
642         * java/util/prefs/Preferences.java
643         (systemNodeForPackage): Method takes a Class not an Object.
644         (userNodeForPackage): Likewise.
645         (nodeForPackage): Likewise.
646
647 2003-06-17  Michael Koch  <konqueror@gmx.de>
648
649         * gnu/java/security/x509/X509Certificate.java:
650         Explicitely import used classes.
651
652 2003-06-17  Michael Koch  <konqueror@gmx.de>
653
654         * java/util/zip/ZipEntry.java,
655         java/util/zip/ZipFile.java,
656         java/util/zip/ZipInputStream.java,
657         java/util/zip/ZipOutputStream.java:
658         Reworked imports, only import used classes.
659
660 2003-06-17  Michael Koch  <konqueror@gmx.de>
661
662         * gnu/java/lang/ArrayHelper.java,
663         gnu/java/lang/ClassHelper.java:
664         Reformatted to match classpath's versions.
665
666 2003-06-14  Michael Koch  <konqueror@gmx.de>
667
668         * gnu/java/nio/FileChannelImpl.java
669         (map_address): Removed incorrect comment.        
670         * gnu/java/nio/SelectorImpl.java
671         (register): Remove code duplication and code for file channel handling.        
672         * gnu/java/nio/ServerSocketChannelImpl.java
673         (serverSocket): Renamed from sock_object.
674         (ServerSocketChannel): Initialize serverSocket.
675         (socket): Return serverSocket.
676         * gnu/java/nio/SocketChannelImpl.java
677         (socket): Renamed from sock_object.
678         (isConnectionPenging): Simplified.
679         (socket): Return socket.
680 2003-06-14  Michael Koch  <konqueror@gmx.de>
681
682         * java/security/BasicPermission.java:
683         New version from classpath.
684
685 2003-06-14  Michael Koch  <konqueror@gmx.de>
686
687         * javax/naming/directory/Attribute.java:
688         New version from classpath.
689
690 2003-06-14  Michael Koch  <konqueror@gmx.de>
691
692         * java/io/BufferedReader.java,
693         java/io/FileOutputStream.java:
694         New versions from classpath.
695
696 2003-06-12  Andrew Haley  <aph@redhat.com>
697
698         * prims.cc (catch_segv): Create exception in handler.
699         (catch_fpe): Likewise.  
700         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
701         (_Jv_ThrowSignal): Remove.
702
703         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
704         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
705         to nullp and arithexception.
706         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
707         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
708         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
709         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
710         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
711
712 2003-06-11  Andrew Haley  <aph@redhat.com>
713
714         * jni.cc (_Jv_JNI_check_types): New.
715         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
716         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
717         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
718         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
719         
720         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
721         infinite loop.
722
723 2003-06-11  Tom Tromey  <tromey@redhat.com>
724
725         * java/lang/ClassLoader.java (loadClass): Not deprecated.
726         * java/io/PrintStream.java: Not deprecated.
727
728 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
729
730         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
731         (fillOval): implemented
732         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
733         (fillArc): implemented.
734         * gnu/gcj/xlib/GC.java (drawArc): added native method.
735         (fillArc): added native method.
736         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
737         (fillArc): added native method.
738
739 2003-06-11  Michael Koch  <konqueror@gmx.de>
740
741         * java/awt/im/InputSubset.java:
742         New version from classpath.
743
744 2003-06-11  Michael Koch  <konqueror@gmx.de>
745
746         * javax/swing/AbstractAction.java,
747         javax/swing/AbstractButton.java,
748         javax/swing/AbstractCellEditor.java,
749         javax/swing/AbstractListModel.java,
750         javax/swing/BorderFactory.java,
751         javax/swing/Box.java,
752         javax/swing/BoxLayout.java,
753         javax/swing/ButtonGroup.java,
754         javax/swing/DefaultButtonModel.java,
755         javax/swing/DefaultListModel.java,
756         javax/swing/DefaultListSelectionModel.java,
757         javax/swing/FocusManager.java,
758         javax/swing/ImageIcon.java,
759         javax/swing/InputMap.java,
760         javax/swing/JApplet.java,
761         javax/swing/JButton.java,
762         javax/swing/JCheckBox.java,
763         javax/swing/JCheckBoxMenuItem.java,
764         javax/swing/JColorChooser.java,
765         javax/swing/JComboBox.java,
766         javax/swing/JComponent.java,
767         javax/swing/JDesktopPane.java,
768         javax/swing/JDialog.java,
769         javax/swing/JEditorPane.java,
770         javax/swing/JFileChooser.java,
771         javax/swing/JFormattedTextField.java,
772         javax/swing/JFrame.java,
773         javax/swing/JLabel.java,
774         javax/swing/JLayeredPane.java,
775         javax/swing/JList.java,
776         javax/swing/JMenuBar.java,
777         javax/swing/JMenuItem.java,
778         javax/swing/JOptionPane.java,
779         javax/swing/JPanel.java,
780         javax/swing/JPasswordField.java,
781         javax/swing/JPopupMenu.java,
782         javax/swing/JProgressBar.java,
783         javax/swing/JRadioButton.java,
784         javax/swing/JRadioButtonMenuItem.java,
785         javax/swing/JRootPane.java,
786         javax/swing/JScrollBar.java,
787         javax/swing/JScrollPane.java,
788         javax/swing/JSeparator.java,
789         javax/swing/JSlider.java,
790         javax/swing/JTabbedPane.java,
791         javax/swing/JTable.java,
792         javax/swing/JTextField.java,
793         javax/swing/JToggleButton.java,
794         javax/swing/JToolBar.java,
795         javax/swing/JToolTip.java,
796         javax/swing/JTree.java,
797         javax/swing/JViewport.java,
798         javax/swing/JWindow.java,
799         javax/swing/KeyStroke.java,
800         javax/swing/ListSelectionModel.java,
801         javax/swing/LookAndFeel.java,
802         javax/swing/RepaintManager.java,
803         javax/swing/ScrollPaneLayout.java,
804         javax/swing/SizeRequirements.java,
805         javax/swing/SwingConstants.java,
806         javax/swing/Timer.java,
807         javax/swing/UIDefaults.java,
808         javax/swing/UIManager.java,
809         javax/swing/border/AbstractBorder.java,
810         javax/swing/border/CompoundBorder.java,
811         javax/swing/colorchooser/AbstractColorChooserPanel.java,
812         javax/swing/colorchooser/ColorChooserComponentFactory.java,
813         javax/swing/colorchooser/ColorSelectionModel.java,
814         javax/swing/colorchooser/DefaultColorSelectionModel.java,
815         javax/swing/event/AncestorEvent.java,
816         javax/swing/event/HyperlinkEvent.java,
817         javax/swing/event/InternalFrameAdapter.java,
818         javax/swing/event/InternalFrameEvent.java,
819         javax/swing/event/ListDataEvent.java,
820         javax/swing/event/MouseInputAdapter.java,
821         javax/swing/event/SwingPropertyChangeSupport.java,
822         javax/swing/event/TableModelEvent.java,
823         javax/swing/event/TreeWillExpandListener.java,
824         javax/swing/event/UndoableEditEvent.java,
825         javax/swing/filechooser/FileFilter.java,
826         javax/swing/filechooser/FileSystemView.java,
827         javax/swing/filechooser/FileView.java,
828         javax/swing/plaf/BorderUIResource.java,
829         javax/swing/plaf/basic/BasicDefaults.java,
830         javax/swing/table/AbstractTableModel.java,
831         javax/swing/table/DefaultTableCellRenderer.java,
832         javax/swing/table/DefaultTableColumnModel.java,
833         javax/swing/table/DefaultTableModel.java,
834         javax/swing/table/TableColumn.java,
835         javax/swing/text/JTextComponent.java,
836         javax/swing/tree/AbstractLayoutCache.java,
837         javax/swing/tree/DefaultMutableTreeNode.java,
838         javax/swing/tree/DefaultTreeCellEditor.java,
839         javax/swing/tree/DefaultTreeCellRenderer.java,
840         javax/swing/tree/DefaultTreeModel.java,
841         javax/swing/tree/DefaultTreeSelectionModel.java,
842         javax/swing/tree/FixedHeightLayoutCache.java,
843         javax/swing/tree/TreeCellEditor.java,
844         javax/swing/tree/TreeModel.java,
845         javax/swing/tree/TreeNode.java,
846         javax/swing/tree/TreePath.java,
847         javax/swing/tree/TreeSelectionModel.java,
848         javax/swing/tree/VariableHeightLayoutCache.java,
849         javax/swing/undo/AbstractUndoableEdit.java,
850         javax/swing/undo/CompoundEdit.java,
851         javax/swing/undo/StateEdit.java,
852         javax/swing/undo/UndoManager.java,
853         javax/swing/undo/UndoableEditSupport.java:
854         New versions from classpath.
855         * javax/swing/table/JTableHeader.java:
856         New file from classpath.
857         * Makefile.am
858         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
859         * Makefile.in: Regenerated.
860
861 2003-06-11  Michael Koch  <konqueror@gmx.de>
862
863         * java/nio/MappedByteBuffer.java,
864         java/nio/channels/Channels.java,
865         java/nio/channels/ServerSocketChannel.java,
866         java/nio/channels/spi/AbstractSelector.java:
867         Removed unneeded imports.
868
869 2003-06-11  Michael Koch  <konqueror@gmx.de>
870
871         * java/net/DatagramSocket.java:
872         Partly merged with classpath.
873
874 2003-06-11  Michael Koch  <konqueror@gmx.de>
875
876         * java/awt/Frame.java,
877         java/awt/Graphics.java,
878         java/awt/Menu.java,
879         java/awt/Robot.java,
880         java/awt/image/ColorModel.java:
881         New versions from classpath.
882
883 2003-06-10  Michael Koch  <konqueror@gmx.de>
884
885         * java/io/PrintStream.java:
886         Merged version from classpath.
887         (close): Removed sychronized keyword. This class is not garantied to
888         be thread-safe.
889         (write): Likewise.
890
891 2003-06-09  Tom Tromey  <tromey@redhat.com>
892
893         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
894         field.
895         (getDescent): Likewise, for "descent".
896
897 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
898
899         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
900         (getMaxDescent): adjusted return value.
901         (getAscent): modified to use metrics for 'O'.
902         (getDescent): modified to use metrics for 'y'.
903
904 2003-06-08  Anthony Green  <green@redhat.com>
905
906         * java/net/URLStreamHandler.java (sameFile): Fix port value
907         comparison.
908         * java/net/URL.java (handler): Make package private.
909         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
910
911 2003-06-07  Tom Tromey  <tromey@redhat.com>
912
913         For PR libgcj/11085:
914         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
915         Limit number of characters in numeric field when required.
916         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
917         Respect maximumIntegerDigits.
918
919 2003-06-08  Michael Koch  <konqueror@gmx.de>
920
921         * java/net/Socket.java
922         (Socket): Dont initialize inputShutdown and outputShutdown twice,
923         call bind() and connect() to actually do the bind and connect tasks.
924         (bind): Connect to canonical address if bindpoint is null, create
925         socket and bind it to bindpoint.
926         (connect): Check for exceptions.
927
928 2003-06-08  Michael Koch  <konqueror@gmx.de>
929
930         * java/net/DatagramSocket.java
931         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
932         into the Multicast constructors.
933         * java/net/DatagramSocketImpl.java
934         (getOption): Removed.
935         (setOption): Removed.
936         * java/net/MulticastSocket.java
937         (MulticastSocket): Call setReuseAddress (true).
938         * java/net/SocketImpl.java
939         (getOption): Removed.
940         (setOption): Removed.
941
942 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
943
944         PR libgcj/10886:
945         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
946         Test for empty vector.
947
948 2003-06-06  Mark Wielaard  <mark@klomp.org>
949
950         * java/security/Security.java (secprops): Initialize.
951         (loadProviders): Return boolean.
952         (static): Check result of loadProvider calls. If necessary
953         display WARNING and fallback to Gnu provider.
954
955 2002-06-06  James Clark  <jjc@jclark.com>
956
957         Fix for PR libgcj/8738:
958         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
959         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
960         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
961         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
962         (write): Always decrease avail when count is increased.
963         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
964         and whether output buffer is full before increasing size.
965
966 2002-06-06  Mark Wielaard  <mark@klomp dot org>
967
968         * java/io/PrintStream.java (writeChars(char[],int, int)):
969         Check converter.havePendingBytes().
970         (writeChars(String,int,int)): Likewise.
971         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
972         Check converter.havePendingBytes() and flush buffer when stalled.
973
974 2003-06-07  Michael Koch  <konqueror@gmx.de>
975
976         * include/posix.h
977         (O_DSYNC): Define O_DSYNC on platforms not
978         supporting O_FSYNC (newlib).
979
980 2003-06-06  Mark Wielaard  <mark@klomp.org>
981
982         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
983         AWTError.
984
985 2003-06-06  Michael Koch  <konqueror@gmx.de>
986
987         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
988         More compile fixes from my stupid work yesterday.
989
990 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
991
992         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
993         if _IEEE_LIBM is undefined.
994
995 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
996
997         * libjava/include/posix.h (O_SYNC): Define if not available
998         and a reasonable, perhaps more conservative, replacement exists.
999         (O_DSYNC): Likewise.
1000         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1001
1002 2003-06-05  Michael Koch  <konqueror@gmx.de>
1003
1004         * javax/swing/plaf/BorderUIResource.java,
1005         javax/swing/plaf/basic/BasicDefaults.java,
1006         javax/swing/plaf/basic/BasicOptionPaneUI.java:
1007         More compile fixes for latest Border commit. I should not commit
1008         something in this heat here ...
1009
1010 2003-06-05  Michael Koch  <konqueror@gmx.de>
1011
1012         * javax/swing/border/BevelBorder.java
1013         (BevelBorder): Removed.
1014         * javax/swing/border/EmptyBorder.java:
1015         Reformatted.
1016         (EmptyBorder): Removed.
1017         (getBorderInsets): Dont use l, r, t and b.
1018         * javax/swing/border/EtchedBorder.java
1019         (EtchedBorder): Removed.
1020         * javax/swing/border/LineBorder.java
1021         (LineBorder): Removed.
1022         * javax/swing/border/MatteBorder.java
1023         (MatteBorder): Removed.
1024         * javax/swing/border/TitledBorder.java
1025         (defaultBorder): Use other default for now.
1026         (defaultFont): Likewise.
1027         (defaultColor): Likewise.
1028
1029 2003-06-05  Michael Koch  <konqueror@gmx.de>
1030
1031         * javax/swing/border/Border.java:
1032         New version from classpath.
1033
1034 2003-06-05  Michael Koch  <konqueror@gmx.de>
1035
1036         * javax/swing/border/AbstractBorder.java,
1037         javax/swing/border/BevelBorder.java,
1038         javax/swing/border/CompoundBorder.java,
1039         javax/swing/border/EmptyBorder.java,
1040         javax/swing/border/EtchedBorder.java,
1041         javax/swing/border/LineBorder.java,
1042         javax/swing/border/MatteBorder.java,
1043         javax/swing/border/TitledBorder.java:
1044         New versions from Classpath.
1045
1046 2003-06-05  Michael Koch  <konqueror@gmx.de>
1047
1048         * java/awt/Button.java,
1049         java/awt/Checkbox.java,
1050         java/awt/CheckboxMenuItem.java,
1051         java/awt/Choice.java,
1052         java/awt/Container.java,
1053         java/awt/Dialog.java,
1054         java/awt/EventQueue.java,
1055         java/awt/FileDialog.java,
1056         java/awt/Frame.java,
1057         java/awt/Label.java,
1058         java/awt/List.java,
1059         java/awt/Menu.java,
1060         java/awt/MenuItem.java,
1061         java/awt/Panel.java,
1062         java/awt/PopupMenu.java,
1063         java/awt/Rectangle.java,
1064         java/awt/ScrollPane.java,
1065         java/awt/Scrollbar.java,
1066         java/awt/TextArea.java,
1067         java/awt/TextField.java,
1068         java/awt/Window.java,
1069         java/awt/datatransfer/DataFlavor.java,
1070         java/awt/dnd/DragSource.java,
1071         java/awt/dnd/DragSourceContext.java,
1072         java/awt/event/HierarchyEvent.java,
1073         java/awt/event/MouseWheelEvent.java,
1074         java/awt/im/InputContext.java,
1075         java/awt/image/BufferedImage.java,
1076         java/awt/image/ComponentColorModel.java,
1077         java/awt/image/Raster.java,
1078         java/awt/image/WritableRaster.java,
1079         java/awt/peer/ComponentPeer.java,
1080         java/awt/print/PageFormat.java,
1081         java/awt/print/PrinterJob.java:
1082         New versions from Classpath.
1083
1084 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1085
1086         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1087         numberFormat.setParseIntegerOnly(true).
1088
1089 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1090
1091         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1092
1093 2003-06-03  Andrew Haley  <aph@redhat.com>
1094
1095         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1096         stack volatile to prevent optimization from removing it.
1097
1098 2003-05-27  Michael Koch  <konqueror@gmx.de>
1099
1100         * java/util/zip/Deflater.java
1101         (FILTERED): Merged documentation from classpath.
1102         * java/util/zip/DeflaterOutputStream.java
1103         (DeflaterOutputStream): Merged documentation and argument validity
1104         check from classpath.
1105         (deflate): Merged documentation from classpath.
1106         (finish): Likewise.
1107         * java/util/zip/Inflater.java
1108         (Inflater): Merged class documentation from classpath.
1109         (zstream): Reordered.
1110         (is_finished): Reordered.
1111         (dict_needed): Reordered.
1112         (Inflater): Reordered, merged documentation from classpath.
1113         (end): Likewise.
1114         (finalize): Merged documentation from classpath.
1115         (finished): Likewise.
1116         (getAdler): Likewise.
1117         (getRemaining): Likewise.
1118         (getTotalIn): Likewise.
1119         (getTotalOut): Likewise.
1120         (inflate): Likewise.
1121         (needsDictionary): Likewise.
1122         (needsInput): Likewise.
1123         (reset): Likewise.
1124         (setDictionary): Likewise.
1125         (setInput): Likewise.
1126
1127 2003-05-27  Michael Koch  <konqueror@gmx.de>
1128
1129         * java/net/URLConnection.java
1130         (getHeaderFieldInt): Merged with classpath.
1131
1132 2003-05-27  Michael Koch  <konqueror@gmx.de>
1133
1134         * java/io/PrintStream.java
1135         (PrintStream): Reformatted.
1136         (PrintStream): New method, merged from classpath.
1137         (write): Reformatted.
1138
1139 2003-05-27  Michael Koch  <konqueror@gmx.de>
1140
1141         * java/lang/System.java:
1142         Explicitely import needed classes.
1143
1144 2003-05-26  Michael Koch  <konqueror@gmx.de>
1145
1146         * java/net/NetPermission.java,
1147         java/net/NetworkInterface.java,
1148         java/net/PasswordAuthentication.java,
1149         java/net/SocketPermission.java:
1150         New versions from classpath.
1151
1152 2003-05-25  Michael Koch  <konqueror@gmx.de>
1153
1154         * java/io/PushbackInputStream.java,
1155         java/net/Authenticator.java,
1156         java/net/ContentHandler.java,
1157         java/net/ContentHandlerFactory.java,
1158         java/net/DatagramSocket.java,
1159         java/net/DatagramSocketImpl.java,
1160         java/net/DatagramSocketImplFactory.java,
1161         java/net/FileNameMap.java,
1162         java/net/SocketImplFactory.java,
1163         java/net/SocketOptions.java,
1164         java/net/URLStreamHandlerFactory.java:
1165         Merged new versions from classpath.
1166
1167 2003-05-25  Michael Koch  <konqueror@gmx.de>
1168
1169         * java/awt/Checkbox.java,
1170         java/awt/Dialog.java,
1171         java/awt/Font.java,
1172         java/awt/Frame.java,
1173         java/awt/ScrollPaneAdjustable.java,
1174         java/awt/Scrollbar.java,
1175         java/awt/Window.java:
1176         New versions from classpath.
1177
1178 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1179
1180         PR libgcj/10838:
1181         * java/io/ObjectInputStream (enableResolveObject):
1182         Fixed spelling of permission name.
1183
1184 2003-05-20  Michael Koch  <konqueror@gmx.de>
1185
1186         * java/io/DataInputStream.java
1187         (convertFromUTF): Merged comment from classpath.
1188         * java/io/PrintStream.java
1189         (error_occured): Renamed from error, merged comment from classpath.
1190         (PrintStream): No need to initialized error.
1191         (checkError): Replace error with error_occurred.
1192         (setError): Likewise.
1193
1194 2003-05-20  Michael Koch  <konqueror@gmx.de>
1195
1196         * java/io/DataInputStream.java:
1197         Reformatted, Replaced < and & with html entitites in documentation.
1198         * java/io/File.java:
1199         Reformatted.
1200         * java/io/PrintWriter.java:
1201         Moved class documentation.
1202
1203 2003-05-20  Michael Koch  <konqueror@gmx.de>
1204
1205         * gnu/java/nio/ByteBufferImpl.java,
1206         gnu/java/nio/CharBufferImpl.java,
1207         gnu/java/nio/CharViewBufferImpl.java,
1208         gnu/java/nio/DirectByteBufferImpl.java,
1209         gnu/java/nio/DoubleBufferImpl.java,
1210         gnu/java/nio/DoubleViewBufferImpl.java,
1211         gnu/java/nio/FloatBufferImpl.java,
1212         gnu/java/nio/FloatViewBufferImpl.java,
1213         gnu/java/nio/IntBufferImpl.java,
1214         gnu/java/nio/IntViewBufferImpl.java,
1215         gnu/java/nio/LongBufferImpl.java,
1216         gnu/java/nio/LongViewBufferImpl.java,
1217         gnu/java/nio/natDirectByteBufferImpl.cc,
1218         gnu/java/nio/ShortBufferImpl.java,
1219         gnu/java/nio/ShortViewBufferImpl.java:
1220         Moved files to java/nio.
1221         * gnu/java/nio/SocketChannelImpl.java
1222         
1223         * java/nio/ByteBuffer.java,
1224         java/nio/CharBuffer.java,
1225         java/nio/DoubleBuffer.java,
1226         java/nio/FloatBuffer.java,
1227         java/nio/IntBuffer.java,
1228         java/nio/LongBuffer.java,
1229         java/nio/ShortBuffer.java:
1230         Dont import anything.
1231         * java/nio/ByteBufferImpl.java,
1232         java/nio/CharBufferImpl.java,
1233         java/nio/CharViewBufferImpl.java,
1234         java/nio/DirectByteBufferImpl.java,
1235         java/nio/DoubleBufferImpl.java,
1236         java/nio/DoubleViewBufferImpl.java,
1237         java/nio/FloatBufferImpl.java,
1238         java/nio/FloatViewBufferImpl.java,
1239         java/nio/IntBufferImpl.java,
1240         java/nio/IntViewBufferImpl.java,
1241         java/nio/LongBufferImpl.java,
1242         java/nio/LongViewBufferImpl.java,
1243         java/nio/natDirectByteBufferImpl.cc,
1244         java/nio/ShortBufferImpl.java,
1245         java/nio/ShortViewBufferImpl.java:
1246         Moved from gnu/java/nio.
1247         * Makefile.am
1248         (ordinary_java_source_files): Moved files from gnu/java/nio to
1249         java/nio.
1250         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1251         to java/nio.
1252         * Makefile.in: Regenerated.
1253
1254 2003-05-19  Michael Koch  <konqueror@gmx.de>
1255
1256         * java/util/Calendar.java
1257         (get): Not final anymore since JDK 1.4
1258         (set): Likewise.
1259
1260 2003-05-19  Michael Koch  <konqueror@gmx.de>
1261
1262         * java/text/CollationKey.java:
1263         Merged copyright and dat from classpath.
1264         * java/text/RuleBasedCollator.java:
1265         Merged class documentation from classpath.
1266
1267 2003-05-19  Michael Koch  <konqueror@gmx.de>
1268
1269         * java/nio/CharBuffer.java
1270         (toString): Compile fix.
1271
1272 2003-05-19  Michael Koch  <konqueror@gmx.de>
1273
1274         * gnu/java/nio/ByteBufferImpl.java
1275         (putLong): Fixed conversion to bytes.
1276         (putDouble): Fixed conversion to bytes.
1277         * gnu/java/nio/DirectByteBufferImpl.java
1278         (putLong): Fixed conversion to bytes.
1279         (putDouble): Fixed conversion to bytes.
1280         * gnu/java/nio/FileLockImpl.java
1281         (isValid): Reformatted.
1282         * java/nio/Buffer.java
1283         (Buffer): Fixed off-by-one bug in handling mark.
1284         * java/nio/ByteBuffer.java:
1285         Added newline.
1286         * java/nio/CharBuffer.java
1287         (toString): Don't use relative get to get string data.
1288
1289 2003-05-16  Michael Koch  <konqueror@gmx.de>
1290
1291         * java/io/natFileDescriptorPosix.cc
1292         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1293         tested.
1294
1295 2003-05-14  Michael Koch  <konqueror@gmx.de>
1296
1297         * gnu/java/nio/FileLockImpl.java
1298         (released): New member variable.
1299         (FileLockImpl): Initialize released.
1300         (releaseImpl): New native method.
1301         (release): Implemented.
1302         * gnu/java/nio/SelectorImpl.java: Reformatted.
1303         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1304         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1305         (accept): Throws IOException.
1306         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1307         (implConfigureBlocking): Throws IOException.
1308         (connect): Likewise.
1309         (read): Likewise.
1310         (write): Likewise.
1311         * gnu/java/nio/natFileLockImpl.cc: New file.
1312         * java/nio/channels/FileLock.java: Reformatted.
1313         * Makefile.am:
1314         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1315         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1316         * Makefile.in: Regenerated.
1317
1318 2003-05-13  Michael Koch  <konqueror@gmx.de>
1319
1320         * gnu/java/nio/CharViewBufferImpl.java
1321         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1322         (get): Shift bits to the right direction.
1323         (put): Likewise.
1324         * gnu/java/nio/DoubleViewBufferImpl.java
1325         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1326         (get): Shift bits to the right direction.
1327         (put): Likewise.
1328         * gnu/java/nio/FloatViewBufferImpl.java
1329         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1330         (get): Shift bits to the right direction.
1331         (put): Likewise.
1332         * gnu/java/nio/IntViewBufferImpl.java
1333         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1334         (get): Shift bits to the right direction.
1335         (put): Likewise.
1336         * gnu/java/nio/LongViewBufferImpl.java
1337         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1338         (get): Shift bits to the right direction.
1339         (put): Likewise.
1340         * gnu/java/nio/ShortViewBufferImpl.java
1341         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1342         (get): Shift bits to the right direction.
1343         (put): Likewise.
1344
1345 2003-05-13  Michael Koch  <konqueror@gmx.de>
1346
1347         * gnu/java/nio/natDirectByteBufferImpl.cc
1348         (allocateImpl): jlong -> RawData*.
1349         (freeImpl): Likewise.
1350
1351 2003-05-13  Michael Koch  <konqueror@gmx.de>
1352
1353         * java/nio/channels/FileChannel.java
1354         (MapMode.m): Made it package-private to match JDK 1.4.
1355         * java/nio/charset/Charset.java
1356         (decode): Made it final to match JDK 1.4.
1357
1358 2003-05-13  Michael Koch  <konqueror@gmx.de>
1359
1360        * java/io/FileDescriptor.java
1361        (SYNC): New constant.
1362        (DSYNC): Likewise.
1363        (getLength): Renamed from lenght() to match classpath's
1364        FileDescriptor.java.
1365        * java/io/RandomAccessFile.java
1366        (RandomAccessFile): Removed unneeded mode check, implemented mode
1367        "rws" and "rwd", merged documentation from classpath.
1368        (setLength): Reformatted.
1369        (length): Use new getLength() of FileDescriptor.
1370        * java/io/natFileDescriptorEcos.cc
1371        (getLength): Renamed from length().
1372        * java/io/natFileDescriptorPosix.cc
1373        (open): Implemented support for SYNC and DSYNC.
1374        (seek): Use getLength() instead of length().
1375        (getLength): Renamed from length().
1376        * java/io/natFileDescriptorWin32.cc
1377        (getLength): Renamed from length().
1378        (seek): Use getLength() instead of length().
1379        (available): Likewise.
1380        * gnu/java/nio/natFileChannelImpl.cc
1381        (size): Use getLength() instead of length().
1382
1383 2003-05-13  Michael Koch  <konqueror@gmx.de>
1384
1385         * gnu/java/nio/ByteBufferImpl.java
1386         (ByteBufferImpl): All constructors revised.
1387         (slice): Reimplemented.
1388         (duplicate): Reimplemented.
1389         (asReadOnlyBuffer): Reimplemented.
1390         * java/nio/ByteBuffer.java:
1391         Reformatted.
1392         (array_offset): Renamed from "offset" to match all other buffer
1393         classes.
1394         (ByteBuffer): All constructors revised.
1395         (allocateDirect): Implemented.
1396         (allocate): New implementation, documentation reworked.
1397         (wrap): Likewise.
1398         (get): Documentation reworked.
1399         (put): New implementation, documentation reworked.
1400         (hasArray): Documentation reworked.
1401         (arrayOffset): Likewise.
1402         (hashCode): Likewise.
1403         (equals): Likewise.
1404         (compareTo): Likewise.
1405         (order): Likewise.
1406         (compact): Likewise.
1407         (isDirect): Likewise.
1408         (slice): Likewise.
1409         (duplicate): Likewise.
1410         (asReadOnlyBuffer): Likewise.
1411         * Makefile.am
1412         (ordinary_java_source_files):
1413         Added gnu/java/nio/DirectByteBufferImpl.java.
1414         (nat_source_files):
1415         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1416         * Makefile.in: Regenerated.
1417
1418 2003-05-12  Michael Koch  <konqueror@gmx.de>
1419
1420         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1421         (nio_get_*): Removed.
1422         (nio_put_*): Removed.
1423         (as*Buffer): Implemented.
1424         (compact): Implemented.
1425         (get): Documentation added.
1426         (put): Documentation added.
1427         (get*): Newly implemented.
1428         (put*): Newly implemented.
1429         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1430         (CharBufferImpl): Revised.
1431         (slice): New implementation.
1432         (duplicate): New implementation.
1433         (compact): New implementation.
1434         (asReadOnlyBuffer): New implementation.
1435         (get): Documentation revised.
1436         (order): Return native byte order.
1437         * gnu/java/nio/DirectByteBufferImpl.java
1438         (allocateDirect): objects can be null not 0.
1439         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1440         (DoubleBufferImpl): Revised.
1441         (slice): New implementation.
1442         (duplicate): New implementation.
1443         (compact): New implementation.
1444         (asReadOnlyBuffer): New implementation.
1445         (get): Documentation revised.
1446         (order): Return native byte order.
1447         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1448         (FloatBufferImpl): Revised.
1449         (slice): New implementation.
1450         (duplicate): New implementation.
1451         (compact): New implementation.
1452         (asReadOnlyBuffer): New implementation.
1453         (get): Documentation revised.
1454         (order): Return native byte order.
1455         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1456         (IntBufferImpl): Revised.
1457         (slice): New implementation.
1458         (duplicate): New implementation.
1459         (compact): New implementation.
1460         (asReadOnlyBuffer): New implementation.
1461         (get): Documentation revised.
1462         (order): Return native byte order.
1463         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1464         (LongBufferImpl): Revised.
1465         (slice): New implementation.
1466         (duplicate): New implementation.
1467         (compact): New implementation.
1468         (asReadOnlyBuffer): New implementation.
1469         (get): Documentation revised.
1470         (order): Return native byte order.
1471         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1472         (ShortBufferImpl): Revised.
1473         (slice): New implementation.
1474         (duplicate): New implementation.
1475         (compact): New implementation.
1476         (asReadOnlyBuffer): New implementation.
1477         (get): Documentation revised.
1478         (order): Return native byte order.
1479         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1480         (CharBuffer): Revised.
1481         (order): Removed.
1482         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1483         (DoubleBuffer): Revised.
1484         (allocateDirect): Removed.
1485         (order): Removed.
1486         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1487         (FloatBuffer): Revised.
1488         (allocateDirect): Removed.
1489         (order): Removed.
1490         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1491         (IntBuffer): Revised.
1492         (allocateDirect): Removed.
1493         (order): Removed.
1494         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1495         (LongBuffer): Revised.
1496         (allocateDirect): Removed.
1497         (order): Removed.
1498         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1499         (ShortBuffer): Revised.
1500         (allocateDirect): Removed.
1501         (order): Removed.
1502         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1503         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1504         * Makefile.am
1505         (ordinary_java_source_files): Added the following files:
1506         gnu/java/nio/CharViewBufferImpl.java,
1507         gnu/java/nio/DoubleViewBufferImpl.java,
1508         gnu/java/nio/FloatViewBufferImpl.java,
1509         gnu/java/nio/IntViewBufferImpl.java,
1510         gnu/java/nio/LongViewBufferImpl.java,
1511         gnu/java/nio/ShortViewBufferImpl.java
1512         (nat_source_files): Removed the following files:
1513         gnu/java/nio/natByteBufferImpl.cc,
1514         gnu/java/nio/natCharBufferImpl.cc
1515         * Makefile.in: Regenerated.
1516
1517 2003-05-12  Michael Koch  <konqueror@gmx.de>
1518
1519         * gnu/java/nio/CharViewBufferImpl.java,
1520         gnu/java/nio/DirectByteBufferImpl.java,
1521         gnu/java/nio/DoubleViewBufferImpl.java,
1522         gnu/java/nio/FloatViewBufferImpl.java,
1523         gnu/java/nio/IntViewBufferImpl.java,
1524         gnu/java/nio/LongViewBufferImpl.java,
1525         gnu/java/nio/ShortViewBufferImpl.java,
1526         gnu/java/nio/natDirectByteBufferImpl.cc:
1527         New files, not yet to be compiled.
1528
1529 2003-05-10  Michael Koch  <konqueror@gmx.de>
1530
1531         * javax/swing/plaf/ButtonUI.java,
1532         javax/swing/plaf/ColorUIResource.java,
1533         javax/swing/plaf/ComponentUI.java,
1534         javax/swing/plaf/DimensionUIResource.java,
1535         javax/swing/plaf/FontUIResource.java,
1536         javax/swing/plaf/IconUIResource.java,
1537         javax/swing/plaf/InsetsUIResource.java,
1538         javax/swing/plaf/LabelUI.java,
1539         javax/swing/plaf/ListUI.java,
1540         javax/swing/plaf/OptionPaneUI.java,
1541         javax/swing/plaf/PanelUI.java,
1542         javax/swing/plaf/TabbedPaneUI.java,
1543         javax/swing/plaf/TextUI.java,
1544         javax/swing/plaf/TreeUI.java,
1545         javax/swing/plaf/ViewportUI.java,
1546         javax/swing/plaf/basic/BasicBorders.java,
1547         javax/swing/plaf/basic/BasicButtonUI.java,
1548         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1549         javax/swing/plaf/basic/BasicDefaults.java,
1550         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1551         javax/swing/plaf/basic/BasicIconFactory.java,
1552         javax/swing/plaf/basic/BasicLabelUI.java,
1553         javax/swing/plaf/basic/BasicListUI.java,
1554         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1555         javax/swing/plaf/basic/BasicPanelUI.java,
1556         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1557         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1558         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1559         javax/swing/plaf/basic/BasicTextUI.java,
1560         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1561         javax/swing/plaf/basic/BasicTreeUI.java,
1562         javax/swing/plaf/basic/BasicViewportUI.java,
1563         javax/swing/plaf/metal/MetalLookAndFeel.java:
1564         New versions from classpath. This adds copyrights to all files and
1565         some serialVersionUIDs.
1566
1567 2003-05-10  Michael Koch  <konqueror@gmx.de>
1568
1569         * java/nio/CharBuffer.java
1570         (offset): Make it package-private.
1571         (backing_buffer): Likewise.
1572         * java/nio/DoubleBuffer.java
1573         (offset): Make it package-private.
1574         (backing_buffer): Likewise.
1575         (put): Reformatted.
1576         * java/nio/FloatBuffer.java
1577         (offset): Make it package-private.
1578         (backing_buffer): Likewise.
1579         * java/nio/IntBuffer.java
1580         (offset): Make it package-private.
1581         (backing_buffer): Likewise.
1582         * java/nio/LongBuffer.java
1583         (offset): Make it package-private.
1584         (backing_buffer): Likewise.
1585         * java/nio/ShortBuffer.java
1586         (offset): Make it package-private.
1587         (backing_buffer): Likewise.
1588
1589 2003-05-10  Michael Koch  <konqueror@gmx.de>
1590
1591         * java/nio/CharBuffer.java
1592         (put): Fixed precondtion check.
1593         (toString): Make it work without backing array.
1594         (put): Skip one level of method calling.
1595
1596 2003-05-10  Michael Koch  <konqueror@gmx.de>
1597
1598         * java/security/Identity.java,
1599         java/security/IdentityScope.java,
1600         java/security/Key.java,
1601         java/security/KeyPair.java,
1602         java/security/PrivateKey.java,
1603         java/security/Provider.java,
1604         java/security/PublicKey.java,
1605         java/security/SecureRandom.java,
1606         java/security/SecureRandomSpi.java,
1607         java/security/SignedObject.java,
1608         java/security/Signer.java,
1609         java/security/cert/Certificate.java,
1610         java/security/cert/PKIXCertPathBuilderResult.java,
1611         java/security/cert/X509Certificate.java:
1612         New versions from classpath.
1613
1614 2003-05-09  Tom Tromey  <tromey@redhat.com>
1615
1616         * Makefile.in: Rebuilt.
1617         * Makefile.am (nat_source_files): Removed old files.
1618         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1619         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1620         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1621         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1622         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1623
1624 2003-05-09  Michael Koch  <konqueror@gmx.de>
1625
1626         * gnu/java/nio/ByteBufferImpl.java
1627         (nio_cast): Removed.
1628         (ByteBufferImpl): Removed.
1629         (nio_get_Byte): Removed.
1630         (nio_put_Byte): Removed.
1631         (asByteBuffer): Removed.
1632         (asCharBuffer): Removed implementation and throw exception.
1633         (asShortBuffer): Likewise.
1634         (asIntBuffer): Likewise.
1635         (asLongBuffer): Likewise.
1636         (asFloatBuffer): Likewise.
1637         (asDoubleBuffer): Likewise.
1638         * gnu/java/nio/CharBufferImpl.java
1639         (CharBufferImpl): Removed.
1640         (nio_get_Byte): Removed.
1641         (nio_put_Byte): Removed.
1642         (asByteBuffer): Removed.
1643         * gnu/java/nio/DoubleBufferImpl.java
1644         (DoubleBufferImpl): Removed.
1645         (nio_get_Byte): Removed.
1646         (nio_put_Byte): Removed.
1647         (asByteBuffer): Removed.
1648         * gnu/java/nio/FloatBufferImpl.java
1649         (FloatBufferImpl): Removed.
1650         (nio_get_Byte): Removed.
1651         (nio_put_Byte): Removed.
1652         (asByteBuffer): Removed.
1653         * gnu/java/nio/IntBufferImpl.java
1654         (IntBufferImpl): Removed.
1655         (nio_get_Byte): Removed.
1656         (nio_put_Byte): Removed.
1657         (asByteBuffer): Removed.
1658         * gnu/java/nio/LongBufferImpl.java
1659         (LongBufferImpl): Removed.
1660         (nio_get_Byte): Removed.
1661         (nio_put_Byte): Removed.
1662         (asByteBuffer): Removed.
1663         * gnu/java/nio/ShortBufferImpl.java
1664         (ShortBufferImpl): Removed.
1665         (nio_get_Byte): Removed.
1666         (nio_put_Byte): Removed.
1667         (asByteBuffer): Removed.
1668         * gnu/java/nio/natByteBufferImpl.cc
1669         (nio_cast): Removed.
1670         (nio_get_Byte): Removed.
1671         (nio_put_Byte): Removed.
1672         * gnu/java/nio/natCharBufferImpl.cc
1673         (nio_get_Byte): Removed.
1674         (nio_put_Byte): Removed.
1675
1676 2003-05-09  Michael Koch  <konqueror@gmx.de>
1677
1678         * java/net/JarURLConnection.java
1679         (getJarEntry): Merged documentation from classpath.
1680         (getJarFile): Likewise.
1681         (getMainAttributes): Likewise.
1682         (getAttributes): Likewise.
1683         (getManifest): Likewise.
1684         (getCertificates): Reformatted.
1685         * java/net/URLConnection.java:
1686         Little classpath merge.
1687
1688 2003-05-09  Michael Koch  <konqueror@gmx.de>
1689
1690         * java/io/DataOutputStream.java
1691         (writeShort): Made it synchronized.
1692         (writeChar): Likewise.
1693         (writeInt): Likewise.
1694         (writeLong): Liekwise.
1695         (writeUTF): Made it synchronized, renamed argument to match classpath.
1696         * java/io/InputStreamReader.java
1697         (converter): Added documentation.
1698         (read): Merged documentation from classpath.
1699         * java/io/OutputStreamWriter.java
1700         (OutputStreamWriter): Merged documentation from classpath.
1701         (close): Reformatted.
1702         (getEncoding): Likewise.
1703         (flush): Likewise.
1704         (write): Merged documentation from classpath, reformatted.
1705
1706 2003-05-08  Tom Tromey  <tromey@redhat.com>
1707
1708         * configure.host <powerpc64*-*>: Set with_libffi_default and
1709         libgcj_interpreter to "yes".
1710
1711 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1712
1713         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1714         
1715 2003-05-06  Tom Tromey  <tromey@redhat.com>
1716
1717         * verify.cc: Reverted previous patch.
1718
1719 2003-05-06  Michael Koch  <konqueror@gmx.de>
1720
1721         * java/io/DataOutputStream.java
1722         (write): Renamed argument to "value", merged documentation from
1723         classpath.
1724         (writeBoolean): Likewise.
1725         (writeByte): Likewise.
1726         (writeShort): Likewise.
1727         (writeChar): Likewise.
1728         (writeInt): Likewise.
1729         (writeLong): Likewise.
1730         (writeFloat): Likewise.
1731         (writeDouble): Likewise.
1732         (writeBytes): Likewise.
1733         (writeChars): Likewise.
1734         (writeUTF): Likewise.
1735         * java/io/File.java
1736         (performDelete): Added documentation.
1737         (performList): Likewise.
1738         (performMkdir): Likewise.
1739         (performSetReadOnly): Likewise.
1740         (performRenameTo): Likewise.
1741         (performSetLastModified): Likewise.
1742         (delete): Made it sychronized.
1743         (renameTo): Made it sychronized.
1744         (equals): Reformatted.
1745         (isHidden): Likewise.
1746         (listFiles): Likewise.
1747         (setReadOnly): Likewise.
1748         (listRoots): Likewise.
1749         (setLastModified): Likewise.
1750         (checkRead): Likewise.
1751         (checkWrite): Likewise.
1752         * java/io/FileInputStream.java
1753         (skip): Made it sychronized, merged from classpath.
1754         * java/io/FileOutputStream.java
1755         (write): Merged from classpath.
1756         * java/io/InputStreamReader.java:
1757         (InputStreamReader): Merged documentation from classpath.
1758
1759 2003-05-05  Michael Koch  <konqueror@gmx.de>
1760
1761         * java/net/NetworkInterface.java
1762         (networkInterfaces): Removed.
1763         (getByName): Use getRealNetworkInterfaces() instead of
1764         networkInterfaces.
1765         (getByInetAddress): Likewise.
1766         (getNetworkInterfaces): Likewise.
1767         (toString): Fix output of addresses of an interface.
1768
1769 2003-05-05  Michael Koch  <konqueror@gmx.de>
1770
1771         * java/io/DataInputStream.java:
1772         Merged new documentation from classpath.
1773
1774 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1775
1776         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1777         "version".
1778         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1779         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1780         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1781         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1782         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1783         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1784         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1785         * java/security/Key.java: Likewise.
1786         * java/security/PrivateKey.java: Likewise.
1787         * java/security/Provider.java: Likewise.
1788         * java/security/PublicKey.java: Likewise.
1789
1790 2003-05-02  Michael Koch  <konqueror@gmx.de>
1791
1792         * java/net/URI.java
1793         (create): Doesnt throws any exceptions.
1794         * java/net/URLConnection.java
1795         (URLConnection): Commend added.
1796         (getExpiration): The header field is called "expires" not
1797         "expiration".
1798         (getHeaderField): Merged documentation with classpath.
1799         (getHeaderFieldInt): Likewise.
1800         (getHeaderFieldDate): Likewise.
1801         (getHeaderFieldKey): Likewise.
1802         (getPermission): Likewise.
1803         (setDefaultUseCaches): Likewise.
1804         (setRequestProperty): Likewise.
1805         (addRequestProperty): Likewise.
1806         (getRequestProperty): Likewise.
1807         (getRequestProperties): Likewise.
1808         (setDefaultRequestProperty): Likewise.
1809         (getDefaultRequestProperty): Likewise.
1810         (guessContentTypeFromStream): Likewise.
1811         (getFileNameMap): Likewise.
1812         (setFileNameMap): Likewise.
1813         (setDoInput): Merged implementation and documentation with classpath.
1814         (setDoOutput): Likewise.
1815         (setAllowUserInteraction): Likewise.
1816         (setDefaultAllowUserInteraction): Likewise.
1817         (setContentHandlerFactory): Made it synchronized, merged documentation
1818         with classpath.
1819         (guessContentTypeFromName): Renamed argument fname to filename to
1820         match classpath, merged documentation with classpath.
1821
1822 2003-05-02  Michael Koch  <konqueror@gmx.de>
1823
1824         * java/net/JarURLConnection.java
1825         (JarURLConnection): Class documentation merged with classpath.
1826         (getJarFileURL): Moved and documentation merged with classpath.
1827         (getEntryName): Likewise.
1828         (JarURLConnection): Documentation merged with classpath.
1829         (getJarEntry): Likewise.
1830         (getJarFile): Likewise.
1831         * java/net/PlainDatagramSocketImpl.java:
1832         Class documentation moved.
1833         * java/net/URLConnection.java
1834         (fileNameMap): Moved and documentation merged with classpath.
1835         (factory): Likewise.
1836         (defaultAllowUserInteraction): Likewis.
1837         (defaultUseCaches): Likewise.
1838         (allowUserInteraction): Likewise.
1839         (connected): Likewise.
1840         (url): Likewise.
1841         (connect): Documentation merged with classpath.
1842         (getURL): Likewise.
1843         (getContentLength): Likewise.
1844         (getContentType): Likewise.
1845         (getContentEncoding): Likewise.
1846         (getExpiration): Likewise.
1847         (getDate): Likewise.
1848         (getLastModified): Likewise.
1849         (getHeaderField): Likewise.
1850         (getContent): Likewise.
1851         (getPermission): Likewise.
1852         (getInputStream): Likewise.
1853         (getOutputStream): Likewise.
1854         (toString): Likewise.
1855         (getDoInput): Likewise.
1856         (getDoOutput): Likewise.
1857         (setAllowUserInteraction): Likewise.
1858         (getAllowUserInteraction): Likewise.
1859         (setDefaultAllowUserInteraction): Likewise.
1860         (getDefaultAllowUserInteraction): Likewise.
1861         (setUseCaches): Likewise.
1862         (getUseCaches): Likewise.
1863         (setIfModifiedSince): Likewise.
1864         (getIfModifiedSince): Likewise.
1865         (setDefaultRequestProperty): Likewise.
1866         (getDefaultRequestProperty): Likewise.
1867         (setContentHandlerFactory): Likewise.
1868         (setFileNameMap): Likewise.
1869
1870 2003-05-02  Michael Koch  <konqueror@gmx.de>
1871
1872         * java/net/InetAddress.java:
1873         Merged class documentation with classpath.
1874         * java/net/JarURLConnection.java:
1875         Explicitely import all used classes.
1876         * java/net/URL.java:
1877         Reformatting.
1878         * java/net/ServerSocket.java,
1879         java/net/Socket.java:
1880         New versions from classpath.
1881
1882 2003-05-02  Michael Koch  <konqueror@gmx.de>
1883
1884         * gnu/java/nio/FileChannelImpl.java
1885         (read): New implementation.
1886         (implRead): New methods.
1887         (write): New implementation, call other write insteal of read method.
1888         (implWrite): New methods.
1889         (map): Added comment.
1890         (transferFrom): Implemented.
1891         (transferTo): Implemented.
1892         (lock): Added checks to throw exceptions.
1893         (truncate): Added check to throw exception.
1894         * gnu/java/nio/natFileChannelImpl.cc
1895         (implRead): New method.
1896         (implWrite): New method.
1897         * java/nio/ByteBuffer.java
1898         (hashCode): Fixed comment.
1899         (get): Fixed exception documentation.
1900         (put): Fixed exception documentation.
1901         * java/nio/CharBuffer.java:
1902         Added comment for later optimizations.
1903
1904 2003-04-30  Tom Tromey  <tromey@redhat.com>
1905
1906         PR libgcj/10582:
1907         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1908         Removed.
1909         (type::compatible): Use _Jv_IsAssignableFrom.
1910         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1911         (_Jv_IsAssignableFrom): Work even when source or target class is
1912         not prepared.
1913
1914 2003-04-30  Michael Koch  <konqueror@gmx.de>
1915
1916         * java/text/BreakIterator.java
1917         (clone): New method.
1918
1919 2003-04-30  Michael Koch  <konqueror@gmx.de>
1920
1921         * java/text/CollationElementIterator.java,
1922         java/text/CollationKey.java,
1923         java/text/RuleBasedCollator.java:
1924         Merged copyright and documentation from classpath and
1925         rearranged some code. No code changes done.
1926
1927 2003-04-30  Michael Koch  <konqueror@gmx.de>
1928
1929         * java/util/regex/Matcher.java
1930         (pattern): New member variable.
1931         (appendReplacement): New method.
1932         (appendTail): New method.
1933         (end): New method.
1934         (find): New method.
1935         (group): New method.
1936         (replaceFirst): Added documentation.
1937         (replaceAll): Added documentation.
1938         (groupCount): New method.
1939         (lookingAt): New method.
1940         (matches): New method.
1941         (reset): New method.
1942         (start): New method.
1943         * java/util/regex/Pattern.java
1944         (serialVersionUID): New constant.
1945         (CANON_EQ): New constant.
1946         (CASE_INSENSITIVE): New constant.
1947         (COMMENTS): New constant.
1948         (DOTALL): New constant.
1949         (MULTILINE): New constant.
1950         (UNICODE_CASE): New constant.
1951         (UNIX_LINES): New constant.
1952         (regex): New member variable.
1953         (flags): New member variable.
1954         (Pattern): New method.
1955         (compile): Documentation added.
1956         (flags): New method.
1957         (matches): Documentation added.
1958         (matcher): Documentation added.
1959         (split): Documentation added.
1960         (pattern): New method.
1961
1962 2003-04-30  Michael Koch  <konqueror@gmx.de>
1963
1964         * gnu/java/security/Engine.java,
1965         gnu/java/security/OID.java,
1966         gnu/java/security/der/BitString.java,
1967         gnu/java/security/der/DER.java,
1968         gnu/java/security/der/DERReader.java,
1969         gnu/java/security/der/DERValue.java,
1970         gnu/java/security/der/DERWriter.java,
1971         gnu/java/security/provider/DSAKeyFactory.java,
1972         gnu/java/security/provider/X509CertificateFactory.java,
1973         gnu/java/security/x509/X500DistinguishedName.java,
1974         gnu/java/security/x509/X509CRL.java,
1975         gnu/java/security/x509/X509CRLEntry.java,
1976         gnu/java/security/x509/X509Certificate.java,
1977         java/security/cert/CRLSelector.java,
1978         java/security/cert/CertPathBuilder.java,
1979         java/security/cert/CertPathBuilderResult.java,
1980         java/security/cert/CertPathBuilderSpi.java,
1981         java/security/cert/CertPathParameters.java,
1982         java/security/cert/CertPathValidator.java,
1983         java/security/cert/CertPathValidatorResult.java,
1984         java/security/cert/CertPathValidatorSpi.java,
1985         java/security/cert/CertSelector.java,
1986         java/security/cert/CertStore.java,
1987         java/security/cert/CertStoreParameters.java,
1988         java/security/cert/CertStoreSpi.java,
1989         java/security/cert/CollectionCertStoreParameters.java,
1990         java/security/cert/LDAPCertStoreParameters.java,
1991         java/security/cert/PKIXBuilderParameters.java,
1992         java/security/cert/PKIXCertPathBuilderResult.java,
1993         java/security/cert/PKIXCertPathChecker.java,
1994         java/security/cert/PKIXCertPathValidatorResult.java,
1995         java/security/cert/PKIXParameters.java,
1996         java/security/cert/PolicyNode.java,
1997         java/security/cert/PolicyQualifierInfo.java,
1998         java/security/cert/TrustAnchor.java,
1999         javax/security/auth/x500/X500Principal.java:
2000         New files from classpath.
2001         * gnu/java/io/ASN1ParsingException.java,
2002         gnu/java/io/Base64InputStream.java,
2003         gnu/java/security/der/DEREncodingException.java,
2004         gnu/java/security/provider/DSAParameters.java,
2005         gnu/java/security/provider/DSASignature.java,
2006         gnu/java/security/provider/Gnu.java,
2007         gnu/java/security/provider/GnuDSAPrivateKey.java,
2008         gnu/java/security/provider/GnuDSAPublicKey.java,
2009         java/security/AlgorithmParameterGenerator.java,
2010         java/security/AlgorithmParameters.java,
2011         java/security/KeyFactory.java,
2012         java/security/KeyPairGenerator.java,
2013         java/security/KeyStore.java,
2014         java/security/MessageDigest.java,
2015         java/security/SecureClassLoader.java,
2016         java/security/SecureRandom.java,
2017         java/security/Security.java,
2018         java/security/Signature.java,
2019         java/security/cert/Certificate.java,
2020         java/security/cert/CertificateFactory.java,
2021         java/security/cert/CertificateFactorySpi.java,
2022         java/security/cert/X509CRL.java,
2023         java/security/cert/X509Certificate.java,
2024         java/security/spec/DSAPublicKeySpec.java:
2025         New versions from classpath.
2026         * gnu/java/security/provider/DERReader.java,
2027         gnu/java/security/provider/DERWriter.java,
2028         java/security/Engine.java: Removed.
2029         * Makefile.am
2030         (java_source_files, javax_source_files): Added new files.
2031         * Makefile.in: Regenerated.
2032
2033 2003-04-29  Michael Koch  <konqueror@gmx.de>
2034
2035         * javax/swing/JTable.java
2036         (AUTO_RESIZE_ALL_COLUMNS): New constant.
2037         (AUTO_RESIZE_LAST_COLUMN): New constant.
2038         (AUTO_RESIZE_NEXT_COLUMN): New constant.
2039         (AUTO_RESIZE_OFF): New constant.
2040         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2041         (JTable): New method.
2042         (columnAdded): New method.
2043         (columnMarginChanged): New method.
2044         (columnMoved): New method.
2045         (columnRemoved): New method.
2046         (columnSelectionChanged): New method.
2047         (editingCanceled): New method.
2048         (editingStopped): New method.
2049         (getColumnModel): New method.
2050         (getPreferredScrollableViewportSize): New method.
2051         (getScrollableBlockIncrement): New method.
2052         (getScrollableTracksViewportHeight): New method.
2053         (getScrollableTracksViewportWidth): New method.
2054         (getScrollableUnitIncrement): New method.
2055         (getSelectedRow): New method.
2056         (getSelectionModel): New method.
2057         (tableChanged): New method.
2058         (setModel): New method.
2059         (setSelectionMode): New method.
2060         (setSelectionModel): New method.
2061         (setShowGrid): New method.
2062         (valueChanged): New method.
2063         * javax/swing/text/DefaultEditorKit.java
2064         (backwardAction): New constant.
2065         (beepAction): New constant.
2066         (beginAction): New constant.
2067         (beginLineAction): New constant.
2068         (beginParagraphAction): New constant.
2069         (beginWordAction): New constant.
2070         (copyAction): New constant.
2071         (cutAction): New constant.
2072         (defaultKeyTypedAction): New constant.
2073         (deleteNextCharAction): New constant.
2074         (deletePrevCharAction): New constant.
2075         (downAction): New constant.
2076         (endAction): New constant.
2077         (endLineAction): New constant.
2078         (endOfLineStringProperty): New constant.
2079         (endParagraphAction): New constant.
2080         (endWordAction): New constant.
2081         (forwardAction): New constant.
2082         (insertBreakAction): New constant.
2083         (insertContentAction): New constant.
2084         (insertTabAction): New constant.
2085         (nextWordAction): New constant.
2086         (pageDownAction): New constant.
2087         (pageUpAction): New constant.
2088         (pasteAction): New constant.
2089         (previousWordAction): New constant.
2090         (readOnlyAction): New constant.
2091         (selectAllAction): New constant.
2092         (selectionBackwardAction): New constant.
2093         (selectionBeginAction): New constant.
2094         (selectionBeginLineAction): New constant.
2095         (selectionBeginParagraphAction): New constant.
2096         (selectionBeginWordAction): New constant.
2097         (selectionDownAction): New constant.
2098         (selectionEndAction): New constant.
2099         (selectionEndLineAction): New constant.
2100         (selectionEndParagraphAction): New constant.
2101         (selectionEndWordAction): New constant.
2102         (selectionForwardAction): New constant.
2103         (selectionNextWordAction): New constant.
2104         (selectionPreviousWordAction): New constant.
2105         (selectionUpAction): New constant.
2106         (selectLineAction): New constant.
2107         (selectParagraphAction): New constant.
2108         (selectWordAction): New constant.
2109         (upAction): New constant.
2110         (writableAction): New constant.
2111
2112 2003-04-29  Michael Koch  <konqueror@gmx.de>
2113
2114         * java/util/PropertyPermission.java:
2115         New version from classpath
2116         * java/util/ResourceBundle.java:
2117         Partly merged from classpath
2118         (getObject): Reformated.
2119         (tryBundle): Set foundBundle = null if no bundle found.
2120
2121 2003-04-29  Michael Koch  <konqueror@gmx.de>
2122
2123         * javax/swing/AbstractListModel.java,
2124         javax/swing/DefaultBoundedRangeModel.java,
2125         javax/swing/DefaultSingleSelectionModel.java:
2126         New Versions from classpath.
2127
2128 2003-04-29  Michael Koch  <konqueror@gmx.de>
2129
2130         * java/awt/Window.java
2131         (show): Call super.show() instead of setVisible() to avoid endless
2132         loop.
2133         (hide): Call super.hide() instead of setVisible() to avoid endless
2134         loop.
2135
2136 2003-04-29  Michael Koch  <konqueror@gmx.de>
2137
2138         * java/util/zip/Deflater.java,
2139         java/util/zip/DeflaterOutputStream.java:
2140         Partly merged with classpath.
2141
2142 2003-04-27  Tom Tromey  <tromey@redhat.com>
2143
2144         * java/lang/natString.cc (_Jv_AllocString): Initialize
2145         cachedHashCode.
2146         (init): Likewise.
2147         (_Jv_NewStringUtf8Const): Likewise.
2148
2149 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2150
2151         * include/jvm.h: (_Jv_GetNbArgs) added
2152         (_Jv_GetSafeArg) added
2153         (_Jv_SetArgs) added
2154         * prims.cc: (_Jv_GetNbArgs) implemented
2155         (_Jv_GetSafeArg) implemented
2156         (_Jv_SetArgs) implemented
2157         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2158         setting _Jv_argc and _Jv_argv
2159         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2160         instead of _Jv_argv
2161         * java/lang/natRuntime.cc: (insertSystemProperties) use
2162         _Jv_GetSafeArg() instead of _Jv_argv
2163
2164 2003-04-23  Tom Tromey  <tromey@redhat.com>
2165
2166         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2167         required by this object.  Search superclasses to find required
2168         alignment.
2169         (get_alignment_from_class): Use alignment of type as it appears
2170         in a struct.
2171         (ALIGNOF): New macro.
2172         (struct aligner): New helper structure.
2173
2174 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2175
2176         * java/awt/Container.java (addImpl): Enable paint events if adding
2177         a lightweight to a heavyweight.
2178         (addNotify): Ensure that peer is created before
2179         addNotifyContainerChildren.
2180         (addNotifyContainerChildren): Enable paint events if a heavyweight
2181         container contains a lightweight.
2182
2183 2003-04-20  Tom Tromey  <tromey@redhat.com>
2184
2185         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2186         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2187         Classpath.
2188
2189 2003-04-19  Tom Tromey  <tromey@redhat.com>
2190
2191         * java/sql/Date.java, java/sql/DriverManager.java,
2192         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2193         Classpath.
2194
2195         * Makefile.in: Rebuilt.
2196         * Makefile.am (ordinary_java_source_files): Added new files.
2197         * java/security/AlgorithmParameterGenerator.java,
2198         java/security/AlgorithmParameters.java, java/security/Engine.java,
2199         java/security/Identity.java, java/security/IdentityScope.java,
2200         java/security/KeyFactory.java,
2201         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2202         java/security/MessageDigest.java, java/security/Policy.java,
2203         java/security/ProtectionDomain.java,
2204         java/security/SecureRandom.java, java/security/Security.java,
2205         java/security/Signature.java, java/security/SignatureSpi.java,
2206         java/security/SignedObject.java, java/security/Signer.java,
2207         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2208         java/security/spec/PSSParameterSpec.java,
2209         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2210         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2211         Classpath.
2212
2213 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2214
2215         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2216         (dispose): Null metrics.
2217         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2218         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2219         finalize.
2220         (finalize): Call dispose.
2221         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2222         (gcCachedCount): New field.
2223         (finalize): New method.
2224         (putGCInCache): New method.
2225         (getGCFromCache): New method.
2226         * gnu/gcj/xlib/GC.java (GC): Make protected.
2227         (clone): Get new GC from cache if possible.
2228         (create): New static method.
2229         (dispose): Save old GC in cache.
2230         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2231         deleting.
2232         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2233         is null.
2234         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2235         * java/awt/Container.java (visitChild): Dispose gfx2 when
2236         finished.
2237
2238 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2239
2240         * java/math/BigInteger.java (probablePrime): New.
2241         * java/math/BigDecimal.java (unscaledValue): New.
2242
2243 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2244
2245         * java/io/File.java (getAbsolutePath): On Windows, take care
2246         of paths like "C:", "G:foo\bar", etc.
2247         (getName): Make it work correctly on Windows.
2248         (getParent): Make it work correctly on Windows. For UNIX,
2249         fix bug that causes "/" to be returned as the parent of "/",
2250         instead of null as returned by Sun's JRE.
2251
2252         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2253
2254 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2255
2256         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2257         inner class.
2258         (CACHE_SIZE_PER_DISPLAY): New field
2259         (fontMetricsCache): New field
2260         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2261         loading ISO10646-1 fonts.
2262
2263 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2264
2265         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2266         characters.
2267         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2268         characters.
2269
2270 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2271
2272         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2273         floating point.
2274
2275 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2276
2277         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2278         installed libpthread is either linuxthreads with floating stacks or
2279         NPTL.
2280
2281 2003-04-14  Tom Tromey  <tromey@redhat.com>
2282
2283         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2284         of alignment.
2285
2286 2003-04-10  Tom Tromey  <tromey@redhat.com>
2287
2288         * verify.cc (pop64): Removed.
2289         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2290         exception if top-of-stack is narrow.
2291         (initialize_stack): Check to ensure that <init> is not static and
2292         <clinit> is.
2293
2294 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2295
2296         * java/io/ObjectStreamException
2297         * java/io/FileFilter
2298         * java/io/FilenameFilter
2299         * java/io/ObjectInput
2300         * java/io/ObjectOutput
2301         * java/io/ObjectStreamConstants
2302         Minor doc fixes, format fixes, spelling corrections, etc.
2303         * java/io/DataInput
2304         Corrected code samples in Javadocs to match reality
2305         * java/io/DataOutput
2306         * java/io/ObjectInputValidation
2307         Major documentation fixes - all Javadocs re-written or updated
2308
2309 2003-04-06  Michael Koch  <konqueror@gmx.de>
2310
2311         * java/net/URLConnection.java:
2312         Import classes directly.
2313         (URLConnection): Merged class documentation with classpath.
2314         (url): Moved, documentation from classpath added.
2315         (doInput): Moved, documentation from classpath added.
2316         (doOutput): Moved, documentation from classpath added.
2317         (allowUserInteraction): Moved.
2318         (useCaches): Moved, documentation from classpath added.
2319         (ifModifiedSince): Moved, documentation from classpath added.
2320         (connected): Moved, documentation from classpath added.
2321
2322 2003-04-06  Michael Koch  <konqueror@gmx.de>
2323
2324         * java/io/FileInputStream.java
2325         (skip): Renamed some variables to match classpath, added
2326         checks from classpath.
2327
2328 2003-03-31  Michael Koch  <konqueror@gmx.de>
2329
2330         * javax/swing/AbstractAction.java
2331         (AbstractAction): Reformatted.
2332         (serialVersionUID): New private member variable.
2333         * javax/swing/plaf/BorderUIResource.java
2334         (serialVersionUID): New private member variable.
2335         * javax/swing/plaf/basic/BasicLookAndFeel.java
2336         (serialVersionUID): New private member variable.
2337
2338 2003-03-31  Michael Koch  <konqueror@gmx.de>
2339
2340         * java/sql/Date.java
2341         (valueOf): Deprecated, reformatted.
2342         (toString): Deprecated, reformatted.
2343         * java/sql/Time.java
2344         (valueOf): Deprecated, reformatted.
2345         (toString): Deprecated, reformatted.
2346
2347 2003-03-31  Michael Koch  <konqueror@gmx.de>
2348
2349         * java/rmi/dgc/VMID.java
2350         (isUnique): Deprecated.
2351
2352 2003-03-31  Michael Koch  <konqueror@gmx.de>
2353
2354         * java/io/File.java
2355         (separator): Merged documentation from classpath.
2356         (separatorChar): Merged documentation from classpath.
2357         (pathSeparator): Merged documentation from classpath.
2358         (pathSeparatorChar): Merged documentation from classpath.
2359         (path): Merged documentation from classpath.
2360         (canRead): Merged documentation from classpath.
2361         (canWrite): Merged documentation from classpath.
2362         (createNewFile): Merged documentation from classpath.
2363         (delete): Merged documentation from classpath.
2364         (equals): Merged documentation from classpath.
2365         (exists): Merged documentation from classpath.
2366         (File): Renamed p to name to match classpath, merged documentation
2367         from classpath.
2368         (getAbsolutePath): Merged documentation from classpath.
2369         (getCanonicalPath): Merged documentation from classpath.
2370         (getCanonicalFile): Merged documentation from classpath.
2371         (getName): Merged documentation from classpath.
2372         (getParent): Merged documentation from classpath.
2373         (getParentFile): Merged documentation from classpath.
2374         (getPath): Merged documentation from classpath.
2375         (hashCode): Merged documentation from classpath.
2376         (isAbsolute): Merged documentation from classpath.
2377         (isDirectory): Merged documentation from classpath.
2378         (isFile): Merged documentation from classpath.
2379         (isHidden): Merged documentation from classpath.
2380         (lastModified): Merged documentation from classpath.
2381         (length): Merged documentation from classpath.
2382         (list): Merged documentation from classpath.
2383         (listFiles): Merged documentation from classpath.
2384         (toString): Merged documentation from classpath.
2385         (toURL): Merged documentation from classpath.
2386         (mkdir): Merged documentation from classpath.
2387         (mkdirs): Merged documentation from classpath.
2388         (createTempFile): Merged documentation from classpath.
2389         (setReadOnly): Merged documentation from classpath.
2390         (listRoots): Merged documentation from classpath.
2391         (compareTo): Merged documentation from classpath.
2392         (renameTo): Merged documentation from classpath.
2393         (setLastModified): Merged documentation from classpath.
2394         * java/io/PrintStream.java
2395         (auto_flush): Merged documentation from classpath.
2396         (PrintStream): Merged documentation from classpath.
2397         (checkError): Merged documentation from classpath.
2398         (setError): Merged documentation from classpath.
2399         (close): Merged documentation from classpath.
2400         (flush): Merged documentation from classpath.
2401         (print): Merged documentation from classpath.
2402         (println):  Merged documentation from classpath.
2403         (write): Renamed count to len to match classpath,
2404         merged documentation from classpath.
2405         * java/io/RandomAccessFile.java
2406         (readShort): Merged documentation from classpath.
2407         (readUnsignedByte): Merged documentation from classpath.
2408         (readUnsignedShort): Merged documentation from classpath.
2409         (readUTF): Merged documentation from classpath.
2410         (seek): Reformatted, merged documentation from classpath.
2411         (skipBytes): Renamed some variables to match classpath, reformatted,
2412         merged documentation from classpath.
2413         (write): Merged documentation from classpath.
2414         (writeBoolean): Merged documentation from classpath.
2415         (writeByte): Merged documentation from classpath.
2416         (writeShort): Merged documentation from classpath.
2417         (writeChar): Merged documentation from classpath.
2418         (writeInt): Merged documentation from classpath.
2419         (writeLong): Merged documentation from classpath.
2420         (writeFloat): Merged documentation from classpath.
2421         (writeDouble): Merged documentation from classpath.
2422         (writeBytes): Merged documentation from classpath.
2423         (writeChars): Merged documentation from classpath.
2424         (writeUTF): Reformatted.
2425         (getChannel): Reformatted.
2426
2427 2003-03-31  Michael Koch  <konqueror@gmx.de>
2428
2429         * java/awt/font/TextAttribute.java
2430         (readResolve): Throws java.io.InvalidObjectException.
2431
2432 2003-03-31  Michael Koch  <konqueror@gmx.de>
2433
2434         * java/rmi/server/LoaderHandler.java
2435         (loadClass): Deprecated.
2436         (getSecurityContext): Deprecated.
2437         * java/rmi/server/LogStream.java
2438         (getDefaultStream): Deprecated.
2439         (setDefaultStream): Deprecated.
2440         (getOutputStream): Deprecated.
2441         (setOutputStream): Deprecated.
2442         (write): Deprecated.
2443         (toString): Deprecated.
2444         (parseLevel): Deprecated.
2445         * java/rmi/server/Operation.java
2446         (Operation): Deprecated.
2447         (getOperation): Deprecated.
2448         (toString): Deprecated.
2449         * java/rmi/server/RemoteCall.java
2450         (getOutputStream): Deprecated.
2451         (releaseOutputStream): Deprecated.
2452         (getInputStream): Deprecated.
2453         (releaseInputStream): Deprecated.
2454         (getResultStream): Deprecated.
2455         (executeCall): Deprecated.
2456         (done): Deprecated.
2457         * java/rmi/server/RemoteRef.java
2458         (invoke): Deprecated.
2459         (newCall): Deprecated.
2460         (done): Deprecated.
2461         * java/rmi/server/RemoteStub.java
2462         (setRef): Deprecated.
2463         * java/rmi/server/Skeleton.java:
2464         No need to import java.lang.Exception explicitly.
2465         (dispatch): Deprecated.
2466         (getOperations): Deprecated.
2467
2468 2003-03-31  Michael Koch  <konqueror@gmx.de>
2469
2470         * java/rmi/dgc/VMID.java,
2471         java/rmi/registry/RegistryHandler.java,
2472         java/rmi/server/LogStream.java,
2473         java/rmi/server/Operation.java,
2474         java/rmi/server/RemoteCall.java,
2475         java/rmi/server/RemoteRef.java,
2476         java/rmi/server/RemoteStub.java:
2477         Reformatted.
2478
2479 2003-03-31  Michael Koch  <konqueror@gmx.de>
2480
2481         * javax/swing/AbstractCellEditor.java,
2482         javax/swing/AbstractListModel.java,
2483         javax/swing/ActionMap.java,
2484         javax/swing/BorderFactory.java,
2485         javax/swing/ButtonGroup.java,
2486         javax/swing/DefaultBoundedRangeModel.java,
2487         javax/swing/DefaultButtonModel.java,
2488         javax/swing/DefaultCellEditor.java,
2489         javax/swing/DefaultComboBoxModel.java,
2490         javax/swing/DefaultDesktopManager.java,
2491         javax/swing/DefaultListCellRenderer.java,
2492         javax/swing/DefaultSingleSelectionModel.java,
2493         javax/swing/InputMap.java,
2494         javax/swing/JComponent.java,
2495         javax/swing/JMenu.java,
2496         javax/swing/JSlider.java,
2497         javax/swing/KeyStroke.java,
2498         javax/swing/OverlayLayout.java,
2499         javax/swing/ScrollPaneLayout.java,
2500         javax/swing/SizeRequirements.java,
2501         javax/swing/UIManager.java,
2502         javax/swing/ViewportLayout.java,
2503         javax/swing/border/AbstractBorder.java,
2504         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2505         javax/swing/event/EventListenerList.java,
2506         javax/swing/table/AbstractTableModel.java,
2507         javax/swing/table/DefaultTableCellRenderer.java,
2508         javax/swing/table/DefaultTableColumnModel.java,
2509         javax/swing/table/DefaultTableModel.java,
2510         javax/swing/table/TableColumn.java,
2511         javax/swing/text/StyledEditorKit.java,
2512         javax/swing/tree/DefaultMutableTreeNode.java,
2513         javax/swing/tree/DefaultTreeModel.java,
2514         javax/swing/tree/DefaultTreeSelectionModel.java,
2515         javax/swing/tree/TreePath.java,
2516         javax/swing/undo/AbstractUndoableEdit.java,
2517         javax/swing/undo/StateEdit.java,
2518         javax/swing/undo/StateEditable.java,
2519         javax/swing/undo/UndoableEditSupport.java:
2520         Merges from classpath.
2521
2522 2003-03-30  Tom Tromey  <tromey@redhat.com>
2523
2524         * java/lang/String.java (data, boffset, count): Documented.
2525         (String(byte[],String)): Reformatted.
2526         (String(byte[])): Likewise.
2527         (lastIndexOf(int)): Likewise.
2528         (lastIndexOf(String)): Likewise.
2529         (substring(int)): Renamed argument to match Classpath.
2530         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2531
2532         * java/lang/String.java: Miscellaneous minor formatting changes
2533         to match Classpath more closely.
2534
2535 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2536             Tom Tromey  <tromey@redhat.com>
2537
2538         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2539         (init()): Removed.
2540         (charAt): Put index in exception.
2541         (contentEquals): New method.
2542         Include StringBuffer.h.
2543         * java/lang/String.java (cachedHashCode): New field.
2544         (String()): Follow classpath implementation.
2545         (init()): Removed.
2546         (contentEquals): Declare.
2547         (subSequence): Don't declare IndexOutIfBoundsException in throws
2548         clause.
2549         (matches, replaceFirst, replaceAll, split): New methods from
2550         Classpath.
2551
2552 2003-03-29  Tom Tromey  <tromey@redhat.com>
2553
2554         * java/lang/String.java: Reordered to follow Classpath; merged in
2555         javadoc.
2556
2557         * java/text/MessageFormat.java: Removed some whitespace.
2558
2559         * Makefile.in: Rebuilt.
2560         * Makefile.am (awt_java_source_files): Added new files.
2561         * gnu/javax/rmi/PortableServer.java,
2562         gnu/javax/rmi/CORBA/DelegateFactory.java,
2563         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2564         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2565         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2566         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2567         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2568         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2569         javax/rmi/PortableRemoteObject.java,
2570         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2571         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2572         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2573         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2574         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2575         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2576
2577         * java/lang/natClass.cc (newInstance): Put method name in
2578         exception.
2579         (getConstructor): Likewise.
2580         (getDeclaredConstructor): Likewise.
2581         (getPrivateMethod): Likewise.
2582
2583 2003-03-28  Tom Tromey  <tromey@redhat.com>
2584
2585         * java/lang/reflect/Proxy.java: New version from Classpath.
2586         * java/lang/Package.java: New version from Classpath.
2587
2588 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2589
2590         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2591         * configure: Regenerate.
2592
2593 2003-03-28  Michael Koch  <konqueror@gmx.de>
2594
2595         * java/io/File.java:
2596         Import needed classes instead of whole packages, merged class
2597         documentation with classpath, moved constants and variables to top of
2598         class.
2599         * java/io/PrintStream.java:
2600         Merged class documentation with classpath, moved constants and
2601         variables to top of class.
2602         * java/io/RandomAccessFile.java
2603         (RandomAccessFile): Merged with classpath.
2604         (read): Merged with classpath).
2605         (read*): Reformatted.
2606
2607 2003-03-28  Michael Koch  <konqueror@gmx.de>
2608
2609         * java/io/FileDescriptor.java
2610         (finalize): Throws Throwable, not IOException.
2611         * java/io/ObjectOutputStream.java
2612         (PutField.put): Doesnt throws anything.
2613
2614 2003­03-28  Michael Koch  <konqueror@gmx.de>
2615
2616         * java/io/FileOutputStream.java:
2617         Merged class documentation and authors with classpath.
2618         (FileOutputStream): Partly merged with classpath.
2619         (write): Merged with classpath.
2620         (getChannel): Make it synchronized instead of explicit block in this
2621         method.
2622         * java/io/RandomAccessFile.java:
2623         Merged class documentation and authors with classpath.
2624
2625 2003-03-26  Tom Tromey  <tromey@redhat.com>
2626
2627         * java/lang/natRuntime.cc (insertSystemProperties): Set
2628         gnu.classpath.home.url.
2629         * Makefile.in: Rebuilt.
2630         * Makefile.am: Define LIBDIR.
2631
2632 2003-03-25  Michael Koch  <konqueror@gmx.de>
2633
2634         * java/io/FileInputStream.java
2635         (read): Renamed b to buf and off to offset.
2636         * java/io/FileOutputStream.java
2637         (ch): Documentation added.
2638         (FileOutputStream): Documentation added.
2639         (getFD): Documentation added.
2640         (write): Documentation added.
2641         (close): Documentation added.
2642         (getChannel): Documentation added.
2643
2644 2003-03-24  Michael Koch  <konqueror@gmx.de>
2645
2646         * java/io/DataOutputStream.java
2647         (write): Merged from classpath.
2648         * java/io/File.java:
2649         Merged copyrigth with classpath.
2650         * java/io/FileInputStream.java
2651         (getChannel): Made it synchronized instead of using a synchronized
2652         block.
2653         * java/io/FileOutputStream.java: Reformatted.
2654         * java/io/InputStreamReader.java
2655         (InputStreamReader): Renamed enc to encoding_name.
2656         (close): Merged documentation from classpath.
2657         (getEncoding): Merged documentation from classpath.
2658         (ready): Merged documentation from classpath.
2659         (read): Merged documentation from classpath.
2660         * java/io/LineNumberReader.java
2661         (lineNumber): Made it private.
2662         (LineNumberReader): Use Constant instead of a direct value.
2663         * java/io/OutputStreamWriter.java
2664         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2665         documentation from classpath.
2666         (close): Merged documentation from classpath.
2667         (flush): Merged documentation from classpath.
2668         (write): Merged documentation from classpath.
2669         * java/io/PrintStream.java: Reformatted.
2670
2671 2003-03-24  Michael Koch  <konqueror@gmx.de>
2672
2673         * javax/swing/text/ComponentView.java
2674         (getComponent): Must be final.
2675         * javax/swing/tree/DefaultTreeCellRenderer.java:
2676         Reformatted.
2677         * javax/swing/undo/StateEditable.java:
2678         Reformatted.
2679
2680 2003-03-24  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/rmi/activation/ActivationInstantiator.java:
2683         Reformatted.
2684         * java/rmi/activation/Activator.java:
2685         Reformatted.
2686         * java/rmi/registry/RegistryHandler.java:
2687         Remerged from classpath.
2688
2689 2003-03-24  Michael Koch  <konqueror@gmx.de>
2690
2691         * java/util/Date.java:
2692         Fixed documentation starting tag to make javadoc happy.
2693         * java/util/regex/Pattern.java
2694         (Pattern): Implements Serializable.
2695         * java/util/PatternSyntaxException.java
2696         (serialVersionUID): New member variable.
2697
2698 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2699
2700         * java/awt/ContainerOrderFocusTraversalPolicy.java
2701         (getFirstComponent): Implemented.
2702         (getLastComponent): Implemented.
2703         (getDefaultComponent): Implemented.
2704         (setImplicitDownCycleTraversal): Fixed implementation.
2705         * java/awt/Robot.java
2706         (Robot): Added documentation.
2707         * java/awt/Toolkit.java
2708         (getFontList): Deprecated.
2709         (getFontMetrics): Deprecated.
2710         (getPrintJob): Added documentation.
2711         (getSystemSelection): Added documentation.
2712         (getLockingKeyState): Added documentation.
2713         (setLockingKeyState): Added documentation.
2714         (createCustomCursor): Added documentation.
2715         (getBestCursorSize): Added documentation.
2716         (getMaximumCursorColors): Added documentation.
2717         (isFrameStateSupported): Added documentation.
2718
2719 2003-03-24  Michael Koch  <konqueror@gmx.de>
2720
2721         * java/io/RandomAccessFile.java:
2722         More little merges with classpath. No code changes.
2723
2724 2003-03-24  Michael Koch  <konqueror@gmx.de>
2725
2726         * java/net/natInetAddressNoNet.cc:
2727         Include stddef.h.
2728         * java/net/natPlainDatagramSocketImplNoNet.cc:
2729         Fixed inlcude of java/net/DatagramPacket.h.
2730         * java/net/natPlainSocketImplNoNet.cc:
2731         Include some missing classes.
2732
2733 2003-03-24  Michael Koch  <konqueror@gmx.de>
2734
2735         * java/awt/dnd/DropTarget.java
2736         (DropTargetAutoScroller): According to the online documentation, this
2737         is protected, but in reality it is public.
2738         * java/awt/dnd/DropTargetContext.java
2739         (TransferableProxy): According to the online documentation, this
2740         is protected, but in reality it is public.
2741
2742 2003-03-24  Michael Koch  <konqueror@gmx.de>
2743
2744         * java/io/DataInputStream.java
2745         (): Wrapped documentation line.
2746         (): Fixed @return tag.
2747         * java/io/DataOutputStream.java
2748         (written): Moved to top of class.
2749         (all methods): Merged documentation from classpath.
2750         * java/io/File.java:
2751         Merged copyright year with classpath.
2752         * java/io/FileInputStream.java
2753         (all methods): Merged documentation from classpath.
2754         * java/io/LineNumberReader.java
2755         (getLineNumber): Fixed @return tag.
2756         * java/io/ObjectInputStream.java.
2757         Reformatted.
2758         * java/io/ObjectOutputStream.java:
2759         Reformatted, fixed some @see tags.
2760         * java/io/OutputStreamWriter.java:
2761         Deleted empty line.
2762         * java/io/Writer.java:
2763         Reformatted.
2764
2765 2003-03-24  Michael Koch  <konqueror@gmx.de>
2766
2767         * java/awt/Frame.java
2768         (DEFAULT_CURSOR): Fixed @deprecated tag.
2769         (setCursor): Fixed @deprecated tag.
2770
2771 2003-03-24  Michael Koch  <konqueror@gmx.de>
2772
2773         * java/beans/beancontext/BeanContextEvent.java:
2774         Reformated.
2775
2776 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2777
2778         * java/lang/natStringBuffer.cc (regionMatches): New function.
2779         * java/lang/String.java (count): Now package-private.
2780         * java/lang/StringBuffer.java: Merged with Classpath.
2781
2782 2003-03-23  Michael Koch  <konqueror@gmx.de>
2783
2784         * java/io/BufferedOutputStream.java:
2785         Reformated.
2786         * java/io/BufferedReader.java:
2787         Reformated.
2788         * java/io/ByteArrayOutputStream.java
2789         (size): Fixed @see tag.
2790         * java/io/CharArrayWriter.java
2791         (size): Fixed @see tag.
2792         * java/io/DataInput.java:
2793         Reformated.
2794         * java/io/DataOutput.java:
2795         Reformated.
2796         * java/io/DataOutputStream.java:
2797         Merged copyright years with classpath.
2798         * java/io/Externalizable.java:
2799         Reformated.
2800         * java/io/FileFilter.java:
2801         Reformated.
2802         * java/io/FileInputStream.java:
2803         Merged copyright years with classpath.
2804         * java/io/FileOutputStream.java:
2805         Merged copyright years with classpath.
2806         * java/io/FilePermission.java
2807         (FilePermission): Replaced @XXX with FIXME:.
2808         * java/io/FileWriter.java:
2809         Reformated.
2810         * java/io/FilenameFilter.java:
2811         Reformated.
2812         * java/io/FilterInputStream.java:
2813         Reformated.
2814         * java/io/FilterOutputStream.java:
2815         Reformated.
2816         * java/io/FilterReader.java:
2817         Reformated.
2818         * java/io/FilterWriter.java:
2819         Reformated.
2820         * java/io/LineNumberInputStream.java
2821         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2822         happy.
2823         (getLineNumber): Fixed @return tag.
2824         * java/io/ObjectInput.java:
2825         Reformated.
2826         * java/io/ObjectOutput.java:
2827         Reformated.
2828         * java/io/ObjectStreamClass.java:
2829         Reformated.
2830         * java/io/PrintStream.java:
2831         Merged copyright years with classpath.
2832         * java/io/PushbackReader.java
2833         (PushbackReader): Replaced @code with @param.
2834         * java/io/SerializablePermission.java:
2835         Reformated.
2836         * java/io/StreamTokenizer.java
2837         (resetSyntax): Fixed @see tag.
2838
2839 2003-03-22  Richard Henderson  <rth@redhat.com>
2840
2841         * sysdep/ia64/locks.h: Include ia64intrin.h.
2842         (compare_and_swap): Use __sync_bool_compare_and_swap.
2843         (compare_and_swap_release): Expose ar.ccv assignment.
2844
2845 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2846
2847         * include/posix.h: Add suffix for darwin dynamic libraries.
2848
2849 2003-03-21  Michael Koch  <konqueror@gmx.de>
2850
2851         * javax/swing/Action.java
2852         (ACCELERATOR_KEY): New constant.
2853         (ACTION_COMMAND_KEY): Likewise.
2854         (MNEMONIC_KEY): Likewise.
2855         * javax/swing/UnsupportedLookAndFeelException.java
2856         (UnsupportedLookAndFeelException): Must be public.
2857         * javax/swing/WindowConstants.java
2858         (EXIT_ON_CLOSE): New constant.
2859         * javax/swing/text/BadLocationException.java
2860         (offset): New member variable.
2861         (BadLocationException): New implementation, documentation added.
2862         (offsetRequested): New method.
2863         * javax/swing/text/Caret.java:
2864         Reformated.
2865         * javax/swing/text/Document.java:
2866         Reformated.
2867
2868 2003-03-21  Michael Koch  <konqueror@gmx.de>
2869
2870         * java/rmi/activation/Activatable.java
2871         (serialVersionUID): New member variable.
2872         * java/rmi/activation/ActivationGroup.java
2873         (serialVersionUID): New member variable.
2874         * java/rmi/activation/ActivationGroupDesc.java
2875         (serialVersionUID): New member variable.
2876         * java/rmi/registry/Registry.java:
2877         Reformated.
2878         (Registry): Deprecated.
2879         * java/rmi/server/LoaderHandler.java
2880         Reformated.
2881         (LoaderHandler): Deprecated.
2882         * java/rmi/server/LogStream.java
2883         Reformated.
2884         (LogStream): Deprecated.
2885         * java/rmi/server/Operation.java
2886         (Operation): Deprecated.
2887         * java/rmi/server/RMIFailureHandler.java:
2888         Reformated.
2889         * java/rmi/server/RMISocketFactory.java:
2890         Reformated.
2891         * java/rmi/server/RemoteCall.java
2892         (RemoteCall): Deprecated.
2893         * java/rmi/server/RemoteStub.java:
2894         Reformated.
2895         * java/rmi/server/Skeleton.java
2896         Reformated.
2897         (Skeleton): Deprecated.
2898
2899 2003-03-21  Michael Koch  <konqueror@gmx.de>
2900
2901         * java/io/LineNumberReader.java
2902         (LineNumberReader): Merged documentation with classpath.
2903         (getLineNumber): Likewise.
2904         (setLineNumber): Likewise.
2905         (mark): Likewise.
2906         (reset): Likewise.
2907         (read): Likewise.
2908         (readLine): Likewise.
2909         (skip): Likewise.
2910
2911 2003-03-21  Michael Koch  <konqueror@gmx.de>
2912
2913         * java/rmi/RMISecurityManager.java
2914         (checkAccept): Removed.
2915         (checkAccess): Likewise.
2916         (checkAccess): Likewise.
2917         (checkAwtEventQueueAccess): Likewise.
2918         (checkConnect): Likewise.
2919         (checkCreateClassLoader): Likewise.
2920         (checkDelete): Likewise.
2921         (checkExec): Likewise.
2922         (checkExit): Likewise.
2923         (checkLink): Likewise.
2924         (checkListen): Likewise.
2925         (checkMemberAccess): Likewise.
2926         (checkMulticast): Likewise.
2927         (checkPackageAccess): Likewise.
2928         (checkPackageDefinition): Likewise.
2929         (checkPermission): Likewise.
2930         (checkPrintJobAccess): Likewise.
2931         (checkPropertiesAccess): Likewise.
2932         (checkPropertyAccess): Likewise.
2933         (checkRead): Likewise.
2934         (checkSecurityAccess): Likewise.
2935         (checkSetFactory): Likewise.
2936         (checkSystemClipboardAccess): Likewise.
2937         (checkTopLevelWindow): Likewise.
2938         (checkWrite): Likewise.
2939
2940 2003-03-20  Michael Koch  <konqueror@gmx.de>
2941
2942         * gnu/java/nio/FileChannelImpl.java
2943         (address): Removed.
2944         (map_address): New member variable.
2945         (length): Make it package private.
2946         (fd): Make it package private.
2947         (buf): Make it package private.
2948         (file_obj): Make it package private.
2949         (FileChannelImpl): New constructor.
2950         (nio_mmap_file): Use RawData instead of long.
2951         (nio_munmap_file): Use RawData instead of long.
2952         (nio_msync): Use RawData instead of long.
2953         (implCloseChannel): New implementation using map_address.
2954         (read): Reformated.
2955         (map): Implemented.
2956         (create_direct_mapped_buffer): Implemented, use RawData, throws
2957         IOException.
2958         (force): Use map_address instead of address.
2959         * gnu/java/nio/MappedByteFileBuffer.java
2960         (address): Removed.
2961         (map_address): New member variable.
2962         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2963         (several methods): Use map_address instead of address, replaced long
2964         with RawData where appropriate.
2965         * gnu/java/nio/natFileChannelImpl.cc
2966         (nio_mmap_file): Replaced long with RawData.
2967         (nio_munmap_file): Replaced long with RawData.
2968         (nio_msync): Replaced long with RawData.
2969         * gnu/java/nio/natMappedByteFileBuffer.cc
2970         (several methods): Replaced long with RawData where appropriate.
2971
2972 2003-03-20  Michael Koch  <konqueror@gmx.de>
2973
2974         * java/net/InetAddress.java,
2975         java/net/JarURLConnection.java,
2976         java/net/PlainDatagramSocketImpl.java,
2977         java/net/PlainSocketImpl.java,
2978         java/net/URLConnection.java:
2979         Merged copyright statements with classpath for easier merging.
2980
2981 2003-03-20  Michael Koch  <konqueror@gmx.de>
2982
2983         * java/io/FileInputStream.java
2984         (getChannel): New implementation.
2985         * java/io/FileOutputStream.java
2986         (ch): New member variable.
2987         (getChannel): Implemented.
2988         * java/io/RandomAccessFile.java
2989         (RandomAccessFile): Throws FileNotFoundException instead of
2990         IOException.
2991         (getChannel): New method.
2992         (ch): New member variable.
2993
2994 2003-03-20  Michael Koch  <konqueror@gmx.de>
2995
2996         * java/io/DataOutputStream.java,
2997         java/io/File.java,
2998         java/io/FileInputStream.java,
2999         java/io/FileOutputStream.java,
3000         java/io/InputStreamReader.java,
3001         java/io/LineNumberReader.java,
3002         java/io/OutputStreamWriter.java,
3003         java/io/PrintStream.java,
3004         java/io/RandomAccessFile.java:
3005         Merged copyright statements with classpath for easier merging.
3006
3007 2003-03-19  Michael Koch  <konqueror@gmx.de>
3008
3009         * java/lang/Process.java:
3010         Merged from classpath.
3011
3012 2003-03-19  Michael Koch  <konqueror@gmx.de>
3013
3014         * java/io/FileOutputStream.java
3015         (FileOutputStream): New constructor, merged from classpath.
3016         * java/io/FileWriter.java
3017         (FileWriter): New constructor, merged from classpath.
3018
3019 2003-03-18  Michael Koch  <konqueror@gmx.de>
3020
3021         * java/awt/ScrollPane.java
3022         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3023         (getViewportSize): Likewise.
3024         (addNotify): Likewise.
3025         (removeNotify): Likewise.
3026         * java/awt/ScrollPaneAdjustable.java
3027         (ScrollPaneAdjustable): No longer extends Scrollbar.
3028         * java/beans/beancontext/BeanContextServices.java:
3029         Reformated.
3030         (getService): Added throws TooManyListenersException;
3031         * java/beans/beancontext/BeanContextServicesSupport.java:
3032         Reformated.
3033
3034 2003-03-18  Michael Koch  <konqueror@gmx.de>
3035
3036         * java/io/BufferedOutputStream.java,
3037         java/io/DataInput.java,
3038         java/io/DataInputStream.java,
3039         java/io/DataOutput.java,
3040         java/io/Externalizable.java:
3041         More merges from classpath.
3042
3043 2003-03-18  Michael Koch  <konqueror@gmx.de>
3044
3045         * configure.in: Fixed links to platform dependant java.net files.
3046         * configure: Regenerated.
3047         * java/net/natInetAddress.cc,
3048         java/net/natNetworkInterface.cc,
3049         java/net/natPlainDatagramSocketImpl.cc,
3050         java/net/natPlainSocketImpl.cc:
3051         Removed.
3052
3053 2003-03-18  Michael Koch  <konqueror@gmx.de>
3054
3055         * configure.in: Create links to architecture dependent files,
3056         introduced PLATFORMNET variable (set to NoNet for newlib usage).
3057         * configure: Regenerated.
3058         * java/net/natInetAddressNoNet.cc,
3059         java/net/natInetAddressPosix.cc,
3060         java/net/natInetAddressWin32.cc,
3061         java/net/natNetworkInterfaceNoNet.cc,
3062         java/net/natNetworkInterfacePosix.cc,
3063         java/net/natNetworkInterfaceWin32.cc,
3064         java/net/natPlainDatagramSocketImplNoNet.cc,
3065         java/net/natPlainDatagramSocketImplPosix.cc,
3066         java/net/natPlainDatagramSocketImplWin32.cc,
3067         java/net/natPlainSocketImplNoNet.cc,
3068         java/net/natPlainSocketImplPosix.cc,
3069         java/net/natPlainSocketImplWin32.cc: New files.
3070
3071 2003-03-18  Michael Koch  <konqueror@gmx.de>
3072
3073         * java/io/BufferedReader.java,
3074         java/io/BufferedWriter.java,
3075         java/io/ByteArrayOutputStream.java,
3076         java/io/FileFilter.java,
3077         java/io/FilePermission.java,
3078         java/io/FileReader.java,
3079         java/io/FileWriter.java,
3080         java/io/FilenameFilter.java,
3081         java/io/FilterInputStream.java,
3082         java/io/FilterOutputStream.java,
3083         java/io/FilterReader.java,
3084         java/io/FilterWriter.java,
3085         java/io/ObjectInput.java,
3086         java/io/ObjectInputValidation.java,
3087         java/io/ObjectOutput.java,
3088         java/io/ObjectStreamField.java,
3089         java/io/PipedInputStream.java,
3090         java/io/PipedReader.java,
3091         java/io/PrintWriter.java,
3092         java/io/PushbackReader.java,
3093         java/io/Reader.java,
3094         java/io/SerializablePermission.java,
3095         java/io/StringReader.java,
3096         java/io/Writer.java:
3097         Merged from classpath.
3098
3099 2003-03-17  Michael Koch  <konqueror@gmx.de>
3100
3101         * java/awt/ScrollPaneAdjustable.java:
3102         Compile fixes.
3103         
3104 2003-03-17  Michael Koch  <konqueror@gmx.de>
3105
3106         * java/net/DatagramSocket.java
3107         (connect): Fixed comment.
3108         * java/nio/ByteBuffer.java
3109         (hasArray): Fixed comment.
3110
3111 2003-03-17  Michael Koch  <konqueror@gmx.de>
3112
3113         * java/beans/Beans.java:
3114         Explicitely import classes not packages.
3115         * java/beans/FeatureDescriptor.java
3116         (preferred): New member variable.
3117         (isPreferred): New method.
3118         (setPreferred): New method.
3119         * java/beans/PropertyEditorManager.java:
3120         Explicitely import used classes.
3121         * java/beans/beancontext/BeanContextChild.java:
3122         Added line wrapping.
3123         * java/beans/beancontext/BeanContextChildSupport.java:
3124         Reindented.
3125         * java/beans/beancontext/BeanContextEvent.java:
3126         Reindented.
3127
3128 2003-03-17  Michael Koch  <konqueror@gmx.de>
3129
3130         * java/awt/Dialog.java
3131         (Dialog): New constructor, changed implementations, added
3132         documentation.
3133         * java/awt/ScrollPaneAdjustable.java
3134         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3135         Serializable.
3136         (serialVersionUID): New member variable.
3137         (sp): New member variable.
3138         (orientation): New member variable.
3139         (value): New member variable.
3140         (minimum): New member variable.
3141         (maximum): New member variable.
3142         (visibleAmount): New member variable.
3143         (unitIncrement): New member variable.
3144         (blockIncrement): New member variable.
3145         (AdjustmentListener): New member variable.
3146         (ScrollPaneAdjustable): New implementation.
3147         (addAdjustmentListener): New method.
3148         (removeAdjustmentListener): New method.
3149         (getAdjustmentListeners): New method.
3150         (getBlockIncrement): New method.
3151         (getMaximum): New method.
3152         (getMinimum): New method.
3153         (getOrientation): New method.
3154         (getUnitIncrement): New method.
3155         (getValue): New method.
3156         (getVisibleAmount): New method.
3157         (setBlockIncrement): New method.
3158         (setMaximum): Implemented.
3159         (setMinimum): Implemented.
3160         (setUnitIncrement): New method.
3161         (setValue): New method.
3162         (setVisibleAmount): Implemented. 
3163         (paramString): New stubbed method.
3164         * java/awt/Window.java
3165         (show): Call setVisible().
3166         (hide): Call setVisible().
3167         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3168         and WINDOW_STATE_CHANGED.
3169         (processWindowFocusEvent): New method.
3170         (processWindowStateEvent): New method.
3171         (postEvent): Deprecated.
3172         (applyResourceBundle): Deprecated.
3173         * java/awt/datatransfer/DataFlavor.java
3174         (DataFlavor): Doesn't thow ClassNotFoundException.
3175
3176 2003-03-17  Michael Koch
3177
3178         * javax/print/attribute/Attribute.java,
3179         javax/print/attribute/AttributeSet.java,
3180         javax/print/attribute/PrintRequestAttributeSet.java:
3181         New files.
3182         * Makefile.am
3183         (javax_source_files): Added new files:
3184         javax/print/attribute/Attribute.java
3185         javax/print/attribute/AttributeSet.java
3186         javax/print/attribute/PrintRequestAttributeSet.java
3187         * Makefile.in: Regenerated.
3188
3189 2003-03-17  Michael Koch
3190
3191         * javax/print/attribute/Attribute.java,
3192         javax/print/attribute/AttributeSet.java,
3193         javax/print/attribute/PrintRequestAttributeSet.java:
3194         New files.
3195         * Makefile.am
3196         (awt_java_source_files): Added new files:
3197         javax/print/attribute/Attribute.java
3198         javax/print/attribute/AttributeSet.java
3199         javax/print/attribute/PrintRequestAttributeSet.java
3200         * Makefile.in: Regenerated.
3201
3202 2003-03-16  Tom Tromey  <tromey@redhat.com>
3203
3204         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3205         Include platform.h.
3206         * java/lang/natRuntime.cc (insertSystemProperties): Use
3207         _Jv_platform_path_separator.
3208         (nativeGetLibname): Use _Jv_platform_file_separator.
3209         (_load): Use _Jv_platform_onload_names.
3210         (onload_names): New global.
3211         * include/win32.h (_Jv_platform_file_separator): New define.
3212         (_Jv_platform_path_separator): Likewise.
3213         (_Jv_platform_onload_names): Likewise.
3214         (_Jv_platform_ffi_abi): Likewise.
3215         * include/posix.h (_Jv_platform_file_separator): New define.
3216         (_Jv_platform_path_separator): Likewise.
3217         (_Jv_platform_onload_names): Likewise.
3218         (_Jv_platform_ffi_abi): Likewise.
3219
3220 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3221
3222         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3223
3224 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3225
3226         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3227         hierarchy loop.
3228         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3229         list to Object,ObjectStreamClass, moved callReadMethod code up into
3230         readObject and added Class argument to all setXxxField calls.
3231         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3232         consistent with ObjectOutputStream and to facilitate caching the
3233         Method in the future.
3234         (setBooleanField): Added Class argument.
3235         (setByteField): Likewise.
3236         (setCharField): Likewise.
3237         (setDoubleField): Likewise.
3238         (setFloatField): Likewise.
3239         (setIntField): Likewise.
3240         (setLongField): Likewise.
3241         (setShortField): Likewise.
3242         (setObjectField): Likewise.
3243         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3244         class hierarchy loop.
3245         (defaultWriteObject): Call writeFields with new argument list.
3246         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3247         list to Object,ObjectStreamClass, moved callWriteMethod up into
3248         writeObject and added Class argument to all getXxxField calls.
3249         (callWriteMethod): Added ObjectStreamClass argument to be able to
3250         get the proper class to call getMethod on (each class can have (or
3251         not have) its own writeObject method).
3252         (getBooleanField): Added Class argument.
3253         (getByteField): Likewise.
3254         (getCharField): Likewise.
3255         (getDoubleField): Likewise.
3256         (getFloatField): Likewise.
3257         (getIntField): Likewise.
3258         (getLongField): Likewise.
3259         (getShortField): Likewise.
3260         (getObjectField): Likewise.
3261         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3262         facilitate caching the Method object in the future.
3263
3264 2003-03-12  Andreas Schwab  <schwab@suse.de>
3265
3266         * configure.in: Avoid trailing /. in toolexeclibdir.
3267         * configure: Rebuilt.
3268
3269 2003-03-11  Michael Koch  <konqueror@gmx.de>
3270
3271         * gnu/java/nio/ByteBufferImpl.java
3272         (putInt): Use limit() instead of limit.
3273         * gnu/java/nio/CharBufferImpl.java
3274         (slice): Fixed implementation.
3275         (subSequence): Better bounds checking.
3276         * gnu/java/nio/MappedByteFileBuffer.java:
3277         Import all needed classes directly.
3278         * java/nio/ByteBuffer.java
3279         (hashCode): New dummy method.
3280         * java/nio/CharBuffer.java
3281         (array_offset): New member variable.
3282         (hasArray): Fixed documentation.
3283         (arrayOffset): Return array_offset.
3284
3285 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3286
3287         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3288         setter; made return value of getter const char* instead of char*
3289         * prims.cc: removed all references to _Jv_ThisExecutable().
3290         These are in the platform-specific sections now.
3291         * posix.cc: define platform-specific _Jv_ThisExecutable().
3292         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3293         * win32.cc: define platform-specific _Jv_ThisExecutable()
3294         using GetModuleFilename()
3295         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3296         to argv[0] instead of _Jv_ThisExecutable()
3297
3298 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3299
3300         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3301         that is set if we are using addr2name.awk instead of addr2line.
3302         (NameFinder): Set usingAddr2name if using addr2name.awk.
3303         (getExternalLabel): New native method to convert a method 
3304         name to an external label.
3305         (lookup): Convert name given by addr2line to an external label
3306         before demangling.
3307
3308         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3309         constant representing the prefix attached to method names to
3310         convert them to an external label.
3311         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3312         using LABEL_PREFIX.
3313
3314 2003-03-10  Tom Tromey  <tromey@redhat.com>
3315
3316         * Makefile.in: Rebuilt.
3317         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3318         (JC1FLAGS): Removed -Wno-deprecated.
3319
3320 2003-03-10  Michael Koch  <konqueror@gmx.de>
3321
3322         * java/nio/ByteOrder.java
3323         (nativeOrder): Working implementation, added documentation.
3324         (toString): Added documentation.
3325
3326 2003-03-10  Michael Koch  <konqueror@gmx.de>
3327
3328         * java/net/DatagramSocket.java,
3329         java/net/MulticastSocket.java,
3330         java/net/Socket.java,
3331         java/net/URL.java,
3332         java/net/URLConnection.java:
3333         Fixed some documentation tags to make javadoc and friends happy.
3334
3335 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3336
3337         * java/beans/beancontext/BeanContextServicesSupport.java,
3338         java/beans/beancontext/BeanContextSupport.java: New files.
3339         * Makefile.am
3340         (awt_source_files): Added new files.
3341         * Makefile.in: Regenerated.
3342
3343 2003-03-10  Michael Koch  <konqueror@gmx.de>
3344
3345         * java/awt/FocusTraversalPolicy.java
3346         (FocusTraversalPolicy): Documentation added.
3347         (getComponentAfter): Documentation added.
3348         (getComponentBefore): Documentation added.
3349         (getFirstComponent): Documentation added.
3350         (getLastComponent): Documentation added.
3351         (getDefaultComponent): Documentation added.
3352         (getInitialComponent): Documentation added.
3353         * java/awt/ScrollPaneAdjustable.java
3354         (sp): New member variable.
3355         (orientation): New member variable.
3356         (value): New member variable.
3357         (minimum): New member variable.
3358         (maximum): New member variable.
3359         (visibleAmount): New member variable.
3360         (unitIncrement): New member variable.
3361         (blockIncrement): New member variable.
3362         (adjustmentListener): New member variable.
3363         (ScrollPaneAdjustable): Rewrote.
3364         (addAdjustmentListener): New method.
3365         (removeAdjustmentListener): New method.
3366         (getAdjustmentListeners): New method.
3367         (getBlockIncrement): New method.
3368         (getMaximum): New method.
3369         (getMinimum): New method.
3370         (getOrientation): New method.
3371         (getUnitIncrement): New method.
3372         (getValue): New method.
3373         (getVisibleAmount): New method.
3374         (setBlockIncrement): New method.
3375         (setUnitIncrement): New method.
3376         (setMaximum): Implemented.
3377         (setMinimum): Implemented.
3378         (setValue): New method.
3379         (setVisibleAmount): Implemented.
3380         (paramString): New method.
3381         * java/awt/Window.java
3382         (show): Use setVisible(true) instead of super.show().
3383         (hide): Use sevVisible(false) instead of super.hide().
3384         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3385         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3386         (postEvent): Deprecated.
3387         (applyResourceBundle): Deprecated.
3388         (processWindowFocusEvent): New method.
3389         (processWindowStateEvent): New method.
3390         * java/awt/datatransfer/DataFlavor.java: Reindented.
3391         * java/awt/font/TextHitInfo.java
3392         (charIndex): New member variable.
3393         (leadingEdge): New member variable.
3394         (TextHitInfo): New constructor.
3395         (getCharIndex): Implemented.
3396         (isLeadingEdge): Implemented.
3397         (getInsertionIndex): Implemented.
3398         (hashCode): Access charIndex directly.
3399         (equals): Reformated.
3400         (leading): Implemented.
3401         (trailing): Implemented.
3402         (beforeOffset): Implemented.
3403         (afterOffset): Implemented.
3404         (getOtherHit): Implemented.
3405         (getOffsetHit): Implemented.
3406         (toString): Implemented.
3407         * java/awt/image/BufferedImage.java
3408         (BufferedImage): Implements WritableRenderedImage.
3409         (observers): New member variable.
3410         (addTileObserver): New method.
3411         (removeTileObserver): New method.
3412
3413 2003-03-09  Tom Tromey  <tromey@redhat.com>
3414
3415         PR libgcj/9934:
3416         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3417         to lseek.  Return 0 if we can't compute the value.
3418
3419 2003-03-03  Michael Koch  <konqueror@gmx.de>
3420
3421         * java/net/NetworkInterface.java: Merged with classpath.
3422
3423 2003-03-03  Tom Tromey  <tromey@redhat.com>
3424
3425         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3426         of bytecode.
3427         (handle_ret_insn): Fail if returning to jsr that appears at end of
3428         bytecode.
3429
3430 2003-03-03  Michael Koch  <konqueror@gmx.de>
3431
3432         * Makefile.am
3433         (ordinary_java_source_files):
3434         Added gnu/java/nio/MappedByteFileBuffer.java.
3435         (nat_source_files):
3436         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3437         * Makefile.in: Regenerated.
3438
3439 2003-03-03  Michael Koch  <konqueror@gmx.de>
3440
3441         * java/net/DatagramSocket.java
3442         (connect): Merged comment from classpath.
3443         (receive): Merged documentation from classpath.
3444         * java/net/Socket.java
3445         (setSoTimeout): Clarified documentation.
3446         * java/net/URL.java
3447         (getPath): Merged from classpath.
3448         (getUserInfo): Merged from classpath.
3449         (getQuery): Merged from classpath.
3450         * java/net/URLStreamHandler.java
3451         (toExternalForm): Merged from classpath.
3452
3453 2003-03-02  Mark Wielaard  <mark@klomp.org>
3454
3455         * java/util/Properties.java (load): Only skip line if the first
3456         character is a comment, whitespaces don't count.
3457
3458 2003-03-02  Michael Koch  <konqueror@gmx.de>
3459
3460         * java/net/NetPermission.java:
3461         Merged copyright with classpath.
3462
3463 2003-03-02  Michael Koch  <konqueror@gmx.de>
3464
3465         * java/lang/Package.java:
3466         Remerged from classpath.
3467
3468 2003-03-02  Michael Koch  <konqueror@gmx.de>
3469
3470         * java/net/HttpURLConnection.java
3471         (HTTP_SERVER_ERROR): Deprecated.
3472         * java/net/MulticastSocket.java
3473         (send): Replaced checkMulticast with appropriate checkPermission call,
3474         deprecated.
3475         * java/net/URLDecoder.java
3476         (decode): Deprecated.
3477         * java/net/URLEncoder.java
3478         (encode): Deprecated.
3479
3480 2003-03-02  Michael Koch  <konqueror@gmx.de>
3481
3482         * javax/swing/text/Caret.java
3483         (getMagicCaretPosition): Fixed typo in method name.
3484         * javax/swing/text/DefaultCaret.java
3485         (getMagicCaretPosition): Fixed typo in method name.
3486
3487 2003-03-02  Michael Koch  <konqueror@gmx.de>
3488
3489         * java/awt/List.java
3490         (setMultipleSelections): Deprecated.
3491         (delItem): Deprecated.
3492         * java/awt/MenuComponent.java
3493         (getPeer): Deprecated.
3494         * java/awt/ScrollPane.java
3495         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3496         * java/awt/dnd/MouseDragGestureRecognizer.java
3497         (mouseClicked): Added comment.
3498         (mousePressed): Added comment.
3499         (mouseReleased): Added comment.
3500         (mouseEntered): Added comment.
3501         (mouseExited): Added comment.
3502         (mouseDragged): Added comment.
3503         (mouseMoved): Added comment.
3504         * java/awt/event/KeyEvent.java
3505         (KeyEvent): Deprecated.
3506         (setModifiers): Deprecated.
3507         
3508 2003-03-02  Michael Koch  <konqueror@gmx.de>
3509
3510         * gnu/java/nio/FileChannelImpl.java
3511         (fd): Type FileDescriptor instead of int.
3512         (lengthInternal): Removed.
3513         (FileChannelImpl): Fixed arguments, check type of file object.
3514         (size): Made it native.
3515         (implPosition): New native method.
3516         (implTruncate): New native method.
3517         (position): Implemented.
3518         (truncate): Implemented.
3519         (nio_mmap_file): Changed arguments.
3520         (nio_munmap_file): Changed arguments.
3521         (nio_msync): Changed arguments.
3522         * gnu/java/nio/natFileChannelImpl.cc
3523         (lengthInternal): Removed.
3524         (size): New method.
3525         (implPosition): New method.
3526         (implTruncate): New method.
3527         (nio_mmap_file): Changed arguments.
3528         (nio_munmap_file): Changed arguments.
3529         (nio_msync): Changed arguments.
3530
3531 2003-03-02  Michael Koch  <konqueror@gmx.de>
3532
3533         * java/awt/dnd/DropTargetContext.java:
3534         Compile fix: Forgot to commit import.
3535         
3536 2003-03-02  Michael Koch  <konqueror@gmx.de>
3537
3538         * java/awt/Component.java,
3539         java/awt/ScrollPane.java:
3540         Fixed typos.
3541
3542 2003-03-02  Michael Koch  <konqueror@gmx.de>
3543
3544         * java/awt/dnd/DnDEventMulticaster.java: New file.
3545         * java/awt/dnd/DragSource.java
3546         (flavorMap): New member variable.
3547         (dragSourceListener): New member variable.
3548         (dragSourceMotionListener): New member variable.
3549         (getFlavorMap): Implemented.
3550         (createDragGestureRecognizer): Implemented.
3551         (addDragSourceListener): Implemented.
3552         (removeDragSourceListener): Implemented.
3553         (getDragSourceListeners): Implemented.
3554         (addDragSourceMotionListener): Implemented.
3555         (removeDragSourceMotionListener): Implemented.
3556         (getDragSourceMotionListeners): Implemented.
3557         (getListeners): Implemented.
3558         * java/awt/dnd/DragSourceContext.java
3559         (peer): New member variable.
3560         (cursor): New member variable.
3561         (transferable): New member variable.
3562         (trigger): New member variable.
3563         (dragSourceListener): New member variable.
3564         (image): New member variable.
3565         (offset): New member variable.
3566         (DragSourceContext): Implemented.
3567         (getDragSource): Implemented.
3568         (getComponent): Implemented.
3569         (getTrigger): Implemented.
3570         (getSourceActions): Implemented.
3571         (setCursor): Implemented.
3572         (getCursor): Implemented.
3573         (addDragSourceListener): Implemented.
3574         (removeDragSourceListener): Implemented.
3575         (getTransferable): Implemented.
3576         * java/awt/dnd/DropTarget.java
3577         (DropTargetAutoScroller.component): New member variable.
3578         (DropTargetAutoScroller.point): New member variable.
3579         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3580         (DropTargetAutoScroller.updateLocation): Implemented.
3581         (active): Renamed from isActive, defaults to true now.
3582         (component): New member variable.
3583         (flavorMap): New member variable.
3584         (actions): New member variable.
3585         (dropTargetContext): New member variable.
3586         (dropTargetListener): New member variable.
3587         (DropTarget): Implemented.
3588         (getComponent): Implemented.
3589         (setComponent): Implemented.
3590         (setDefaultActions): Implemented.
3591         (getDefaultActions): Implemented.
3592         (setActive): Use active instead of isActive.
3593         (isActive): Use active instead of isActive.
3594         (addDropTargetListener): Implemented.
3595         (removeDropTargetListener): Implemented.
3596         (getFlavorMap): Implemented.
3597         (setFlavorMap): Implemented.
3598         (getDropTargetContext): Implemented.
3599         (createDropTargetContext): Implemented.
3600         (createDropTargetAutoScroller): Implemented.
3601         * java/awt/dnd/DropTargetContext.java
3602         (TransferableProxy.getTransferDataFlavors): Implemented.
3603         (TransferableProxy.isDataFlavorSupported): Implemented.
3604         (TransferableProxy.getTransferData): Implemented.
3605         (dropTarget):  New member variable.
3606         (dtcp): New member variable.
3607         (DropTargetContext): New package private constructor.
3608         (getDropTarget): Implemented.
3609         (getComponent): Implemented.
3610         (addNotify): Implemented.
3611         (removeNotify): Implemented.
3612         (getCurrentDataFlavorsAsList): Implemented.
3613         (isDataFlavorSupported): Implemented.
3614         * java/awt/dnd/MouseDragGestureRecognizer.java
3615         (registerListeners): Implemented.
3616         (unregisterListeners): Implemented.
3617         * Makefile.am
3618         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3619         * Makefile.in: Regenerated.
3620
3621 2003-03-02  Michael Koch  <konqueror@gmx.de>
3622
3623         * java/awt/Component.java
3624         (eventTypeEnabled): New method.
3625         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3626         * java/awt/Container.java
3627         (changeSupport): New member variable.
3628         (addPropertyChangeListener): New methods.
3629         * java/awt/ContainerOrderFocusTraversalPolicy.java
3630         (ContainerOrderFocusTraversalPolicy): Added comment.
3631         (getComponentAfter): Throw exception, documentation added.
3632         (getComponentBefore): Throw exception, documentation added.
3633         (getFirstComponent): Throw exception, documentation added.
3634         (getLastComponent): Throw exception, documentation added.
3635         (getDefaultComponent): Throw exception, documentation added.
3636         * java/awt/EventQueue.java: Reindented.
3637         * java/awt/FocusTraversalPolicy.java:
3638         (FocusTraversalPolicy): Added comment.
3639         (getComponentAfter): Documentation added.
3640         (getComponentBefore): Documentation added.
3641         (getFirstComponent): Documentation added.
3642         (getLastComponent): Documentation added.
3643         (getDefaultComponent): Documentation added.
3644         (getInitialComponent): Documentation added.
3645         * java/awt/ScrollPane.java
3646         (wheelScrollingEnabled): New member variable.
3647         (ScrollPane): Initialize wheelScollingEnabled.
3648         (eventTypeEnabled): New method.
3649         (isWheelScrollingEnabled): New method.
3650         (setWheelScrollingEnabled): New method.
3651
3652 2003-03-02  Michael Koch  <konqueror@gmx.de>
3653
3654         * java/net/DatagramSocket.java
3655         (closed): New member variable.
3656         (close): Use closed variable.
3657         (getInetAddress): No need to call isConnected().
3658         (getPort): No need to call isConnected().
3659         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3660         (isClosed): Reimplemented.
3661         
3662 2003-03-02  Michael Koch  <konqueror@gmx.de>
3663
3664         * configure.in: Added check for memory mapping of files.
3665         * configure: Regenerated.
3666         * config.h.in: Regenerated.
3667
3668 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3669
3670         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3671         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3672
3673 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3674
3675         * java/io/File.java (normalizePath): Remove trailing separator
3676         on Windows only if path is not of the form "x:\".
3677
3678         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3679         (java::io::File::attr): Change formatting a bit and use
3680         WIN32_EPOCH_MILLIS instead of magic numbers.
3681         (java::io::File::isAbsolute): Path must have at least 3 
3682         characters for a UNC network path.
3683         (java::io::File::init_native): Define.
3684         (java::io::File::performCreate): Likewise.
3685         (java::io::File::performSetReadOnly): Likewise.
3686         (java::io::File::performSetLastModified): Likewise.
3687         (java::io::File::performListRoots): Likewise.
3688
3689 2003-03-01  Tom Tromey  <tromey@redhat.com>
3690
3691         * java/lang/natObject.cc: Don't include assert.h.
3692         (heavy_lock_obj_finalization_proc): Use JvAssert.
3693         (remove_all_heavy): Likewise.
3694         (_Jv_MonitorEnter): Likewise.
3695         (_Jv_MonitorExit): Likewise.
3696         (wait): Likewise.
3697
3698 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3699
3700         * java/io/File (getAbsolutePath): Prefix drive specifier on
3701         Windows for paths starting with a '\'.
3702         (toURL): Make URL more consistent with what Sun's JDK returns.
3703
3704         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3705         true only if the path is a UNC network path or it starts with a
3706         drive specifier.
3707
3708         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3709         Be prepared to handle either '/' or '\\' in the file path for
3710         Windows if using the "file" protocol.
3711         Canonicalise the file path if using a relative path in the given
3712         context and the "file" protocol.
3713
3714 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3715
3716         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3717         program array element passed to CreateProcess.
3718
3719 2003-03-01  Tom Tromey  <tromey@redhat.com>
3720
3721         * java/rmi/registry/RegistryHandler.java: Deprecate.
3722
3723 2003-03-01  Tom Tromey  <tromey@redhat.com>
3724
3725         * javax/accessibility/AccessibleEditableText.java,
3726         javax/accessibility/AccessibleHyperlink.java: New versions from
3727         Classpath.
3728
3729         * gnu/java/locale/LocaleInformation_af_ZA.java,
3730         gnu/java/locale/LocaleInformation_ar_AE.java,
3731         gnu/java/locale/LocaleInformation_ar_BH.java,
3732         gnu/java/locale/LocaleInformation_ar_DZ.java,
3733         gnu/java/locale/LocaleInformation_ar_EG.java,
3734         gnu/java/locale/LocaleInformation_ar_IN.java,
3735         gnu/java/locale/LocaleInformation_ar_IQ.java,
3736         gnu/java/locale/LocaleInformation_ar_JO.java,
3737         gnu/java/locale/LocaleInformation_ar_KW.java,
3738         gnu/java/locale/LocaleInformation_ar_LB.java,
3739         gnu/java/locale/LocaleInformation_ar_LY.java,
3740         gnu/java/locale/LocaleInformation_ar_MA.java,
3741         gnu/java/locale/LocaleInformation_ar_OM.java,
3742         gnu/java/locale/LocaleInformation_ar_QA.java,
3743         gnu/java/locale/LocaleInformation_ar_SD.java,
3744         gnu/java/locale/LocaleInformation_ar_SY.java,
3745         gnu/java/locale/LocaleInformation_ar_TN.java,
3746         gnu/java/locale/LocaleInformation_ar_YE.java,
3747         gnu/java/locale/LocaleInformation_be_BY.java,
3748         gnu/java/locale/LocaleInformation_bn_IN.java,
3749         gnu/java/locale/LocaleInformation_br_FR.java,
3750         gnu/java/locale/LocaleInformation_bs_BA.java,
3751         gnu/java/locale/LocaleInformation_ca_ES.java,
3752         gnu/java/locale/LocaleInformation_cs_CZ.java,
3753         gnu/java/locale/LocaleInformation_cy_GB.java,
3754         gnu/java/locale/LocaleInformation_da_DK.java,
3755         gnu/java/locale/LocaleInformation_de_AT.java,
3756         gnu/java/locale/LocaleInformation_de_BE.java,
3757         gnu/java/locale/LocaleInformation_de_CH.java,
3758         gnu/java/locale/LocaleInformation_de_DE.java,
3759         gnu/java/locale/LocaleInformation_de_LU.java,
3760         gnu/java/locale/LocaleInformation_el_GR.java,
3761         gnu/java/locale/LocaleInformation_en_AU.java,
3762         gnu/java/locale/LocaleInformation_en_BW.java,
3763         gnu/java/locale/LocaleInformation_en_CA.java,
3764         gnu/java/locale/LocaleInformation_en_DK.java,
3765         gnu/java/locale/LocaleInformation_en_GB.java,
3766         gnu/java/locale/LocaleInformation_en_HK.java,
3767         gnu/java/locale/LocaleInformation_en_IE.java,
3768         gnu/java/locale/LocaleInformation_en_IN.java,
3769         gnu/java/locale/LocaleInformation_en_NZ.java,
3770         gnu/java/locale/LocaleInformation_en_PH.java,
3771         gnu/java/locale/LocaleInformation_en_SG.java,
3772         gnu/java/locale/LocaleInformation_en_US.java,
3773         gnu/java/locale/LocaleInformation_en_ZA.java,
3774         gnu/java/locale/LocaleInformation_en_ZW.java,
3775         gnu/java/locale/LocaleInformation_es_AR.java,
3776         gnu/java/locale/LocaleInformation_es_BO.java,
3777         gnu/java/locale/LocaleInformation_es_CL.java,
3778         gnu/java/locale/LocaleInformation_es_CO.java,
3779         gnu/java/locale/LocaleInformation_es_CR.java,
3780         gnu/java/locale/LocaleInformation_es_DO.java,
3781         gnu/java/locale/LocaleInformation_es_EC.java,
3782         gnu/java/locale/LocaleInformation_es_ES.java,
3783         gnu/java/locale/LocaleInformation_es_GT.java,
3784         gnu/java/locale/LocaleInformation_es_HN.java,
3785         gnu/java/locale/LocaleInformation_es_MX.java,
3786         gnu/java/locale/LocaleInformation_es_NI.java,
3787         gnu/java/locale/LocaleInformation_es_PA.java,
3788         gnu/java/locale/LocaleInformation_es_PE.java,
3789         gnu/java/locale/LocaleInformation_es_PR.java,
3790         gnu/java/locale/LocaleInformation_es_PY.java,
3791         gnu/java/locale/LocaleInformation_es_SV.java,
3792         gnu/java/locale/LocaleInformation_es_US.java,
3793         gnu/java/locale/LocaleInformation_es_UY.java,
3794         gnu/java/locale/LocaleInformation_es_VE.java,
3795         gnu/java/locale/LocaleInformation_et_EE.java,
3796         gnu/java/locale/LocaleInformation_eu_ES.java,
3797         gnu/java/locale/LocaleInformation_fa_IR.java,
3798         gnu/java/locale/LocaleInformation_fi_FI.java,
3799         gnu/java/locale/LocaleInformation_fo_FO.java,
3800         gnu/java/locale/LocaleInformation_fr_BE.java,
3801         gnu/java/locale/LocaleInformation_fr_CA.java,
3802         gnu/java/locale/LocaleInformation_fr_CH.java,
3803         gnu/java/locale/LocaleInformation_fr_FR.java,
3804         gnu/java/locale/LocaleInformation_fr_LU.java,
3805         gnu/java/locale/LocaleInformation_ga_IE.java,
3806         gnu/java/locale/LocaleInformation_gd_GB.java,
3807         gnu/java/locale/LocaleInformation_gl_ES.java,
3808         gnu/java/locale/LocaleInformation_gv_GB.java,
3809         gnu/java/locale/LocaleInformation_he_IL.java,
3810         gnu/java/locale/LocaleInformation_hi_IN.java,
3811         gnu/java/locale/LocaleInformation_hr_HR.java,
3812         gnu/java/locale/LocaleInformation_hu_HU.java,
3813         gnu/java/locale/LocaleInformation_id_ID.java,
3814         gnu/java/locale/LocaleInformation_it_CH.java,
3815         gnu/java/locale/LocaleInformation_it_IT.java,
3816         gnu/java/locale/LocaleInformation_iw_IL.java,
3817         gnu/java/locale/LocaleInformation_ja_JP.java,
3818         gnu/java/locale/LocaleInformation_ka_GE.java,
3819         gnu/java/locale/LocaleInformation_kl_GL.java,
3820         gnu/java/locale/LocaleInformation_ko_KR.java,
3821         gnu/java/locale/LocaleInformation_kw_GB.java,
3822         gnu/java/locale/LocaleInformation_lt_LT.java,
3823         gnu/java/locale/LocaleInformation_lv_LV.java,
3824         gnu/java/locale/LocaleInformation_mi_NZ.java,
3825         gnu/java/locale/LocaleInformation_mk_MK.java,
3826         gnu/java/locale/LocaleInformation_mr_IN.java,
3827         gnu/java/locale/LocaleInformation_mt_MT.java,
3828         gnu/java/locale/LocaleInformation_nl_BE.java,
3829         gnu/java/locale/LocaleInformation_nl_NL.java,
3830         gnu/java/locale/LocaleInformation_nn_NO.java,
3831         gnu/java/locale/LocaleInformation_no_NO.java,
3832         gnu/java/locale/LocaleInformation_oc_FR.java,
3833         gnu/java/locale/LocaleInformation_pl_PL.java,
3834         gnu/java/locale/LocaleInformation_pt_BR.java,
3835         gnu/java/locale/LocaleInformation_pt_PT.java,
3836         gnu/java/locale/LocaleInformation_ro_RO.java,
3837         gnu/java/locale/LocaleInformation_ru_RU.java,
3838         gnu/java/locale/LocaleInformation_ru_UA.java,
3839         gnu/java/locale/LocaleInformation_se_NO.java,
3840         gnu/java/locale/LocaleInformation_sk_SK.java,
3841         gnu/java/locale/LocaleInformation_sl_SI.java,
3842         gnu/java/locale/LocaleInformation_sq_AL.java,
3843         gnu/java/locale/LocaleInformation_sr_YU.java,
3844         gnu/java/locale/LocaleInformation_sv_FI.java,
3845         gnu/java/locale/LocaleInformation_sv_SE.java,
3846         gnu/java/locale/LocaleInformation_ta_IN.java,
3847         gnu/java/locale/LocaleInformation_te_IN.java,
3848         gnu/java/locale/LocaleInformation_tg_TJ.java,
3849         gnu/java/locale/LocaleInformation_tl_PH.java,
3850         gnu/java/locale/LocaleInformation_tr_TR.java,
3851         gnu/java/locale/LocaleInformation_uk_UA.java,
3852         gnu/java/locale/LocaleInformation_ur_PK.java,
3853         gnu/java/locale/LocaleInformation_uz_UZ.java,
3854         gnu/java/locale/LocaleInformation_vi_VN.java,
3855         gnu/java/locale/LocaleInformation_yi_US.java,
3856         gnu/java/locale/LocaleInformation_zh_CN.java,
3857         gnu/java/locale/LocaleInformation_zh_HK.java,
3858         gnu/java/locale/LocaleInformation_zh_SG.java,
3859         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3860         info; from Classpath.
3861
3862         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3863         isPaintPending): New methods.
3864         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3865         setMaximizedBounds): New methods.
3866         (beginLayout, endLayout, isPaintPending): Likewise.
3867         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3868         (requestFocus): Likewise.
3869         (isObscured): Likewise.
3870         (canDetermineObscurity): Likewise.
3871         (coalescePaintEvent): Likewise.
3872         (updateCursorImmediately): Likewise.
3873         (createVolatileImage): Likewise.
3874         (handlesWheelScrolling): Likewise.
3875         (createBuffers): Likewise.
3876         (getBackBuffer): Likewise.
3877         (flip): Likewise.
3878         (destroyBuffers): Likewise.
3879
3880         * Makefile.in: Rebuilt.
3881         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3882         RobotPeer.java.
3883         * gnu/java/awt/GLightweightPeer.java,
3884         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3885         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3886         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3887         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3888         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3889         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3890         java/awt/dnd/peer/DragSourceContextPeer.java,
3891         java/awt/dnd/peer/DropTargetContextPeer.java,
3892         java/awt/peer/ButtonPeer.java,
3893         java/awt/peer/CheckboxMenuItemPeer.java,
3894         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3895         java/awt/peer/ComponentPeer.java,
3896         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3897         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3898         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3899         java/awt/peer/MenuBarPeer.java,
3900         java/awt/peer/MenuComponentPeer.java,
3901         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3902         java/awt/peer/PopupMenuPeer.java,
3903         java/awt/peer/ScrollPanePeer.java,
3904         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3905         java/awt/peer/TextComponentPeer.java,
3906         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3907         New versions from Classpath.
3908         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3909         * java/awt/peer/RobotPeer.java: Likewise.
3910
3911 2003-03-01  Mark Wielaard  <mark@klomp.org>
3912
3913         * java/io/ObjectInputStream.java: Reindent.
3914         * java/io/ObjectOutputStream.java: Likewise.
3915
3916 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3917
3918         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3919         jvalue for each argument. Simplify.
3920         * testsuite/libjava.jni/calls.c (docall),
3921         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3922         misalignment.
3923
3924 2003-02-28  Mark Wielaard  <mark@klomp.org>
3925
3926         * Makefile.am (nat_source_files): Remove
3927         java/io/natObjectOutputStream.cc.
3928         * Makefile.in: Regenerated.
3929         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3930         * java/io/ObjectStreamField.java (typename): New field.
3931         (ObjectStreamField(String, Class)): Initialize new field.
3932         (ObjectStreamField(String, String)): New Constructor.
3933         (getTypeCode): Use new field.
3934         (getTypeString): Use new field.
3935         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3936         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3937         Handle reading of Proxy classes. Never drain(), just write
3938         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3939         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3940         (flush): Call flush(), not just drain().
3941         (writeBoolean): Always use blockDataOutput.
3942         (writeByte): Likewise.
3943         (writeShort): Likewise.
3944         (writeChar): Likewise.
3945         (writeInt): Likewise.
3946         (writeLong): Likewise.
3947         (writeFloat): Likewise.
3948         (writeDouble): Likewise.
3949         (writeBytes): Likewise.
3950         (putfield (put(String,Object))): Throw IllegalArgumentException if
3951         field cannot be found.
3952         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3953         (writeArraySizeAndElements): Write byte[] in one go.
3954         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3955         set BlockDataMode to false.
3956         (annotateProxyClass): New method.
3957         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3958         (getField): No longer native.
3959         (getMethod): Likewise.
3960         (setBlockDataMode): Always drain() on switch, return old mode.
3961         (static): New static code block.
3962         * java/io/natObjectOutputStream.cc: Removed.
3963         * java/io/ObjectInputStream.java (getField): No longer native.
3964         (getMethod): Likewise.
3965         (readObject): Remember and reset old BlockDataMode. Track whether
3966         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3967         TC_LONGSTRING.
3968         (defaultReadObject): Set BlockDataMode to false during readFields.
3969         (resolveClass): Create new SecurityManager if necessary.
3970         Use Class.forName() if null ClassLoader found.
3971         (read(byte[],int,int): Copy remaining bytes to data before calling
3972         readNextBlock().
3973         (readFields): Set and reset BlockDataMode on call_read_method.
3974         Catch NoSuchFieldErrors.
3975         (setBlockDataMode): Return old mode.
3976         (static): New static code block.
3977         * java/io/natObjectInputStream.cc (getField): Removed.
3978         (getMethod): Likewise.
3979
3980 2003-02-27  Michael Koch  <konqueror@gmx.de>
3981
3982         * java/beans/Beans.java,
3983         java/beans/FeatureDescriptor.java
3984         java/beans/PropertyEditorManager.java:
3985         Reformated to GNU style.
3986
3987 2003-02-25  Michael Koch  <konqueror@gmx.de>
3988
3989         * gnu/java/nio/MappedByteFileBuffer.java,
3990         gnu/java/nio/natMappedByteFileBuffer.cc:
3991         New files, both are not compiled yet to get not noncompiling CVS.
3992
3993 2003-02-24  Tom Tromey  <tromey@redhat.com>
3994
3995         * java/util/prefs/AbstractPreferences.java (isUserNode):
3996         Implemented.
3997
3998 2003-02-24  Tom Tromey  <tromey@redhat.com>
3999
4000         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4001         Deprecate.
4002         * java/lang/Thread.java (resume): Deprecate.
4003         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4004         in @deprecated.
4005
4006 2003-02-23  Tom Tromey  <tromey@redhat.com>
4007
4008         * Makefile.in: Rebuilt.
4009         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4010
4011 2003-02-23  Tom Tromey  <tromey@redhat.com>
4012
4013         * java/lang/natRuntime.cc (libraries_size, libraries_count,
4014         libraries): Removed.
4015         (add_library): Removed.
4016         (_load): Don't call add_library.
4017         (loadLibraryInternal): Likewise.
4018         (init): Likewise.
4019         (lookup_data): New struct.
4020         (find_symbol): New function.
4021         (_Jv_FindSymbolInExecutable): Use it.
4022
4023 2002-02-21  Anthony Green  <green@redhat.com>
4024
4025         * java/lang/Thread.java (Thread): New constructor taking stack
4026         size parameter (ignored for now).
4027         * Many methods: Merged GNU Classpath documentation.
4028
4029         * java/lang/Class.java (finalize): throws a Throwable.
4030
4031 2003-02-21  Mark Wielaard  <mark@klomp.org>
4032
4033         * java/util/zip/ZipEntry.java (setComment): Don't check length when
4034         argument is null.
4035
4036 2003-02-21  Mark Wielaard  <mark@klomp.org>
4037
4038         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4039         then 65535 chars throw IllegalArgumentException.
4040
4041 2003-02-21  Mark Wielaard  <mark@klomp.org>
4042
4043         * java/util/zip/ZipFile.java (finalize): New method.
4044
4045 2003-02-21  Michael Koch  <konqueror@gmx.de>
4046
4047         * gnu/java/nio/natSocketChannelImpl.cc:
4048         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4049         <cato@df.lth.se> for pointing to it.
4050
4051 2003-02-20  Raif S. Naffah <raif@fl.net.au>
4052
4053         * java/math/BigInteger.java (euclidInv): Take result array as an
4054         argument.  Updated all callers.
4055         (modInverse): Removed unused variables.
4056
4057 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4058
4059         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4060         config.status.
4061         * configure: Rebuilt.
4062
4063 2003-02-19  Michael Koch  <konqueror@gmx.de>
4064
4065         * gnu/java/nio/natSocketChannelImpl.cc:
4066         Added support for platforms without network support.
4067
4068 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4069
4070         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4071         after config.h.  Use <> for consistency.
4072         * java/lang/natObject.cc: Likewise.
4073         * java/lang/natRuntime.cc: Likewise.
4074         * java/lang/natSystem.cc: Likewise.
4075         * java/util/natTimeZone.cc: Likewise.
4076         * win32.cc: Likewise.
4077         * include/posix.h (fcntl, socket, connect, close, bind, accept,
4078         listen, write, read): Undef to avoid interference from OS macros.
4079
4080 2003-02-19  Michael Koch  <konqueror@gmx.de>
4081
4082         * gnu/java/nio/ByteBufferImpl.java
4083         (ByteBufferImpl): Renamed two variables.
4084         * gnu/java/nio/CharBufferImpl.java
4085         (CharBufferImpl): Renamed two variables.
4086         * gnu/java/nio/DoubleBufferImpl.java
4087         (DoubleBufferImpl): Renamed two variables.
4088         * gnu/java/nio/FloatBufferImpl.java
4089         (FloatBufferImpl): Renamed two variables.
4090         * gnu/java/nio/IntBufferImpl.java
4091         (IntBufferImpl): Renamed two variables.
4092         * gnu/java/nio/LongBufferImpl.java
4093         (LongBufferImpl): Renamed two variables.
4094         * gnu/java/nio/ShortBufferImpl.java
4095         (ShortBufferImpl): Renamed two variables.
4096         * java/nio/CharBuffer.java
4097         (wrap): Fixed arguments to CharBufferImpl constructor.
4098         (hasArray): Only not read-only buffers have backing arrays.
4099         (length): Documentation added.
4100         (subSequence): Documentation added.
4101         * java/nio/DoubleBuffer.java
4102         (hasArray): Only not read-only buffers have backing arrays.
4103         * java/nio/FloatBuffer.java
4104         (hasArray): Only not read-only buffers have backing arrays.
4105         * java/nio/IntBuffer.java
4106         (hasArray): Only not read-only buffers have backing arrays.
4107         * java/nio/LongBuffer.java
4108         (hasArray): Only not read-only buffers have backing arrays.
4109         * java/nio/ShortBuffer.java
4110         (hasArray): Only not read-only buffers have backing arrays.
4111         
4112 2003-02-19  Michael Koch  <konqueror@gmx.de>
4113
4114         * javax/accessibility/AccessibleContext.java
4115         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4116
4117 2003-02-19  Michael Koch  <konqueror@gmx.de>
4118
4119         * java/awt/ScrollPaneAdjustable.java: Reformated.
4120
4121 2003-02-19  Michael Koch <konqueror@gmx.de>
4122
4123         * gnu/awt/j2d/Graphics2DImpl.java
4124         (getFontRenderContext): New method.
4125         (drawGlyphVector): New method.
4126         * java/awt/Graphics2D.java
4127         (getFontRenderContext): New abstract method.
4128         (drawGlyphVector): New abstract method.
4129         
4130 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4131
4132         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4133         if necessary.
4134         
4135         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4136         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4137         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4138         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4139         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4140         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4141         (setFont, gtkSetFont): add.
4142         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4143         Propagate font to peer.  (setFont): add FIXME comment.
4144
4145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4146         (gtkTextGetSize): fix height, width computation.
4147
4148         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4149         Make X font name a bit less bogus.
4150
4151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4152         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4153
4154         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4155         (processAdjustmentEvent): Adjust value.
4156
4157         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4158         logic errors.
4159
4160         * java/awt/Component.java (setVisible, show, hide): Call show and
4161         hide methods in subclasses.
4162         (getPreferredSize): don't set prefSize before we have peer.
4163
4164         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4165         Guess (0,0) if we don't have peer.
4166
4167
4168 2003-02-18  Michael Koch  <konqueror@gmx.de>
4169
4170         * java/nio/channels/FileChannel.java
4171         (toString): New implementation, added documentation.
4172         (map): Added exception documentation.
4173         (size): Added exception documentation.
4174         (write): New methods, documentation work.
4175         (read): New methods, documentation work.
4176         (implCloseChannel): Rewrote exception documentation.
4177         (force): Throws IOException, added documentation.
4178         (lock): New methods.
4179         (tryLock): New methods.
4180         (position): New methods.
4181         (transferTo): New method.
4182         (transferFrom): New method.
4183         (truncate): New method.
4184         * java/nio/channels/spi/SelectorProvider.java
4185         (provider): Implemented.
4186         * Makefile.am
4187         (ordinary_java_source_files): Added the following files:
4188         gnu/java/nio/DatagramChannelImpl.java
4189         gnu/java/nio/FileChannelImpl.java
4190         gnu/java/nio/PipeImpl.java
4191         gnu/java/nio/SelectionKeyImpl.java
4192         gnu/java/nio/SelectorImpl.java
4193         gnu/java/nio/SelectorProviderImpl.java
4194         gnu/java/nio/ServerSocketChannelImpl.java
4195         gnu/java/nio/SocketChannelImpl.java
4196         java/nio/channels/FileLock.java
4197         (nat_java_source_files): Added the following files:
4198         gnu/java/nio/natFileChannelImpl.cc
4199         gnu/java/nio/natSelectorImpl.cc
4200         gnu/java/nio/natSocketChannelImpl.cc
4201         * Makefile.in: Regenerated.
4202
4203 2003-02-17  Tom Tromey  <tromey@redhat.com>
4204
4205         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4206         * java/awt/image/ImageFilter.java: Likewise.
4207
4208 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4209
4210         * java/math/BigInteger.java (euclidInv): Return array of
4211         `BigInteger's.  Changed all callers.
4212
4213 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4214
4215         * java/util/Properties.java (store): Move the code formerly in
4216         list(), into this method.
4217         (list (PrintStream)): Just call list (PrintWriter) with a 
4218         PrintWriter object constructed from the given PrintStream object.
4219         (list (PrintWriter)): Emulate the output of Properties.list()
4220         as found in JDK 1.3/1.4.
4221
4222 2003-02-17  Michael Koch  <konqueror@gmx.de>
4223
4224         * java/net/DatagramSocket.java
4225         (connect): Merged with classpath.
4226         (disconnect): Merged documentation with classpath.
4227         (receice): Merged documentation with classpath.
4228         (send): Merged documentation with classpath.
4229         
4230 2003-02-17  Michael Koch  <konqueror@gmx.de>
4231
4232         * java/awt/dnd/DragSourceContext.java
4233         (addDragSourceListener): Added documentation.
4234         * java/awt/dnd/DragSourceDragEvent.java
4235         (serialVersionUID): New member variable.
4236         (getDropAction): Reformated.
4237         * java/awt/dnd/DragSourceDropEvent.java
4238         (serialVersionUID): New member variable.
4239         (dropSuccess): Renamed from success for serialization issues.
4240         * java/awt/dnd/DragSourceEvent.java
4241         (serialVersionUID): New member variable.
4242         * java/awt/dnd/DropTarget.java
4243         (serialVersionUID): New member variable.
4244         (DropTarget): Implemented, documentation reworked.
4245         (setComponent): Documentation added.
4246         (getComponent): Documentation added.
4247         (setDefaultActions): Documentation added.
4248         (getDefaultActions): Documentation added.
4249         (addDropTargetListener): Documentation added.
4250         * java/awt/dnd/DropTargetContext.java
4251         (DropTargetContext): Documentation added.
4252         (TransferableProxy.TransferableProxy): New method.
4253         (dropComplete): Fixed documentation.
4254         (getTransferable): Fixed documentation.
4255         (createTransferableProxy): Implemented.
4256         * java/awt/dnd/DropTargetDragEvent.java
4257         (DropTargetDragEvent): Documentation added.
4258         (serialVersionUID): New member variable.
4259         (DropTargetDragEvent): Throw exceptions, documentation added.
4260         (acceptDrag): Implemented.
4261         (getCurrentDataFlavors): Implemented.3yy
4262         (getCurrentDataFlavorsAsList): Implemented.
4263         (isDataFlavorSupported): Implemented.
4264         (rejectDrag): Implemented.
4265         * java/awt/dnd/DropTargetDropEvent.java
4266         (DropTargetDropEvent): Documentation added.
4267         (serialVersionUID): New member variable.
4268         (actions): Renamed from srcActions for serialization issues.
4269         (isLocalTx): Renamed from isLocalTx for serialization issues.
4270         (DropTargetDropEvent): New implementation, throw exceptions,
4271         documentation added.
4272         (getCurrentDataFlavors): Implemented.
4273         (getCurrentDataFlavorsAsList): Implemented.
4274         (isDataFlavorSupported): Implemented.
4275         (getSourceActions): Implemented.
4276         (getDropAction): Implemented.
4277         (getTransferable): Implemented.
4278         (acceptDrop): Implemented.
4279         (rejectDrop): Implemented.
4280         * java/awt/dnd/DropTargetListener.java
4281         (drop): Fixed documentation.
4282         * java/awt/dnd/MouseDragGestureRecognizer.java
4283         (MouseDragGestureRecognizer): Documentation added.
4284
4285 2003-02-17  Michael Koch  <konqueror@gmx.de>
4286
4287         * java/awt/font/FontRenderContext.java,
4288         java/awt/font/ShapeGraphicAttribute.java,
4289         java/awt/font/MultipleMaster.java,
4290         java/awt/font/TransformAttribute.java,
4291         java/awt/font/GlyphJustificationInfo.java,
4292         java/awt/font/LineBreakMeasurer.java,
4293         java/awt/font/TextMeasurer.java,
4294         java/awt/font/TextLayout.java,
4295         java/awt/font/LineMetrics.java,
4296         java/awt/font/TextAttribute.java,
4297         java/awt/font/GlyphMetrics.java,
4298         java/awt/font/OpenType.java,
4299         java/awt/font/GlyphVector.java,
4300         java/awt/font/GraphicAttribute.java,
4301         java/awt/font/ImageGraphicAttribute.java,
4302         java/awt/font/NumericShaper.java: New files.
4303         * Makefile.am
4304         (awt_java_source_files): Added the following files:
4305         java/awt/font/FontRenderContext.java
4306         java/awt/font/ShapeGraphicAttribute.java
4307         java/awt/font/MultipleMaster.java
4308         java/awt/font/TransformAttribute.java
4309         java/awt/font/GlyphJustificationInfo.java
4310         java/awt/font/LineBreakMeasurer.java
4311         java/awt/font/TextMeasurer.java
4312         java/awt/font/TextLayout.java
4313         java/awt/font/LineMetrics.java
4314         java/awt/font/TextAttribute.java
4315         java/awt/font/GlyphMetrics.java
4316         java/awt/font/OpenType.java
4317         java/awt/font/GlyphVector.java
4318         java/awt/font/GraphicAttribute.java
4319         java/awt/font/ImageGraphicAttribute.java
4320         java/awt/font/NumericShaper.java
4321         * Makefile.in: Regenerated.
4322
4323 2003-02-17  Michael Koch  <konqueror@gmx.de>
4324
4325         * java/awt/print/Paper.java
4326         (Paper): Implements Cloneable.
4327         * java/awt/print/PrinterJob.java
4328         (setJobName): Return value must be void.
4329         (print): Throws PrinterException.
4330         
4331 2003-02-16  Tom Tromey  <tromey@redhat.com>
4332
4333         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4334         variable.
4335
4336 2003-02-15  Michael Koch  <konqueror@gmx.de>
4337
4338         * java/awt/datatransfer/DataFlavor.java
4339         (isRepresentationClassByteBuffer): Removed try-catch block.
4340         (isRepresentationClassCharBuffer): Removed try-catch block.
4341         (isRepresentationClassReader): Removed try-catch block.
4342
4343 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4344
4345         * java/nio/charset/Charset.java
4346         (isRegistered): Fixed method args and implementation.
4347         * java/nio/charset/CharsetEncoder.java
4348         (unmappableCharacterAction): New method.
4349
4350 2003-02-15  Michael Koch  <konqueror@gmx.de>
4351
4352         * java/awt/CheckboxMenuItem.java
4353         (CheckBoxMenuItem): Dont implement Serializable.
4354         (getListeners): New method,
4355         (getItemListeners): New method.
4356         * java/awt/Choice.java
4357         (getListeners): New method,
4358         (getItemListeners): New method.
4359         * java/awt/Container.java
4360         (getListeners): Added exception documentation.
4361         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4362         (getFocusTraversalKeys): Added documentation.
4363         (areFocusTraversalKeysSet): Added documentation.
4364         (applyComponentOrientation): Added documentation.
4365         * java/awt/ContainerOrderFocusTraversalPolicy.java
4366         (implicitDownCycleTraversal): Renamed from downCycle for
4367         serialization.
4368         (ContainerOrderFocusTraversalPolicy): Added documentation.
4369         (accept): Reformated.
4370         * java/awt/Dialog.java
4371         (Dialog): Dont implement Serializable.
4372         (Dialog): Added documentation.
4373         * java/awt/Font.java
4374         (Font): Dont use absolute class name.
4375         * java/awt/Frame.java
4376         (Frame): Font implement Serializable.
4377         * java/awt/List.java
4378         (getListeners): New method,
4379         (getActionListeners): New method.       
4380         (getItemListeners): New method.
4381         * java/awt/Menu.java
4382         (countItems): New deprecated method.
4383         * java/awt/Scrollbar.java
4384         (getListeners): New method,
4385         (getAdjustmentListeners): New method,
4386         * java/awt/TextComponent.java
4387         (getListeners): New method,
4388         (getTextListeners): New method,
4389         * java/awt/TextField.java
4390         (getListeners): New method,
4391         (getActionListeners): New method.       
4392         * java/awt/Window.java
4393         (windowFocusListener): New member variable.
4394         (windowStateListener): New member variable.
4395         (getWindowFocusListeners): New method.
4396         (getWindowStateListeners): New method.
4397         (addWindowFocusListener): New method.
4398         (addWindowStateListener): New method.
4399         (removeWindowFocusListener): New method.
4400         (removeWindowStateListener): New method.
4401         * java/awt/datatransfer/DataFlavor.java
4402         (isRepresentationClassByteBuffer): New method.
4403         (isRepresentationClassCharBuffer): New method.
4404         (isRepresentationClassReader): New method.
4405
4406 2003-02-14  Mark Wielaard  <mark@klomp.org>
4407
4408         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4409         zero when there is an exponent and the significant is zero.
4410         (divide): Always set scale to newScale even in special ZERO case.
4411
4412 2003-02-14  Tom Tromey  <tromey@redhat.com>
4413
4414         * java/lang/System.java (properties): Use Properties.clone.
4415         (setProperties): Likewise.
4416
4417 2003-02-14  Michael Koch  <konqueror@gmx.de>
4418
4419         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4420         * gnu/java/nio/ServerSocketChannelImpl.java
4421         (SocketAccept): Removed.
4422         (accept): Commented out use of SocketAccept.
4423
4424 2003-02-13  Tom Tromey  <tromey@redhat.com>
4425
4426         * verify.cc (state::seen_subrs): New field.
4427         (state::state): Initialize it.
4428         (state::clean_subrs): New method.
4429         (state::~state): Call it.
4430         (state::copy): Copy subroutine list.
4431         (state::add_subr): New method.
4432         (state::merge): Only register a change if the current subroutine
4433         hasn't yet been noted.
4434
4435 2003-02-13  Mark Wielaard  <mark@klomp.org>
4436
4437         * java/io/InputStreamReader.java (getEncoding): Return null when
4438         closed.
4439         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4440
4441 2003-02-13  Mark Wielaard  <mark@klomp.org>
4442  
4443         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4444         is zero.
4445
4446 2003-02-13  Mark Wielaard  <mark@klomp.org>
4447
4448         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4449         next byte cannot be buffered.
4450
4451 2003-02-13  Michael Koch  <konqueror@gmx.de>
4452  
4453         * java/awt/Label.java
4454         (Label): Don't implement Serializable directly.
4455         (addNotify): Fixed typo in documentation.
4456         * java/awt/List.java
4457         (List): Don't implement Serializable directly.
4458         * java/awt/PopupMenu.java
4459         (PopupMenu): Don't implement Serializable directly.
4460         * java/awt/ScrollPane.java
4461         (ScrollPane): Don't implement Serializable directly.
4462         * java/awt/Scrollbar.java
4463         (Scrollbar): Don't implement Serializable directly.
4464         * java/awt/TextArea.java
4465         (preferredSize): Fixed method arguments.
4466         * java/awt/TextField.java
4467         (TextField): Don't implement Serializable directly.
4468         * java/awt/color/ICC_ColorSpace.java
4469         (fromCIOXYZ): Documentation added.
4470         (getMinValue): Documentation added.
4471         (getMaxValue): Documentation added.
4472         * java/awt/datatransfer/DataFlavor.java
4473         (isMimeTypeEqual): May not be final.
4474         (clone): Throws CloneNotSupportedException.
4475         (getReaderForText): Don't throws UnsupportedEncodingException.
4476
4477 2003-02-13  Michael Koch  <konqueror@gmx.de>
4478  
4479         * gnu/java/awt/peer/gtk/GdkGraphics.java
4480         (drawString): New stubbed method.
4481         * java/awt/Graphics.java
4482         (drawString): New method.
4483
4484 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4485
4486         PR libgcj/9271:
4487         * java/security/SecureRandom.java (next): Avoid bias in results.
4488
4489 2003-02-13  Michael  <konqueror@gmx.de>
4490
4491         * gnu/java/nio/FileChannelImpl.java
4492         (lengthInternal): Must be native.
4493         (size): Check if channel is already closed.
4494         (implCloseChannel): Reformated.
4495         (read): w was unused, removed it.
4496         (read): Removed.
4497         (read): New method.
4498         (write): New method.
4499         (map): Check arguments.
4500         (force): Throws IOException, check if channel is closed.
4501         (transferTo): New method.
4502         (transferFrom): New method.
4503         (lock): New method.
4504         (tryLock): New method.
4505         (position): New method.
4506         (truncate): New method.
4507         (nio_mmap_file): Uncommented.
4508         (nio_munmap_file): Uncommented.
4509         (nio_msync): Uncommented.
4510         * gnu/java/nio/natFileChannelImpl.cc: New file.
4511         
4512 2003-02-13  Michael Koch  <konqueror@gmx.de>
4513
4514         * java/nio/ByteBuffer.java
4515         (endian): New member variable.
4516         (get): New methods.
4517         (equals): New method.
4518         (compareTo): New method.
4519         (order): New methods.
4520         (compact): New method.
4521         (isDirect): New method.
4522         (slice): New method.
4523         (duplicate): New method.
4524         (asReadOnlyBuffer): New method.
4525         (asCharBuffer): New method.
4526         (asDoubleBuffer): New method.
4527         (asFloatBuffer): New method.
4528         (asIntBuffer): New method.
4529         (asLongBuffer): New method.
4530         (asShortBuffer): New method.
4531         (get*): New methods.
4532         (put*): New methods.
4533         (toString): New method.
4534         * java/nio/CharBuffer.java
4535         (CharBuffer): Implement Comparable instead of Cloneable.
4536         (get): May not be final.
4537         (put): May not be final.
4538         
4539 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4540
4541         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4542         lastIndexOf( ) instead of indexOf( ) to find the colon before
4543         the line number, because Win32 file names might contain a 
4544         drive letter and a colon at the start of an absolute path.
4545
4546 2003-02-13  Michael Koch  <konqueror@gmx.de>
4547
4548         * gnu/java/nio/natSocketChannelImpl.cc
4549         (SocketConnect): This is not implemented yet.
4550         (SocketBind): This is not implemented yet.
4551
4552 2003-02-13  Michael Koch  <konqueror@gmx.de>
4553
4554         * gnu/java/nio/natByteBufferImpl.cc,
4555         gnu/java/nio/natCharBufferImpl.cc,
4556         gnu/java/nio/natDoubleBufferImpl.cc,
4557         gnu/java/nio/natFloatBufferImpl.cc,
4558         gnu/java/nio/natIntBufferImpl.cc,
4559         gnu/java/nio/natLongBufferImpl.cc,
4560         gnu/java/nio/natShortBufferImpl.cc:
4561         Added copyright and license.
4562         * java/nio/DoubleBuffer.java,
4563         java/nio/FloatBuffer.java,
4564         java/nio/IntBuffer.java,
4565         java/nio/LongBuffer.java,
4566         java/nio/ShortBuffer.java
4567         (array): Throw exceptions.
4568         (arrayOffset): Throw exceptions.
4569
4570 2003-02-13  Michael Koch  <konqueror@gmx.de>
4571  
4572         * gnu/java/util/prefs/FileBasedFactory.java,
4573         gnu/java/util/prefs/MemmoryBasedFactory.java,
4574         gnu/java/util/prefs/MemoryBasedPreferences.java,
4575         gnu/java/util/prefs/NodeReader.java,
4576         gnu/java/util/prefs/NodeWriter.java,
4577         java/util/prefs/AbstractPreferences.java,
4578         java/util/prefs/BackingStoreException.java,
4579         java/util/prefs/InvalidPreferencesFormatException.java,
4580         java/util/prefs/NodeChangeEvent.java,
4581         java/util/prefs/NodeChangeListener.java,
4582         java/util/prefs/PreferenceChangeEvent.java,
4583         java/util/prefs/PreferenceChangeListener.java,
4584         java/util/prefs/Preferences.java,
4585         java/util/prefs/PreferencesFactory.java:
4586         New files, all merged from classpath.
4587         * Makefile.am
4588         (ordinary_java_source_files): Added the following files:
4589         gnu/java/util/prefs/FileBasedFactory.java,
4590         gnu/java/util/prefs/MemmoryBasedFactory.java,
4591         gnu/java/util/prefs/MemoryBasedPreferences.java,
4592         gnu/java/util/prefs/NodeReader.java,
4593         gnu/java/util/prefs/NodeWriter.java,
4594         (core_java_source_files): Added the following files:
4595         java/util/prefs/AbstractPreferences.java,
4596         java/util/prefs/BackingStoreException.java,
4597         java/util/prefs/InvalidPreferencesFormatException.java,
4598         java/util/prefs/NodeChangeEvent.java,
4599         java/util/prefs/NodeChangeListener.java,
4600         java/util/prefs/PreferenceChangeEvent.java,
4601         java/util/prefs/PreferenceChangeListener.java,
4602         java/util/prefs/Preferences.java,
4603         java/util/prefs/PreferencesFactory.java
4604         * Makefile.in: Regenerated.
4605  
4606 2003-02-13  Michael Koch  <konqueror@gmx.de>
4607
4608         * java/net/NetPermission.java
4609         (NetPermission): Make doucmentation match the method declaration.
4610         * java/net/NetworkInterface.java
4611         (equals): Reformated for GNU coding style.
4612         * java/net/ServerSocket.java: Merged with classpath.
4613         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4614         * java/net/SocketImpl.java
4615         (localPort): Merged with classpath (initialize with -1).
4616         * java/net/SocketPermission.java: Merged with classpath (reindented).
4617         * java/net/URLDecoder.java: Merged with classpath (reindented).
4618
4619 2003-02-13  Michael Koch  <konqueror@gmx.de>
4620
4621         * java/awt/GridBagConstraints.java
4622         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4623         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4624         * java/awt/KeyboardFocusManager.java
4625         (setGlobalCurrentFocusCycleRoot): Must be public.
4626         * java/awt/MenuComponent.java
4627         (MenuComponent): Must be public.
4628         * java/awt/Toolkit.java:
4629         Added some empty lines to make documentation more readable.
4630         (getFontPeer): Added @deprecated.
4631         (getColorModel): Added exception documentation.
4632         (getProperty): Fixed documentation.
4633  
4634 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4635
4636         * configure.host (alpha*-*): Default to -mieee.
4637         * configure.in (IEEESPEC): New.
4638         * libgcj.spec.in (jc1): Add IEEESPEC.
4639         * configure: Rebuild.
4640
4641 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4642
4643         * include/win32.h: Include ws2tcpip.h instead of
4644         winsock.h to obtain definition of the socklen_t type.
4645         Remove IP_TOS definition - not needed with ws2tcpip.h
4646         (_Jv_connect): Correct slight formatting error.
4647
4648 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4649
4650         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4651         size of the arguments for a JNI function. For Win32,
4652         modify to search for all forms of possible exported
4653         names of an stdcall JNI function.
4654         (_Jv_JNIMethod::call): Modify to calculate the size
4655         of the arguments passed to a JNI function and pass
4656         it to _Jv_LookupJNIMethod.
4657
4658 2003-02-12  Michael Koch  <konqueror@gmx.de>
4659
4660         * java/nio/channels/Channels.java: New file.
4661         * Makefile.am
4662         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4663         * Makefile.in: Regenerated.
4664
4665 2003-02-12  Michael Koch  <konqueror@gmx.de>
4666
4667         * java/nio/ByteBuffer.java
4668         (allocate): Implemented.
4669         (wrap): Implemented.
4670         * java/nio/CharBuffer.java:
4671         Some documentation added and reworked.
4672         (endian): Removed.
4673         (allocate): Implemented.
4674         (wrap): Implemented.
4675         (array): Throw exceptions.
4676         (arrayOffset): Throw exceptions.
4677         (toString): Implemented.
4678         (length): Implemented.
4679         (put): Implemented.
4680         (charAt): Implemented.
4681
4682 2003-02-11  John Leuner  <jewel@debian.org>
4683
4684         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4685         reads from end of file.
4686
4687 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4688
4689         * java/io/natFileDescriptorWin32.cc 
4690         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4691         returns with Win32 error code ERROR_BROKEN_PIPE.
4692
4693 2003-02-11  Michael Koch  <konqueror@gmx.de>
4694
4695         * Makefile.in
4696         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4697
4698 2003-02-11  Michael Koch  <konqueror@gmx.de>
4699
4700         * gnu/java/nio/ByteBufferImpl.java:
4701         Reformated and removed some code.
4702         (backing_buffer): Removed.      
4703         (array_offset): Removed.
4704         (ro): Renamed to readOnly.
4705         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4706         * gnu/java/nio/CharBufferImpl.java:
4707         Reformated and removed some code.
4708         (array_offset): Removed.
4709         (ro): Renamed to readOnly.
4710         (CharBufferImpl): Use parent constructor, initialize readOnly.
4711         (inc_pos): Removed.
4712         (order): New method.
4713         * gnu/java/nio/DoubleBufferImpl.java:
4714         Reformated and removed some code.
4715         (array_offset): Removed.
4716         (ro): Renamed to readOnly.
4717         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4718         (inc_pos): Removed.
4719         (order): New method.
4720         * gnu/java/nio/FloatBufferImpl.java:
4721         Reformated and removed some code.
4722         (array_offset): Removed.
4723         (ro): Renamed to readOnly.
4724         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4725         (inc_pos): Removed.
4726         (order): New method.
4727         * gnu/java/nio/IntBufferImpl.java:
4728         Reformated and removed some code.
4729         (array_offset): Removed.
4730         (ro): Renamed to readOnly.
4731         (IntBufferImpl): Use parent constructor, initialize readOnly.
4732         (inc_pos): Removed.
4733         (order): New method.
4734         * gnu/java/nio/LongBufferImpl.java:
4735         Reformated and removed some code.
4736         (array_offset): Removed.
4737         (ro): Renamed to readOnly.
4738         (LongBufferImpl): Use parent constructor, initialize readOnly.
4739         (inc_pos): Removed.
4740         (order): New method.
4741         * gnu/java/nio/ShortBufferImpl.java:
4742         Reformated and removed some code.
4743         (array_offset): Removed.
4744         (ro): Renamed to readOnly.
4745         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4746         (inc_pos): Removed.
4747         (order): New method.
4748         * Makefile.am
4749         (ordinary_java_source_files): Added the following files:
4750         gnu/java/nio/ByteBufferImpl.java
4751         gnu/java/nio/CharBufferImpl.java
4752         gnu/java/nio/DoubleBufferImpl.java
4753         gnu/java/nio/FloatBufferImpl.java
4754         gnu/java/nio/IntBufferImpl.java
4755         gnu/java/nio/LongBufferImpl.java
4756         gnu/java/nio/ShortBufferImpl.java
4757         java/nio/DoubleBuffer.java
4758         java/nio/FloatBuffer.java
4759         java/nio/IntBuffer.java
4760         java/nio/LongBuffer.java
4761         java/nio/ShortBuffer.java
4762         (nat_source_files): Added the following files:
4763         gnu/java/nio/natByteBufferImpl.cc
4764         gnu/java/nio/natCharBufferImpl.cc
4765         gnu/java/nio/natDoubleBufferImpl.cc
4766         gnu/java/nio/natFloatBufferImpl.cc
4767         gnu/java/nio/natIntBufferImpl.cc
4768         gnu/java/nio/natLongBufferImpl.cc
4769         gnu/java/nio/natShortBufferImpl.cc
4770         * Makefile.in: Regenerated.
4771
4772 2003-02-11  Michael Koch  <konqueror@gmx.de>
4773
4774         * gnu/java/nio/natCharBufferImpl.cc
4775         (nio_cast): Removed.
4776         (nio_put_*): Removed.
4777         (nio_get_*): Removed.
4778         * gnu/java/nio/natDoubleBufferImpl.cc
4779         (nio_cast): Removed.
4780         (nio_put_*): Removed.
4781         (nio_get_*): Removed.
4782         * gnu/java/nio/natFloatBufferImpl.cc
4783         (nio_cast): Removed.
4784         (nio_put_*): Removed.
4785         (nio_get_*): Removed.
4786         * gnu/java/nio/natIntBufferImpl.cc
4787         (nio_cast): Removed.
4788         (nio_put_*): Removed.
4789         (nio_get_*): Removed.
4790         * gnu/java/nio/natLongBufferImpl.cc
4791         (nio_cast): Removed.
4792         (nio_put_*): Removed.
4793         (nio_get_*): Removed.
4794         * gnu/java/nio/natShortBufferImpl.cc
4795         (nio_cast): Removed.
4796         (nio_put_*): Removed.
4797         (nio_get_*): Removed.
4798         * gnu/java/nio/SelectorProviderImpl.java
4799         (openDatagramChannel): Throws IOException.
4800         (openPipe): Throws IOException.
4801         (openSelector): Throws IOException.
4802         (openServerSocketChannel): Throws IOException.
4803         (openSocketChannel): Throws IOException.
4804         * gnu/java/nio/ServerSocketChannelImpl.java
4805         (ServerSocketChannelImpl): Throws IOException.
4806         (implCloseSelectableChannel): Throws IOException.
4807         (implConfigureBlocking): Throws IOException.
4808         * java/nio/ByteBuffer.java
4809         (readOnly): Removed.
4810         (hasArray): Use isReadOnly() instead of readOnly.
4811         (array): Use isReadOnly() instead of readOnly.
4812         (arrayOffset): Use isReadOnly() instead of readOnly.
4813         * java/nio/CharBuffer.java
4814         (CharBuffer): Implements Cloneable and CharSequence.
4815
4816 2003-02-11  Michael Koch  <konqueror@gmx.de>
4817
4818         * java/nio/DoubleBuffer.java
4819         (DoubleBuffer): Implements Comparable.
4820         (endian): Removed.
4821         (array_offset): New member variable.
4822         (DoubleBuffer): New constuctor.
4823         (get): May not be final.
4824         (put): May not be final.
4825         (arrayOffset): Implemented.
4826         (order): Made abstract.
4827         (order): Removed.
4828         (as*Buffer): Removed.
4829         (get*): Removed.
4830         (put*): Removed.
4831         * java/nio/FloatBuffer.java
4832         (FloatBuffer): Implements Comparable.
4833         (endian): Removed.
4834         (array_offset): New member variable.
4835         (FloatBuffer): New constuctor.
4836         (get): May not be final.
4837         (put): May not be final.
4838         (arrayOffset): Implemented.
4839         (order): Made abstract.
4840         (order): Removed.
4841         (as*Buffer): Removed.
4842         (get*): Removed.
4843         (put*): Removed.
4844         * java/nio/IntBuffer.java
4845         (IntBuffer): Implements Comparable.
4846         (endian): Removed.
4847         (array_offset): New member variable.
4848         (IntBuffer): New constuctor.
4849         (get): May not be final.
4850         (put): May not be final.
4851         (arrayOffset): Implemented.
4852         (order): Made abstract.
4853         (order): Removed.
4854         (as*Buffer): Removed.
4855         (get*): Removed.
4856         (put*): Removed.
4857         * java/nio/LongBuffer.java
4858         (LongBuffer): Implements Comparable.
4859         (endian): Removed.
4860         (array_offset): New member variable.
4861         (LongBuffer): New constuctor.
4862         (get): May not be final.
4863         (put): May not be final.
4864         (arrayOffset): Implemented.
4865         (order): Made abstract.
4866         (order): Removed.
4867         (as*Buffer): Removed.
4868         (get*): Removed.
4869         (put*): Removed.
4870         * java/nio/ShortBuffer.java
4871         (ShortBuffer): Implements Comparable.
4872         (endian): Removed.
4873         (array_offset): New member variable.
4874         (ShortBuffer): New constuctor.
4875         (get): May not be final.
4876         (put): May not be final.
4877         (arrayOffset): Implemented.
4878         (order): Made abstract.
4879         (order): Removed.
4880         (as*Buffer): Removed.
4881         (get*): Removed.
4882         (put*): Removed.
4883
4884 2003-02-11   Michael Koch  <konqueror@gmx.de>
4885
4886         * java/nio/channels/SelectionKey.java
4887         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4888         values.
4889
4890 2003-02-11  Michael Koch  <konqueror@gmx.de>
4891
4892         * java/nio/channels/DatagramChannel.java
4893         (write): Throws IOException.
4894         (connect): Throws IOException.
4895         (disconnect): Throws IOException.
4896         (read): Throws IOException.
4897         (receive): Throws IOException.
4898         (send): Throws IOException.
4899         * java/nio/channels/Pipe.java
4900         (open): Throws IOException.
4901         * java/nio/channels/SelectableChannel.java
4902         (configureBlocking): Throws IOException.
4903         * java/nio/channels/ServerSocketChannel.java
4904         (accept): Throws IOException.
4905         * java/nio/channels/SocketChannel.java
4906         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4907         GatheringByteChannel.
4908         (read): Throws IOException.
4909         (write): Throws IOException.
4910         (finishConnect): Throws IOException.
4911         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4912         (end): Throws AsynchronousCloseException.
4913         * java/nio/channels/spi/AbstractSelectableChannel.java
4914         (configureBlocking): Throws IOException.
4915         (implCloseChannel): Throws IOException.
4916         (implCloseSelectableChannel): Throws IOException.
4917         (implConfigureBlocking): Throws IOException.
4918         * java/nio/channels/spi/SelectorProvider.java
4919         (openDatagramChannel): Throws IOException.
4920         (openPipe): Throws IOException.
4921         (openSelector): Throws IOException.
4922         (openServerSocketChannel): Throws IOException.
4923         (openSocketChannel): Throws IOException.
4924
4925 2003-02-11  Michael Koch  <konqueror@gmx.de>
4926
4927         * gnu/java/nio/FileLockImpl.java,
4928         java/nio/channels/FileLock.java: New files.
4929
4930 2003-02-11  Michael Koch  <konqueror@gmx.de>
4931
4932         * java/nio/charset/IllegalCharsetNameException.java
4933         (serialVersionUID): New member variable.
4934         (charsetName): New member variable.
4935         (IllegalCharsetException): New implementation.
4936         (getCharsetName): New implementation.
4937         * java/nio/charset/UnsupportedCharsetException.java
4938         (serialVersionUID): New member variable.
4939         (charsetName): New member variable.
4940         (UnsupportedCharsetException): New implementation.
4941         (getCharsetName): New implementation.
4942
4943 2003-02-10  Tom Tromey  <tromey@redhat.com>
4944
4945         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4946         (ex): Renamed from sqlException.
4947
4948 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4949
4950         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4951         method used to ensure seeding has occurred and that a specific 
4952         seed can be set and used.
4953
4954 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4955
4956         * java/lang/Win32Process.java (destroy): Declare as native.
4957         (hasExited): New native method.
4958         (exitValue): Define.
4959         (getErrorStream): Likewise.
4960         (getInputStream): Likewise.
4961         (getOutputStream): Likewise.
4962         (waitFor): Declare as native.
4963         (startProcess): New native method.
4964         (cleanup): Likewise.
4965         (ConcreteProcess): Define.
4966         (outputStream, inputStream, errorStream): New members.
4967         (procHandle, exitCode): Likewise.
4968
4969         * java/lang/natWin32Process.cc
4970         (java::lang::ConcreteProcess::cleanup): Define.
4971         (java::lang::ConcreteProcess::destroy): Likewise.
4972         (java::lang::ConcreteProcess::hasExited): Likewise.
4973         (java::lang::ConcreteProcess::waitFor): Likewise.
4974         (new_string): Likewise.
4975         (java::lang::ConcreteProcess::startProcess): Likewise.
4976
4977 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4978
4979         * java/math/BigInteger.java:
4980         Updated notice to include years 2002 and 3.
4981         Added 2 private (int) arrays with values from the HAC (Handbook of
4982         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4983         and t[] that contains nbr. of tests --used in isProbablePrime().
4984
4985         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4986
4987         * java/math/BigInteger.java (make(int[],int), add(int,int),
4988         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4989         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4990         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4991         make(long).
4992
4993         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4994         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4995         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4996         BIs and returns void.
4997         (modInverse(BI)): Use new signatures of euclidInv().
4998
4999         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5000         static small primes instead of remainder().
5001         Use pre-computed max nbr of trials based on bitlength of BI to test.
5002         Use pre-computed small primes for the trial tests instead of random
5003         numbers.
5004
5005         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5006         not used.
5007
5008         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5009         invoacation of MPN.chars_per_word().  not used.
5010
5011         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5012         local var and used where needed.
5013
5014         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5015         Combined declaration with initialisation of locals.
5016         Removed unused var.
5017
5018         * java/math/BigInteger.java: Style changes
5019         (pow(int)): Removed 'else' keyword.
5020         (toString(int)): idem.
5021         (doubleValue()): idem.
5022         (bitLength()): idem.
5023         (equals(Object)): Use static methods name in same class w/o prepending
5024         class name.
5025         (doubleValue()): idem.
5026         (setNegative(BI)): idem.
5027         (negate()): idem.
5028         (and(BI,int)): idem.
5029         (and(BI)): idem.
5030         (gcd(BI)): idem.
5031         (byteArrayToIntArray()): Removed casting to (int). this is
5032         std. behaviour.
5033         (canonicalize()): idem.
5034         (alloc(int)): Always instantiate a new BI.
5035
5036 2003-02-10  Tom Tromey  <tromey@redhat.com>
5037
5038         * java/sql/Timestamp.java (compareTo(Object)): New method.
5039         (compareTo(Timestamp)): Likewise.
5040         (serialVersionUID): Updated.
5041
5042 2003-02-07  Mark Wielaard  <mark@klomp.org>
5043
5044         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5045         when verify is true.
5046         (JarFile(File, boolean)): Likewise.
5047         (manifestRead): Set manifestRead field correctly.
5048
5049 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5050
5051         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5052         tests; see patch #1016 on Savannah.
5053
5054 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5055
5056         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5057         (toString): do not return Strings starting with . and - erroneously.
5058         Improves Mauve results to 12 of 600 instead of 16 of 338 on
5059         DiagBigDecimal.
5060
5061 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5062
5063         * java/beans/PropertyDescriptor.java
5064         (PropertyDescriptor(String, Class)): Sanity check getter and setter
5065         methods.
5066         (PropertyDescriptor(String, Class, String, String)): Likewise.
5067         (PropertyDescriptor(String, Method, Method): Factor out getter and
5068         setter method sanity checks into new method.
5069         (findMethods): Don't do parameter sanity checking of get method here.
5070         (checkMethods): New method.
5071
5072 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
5073
5074         * java/beans/PropertyDescriptor.java: Reformat.
5075
5076 2003-02-04  Tom Tromey  <tromey@redhat.com>
5077
5078         * java/io/PipedOutputStream.java (flush): Declare as throwing
5079         IOException.
5080         (close): Likewise.
5081         * java/io/PipedWriter.java (close): Declare as throwing
5082         IOException.
5083         * java/io/StringWriter.java (close): Declare as throwing
5084         IOException.
5085
5086 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5087
5088         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5089         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5090         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5091         "_JNI_OnLoad@8" (MSVC).
5092
5093 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5094
5095         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5096         convention on Win32 to invoke native JNI methods.
5097
5098 2003-02-03  Andrew Haley  <aph@redhat.com>
5099
5100         * configure.host (x86_64): Enable interpreter.
5101
5102 2003-02-03  Andrew Haley  <aph@redhat.com>
5103
5104         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5105         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5106         * configure.in (BACKTRACESPEC): New.
5107         * configure: Regenerate.
5108
5109 2003-02-02  Tom Tromey  <tromey@redhat.com>
5110
5111         * configure: Rebuilt.
5112         * configure.in (TOOLKIT) [xlib]: Set correctly.
5113
5114         * Makefile.in: Rebuilt.
5115         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5116         libstdc++.
5117
5118 2003-01-31  Mark WIelaard  <mark@klomp.org>
5119
5120         * Makefile.in: Rebuilt.
5121         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5122
5123 2003-01-31  Tom Tromey  <tromey@redhat.com>
5124
5125         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5126         cast to element type.
5127         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5128         (_Jv_JNI_GetObjectArrayElement): Likewise.
5129
5130         * Makefile.in: Rebuilt.
5131         * Makefile.am (cond_x_ltlibrary): Renamed library to
5132         lib-gnu-awt-xlib.la.
5133         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5134         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5135         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5136         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5137         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5138         (lib_gnu_awt_xlib_la_LINK): Likewise.
5139         (install-exec-hook): Removed.
5140         (lib-gnu-awt-xlib.la): Renamed.
5141
5142 2003-01-31  Tom Tromey  <tromey@redhat.com>
5143
5144         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5145         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5146         aclocal.m4 and lost in some merge.
5147
5148         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5149         Don't try to find graphics configuration.
5150         * java/awt/Toolkit.java (default_toolkit_name): Use new
5151         Configuration entry.
5152         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5153         New global.
5154         * configure: Rebuilt.
5155         * configure.in (TOOLKIT): New subst.
5156         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5157         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5158         directory.  Make output directories for .c files.
5159         * Makefile.in: Rebuilt.
5160         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5161         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5162         (all_java_source_files): Added new sources.
5163         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5164         (gtk_c_files): New macro.
5165         (gtk_c_source_files): New macro.
5166         (cond_gtk_ltlibrary): New macro.
5167         ($(gtk_c_files)): New target.
5168         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5169         (gtk_awt_peer_sources): New macro.
5170         (gtk_c_headers): New macro.
5171         ($(gtk_c_headers)): New target.
5172         (ACLOCAL_AMFLAGS): New macro.
5173         * gtk.m4, glib.m4, libart.m4: New files.
5174         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5175         gnu/java/awt/peer/gtk/GdkGraphics.java,
5176         gnu/java/awt/peer/gtk/GtkArg.java,
5177         gnu/java/awt/peer/gtk/GtkArgList.java,
5178         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5179         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5180         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5181         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5182         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5183         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5184         gnu/java/awt/peer/gtk/GtkClipboard.java,
5185         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5186         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5187         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5188         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5189         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5190         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5191         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5192         gnu/java/awt/peer/gtk/GtkImage.java,
5193         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5194         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5195         gnu/java/awt/peer/gtk/GtkListPeer.java,
5196         gnu/java/awt/peer/gtk/GtkMainThread.java,
5197         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5198         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5199         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5200         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5201         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5202         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5203         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5204         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5205         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5206         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5207         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5208         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5209         gnu/java/awt/peer/gtk/GtkToolkit.java,
5210         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5211         gnu/java/awt/peer/gtk/TestAWT.java,
5212         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5214         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5215         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5216         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5217         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5218         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5219         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5220         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5222         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5223         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5225         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5226         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5227         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5229         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5231         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5232         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5233         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5234         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5235         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5236         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5237         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5238         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5239         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5240         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5241         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5242         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5243         jni/classpath/native_state.c, jni/classpath/native_state.h,
5244         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5245
5246 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5247
5248         * java/util/Properties.java (load): Ignore backslash before EOF.
5249
5250 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5251
5252         * java/lang/natClass.cc (initializeClass): Check tables when
5253         (state == JV_STATE_IN_PROGRESS).
5254         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5255         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5256         interpreted classes.
5257         (linkClass0): Use _Jv_WaitForState.
5258
5259 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5260
5261         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5262         object when finished.
5263
5264 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5265
5266         * libjava/configure.host: Disable can_unwind_signal on darwin.
5267
5268 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5269
5270         Fixes PR java/9254:
5271         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5272         additionally containing id of the owner thread as well as
5273         the number of nested times the thread has acquired the mutex.
5274         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5275         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5276         (_Jv_MutexUnlock): Check if really the owner thread, reset
5277         owner thread id to 0 before leaving, if leaving for the last
5278         time.
5279         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5280         refcount.
5281         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5282         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5283         the passed mutex.
5284         Pass handle of the broadcast event, instead of a pointer to it
5285         in Win32 ResetEvent( ) call.
5286         Remove incorrect return values.
5287         (_Jv_CondDestroy): Close both event handles and delete
5288         critical section.
5289         (_Jv_CondNotify): Check if really the owner thread.
5290         (_Jv_CondNotifyAll): Check if really the owner thread.
5291         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5292         (really_start): Use SetEvent( ) to signal daemon_cond.
5293         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5294         WaitForSingleObject( ) instead to wait for daemon_cond to be
5295         signalled.
5296
5297 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5298
5299         * configure.in: Specifically define HAVE_BACKTRACE if building
5300         for MinGW.
5301         * include/win32.h: Remove HAVE_BACKTRACE definition.
5302         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5303         * configure: Rebuilt.
5304
5305 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5306
5307         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5308         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5309         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5310         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5311         * Makefile.in, configure: Rebuilt.
5312
5313 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5314
5315         Fixes PR java/9253:
5316         * java/io/natFileWin32.cc (performList): Append only "*.*"
5317         if the canonical file path already has a "\" at the end.
5318
5319 2003-01-24  Tom Tromey  <tromey@redhat.com>
5320
5321         * defineclass.cc (handleMethodsEnd): Precompute code for static
5322         method.
5323         (handleCodeAttribute): Likewise.
5324         * resolve.cc (ncode): Use run_class for unsynchronized static
5325         methods.
5326         * include/java-interp.h (class _Jv_InterpMethod): Declare
5327         run_class.
5328         * interpret.cc (run_synch_class): Initialize class.
5329         (run) [insn_invokestatic]: Don't initialize class.
5330         [insn_anewarray]: Likewise.
5331         [insn_multianewarray]: Likewise.
5332         (run_class): New function.
5333
5334 2003-01-24  Tom Tromey  <tromey@redhat.com>
5335
5336         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5337         comment.
5338
5339 2003-01-22  Andrew Haley  <aph@redhat.com>
5340
5341         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5342         * configure.host (CHECKREFSPEC): Define for x86_64.
5343
5344 2003-01-21  Tom Tromey  <tromey@redhat.com>
5345
5346         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5347         search at 2, not 3.
5348
5349 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5350
5351         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5352         looking at any characters.
5353         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5354         be used.
5355         (isAbsolute): Check path's length as well.
5356
5357 2003-01-17  Mark Wielaard  <mark@klomp.org>
5358
5359         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5360         (nat_source_files): Add natVMObjectStreamClass.cc.
5361         * Makefile.in: Regenerated.
5362         * gcj/javaprims.h (namespace java): Regenerated.
5363         * java/io/ObjectStreamClass.java (getClassUID): Call
5364         VMObjectStreamClass.hasClassInitializer().
5365         (hasClassInitializer): Removed.
5366         * java/io/VMObjectStreamClass.java: New class.
5367         * java/io/natVMObjectStreamClass.cc: New file.
5368         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5369
5370 2003-01-16  Mark Wielaard  <mark@klomp.org>
5371
5372         * java/net/SocketImpl.java (toString): Don't explicitly call
5373         toString() on possible null address.
5374
5375 2003-01-16  Michael Koch  <konqueror@gmx.de>
5376
5377         * java/net/MulticastSocket.java
5378         (setInterface): Reindented.
5379
5380 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5381
5382         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5383         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5384         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5385         translateY arguments.  Implement.
5386         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5387         down translation arguments.
5388         (drawPolyline, drawPolygon): Fix incorrect tests.
5389         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5390         translateX and translateY arguments.
5391
5392 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5393
5394         * Makefile.in: Rebuilt.
5395         * Makefile.am (xlib_includes): New macro.
5396         (INCLUDES): Use it.
5397
5398 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5399
5400         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5401         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5402         16-bit display mode.
5403
5404 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5405
5406         * java/awt/CardLayout.java (show): Rewrote.
5407         (gotoComponent): Removed `target' argument.  Simplified code.
5408         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5409         Changed all callers.
5410         (NONE): Removed.
5411         
5412 2003-01-14  Michael Koch  <konqueror@gmx.de>
5413
5414         * java/net/InetSocketAddress.java
5415         (serialVersionUID): New member variable.
5416         * java/net/NetPermission.java
5417         (NetPermission): Dont implement java.io.Serialization directly.
5418         * java/net/SocketAddress.java:
5419         (serialVersionUID): Documentation added.
5420         
5421 2003-01-14  Michael Koch  <konqueror@gmx.de>
5422
5423         * java/awt/Label.java
5424         (Label): Implements javax.accessibility.Accessible;
5425         * java/awt/List.java
5426         (List): Implements javax.accessibility.Accessible;
5427         * java/awt/ScrollPane.java
5428         (ScrollPane): Implements javax.accessibility.Accessible;
5429         * java/awt/Scrollbar.java
5430         (Scrollbar): Implements javax.accessibility.Accessible;
5431         * java/awt/TextComponent.java
5432         (setCaretPosition): Throw exception, documentation added.
5433         * java/awt/Toolkit.java:
5434         Added some newlines in method documentations.
5435         (createButton): Exception documentation added.
5436         (createTextField): Exception documentation added.
5437         (createLabel): Exception documentation added.
5438         (createList): Exception documentation added.
5439         (createCheckbox): Exception documentation added.
5440         (createScrollbar): Exception documentation added.
5441         (createScrollPane): Exception documentation added.
5442         (createTextArea): Exception documentation added.
5443         (createChoice): Exception documentation added.
5444         (createFrame): Exception documentation added.
5445         (createWindow): Exception documentation added.
5446         (createDialog): Exception documentation added.
5447         (createMenuBar): Exception documentation added.
5448         (createMenu): Exception documentation added.
5449         (createMenuItem): Exception documentation added.
5450         (createFileDialog): Exception documentation added.
5451         (createCheckboxMenuItem): Exception documentation added.
5452         (loadSystemColors): Exception documentation added.
5453         (setDynamicLayout): Exception documentation added.
5454         (isDynamicLayoutSet): Exception documentation added.
5455         (isDynamicLayoutActive): Exception documentation added.
5456         (getScreenSize): Exception documentation added.
5457         (getScreenResolution): Exception documentation added.
5458         (getScreenInsets): Exception documentation added.
5459         (getColorModel): Exception documentation added.
5460         (getSystemClipboard): Exception documentation added.
5461         (getSystemSelection): Exception documentation added.
5462         (getMenuShortcutKeyMask): Exception documentation added.
5463         (getSystemEventQueue): Exception documentation added.
5464         * java/awt/Window.java:
5465         Reindented some code.
5466         (Window): Centralized implementation, documentation added.
5467         (finalize): Documentation added.
5468         (hide): Fixed typo in comment.
5469         (getWindowListeners): Documentation added.
5470         * java/awt/color/ColorSpace.java
5471         (toRGB): Documentation added.
5472         * java/awt/color/ICC_ColorSpace.java
5473         (ICC_ColorSpace): Documentation added.
5474         (toRGB): Throw exception, documentation added.
5475         (fromRGB): Throw exception, documentation added.
5476         (toCIEXYZ): Documentation added.
5477         (fromCIEXYZ): Documentation added.
5478         (getMinValue): Documentation added.
5479         (getMaxValue): Documentation added.
5480         * java/awt/geom/Dimension2D.java
5481         (clone): Documentation added.
5482         * java/awt/geom/GeneralPath.java
5483         (clone): Documentation added.
5484         * java/awt/geom/Line2D.java
5485         (clone): Documentation added.
5486         * java/awt/geom/QuadCurve2D.java
5487         (clone): Documentation added.
5488         * java/awt/image/ColorModel.java
5489         (ColorModel): Throw exception, documentation added.
5490         * java/awt/image/ImageFilter.java
5491         (clone): Doesnt throw CloneNotSupportedException.
5492
5493 2003-01-14  Andrew Haley  <aph@redhat.com>
5494
5495         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5496         in a try block.
5497
5498 2003-01-10  Andrew Haley  <aph@redhat.com>
5499
5500         * include/dwarf2-signal.h: Remove x86_64.
5501         * configure.host (x86_64 DIVIDESPEC): Remove.
5502         * include/x86_64-signal.h: New file.
5503         * configure.in: Regenerate.
5504
5505 2003-01-10  Michael Koch  <konqueror@gmx.de>
5506
5507         * java/net/DatagramSocket.java
5508         (ch): Description added.
5509         (remotePort): Initialize with -1.
5510         (connect): Doesnt throws SocketException.
5511         * java/net/MulticastSocket.java
5512         (setInterface): Merge with Classpath.
5513         * java/net/ServerSocket.java
5514         (closed): New member variable.
5515         (bind): Check if socket is closed.
5516         (close): Close an associated channel too, set new value to closed.
5517         (isBound): Reindented.
5518         (isClosed): Implemented.
5519         * java/net/Socket.java
5520         (closed): New member variable.
5521         (bind): Check if socket is closed.
5522         (connect): Check if socket is closed.
5523         (close): Close an associated channel too, set new value to closed.
5524         (isClosed): Implemented.
5525
5526 2003-01-10  Michael Koch  <konqueror@gmx.de>
5527
5528         * java/awt/DisplayMode.java
5529         (equals): Fixed argument type and implementation.
5530
5531 2003-01-07  Tom Tromey  <tromey@redhat.com>
5532
5533         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5534         JV_HASH_SYNCHRONIZATION.
5535         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5536         JV_HASH_SYNCHRONIZATION.
5537
5538 2003-01-07  Michael Koch  <konqueror@gmx.de>
5539  
5540         * java/net/DatagramSocket.java:
5541         Added classpath license info.
5542         (DatagramSocket): Merged description with classpath.
5543         (close): Merged description with classpath.
5544         (getChannel): Merged description with classpath.
5545         (getInetAddress): Merged description with classpath.
5546         (getPort): Merged description with classpath.
5547         (getLocalAddress): Merged description with classpath.
5548         (getLocalPort): Merged description with classpath.
5549         (getSoTimeout): Merged description with classpath.
5550         (setSoTimeout): Merged description with classpath.
5551         (getSendBufferSize): Merged description with classpath.
5552         (setSendBufferSize): Merged description with classpath.
5553         (getReceiveBufferSize): Merged description with classpath.
5554         (setReceiveBufferSize): Merged description with classpath.
5555         
5556 2003-01-04  Tom Tromey  <tromey@redhat.com>
5557
5558         * java/awt/List.java: Merged with Classpath.
5559
5560 2003-01-03  Mark Wielaard  <mark@klomp.org>
5561
5562         * java/io/FileDescriptor.java (position): New private field.
5563         * java/io/natFileDescriptorPosix.cc (write): Up position.
5564         (setLength): Use and set position.
5565         (seek): Set position.
5566         (getFilePointer): Return position.
5567         (read): Up position.
5568
5569 2003-01-03  Mark Wielaard  <mark@klomp.org>
5570
5571         Merge with Classpath:
5572         * java/io/ObjectStreamClass.java (lookup): Split method and call
5573         lookupForClassObject().
5574         (lookupForClassObject): New method.
5575         (isProxyClass): New field.
5576         (setClass): Set isProxyClass, add object to classLookupTable, set
5577         superClass and calculateOffsets.
5578         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5579         and not a proxy class.
5580         (setFields): Set accessible true for serialPersistentFields.
5581         (getClassUID): Same for suid. And check if suid is of type long.
5582         (hasClassInitializer): Don't throw NoSuchMethodError.
5583
5584 2003-01-03  Mark Wielaard  <mark@klomp.org>
5585
5586         * java/io/FileInputStream.java (finalize): Don't explicitly
5587         finalize FileDescriptor.
5588
5589 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5590
5591         * configure.host (sparc*-*): Enable bytecode interpreter.
5592
5593 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5594
5595         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5596         Don't throw RemoteException.
5597         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5598         throw RemoteException.
5599
5600 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5601
5602         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5603         proxyHost): New static fields.
5604         (<clinit>): Initialize new fields.
5605         (connect): Use proxy if necessary.
5606         (usingProxy): Implement.
5607
5608 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5609
5610         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5611         (TreeIterator.remove): Prefer IllegalStateException over
5612         ConcurrentModificationException, to match Sun.
5613
5614 2002-12-22  Anthony Green  <green@redhat.com>
5615
5616         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5617
5618 2003-01-02  Mark Wielaard  <mark@klomp.org>
5619
5620         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5621         public.
5622         (HTTP_USE_PROXY): Add field.
5623         (getResponseVals): Only set responseCode when not yet explicitly
5624         set by subclass.
5625
5626 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5627             Mark Wielaard  <mark@klomp.org>
5628
5629         * java/util/zip/ZipFile.java (entries): Now HashMap.
5630         (readLeShort(DataInput, byte[])): Read from given byte array.
5631         (readLeInt(DataInput, byte[]): Likewise.
5632         (readLeShort(byte[] b, int off)): New method.
5633         (readLeInt(byte[] b, int off)): Likewise.
5634         (readEntries): Use byte arrays to read info in bigger chunks.
5635         (getEntries): Return HashMap.
5636         (getEntry): Use HashMap.
5637         (locBuf): New private field.
5638         (checkLocalHeader): Use locBuf to read info in one chunk.
5639         (getInputStream): Use entries HashMap, wrap PartialInputStream
5640         in BufferedInputStream.
5641         (ZipEntryEnumeration): Use HashMap and Interator.
5642
5643 2003-01-02  Mark Wielaard  <mark@klomp.org>
5644             Jeroen Frijters  <jeroen@sumatra.nl>
5645
5646         * java/net/URLClassLoader.java (Resource.getCodeSource):
5647         Fix check certs == null.
5648         (getCanonicalFileURL): Removed method.
5649         (JarURLLoader): Don't call removed method.
5650         (FileURLLoader): Likewise.
5651         (FileURLLoader.getResource): Don't canonicalize file name.
5652
5653 2003-01-01  Tom Tromey  <tromey@redhat.com>
5654
5655         * Makefile.in: Rebuilt.
5656         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5657         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5658         java/awt/BufferCapabilities.java, java/awt/Button.java,
5659         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5660         java/awt/Container.java, java/awt/Cursor.java,
5661         java/awt/EventQueue.java, java/awt/FileDialog.java,
5662         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5663         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5664         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5665         java/awt/Scrollbar.java, java/awt/TextArea.java,
5666         java/awt/TextField.java, java/awt/color/CMMException.java,
5667         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5668         java/awt/color/ProfileDataException.java,
5669         java/awt/datatransfer/Clipboard.java,
5670         java/awt/datatransfer/DataFlavor.java,
5671         java/awt/datatransfer/FlavorMap.java,
5672         java/awt/datatransfer/SystemFlavorMap.java,
5673         java/awt/dnd/DragGestureEvent.java,
5674         java/awt/dnd/DragGestureRecognizer.java,
5675         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5676         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5677         java/awt/im/InputMethodHighlight.java,
5678         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5679         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5680
5681         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5682         `op' to BufferedImageOp.
5683
5684 2002-12-31  Tom Tromey  <tromey@redhat.com>
5685
5686         Fix for PR libgcj/7416:
5687         * javax/naming/InitialContext.java (init): Use
5688         gnu.classpath.home.url.
5689         * java/security/Security.java: Use new properties.
5690         (loadProviders): Accept base url; use it.
5691         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5692         gnu.classpath.home.url.
5693         (gnu.classpath.home.url): Define.
5694         (gnu.classpath.vm.shortname): Likewise.
5695
5696 2002-12-31  Tom Tromey  <tromey@redhat.com>
5697             Ranjit Mathew  <rmathew@hotmail.com>
5698
5699         Fix for PR libgcj/8997:
5700         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5701         Include platform.h.
5702         * include/posix.h (_Jv_platform_usleep): New function.
5703         * include/win32.h (_Jv_platform_usleep): New function.
5704
5705 2002-12-29  Tom Tromey  <tromey@redhat.com>
5706
5707         * gcj/javaprims.h: Updated.
5708         * scripts/classes.pl (scan): Removed stray semicolon.
5709
5710 2002-12-30  Mark Wielaard  <mark@klomp.org>
5711
5712         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5713         if zero or smaller.
5714
5715 2002-12-30  Mark Wielaard  <mark@klomp.org>
5716
5717         * java/util/Properties (formatForOutput): Don't fall through to
5718         default case after escaping character.
5719
5720 2002-12-30  Mark Wielaard  <mark@klomp.org>
5721
5722         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5723         against count.
5724
5725 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5726
5727         * boehm.cc: Remove stray semicolon.
5728         * interpret.cc: Likewise.
5729         * prims.cc: Likewise.
5730         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5731         earlier to ensure default arguments are processed.
5732         * gcj/array.h (JArray): Add forward declaration.
5733         (elements): Likewise.
5734         * gcj/javaprim.h: Remove stray semicolons.
5735         * include/bohm-gc.h: Likewise.
5736         * include/jni.h: Likewise.
5737         * include/jvm.h: Likewise.
5738         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5739         
5740 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5741
5742         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5743         of catch_type.
5744         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5745         idt tables after initializing superclass.
5746         * java/lang/natClassLoader.cc (uaddr): New typedef.
5747         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5748         if they are constant pool indicies.  Don't link vtable, otable yet.
5749
5750 2002-12-21  Anthony Green  <green@redhat.com>
5751
5752         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5753         libraries.
5754         * Makefile.in: Rebuilt.
5755
5756 2002-12-19  Anthony Green  <green@redhat.com>
5757
5758         * Makefile.am (ordinary_java_source_files): Add
5759         org/xml/sax/helpers/NewInstance.java.
5760         * Makefile.in: Rebuilt.
5761         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5762         org/xml/sax/helpers/package.html: New files.
5763         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5764         http://www.saxproject.org.
5765
5766 2002-12-19  Andrew Haley  <aph@redhat.com>
5767
5768         * java/util/natResourceBundle.cc: Include
5769         ArrayIndexOutOfBoundsException.h.
5770         (getCallingClassLoader): Don't put upper bound on stack search.
5771         Catch ArrayIndexOutOfBoundsException.
5772
5773 2002-12-19  Tom Tromey  <tromey@redhat.com>
5774
5775         * libtool-version: Increased `current'.
5776
5777 2002-12-19  Tom Tromey  <tromey@redhat.com>
5778
5779         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5780         comment.
5781         * java/lang/ClassLoader.java (defineClass): Use chained
5782         exception when rethrowing.
5783         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5784         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5785         constants.
5786         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5787         (_Jv_PrepareClass): Use it.
5788         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5789         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5790         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5791         (Class): _Jv_PrepareMissingMethods now friend.
5792         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5793         Record `NULL' for system class loader.
5794         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5795         system class loader.
5796         (_Jv_FindClassInCache): Likewise.
5797         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5798         (_Jv_FindClass): Special case system class loader.
5799         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5800         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5801         vtable slots.
5802         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5803         in a final class.
5804         (_getDeclaredMethod): Don't return synthetic methods.
5805         (getDeclaredMethods): Likewise.
5806         (_getMethod): Likewise.
5807         (_getMethods): Likewise.
5808
5809 2002-12-18  Raif Naffah  <raif@fl.net.au>
5810
5811         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5812         canonical form after divide().
5813         (modInverse): Likewise.
5814
5815 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5816             Mark Wielaard  <mark@klomp.org>
5817
5818         * java/security/SecurityRandom (digest): Removed field.
5819         (SecureRandom): Check all providers for case-insensitive SecureRandom
5820         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5821         if necessary.
5822         (getInstance(String,Provider,boolean): New method.
5823         (getInstance(String)): Use new method.
5824         (getInstance(String,String)): Likewise.
5825         (getInstance(String,Provider)): Likewise.
5826
5827 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5828
5829         * java/security/Security.java (loadProviders): Increment i only once.
5830
5831 2002-12-12  Mark Wielaard  <mark@klomp.org>
5832
5833         * java/lang/ClassLoader.java (resolveClass0): Transform
5834         ClassNotFoundException to NoClassDefFoundError. Transform all other
5835         throwables to LinkageError.
5836
5837 2002-12-11  Tom Tromey  <tromey@redhat.com>
5838
5839         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5840
5841         * java/lang/ClassLoader.java (loadedClasses): New field.
5842         (defineClass): Fixed indentation.  Put new class in
5843         loadedClasses.
5844         (findLoadedClass): Implement here.
5845         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5846
5847 2002-12-10  Tom Tromey  <tromey@redhat.com>
5848
5849         * Makefile.in: Rebuilt.
5850         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5851         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5852         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5853         * java/lang/natClassLoader.cc
5854         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5855
5856 2002-12-10  Mark Wielaard  <mark@klomp.org>
5857             Tom Tromey  <tromey@redhat.com>
5858
5859         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5860         (JarURLLoader): Use it.
5861         (FileURLLoader): Likewise.
5862         (JarURLResource.getURL): Use chained exception.
5863         (FileResource.getURL): Likewise.
5864         (FileURLLoader.getResource): Use canonical file name.
5865         (addURL): Indentation fix.
5866
5867 2002-12-10  Tom Tromey  <tromey@redhat.com>
5868
5869         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5870         From Laurent Bardet <l.bardet@magic.fr>.
5871
5872 2002-12-09  Tom Tromey  <tromey@redhat.com>
5873
5874         * include/win32.h (_Jv_platform_solib_prefix): New define.
5875         (_Jv_platform_solib_suffix): Likewise.
5876         * include/posix.h (_Jv_platform_solib_prefix): New define.
5877         (_Jv_platform_solib_suffix): Likewise.
5878         * java/lang/natRuntime.cc: Include StackTrace.h.
5879         (_load): Use findLibrary and new platform defines.
5880         (nativeGetLibname): Use new platform defines.
5881
5882         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5883         `t' won't be null.
5884
5885 2002-12-08  Mark Wielaard  <mark@klomp.org>
5886
5887         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5888         cache remote jar files.
5889         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5890         add File.separator to URL when it is a directory.
5891         * java/lang/ClassLoader.java: Add Classpath javadoc.
5892         (parent): final.
5893         (getParent): Add (disabled) security check.
5894         (findLibrary): New default method.
5895         * java/net/JarURLConnection.java (getManifest): Implement.
5896         (getInputStream): Only create InputStream when entry exists.
5897         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5898         when they exist.
5899         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5900
5901 2002-12-08  Mark Wielaard  <mark@klomp.org>
5902
5903         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5904         (lastDefaultLocale): New field.
5905         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5906         resourceBundleCache.
5907
5908 2002-12-06  Mark Wielaard  <mark@klomp.org>
5909
5910         * java/net/InetAddress.java (toString): Use hostname when not null,
5911         don't do an explicit reverse getHostName() lookup.
5912         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5913         NullPointerException.
5914
5915 2002-12-06  Tom Tromey  <tromey@redhat.com>
5916
5917         * include/java-interp.h (class _Jv_InterpMethod): Added
5918         JV_MARKOBJ_DECL.
5919         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5920         mark `prepared' field of interpreted method.
5921         * interpret.cc (compile): Use _Jv_AllocBytes.
5922
5923 2002-12-05  Andrew Haley  <aph@redhat.com>
5924
5925         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5926         #ifdef (HAVE_BACKTRACE) around the whole function body.
5927
5928 2002-12-05  Tom Tromey  <tromey@redhat.com>
5929
5930         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5931         * resolve.cc: Don't include AbstractMethodError.h.
5932         (_Jv_abstractMethodError): Removed.
5933         * defineclass.cc (handleMethodsBegin): Initialize method index to
5934         -1.
5935         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5936         method index for "new" final method.
5937         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5938         isVirtualMethod.  Added `flags' argument.
5939         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5940         class.
5941
5942 2002-12-04  Tom Tromey  <tromey@redhat.com>
5943
5944         * java/net/SocketPermission.java (hashCode): Rewrote.
5945
5946 2002-12-04  Tom Tromey  <tromey@redhat.com>
5947
5948         * Makefile.in: Rebuilt.
5949         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5950         natResourceBundle.
5951         * java/util/ResourceBundle.java (Security): Removed.
5952         (getCallingClassLoader): Now native.
5953         * java/util/natResourceBundle.cc: New file.
5954         * java/lang/natVMSecurityManager.cc: New file.
5955         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5956
5957 2002-12-03  Mark Wielaard  <mark@klomp.org>
5958
5959         * java/util/jar/JarFile.java (manifest): Not final.
5960         (manifestRead): New field.
5961         (JarFile): Don't read Manifest in constructor.
5962         (getManifest): New method.
5963         (JarEnumeration.nextElement): Use new method.
5964         (getEntry): Likewise.
5965         * java/util/zip/ZipFile.java (name): Final.
5966         (raf): Likewsie.
5967         (entries): Change type to Hashtable.
5968         (closed): New field.
5969         (ZipFile): Don't read enties in constructor.
5970         (readEntries): Use Hashtable.
5971         (close): Set new close flag and set entries to null inside
5972         synchronized block.
5973         (entries): Contruct enumeration using new getEntries() method and
5974         entries Hashtable.
5975         (getEntryIndex): Removed.
5976         (getEntries): New method.
5977         (getEntry): Use new getEntries() method and entries Hastable.
5978         (getInputStream): Likewise.
5979         (size): Return getEntries().size().
5980         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5981         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5982         (time): Removed
5983         (dostime): New field.
5984         (zipFileIndex): Removed.
5985         (ZipEntry(ZipEntry)): Copy dostime.
5986         (setDOSTime): Now final and doesn't convert dos time.
5987         (getDOSTime): Likewise.
5988         (setTime): Convert dos time.
5989         (getTime): Likewise.
5990         (getCalendar): New method.
5991         (setExtra): Use setTime().
5992         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5993
5994 2002-12-03  Tom Tromey  <tromey@redhat.com>
5995
5996         * java/lang/Character.java (forDigit): Formatting fix.
5997
5998 2002-12-03  Raif Naffah  <raif@fl.net.au>
5999
6000         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6001         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6002         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6003
6004 2002-12-03  Andrew Haley  <aph@redhat.com>
6005
6006         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6007         _Jv_PushClass.
6008         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6009         (_Jv_PopClass): New.
6010         (_Jv_PushClass): New.
6011         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6012         discover the ClassLoader of our caller.
6013         (_Jv_CheckArrayStore): Don't check that a class is assignment
6014         compatible with Object.
6015         * java/lang/natVMTHrowable.cc: Delete.
6016         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6017         java.lang.VMThrowable.
6018         (StackTrace(), StackTrace(int)): New constructors.
6019         (classAt, methodAt, update, methodAtAddress): New methods.
6020         (map): New field.
6021         * java/lang/VMThrowable.java: Use StackTrace instead of
6022         natVMTHrowable.
6023         * java/lang/Class.h (getClassLoaderInternal): New.
6024         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6025         Be friendly with gnu::gcj::runtime::StackTrace.
6026         (Object.chain): New field.
6027         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6028         gnu::gcj::runtime::StackTrace.
6029         * gnu/gcj/runtime/natStackTrace.cc: New file.
6030         * gnu/gcj/runtime/MethodRef.java: New file.
6031         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6032         instead of getClassLoader().
6033         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6034         java::lang::VMThrowable.
6035         * Makefile.am (core_java_source_files): Add MethodRef.java,
6036         StackTrace.java.
6037         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6038         * Makefile.in: Rebuild.
6039
6040 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
6041
6042         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6043         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6044         yes also for sh-linux* and sh[34]*-linux*.
6045         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6046         set SIGNAL_HANDLER to use DWARF2 exception for them.
6047         * configure: Regenerate.
6048
6049 2002-12-02  Tom Tromey  <tromey@redhat.com>
6050
6051         * jni.cc: Added `name' argument.
6052         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6053         `const char *' argument.
6054         (class _Jv_JNIEnv) [DefineClass]: Likewise.
6055
6056 2002-12-01  Tom Tromey  <tromey@redhat.com>
6057
6058         Bug compatibility, for PR libgcj/8738:
6059         * java/io/CharArrayWriter.java (close): Do nothing.
6060         (flush): Likewise.
6061         (reset): Don't touch `closed'.
6062         (write(int)): Don't throw IOException.
6063         (write(char[],int,int)): Likewise.
6064         (write(String,int,int)): Likewise.
6065         (closed): Removed.
6066
6067 2002-12-01  Mark Wielaard  <mark@klomp.org>
6068
6069         * java/lang/SecurityManager.java: Remerge comments, indenting and
6070         checkXXX methods with Classpath.
6071
6072 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
6073
6074         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6075         getNormalizedComponents): Fix calculation which was using one too
6076         many bits in the unnormalized format.
6077
6078 2002-11-29  Gary Benson  <gbenson@redhat.com>
6079
6080         For PR libgcj/8759:
6081         * java/beans/Introspector.java (flushCaches): New method.
6082         (flushFromCaches): Likewise.
6083
6084 2002-11-29  Michael Koch <konqueror@gmx.de>
6085
6086         * java/nio/channels/DatagramChannel.java
6087         (open): Added exception documentation.
6088         (write): Added exception documentation.
6089         (connect): Added exception documentation.
6090         (disconnect): Added exception documentation.
6091         (isConnected): Added exception documentation.
6092         (read): Added exception documentation.
6093         (receive): Added exception documentation.
6094         (send): Added exception documentation.
6095         (validOps): Added exception documentation.
6096         * java/nio/channels/SocketChannel.java
6097         (open): Added exception documentation.
6098         (read): Added exception documentation.
6099         (write): Added exception documentation.
6100         (connect): Added exception documentation.
6101         (finishConnect): Added exception documentation.
6102
6103 2002-11-29  Michael Koch <konqueror@gmx.de>
6104
6105         * gnu/java/nio/DatagramChannelImpl:
6106         (fd): New member variable to store file descriptor of socket.
6107         * gnu/java/nio/SelectionKeyImpl.java:
6108         (ops): Removed.
6109         (readyOps): New member variable.
6110         (interestOps): New member variable.
6111         (readyOps): Implemented.
6112         (readyOps): New method to set member variable readyOps.
6113         (interestOps): Replaced ops by interestOps.
6114         * gnu/java/nio/SelectorImpl.java:
6115         (SelectorImpl): Initialize key sets.
6116         (select): Call select with -1 instead of Long.MAX_VALUE).
6117         (java_do_select): Make it a native method.
6118         (getFDsAsArray): New helper method.
6119         (select): Remove canceled keys, give only interested file discriptors
6120         to java_do_select, set ready ops.
6121         (add): No need to initialize keys set here.
6122         (add_selected): No need to initialize selected set here.
6123         (deregisterCanceledKeys): New helper method.
6124         (register): Set interest ops, set attachments, added handling of datagram
6125         channels.
6126         * gnu/java/nio/ServerSocketChannelImpl:
6127         (SocketAccept): Renamed from NioSocketAccept.
6128         (implConfigureBlocking): Implemented.
6129         (accept): Use SocketAccept instead of NioSocketAccept.
6130         * gnu/java/nio/SocketChannelImpl:
6131         Reactivate native methods.
6132
6133 2002-11-29  Michael Koch <konqueror@gmx.de>
6134
6135         * gnu/java/nio/natByteBufferImpl.cc,
6136         gnu/java/nio/natCharBufferImpl.cc,
6137         gnu/java/nio/natDoubleBufferImpl.cc,
6138         gnu/java/nio/natFloatBufferImpl.cc,
6139         gnu/java/nio/natIntBufferImpl.cc,
6140         gnu/java/nio/natLongBufferImpl.cc,
6141         gnu/java/nio/natSelectorImpl.cc,
6142         gnu/java/nio/natServerSocketChannelImpl.cc,
6143         gnu/java/nio/natShortBufferImpl.cc,
6144         gnu/java/nio/natSocketChannelImpl.cc:
6145         New files that implement native functionalities.
6146
6147 2002-11-29  Michael Koch <konqueror@gmx.de>
6148
6149         * gnu/java/nio/ByteBufferImpl.java
6150         (ByteBufferImpl): Moved position() after limit.
6151         (nio_*): Use native implementation.
6152         * gnu/java/nio/CharBufferImpl.java:
6153         Reformated.
6154         (endian): New member variable string endianess of buffer.
6155         (CharBufferImpl): Moved position() after limit.
6156         (nio_*): Use native implementation.
6157         (subSequence): Implemented.
6158         * gnu/java/nio/DoubleBufferImpl.java
6159         (DoubleBufferImpl): Moved position() after limit.
6160         (nio_*): Use native implementation.
6161         * gnu/java/nio/FloatBufferImpl.java
6162         Reformated.
6163         (FloatBufferImpl): Moved position() after limit.
6164         (nio_*): Use native implementation.
6165         * gnu/java/nio/IntBufferImpl.java
6166         Added needed imports, Reformated.
6167         (IntBufferImpl): Moved position() after limit.
6168         (nio_*): Use native implementation.
6169         * gnu/java/nio/LongBufferImpl.java
6170         Reformated.
6171         (LongBufferImpl): Moved position() after limit.
6172         (nio_*): Use native implementation.
6173         * gnu/java/nio/ShortBufferImpl.java
6174         Reformated.
6175         (ShortBufferImpl): Moved position() after limit.
6176         (nio_*): Use native implementation.
6177
6178 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6179
6180         * java/util/Locale.java (toString): Improve efficiency if country
6181         and variant are both empty.
6182
6183 2002-11-26  Tom Tromey  <tromey@redhat.com>
6184
6185         * verify.cc (pop_init_ref): New method.
6186         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6187         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6188         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6189         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6190         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6191         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6192         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6193         let `this' argument be uninitialized.  Don't let `null' be passed
6194         as `this' to construtor.
6195
6196 2002-11-26  Mark Wielaard  <mark@klomp.org>
6197
6198         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6199         * javax/transaction/HeuristicMixedException.java: Likewise.
6200         * javax/transaction/HeuristicRollbackException.java: Likewise.
6201         * javax/transaction/InvalidTransactionException.java: Likewise.
6202         * javax/transaction/NotSupportedException.java: Likewise.
6203         * javax/transaction/RollbackException.java: Likewise.
6204         * javax/transaction/Status.java: Likewise.
6205         * javax/transaction/Synchronization.java: Likewise.
6206         * javax/transaction/SystemException.java: Likewise.
6207         * javax/transaction/Transaction.java: Likewise.
6208         * javax/transaction/TransactionManager.java: Likewise.
6209         * javax/transaction/TransactionRequiredException.java: Likewise.
6210         * javax/transaction/TransactionRolledbackException.java: Likewise.
6211         * javax/transaction/UserTransaction.java: Likewise.
6212         * javax/transaction/xa/XAException.java: Likewise.
6213         * javax/transaction/xa/XAResource.java: Likewise.
6214         * javax/transaction/xa/Xid.java: Likewise.
6215
6216 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6217
6218         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6219         define.
6220         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6221         * include/posix.h (socklen_t): Define if not already defined.
6222
6223 2002-11-25  Tom Tromey  <tromey@redhat.com>
6224
6225         * verify.cc (type::compatible): Backed out broken change.
6226
6227         * verify.cc (type::compatible): Check initialization status
6228         first.
6229         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6230         Don't use NULLCHECK.
6231
6232 2002-11-23  H.J. Lu <hjl@gnu.org>
6233
6234         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6235         Include ../config/accross.m4.
6236         * aclocal.m4; Rebuild.
6237         * configure: Likewise.
6238
6239 2002-11-23  Mark Wielaard  <mark@klomp.org>
6240
6241         * javax/naming/AuthenticationException.java: Update copyright header.
6242         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6243         * javax/naming/Binding.java: Likewise.
6244         * javax/naming/CannotProceedException.java: Likewise.
6245         * javax/naming/CommunicationException.java: Likewise.
6246         * javax/naming/CompositeName.java: Likewise.
6247         * javax/naming/CompoundName.java: Likewise.
6248         * javax/naming/ConfigurationException.java: Likewise.
6249         * javax/naming/Context.java: Likewise.
6250         * javax/naming/ContextNotEmptyException.java: Likewise.
6251         * javax/naming/InitialContext.java: Likewise.
6252         * javax/naming/InsufficientResourcesException.java: Likewise.
6253         * javax/naming/InterruptedNamingException.java: Likewise.
6254         * javax/naming/LimitExceededException.java: Likewise.
6255         * javax/naming/LinkException.java: Likewise.
6256         * javax/naming/LinkLoopException.java: Likewise.
6257         * javax/naming/LinkRef.java: Likewise.
6258         * javax/naming/MalformedLinkException.java: Likewise.
6259         * javax/naming/NameAlreadyBoundException.java: Likewise.
6260         * javax/naming/NameClassPair.java: Likewise.
6261         * javax/naming/NameNotFoundException.java: Likewise.
6262         * javax/naming/NameParser.java: Likewise.
6263         * javax/naming/NamingEnumeration.java: Likewise.
6264         * javax/naming/NamingSecurityException.java: Likewise.
6265         * javax/naming/NoInitialContextException.java: Likewise.
6266         * javax/naming/NoPermissionException.java: Likewise.
6267         * javax/naming/NotContextException.java: Likewise.
6268         * javax/naming/OperationNotSupportedException.java: Likewise.
6269         * javax/naming/PartialResultException.java: Likewise.
6270         * javax/naming/Reference.java: Likewise.
6271         * javax/naming/Referenceable.java: Likewise.
6272         * javax/naming/ReferralException.java: Likewise.
6273         * javax/naming/ServiceUnavailableException.java: Likewise.
6274         * javax/naming/SizeLimitExceededException.java: Likewise.
6275         * javax/naming/TimeLimitExceededException.java: Likewise.
6276         * javax/naming/directory/Attribute.java: Likewise.
6277         * javax/naming/directory/AttributeInUseException.java: Likewise.
6278         * javax/naming/directory/AttributeModificationException.java: Likewise.
6279         * javax/naming/directory/Attributes.java: Likewise.
6280         * javax/naming/directory/BasicAttribute.java: Likewise.
6281         * javax/naming/directory/BasicAttributes.java: Likewise.
6282         * javax/naming/directory/DirContext.java: Likewise.
6283         * javax/naming/directory/InitialDirContext.java: Likewise.
6284         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6285         Likewise.
6286         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6287         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6288         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6289         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6290         * javax/naming/directory/ModificationItem.java: Likewise.
6291         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6292         * javax/naming/directory/SchemaViolationException.java: Likewise.
6293         * javax/naming/directory/SearchControls.java: Likewise.
6294         * javax/naming/directory/SearchResult.java: Likewise.
6295         * javax/naming/event/EventContext.java: Likewise.
6296         * javax/naming/event/EventDirContext.java: Likewise.
6297         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6298         * javax/naming/event/NamingEvent.java: Likewise.
6299         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6300         * javax/naming/event/NamingListener.java: Likewise.
6301         * javax/naming/event/ObjectChangeListener.java: Likewise.
6302         * javax/naming/ldap/Control.java: Likewise.
6303         * javax/naming/ldap/ControlFactory.java: Likewise.
6304         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6305         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6306         * javax/naming/ldap/HasControls.java: Likewise.
6307         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6308         * javax/naming/ldap/LdapContext.java: Likewise.
6309         * javax/naming/ldap/LdapReferralException.java: Likewise.
6310         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6311         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6312         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6313         * javax/naming/spi/DirObjectFactory.java: Likewise.
6314         * javax/naming/spi/DirStateFactory.java: Likewise.
6315         * javax/naming/spi/DirectoryManager.java: Likewise.
6316         * javax/naming/spi/InitialContextFactory.java: Likewise.
6317         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6318         * javax/naming/spi/NamingManager.java: Likewise.
6319         * javax/naming/spi/ObjectFactory.java: Likewise.
6320         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6321         * javax/naming/spi/ResolveResult.java: Likewise.
6322         * javax/naming/spi/Resolver.java: Likewise.
6323         * javax/naming/spi/StateFactory.java: Likewise.
6324
6325         * javax/naming/spi/NamingManager.java (ofb): Package private.
6326
6327 2002-11-21  Mark Wielaard  <mark@klomp.org>
6328
6329         * java/net/URL.java: Merge with Classpath (partly).
6330         * java/net/URLStreamHandler: Merge with Classpath.
6331
6332 2002-11-22  Michael Koch <konqueror@gmx.de>
6333
6334         * include/posix.h:
6335         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6336         * include/win32.h:
6337         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6338         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6339
6340 2002-11-21  Michael Koch <konqueror@gmx.de>
6341
6342         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6343         Only the new network functions should be in it.
6344
6345 2002-11-21  Michael Koch <konqueror@gmx.de>
6346
6347         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6348         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6349
6350 2002-11-21  Michael Koch <konqueror@gmx.de>
6351
6352         * java/nio/channels/AsynchronousCloseException.java,
6353         java/nio/channels/CancelledKeyException.java,
6354         java/nio/channels/ClosedByInterruptException.java,
6355         java/nio/channels/ConnectionPendingException.java,
6356         java/nio/channels/FileLockInterruptionException.java,
6357         java/nio/channels/IllegalSelectorException.java,
6358         java/nio/channels/NoConnectionPendingException.java,
6359         java/nio/channels/NonReadableChannelException.java,
6360         java/nio/channels/NonWritableChannelException.java,
6361         java/nio/channels/NotYetBoundException.java,
6362         java/nio/channels/NotYetConnectedException.java,
6363         java/nio/channels/OverlappingFileLockException.java,
6364         java/nio/channels/UnresolvedAddressException.java,
6365         java/nio/channels/UnsupportedAddressTypeException.java:
6366         New files.
6367         * Makefile.am (ordinary_java_source_files): Added new files.
6368         * Makefile.in: Regenerated.
6369
6370 2002-11-21  Michael Koch <konqueror@gmx.de>
6371
6372         * include/posix.h
6373         (_Jv_socket): New method.
6374         (_Jv_connect): New method.
6375         (_Jv_close): New method.
6376         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6377         (_Jv_bind): New method.
6378         (_Jv_listen): New method.
6379         (_Jv_write): New method.
6380         (_Jv_read): New method.
6381         * include/win32.h
6382         (_Jv_socket): New method.
6383         (_Jv_connect): New method.
6384         (_Jv_close): New method.
6385         (_Jv_bind): New method.
6386         (_Jv_listen): New method.
6387         (_Jv_write): New method.
6388         (_Jv_read): New method.
6389         * java/net/natNetworkInterface.cc:
6390         Include platform.h, removed inclusion of socket.h
6391         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6392         ::close() by _Jv_close().
6393         * java/net/natPlainDatagramSocketImpl.cc:
6394         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6395         added some new lines to make code more readable.
6396         (create): Replaced ::socket() by _Jv_socket().
6397         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6398         * java/net/natPlainSocketImpl.cc:
6399         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6400         removed include of socket.h, removed some windows defines
6401         (now in include/win32.h).
6402         (create): Replaced ::socket() by _Jv_socket().
6403         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6404         (write): Replaced ::read by _Jv_write().
6405         (read): Replaced ::read by _Jv_read().
6406
6407 2002-11-20  Michael Koch <konqueror@gmx.de>
6408
6409         * Makefile.am (ordinary_java_source_files):
6410         Added java/nio/channels/FileChannel.java.
6411         * Makefile.in: Regenerated.
6412
6413 2002-11-20  Michael Koch <konqueror@gmx.de>
6414
6415         * java/io/FileInputStream.java
6416         (getChannel): New method.
6417         * java/io/FileOutputStream.java
6418         (getChannel): New method.
6419         * java/net/ServerSocket.java
6420         (bind): Removed duplicate code and called another bind method instead.
6421         * java/nio/channels/SelectionKey.java
6422         (isValid): Removed wrong exception documentation.
6423         * java/nio/channels/ServerSocketChannel.java
6424         (accept): Added exception documentation.
6425         (open): Fixed typo, added exception documentation.
6426         * java/nio/channels/spi/AbstractSelectableChannel.java
6427         (implCloseChannel): Added exception documentation.
6428         (add): Reformated.
6429         (register): Added exception documentation.
6430
6431 2002-11-20  Andreas Jaeger  <aj@suse.de>
6432
6433         * configure: Regenerated with new libtool.m4.
6434
6435 2002-11-19  Tom Tromey  <tromey@redhat.com>
6436
6437         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6438         `referent'.
6439         (finalize_referred_to_object): Don't modify `referent' or `copy'
6440         fields.
6441         (add_to_hash): Correctly set `n->next' when updating list.
6442         * java/lang/ref/Reference.java (enqueue): Return false if already
6443         enqueued.
6444
6445 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6446
6447         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6448         to function and function pointer declarations in accordance with
6449         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6450         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6451         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6452         JNI function definitions.
6453
6454 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6455
6456         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6457         that was causing CoderResults to be cached, not WeakReferences
6458         to CoderResults.
6459
6460 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6461
6462         * java/security/KeyStore.java (getInstance): Fix
6463         comment and throw IllegalArgumentException if
6464         given provider is null.
6465         (getInstance): New method for jdk1.4 compatibility.
6466
6467 2002-11-18  Michael Koch <konqueror@gmx.de>
6468
6469         * java/net/PlainSocketImpl.java: Fix imports.
6470
6471 2002-11-18  Michael Koch <konqueror@gmx.de>
6472
6473         * java/nio/channels/SelectionKey.java
6474         (isValid): Added exception documentation.
6475         * java/nio/channels/Selector.java
6476         (open): Declare "throws IOException".
6477
6478 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6479
6480         * java/nio/charset/Charset.java
6481         (<clinit>): New method.
6482         (encode): Synchronize use of cached encoder object.
6483         (decode): Synchronize use of cached encoder object.
6484
6485 2002-11-18  Michael Koch <konqueror@gmx.de>
6486
6487         * gnu/java/nio/ByteBufferImpl.java,
6488         gnu/java/nio/CharBufferImpl.java,
6489         gnu/java/nio/DatagramChannelImpl.java,
6490         gnu/java/nio/DoubleBufferImpl.java,
6491         gnu/java/nio/FileChannelImpl.java,
6492         gnu/java/nio/FloatBufferImpl.java,
6493         gnu/java/nio/IntBufferImpl.java,
6494         gnu/java/nio/LongBufferImpl.java,
6495         gnu/java/nio/PipeImpl.java,
6496         gnu/java/nio/SelectionKeyImpl.java,
6497         gnu/java/nio/SelectorImpl.java,
6498         gnu/java/nio/SelectorProviderImpl.java,
6499         gnu/java/nio/ServerSocketChannelImpl.java,
6500         gnu/java/nio/ShortBufferImpl.java,
6501         gnu/java/nio/SocketChannelImpl.java,
6502         java/nio/DoubleBuffer.java,
6503         java/nio/FloatBuffer.java,
6504         java/nio/IntBuffer.java,
6505         java/nio/LongBuffer.java,
6506         java/nio/ShortBuffer.java,
6507         java/nio/channels/FileChannel.java: New files.
6508
6509 2002-11-18  Michael Koch <konqueror@gmx.de>
6510
6511         * Makefile.am (ordinary_java_source_files):
6512         Added java/nio/ReadOnlyBufferException.java and
6513         java/nio/channels/ClosedSelectorException.java.
6514         * Makefile.in: Regenerated.
6515
6516 2002-11-18  Michael Koch <konqueror@gmx.de>
6517
6518         * java/net/PlainSocketImpl.java: Reworked imports.
6519         * java/net/ServerSocket.java
6520         (ServerSocket): Create socket.
6521         * java/net/SocketAddress.java: Documentation added.
6522         * java/net/natPlainSocketImpl.cc: Reindented.
6523         * java/nio/ReadOnlyBufferException.java: New file
6524         * java/nio/channels/ClosedChannelException.java: Documentation added.
6525         * java/nio/channels/ClosedSelectorException.java: New file.
6526
6527 2002-11-17  Mark Wielaard  <mark@klomp.org>
6528
6529         * java/net/HttpURLConnection.java ((getPermission): Take port
6530         into consideration.
6531         (getErrorStream): Implement.
6532
6533 2002-11-17  Mark Wielaard  <mark@klomp.org>
6534
6535         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6536
6537 2002-11-16  Mark Wielaard  <mark@klomp.org>
6538
6539         Integrate work by Raif S. Naffah (raif@fl.net.au)
6540         * java/security/DummyKeyPairGenerator.java (clone): New method.
6541         * java/security/DummyMessageDigest.java (clone): New method.
6542         (engineUpdate): Now public.
6543         (engineReset): Likewise.
6544         (engineDigest): Likewise.
6545         (engineGetDigestLength): New method.
6546         * java/security/DummySignature.java (clone): New method.
6547         * java/security/KeyPairGenerator.java (provider): Now package private.
6548         (getInstance(String)): Use getInstance(String,Provider).
6549         (getInstance(String,String): Use getInstance(String,Provider)
6550         (getInstance(String,Provider): New method.
6551         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6552         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6553         * java/security/MessageDigest.java (provider): Now package private.
6554         (getInstance(String): Use getInstance(String,Provider).
6555         (getInstance(String,String): Use getInstance(String,Provider)
6556         (getInstance(String,Provider): New method.
6557         * java/security/Provider.java (toCanonicalKey): New method.
6558         (get): New method that uses toCanonicalKey().
6559         (put): Use toCanonicalKey().
6560         (remove): Likewise.
6561         * java/security/Security.java (insertProviderAt): Provider index is one
6562         based, not zero based.
6563         (addProvider): Likewise.
6564         (removeProvider): Likewise.
6565         * java/security/Signature.java (provider): Now package private.
6566         (getInstance(String)): Use getInstance(String,Provider).
6567         (getInstance(String,String): Use getInstance(String,Provider)
6568         (getInstance(String,Provider): New method.
6569         (getInstance(String,String,Provider): Don't cast DummySignature.
6570
6571 2002-11-15  Tom Tromey  <tromey@redhat.com>
6572
6573         For PR libgcj/8593:
6574         * java/util/zip/GZIPInputStream.java (read): Check file size.
6575         Look in inflater for remaining input bytes.
6576         (read4): Added buf and offset arguments.
6577
6578 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6579
6580         * java/applet/AppletContext.java: Fix typo and remove redundant
6581         modifiers.
6582
6583 2002-11-14  Tom Tromey  <tromey@redhat.com>
6584
6585         * java/lang/natRuntime.cc (insertSystemProperties): Set
6586         gnu.classpath.home.
6587
6588 2002-11-13  Michael Koch <konqueror@gmx.de>
6589
6590         * java/nio/ByteBuffer.java
6591         (allocate): New method.
6592         (wrap): New method.
6593         (put): New method.
6594         (get): New method.
6595
6596 2002-11-13  Michael Koch <konqueror@gmx.de>
6597
6598         * java/nio/channels/AlreadyConnectedException.java:
6599         Removed unneeded import.
6600         (AlreadyConnectedException): Documentation added.
6601         * java/nio/channels/Pipe.java
6602         (SinkChannel.SinkChannel): Documentation added.
6603         (SinkChannel.validOps): New method.
6604         (SourceChannel.SourceChannel): Documentation added.
6605         (SourceChannel.validOps): New method.
6606         (Pipe): Documentation added.
6607         (open): Documentation added.
6608         (SinkChannel.channel): Documentation added.
6609         (SourceChannel.channel): Documentation added.
6610         * java/nio/channel/SelectableChannel.java
6611         (SelectableChannel): Documentation added.
6612         (blockingLock): Documentation added.
6613         (configureBlocking):Documentation added.
6614         (isBlocking):Documentation added.
6615         (isRegistered):Documentation added.
6616         (keyFor):Documentation added.
6617         (provider):Documentation added.
6618         (register): Documentation added.
6619         (validOps): Documentation added.
6620         * jaba/nio/channels/SelectionKey.java
6621         (SelectionKey): Documentation added.
6622         (attach): Documentation added.
6623         (attachment): Documentation added.
6624         (isAcceptable): Documentation added.
6625         (isConnetable): Documentation added.
6626         (isReadable): Documentation added.
6627         (isWritable): Documentation added.
6628         (cancel): Documentation added.
6629         (channel): Documentation added.
6630         (interestOps): Documentation added.
6631         (isValid): Documentation added.
6632         (readyOps): Documentation added.
6633         (selector): Documentation added.
6634         * jaba/nio/channels/Selector.java
6635         (Selector): Documentation added.
6636         (open): Documentation added.
6637         (close): Documentation added.
6638         (isOpen): Documentation added.
6639         (keys): Documentation added.
6640         (provider): Documentation added.
6641         (select): Documentation added.
6642         (selectedKeys): Documentation added.
6643         (selectNow): Documentation added.
6644         (wakeup): Documentation added.
6645         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6646         (AbstractInterruptibleChannel): Documentation added.
6647         (opened): Default to true;
6648         (begin): Documentation added.
6649         (close): Set opened to false, documentation added.
6650         (isOpen): Documentation added.
6651         * java/nio/channels/spi/AbstractSelectionKey.java
6652         (AbstractSelectionKey): Documentation added.
6653         (cancel): Documentation added.
6654         (isValid): Documentation added.
6655         * java/nio/channels/spi/AbstractSelector.java
6656         (AbstractSelector): Documentation added.
6657         (begin): Documentation added.
6658         (close): Documentation added.
6659         (isOpen): Documentation added.
6660         (deregister): Documentation added.
6661         (end): Documentation added.
6662         (provider): Documentation added.
6663         (implCloseSelector): Documentation added.
6664         (register): Documentation added.
6665         * java/nio/channels/spi/SelectorProvider.java
6666         (SelectorProvider): Documentation added.
6667         (openDatagramChannel): Documentation added.
6668         (openPipe): Documentation added.
6669         (openSelector): Documentation added.
6670         (openServerSocketChannel): Documentation added.
6671         (openSocketChannel): Documentation added.
6672         (provider): Documentation added.
6673
6674 2002-11-12  Michael Koch <konqueror@gmx.de>
6675
6676         * java/nio/Buffer.java: Implemented.
6677         * java/nio/CharBuffer.java: New file.
6678         * java/nio/InvalidMarkException.java: New file.
6679         * java/nio/channels/DatagramChannel.java: Implemented.
6680         * java/nio/channels/ServerSocketChannel.java: Implemented.
6681         * java/nio/channels/SocketChannel.java: Implemented.
6682         * java/nio/channels/spi/AbstractChannel.java: Removed.
6683         * java/nio/channels/spi/AbstractSelectableChannel.java:
6684         Implemented.
6685         * java/nio/charset/Charset.java:
6686         Merge from Classpath.
6687         * java/nio/charset/CharsetDecoder.java: New file.
6688         * java/nio/charset/CharsetEncoder.java: New file.
6689         * java/nio/charset/CoderResult.java: New file.
6690         * Makefile.am (ordinary_java_source_files): Added new files.
6691         * Makefile.in: Regenerated.
6692
6693 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6694
6695         * gnu/java/nio/charset/ISO_8859_1.java,
6696         gnu/java/nio/charset/Provider.java,
6697         gnu/java/nio/charset/US_ASCII.java,
6698         gnu/java/nio/charset/UTF_16.java,
6699         gnu/java/nio/charset/UTF_16BE.java,
6700         gnu/java/nio/charset/UTF_16Decoder.java,
6701         gnu/java/nio/charset/UTF_16Encoder.java,
6702         gnu/java/nio/charset/UTF_16LE.java,
6703         gnu/java/nio/charset/UTF_8.java: New files.
6704
6705 2002-11-11  Michael Koch <konqueror@gmx.de>
6706
6707         * java/nio/charset/CharacterCodingException.java:
6708         This class must be public.
6709         * java/nio/charset/CoderMalfunctionError.java:
6710         This class must be public.
6711         * java/nio/charset/CodingErrorAction.java:
6712         This class must be public.
6713         * java/nio/charset/IllegalCharsetNameException.java:
6714         This class must be public, better implementation.
6715         * java/nio/charset/MalformedInputException.java:
6716         This class must be public, better implementation.
6717         * java/nio/charset/UnmappableCharacterException.java:
6718         This class must be public, better implementation.
6719         * java/nio/charset/UnsupportedCharsetException.java:
6720         This class must be public, better implementation.
6721
6722 2002-11-11  Michael Koch <konqueror@gmx.de>
6723
6724         * java/nio/BufferOverflowException.java,
6725         java/nio/BufferUnderflowException.java: New file.
6726         * Makefile.am (ordinary_java_source_files):
6727         Added new files.
6728         * Makefile.in: Regenerated.
6729
6730 2002-11-10  Tom Tromey  <tromey@redhat.com>
6731
6732         * java/awt/Container.java (validate): Use tree lock.
6733         (getComponent): Likewise.
6734         (getComponents): Likewise.
6735         (addImpl): Likewise.
6736         (remove): Likewise.
6737         (removeAll): Likewise.
6738         (processEvent): Fixed indentation.
6739         (getComponentAt): Use tree lock.
6740         (findComponentAt): Likewise.
6741         (removeNotify): Likewise.
6742         (isAncestorOf): Likewise.
6743         (list): Likewise.
6744         (visitChildren): Likewise.
6745         (findNextFocusComponent): Likewise.
6746         (addNotifyContainerChildren): Likewise.
6747         (getAccessibleChildrenCount): Likewise.
6748         (getAccessibleChild): Likewise.
6749
6750         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6751         (getSize): Likewise.
6752         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6753         (getSize): Likewise.
6754         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6755         (calcSize): Likewise.
6756         * java/awt/CardLayout.java (getSize): Use tree lock.
6757         (gotoComponent): Likewise.
6758         (layoutContainer): Likewise.
6759
6760         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6761         count is 0.
6762         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6763         count is 0.
6764
6765         * java/io/Externalizable.java, java/io/FilePermission.java,
6766         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6767         java/io/SerializablePermission.java, java/text/Format.java,
6768         java/util/AbstractMap.java, java/util/HashMap.java,
6769         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6770         versions from Classpath.
6771
6772 2002-11-10  Anthony Green  <green@redhat.com>
6773
6774         * java/util/jar/Attributes.java (Name): Fix name check.
6775
6776 2002-11-10  Mark Wielaard  <mark@klomp.org>
6777
6778         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6779         with getName() as message.
6780         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6781         type as message.
6782
6783         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6784         unused.
6785
6786 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6787
6788         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6789         for Win32. JNICALL has been defined to __stdcall to be compatible
6790         with Sun's JDKs.
6791
6792 2002-11-10  Tom Tromey  <tromey@redhat.com>
6793
6794         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6795         (setRows): Check newRows, not rows.
6796
6797         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6798
6799 2002-11-09  Tom Tromey  <tromey@redhat.com>
6800
6801         * java/applet/Applet.java, java/applet/AppletContext.java,
6802         java/applet/AppletStub.java, java/applet/AudioClip.java,
6803         java/awt/CardLayout.java,
6804         java/awt/ContainerOrderFocusTraversalPolicy.java,
6805         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6806         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6807         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6808         java/awt/color/ICC_ColorSpace.java,
6809         java/awt/color/ICC_Profile.java,
6810         java/awt/color/ICC_ProfileGray.java,
6811         java/awt/color/ICC_ProfileRGB.java,
6812         java/awt/datatransfer/DataFlavor.java,
6813         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6814         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6815         New versions from Classpath.
6816         * Makefile.in: Rebuilt.
6817         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6818         ICC_ProfileRGB.
6819
6820         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6821         display policy.
6822
6823         * java/awt/List.java (processEvent): Added missing `else's.
6824
6825         * java/awt/Window.java (show): validate() before showing.  Make
6826         parent displayable.
6827         (isDisplayable): New method.
6828
6829 2002-11-07  Mark Wielaard  <mark@klomp.org>
6830
6831         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6832         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6833
6834         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6835         annotation.
6836         (loadClass): Take String as codebases.
6837         (getClassAnnotation): Use MyClassLoader annotations.
6838         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6839         call exportObject(this).
6840
6841         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6842         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6843         (setAnnotation): Don't set locBytesStream and locStream.
6844         (replaceObject): Removed.
6845         (flush): Don't test locStream.
6846         (getLocBytes): LikeWise.
6847         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6848         (leaseCache): New field.
6849         (dirty): Use leaseCache.
6850         (LeaseRecord): New inner class.
6851         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6852         explicitly call exportObject().
6853         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6854         false to communicate with Sun JDK130.
6855         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6856         * gnu/java/rmi/server/RMIObjectInputStream.java
6857         (UnicastConnectionManager): Removed field.
6858         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6859         Use UnicastServer.getExportedRef().
6860         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6861         (expireTime): Likewise.
6862         (CONNECTION_TIMEOUT): Likewise.
6863         (disconnect): Call sock.close().
6864         (isExpired): New method.
6865         (resetTime): Likewise.
6866         (run): Use do while loop and catch Exception for discardConnection().
6867         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6868         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6869         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6870         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6871         (exportObject): Use refcache.
6872         (unexportObject): Likewise.
6873         (getExportedRef): New method.
6874         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6875         constructor.
6876         (exportObject): Save manager.serverobj.
6877         (getStub): New method.
6878
6879 2002-11-07  Mark Wielaard  <mark@klomp.org>
6880
6881         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6882         (getByte): Likewise.
6883         (getShort): Likewise.
6884         (getInt): Likewise.
6885         (getLong): Likewise.
6886         (getFloat): Likewise.
6887         (getDouble): Likewise.
6888         (get): Likewise.
6889         (setChar): Likewise.
6890         (setByte): Likewise.
6891         (setShort): Likewise.
6892         (setInt): Likewise.
6893         (setLong): Likewise.
6894         (setFloat): Likewise.
6895         (setDouble): Likewise.
6896
6897 2002-11-07  Michael Koch <konqueror@gmx.de>
6898
6899         * java/awt/Choice.java,
6900         java/awt/Container.java,
6901         java/awt/GridBagLayout.java:
6902         Fixed documentation.
6903         * java/awt/peer/ContainerPeer.java:
6904         Reindented.
6905
6906 2002-11-07  Michael Koch <konqueror@gmx.de>
6907
6908         * java/awt/color/ICC_Profile.java:
6909         Added missing constants.
6910         * java/awt/color/ICC_ColorSpace.java
6911         (getMinValue): Added dummy implementation.
6912         (getMaxValue): Added dummy implementation.
6913         * java/awt/datatransfer/DataFlavor.java
6914         (imageFlavor): Added.
6915         (isMimeTypeEqual): Must be final.
6916         (getDefaultRepresentationClass): Must be non-static.
6917         (getDefaultRepresentationClassAsString): Must be non-static.
6918         * java/awt/dnd/DragSourceContext.java
6919         (dragExit): Corrected argument.
6920         (dragDropEnd): Corrected argument.
6921         * java/awt/dnd/DragSourceListener.java.java
6922         (dragExit): Corrected argument.
6923         (dragDropEnd): Corrected argument.
6924         * java/awt/font/TextHitInfo.java
6925         (toString): Added stubbed implementation.
6926         * java/awt/geom/PathIterator.java:
6927         The constants must be static.
6928         * java/awt/image/VolatileImage.java
6929         (IMAGE_INCOMPATIBLE): Fixed typo.
6930         * java/awt/image/renderable/RenderableImage.java
6931         (HINTS_OBSERVED): Must be static.
6932         * java/beans/BeanInfo.java:
6933         Constants must be final.
6934
6935 2002-11-06  Tom Tromey  <tromey@redhat.com>
6936
6937         From svens@it.uu.se.  For PR libgcj/8481.
6938         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6939
6940 2002-11-06  Tom Tromey  <tromey@redhat.com>
6941
6942         * jni.cc (array_from_valist): Assume that jlong won't be
6943         promoted.
6944
6945 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6946
6947         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6948         Return 20.
6949         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6950         Return 16.
6951
6952 2002-11-03  Tom Tromey  <tromey@redhat.com>
6953
6954         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6955         VMClassLoader, not findClass.
6956
6957 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6958
6959         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6960         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6961         _Jv_DetermineVTableIndex, to determine vtable offset.
6962         (_Jv_DetermineVTableIndex): Remove.
6963         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6964
6965         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6966
6967 2002-11-03  Tom Tromey  <tromey@redhat.com>
6968
6969         * java/nio/channels/AlreadyConnectedException.java: Extend
6970         IllegalStateException, per spec.
6971
6972 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6973
6974         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6975
6976 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6977
6978         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6979         size items.
6980
6981 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6982
6983         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6984         initial estimated size to avoid enlarge buffer frequently.
6985
6986 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6987
6988         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6989         ClassLoader when null.
6990         (ProxyType.hashCode): Loader null check no longer needed.
6991         (ProxyType.sameTypes): New method.
6992         (ProxyType.equals): Use new method.
6993
6994 2002-10-31  Mark Wielaard  <mark@klomp.org>
6995
6996         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6997         length of String.
6998         * java/net/URLEncoder.java (encode): Likewise.
6999
7000 2002-10-31  Mark Wielaard  <mark@klomp.org>
7001
7002         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7003         when stream is closed.
7004         (closeEntry): Likewise.
7005         (read): Likewise.
7006         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7007         ZipException when no entry active.
7008         (closeEntry): Likewise.
7009         (write): Likewise.
7010
7011 2002-11-02  Tom Tromey  <tromey@redhat.com>
7012
7013         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7014         * java/lang/natClass.cc (initializeClass): Don't return just
7015         because self==thread.
7016
7017         For PR java/8415:
7018         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7019         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7020
7021 2002-11-02  Andreas Schwab  <schwab@suse.de>
7022
7023         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7024         pass GCJFLAGS.
7025         (FLAGS_TO_PASS): Define.
7026         * Makefile.in: Regenerated.
7027
7028 2002-11-01  Michael Koch  <konqueror@gmx.de>
7029
7030         * java/nio/ByteOrder.java: New file.
7031         * java/nio/channels/DatagramChannel.java:
7032         (DatagramChannel): New constructor.
7033         * java/nio/channels/Pipe.java: New file.
7034         * java/nio/channels/SelectableChannel.java: New file.
7035         * java/nio/channels/SelectionKey.java: New file.
7036         * java/nio/channels/Selector.java: New file.
7037         * java/nio/channels/ServerSocketChannel.java
7038         (ServerSocketChannel): New constructor.
7039         * java/nio/channels/SocketChannel.java
7040         (SocketChannel): New constructor.
7041         * java/nio/channels/Pipe.java: New file.
7042         * java/nio/channels/spi/AbstractChannel.java: New file.
7043         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7044         * java/nio/channels/spi/AbstractSelectableChannel.java:
7045         License added
7046         (AbstractSelectableChannel): New stubbed method.
7047         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7048         * java/nio/channels/spi/AbstractSelector.java: New file.
7049         * java/nio/channels/spi/SelectorProvider.java: New file.
7050         * java/nio/charset/Charset.java: New file.
7051         * java/nio/charset/CoderMalfunctionError.java: New file.
7052         * java/nio/charset/CodingErrorAction.java: New file.
7053         * java/nio/charset/spi/CharsetProvider.java
7054         (charsetForName): Uncommented.
7055         * Makefile.am (java_native_source_files): Added new files.
7056         * Makefile.in: Regenerated.
7057
7058 2002-11-01  Michael Koch  <konqueror@gmx.de>
7059
7060         * java/net/InetAddress.java:
7061         (isAnyLocalAddress): Implemented.
7062         (isLoopbackAddress): Implemented, comment added.
7063         (isLinkLocalAddress): Implemented, documentation added.
7064         (isSiteLocalAddress): Implemented, documentation added.
7065         (isMCGlobal): Implemented, documentation added.
7066         (isMCNodeLocal): Implemented, documentation added.
7067         (isMCLinkLocal): Implemented, documentation added.
7068         (isMCSiteLocal): Implemented, documentation added.
7069         (isMCOrgLocal): Implemented, documentation added.
7070         (getHostName): Documentation added.
7071         (getCanonicalHostName): Implemented, documentation added.
7072         (getAddress): Documentation added.
7073         (hashCode): Documentation added.
7074         (equals): Documentation added.
7075         (toString): Fixed implementation.
7076         (getByAddress): Use Inet4Address and Inet6Address.
7077         (lookup): New linewrap.
7078         (getByName): SecurityManager check added, support Inet4Address and
7079         Inet6address, comments added.
7080         (getAllByName): SecurityManager check added, comments added.
7081         * java/net/Inet6Address.java:
7082         (Inet6Address): Initialize parent class with addr instead of null.
7083         * java/net/URL.java
7084         (equals): Documentation added.
7085         (getFile): Documentation added.
7086         (hashCode): Documentation added.
7087         * java/net/natInetAddress.cc:
7088         (aton): Fix IPv6 support.
7089         * java/net/natPlainDatagramSocketImpl.cc:
7090         (peek): Throw PortUnreachableException when suitable.
7091         (peekData): Throw PortUnreachableException when suitable.
7092         (send): Throw PortUnreachableException when suitable.
7093         (receive): Throw PortUnreachableException when suitable.
7094
7095 2002-10-27  Mark Wielaard  <mark@klomp.org>
7096
7097         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7098         argument.
7099         (readLeShort): Likewise and use byte[].
7100         (readLeInt): Likewise.
7101         (readEntries): Use new versions of methods and use byte[] for reading
7102         a complete zip entry. Add ZipFile name to exceptions.
7103         (entries): Add ZipFile name to exceptions.
7104         (getEntry): Likewise.
7105         (checkLocalHeader): Use new versions of methods and add ZipFile name
7106         to exceptions.
7107
7108 2002-10-31  Mark Anderson  <mark@panonet.net>
7109
7110         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7111         added
7112
7113 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7114
7115         * configure.in: Disable hash sync when not using threads.
7116         * configure: Regenerated.
7117
7118 2002-10-24  Tom Tromey  <tromey@redhat.com>
7119
7120         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7121         (_Jv_FindSymbolInExecutable): Removed argument name.
7122         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7123         java.library.path is set.
7124
7125         * gij.cc (help): Document --showversion.
7126         (version): Don't exit.
7127         (main): Handle --showversion.  Exit if --version given.
7128
7129 2002-10-23  Tom Tromey  <tromey@redhat.com>
7130
7131         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7132         (array_from_valist): Correctly handle promotion for jint, jlong,
7133         jfloat, and jdouble.
7134
7135 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7136
7137         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7138         GetFileAttributesEx( ) to find file length and modification times,
7139         as the latter is not present on Windows 95.
7140
7141 2002-10-21  Michael Koch  <konqueror@gmx.de>
7142
7143         * java/net/URL.java
7144         (URL): Activate SecurityManager checks.
7145         (equals): Use URLStreamHandler implementation instead of doing it
7146         alone. This allows special protocol stream handlers to change default
7147         behaviour.
7148         (hashCode): Use URLStreamHandler implementation instead of doing it
7149         alone. This allows special protocol stream handlers to change default
7150         behaviour.
7151         * java/net/URLStreamHandler.java
7152         (equals): Implemented default URL equality check.
7153         (hostsEqual): Implemented default URL equality check.
7154         (hashCode): Implemented default URL hashCode algorithm.
7155         * java/net/natPlainDatagramSocketImpl.cc:
7156         No lines longer then 80 characters.
7157
7158 2002-10-20  Adam Megacz <adam@xwt.org>
7159
7160         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7161         * configure.in: enabled hash sync on Win32
7162         * include/win32-threads.h (_Jv_ThreadId_t): added.
7163         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7164         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7165         removed some posix-isms, use Thread::sleep() instead of usleep,
7166         added code to clear bottom three bits if platform has a broken
7167         linker.
7168         * include/win32-threads.h (_Jv_ThreadId_t): added.
7169
7170 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7171
7172         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7173         runtime property "gnu.gcj.progname" containing the name used to
7174         invoke the current Java program (similar to argv[0] for C
7175         programs).
7176
7177 2002-10-15  Tom Tromey  <tromey@redhat.com>
7178
7179         Fix for PR libgcj/8234:
7180         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7181         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7182
7183 2002-10-13  Mark Wielaard  <mark@klomp.org>
7184
7185         * mauve-libgcj: Enable Mauve tests that compile now.
7186
7187 2002-10-11  Mark Wielaard  <mark@klomp.org>
7188
7189         Fix for PR libgcj/8142
7190         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7191         loading native modules.
7192
7193 2002-10-10  Michael Koch  <konqueror@gmx.de>
7194
7195         * javax/swing/AbstractListModel.java
7196         (getListDataListeners): New stubbed method.
7197         javax/swing/DefaultBoundedRangeModel.java
7198         (getChangeListeners): New stubbed method.
7199         javax/swing/DefaultSingleSelectionModel.java
7200         (getChangeListeners): New stubbed method.
7201
7202 2002-10-10  Michael Koch  <konqueror@gmx.de>
7203
7204         * gcj/.cvsignore: New file to ignore files generated during build.
7205         * include/.cvsignore: New file to ignore files generated during build.
7206
7207 2002-10-10  Michael Koch  <konqueror@gmx.de>
7208
7209         * java/net/HttpURLConnection.java
7210         (getPermission): New method.
7211         (getErrorStream): New stub method.
7212         (getHeaderFieldDate): New stub method.
7213         * java/net/Inet4Address.java:
7214         (isLinkLocalAddress): Typo fixed.
7215         * java/net/InetAddress.java:
7216         (readResolve): New stubbed method (for serialization).
7217         (isAnyLocalAddress): New stubbed method.
7218         (isLoopbackAddress): New stubbed method.
7219         (isLinkLocalAddress): New stubbed method.
7220         (isSiteLocalAddress): New stubbed method.
7221         (isMCGlobal): New stubbed method.
7222         (isMCNodeGlobal): New stubbed method.
7223         (isMCLinkLocal): New stubbed method.
7224         (isMCSiteLocal): New stubbed method.
7225         (isMCOrgLocal): New stubbed method.
7226         (getCanonicalHostName): New stubbed method.
7227         (getByAddress): Create instances of Inet4Address/Inet6Address,
7228         instead of InetAddress, documentation added.
7229         * java/net/MulticastSocket.java
7230         (getInterface): Removed FIXME.
7231         (getNetworkInterface): New method.
7232         (setNetworkInterface): New method.
7233         * java/net/NetworkInterface.java:
7234         (toString): Use property "line.separator" instead of "\n".
7235         * java/net/URLConnection.java
7236         (getContent): New stubbed method.
7237         * java/net/URLStreamHandler.java:
7238         (equals): New stubbed method.
7239         (hostsEqual): New stubbed method.
7240         (hashCode): New stubbed method.
7241         * java/net/natNetworkInterface.cc:
7242         (getRealNetworkInterfaces): Create Inet4Address object
7243         instead of InetAddress.
7244
7245 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7246
7247         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7248         unsigned long temporary to implement insn_iushr shifts.
7249
7250 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7251
7252         * configure.host [s390*-*]: Enable Java interpreter.
7253         Enable hash synchronization.  Add sysdeps dir.
7254         * sysdep/s390/locks.h: New file.
7255
7256 2002-10-06  Mark Wielaard  <mark@klomp.org>
7257
7258         * java/lang/Thread.java (setDaemon): Check startable_flag,
7259         not isAlive().
7260
7261 2002-10-07  Michael Koch  <konqueror@gmx.de>
7262
7263         * java/nio/Buffer.java: New stub file.
7264         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7265         of class Charset.
7266         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7267         * Makefile.in: Regenerated.
7268
7269 2002-10-07  Michael Koch  <konqueror@gmx.de>
7270
7271         * java/nio/ByteBuffer.java:
7272         removed import of not commited class.
7273
7274 2002-10-07  Michael Koch  <konqueror@gmx.de>
7275
7276         * java/nio/ByteBuffer.java,
7277         java/nio/MappedByteBuffer.java:
7278         New files, forgot to add these dummies.
7279         * Makefile.am (java_native_source_files): Added new files.
7280         * Makefile.in: Regenerated.
7281
7282 2002-10-07  Michael Koch  <konqueror@gmx.de>
7283
7284         * java/nio/channels/AlreadyConnectedException.java,
7285         java/nio/channels/ClosedChannelException.java,
7286         java/nio/channels/ReadableByteChannel.java,
7287         java/nio/channels/InterruptibleChannel.java,
7288         java/nio/channels/Channel.java,
7289         java/nio/channels/ByteChannel.java,
7290         java/nio/channels/GatheringByteChannel.java,
7291         java/nio/channels/ScatteringByteChannel.java,
7292         java/nio/channels/WritableByteChannel.java,
7293         java/nio/charset/CharacterCodingException.java,
7294         java/nio/charset/IllegalCharsetNameException.java,
7295         java/nio/charset/MalformedInputException.java,
7296         java/nio/charset/UnmappableCharacterException.java,
7297         java/nio/charset/UnsupportedCharsetException.java,
7298         java/nio/charset/spi/CharsetProvider.java: New file.
7299         These files are exceptions or interfaces,
7300         no real or abstract classes.
7301         * Makefile.am (java_native_source_files): Added new files.
7302         * Makefile.in: Regenerated.
7303
7304 2002-10-05  Michael Koch  <konqueror@gmx.de>
7305
7306         * java/net/InetAddress.java
7307         (getByAddress): Fixed documentation.
7308         (getByAddress): New method.
7309         * java/net/Inet4Address.java: New file.
7310         * java/net/URL.java
7311         (URL): Documentation added.
7312         (getContent): Documentation added.
7313         (getContent): New stubbed method.
7314         (getQuery): New method.
7315         (openConnection): Documentation added.
7316         (openStream): Documentation added.
7317         (setURLStreamHandlerFactory): Documentation added.
7318         * java/net/URI.java: New stub file.
7319         * Makefile.am
7320         (java_native_source_files): Added java/net/Inet4Address.java,
7321         java/net/Inet6Address.java and java/net/URI.java.
7322         * Makefile.in: Regenerated.
7323
7324 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7325
7326         * java/lang/ProtectionDomain.java (linesep): Remove field.
7327         (toString): Use System.getProperty("line.separator").
7328
7329 2002-10-04  Michael Koch  <konqueror@gmx.de>
7330
7331         * java/security/Identity.java: Added serialVersionUID.
7332         * java/security/KeyPair.java: Added serialVersionUID.
7333         * java/security/Provider.java: Added serialVersionUID.
7334         * java/security/SecureRandom.java: Added serialVersionUID.
7335         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7336         * java/security/SignedObject.java: Added serialVersionUID.
7337         * java/security/cert/Certificate.java: Added serialVersionUID.
7338
7339 2002-10-04  Mark Wielaard <mark@klomp.org>
7340
7341         * java/security/Security.java: Use java.home or gnu.classpath.home
7342         to load providers.
7343         (loadProviders): Extra dir argument.
7344         (getProvider): Return null when not found.
7345
7346 2002-10-04  Mark Wielaard  <mark@klomp.org>
7347
7348         * java/lang/Throwable.java: Remerge with Classpath.
7349
7350 2002-10-04  Michael Koch  <konqueror@gmx.de>
7351
7352         * java/net/InetAddress.java:
7353         (isMulticastAddress): Added documentation.
7354         (getHostAddress): Added documentation.
7355         (toString): Added documentation.
7356         (getByAddress): Fixed documentation.
7357         (getByName): Added documentation.
7358         (getAllByName): Added documentation.
7359         (getLocalHost): Added documentation.
7360
7361 2002-10-04  Michael Koch  <konqueror@gmx.de>
7362
7363         * java/beans/beancontext/BeanContextChildSupport.java:
7364         Added serialVersionUID.
7365         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7366         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7367         * javax/naming/Name.java: Added serialVersionUID.
7368
7369 2002-10-03  Adam Megacz <adam@xwt.org>
7370
7371         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7372         some functionality that isn't supported yet on WIN32.
7373
7374 2002-10-03  Tom Tromey  <tromey@redhat.com>
7375
7376         * Makefile.in: Rebuilt.
7377         * Makefile.am (awt_java_source_files): Added new files.
7378
7379 2002-10-03  Michael Koch  <konqueror@gmx.de>
7380
7381         * java/net/InetAddress.java
7382         (class InetAddress): Removed final keyword.
7383         (equals): Fixed typo.
7384         (getByAddress): New method.
7385
7386 2002-10-03  Michael Koch  <konqueror@gmx.de>
7387
7388         * java/awt/dnd/Autoscroll.java:
7389         New file, merge from Classpath.
7390         * java/awt/dnd/DragSourceAdapter.java:
7391         (dragExit): Fixed typos in argument type.
7392         (dragDropEnd): Fixed typos in argument type.
7393         * java/awt/dnd/DragSourceDropEvent.java:
7394         New file, merge from Classpath.
7395         * java/awt/dnd/DropTarget.java:
7396         Added stubs, merge from Classpath.
7397         * java/awt/dnd/DropTargetAdapter.java:
7398         New file, merge from Classpath.
7399         * java/awt/dnd/DropTargetContext.java:
7400         New file, merge from Classpath.
7401         * java/awt/dnd/DropTargetDragEvent.java:
7402         New file, merge from Classpath.
7403         * java/awt/dnd/DropTargetDropEvent.java:
7404         New file, merge from Classpath.
7405         * java/awt/dnd/DropTargetEvent.java:
7406         New file, merge from Classpath.
7407         * java/awt/dnd/DropTargetListener.java:
7408         New file, merge from Classpath.
7409         * java/awt/dnd/MouseDragGestureRecognizer.java:
7410         New file, merge from Classpath.
7411         * java/awt/dnd/peer/DropTargetContextPeer.java:
7412         New file, merge from Classpath.
7413
7414 2002-10-03  Michael Koch  <konqueror@gmx.de>
7415
7416         * java/net/DatagramPacket.java
7417         (setLength): Fixed typo and be HTML-aware.
7418         * java/net/InetSocketAddress.java
7419         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7420         (equals): Added comment about equality of InetSocketAddress objects.
7421         * java/net/ServerSocket.java
7422         (accept): Added checks.
7423         (isClosed): New stubbed method.
7424         * java/net/SocketOptions.java: Reindention.
7425         * java/net/SocketPermission
7426         (SocketPermission): Documentation fixed.
7427
7428 2002-10-03  Michael Koch  <konqueror@gmx.de>
7429
7430         * java/net/DatagramSocket.java
7431         (receive): Check with SecurityManager AFTER the packet is received,
7432         check if connected to multicast address, documentation added.
7433         (send): Only check SecurityManager if connected, check address of
7434         packet to send.
7435         (connect): Implemented, documentation added.
7436         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7437         * java/net/InetSocketAddress.java
7438         (whole file): Reindented.
7439         (hostname): New attribute.
7440         (InetSocketAddress): Initialize new attribute.
7441         (getAddress): Documentation added.
7442         (getHostName): Documentation added.
7443         (getPort): Documentation added.
7444         (hashCode): Documentation added.
7445         (isUnresolved): Documentation added.
7446         (toString): Conform to output of JDK 1.4.1, documentation added.
7447         * java/net/MulticastSocket.java
7448         (joinGroup): Removed FIXME, documentation added.
7449         (leaveGroup): Removed FIXME, documentation added.
7450         (send): Documentation added.
7451         * java/net/Socket.java
7452         (inputShutdown): New variable.
7453         (outputShutdown): New variable.
7454         (Socket): Initialize new variables.
7455         (getRemoteSocketAddress): Check if connected.
7456         (shutdownInput): Set new variable.
7457         (shutdownOutput): Set new variable.
7458         (isConnected): New method.
7459         (isClosed): New method.
7460         (isInputShutdown): New method.
7461         (isOutputShutdown): New method.
7462         * java/net/URLStreamHandler.java
7463         (URLStreamHandler): New method.
7464         (openConnection): Added documentation.
7465         (parseURL): Added documentation.
7466         (getHostAddress): New method.
7467         (getDefaultPort): New method.
7468
7469 2002-10-02  Tom Tromey  <tromey@redhat.com>
7470
7471         * java/rmi/activation/ActivationDesc.java,
7472         java/rmi/activation/ActivationGroupDesc.java,
7473         java/rmi/activation/ActivationGroupID.java,
7474         java/rmi/activation/ActivationID.java: New versions from
7475         Classpath.
7476
7477 2002-09-30  Bo Thorsen  <bo@suse.de>
7478
7479         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7480
7481 2002-09-30  Tom Tromey  <tromey@redhat.com>
7482
7483         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7484         from Classpath.
7485         * Makefile.in: Rebuilt.
7486         * Makefile.am (rmi_java_source_files): Added new files.
7487         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7488         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7489         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7490         Classpath.
7491         * gnu/java/rmi/dgc/DGCImpl.java,
7492         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7493         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7494         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7495         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7496         gnu/java/rmi/server/RMIHashes.java,
7497         gnu/java/rmi/server/RMIObjectInputStream.java,
7498         gnu/java/rmi/server/RMIObjectOutputStream.java,
7499         gnu/java/rmi/server/UnicastConnection.java,
7500         gnu/java/rmi/server/UnicastConnectionManager.java,
7501         gnu/java/rmi/server/UnicastRef.java,
7502         gnu/java/rmi/server/UnicastServer.java,
7503         gnu/java/rmi/server/UnicastServerRef.java,
7504         java/rmi/MarshalledObject.java,
7505         java/rmi/server/RMIClassLoader.java,
7506         java/rmi/server/RemoteObject.java,
7507         java/rmi/server/UnicastRemoteObject.java,
7508         java/security/SecureClassLoader.java: Merged from Classpath.
7509
7510 2002-09-29  Anthony Green  <green@redhat.com>
7511
7512         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7513         Imported from GNU Classpath.
7514         * java/lang/reflect/natProxy.cc: New file.
7515         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7516         from GNU Classpath.
7517         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7518         Classpath.
7519         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7520         Classpath.
7521         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7522         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7523         New statics.
7524         * gcj/javaprims.h ("Java"): Add new classes.
7525         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7526         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7527         java/lang/reflect/Proxy$$ProxyType.h): And this.
7528         (inner_nat_headers): Add these new headers.
7529         (ordinary_java_source_files): Add new files.
7530         (nat_source_files): Add new file.
7531         * Makefile.in: Rebuilt.
7532
7533 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7534
7535         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7536         a single configuration.
7537
7538 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7539
7540         * java/util/TimeZone.java (getDSTSavings): New method.
7541         Fixes PR libgcj/7786.
7542
7543 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7544
7545         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7546         to see if `the_method == 0' before looking up vtable index.
7547         Fixes PR libgcj/7709.
7548
7549 2002-09-25  Tom Tromey  <tromey@redhat.com>
7550
7551         * java/lang/natClassLoader.cc:
7552         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7553         * resolve.cc: Include NoClassDefFoundError.h, not
7554         ClassNotFoundException.h.
7555         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7556
7557         * defineclass.cc: Don't include ClassNotFoundException.h.
7558
7559         * resolve.cc: Include StringBuffer.
7560         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7561
7562         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7563         allocated but not initialized.
7564
7565 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7566
7567         Fix for PR libgcj/7766:
7568         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7569         (getNextEntry): Set it.
7570         (closeEntry): Likewise.
7571         (read): Likewise.
7572         (close): Likewise.
7573         (available): Use it.
7574
7575 2002-09-25  Michael Koch  <konqueror@gmx.de>
7576
7577         * java/net/DatagramSocket.java
7578         (DatagramSocket): Initialize new instance variables.
7579         (close): Reset new instance variables.
7580         (getLocalAddress): Remove unneeded SecurityManager usage.
7581         (getLocalPort): Check if socket is already bound.
7582         (isConnected): New method.
7583         (getInetAddress): Implemented.
7584         (getPort): Better Implementation, documentation fixed.
7585         (getRemoteSocketAddress): New method.
7586         * java/net/JarURLConnection.java
7587         (element): Typo fixed.
7588         (getMainAttributes): New method.
7589         (getAttributes): New method (stub only).
7590         (getManifest): New method (stub only).
7591         * java/net/NetPermission.java: Added serialVersionsUID.
7592         * java/net/Socket.java
7593         (connect): Check blocking mode of associated channel,
7594         documentation added.
7595         (getLocalSocketAddress): Better implementation.
7596         (getRemoteSocketAddress): Implemented.
7597         (isBound): New method.
7598         (setSendBufferSize): Documentation added.
7599         * java/net/SocketAddress.java: Added serialVersionsUID.
7600         * java/net/SocketPermission.java: Added serialVersionsUID.
7601         * java/net/URL.java
7602         (URL): Wrap for shorter lines, initialize new instance variables,
7603         documentation added.
7604         (equals): Check new instance variables too.
7605         (getContent): Documentation added.
7606         (getPath): Documentation added.
7607         (getAuthority): New method.
7608         (getHost): Documentation added.
7609         (getPort): Documentation added.
7610         (getDefaultPort): New method.
7611         (getProtocol): Documentation added.
7612         (getUserInfo): Documentation added.
7613         (set): Initialize new instance variables, documentation added.
7614         * java/net/URLStreamHandler.java
7615         (setURL): New method.
7616         * java/net/natPlainDatagramSocketImpl.cc
7617         (connect): Fix exception name.
7618         (disconnect): Fix exception name.
7619
7620 2002-09-25  Michael Koch  <konqueror@gmx.de>
7621
7622         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7623         * java/nio/channels/DatagramChannel.java:
7624         extends AbstractSelectableChannel
7625         * java/nio/channels/ServerSocketChannel.java:
7626         extends AbstractSelectableChannel
7627         * java/nio/channels/SocketChannel.java:
7628         extends AbstractSelectableChannel
7629         * Makefile.am (ordinary_java_source_files):
7630         java/nio/channels/spi/AbstractSelectableChannel.java added.
7631         * Makefile.in: Regenerated.
7632
7633 2002-09-25  Michael Koch  <konqueror@gmx.de>
7634
7635         * java/net/DatagramSocket.java
7636         (DatagramSocket): Exception documentation added.
7637         (bind): Exception documentation added, addded SecurityManager check,
7638         added SocketAddress type check.
7639         (getSoTimeout): Check impl.
7640         (receive): Fix SecurityManager check, check impl, documentation added.
7641         (send): Check channel mode, documentation added.
7642         (connect): New method.
7643         (disconnect): Implemented.
7644         (getLocalSocketAddress): New method.
7645         (getReceiveBufferSize): Check impl.
7646         (setReuseAddress): Check impl.
7647         (getReuseAddress): Check impl.
7648         (setBroadcast): Check impl.
7649         (getBroadcast): Check impl.
7650         (setTrafficClass): Check impl, Documentation cleared.
7651         (getTrafficClass): Check impl.
7652         (getSendBufferSize): Check impl.
7653         (setReceiveBufferSize): Check impl, documentation added.
7654         (setSendBufferSize): Documentation added.
7655         (setDatagramSocketImplFactory): New method.
7656         * java/net/HttpURLConnection.java
7657         (HTTP_INTERNAL_ERROR): The correct code is 500.
7658         (HTTP_NOT_IMPLEMENTED): Added new constant.
7659         (setFollowRedirects): Documentation added.
7660         (getInstanceFollowRedirects): New method.
7661         (setInstanceFollowRedirects): New method.
7662         (setRequestMethod): Documentation added.
7663         (getResponseCode): Documentation added.
7664         (getResponseMessage): Documentation added.
7665         * java/net/JarURLConnection.java
7666         (JarURLConnection): protected since JDK 1.4.
7667         (getJarEntry): java.io.IOException to IOException, documentation added.
7668         (getJarFile): Documentation added.
7669         * java/net/ServerSocket.java
7670         (ServerSocket): Private to public, exception added.
7671         (ServerSocket): java.io.IOException to IOException, documentation added.
7672         (bind): Check socket address type, documentation added.
7673         (bind): java.io.IOException to IOException, documentation added.
7674         (accept): Documentation added.
7675         (implAccept): Check ch is not non-blocking, documentation added.
7676         (setSoTimeout): Documentation fixed.
7677         (setReceiveBufferSize): Documentation added.
7678         * java/net/Socket.java
7679         (Socket): Documentation added.
7680         (bind): Documentation added.
7681         (connect): Check socket address type, documentation added.
7682         (getRemoteSocketAddress): New method.
7683         (getLocalSocketAddress): New method.
7684         (setSoLinger): Documentation added.
7685         (getReuseAddress): New method.
7686         (setReuseAddress): New method.
7687         (getTrafficClass): New method.
7688         (setTrafficClass): New method.
7689         * java/net/URLStreamHandler.java
7690         (openConnection): java.io.IOException to IOException.
7691         (parseURL): Documentation added.
7692         (sameFile): public to protected, documentation added.
7693         (setURL): Documentation added.
7694         * java/nio/IllegalBlockingModeException.java: New file.
7695         * Makefile.am (ordinary_java_source_files):
7696         added java/nio/IllegalBlockingModeException.java
7697         * Makefile.in: Regenerated.
7698
7699 2002-09-25  Michael Koch  <konqueror@gmx.de>
7700
7701         * java/net/DatagramPacket
7702         (DatagramPacket): Exception documentation added.
7703         (setData): Likewise.
7704         (setSocketAddress): Likewise.
7705         * java/net/DatagramSocketImpl.java
7706         (peek): Documentation addded.
7707         (peekData): Documentation addded.
7708         (send): Documentation addded.
7709         (receive): Documentation addded.
7710         (connect): New method.
7711         (disconnect): New method.
7712         (joinGroup): New abstract method.
7713         (leaveGroup): New abstract method.
7714         * java/net/InetSocketAddress.java
7715         (InetSocketAddress): Documentation added.
7716         (equals): final keyword added.
7717         (getAddress): final keyword added.
7718         (getHostName): final keyword added.
7719         (getPort): final keyword added.
7720         (hashCode): final keyword added.
7721         (isUnresolved): final keyword added.
7722         * java/net/MulticastSocket.java
7723         (MulticastSocket): Documentation added.
7724         (MulticastSocket): New method.
7725         (joinGroup): Documentation added.
7726         (joinGroup): New method.
7727         (leaveGroup): Documentation added.
7728         (leaveGroup): New method.
7729         (send): Documentation added.
7730         * java/net/NetworkInterface.java
7731         (getByName): Documentation added.
7732         (getByInetAddress): Documentation added.
7733         (getNetworkInterfaces): Documentation added.
7734         * java/net/PlainDatagramSocketImpl.java
7735         (connect): New method.
7736         (disconnect): New method.
7737         * java/net/SocketImpl.java
7738         (create): Documentation added.
7739         (shutdownInput): Convert public to protected, as it always was.
7740         (shutdownOutput): Convert public to protected, as it always was.
7741         * java/net/SocketOptions.java
7742         (whole file): Reintented.
7743         * java/net/URLClassLoader.java
7744         (URLClassLoader): SecurityManager check added, documentation added.
7745         (findResources): Documentation added.
7746         (findClass): Documentation added.
7747         (newInstance): More correct method arguments.
7748         * java/net/URLConnection.java
7749         (connect): Documentation added.
7750         (getContent): Documentation added.
7751         (getPermission): Documentation added.
7752         (getInputStream): Documentation added.
7753         (getOutputStream): Documentation added.
7754         (setDoInput): Throw correct exception, documentation added.
7755         (setDoOutput): Throw correct exception, documentation added.
7756         (setAllowUserInteraction): Throw correct exception, documentation added.
7757         (setUseCaches): Throw correct exception, documentation added.
7758         (setIfModifiedSince): Throw correct exception, documentation added.
7759         (setRequestProperty): Throw exception, documentation added.
7760         (addRequestProperty): Throw exception, documentation added.
7761         (getRequestProperty): Throw exception, documentation added.
7762         (getRequestProperties): Documentation added.
7763         (setContentHandlerFactory): Documentation added.
7764         (guessContentTypeFromName): protected to public.
7765         (setFileNameMap): Documentation added.
7766         * java/net/URLDecoder.java
7767         (URLDecoder): New method.
7768         (decode): Documentation added.
7769         (whole file): Reindented.
7770         * java/net/URLEncoder.java
7771         (encode): Documentation added.
7772         * java/net/natPlainDatagramSocketImpl.cc
7773         (connect): New method.
7774         (disconnect): New method.
7775         * javax/naming/RefAddr:
7776         (addrType): addrType was never final.
7777         (equals): Fix typo in method name.
7778         * javax/naming/BinaryRefAddr:
7779         (equals): Fix typo in method name.
7780
7781 2002-09-22  Tom Tromey  <tromey@redhat.com>
7782
7783         Fix for PR libgcj/6576:
7784         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7785         didn't find a given bundle.
7786         (getBundle): Don't require base bundle.
7787         (setParent): Removed old comment.
7788         (tryLocalBundle): Try components even if preceding components were
7789         empty.
7790
7791 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7792
7793         * Makefile.am (all-multi): Fix multilib parallel build.
7794
7795 2002-09-21  Michael Koch  <konqueror@gmx.de>
7796
7797         * java/net/Socket.java
7798         (sendUrgentData): New method.
7799         (getChannel): New method.
7800         * java/net/ServerSocket.java
7801         (getChannel): New method.
7802         (isBound): New method.
7803         * java/net/DatagramSocket.java
7804         (DatagramSocket): Two new methods.
7805         (bind): New method.
7806         (getChannel): New method.
7807         (isBound): New method.
7808         (send): Added newline to to make shorter lines.
7809         * java/net/PlainDatagramSocketImpl.java
7810         (mcastGrp): Added argument.
7811         (join): Use new mcastGrp.
7812         (leave): Use new mcastGrp.
7813         (joinGroup): New method.
7814         (leaveGroup): New method.
7815         * java/net/natPlainDatagramSocketImpl.cc
7816         (mcastGrp): Added argument, no yet really implemented.
7817         (getOption): Added newline for shorter lines.
7818         * java/net/natPlainSocketImpl.cc
7819         (read, setOption, getOption): Added newline for shorter lines.
7820
7821 2002-09-19  Tom Tromey  <tromey@redhat.com>
7822
7823        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7824        newly-created exception.
7825
7826 2002-09-18  Michael Koch  <konqueror@gmx.de>
7827
7828         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7829         java/util/regex/PatternSyntaxException.java:
7830         Merge with classpath, new files.
7831         * Makefile.am (core_java_source_files):
7832         Added java/util/regex/Matcher.java,
7833         java/util/regex/Pattern.java,
7834         java/util/regex/PatternSyntaxException.java
7835         * Makefile.in: Regenerated.
7836         * include/config.h.in: Added HAVE_NET_IF_H.
7837         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7838         Removed #if 0 ... #endif.
7839
7840 2002-09-17  Michael Koch  <konqueror@gmx.de>
7841
7842         * java/net/natNetworkInterface.cc:
7843         Removed unneed and yet wrong includes.
7844
7845 2002-09-17  Michael Koch  <konqueror@gmx.de>
7846
7847         * java/net/NetworkInterface.java: New file.
7848         * java/net/natNetworkInterface.java: New file.
7849         * configure.in: Added check for net/if.h.
7850         * configure: Regenerated.
7851         * Makefile.am
7852         (ordinary_java_source_files): Added NetworkInterface.java.
7853         (nat_source_files): Added natNetworkInterface.cc.
7854         * Makefile.in: Regenerated.
7855
7856 2002-09-16  Tom Tromey  <tromey@redhat.com>
7857
7858         * java/net/URLClassLoader.java (findClass): Code source for a
7859         class from a jar is not necessarily a jar: URL.
7860
7861 2002-09-16  Michael Koch  <konqueror@gmx.de>
7862
7863         * java/lang/AssertionError.java:
7864         Merge with classpath, fixes HTML.
7865         * java/rmi/server/LogStream.java:
7866         Merge with classpath, fixes some constants.
7867         * java/net/server/RemoteServer.java:
7868         Merge with classpath, adds serialVersionUID.
7869         * javax/naming/BinaryRefAddr.java:
7870         Merge with classpath, s/equal/equals/.
7871         * javax/naming/NamingException.java:
7872         Merge with classpath, fixed typo.
7873         * javax/naming/RefAddr.java:
7874         Merge with classpath, s/equal/equals/.
7875         * java/awt/Toolkit.java:
7876         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7877         and typo fixed.
7878
7879 2002-09-15  Adam Megacz <adam@xwt.org>
7880
7881         * java/net/natPlainSocketImpl.cc: fixed typo.
7882
7883 2002-09-15  Adam Megacz <adam@xwt.org>
7884
7885         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7886         which don't work on Win32 (yet).
7887
7888 2002-09-14  Adam Megacz <adam@xwt.org>
7889
7890         * java/net/natPlainDatagramSocket.cc: removed #include
7891         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7892         * include/win32.h: included definition for IP_TOS to satisfy
7893         natPlainDatagramSocket.cc
7894
7895 2002-09-13  Michael Koch  <konqueror@gmx.de>
7896
7897         * java/net/DatagramPacket.java (DatagramPacket):
7898         Added linebreak for 80 chars per line.
7899         * java/net/JarURLConection.java
7900         (getInputStreami, getJarEntry): Likewise.
7901         * java/net/SocketPErmission.java
7902         (SocketPermission class docu, implies): Likewise.
7903         * java/net/URLClassLoader.java (findResources): Likewise.
7904         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7905
7906 2002-09-13  Michael Koch  <konqueror@gmx.de>
7907
7908         * java/nio/channels/DatagramChannel.java,
7909         java/nio/channels/ServerSocketChannel.java
7910         java/nio/channels/SocketChannel.java:
7911         New dummy files to make java.net fully JDK 1.4 compatible
7912         * Makefile.am (ordinary_java_source_files): Added
7913         java/net/DatagramSocketImplFactory.java (long forgotten),
7914         java/nio/SocketChannel.java,
7915         java/nio/ServerSocketChannel.java,
7916         java/nio/DatagramChannel.java
7917         * Makefile.in: Regenrated.
7918
7919 2002-09-12  Michael Koch  <konqueror@gmx.de>
7920
7921         * java/net/DatagramSocketImpl.java
7922         (peekData): New method.
7923         * java/net/PlainDatagramSocketImpl.java
7924         (peekData): New method.
7925         * java/net/natPlainDatagramSocketImpl.cc
7926         (peekData): New method.
7927         * java/net/URLConnection
7928         (getPermission): New method.
7929         (addRequestProperty): New method.
7930         (getRequestProperties): New method.
7931         (guessContentTypeFromStream): New method, not really implemented.
7932         (URLConnection): Added/updated documentation.
7933         (connect): Added/updated documentation.
7934         (getURL): Added/updated documentation.
7935         (getContentLength): Added/updated documentation.
7936         (getContentType: Added/updated documentation.
7937         (getContentEncoding): Added/updated documentation.
7938         (getExpiration): Added/updated documentation.
7939         (getDate): Added/updated documentation.
7940         (getLastModified): Added/updated documentation.
7941         (getHeaderField): Added/updated documentation.
7942         (getHeaderFields): Added/updated documentation.
7943         (getHeaderFieldInt): Added/updated documentation.
7944         (getHeaderFieldDate): Added/updated documentation.
7945         (getHeaderFieldKey): Added/updated documentation.
7946         (getContent): Added/updated documentation.
7947         (getInputStream): Added/updated documentation.
7948         (getOutputStream): Added/updated documentation.
7949         (toString): Added/updated documentation.
7950         (setDoInput): Added/updated documentation.
7951         (getDoInput): Added/updated documentation.
7952         (setDoOutput): Added/updated documentation.
7953         (getDoOutput): Added/updated documentation.
7954         (setAllowUserInteraction): Added/updated documentation.
7955         (getAllowUserInteraction): Added/updated documentation.
7956         (setDefaultAllowUserInteraction): Added/updated documentation.
7957         (getDefaultAllowUserInteraction): Added/updated documentation.
7958         (setUseCaches): Added/updated documentation.
7959         (getUseCaches): Added/updated documentation.
7960         (setIfModifiedSince): Added/updated documentation.
7961         (getIfModifiedSince): Added/updated documentation.
7962         (getDefaultUseCaches): Added/updated documentation.
7963         (setDefaultUseCaches): Added/updated documentation.
7964         (setRequestProperty): Added/updated documentation.
7965         (getRequestProperty): Added/updated documentation.
7966         (setDefaultRequestProperty): Added/updated documentation.
7967         (getDefaultRequestProperty): Added/updated documentation.
7968         (setContentHandlerFactory): Added/updated documentation.
7969         (guessContentTypeFromName): Added/updated documentation.
7970         (getFileNameMap): Added/updated documentation.
7971         (setFileNameMap): Added/updated documentation.
7972
7973 2002-09-11  Michael Koch  <konqueror@gmx.de>
7974
7975         * java/net/Socket.java
7976         (Socket): protected to public (since JDK 1.4). Added @specnote.
7977         (bind): New method.
7978         (connect): Two new methods.
7979         (getKeepalive): Get correct socket option.
7980         (setKeepalive): Set correct socket option.
7981         (getOOBInline): New method.
7982         (setOOBInline): New method.
7983         * java/net/ServerSocket.java
7984         (bind): Two new methods.
7985         (getInetAddress): Reimplemented, catch exception.
7986         (getLocalSocketAddress): New method.
7987         (setReuseAddress): New method.
7988         (getReuseAdress): New method.
7989         (setReceiveBufferSize): New method.
7990         (getReceiveBufferSize): New method.
7991         (toString): Made string JDK 1.4 compliant.
7992
7993 2002-09-10  Michael Koch  <konqueror@gmx.de>
7994
7995         * java/net/SocketImpl.java
7996         (connect): New method.
7997         (supportsUrgentData): New method.
7998         (sendUrgentData): New method.
7999         * java/net/PlainSocketImpl.java
8000         (connect): One new method and two new implementation.
8001         (sendUrgentData): New method.
8002         * java/natPlainSocketImpl.cc
8003         (connect): Arguments changed, added support for timeouts.
8004         (getOption): Another __java_boolean to jboolean.
8005
8006 2002-09-07  Adam Megacz <adam@xwt.org>
8007
8008         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8009         definition of IP_TOS.
8010
8011 2002-09-04  Michael Koch  <konqueror@gmx.de>
8012
8013         * java/net/DatagramSocket.java
8014         (DatagramSocket): Added documentation.
8015         (close): Likewise.
8016         (getLocalAddress): Likewise.
8017         (getLocalPort): Likewise.
8018         (receive): Likewise.
8019         (send): Likewise.
8020         (setSoTimeout): Likewise.
8021         (connect): New method.
8022         (disconnect): New method.
8023         (getInetAddress): New method (FIXME)
8024         (getPort): New method.
8025         (setReuseAddress): New method.
8026         (getReuseAddress): New method.
8027         (setBroadcast): New method.
8028         (getBroadcast): New method.
8029         (setTrafficClass): New method.
8030         (getTrafficClass): New method.
8031         * java/net/MulticastSocket.java):
8032         (getTTL): Added @see in documentation.
8033         (setTTL): Added @see in documentation.
8034         (setLoopbackMode): New method.
8035         (getLoopbackMode): New method.
8036         * java/net/PlainSocketImpl.java:
8037         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8038         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8039         * java/net/PlainDatagramSocketImpl.java
8040         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8041         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8042         * java/net/natPlainSocketImpl.cc
8043         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8044         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8045         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8046         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8047         This should also fix SO_KEEPALIVE
8048         * java/net/natPlainDatagramSocketImpl.cc
8049         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8050         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8051         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8052         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8053
8054 2002-09-04  Michael Koch  <konqueror@gmx.de>
8055
8056         * java/net/SocketOptions.java: added static variables to be JDK 1.4
8057         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8058         IP_MULTICAST_LOOP, IP_TOS
8059
8060 2002-09-03  Tom Tromey  <tromey@redhat.com>
8061
8062         * java/lang/Class.h (_getDeclaredMethod): Declare.
8063         (_getMethod): Now private.
8064         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8065         getDeclaredMethod.  Now returns NULL on failure.
8066         * java/lang/Class.java (_getDeclaredMethod): Declare.
8067         (getDeclaredMethod): No longer native; implements access checks.
8068
8069 2002-09-01  Mark Wielaard  <mark@klomp.org>
8070
8071         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8072         (sanitizeStack): Correctly reset unknown and interpreter counters,
8073         detect interpreter runtime frames.
8074         (demangleInterpreterMethod): New method.
8075         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8076         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8077         filling in addrs[].
8078
8079 2002-09-02  Michael Koch  <konqueror@gmx.de>
8080
8081         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8082         re-indented documentation.
8083
8084 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8085
8086         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8087         public, per 1.4 spec.  Fixes PR libgcj/7785.
8088
8089 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8090
8091         * Makefile.in: Rebuilt.
8092         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8093
8094 2002-08-29  Tom Tromey  <tromey@redhat.com>
8095
8096         * java/net/JarURLConnection.java (getCertificates): New method
8097         from Classpath.
8098         * java/net/URLClassLoader.java (URLClassLoader): Extends
8099         SecureClassLoader.
8100         (definePackage): New method from Classpath.
8101         (getPermissions): Likewise.
8102         (newInstance): Likewise.
8103         (findClass): Construct CodeSource for new class (from Classpath).
8104         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8105         methods.
8106         * java/net/URL.java (getUserInfo): New method.
8107         (set(String,String,int,String,String,String,String,String)): New
8108         method.
8109         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8110         (shutdownInput, shutdownOutput): Declare.
8111         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8112         Define.
8113         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8114         (getOption): Likewise.
8115         (shutdownInput): New method.
8116         (shutdownOutput): Likewise.
8117         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8118         keepalive.
8119         (getOption): Likewise.
8120         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8121         * java/net/Socket.java (setKeepAlive): New method.
8122         (getKeepAlive): Likewise.
8123         (shutdownInput, shutdownOutput): New methods.
8124
8125 2002-08-29  Michael Koch  <konqueror@gmx.de>
8126
8127         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8128         new methods are:
8129         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8130           address),
8131         DatagramPacket(byte[] buf, int length, SocketAddress address),
8132         void setSocketAddress(SocketAddress address)
8133         public SocketAddress getSocketAddress()
8134
8135 2002-08-29  Tom Tromey  <tromey@redhat.com>
8136
8137         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8138         ftruncate is missing.
8139         * configure, include/config.h.in: Rebuilt.
8140         * acconfig.h (HAVE_FTRUNCATE): Mention.
8141         * configure.in: Check for ftruncate.
8142
8143 2002-08-29  Tom Tromey  <tromey@redhat.com>
8144
8145         * include/jvm.h (struct _Jv_frame_info): New structure.
8146         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8147         java-interp.h.
8148         (lookupInterp): New method.
8149         (getAddrAsString): Use _Jv_frame_info.
8150         (dladdrLookup): Likewise.
8151         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8152         interpreted frame.
8153         (lookupInterp): Declare.
8154         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8155         (fillInStackTrace): Collect information on interpreted frames.
8156         Use _Jv_frame_info.
8157         * interpret.cc: Include Thread.h.
8158         (run): Create and push _Jv_MethodChain object.
8159         (_Jv_EndOfInterpreter): New global.
8160         * java/lang/Thread.java (interp_frame): New field.
8161         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8162         Include NameFinder.h.
8163
8164 2002-08-28  Tom Tromey  <tromey@redhat.com>
8165
8166         * java/lang/Class.h: Include Package.h.
8167         (Class::getProtectionDomain): Declare.
8168         (Class::getPackage): Declare.
8169
8170 2002-08-28  Michael Koch <konqueror@gmx.de>
8171
8172         * java/net/InetSocketAddress.java: Added some documentation and argument
8173         checks for the port numbers.
8174         * java/net/DatagramSocketImplFactory.java: New file.
8175
8176 2002-08-28  Michael Koch <konqueror@gmx.de>
8177
8178         * java/net/Authenticator.java: added some documentation.
8179
8180 2002-08-27  Tom Tromey  <tromey@redhat.com>
8181
8182         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8183         class.
8184         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8185
8186 2002-08-27  Michael Koch <konqueror@gmx.de>
8187
8188         * java/net/BindException.java,
8189         java/net/JarURLConnection.java,
8190         java/net/FileNameMap.java,
8191         java/net/HttpURLConnection.java,
8192         java/net/InetSocketAddress.java,
8193         java/net/DatagramPacket.java,
8194         java/net/DatagramSocket.java,
8195         java/net/DatagramSocketImpl.java,
8196         java/net/MulticastSocket.java,
8197         java/net/PasswordAuthentication.java,
8198         java/net/ServerSocket.java,
8199         java/net/Socket.java,
8200         java/net/URLClassLoader.java,
8201         java/net/URLConnection.java: add/update of some @since/@deprecated
8202
8203 2002-08-27  Tony Kimball <alk@pobox.com>
8204             Tom Tromey  <tromey@redhat.com>
8205
8206         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8207         define.
8208         (::close): Removed.
8209         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8210         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8211         (::close): Removed.
8212         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8213         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8214
8215 2002-08-25  Adam Megacz <adam@xwt.org>
8216
8217         * include/win32.h (getcwd): copied function declaration as
8218         temporary fix for header confusion.
8219
8220 2002-08-24  Mark Wielaard <mark@klomp.org>
8221
8222         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8223         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8224         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8225         and natNameFinder.cc.
8226         * Makefile.in: Regenerate.
8227         * prims.cc: Use trace_enabled from VMThrowable.
8228         * name-finder.cc: Removed.
8229         * gcj/javaprims.h: Add class VMThrowable.
8230         * gnu/gcj/runtime/NameFinder.java: New file.
8231         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8232         * include/name-finder.h: Removed.
8233         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8234         method stackTraceString().
8235         (printStackTrace (PrintWriter)): Likewise.
8236         (stackTraceString): Complete rewrite of old printStackTrace using
8237         StringBuffer.
8238         (stackTraceStringBuffer): New helper method for stackTraceString().
8239         (fillInStackTrace): Delegate to VMTrowable.
8240         (getStackTrace): Likewise.
8241         (getStackTrace0): Removed.
8242         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8243         (setStackTrace): Copy given array.
8244         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8245         * java/lang/VMThrowable.java: New class.
8246         * java/lang/natVMThrowable.cc: New file.
8247
8248 2003-08-23  Michael Koch  <konqueror@gmx.de>
8249
8250         * java/net/URLConnection.java,
8251         java/netJarURLConnection.java,
8252         gnu/gcj/protocol/core/Connection.java,
8253         gnu/gcj/protocol/file/Connection.java,
8254         gnu/gcj/protocol/http/Connection.java: Added implementation of
8255         getHeaderFields().
8256
8257 2002-08-22  Tom Tromey  <tromey@redhat.com>
8258
8259         * gij.cc (help): Document -cp and -classpath.
8260         (main): Handle -classpath.
8261
8262 2002-08-21  Tom Tromey  <tromey@redhat.com>
8263
8264         * Makefile.in: Rebuilt.
8265         * Makefile.am (ordinary_java_source_files): Added
8266         SocketAddress.java, InetSocketAddress.java.
8267         * java/net/PortUnreachableException.java: Merged with Classpath.
8268         * java/net/SocketTimeoutException.java: Likewise.
8269         * java/net/URISyntaxException.java: Likewise.
8270         * java/net/SocketAddress.java: New class from Classpath.
8271         * java/net/InetSocketAddress.java: Likewise.
8272
8273 2003-08-21  Michael Koch  <konqueror@gmx.de>
8274
8275         * java/net/Authenticator.java: updated JDK 1.4
8276         * java/net/ContentHandler.java: updated JDK 1.4
8277
8278 2002-08-20  Michael Koch  <konqueror@gmx.de>
8279
8280         * java/net/URISyntaxException.java: New file.
8281         * java/net/SocketTimeoutException.java: New file.
8282         * java/net/PortUnreachableException.java: New file.
8283         * Makefile.am: Updated.
8284         * Makefile.in: Rebuilt.
8285
8286 2002-08-18  Mark Wielaard  <mark@klomp.org>
8287
8288         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8289         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8290         MessageDigestSpi (fixes Classpath bug #783).
8291
8292 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8293
8294         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8295         (startProcess): Allocate path for chdir in async-signal-safe way.
8296
8297 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8298
8299         Fix for PR libgcj/7570 and PR libgcj/7578:
8300         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8301         (startProcess): Handle new `dir' argument.
8302         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8303         argument.
8304         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8305         argument.
8306         (startProcess): Likewise.
8307         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8308         argument.
8309         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8310         (exec): Don't create new environment if ENV==null.  Pass DIR to
8311         execInternal.
8312         * java/lang/natRuntime.cc: Include java/io/File.h.
8313         (execInternal): Added `dir' argument.
8314
8315 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8316
8317         * java/io/RandomAccessFile.java (skipBytes): Return number of
8318         bytes skipped.
8319
8320 2002-08-01  Mark Wielaard  <mark@klomp.org>
8321
8322         Reenable patch since shared library troubles on powerpc are solved:
8323         * gnu/java/security/provider/Gnu.java: Reference all implementation
8324         classes by using Class.getName().
8325         * gnu/java/security/der/DEREncodingException.java,
8326         gnu/java/security/provider/DERReader.java,
8327         gnu/java/security/provider/DERWriter.java,
8328         gnu/java/security/provider/DSAKeyPairGenerator.java,
8329         gnu/java/security/provider/DSAParameterGenerator.java,
8330         gnu/java/security/provider/DSAParameters.java,
8331         gnu/java/security/provider/DSASignature.java,
8332         gnu/java/security/provider/GnuDSAPrivateKey.java,
8333         gnu/java/security/provider/GnuDSAPublicKey.java,
8334         gnu/java/security/provider/MD5.java,
8335         gnu/java/security/util/Prime.java: New classes
8336         * Makefile.am (ordinary_java_source_files): Add above files.
8337         * Makefile.in: Regenerate.
8338         * gnu/java/security/provider/DefaultPolicy.java
8339         (getPermissions): Don't maintain static class variable of Permissions.
8340         * gnu/java/security/provider/SHA.java
8341         (engineUpdate): algorithm change.
8342         (engineDigest): algorithm change.
8343
8344 2002-08-09  Mark Wielaard  <mark@klomp.org>
8345
8346         * java/awt/image/MemoryImageSource.java: Change constructor to take
8347         int[] not byte[].
8348         * java/awt/Graphics2D.java: Uncomment methods that can now be
8349         compiled.
8350         * java/awt/GridBagLayout.java: New stub implementation.
8351         * javax/swing/text/html/HTML.java: Stub implementation.
8352         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8353         implementation.
8354
8355         * Makefile.am: Add new files.
8356         * Makefile.in: Rebuilt.
8357
8358 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8359
8360         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8361         methods in Graphics2D.
8362
8363 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8364
8365         AWT/Swing merge from GNU Classpath.
8366
8367         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8368         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8369         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8370         java/awt/color/ProfileDataException.java,
8371         java/awt/CompositeContext.java, java/awt/Composite.java,
8372         java/awt/ContainerOrderFocusTraversalPolicy.java,
8373         java/awt/datatransfer/FlavorTable.java,
8374         java/awt/DefaultFocusTraversalPolicy.java,
8375         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8376         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8377         java/awt/dnd/DragGestureListener.java,
8378         java/awt/dnd/DragGestureRecognizer.java,
8379         java/awt/dnd/DragSourceAdapter.java,
8380         java/awt/dnd/DragSourceContext.java,
8381         java/awt/dnd/DragSourceDragEvent.java,
8382         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8383         java/awt/dnd/DragSourceListener.java,
8384         java/awt/dnd/DragSourceMotionListener.java,
8385         java/awt/dnd/DropTarget.java,
8386         java/awt/dnd/InvalidDnDOperationException.java,
8387         java/awt/dnd/peer/DragSourceContextPeer.java,
8388         java/awt/event/AWTEventListenerProxy.java,
8389         java/awt/event/MouseWheelEvent.java,
8390         java/awt/event/MouseWheelListener.java,
8391         java/awt/event/WindowFocusListener.java,
8392         java/awt/event/WindowStateListener.java,
8393         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8394         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8395         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8396         java/awt/geom/FlatteningPathIterator.java,
8397         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8398         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8399         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8400         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8401         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8402         java/awt/image/ImagingOpException.java,
8403         java/awt/image/RasterFormatException.java,
8404         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8405         java/awt/image/VolatileImage.java,
8406         java/awt/image/WritableRenderedImage.java,
8407         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8408         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8409         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8410         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8411         java/awt/PageAttributes.java, java/awt/print/Book.java,
8412         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8413         java/awt/print/Paper.java, java/awt/print/Printable.java,
8414         java/awt/print/PrinterAbortException.java,
8415         java/awt/print/PrinterException.java,
8416         java/awt/print/PrinterGraphics.java,
8417         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8418         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8419         java/awt/Stroke.java, java/awt/TexturePaint.java,
8420         javax/accessibility/AccessibleAction.java,
8421         javax/accessibility/AccessibleBundle.java,
8422         javax/accessibility/AccessibleComponent.java,
8423         javax/accessibility/AccessibleContext.java,
8424         javax/accessibility/AccessibleEditableText.java,
8425         javax/accessibility/AccessibleExtendedComponent.java,
8426         javax/accessibility/AccessibleExtendedTable.java,
8427         javax/accessibility/AccessibleHyperlink.java,
8428         javax/accessibility/AccessibleHypertext.java,
8429         javax/accessibility/AccessibleIcon.java,
8430         javax/accessibility/Accessible.java,
8431         javax/accessibility/AccessibleKeyBinding.java,
8432         javax/accessibility/AccessibleRelation.java,
8433         javax/accessibility/AccessibleRelationSet.java,
8434         javax/accessibility/AccessibleResourceBundle.java,
8435         javax/accessibility/AccessibleRole.java,
8436         javax/accessibility/AccessibleSelection.java,
8437         javax/accessibility/AccessibleState.java,
8438         javax/accessibility/AccessibleStateSet.java,
8439         javax/accessibility/AccessibleTable.java,
8440         javax/accessibility/AccessibleTableModelChange.java,
8441         javax/accessibility/AccessibleText.java,
8442         javax/accessibility/AccessibleValue.java,
8443         javax/swing/AbstractAction.java,
8444         javax/swing/AbstractButton.java,
8445         javax/swing/AbstractCellEditor.java,
8446         javax/swing/AbstractListModel.java,
8447         javax/swing/AbstractSet.java, javax/swing/Action.java,
8448         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8449         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8450         javax/swing/border/CompoundBorder.java,
8451         javax/swing/border/EmptyBorder.java,
8452         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8453         javax/swing/border/LineBorder.java,
8454         javax/swing/border/MatteBorder.java,
8455         javax/swing/border/TitledBorder.java,
8456         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8457         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8458         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8459         javax/swing/CellRendererPane.java,
8460         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8461         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8462         javax/swing/colorchooser/ColorSelectionModel.java,
8463         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8464         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8465         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8466         javax/swing/DefaultBoundedRangeModel.java,
8467         javax/swing/DefaultButtonModel.java,
8468         javax/swing/DefaultCellEditor.java,
8469         javax/swing/DefaultCellRenderer.java,
8470         javax/swing/DefaultComboBoxModel.java,
8471         javax/swing/DefaultDesktopManager.java,
8472         javax/swing/DefaultFocusManager.java,
8473         javax/swing/DefaultListCellRenderer.java,
8474         javax/swing/DefaultListModel.java,
8475         javax/swing/DefaultListSelectionModel.java,
8476         javax/swing/DefaultSingleSelectionModel.java,
8477         javax/swing/DesktopManager.java,
8478         javax/swing/event/AncestorEvent.java,
8479         javax/swing/event/AncestorListener.java,
8480         javax/swing/event/CaretEvent.java,
8481         javax/swing/event/CaretListener.java,
8482         javax/swing/event/CellEditorListener.java,
8483         javax/swing/event/ChangeEvent.java,
8484         javax/swing/event/ChangeListener.java,
8485         javax/swing/event/DocumentEvent.java,
8486         javax/swing/event/DocumentListener.java,
8487         javax/swing/event/EventListenerList.java,
8488         javax/swing/event/HyperlinkEvent.java,
8489         javax/swing/event/HyperlinkListener.java,
8490         javax/swing/event/InternalFrameAdapter.java,
8491         javax/swing/event/InternalFrameEvent.java,
8492         javax/swing/event/InternalFrameListener.java,
8493         javax/swing/event/ListDataEvent.java,
8494         javax/swing/event/ListDataListener.java,
8495         javax/swing/event/ListSelectionEvent.java,
8496         javax/swing/event/ListSelectionListener.java,
8497         javax/swing/event/MenuDragMouseEvent.java,
8498         javax/swing/event/MenuDragMouseListener.java,
8499         javax/swing/event/MenuEvent.java,
8500         javax/swing/event/MenuKeyEvent.java,
8501         javax/swing/event/MenuKeyListener.java,
8502         javax/swing/event/MenuListener.java,
8503         javax/swing/event/MouseInputAdapter.java,
8504         javax/swing/event/MouseInputListener.java,
8505         javax/swing/event/PopupMenuEvent.java,
8506         javax/swing/event/PopupMenuListener.java,
8507         javax/swing/event/SwingPropertyChangeSupport.java,
8508         javax/swing/event/TableColumnModelEvent.java,
8509         javax/swing/event/TableColumnModelListener.java,
8510         javax/swing/event/TableModelEvent.java,
8511         javax/swing/event/TableModelListener.java,
8512         javax/swing/event/TreeExpansionEvent.java,
8513         javax/swing/event/TreeExpansionListener.java,
8514         javax/swing/event/TreeModelEvent.java,
8515         javax/swing/event/TreeModelListener.java,
8516         javax/swing/event/TreeSelectionEvent.java,
8517         javax/swing/event/TreeSelectionListener.java,
8518         javax/swing/event/TreeWillExpandListener.java,
8519         javax/swing/event/UndoableEditEvent.java,
8520         javax/swing/event/UndoableEditListener.java,
8521         javax/swing/filechooser/FileFilter.java,
8522         javax/swing/filechooser/FileSystemView.java,
8523         javax/swing/filechooser/FileView.java,
8524         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8525         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8526         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8527         javax/swing/JApplet.java, javax/swing/JButton.java,
8528         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8529         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8530         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8531         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8532         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8533         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8534         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8535         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8536         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8537         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8538         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8539         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8540         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8541         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8542         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8543         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8544         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8545         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8546         javax/swing/JToolTip.java, javax/swing/JTree.java,
8547         javax/swing/JViewport.java, javax/swing/JWindow.java,
8548         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8549         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8550         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8551         javax/swing/MenuSelectionManager.java,
8552         javax/swing/MutableComboBoxModel.java,
8553         javax/swing/OverlayLayout.java,
8554         javax/swing/plaf/ActionMapUIResource.java,
8555         javax/swing/plaf/basic/BasicBorders.java,
8556         javax/swing/plaf/basic/BasicButtonUI.java,
8557         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8558         javax/swing/plaf/basic/BasicDefaults.java,
8559         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8560         javax/swing/plaf/basic/BasicIconFactory.java,
8561         javax/swing/plaf/basic/BasicLabelUI.java,
8562         javax/swing/plaf/basic/BasicListUI.java,
8563         javax/swing/plaf/basic/BasicLookAndFeel.java,
8564         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8565         javax/swing/plaf/basic/BasicPanelUI.java,
8566         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8567         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8568         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8569         javax/swing/plaf/basic/BasicTextUI.java,
8570         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8571         javax/swing/plaf/basic/BasicTreeUI.java,
8572         javax/swing/plaf/basic/BasicViewportUI.java,
8573         javax/swing/plaf/BorderUIResource.java,
8574         javax/swing/plaf/ButtonUI.java,
8575         javax/swing/plaf/ColorChooserUI.java,
8576         javax/swing/plaf/ColorUIResource.java,
8577         javax/swing/plaf/ComboBoxUI.java,
8578         javax/swing/plaf/ComponentInputMapUIResource.java,
8579         javax/swing/plaf/ComponentUI.java,
8580         javax/swing/plaf/DesktopIconUI.java,
8581         javax/swing/plaf/DesktopPaneUI.java,
8582         javax/swing/plaf/DimensionUIResource.java,
8583         javax/swing/plaf/FileChooserUI.java,
8584         javax/swing/plaf/FontUIResource.java,
8585         javax/swing/plaf/IconUIResource.java,
8586         javax/swing/plaf/InputMapUIResource.java,
8587         javax/swing/plaf/InsetsUIResource.java,
8588         javax/swing/plaf/InternalFrameUI.java,
8589         javax/swing/plaf/LabelUI.java,
8590         javax/swing/plaf/ListUI.java,
8591         javax/swing/plaf/MenuBarUI.java,
8592         javax/swing/plaf/MenuItemUI.java,
8593         javax/swing/plaf/OptionPaneUI.java,
8594         javax/swing/plaf/PanelUI.java,
8595         javax/swing/plaf/PopupMenuUI.java,
8596         javax/swing/plaf/ProgressBarUI.java,
8597         javax/swing/plaf/RootPaneUI.java,
8598         javax/swing/plaf/ScrollBarUI.java,
8599         javax/swing/plaf/ScrollPaneUI.java,
8600         javax/swing/plaf/SeparatorUI.java,
8601         javax/swing/plaf/SliderUI.java,
8602         javax/swing/plaf/SplitPaneUI.java,
8603         javax/swing/plaf/TabbedPaneUI.java,
8604         javax/swing/plaf/TableHeaderUI.java,
8605         javax/swing/plaf/TableUI.java,
8606         javax/swing/plaf/TextUI.java,
8607         javax/swing/plaf/ToolBarUI.java,
8608         javax/swing/plaf/ToolTipUI.java,
8609         javax/swing/plaf/TreeUI.java,
8610         javax/swing/plaf/UIResource.java,
8611         javax/swing/plaf/ViewportUI.java,
8612         javax/swing/ProgressMonitorInputStream.java,
8613         javax/swing/ProgressMonitor.java,
8614         javax/swing/Renderer.java,
8615         javax/swing/RepaintManager.java,
8616         javax/swing/RootPaneContainer.java,
8617         javax/swing/Scrollable.java,
8618         javax/swing/ScrollPaneConstants.java,
8619         javax/swing/ScrollPaneLayout.java,
8620         javax/swing/SingleSelectionModel.java,
8621         javax/swing/SizeRequirements.java,
8622         javax/swing/SizeSequence.java,
8623         javax/swing/SwingConstants.java,
8624         javax/swing/SwingUtilities.java,
8625         javax/swing/table/AbstractTableModel.java,
8626         javax/swing/table/DefaultTableCellRenderer.java,
8627         javax/swing/table/DefaultTableColumnModel.java,
8628         javax/swing/table/DefaultTableModel.java,
8629         javax/swing/table/TableCellEditor.java,
8630         javax/swing/table/TableCellRenderer.java,
8631         javax/swing/table/TableColumn.java,
8632         javax/swing/table/TableColumnModel.java,
8633         javax/swing/table/TableModel.java,
8634         javax/swing/text/AbstractDocument.java,
8635         javax/swing/text/AttributeSet.java,
8636         javax/swing/text/BadLocationException.java,
8637         javax/swing/text/Caret.java,
8638         javax/swing/text/CharacterIterator.java,
8639         javax/swing/text/ComponentView.java,
8640         javax/swing/text/DefaultCaret.java,
8641         javax/swing/text/DefaultEditorKit.java,
8642         javax/swing/text/Document.java,
8643         javax/swing/text/EditorKit.java,
8644         javax/swing/text/Element.java,
8645         javax/swing/text/GapContent.java,
8646         javax/swing/text/JTextComponent.java,
8647         javax/swing/text/Keymap.java,
8648         javax/swing/text/MutableAttributeSet.java,
8649         javax/swing/text/PlainDocument.java,
8650         javax/swing/text/PlainEditorKit.java,
8651         javax/swing/text/Position.java,
8652         javax/swing/text/Segment.java,
8653         javax/swing/text/StyledDocument.java,
8654         javax/swing/text/StyledEditorKit.java,
8655         javax/swing/text/Style.java,
8656         javax/swing/text/TextAction.java,
8657         javax/swing/text/ViewFactory.java,
8658         javax/swing/text/View.java,
8659         javax/swing/Timer.java,
8660         javax/swing/ToggleButtonModel.java,
8661         javax/swing/ToolTipManager.java,
8662         javax/swing/tree/AbstractLayoutCache.java,
8663         javax/swing/tree/DefaultMutableTreeNode.java,
8664         javax/swing/tree/DefaultTreeCellEditor.java,
8665         javax/swing/tree/DefaultTreeCellRenderer.java,
8666         javax/swing/tree/DefaultTreeModel.java,
8667         javax/swing/tree/DefaultTreeSelectionModel.java,
8668         javax/swing/tree/ExpandVetoException.java,
8669         javax/swing/tree/FixedHeightLayoutCache.java,
8670         javax/swing/tree/MutableTreeNode.java,
8671         javax/swing/tree/RowMapper.java,
8672         javax/swing/tree/TreeCellEditor.java,
8673         javax/swing/tree/TreeCellRenderer.java,
8674         javax/swing/tree/TreeModel.java,
8675         javax/swing/tree/TreeNode.java,
8676         javax/swing/tree/TreePath.java,
8677         javax/swing/tree/TreeSelectionModel.java,
8678         javax/swing/tree/VariableHeightLayoutCache.java,
8679         javax/swing/UIDefaults.java,
8680         javax/swing/UIManager.java,
8681         javax/swing/undo/AbstractUndoableEdit.java,
8682         javax/swing/undo/CannotRedoException.java,
8683         javax/swing/undo/CannotUndoException.java,
8684         javax/swing/undo/CompoundEdit.java,
8685         javax/swing/undo/StateEditable.java,
8686         javax/swing/undo/StateEdit.java,
8687         javax/swing/undo/UndoableEdit.java,
8688         javax/swing/undo/UndoableEditSupport.java,
8689         javax/swing/undo/UndoManager.java,
8690         javax/swing/UnsupportedLookAndFeelException.java,
8691         javax/swing/ViewportLayout.java,
8692         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8693
8694         * java/awt/ActiveEvent.java,
8695         java/awt/Adjustable.java, java/awt/AWTError.java,
8696         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8697         java/awt/AWTException.java, java/awt/AWTPermission.java,
8698         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8699         java/awt/Color.java, java/awt/Component.java,
8700         java/awt/ComponentOrientation.java, java/awt/Container.java,
8701         java/awt/datatransfer/MimeTypeParseException.java,
8702         java/awt/datatransfer/Transferable.java,
8703         java/awt/datatransfer/UnsupportedFlavorException.java,
8704         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8705         java/awt/event/ActionListener.java,
8706         java/awt/event/AdjustmentEvent.java,
8707         java/awt/event/AdjustmentListener.java,
8708         java/awt/event/AWTEventListener.java,
8709         java/awt/event/ComponentAdapter.java,
8710         java/awt/event/ComponentEvent.java,
8711         java/awt/event/ComponentListener.java,
8712         java/awt/event/ContainerAdapter.java,
8713         java/awt/event/ContainerEvent.java,
8714         java/awt/event/ContainerListener.java,
8715         java/awt/event/FocusAdapter.java,
8716         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8717         java/awt/event/HierarchyBoundsAdapter.java,
8718         java/awt/event/HierarchyBoundsListener.java,
8719         java/awt/event/HierarchyEvent.java,
8720         java/awt/event/HierarchyListener.java,
8721         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8722         java/awt/event/InputMethodListener.java,
8723         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8724         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8725         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8726         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8727         java/awt/event/MouseListener.java,
8728         java/awt/event/MouseMotionAdapter.java,
8729         java/awt/event/MouseMotionListener.java,
8730         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8731         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8732         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8733         java/awt/event/WindowListener.java, java/awt/Font.java,
8734         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8735         java/awt/geom/Ellipse2D.java,
8736         java/awt/geom/IllegalPathStateException.java,
8737         java/awt/geom/Line2D.java,
8738         java/awt/geom/NoninvertibleTransformException.java,
8739         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8740         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8741         java/awt/geom/RoundRectangle2D.java,
8742         java/awt/GraphicsConfiguration.java,
8743         java/awt/IllegalComponentStateException.java,
8744         java/awt/image/IndexColorModel.java,
8745         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8746         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8747         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8748         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8749         java/awt/MenuItem.java, java/awt/PaintContext.java,
8750         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8751         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8752         java/awt/PrintJob.java, java/awt/Rectangle.java,
8753         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8754         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8755         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8756
8757         * java/awt/im/spi/InputMethod.java,
8758         java/awt/im/spi/InputMethodContext.java,
8759         java/awt/im/spi/InputMethodDescriptor.java,
8760         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8761         java/awt/image/renderable/ParameterBlock.java,
8762         java/awt/image/renderable/RenderContext.java,
8763         java/awt/image/renderable/RenderableImage.java,
8764         java/awt/image/renderable/RenderableImageOp.java,
8765         java/awt/image/renderable/RenderableImageProducer.java,
8766         java/awt/image/renderable/RenderedImageFactory.java: New files from
8767         classpath.
8768
8769         * gnu/java/awt/EventModifier.java,
8770         gnu/java/awt/image/ImageDecoder.java,
8771         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8772
8773         * gnu/awt/xlib/XGraphicsConfiguration.java,
8774         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8775         API.
8776
8777         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8778         GNU Classpath.
8779
8780         * Makefile.am: Add new files.
8781         * Makefile.in: Rebuilt.
8782
8783 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8784
8785         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8786         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8787         findResource, getResources, findResources): Add javadoc from classpath.
8788         (getSystemResources): Implemented.
8789
8790 2002-08-01  Mark Wielaard  <mark@klomp.org>
8791
8792         Revert patch that breaks libgcj shared library on powerpc:
8793         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8794         implementation classes by using Class.getName(). Uses Strings again.
8795         * gnu/java/security/der/DEREncodingException.java,
8796         gnu/java/security/provider/DERReader.java,
8797         gnu/java/security/provider/DERWriter.java,
8798         gnu/java/security/provider/DSAKeyPairGenerator.java,
8799         gnu/java/security/provider/DSAParameterGenerator.java,
8800         gnu/java/security/provider/DSAParameters.java,
8801         gnu/java/security/provider/DSASignature.java,
8802         gnu/java/security/provider/GnuDSAPrivateKey.java,
8803         gnu/java/security/provider/GnuDSAPublicKey.java,
8804         gnu/java/security/provider/MD5.java,
8805         gnu/java/security/util/Prime.java: Removed.
8806         * Makefile.am (ordinary_java_source_files): Remove above files.
8807         * Makefile.in: Regenerate.
8808         * gnu/java/security/provider/DefaultPolicy.java
8809         (getPermissions): Revert to maintaining static class variable of
8810         Permissions.
8811         * gnu/java/security/provider/SHA.java
8812         (engineUpdate): Revert algorithm change.
8813         (engineDigest): Revert algorithm change.
8814
8815 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8816
8817         * configure.host: Add SH support.
8818         * sysdep/sh/locks.h: New file.
8819
8820 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8821
8822         * java/awt/Frame.java (Frame): Remove println calls.
8823
8824 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8825
8826         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8827         * configure: Rebuilt.
8828
8829 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8830
8831         * sysdep/powerpc/locks.h: Formatting.
8832         (_LARX): Define.
8833         (_STCX): Define.
8834         (compare_and_swap): Use _LARX and _STCX.
8835         (compare_and_swap_release): Likewise.
8836
8837 2002-07-26  Tom Tromey  <tromey@redhat.com>
8838
8839         * java/net/Authenticator.java: New version from Classpath.
8840         * java/net/DatagramSocketImpl.java: New version from Classpath.
8841
8842 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8843
8844         * configure.host: Add powerpc64*-* entry.
8845
8846 2002-07-26  Tom Tromey  <tromey@redhat.com>
8847
8848         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8849         fcntl.h.
8850
8851 2002-07-24  Tom Tromey  <tromey@redhat.com>
8852
8853         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8854         argument to _load.
8855
8856 2002-07-24  Tom Tromey  <tromey@redhat.com>
8857             Tony Kimball <alk@pobox.com>
8858
8859         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8860         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8861         * java/io/RandomAccessFile.java (setLength): New method.
8862         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8863         * java/io/FileDescriptor.java (setLength): New method.
8864
8865 2002-07-24  Mark Wielaard  <mark@klomp.org>
8866
8867         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8868         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8869         field call setAccessible(true).
8870         (setByteField): Likewise.
8871         (setCharField): Likewise.
8872         (setDoubleField): Likewise.
8873         (setFloatField): Likewise.
8874         (setIntField): Likewise.
8875         (setLongField): Likewise.
8876         (setShortField): Likewise.
8877         (setObjectField): Likewise.
8878
8879 2002-07-24  Tom Tromey  <tromey@redhat.com>
8880
8881         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8882         use toString() to format array element.
8883
8884 2002-07-23  Mark Wielaard  <mark@klomp.org>
8885
8886         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8887         MessageDigestSpi (fixes Classpath bug #783).
8888
8889 2002-07-21  Mark Wielaard  <mark@klomp.org>
8890
8891         * gnu/java/security/provider/Gnu.java: Reference all implementation
8892         classes by using Class.getName().
8893
8894 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8895
8896         * java/lang/ieeefp.h: Add x86-64 support.
8897         * configure.in: Likewise.
8898         * configure.host: Likewise.
8899         * configure: Regenerated.
8900         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8901
8902 2002-07-16  Mark Wielaard  <mark@klomp.org>
8903
8904         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8905         (whitespaceChars): call resetChar().
8906
8907 2002-07-15  Tom Tromey  <tromey@redhat.com>
8908
8909         * Makefile.in: Rebuilt.
8910         * Makefile.am (awt_java_source_files): Added new files.
8911         * java/beans/ExceptionListener.java: Merged with Classpath.
8912         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8913         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8914         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8915         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8916         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8917         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8918         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8919
8920 2002-07-14  Mark Wielaard  <mark@klomp.org>
8921
8922         * gnu/java/security/der/DEREncodingException.java,
8923         gnu/java/security/provider/DERReader.java,
8924         gnu/java/security/provider/DERWriter.java,
8925         gnu/java/security/provider/DSAKeyPairGenerator.java,
8926         gnu/java/security/provider/DSAParameterGenerator.java,
8927         gnu/java/security/provider/DSAParameters.java,
8928         gnu/java/security/provider/DSASignature.java,
8929         gnu/java/security/provider/GnuDSAPrivateKey.java,
8930         gnu/java/security/provider/GnuDSAPublicKey.java,
8931         gnu/java/security/provider/MD5.java,
8932         gnu/java/security/util/Prime.java: New files from Classpath.
8933         * Makefile.am (ordinary_java_source_files): Add new files.
8934         * Makefile.in: Regenerate.
8935
8936 2002-07-14  C. Brian Jones <cbj@gnu.org>
8937
8938         * gnu/java/security/provider/DefaultPolicy.java
8939         (getPermissions): do not maintain static class variable of
8940         Permissions
8941         * gnu/java/security/provider/SHA.java
8942         (engineUpdate): algorithm change
8943         (engineDigest): algorithm change
8944
8945 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8946
8947         For PR libgcj/7292:
8948         * java/lang/Character.java (toString(char)): Now static.
8949
8950 2002-07-12  Mark Wielaard  <mark@klomp.org>
8951
8952         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8953         (getStackTrace0): new method.
8954         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8955         (printStackTrace(PrintWriter)): replace with pure java implementation.
8956         (printRawStackTrace): removed.
8957         (getStackTrace0): new method.
8958         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8959         * gcj/javaprims.h: regenerate class list.
8960         * include/name-finder.h (lookup): new returns StackTraceElement*.
8961         (method_name, file_name): fields removed.
8962         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8963         (~_Jv_name_finder): close new descriptors.
8964         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8965         (createStackTraceElement): new method.
8966         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8967
8968 2002-07-10  Tom Tromey  <tromey@redhat.com>
8969
8970         * configure: Rebuilt.
8971         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8972
8973 2002-07-08  Mark Wielaard  <mark@klomp.org>
8974
8975         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8976         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8977         java.sql.DatabaseMetaData.TestJdbc20
8978
8979 2002-07-05  Tony Kimball  <alk@pobox.com>
8980
8981         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8982
8983 2002-07-04  Tom Tromey  <tromey@redhat.com>
8984             Jeff Sturm  <jsturm@one-point.com>
8985
8986         Fix for PR libgcj/7060:
8987         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8988         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8989         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8990         * java/lang/Class.java (getMethod): New Java implementation;
8991         complies with spec.
8992         (_getMethod): New native method.
8993
8994 2002-07-02  Tom Tromey  <tromey@redhat.com>
8995             David Hovemeyer  <daveho@cs.umd.edu>
8996
8997         * java/text/ChoiceFormat.java
8998         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8999         in check loop.
9000         * java/text/MessageFormat.java
9001         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9002         to MessageFormat.
9003
9004 2002-07-01  Tom Tromey  <tromey@redhat.com>
9005
9006         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9007         StringTokenizer on null string.  For PR libgcj/7180.
9008         From daveho@cs.umd.edu.
9009
9010 2002-06-24  Tom Tromey  <tromey@redhat.com>
9011
9012         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9013         (IntegerClass): Likewise.
9014         * java/lang/natClass.cc (CloneableClass): Removed.
9015         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9016         ConstructorClass): Likewise.
9017         * java/lang/natClassLoader.cc (CloneableClass): Removed.
9018         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9019         SerializableClass): Likewise.
9020         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9021         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9022         LongClass, FloatClass, DoubleClass): Likewise.
9023
9024         * verify.cc (branch_prepass): Updated for change to exception
9025         handler type.
9026         (verify_instructions_0): Likewise.
9027         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9028         (handleExceptionTableEntry): Updated for change to exception
9029         handler type.
9030         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9031         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9032         (union _Jv_InterpPC): New.
9033         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9034         (class _Jv_InterpMethod): Added new `prepared' field.
9035         (class _Jv_InterpMethod): Added `compile' method.  Removed
9036         `continue1' and `find_exception'.  Changed arguments to `run'.
9037         * interpret.cc (union insn_slot): New.
9038         (find_exception): Removed.
9039         (run_normal): Removed most logic.
9040         (run_synch_object): Likewise; also, use JvSynchronize.
9041         (run_synch_class): Likewise.
9042         (run): Removed.
9043         (continue1): Renamed as `run'.  Compile bytecode if required.
9044         Add new code to allow refinement of direct-threaded code at
9045         runtime.  Handle exceptions.
9046         (SAVE_PC): Removed.
9047         (compile): New method.
9048         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9049         (NULLARRAYCHECK): Don't use SAVE_PC.
9050         (pc_t): New typedef.
9051         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9052         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9053
9054 2002-06-23  Tom Tromey  <tromey@redhat.com>
9055
9056         * configure: Rebuilt.
9057         * configure.in (INTERPRETER): New subst.
9058         (AM_RUNTESTFLAGS): Don't subst.
9059
9060         * Makefile.in: Rebuilt.
9061         * Makefile.am ($(srcdir)/java/lang/Object.h,
9062         $(srcdir)/java/lang/Class.h): Added dummy targets.
9063
9064 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9065
9066         Reformat JDBC classes and add new JDK 1.4 classes and methods.
9067
9068         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9069         java/sql/Savepoint.java: New files.
9070         * java/sql/Array.java, java/sql/BatchUpdateException.java,
9071         java/sql/Blob.java, java/sql/CallableStatement.java,
9072         java/sql/Clob.java, java/sql/Connection.java,
9073         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9074         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9075         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9076         java/sql/Ref.java, java/sql/ResultSet.java,
9077         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9078         java/sql/SQLException.java, java/sql/SQLInput.java,
9079         java/sql/SQLOutput.java, java/sql/SQLWarning.java
9080         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9081         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9082         (JDK 1.4) specification.
9083         * javax/sql/ConnectionEvent.java,
9084         javax/sql/ConnectionEventListener.java,
9085         javax/sql/ConnectionPoolDataSource.java,
9086         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9087         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9088         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9089         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9090         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9091         javax/sql/XADataSource.java: New files.
9092         * Makefile.am: Add new files.
9093         * Makefile.in: Rebuilt.
9094
9095 2002-06-20  Tom Tromey  <tromey@redhat.com>
9096
9097         For PR libgcj/7073:
9098         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9099         exists.
9100         * defineclass.cc (handleClassBegin): Superclass for interface is
9101         `null'.
9102
9103 2002-06-18  Tom Tromey  <tromey@redhat.com>
9104
9105         * gcj/javaprims.h: Updated class declaration list.
9106         * Makefile.in: Rebuilt.
9107         * Makefile.am (core_java_source_files): Removed
9108         BasicMapEntry.java.
9109         * java/util/BasicMapEntry.java: Removed.
9110
9111 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9112
9113         * java/net/natPlainDatagramSocketImpl.cc (receive):
9114         Check bounds of argument to FD_SET.
9115         (setOption): Throw exception if socket is closed.
9116
9117         * java/net/natPlainSocketImpl.cc (accept, read):
9118         Check bounds of argument to FD_SET.
9119         (setOption): Throw exception if socket is closed.
9120
9121 2002-06-18  Tom Tromey  <tromey@redhat.com>
9122
9123         * gcj/javaprims.h: Updated class declaration list.
9124         * Makefile.in: Rebuilt.
9125         * Makefile.am (core_java_source_files): Added
9126         PropertyPermissionCollection.java.
9127         * java/lang/Thread.java (group, name): Now package-private.
9128         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9129         * java/util/AbstractList.java: Likewise.
9130         * java/util/AbstractMap.java: Likewise.
9131         * java/util/Calendar.java: Likewise.
9132         * java/util/Collections.java: Likewise.
9133         * java/util/HashMap.java: Likewise.
9134         * java/util/Hashtable.java: Likewise.
9135         * java/util/LinkedHashMap.java: Likewise.
9136         * java/util/LinkedList.java: Likewise.
9137         * java/util/List.java: Likewise.
9138         * java/util/ListResourceBundle.java: Likewise.
9139         * java/util/Map.java: Likewise.
9140         * java/util/Observable.java: Likewise.
9141         * java/util/Properties.java: Likewise.
9142         * java/util/PropertyPermission.java: Likewise.
9143         * java/util/PropertyPermissionCollection.java: Likewise.
9144         * java/util/PropertyResourceBundle.java: Likewise.
9145         * java/util/Random.java: Likewise.
9146         * java/util/SimpleTimeZone.java: Likewise.
9147         * java/util/StringTokenizer.java: Likewise.
9148         * java/util/TimerTask.java: Likewise.
9149         * java/util/TreeMap.java: Likewise.
9150         * java/util/WeakHashMap.java: Likewise.
9151         * java/util/jar/Attributes.java: Likewise.
9152         * java/util/jar/JarException.java: Likewise.
9153         * java/util/jar/Manifest.java: Likewise.
9154
9155 2002-06-17  Tom Tromey  <tromey@redhat.com>
9156
9157         * gcj/javaprims.h: Updated class declaration list.
9158         * Makefile.in: Rebuilt.
9159         * Makefile.am (core_java_source_files): Added new file.
9160         * java/util/EventListenerProxy.java: New file.
9161         * java/util/EventListener.java: Re-merge with Classpath.
9162         * java/util/EventObject.java: Re-merge with Classpath.
9163
9164 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9165
9166         * java/lang/ClassNotFoundException.java: New Classpath version.
9167
9168 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9169
9170         * java/rmi/activation/ActivateFailedException.java: Remerge from
9171         Classpath version.
9172         * java/rmi/activation/ActivationException.java: Ditto.
9173         * java/rmi/activation/UnknownGroupException.java: Ditto.
9174         * java/rmi/activation/UnknownObjectException.java: Ditto.
9175         * java/rmi/server/ExportException: Ditto.
9176         * java/rmi/server/ServerCloneException: Ditto.
9177         * java/rmi/server/ServerNotActiveException: Ditto.
9178         * java/rmi/server/SkeletonMismatchException: Ditto.
9179         * java/rmi/server/SkeletonNotFoundException: Ditto.
9180         * java/rmi/server/SocketSecurityException: Ditto.
9181
9182 2002-06-16  Tom Tromey  <tromey@redhat.com>
9183
9184         * gcj/javaprims.h: Updated class declaration list.
9185
9186         * java/io/LineNumberInputStream.java: Merged with Classpath.
9187
9188         * java/lang/RuntimeException.java: Re-merge with Classpath.
9189         * java/util/ArrayList.java: Likewise.
9190         * java/util/Arrays.java: Likewise.
9191         * java/util/BitSet.java: Likewise.
9192         * java/util/Dictionary.java: Likewise.
9193         * java/util/IdentityHashMap.java: Likewise.
9194         * java/util/MissingResourceException.java: Likewise.
9195         * java/util/Observer.java: Likewise.
9196         * java/util/TooManyListenersException.java: Likewise.
9197         * java/util/zip/DataFormatException.java: Likewise.
9198         * java/util/zip/ZipException.java: Likewise.
9199
9200 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9201
9202         * java/rmi/AccessException.java: Remerge from Classpath.
9203         * java/rmi/AlreadyBoundException.java: Ditto.
9204         * java/rmi/ConnectException.java: Ditto.
9205         * java/rmi/ConnectIOException.java: Ditto.
9206         * java/rmi/MarshalException.java: Ditto.
9207         * java/rmi/NoSuchObjectException.java: Ditto.
9208         * java/rmi/NotBoundException.java: Ditto.
9209         * java/rmi/RemoteException.java: Ditto.
9210         * java/rmi/RMISecurityException.java: Ditto.
9211         * java/rmi/ServerError.java: Ditto.
9212         * java/rmi/ServerException.java: Ditto.
9213         * java/rmi/ServerRuntimeException.java: Ditto.
9214         * java/rmi/StubNotFoundException.java: Ditto.
9215         * java/rmi/UnexpectedExcpetion.java: Ditto.
9216         * java/rmi/UnknownHostException.java: Ditto.
9217         * java/rmi/UnmarshalException.java: Ditto.
9218
9219 2002-06-15  Tom Tromey  <tromey@redhat.com>
9220
9221         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9222         * java/lang/ArithmeticException.java: Likewise.
9223         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9224         * java/lang/ArrayStoreException.java: Likewise.
9225         * java/lang/Byte.java: Likewise.
9226         * java/lang/CharSequence.java: Likewise.
9227         * java/lang/ClassCastException.java: Likewise.
9228         * java/lang/ClassCircularityError.java: Likewise.
9229         * java/lang/ClassFormatError.java: Likewise.
9230         * java/lang/CloneNotSupportedException.java: Likewise.
9231         * java/lang/Cloneable.java: Likewise.
9232         * java/lang/Comparable.java: Likewise.
9233         * java/lang/Compiler.java: Likewise.
9234         * java/lang/Error.java: Likewise.
9235         * java/lang/ExceptionInInitializerError.java: Likewise.
9236         * java/lang/IllegalAccessError.java: Likewise.
9237         * java/lang/IllegalAccessException.java: Likewise.
9238         * java/lang/IllegalArgumentException.java: Likewise.
9239         * java/lang/IllegalMonitorStateException.java: Likewise.
9240         * java/lang/IllegalStateException.java: Likewise.
9241         * java/lang/IllegalThreadStateException.java: Likewise.
9242         * java/lang/IncompatibleClassChangeError.java: Likewise.
9243         * java/lang/IndexOutOfBoundsException.java: Likewise.
9244         * java/lang/InheritableThreadLocal.java: Likewise.
9245         * java/lang/InstantiationError.java: Likewise.
9246         * java/lang/InstantiationException.java: Likewise.
9247         * java/lang/InternalError.java: Likewise.
9248         * java/lang/InterruptedException.java: Likewise.
9249         * java/lang/LinkageError.java: Likewise.
9250         * java/lang/NegativeArraySizeException.java: Likewise.
9251         * java/lang/NoClassDefFoundError.java: Likewise.
9252         * java/lang/NoSuchFieldError.java: Likewise.
9253         * java/lang/NoSuchFieldException.java: Likewise.
9254         * java/lang/NoSuchMethodError.java: Likewise.
9255         * java/lang/NoSuchMethodException.java: Likewise.
9256         * java/lang/NullPointerException.java: Likewise.
9257         * java/lang/NumberFormatException.java: Likewise.
9258         * java/lang/OutOfMemoryError.java: Likewise.
9259         * java/lang/Process.java: Likewise.
9260         * java/lang/Runnable.java: Likewise.
9261         * java/lang/RuntimePermission.java: Likewise.
9262         * java/lang/SecurityException.java: Likewise.
9263         * java/lang/Short.java: Likewise.
9264         * java/lang/StackOverflowError.java: Likewise.
9265         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9266         * java/lang/ThreadDeath.java: Likewise.
9267         * java/lang/ThreadLocal.java: Likewise.
9268         * java/lang/UnknownError.java: Likewise.
9269         * java/lang/UnsatisfiedLinkError.java: Likewise.
9270         * java/lang/UnsupportedClassVersionError.java: Likewise.
9271         * java/lang/UnsupportedOperationException.java: Likewise.
9272         * java/lang/VerifyError.java: Likewise.
9273         * java/lang/VirtualMachineError.java: Likewise.
9274         * java/lang/reflect/InvocationTargetException.java: Likewise.
9275         * java/net/BindException.java: Likewise.
9276         * java/net/ConnectException.java: Likewise.
9277         * java/net/MalformedURLException.java: Likewise.
9278         * java/net/NoRouteToHostException.java: Likewise.
9279         * java/net/ProtocolException.java: Likewise.
9280         * java/net/SocketException.java: Likewise.
9281         * java/net/UnknownHostException.java: Likewise.
9282         * java/net/UnknownServiceException.java: Likewise.
9283
9284         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9285         * java/io/CharConversionException.java: Likewise.
9286         * java/io/EOFException.java: Likewise.
9287         * java/io/FileNotFoundException.java: Likewise.
9288         * java/io/IOException.java: Likewise.
9289         * java/io/InterruptedIOException.java: Likewise.
9290         * java/io/InvalidClassException.java: Likewise.
9291         * java/io/InvalidObjectException.java: Likewise.
9292         * java/io/NotActiveException.java: Likewise.
9293         * java/io/NotSerializableException.java: Likewise.
9294         * java/io/ObjectStreamException.java: Likewise.
9295         * java/io/ObjectStreamConstants.java: Likewise.
9296         * java/io/OptionalDataException.java: Likewise.
9297         * java/io/PipedInputStream.java: Likewise.
9298         * java/io/PushbackInputStream.java: Likewise.
9299         * java/io/StreamCorruptedException.java: Likewise.
9300         * java/io/SyncFailedException.java: Likewise.
9301         * java/io/UTFDataFormatException.java: Likewise.
9302         * java/io/UnsupportedEncodingException.java: Likewise.
9303         * java/io/WriteAbortedException.java: Likewise.
9304
9305 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9306
9307         * java/text/ChoiceFormat.java: Update comments from Classpath.
9308         * java/text/ParseException.java (serialVersionUID): New
9309         field from Classpath.
9310         * java/text/ParseException.java: Update formatting & comments
9311         from Classpath.
9312
9313 2002-06-15  Tom Tromey  <tromey@redhat.com>
9314
9315         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9316         been read but none output by inflater.
9317         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9318         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9319         is_finished.
9320         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9321         version.
9322         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9323         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9324         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9325         version.
9326         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9327
9328 2002-06-13  Tom Tromey  <tromey@redhat.com>
9329
9330         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9331         true and OFFSET!=0.
9332         * java/lang/String.java (String(char[],int,int,boolean): New
9333         constructor.
9334         * java/lang/Long.java: Imported new version from Classpath.
9335         * java/lang/Number.java: Likewise.
9336         * java/lang/Integer.java: Likewise.
9337         * java/lang/Long.java: Likewise.
9338         * java/lang/Float.java: Likewise.
9339         * java/lang/Boolean.java: Likewise.
9340         * java/lang/Double.java: Likewise.
9341         * java/lang/Void.java: Likewise.
9342
9343 2002-06-12  Tom Tromey  <tromey@redhat.com>
9344
9345         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9346         Fixes PR libgcj/6652.
9347
9348 2002-06-10  Tom Tromey  <tromey@redhat.com>
9349
9350         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9351         (Class::getPackagePortion): Likewise.
9352         * java/lang/Class.java (desiredAssertionStatus): New method from
9353         Classpath.
9354         (getPackagePortion): Likewise.
9355         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9356         packageAssertionStatus, classAssertionStatus): New methods from
9357         Classpath.
9358         * java/lang/ClassLoader.java (defaultAssertionStatus,
9359         systemPackageAssertionStatus, packageAssertionStatus,
9360         systemClassAssertionStatus, classAssertionStatus): New fields from
9361         Classpath.
9362         (setDefaultAssertionStatus, setPackageAssertionStatus,
9363         setClassAssertionStatus, clearAssertionStatus): New methods from
9364         Classpath.
9365         * Makefile.in: Rebuilt.
9366         * Makefile.am (core_java_source_files): Added AssertionError.java.
9367         * java/lang/AssertionError.java: New from Classpath.
9368
9369 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9370
9371         * configure.host: Disable hash synchronization and slow_pthread_self
9372         for cygwin.
9373
9374 2002-06-06  Adam Megacz <adam@xwt.org>
9375
9376         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9377         locking, just like the Sun JVM does.
9378
9379 2002-06-05  H.J. Lu  (hjl@gnu.org)
9380
9381         * Makefile.am (libgcj_convenience.la): Revert the last change.
9382         (libgcj.la): Likewise.
9383         * Makefile.in: Regenerated.
9384
9385 2002-06-04  H.J. Lu  (hjl@gnu.org)
9386
9387         * Makefile.am (libgcj_convenience.la): New target.
9388         (libgcj.la): Depend on libgcj_convenience.la.
9389         * Makefile.in: Regenerated.
9390
9391 2002-06-04  H.J. Lu  (hjl@gnu.org)
9392
9393         * configure.in (--with-newlib): New option:
9394         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9395         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9396         Linux.
9397         * configure: Regenerated.
9398
9399 2002-06-04  Tom Tromey  <tromey@redhat.com>
9400
9401         * java/util/natTimeZone.cc: Include <stdio.h>.
9402
9403 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9404
9405         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9406         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9407         Set SIGNAL_HANDLER=include/s390-linux.h.
9408         * configure: Regenerate.
9409         * include/s390-linux.h: New file.
9410
9411 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9412
9413         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9414         not "stackTrace".
9415
9416 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9417
9418         Merge JDK 1.4 java.security changes from classpath.
9419
9420         * java/security/AccessControlException.java: Merge from Classpath.
9421         * java/security/AccessController.java: Likewise.
9422         * java/security/AllPermission.java: Likewise.
9423         * java/security/BasicPermission.java: Likewise.
9424         * java/security/Certificate.java: Likewise.
9425         * java/security/CodeSource.java: Likewise.
9426         * java/security/DigestException.java: Likewise.
9427         * java/security/DigestOutputStream.java: Likewise.
9428         * java/security/DomainCombiner.java: Likewise.
9429         * java/security/GeneralSecurityException.java: Likewise.
9430         * java/security/Guard.java: Likewise.
9431         * java/security/GuardedObject.java: Likewise.
9432         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9433         * java/security/InvalidKeyException.java: Likewise.
9434         * java/security/InvalidParameterException.java: Likewise.
9435         * java/security/Key.java: Likewise.
9436         * java/security/KeyException.java: Likewise.
9437         * java/security/KeyManagementException.java: Likewise.
9438         * java/security/KeyStoreException.java: Likewise.
9439         * java/security/MessageDigest.java: Likewise.
9440         * java/security/NoSuchAlgorithmException.java: Likewise.
9441         * java/security/NoSuchProviderException.java: Likewise.
9442         * java/security/Permission.java: Likewise.
9443         * java/security/PermissionCollection.java: Likewise.
9444         * java/security/Permissions.java: Likewise.
9445         * java/security/Policy.java: Likewise.
9446         * java/security/Principal.java: Likewise.
9447         * java/security/PrivateKey.java: Likewise.
9448         * java/security/PrivilegedAction.java: Likewise.
9449         * java/security/PrivilegedActionException.java: Likewise.
9450         * java/security/PrivilegedExceptionAction.java: Likewise.
9451         * java/security/ProtectionDomain.java: Likewise.
9452         * java/security/ProviderException.java: Likewise.
9453         * java/security/PublicKey.java: Likewise.
9454         * java/security/SecureClassLoader.java: Likewise.
9455         * java/security/SecurityPermission.java: Likewise.
9456         * java/security/SignatureException.java: Likewise.
9457         * java/security/UnrecoverableKeyException.java: Likewise.
9458         * java/security/UnresolvedPermission.java: Likewise.
9459         * java/security/acl/AclNotFoundException.java: Likewise.
9460         * java/security/acl/LastOwnerException.java: Likewise.
9461         * java/security/acl/NotOwnerException.java: Likewise.
9462         * java/security/cert/CRLException.java: Likewise.
9463         * java/security/cert/CertificateEncodingException.java: Likewise.
9464         * java/security/cert/CertificateException.java: Likewise.
9465         * java/security/cert/CertificateExpiredException.java: Likewise.
9466         * java/security/cert/CertificateFactory.java: Likewise.
9467         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9468         * java/security/cert/CertificateParsingException.java: Likewise.
9469         * java/security/spec/InvalidKeySpecException.java: Likewise.
9470         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9471
9472         * java/security/cert/CertPath.java: New file.
9473         * java/security/cert/CertPathBuilderException.java: New file.
9474         * java/security/cert/CertPathValidatorException.java: New file.
9475         * java/security/cert/CertStoreException.java: New file.
9476
9477         * Makefile.am: Add new CertPath classes.
9478         * Makefile.in: Rebuilt.
9479
9480         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9481
9482 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9483
9484         Merge JDK 1.4 exception chaining support from classpath.
9485
9486         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9487         (stackTraceBytes): Rename from stackTrace.
9488         * java/lang/Exception.java: Merge from classpath.
9489         * java/lang/StackTraceElement: New file from classpath.
9490         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9491         * Makefile.am: Add StackTraceElement.
9492         * Makefile.in: Rebuilt.
9493
9494 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9495
9496         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9497         they build first.
9498         * Makefile.in: Rebuilt.
9499
9500 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9501
9502         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9503         * configure.in: Likewise.
9504         * aclocal.m4: Regenerate.
9505         * configure: Regenerate.
9506
9507 2002-05-13  Tom Tromey  <tromey@redhat.com>
9508
9509         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9510         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9511         Include platform.h.
9512
9513         Fixes PR libgcj/6389:
9514         * Makefile.in: Rebuilt.
9515         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9516         * java/util/natTimeZone.cc: New file.
9517         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9518         * java/lang/System.java: Merged with Classpath.
9519         * java/lang/Runtime.java: Merged with Classpath.
9520         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9521         security check.
9522         (setIn0): Renamed from setIn; don't run security check.
9523         (setOut0): Renamed from setOut; don't run security check.
9524         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9525         init_properties): Moved to natRuntime.cc.
9526         Moved many includes to natRuntime.cc.
9527         (isWordsBigEndian): New method.
9528         * java/lang/natRuntime.cc: Include Long.h, also other includes
9529         previously in natSystem.cc.
9530         (maxMemory): New function.
9531         (exitInternal): Renamed from `_exit'.
9532         (exit): Removed.
9533         (init): Don't set finalize_on_exit.
9534         (exitInternal): Use `finalizeOnExit'.
9535         (file_encoding, getpwuid_adaptor): New functions from
9536         natSystem.cc.
9537         (insertSystemProperties): New method, renamed from
9538         System::init_properties.  Don't set user.timezone.
9539         (_load): Don't call checkLink.
9540         (execInternal): New method.
9541         (availableProcessors): Likewise.
9542         (nativeGetLibname): Likewise.
9543
9544 2002-05-11  Mark Wielaard  <mark@klomp.org>
9545
9546         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9547         space characters.
9548         (previous_internal): Likewise.
9549
9550 2002-05-09  Tom Tromey  <tromey@redhat.com>
9551
9552         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9553
9554         * java/util/ResourceBundle.java: New version from Classpath.
9555         * java/util/Locale.java: Likewise.
9556
9557 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9558
9559         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9560         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9561         LD_LIBRARY_PATH.
9562
9563 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9564
9565         * libjava/Makefile.am (all_java_source_files): New variable.
9566         (all_java_class_files): Likewise.
9567         .java.class: New rule.
9568         (CLEANFILES): Remove tmp-list.
9569         * libjava/Makefile.in: Regenerated.
9570
9571 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9572
9573         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9574         Append .exe to executable names.  Fix for cygwin.
9575
9576 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9577
9578         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9579         script entry, and set LD to it when configuring multilibs.
9580         * configure: Rebuilt.
9581
9582 2002-05-07  Tom Tromey  <tromey@redhat.com>
9583
9584         * java/lang/natString.cc (unintern): Fixed typo.
9585
9586 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9587
9588         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9589         with -no-install on *-*-cygwin*.
9590
9591 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9592
9593         * testsuite/lib/libjava.exp (test_libjava_from_source):
9594         Add comment explaining last patch
9595
9596 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9597
9598         * testsuite/lib/libjava.exp (test_libjava_from_source):
9599         Append .exe to executable names.  If no suffix is present,
9600         then ".exe" is added by default on win32.  Harmless
9601         elsewhere so always do it.
9602
9603 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9604             Tom Tromey  <tromey@redhat.com>
9605
9606         * java/lang/natSystem.cc (getSystemTimeZone): Use
9607         HAVE_UNDERSCORE_TIMEZONE.
9608         * include/config.h.in: Rebuilt.
9609         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9610         * aclocal.m4, configure: Rebuilt.
9611         * acinclude.m4: Run AC_EXEEXT.
9612         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9613         Add test for `_timezone'.
9614
9615 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9616
9617         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9618         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9619         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9620         * Makefile.in: Rebuilt.
9621
9622 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9623
9624         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9625         use sigaction instead of __libc_sigaction.
9626
9627 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9628
9629         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9630         (libjava_init): Use it to find libgcj.spec.
9631         (libjava_arguments): Likewise.
9632
9633 2002-05-02  David S. Miller  <davem@redhat.com>
9634
9635         PR bootstrap/6525
9636         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9637         __libc_sigaction on Sparc.
9638
9639 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9640
9641         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9642         sys/filio.h, if present.
9643
9644 2002-04-30  Tom Tromey  <tromey@redhat.com>
9645
9646         * java/io/BufferedReader.java (fill): Handle case where markPos
9647         point to ignored \n.  Fixes PR libgcj/6301.
9648
9649 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9650
9651         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9652
9653 2002-04-29  Adam King <aking@dreammechanics.com>
9654
9655         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9656         of file in APPEND mode.
9657
9658 2002-04-25  David S. Miller  <davem@redhat.com>
9659
9660         PR target/6422
9661         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9662         program counter to next program counter minus 8.  Update
9663         comments in this macro to explain why.
9664
9665 2002-04-26  Tom Tromey  <tromey@redhat.com>
9666
9667         * verify.cc (construct_primitive_array_type) [void_type]: New
9668         case.
9669         (branch_prepass): Added dummy entries for unused instruction
9670         values.
9671         (verify_instructions_0): Likewise.
9672         * interpret.cc (continue1): Comment fix.
9673         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9674         * Makefile.in: Rebuilt.
9675         * Makefile.am: Added -Wswitch-enum.
9676
9677 2002-04-24  Tom Tromey  <tromey@redhat.com>
9678
9679         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9680         correct length of UTF-8 encoded name.  Strip leading `/'.
9681         (_Jv_RegisterResource): Use _Jv_Malloc.
9682
9683 2002-04-23  Adam Megacz <adam@xwt.org>
9684
9685         * win32.cc, include/win32.cc (backtrace): Added this function
9686         because Win32 does not supply it.
9687
9688 2002-04-21  David S. Miller  <davem@redhat.com>
9689
9690         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9691         magic instruction reading sequence.
9692
9693 2002-04-21  Mark Wielaard  <mark@klomp.org>
9694
9695         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9696
9697 2002-04-19  David S. Miller  <davem@redhat.com>
9698
9699         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9700         arg.
9701         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9702         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9703         on Sparc too.
9704         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9705         for 64-bit sparc.
9706         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9707         * sysdeps/sparc/locks.h: New file.
9708         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9709         on all sparc Solaris configurations.  Set to
9710         include/dwarf2-signal.h on sparc Linux.
9711         * configure: Regenerate
9712         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9713
9714 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9715
9716         * configure: Rebuilt.
9717         * configure.in (backtrace): Function doesn't work on IA-64.
9718
9719 2002-04-17  Adam King <aking@dreammechanics.com>
9720
9721         * java/io/File.java (normalizePath): Add Win32 support for auto
9722         conversion of a '/' path separator to Win32's '\' separator.
9723
9724 2002-04-16  Tom Tromey  <tromey@redhat.com>
9725
9726         Fix for PR libgcj/6081:
9727         * Makefile.in: Rebuilt.
9728         * Makefile.am (install-data-local): Use GNU make trick to avoid
9729         shell limit.
9730
9731 2002-04-16  Adam King <aking@dreammechanics.com>
9732             Tom Tromey  <tromey@redhat.com>
9733
9734         * java/io/natFileWin32.cc (performList): Return the correct array
9735         type.  Don't duplicate the creation of a File since it's already
9736         done earlier in the method and the existing code would cause a
9737         ArrayStoreException.  Don't use fixed-size array.
9738         (_access, _stat, attr, getCanonicalPath, performMkdir,
9739         performRenameTo): Don't use fixed-size array.
9740         (getCanonicalPath): Use throw, not _Jv_Throw.
9741
9742 2002-04-15  DJ Delorie  <dj@redhat.com>
9743
9744         * configure.in: Allow building in $srcdir.
9745         * configure: Regenerated.
9746
9747 2002-04-14  Mark Wielaard <mark@klomp.org>
9748
9749         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9750         * java/net/natSocketImpl.cc (close): Likewise.
9751
9752 2002-04-14  Mark Wielaard <mark@klomp.org>
9753
9754         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9755
9756 2002-04-13  Adam King <aking@dreammechanics.com>
9757
9758         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9759         the f/F/d/D modifiers.
9760
9761 2002-04-12  Anthony Green  <green@redhat.com>
9762
9763         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9764         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9765         * Makefile.in: Rebuilt.
9766         * configure.in: Substitute gcc_version.
9767         * configure: Rebuilt.
9768
9769 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9770
9771         * configure.host: Set can_unwind_signal on hosts which support it.
9772         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9773         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9774         exceptions and can_unwind_signal isn't set.
9775         * configure: Rebuilt.
9776
9777 2002-04-11  Tom Tromey  <tromey@redhat.com>
9778
9779         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9780
9781 2002-04-11  Adam King <aking@dreammechanics.com>
9782             Tom Tromey  <tromey@redhat.com>
9783
9784         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9785         _Jv_ThrowNullPointerException): Mark as noreturn.
9786         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9787         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9788         fixes.
9789
9790 2002-04-10  Tom Tromey  <tromey@redhat.com>
9791
9792         * Makefile.in: Rebuilt.
9793         * Makefile.am (java/lang/Thread.h): Mark
9794         _Jv_AttachCurrentThreadAsDaemon as friend.
9795         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9796         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9797         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9798         function.
9799         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9800         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9801         (_Jv_JNI_InvokeFunctions): Added
9802         _Jv_JNI_AttachCurrentThreadAsDaemon.
9803         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9804         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9805         (JNI_CreateJavaVM): Likewise.
9806         (_Jv_JNI_AttachCurrentThread): Likewise.
9807         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9808         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9809         (_Jv_JNIFunctions): Initialize new fields.
9810         (_Jv_JNI_NewDirectByteBuffer): New function.
9811         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9812         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9813         * include/jni.h (JNI_VERSION_1_4): New macro.
9814         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9815         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9816         (JNINativeInterface::NewDirectByteBuffer): New field.
9817         (JNINativeInterface::GetDirectBufferAddress): New field.
9818         (JNINativeInterface::GetDirectBufferCapacity): New field.
9819         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9820         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9821         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9822
9823 2002-04-09  Tom Tromey  <tromey@redhat.com>
9824
9825         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9826
9827 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9828
9829         Fix for PR libgcj/6187:
9830         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9831         distance.
9832
9833 2002-04-07  Mark Wielaard <mark@klomp.org>
9834
9835         * java/util/AbstractMap.java (putAll): Use entrySet size.
9836         (toString): Explicitly use getKey() and getValue().
9837
9838 2002-04-07  Mark Wielaard <mark@klomp.org>
9839
9840         * java/util/Hashtable.java (contains): Remove NullPointer check.
9841         (containsValue): Add NullPointer check.
9842         (remove): Always throw NullPointerException when key
9843         is null.
9844
9845 2002-04-07  Adam King <aking@dreammechanics.com>
9846
9847         * java/lang/natSystem.cc (init_properties): Call new function
9848         _Jv_platform_initProperties.
9849         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9850         support for the System properties os.name, os.arch, os.version,
9851         user.name, user.home, and user.dir.
9852         * include/posix.h, include/win32.h, posix.cc: New function
9853         _Jv_platform_initProperties.
9854
9855 2002-04-06  Mark Wielaard <mark@klomp.org>
9856
9857         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9858
9859 2002-04-06  Mark Wielaard <mark@klomp.org>
9860
9861         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9862         all of the remaining elements.
9863         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9864         (removeRange): If toIndex == fromIndex do
9865         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9866         (removeAll): Always throw NullPointerException when collection is
9867         null.
9868         (retrainAll): Likewise.
9869
9870 2002-04-05  Mark Wielaard <mark@klomp.org>
9871
9872         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9873         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9874
9875 2002-04-05  Adam Megacz <adam@xwt.org>
9876
9877         * exception.cc (abort): added static modifier
9878
9879 2002-04-04  Adam Megacz <adam@xwt.org>
9880
9881         * include/win32.h (_Jv_platform_close_on_exec): added inline
9882         modifier.
9883
9884 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9885
9886         * configure.host: Add case statement to support generic port
9887         properties.  Add *-*-freebsd* section.
9888
9889 2002-04-04  Mark Wielaard  <mark@klomp.org>
9890
9891         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9892         test.
9893         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9894         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9895         that depend on awt code and BufferedByteOutputStream.interrupt.
9896
9897 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9898
9899         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9900         incorrect "hi" value when count > 40.
9901
9902 2002-04-03  Mark Wielaard  <mark@klomp.org>
9903
9904         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9905         ordering.
9906
9907 2002-04-02  Tom Tromey  <tromey@redhat.com>
9908
9909         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9910         not `0'.
9911
9912 2002-04-02  Mark Wielaard  <mark@klomp.org>
9913
9914         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9915         list of testsuite crashers.
9916
9917 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9918
9919         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9920         when resizing table.
9921
9922 2002-04-01  Mark Wielaard  <mark@klomp.org>
9923
9924         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9925         NegativeArraySizeException
9926         (clear(int)): Use sign extended shift.
9927         (flip(int)): Likewise.
9928         (get(int)): Likewise.
9929         (nextClearBit(int)): Likewise.
9930         (nextSetBit(int)): Likewise.
9931         (set(int)): Likewise.
9932
9933 2002-04-01  Mark Wielaard  <mark@klomp.org>
9934
9935         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9936         that can be compiled now and add testsuite crashers to ignore list.
9937
9938 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9939
9940         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9941
9942         * libgcj.spec.in: Override libgcc, not lib.
9943         * libgcj-test.spec.in: Likewise.
9944
9945 2002-03-29  Tom Tromey  <tromey@redhat.com>
9946
9947         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9948         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9949
9950 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9951
9952         * java/net/PlainDatagramSocketImpl.java
9953         (close): Use native implementation.
9954         (finalize): New method.
9955
9956         * java/net/PlainSocketImpl.java (finalize): New method.
9957
9958         * java/net/natPlainDatagramSocketImpl.cc
9959         (java/io/FileDescriptor.h): Don't include.
9960         (close): Implement method here.
9961         (create): Don't assign fd.
9962
9963         * java/net/natPlainSocketImpl.cc
9964         (java/io/FileDescriptor.h): Don't include.
9965         (create): Don't assign fd.
9966         (accept): Likewise.
9967         (close): Synchronize.
9968
9969 2002-03-27  Richard Henderson  <rth@redhat.com>
9970
9971         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9972
9973 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9974
9975         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9976         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9977         instead of syscall on IA-64.
9978         Add FIXME comment.
9979
9980 2002-03-27  Anthony Green  <green@redhat.com>
9981
9982         * libgcj.spec.in: Add CHECKREFSPEC.
9983         * configure.in: Ditto.
9984         * configure.host: Ditto.  Check references for xscale-elf.
9985         * configure: Rebuilt.
9986
9987 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9988
9989         * include/dwarf2-signal.h: Temporarily back out last change.
9990
9991 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9992
9993         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9994
9995 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9996
9997         * configure.in, configure: enable dwarf2-exception-style
9998         exception handling on IA-64.
9999         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10000         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10001         Add FIXME comment.
10002
10003 2002-03-25  Tom Tromey  <tromey@redhat.com>
10004
10005         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10006         (jv_convert_LDFLAGS): Likewise.
10007         (gij_LDFLAGS): Likewise.
10008         (rmic_LDFLAGS): Likewise.
10009         (rmiregistry_LDFLAGS): Likewise.
10010         * configure.in (THREADLDFLAGS): New subst; set correctly for
10011         *BSD.
10012
10013 2002-03-25  Tom Tromey  <tromey@redhat.com>
10014
10015         For PR libgcj/5303:
10016         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10017         and --version.
10018         (help): New method.
10019         (version): Likewise.
10020         * gnu/gcj/convert/Convert.java (version): Removed extraneous
10021         "GNU".
10022         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10023         "GNU".
10024
10025 2002-03-25  Tom Tromey  <tromey@redhat.com>
10026
10027         * java/awt/Component.java (processEvent): Check ComponentEvent
10028         after KeyEvent.
10029
10030 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10031
10032         * java/io/PushbackReader.java: Reformat.
10033
10034         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10035         calculate correct number of bytes skipped.
10036
10037         Based on patch from Intel's ORP team:
10038         * java/io/PushbackInputStream.java (available): Calculate correct
10039         number of bytes in buffer.
10040         (read): Remove redundant bound check. Return bytes from both the
10041         buffer and the stream.
10042
10043 2002-03-24  Tom Tromey  <tromey@redhat.com>
10044
10045         * java/awt/TextComponent.java (TextComponent): Editable by
10046         default.
10047
10048         * java/awt/MenuItem.java (eventMask): No longer private.
10049         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10050         superclass if we didn't handle event.
10051         * java/awt/Checkbox.java (dispatchEventImpl): New method.
10052         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10053         * java/awt/Choice.java (dispatchEventImpl): New method.
10054         * java/awt/List.java (dispatchEventImpl): New method.
10055         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10056         * java/awt/TextComponent.java (dispatchEventImpl): New method.
10057         * java/awt/TextField.java (dispatchEventImpl): New method.
10058
10059 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10060
10061         * java/beans/IntrospectionException.java: Update to 1.4.
10062         * java/beans/PropertyVetoException.java: Ditto.
10063
10064 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
10065
10066         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10067         Arrays.equals instead of ArrayHelper.equalsArray.
10068
10069 2002-03-24  C. Brian Jones <cbj@gnu.org>
10070
10071         * java/beans/Introspector.java: added new static final fields
10072         introduced in 1.2, lots of other updates remain to be done
10073
10074 2002-03-24  C. Brian Jones <cbj@gnu.org>
10075
10076         * java/beans/Introspector.java: reformatting
10077
10078 2002-03-24  C. Brian Jones <cbj@gnu.org>
10079
10080         * java/beans/Introspector.java: default beanInfoSearchPath will
10081         not include sun.beans.infos given we provide no such package and
10082         the API doesn't really require it; gnu.java.beans.info is the
10083         default.
10084
10085 2002-03-24  Mark Wielaard  <mark@klomp.org>
10086
10087         Thanks to Orp developers
10088         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10089         switch TRUE and FALSE return values.
10090
10091 2002-03-23  Tom Tromey  <tromey@redhat.com>
10092
10093         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10094         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10095
10096 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10097
10098         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10099         MONTH entry.  Fixes PR libgcj/6045.
10100
10101 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10102
10103         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10104
10105 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10106
10107         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10108         not release_set.
10109         * sysdep/powerpc/locks.h (write_barrier): New function.
10110         * sysdep/i386/locks.h (write_barrier): New function.
10111
10112 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10113
10114         * include/jni.h Use correct C comments.
10115
10116 2002-03-18  Tom Tromey  <tromey@redhat.com>
10117
10118         * include/jni.h (JNIIMPORT): New macro.
10119         (JNIEXPORT): Likewise.
10120         (JNICALL): Likewise.
10121
10122 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10123
10124         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10125         systems.
10126
10127 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10128
10129         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10130         INIT_SEGV: Use old_i386_kernel_sigaction.
10131         INIT_FP: Likewise.
10132
10133 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10134
10135         * java/lang/natSystem.cc (init_properties): Update VM version
10136         properties.
10137         * configure.in: Set GCJVERSION.
10138         * acconfig.h: Add GCJVERSION.
10139         * configure: Rebuilt.
10140         * include/config.h.in: Rebuilt.
10141
10142 2002-03-17  Anthony Green  <green@redhat.com>
10143
10144         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10145
10146 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10147
10148         Build a single libgcj.so, without separate gc and zlib libraries.
10149         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10150         SYS_ZLIBS if system zlib is used.
10151         * configure: Rebuilt.
10152         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10153         * Makefile.in: Rebuilt.
10154         * libtool-version: Increment .so version number.
10155
10156         * Makefile.am: Escape quotes in echo.
10157         * Makefile.in: Rebuilt.
10158
10159 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10160
10161         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10162         * Makefile.in: Rebuilt.
10163
10164 2002-03-15  Anthony Green  <green@redhat.com>
10165
10166         * configure.host (FILE): New macro for specifing File
10167         implementation.
10168         * configure: Rebuilt.
10169         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10170
10171 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10172
10173         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10174         already implicitly brought in from libgcj.la.
10175         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10176         * Makefile.in: Rebuilt.
10177
10178 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10179
10180         * THANKS: Fix punctuation, alphabetization.
10181
10182 2002-03-15  Tom Tromey  <tromey@redhat.com>
10183             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10184
10185         Fix for PR libgcj/5944.
10186         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10187
10188 2002-03-15  Anthony Green  <green@redhat.com>
10189
10190         * configure.in (tool_include_dir): Define.
10191         * configure: Rebuilt.
10192         * gcj/Makefile.am: Install libgcj-config.h relative to
10193         tool_include_dir.
10194         * gcj/Makefile: Rebuilt.
10195         * gcj/libgcj-config.h: Add warning comment.
10196
10197 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10198
10199         * configure.host (powerpc*-darwin*): Enable interpreter.
10200
10201 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10202
10203         * include/posix.h: Add multiple include header protection.
10204         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10205
10206 2002-03-10  Adam Megacz <adam@xwt.org>
10207
10208         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10209
10210 2002-03-10  Tom Tromey  <tromey@redhat.com>
10211
10212         * java/awt/GridLayout.java (layoutContainer): Handle case where
10213         there are no items in container.
10214
10215         * java/lang/Win32Process.java: Added comment.
10216         * include/posix.h (_Jv_platform_close_on_exec): New function.
10217         Include fcntl.h.
10218         * include/win32.h (_Jv_platform_close_on_exec): New function.
10219         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10220         flag.
10221         (accept): Likewise.
10222         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10223         close-on-exec flag.
10224         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10225         flag.
10226
10227 2002-03-09  Tom Tromey  <tromey@redhat.com>
10228
10229         * verify.cc (state::NO_STACK): New constant.
10230         (state::is_unmerged_ret_state): Handle case where stacktop is
10231         NO_STACK.
10232         (state::merge): Handle NO_STACK merges.
10233         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10234         for instruction following jsr.
10235         (stacktop, stackdepth): Removed unused variables.
10236         (pop_jump): Ignore case where all remaining states are skipped.
10237
10238 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10239
10240         * java/awt/ImageMediaEntry: Removed.
10241         * java/awt/MediaEntry: Removed.
10242
10243 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10244
10245         Hashtable synchronization for PowerPC.
10246         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10247         slow_pthread_self. Set up symlink for sysdeps directory.
10248         * configure: Rebuild.
10249         * configure.host: Document more shell variables. Set sysdeps_dir
10250         for most platforms. Set slow_pthread_self for i686. Set
10251         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10252         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10253         that memory barrier is emitted where required.
10254         * prims.cc: 64-bit align static primitive class instances.
10255         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10256         read_barrier() to enforce ordering of reads.
10257         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10258         primitives for PowerPC.
10259         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10260         moved from natObject.cc.
10261         * sysdep/alpha/locks.h: Likewise.
10262         * sysdep/ia64/locks.h: Likewise.
10263         * sysdep/generic/locks.h: Likewise.
10264         * java/lang/natObject.cc: Move thread synchronization primitives to
10265         system-dependent headers.
10266
10267 2002-03-09  Adam Megacz  <adam@xwt.org>
10268
10269         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10270         bytes read and no failure code returned.
10271
10272 2002-03-09  Adam Megacz  <adam@xwt.org>
10273
10274         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10275         definitions to simulate -mthreads.
10276
10277 2002-03-09  Adam Megacz  <adam@xwt.org>
10278
10279         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10280         avoid precision loss.
10281
10282 2002-03-09  Per Bothner  <per@bothner.com>
10283
10284         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10285         * gnu/gcj/xlib/XImage.java:  Likewise.
10286         * gnu/gcj/xlib/XColor.java:  Likewise.
10287
10288 2002-03-09  Adam Megacz  <adam@xwt.org>
10289
10290         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10291         IOException so that Throwable.printStackTrace fails correctly.
10292
10293 2002-03-08  Adam Megacz  <adam@xwt.org>
10294
10295         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10296         fixed.
10297
10298 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10299
10300         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10301         truncated to int.
10302
10303 2002-03-08  Tom Tromey  <tromey@redhat.com>
10304
10305         * include/jni.h: Include stdio.h.
10306
10307 2002-03-08  Tom Tromey  <tromey@redhat.com>
10308
10309         * posix.cc (internal_gettimeofday): New function.
10310         (_Jv_select): Use it.
10311
10312 2002-03-07  Adam Megacz  <adam@xwt.org>
10313
10314         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10315         WIN32, and added thunks for read(), write(), and close().
10316         * java/net/natPlainSocketImpl.cc (accept, read, read):
10317         Disabled timeouts on WIN32 pending discussion.
10318
10319 2002-03-07  Adam Megacz  <adam@xwt.org>
10320
10321         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10322         returns jlong. Added implementation
10323         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10324         returns jlong.
10325         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10326         returns jlong.
10327         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10328         returns jlong.
10329         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10330         _Jv_platform_gettimeofday signature.
10331
10332 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10333
10334         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10335         (read): Call recv() directly, not _Jv_recv().
10336
10337 2002-03-06  Tom Tromey  <tromey@redhat.com>
10338
10339         * java/io/natFileDescriptorEcos.cc (init): Don't use
10340         GetStdHandle.
10341         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10342         is negative.
10343         (init): Don't use GetStdHandle.
10344
10345         * include/config.h.in: Rebuilt.
10346         * configure: Rebuilt.
10347         * Makefile.in: Rebuilt.
10348
10349 2002-03-06  Adam Megacz  <adam@xwt.org>
10350
10351         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10352         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10353         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10354         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10355
10356 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10357
10358         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10359         the code for generating include/java-chartables.h.
10360         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10361         merge with Classpath.
10362         * scripts/unicode-muncher.pl: Copy from Classpath.
10363         * scritps/MakeCharTables.java: New file.
10364         * gnu/gcj/convert/Blocks-3.txt: New file.
10365         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10366         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10367         * gnu/java/lang/CharData.java: Copy from Classpath.
10368         * Makefile.am (ordinary_java_source_files): Add
10369         gnu/java/lang/CharData.java.
10370         * configure.in: Remove --enable-fast-character option.
10371         * java/lang/Character.java: Merge algorithms and Javadoc with
10372         Classpath.
10373         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10374         efficiently.
10375         * include/java-chardecomp.h: Regenerate.
10376         * include/java-chartables.h: Regenerate.
10377
10378 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10379
10380         * java/awt/MediaTracker.java: Implemented.
10381         * Makefile.am: Add MediaTracker.
10382         * Makefile.in: Rebuilt.
10383
10384 2002-03-05  Tom Tromey  <tromey@redhat.com>
10385
10386         * java/lang/natPosixProcess.cc (fail): Removed.
10387         (startProcess): Simplified error-handling.  Preserve
10388         LD_LIBRARY_PATH across exec.
10389
10390         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10391         AbstractMethodError.
10392
10393 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10394
10395         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10396         * Makefile.in: Rebuilt.
10397
10398 2002-03-03 Mark Wielaard <mark@klomp.org>
10399
10400         * java/util/Timer (TaskQueue.stop): set elements to zero.
10401
10402 2002-02-28  Anthony Green  <green@redhat.com>
10403
10404         * java/lang/reflect/natMethod.cc (result): Add void* element.
10405         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10406         constructor test.
10407
10408 2002-02-27  Adam Megacz <adam@xwt.org>
10409
10410         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10411         '#undef STRICT'.
10412
10413 2002-02-26  Tom Tromey  <tromey@redhat.com>
10414
10415         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10416         * gij.cc (version): Use __VERSION__.
10417         * include/config.h.in: Rebuilt.
10418         * acconfig.h (GCJVERSION): Removed.
10419         * configure: Rebuilt.
10420         * configure.in (GCJVERSION): Removed.
10421
10422 2002-02-26  Andreas Schwab  <schwab@suse.de>
10423
10424         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10425         glibcpp_CXX, since libjava uses even another CXX.
10426         * aclocal.m4, configure: Regenerated.
10427
10428 2002-02-26  Tom Tromey  <tromey@redhat.com>
10429
10430         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10431         `1'.
10432
10433 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10434
10435         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10436         dependency tracking for .java files.
10437         * Makefile.in: Rebuilt.
10438
10439 2002-02-24  Adam Megacz  <adam@xwt.org>
10440
10441         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10442         typo. Sorry.
10443
10444 2002-02-24  Adam Megacz  <adam@xwt.org>
10445
10446         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10447         for Win32, changed #ifdefs to check WIN32 instead of the
10448         (now-obsolete) USE_WINSOCK, and removed support for socket
10449         timeouts on Win32 pending further discussion.
10450
10451 2002-02-24  Adam Megacz  <adam@xwt.org>
10452
10453         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10454         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10455         delete
10456
10457 2002-02-24  Adam Megacz  <adam@xwt.org>
10458
10459         * java/lang/Win32Process.java: Created a dummy class to allow
10460         build process to run to completion.
10461
10462 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10463
10464         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10465         Define ffi_result union for ffi_call result.  Cast
10466         ffi_result members to jvalue.
10467
10468 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10469
10470         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10471         * testsuite/Makefile.in: Likewise.
10472
10473 2002-02-20  Per Bothner  <per@bothner.com>
10474
10475         * java/net/URL.java (getPath):  New JDK 1.3 method.
10476
10477         * java/net/URLStreamHandler.java (parseURL):
10478         It is wrong to prepend '/' to the file part of a relative url.
10479
10480         * java/net/URLStreamHandler.java (parseURL):
10481         Minor optizations - append '/' rather than "/".
10482
10483         * java/net/URLStreamHandler.java (parseURL):
10484         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10485         We probably should canonicalize for a context-relative url, though.
10486         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10487         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10488         (sameFile):  New method.  Uses canonicalizeFilename.
10489
10490 2002-02-22  Tom Tromey  <tromey@redhat.com>
10491
10492         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10493         java.vendor and java.vm.vendor.
10494         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10495         recent copyright date.
10496         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10497         * gij.cc (version): Print `Inc'.
10498
10499 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10500
10501         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10502         * aclocal.m4, configure: Rebuilt.
10503
10504 2002-02-20  Per Bothner  <per@bothner.com>
10505
10506         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10507         and/or output streams immediately here, instead of using File.exists.
10508         (inputStream, outputStream):  New fields to save open streams.
10509         (getInputStream, getOutputStream):  Use already-opened streams.
10510
10511 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10512
10513         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10514         Use it.
10515         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10516         * aclocal.m4, configure, Makefile.in: Rebuilt.
10517
10518 2002-02-19  Tom Tromey  <tromey@redhat.com>
10519
10520         Fix for PR libgcj/5696:
10521         * verify.cc (is_assignable_from_slow): Never call
10522         _Jv_IsAssignableFrom.
10523         (verify_instructions_0): Added new debug statement.
10524         (state::print): Print information about whether local has
10525         changed.
10526         (state::merge): Don't call note_variable when merging locals.
10527         (state::set_exception): Removed old FIXME comment.
10528
10529 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10530
10531         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10532         enable SO_BROADCAST.
10533
10534 2002-02-18  Jason Merrill  <jason@redhat.com>
10535
10536         * name-finder.cc (toHex): Use word mode, not long long.
10537
10538         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10539
10540 2002-02-15  Tom Tromey  <tromey@redhat.com>
10541
10542         Fix for PR libgcj/5695:
10543         * verify.cc (is_assignable_from_slow): Check to see if target is
10544         an Object before checking to see if source is an interface.
10545         (verify_instructions_0) [op_invokeinterface]: Handle case where
10546         we're making an interface call on Object.
10547
10548 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10549
10550         * Makefile.in: Rebuilt with Eric's change below.
10551
10552         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10553         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10554         Removed functions which are now implemented in Math.java.
10555
10556 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10557
10558         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10559         * Makefile.am (core_java_source_files): Add
10560         java/lang/StrictMath.java.
10561         * java/lang/Math.java: Merge with Classpath.
10562         * java/lang/StrictMath.java: New file - merge with Classpath.
10563
10564 2002-02-14  Mark Wielaard  <mark@klomp.org>
10565
10566         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10567         package as a workaround for gcj 3.0.x
10568
10569 2002-02-14  Mark Wielaard <mark@klomp.org>
10570
10571         * java/security/BasicPermission.java: extends with fully qualified
10572         classname as workaround for gcj 3.0.4.
10573
10574 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10575
10576         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10577         around gcj bug of wrong emitted qualifier for inherited method.
10578         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10579         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10580         constructor to reduce amount of emitted bytecode. While this
10581         happens to work around a jikes 1.15 bug, it is still a useful
10582         patch even for correct compilers.
10583         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10584         * gnu/java/rmi/server/UnicastRemoteCall.java
10585         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10586
10587 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10588
10589         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10590         * java/net/SocketImpl.java: Ditto.
10591         * java/rmi/server/RMIClassLoader.java: Ditto.
10592         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10593
10594 2002-02-14  Mark Wielaard <mark@klomp.org>
10595
10596         Thanks to Takashi Okamoto
10597         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10598         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10599         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10600
10601 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10602
10603         Fix for PR libgcj/5670:
10604         * verify.cc (is_assignable_from_slow): If `source' is interface,
10605         recursively look for merge with `target'.
10606
10607 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10608
10609         * include/jni.h: Fix typo.
10610
10611 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10612
10613         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10614         correctly.
10615
10616 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10617
10618         Fix for PR libgcj/5671:
10619         * verify.cc (state::merge): Handle case where we're merging
10620         against an interface.
10621
10622 2002-02-12  Tom Tromey  <tromey@redhat.com>
10623
10624         * exception.cc (std::abort): Mark as noreturn.
10625
10626 2002-02-12  Adam Megacz <adam@xwt.org>
10627
10628         * java/lang/Win32Process.java: Filled in a placeholder
10629         implementation so Win32 will build.
10630
10631 2002-02-12  Adam Megacz <adam@xwt.org>
10632
10633         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10634         * java/io/natFile.cc: Removed from repository.
10635         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10636
10637 2002-02-12  Adam Megacz <adam@xwt.org>
10638
10639         * win32.cc: Added two #includes to make win32.cc compile.
10640
10641 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10642
10643         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10644         declarations.
10645         (_Jv_InitGC): Don't bother locking, as this is always called from a
10646         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10647
10648 2002-02-11  Adam Megacz <adam@xwt.org>
10649
10650         * include/win32.h: Added _Jv_platform_gettimeofday.
10651         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10652
10653 2002-02-11  Adam Megacz <adam@xwt.org>
10654
10655         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10656         Added #undef STRICT to make windows.h and
10657         java/lang/reflect/Modifier.h cooperate.
10658
10659 2002-02-11  Adam Megacz <adam@xwt.org>
10660
10661         * java/io/natFileWin32.cc: Created a placeholder class with lots
10662         of FIXMEs.
10663
10664 2002-02-11  Adam Megacz <adam@xwt.org>
10665
10666         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10667         std::abort() to simply abort(). Also added "fake" std::abort() so
10668         we can #include unwind-pe.h without having to link against
10669         libstdc++-v3.
10670
10671 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10672
10673         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10674
10675 2002-02-08  Tom Tromey  <tromey@redhat.com>
10676
10677         * interpret.cc (convert): New function.
10678         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10679         convert.
10680         Include Long.h.
10681
10682 2002-02-08  Anthony Green  <green@redhat.com>
10683
10684         * configure.host: Add support for xscale-elf embedded target.
10685
10686 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10687
10688         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10689         dereferenced.
10690         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10691         frame.
10692
10693 2002-02-07  Tom Tromey  <tromey@redhat.com>
10694
10695         * java/io/natFile.cc (_access): Use __builtin_alloca.
10696         (_stat): Likewise.
10697         (attr): Likewise.
10698         (getCanonicalPath): Likewise.
10699         (performList): Likewise.
10700         (performMkdir): Likewise.
10701         (performSetReadOnly): Likewise.
10702         (performRenameTo): Likewise.
10703         (performSetLastModified): Likewise.
10704         (performCreate): Likewise.
10705         (performDelete): Likewise.
10706
10707 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10708
10709         * HACKING: Fix URL for the automake-gcj.
10710
10711 2002-02-07  Tom Tromey  <tromey@redhat.com>
10712
10713         * java/lang/natThrowable.cc: Updated copyright.
10714         * java/io/natFileWin32.cc: Updated copyright.
10715         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10716         * win32-threads.cc: Updated copyright.
10717         * name-finder.cc: Updated copyright.
10718         * include/name-finder.h: Updated copyright.
10719
10720         * include/name-finder.h: Conditionally include sys/wait.h.
10721         * include/config.h.in: Rebuilt.
10722
10723         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10724         Size buffer based on real size of string.
10725         (_stat): Likewise.
10726         (attr): Likewise.
10727         (getCanonicalPath): Likewise.
10728         (performList): Likewise.
10729         (performMkdir): Likewise.
10730         (performSetReadOnly): Likewise.
10731         (unixroot): Removed.
10732         (performRenameTo): Likewise.
10733         (performSetLastModified): Likewise.
10734         (performCreate): Likewise.
10735         (performDelete): Likewise.
10736         (performListRoots): Always return new array.
10737
10738         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10739         * win32.cc (win32_exception_handler): Now static.
10740         * include/win32.h (_Jv_platform_initialize): Declare.
10741         (win32_exception_handler): Don't declare.
10742         * java/lang/natSystem.cc (currentTimeMillis): Use
10743         _Jv_platform_gettimeofday.
10744         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10745         (_Jv_select): Use new name.
10746         (_Jv_platform_initialize): New function.
10747         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10748         _Jv_gettimeofday.
10749         (_Jv_platform_initialize): Declare.
10750
10751         * configure: Rebuilt.
10752         * configure.in: Removed unnecessary parens.
10753
10754 2002-02-06  Adam Megacz <adam@xwt.org>
10755
10756        * configure.in: Changed mingw) to *mingw*).
10757        * win32.cc: Created this file.
10758        * win32.h: Created this file.
10759        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10760        win32_exception_handler from prims.cc to win32.cc, added
10761        header in win32.h.
10762        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10763        longer needed now that we have platform.h
10764
10765 2002-02-06  Adam Megacz <adam@xwt.org>
10766
10767         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10768         use uint<n>_t instead of LONG and BYTE
10769
10770 2002-02-06  Adam Megacz <adam@xwt.org>
10771
10772         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10773
10774 2002-02-06  Anthony Green  <green@redhat.com>
10775
10776         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10777         Implement missing method stubs.
10778         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10779         targets.
10780         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10781         concept of timezones.
10782         (init_properties): Don't refer to _Jv_Environment_Properties
10783         when this feature is not available.
10784         * include/config.h.in: Rebuilt.
10785         * acconfig.h: Add DISABLE_MAIN_ARGS.
10786         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10787         * configure: Rebuilt.
10788         * configure.in: Add --disable-main-args option.  Test for
10789           opendir function.  Replace AC_CHECK_SIZEOF with
10790           AC_COMPILE_CHECK_SIZEOF.
10791         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10792         * aclocal.m4: Rebuilt.
10793         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10794
10795 2002-02-06  Tom Tromey  <tromey@redhat.com>
10796
10797         * verify.cc (require_array_type): If argument is a null array of
10798         references, return null as the element type.
10799
10800 2002-02-06  Mark Wielaard  <mark@klomp.org>
10801
10802         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10803         duplicate of a wide type.
10804
10805 2002-02-06  Tom Tromey  <tromey@redhat.com>
10806
10807         * verify.cc (type::isnull): New method.
10808         (require_array_type): Handle case where array is null.
10809         (verify_instructions_0) [op_arraylength]: Likewise.
10810
10811 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10812
10813         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10814         Symlink PLATFORMH to platform.h.
10815         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10816         PLATFORMOBJS.
10817         * java/lang/natSystem.cc: #include platform.h not posix.h.
10818         * Makefile.in: Rebuilt with libgcj automake.
10819         * configure: Rebuilt.
10820
10821 2002-02-05  Richard Henderson  <rth@redhat.com>
10822
10823         * Makefile.in: Undo munging last change.
10824
10825 2002-02-04  Adam Megacz <adam@xwt.org>
10826
10827         * win32.cc: Created it.
10828         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10829         which is set to posix.cc or win32.cc.
10830         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10831
10832 2002-02-04  Adam Megacz <adam@xwt.org>
10833
10834         * configure.in: Corrected mingw case branches; added * before
10835         and after.
10836
10837 2002-02-04  Adam Megacz <adam@xwt.org>
10838
10839         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10840         if compiling for win32
10841
10842 2002-02-04  Adam Megacz <adam@xwt.org>
10843
10844         * win32-threads.cc: #undef STRICT after gc.h inclusion
10845
10846 2002-02-02  Tom Tromey  <tromey@redhat.com>
10847
10848         * Makefile.in: Rebuilt.
10849
10850 2002-02-02  Jason Merrill  <jason@redhat.com>
10851
10852         * Makefile.am (clean-nat): New target.
10853
10854 2002-02-02  Tom Tromey  <tromey@redhat.com>
10855
10856         * java/io/natFile.cc: Removed old "FIXME" comments.
10857
10858 2002-02-01  Tom Tromey  <tromey@redhat.com>
10859
10860         * java/lang/natPosixProcess.cc (myclose): New function.
10861         (fail): Use it.
10862         (startProcess): Likewise.
10863
10864 2002-02-01  Adam Megacz <adam@xwt.org>
10865
10866         * prims.cc: Added #undef STRICT after #include<windows.h>.
10867
10868 2002-02-01  Adam Megacz <adam@xwt.org>
10869
10870         * prims.cc
10871         (_Jv_CreateJavaVM): We now use WIN32 instead of
10872         USE_WIN32_SIGNALLING and USE_WINSOCK.
10873         (win32_exception_handler): Now throws an exception out of
10874         the signal handler; assumes SJLJ.
10875
10876 2002-02-01  Adam Megacz <adam@xwt.org>
10877
10878         * win32-threads.cc:
10879         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10880         wait() algorithm to make it safe.
10881         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10882         Added lazy creation of Win32 Events for better performance
10883         (really_start): This now uses GC_CreateThread so boehm-gc
10884         knows about new threads even when statically linked.
10885
10886 2002-02-01  Adam Megacz <adam@xwt.org>
10887
10888         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10889         enable safer wait() algorithm.
10890         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10891         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10892         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10893         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10894         instead of mutex.
10895         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10896
10897 2002-02-01  Adam Megacz <adam@xwt.org>
10898
10899         * configure.in: Added support for mingw.
10900         * java/lang/Win32Process.java: Created as empty file.
10901         * java/lang/natWin32Process.cc: Created as empty file.
10902
10903 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10904
10905         PR java/4972
10906         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10907         for libiconv in LIBICONV variable.
10908         * configure: Regenerated.
10909
10910 2002-01-31  Tom Tromey  <tromey@redhat.com>
10911
10912         * verify.cc (state::enter_subroutine): New method.
10913         (handle_jsr_insn): Use it.
10914         (state::merge): When processing a `ret', correctly use
10915         subroutine's state to determine which local variables have
10916         changed.
10917         (push_exception_jump): Don't let stack overflow.
10918
10919 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10920
10921         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10922         --version output.
10923
10924 2002-01-30  Tom Tromey  <tromey@redhat.com>
10925
10926         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10927         parameter for `recv' return type.
10928
10929         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10930         (state::merge): ... not here.
10931         (subr_entry_info): New structure.
10932         (entry_points): New field.
10933         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10934         entry_points.
10935
10936 2002-01-29  Tom Tromey  <tromey@redhat.com>
10937
10938         * java/awt/List.java (addNotify): Correctly check to see if peer
10939         does not exist.
10940
10941         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10942         to compute height of each cell, and number of columns to compute
10943         width of each cell.
10944         * java/awt/Window.java (getOwnedWindows): Don't return null.
10945         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10946         of component.  Increment x using horizontal gap, not vertical
10947         gap.
10948
10949 2002-01-28  Tom Tromey  <tromey@redhat.com>
10950
10951         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10952         `nargs' byte is number of words, not number of arguments.
10953
10954 2002-01-27  Tom Tromey  <tromey@redhat.com>
10955
10956         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10957         (when): Likewise.
10958         * java/awt/event/InputEvent.java (modifiers, when): Now
10959         package-private.
10960
10961         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10962         and to-do list.
10963         (state::merge): Use current class' class loader.
10964         (state::print): Print subroutine.
10965         (state::merge): Don't look at subroutine of unmerged `ret'.
10966
10967 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10968
10969         * nogc.cc: Remove warnings.
10970         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10971         New functions.
10972
10973 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10974
10975         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10976         int, int):  Remove empty "if" statement to work around compiler bug.
10977         (newPixels(int[], ColorModel, int, int): Likewise.
10978
10979 2002-01-25  Per Bothner  <per@bothner.com>
10980
10981         * verify.cc (verify_fail):  Change from being a top-level function
10982         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10983         Pass the current verifier to type: and state: methods as needed,
10984         for better error messages, and for resolve.
10985         (resolve):  Pass current class's loader for Class.forName and
10986         _Jv_FindClassFromSignature, rather than using the default loader.
10987         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10988         (get_type_val_for_signature):  Make non-static.
10989         (various methods):  Pass start_PC implicitly, not explicitly.
10990
10991 2002-01-25  Tom Tromey  <tromey@redhat.com>
10992
10993         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10994         loop termination condition.
10995         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10996         width.
10997
10998 2002-01-24  Tom Tromey  <tromey@redhat.com>
10999
11000         * java/awt/Shape.java: Merged with Classpath.
11001         * java/awt/Scrollbar.java: Merged with Classpath.
11002
11003         * java/awt/Container.java (addNotify): Unconditionally call
11004         addNotifyContainerChildren and superclass addNotify.
11005
11006         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11007         getAlpha, not getBlue.
11008
11009 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11010
11011         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11012
11013         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11014         (grabPixels(long)): Wait to be notified that the ImageProducer has
11015         completed.
11016
11017 2002-01-24  Per Bothner  <per@bothner.com>
11018
11019         * verify.cc (is_assignable_from_slow): If target is an interface,
11020         we must still check the source's superclass before giving up.
11021
11022 2002-01-24  Tom Tromey  <tromey@redhat.com>
11023
11024         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11025
11026 2002-01-23  Tom Tromey  <tromey@redhat.com>
11027
11028         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11029         `else'.
11030
11031         * Makefile.in: Rebuilt.
11032         * Makefile.am (awt_java_source_files): Added new files.
11033         * java/awt/Toolkit.java: Merged with Classpath.
11034         * java/awt/PrintGraphics.java: New file from Classpath.
11035         * java/awt/PrintJob.java: New file from Classpath.
11036         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11037         * java/awt/datatransfer/ClipboardOwner.java: New file from
11038         Classpath.
11039         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11040         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11041         * java/awt/datatransfer/MimeTypeParseException.java: New file from
11042         Classpath.
11043         * java/awt/datatransfer/StringSelection.java: New file from
11044         Classpath.
11045         * java/awt/datatransfer/SystemFlavorMap.java: New file from
11046         Classpath.
11047         * java/awt/datatransfer/Transferable.java: New file from
11048         Classpath.
11049         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11050         from Classpath.
11051
11052         * Makefile.in: Rebuilt.
11053         * Makefile.am (awt_java_source_files): Added new files.
11054         * java/awt/image/AreaAveragingScaleFilter.java: New file from
11055         Classpath.
11056         * java/awt/image/CropImageFilter.java: New file from Classpath.
11057         * java/awt/image/FilteredImageSource.java: New file from
11058         Classpath.
11059         * java/awt/image/ImageFilter.java: New file from Classpath.
11060         * java/awt/image/MemoryImageSource.java: New file from Classpath.
11061         * java/awt/image/PixelGrabber.java: New file from Classpath.
11062         * java/awt/image/RGBImageFilter.java: New file from Classpath.
11063         * java/awt/image/ReplicateScaleFilter.java: New file from
11064         Classpath.
11065         * java/awt/image/ImageProducer.java: Replaced with Classpath
11066         version.
11067         * java/awt/image/ImageObserver.java: Replaced with Classpath
11068         version.
11069         * java/awt/image/ImageConsumer.java: Replaced with Classpath
11070         version.
11071         * java/awt/GridBagConstraints.java (clone): Catch
11072         CloneNotSupportedException.
11073
11074 2002-01-23  Per Bothner  <per@bothner.com>
11075
11076         * java/lang/reflect/natField.cc (setAddr):  New function.
11077         Calls getAddr and then checks that the field isn't final.
11078         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11079         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
11080         (set):  Call setAddr before check that new value has right type,
11081         to better match specified semantics.
11082
11083 2002-01-22  Tom Tromey  <tromey@redhat.com>
11084
11085         * java/awt/TextField.java: Replaced with Classpath version.
11086         * java/awt/TextArea.java: Replaced with Classpath version.
11087         * java/awt/TextComponent.java: Replaced with Classpath version.
11088
11089         * java/awt/GridBagConstraints.java: Updated copyright.
11090
11091 2002-01-22  Mark Wielaard <mark@klomp.org>
11092
11093         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11094         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11095         java/awt/Dialog.java java/awt/FileDialog.java
11096         java/awt/Font.java java/awt/FontMetrics.java
11097         java/awt/Image.java java/awt/ImageMediaEntry.java
11098         java/awt/Insets.java java/awt/List.java
11099         java/awt/MediaEntry.java java/awt/MediaTracker.java
11100         java/awt/Menu.java java/awt/MenuBar.java
11101         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11102         java/awt/PaintContext.java java/awt/Panel.java
11103         java/awt/PopupMenu.java java/awt/SystemColor.java
11104         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11105         java/awt/peer/CheckboxMenuItemPeer.java
11106         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11107         java/awt/peer/ComponentPeer.java
11108         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11109         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11110         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11111         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11112         java/awt/peer/MenuBarPeer.java
11113         java/awt/peer/MenuComponentPeer.java
11114         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11115         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11116         java/awt/peer/ScrollPanePeer.java
11117         java/awt/peer/ScrollbarPeer.java
11118         java/awt/peer/TextAreaPeer.java
11119         java/awt/peer/TextComponentPeer.java
11120         java/awt/peer/TextFieldPeer.java
11121         java/awt/peer/WindowPeer.java: Add license clarification.
11122
11123 2002-01-22  Mark Wielaard <mark@klomp.org>
11124
11125         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11126         gnu/gcj/runtime/StringBuffer.java
11127         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11128         gnu/java/awt/ComponentDataBlitOp.java
11129         gnu/java/awt/GLightweightPeer.java
11130         gnu/java/beans/BeanInfoEmbryo.java
11131         gnu/java/beans/EmptyBeanInfo.java
11132         gnu/java/beans/ExplicitBeanInfo.java
11133         gnu/java/beans/IntrospectionIncubator.java
11134         gnu/java/beans/editors/ColorEditor.java
11135         gnu/java/beans/editors/FontEditor.java
11136         gnu/java/beans/editors/NativeBooleanEditor.java
11137         gnu/java/beans/editors/NativeByteEditor.java
11138         gnu/java/beans/editors/NativeDoubleEditor.java
11139         gnu/java/beans/editors/NativeFloatEditor.java
11140         gnu/java/beans/editors/NativeIntEditor.java
11141         gnu/java/beans/editors/NativeLongEditor.java
11142         gnu/java/beans/editors/NativeShortEditor.java
11143         gnu/java/beans/editors/StringEditor.java
11144         gnu/java/beans/info/ComponentBeanInfo.java
11145         gnu/java/io/ClassLoaderObjectInputStream.java
11146         gnu/java/io/NullOutputStream.java
11147         gnu/java/io/ObjectIdentityWrapper.java
11148         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11149         gnu/java/lang/reflect/TypeSignature.java
11150         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11151         gnu/java/locale/Calendar_en.java
11152         gnu/java/locale/Calendar_nl.java
11153         gnu/java/locale/LocaleInformation.java
11154         gnu/java/locale/LocaleInformation_de.java
11155         gnu/java/locale/LocaleInformation_en.java
11156         gnu/java/locale/LocaleInformation_nl.java
11157         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11158         gnu/java/rmi/registry/RegistryImpl.java
11159         gnu/java/rmi/rmic/Compile_gcj.java
11160         gnu/java/rmi/rmic/Compiler.java
11161         gnu/java/rmi/rmic/CompilerProcess.java
11162         gnu/java/rmi/rmic/RMIC.java
11163         gnu/java/rmi/rmic/TabbedWriter.java
11164         gnu/java/rmi/server/ProtocolConstants.java
11165         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11166         gnu/java/rmi/server/RMIHashes.java
11167         gnu/java/rmi/server/RMIObjectInputStream.java
11168         gnu/java/rmi/server/RMIObjectOutputStream.java
11169         gnu/java/rmi/server/UnicastConnection.java
11170         gnu/java/rmi/server/UnicastConnectionManager.java
11171         gnu/java/rmi/server/UnicastRef.java
11172         gnu/java/rmi/server/UnicastRemoteCall.java
11173         gnu/java/rmi/server/UnicastRemoteStub.java
11174         gnu/java/rmi/server/UnicastServer.java
11175         gnu/java/rmi/server/UnicastServerRef.java
11176         gnu/java/security/provider/DefaultPolicy.java
11177         gnu/java/security/provider/Gnu.java
11178         gnu/java/security/provider/SHA.java
11179         gnu/java/security/provider/SHA1PRNG.java
11180         gnu/java/text/BaseBreakIterator.java
11181         gnu/java/text/CharacterBreakIterator.java
11182         gnu/java/text/LineBreakIterator.java
11183         gnu/java/text/SentenceBreakIterator.java
11184         gnu/java/text/WordBreakIterator.java
11185         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11186         java/applet/AppletContext.java java/applet/AppletStub.java
11187         java/applet/AudioClip.java java/awt/AWTError.java
11188         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11189         java/awt/AWTException.java java/awt/AWTPermission.java
11190         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11191         java/awt/Button.java java/awt/Canvas.java
11192         java/awt/CardLayout.java java/awt/Checkbox.java
11193         java/awt/CheckboxGroup.java java/awt/Component.java
11194         java/awt/ComponentOrientation.java java/awt/Container.java
11195         java/awt/Dimension.java java/awt/Event.java
11196         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11197         java/awt/FlowLayout.java java/awt/Frame.java
11198         java/awt/Graphics.java java/awt/Graphics2D.java
11199         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11200         java/awt/IllegalComponentStateException.java
11201         java/awt/ItemSelectable.java java/awt/Label.java
11202         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11203         java/awt/MenuComponent.java java/awt/MenuItem.java
11204         java/awt/Paint.java java/awt/Point.java
11205         java/awt/Rectangle.java java/awt/RenderingHints.java
11206         java/awt/Transparency.java java/awt/Window.java
11207         java/awt/color/ColorSpace.java
11208         java/awt/color/ICC_ColorSpace.java
11209         java/awt/color/ICC_Profile.java
11210         java/awt/event/HierarchyBoundsAdapter.java
11211         java/awt/event/HierarchyBoundsListener.java
11212         java/awt/event/HierarchyEvent.java
11213         java/awt/event/HierarchyListener.java
11214         java/awt/geom/AffineTransform.java
11215         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11216         java/awt/geom/IllegalPathStateException.java
11217         java/awt/geom/Line2D.java
11218         java/awt/geom/NoninvertibleTransformException.java
11219         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11220         java/awt/geom/Rectangle2D.java
11221         java/awt/geom/RectangularShape.java
11222         java/awt/geom/RoundRectangle2D.java
11223         java/awt/image/BufferedImage.java
11224         java/awt/image/ColorModel.java
11225         java/awt/image/ComponentColorModel.java
11226         java/awt/image/ComponentSampleModel.java
11227         java/awt/image/DataBuffer.java
11228         java/awt/image/DataBufferByte.java
11229         java/awt/image/DataBufferInt.java
11230         java/awt/image/DataBufferUShort.java
11231         java/awt/image/DirectColorModel.java
11232         java/awt/image/PackedColorModel.java
11233         java/awt/image/Raster.java java/awt/image/RasterOp.java
11234         java/awt/image/SampleModel.java
11235         java/awt/image/SinglePixelPackedSampleModel.java
11236         java/awt/image/WritableRaster.java
11237         java/beans/AppletInitializer.java
11238         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11239         java/beans/Beans.java java/beans/Customizer.java
11240         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11241         java/beans/FeatureDescriptor.java
11242         java/beans/IndexedPropertyDescriptor.java
11243         java/beans/IntrospectionException.java
11244         java/beans/Introspector.java java/beans/MethodDescriptor.java
11245         java/beans/ParameterDescriptor.java
11246         java/beans/PropertyChangeEvent.java
11247         java/beans/PropertyChangeListener.java
11248         java/beans/PropertyChangeSupport.java
11249         java/beans/PropertyDescriptor.java
11250         java/beans/PropertyEditor.java
11251         java/beans/PropertyEditorManager.java
11252         java/beans/PropertyEditorSupport.java
11253         java/beans/PropertyVetoException.java
11254         java/beans/SimpleBeanInfo.java
11255         java/beans/VetoableChangeListener.java
11256         java/beans/VetoableChangeSupport.java
11257         java/beans/Visibility.java
11258         java/beans/beancontext/BeanContext.java
11259         java/beans/beancontext/BeanContextChild.java
11260         java/beans/beancontext/BeanContextChildComponentProxy.java
11261         java/beans/beancontext/BeanContextChildSupport.java
11262         java/beans/beancontext/BeanContextContainerProxy.java
11263         java/beans/beancontext/BeanContextEvent.java
11264         java/beans/beancontext/BeanContextMembershipEvent.java
11265         java/beans/beancontext/BeanContextMembershipListener.java
11266         java/beans/beancontext/BeanContextProxy.java
11267         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11268         java/beans/beancontext/BeanContextServiceProvider.java
11269         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11270         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11271         java/beans/beancontext/BeanContextServiceRevokedListener.java
11272         java/beans/beancontext/BeanContextServices.java
11273         java/beans/beancontext/BeanContextServicesListener.java
11274         java/io/BufferedInputStream.java
11275         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11276         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11277         java/io/ByteArrayOutputStream.java
11278         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11279         java/io/CharConversionException.java java/io/DataInput.java
11280         java/io/DataInputStream.java java/io/DataOutput.java
11281         java/io/EOFException.java java/io/Externalizable.java
11282         java/io/FileFilter.java java/io/FileNotFoundException.java
11283         java/io/FilePermission.java java/io/FileReader.java
11284         java/io/FileWriter.java java/io/FilenameFilter.java
11285         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11286         java/io/FilterReader.java java/io/FilterWriter.java
11287         java/io/IOException.java java/io/InputStream.java
11288         java/io/InterruptedIOException.java
11289         java/io/InvalidClassException.java
11290         java/io/InvalidObjectException.java
11291         java/io/NotActiveException.java
11292         java/io/NotSerializableException.java java/io/ObjectInput.java
11293         java/io/ObjectInputStream.java
11294         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11295         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11296         java/io/ObjectStreamConstants.java
11297         java/io/ObjectStreamException.java
11298         java/io/ObjectStreamField.java
11299         java/io/OptionalDataException.java java/io/OutputStream.java
11300         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11301         java/io/PipedReader.java java/io/PipedWriter.java
11302         java/io/PrintWriter.java java/io/PushbackInputStream.java
11303         java/io/PushbackReader.java java/io/Reader.java
11304         java/io/SequenceInputStream.java java/io/Serializable.java
11305         java/io/SerializablePermission.java
11306         java/io/StreamCorruptedException.java
11307         java/io/StreamTokenizer.java
11308         java/io/StringBufferInputStream.java java/io/StringReader.java
11309         java/io/StringWriter.java java/io/SyncFailedException.java
11310         java/io/UTFDataFormatException.java
11311         java/io/UnsupportedEncodingException.java
11312         java/io/WriteAbortedException.java java/io/Writer.java
11313         java/lang/AbstractMethodError.java
11314         java/lang/ArithmeticException.java
11315         java/lang/ArrayIndexOutOfBoundsException.java
11316         java/lang/ArrayStoreException.java java/lang/Boolean.java
11317         java/lang/Byte.java java/lang/CharSequence.java
11318         java/lang/ClassCastException.java
11319         java/lang/ClassCircularityError.java
11320         java/lang/ClassFormatError.java
11321         java/lang/ClassNotFoundException.java
11322         java/lang/CloneNotSupportedException.java
11323         java/lang/Cloneable.java java/lang/Comparable.java
11324         java/lang/Compiler.java java/lang/Double.java
11325         java/lang/Error.java java/lang/Exception.java
11326         java/lang/ExceptionInInitializerError.java
11327         java/lang/Float.java java/lang/IllegalAccessError.java
11328         java/lang/IllegalAccessException.java
11329         java/lang/IllegalArgumentException.java
11330         java/lang/IllegalMonitorStateException.java
11331         java/lang/IllegalStateException.java
11332         java/lang/IllegalThreadStateException.java
11333         java/lang/IncompatibleClassChangeError.java
11334         java/lang/IndexOutOfBoundsException.java
11335         java/lang/InheritableThreadLocal.java
11336         java/lang/InstantiationError.java
11337         java/lang/InstantiationException.java java/lang/Integer.java
11338         java/lang/InternalError.java
11339         java/lang/InterruptedException.java
11340         java/lang/LinkageError.java java/lang/Long.java
11341         java/lang/NegativeArraySizeException.java
11342         java/lang/NoClassDefFoundError.java
11343         java/lang/NoSuchFieldError.java
11344         java/lang/NoSuchFieldException.java
11345         java/lang/NoSuchMethodError.java
11346         java/lang/NoSuchMethodException.java
11347         java/lang/NullPointerException.java java/lang/Number.java
11348         java/lang/NumberFormatException.java
11349         java/lang/OutOfMemoryError.java java/lang/Package.java
11350         java/lang/Process.java java/lang/Runnable.java
11351         java/lang/RuntimeException.java
11352         java/lang/RuntimePermission.java
11353         java/lang/SecurityException.java
11354         java/lang/SecurityManager.java java/lang/Short.java
11355         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11356         java/lang/StringIndexOutOfBoundsException.java
11357         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11358         java/lang/ThreadLocal.java java/lang/UnknownError.java
11359         java/lang/UnsatisfiedLinkError.java
11360         java/lang/UnsupportedClassVersionError.java
11361         java/lang/UnsupportedOperationException.java
11362         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11363         java/lang/Void.java java/lang/ref/PhantomReference.java
11364         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11365         java/lang/ref/SoftReference.java
11366         java/lang/ref/WeakReference.java
11367         java/lang/reflect/AccessibleObject.java
11368         java/lang/reflect/InvocationTargetException.java
11369         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11370         java/lang/reflect/ReflectPermission.java
11371         java/math/BigDecimal.java java/math/BigInteger.java
11372         java/net/Authenticator.java java/net/BindException.java
11373         java/net/ConnectException.java java/net/ContentHandler.java
11374         java/net/ContentHandlerFactory.java
11375         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11376         java/net/FileNameMap.java java/net/MalformedURLException.java
11377         java/net/MulticastSocket.java java/net/NetPermission.java
11378         java/net/NoRouteToHostException.java
11379         java/net/PasswordAuthentication.java
11380         java/net/ProtocolException.java java/net/ServerSocket.java
11381         java/net/Socket.java java/net/SocketException.java
11382         java/net/SocketImpl.java java/net/SocketImplFactory.java
11383         java/net/SocketOptions.java java/net/SocketPermission.java
11384         java/net/URLDecoder.java java/net/URLEncoder.java
11385         java/net/URLStreamHandlerFactory.java
11386         java/net/UnknownHostException.java
11387         java/net/UnknownServiceException.java
11388         java/rmi/AccessException.java
11389         java/rmi/AlreadyBoundException.java
11390         java/rmi/ConnectException.java
11391         java/rmi/ConnectIOException.java
11392         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11393         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11394         java/rmi/NotBoundException.java
11395         java/rmi/RMISecurityException.java
11396         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11397         java/rmi/RemoteException.java java/rmi/ServerError.java
11398         java/rmi/ServerException.java
11399         java/rmi/ServerRuntimeException.java
11400         java/rmi/StubNotFoundException.java
11401         java/rmi/UnexpectedException.java
11402         java/rmi/UnknownHostException.java
11403         java/rmi/UnmarshalException.java
11404         java/rmi/activation/Activatable.java
11405         java/rmi/activation/ActivateFailedException.java
11406         java/rmi/activation/ActivationDesc.java
11407         java/rmi/activation/ActivationException.java
11408         java/rmi/activation/ActivationGroup.java
11409         java/rmi/activation/ActivationGroupDesc.java
11410         java/rmi/activation/ActivationGroupID.java
11411         java/rmi/activation/ActivationID.java
11412         java/rmi/activation/ActivationInstantiator.java
11413         java/rmi/activation/ActivationMonitor.java
11414         java/rmi/activation/ActivationSystem.java
11415         java/rmi/activation/Activator.java
11416         java/rmi/activation/UnknownGroupException.java
11417         java/rmi/activation/UnknownObjectException.java
11418         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11419         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11420         java/rmi/registry/Registry.java
11421         java/rmi/registry/RegistryHandler.java
11422         java/rmi/server/ExportException.java
11423         java/rmi/server/LoaderHandler.java
11424         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11425         java/rmi/server/Operation.java
11426         java/rmi/server/RMIClassLoader.java
11427         java/rmi/server/RMIClientSocketFactory.java
11428         java/rmi/server/RMIFailureHandler.java
11429         java/rmi/server/RMIServerSocketFactory.java
11430         java/rmi/server/RMISocketFactory.java
11431         java/rmi/server/RemoteCall.java
11432         java/rmi/server/RemoteObject.java
11433         java/rmi/server/RemoteRef.java
11434         java/rmi/server/RemoteServer.java
11435         java/rmi/server/RemoteStub.java
11436         java/rmi/server/ServerCloneException.java
11437         java/rmi/server/ServerNotActiveException.java
11438         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11439         java/rmi/server/SkeletonMismatchException.java
11440         java/rmi/server/SkeletonNotFoundException.java
11441         java/rmi/server/SocketSecurityException.java
11442         java/rmi/server/UID.java
11443         java/rmi/server/UnicastRemoteObject.java
11444         java/rmi/server/Unreferenced.java
11445         java/security/AccessControlContext.java
11446         java/security/AccessControlException.java
11447         java/security/AccessController.java
11448         java/security/AlgorithmParameterGenerator.java
11449         java/security/AlgorithmParameterGeneratorSpi.java
11450         java/security/AlgorithmParameters.java
11451         java/security/AlgorithmParametersSpi.java
11452         java/security/AllPermission.java
11453         java/security/BasicPermission.java
11454         java/security/Certificate.java java/security/CodeSource.java
11455         java/security/DigestException.java
11456         java/security/DigestInputStream.java
11457         java/security/DigestOutputStream.java
11458         java/security/DomainCombiner.java
11459         java/security/DummyKeyPairGenerator.java
11460         java/security/DummyMessageDigest.java
11461         java/security/DummySignature.java
11462         java/security/GeneralSecurityException.java
11463         java/security/Guard.java java/security/GuardedObject.java
11464         java/security/Identity.java java/security/IdentityScope.java
11465         java/security/InvalidAlgorithmParameterException.java
11466         java/security/InvalidKeyException.java
11467         java/security/InvalidParameterException.java
11468         java/security/Key.java java/security/KeyException.java
11469         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11470         java/security/KeyManagementException.java
11471         java/security/KeyPair.java java/security/KeyPairGenerator.java
11472         java/security/KeyPairGeneratorSpi.java
11473         java/security/KeyStore.java
11474         java/security/KeyStoreException.java
11475         java/security/KeyStoreSpi.java
11476         java/security/MessageDigest.java
11477         java/security/MessageDigestSpi.java
11478         java/security/NoSuchAlgorithmException.java
11479         java/security/NoSuchProviderException.java
11480         java/security/Permission.java
11481         java/security/PermissionCollection.java
11482         java/security/Permissions.java java/security/Policy.java
11483         java/security/Principal.java java/security/PrivateKey.java
11484         java/security/PrivilegedAction.java
11485         java/security/PrivilegedActionException.java
11486         java/security/PrivilegedExceptionAction.java
11487         java/security/ProtectionDomain.java
11488         java/security/Provider.java
11489         java/security/ProviderException.java
11490         java/security/PublicKey.java
11491         java/security/SecureClassLoader.java
11492         java/security/SecureRandom.java
11493         java/security/SecureRandomSpi.java java/security/Security.java
11494         java/security/SecurityPermission.java
11495         java/security/Signature.java
11496         java/security/SignatureException.java
11497         java/security/SignatureSpi.java
11498         java/security/SignedObject.java java/security/Signer.java
11499         java/security/UnrecoverableKeyException.java
11500         java/security/UnresolvedPermission.java
11501         java/security/acl/Acl.java java/security/acl/AclEntry.java
11502         java/security/acl/AclNotFoundException.java
11503         java/security/acl/Group.java
11504         java/security/acl/LastOwnerException.java
11505         java/security/acl/NotOwnerException.java
11506         java/security/acl/Owner.java java/security/acl/Permission.java
11507         java/security/cert/CRL.java
11508         java/security/cert/CRLException.java
11509         java/security/cert/Certificate.java
11510         java/security/cert/CertificateEncodingException.java
11511         java/security/cert/CertificateException.java
11512         java/security/cert/CertificateExpiredException.java
11513         java/security/cert/CertificateFactory.java
11514         java/security/cert/CertificateFactorySpi.java
11515         java/security/cert/CertificateNotYetValidException.java
11516         java/security/cert/CertificateParsingException.java
11517         java/security/cert/X509CRL.java
11518         java/security/cert/X509CRLEntry.java
11519         java/security/cert/X509Certificate.java
11520         java/security/cert/X509Extension.java
11521         java/security/interfaces/DSAKey.java
11522         java/security/interfaces/DSAKeyPairGenerator.java
11523         java/security/interfaces/DSAParams.java
11524         java/security/interfaces/DSAPrivateKey.java
11525         java/security/interfaces/DSAPublicKey.java
11526         java/security/interfaces/RSAKey.java
11527         java/security/interfaces/RSAPrivateCrtKey.java
11528         java/security/interfaces/RSAPrivateKey.java
11529         java/security/interfaces/RSAPublicKey.java
11530         java/security/spec/AlgorithmParameterSpec.java
11531         java/security/spec/DSAParameterSpec.java
11532         java/security/spec/DSAPrivateKeySpec.java
11533         java/security/spec/DSAPublicKeySpec.java
11534         java/security/spec/EncodedKeySpec.java
11535         java/security/spec/InvalidKeySpecException.java
11536         java/security/spec/InvalidParameterSpecException.java
11537         java/security/spec/KeySpec.java
11538         java/security/spec/PKCS8EncodedKeySpec.java
11539         java/security/spec/RSAKeyGenParameterSpec.java
11540         java/security/spec/RSAPrivateCrtKeySpec.java
11541         java/security/spec/RSAPrivateKeySpec.java
11542         java/security/spec/RSAPublicKeySpec.java
11543         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11544         java/sql/BatchUpdateException.java java/sql/Blob.java
11545         java/sql/CallableStatement.java java/sql/Clob.java
11546         java/sql/Connection.java java/sql/DataTruncation.java
11547         java/sql/DatabaseMetaData.java java/sql/Date.java
11548         java/sql/Driver.java java/sql/DriverManager.java
11549         java/sql/DriverPropertyInfo.java
11550         java/sql/PreparedStatement.java java/sql/Ref.java
11551         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11552         java/sql/SQLData.java java/sql/SQLException.java
11553         java/sql/SQLInput.java java/sql/SQLOutput.java
11554         java/sql/SQLWarning.java java/sql/Statement.java
11555         java/sql/Struct.java java/sql/Time.java
11556         java/sql/Timestamp.java java/sql/Types.java
11557         java/text/Annotation.java
11558         java/text/AttributedCharacterIterator.java
11559         java/text/AttributedString.java
11560         java/text/AttributedStringIterator.java
11561         java/text/BreakIterator.java java/text/CharacterIterator.java
11562         java/text/ChoiceFormat.java java/text/Collator.java
11563         java/text/DateFormat.java java/text/DateFormatSymbols.java
11564         java/text/DecimalFormat.java
11565         java/text/DecimalFormatSymbols.java
11566         java/text/FieldPosition.java java/text/Format.java
11567         java/text/MessageFormat.java java/text/NumberFormat.java
11568         java/text/ParseException.java java/text/ParsePosition.java
11569         java/text/SimpleDateFormat.java
11570         java/text/StringCharacterIterator.java
11571         java/util/AbstractCollection.java java/util/AbstractList.java
11572         java/util/AbstractMap.java
11573         java/util/AbstractSequentialList.java
11574         java/util/AbstractSet.java java/util/ArrayList.java
11575         java/util/Arrays.java java/util/BasicMapEntry.java
11576         java/util/BitSet.java java/util/Calendar.java
11577         java/util/Collection.java java/util/Collections.java
11578         java/util/Comparator.java
11579         java/util/ConcurrentModificationException.java
11580         java/util/Date.java java/util/Dictionary.java
11581         java/util/EmptyStackException.java java/util/Enumeration.java
11582         java/util/EventListener.java java/util/EventObject.java
11583         java/util/GregorianCalendar.java java/util/HashMap.java
11584         java/util/HashSet.java java/util/Hashtable.java
11585         java/util/IdentityHashMap.java java/util/Iterator.java
11586         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11587         java/util/LinkedList.java java/util/List.java
11588         java/util/ListIterator.java java/util/ListResourceBundle.java
11589         java/util/Locale.java java/util/Map.java
11590         java/util/MissingResourceException.java
11591         java/util/NoSuchElementException.java
11592         java/util/Observable.java java/util/Observer.java
11593         java/util/Properties.java java/util/PropertyPermission.java
11594         java/util/PropertyResourceBundle.java java/util/Random.java
11595         java/util/RandomAccess.java java/util/ResourceBundle.java
11596         java/util/Set.java java/util/SimpleTimeZone.java
11597         java/util/SortedMap.java java/util/SortedSet.java
11598         java/util/Stack.java java/util/StringTokenizer.java
11599         java/util/TimeZone.java java/util/Timer.java
11600         java/util/TimerTask.java
11601         java/util/TooManyListenersException.java
11602         java/util/TreeMap.java java/util/TreeSet.java
11603         java/util/Vector.java java/util/WeakHashMap.java
11604         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11605         java/util/jar/JarException.java java/util/jar/JarFile.java
11606         java/util/jar/JarInputStream.java
11607         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11608         java/util/zip/Adler32.java java/util/zip/CRC32.java
11609         java/util/zip/CheckedInputStream.java
11610         java/util/zip/CheckedOutputStream.java
11611         java/util/zip/Checksum.java
11612         java/util/zip/DataFormatException.java
11613         java/util/zip/Deflater.java
11614         java/util/zip/DeflaterOutputStream.java
11615         java/util/zip/GZIPInputStream.java
11616         java/util/zip/GZIPOutputStream.java
11617         java/util/zip/Inflater.java
11618         java/util/zip/InflaterInputStream.java
11619         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11620         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11621         java/util/zip/ZipInputStream.java
11622         java/util/zip/ZipOutputStream.java
11623         javax/naming/BinaryRefAddr.java
11624         javax/naming/InvalidNameException.java javax/naming/Name.java
11625         javax/naming/NamingException.java javax/naming/RefAddr.java
11626         javax/naming/StringRefAddr.java: Add license clarification.
11627
11628 2002-01-22  Tom Tromey  <tromey@redhat.com>
11629
11630         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11631         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11632         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11633         version.
11634         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11635         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11636         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11637         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11638         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11639         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11640         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11641         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11642         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11643         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11644         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11645         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11646         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11647         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11648         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11649         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11650         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11651         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11652         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11653         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11654         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11655         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11656         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11657         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11658         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11659         (minimumSize, preferredSize, reshape): Likewise.
11660         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11661         getColorModel): New methods.
11662         * java/awt/PopupMenu.java: Merged with Classpath.
11663         * java/awt/MenuBar.java: Merged with Classpath.
11664         * java/awt/SystemColor.java: Replace with Classpath version.
11665         * java/awt/Panel.java: Merged with Classpath.
11666         * java/awt/PaintContext.java: Updated copyright.
11667         * java/awt/MenuShortcut.java: Merged with Classpath.
11668         * java/awt/MenuContainer.java: Merged with Classpath.
11669         * java/awt/Menu.java: Merged with Classpath.
11670         * java/awt/MediaEntry.java: New file from Classpath.
11671         * java/awt/MediaTracker.java: New file from Classpath.
11672         * java/awt/List.java: Merged with Classpath version.
11673         * java/awt/Insets.java: Merged with Classpath version.
11674         * java/awt/ImageMediaEntry.java: New file from Classpath.
11675         * java/awt/Image.java: Replaced with Classpath version.
11676         * java/awt/FontMetrics.java: Merged with Classpath version.
11677         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11678         constant.
11679         * java/awt/Font.java: Merged with Classpath version.
11680         * java/awt/Dialog.java: Merged with Classpath version.
11681         * java/awt/Color.java: Merged with Classpath version.
11682         * java/awt/Choice.java: Merged with Classpath version.
11683         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11684         * java/awt/Adjustable.java: Replace with Classpath version.
11685         * java/awt/MenuItem.java (paramString): Don't include class name
11686         or brackets.  Call superclass paramString.
11687         * java/awt/MenuComponent.java (toString): Call paramString.
11688         (paramString): Compute string; don't call toString.
11689         * java/awt/Label.java (paramString): Don't include class name
11690         or brackets.  Call superclass paramString.
11691         * java/awt/Checkbox.java (paramString): Don't include class name
11692         or brackets.  Call superclass paramString.
11693         * java/awt/Button.java (paramString): Don't include class name or
11694         brackets.  Call superclass paramString.
11695         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11696
11697 2002-01-20  Andreas Schwab  <schwab@suse.de>
11698
11699         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11700         function and of parameter recv_func to ssize_t, as specified by
11701         POSIX.
11702
11703 2002-01-19  Per Bothner  <per@bothner.com>
11704
11705         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11706         uncompressed_size in readiness for next entry.
11707
11708 2002-01-18  Tom Tromey  <tromey@redhat.com>
11709
11710         * java/net/natPlainSocketImpl.cc: Include
11711         IllegalArgumentException.h.
11712         (_Jv_recv): New template function.
11713         (BooleanClass): Removed.
11714         (read): Use _Jv_recv.
11715         (setOption): Use Boolean::class$.  Throw exception if object is
11716         not Boolean or Integer.
11717
11718 2002-01-17  Tom Tromey  <tromey@redhat.com>
11719
11720         * java/awt/MenuComponent.java: Merged with Classpath.
11721         * java/awt/MenuItem.java: Merged with Classpath.
11722         * java/awt/Button.java: Merged with Classpath.
11723
11724         * java/awt/ActiveEvent.java: Updated copyright.
11725
11726         * java/awt/AWTError.java: Replaced with Classpath version.
11727         * java/awt/AWTException.java: Replaced with Classpath version.
11728         * java/awt/IllegalComponentStateException.java: Replaced with
11729         Classpath version.
11730
11731 2002-01-16  Tom Tromey  <tromey@redhat.com>
11732
11733         * java/awt/Canvas.java (serialVersionUID): New constant.
11734         Updated copyright.  Added javadoc from Classpath.
11735         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11736
11737         * java/awt/CheckboxGroup.java: Merged with Classpath.
11738         * java/awt/Checkbox.java: Merged with Classpath.
11739
11740         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11741         Classpath.
11742         * java/awt/Point.java: Updated copyright.
11743
11744         * java/awt/Point.java (toString): Use getClass().getName().
11745         Added javadoc.
11746
11747         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11748         commented code.
11749         (hash): Correctly compute initial value for `h'.
11750
11751         * java/awt/Label.java: Merged with Classpath.
11752
11753 2002-01-15  Tom Tromey  <tromey@redhat.com>
11754
11755         * java/awt/AWTPermission.java: Updated copyright.
11756
11757         * java/awt/LayoutManager2.java: Merged with Classpath.
11758         * java/awt/LayoutManager.java: Merged with Classpath.
11759         * java/awt/GridLayout.java: Updated copyright and javadoc.
11760         (getSize): Use `parent.ncomponents'.  Handle insets.
11761         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11762         there are fewer children than columns.  Correctly compute size of
11763         each cell in the grid.  Handle case where there isn't enough
11764         space.
11765         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11766         all users.
11767         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11768         before calling setVisible() on it.  Last item is `num - 1', not
11769         `num'.
11770         (layoutContainer): Hoist invariants out of loop.
11771
11772         Start of AWT merge with Classpath:
11773         * Makefile.in: Rebuilt.
11774         * Makefile.am (awt_java_source_files): Reference files in
11775         gnu/java/awt, not gnu/gcj/awt.
11776         * java/awt/image/BufferedImage.java: Updated copyright.
11777         * java/awt/image/ComponentColorModel.java: Updated copyright.
11778         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11779         * java/awt/image/DataBuffer.java: Updated copyright.
11780         * java/awt/image/DataBufferByte.java: Updated copyright.
11781         * java/awt/image/DataBufferInt.java: Updated copyright.
11782         * java/awt/image/DataBufferUShort.java: Updated copyright.
11783         * java/awt/image/IndexColorModel.java: Updated copyright.
11784         * java/awt/image/PackedColorModel.java: Updated copyright.
11785         * java/awt/image/Raster.java: Updated copyright.
11786         * java/awt/image/RasterOp.java: Updated copyright.
11787         * java/awt/image/SampleModel.java: Updated copyright.
11788         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11789         * java/awt/image/WritableRaster.java: Updated copyright.
11790         * java/awt/color/ColorSpace.java: Updated copyright.
11791         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11792         * java/awt/color/ICC_Profile.java: Updated copyright.
11793         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11794         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11795         * java/awt/event/HierarchyEvent.java: Updated copyright.
11796         * java/awt/event/HierarchyListener.java: Updated copyright.
11797         * java/awt/geom/AffineTransform.java: Updated copyright.
11798         * java/awt/geom/Dimension2D.java: Updated copyright.
11799         * java/awt/geom/Ellipse2D.java: Updated copyright.
11800         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11801         * java/awt/geom/Line2D.java: Updated copyright.
11802         * java/awt/geom/NoninvertibleTransformException.java: Updated
11803         copyright.
11804         * java/awt/geom/PathIterator.java: Updated copyright.
11805         * java/awt/geom/Point2D.java: Updated copyright.
11806         * java/awt/geom/Rectangle2D.java: Updated copyright.
11807         * java/awt/geom/RectangularShape.java: Updated copyright.
11808         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11809         * java/awt/Toolkit.java: Updated import for file moves.
11810         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11811         Classpath.
11812         (hashCode): New method from Classpath.
11813         * java/awt/Graphics2D.java: Updated copyright.
11814         * java/awt/Transparency.java: Updated copyright.
11815         * java/awt/Paint.java: Updated copyright.
11816         * java/awt/Graphics.java: New version from Classpath.
11817         * java/awt/EventDispatchThread.java: Updated copyright.
11818         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11819         children.
11820         (gotoComponent): Wrap around on next/previous.
11821         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11822         * gnu/gcj/awt/Buffers.java: Removed.
11823         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11824         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11825         * gnu/java/awt/BitMaskExtent.java: Added.
11826         * gnu/java/awt/Buffers.java: Added.
11827         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11828         * gnu/java/awt/GLightweightPeer.java: Added.
11829         * java/awt/geom/Line2D.java (clone): Ignore
11830         CloneNotSupportedException.
11831         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11832         * java/awt/Frame.java: Merged with Classpath.
11833         * java/awt/RenderingHints.java: Copyright update.
11834         * java/awt/Paint.java: Copyright update.
11835         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11836         * java/awt/image/ColorModel.java: Merged with Classpath.
11837         * java/awt/Window.java (show): New Implementation from Classpath.
11838         (isShowing): Use super.isShowing().
11839         * java/awt/EventQueue.java: Merged with Classpath.
11840         * java/awt/AWTEventMulticaster.java (save): Throw
11841         RuntimeException.
11842         (saveInternal): Likewise.
11843         * java/awt/AWTEvent.java: Now implements Serializable.
11844         * java/awt/Event.java: Copyright update.
11845         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11846         * java/awt/image/BufferedImage.java: Copyright update.
11847         * java/awt/GraphicsConfiguration.java: Copyright update.
11848         * java/awt/Component.java: (addNotify): Don't call
11849         addNotifyContainerChildren().
11850         (addNotifyContainerChildren): Removed.
11851         (setPeer): New method from Classpath.
11852         (setTreeLock): Likewise.
11853         (setVisible): Rewrote.
11854         (show): Use it.
11855         (hide): Likewise.
11856         (validate): Set `valid'.
11857         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11858         (createImage(ImageProducer)): Likewise.
11859         (prepareImage): Likewise.
11860         * java/awt/Container.java (addImpl): Handle case where constraint
11861         is not a String.  Post event via system event queue.
11862         (remove): Post event via system event queue.
11863         (validateTree): Only validate child if it is invalid.
11864         (getAlignmentX): Call super method as default.
11865         (getAlignmentY): Likewise.
11866         (addContainerListener): Now synchronized.
11867         (removeContainerListener): Likewise.
11868         (addNotifyContainerChildren): Now private.
11869         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11870         @author.
11871         * java/awt/FlowLayout.java (serialVersionUID): New field.
11872         (setAlignment): Better exception message.
11873         (layoutContainer): Don't compute component's preferred size unless
11874         we're going to use it.
11875         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11876         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11877         (firstLine, lastLine, firstItem, lastItem): New fields.
11878         (addLayoutComponent): Handle case where constraints is null.
11879         Also, handle relative locations.
11880         (removeLayoutComponent): Handle relative locations.
11881         (MIN, MAX, PREF): New constants.
11882         (calcCompSize): New method.
11883         (calcSize): New method.
11884         (minimumLayoutSize): Use it.
11885         (preferredLayoutSize): Likewise.
11886         (maximumLayoutSize): Likewise.
11887         (toString): Include more information.
11888         (setBounds): New method.
11889         (layoutContainer): Use libgcj implementation; extended to handle
11890         relative locations.
11891
11892 2002-01-15  Tom Tromey  <tromey@redhat.com>
11893
11894         * java/lang/Float.java (equals): Preserve old code.
11895         * java/lang/Double.java (equals): Preserve old code.
11896
11897 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11898
11899         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11900         * java/lang/Float.java (equals, compare): Ditto.
11901
11902 2002-01-13  Mark Wielaard  <mark@klomp.org>
11903
11904         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11905         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11906         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11907         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11908
11909 2002-01-11  Mark Wielaard  <mark@klomp.org>
11910
11911         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11912         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11913         InetAddress.
11914         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11915         * java/net/Socket.java: Merge with Classpath.
11916         * java/net/ServerSocket.java: Likewise.
11917
11918 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11919
11920         * interpret.cc (NULLARRAYCHECK): New macro.
11921         (SAVE_PC): Just store `pc'.
11922         (find_exception): Subtract one from `pc' here.
11923         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11924         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11925         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11926         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11927         don't call SAVE_PC.
11928         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11929         call SAVE_PC.
11930
11931 2002-01-11  Tom Tromey  <tromey@redhat.com>
11932
11933         * java/lang/natSystem.cc (init_properties): Only look for default
11934         locale if LC_MESSAGES is defined.
11935         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11936         * configure.in: Call AM_LC_MESSAGES.
11937         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11938
11939 2002-01-10  Tom Tromey  <tromey@redhat.com>
11940
11941         For PR libgcj/5303:
11942         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11943         --version.  Recognize GNU-style long options.  Print GNU-style
11944         error messages.
11945         (usage): Print GNU-style help.  Exit with status 0.
11946         (error): New method.
11947         (run): Print error message if no class names found.
11948         (main): Don't print usage on error.
11949
11950 2002-01-09  Tom Tromey  <tromey@redhat.com>
11951
11952         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11953         property.
11954         (help, version): Use println(), not println("").
11955
11956         For PR libgcj/5303:
11957         * gnu/gcj/convert/Convert.java (error): Program is called
11958         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11959         -1.
11960         (main): Handle --help and --version.
11961         (help): New method.
11962         (version): Likewise.
11963
11964 2002-01-08  Tom Tromey  <tromey@redhat.com>
11965
11966         * Makefile.in: Rebuilt.
11967         * Makefile.am (ordinary_java_source_files): Added new files.
11968         * gnu/java/locale/LocaleInformation.java: Extend
11969         LocaleInformation_en.
11970         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11971         and time/date formats.
11972         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11973         generated.
11974         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11975         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11976         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11977         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11978         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11979         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11980         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11981         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11982         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11983         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11984         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11985         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11986         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11987         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11988         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11989         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11990         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11991         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11992         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11993         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11994         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11995         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11996         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11997         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11998         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11999         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12000         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12001         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12002         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12003         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12004         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12005         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12006         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12007         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12008         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12009         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12010         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12011         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12012         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12013         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12014         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12015         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12016         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12017         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12018         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12019         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12020         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12021         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12022         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12023         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12024         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12025         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12026         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12027         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12028         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12029         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12030         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12031         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12032         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12033         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12034         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12035         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12036         * gnu/java/locale/LocaleInformation_es_US.java: New file.
12037         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12038         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12039         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12040         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12041         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12042         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12043         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12044         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12045         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12046         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12047         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12048         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12049         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12050         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12051         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12052         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12053         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12054         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12055         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12056         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12057         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12058         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12059         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12060         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12061         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12062         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12063         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12064         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12065         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12066         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12067         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12068         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12069         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12070         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12071         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12072         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12073         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12074         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12075         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12076         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12077         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12078         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12079         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12080         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12081         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12082         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12083         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12084         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12085         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12086         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12087         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12088         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12089         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12090         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12091         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12092         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12093         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12094         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12095         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12096         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12097         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12098         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12099         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12100         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12101         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12102         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12103         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12104
12105         For PR libgcj/5031:
12106         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12107         choose default locale.
12108
12109         * Makefile.in: Rebuilt.
12110         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12111
12112 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12113
12114         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12115         sockets.
12116         (close): New function closes the socket.
12117         (write): New functions for output to socket.
12118         (read): New functions for reading from socket.
12119         * java/net/PlainSocketImpl.java: Glue for new timeout
12120         implementation.
12121         (write): Call the native impl.
12122         (read): Likewise.
12123         (getInputStream): Get a stream to read from the socket.
12124         (getOutputStream): Get a stream to write to the socket.
12125
12126 2002-01-08  Tom Tromey  <tromey@redhat.com>
12127
12128         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12129
12130 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12131
12132         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12133         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12134
12135 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12136
12137         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12138         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12139         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12140         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12141         insn_bastore, insn_castore, insn_sastore]: Use it.
12142         (continue1) [insn_arraylength]: Check for null array.
12143
12144 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12145
12146         * configure, include/config.h.in: Rebuilt.
12147         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12148         * configure.in: Call AC_STRUCT_TIMEZONE.
12149
12150 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12151
12152         * configure.host: Disable the interpreter for Darwin.
12153
12154 2002-01-04  Tom Tromey  <tromey@redhat.com>
12155
12156         * java/lang/Thread.java (stop): No longer synchronized.
12157         (start): Likewise.
12158
12159 2002-01-02  Tom Tromey  <tromey@redhat.com>
12160
12161         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12162         patch.
12163
12164 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12165
12166         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12167         PPC Darwin, not for all of Darwin.