2003-06-24 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-24  Michael Koch  <konqueror@gmx.de>
2
3         * java/nio/Buffer.java
4         (cap): Made package-private.
5         (pos): Likewise.
6         (limit): Likewise.
7         (mark): Likewise.
8
9 2003-06-24  Michael Koch  <konqueror@gmx.de>
10
11         * java/net/SocketImpl.java
12         (shutdownInput): Made it non-abstract method throwing an exception
13         like in SUNs JRE.
14         (shutdownOutput): Likewise.
15         * java/net/SocketInputStream.java,
16         java/net/SocketOutputStream.java:
17         New files from classpath.
18
19 2003-06-24  Michael Koch  <konqueror@gmx.de>
20
21         * java/awt/Font.java,
22         java/awt/Window.java,
23         java/awt/color/ColorSpace.java,
24         java/awt/datatransfer/StringSelection.java,
25         java/awt/image/ColorModel.java:
26         New versions from classpath.
27
28 2003-06-24  Michael Koch  <konqueror@gmx.de>
29
30         * Makefile.am
31         (awt_java_source_files): Added new files:
32         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
33         javax/swing/plaf/basic/BasicSplitPaneUI.java
34         * Makefile.in: Regenerated.
35
36 2003-06-24  Michael Koch  <konqueror@gmx.de>
37
38         * javax/swing/text/JTextComponent.java:
39         New version from classpath.
40
41 2003-06-24  Michael Koch  <konqueror@gmx.de>
42
43         * javax/swing/Timer.java,
44         javax/swing/plaf/ActionMapUIResource.java,
45         javax/swing/plaf/ButtonUI.java,
46         javax/swing/plaf/ColorChooserUI.java,
47         javax/swing/plaf/ColorUIResource.java,
48         javax/swing/plaf/ComboBoxUI.java,
49         javax/swing/plaf/ComponentInputMapUIResource.java,
50         javax/swing/plaf/basic/BasicBorders.java:
51         New versions from classpath.
52         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
53         javax/swing/plaf/basic/BasicSplitPaneUI.java:
54         New file from classpath.
55         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
56         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
57         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
58         javax/swing/plaf/doc-files/ComponentUI-1.dia,
59         javax/swing/plaf/doc-files/ComponentUI-1.png:
60         New binary files from classpath.
61
62 2003-06-24  Michael Koch  <konqueror@gmx.de>
63
64         * java/io/LineNumberReader.java
65         (skip): Dont do line number accounting here as this is already done in
66         read(), simplified.
67
68 2003-06-21  Michael Koch  <konqueror@gmx.de>
69
70         * java/io/File.java
71         (static): Load javaio lib if existing (only in classpath).
72         (File): Revised documentation to show the correct argument name.
73         (createTempFile): Partly merged with classpath.
74         (compareTo): Simplified.
75         (lastModified): Throw exception if time < 0.
76         (deleteOnExit): Revised documentation.
77
78 2003-06-21  Michael Koch  <konqueror@gmx.de>
79
80         * java/net/PlainSocketImpl.java:
81         Reformatted.
82         (PlainSocketImpl): Merged class documentaion with classpath.
83         (in): Moved.
84         (out): Moved.
85         (PlainSocketImpl): New empty constructor.
86         (finalize): Moved.
87         (setOption): Merged documentation from classpath.
88         (getOption): Likewise.
89         (create): Likewise.
90         (connect): Likewise.
91         (bind): Likewise.
92         (listen): Likewise.
93         (accept): Likewise.
94         (available): Likewise.
95         (close): Likewise.
96         (read): Likewise.
97         (write): Likewise.
98         (getInputStream): Made synchronozed to get sure that only one stream
99         object can be created for this socket, merged documentation from
100         classpath.
101         (getOutputStream): Likewise.
102
103 2003-06-21  Michael Koch  <konqueror@gmx.de>
104
105         * java/net/PlainSocketImpl.java:
106         Reformatting.
107         (static): New implicit method.
108         (read): Made package private.
109         (write): Likewise.
110
111 2003-06-21  Michael Koch  <konqueror@gmx.de>
112
113         * java/util/SimpleTimeZone.java:
114         Removed unneeded import, reformatting.
115
116 2003-06-21  Michael Koch  <konqueror@gmx.de>
117
118         * java/text/DateFormat.java,
119         java/text/SimpleDateFormat.java,
120         java/util/Locale.java:
121         New versions from classpath.
122
123 2003-06-21  Michael Koch  <konqueror@gmx.de>
124
125         * javax/swing/SpinnerModel.java:
126         New file from classpath.
127         * javax/swing/border/LineBorder.java,
128         javax/swing/border/SoftBevelBorder.java,
129         javax/swing/plaf/BorderUIResource.java,
130         javax/swing/plaf/basic/BasicBorders.java:
131         New versions from classpath.
132         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
133         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
134         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
135         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
136         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
137         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
138         New binary files from classpath.
139
140 2003-06-21  Michael Koch  <konqueror@gmx.de>
141
142         * java/util/logging/LogRecord.java,
143         java/util/logging/Logger.java,
144         java/util/logging/SocketHandler.java,
145         java/util/logging/SimpleFormatter.java,
146         java/util/logging/Formatter.java,
147         java/util/logging/ErrorManager.java,
148         java/util/logging/Handler.java,
149         java/util/logging/FileHandler.java,
150         java/util/logging/LogManager.java,
151         java/util/logging/Level.java,
152         java/util/logging/ConsoleHandler.java,
153         java/util/logging/StreamHandler.java,
154         java/util/logging/LoggingPermission.java,
155         java/util/logging/Filter.java,
156         java/util/logging/MemoryHandler.java,
157         java/util/logging/XMLFormatter.java:
158         New files from classpath.
159
160 2003-06-20  Michael Koch  <konqueror@gmx.de>
161
162         * java/io/ObjectStreamField.java
163         (unshared): new member variable.
164         (ObjectStreamField): New constructor.
165         (isUnshared): New method.
166
167 2003-06-20  Michael Koch  <konqueror@gmx.de>
168
169         * java/net/URLStreamHandler.java
170         (hostsEqual): Rewritten.
171
172 2003-06-20  Michael Koch  <konqueror@gmx.de>
173
174         * gnu/java/nio/MappedByteFileBuffer.java,
175         gnu/java/nio/natMappedByteFileBuffer.cc:
176         Removed
177         * java/nio/MappedByteBufferImpl.java:
178         New file.
179         * gnu/java/nio/FileChannelImpl.java:
180         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
181         * Makefile.am
182         (ordinary_java_source_files): Removed
183         gnu/java/nio/MappedByteFileBuffer.java and added
184         java/nio/MappedByteBufferImpl.java.
185         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
186         * Makefile.in: Regenerated.
187
188 2003-06-19  Michael Koch  <konqueror@gmx.de>
189
190         * gnu/java/nio/DatagramChannelImpl.java
191         (fd): Removed.
192         (blocking): New member variable.
193         (socket): Likewise.
194         (DatagramChannelImpl): Throws IOException, initialize socket.
195         (socket):Implemented.
196         (implCloseSelectableChannel): Throws IOException, implemented.
197         (implConfigureBlocking): Likewise.
198         (connect): Likewise.
199         (disconnect): Likewise.
200         (isConnected): Likewise.
201         (write): Likewise.
202         (read): Likewise.
203         (receive): Throws IOException.
204         (send): Likewise.
205         * gnu/java/nio/SocketChannelImpl.java
206         (read): Implemented.
207         (write): Implemented.
208
209 2003-06-19  Michael Koch  <konqueror@gmx.de>
210
211         * javax/swing/JComponent.java,
212         javax/swing/JInternalFrame.java,
213         javax/swing/MenuSelectionManager.java,
214         javax/swing/SwingUtilities.java,
215         javax/swing/ToggleButtonModel.java:
216         New versions from classpath.
217
218 2003-06-19  Michael Koch  <konqueror@gmx.de>
219
220         * java/text/CollationElementIterator.java
221         (NULLORDER): Initialize with -1 as JDK documentation says.
222
223 2003-06-19  Michael Koch  <konqueror@gmx.de>
224
225         * java/net/HttpURLConnection.java,
226         java/net/Inet4Address.java,
227         java/net/Inet6Address.java,
228         java/net/SocketImpl.java,
229         java/net/URLClassLoader.java:
230         Reworked import statements.
231         * java/net/InetAddress.java
232         (getByAddress): Simplified.
233         * java/net/ServerSocket.java
234         (ServerSocket): Moved special handling during bind operation to
235         bind().
236         (bind): Handle different cases when trying to bind a socket.
237         * java/net/URLConnection.java
238         (getHeaderFieldDate): Merged with classpath.
239         (getHeaderFieldInt): Likewise.
240
241 2003-06-19  Michael Koch  <konqueror@gmx.de>
242
243         * java/util/zip/InflaterInputStream.java
244         (InflaterInputStream): Throw NullPointerException if in is null (as
245         JDK does).
246
247 2003-06-19  Michael Koch  <konqueror@gmx.de>
248
249         * java/awt/Font.java
250         javax/swing/UIManager.java
251         javax/swing/border/AbstractBorder.java
252         javax/swing/border/BevelBorder.java
253         javax/swing/border/Border.java
254         javax/swing/border/CompoundBorder.java
255         javax/swing/border/EmptyBorder.java
256         javax/swing/border/EtchedBorder.java
257         javax/swing/border/LineBorder.java
258         javax/swing/border/MatteBorder.java
259         javax/swing/border/TitledBorder.java
260         javax/swing/plaf/BorderUIResource.java
261         javax/swing/plaf/basic/BasicBorders.java
262         javax/swing/plaf/basic/BasicButtonUI.java
263         javax/swing/plaf/basic/BasicCheckBoxUI.java
264         javax/swing/plaf/basic/BasicGraphicsUtils.java
265         javax/swing/plaf/basic/BasicLabelUI.java
266         javax/swing/plaf/basic/BasicRadioButtonUI.java
267         javax/swing/plaf/basic/BasicToggleButtonUI.java:
268         New versions from classpath.
269         * javax/swing/border/SoftBevelBorder.java:
270         New file from classpath.
271         * javax/swing/border/doc-files/LineBorder-1.png,
272         javax/swing/border/doc-files/BevelBorder-1.png,
273         javax/swing/border/doc-files/BevelBorder-2.png,
274         javax/swing/border/doc-files/BevelBorder-3.png,
275         javax/swing/border/doc-files/EmptyBorder-1.png,
276         javax/swing/border/doc-files/EtchedBorder-1.png,
277         javax/swing/border/doc-files/EtchedBorder-2.png,
278         javax/swing/border/doc-files/MatteBorder-1.png,
279         javax/swing/border/doc-files/MatteBorder-2.png,
280         javax/swing/border/doc-files/MatteBorder-3.png,
281         javax/swing/border/doc-files/MatteBorder-4.png,
282         javax/swing/border/doc-files/MatteBorder-5.png,
283         javax/swing/border/doc-files/MatteBorder-6.png,
284         javax/swing/border/doc-files/SoftBevelBorder-1.png,
285         javax/swing/border/doc-files/SoftBevelBorder-2.png,
286         javax/swing/border/doc-files/SoftBevelBorder-3.png,
287         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
288         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
289         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
290         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
291         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
292         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
293         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
294         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
295         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
296         New binary files from classpath.
297         * Makefile.am
298         (awt_java_source_files): Added
299         javax/swing/border/SoftBevelBorder.java.
300         * Makefile.in: Regenerated.
301
302 2003-06-19  Michael Koch  <konqueror@gmx.de>
303
304         * gnu/java/security/x509/X509Certificate.java
305         (writeReplace): Merged from classpath.
306
307 2003-06-19  Michael Koch  <konqueror@gmx.de>
308
309         * gnu/java/nio/FileChannelImpl.java
310         (map_address): Made public.
311         (FileChannelImpl): Merged with classpath.
312         * gnu/java/nio/natFileChannelImpl.cc
313         (nio_mmap_file): Commented out unused arguments.
314         (nio_unmmap_file): Likewise.
315         (niu_msync): Likewise.
316
317 2003-06-19  Michael Koch  <konqueror@gmx.de>
318
319         * java/awt/image/IndexColorModel.java:
320         New version from classpath.
321
322 2003-06-18  Tom Tromey  <tromey@redhat.com>
323
324         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
325         on arrays.
326         (isLoopbackAddress): Likewise.
327         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
328         on arrays.
329
330 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
331
332         * java/lang/natVMSecurityManager.cc (getClassContext):
333         Use maxlen instead of len for loop bound.
334
335 2003-06-18  Michael Koch  <konqueror@gmx.de>
336
337         * gnu/java/nio/SelectorImpl.java
338         (register): Use fd with value 0 for now, will be fixed later.
339         * gnu/java/nio/ServerSocketChannelImpl.java
340         (fd): Removed.
341         (local_port): Removed.
342         (InetSocketAddress): Removed.
343         (ServerSocketChannelImpl): Just initialize internal socket object.
344         (implCloseSelectableChannel): Close internal socket object.
345         (implConfigureBlocking): Added comment.
346         (accept): Use jaba.net stuff to accept socket.
347         * gnu/java/nio/SocketChannelImpl.java
348         (fd): Removed.
349         (local_port): Removed.
350         (InetSocketAddress): Removed.
351         (SocketCreate): Removed.
352         (SocketConnect): Removed.
353         (SocketBind): Removed.
354         (SocketListen): Removed.
355         (SocketAvailable): Removed.
356         (SocketClose): Removed.
357         (SocketRead): Removed.
358         (SocketWrite): Removed.
359         (SocketChannelImpl): Just initialize internal socket object.
360         (implCloseSelectableChannel): Close internal socket object.
361         (implConfigureBlocking): Fixed implementation, added comment.
362         (connect): Use internal socket object to connect.
363         (socket): No need for sanity checks.
364         (read): Comment out some stuff, this will be reimplemented in the next
365         commit.
366         (write): Likewise.
367         * gnu/java/nio/natFileChannelImpl.cc
368         (nio_mmap_file): Line wrapped.
369         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
370         * Makefile.am
371         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
372         * Makefile.in: Regenerated.
373
374 2003-06-18  Michael Koch  <konqueror@gmx.de>
375
376         * java/util/Locale.java
377         (equals): Merged from classpath.
378
379 2003-06-18  Michael Koch  <konqueror@gmx.de>
380
381         * java/net/InetAddress.java:
382         Reformatted to better match classpath's version.
383         * java/net/URL.java
384         (equals): Simplified.
385         * java/net/URLConnection.java
386         (setDoInput): Revised documentation.
387         (getDefaultUseCaches): Likewise.
388         (setRequestProperty): Added @since tag.
389
390 2003-06-17  Michael Koch  <konqueror@gmx.de>
391
392         * java/net/InetSocketAddress.java
393         (InetSocketAddress): Use wildcard address if addr is null.
394         (InetSocketAddress): Dont duplicate implementation.
395         (InetSocketAddress): Throw exception when hostname is null.
396         * java/net/Socket.java:
397         Reworked imports.
398         (Socket): Throw exception when raddr is null, handle case when laddr
399         is null.
400
401 2003-06-17  Michael Koch  <konqueror@gmx.de>
402
403         * java/nio/DirectByteBufferImpl.java
404         (address): Made package private.
405         (DirectByteBufferImpl): New constructor.
406         * java/nio/natDirectByteBufferImpl.cc
407         (allocateImpl): Moved to java.nio namespace, implemented.
408         (freeImpl): Likewise.
409         (getImpl): Likewise.
410         (putImpl): Likewise.
411         * jni.cc
412         (_Jv_JNI_NewDirectByteBuffer): Implemented.
413         (_Jv_JNI_GetDirectBufferAddress): Implemented.
414         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
415
416 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
417
418         * include/powerpc-signal.h: New File.
419         * configure.in: Use it.
420         * configure: Regenerated.
421
422 2003-06-17  Michael Koch  <konqueror@gmx.de>
423
424         * java/util/Locale.java
425         (getDisplayLanguage): Made it final.
426         (getDisplayCountry): Likewise.
427         (getDisplayVariant): Likewise.
428         (getDisplayName): Likewise.
429
430 2003-06-17  Michael Koch  <konqueror@gmx.de>
431
432         * java/util/PropertyResourceBundle.java:
433         Removed unneeded import.
434
435 2003-06-17  Michael Koch  <konqueror@gmx.de>
436
437         * java/util/prefs/AbstractPreferences.java,
438         java/util/prefs/PreferencesFactory.java:
439         Reworked imports, removed unused imports.
440         * java/util/prefs/Preferences.java
441         (systemNodeForPackage): Method takes a Class not an Object.
442         (userNodeForPackage): Likewise.
443         (nodeForPackage): Likewise.
444
445 2003-06-17  Michael Koch  <konqueror@gmx.de>
446
447         * gnu/java/security/x509/X509Certificate.java:
448         Explicitely import used classes.
449
450 2003-06-17  Michael Koch  <konqueror@gmx.de>
451
452         * java/util/zip/ZipEntry.java,
453         java/util/zip/ZipFile.java,
454         java/util/zip/ZipInputStream.java,
455         java/util/zip/ZipOutputStream.java:
456         Reworked imports, only import used classes.
457
458 2003-06-17  Michael Koch  <konqueror@gmx.de>
459
460         * gnu/java/lang/ArrayHelper.java,
461         gnu/java/lang/ClassHelper.java:
462         Reformatted to match classpath's versions.
463
464 2003-06-14  Michael Koch  <konqueror@gmx.de>
465
466         * gnu/java/nio/FileChannelImpl.java
467         (map_address): Removed incorrect comment.        
468         * gnu/java/nio/SelectorImpl.java
469         (register): Remove code duplication and code for file channel handling.        
470         * gnu/java/nio/ServerSocketChannelImpl.java
471         (serverSocket): Renamed from sock_object.
472         (ServerSocketChannel): Initialize serverSocket.
473         (socket): Return serverSocket.
474         * gnu/java/nio/SocketChannelImpl.java
475         (socket): Renamed from sock_object.
476         (isConnectionPenging): Simplified.
477         (socket): Return socket.
478 2003-06-14  Michael Koch  <konqueror@gmx.de>
479
480         * java/security/BasicPermission.java:
481         New version from classpath.
482
483 2003-06-14  Michael Koch  <konqueror@gmx.de>
484
485         * javax/naming/directory/Attribute.java:
486         New version from classpath.
487
488 2003-06-14  Michael Koch  <konqueror@gmx.de>
489
490         * java/io/BufferedReader.java,
491         java/io/FileOutputStream.java:
492         New versions from classpath.
493
494 2003-06-12  Andrew Haley  <aph@redhat.com>
495
496         * prims.cc (catch_segv): Create exception in handler.
497         (catch_fpe): Likewise.  
498         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
499         (_Jv_ThrowSignal): Remove.
500
501         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
502         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
503         to nullp and arithexception.
504         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
505         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
506         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
507         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
508         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
509
510 2003-06-11  Andrew Haley  <aph@redhat.com>
511
512         * jni.cc (_Jv_JNI_check_types): New.
513         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
514         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
515         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
516         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
517         
518         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
519         infinite loop.
520
521 2003-06-11  Tom Tromey  <tromey@redhat.com>
522
523         * java/lang/ClassLoader.java (loadClass): Not deprecated.
524         * java/io/PrintStream.java: Not deprecated.
525
526 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
527
528         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
529         (fillOval): implemented
530         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
531         (fillArc): implemented.
532         * gnu/gcj/xlib/GC.java (drawArc): added native method.
533         (fillArc): added native method.
534         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
535         (fillArc): added native method.
536
537 2003-06-11  Michael Koch  <konqueror@gmx.de>
538
539         * java/awt/im/InputSubset.java:
540         New version from classpath.
541
542 2003-06-11  Michael Koch  <konqueror@gmx.de>
543
544         * javax/swing/AbstractAction.java,
545         javax/swing/AbstractButton.java,
546         javax/swing/AbstractCellEditor.java,
547         javax/swing/AbstractListModel.java,
548         javax/swing/BorderFactory.java,
549         javax/swing/Box.java,
550         javax/swing/BoxLayout.java,
551         javax/swing/ButtonGroup.java,
552         javax/swing/DefaultButtonModel.java,
553         javax/swing/DefaultListModel.java,
554         javax/swing/DefaultListSelectionModel.java,
555         javax/swing/FocusManager.java,
556         javax/swing/ImageIcon.java,
557         javax/swing/InputMap.java,
558         javax/swing/JApplet.java,
559         javax/swing/JButton.java,
560         javax/swing/JCheckBox.java,
561         javax/swing/JCheckBoxMenuItem.java,
562         javax/swing/JColorChooser.java,
563         javax/swing/JComboBox.java,
564         javax/swing/JComponent.java,
565         javax/swing/JDesktopPane.java,
566         javax/swing/JDialog.java,
567         javax/swing/JEditorPane.java,
568         javax/swing/JFileChooser.java,
569         javax/swing/JFormattedTextField.java,
570         javax/swing/JFrame.java,
571         javax/swing/JLabel.java,
572         javax/swing/JLayeredPane.java,
573         javax/swing/JList.java,
574         javax/swing/JMenuBar.java,
575         javax/swing/JMenuItem.java,
576         javax/swing/JOptionPane.java,
577         javax/swing/JPanel.java,
578         javax/swing/JPasswordField.java,
579         javax/swing/JPopupMenu.java,
580         javax/swing/JProgressBar.java,
581         javax/swing/JRadioButton.java,
582         javax/swing/JRadioButtonMenuItem.java,
583         javax/swing/JRootPane.java,
584         javax/swing/JScrollBar.java,
585         javax/swing/JScrollPane.java,
586         javax/swing/JSeparator.java,
587         javax/swing/JSlider.java,
588         javax/swing/JTabbedPane.java,
589         javax/swing/JTable.java,
590         javax/swing/JTextField.java,
591         javax/swing/JToggleButton.java,
592         javax/swing/JToolBar.java,
593         javax/swing/JToolTip.java,
594         javax/swing/JTree.java,
595         javax/swing/JViewport.java,
596         javax/swing/JWindow.java,
597         javax/swing/KeyStroke.java,
598         javax/swing/ListSelectionModel.java,
599         javax/swing/LookAndFeel.java,
600         javax/swing/RepaintManager.java,
601         javax/swing/ScrollPaneLayout.java,
602         javax/swing/SizeRequirements.java,
603         javax/swing/SwingConstants.java,
604         javax/swing/Timer.java,
605         javax/swing/UIDefaults.java,
606         javax/swing/UIManager.java,
607         javax/swing/border/AbstractBorder.java,
608         javax/swing/border/CompoundBorder.java,
609         javax/swing/colorchooser/AbstractColorChooserPanel.java,
610         javax/swing/colorchooser/ColorChooserComponentFactory.java,
611         javax/swing/colorchooser/ColorSelectionModel.java,
612         javax/swing/colorchooser/DefaultColorSelectionModel.java,
613         javax/swing/event/AncestorEvent.java,
614         javax/swing/event/HyperlinkEvent.java,
615         javax/swing/event/InternalFrameAdapter.java,
616         javax/swing/event/InternalFrameEvent.java,
617         javax/swing/event/ListDataEvent.java,
618         javax/swing/event/MouseInputAdapter.java,
619         javax/swing/event/SwingPropertyChangeSupport.java,
620         javax/swing/event/TableModelEvent.java,
621         javax/swing/event/TreeWillExpandListener.java,
622         javax/swing/event/UndoableEditEvent.java,
623         javax/swing/filechooser/FileFilter.java,
624         javax/swing/filechooser/FileSystemView.java,
625         javax/swing/filechooser/FileView.java,
626         javax/swing/plaf/BorderUIResource.java,
627         javax/swing/plaf/basic/BasicDefaults.java,
628         javax/swing/table/AbstractTableModel.java,
629         javax/swing/table/DefaultTableCellRenderer.java,
630         javax/swing/table/DefaultTableColumnModel.java,
631         javax/swing/table/DefaultTableModel.java,
632         javax/swing/table/TableColumn.java,
633         javax/swing/text/JTextComponent.java,
634         javax/swing/tree/AbstractLayoutCache.java,
635         javax/swing/tree/DefaultMutableTreeNode.java,
636         javax/swing/tree/DefaultTreeCellEditor.java,
637         javax/swing/tree/DefaultTreeCellRenderer.java,
638         javax/swing/tree/DefaultTreeModel.java,
639         javax/swing/tree/DefaultTreeSelectionModel.java,
640         javax/swing/tree/FixedHeightLayoutCache.java,
641         javax/swing/tree/TreeCellEditor.java,
642         javax/swing/tree/TreeModel.java,
643         javax/swing/tree/TreeNode.java,
644         javax/swing/tree/TreePath.java,
645         javax/swing/tree/TreeSelectionModel.java,
646         javax/swing/tree/VariableHeightLayoutCache.java,
647         javax/swing/undo/AbstractUndoableEdit.java,
648         javax/swing/undo/CompoundEdit.java,
649         javax/swing/undo/StateEdit.java,
650         javax/swing/undo/UndoManager.java,
651         javax/swing/undo/UndoableEditSupport.java:
652         New versions from classpath.
653         * javax/swing/table/JTableHeader.java:
654         New file from classpath.
655         * Makefile.am
656         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
657         * Makefile.in: Regenerated.
658
659 2003-06-11  Michael Koch  <konqueror@gmx.de>
660
661         * java/nio/MappedByteBuffer.java,
662         java/nio/channels/Channels.java,
663         java/nio/channels/ServerSocketChannel.java,
664         java/nio/channels/spi/AbstractSelector.java:
665         Removed unneeded imports.
666
667 2003-06-11  Michael Koch  <konqueror@gmx.de>
668
669         * java/net/DatagramSocket.java:
670         Partly merged with classpath.
671
672 2003-06-11  Michael Koch  <konqueror@gmx.de>
673
674         * java/awt/Frame.java,
675         java/awt/Graphics.java,
676         java/awt/Menu.java,
677         java/awt/Robot.java,
678         java/awt/image/ColorModel.java:
679         New versions from classpath.
680
681 2003-06-10  Michael Koch  <konqueror@gmx.de>
682
683         * java/io/PrintStream.java:
684         Merged version from classpath.
685         (close): Removed sychronized keyword. This class is not garantied to
686         be thread-safe.
687         (write): Likewise.
688
689 2003-06-09  Tom Tromey  <tromey@redhat.com>
690
691         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
692         field.
693         (getDescent): Likewise, for "descent".
694
695 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
696
697         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
698         (getMaxDescent): adjusted return value.
699         (getAscent): modified to use metrics for 'O'.
700         (getDescent): modified to use metrics for 'y'.
701
702 2003-06-08  Anthony Green  <green@redhat.com>
703
704         * java/net/URLStreamHandler.java (sameFile): Fix port value
705         comparison.
706         * java/net/URL.java (handler): Make package private.
707         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
708
709 2003-06-07  Tom Tromey  <tromey@redhat.com>
710
711         For PR libgcj/11085:
712         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
713         Limit number of characters in numeric field when required.
714         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
715         Respect maximumIntegerDigits.
716
717 2003-06-08  Michael Koch  <konqueror@gmx.de>
718
719         * java/net/Socket.java
720         (Socket): Dont initialize inputShutdown and outputShutdown twice,
721         call bind() and connect() to actually do the bind and connect tasks.
722         (bind): Connect to canonical address if bindpoint is null, create
723         socket and bind it to bindpoint.
724         (connect): Check for exceptions.
725
726 2003-06-08  Michael Koch  <konqueror@gmx.de>
727
728         * java/net/DatagramSocket.java
729         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
730         into the Multicast constructors.
731         * java/net/DatagramSocketImpl.java
732         (getOption): Removed.
733         (setOption): Removed.
734         * java/net/MulticastSocket.java
735         (MulticastSocket): Call setReuseAddress (true).
736         * java/net/SocketImpl.java
737         (getOption): Removed.
738         (setOption): Removed.
739
740 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
741
742         PR libgcj/10886:
743         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
744         Test for empty vector.
745
746 2003-06-06  Mark Wielaard  <mark@klomp.org>
747
748         * java/security/Security.java (secprops): Initialize.
749         (loadProviders): Return boolean.
750         (static): Check result of loadProvider calls. If necessary
751         display WARNING and fallback to Gnu provider.
752
753 2002-06-06  James Clark  <jjc@jclark.com>
754
755         Fix for PR libgcj/8738:
756         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
757         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
758         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
759         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
760         (write): Always decrease avail when count is increased.
761         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
762         and whether output buffer is full before increasing size.
763
764 2002-06-06  Mark Wielaard  <mark@klomp dot org>
765
766         * java/io/PrintStream.java (writeChars(char[],int, int)):
767         Check converter.havePendingBytes().
768         (writeChars(String,int,int)): Likewise.
769         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
770         Check converter.havePendingBytes() and flush buffer when stalled.
771
772 2003-06-07  Michael Koch  <konqueror@gmx.de>
773
774         * include/posix.h
775         (O_DSYNC): Define O_DSYNC on platforms not
776         supporting O_FSYNC (newlib).
777
778 2003-06-06  Mark Wielaard  <mark@klomp.org>
779
780         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
781         AWTError.
782
783 2003-06-06  Michael Koch  <konqueror@gmx.de>
784
785         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
786         More compile fixes from my stupid work yesterday.
787
788 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
789
790         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
791         if _IEEE_LIBM is undefined.
792
793 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
794
795         * libjava/include/posix.h (O_SYNC): Define if not available
796         and a reasonable, perhaps more conservative, replacement exists.
797         (O_DSYNC): Likewise.
798         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
799
800 2003-06-05  Michael Koch  <konqueror@gmx.de>
801
802         * javax/swing/plaf/BorderUIResource.java,
803         javax/swing/plaf/basic/BasicDefaults.java,
804         javax/swing/plaf/basic/BasicOptionPaneUI.java:
805         More compile fixes for latest Border commit. I should not commit
806         something in this heat here ...
807
808 2003-06-05  Michael Koch  <konqueror@gmx.de>
809
810         * javax/swing/border/BevelBorder.java
811         (BevelBorder): Removed.
812         * javax/swing/border/EmptyBorder.java:
813         Reformatted.
814         (EmptyBorder): Removed.
815         (getBorderInsets): Dont use l, r, t and b.
816         * javax/swing/border/EtchedBorder.java
817         (EtchedBorder): Removed.
818         * javax/swing/border/LineBorder.java
819         (LineBorder): Removed.
820         * javax/swing/border/MatteBorder.java
821         (MatteBorder): Removed.
822         * javax/swing/border/TitledBorder.java
823         (defaultBorder): Use other default for now.
824         (defaultFont): Likewise.
825         (defaultColor): Likewise.
826
827 2003-06-05  Michael Koch  <konqueror@gmx.de>
828
829         * javax/swing/border/Border.java:
830         New version from classpath.
831
832 2003-06-05  Michael Koch  <konqueror@gmx.de>
833
834         * javax/swing/border/AbstractBorder.java,
835         javax/swing/border/BevelBorder.java,
836         javax/swing/border/CompoundBorder.java,
837         javax/swing/border/EmptyBorder.java,
838         javax/swing/border/EtchedBorder.java,
839         javax/swing/border/LineBorder.java,
840         javax/swing/border/MatteBorder.java,
841         javax/swing/border/TitledBorder.java:
842         New versions from Classpath.
843
844 2003-06-05  Michael Koch  <konqueror@gmx.de>
845
846         * java/awt/Button.java,
847         java/awt/Checkbox.java,
848         java/awt/CheckboxMenuItem.java,
849         java/awt/Choice.java,
850         java/awt/Container.java,
851         java/awt/Dialog.java,
852         java/awt/EventQueue.java,
853         java/awt/FileDialog.java,
854         java/awt/Frame.java,
855         java/awt/Label.java,
856         java/awt/List.java,
857         java/awt/Menu.java,
858         java/awt/MenuItem.java,
859         java/awt/Panel.java,
860         java/awt/PopupMenu.java,
861         java/awt/Rectangle.java,
862         java/awt/ScrollPane.java,
863         java/awt/Scrollbar.java,
864         java/awt/TextArea.java,
865         java/awt/TextField.java,
866         java/awt/Window.java,
867         java/awt/datatransfer/DataFlavor.java,
868         java/awt/dnd/DragSource.java,
869         java/awt/dnd/DragSourceContext.java,
870         java/awt/event/HierarchyEvent.java,
871         java/awt/event/MouseWheelEvent.java,
872         java/awt/im/InputContext.java,
873         java/awt/image/BufferedImage.java,
874         java/awt/image/ComponentColorModel.java,
875         java/awt/image/Raster.java,
876         java/awt/image/WritableRaster.java,
877         java/awt/peer/ComponentPeer.java,
878         java/awt/print/PageFormat.java,
879         java/awt/print/PrinterJob.java:
880         New versions from Classpath.
881
882 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
883
884         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
885         numberFormat.setParseIntegerOnly(true).
886
887 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
888
889         * include/posix-threads.h: Include <machine/pal.h> on OSF.
890
891 2003-06-03  Andrew Haley  <aph@redhat.com>
892
893         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
894         stack volatile to prevent optimization from removing it.
895
896 2003-05-27  Michael Koch  <konqueror@gmx.de>
897
898         * java/util/zip/Deflater.java
899         (FILTERED): Merged documentation from classpath.
900         * java/util/zip/DeflaterOutputStream.java
901         (DeflaterOutputStream): Merged documentation and argument validity
902         check from classpath.
903         (deflate): Merged documentation from classpath.
904         (finish): Likewise.
905         * java/util/zip/Inflater.java
906         (Inflater): Merged class documentation from classpath.
907         (zstream): Reordered.
908         (is_finished): Reordered.
909         (dict_needed): Reordered.
910         (Inflater): Reordered, merged documentation from classpath.
911         (end): Likewise.
912         (finalize): Merged documentation from classpath.
913         (finished): Likewise.
914         (getAdler): Likewise.
915         (getRemaining): Likewise.
916         (getTotalIn): Likewise.
917         (getTotalOut): Likewise.
918         (inflate): Likewise.
919         (needsDictionary): Likewise.
920         (needsInput): Likewise.
921         (reset): Likewise.
922         (setDictionary): Likewise.
923         (setInput): Likewise.
924
925 2003-05-27  Michael Koch  <konqueror@gmx.de>
926
927         * java/net/URLConnection.java
928         (getHeaderFieldInt): Merged with classpath.
929
930 2003-05-27  Michael Koch  <konqueror@gmx.de>
931
932         * java/io/PrintStream.java
933         (PrintStream): Reformatted.
934         (PrintStream): New method, merged from classpath.
935         (write): Reformatted.
936
937 2003-05-27  Michael Koch  <konqueror@gmx.de>
938
939         * java/lang/System.java:
940         Explicitely import needed classes.
941
942 2003-05-26  Michael Koch  <konqueror@gmx.de>
943
944         * java/net/NetPermission.java,
945         java/net/NetworkInterface.java,
946         java/net/PasswordAuthentication.java,
947         java/net/SocketPermission.java:
948         New versions from classpath.
949
950 2003-05-25  Michael Koch  <konqueror@gmx.de>
951
952         * java/io/PushbackInputStream.java,
953         java/net/Authenticator.java,
954         java/net/ContentHandler.java,
955         java/net/ContentHandlerFactory.java,
956         java/net/DatagramSocket.java,
957         java/net/DatagramSocketImpl.java,
958         java/net/DatagramSocketImplFactory.java,
959         java/net/FileNameMap.java,
960         java/net/SocketImplFactory.java,
961         java/net/SocketOptions.java,
962         java/net/URLStreamHandlerFactory.java:
963         Merged new versions from classpath.
964
965 2003-05-25  Michael Koch  <konqueror@gmx.de>
966
967         * java/awt/Checkbox.java,
968         java/awt/Dialog.java,
969         java/awt/Font.java,
970         java/awt/Frame.java,
971         java/awt/ScrollPaneAdjustable.java,
972         java/awt/Scrollbar.java,
973         java/awt/Window.java:
974         New versions from classpath.
975
976 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
977
978         PR libgcj/10838:
979         * java/io/ObjectInputStream (enableResolveObject):
980         Fixed spelling of permission name.
981
982 2003-05-20  Michael Koch  <konqueror@gmx.de>
983
984         * java/io/DataInputStream.java
985         (convertFromUTF): Merged comment from classpath.
986         * java/io/PrintStream.java
987         (error_occured): Renamed from error, merged comment from classpath.
988         (PrintStream): No need to initialized error.
989         (checkError): Replace error with error_occurred.
990         (setError): Likewise.
991
992 2003-05-20  Michael Koch  <konqueror@gmx.de>
993
994         * java/io/DataInputStream.java:
995         Reformatted, Replaced < and & with html entitites in documentation.
996         * java/io/File.java:
997         Reformatted.
998         * java/io/PrintWriter.java:
999         Moved class documentation.
1000
1001 2003-05-20  Michael Koch  <konqueror@gmx.de>
1002
1003         * gnu/java/nio/ByteBufferImpl.java,
1004         gnu/java/nio/CharBufferImpl.java,
1005         gnu/java/nio/CharViewBufferImpl.java,
1006         gnu/java/nio/DirectByteBufferImpl.java,
1007         gnu/java/nio/DoubleBufferImpl.java,
1008         gnu/java/nio/DoubleViewBufferImpl.java,
1009         gnu/java/nio/FloatBufferImpl.java,
1010         gnu/java/nio/FloatViewBufferImpl.java,
1011         gnu/java/nio/IntBufferImpl.java,
1012         gnu/java/nio/IntViewBufferImpl.java,
1013         gnu/java/nio/LongBufferImpl.java,
1014         gnu/java/nio/LongViewBufferImpl.java,
1015         gnu/java/nio/natDirectByteBufferImpl.cc,
1016         gnu/java/nio/ShortBufferImpl.java,
1017         gnu/java/nio/ShortViewBufferImpl.java:
1018         Moved files to java/nio.
1019         * gnu/java/nio/SocketChannelImpl.java
1020         
1021         * java/nio/ByteBuffer.java,
1022         java/nio/CharBuffer.java,
1023         java/nio/DoubleBuffer.java,
1024         java/nio/FloatBuffer.java,
1025         java/nio/IntBuffer.java,
1026         java/nio/LongBuffer.java,
1027         java/nio/ShortBuffer.java:
1028         Dont import anything.
1029         * java/nio/ByteBufferImpl.java,
1030         java/nio/CharBufferImpl.java,
1031         java/nio/CharViewBufferImpl.java,
1032         java/nio/DirectByteBufferImpl.java,
1033         java/nio/DoubleBufferImpl.java,
1034         java/nio/DoubleViewBufferImpl.java,
1035         java/nio/FloatBufferImpl.java,
1036         java/nio/FloatViewBufferImpl.java,
1037         java/nio/IntBufferImpl.java,
1038         java/nio/IntViewBufferImpl.java,
1039         java/nio/LongBufferImpl.java,
1040         java/nio/LongViewBufferImpl.java,
1041         java/nio/natDirectByteBufferImpl.cc,
1042         java/nio/ShortBufferImpl.java,
1043         java/nio/ShortViewBufferImpl.java:
1044         Moved from gnu/java/nio.
1045         * Makefile.am
1046         (ordinary_java_source_files): Moved files from gnu/java/nio to
1047         java/nio.
1048         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1049         to java/nio.
1050         * Makefile.in: Regenerated.
1051
1052 2003-05-19  Michael Koch  <konqueror@gmx.de>
1053
1054         * java/util/Calendar.java
1055         (get): Not final anymore since JDK 1.4
1056         (set): Likewise.
1057
1058 2003-05-19  Michael Koch  <konqueror@gmx.de>
1059
1060         * java/text/CollationKey.java:
1061         Merged copyright and dat from classpath.
1062         * java/text/RuleBasedCollator.java:
1063         Merged class documentation from classpath.
1064
1065 2003-05-19  Michael Koch  <konqueror@gmx.de>
1066
1067         * java/nio/CharBuffer.java
1068         (toString): Compile fix.
1069
1070 2003-05-19  Michael Koch  <konqueror@gmx.de>
1071
1072         * gnu/java/nio/ByteBufferImpl.java
1073         (putLong): Fixed conversion to bytes.
1074         (putDouble): Fixed conversion to bytes.
1075         * gnu/java/nio/DirectByteBufferImpl.java
1076         (putLong): Fixed conversion to bytes.
1077         (putDouble): Fixed conversion to bytes.
1078         * gnu/java/nio/FileLockImpl.java
1079         (isValid): Reformatted.
1080         * java/nio/Buffer.java
1081         (Buffer): Fixed off-by-one bug in handling mark.
1082         * java/nio/ByteBuffer.java:
1083         Added newline.
1084         * java/nio/CharBuffer.java
1085         (toString): Don't use relative get to get string data.
1086
1087 2003-05-16  Michael Koch  <konqueror@gmx.de>
1088
1089         * java/io/natFileDescriptorPosix.cc
1090         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1091         tested.
1092
1093 2003-05-14  Michael Koch  <konqueror@gmx.de>
1094
1095         * gnu/java/nio/FileLockImpl.java
1096         (released): New member variable.
1097         (FileLockImpl): Initialize released.
1098         (releaseImpl): New native method.
1099         (release): Implemented.
1100         * gnu/java/nio/SelectorImpl.java: Reformatted.
1101         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1102         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1103         (accept): Throws IOException.
1104         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1105         (implConfigureBlocking): Throws IOException.
1106         (connect): Likewise.
1107         (read): Likewise.
1108         (write): Likewise.
1109         * gnu/java/nio/natFileLockImpl.cc: New file.
1110         * java/nio/channels/FileLock.java: Reformatted.
1111         * Makefile.am:
1112         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1113         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1114         * Makefile.in: Regenerated.
1115
1116 2003-05-13  Michael Koch  <konqueror@gmx.de>
1117
1118         * gnu/java/nio/CharViewBufferImpl.java
1119         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1120         (get): Shift bits to the right direction.
1121         (put): Likewise.
1122         * gnu/java/nio/DoubleViewBufferImpl.java
1123         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1124         (get): Shift bits to the right direction.
1125         (put): Likewise.
1126         * gnu/java/nio/FloatViewBufferImpl.java
1127         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1128         (get): Shift bits to the right direction.
1129         (put): Likewise.
1130         * gnu/java/nio/IntViewBufferImpl.java
1131         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1132         (get): Shift bits to the right direction.
1133         (put): Likewise.
1134         * gnu/java/nio/LongViewBufferImpl.java
1135         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1136         (get): Shift bits to the right direction.
1137         (put): Likewise.
1138         * gnu/java/nio/ShortViewBufferImpl.java
1139         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1140         (get): Shift bits to the right direction.
1141         (put): Likewise.
1142
1143 2003-05-13  Michael Koch  <konqueror@gmx.de>
1144
1145         * gnu/java/nio/natDirectByteBufferImpl.cc
1146         (allocateImpl): jlong -> RawData*.
1147         (freeImpl): Likewise.
1148
1149 2003-05-13  Michael Koch  <konqueror@gmx.de>
1150
1151         * java/nio/channels/FileChannel.java
1152         (MapMode.m): Made it package-private to match JDK 1.4.
1153         * java/nio/charset/Charset.java
1154         (decode): Made it final to match JDK 1.4.
1155
1156 2003-05-13  Michael Koch  <konqueror@gmx.de>
1157
1158        * java/io/FileDescriptor.java
1159        (SYNC): New constant.
1160        (DSYNC): Likewise.
1161        (getLength): Renamed from lenght() to match classpath's
1162        FileDescriptor.java.
1163        * java/io/RandomAccessFile.java
1164        (RandomAccessFile): Removed unneeded mode check, implemented mode
1165        "rws" and "rwd", merged documentation from classpath.
1166        (setLength): Reformatted.
1167        (length): Use new getLength() of FileDescriptor.
1168        * java/io/natFileDescriptorEcos.cc
1169        (getLength): Renamed from length().
1170        * java/io/natFileDescriptorPosix.cc
1171        (open): Implemented support for SYNC and DSYNC.
1172        (seek): Use getLength() instead of length().
1173        (getLength): Renamed from length().
1174        * java/io/natFileDescriptorWin32.cc
1175        (getLength): Renamed from length().
1176        (seek): Use getLength() instead of length().
1177        (available): Likewise.
1178        * gnu/java/nio/natFileChannelImpl.cc
1179        (size): Use getLength() instead of length().
1180
1181 2003-05-13  Michael Koch  <konqueror@gmx.de>
1182
1183         * gnu/java/nio/ByteBufferImpl.java
1184         (ByteBufferImpl): All constructors revised.
1185         (slice): Reimplemented.
1186         (duplicate): Reimplemented.
1187         (asReadOnlyBuffer): Reimplemented.
1188         * java/nio/ByteBuffer.java:
1189         Reformatted.
1190         (array_offset): Renamed from "offset" to match all other buffer
1191         classes.
1192         (ByteBuffer): All constructors revised.
1193         (allocateDirect): Implemented.
1194         (allocate): New implementation, documentation reworked.
1195         (wrap): Likewise.
1196         (get): Documentation reworked.
1197         (put): New implementation, documentation reworked.
1198         (hasArray): Documentation reworked.
1199         (arrayOffset): Likewise.
1200         (hashCode): Likewise.
1201         (equals): Likewise.
1202         (compareTo): Likewise.
1203         (order): Likewise.
1204         (compact): Likewise.
1205         (isDirect): Likewise.
1206         (slice): Likewise.
1207         (duplicate): Likewise.
1208         (asReadOnlyBuffer): Likewise.
1209         * Makefile.am
1210         (ordinary_java_source_files):
1211         Added gnu/java/nio/DirectByteBufferImpl.java.
1212         (nat_source_files):
1213         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1214         * Makefile.in: Regenerated.
1215
1216 2003-05-12  Michael Koch  <konqueror@gmx.de>
1217
1218         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1219         (nio_get_*): Removed.
1220         (nio_put_*): Removed.
1221         (as*Buffer): Implemented.
1222         (compact): Implemented.
1223         (get): Documentation added.
1224         (put): Documentation added.
1225         (get*): Newly implemented.
1226         (put*): Newly implemented.
1227         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1228         (CharBufferImpl): Revised.
1229         (slice): New implementation.
1230         (duplicate): New implementation.
1231         (compact): New implementation.
1232         (asReadOnlyBuffer): New implementation.
1233         (get): Documentation revised.
1234         (order): Return native byte order.
1235         * gnu/java/nio/DirectByteBufferImpl.java
1236         (allocateDirect): objects can be null not 0.
1237         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1238         (DoubleBufferImpl): Revised.
1239         (slice): New implementation.
1240         (duplicate): New implementation.
1241         (compact): New implementation.
1242         (asReadOnlyBuffer): New implementation.
1243         (get): Documentation revised.
1244         (order): Return native byte order.
1245         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1246         (FloatBufferImpl): Revised.
1247         (slice): New implementation.
1248         (duplicate): New implementation.
1249         (compact): New implementation.
1250         (asReadOnlyBuffer): New implementation.
1251         (get): Documentation revised.
1252         (order): Return native byte order.
1253         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1254         (IntBufferImpl): Revised.
1255         (slice): New implementation.
1256         (duplicate): New implementation.
1257         (compact): New implementation.
1258         (asReadOnlyBuffer): New implementation.
1259         (get): Documentation revised.
1260         (order): Return native byte order.
1261         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1262         (LongBufferImpl): Revised.
1263         (slice): New implementation.
1264         (duplicate): New implementation.
1265         (compact): New implementation.
1266         (asReadOnlyBuffer): New implementation.
1267         (get): Documentation revised.
1268         (order): Return native byte order.
1269         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1270         (ShortBufferImpl): Revised.
1271         (slice): New implementation.
1272         (duplicate): New implementation.
1273         (compact): New implementation.
1274         (asReadOnlyBuffer): New implementation.
1275         (get): Documentation revised.
1276         (order): Return native byte order.
1277         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1278         (CharBuffer): Revised.
1279         (order): Removed.
1280         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1281         (DoubleBuffer): Revised.
1282         (allocateDirect): Removed.
1283         (order): Removed.
1284         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1285         (FloatBuffer): Revised.
1286         (allocateDirect): Removed.
1287         (order): Removed.
1288         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1289         (IntBuffer): Revised.
1290         (allocateDirect): Removed.
1291         (order): Removed.
1292         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1293         (LongBuffer): Revised.
1294         (allocateDirect): Removed.
1295         (order): Removed.
1296         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1297         (ShortBuffer): Revised.
1298         (allocateDirect): Removed.
1299         (order): Removed.
1300         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1301         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1302         * Makefile.am
1303         (ordinary_java_source_files): Added the following files:
1304         gnu/java/nio/CharViewBufferImpl.java,
1305         gnu/java/nio/DoubleViewBufferImpl.java,
1306         gnu/java/nio/FloatViewBufferImpl.java,
1307         gnu/java/nio/IntViewBufferImpl.java,
1308         gnu/java/nio/LongViewBufferImpl.java,
1309         gnu/java/nio/ShortViewBufferImpl.java
1310         (nat_source_files): Removed the following files:
1311         gnu/java/nio/natByteBufferImpl.cc,
1312         gnu/java/nio/natCharBufferImpl.cc
1313         * Makefile.in: Regenerated.
1314
1315 2003-05-12  Michael Koch  <konqueror@gmx.de>
1316
1317         * gnu/java/nio/CharViewBufferImpl.java,
1318         gnu/java/nio/DirectByteBufferImpl.java,
1319         gnu/java/nio/DoubleViewBufferImpl.java,
1320         gnu/java/nio/FloatViewBufferImpl.java,
1321         gnu/java/nio/IntViewBufferImpl.java,
1322         gnu/java/nio/LongViewBufferImpl.java,
1323         gnu/java/nio/ShortViewBufferImpl.java,
1324         gnu/java/nio/natDirectByteBufferImpl.cc:
1325         New files, not yet to be compiled.
1326
1327 2003-05-10  Michael Koch  <konqueror@gmx.de>
1328
1329         * javax/swing/plaf/ButtonUI.java,
1330         javax/swing/plaf/ColorUIResource.java,
1331         javax/swing/plaf/ComponentUI.java,
1332         javax/swing/plaf/DimensionUIResource.java,
1333         javax/swing/plaf/FontUIResource.java,
1334         javax/swing/plaf/IconUIResource.java,
1335         javax/swing/plaf/InsetsUIResource.java,
1336         javax/swing/plaf/LabelUI.java,
1337         javax/swing/plaf/ListUI.java,
1338         javax/swing/plaf/OptionPaneUI.java,
1339         javax/swing/plaf/PanelUI.java,
1340         javax/swing/plaf/TabbedPaneUI.java,
1341         javax/swing/plaf/TextUI.java,
1342         javax/swing/plaf/TreeUI.java,
1343         javax/swing/plaf/ViewportUI.java,
1344         javax/swing/plaf/basic/BasicBorders.java,
1345         javax/swing/plaf/basic/BasicButtonUI.java,
1346         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1347         javax/swing/plaf/basic/BasicDefaults.java,
1348         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1349         javax/swing/plaf/basic/BasicIconFactory.java,
1350         javax/swing/plaf/basic/BasicLabelUI.java,
1351         javax/swing/plaf/basic/BasicListUI.java,
1352         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1353         javax/swing/plaf/basic/BasicPanelUI.java,
1354         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1355         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1356         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1357         javax/swing/plaf/basic/BasicTextUI.java,
1358         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1359         javax/swing/plaf/basic/BasicTreeUI.java,
1360         javax/swing/plaf/basic/BasicViewportUI.java,
1361         javax/swing/plaf/metal/MetalLookAndFeel.java:
1362         New versions from classpath. This adds copyrights to all files and
1363         some serialVersionUIDs.
1364
1365 2003-05-10  Michael Koch  <konqueror@gmx.de>
1366
1367         * java/nio/CharBuffer.java
1368         (offset): Make it package-private.
1369         (backing_buffer): Likewise.
1370         * java/nio/DoubleBuffer.java
1371         (offset): Make it package-private.
1372         (backing_buffer): Likewise.
1373         (put): Reformatted.
1374         * java/nio/FloatBuffer.java
1375         (offset): Make it package-private.
1376         (backing_buffer): Likewise.
1377         * java/nio/IntBuffer.java
1378         (offset): Make it package-private.
1379         (backing_buffer): Likewise.
1380         * java/nio/LongBuffer.java
1381         (offset): Make it package-private.
1382         (backing_buffer): Likewise.
1383         * java/nio/ShortBuffer.java
1384         (offset): Make it package-private.
1385         (backing_buffer): Likewise.
1386
1387 2003-05-10  Michael Koch  <konqueror@gmx.de>
1388
1389         * java/nio/CharBuffer.java
1390         (put): Fixed precondtion check.
1391         (toString): Make it work without backing array.
1392         (put): Skip one level of method calling.
1393
1394 2003-05-10  Michael Koch  <konqueror@gmx.de>
1395
1396         * java/security/Identity.java,
1397         java/security/IdentityScope.java,
1398         java/security/Key.java,
1399         java/security/KeyPair.java,
1400         java/security/PrivateKey.java,
1401         java/security/Provider.java,
1402         java/security/PublicKey.java,
1403         java/security/SecureRandom.java,
1404         java/security/SecureRandomSpi.java,
1405         java/security/SignedObject.java,
1406         java/security/Signer.java,
1407         java/security/cert/Certificate.java,
1408         java/security/cert/PKIXCertPathBuilderResult.java,
1409         java/security/cert/X509Certificate.java:
1410         New versions from classpath.
1411
1412 2003-05-09  Tom Tromey  <tromey@redhat.com>
1413
1414         * Makefile.in: Rebuilt.
1415         * Makefile.am (nat_source_files): Removed old files.
1416         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1417         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1418         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1419         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1420         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1421
1422 2003-05-09  Michael Koch  <konqueror@gmx.de>
1423
1424         * gnu/java/nio/ByteBufferImpl.java
1425         (nio_cast): Removed.
1426         (ByteBufferImpl): Removed.
1427         (nio_get_Byte): Removed.
1428         (nio_put_Byte): Removed.
1429         (asByteBuffer): Removed.
1430         (asCharBuffer): Removed implementation and throw exception.
1431         (asShortBuffer): Likewise.
1432         (asIntBuffer): Likewise.
1433         (asLongBuffer): Likewise.
1434         (asFloatBuffer): Likewise.
1435         (asDoubleBuffer): Likewise.
1436         * gnu/java/nio/CharBufferImpl.java
1437         (CharBufferImpl): Removed.
1438         (nio_get_Byte): Removed.
1439         (nio_put_Byte): Removed.
1440         (asByteBuffer): Removed.
1441         * gnu/java/nio/DoubleBufferImpl.java
1442         (DoubleBufferImpl): Removed.
1443         (nio_get_Byte): Removed.
1444         (nio_put_Byte): Removed.
1445         (asByteBuffer): Removed.
1446         * gnu/java/nio/FloatBufferImpl.java
1447         (FloatBufferImpl): Removed.
1448         (nio_get_Byte): Removed.
1449         (nio_put_Byte): Removed.
1450         (asByteBuffer): Removed.
1451         * gnu/java/nio/IntBufferImpl.java
1452         (IntBufferImpl): Removed.
1453         (nio_get_Byte): Removed.
1454         (nio_put_Byte): Removed.
1455         (asByteBuffer): Removed.
1456         * gnu/java/nio/LongBufferImpl.java
1457         (LongBufferImpl): Removed.
1458         (nio_get_Byte): Removed.
1459         (nio_put_Byte): Removed.
1460         (asByteBuffer): Removed.
1461         * gnu/java/nio/ShortBufferImpl.java
1462         (ShortBufferImpl): Removed.
1463         (nio_get_Byte): Removed.
1464         (nio_put_Byte): Removed.
1465         (asByteBuffer): Removed.
1466         * gnu/java/nio/natByteBufferImpl.cc
1467         (nio_cast): Removed.
1468         (nio_get_Byte): Removed.
1469         (nio_put_Byte): Removed.
1470         * gnu/java/nio/natCharBufferImpl.cc
1471         (nio_get_Byte): Removed.
1472         (nio_put_Byte): Removed.
1473
1474 2003-05-09  Michael Koch  <konqueror@gmx.de>
1475
1476         * java/net/JarURLConnection.java
1477         (getJarEntry): Merged documentation from classpath.
1478         (getJarFile): Likewise.
1479         (getMainAttributes): Likewise.
1480         (getAttributes): Likewise.
1481         (getManifest): Likewise.
1482         (getCertificates): Reformatted.
1483         * java/net/URLConnection.java:
1484         Little classpath merge.
1485
1486 2003-05-09  Michael Koch  <konqueror@gmx.de>
1487
1488         * java/io/DataOutputStream.java
1489         (writeShort): Made it synchronized.
1490         (writeChar): Likewise.
1491         (writeInt): Likewise.
1492         (writeLong): Liekwise.
1493         (writeUTF): Made it synchronized, renamed argument to match classpath.
1494         * java/io/InputStreamReader.java
1495         (converter): Added documentation.
1496         (read): Merged documentation from classpath.
1497         * java/io/OutputStreamWriter.java
1498         (OutputStreamWriter): Merged documentation from classpath.
1499         (close): Reformatted.
1500         (getEncoding): Likewise.
1501         (flush): Likewise.
1502         (write): Merged documentation from classpath, reformatted.
1503
1504 2003-05-08  Tom Tromey  <tromey@redhat.com>
1505
1506         * configure.host <powerpc64*-*>: Set with_libffi_default and
1507         libgcj_interpreter to "yes".
1508
1509 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1510
1511         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1512         
1513 2003-05-06  Tom Tromey  <tromey@redhat.com>
1514
1515         * verify.cc: Reverted previous patch.
1516
1517 2003-05-06  Michael Koch  <konqueror@gmx.de>
1518
1519         * java/io/DataOutputStream.java
1520         (write): Renamed argument to "value", merged documentation from
1521         classpath.
1522         (writeBoolean): Likewise.
1523         (writeByte): Likewise.
1524         (writeShort): Likewise.
1525         (writeChar): Likewise.
1526         (writeInt): Likewise.
1527         (writeLong): Likewise.
1528         (writeFloat): Likewise.
1529         (writeDouble): Likewise.
1530         (writeBytes): Likewise.
1531         (writeChars): Likewise.
1532         (writeUTF): Likewise.
1533         * java/io/File.java
1534         (performDelete): Added documentation.
1535         (performList): Likewise.
1536         (performMkdir): Likewise.
1537         (performSetReadOnly): Likewise.
1538         (performRenameTo): Likewise.
1539         (performSetLastModified): Likewise.
1540         (delete): Made it sychronized.
1541         (renameTo): Made it sychronized.
1542         (equals): Reformatted.
1543         (isHidden): Likewise.
1544         (listFiles): Likewise.
1545         (setReadOnly): Likewise.
1546         (listRoots): Likewise.
1547         (setLastModified): Likewise.
1548         (checkRead): Likewise.
1549         (checkWrite): Likewise.
1550         * java/io/FileInputStream.java
1551         (skip): Made it sychronized, merged from classpath.
1552         * java/io/FileOutputStream.java
1553         (write): Merged from classpath.
1554         * java/io/InputStreamReader.java:
1555         (InputStreamReader): Merged documentation from classpath.
1556
1557 2003-05-05  Michael Koch  <konqueror@gmx.de>
1558
1559         * java/net/NetworkInterface.java
1560         (networkInterfaces): Removed.
1561         (getByName): Use getRealNetworkInterfaces() instead of
1562         networkInterfaces.
1563         (getByInetAddress): Likewise.
1564         (getNetworkInterfaces): Likewise.
1565         (toString): Fix output of addresses of an interface.
1566
1567 2003-05-05  Michael Koch  <konqueror@gmx.de>
1568
1569         * java/io/DataInputStream.java:
1570         Merged new documentation from classpath.
1571
1572 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1573
1574         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1575         "version".
1576         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1577         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1578         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1579         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1580         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1581         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1582         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1583         * java/security/Key.java: Likewise.
1584         * java/security/PrivateKey.java: Likewise.
1585         * java/security/Provider.java: Likewise.
1586         * java/security/PublicKey.java: Likewise.
1587
1588 2003-05-02  Michael Koch  <konqueror@gmx.de>
1589
1590         * java/net/URI.java
1591         (create): Doesnt throws any exceptions.
1592         * java/net/URLConnection.java
1593         (URLConnection): Commend added.
1594         (getExpiration): The header field is called "expires" not
1595         "expiration".
1596         (getHeaderField): Merged documentation with classpath.
1597         (getHeaderFieldInt): Likewise.
1598         (getHeaderFieldDate): Likewise.
1599         (getHeaderFieldKey): Likewise.
1600         (getPermission): Likewise.
1601         (setDefaultUseCaches): Likewise.
1602         (setRequestProperty): Likewise.
1603         (addRequestProperty): Likewise.
1604         (getRequestProperty): Likewise.
1605         (getRequestProperties): Likewise.
1606         (setDefaultRequestProperty): Likewise.
1607         (getDefaultRequestProperty): Likewise.
1608         (guessContentTypeFromStream): Likewise.
1609         (getFileNameMap): Likewise.
1610         (setFileNameMap): Likewise.
1611         (setDoInput): Merged implementation and documentation with classpath.
1612         (setDoOutput): Likewise.
1613         (setAllowUserInteraction): Likewise.
1614         (setDefaultAllowUserInteraction): Likewise.
1615         (setContentHandlerFactory): Made it synchronized, merged documentation
1616         with classpath.
1617         (guessContentTypeFromName): Renamed argument fname to filename to
1618         match classpath, merged documentation with classpath.
1619
1620 2003-05-02  Michael Koch  <konqueror@gmx.de>
1621
1622         * java/net/JarURLConnection.java
1623         (JarURLConnection): Class documentation merged with classpath.
1624         (getJarFileURL): Moved and documentation merged with classpath.
1625         (getEntryName): Likewise.
1626         (JarURLConnection): Documentation merged with classpath.
1627         (getJarEntry): Likewise.
1628         (getJarFile): Likewise.
1629         * java/net/PlainDatagramSocketImpl.java:
1630         Class documentation moved.
1631         * java/net/URLConnection.java
1632         (fileNameMap): Moved and documentation merged with classpath.
1633         (factory): Likewise.
1634         (defaultAllowUserInteraction): Likewis.
1635         (defaultUseCaches): Likewise.
1636         (allowUserInteraction): Likewise.
1637         (connected): Likewise.
1638         (url): Likewise.
1639         (connect): Documentation merged with classpath.
1640         (getURL): Likewise.
1641         (getContentLength): Likewise.
1642         (getContentType): Likewise.
1643         (getContentEncoding): Likewise.
1644         (getExpiration): Likewise.
1645         (getDate): Likewise.
1646         (getLastModified): Likewise.
1647         (getHeaderField): Likewise.
1648         (getContent): Likewise.
1649         (getPermission): Likewise.
1650         (getInputStream): Likewise.
1651         (getOutputStream): Likewise.
1652         (toString): Likewise.
1653         (getDoInput): Likewise.
1654         (getDoOutput): Likewise.
1655         (setAllowUserInteraction): Likewise.
1656         (getAllowUserInteraction): Likewise.
1657         (setDefaultAllowUserInteraction): Likewise.
1658         (getDefaultAllowUserInteraction): Likewise.
1659         (setUseCaches): Likewise.
1660         (getUseCaches): Likewise.
1661         (setIfModifiedSince): Likewise.
1662         (getIfModifiedSince): Likewise.
1663         (setDefaultRequestProperty): Likewise.
1664         (getDefaultRequestProperty): Likewise.
1665         (setContentHandlerFactory): Likewise.
1666         (setFileNameMap): Likewise.
1667
1668 2003-05-02  Michael Koch  <konqueror@gmx.de>
1669
1670         * java/net/InetAddress.java:
1671         Merged class documentation with classpath.
1672         * java/net/JarURLConnection.java:
1673         Explicitely import all used classes.
1674         * java/net/URL.java:
1675         Reformatting.
1676         * java/net/ServerSocket.java,
1677         java/net/Socket.java:
1678         New versions from classpath.
1679
1680 2003-05-02  Michael Koch  <konqueror@gmx.de>
1681
1682         * gnu/java/nio/FileChannelImpl.java
1683         (read): New implementation.
1684         (implRead): New methods.
1685         (write): New implementation, call other write insteal of read method.
1686         (implWrite): New methods.
1687         (map): Added comment.
1688         (transferFrom): Implemented.
1689         (transferTo): Implemented.
1690         (lock): Added checks to throw exceptions.
1691         (truncate): Added check to throw exception.
1692         * gnu/java/nio/natFileChannelImpl.cc
1693         (implRead): New method.
1694         (implWrite): New method.
1695         * java/nio/ByteBuffer.java
1696         (hashCode): Fixed comment.
1697         (get): Fixed exception documentation.
1698         (put): Fixed exception documentation.
1699         * java/nio/CharBuffer.java:
1700         Added comment for later optimizations.
1701
1702 2003-04-30  Tom Tromey  <tromey@redhat.com>
1703
1704         PR libgcj/10582:
1705         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1706         Removed.
1707         (type::compatible): Use _Jv_IsAssignableFrom.
1708         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1709         (_Jv_IsAssignableFrom): Work even when source or target class is
1710         not prepared.
1711
1712 2003-04-30  Michael Koch  <konqueror@gmx.de>
1713
1714         * java/text/BreakIterator.java
1715         (clone): New method.
1716
1717 2003-04-30  Michael Koch  <konqueror@gmx.de>
1718
1719         * java/text/CollationElementIterator.java,
1720         java/text/CollationKey.java,
1721         java/text/RuleBasedCollator.java:
1722         Merged copyright and documentation from classpath and
1723         rearranged some code. No code changes done.
1724
1725 2003-04-30  Michael Koch  <konqueror@gmx.de>
1726
1727         * java/util/regex/Matcher.java
1728         (pattern): New member variable.
1729         (appendReplacement): New method.
1730         (appendTail): New method.
1731         (end): New method.
1732         (find): New method.
1733         (group): New method.
1734         (replaceFirst): Added documentation.
1735         (replaceAll): Added documentation.
1736         (groupCount): New method.
1737         (lookingAt): New method.
1738         (matches): New method.
1739         (reset): New method.
1740         (start): New method.
1741         * java/util/regex/Pattern.java
1742         (serialVersionUID): New constant.
1743         (CANON_EQ): New constant.
1744         (CASE_INSENSITIVE): New constant.
1745         (COMMENTS): New constant.
1746         (DOTALL): New constant.
1747         (MULTILINE): New constant.
1748         (UNICODE_CASE): New constant.
1749         (UNIX_LINES): New constant.
1750         (regex): New member variable.
1751         (flags): New member variable.
1752         (Pattern): New method.
1753         (compile): Documentation added.
1754         (flags): New method.
1755         (matches): Documentation added.
1756         (matcher): Documentation added.
1757         (split): Documentation added.
1758         (pattern): New method.
1759
1760 2003-04-30  Michael Koch  <konqueror@gmx.de>
1761
1762         * gnu/java/security/Engine.java,
1763         gnu/java/security/OID.java,
1764         gnu/java/security/der/BitString.java,
1765         gnu/java/security/der/DER.java,
1766         gnu/java/security/der/DERReader.java,
1767         gnu/java/security/der/DERValue.java,
1768         gnu/java/security/der/DERWriter.java,
1769         gnu/java/security/provider/DSAKeyFactory.java,
1770         gnu/java/security/provider/X509CertificateFactory.java,
1771         gnu/java/security/x509/X500DistinguishedName.java,
1772         gnu/java/security/x509/X509CRL.java,
1773         gnu/java/security/x509/X509CRLEntry.java,
1774         gnu/java/security/x509/X509Certificate.java,
1775         java/security/cert/CRLSelector.java,
1776         java/security/cert/CertPathBuilder.java,
1777         java/security/cert/CertPathBuilderResult.java,
1778         java/security/cert/CertPathBuilderSpi.java,
1779         java/security/cert/CertPathParameters.java,
1780         java/security/cert/CertPathValidator.java,
1781         java/security/cert/CertPathValidatorResult.java,
1782         java/security/cert/CertPathValidatorSpi.java,
1783         java/security/cert/CertSelector.java,
1784         java/security/cert/CertStore.java,
1785         java/security/cert/CertStoreParameters.java,
1786         java/security/cert/CertStoreSpi.java,
1787         java/security/cert/CollectionCertStoreParameters.java,
1788         java/security/cert/LDAPCertStoreParameters.java,
1789         java/security/cert/PKIXBuilderParameters.java,
1790         java/security/cert/PKIXCertPathBuilderResult.java,
1791         java/security/cert/PKIXCertPathChecker.java,
1792         java/security/cert/PKIXCertPathValidatorResult.java,
1793         java/security/cert/PKIXParameters.java,
1794         java/security/cert/PolicyNode.java,
1795         java/security/cert/PolicyQualifierInfo.java,
1796         java/security/cert/TrustAnchor.java,
1797         javax/security/auth/x500/X500Principal.java:
1798         New files from classpath.
1799         * gnu/java/io/ASN1ParsingException.java,
1800         gnu/java/io/Base64InputStream.java,
1801         gnu/java/security/der/DEREncodingException.java,
1802         gnu/java/security/provider/DSAParameters.java,
1803         gnu/java/security/provider/DSASignature.java,
1804         gnu/java/security/provider/Gnu.java,
1805         gnu/java/security/provider/GnuDSAPrivateKey.java,
1806         gnu/java/security/provider/GnuDSAPublicKey.java,
1807         java/security/AlgorithmParameterGenerator.java,
1808         java/security/AlgorithmParameters.java,
1809         java/security/KeyFactory.java,
1810         java/security/KeyPairGenerator.java,
1811         java/security/KeyStore.java,
1812         java/security/MessageDigest.java,
1813         java/security/SecureClassLoader.java,
1814         java/security/SecureRandom.java,
1815         java/security/Security.java,
1816         java/security/Signature.java,
1817         java/security/cert/Certificate.java,
1818         java/security/cert/CertificateFactory.java,
1819         java/security/cert/CertificateFactorySpi.java,
1820         java/security/cert/X509CRL.java,
1821         java/security/cert/X509Certificate.java,
1822         java/security/spec/DSAPublicKeySpec.java:
1823         New versions from classpath.
1824         * gnu/java/security/provider/DERReader.java,
1825         gnu/java/security/provider/DERWriter.java,
1826         java/security/Engine.java: Removed.
1827         * Makefile.am
1828         (java_source_files, javax_source_files): Added new files.
1829         * Makefile.in: Regenerated.
1830
1831 2003-04-29  Michael Koch  <konqueror@gmx.de>
1832
1833         * javax/swing/JTable.java
1834         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1835         (AUTO_RESIZE_LAST_COLUMN): New constant.
1836         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1837         (AUTO_RESIZE_OFF): New constant.
1838         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1839         (JTable): New method.
1840         (columnAdded): New method.
1841         (columnMarginChanged): New method.
1842         (columnMoved): New method.
1843         (columnRemoved): New method.
1844         (columnSelectionChanged): New method.
1845         (editingCanceled): New method.
1846         (editingStopped): New method.
1847         (getColumnModel): New method.
1848         (getPreferredScrollableViewportSize): New method.
1849         (getScrollableBlockIncrement): New method.
1850         (getScrollableTracksViewportHeight): New method.
1851         (getScrollableTracksViewportWidth): New method.
1852         (getScrollableUnitIncrement): New method.
1853         (getSelectedRow): New method.
1854         (getSelectionModel): New method.
1855         (tableChanged): New method.
1856         (setModel): New method.
1857         (setSelectionMode): New method.
1858         (setSelectionModel): New method.
1859         (setShowGrid): New method.
1860         (valueChanged): New method.
1861         * javax/swing/text/DefaultEditorKit.java
1862         (backwardAction): New constant.
1863         (beepAction): New constant.
1864         (beginAction): New constant.
1865         (beginLineAction): New constant.
1866         (beginParagraphAction): New constant.
1867         (beginWordAction): New constant.
1868         (copyAction): New constant.
1869         (cutAction): New constant.
1870         (defaultKeyTypedAction): New constant.
1871         (deleteNextCharAction): New constant.
1872         (deletePrevCharAction): New constant.
1873         (downAction): New constant.
1874         (endAction): New constant.
1875         (endLineAction): New constant.
1876         (endOfLineStringProperty): New constant.
1877         (endParagraphAction): New constant.
1878         (endWordAction): New constant.
1879         (forwardAction): New constant.
1880         (insertBreakAction): New constant.
1881         (insertContentAction): New constant.
1882         (insertTabAction): New constant.
1883         (nextWordAction): New constant.
1884         (pageDownAction): New constant.
1885         (pageUpAction): New constant.
1886         (pasteAction): New constant.
1887         (previousWordAction): New constant.
1888         (readOnlyAction): New constant.
1889         (selectAllAction): New constant.
1890         (selectionBackwardAction): New constant.
1891         (selectionBeginAction): New constant.
1892         (selectionBeginLineAction): New constant.
1893         (selectionBeginParagraphAction): New constant.
1894         (selectionBeginWordAction): New constant.
1895         (selectionDownAction): New constant.
1896         (selectionEndAction): New constant.
1897         (selectionEndLineAction): New constant.
1898         (selectionEndParagraphAction): New constant.
1899         (selectionEndWordAction): New constant.
1900         (selectionForwardAction): New constant.
1901         (selectionNextWordAction): New constant.
1902         (selectionPreviousWordAction): New constant.
1903         (selectionUpAction): New constant.
1904         (selectLineAction): New constant.
1905         (selectParagraphAction): New constant.
1906         (selectWordAction): New constant.
1907         (upAction): New constant.
1908         (writableAction): New constant.
1909
1910 2003-04-29  Michael Koch  <konqueror@gmx.de>
1911
1912         * java/util/PropertyPermission.java:
1913         New version from classpath
1914         * java/util/ResourceBundle.java:
1915         Partly merged from classpath
1916         (getObject): Reformated.
1917         (tryBundle): Set foundBundle = null if no bundle found.
1918
1919 2003-04-29  Michael Koch  <konqueror@gmx.de>
1920
1921         * javax/swing/AbstractListModel.java,
1922         javax/swing/DefaultBoundedRangeModel.java,
1923         javax/swing/DefaultSingleSelectionModel.java:
1924         New Versions from classpath.
1925
1926 2003-04-29  Michael Koch  <konqueror@gmx.de>
1927
1928         * java/awt/Window.java
1929         (show): Call super.show() instead of setVisible() to avoid endless
1930         loop.
1931         (hide): Call super.hide() instead of setVisible() to avoid endless
1932         loop.
1933
1934 2003-04-29  Michael Koch  <konqueror@gmx.de>
1935
1936         * java/util/zip/Deflater.java,
1937         java/util/zip/DeflaterOutputStream.java:
1938         Partly merged with classpath.
1939
1940 2003-04-27  Tom Tromey  <tromey@redhat.com>
1941
1942         * java/lang/natString.cc (_Jv_AllocString): Initialize
1943         cachedHashCode.
1944         (init): Likewise.
1945         (_Jv_NewStringUtf8Const): Likewise.
1946
1947 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1948
1949         * include/jvm.h: (_Jv_GetNbArgs) added
1950         (_Jv_GetSafeArg) added
1951         (_Jv_SetArgs) added
1952         * prims.cc: (_Jv_GetNbArgs) implemented
1953         (_Jv_GetSafeArg) implemented
1954         (_Jv_SetArgs) implemented
1955         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1956         setting _Jv_argc and _Jv_argv
1957         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1958         instead of _Jv_argv
1959         * java/lang/natRuntime.cc: (insertSystemProperties) use
1960         _Jv_GetSafeArg() instead of _Jv_argv
1961
1962 2003-04-23  Tom Tromey  <tromey@redhat.com>
1963
1964         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1965         required by this object.  Search superclasses to find required
1966         alignment.
1967         (get_alignment_from_class): Use alignment of type as it appears
1968         in a struct.
1969         (ALIGNOF): New macro.
1970         (struct aligner): New helper structure.
1971
1972 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1973
1974         * java/awt/Container.java (addImpl): Enable paint events if adding
1975         a lightweight to a heavyweight.
1976         (addNotify): Ensure that peer is created before
1977         addNotifyContainerChildren.
1978         (addNotifyContainerChildren): Enable paint events if a heavyweight
1979         container contains a lightweight.
1980
1981 2003-04-20  Tom Tromey  <tromey@redhat.com>
1982
1983         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1984         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1985         Classpath.
1986
1987 2003-04-19  Tom Tromey  <tromey@redhat.com>
1988
1989         * java/sql/Date.java, java/sql/DriverManager.java,
1990         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1991         Classpath.
1992
1993         * Makefile.in: Rebuilt.
1994         * Makefile.am (ordinary_java_source_files): Added new files.
1995         * java/security/AlgorithmParameterGenerator.java,
1996         java/security/AlgorithmParameters.java, java/security/Engine.java,
1997         java/security/Identity.java, java/security/IdentityScope.java,
1998         java/security/KeyFactory.java,
1999         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2000         java/security/MessageDigest.java, java/security/Policy.java,
2001         java/security/ProtectionDomain.java,
2002         java/security/SecureRandom.java, java/security/Security.java,
2003         java/security/Signature.java, java/security/SignatureSpi.java,
2004         java/security/SignedObject.java, java/security/Signer.java,
2005         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2006         java/security/spec/PSSParameterSpec.java,
2007         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2008         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2009         Classpath.
2010
2011 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2012
2013         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2014         (dispose): Null metrics.
2015         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2016         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2017         finalize.
2018         (finalize): Call dispose.
2019         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2020         (gcCachedCount): New field.
2021         (finalize): New method.
2022         (putGCInCache): New method.
2023         (getGCFromCache): New method.
2024         * gnu/gcj/xlib/GC.java (GC): Make protected.
2025         (clone): Get new GC from cache if possible.
2026         (create): New static method.
2027         (dispose): Save old GC in cache.
2028         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2029         deleting.
2030         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2031         is null.
2032         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2033         * java/awt/Container.java (visitChild): Dispose gfx2 when
2034         finished.
2035
2036 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2037
2038         * java/math/BigInteger.java (probablePrime): New.
2039         * java/math/BigDecimal.java (unscaledValue): New.
2040
2041 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2042
2043         * java/io/File.java (getAbsolutePath): On Windows, take care
2044         of paths like "C:", "G:foo\bar", etc.
2045         (getName): Make it work correctly on Windows.
2046         (getParent): Make it work correctly on Windows. For UNIX,
2047         fix bug that causes "/" to be returned as the parent of "/",
2048         instead of null as returned by Sun's JRE.
2049
2050         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2051
2052 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2053
2054         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2055         inner class.
2056         (CACHE_SIZE_PER_DISPLAY): New field
2057         (fontMetricsCache): New field
2058         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2059         loading ISO10646-1 fonts.
2060
2061 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2062
2063         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2064         characters.
2065         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2066         characters.
2067
2068 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2069
2070         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2071         floating point.
2072
2073 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2074
2075         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2076         installed libpthread is either linuxthreads with floating stacks or
2077         NPTL.
2078
2079 2003-04-14  Tom Tromey  <tromey@redhat.com>
2080
2081         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2082         of alignment.
2083
2084 2003-04-10  Tom Tromey  <tromey@redhat.com>
2085
2086         * verify.cc (pop64): Removed.
2087         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2088         exception if top-of-stack is narrow.
2089         (initialize_stack): Check to ensure that <init> is not static and
2090         <clinit> is.
2091
2092 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2093
2094         * java/io/ObjectStreamException
2095         * java/io/FileFilter
2096         * java/io/FilenameFilter
2097         * java/io/ObjectInput
2098         * java/io/ObjectOutput
2099         * java/io/ObjectStreamConstants
2100         Minor doc fixes, format fixes, spelling corrections, etc.
2101         * java/io/DataInput
2102         Corrected code samples in Javadocs to match reality
2103         * java/io/DataOutput
2104         * java/io/ObjectInputValidation
2105         Major documentation fixes - all Javadocs re-written or updated
2106
2107 2003-04-06  Michael Koch  <konqueror@gmx.de>
2108
2109         * java/net/URLConnection.java:
2110         Import classes directly.
2111         (URLConnection): Merged class documentation with classpath.
2112         (url): Moved, documentation from classpath added.
2113         (doInput): Moved, documentation from classpath added.
2114         (doOutput): Moved, documentation from classpath added.
2115         (allowUserInteraction): Moved.
2116         (useCaches): Moved, documentation from classpath added.
2117         (ifModifiedSince): Moved, documentation from classpath added.
2118         (connected): Moved, documentation from classpath added.
2119
2120 2003-04-06  Michael Koch  <konqueror@gmx.de>
2121
2122         * java/io/FileInputStream.java
2123         (skip): Renamed some variables to match classpath, added
2124         checks from classpath.
2125
2126 2003-03-31  Michael Koch  <konqueror@gmx.de>
2127
2128         * javax/swing/AbstractAction.java
2129         (AbstractAction): Reformatted.
2130         (serialVersionUID): New private member variable.
2131         * javax/swing/plaf/BorderUIResource.java
2132         (serialVersionUID): New private member variable.
2133         * javax/swing/plaf/basic/BasicLookAndFeel.java
2134         (serialVersionUID): New private member variable.
2135
2136 2003-03-31  Michael Koch  <konqueror@gmx.de>
2137
2138         * java/sql/Date.java
2139         (valueOf): Deprecated, reformatted.
2140         (toString): Deprecated, reformatted.
2141         * java/sql/Time.java
2142         (valueOf): Deprecated, reformatted.
2143         (toString): Deprecated, reformatted.
2144
2145 2003-03-31  Michael Koch  <konqueror@gmx.de>
2146
2147         * java/rmi/dgc/VMID.java
2148         (isUnique): Deprecated.
2149
2150 2003-03-31  Michael Koch  <konqueror@gmx.de>
2151
2152         * java/io/File.java
2153         (separator): Merged documentation from classpath.
2154         (separatorChar): Merged documentation from classpath.
2155         (pathSeparator): Merged documentation from classpath.
2156         (pathSeparatorChar): Merged documentation from classpath.
2157         (path): Merged documentation from classpath.
2158         (canRead): Merged documentation from classpath.
2159         (canWrite): Merged documentation from classpath.
2160         (createNewFile): Merged documentation from classpath.
2161         (delete): Merged documentation from classpath.
2162         (equals): Merged documentation from classpath.
2163         (exists): Merged documentation from classpath.
2164         (File): Renamed p to name to match classpath, merged documentation
2165         from classpath.
2166         (getAbsolutePath): Merged documentation from classpath.
2167         (getCanonicalPath): Merged documentation from classpath.
2168         (getCanonicalFile): Merged documentation from classpath.
2169         (getName): Merged documentation from classpath.
2170         (getParent): Merged documentation from classpath.
2171         (getParentFile): Merged documentation from classpath.
2172         (getPath): Merged documentation from classpath.
2173         (hashCode): Merged documentation from classpath.
2174         (isAbsolute): Merged documentation from classpath.
2175         (isDirectory): Merged documentation from classpath.
2176         (isFile): Merged documentation from classpath.
2177         (isHidden): Merged documentation from classpath.
2178         (lastModified): Merged documentation from classpath.
2179         (length): Merged documentation from classpath.
2180         (list): Merged documentation from classpath.
2181         (listFiles): Merged documentation from classpath.
2182         (toString): Merged documentation from classpath.
2183         (toURL): Merged documentation from classpath.
2184         (mkdir): Merged documentation from classpath.
2185         (mkdirs): Merged documentation from classpath.
2186         (createTempFile): Merged documentation from classpath.
2187         (setReadOnly): Merged documentation from classpath.
2188         (listRoots): Merged documentation from classpath.
2189         (compareTo): Merged documentation from classpath.
2190         (renameTo): Merged documentation from classpath.
2191         (setLastModified): Merged documentation from classpath.
2192         * java/io/PrintStream.java
2193         (auto_flush): Merged documentation from classpath.
2194         (PrintStream): Merged documentation from classpath.
2195         (checkError): Merged documentation from classpath.
2196         (setError): Merged documentation from classpath.
2197         (close): Merged documentation from classpath.
2198         (flush): Merged documentation from classpath.
2199         (print): Merged documentation from classpath.
2200         (println):  Merged documentation from classpath.
2201         (write): Renamed count to len to match classpath,
2202         merged documentation from classpath.
2203         * java/io/RandomAccessFile.java
2204         (readShort): Merged documentation from classpath.
2205         (readUnsignedByte): Merged documentation from classpath.
2206         (readUnsignedShort): Merged documentation from classpath.
2207         (readUTF): Merged documentation from classpath.
2208         (seek): Reformatted, merged documentation from classpath.
2209         (skipBytes): Renamed some variables to match classpath, reformatted,
2210         merged documentation from classpath.
2211         (write): Merged documentation from classpath.
2212         (writeBoolean): Merged documentation from classpath.
2213         (writeByte): Merged documentation from classpath.
2214         (writeShort): Merged documentation from classpath.
2215         (writeChar): Merged documentation from classpath.
2216         (writeInt): Merged documentation from classpath.
2217         (writeLong): Merged documentation from classpath.
2218         (writeFloat): Merged documentation from classpath.
2219         (writeDouble): Merged documentation from classpath.
2220         (writeBytes): Merged documentation from classpath.
2221         (writeChars): Merged documentation from classpath.
2222         (writeUTF): Reformatted.
2223         (getChannel): Reformatted.
2224
2225 2003-03-31  Michael Koch  <konqueror@gmx.de>
2226
2227         * java/awt/font/TextAttribute.java
2228         (readResolve): Throws java.io.InvalidObjectException.
2229
2230 2003-03-31  Michael Koch  <konqueror@gmx.de>
2231
2232         * java/rmi/server/LoaderHandler.java
2233         (loadClass): Deprecated.
2234         (getSecurityContext): Deprecated.
2235         * java/rmi/server/LogStream.java
2236         (getDefaultStream): Deprecated.
2237         (setDefaultStream): Deprecated.
2238         (getOutputStream): Deprecated.
2239         (setOutputStream): Deprecated.
2240         (write): Deprecated.
2241         (toString): Deprecated.
2242         (parseLevel): Deprecated.
2243         * java/rmi/server/Operation.java
2244         (Operation): Deprecated.
2245         (getOperation): Deprecated.
2246         (toString): Deprecated.
2247         * java/rmi/server/RemoteCall.java
2248         (getOutputStream): Deprecated.
2249         (releaseOutputStream): Deprecated.
2250         (getInputStream): Deprecated.
2251         (releaseInputStream): Deprecated.
2252         (getResultStream): Deprecated.
2253         (executeCall): Deprecated.
2254         (done): Deprecated.
2255         * java/rmi/server/RemoteRef.java
2256         (invoke): Deprecated.
2257         (newCall): Deprecated.
2258         (done): Deprecated.
2259         * java/rmi/server/RemoteStub.java
2260         (setRef): Deprecated.
2261         * java/rmi/server/Skeleton.java:
2262         No need to import java.lang.Exception explicitly.
2263         (dispatch): Deprecated.
2264         (getOperations): Deprecated.
2265
2266 2003-03-31  Michael Koch  <konqueror@gmx.de>
2267
2268         * java/rmi/dgc/VMID.java,
2269         java/rmi/registry/RegistryHandler.java,
2270         java/rmi/server/LogStream.java,
2271         java/rmi/server/Operation.java,
2272         java/rmi/server/RemoteCall.java,
2273         java/rmi/server/RemoteRef.java,
2274         java/rmi/server/RemoteStub.java:
2275         Reformatted.
2276
2277 2003-03-31  Michael Koch  <konqueror@gmx.de>
2278
2279         * javax/swing/AbstractCellEditor.java,
2280         javax/swing/AbstractListModel.java,
2281         javax/swing/ActionMap.java,
2282         javax/swing/BorderFactory.java,
2283         javax/swing/ButtonGroup.java,
2284         javax/swing/DefaultBoundedRangeModel.java,
2285         javax/swing/DefaultButtonModel.java,
2286         javax/swing/DefaultCellEditor.java,
2287         javax/swing/DefaultComboBoxModel.java,
2288         javax/swing/DefaultDesktopManager.java,
2289         javax/swing/DefaultListCellRenderer.java,
2290         javax/swing/DefaultSingleSelectionModel.java,
2291         javax/swing/InputMap.java,
2292         javax/swing/JComponent.java,
2293         javax/swing/JMenu.java,
2294         javax/swing/JSlider.java,
2295         javax/swing/KeyStroke.java,
2296         javax/swing/OverlayLayout.java,
2297         javax/swing/ScrollPaneLayout.java,
2298         javax/swing/SizeRequirements.java,
2299         javax/swing/UIManager.java,
2300         javax/swing/ViewportLayout.java,
2301         javax/swing/border/AbstractBorder.java,
2302         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2303         javax/swing/event/EventListenerList.java,
2304         javax/swing/table/AbstractTableModel.java,
2305         javax/swing/table/DefaultTableCellRenderer.java,
2306         javax/swing/table/DefaultTableColumnModel.java,
2307         javax/swing/table/DefaultTableModel.java,
2308         javax/swing/table/TableColumn.java,
2309         javax/swing/text/StyledEditorKit.java,
2310         javax/swing/tree/DefaultMutableTreeNode.java,
2311         javax/swing/tree/DefaultTreeModel.java,
2312         javax/swing/tree/DefaultTreeSelectionModel.java,
2313         javax/swing/tree/TreePath.java,
2314         javax/swing/undo/AbstractUndoableEdit.java,
2315         javax/swing/undo/StateEdit.java,
2316         javax/swing/undo/StateEditable.java,
2317         javax/swing/undo/UndoableEditSupport.java:
2318         Merges from classpath.
2319
2320 2003-03-30  Tom Tromey  <tromey@redhat.com>
2321
2322         * java/lang/String.java (data, boffset, count): Documented.
2323         (String(byte[],String)): Reformatted.
2324         (String(byte[])): Likewise.
2325         (lastIndexOf(int)): Likewise.
2326         (lastIndexOf(String)): Likewise.
2327         (substring(int)): Renamed argument to match Classpath.
2328         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2329
2330         * java/lang/String.java: Miscellaneous minor formatting changes
2331         to match Classpath more closely.
2332
2333 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2334             Tom Tromey  <tromey@redhat.com>
2335
2336         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2337         (init()): Removed.
2338         (charAt): Put index in exception.
2339         (contentEquals): New method.
2340         Include StringBuffer.h.
2341         * java/lang/String.java (cachedHashCode): New field.
2342         (String()): Follow classpath implementation.
2343         (init()): Removed.
2344         (contentEquals): Declare.
2345         (subSequence): Don't declare IndexOutIfBoundsException in throws
2346         clause.
2347         (matches, replaceFirst, replaceAll, split): New methods from
2348         Classpath.
2349
2350 2003-03-29  Tom Tromey  <tromey@redhat.com>
2351
2352         * java/lang/String.java: Reordered to follow Classpath; merged in
2353         javadoc.
2354
2355         * java/text/MessageFormat.java: Removed some whitespace.
2356
2357         * Makefile.in: Rebuilt.
2358         * Makefile.am (awt_java_source_files): Added new files.
2359         * gnu/javax/rmi/PortableServer.java,
2360         gnu/javax/rmi/CORBA/DelegateFactory.java,
2361         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2362         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2363         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2364         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2365         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2366         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2367         javax/rmi/PortableRemoteObject.java,
2368         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2369         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2370         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2371         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2372         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2373         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2374
2375         * java/lang/natClass.cc (newInstance): Put method name in
2376         exception.
2377         (getConstructor): Likewise.
2378         (getDeclaredConstructor): Likewise.
2379         (getPrivateMethod): Likewise.
2380
2381 2003-03-28  Tom Tromey  <tromey@redhat.com>
2382
2383         * java/lang/reflect/Proxy.java: New version from Classpath.
2384         * java/lang/Package.java: New version from Classpath.
2385
2386 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2387
2388         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2389         * configure: Regenerate.
2390
2391 2003-03-28  Michael Koch  <konqueror@gmx.de>
2392
2393         * java/io/File.java:
2394         Import needed classes instead of whole packages, merged class
2395         documentation with classpath, moved constants and variables to top of
2396         class.
2397         * java/io/PrintStream.java:
2398         Merged class documentation with classpath, moved constants and
2399         variables to top of class.
2400         * java/io/RandomAccessFile.java
2401         (RandomAccessFile): Merged with classpath.
2402         (read): Merged with classpath).
2403         (read*): Reformatted.
2404
2405 2003-03-28  Michael Koch  <konqueror@gmx.de>
2406
2407         * java/io/FileDescriptor.java
2408         (finalize): Throws Throwable, not IOException.
2409         * java/io/ObjectOutputStream.java
2410         (PutField.put): Doesnt throws anything.
2411
2412 2003­03-28  Michael Koch  <konqueror@gmx.de>
2413
2414         * java/io/FileOutputStream.java:
2415         Merged class documentation and authors with classpath.
2416         (FileOutputStream): Partly merged with classpath.
2417         (write): Merged with classpath.
2418         (getChannel): Make it synchronized instead of explicit block in this
2419         method.
2420         * java/io/RandomAccessFile.java:
2421         Merged class documentation and authors with classpath.
2422
2423 2003-03-26  Tom Tromey  <tromey@redhat.com>
2424
2425         * java/lang/natRuntime.cc (insertSystemProperties): Set
2426         gnu.classpath.home.url.
2427         * Makefile.in: Rebuilt.
2428         * Makefile.am: Define LIBDIR.
2429
2430 2003-03-25  Michael Koch  <konqueror@gmx.de>
2431
2432         * java/io/FileInputStream.java
2433         (read): Renamed b to buf and off to offset.
2434         * java/io/FileOutputStream.java
2435         (ch): Documentation added.
2436         (FileOutputStream): Documentation added.
2437         (getFD): Documentation added.
2438         (write): Documentation added.
2439         (close): Documentation added.
2440         (getChannel): Documentation added.
2441
2442 2003-03-24  Michael Koch  <konqueror@gmx.de>
2443
2444         * java/io/DataOutputStream.java
2445         (write): Merged from classpath.
2446         * java/io/File.java:
2447         Merged copyrigth with classpath.
2448         * java/io/FileInputStream.java
2449         (getChannel): Made it synchronized instead of using a synchronized
2450         block.
2451         * java/io/FileOutputStream.java: Reformatted.
2452         * java/io/InputStreamReader.java
2453         (InputStreamReader): Renamed enc to encoding_name.
2454         (close): Merged documentation from classpath.
2455         (getEncoding): Merged documentation from classpath.
2456         (ready): Merged documentation from classpath.
2457         (read): Merged documentation from classpath.
2458         * java/io/LineNumberReader.java
2459         (lineNumber): Made it private.
2460         (LineNumberReader): Use Constant instead of a direct value.
2461         * java/io/OutputStreamWriter.java
2462         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2463         documentation from classpath.
2464         (close): Merged documentation from classpath.
2465         (flush): Merged documentation from classpath.
2466         (write): Merged documentation from classpath.
2467         * java/io/PrintStream.java: Reformatted.
2468
2469 2003-03-24  Michael Koch  <konqueror@gmx.de>
2470
2471         * javax/swing/text/ComponentView.java
2472         (getComponent): Must be final.
2473         * javax/swing/tree/DefaultTreeCellRenderer.java:
2474         Reformatted.
2475         * javax/swing/undo/StateEditable.java:
2476         Reformatted.
2477
2478 2003-03-24  Michael Koch  <konqueror@gmx.de>
2479
2480         * java/rmi/activation/ActivationInstantiator.java:
2481         Reformatted.
2482         * java/rmi/activation/Activator.java:
2483         Reformatted.
2484         * java/rmi/registry/RegistryHandler.java:
2485         Remerged from classpath.
2486
2487 2003-03-24  Michael Koch  <konqueror@gmx.de>
2488
2489         * java/util/Date.java:
2490         Fixed documentation starting tag to make javadoc happy.
2491         * java/util/regex/Pattern.java
2492         (Pattern): Implements Serializable.
2493         * java/util/PatternSyntaxException.java
2494         (serialVersionUID): New member variable.
2495
2496 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2497
2498         * java/awt/ContainerOrderFocusTraversalPolicy.java
2499         (getFirstComponent): Implemented.
2500         (getLastComponent): Implemented.
2501         (getDefaultComponent): Implemented.
2502         (setImplicitDownCycleTraversal): Fixed implementation.
2503         * java/awt/Robot.java
2504         (Robot): Added documentation.
2505         * java/awt/Toolkit.java
2506         (getFontList): Deprecated.
2507         (getFontMetrics): Deprecated.
2508         (getPrintJob): Added documentation.
2509         (getSystemSelection): Added documentation.
2510         (getLockingKeyState): Added documentation.
2511         (setLockingKeyState): Added documentation.
2512         (createCustomCursor): Added documentation.
2513         (getBestCursorSize): Added documentation.
2514         (getMaximumCursorColors): Added documentation.
2515         (isFrameStateSupported): Added documentation.
2516
2517 2003-03-24  Michael Koch  <konqueror@gmx.de>
2518
2519         * java/io/RandomAccessFile.java:
2520         More little merges with classpath. No code changes.
2521
2522 2003-03-24  Michael Koch  <konqueror@gmx.de>
2523
2524         * java/net/natInetAddressNoNet.cc:
2525         Include stddef.h.
2526         * java/net/natPlainDatagramSocketImplNoNet.cc:
2527         Fixed inlcude of java/net/DatagramPacket.h.
2528         * java/net/natPlainSocketImplNoNet.cc:
2529         Include some missing classes.
2530
2531 2003-03-24  Michael Koch  <konqueror@gmx.de>
2532
2533         * java/awt/dnd/DropTarget.java
2534         (DropTargetAutoScroller): According to the online documentation, this
2535         is protected, but in reality it is public.
2536         * java/awt/dnd/DropTargetContext.java
2537         (TransferableProxy): According to the online documentation, this
2538         is protected, but in reality it is public.
2539
2540 2003-03-24  Michael Koch  <konqueror@gmx.de>
2541
2542         * java/io/DataInputStream.java
2543         (): Wrapped documentation line.
2544         (): Fixed @return tag.
2545         * java/io/DataOutputStream.java
2546         (written): Moved to top of class.
2547         (all methods): Merged documentation from classpath.
2548         * java/io/File.java:
2549         Merged copyright year with classpath.
2550         * java/io/FileInputStream.java
2551         (all methods): Merged documentation from classpath.
2552         * java/io/LineNumberReader.java
2553         (getLineNumber): Fixed @return tag.
2554         * java/io/ObjectInputStream.java.
2555         Reformatted.
2556         * java/io/ObjectOutputStream.java:
2557         Reformatted, fixed some @see tags.
2558         * java/io/OutputStreamWriter.java:
2559         Deleted empty line.
2560         * java/io/Writer.java:
2561         Reformatted.
2562
2563 2003-03-24  Michael Koch  <konqueror@gmx.de>
2564
2565         * java/awt/Frame.java
2566         (DEFAULT_CURSOR): Fixed @deprecated tag.
2567         (setCursor): Fixed @deprecated tag.
2568
2569 2003-03-24  Michael Koch  <konqueror@gmx.de>
2570
2571         * java/beans/beancontext/BeanContextEvent.java:
2572         Reformated.
2573
2574 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2575
2576         * java/lang/natStringBuffer.cc (regionMatches): New function.
2577         * java/lang/String.java (count): Now package-private.
2578         * java/lang/StringBuffer.java: Merged with Classpath.
2579
2580 2003-03-23  Michael Koch  <konqueror@gmx.de>
2581
2582         * java/io/BufferedOutputStream.java:
2583         Reformated.
2584         * java/io/BufferedReader.java:
2585         Reformated.
2586         * java/io/ByteArrayOutputStream.java
2587         (size): Fixed @see tag.
2588         * java/io/CharArrayWriter.java
2589         (size): Fixed @see tag.
2590         * java/io/DataInput.java:
2591         Reformated.
2592         * java/io/DataOutput.java:
2593         Reformated.
2594         * java/io/DataOutputStream.java:
2595         Merged copyright years with classpath.
2596         * java/io/Externalizable.java:
2597         Reformated.
2598         * java/io/FileFilter.java:
2599         Reformated.
2600         * java/io/FileInputStream.java:
2601         Merged copyright years with classpath.
2602         * java/io/FileOutputStream.java:
2603         Merged copyright years with classpath.
2604         * java/io/FilePermission.java
2605         (FilePermission): Replaced @XXX with FIXME:.
2606         * java/io/FileWriter.java:
2607         Reformated.
2608         * java/io/FilenameFilter.java:
2609         Reformated.
2610         * java/io/FilterInputStream.java:
2611         Reformated.
2612         * java/io/FilterOutputStream.java:
2613         Reformated.
2614         * java/io/FilterReader.java:
2615         Reformated.
2616         * java/io/FilterWriter.java:
2617         Reformated.
2618         * java/io/LineNumberInputStream.java
2619         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2620         happy.
2621         (getLineNumber): Fixed @return tag.
2622         * java/io/ObjectInput.java:
2623         Reformated.
2624         * java/io/ObjectOutput.java:
2625         Reformated.
2626         * java/io/ObjectStreamClass.java:
2627         Reformated.
2628         * java/io/PrintStream.java:
2629         Merged copyright years with classpath.
2630         * java/io/PushbackReader.java
2631         (PushbackReader): Replaced @code with @param.
2632         * java/io/SerializablePermission.java:
2633         Reformated.
2634         * java/io/StreamTokenizer.java
2635         (resetSyntax): Fixed @see tag.
2636
2637 2003-03-22  Richard Henderson  <rth@redhat.com>
2638
2639         * sysdep/ia64/locks.h: Include ia64intrin.h.
2640         (compare_and_swap): Use __sync_bool_compare_and_swap.
2641         (compare_and_swap_release): Expose ar.ccv assignment.
2642
2643 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2644
2645         * include/posix.h: Add suffix for darwin dynamic libraries.
2646
2647 2003-03-21  Michael Koch  <konqueror@gmx.de>
2648
2649         * javax/swing/Action.java
2650         (ACCELERATOR_KEY): New constant.
2651         (ACTION_COMMAND_KEY): Likewise.
2652         (MNEMONIC_KEY): Likewise.
2653         * javax/swing/UnsupportedLookAndFeelException.java
2654         (UnsupportedLookAndFeelException): Must be public.
2655         * javax/swing/WindowConstants.java
2656         (EXIT_ON_CLOSE): New constant.
2657         * javax/swing/text/BadLocationException.java
2658         (offset): New member variable.
2659         (BadLocationException): New implementation, documentation added.
2660         (offsetRequested): New method.
2661         * javax/swing/text/Caret.java:
2662         Reformated.
2663         * javax/swing/text/Document.java:
2664         Reformated.
2665
2666 2003-03-21  Michael Koch  <konqueror@gmx.de>
2667
2668         * java/rmi/activation/Activatable.java
2669         (serialVersionUID): New member variable.
2670         * java/rmi/activation/ActivationGroup.java
2671         (serialVersionUID): New member variable.
2672         * java/rmi/activation/ActivationGroupDesc.java
2673         (serialVersionUID): New member variable.
2674         * java/rmi/registry/Registry.java:
2675         Reformated.
2676         (Registry): Deprecated.
2677         * java/rmi/server/LoaderHandler.java
2678         Reformated.
2679         (LoaderHandler): Deprecated.
2680         * java/rmi/server/LogStream.java
2681         Reformated.
2682         (LogStream): Deprecated.
2683         * java/rmi/server/Operation.java
2684         (Operation): Deprecated.
2685         * java/rmi/server/RMIFailureHandler.java:
2686         Reformated.
2687         * java/rmi/server/RMISocketFactory.java:
2688         Reformated.
2689         * java/rmi/server/RemoteCall.java
2690         (RemoteCall): Deprecated.
2691         * java/rmi/server/RemoteStub.java:
2692         Reformated.
2693         * java/rmi/server/Skeleton.java
2694         Reformated.
2695         (Skeleton): Deprecated.
2696
2697 2003-03-21  Michael Koch  <konqueror@gmx.de>
2698
2699         * java/io/LineNumberReader.java
2700         (LineNumberReader): Merged documentation with classpath.
2701         (getLineNumber): Likewise.
2702         (setLineNumber): Likewise.
2703         (mark): Likewise.
2704         (reset): Likewise.
2705         (read): Likewise.
2706         (readLine): Likewise.
2707         (skip): Likewise.
2708
2709 2003-03-21  Michael Koch  <konqueror@gmx.de>
2710
2711         * java/rmi/RMISecurityManager.java
2712         (checkAccept): Removed.
2713         (checkAccess): Likewise.
2714         (checkAccess): Likewise.
2715         (checkAwtEventQueueAccess): Likewise.
2716         (checkConnect): Likewise.
2717         (checkCreateClassLoader): Likewise.
2718         (checkDelete): Likewise.
2719         (checkExec): Likewise.
2720         (checkExit): Likewise.
2721         (checkLink): Likewise.
2722         (checkListen): Likewise.
2723         (checkMemberAccess): Likewise.
2724         (checkMulticast): Likewise.
2725         (checkPackageAccess): Likewise.
2726         (checkPackageDefinition): Likewise.
2727         (checkPermission): Likewise.
2728         (checkPrintJobAccess): Likewise.
2729         (checkPropertiesAccess): Likewise.
2730         (checkPropertyAccess): Likewise.
2731         (checkRead): Likewise.
2732         (checkSecurityAccess): Likewise.
2733         (checkSetFactory): Likewise.
2734         (checkSystemClipboardAccess): Likewise.
2735         (checkTopLevelWindow): Likewise.
2736         (checkWrite): Likewise.
2737
2738 2003-03-20  Michael Koch  <konqueror@gmx.de>
2739
2740         * gnu/java/nio/FileChannelImpl.java
2741         (address): Removed.
2742         (map_address): New member variable.
2743         (length): Make it package private.
2744         (fd): Make it package private.
2745         (buf): Make it package private.
2746         (file_obj): Make it package private.
2747         (FileChannelImpl): New constructor.
2748         (nio_mmap_file): Use RawData instead of long.
2749         (nio_munmap_file): Use RawData instead of long.
2750         (nio_msync): Use RawData instead of long.
2751         (implCloseChannel): New implementation using map_address.
2752         (read): Reformated.
2753         (map): Implemented.
2754         (create_direct_mapped_buffer): Implemented, use RawData, throws
2755         IOException.
2756         (force): Use map_address instead of address.
2757         * gnu/java/nio/MappedByteFileBuffer.java
2758         (address): Removed.
2759         (map_address): New member variable.
2760         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2761         (several methods): Use map_address instead of address, replaced long
2762         with RawData where appropriate.
2763         * gnu/java/nio/natFileChannelImpl.cc
2764         (nio_mmap_file): Replaced long with RawData.
2765         (nio_munmap_file): Replaced long with RawData.
2766         (nio_msync): Replaced long with RawData.
2767         * gnu/java/nio/natMappedByteFileBuffer.cc
2768         (several methods): Replaced long with RawData where appropriate.
2769
2770 2003-03-20  Michael Koch  <konqueror@gmx.de>
2771
2772         * java/net/InetAddress.java,
2773         java/net/JarURLConnection.java,
2774         java/net/PlainDatagramSocketImpl.java,
2775         java/net/PlainSocketImpl.java,
2776         java/net/URLConnection.java:
2777         Merged copyright statements with classpath for easier merging.
2778
2779 2003-03-20  Michael Koch  <konqueror@gmx.de>
2780
2781         * java/io/FileInputStream.java
2782         (getChannel): New implementation.
2783         * java/io/FileOutputStream.java
2784         (ch): New member variable.
2785         (getChannel): Implemented.
2786         * java/io/RandomAccessFile.java
2787         (RandomAccessFile): Throws FileNotFoundException instead of
2788         IOException.
2789         (getChannel): New method.
2790         (ch): New member variable.
2791
2792 2003-03-20  Michael Koch  <konqueror@gmx.de>
2793
2794         * java/io/DataOutputStream.java,
2795         java/io/File.java,
2796         java/io/FileInputStream.java,
2797         java/io/FileOutputStream.java,
2798         java/io/InputStreamReader.java,
2799         java/io/LineNumberReader.java,
2800         java/io/OutputStreamWriter.java,
2801         java/io/PrintStream.java,
2802         java/io/RandomAccessFile.java:
2803         Merged copyright statements with classpath for easier merging.
2804
2805 2003-03-19  Michael Koch  <konqueror@gmx.de>
2806
2807         * java/lang/Process.java:
2808         Merged from classpath.
2809
2810 2003-03-19  Michael Koch  <konqueror@gmx.de>
2811
2812         * java/io/FileOutputStream.java
2813         (FileOutputStream): New constructor, merged from classpath.
2814         * java/io/FileWriter.java
2815         (FileWriter): New constructor, merged from classpath.
2816
2817 2003-03-18  Michael Koch  <konqueror@gmx.de>
2818
2819         * java/awt/ScrollPane.java
2820         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2821         (getViewportSize): Likewise.
2822         (addNotify): Likewise.
2823         (removeNotify): Likewise.
2824         * java/awt/ScrollPaneAdjustable.java
2825         (ScrollPaneAdjustable): No longer extends Scrollbar.
2826         * java/beans/beancontext/BeanContextServices.java:
2827         Reformated.
2828         (getService): Added throws TooManyListenersException;
2829         * java/beans/beancontext/BeanContextServicesSupport.java:
2830         Reformated.
2831
2832 2003-03-18  Michael Koch  <konqueror@gmx.de>
2833
2834         * java/io/BufferedOutputStream.java,
2835         java/io/DataInput.java,
2836         java/io/DataInputStream.java,
2837         java/io/DataOutput.java,
2838         java/io/Externalizable.java:
2839         More merges from classpath.
2840
2841 2003-03-18  Michael Koch  <konqueror@gmx.de>
2842
2843         * configure.in: Fixed links to platform dependant java.net files.
2844         * configure: Regenerated.
2845         * java/net/natInetAddress.cc,
2846         java/net/natNetworkInterface.cc,
2847         java/net/natPlainDatagramSocketImpl.cc,
2848         java/net/natPlainSocketImpl.cc:
2849         Removed.
2850
2851 2003-03-18  Michael Koch  <konqueror@gmx.de>
2852
2853         * configure.in: Create links to architecture dependent files,
2854         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2855         * configure: Regenerated.
2856         * java/net/natInetAddressNoNet.cc,
2857         java/net/natInetAddressPosix.cc,
2858         java/net/natInetAddressWin32.cc,
2859         java/net/natNetworkInterfaceNoNet.cc,
2860         java/net/natNetworkInterfacePosix.cc,
2861         java/net/natNetworkInterfaceWin32.cc,
2862         java/net/natPlainDatagramSocketImplNoNet.cc,
2863         java/net/natPlainDatagramSocketImplPosix.cc,
2864         java/net/natPlainDatagramSocketImplWin32.cc,
2865         java/net/natPlainSocketImplNoNet.cc,
2866         java/net/natPlainSocketImplPosix.cc,
2867         java/net/natPlainSocketImplWin32.cc: New files.
2868
2869 2003-03-18  Michael Koch  <konqueror@gmx.de>
2870
2871         * java/io/BufferedReader.java,
2872         java/io/BufferedWriter.java,
2873         java/io/ByteArrayOutputStream.java,
2874         java/io/FileFilter.java,
2875         java/io/FilePermission.java,
2876         java/io/FileReader.java,
2877         java/io/FileWriter.java,
2878         java/io/FilenameFilter.java,
2879         java/io/FilterInputStream.java,
2880         java/io/FilterOutputStream.java,
2881         java/io/FilterReader.java,
2882         java/io/FilterWriter.java,
2883         java/io/ObjectInput.java,
2884         java/io/ObjectInputValidation.java,
2885         java/io/ObjectOutput.java,
2886         java/io/ObjectStreamField.java,
2887         java/io/PipedInputStream.java,
2888         java/io/PipedReader.java,
2889         java/io/PrintWriter.java,
2890         java/io/PushbackReader.java,
2891         java/io/Reader.java,
2892         java/io/SerializablePermission.java,
2893         java/io/StringReader.java,
2894         java/io/Writer.java:
2895         Merged from classpath.
2896
2897 2003-03-17  Michael Koch  <konqueror@gmx.de>
2898
2899         * java/awt/ScrollPaneAdjustable.java:
2900         Compile fixes.
2901         
2902 2003-03-17  Michael Koch  <konqueror@gmx.de>
2903
2904         * java/net/DatagramSocket.java
2905         (connect): Fixed comment.
2906         * java/nio/ByteBuffer.java
2907         (hasArray): Fixed comment.
2908
2909 2003-03-17  Michael Koch  <konqueror@gmx.de>
2910
2911         * java/beans/Beans.java:
2912         Explicitely import classes not packages.
2913         * java/beans/FeatureDescriptor.java
2914         (preferred): New member variable.
2915         (isPreferred): New method.
2916         (setPreferred): New method.
2917         * java/beans/PropertyEditorManager.java:
2918         Explicitely import used classes.
2919         * java/beans/beancontext/BeanContextChild.java:
2920         Added line wrapping.
2921         * java/beans/beancontext/BeanContextChildSupport.java:
2922         Reindented.
2923         * java/beans/beancontext/BeanContextEvent.java:
2924         Reindented.
2925
2926 2003-03-17  Michael Koch  <konqueror@gmx.de>
2927
2928         * java/awt/Dialog.java
2929         (Dialog): New constructor, changed implementations, added
2930         documentation.
2931         * java/awt/ScrollPaneAdjustable.java
2932         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2933         Serializable.
2934         (serialVersionUID): New member variable.
2935         (sp): New member variable.
2936         (orientation): New member variable.
2937         (value): New member variable.
2938         (minimum): New member variable.
2939         (maximum): New member variable.
2940         (visibleAmount): New member variable.
2941         (unitIncrement): New member variable.
2942         (blockIncrement): New member variable.
2943         (AdjustmentListener): New member variable.
2944         (ScrollPaneAdjustable): New implementation.
2945         (addAdjustmentListener): New method.
2946         (removeAdjustmentListener): New method.
2947         (getAdjustmentListeners): New method.
2948         (getBlockIncrement): New method.
2949         (getMaximum): New method.
2950         (getMinimum): New method.
2951         (getOrientation): New method.
2952         (getUnitIncrement): New method.
2953         (getValue): New method.
2954         (getVisibleAmount): New method.
2955         (setBlockIncrement): New method.
2956         (setMaximum): Implemented.
2957         (setMinimum): Implemented.
2958         (setUnitIncrement): New method.
2959         (setValue): New method.
2960         (setVisibleAmount): Implemented. 
2961         (paramString): New stubbed method.
2962         * java/awt/Window.java
2963         (show): Call setVisible().
2964         (hide): Call setVisible().
2965         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2966         and WINDOW_STATE_CHANGED.
2967         (processWindowFocusEvent): New method.
2968         (processWindowStateEvent): New method.
2969         (postEvent): Deprecated.
2970         (applyResourceBundle): Deprecated.
2971         * java/awt/datatransfer/DataFlavor.java
2972         (DataFlavor): Doesn't thow ClassNotFoundException.
2973
2974 2003-03-17  Michael Koch
2975
2976         * javax/print/attribute/Attribute.java,
2977         javax/print/attribute/AttributeSet.java,
2978         javax/print/attribute/PrintRequestAttributeSet.java:
2979         New files.
2980         * Makefile.am
2981         (javax_source_files): Added new files:
2982         javax/print/attribute/Attribute.java
2983         javax/print/attribute/AttributeSet.java
2984         javax/print/attribute/PrintRequestAttributeSet.java
2985         * Makefile.in: Regenerated.
2986
2987 2003-03-17  Michael Koch
2988
2989         * javax/print/attribute/Attribute.java,
2990         javax/print/attribute/AttributeSet.java,
2991         javax/print/attribute/PrintRequestAttributeSet.java:
2992         New files.
2993         * Makefile.am
2994         (awt_java_source_files): Added new files:
2995         javax/print/attribute/Attribute.java
2996         javax/print/attribute/AttributeSet.java
2997         javax/print/attribute/PrintRequestAttributeSet.java
2998         * Makefile.in: Regenerated.
2999
3000 2003-03-16  Tom Tromey  <tromey@redhat.com>
3001
3002         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3003         Include platform.h.
3004         * java/lang/natRuntime.cc (insertSystemProperties): Use
3005         _Jv_platform_path_separator.
3006         (nativeGetLibname): Use _Jv_platform_file_separator.
3007         (_load): Use _Jv_platform_onload_names.
3008         (onload_names): New global.
3009         * include/win32.h (_Jv_platform_file_separator): New define.
3010         (_Jv_platform_path_separator): Likewise.
3011         (_Jv_platform_onload_names): Likewise.
3012         (_Jv_platform_ffi_abi): Likewise.
3013         * include/posix.h (_Jv_platform_file_separator): New define.
3014         (_Jv_platform_path_separator): Likewise.
3015         (_Jv_platform_onload_names): Likewise.
3016         (_Jv_platform_ffi_abi): Likewise.
3017
3018 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3019
3020         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3021
3022 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3023
3024         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3025         hierarchy loop.
3026         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3027         list to Object,ObjectStreamClass, moved callReadMethod code up into
3028         readObject and added Class argument to all setXxxField calls.
3029         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3030         consistent with ObjectOutputStream and to facilitate caching the
3031         Method in the future.
3032         (setBooleanField): Added Class argument.
3033         (setByteField): Likewise.
3034         (setCharField): Likewise.
3035         (setDoubleField): Likewise.
3036         (setFloatField): Likewise.
3037         (setIntField): Likewise.
3038         (setLongField): Likewise.
3039         (setShortField): Likewise.
3040         (setObjectField): Likewise.
3041         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3042         class hierarchy loop.
3043         (defaultWriteObject): Call writeFields with new argument list.
3044         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3045         list to Object,ObjectStreamClass, moved callWriteMethod up into
3046         writeObject and added Class argument to all getXxxField calls.
3047         (callWriteMethod): Added ObjectStreamClass argument to be able to
3048         get the proper class to call getMethod on (each class can have (or
3049         not have) its own writeObject method).
3050         (getBooleanField): Added Class argument.
3051         (getByteField): Likewise.
3052         (getCharField): Likewise.
3053         (getDoubleField): Likewise.
3054         (getFloatField): Likewise.
3055         (getIntField): Likewise.
3056         (getLongField): Likewise.
3057         (getShortField): Likewise.
3058         (getObjectField): Likewise.
3059         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3060         facilitate caching the Method object in the future.
3061
3062 2003-03-12  Andreas Schwab  <schwab@suse.de>
3063
3064         * configure.in: Avoid trailing /. in toolexeclibdir.
3065         * configure: Rebuilt.
3066
3067 2003-03-11  Michael Koch  <konqueror@gmx.de>
3068
3069         * gnu/java/nio/ByteBufferImpl.java
3070         (putInt): Use limit() instead of limit.
3071         * gnu/java/nio/CharBufferImpl.java
3072         (slice): Fixed implementation.
3073         (subSequence): Better bounds checking.
3074         * gnu/java/nio/MappedByteFileBuffer.java:
3075         Import all needed classes directly.
3076         * java/nio/ByteBuffer.java
3077         (hashCode): New dummy method.
3078         * java/nio/CharBuffer.java
3079         (array_offset): New member variable.
3080         (hasArray): Fixed documentation.
3081         (arrayOffset): Return array_offset.
3082
3083 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3084
3085         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3086         setter; made return value of getter const char* instead of char*
3087         * prims.cc: removed all references to _Jv_ThisExecutable().
3088         These are in the platform-specific sections now.
3089         * posix.cc: define platform-specific _Jv_ThisExecutable().
3090         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3091         * win32.cc: define platform-specific _Jv_ThisExecutable()
3092         using GetModuleFilename()
3093         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3094         to argv[0] instead of _Jv_ThisExecutable()
3095
3096 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3097
3098         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3099         that is set if we are using addr2name.awk instead of addr2line.
3100         (NameFinder): Set usingAddr2name if using addr2name.awk.
3101         (getExternalLabel): New native method to convert a method 
3102         name to an external label.
3103         (lookup): Convert name given by addr2line to an external label
3104         before demangling.
3105
3106         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3107         constant representing the prefix attached to method names to
3108         convert them to an external label.
3109         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3110         using LABEL_PREFIX.
3111
3112 2003-03-10  Tom Tromey  <tromey@redhat.com>
3113
3114         * Makefile.in: Rebuilt.
3115         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3116         (JC1FLAGS): Removed -Wno-deprecated.
3117
3118 2003-03-10  Michael Koch  <konqueror@gmx.de>
3119
3120         * java/nio/ByteOrder.java
3121         (nativeOrder): Working implementation, added documentation.
3122         (toString): Added documentation.
3123
3124 2003-03-10  Michael Koch  <konqueror@gmx.de>
3125
3126         * java/net/DatagramSocket.java,
3127         java/net/MulticastSocket.java,
3128         java/net/Socket.java,
3129         java/net/URL.java,
3130         java/net/URLConnection.java:
3131         Fixed some documentation tags to make javadoc and friends happy.
3132
3133 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3134
3135         * java/beans/beancontext/BeanContextServicesSupport.java,
3136         java/beans/beancontext/BeanContextSupport.java: New files.
3137         * Makefile.am
3138         (awt_source_files): Added new files.
3139         * Makefile.in: Regenerated.
3140
3141 2003-03-10  Michael Koch  <konqueror@gmx.de>
3142
3143         * java/awt/FocusTraversalPolicy.java
3144         (FocusTraversalPolicy): Documentation added.
3145         (getComponentAfter): Documentation added.
3146         (getComponentBefore): Documentation added.
3147         (getFirstComponent): Documentation added.
3148         (getLastComponent): Documentation added.
3149         (getDefaultComponent): Documentation added.
3150         (getInitialComponent): Documentation added.
3151         * java/awt/ScrollPaneAdjustable.java
3152         (sp): New member variable.
3153         (orientation): New member variable.
3154         (value): New member variable.
3155         (minimum): New member variable.
3156         (maximum): New member variable.
3157         (visibleAmount): New member variable.
3158         (unitIncrement): New member variable.
3159         (blockIncrement): New member variable.
3160         (adjustmentListener): New member variable.
3161         (ScrollPaneAdjustable): Rewrote.
3162         (addAdjustmentListener): New method.
3163         (removeAdjustmentListener): New method.
3164         (getAdjustmentListeners): New method.
3165         (getBlockIncrement): New method.
3166         (getMaximum): New method.
3167         (getMinimum): New method.
3168         (getOrientation): New method.
3169         (getUnitIncrement): New method.
3170         (getValue): New method.
3171         (getVisibleAmount): New method.
3172         (setBlockIncrement): New method.
3173         (setUnitIncrement): New method.
3174         (setMaximum): Implemented.
3175         (setMinimum): Implemented.
3176         (setValue): New method.
3177         (setVisibleAmount): Implemented.
3178         (paramString): New method.
3179         * java/awt/Window.java
3180         (show): Use setVisible(true) instead of super.show().
3181         (hide): Use sevVisible(false) instead of super.hide().
3182         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3183         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3184         (postEvent): Deprecated.
3185         (applyResourceBundle): Deprecated.
3186         (processWindowFocusEvent): New method.
3187         (processWindowStateEvent): New method.
3188         * java/awt/datatransfer/DataFlavor.java: Reindented.
3189         * java/awt/font/TextHitInfo.java
3190         (charIndex): New member variable.
3191         (leadingEdge): New member variable.
3192         (TextHitInfo): New constructor.
3193         (getCharIndex): Implemented.
3194         (isLeadingEdge): Implemented.
3195         (getInsertionIndex): Implemented.
3196         (hashCode): Access charIndex directly.
3197         (equals): Reformated.
3198         (leading): Implemented.
3199         (trailing): Implemented.
3200         (beforeOffset): Implemented.
3201         (afterOffset): Implemented.
3202         (getOtherHit): Implemented.
3203         (getOffsetHit): Implemented.
3204         (toString): Implemented.
3205         * java/awt/image/BufferedImage.java
3206         (BufferedImage): Implements WritableRenderedImage.
3207         (observers): New member variable.
3208         (addTileObserver): New method.
3209         (removeTileObserver): New method.
3210
3211 2003-03-09  Tom Tromey  <tromey@redhat.com>
3212
3213         PR libgcj/9934:
3214         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3215         to lseek.  Return 0 if we can't compute the value.
3216
3217 2003-03-03  Michael Koch  <konqueror@gmx.de>
3218
3219         * java/net/NetworkInterface.java: Merged with classpath.
3220
3221 2003-03-03  Tom Tromey  <tromey@redhat.com>
3222
3223         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3224         of bytecode.
3225         (handle_ret_insn): Fail if returning to jsr that appears at end of
3226         bytecode.
3227
3228 2003-03-03  Michael Koch  <konqueror@gmx.de>
3229
3230         * Makefile.am
3231         (ordinary_java_source_files):
3232         Added gnu/java/nio/MappedByteFileBuffer.java.
3233         (nat_source_files):
3234         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3235         * Makefile.in: Regenerated.
3236
3237 2003-03-03  Michael Koch  <konqueror@gmx.de>
3238
3239         * java/net/DatagramSocket.java
3240         (connect): Merged comment from classpath.
3241         (receive): Merged documentation from classpath.
3242         * java/net/Socket.java
3243         (setSoTimeout): Clarified documentation.
3244         * java/net/URL.java
3245         (getPath): Merged from classpath.
3246         (getUserInfo): Merged from classpath.
3247         (getQuery): Merged from classpath.
3248         * java/net/URLStreamHandler.java
3249         (toExternalForm): Merged from classpath.
3250
3251 2003-03-02  Mark Wielaard  <mark@klomp.org>
3252
3253         * java/util/Properties.java (load): Only skip line if the first
3254         character is a comment, whitespaces don't count.
3255
3256 2003-03-02  Michael Koch  <konqueror@gmx.de>
3257
3258         * java/net/NetPermission.java:
3259         Merged copyright with classpath.
3260
3261 2003-03-02  Michael Koch  <konqueror@gmx.de>
3262
3263         * java/lang/Package.java:
3264         Remerged from classpath.
3265
3266 2003-03-02  Michael Koch  <konqueror@gmx.de>
3267
3268         * java/net/HttpURLConnection.java
3269         (HTTP_SERVER_ERROR): Deprecated.
3270         * java/net/MulticastSocket.java
3271         (send): Replaced checkMulticast with appropriate checkPermission call,
3272         deprecated.
3273         * java/net/URLDecoder.java
3274         (decode): Deprecated.
3275         * java/net/URLEncoder.java
3276         (encode): Deprecated.
3277
3278 2003-03-02  Michael Koch  <konqueror@gmx.de>
3279
3280         * javax/swing/text/Caret.java
3281         (getMagicCaretPosition): Fixed typo in method name.
3282         * javax/swing/text/DefaultCaret.java
3283         (getMagicCaretPosition): Fixed typo in method name.
3284
3285 2003-03-02  Michael Koch  <konqueror@gmx.de>
3286
3287         * java/awt/List.java
3288         (setMultipleSelections): Deprecated.
3289         (delItem): Deprecated.
3290         * java/awt/MenuComponent.java
3291         (getPeer): Deprecated.
3292         * java/awt/ScrollPane.java
3293         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3294         * java/awt/dnd/MouseDragGestureRecognizer.java
3295         (mouseClicked): Added comment.
3296         (mousePressed): Added comment.
3297         (mouseReleased): Added comment.
3298         (mouseEntered): Added comment.
3299         (mouseExited): Added comment.
3300         (mouseDragged): Added comment.
3301         (mouseMoved): Added comment.
3302         * java/awt/event/KeyEvent.java
3303         (KeyEvent): Deprecated.
3304         (setModifiers): Deprecated.
3305         
3306 2003-03-02  Michael Koch  <konqueror@gmx.de>
3307
3308         * gnu/java/nio/FileChannelImpl.java
3309         (fd): Type FileDescriptor instead of int.
3310         (lengthInternal): Removed.
3311         (FileChannelImpl): Fixed arguments, check type of file object.
3312         (size): Made it native.
3313         (implPosition): New native method.
3314         (implTruncate): New native method.
3315         (position): Implemented.
3316         (truncate): Implemented.
3317         (nio_mmap_file): Changed arguments.
3318         (nio_munmap_file): Changed arguments.
3319         (nio_msync): Changed arguments.
3320         * gnu/java/nio/natFileChannelImpl.cc
3321         (lengthInternal): Removed.
3322         (size): New method.
3323         (implPosition): New method.
3324         (implTruncate): New method.
3325         (nio_mmap_file): Changed arguments.
3326         (nio_munmap_file): Changed arguments.
3327         (nio_msync): Changed arguments.
3328
3329 2003-03-02  Michael Koch  <konqueror@gmx.de>
3330
3331         * java/awt/dnd/DropTargetContext.java:
3332         Compile fix: Forgot to commit import.
3333         
3334 2003-03-02  Michael Koch  <konqueror@gmx.de>
3335
3336         * java/awt/Component.java,
3337         java/awt/ScrollPane.java:
3338         Fixed typos.
3339
3340 2003-03-02  Michael Koch  <konqueror@gmx.de>
3341
3342         * java/awt/dnd/DnDEventMulticaster.java: New file.
3343         * java/awt/dnd/DragSource.java
3344         (flavorMap): New member variable.
3345         (dragSourceListener): New member variable.
3346         (dragSourceMotionListener): New member variable.
3347         (getFlavorMap): Implemented.
3348         (createDragGestureRecognizer): Implemented.
3349         (addDragSourceListener): Implemented.
3350         (removeDragSourceListener): Implemented.
3351         (getDragSourceListeners): Implemented.
3352         (addDragSourceMotionListener): Implemented.
3353         (removeDragSourceMotionListener): Implemented.
3354         (getDragSourceMotionListeners): Implemented.
3355         (getListeners): Implemented.
3356         * java/awt/dnd/DragSourceContext.java
3357         (peer): New member variable.
3358         (cursor): New member variable.
3359         (transferable): New member variable.
3360         (trigger): New member variable.
3361         (dragSourceListener): New member variable.
3362         (image): New member variable.
3363         (offset): New member variable.
3364         (DragSourceContext): Implemented.
3365         (getDragSource): Implemented.
3366         (getComponent): Implemented.
3367         (getTrigger): Implemented.
3368         (getSourceActions): Implemented.
3369         (setCursor): Implemented.
3370         (getCursor): Implemented.
3371         (addDragSourceListener): Implemented.
3372         (removeDragSourceListener): Implemented.
3373         (getTransferable): Implemented.
3374         * java/awt/dnd/DropTarget.java
3375         (DropTargetAutoScroller.component): New member variable.
3376         (DropTargetAutoScroller.point): New member variable.
3377         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3378         (DropTargetAutoScroller.updateLocation): Implemented.
3379         (active): Renamed from isActive, defaults to true now.
3380         (component): New member variable.
3381         (flavorMap): New member variable.
3382         (actions): New member variable.
3383         (dropTargetContext): New member variable.
3384         (dropTargetListener): New member variable.
3385         (DropTarget): Implemented.
3386         (getComponent): Implemented.
3387         (setComponent): Implemented.
3388         (setDefaultActions): Implemented.
3389         (getDefaultActions): Implemented.
3390         (setActive): Use active instead of isActive.
3391         (isActive): Use active instead of isActive.
3392         (addDropTargetListener): Implemented.
3393         (removeDropTargetListener): Implemented.
3394         (getFlavorMap): Implemented.
3395         (setFlavorMap): Implemented.
3396         (getDropTargetContext): Implemented.
3397         (createDropTargetContext): Implemented.
3398         (createDropTargetAutoScroller): Implemented.
3399         * java/awt/dnd/DropTargetContext.java
3400         (TransferableProxy.getTransferDataFlavors): Implemented.
3401         (TransferableProxy.isDataFlavorSupported): Implemented.
3402         (TransferableProxy.getTransferData): Implemented.
3403         (dropTarget):  New member variable.
3404         (dtcp): New member variable.
3405         (DropTargetContext): New package private constructor.
3406         (getDropTarget): Implemented.
3407         (getComponent): Implemented.
3408         (addNotify): Implemented.
3409         (removeNotify): Implemented.
3410         (getCurrentDataFlavorsAsList): Implemented.
3411         (isDataFlavorSupported): Implemented.
3412         * java/awt/dnd/MouseDragGestureRecognizer.java
3413         (registerListeners): Implemented.
3414         (unregisterListeners): Implemented.
3415         * Makefile.am
3416         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3417         * Makefile.in: Regenerated.
3418
3419 2003-03-02  Michael Koch  <konqueror@gmx.de>
3420
3421         * java/awt/Component.java
3422         (eventTypeEnabled): New method.
3423         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3424         * java/awt/Container.java
3425         (changeSupport): New member variable.
3426         (addPropertyChangeListener): New methods.
3427         * java/awt/ContainerOrderFocusTraversalPolicy.java
3428         (ContainerOrderFocusTraversalPolicy): Added comment.
3429         (getComponentAfter): Throw exception, documentation added.
3430         (getComponentBefore): Throw exception, documentation added.
3431         (getFirstComponent): Throw exception, documentation added.
3432         (getLastComponent): Throw exception, documentation added.
3433         (getDefaultComponent): Throw exception, documentation added.
3434         * java/awt/EventQueue.java: Reindented.
3435         * java/awt/FocusTraversalPolicy.java:
3436         (FocusTraversalPolicy): Added comment.
3437         (getComponentAfter): Documentation added.
3438         (getComponentBefore): Documentation added.
3439         (getFirstComponent): Documentation added.
3440         (getLastComponent): Documentation added.
3441         (getDefaultComponent): Documentation added.
3442         (getInitialComponent): Documentation added.
3443         * java/awt/ScrollPane.java
3444         (wheelScrollingEnabled): New member variable.
3445         (ScrollPane): Initialize wheelScollingEnabled.
3446         (eventTypeEnabled): New method.
3447         (isWheelScrollingEnabled): New method.
3448         (setWheelScrollingEnabled): New method.
3449
3450 2003-03-02  Michael Koch  <konqueror@gmx.de>
3451
3452         * java/net/DatagramSocket.java
3453         (closed): New member variable.
3454         (close): Use closed variable.
3455         (getInetAddress): No need to call isConnected().
3456         (getPort): No need to call isConnected().
3457         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3458         (isClosed): Reimplemented.
3459         
3460 2003-03-02  Michael Koch  <konqueror@gmx.de>
3461
3462         * configure.in: Added check for memory mapping of files.
3463         * configure: Regenerated.
3464         * config.h.in: Regenerated.
3465
3466 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3467
3468         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3469         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3470
3471 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3472
3473         * java/io/File.java (normalizePath): Remove trailing separator
3474         on Windows only if path is not of the form "x:\".
3475
3476         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3477         (java::io::File::attr): Change formatting a bit and use
3478         WIN32_EPOCH_MILLIS instead of magic numbers.
3479         (java::io::File::isAbsolute): Path must have at least 3 
3480         characters for a UNC network path.
3481         (java::io::File::init_native): Define.
3482         (java::io::File::performCreate): Likewise.
3483         (java::io::File::performSetReadOnly): Likewise.
3484         (java::io::File::performSetLastModified): Likewise.
3485         (java::io::File::performListRoots): Likewise.
3486
3487 2003-03-01  Tom Tromey  <tromey@redhat.com>
3488
3489         * java/lang/natObject.cc: Don't include assert.h.
3490         (heavy_lock_obj_finalization_proc): Use JvAssert.
3491         (remove_all_heavy): Likewise.
3492         (_Jv_MonitorEnter): Likewise.
3493         (_Jv_MonitorExit): Likewise.
3494         (wait): Likewise.
3495
3496 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3497
3498         * java/io/File (getAbsolutePath): Prefix drive specifier on
3499         Windows for paths starting with a '\'.
3500         (toURL): Make URL more consistent with what Sun's JDK returns.
3501
3502         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3503         true only if the path is a UNC network path or it starts with a
3504         drive specifier.
3505
3506         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3507         Be prepared to handle either '/' or '\\' in the file path for
3508         Windows if using the "file" protocol.
3509         Canonicalise the file path if using a relative path in the given
3510         context and the "file" protocol.
3511
3512 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3513
3514         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3515         program array element passed to CreateProcess.
3516
3517 2003-03-01  Tom Tromey  <tromey@redhat.com>
3518
3519         * java/rmi/registry/RegistryHandler.java: Deprecate.
3520
3521 2003-03-01  Tom Tromey  <tromey@redhat.com>
3522
3523         * javax/accessibility/AccessibleEditableText.java,
3524         javax/accessibility/AccessibleHyperlink.java: New versions from
3525         Classpath.
3526
3527         * gnu/java/locale/LocaleInformation_af_ZA.java,
3528         gnu/java/locale/LocaleInformation_ar_AE.java,
3529         gnu/java/locale/LocaleInformation_ar_BH.java,
3530         gnu/java/locale/LocaleInformation_ar_DZ.java,
3531         gnu/java/locale/LocaleInformation_ar_EG.java,
3532         gnu/java/locale/LocaleInformation_ar_IN.java,
3533         gnu/java/locale/LocaleInformation_ar_IQ.java,
3534         gnu/java/locale/LocaleInformation_ar_JO.java,
3535         gnu/java/locale/LocaleInformation_ar_KW.java,
3536         gnu/java/locale/LocaleInformation_ar_LB.java,
3537         gnu/java/locale/LocaleInformation_ar_LY.java,
3538         gnu/java/locale/LocaleInformation_ar_MA.java,
3539         gnu/java/locale/LocaleInformation_ar_OM.java,
3540         gnu/java/locale/LocaleInformation_ar_QA.java,
3541         gnu/java/locale/LocaleInformation_ar_SD.java,
3542         gnu/java/locale/LocaleInformation_ar_SY.java,
3543         gnu/java/locale/LocaleInformation_ar_TN.java,
3544         gnu/java/locale/LocaleInformation_ar_YE.java,
3545         gnu/java/locale/LocaleInformation_be_BY.java,
3546         gnu/java/locale/LocaleInformation_bn_IN.java,
3547         gnu/java/locale/LocaleInformation_br_FR.java,
3548         gnu/java/locale/LocaleInformation_bs_BA.java,
3549         gnu/java/locale/LocaleInformation_ca_ES.java,
3550         gnu/java/locale/LocaleInformation_cs_CZ.java,
3551         gnu/java/locale/LocaleInformation_cy_GB.java,
3552         gnu/java/locale/LocaleInformation_da_DK.java,
3553         gnu/java/locale/LocaleInformation_de_AT.java,
3554         gnu/java/locale/LocaleInformation_de_BE.java,
3555         gnu/java/locale/LocaleInformation_de_CH.java,
3556         gnu/java/locale/LocaleInformation_de_DE.java,
3557         gnu/java/locale/LocaleInformation_de_LU.java,
3558         gnu/java/locale/LocaleInformation_el_GR.java,
3559         gnu/java/locale/LocaleInformation_en_AU.java,
3560         gnu/java/locale/LocaleInformation_en_BW.java,
3561         gnu/java/locale/LocaleInformation_en_CA.java,
3562         gnu/java/locale/LocaleInformation_en_DK.java,
3563         gnu/java/locale/LocaleInformation_en_GB.java,
3564         gnu/java/locale/LocaleInformation_en_HK.java,
3565         gnu/java/locale/LocaleInformation_en_IE.java,
3566         gnu/java/locale/LocaleInformation_en_IN.java,
3567         gnu/java/locale/LocaleInformation_en_NZ.java,
3568         gnu/java/locale/LocaleInformation_en_PH.java,
3569         gnu/java/locale/LocaleInformation_en_SG.java,
3570         gnu/java/locale/LocaleInformation_en_US.java,
3571         gnu/java/locale/LocaleInformation_en_ZA.java,
3572         gnu/java/locale/LocaleInformation_en_ZW.java,
3573         gnu/java/locale/LocaleInformation_es_AR.java,
3574         gnu/java/locale/LocaleInformation_es_BO.java,
3575         gnu/java/locale/LocaleInformation_es_CL.java,
3576         gnu/java/locale/LocaleInformation_es_CO.java,
3577         gnu/java/locale/LocaleInformation_es_CR.java,
3578         gnu/java/locale/LocaleInformation_es_DO.java,
3579         gnu/java/locale/LocaleInformation_es_EC.java,
3580         gnu/java/locale/LocaleInformation_es_ES.java,
3581         gnu/java/locale/LocaleInformation_es_GT.java,
3582         gnu/java/locale/LocaleInformation_es_HN.java,
3583         gnu/java/locale/LocaleInformation_es_MX.java,
3584         gnu/java/locale/LocaleInformation_es_NI.java,
3585         gnu/java/locale/LocaleInformation_es_PA.java,
3586         gnu/java/locale/LocaleInformation_es_PE.java,
3587         gnu/java/locale/LocaleInformation_es_PR.java,
3588         gnu/java/locale/LocaleInformation_es_PY.java,
3589         gnu/java/locale/LocaleInformation_es_SV.java,
3590         gnu/java/locale/LocaleInformation_es_US.java,
3591         gnu/java/locale/LocaleInformation_es_UY.java,
3592         gnu/java/locale/LocaleInformation_es_VE.java,
3593         gnu/java/locale/LocaleInformation_et_EE.java,
3594         gnu/java/locale/LocaleInformation_eu_ES.java,
3595         gnu/java/locale/LocaleInformation_fa_IR.java,
3596         gnu/java/locale/LocaleInformation_fi_FI.java,
3597         gnu/java/locale/LocaleInformation_fo_FO.java,
3598         gnu/java/locale/LocaleInformation_fr_BE.java,
3599         gnu/java/locale/LocaleInformation_fr_CA.java,
3600         gnu/java/locale/LocaleInformation_fr_CH.java,
3601         gnu/java/locale/LocaleInformation_fr_FR.java,
3602         gnu/java/locale/LocaleInformation_fr_LU.java,
3603         gnu/java/locale/LocaleInformation_ga_IE.java,
3604         gnu/java/locale/LocaleInformation_gd_GB.java,
3605         gnu/java/locale/LocaleInformation_gl_ES.java,
3606         gnu/java/locale/LocaleInformation_gv_GB.java,
3607         gnu/java/locale/LocaleInformation_he_IL.java,
3608         gnu/java/locale/LocaleInformation_hi_IN.java,
3609         gnu/java/locale/LocaleInformation_hr_HR.java,
3610         gnu/java/locale/LocaleInformation_hu_HU.java,
3611         gnu/java/locale/LocaleInformation_id_ID.java,
3612         gnu/java/locale/LocaleInformation_it_CH.java,
3613         gnu/java/locale/LocaleInformation_it_IT.java,
3614         gnu/java/locale/LocaleInformation_iw_IL.java,
3615         gnu/java/locale/LocaleInformation_ja_JP.java,
3616         gnu/java/locale/LocaleInformation_ka_GE.java,
3617         gnu/java/locale/LocaleInformation_kl_GL.java,
3618         gnu/java/locale/LocaleInformation_ko_KR.java,
3619         gnu/java/locale/LocaleInformation_kw_GB.java,
3620         gnu/java/locale/LocaleInformation_lt_LT.java,
3621         gnu/java/locale/LocaleInformation_lv_LV.java,
3622         gnu/java/locale/LocaleInformation_mi_NZ.java,
3623         gnu/java/locale/LocaleInformation_mk_MK.java,
3624         gnu/java/locale/LocaleInformation_mr_IN.java,
3625         gnu/java/locale/LocaleInformation_mt_MT.java,
3626         gnu/java/locale/LocaleInformation_nl_BE.java,
3627         gnu/java/locale/LocaleInformation_nl_NL.java,
3628         gnu/java/locale/LocaleInformation_nn_NO.java,
3629         gnu/java/locale/LocaleInformation_no_NO.java,
3630         gnu/java/locale/LocaleInformation_oc_FR.java,
3631         gnu/java/locale/LocaleInformation_pl_PL.java,
3632         gnu/java/locale/LocaleInformation_pt_BR.java,
3633         gnu/java/locale/LocaleInformation_pt_PT.java,
3634         gnu/java/locale/LocaleInformation_ro_RO.java,
3635         gnu/java/locale/LocaleInformation_ru_RU.java,
3636         gnu/java/locale/LocaleInformation_ru_UA.java,
3637         gnu/java/locale/LocaleInformation_se_NO.java,
3638         gnu/java/locale/LocaleInformation_sk_SK.java,
3639         gnu/java/locale/LocaleInformation_sl_SI.java,
3640         gnu/java/locale/LocaleInformation_sq_AL.java,
3641         gnu/java/locale/LocaleInformation_sr_YU.java,
3642         gnu/java/locale/LocaleInformation_sv_FI.java,
3643         gnu/java/locale/LocaleInformation_sv_SE.java,
3644         gnu/java/locale/LocaleInformation_ta_IN.java,
3645         gnu/java/locale/LocaleInformation_te_IN.java,
3646         gnu/java/locale/LocaleInformation_tg_TJ.java,
3647         gnu/java/locale/LocaleInformation_tl_PH.java,
3648         gnu/java/locale/LocaleInformation_tr_TR.java,
3649         gnu/java/locale/LocaleInformation_uk_UA.java,
3650         gnu/java/locale/LocaleInformation_ur_PK.java,
3651         gnu/java/locale/LocaleInformation_uz_UZ.java,
3652         gnu/java/locale/LocaleInformation_vi_VN.java,
3653         gnu/java/locale/LocaleInformation_yi_US.java,
3654         gnu/java/locale/LocaleInformation_zh_CN.java,
3655         gnu/java/locale/LocaleInformation_zh_HK.java,
3656         gnu/java/locale/LocaleInformation_zh_SG.java,
3657         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3658         info; from Classpath.
3659
3660         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3661         isPaintPending): New methods.
3662         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3663         setMaximizedBounds): New methods.
3664         (beginLayout, endLayout, isPaintPending): Likewise.
3665         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3666         (requestFocus): Likewise.
3667         (isObscured): Likewise.
3668         (canDetermineObscurity): Likewise.
3669         (coalescePaintEvent): Likewise.
3670         (updateCursorImmediately): Likewise.
3671         (createVolatileImage): Likewise.
3672         (handlesWheelScrolling): Likewise.
3673         (createBuffers): Likewise.
3674         (getBackBuffer): Likewise.
3675         (flip): Likewise.
3676         (destroyBuffers): Likewise.
3677
3678         * Makefile.in: Rebuilt.
3679         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3680         RobotPeer.java.
3681         * gnu/java/awt/GLightweightPeer.java,
3682         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3683         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3684         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3685         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3686         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3687         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3688         java/awt/dnd/peer/DragSourceContextPeer.java,
3689         java/awt/dnd/peer/DropTargetContextPeer.java,
3690         java/awt/peer/ButtonPeer.java,
3691         java/awt/peer/CheckboxMenuItemPeer.java,
3692         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3693         java/awt/peer/ComponentPeer.java,
3694         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3695         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3696         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3697         java/awt/peer/MenuBarPeer.java,
3698         java/awt/peer/MenuComponentPeer.java,
3699         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3700         java/awt/peer/PopupMenuPeer.java,
3701         java/awt/peer/ScrollPanePeer.java,
3702         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3703         java/awt/peer/TextComponentPeer.java,
3704         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3705         New versions from Classpath.
3706         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3707         * java/awt/peer/RobotPeer.java: Likewise.
3708
3709 2003-03-01  Mark Wielaard  <mark@klomp.org>
3710
3711         * java/io/ObjectInputStream.java: Reindent.
3712         * java/io/ObjectOutputStream.java: Likewise.
3713
3714 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3715
3716         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3717         jvalue for each argument. Simplify.
3718         * testsuite/libjava.jni/calls.c (docall),
3719         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3720         misalignment.
3721
3722 2003-02-28  Mark Wielaard  <mark@klomp.org>
3723
3724         * Makefile.am (nat_source_files): Remove
3725         java/io/natObjectOutputStream.cc.
3726         * Makefile.in: Regenerated.
3727         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3728         * java/io/ObjectStreamField.java (typename): New field.
3729         (ObjectStreamField(String, Class)): Initialize new field.
3730         (ObjectStreamField(String, String)): New Constructor.
3731         (getTypeCode): Use new field.
3732         (getTypeString): Use new field.
3733         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3734         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3735         Handle reading of Proxy classes. Never drain(), just write
3736         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3737         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3738         (flush): Call flush(), not just drain().
3739         (writeBoolean): Always use blockDataOutput.
3740         (writeByte): Likewise.
3741         (writeShort): Likewise.
3742         (writeChar): Likewise.
3743         (writeInt): Likewise.
3744         (writeLong): Likewise.
3745         (writeFloat): Likewise.
3746         (writeDouble): Likewise.
3747         (writeBytes): Likewise.
3748         (putfield (put(String,Object))): Throw IllegalArgumentException if
3749         field cannot be found.
3750         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3751         (writeArraySizeAndElements): Write byte[] in one go.
3752         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3753         set BlockDataMode to false.
3754         (annotateProxyClass): New method.
3755         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3756         (getField): No longer native.
3757         (getMethod): Likewise.
3758         (setBlockDataMode): Always drain() on switch, return old mode.
3759         (static): New static code block.
3760         * java/io/natObjectOutputStream.cc: Removed.
3761         * java/io/ObjectInputStream.java (getField): No longer native.
3762         (getMethod): Likewise.
3763         (readObject): Remember and reset old BlockDataMode. Track whether
3764         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3765         TC_LONGSTRING.
3766         (defaultReadObject): Set BlockDataMode to false during readFields.
3767         (resolveClass): Create new SecurityManager if necessary.
3768         Use Class.forName() if null ClassLoader found.
3769         (read(byte[],int,int): Copy remaining bytes to data before calling
3770         readNextBlock().
3771         (readFields): Set and reset BlockDataMode on call_read_method.
3772         Catch NoSuchFieldErrors.
3773         (setBlockDataMode): Return old mode.
3774         (static): New static code block.
3775         * java/io/natObjectInputStream.cc (getField): Removed.
3776         (getMethod): Likewise.
3777
3778 2003-02-27  Michael Koch  <konqueror@gmx.de>
3779
3780         * java/beans/Beans.java,
3781         java/beans/FeatureDescriptor.java
3782         java/beans/PropertyEditorManager.java:
3783         Reformated to GNU style.
3784
3785 2003-02-25  Michael Koch  <konqueror@gmx.de>
3786
3787         * gnu/java/nio/MappedByteFileBuffer.java,
3788         gnu/java/nio/natMappedByteFileBuffer.cc:
3789         New files, both are not compiled yet to get not noncompiling CVS.
3790
3791 2003-02-24  Tom Tromey  <tromey@redhat.com>
3792
3793         * java/util/prefs/AbstractPreferences.java (isUserNode):
3794         Implemented.
3795
3796 2003-02-24  Tom Tromey  <tromey@redhat.com>
3797
3798         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3799         Deprecate.
3800         * java/lang/Thread.java (resume): Deprecate.
3801         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3802         in @deprecated.
3803
3804 2003-02-23  Tom Tromey  <tromey@redhat.com>
3805
3806         * Makefile.in: Rebuilt.
3807         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3808
3809 2003-02-23  Tom Tromey  <tromey@redhat.com>
3810
3811         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3812         libraries): Removed.
3813         (add_library): Removed.
3814         (_load): Don't call add_library.
3815         (loadLibraryInternal): Likewise.
3816         (init): Likewise.
3817         (lookup_data): New struct.
3818         (find_symbol): New function.
3819         (_Jv_FindSymbolInExecutable): Use it.
3820
3821 2002-02-21  Anthony Green  <green@redhat.com>
3822
3823         * java/lang/Thread.java (Thread): New constructor taking stack
3824         size parameter (ignored for now).
3825         * Many methods: Merged GNU Classpath documentation.
3826
3827         * java/lang/Class.java (finalize): throws a Throwable.
3828
3829 2003-02-21  Mark Wielaard  <mark@klomp.org>
3830
3831         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3832         argument is null.
3833
3834 2003-02-21  Mark Wielaard  <mark@klomp.org>
3835
3836         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3837         then 65535 chars throw IllegalArgumentException.
3838
3839 2003-02-21  Mark Wielaard  <mark@klomp.org>
3840
3841         * java/util/zip/ZipFile.java (finalize): New method.
3842
3843 2003-02-21  Michael Koch  <konqueror@gmx.de>
3844
3845         * gnu/java/nio/natSocketChannelImpl.cc:
3846         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3847         <cato@df.lth.se> for pointing to it.
3848
3849 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3850
3851         * java/math/BigInteger.java (euclidInv): Take result array as an
3852         argument.  Updated all callers.
3853         (modInverse): Removed unused variables.
3854
3855 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3856
3857         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3858         config.status.
3859         * configure: Rebuilt.
3860
3861 2003-02-19  Michael Koch  <konqueror@gmx.de>
3862
3863         * gnu/java/nio/natSocketChannelImpl.cc:
3864         Added support for platforms without network support.
3865
3866 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3867
3868         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3869         after config.h.  Use <> for consistency.
3870         * java/lang/natObject.cc: Likewise.
3871         * java/lang/natRuntime.cc: Likewise.
3872         * java/lang/natSystem.cc: Likewise.
3873         * java/util/natTimeZone.cc: Likewise.
3874         * win32.cc: Likewise.
3875         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3876         listen, write, read): Undef to avoid interference from OS macros.
3877
3878 2003-02-19  Michael Koch  <konqueror@gmx.de>
3879
3880         * gnu/java/nio/ByteBufferImpl.java
3881         (ByteBufferImpl): Renamed two variables.
3882         * gnu/java/nio/CharBufferImpl.java
3883         (CharBufferImpl): Renamed two variables.
3884         * gnu/java/nio/DoubleBufferImpl.java
3885         (DoubleBufferImpl): Renamed two variables.
3886         * gnu/java/nio/FloatBufferImpl.java
3887         (FloatBufferImpl): Renamed two variables.
3888         * gnu/java/nio/IntBufferImpl.java
3889         (IntBufferImpl): Renamed two variables.
3890         * gnu/java/nio/LongBufferImpl.java
3891         (LongBufferImpl): Renamed two variables.
3892         * gnu/java/nio/ShortBufferImpl.java
3893         (ShortBufferImpl): Renamed two variables.
3894         * java/nio/CharBuffer.java
3895         (wrap): Fixed arguments to CharBufferImpl constructor.
3896         (hasArray): Only not read-only buffers have backing arrays.
3897         (length): Documentation added.
3898         (subSequence): Documentation added.
3899         * java/nio/DoubleBuffer.java
3900         (hasArray): Only not read-only buffers have backing arrays.
3901         * java/nio/FloatBuffer.java
3902         (hasArray): Only not read-only buffers have backing arrays.
3903         * java/nio/IntBuffer.java
3904         (hasArray): Only not read-only buffers have backing arrays.
3905         * java/nio/LongBuffer.java
3906         (hasArray): Only not read-only buffers have backing arrays.
3907         * java/nio/ShortBuffer.java
3908         (hasArray): Only not read-only buffers have backing arrays.
3909         
3910 2003-02-19  Michael Koch  <konqueror@gmx.de>
3911
3912         * javax/accessibility/AccessibleContext.java
3913         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3914
3915 2003-02-19  Michael Koch  <konqueror@gmx.de>
3916
3917         * java/awt/ScrollPaneAdjustable.java: Reformated.
3918
3919 2003-02-19  Michael Koch <konqueror@gmx.de>
3920
3921         * gnu/awt/j2d/Graphics2DImpl.java
3922         (getFontRenderContext): New method.
3923         (drawGlyphVector): New method.
3924         * java/awt/Graphics2D.java
3925         (getFontRenderContext): New abstract method.
3926         (drawGlyphVector): New abstract method.
3927         
3928 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3929
3930         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3931         if necessary.
3932         
3933         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3934         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3935         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3936         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3937         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3938         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3939         (setFont, gtkSetFont): add.
3940         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3941         Propagate font to peer.  (setFont): add FIXME comment.
3942
3943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3944         (gtkTextGetSize): fix height, width computation.
3945
3946         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3947         Make X font name a bit less bogus.
3948
3949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3950         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3951
3952         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3953         (processAdjustmentEvent): Adjust value.
3954
3955         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3956         logic errors.
3957
3958         * java/awt/Component.java (setVisible, show, hide): Call show and
3959         hide methods in subclasses.
3960         (getPreferredSize): don't set prefSize before we have peer.
3961
3962         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3963         Guess (0,0) if we don't have peer.
3964
3965
3966 2003-02-18  Michael Koch  <konqueror@gmx.de>
3967
3968         * java/nio/channels/FileChannel.java
3969         (toString): New implementation, added documentation.
3970         (map): Added exception documentation.
3971         (size): Added exception documentation.
3972         (write): New methods, documentation work.
3973         (read): New methods, documentation work.
3974         (implCloseChannel): Rewrote exception documentation.
3975         (force): Throws IOException, added documentation.
3976         (lock): New methods.
3977         (tryLock): New methods.
3978         (position): New methods.
3979         (transferTo): New method.
3980         (transferFrom): New method.
3981         (truncate): New method.
3982         * java/nio/channels/spi/SelectorProvider.java
3983         (provider): Implemented.
3984         * Makefile.am
3985         (ordinary_java_source_files): Added the following files:
3986         gnu/java/nio/DatagramChannelImpl.java
3987         gnu/java/nio/FileChannelImpl.java
3988         gnu/java/nio/PipeImpl.java
3989         gnu/java/nio/SelectionKeyImpl.java
3990         gnu/java/nio/SelectorImpl.java
3991         gnu/java/nio/SelectorProviderImpl.java
3992         gnu/java/nio/ServerSocketChannelImpl.java
3993         gnu/java/nio/SocketChannelImpl.java
3994         java/nio/channels/FileLock.java
3995         (nat_java_source_files): Added the following files:
3996         gnu/java/nio/natFileChannelImpl.cc
3997         gnu/java/nio/natSelectorImpl.cc
3998         gnu/java/nio/natSocketChannelImpl.cc
3999         * Makefile.in: Regenerated.
4000
4001 2003-02-17  Tom Tromey  <tromey@redhat.com>
4002
4003         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4004         * java/awt/image/ImageFilter.java: Likewise.
4005
4006 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4007
4008         * java/math/BigInteger.java (euclidInv): Return array of
4009         `BigInteger's.  Changed all callers.
4010
4011 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4012
4013         * java/util/Properties.java (store): Move the code formerly in
4014         list(), into this method.
4015         (list (PrintStream)): Just call list (PrintWriter) with a 
4016         PrintWriter object constructed from the given PrintStream object.
4017         (list (PrintWriter)): Emulate the output of Properties.list()
4018         as found in JDK 1.3/1.4.
4019
4020 2003-02-17  Michael Koch  <konqueror@gmx.de>
4021
4022         * java/net/DatagramSocket.java
4023         (connect): Merged with classpath.
4024         (disconnect): Merged documentation with classpath.
4025         (receice): Merged documentation with classpath.
4026         (send): Merged documentation with classpath.
4027         
4028 2003-02-17  Michael Koch  <konqueror@gmx.de>
4029
4030         * java/awt/dnd/DragSourceContext.java
4031         (addDragSourceListener): Added documentation.
4032         * java/awt/dnd/DragSourceDragEvent.java
4033         (serialVersionUID): New member variable.
4034         (getDropAction): Reformated.
4035         * java/awt/dnd/DragSourceDropEvent.java
4036         (serialVersionUID): New member variable.
4037         (dropSuccess): Renamed from success for serialization issues.
4038         * java/awt/dnd/DragSourceEvent.java
4039         (serialVersionUID): New member variable.
4040         * java/awt/dnd/DropTarget.java
4041         (serialVersionUID): New member variable.
4042         (DropTarget): Implemented, documentation reworked.
4043         (setComponent): Documentation added.
4044         (getComponent): Documentation added.
4045         (setDefaultActions): Documentation added.
4046         (getDefaultActions): Documentation added.
4047         (addDropTargetListener): Documentation added.
4048         * java/awt/dnd/DropTargetContext.java
4049         (DropTargetContext): Documentation added.
4050         (TransferableProxy.TransferableProxy): New method.
4051         (dropComplete): Fixed documentation.
4052         (getTransferable): Fixed documentation.
4053         (createTransferableProxy): Implemented.
4054         * java/awt/dnd/DropTargetDragEvent.java
4055         (DropTargetDragEvent): Documentation added.
4056         (serialVersionUID): New member variable.
4057         (DropTargetDragEvent): Throw exceptions, documentation added.
4058         (acceptDrag): Implemented.
4059         (getCurrentDataFlavors): Implemented.3yy
4060         (getCurrentDataFlavorsAsList): Implemented.
4061         (isDataFlavorSupported): Implemented.
4062         (rejectDrag): Implemented.
4063         * java/awt/dnd/DropTargetDropEvent.java
4064         (DropTargetDropEvent): Documentation added.
4065         (serialVersionUID): New member variable.
4066         (actions): Renamed from srcActions for serialization issues.
4067         (isLocalTx): Renamed from isLocalTx for serialization issues.
4068         (DropTargetDropEvent): New implementation, throw exceptions,
4069         documentation added.
4070         (getCurrentDataFlavors): Implemented.
4071         (getCurrentDataFlavorsAsList): Implemented.
4072         (isDataFlavorSupported): Implemented.
4073         (getSourceActions): Implemented.
4074         (getDropAction): Implemented.
4075         (getTransferable): Implemented.
4076         (acceptDrop): Implemented.
4077         (rejectDrop): Implemented.
4078         * java/awt/dnd/DropTargetListener.java
4079         (drop): Fixed documentation.
4080         * java/awt/dnd/MouseDragGestureRecognizer.java
4081         (MouseDragGestureRecognizer): Documentation added.
4082
4083 2003-02-17  Michael Koch  <konqueror@gmx.de>
4084
4085         * java/awt/font/FontRenderContext.java,
4086         java/awt/font/ShapeGraphicAttribute.java,
4087         java/awt/font/MultipleMaster.java,
4088         java/awt/font/TransformAttribute.java,
4089         java/awt/font/GlyphJustificationInfo.java,
4090         java/awt/font/LineBreakMeasurer.java,
4091         java/awt/font/TextMeasurer.java,
4092         java/awt/font/TextLayout.java,
4093         java/awt/font/LineMetrics.java,
4094         java/awt/font/TextAttribute.java,
4095         java/awt/font/GlyphMetrics.java,
4096         java/awt/font/OpenType.java,
4097         java/awt/font/GlyphVector.java,
4098         java/awt/font/GraphicAttribute.java,
4099         java/awt/font/ImageGraphicAttribute.java,
4100         java/awt/font/NumericShaper.java: New files.
4101         * Makefile.am
4102         (awt_java_source_files): Added the following files:
4103         java/awt/font/FontRenderContext.java
4104         java/awt/font/ShapeGraphicAttribute.java
4105         java/awt/font/MultipleMaster.java
4106         java/awt/font/TransformAttribute.java
4107         java/awt/font/GlyphJustificationInfo.java
4108         java/awt/font/LineBreakMeasurer.java
4109         java/awt/font/TextMeasurer.java
4110         java/awt/font/TextLayout.java
4111         java/awt/font/LineMetrics.java
4112         java/awt/font/TextAttribute.java
4113         java/awt/font/GlyphMetrics.java
4114         java/awt/font/OpenType.java
4115         java/awt/font/GlyphVector.java
4116         java/awt/font/GraphicAttribute.java
4117         java/awt/font/ImageGraphicAttribute.java
4118         java/awt/font/NumericShaper.java
4119         * Makefile.in: Regenerated.
4120
4121 2003-02-17  Michael Koch  <konqueror@gmx.de>
4122
4123         * java/awt/print/Paper.java
4124         (Paper): Implements Cloneable.
4125         * java/awt/print/PrinterJob.java
4126         (setJobName): Return value must be void.
4127         (print): Throws PrinterException.
4128         
4129 2003-02-16  Tom Tromey  <tromey@redhat.com>
4130
4131         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4132         variable.
4133
4134 2003-02-15  Michael Koch  <konqueror@gmx.de>
4135
4136         * java/awt/datatransfer/DataFlavor.java
4137         (isRepresentationClassByteBuffer): Removed try-catch block.
4138         (isRepresentationClassCharBuffer): Removed try-catch block.
4139         (isRepresentationClassReader): Removed try-catch block.
4140
4141 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4142
4143         * java/nio/charset/Charset.java
4144         (isRegistered): Fixed method args and implementation.
4145         * java/nio/charset/CharsetEncoder.java
4146         (unmappableCharacterAction): New method.
4147
4148 2003-02-15  Michael Koch  <konqueror@gmx.de>
4149
4150         * java/awt/CheckboxMenuItem.java
4151         (CheckBoxMenuItem): Dont implement Serializable.
4152         (getListeners): New method,
4153         (getItemListeners): New method.
4154         * java/awt/Choice.java
4155         (getListeners): New method,
4156         (getItemListeners): New method.
4157         * java/awt/Container.java
4158         (getListeners): Added exception documentation.
4159         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4160         (getFocusTraversalKeys): Added documentation.
4161         (areFocusTraversalKeysSet): Added documentation.
4162         (applyComponentOrientation): Added documentation.
4163         * java/awt/ContainerOrderFocusTraversalPolicy.java
4164         (implicitDownCycleTraversal): Renamed from downCycle for
4165         serialization.
4166         (ContainerOrderFocusTraversalPolicy): Added documentation.
4167         (accept): Reformated.
4168         * java/awt/Dialog.java
4169         (Dialog): Dont implement Serializable.
4170         (Dialog): Added documentation.
4171         * java/awt/Font.java
4172         (Font): Dont use absolute class name.
4173         * java/awt/Frame.java
4174         (Frame): Font implement Serializable.
4175         * java/awt/List.java
4176         (getListeners): New method,
4177         (getActionListeners): New method.       
4178         (getItemListeners): New method.
4179         * java/awt/Menu.java
4180         (countItems): New deprecated method.
4181         * java/awt/Scrollbar.java
4182         (getListeners): New method,
4183         (getAdjustmentListeners): New method,
4184         * java/awt/TextComponent.java
4185         (getListeners): New method,
4186         (getTextListeners): New method,
4187         * java/awt/TextField.java
4188         (getListeners): New method,
4189         (getActionListeners): New method.       
4190         * java/awt/Window.java
4191         (windowFocusListener): New member variable.
4192         (windowStateListener): New member variable.
4193         (getWindowFocusListeners): New method.
4194         (getWindowStateListeners): New method.
4195         (addWindowFocusListener): New method.
4196         (addWindowStateListener): New method.
4197         (removeWindowFocusListener): New method.
4198         (removeWindowStateListener): New method.
4199         * java/awt/datatransfer/DataFlavor.java
4200         (isRepresentationClassByteBuffer): New method.
4201         (isRepresentationClassCharBuffer): New method.
4202         (isRepresentationClassReader): New method.
4203
4204 2003-02-14  Mark Wielaard  <mark@klomp.org>
4205
4206         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4207         zero when there is an exponent and the significant is zero.
4208         (divide): Always set scale to newScale even in special ZERO case.
4209
4210 2003-02-14  Tom Tromey  <tromey@redhat.com>
4211
4212         * java/lang/System.java (properties): Use Properties.clone.
4213         (setProperties): Likewise.
4214
4215 2003-02-14  Michael Koch  <konqueror@gmx.de>
4216
4217         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4218         * gnu/java/nio/ServerSocketChannelImpl.java
4219         (SocketAccept): Removed.
4220         (accept): Commented out use of SocketAccept.
4221
4222 2003-02-13  Tom Tromey  <tromey@redhat.com>
4223
4224         * verify.cc (state::seen_subrs): New field.
4225         (state::state): Initialize it.
4226         (state::clean_subrs): New method.
4227         (state::~state): Call it.
4228         (state::copy): Copy subroutine list.
4229         (state::add_subr): New method.
4230         (state::merge): Only register a change if the current subroutine
4231         hasn't yet been noted.
4232
4233 2003-02-13  Mark Wielaard  <mark@klomp.org>
4234
4235         * java/io/InputStreamReader.java (getEncoding): Return null when
4236         closed.
4237         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4238
4239 2003-02-13  Mark Wielaard  <mark@klomp.org>
4240  
4241         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4242         is zero.
4243
4244 2003-02-13  Mark Wielaard  <mark@klomp.org>
4245
4246         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4247         next byte cannot be buffered.
4248
4249 2003-02-13  Michael Koch  <konqueror@gmx.de>
4250  
4251         * java/awt/Label.java
4252         (Label): Don't implement Serializable directly.
4253         (addNotify): Fixed typo in documentation.
4254         * java/awt/List.java
4255         (List): Don't implement Serializable directly.
4256         * java/awt/PopupMenu.java
4257         (PopupMenu): Don't implement Serializable directly.
4258         * java/awt/ScrollPane.java
4259         (ScrollPane): Don't implement Serializable directly.
4260         * java/awt/Scrollbar.java
4261         (Scrollbar): Don't implement Serializable directly.
4262         * java/awt/TextArea.java
4263         (preferredSize): Fixed method arguments.
4264         * java/awt/TextField.java
4265         (TextField): Don't implement Serializable directly.
4266         * java/awt/color/ICC_ColorSpace.java
4267         (fromCIOXYZ): Documentation added.
4268         (getMinValue): Documentation added.
4269         (getMaxValue): Documentation added.
4270         * java/awt/datatransfer/DataFlavor.java
4271         (isMimeTypeEqual): May not be final.
4272         (clone): Throws CloneNotSupportedException.
4273         (getReaderForText): Don't throws UnsupportedEncodingException.
4274
4275 2003-02-13  Michael Koch  <konqueror@gmx.de>
4276  
4277         * gnu/java/awt/peer/gtk/GdkGraphics.java
4278         (drawString): New stubbed method.
4279         * java/awt/Graphics.java
4280         (drawString): New method.
4281
4282 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4283
4284         PR libgcj/9271:
4285         * java/security/SecureRandom.java (next): Avoid bias in results.
4286
4287 2003-02-13  Michael  <konqueror@gmx.de>
4288
4289         * gnu/java/nio/FileChannelImpl.java
4290         (lengthInternal): Must be native.
4291         (size): Check if channel is already closed.
4292         (implCloseChannel): Reformated.
4293         (read): w was unused, removed it.
4294         (read): Removed.
4295         (read): New method.
4296         (write): New method.
4297         (map): Check arguments.
4298         (force): Throws IOException, check if channel is closed.
4299         (transferTo): New method.
4300         (transferFrom): New method.
4301         (lock): New method.
4302         (tryLock): New method.
4303         (position): New method.
4304         (truncate): New method.
4305         (nio_mmap_file): Uncommented.
4306         (nio_munmap_file): Uncommented.
4307         (nio_msync): Uncommented.
4308         * gnu/java/nio/natFileChannelImpl.cc: New file.
4309         
4310 2003-02-13  Michael Koch  <konqueror@gmx.de>
4311
4312         * java/nio/ByteBuffer.java
4313         (endian): New member variable.
4314         (get): New methods.
4315         (equals): New method.
4316         (compareTo): New method.
4317         (order): New methods.
4318         (compact): New method.
4319         (isDirect): New method.
4320         (slice): New method.
4321         (duplicate): New method.
4322         (asReadOnlyBuffer): New method.
4323         (asCharBuffer): New method.
4324         (asDoubleBuffer): New method.
4325         (asFloatBuffer): New method.
4326         (asIntBuffer): New method.
4327         (asLongBuffer): New method.
4328         (asShortBuffer): New method.
4329         (get*): New methods.
4330         (put*): New methods.
4331         (toString): New method.
4332         * java/nio/CharBuffer.java
4333         (CharBuffer): Implement Comparable instead of Cloneable.
4334         (get): May not be final.
4335         (put): May not be final.
4336         
4337 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4338
4339         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4340         lastIndexOf( ) instead of indexOf( ) to find the colon before
4341         the line number, because Win32 file names might contain a 
4342         drive letter and a colon at the start of an absolute path.
4343
4344 2003-02-13  Michael Koch  <konqueror@gmx.de>
4345
4346         * gnu/java/nio/natSocketChannelImpl.cc
4347         (SocketConnect): This is not implemented yet.
4348         (SocketBind): This is not implemented yet.
4349
4350 2003-02-13  Michael Koch  <konqueror@gmx.de>
4351
4352         * gnu/java/nio/natByteBufferImpl.cc,
4353         gnu/java/nio/natCharBufferImpl.cc,
4354         gnu/java/nio/natDoubleBufferImpl.cc,
4355         gnu/java/nio/natFloatBufferImpl.cc,
4356         gnu/java/nio/natIntBufferImpl.cc,
4357         gnu/java/nio/natLongBufferImpl.cc,
4358         gnu/java/nio/natShortBufferImpl.cc:
4359         Added copyright and license.
4360         * java/nio/DoubleBuffer.java,
4361         java/nio/FloatBuffer.java,
4362         java/nio/IntBuffer.java,
4363         java/nio/LongBuffer.java,
4364         java/nio/ShortBuffer.java
4365         (array): Throw exceptions.
4366         (arrayOffset): Throw exceptions.
4367
4368 2003-02-13  Michael Koch  <konqueror@gmx.de>
4369  
4370         * gnu/java/util/prefs/FileBasedFactory.java,
4371         gnu/java/util/prefs/MemmoryBasedFactory.java,
4372         gnu/java/util/prefs/MemoryBasedPreferences.java,
4373         gnu/java/util/prefs/NodeReader.java,
4374         gnu/java/util/prefs/NodeWriter.java,
4375         java/util/prefs/AbstractPreferences.java,
4376         java/util/prefs/BackingStoreException.java,
4377         java/util/prefs/InvalidPreferencesFormatException.java,
4378         java/util/prefs/NodeChangeEvent.java,
4379         java/util/prefs/NodeChangeListener.java,
4380         java/util/prefs/PreferenceChangeEvent.java,
4381         java/util/prefs/PreferenceChangeListener.java,
4382         java/util/prefs/Preferences.java,
4383         java/util/prefs/PreferencesFactory.java:
4384         New files, all merged from classpath.
4385         * Makefile.am
4386         (ordinary_java_source_files): Added the following files:
4387         gnu/java/util/prefs/FileBasedFactory.java,
4388         gnu/java/util/prefs/MemmoryBasedFactory.java,
4389         gnu/java/util/prefs/MemoryBasedPreferences.java,
4390         gnu/java/util/prefs/NodeReader.java,
4391         gnu/java/util/prefs/NodeWriter.java,
4392         (core_java_source_files): Added the following files:
4393         java/util/prefs/AbstractPreferences.java,
4394         java/util/prefs/BackingStoreException.java,
4395         java/util/prefs/InvalidPreferencesFormatException.java,
4396         java/util/prefs/NodeChangeEvent.java,
4397         java/util/prefs/NodeChangeListener.java,
4398         java/util/prefs/PreferenceChangeEvent.java,
4399         java/util/prefs/PreferenceChangeListener.java,
4400         java/util/prefs/Preferences.java,
4401         java/util/prefs/PreferencesFactory.java
4402         * Makefile.in: Regenerated.
4403  
4404 2003-02-13  Michael Koch  <konqueror@gmx.de>
4405
4406         * java/net/NetPermission.java
4407         (NetPermission): Make doucmentation match the method declaration.
4408         * java/net/NetworkInterface.java
4409         (equals): Reformated for GNU coding style.
4410         * java/net/ServerSocket.java: Merged with classpath.
4411         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4412         * java/net/SocketImpl.java
4413         (localPort): Merged with classpath (initialize with -1).
4414         * java/net/SocketPermission.java: Merged with classpath (reindented).
4415         * java/net/URLDecoder.java: Merged with classpath (reindented).
4416
4417 2003-02-13  Michael Koch  <konqueror@gmx.de>
4418
4419         * java/awt/GridBagConstraints.java
4420         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4421         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4422         * java/awt/KeyboardFocusManager.java
4423         (setGlobalCurrentFocusCycleRoot): Must be public.
4424         * java/awt/MenuComponent.java
4425         (MenuComponent): Must be public.
4426         * java/awt/Toolkit.java:
4427         Added some empty lines to make documentation more readable.
4428         (getFontPeer): Added @deprecated.
4429         (getColorModel): Added exception documentation.
4430         (getProperty): Fixed documentation.
4431  
4432 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4433
4434         * configure.host (alpha*-*): Default to -mieee.
4435         * configure.in (IEEESPEC): New.
4436         * libgcj.spec.in (jc1): Add IEEESPEC.
4437         * configure: Rebuild.
4438
4439 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4440
4441         * include/win32.h: Include ws2tcpip.h instead of
4442         winsock.h to obtain definition of the socklen_t type.
4443         Remove IP_TOS definition - not needed with ws2tcpip.h
4444         (_Jv_connect): Correct slight formatting error.
4445
4446 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4447
4448         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4449         size of the arguments for a JNI function. For Win32,
4450         modify to search for all forms of possible exported
4451         names of an stdcall JNI function.
4452         (_Jv_JNIMethod::call): Modify to calculate the size
4453         of the arguments passed to a JNI function and pass
4454         it to _Jv_LookupJNIMethod.
4455
4456 2003-02-12  Michael Koch  <konqueror@gmx.de>
4457
4458         * java/nio/channels/Channels.java: New file.
4459         * Makefile.am
4460         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4461         * Makefile.in: Regenerated.
4462
4463 2003-02-12  Michael Koch  <konqueror@gmx.de>
4464
4465         * java/nio/ByteBuffer.java
4466         (allocate): Implemented.
4467         (wrap): Implemented.
4468         * java/nio/CharBuffer.java:
4469         Some documentation added and reworked.
4470         (endian): Removed.
4471         (allocate): Implemented.
4472         (wrap): Implemented.
4473         (array): Throw exceptions.
4474         (arrayOffset): Throw exceptions.
4475         (toString): Implemented.
4476         (length): Implemented.
4477         (put): Implemented.
4478         (charAt): Implemented.
4479
4480 2003-02-11  John Leuner  <jewel@debian.org>
4481
4482         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4483         reads from end of file.
4484
4485 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4486
4487         * java/io/natFileDescriptorWin32.cc 
4488         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4489         returns with Win32 error code ERROR_BROKEN_PIPE.
4490
4491 2003-02-11  Michael Koch  <konqueror@gmx.de>
4492
4493         * Makefile.in
4494         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4495
4496 2003-02-11  Michael Koch  <konqueror@gmx.de>
4497
4498         * gnu/java/nio/ByteBufferImpl.java:
4499         Reformated and removed some code.
4500         (backing_buffer): Removed.      
4501         (array_offset): Removed.
4502         (ro): Renamed to readOnly.
4503         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4504         * gnu/java/nio/CharBufferImpl.java:
4505         Reformated and removed some code.
4506         (array_offset): Removed.
4507         (ro): Renamed to readOnly.
4508         (CharBufferImpl): Use parent constructor, initialize readOnly.
4509         (inc_pos): Removed.
4510         (order): New method.
4511         * gnu/java/nio/DoubleBufferImpl.java:
4512         Reformated and removed some code.
4513         (array_offset): Removed.
4514         (ro): Renamed to readOnly.
4515         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4516         (inc_pos): Removed.
4517         (order): New method.
4518         * gnu/java/nio/FloatBufferImpl.java:
4519         Reformated and removed some code.
4520         (array_offset): Removed.
4521         (ro): Renamed to readOnly.
4522         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4523         (inc_pos): Removed.
4524         (order): New method.
4525         * gnu/java/nio/IntBufferImpl.java:
4526         Reformated and removed some code.
4527         (array_offset): Removed.
4528         (ro): Renamed to readOnly.
4529         (IntBufferImpl): Use parent constructor, initialize readOnly.
4530         (inc_pos): Removed.
4531         (order): New method.
4532         * gnu/java/nio/LongBufferImpl.java:
4533         Reformated and removed some code.
4534         (array_offset): Removed.
4535         (ro): Renamed to readOnly.
4536         (LongBufferImpl): Use parent constructor, initialize readOnly.
4537         (inc_pos): Removed.
4538         (order): New method.
4539         * gnu/java/nio/ShortBufferImpl.java:
4540         Reformated and removed some code.
4541         (array_offset): Removed.
4542         (ro): Renamed to readOnly.
4543         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4544         (inc_pos): Removed.
4545         (order): New method.
4546         * Makefile.am
4547         (ordinary_java_source_files): Added the following files:
4548         gnu/java/nio/ByteBufferImpl.java
4549         gnu/java/nio/CharBufferImpl.java
4550         gnu/java/nio/DoubleBufferImpl.java
4551         gnu/java/nio/FloatBufferImpl.java
4552         gnu/java/nio/IntBufferImpl.java
4553         gnu/java/nio/LongBufferImpl.java
4554         gnu/java/nio/ShortBufferImpl.java
4555         java/nio/DoubleBuffer.java
4556         java/nio/FloatBuffer.java
4557         java/nio/IntBuffer.java
4558         java/nio/LongBuffer.java
4559         java/nio/ShortBuffer.java
4560         (nat_source_files): Added the following files:
4561         gnu/java/nio/natByteBufferImpl.cc
4562         gnu/java/nio/natCharBufferImpl.cc
4563         gnu/java/nio/natDoubleBufferImpl.cc
4564         gnu/java/nio/natFloatBufferImpl.cc
4565         gnu/java/nio/natIntBufferImpl.cc
4566         gnu/java/nio/natLongBufferImpl.cc
4567         gnu/java/nio/natShortBufferImpl.cc
4568         * Makefile.in: Regenerated.
4569
4570 2003-02-11  Michael Koch  <konqueror@gmx.de>
4571
4572         * gnu/java/nio/natCharBufferImpl.cc
4573         (nio_cast): Removed.
4574         (nio_put_*): Removed.
4575         (nio_get_*): Removed.
4576         * gnu/java/nio/natDoubleBufferImpl.cc
4577         (nio_cast): Removed.
4578         (nio_put_*): Removed.
4579         (nio_get_*): Removed.
4580         * gnu/java/nio/natFloatBufferImpl.cc
4581         (nio_cast): Removed.
4582         (nio_put_*): Removed.
4583         (nio_get_*): Removed.
4584         * gnu/java/nio/natIntBufferImpl.cc
4585         (nio_cast): Removed.
4586         (nio_put_*): Removed.
4587         (nio_get_*): Removed.
4588         * gnu/java/nio/natLongBufferImpl.cc
4589         (nio_cast): Removed.
4590         (nio_put_*): Removed.
4591         (nio_get_*): Removed.
4592         * gnu/java/nio/natShortBufferImpl.cc
4593         (nio_cast): Removed.
4594         (nio_put_*): Removed.
4595         (nio_get_*): Removed.
4596         * gnu/java/nio/SelectorProviderImpl.java
4597         (openDatagramChannel): Throws IOException.
4598         (openPipe): Throws IOException.
4599         (openSelector): Throws IOException.
4600         (openServerSocketChannel): Throws IOException.
4601         (openSocketChannel): Throws IOException.
4602         * gnu/java/nio/ServerSocketChannelImpl.java
4603         (ServerSocketChannelImpl): Throws IOException.
4604         (implCloseSelectableChannel): Throws IOException.
4605         (implConfigureBlocking): Throws IOException.
4606         * java/nio/ByteBuffer.java
4607         (readOnly): Removed.
4608         (hasArray): Use isReadOnly() instead of readOnly.
4609         (array): Use isReadOnly() instead of readOnly.
4610         (arrayOffset): Use isReadOnly() instead of readOnly.
4611         * java/nio/CharBuffer.java
4612         (CharBuffer): Implements Cloneable and CharSequence.
4613
4614 2003-02-11  Michael Koch  <konqueror@gmx.de>
4615
4616         * java/nio/DoubleBuffer.java
4617         (DoubleBuffer): Implements Comparable.
4618         (endian): Removed.
4619         (array_offset): New member variable.
4620         (DoubleBuffer): New constuctor.
4621         (get): May not be final.
4622         (put): May not be final.
4623         (arrayOffset): Implemented.
4624         (order): Made abstract.
4625         (order): Removed.
4626         (as*Buffer): Removed.
4627         (get*): Removed.
4628         (put*): Removed.
4629         * java/nio/FloatBuffer.java
4630         (FloatBuffer): Implements Comparable.
4631         (endian): Removed.
4632         (array_offset): New member variable.
4633         (FloatBuffer): New constuctor.
4634         (get): May not be final.
4635         (put): May not be final.
4636         (arrayOffset): Implemented.
4637         (order): Made abstract.
4638         (order): Removed.
4639         (as*Buffer): Removed.
4640         (get*): Removed.
4641         (put*): Removed.
4642         * java/nio/IntBuffer.java
4643         (IntBuffer): Implements Comparable.
4644         (endian): Removed.
4645         (array_offset): New member variable.
4646         (IntBuffer): New constuctor.
4647         (get): May not be final.
4648         (put): May not be final.
4649         (arrayOffset): Implemented.
4650         (order): Made abstract.
4651         (order): Removed.
4652         (as*Buffer): Removed.
4653         (get*): Removed.
4654         (put*): Removed.
4655         * java/nio/LongBuffer.java
4656         (LongBuffer): Implements Comparable.
4657         (endian): Removed.
4658         (array_offset): New member variable.
4659         (LongBuffer): New constuctor.
4660         (get): May not be final.
4661         (put): May not be final.
4662         (arrayOffset): Implemented.
4663         (order): Made abstract.
4664         (order): Removed.
4665         (as*Buffer): Removed.
4666         (get*): Removed.
4667         (put*): Removed.
4668         * java/nio/ShortBuffer.java
4669         (ShortBuffer): Implements Comparable.
4670         (endian): Removed.
4671         (array_offset): New member variable.
4672         (ShortBuffer): New constuctor.
4673         (get): May not be final.
4674         (put): May not be final.
4675         (arrayOffset): Implemented.
4676         (order): Made abstract.
4677         (order): Removed.
4678         (as*Buffer): Removed.
4679         (get*): Removed.
4680         (put*): Removed.
4681
4682 2003-02-11   Michael Koch  <konqueror@gmx.de>
4683
4684         * java/nio/channels/SelectionKey.java
4685         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4686         values.
4687
4688 2003-02-11  Michael Koch  <konqueror@gmx.de>
4689
4690         * java/nio/channels/DatagramChannel.java
4691         (write): Throws IOException.
4692         (connect): Throws IOException.
4693         (disconnect): Throws IOException.
4694         (read): Throws IOException.
4695         (receive): Throws IOException.
4696         (send): Throws IOException.
4697         * java/nio/channels/Pipe.java
4698         (open): Throws IOException.
4699         * java/nio/channels/SelectableChannel.java
4700         (configureBlocking): Throws IOException.
4701         * java/nio/channels/ServerSocketChannel.java
4702         (accept): Throws IOException.
4703         * java/nio/channels/SocketChannel.java
4704         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4705         GatheringByteChannel.
4706         (read): Throws IOException.
4707         (write): Throws IOException.
4708         (finishConnect): Throws IOException.
4709         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4710         (end): Throws AsynchronousCloseException.
4711         * java/nio/channels/spi/AbstractSelectableChannel.java
4712         (configureBlocking): Throws IOException.
4713         (implCloseChannel): Throws IOException.
4714         (implCloseSelectableChannel): Throws IOException.
4715         (implConfigureBlocking): Throws IOException.
4716         * java/nio/channels/spi/SelectorProvider.java
4717         (openDatagramChannel): Throws IOException.
4718         (openPipe): Throws IOException.
4719         (openSelector): Throws IOException.
4720         (openServerSocketChannel): Throws IOException.
4721         (openSocketChannel): Throws IOException.
4722
4723 2003-02-11  Michael Koch  <konqueror@gmx.de>
4724
4725         * gnu/java/nio/FileLockImpl.java,
4726         java/nio/channels/FileLock.java: New files.
4727
4728 2003-02-11  Michael Koch  <konqueror@gmx.de>
4729
4730         * java/nio/charset/IllegalCharsetNameException.java
4731         (serialVersionUID): New member variable.
4732         (charsetName): New member variable.
4733         (IllegalCharsetException): New implementation.
4734         (getCharsetName): New implementation.
4735         * java/nio/charset/UnsupportedCharsetException.java
4736         (serialVersionUID): New member variable.
4737         (charsetName): New member variable.
4738         (UnsupportedCharsetException): New implementation.
4739         (getCharsetName): New implementation.
4740
4741 2003-02-10  Tom Tromey  <tromey@redhat.com>
4742
4743         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4744         (ex): Renamed from sqlException.
4745
4746 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4747
4748         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4749         method used to ensure seeding has occurred and that a specific 
4750         seed can be set and used.
4751
4752 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4753
4754         * java/lang/Win32Process.java (destroy): Declare as native.
4755         (hasExited): New native method.
4756         (exitValue): Define.
4757         (getErrorStream): Likewise.
4758         (getInputStream): Likewise.
4759         (getOutputStream): Likewise.
4760         (waitFor): Declare as native.
4761         (startProcess): New native method.
4762         (cleanup): Likewise.
4763         (ConcreteProcess): Define.
4764         (outputStream, inputStream, errorStream): New members.
4765         (procHandle, exitCode): Likewise.
4766
4767         * java/lang/natWin32Process.cc
4768         (java::lang::ConcreteProcess::cleanup): Define.
4769         (java::lang::ConcreteProcess::destroy): Likewise.
4770         (java::lang::ConcreteProcess::hasExited): Likewise.
4771         (java::lang::ConcreteProcess::waitFor): Likewise.
4772         (new_string): Likewise.
4773         (java::lang::ConcreteProcess::startProcess): Likewise.
4774
4775 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4776
4777         * java/math/BigInteger.java:
4778         Updated notice to include years 2002 and 3.
4779         Added 2 private (int) arrays with values from the HAC (Handbook of
4780         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4781         and t[] that contains nbr. of tests --used in isProbablePrime().
4782
4783         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4784
4785         * java/math/BigInteger.java (make(int[],int), add(int,int),
4786         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4787         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4788         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4789         make(long).
4790
4791         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4792         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4793         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4794         BIs and returns void.
4795         (modInverse(BI)): Use new signatures of euclidInv().
4796
4797         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4798         static small primes instead of remainder().
4799         Use pre-computed max nbr of trials based on bitlength of BI to test.
4800         Use pre-computed small primes for the trial tests instead of random
4801         numbers.
4802
4803         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4804         not used.
4805
4806         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4807         invoacation of MPN.chars_per_word().  not used.
4808
4809         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4810         local var and used where needed.
4811
4812         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4813         Combined declaration with initialisation of locals.
4814         Removed unused var.
4815
4816         * java/math/BigInteger.java: Style changes
4817         (pow(int)): Removed 'else' keyword.
4818         (toString(int)): idem.
4819         (doubleValue()): idem.
4820         (bitLength()): idem.
4821         (equals(Object)): Use static methods name in same class w/o prepending
4822         class name.
4823         (doubleValue()): idem.
4824         (setNegative(BI)): idem.
4825         (negate()): idem.
4826         (and(BI,int)): idem.
4827         (and(BI)): idem.
4828         (gcd(BI)): idem.
4829         (byteArrayToIntArray()): Removed casting to (int). this is
4830         std. behaviour.
4831         (canonicalize()): idem.
4832         (alloc(int)): Always instantiate a new BI.
4833
4834 2003-02-10  Tom Tromey  <tromey@redhat.com>
4835
4836         * java/sql/Timestamp.java (compareTo(Object)): New method.
4837         (compareTo(Timestamp)): Likewise.
4838         (serialVersionUID): Updated.
4839
4840 2003-02-07  Mark Wielaard  <mark@klomp.org>
4841
4842         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4843         when verify is true.
4844         (JarFile(File, boolean)): Likewise.
4845         (manifestRead): Set manifestRead field correctly.
4846
4847 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4848
4849         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4850         tests; see patch #1016 on Savannah.
4851
4852 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4853
4854         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4855         (toString): do not return Strings starting with . and - erroneously.
4856         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4857         DiagBigDecimal.
4858
4859 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4860
4861         * java/beans/PropertyDescriptor.java
4862         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4863         methods.
4864         (PropertyDescriptor(String, Class, String, String)): Likewise.
4865         (PropertyDescriptor(String, Method, Method): Factor out getter and
4866         setter method sanity checks into new method.
4867         (findMethods): Don't do parameter sanity checking of get method here.
4868         (checkMethods): New method.
4869
4870 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4871
4872         * java/beans/PropertyDescriptor.java: Reformat.
4873
4874 2003-02-04  Tom Tromey  <tromey@redhat.com>
4875
4876         * java/io/PipedOutputStream.java (flush): Declare as throwing
4877         IOException.
4878         (close): Likewise.
4879         * java/io/PipedWriter.java (close): Declare as throwing
4880         IOException.
4881         * java/io/StringWriter.java (close): Declare as throwing
4882         IOException.
4883
4884 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4885
4886         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4887         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4888         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4889         "_JNI_OnLoad@8" (MSVC).
4890
4891 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4892
4893         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4894         convention on Win32 to invoke native JNI methods.
4895
4896 2003-02-03  Andrew Haley  <aph@redhat.com>
4897
4898         * configure.host (x86_64): Enable interpreter.
4899
4900 2003-02-03  Andrew Haley  <aph@redhat.com>
4901
4902         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4903         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4904         * configure.in (BACKTRACESPEC): New.
4905         * configure: Regenerate.
4906
4907 2003-02-02  Tom Tromey  <tromey@redhat.com>
4908
4909         * configure: Rebuilt.
4910         * configure.in (TOOLKIT) [xlib]: Set correctly.
4911
4912         * Makefile.in: Rebuilt.
4913         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4914         libstdc++.
4915
4916 2003-01-31  Mark WIelaard  <mark@klomp.org>
4917
4918         * Makefile.in: Rebuilt.
4919         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4920
4921 2003-01-31  Tom Tromey  <tromey@redhat.com>
4922
4923         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4924         cast to element type.
4925         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4926         (_Jv_JNI_GetObjectArrayElement): Likewise.
4927
4928         * Makefile.in: Rebuilt.
4929         * Makefile.am (cond_x_ltlibrary): Renamed library to
4930         lib-gnu-awt-xlib.la.
4931         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4932         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4933         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4934         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4935         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4936         (lib_gnu_awt_xlib_la_LINK): Likewise.
4937         (install-exec-hook): Removed.
4938         (lib-gnu-awt-xlib.la): Renamed.
4939
4940 2003-01-31  Tom Tromey  <tromey@redhat.com>
4941
4942         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4943         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4944         aclocal.m4 and lost in some merge.
4945
4946         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4947         Don't try to find graphics configuration.
4948         * java/awt/Toolkit.java (default_toolkit_name): Use new
4949         Configuration entry.
4950         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4951         New global.
4952         * configure: Rebuilt.
4953         * configure.in (TOOLKIT): New subst.
4954         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4955         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4956         directory.  Make output directories for .c files.
4957         * Makefile.in: Rebuilt.
4958         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4959         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4960         (all_java_source_files): Added new sources.
4961         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4962         (gtk_c_files): New macro.
4963         (gtk_c_source_files): New macro.
4964         (cond_gtk_ltlibrary): New macro.
4965         ($(gtk_c_files)): New target.
4966         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4967         (gtk_awt_peer_sources): New macro.
4968         (gtk_c_headers): New macro.
4969         ($(gtk_c_headers)): New target.
4970         (ACLOCAL_AMFLAGS): New macro.
4971         * gtk.m4, glib.m4, libart.m4: New files.
4972         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4973         gnu/java/awt/peer/gtk/GdkGraphics.java,
4974         gnu/java/awt/peer/gtk/GtkArg.java,
4975         gnu/java/awt/peer/gtk/GtkArgList.java,
4976         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4977         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4978         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4979         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4980         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4981         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4982         gnu/java/awt/peer/gtk/GtkClipboard.java,
4983         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4984         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4985         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4986         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4987         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4988         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4989         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4990         gnu/java/awt/peer/gtk/GtkImage.java,
4991         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4992         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4993         gnu/java/awt/peer/gtk/GtkListPeer.java,
4994         gnu/java/awt/peer/gtk/GtkMainThread.java,
4995         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4996         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4997         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4998         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4999         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5000         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5001         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5002         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5003         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5004         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5005         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5006         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5007         gnu/java/awt/peer/gtk/GtkToolkit.java,
5008         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5009         gnu/java/awt/peer/gtk/TestAWT.java,
5010         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5012         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5014         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5015         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5016         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5018         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5019         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5020         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5021         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5022         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5023         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5024         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5025         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5026         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5027         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5028         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5029         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5030         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5031         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5032         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5033         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5034         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5035         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5036         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5037         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5038         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5039         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5040         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5041         jni/classpath/native_state.c, jni/classpath/native_state.h,
5042         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5043
5044 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5045
5046         * java/util/Properties.java (load): Ignore backslash before EOF.
5047
5048 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5049
5050         * java/lang/natClass.cc (initializeClass): Check tables when
5051         (state == JV_STATE_IN_PROGRESS).
5052         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5053         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5054         interpreted classes.
5055         (linkClass0): Use _Jv_WaitForState.
5056
5057 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5058
5059         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5060         object when finished.
5061
5062 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5063
5064         * libjava/configure.host: Disable can_unwind_signal on darwin.
5065
5066 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5067
5068         Fixes PR java/9254:
5069         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5070         additionally containing id of the owner thread as well as
5071         the number of nested times the thread has acquired the mutex.
5072         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5073         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5074         (_Jv_MutexUnlock): Check if really the owner thread, reset
5075         owner thread id to 0 before leaving, if leaving for the last
5076         time.
5077         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5078         refcount.
5079         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5080         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5081         the passed mutex.
5082         Pass handle of the broadcast event, instead of a pointer to it
5083         in Win32 ResetEvent( ) call.
5084         Remove incorrect return values.
5085         (_Jv_CondDestroy): Close both event handles and delete
5086         critical section.
5087         (_Jv_CondNotify): Check if really the owner thread.
5088         (_Jv_CondNotifyAll): Check if really the owner thread.
5089         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5090         (really_start): Use SetEvent( ) to signal daemon_cond.
5091         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5092         WaitForSingleObject( ) instead to wait for daemon_cond to be
5093         signalled.
5094
5095 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5096
5097         * configure.in: Specifically define HAVE_BACKTRACE if building
5098         for MinGW.
5099         * include/win32.h: Remove HAVE_BACKTRACE definition.
5100         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5101         * configure: Rebuilt.
5102
5103 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5104
5105         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5106         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5107         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5108         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5109         * Makefile.in, configure: Rebuilt.
5110
5111 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5112
5113         Fixes PR java/9253:
5114         * java/io/natFileWin32.cc (performList): Append only "*.*"
5115         if the canonical file path already has a "\" at the end.
5116
5117 2003-01-24  Tom Tromey  <tromey@redhat.com>
5118
5119         * defineclass.cc (handleMethodsEnd): Precompute code for static
5120         method.
5121         (handleCodeAttribute): Likewise.
5122         * resolve.cc (ncode): Use run_class for unsynchronized static
5123         methods.
5124         * include/java-interp.h (class _Jv_InterpMethod): Declare
5125         run_class.
5126         * interpret.cc (run_synch_class): Initialize class.
5127         (run) [insn_invokestatic]: Don't initialize class.
5128         [insn_anewarray]: Likewise.
5129         [insn_multianewarray]: Likewise.
5130         (run_class): New function.
5131
5132 2003-01-24  Tom Tromey  <tromey@redhat.com>
5133
5134         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5135         comment.
5136
5137 2003-01-22  Andrew Haley  <aph@redhat.com>
5138
5139         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5140         * configure.host (CHECKREFSPEC): Define for x86_64.
5141
5142 2003-01-21  Tom Tromey  <tromey@redhat.com>
5143
5144         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5145         search at 2, not 3.
5146
5147 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5148
5149         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5150         looking at any characters.
5151         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5152         be used.
5153         (isAbsolute): Check path's length as well.
5154
5155 2003-01-17  Mark Wielaard  <mark@klomp.org>
5156
5157         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5158         (nat_source_files): Add natVMObjectStreamClass.cc.
5159         * Makefile.in: Regenerated.
5160         * gcj/javaprims.h (namespace java): Regenerated.
5161         * java/io/ObjectStreamClass.java (getClassUID): Call
5162         VMObjectStreamClass.hasClassInitializer().
5163         (hasClassInitializer): Removed.
5164         * java/io/VMObjectStreamClass.java: New class.
5165         * java/io/natVMObjectStreamClass.cc: New file.
5166         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5167
5168 2003-01-16  Mark Wielaard  <mark@klomp.org>
5169
5170         * java/net/SocketImpl.java (toString): Don't explicitly call
5171         toString() on possible null address.
5172
5173 2003-01-16  Michael Koch  <konqueror@gmx.de>
5174
5175         * java/net/MulticastSocket.java
5176         (setInterface): Reindented.
5177
5178 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5179
5180         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5181         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5182         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5183         translateY arguments.  Implement.
5184         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5185         down translation arguments.
5186         (drawPolyline, drawPolygon): Fix incorrect tests.
5187         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5188         translateX and translateY arguments.
5189
5190 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5191
5192         * Makefile.in: Rebuilt.
5193         * Makefile.am (xlib_includes): New macro.
5194         (INCLUDES): Use it.
5195
5196 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5197
5198         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5199         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5200         16-bit display mode.
5201
5202 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5203
5204         * java/awt/CardLayout.java (show): Rewrote.
5205         (gotoComponent): Removed `target' argument.  Simplified code.
5206         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5207         Changed all callers.
5208         (NONE): Removed.
5209         
5210 2003-01-14  Michael Koch  <konqueror@gmx.de>
5211
5212         * java/net/InetSocketAddress.java
5213         (serialVersionUID): New member variable.
5214         * java/net/NetPermission.java
5215         (NetPermission): Dont implement java.io.Serialization directly.
5216         * java/net/SocketAddress.java:
5217         (serialVersionUID): Documentation added.
5218         
5219 2003-01-14  Michael Koch  <konqueror@gmx.de>
5220
5221         * java/awt/Label.java
5222         (Label): Implements javax.accessibility.Accessible;
5223         * java/awt/List.java
5224         (List): Implements javax.accessibility.Accessible;
5225         * java/awt/ScrollPane.java
5226         (ScrollPane): Implements javax.accessibility.Accessible;
5227         * java/awt/Scrollbar.java
5228         (Scrollbar): Implements javax.accessibility.Accessible;
5229         * java/awt/TextComponent.java
5230         (setCaretPosition): Throw exception, documentation added.
5231         * java/awt/Toolkit.java:
5232         Added some newlines in method documentations.
5233         (createButton): Exception documentation added.
5234         (createTextField): Exception documentation added.
5235         (createLabel): Exception documentation added.
5236         (createList): Exception documentation added.
5237         (createCheckbox): Exception documentation added.
5238         (createScrollbar): Exception documentation added.
5239         (createScrollPane): Exception documentation added.
5240         (createTextArea): Exception documentation added.
5241         (createChoice): Exception documentation added.
5242         (createFrame): Exception documentation added.
5243         (createWindow): Exception documentation added.
5244         (createDialog): Exception documentation added.
5245         (createMenuBar): Exception documentation added.
5246         (createMenu): Exception documentation added.
5247         (createMenuItem): Exception documentation added.
5248         (createFileDialog): Exception documentation added.
5249         (createCheckboxMenuItem): Exception documentation added.
5250         (loadSystemColors): Exception documentation added.
5251         (setDynamicLayout): Exception documentation added.
5252         (isDynamicLayoutSet): Exception documentation added.
5253         (isDynamicLayoutActive): Exception documentation added.
5254         (getScreenSize): Exception documentation added.
5255         (getScreenResolution): Exception documentation added.
5256         (getScreenInsets): Exception documentation added.
5257         (getColorModel): Exception documentation added.
5258         (getSystemClipboard): Exception documentation added.
5259         (getSystemSelection): Exception documentation added.
5260         (getMenuShortcutKeyMask): Exception documentation added.
5261         (getSystemEventQueue): Exception documentation added.
5262         * java/awt/Window.java:
5263         Reindented some code.
5264         (Window): Centralized implementation, documentation added.
5265         (finalize): Documentation added.
5266         (hide): Fixed typo in comment.
5267         (getWindowListeners): Documentation added.
5268         * java/awt/color/ColorSpace.java
5269         (toRGB): Documentation added.
5270         * java/awt/color/ICC_ColorSpace.java
5271         (ICC_ColorSpace): Documentation added.
5272         (toRGB): Throw exception, documentation added.
5273         (fromRGB): Throw exception, documentation added.
5274         (toCIEXYZ): Documentation added.
5275         (fromCIEXYZ): Documentation added.
5276         (getMinValue): Documentation added.
5277         (getMaxValue): Documentation added.
5278         * java/awt/geom/Dimension2D.java
5279         (clone): Documentation added.
5280         * java/awt/geom/GeneralPath.java
5281         (clone): Documentation added.
5282         * java/awt/geom/Line2D.java
5283         (clone): Documentation added.
5284         * java/awt/geom/QuadCurve2D.java
5285         (clone): Documentation added.
5286         * java/awt/image/ColorModel.java
5287         (ColorModel): Throw exception, documentation added.
5288         * java/awt/image/ImageFilter.java
5289         (clone): Doesnt throw CloneNotSupportedException.
5290
5291 2003-01-14  Andrew Haley  <aph@redhat.com>
5292
5293         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5294         in a try block.
5295
5296 2003-01-10  Andrew Haley  <aph@redhat.com>
5297
5298         * include/dwarf2-signal.h: Remove x86_64.
5299         * configure.host (x86_64 DIVIDESPEC): Remove.
5300         * include/x86_64-signal.h: New file.
5301         * configure.in: Regenerate.
5302
5303 2003-01-10  Michael Koch  <konqueror@gmx.de>
5304
5305         * java/net/DatagramSocket.java
5306         (ch): Description added.
5307         (remotePort): Initialize with -1.
5308         (connect): Doesnt throws SocketException.
5309         * java/net/MulticastSocket.java
5310         (setInterface): Merge with Classpath.
5311         * java/net/ServerSocket.java
5312         (closed): New member variable.
5313         (bind): Check if socket is closed.
5314         (close): Close an associated channel too, set new value to closed.
5315         (isBound): Reindented.
5316         (isClosed): Implemented.
5317         * java/net/Socket.java
5318         (closed): New member variable.
5319         (bind): Check if socket is closed.
5320         (connect): Check if socket is closed.
5321         (close): Close an associated channel too, set new value to closed.
5322         (isClosed): Implemented.
5323
5324 2003-01-10  Michael Koch  <konqueror@gmx.de>
5325
5326         * java/awt/DisplayMode.java
5327         (equals): Fixed argument type and implementation.
5328
5329 2003-01-07  Tom Tromey  <tromey@redhat.com>
5330
5331         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5332         JV_HASH_SYNCHRONIZATION.
5333         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5334         JV_HASH_SYNCHRONIZATION.
5335
5336 2003-01-07  Michael Koch  <konqueror@gmx.de>
5337  
5338         * java/net/DatagramSocket.java:
5339         Added classpath license info.
5340         (DatagramSocket): Merged description with classpath.
5341         (close): Merged description with classpath.
5342         (getChannel): Merged description with classpath.
5343         (getInetAddress): Merged description with classpath.
5344         (getPort): Merged description with classpath.
5345         (getLocalAddress): Merged description with classpath.
5346         (getLocalPort): Merged description with classpath.
5347         (getSoTimeout): Merged description with classpath.
5348         (setSoTimeout): Merged description with classpath.
5349         (getSendBufferSize): Merged description with classpath.
5350         (setSendBufferSize): Merged description with classpath.
5351         (getReceiveBufferSize): Merged description with classpath.
5352         (setReceiveBufferSize): Merged description with classpath.
5353         
5354 2003-01-04  Tom Tromey  <tromey@redhat.com>
5355
5356         * java/awt/List.java: Merged with Classpath.
5357
5358 2003-01-03  Mark Wielaard  <mark@klomp.org>
5359
5360         * java/io/FileDescriptor.java (position): New private field.
5361         * java/io/natFileDescriptorPosix.cc (write): Up position.
5362         (setLength): Use and set position.
5363         (seek): Set position.
5364         (getFilePointer): Return position.
5365         (read): Up position.
5366
5367 2003-01-03  Mark Wielaard  <mark@klomp.org>
5368
5369         Merge with Classpath:
5370         * java/io/ObjectStreamClass.java (lookup): Split method and call
5371         lookupForClassObject().
5372         (lookupForClassObject): New method.
5373         (isProxyClass): New field.
5374         (setClass): Set isProxyClass, add object to classLookupTable, set
5375         superClass and calculateOffsets.
5376         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5377         and not a proxy class.
5378         (setFields): Set accessible true for serialPersistentFields.
5379         (getClassUID): Same for suid. And check if suid is of type long.
5380         (hasClassInitializer): Don't throw NoSuchMethodError.
5381
5382 2003-01-03  Mark Wielaard  <mark@klomp.org>
5383
5384         * java/io/FileInputStream.java (finalize): Don't explicitly
5385         finalize FileDescriptor.
5386
5387 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5388
5389         * configure.host (sparc*-*): Enable bytecode interpreter.
5390
5391 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5392
5393         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5394         Don't throw RemoteException.
5395         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5396         throw RemoteException.
5397
5398 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5399
5400         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5401         proxyHost): New static fields.
5402         (<clinit>): Initialize new fields.
5403         (connect): Use proxy if necessary.
5404         (usingProxy): Implement.
5405
5406 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5407
5408         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5409         (TreeIterator.remove): Prefer IllegalStateException over
5410         ConcurrentModificationException, to match Sun.
5411
5412 2002-12-22  Anthony Green  <green@redhat.com>
5413
5414         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5415
5416 2003-01-02  Mark Wielaard  <mark@klomp.org>
5417
5418         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5419         public.
5420         (HTTP_USE_PROXY): Add field.
5421         (getResponseVals): Only set responseCode when not yet explicitly
5422         set by subclass.
5423
5424 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5425             Mark Wielaard  <mark@klomp.org>
5426
5427         * java/util/zip/ZipFile.java (entries): Now HashMap.
5428         (readLeShort(DataInput, byte[])): Read from given byte array.
5429         (readLeInt(DataInput, byte[]): Likewise.
5430         (readLeShort(byte[] b, int off)): New method.
5431         (readLeInt(byte[] b, int off)): Likewise.
5432         (readEntries): Use byte arrays to read info in bigger chunks.
5433         (getEntries): Return HashMap.
5434         (getEntry): Use HashMap.
5435         (locBuf): New private field.
5436         (checkLocalHeader): Use locBuf to read info in one chunk.
5437         (getInputStream): Use entries HashMap, wrap PartialInputStream
5438         in BufferedInputStream.
5439         (ZipEntryEnumeration): Use HashMap and Interator.
5440
5441 2003-01-02  Mark Wielaard  <mark@klomp.org>
5442             Jeroen Frijters  <jeroen@sumatra.nl>
5443
5444         * java/net/URLClassLoader.java (Resource.getCodeSource):
5445         Fix check certs == null.
5446         (getCanonicalFileURL): Removed method.
5447         (JarURLLoader): Don't call removed method.
5448         (FileURLLoader): Likewise.
5449         (FileURLLoader.getResource): Don't canonicalize file name.
5450
5451 2003-01-01  Tom Tromey  <tromey@redhat.com>
5452
5453         * Makefile.in: Rebuilt.
5454         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5455         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5456         java/awt/BufferCapabilities.java, java/awt/Button.java,
5457         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5458         java/awt/Container.java, java/awt/Cursor.java,
5459         java/awt/EventQueue.java, java/awt/FileDialog.java,
5460         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5461         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5462         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5463         java/awt/Scrollbar.java, java/awt/TextArea.java,
5464         java/awt/TextField.java, java/awt/color/CMMException.java,
5465         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5466         java/awt/color/ProfileDataException.java,
5467         java/awt/datatransfer/Clipboard.java,
5468         java/awt/datatransfer/DataFlavor.java,
5469         java/awt/datatransfer/FlavorMap.java,
5470         java/awt/datatransfer/SystemFlavorMap.java,
5471         java/awt/dnd/DragGestureEvent.java,
5472         java/awt/dnd/DragGestureRecognizer.java,
5473         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5474         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5475         java/awt/im/InputMethodHighlight.java,
5476         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5477         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5478
5479         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5480         `op' to BufferedImageOp.
5481
5482 2002-12-31  Tom Tromey  <tromey@redhat.com>
5483
5484         Fix for PR libgcj/7416:
5485         * javax/naming/InitialContext.java (init): Use
5486         gnu.classpath.home.url.
5487         * java/security/Security.java: Use new properties.
5488         (loadProviders): Accept base url; use it.
5489         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5490         gnu.classpath.home.url.
5491         (gnu.classpath.home.url): Define.
5492         (gnu.classpath.vm.shortname): Likewise.
5493
5494 2002-12-31  Tom Tromey  <tromey@redhat.com>
5495             Ranjit Mathew  <rmathew@hotmail.com>
5496
5497         Fix for PR libgcj/8997:
5498         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5499         Include platform.h.
5500         * include/posix.h (_Jv_platform_usleep): New function.
5501         * include/win32.h (_Jv_platform_usleep): New function.
5502
5503 2002-12-29  Tom Tromey  <tromey@redhat.com>
5504
5505         * gcj/javaprims.h: Updated.
5506         * scripts/classes.pl (scan): Removed stray semicolon.
5507
5508 2002-12-30  Mark Wielaard  <mark@klomp.org>
5509
5510         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5511         if zero or smaller.
5512
5513 2002-12-30  Mark Wielaard  <mark@klomp.org>
5514
5515         * java/util/Properties (formatForOutput): Don't fall through to
5516         default case after escaping character.
5517
5518 2002-12-30  Mark Wielaard  <mark@klomp.org>
5519
5520         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5521         against count.
5522
5523 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5524
5525         * boehm.cc: Remove stray semicolon.
5526         * interpret.cc: Likewise.
5527         * prims.cc: Likewise.
5528         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5529         earlier to ensure default arguments are processed.
5530         * gcj/array.h (JArray): Add forward declaration.
5531         (elements): Likewise.
5532         * gcj/javaprim.h: Remove stray semicolons.
5533         * include/bohm-gc.h: Likewise.
5534         * include/jni.h: Likewise.
5535         * include/jvm.h: Likewise.
5536         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5537         
5538 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5539
5540         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5541         of catch_type.
5542         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5543         idt tables after initializing superclass.
5544         * java/lang/natClassLoader.cc (uaddr): New typedef.
5545         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5546         if they are constant pool indicies.  Don't link vtable, otable yet.
5547
5548 2002-12-21  Anthony Green  <green@redhat.com>
5549
5550         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5551         libraries.
5552         * Makefile.in: Rebuilt.
5553
5554 2002-12-19  Anthony Green  <green@redhat.com>
5555
5556         * Makefile.am (ordinary_java_source_files): Add
5557         org/xml/sax/helpers/NewInstance.java.
5558         * Makefile.in: Rebuilt.
5559         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5560         org/xml/sax/helpers/package.html: New files.
5561         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5562         http://www.saxproject.org.
5563
5564 2002-12-19  Andrew Haley  <aph@redhat.com>
5565
5566         * java/util/natResourceBundle.cc: Include
5567         ArrayIndexOutOfBoundsException.h.
5568         (getCallingClassLoader): Don't put upper bound on stack search.
5569         Catch ArrayIndexOutOfBoundsException.
5570
5571 2002-12-19  Tom Tromey  <tromey@redhat.com>
5572
5573         * libtool-version: Increased `current'.
5574
5575 2002-12-19  Tom Tromey  <tromey@redhat.com>
5576
5577         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5578         comment.
5579         * java/lang/ClassLoader.java (defineClass): Use chained
5580         exception when rethrowing.
5581         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5582         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5583         constants.
5584         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5585         (_Jv_PrepareClass): Use it.
5586         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5587         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5588         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5589         (Class): _Jv_PrepareMissingMethods now friend.
5590         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5591         Record `NULL' for system class loader.
5592         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5593         system class loader.
5594         (_Jv_FindClassInCache): Likewise.
5595         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5596         (_Jv_FindClass): Special case system class loader.
5597         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5598         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5599         vtable slots.
5600         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5601         in a final class.
5602         (_getDeclaredMethod): Don't return synthetic methods.
5603         (getDeclaredMethods): Likewise.
5604         (_getMethod): Likewise.
5605         (_getMethods): Likewise.
5606
5607 2002-12-18  Raif Naffah  <raif@fl.net.au>
5608
5609         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5610         canonical form after divide().
5611         (modInverse): Likewise.
5612
5613 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5614             Mark Wielaard  <mark@klomp.org>
5615
5616         * java/security/SecurityRandom (digest): Removed field.
5617         (SecureRandom): Check all providers for case-insensitive SecureRandom
5618         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5619         if necessary.
5620         (getInstance(String,Provider,boolean): New method.
5621         (getInstance(String)): Use new method.
5622         (getInstance(String,String)): Likewise.
5623         (getInstance(String,Provider)): Likewise.
5624
5625 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5626
5627         * java/security/Security.java (loadProviders): Increment i only once.
5628
5629 2002-12-12  Mark Wielaard  <mark@klomp.org>
5630
5631         * java/lang/ClassLoader.java (resolveClass0): Transform
5632         ClassNotFoundException to NoClassDefFoundError. Transform all other
5633         throwables to LinkageError.
5634
5635 2002-12-11  Tom Tromey  <tromey@redhat.com>
5636
5637         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5638
5639         * java/lang/ClassLoader.java (loadedClasses): New field.
5640         (defineClass): Fixed indentation.  Put new class in
5641         loadedClasses.
5642         (findLoadedClass): Implement here.
5643         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5644
5645 2002-12-10  Tom Tromey  <tromey@redhat.com>
5646
5647         * Makefile.in: Rebuilt.
5648         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5649         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5650         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5651         * java/lang/natClassLoader.cc
5652         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5653
5654 2002-12-10  Mark Wielaard  <mark@klomp.org>
5655             Tom Tromey  <tromey@redhat.com>
5656
5657         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5658         (JarURLLoader): Use it.
5659         (FileURLLoader): Likewise.
5660         (JarURLResource.getURL): Use chained exception.
5661         (FileResource.getURL): Likewise.
5662         (FileURLLoader.getResource): Use canonical file name.
5663         (addURL): Indentation fix.
5664
5665 2002-12-10  Tom Tromey  <tromey@redhat.com>
5666
5667         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5668         From Laurent Bardet <l.bardet@magic.fr>.
5669
5670 2002-12-09  Tom Tromey  <tromey@redhat.com>
5671
5672         * include/win32.h (_Jv_platform_solib_prefix): New define.
5673         (_Jv_platform_solib_suffix): Likewise.
5674         * include/posix.h (_Jv_platform_solib_prefix): New define.
5675         (_Jv_platform_solib_suffix): Likewise.
5676         * java/lang/natRuntime.cc: Include StackTrace.h.
5677         (_load): Use findLibrary and new platform defines.
5678         (nativeGetLibname): Use new platform defines.
5679
5680         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5681         `t' won't be null.
5682
5683 2002-12-08  Mark Wielaard  <mark@klomp.org>
5684
5685         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5686         cache remote jar files.
5687         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5688         add File.separator to URL when it is a directory.
5689         * java/lang/ClassLoader.java: Add Classpath javadoc.
5690         (parent): final.
5691         (getParent): Add (disabled) security check.
5692         (findLibrary): New default method.
5693         * java/net/JarURLConnection.java (getManifest): Implement.
5694         (getInputStream): Only create InputStream when entry exists.
5695         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5696         when they exist.
5697         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5698
5699 2002-12-08  Mark Wielaard  <mark@klomp.org>
5700
5701         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5702         (lastDefaultLocale): New field.
5703         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5704         resourceBundleCache.
5705
5706 2002-12-06  Mark Wielaard  <mark@klomp.org>
5707
5708         * java/net/InetAddress.java (toString): Use hostname when not null,
5709         don't do an explicit reverse getHostName() lookup.
5710         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5711         NullPointerException.
5712
5713 2002-12-06  Tom Tromey  <tromey@redhat.com>
5714
5715         * include/java-interp.h (class _Jv_InterpMethod): Added
5716         JV_MARKOBJ_DECL.
5717         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5718         mark `prepared' field of interpreted method.
5719         * interpret.cc (compile): Use _Jv_AllocBytes.
5720
5721 2002-12-05  Andrew Haley  <aph@redhat.com>
5722
5723         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5724         #ifdef (HAVE_BACKTRACE) around the whole function body.
5725
5726 2002-12-05  Tom Tromey  <tromey@redhat.com>
5727
5728         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5729         * resolve.cc: Don't include AbstractMethodError.h.
5730         (_Jv_abstractMethodError): Removed.
5731         * defineclass.cc (handleMethodsBegin): Initialize method index to
5732         -1.
5733         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5734         method index for "new" final method.
5735         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5736         isVirtualMethod.  Added `flags' argument.
5737         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5738         class.
5739
5740 2002-12-04  Tom Tromey  <tromey@redhat.com>
5741
5742         * java/net/SocketPermission.java (hashCode): Rewrote.
5743
5744 2002-12-04  Tom Tromey  <tromey@redhat.com>
5745
5746         * Makefile.in: Rebuilt.
5747         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5748         natResourceBundle.
5749         * java/util/ResourceBundle.java (Security): Removed.
5750         (getCallingClassLoader): Now native.
5751         * java/util/natResourceBundle.cc: New file.
5752         * java/lang/natVMSecurityManager.cc: New file.
5753         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5754
5755 2002-12-03  Mark Wielaard  <mark@klomp.org>
5756
5757         * java/util/jar/JarFile.java (manifest): Not final.
5758         (manifestRead): New field.
5759         (JarFile): Don't read Manifest in constructor.
5760         (getManifest): New method.
5761         (JarEnumeration.nextElement): Use new method.
5762         (getEntry): Likewise.
5763         * java/util/zip/ZipFile.java (name): Final.
5764         (raf): Likewsie.
5765         (entries): Change type to Hashtable.
5766         (closed): New field.
5767         (ZipFile): Don't read enties in constructor.
5768         (readEntries): Use Hashtable.
5769         (close): Set new close flag and set entries to null inside
5770         synchronized block.
5771         (entries): Contruct enumeration using new getEntries() method and
5772         entries Hashtable.
5773         (getEntryIndex): Removed.
5774         (getEntries): New method.
5775         (getEntry): Use new getEntries() method and entries Hastable.
5776         (getInputStream): Likewise.
5777         (size): Return getEntries().size().
5778         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5779         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5780         (time): Removed
5781         (dostime): New field.
5782         (zipFileIndex): Removed.
5783         (ZipEntry(ZipEntry)): Copy dostime.
5784         (setDOSTime): Now final and doesn't convert dos time.
5785         (getDOSTime): Likewise.
5786         (setTime): Convert dos time.
5787         (getTime): Likewise.
5788         (getCalendar): New method.
5789         (setExtra): Use setTime().
5790         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5791
5792 2002-12-03  Tom Tromey  <tromey@redhat.com>
5793
5794         * java/lang/Character.java (forDigit): Formatting fix.
5795
5796 2002-12-03  Raif Naffah  <raif@fl.net.au>
5797
5798         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5799         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5800         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5801
5802 2002-12-03  Andrew Haley  <aph@redhat.com>
5803
5804         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5805         _Jv_PushClass.
5806         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5807         (_Jv_PopClass): New.
5808         (_Jv_PushClass): New.
5809         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5810         discover the ClassLoader of our caller.
5811         (_Jv_CheckArrayStore): Don't check that a class is assignment
5812         compatible with Object.
5813         * java/lang/natVMTHrowable.cc: Delete.
5814         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5815         java.lang.VMThrowable.
5816         (StackTrace(), StackTrace(int)): New constructors.
5817         (classAt, methodAt, update, methodAtAddress): New methods.
5818         (map): New field.
5819         * java/lang/VMThrowable.java: Use StackTrace instead of
5820         natVMTHrowable.
5821         * java/lang/Class.h (getClassLoaderInternal): New.
5822         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5823         Be friendly with gnu::gcj::runtime::StackTrace.
5824         (Object.chain): New field.
5825         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5826         gnu::gcj::runtime::StackTrace.
5827         * gnu/gcj/runtime/natStackTrace.cc: New file.
5828         * gnu/gcj/runtime/MethodRef.java: New file.
5829         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5830         instead of getClassLoader().
5831         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5832         java::lang::VMThrowable.
5833         * Makefile.am (core_java_source_files): Add MethodRef.java,
5834         StackTrace.java.
5835         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5836         * Makefile.in: Rebuild.
5837
5838 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5839
5840         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5841         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5842         yes also for sh-linux* and sh[34]*-linux*.
5843         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5844         set SIGNAL_HANDLER to use DWARF2 exception for them.
5845         * configure: Regenerate.
5846
5847 2002-12-02  Tom Tromey  <tromey@redhat.com>
5848
5849         * jni.cc: Added `name' argument.
5850         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5851         `const char *' argument.
5852         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5853
5854 2002-12-01  Tom Tromey  <tromey@redhat.com>
5855
5856         Bug compatibility, for PR libgcj/8738:
5857         * java/io/CharArrayWriter.java (close): Do nothing.
5858         (flush): Likewise.
5859         (reset): Don't touch `closed'.
5860         (write(int)): Don't throw IOException.
5861         (write(char[],int,int)): Likewise.
5862         (write(String,int,int)): Likewise.
5863         (closed): Removed.
5864
5865 2002-12-01  Mark Wielaard  <mark@klomp.org>
5866
5867         * java/lang/SecurityManager.java: Remerge comments, indenting and
5868         checkXXX methods with Classpath.
5869
5870 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5871
5872         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5873         getNormalizedComponents): Fix calculation which was using one too
5874         many bits in the unnormalized format.
5875
5876 2002-11-29  Gary Benson  <gbenson@redhat.com>
5877
5878         For PR libgcj/8759:
5879         * java/beans/Introspector.java (flushCaches): New method.
5880         (flushFromCaches): Likewise.
5881
5882 2002-11-29  Michael Koch <konqueror@gmx.de>
5883
5884         * java/nio/channels/DatagramChannel.java
5885         (open): Added exception documentation.
5886         (write): Added exception documentation.
5887         (connect): Added exception documentation.
5888         (disconnect): Added exception documentation.
5889         (isConnected): Added exception documentation.
5890         (read): Added exception documentation.
5891         (receive): Added exception documentation.
5892         (send): Added exception documentation.
5893         (validOps): Added exception documentation.
5894         * java/nio/channels/SocketChannel.java
5895         (open): Added exception documentation.
5896         (read): Added exception documentation.
5897         (write): Added exception documentation.
5898         (connect): Added exception documentation.
5899         (finishConnect): Added exception documentation.
5900
5901 2002-11-29  Michael Koch <konqueror@gmx.de>
5902
5903         * gnu/java/nio/DatagramChannelImpl:
5904         (fd): New member variable to store file descriptor of socket.
5905         * gnu/java/nio/SelectionKeyImpl.java:
5906         (ops): Removed.
5907         (readyOps): New member variable.
5908         (interestOps): New member variable.
5909         (readyOps): Implemented.
5910         (readyOps): New method to set member variable readyOps.
5911         (interestOps): Replaced ops by interestOps.
5912         * gnu/java/nio/SelectorImpl.java:
5913         (SelectorImpl): Initialize key sets.
5914         (select): Call select with -1 instead of Long.MAX_VALUE).
5915         (java_do_select): Make it a native method.
5916         (getFDsAsArray): New helper method.
5917         (select): Remove canceled keys, give only interested file discriptors
5918         to java_do_select, set ready ops.
5919         (add): No need to initialize keys set here.
5920         (add_selected): No need to initialize selected set here.
5921         (deregisterCanceledKeys): New helper method.
5922         (register): Set interest ops, set attachments, added handling of datagram
5923         channels.
5924         * gnu/java/nio/ServerSocketChannelImpl:
5925         (SocketAccept): Renamed from NioSocketAccept.
5926         (implConfigureBlocking): Implemented.
5927         (accept): Use SocketAccept instead of NioSocketAccept.
5928         * gnu/java/nio/SocketChannelImpl:
5929         Reactivate native methods.
5930
5931 2002-11-29  Michael Koch <konqueror@gmx.de>
5932
5933         * gnu/java/nio/natByteBufferImpl.cc,
5934         gnu/java/nio/natCharBufferImpl.cc,
5935         gnu/java/nio/natDoubleBufferImpl.cc,
5936         gnu/java/nio/natFloatBufferImpl.cc,
5937         gnu/java/nio/natIntBufferImpl.cc,
5938         gnu/java/nio/natLongBufferImpl.cc,
5939         gnu/java/nio/natSelectorImpl.cc,
5940         gnu/java/nio/natServerSocketChannelImpl.cc,
5941         gnu/java/nio/natShortBufferImpl.cc,
5942         gnu/java/nio/natSocketChannelImpl.cc:
5943         New files that implement native functionalities.
5944
5945 2002-11-29  Michael Koch <konqueror@gmx.de>
5946
5947         * gnu/java/nio/ByteBufferImpl.java
5948         (ByteBufferImpl): Moved position() after limit.
5949         (nio_*): Use native implementation.
5950         * gnu/java/nio/CharBufferImpl.java:
5951         Reformated.
5952         (endian): New member variable string endianess of buffer.
5953         (CharBufferImpl): Moved position() after limit.
5954         (nio_*): Use native implementation.
5955         (subSequence): Implemented.
5956         * gnu/java/nio/DoubleBufferImpl.java
5957         (DoubleBufferImpl): Moved position() after limit.
5958         (nio_*): Use native implementation.
5959         * gnu/java/nio/FloatBufferImpl.java
5960         Reformated.
5961         (FloatBufferImpl): Moved position() after limit.
5962         (nio_*): Use native implementation.
5963         * gnu/java/nio/IntBufferImpl.java
5964         Added needed imports, Reformated.
5965         (IntBufferImpl): Moved position() after limit.
5966         (nio_*): Use native implementation.
5967         * gnu/java/nio/LongBufferImpl.java
5968         Reformated.
5969         (LongBufferImpl): Moved position() after limit.
5970         (nio_*): Use native implementation.
5971         * gnu/java/nio/ShortBufferImpl.java
5972         Reformated.
5973         (ShortBufferImpl): Moved position() after limit.
5974         (nio_*): Use native implementation.
5975
5976 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5977
5978         * java/util/Locale.java (toString): Improve efficiency if country
5979         and variant are both empty.
5980
5981 2002-11-26  Tom Tromey  <tromey@redhat.com>
5982
5983         * verify.cc (pop_init_ref): New method.
5984         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5985         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5986         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5987         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5988         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5989         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5990         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5991         let `this' argument be uninitialized.  Don't let `null' be passed
5992         as `this' to construtor.
5993
5994 2002-11-26  Mark Wielaard  <mark@klomp.org>
5995
5996         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5997         * javax/transaction/HeuristicMixedException.java: Likewise.
5998         * javax/transaction/HeuristicRollbackException.java: Likewise.
5999         * javax/transaction/InvalidTransactionException.java: Likewise.
6000         * javax/transaction/NotSupportedException.java: Likewise.
6001         * javax/transaction/RollbackException.java: Likewise.
6002         * javax/transaction/Status.java: Likewise.
6003         * javax/transaction/Synchronization.java: Likewise.
6004         * javax/transaction/SystemException.java: Likewise.
6005         * javax/transaction/Transaction.java: Likewise.
6006         * javax/transaction/TransactionManager.java: Likewise.
6007         * javax/transaction/TransactionRequiredException.java: Likewise.
6008         * javax/transaction/TransactionRolledbackException.java: Likewise.
6009         * javax/transaction/UserTransaction.java: Likewise.
6010         * javax/transaction/xa/XAException.java: Likewise.
6011         * javax/transaction/xa/XAResource.java: Likewise.
6012         * javax/transaction/xa/Xid.java: Likewise.
6013
6014 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6015
6016         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6017         define.
6018         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6019         * include/posix.h (socklen_t): Define if not already defined.
6020
6021 2002-11-25  Tom Tromey  <tromey@redhat.com>
6022
6023         * verify.cc (type::compatible): Backed out broken change.
6024
6025         * verify.cc (type::compatible): Check initialization status
6026         first.
6027         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6028         Don't use NULLCHECK.
6029
6030 2002-11-23  H.J. Lu <hjl@gnu.org>
6031
6032         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6033         Include ../config/accross.m4.
6034         * aclocal.m4; Rebuild.
6035         * configure: Likewise.
6036
6037 2002-11-23  Mark Wielaard  <mark@klomp.org>
6038
6039         * javax/naming/AuthenticationException.java: Update copyright header.
6040         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6041         * javax/naming/Binding.java: Likewise.
6042         * javax/naming/CannotProceedException.java: Likewise.
6043         * javax/naming/CommunicationException.java: Likewise.
6044         * javax/naming/CompositeName.java: Likewise.
6045         * javax/naming/CompoundName.java: Likewise.
6046         * javax/naming/ConfigurationException.java: Likewise.
6047         * javax/naming/Context.java: Likewise.
6048         * javax/naming/ContextNotEmptyException.java: Likewise.
6049         * javax/naming/InitialContext.java: Likewise.
6050         * javax/naming/InsufficientResourcesException.java: Likewise.
6051         * javax/naming/InterruptedNamingException.java: Likewise.
6052         * javax/naming/LimitExceededException.java: Likewise.
6053         * javax/naming/LinkException.java: Likewise.
6054         * javax/naming/LinkLoopException.java: Likewise.
6055         * javax/naming/LinkRef.java: Likewise.
6056         * javax/naming/MalformedLinkException.java: Likewise.
6057         * javax/naming/NameAlreadyBoundException.java: Likewise.
6058         * javax/naming/NameClassPair.java: Likewise.
6059         * javax/naming/NameNotFoundException.java: Likewise.
6060         * javax/naming/NameParser.java: Likewise.
6061         * javax/naming/NamingEnumeration.java: Likewise.
6062         * javax/naming/NamingSecurityException.java: Likewise.
6063         * javax/naming/NoInitialContextException.java: Likewise.
6064         * javax/naming/NoPermissionException.java: Likewise.
6065         * javax/naming/NotContextException.java: Likewise.
6066         * javax/naming/OperationNotSupportedException.java: Likewise.
6067         * javax/naming/PartialResultException.java: Likewise.
6068         * javax/naming/Reference.java: Likewise.
6069         * javax/naming/Referenceable.java: Likewise.
6070         * javax/naming/ReferralException.java: Likewise.
6071         * javax/naming/ServiceUnavailableException.java: Likewise.
6072         * javax/naming/SizeLimitExceededException.java: Likewise.
6073         * javax/naming/TimeLimitExceededException.java: Likewise.
6074         * javax/naming/directory/Attribute.java: Likewise.
6075         * javax/naming/directory/AttributeInUseException.java: Likewise.
6076         * javax/naming/directory/AttributeModificationException.java: Likewise.
6077         * javax/naming/directory/Attributes.java: Likewise.
6078         * javax/naming/directory/BasicAttribute.java: Likewise.
6079         * javax/naming/directory/BasicAttributes.java: Likewise.
6080         * javax/naming/directory/DirContext.java: Likewise.
6081         * javax/naming/directory/InitialDirContext.java: Likewise.
6082         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6083         Likewise.
6084         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6085         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6086         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6087         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6088         * javax/naming/directory/ModificationItem.java: Likewise.
6089         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6090         * javax/naming/directory/SchemaViolationException.java: Likewise.
6091         * javax/naming/directory/SearchControls.java: Likewise.
6092         * javax/naming/directory/SearchResult.java: Likewise.
6093         * javax/naming/event/EventContext.java: Likewise.
6094         * javax/naming/event/EventDirContext.java: Likewise.
6095         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6096         * javax/naming/event/NamingEvent.java: Likewise.
6097         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6098         * javax/naming/event/NamingListener.java: Likewise.
6099         * javax/naming/event/ObjectChangeListener.java: Likewise.
6100         * javax/naming/ldap/Control.java: Likewise.
6101         * javax/naming/ldap/ControlFactory.java: Likewise.
6102         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6103         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6104         * javax/naming/ldap/HasControls.java: Likewise.
6105         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6106         * javax/naming/ldap/LdapContext.java: Likewise.
6107         * javax/naming/ldap/LdapReferralException.java: Likewise.
6108         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6109         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6110         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6111         * javax/naming/spi/DirObjectFactory.java: Likewise.
6112         * javax/naming/spi/DirStateFactory.java: Likewise.
6113         * javax/naming/spi/DirectoryManager.java: Likewise.
6114         * javax/naming/spi/InitialContextFactory.java: Likewise.
6115         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6116         * javax/naming/spi/NamingManager.java: Likewise.
6117         * javax/naming/spi/ObjectFactory.java: Likewise.
6118         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6119         * javax/naming/spi/ResolveResult.java: Likewise.
6120         * javax/naming/spi/Resolver.java: Likewise.
6121         * javax/naming/spi/StateFactory.java: Likewise.
6122
6123         * javax/naming/spi/NamingManager.java (ofb): Package private.
6124
6125 2002-11-21  Mark Wielaard  <mark@klomp.org>
6126
6127         * java/net/URL.java: Merge with Classpath (partly).
6128         * java/net/URLStreamHandler: Merge with Classpath.
6129
6130 2002-11-22  Michael Koch <konqueror@gmx.de>
6131
6132         * include/posix.h:
6133         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6134         * include/win32.h:
6135         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6136         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6137
6138 2002-11-21  Michael Koch <konqueror@gmx.de>
6139
6140         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6141         Only the new network functions should be in it.
6142
6143 2002-11-21  Michael Koch <konqueror@gmx.de>
6144
6145         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6146         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6147
6148 2002-11-21  Michael Koch <konqueror@gmx.de>
6149
6150         * java/nio/channels/AsynchronousCloseException.java,
6151         java/nio/channels/CancelledKeyException.java,
6152         java/nio/channels/ClosedByInterruptException.java,
6153         java/nio/channels/ConnectionPendingException.java,
6154         java/nio/channels/FileLockInterruptionException.java,
6155         java/nio/channels/IllegalSelectorException.java,
6156         java/nio/channels/NoConnectionPendingException.java,
6157         java/nio/channels/NonReadableChannelException.java,
6158         java/nio/channels/NonWritableChannelException.java,
6159         java/nio/channels/NotYetBoundException.java,
6160         java/nio/channels/NotYetConnectedException.java,
6161         java/nio/channels/OverlappingFileLockException.java,
6162         java/nio/channels/UnresolvedAddressException.java,
6163         java/nio/channels/UnsupportedAddressTypeException.java:
6164         New files.
6165         * Makefile.am (ordinary_java_source_files): Added new files.
6166         * Makefile.in: Regenerated.
6167
6168 2002-11-21  Michael Koch <konqueror@gmx.de>
6169
6170         * include/posix.h
6171         (_Jv_socket): New method.
6172         (_Jv_connect): New method.
6173         (_Jv_close): New method.
6174         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6175         (_Jv_bind): New method.
6176         (_Jv_listen): New method.
6177         (_Jv_write): New method.
6178         (_Jv_read): New method.
6179         * include/win32.h
6180         (_Jv_socket): New method.
6181         (_Jv_connect): New method.
6182         (_Jv_close): New method.
6183         (_Jv_bind): New method.
6184         (_Jv_listen): New method.
6185         (_Jv_write): New method.
6186         (_Jv_read): New method.
6187         * java/net/natNetworkInterface.cc:
6188         Include platform.h, removed inclusion of socket.h
6189         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6190         ::close() by _Jv_close().
6191         * java/net/natPlainDatagramSocketImpl.cc:
6192         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6193         added some new lines to make code more readable.
6194         (create): Replaced ::socket() by _Jv_socket().
6195         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6196         * java/net/natPlainSocketImpl.cc:
6197         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6198         removed include of socket.h, removed some windows defines
6199         (now in include/win32.h).
6200         (create): Replaced ::socket() by _Jv_socket().
6201         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6202         (write): Replaced ::read by _Jv_write().
6203         (read): Replaced ::read by _Jv_read().
6204
6205 2002-11-20  Michael Koch <konqueror@gmx.de>
6206
6207         * Makefile.am (ordinary_java_source_files):
6208         Added java/nio/channels/FileChannel.java.
6209         * Makefile.in: Regenerated.
6210
6211 2002-11-20  Michael Koch <konqueror@gmx.de>
6212
6213         * java/io/FileInputStream.java
6214         (getChannel): New method.
6215         * java/io/FileOutputStream.java
6216         (getChannel): New method.
6217         * java/net/ServerSocket.java
6218         (bind): Removed duplicate code and called another bind method instead.
6219         * java/nio/channels/SelectionKey.java
6220         (isValid): Removed wrong exception documentation.
6221         * java/nio/channels/ServerSocketChannel.java
6222         (accept): Added exception documentation.
6223         (open): Fixed typo, added exception documentation.
6224         * java/nio/channels/spi/AbstractSelectableChannel.java
6225         (implCloseChannel): Added exception documentation.
6226         (add): Reformated.
6227         (register): Added exception documentation.
6228
6229 2002-11-20  Andreas Jaeger  <aj@suse.de>
6230
6231         * configure: Regenerated with new libtool.m4.
6232
6233 2002-11-19  Tom Tromey  <tromey@redhat.com>
6234
6235         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6236         `referent'.
6237         (finalize_referred_to_object): Don't modify `referent' or `copy'
6238         fields.
6239         (add_to_hash): Correctly set `n->next' when updating list.
6240         * java/lang/ref/Reference.java (enqueue): Return false if already
6241         enqueued.
6242
6243 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6244
6245         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6246         to function and function pointer declarations in accordance with
6247         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6248         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6249         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6250         JNI function definitions.
6251
6252 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6253
6254         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6255         that was causing CoderResults to be cached, not WeakReferences
6256         to CoderResults.
6257
6258 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6259
6260         * java/security/KeyStore.java (getInstance): Fix
6261         comment and throw IllegalArgumentException if
6262         given provider is null.
6263         (getInstance): New method for jdk1.4 compatibility.
6264
6265 2002-11-18  Michael Koch <konqueror@gmx.de>
6266
6267         * java/net/PlainSocketImpl.java: Fix imports.
6268
6269 2002-11-18  Michael Koch <konqueror@gmx.de>
6270
6271         * java/nio/channels/SelectionKey.java
6272         (isValid): Added exception documentation.
6273         * java/nio/channels/Selector.java
6274         (open): Declare "throws IOException".
6275
6276 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6277
6278         * java/nio/charset/Charset.java
6279         (<clinit>): New method.
6280         (encode): Synchronize use of cached encoder object.
6281         (decode): Synchronize use of cached encoder object.
6282
6283 2002-11-18  Michael Koch <konqueror@gmx.de>
6284
6285         * gnu/java/nio/ByteBufferImpl.java,
6286         gnu/java/nio/CharBufferImpl.java,
6287         gnu/java/nio/DatagramChannelImpl.java,
6288         gnu/java/nio/DoubleBufferImpl.java,
6289         gnu/java/nio/FileChannelImpl.java,
6290         gnu/java/nio/FloatBufferImpl.java,
6291         gnu/java/nio/IntBufferImpl.java,
6292         gnu/java/nio/LongBufferImpl.java,
6293         gnu/java/nio/PipeImpl.java,
6294         gnu/java/nio/SelectionKeyImpl.java,
6295         gnu/java/nio/SelectorImpl.java,
6296         gnu/java/nio/SelectorProviderImpl.java,
6297         gnu/java/nio/ServerSocketChannelImpl.java,
6298         gnu/java/nio/ShortBufferImpl.java,
6299         gnu/java/nio/SocketChannelImpl.java,
6300         java/nio/DoubleBuffer.java,
6301         java/nio/FloatBuffer.java,
6302         java/nio/IntBuffer.java,
6303         java/nio/LongBuffer.java,
6304         java/nio/ShortBuffer.java,
6305         java/nio/channels/FileChannel.java: New files.
6306
6307 2002-11-18  Michael Koch <konqueror@gmx.de>
6308
6309         * Makefile.am (ordinary_java_source_files):
6310         Added java/nio/ReadOnlyBufferException.java and
6311         java/nio/channels/ClosedSelectorException.java.
6312         * Makefile.in: Regenerated.
6313
6314 2002-11-18  Michael Koch <konqueror@gmx.de>
6315
6316         * java/net/PlainSocketImpl.java: Reworked imports.
6317         * java/net/ServerSocket.java
6318         (ServerSocket): Create socket.
6319         * java/net/SocketAddress.java: Documentation added.
6320         * java/net/natPlainSocketImpl.cc: Reindented.
6321         * java/nio/ReadOnlyBufferException.java: New file
6322         * java/nio/channels/ClosedChannelException.java: Documentation added.
6323         * java/nio/channels/ClosedSelectorException.java: New file.
6324
6325 2002-11-17  Mark Wielaard  <mark@klomp.org>
6326
6327         * java/net/HttpURLConnection.java ((getPermission): Take port
6328         into consideration.
6329         (getErrorStream): Implement.
6330
6331 2002-11-17  Mark Wielaard  <mark@klomp.org>
6332
6333         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6334
6335 2002-11-16  Mark Wielaard  <mark@klomp.org>
6336
6337         Integrate work by Raif S. Naffah (raif@fl.net.au)
6338         * java/security/DummyKeyPairGenerator.java (clone): New method.
6339         * java/security/DummyMessageDigest.java (clone): New method.
6340         (engineUpdate): Now public.
6341         (engineReset): Likewise.
6342         (engineDigest): Likewise.
6343         (engineGetDigestLength): New method.
6344         * java/security/DummySignature.java (clone): New method.
6345         * java/security/KeyPairGenerator.java (provider): Now package private.
6346         (getInstance(String)): Use getInstance(String,Provider).
6347         (getInstance(String,String): Use getInstance(String,Provider)
6348         (getInstance(String,Provider): New method.
6349         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6350         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6351         * java/security/MessageDigest.java (provider): Now package private.
6352         (getInstance(String): Use getInstance(String,Provider).
6353         (getInstance(String,String): Use getInstance(String,Provider)
6354         (getInstance(String,Provider): New method.
6355         * java/security/Provider.java (toCanonicalKey): New method.
6356         (get): New method that uses toCanonicalKey().
6357         (put): Use toCanonicalKey().
6358         (remove): Likewise.
6359         * java/security/Security.java (insertProviderAt): Provider index is one
6360         based, not zero based.
6361         (addProvider): Likewise.
6362         (removeProvider): Likewise.
6363         * java/security/Signature.java (provider): Now package private.
6364         (getInstance(String)): Use getInstance(String,Provider).
6365         (getInstance(String,String): Use getInstance(String,Provider)
6366         (getInstance(String,Provider): New method.
6367         (getInstance(String,String,Provider): Don't cast DummySignature.
6368
6369 2002-11-15  Tom Tromey  <tromey@redhat.com>
6370
6371         For PR libgcj/8593:
6372         * java/util/zip/GZIPInputStream.java (read): Check file size.
6373         Look in inflater for remaining input bytes.
6374         (read4): Added buf and offset arguments.
6375
6376 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6377
6378         * java/applet/AppletContext.java: Fix typo and remove redundant
6379         modifiers.
6380
6381 2002-11-14  Tom Tromey  <tromey@redhat.com>
6382
6383         * java/lang/natRuntime.cc (insertSystemProperties): Set
6384         gnu.classpath.home.
6385
6386 2002-11-13  Michael Koch <konqueror@gmx.de>
6387
6388         * java/nio/ByteBuffer.java
6389         (allocate): New method.
6390         (wrap): New method.
6391         (put): New method.
6392         (get): New method.
6393
6394 2002-11-13  Michael Koch <konqueror@gmx.de>
6395
6396         * java/nio/channels/AlreadyConnectedException.java:
6397         Removed unneeded import.
6398         (AlreadyConnectedException): Documentation added.
6399         * java/nio/channels/Pipe.java
6400         (SinkChannel.SinkChannel): Documentation added.
6401         (SinkChannel.validOps): New method.
6402         (SourceChannel.SourceChannel): Documentation added.
6403         (SourceChannel.validOps): New method.
6404         (Pipe): Documentation added.
6405         (open): Documentation added.
6406         (SinkChannel.channel): Documentation added.
6407         (SourceChannel.channel): Documentation added.
6408         * java/nio/channel/SelectableChannel.java
6409         (SelectableChannel): Documentation added.
6410         (blockingLock): Documentation added.
6411         (configureBlocking):Documentation added.
6412         (isBlocking):Documentation added.
6413         (isRegistered):Documentation added.
6414         (keyFor):Documentation added.
6415         (provider):Documentation added.
6416         (register): Documentation added.
6417         (validOps): Documentation added.
6418         * jaba/nio/channels/SelectionKey.java
6419         (SelectionKey): Documentation added.
6420         (attach): Documentation added.
6421         (attachment): Documentation added.
6422         (isAcceptable): Documentation added.
6423         (isConnetable): Documentation added.
6424         (isReadable): Documentation added.
6425         (isWritable): Documentation added.
6426         (cancel): Documentation added.
6427         (channel): Documentation added.
6428         (interestOps): Documentation added.
6429         (isValid): Documentation added.
6430         (readyOps): Documentation added.
6431         (selector): Documentation added.
6432         * jaba/nio/channels/Selector.java
6433         (Selector): Documentation added.
6434         (open): Documentation added.
6435         (close): Documentation added.
6436         (isOpen): Documentation added.
6437         (keys): Documentation added.
6438         (provider): Documentation added.
6439         (select): Documentation added.
6440         (selectedKeys): Documentation added.
6441         (selectNow): Documentation added.
6442         (wakeup): Documentation added.
6443         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6444         (AbstractInterruptibleChannel): Documentation added.
6445         (opened): Default to true;
6446         (begin): Documentation added.
6447         (close): Set opened to false, documentation added.
6448         (isOpen): Documentation added.
6449         * java/nio/channels/spi/AbstractSelectionKey.java
6450         (AbstractSelectionKey): Documentation added.
6451         (cancel): Documentation added.
6452         (isValid): Documentation added.
6453         * java/nio/channels/spi/AbstractSelector.java
6454         (AbstractSelector): Documentation added.
6455         (begin): Documentation added.
6456         (close): Documentation added.
6457         (isOpen): Documentation added.
6458         (deregister): Documentation added.
6459         (end): Documentation added.
6460         (provider): Documentation added.
6461         (implCloseSelector): Documentation added.
6462         (register): Documentation added.
6463         * java/nio/channels/spi/SelectorProvider.java
6464         (SelectorProvider): Documentation added.
6465         (openDatagramChannel): Documentation added.
6466         (openPipe): Documentation added.
6467         (openSelector): Documentation added.
6468         (openServerSocketChannel): Documentation added.
6469         (openSocketChannel): Documentation added.
6470         (provider): Documentation added.
6471
6472 2002-11-12  Michael Koch <konqueror@gmx.de>
6473
6474         * java/nio/Buffer.java: Implemented.
6475         * java/nio/CharBuffer.java: New file.
6476         * java/nio/InvalidMarkException.java: New file.
6477         * java/nio/channels/DatagramChannel.java: Implemented.
6478         * java/nio/channels/ServerSocketChannel.java: Implemented.
6479         * java/nio/channels/SocketChannel.java: Implemented.
6480         * java/nio/channels/spi/AbstractChannel.java: Removed.
6481         * java/nio/channels/spi/AbstractSelectableChannel.java:
6482         Implemented.
6483         * java/nio/charset/Charset.java:
6484         Merge from Classpath.
6485         * java/nio/charset/CharsetDecoder.java: New file.
6486         * java/nio/charset/CharsetEncoder.java: New file.
6487         * java/nio/charset/CoderResult.java: New file.
6488         * Makefile.am (ordinary_java_source_files): Added new files.
6489         * Makefile.in: Regenerated.
6490
6491 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6492
6493         * gnu/java/nio/charset/ISO_8859_1.java,
6494         gnu/java/nio/charset/Provider.java,
6495         gnu/java/nio/charset/US_ASCII.java,
6496         gnu/java/nio/charset/UTF_16.java,
6497         gnu/java/nio/charset/UTF_16BE.java,
6498         gnu/java/nio/charset/UTF_16Decoder.java,
6499         gnu/java/nio/charset/UTF_16Encoder.java,
6500         gnu/java/nio/charset/UTF_16LE.java,
6501         gnu/java/nio/charset/UTF_8.java: New files.
6502
6503 2002-11-11  Michael Koch <konqueror@gmx.de>
6504
6505         * java/nio/charset/CharacterCodingException.java:
6506         This class must be public.
6507         * java/nio/charset/CoderMalfunctionError.java:
6508         This class must be public.
6509         * java/nio/charset/CodingErrorAction.java:
6510         This class must be public.
6511         * java/nio/charset/IllegalCharsetNameException.java:
6512         This class must be public, better implementation.
6513         * java/nio/charset/MalformedInputException.java:
6514         This class must be public, better implementation.
6515         * java/nio/charset/UnmappableCharacterException.java:
6516         This class must be public, better implementation.
6517         * java/nio/charset/UnsupportedCharsetException.java:
6518         This class must be public, better implementation.
6519
6520 2002-11-11  Michael Koch <konqueror@gmx.de>
6521
6522         * java/nio/BufferOverflowException.java,
6523         java/nio/BufferUnderflowException.java: New file.
6524         * Makefile.am (ordinary_java_source_files):
6525         Added new files.
6526         * Makefile.in: Regenerated.
6527
6528 2002-11-10  Tom Tromey  <tromey@redhat.com>
6529
6530         * java/awt/Container.java (validate): Use tree lock.
6531         (getComponent): Likewise.
6532         (getComponents): Likewise.
6533         (addImpl): Likewise.
6534         (remove): Likewise.
6535         (removeAll): Likewise.
6536         (processEvent): Fixed indentation.
6537         (getComponentAt): Use tree lock.
6538         (findComponentAt): Likewise.
6539         (removeNotify): Likewise.
6540         (isAncestorOf): Likewise.
6541         (list): Likewise.
6542         (visitChildren): Likewise.
6543         (findNextFocusComponent): Likewise.
6544         (addNotifyContainerChildren): Likewise.
6545         (getAccessibleChildrenCount): Likewise.
6546         (getAccessibleChild): Likewise.
6547
6548         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6549         (getSize): Likewise.
6550         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6551         (getSize): Likewise.
6552         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6553         (calcSize): Likewise.
6554         * java/awt/CardLayout.java (getSize): Use tree lock.
6555         (gotoComponent): Likewise.
6556         (layoutContainer): Likewise.
6557
6558         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6559         count is 0.
6560         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6561         count is 0.
6562
6563         * java/io/Externalizable.java, java/io/FilePermission.java,
6564         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6565         java/io/SerializablePermission.java, java/text/Format.java,
6566         java/util/AbstractMap.java, java/util/HashMap.java,
6567         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6568         versions from Classpath.
6569
6570 2002-11-10  Anthony Green  <green@redhat.com>
6571
6572         * java/util/jar/Attributes.java (Name): Fix name check.
6573
6574 2002-11-10  Mark Wielaard  <mark@klomp.org>
6575
6576         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6577         with getName() as message.
6578         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6579         type as message.
6580
6581         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6582         unused.
6583
6584 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6585
6586         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6587         for Win32. JNICALL has been defined to __stdcall to be compatible
6588         with Sun's JDKs.
6589
6590 2002-11-10  Tom Tromey  <tromey@redhat.com>
6591
6592         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6593         (setRows): Check newRows, not rows.
6594
6595         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6596
6597 2002-11-09  Tom Tromey  <tromey@redhat.com>
6598
6599         * java/applet/Applet.java, java/applet/AppletContext.java,
6600         java/applet/AppletStub.java, java/applet/AudioClip.java,
6601         java/awt/CardLayout.java,
6602         java/awt/ContainerOrderFocusTraversalPolicy.java,
6603         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6604         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6605         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6606         java/awt/color/ICC_ColorSpace.java,
6607         java/awt/color/ICC_Profile.java,
6608         java/awt/color/ICC_ProfileGray.java,
6609         java/awt/color/ICC_ProfileRGB.java,
6610         java/awt/datatransfer/DataFlavor.java,
6611         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6612         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6613         New versions from Classpath.
6614         * Makefile.in: Rebuilt.
6615         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6616         ICC_ProfileRGB.
6617
6618         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6619         display policy.
6620
6621         * java/awt/List.java (processEvent): Added missing `else's.
6622
6623         * java/awt/Window.java (show): validate() before showing.  Make
6624         parent displayable.
6625         (isDisplayable): New method.
6626
6627 2002-11-07  Mark Wielaard  <mark@klomp.org>
6628
6629         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6630         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6631
6632         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6633         annotation.
6634         (loadClass): Take String as codebases.
6635         (getClassAnnotation): Use MyClassLoader annotations.
6636         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6637         call exportObject(this).
6638
6639         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6640         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6641         (setAnnotation): Don't set locBytesStream and locStream.
6642         (replaceObject): Removed.
6643         (flush): Don't test locStream.
6644         (getLocBytes): LikeWise.
6645         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6646         (leaseCache): New field.
6647         (dirty): Use leaseCache.
6648         (LeaseRecord): New inner class.
6649         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6650         explicitly call exportObject().
6651         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6652         false to communicate with Sun JDK130.
6653         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6654         * gnu/java/rmi/server/RMIObjectInputStream.java
6655         (UnicastConnectionManager): Removed field.
6656         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6657         Use UnicastServer.getExportedRef().
6658         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6659         (expireTime): Likewise.
6660         (CONNECTION_TIMEOUT): Likewise.
6661         (disconnect): Call sock.close().
6662         (isExpired): New method.
6663         (resetTime): Likewise.
6664         (run): Use do while loop and catch Exception for discardConnection().
6665         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6666         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6667         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6668         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6669         (exportObject): Use refcache.
6670         (unexportObject): Likewise.
6671         (getExportedRef): New method.
6672         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6673         constructor.
6674         (exportObject): Save manager.serverobj.
6675         (getStub): New method.
6676
6677 2002-11-07  Mark Wielaard  <mark@klomp.org>
6678
6679         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6680         (getByte): Likewise.
6681         (getShort): Likewise.
6682         (getInt): Likewise.
6683         (getLong): Likewise.
6684         (getFloat): Likewise.
6685         (getDouble): Likewise.
6686         (get): Likewise.
6687         (setChar): Likewise.
6688         (setByte): Likewise.
6689         (setShort): Likewise.
6690         (setInt): Likewise.
6691         (setLong): Likewise.
6692         (setFloat): Likewise.
6693         (setDouble): Likewise.
6694
6695 2002-11-07  Michael Koch <konqueror@gmx.de>
6696
6697         * java/awt/Choice.java,
6698         java/awt/Container.java,
6699         java/awt/GridBagLayout.java:
6700         Fixed documentation.
6701         * java/awt/peer/ContainerPeer.java:
6702         Reindented.
6703
6704 2002-11-07  Michael Koch <konqueror@gmx.de>
6705
6706         * java/awt/color/ICC_Profile.java:
6707         Added missing constants.
6708         * java/awt/color/ICC_ColorSpace.java
6709         (getMinValue): Added dummy implementation.
6710         (getMaxValue): Added dummy implementation.
6711         * java/awt/datatransfer/DataFlavor.java
6712         (imageFlavor): Added.
6713         (isMimeTypeEqual): Must be final.
6714         (getDefaultRepresentationClass): Must be non-static.
6715         (getDefaultRepresentationClassAsString): Must be non-static.
6716         * java/awt/dnd/DragSourceContext.java
6717         (dragExit): Corrected argument.
6718         (dragDropEnd): Corrected argument.
6719         * java/awt/dnd/DragSourceListener.java.java
6720         (dragExit): Corrected argument.
6721         (dragDropEnd): Corrected argument.
6722         * java/awt/font/TextHitInfo.java
6723         (toString): Added stubbed implementation.
6724         * java/awt/geom/PathIterator.java:
6725         The constants must be static.
6726         * java/awt/image/VolatileImage.java
6727         (IMAGE_INCOMPATIBLE): Fixed typo.
6728         * java/awt/image/renderable/RenderableImage.java
6729         (HINTS_OBSERVED): Must be static.
6730         * java/beans/BeanInfo.java:
6731         Constants must be final.
6732
6733 2002-11-06  Tom Tromey  <tromey@redhat.com>
6734
6735         From svens@it.uu.se.  For PR libgcj/8481.
6736         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6737
6738 2002-11-06  Tom Tromey  <tromey@redhat.com>
6739
6740         * jni.cc (array_from_valist): Assume that jlong won't be
6741         promoted.
6742
6743 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6744
6745         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6746         Return 20.
6747         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6748         Return 16.
6749
6750 2002-11-03  Tom Tromey  <tromey@redhat.com>
6751
6752         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6753         VMClassLoader, not findClass.
6754
6755 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6756
6757         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6758         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6759         _Jv_DetermineVTableIndex, to determine vtable offset.
6760         (_Jv_DetermineVTableIndex): Remove.
6761         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6762
6763         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6764
6765 2002-11-03  Tom Tromey  <tromey@redhat.com>
6766
6767         * java/nio/channels/AlreadyConnectedException.java: Extend
6768         IllegalStateException, per spec.
6769
6770 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6771
6772         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6773
6774 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6775
6776         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6777         size items.
6778
6779 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6780
6781         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6782         initial estimated size to avoid enlarge buffer frequently.
6783
6784 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6785
6786         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6787         ClassLoader when null.
6788         (ProxyType.hashCode): Loader null check no longer needed.
6789         (ProxyType.sameTypes): New method.
6790         (ProxyType.equals): Use new method.
6791
6792 2002-10-31  Mark Wielaard  <mark@klomp.org>
6793
6794         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6795         length of String.
6796         * java/net/URLEncoder.java (encode): Likewise.
6797
6798 2002-10-31  Mark Wielaard  <mark@klomp.org>
6799
6800         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6801         when stream is closed.
6802         (closeEntry): Likewise.
6803         (read): Likewise.
6804         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6805         ZipException when no entry active.
6806         (closeEntry): Likewise.
6807         (write): Likewise.
6808
6809 2002-11-02  Tom Tromey  <tromey@redhat.com>
6810
6811         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6812         * java/lang/natClass.cc (initializeClass): Don't return just
6813         because self==thread.
6814
6815         For PR java/8415:
6816         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6817         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6818
6819 2002-11-02  Andreas Schwab  <schwab@suse.de>
6820
6821         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6822         pass GCJFLAGS.
6823         (FLAGS_TO_PASS): Define.
6824         * Makefile.in: Regenerated.
6825
6826 2002-11-01  Michael Koch  <konqueror@gmx.de>
6827
6828         * java/nio/ByteOrder.java: New file.
6829         * java/nio/channels/DatagramChannel.java:
6830         (DatagramChannel): New constructor.
6831         * java/nio/channels/Pipe.java: New file.
6832         * java/nio/channels/SelectableChannel.java: New file.
6833         * java/nio/channels/SelectionKey.java: New file.
6834         * java/nio/channels/Selector.java: New file.
6835         * java/nio/channels/ServerSocketChannel.java
6836         (ServerSocketChannel): New constructor.
6837         * java/nio/channels/SocketChannel.java
6838         (SocketChannel): New constructor.
6839         * java/nio/channels/Pipe.java: New file.
6840         * java/nio/channels/spi/AbstractChannel.java: New file.
6841         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6842         * java/nio/channels/spi/AbstractSelectableChannel.java:
6843         License added
6844         (AbstractSelectableChannel): New stubbed method.
6845         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6846         * java/nio/channels/spi/AbstractSelector.java: New file.
6847         * java/nio/channels/spi/SelectorProvider.java: New file.
6848         * java/nio/charset/Charset.java: New file.
6849         * java/nio/charset/CoderMalfunctionError.java: New file.
6850         * java/nio/charset/CodingErrorAction.java: New file.
6851         * java/nio/charset/spi/CharsetProvider.java
6852         (charsetForName): Uncommented.
6853         * Makefile.am (java_native_source_files): Added new files.
6854         * Makefile.in: Regenerated.
6855
6856 2002-11-01  Michael Koch  <konqueror@gmx.de>
6857
6858         * java/net/InetAddress.java:
6859         (isAnyLocalAddress): Implemented.
6860         (isLoopbackAddress): Implemented, comment added.
6861         (isLinkLocalAddress): Implemented, documentation added.
6862         (isSiteLocalAddress): Implemented, documentation added.
6863         (isMCGlobal): Implemented, documentation added.
6864         (isMCNodeLocal): Implemented, documentation added.
6865         (isMCLinkLocal): Implemented, documentation added.
6866         (isMCSiteLocal): Implemented, documentation added.
6867         (isMCOrgLocal): Implemented, documentation added.
6868         (getHostName): Documentation added.
6869         (getCanonicalHostName): Implemented, documentation added.
6870         (getAddress): Documentation added.
6871         (hashCode): Documentation added.
6872         (equals): Documentation added.
6873         (toString): Fixed implementation.
6874         (getByAddress): Use Inet4Address and Inet6Address.
6875         (lookup): New linewrap.
6876         (getByName): SecurityManager check added, support Inet4Address and
6877         Inet6address, comments added.
6878         (getAllByName): SecurityManager check added, comments added.
6879         * java/net/Inet6Address.java:
6880         (Inet6Address): Initialize parent class with addr instead of null.
6881         * java/net/URL.java
6882         (equals): Documentation added.
6883         (getFile): Documentation added.
6884         (hashCode): Documentation added.
6885         * java/net/natInetAddress.cc:
6886         (aton): Fix IPv6 support.
6887         * java/net/natPlainDatagramSocketImpl.cc:
6888         (peek): Throw PortUnreachableException when suitable.
6889         (peekData): Throw PortUnreachableException when suitable.
6890         (send): Throw PortUnreachableException when suitable.
6891         (receive): Throw PortUnreachableException when suitable.
6892
6893 2002-10-27  Mark Wielaard  <mark@klomp.org>
6894
6895         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6896         argument.
6897         (readLeShort): Likewise and use byte[].
6898         (readLeInt): Likewise.
6899         (readEntries): Use new versions of methods and use byte[] for reading
6900         a complete zip entry. Add ZipFile name to exceptions.
6901         (entries): Add ZipFile name to exceptions.
6902         (getEntry): Likewise.
6903         (checkLocalHeader): Use new versions of methods and add ZipFile name
6904         to exceptions.
6905
6906 2002-10-31  Mark Anderson  <mark@panonet.net>
6907
6908         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6909         added
6910
6911 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6912
6913         * configure.in: Disable hash sync when not using threads.
6914         * configure: Regenerated.
6915
6916 2002-10-24  Tom Tromey  <tromey@redhat.com>
6917
6918         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6919         (_Jv_FindSymbolInExecutable): Removed argument name.
6920         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6921         java.library.path is set.
6922
6923         * gij.cc (help): Document --showversion.
6924         (version): Don't exit.
6925         (main): Handle --showversion.  Exit if --version given.
6926
6927 2002-10-23  Tom Tromey  <tromey@redhat.com>
6928
6929         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6930         (array_from_valist): Correctly handle promotion for jint, jlong,
6931         jfloat, and jdouble.
6932
6933 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6934
6935         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6936         GetFileAttributesEx( ) to find file length and modification times,
6937         as the latter is not present on Windows 95.
6938
6939 2002-10-21  Michael Koch  <konqueror@gmx.de>
6940
6941         * java/net/URL.java
6942         (URL): Activate SecurityManager checks.
6943         (equals): Use URLStreamHandler implementation instead of doing it
6944         alone. This allows special protocol stream handlers to change default
6945         behaviour.
6946         (hashCode): Use URLStreamHandler implementation instead of doing it
6947         alone. This allows special protocol stream handlers to change default
6948         behaviour.
6949         * java/net/URLStreamHandler.java
6950         (equals): Implemented default URL equality check.
6951         (hostsEqual): Implemented default URL equality check.
6952         (hashCode): Implemented default URL hashCode algorithm.
6953         * java/net/natPlainDatagramSocketImpl.cc:
6954         No lines longer then 80 characters.
6955
6956 2002-10-20  Adam Megacz <adam@xwt.org>
6957
6958         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6959         * configure.in: enabled hash sync on Win32
6960         * include/win32-threads.h (_Jv_ThreadId_t): added.
6961         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6962         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6963         removed some posix-isms, use Thread::sleep() instead of usleep,
6964         added code to clear bottom three bits if platform has a broken
6965         linker.
6966         * include/win32-threads.h (_Jv_ThreadId_t): added.
6967
6968 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6969
6970         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6971         runtime property "gnu.gcj.progname" containing the name used to
6972         invoke the current Java program (similar to argv[0] for C
6973         programs).
6974
6975 2002-10-15  Tom Tromey  <tromey@redhat.com>
6976
6977         Fix for PR libgcj/8234:
6978         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6979         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6980
6981 2002-10-13  Mark Wielaard  <mark@klomp.org>
6982
6983         * mauve-libgcj: Enable Mauve tests that compile now.
6984
6985 2002-10-11  Mark Wielaard  <mark@klomp.org>
6986
6987         Fix for PR libgcj/8142
6988         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6989         loading native modules.
6990
6991 2002-10-10  Michael Koch  <konqueror@gmx.de>
6992
6993         * javax/swing/AbstractListModel.java
6994         (getListDataListeners): New stubbed method.
6995         javax/swing/DefaultBoundedRangeModel.java
6996         (getChangeListeners): New stubbed method.
6997         javax/swing/DefaultSingleSelectionModel.java
6998         (getChangeListeners): New stubbed method.
6999
7000 2002-10-10  Michael Koch  <konqueror@gmx.de>
7001
7002         * gcj/.cvsignore: New file to ignore files generated during build.
7003         * include/.cvsignore: New file to ignore files generated during build.
7004
7005 2002-10-10  Michael Koch  <konqueror@gmx.de>
7006
7007         * java/net/HttpURLConnection.java
7008         (getPermission): New method.
7009         (getErrorStream): New stub method.
7010         (getHeaderFieldDate): New stub method.
7011         * java/net/Inet4Address.java:
7012         (isLinkLocalAddress): Typo fixed.
7013         * java/net/InetAddress.java:
7014         (readResolve): New stubbed method (for serialization).
7015         (isAnyLocalAddress): New stubbed method.
7016         (isLoopbackAddress): New stubbed method.
7017         (isLinkLocalAddress): New stubbed method.
7018         (isSiteLocalAddress): New stubbed method.
7019         (isMCGlobal): New stubbed method.
7020         (isMCNodeGlobal): New stubbed method.
7021         (isMCLinkLocal): New stubbed method.
7022         (isMCSiteLocal): New stubbed method.
7023         (isMCOrgLocal): New stubbed method.
7024         (getCanonicalHostName): New stubbed method.
7025         (getByAddress): Create instances of Inet4Address/Inet6Address,
7026         instead of InetAddress, documentation added.
7027         * java/net/MulticastSocket.java
7028         (getInterface): Removed FIXME.
7029         (getNetworkInterface): New method.
7030         (setNetworkInterface): New method.
7031         * java/net/NetworkInterface.java:
7032         (toString): Use property "line.separator" instead of "\n".
7033         * java/net/URLConnection.java
7034         (getContent): New stubbed method.
7035         * java/net/URLStreamHandler.java:
7036         (equals): New stubbed method.
7037         (hostsEqual): New stubbed method.
7038         (hashCode): New stubbed method.
7039         * java/net/natNetworkInterface.cc:
7040         (getRealNetworkInterfaces): Create Inet4Address object
7041         instead of InetAddress.
7042
7043 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7044
7045         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7046         unsigned long temporary to implement insn_iushr shifts.
7047
7048 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7049
7050         * configure.host [s390*-*]: Enable Java interpreter.
7051         Enable hash synchronization.  Add sysdeps dir.
7052         * sysdep/s390/locks.h: New file.
7053
7054 2002-10-06  Mark Wielaard  <mark@klomp.org>
7055
7056         * java/lang/Thread.java (setDaemon): Check startable_flag,
7057         not isAlive().
7058
7059 2002-10-07  Michael Koch  <konqueror@gmx.de>
7060
7061         * java/nio/Buffer.java: New stub file.
7062         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7063         of class Charset.
7064         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7065         * Makefile.in: Regenerated.
7066
7067 2002-10-07  Michael Koch  <konqueror@gmx.de>
7068
7069         * java/nio/ByteBuffer.java:
7070         removed import of not commited class.
7071
7072 2002-10-07  Michael Koch  <konqueror@gmx.de>
7073
7074         * java/nio/ByteBuffer.java,
7075         java/nio/MappedByteBuffer.java:
7076         New files, forgot to add these dummies.
7077         * Makefile.am (java_native_source_files): Added new files.
7078         * Makefile.in: Regenerated.
7079
7080 2002-10-07  Michael Koch  <konqueror@gmx.de>
7081
7082         * java/nio/channels/AlreadyConnectedException.java,
7083         java/nio/channels/ClosedChannelException.java,
7084         java/nio/channels/ReadableByteChannel.java,
7085         java/nio/channels/InterruptibleChannel.java,
7086         java/nio/channels/Channel.java,
7087         java/nio/channels/ByteChannel.java,
7088         java/nio/channels/GatheringByteChannel.java,
7089         java/nio/channels/ScatteringByteChannel.java,
7090         java/nio/channels/WritableByteChannel.java,
7091         java/nio/charset/CharacterCodingException.java,
7092         java/nio/charset/IllegalCharsetNameException.java,
7093         java/nio/charset/MalformedInputException.java,
7094         java/nio/charset/UnmappableCharacterException.java,
7095         java/nio/charset/UnsupportedCharsetException.java,
7096         java/nio/charset/spi/CharsetProvider.java: New file.
7097         These files are exceptions or interfaces,
7098         no real or abstract classes.
7099         * Makefile.am (java_native_source_files): Added new files.
7100         * Makefile.in: Regenerated.
7101
7102 2002-10-05  Michael Koch  <konqueror@gmx.de>
7103
7104         * java/net/InetAddress.java
7105         (getByAddress): Fixed documentation.
7106         (getByAddress): New method.
7107         * java/net/Inet4Address.java: New file.
7108         * java/net/URL.java
7109         (URL): Documentation added.
7110         (getContent): Documentation added.
7111         (getContent): New stubbed method.
7112         (getQuery): New method.
7113         (openConnection): Documentation added.
7114         (openStream): Documentation added.
7115         (setURLStreamHandlerFactory): Documentation added.
7116         * java/net/URI.java: New stub file.
7117         * Makefile.am
7118         (java_native_source_files): Added java/net/Inet4Address.java,
7119         java/net/Inet6Address.java and java/net/URI.java.
7120         * Makefile.in: Regenerated.
7121
7122 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7123
7124         * java/lang/ProtectionDomain.java (linesep): Remove field.
7125         (toString): Use System.getProperty("line.separator").
7126
7127 2002-10-04  Michael Koch  <konqueror@gmx.de>
7128
7129         * java/security/Identity.java: Added serialVersionUID.
7130         * java/security/KeyPair.java: Added serialVersionUID.
7131         * java/security/Provider.java: Added serialVersionUID.
7132         * java/security/SecureRandom.java: Added serialVersionUID.
7133         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7134         * java/security/SignedObject.java: Added serialVersionUID.
7135         * java/security/cert/Certificate.java: Added serialVersionUID.
7136
7137 2002-10-04  Mark Wielaard <mark@klomp.org>
7138
7139         * java/security/Security.java: Use java.home or gnu.classpath.home
7140         to load providers.
7141         (loadProviders): Extra dir argument.
7142         (getProvider): Return null when not found.
7143
7144 2002-10-04  Mark Wielaard  <mark@klomp.org>
7145
7146         * java/lang/Throwable.java: Remerge with Classpath.
7147
7148 2002-10-04  Michael Koch  <konqueror@gmx.de>
7149
7150         * java/net/InetAddress.java:
7151         (isMulticastAddress): Added documentation.
7152         (getHostAddress): Added documentation.
7153         (toString): Added documentation.
7154         (getByAddress): Fixed documentation.
7155         (getByName): Added documentation.
7156         (getAllByName): Added documentation.
7157         (getLocalHost): Added documentation.
7158
7159 2002-10-04  Michael Koch  <konqueror@gmx.de>
7160
7161         * java/beans/beancontext/BeanContextChildSupport.java:
7162         Added serialVersionUID.
7163         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7164         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7165         * javax/naming/Name.java: Added serialVersionUID.
7166
7167 2002-10-03  Adam Megacz <adam@xwt.org>
7168
7169         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7170         some functionality that isn't supported yet on WIN32.
7171
7172 2002-10-03  Tom Tromey  <tromey@redhat.com>
7173
7174         * Makefile.in: Rebuilt.
7175         * Makefile.am (awt_java_source_files): Added new files.
7176
7177 2002-10-03  Michael Koch  <konqueror@gmx.de>
7178
7179         * java/net/InetAddress.java
7180         (class InetAddress): Removed final keyword.
7181         (equals): Fixed typo.
7182         (getByAddress): New method.
7183
7184 2002-10-03  Michael Koch  <konqueror@gmx.de>
7185
7186         * java/awt/dnd/Autoscroll.java:
7187         New file, merge from Classpath.
7188         * java/awt/dnd/DragSourceAdapter.java:
7189         (dragExit): Fixed typos in argument type.
7190         (dragDropEnd): Fixed typos in argument type.
7191         * java/awt/dnd/DragSourceDropEvent.java:
7192         New file, merge from Classpath.
7193         * java/awt/dnd/DropTarget.java:
7194         Added stubs, merge from Classpath.
7195         * java/awt/dnd/DropTargetAdapter.java:
7196         New file, merge from Classpath.
7197         * java/awt/dnd/DropTargetContext.java:
7198         New file, merge from Classpath.
7199         * java/awt/dnd/DropTargetDragEvent.java:
7200         New file, merge from Classpath.
7201         * java/awt/dnd/DropTargetDropEvent.java:
7202         New file, merge from Classpath.
7203         * java/awt/dnd/DropTargetEvent.java:
7204         New file, merge from Classpath.
7205         * java/awt/dnd/DropTargetListener.java:
7206         New file, merge from Classpath.
7207         * java/awt/dnd/MouseDragGestureRecognizer.java:
7208         New file, merge from Classpath.
7209         * java/awt/dnd/peer/DropTargetContextPeer.java:
7210         New file, merge from Classpath.
7211
7212 2002-10-03  Michael Koch  <konqueror@gmx.de>
7213
7214         * java/net/DatagramPacket.java
7215         (setLength): Fixed typo and be HTML-aware.
7216         * java/net/InetSocketAddress.java
7217         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7218         (equals): Added comment about equality of InetSocketAddress objects.
7219         * java/net/ServerSocket.java
7220         (accept): Added checks.
7221         (isClosed): New stubbed method.
7222         * java/net/SocketOptions.java: Reindention.
7223         * java/net/SocketPermission
7224         (SocketPermission): Documentation fixed.
7225
7226 2002-10-03  Michael Koch  <konqueror@gmx.de>
7227
7228         * java/net/DatagramSocket.java
7229         (receive): Check with SecurityManager AFTER the packet is received,
7230         check if connected to multicast address, documentation added.
7231         (send): Only check SecurityManager if connected, check address of
7232         packet to send.
7233         (connect): Implemented, documentation added.
7234         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7235         * java/net/InetSocketAddress.java
7236         (whole file): Reindented.
7237         (hostname): New attribute.
7238         (InetSocketAddress): Initialize new attribute.
7239         (getAddress): Documentation added.
7240         (getHostName): Documentation added.
7241         (getPort): Documentation added.
7242         (hashCode): Documentation added.
7243         (isUnresolved): Documentation added.
7244         (toString): Conform to output of JDK 1.4.1, documentation added.
7245         * java/net/MulticastSocket.java
7246         (joinGroup): Removed FIXME, documentation added.
7247         (leaveGroup): Removed FIXME, documentation added.
7248         (send): Documentation added.
7249         * java/net/Socket.java
7250         (inputShutdown): New variable.
7251         (outputShutdown): New variable.
7252         (Socket): Initialize new variables.
7253         (getRemoteSocketAddress): Check if connected.
7254         (shutdownInput): Set new variable.
7255         (shutdownOutput): Set new variable.
7256         (isConnected): New method.
7257         (isClosed): New method.
7258         (isInputShutdown): New method.
7259         (isOutputShutdown): New method.
7260         * java/net/URLStreamHandler.java
7261         (URLStreamHandler): New method.
7262         (openConnection): Added documentation.
7263         (parseURL): Added documentation.
7264         (getHostAddress): New method.
7265         (getDefaultPort): New method.
7266
7267 2002-10-02  Tom Tromey  <tromey@redhat.com>
7268
7269         * java/rmi/activation/ActivationDesc.java,
7270         java/rmi/activation/ActivationGroupDesc.java,
7271         java/rmi/activation/ActivationGroupID.java,
7272         java/rmi/activation/ActivationID.java: New versions from
7273         Classpath.
7274
7275 2002-09-30  Bo Thorsen  <bo@suse.de>
7276
7277         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7278
7279 2002-09-30  Tom Tromey  <tromey@redhat.com>
7280
7281         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7282         from Classpath.
7283         * Makefile.in: Rebuilt.
7284         * Makefile.am (rmi_java_source_files): Added new files.
7285         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7286         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7287         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7288         Classpath.
7289         * gnu/java/rmi/dgc/DGCImpl.java,
7290         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7291         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7292         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7293         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7294         gnu/java/rmi/server/RMIHashes.java,
7295         gnu/java/rmi/server/RMIObjectInputStream.java,
7296         gnu/java/rmi/server/RMIObjectOutputStream.java,
7297         gnu/java/rmi/server/UnicastConnection.java,
7298         gnu/java/rmi/server/UnicastConnectionManager.java,
7299         gnu/java/rmi/server/UnicastRef.java,
7300         gnu/java/rmi/server/UnicastServer.java,
7301         gnu/java/rmi/server/UnicastServerRef.java,
7302         java/rmi/MarshalledObject.java,
7303         java/rmi/server/RMIClassLoader.java,
7304         java/rmi/server/RemoteObject.java,
7305         java/rmi/server/UnicastRemoteObject.java,
7306         java/security/SecureClassLoader.java: Merged from Classpath.
7307
7308 2002-09-29  Anthony Green  <green@redhat.com>
7309
7310         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7311         Imported from GNU Classpath.
7312         * java/lang/reflect/natProxy.cc: New file.
7313         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7314         from GNU Classpath.
7315         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7316         Classpath.
7317         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7318         Classpath.
7319         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7320         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7321         New statics.
7322         * gcj/javaprims.h ("Java"): Add new classes.
7323         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7324         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7325         java/lang/reflect/Proxy$$ProxyType.h): And this.
7326         (inner_nat_headers): Add these new headers.
7327         (ordinary_java_source_files): Add new files.
7328         (nat_source_files): Add new file.
7329         * Makefile.in: Rebuilt.
7330
7331 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7332
7333         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7334         a single configuration.
7335
7336 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7337
7338         * java/util/TimeZone.java (getDSTSavings): New method.
7339         Fixes PR libgcj/7786.
7340
7341 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7342
7343         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7344         to see if `the_method == 0' before looking up vtable index.
7345         Fixes PR libgcj/7709.
7346
7347 2002-09-25  Tom Tromey  <tromey@redhat.com>
7348
7349         * java/lang/natClassLoader.cc:
7350         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7351         * resolve.cc: Include NoClassDefFoundError.h, not
7352         ClassNotFoundException.h.
7353         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7354
7355         * defineclass.cc: Don't include ClassNotFoundException.h.
7356
7357         * resolve.cc: Include StringBuffer.
7358         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7359
7360         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7361         allocated but not initialized.
7362
7363 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7364
7365         Fix for PR libgcj/7766:
7366         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7367         (getNextEntry): Set it.
7368         (closeEntry): Likewise.
7369         (read): Likewise.
7370         (close): Likewise.
7371         (available): Use it.
7372
7373 2002-09-25  Michael Koch  <konqueror@gmx.de>
7374
7375         * java/net/DatagramSocket.java
7376         (DatagramSocket): Initialize new instance variables.
7377         (close): Reset new instance variables.
7378         (getLocalAddress): Remove unneeded SecurityManager usage.
7379         (getLocalPort): Check if socket is already bound.
7380         (isConnected): New method.
7381         (getInetAddress): Implemented.
7382         (getPort): Better Implementation, documentation fixed.
7383         (getRemoteSocketAddress): New method.
7384         * java/net/JarURLConnection.java
7385         (element): Typo fixed.
7386         (getMainAttributes): New method.
7387         (getAttributes): New method (stub only).
7388         (getManifest): New method (stub only).
7389         * java/net/NetPermission.java: Added serialVersionsUID.
7390         * java/net/Socket.java
7391         (connect): Check blocking mode of associated channel,
7392         documentation added.
7393         (getLocalSocketAddress): Better implementation.
7394         (getRemoteSocketAddress): Implemented.
7395         (isBound): New method.
7396         (setSendBufferSize): Documentation added.
7397         * java/net/SocketAddress.java: Added serialVersionsUID.
7398         * java/net/SocketPermission.java: Added serialVersionsUID.
7399         * java/net/URL.java
7400         (URL): Wrap for shorter lines, initialize new instance variables,
7401         documentation added.
7402         (equals): Check new instance variables too.
7403         (getContent): Documentation added.
7404         (getPath): Documentation added.
7405         (getAuthority): New method.
7406         (getHost): Documentation added.
7407         (getPort): Documentation added.
7408         (getDefaultPort): New method.
7409         (getProtocol): Documentation added.
7410         (getUserInfo): Documentation added.
7411         (set): Initialize new instance variables, documentation added.
7412         * java/net/URLStreamHandler.java
7413         (setURL): New method.
7414         * java/net/natPlainDatagramSocketImpl.cc
7415         (connect): Fix exception name.
7416         (disconnect): Fix exception name.
7417
7418 2002-09-25  Michael Koch  <konqueror@gmx.de>
7419
7420         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7421         * java/nio/channels/DatagramChannel.java:
7422         extends AbstractSelectableChannel
7423         * java/nio/channels/ServerSocketChannel.java:
7424         extends AbstractSelectableChannel
7425         * java/nio/channels/SocketChannel.java:
7426         extends AbstractSelectableChannel
7427         * Makefile.am (ordinary_java_source_files):
7428         java/nio/channels/spi/AbstractSelectableChannel.java added.
7429         * Makefile.in: Regenerated.
7430
7431 2002-09-25  Michael Koch  <konqueror@gmx.de>
7432
7433         * java/net/DatagramSocket.java
7434         (DatagramSocket): Exception documentation added.
7435         (bind): Exception documentation added, addded SecurityManager check,
7436         added SocketAddress type check.
7437         (getSoTimeout): Check impl.
7438         (receive): Fix SecurityManager check, check impl, documentation added.
7439         (send): Check channel mode, documentation added.
7440         (connect): New method.
7441         (disconnect): Implemented.
7442         (getLocalSocketAddress): New method.
7443         (getReceiveBufferSize): Check impl.
7444         (setReuseAddress): Check impl.
7445         (getReuseAddress): Check impl.
7446         (setBroadcast): Check impl.
7447         (getBroadcast): Check impl.
7448         (setTrafficClass): Check impl, Documentation cleared.
7449         (getTrafficClass): Check impl.
7450         (getSendBufferSize): Check impl.
7451         (setReceiveBufferSize): Check impl, documentation added.
7452         (setSendBufferSize): Documentation added.
7453         (setDatagramSocketImplFactory): New method.
7454         * java/net/HttpURLConnection.java
7455         (HTTP_INTERNAL_ERROR): The correct code is 500.
7456         (HTTP_NOT_IMPLEMENTED): Added new constant.
7457         (setFollowRedirects): Documentation added.
7458         (getInstanceFollowRedirects): New method.
7459         (setInstanceFollowRedirects): New method.
7460         (setRequestMethod): Documentation added.
7461         (getResponseCode): Documentation added.
7462         (getResponseMessage): Documentation added.
7463         * java/net/JarURLConnection.java
7464         (JarURLConnection): protected since JDK 1.4.
7465         (getJarEntry): java.io.IOException to IOException, documentation added.
7466         (getJarFile): Documentation added.
7467         * java/net/ServerSocket.java
7468         (ServerSocket): Private to public, exception added.
7469         (ServerSocket): java.io.IOException to IOException, documentation added.
7470         (bind): Check socket address type, documentation added.
7471         (bind): java.io.IOException to IOException, documentation added.
7472         (accept): Documentation added.
7473         (implAccept): Check ch is not non-blocking, documentation added.
7474         (setSoTimeout): Documentation fixed.
7475         (setReceiveBufferSize): Documentation added.
7476         * java/net/Socket.java
7477         (Socket): Documentation added.
7478         (bind): Documentation added.
7479         (connect): Check socket address type, documentation added.
7480         (getRemoteSocketAddress): New method.
7481         (getLocalSocketAddress): New method.
7482         (setSoLinger): Documentation added.
7483         (getReuseAddress): New method.
7484         (setReuseAddress): New method.
7485         (getTrafficClass): New method.
7486         (setTrafficClass): New method.
7487         * java/net/URLStreamHandler.java
7488         (openConnection): java.io.IOException to IOException.
7489         (parseURL): Documentation added.
7490         (sameFile): public to protected, documentation added.
7491         (setURL): Documentation added.
7492         * java/nio/IllegalBlockingModeException.java: New file.
7493         * Makefile.am (ordinary_java_source_files):
7494         added java/nio/IllegalBlockingModeException.java
7495         * Makefile.in: Regenerated.
7496
7497 2002-09-25  Michael Koch  <konqueror@gmx.de>
7498
7499         * java/net/DatagramPacket
7500         (DatagramPacket): Exception documentation added.
7501         (setData): Likewise.
7502         (setSocketAddress): Likewise.
7503         * java/net/DatagramSocketImpl.java
7504         (peek): Documentation addded.
7505         (peekData): Documentation addded.
7506         (send): Documentation addded.
7507         (receive): Documentation addded.
7508         (connect): New method.
7509         (disconnect): New method.
7510         (joinGroup): New abstract method.
7511         (leaveGroup): New abstract method.
7512         * java/net/InetSocketAddress.java
7513         (InetSocketAddress): Documentation added.
7514         (equals): final keyword added.
7515         (getAddress): final keyword added.
7516         (getHostName): final keyword added.
7517         (getPort): final keyword added.
7518         (hashCode): final keyword added.
7519         (isUnresolved): final keyword added.
7520         * java/net/MulticastSocket.java
7521         (MulticastSocket): Documentation added.
7522         (MulticastSocket): New method.
7523         (joinGroup): Documentation added.
7524         (joinGroup): New method.
7525         (leaveGroup): Documentation added.
7526         (leaveGroup): New method.
7527         (send): Documentation added.
7528         * java/net/NetworkInterface.java
7529         (getByName): Documentation added.
7530         (getByInetAddress): Documentation added.
7531         (getNetworkInterfaces): Documentation added.
7532         * java/net/PlainDatagramSocketImpl.java
7533         (connect): New method.
7534         (disconnect): New method.
7535         * java/net/SocketImpl.java
7536         (create): Documentation added.
7537         (shutdownInput): Convert public to protected, as it always was.
7538         (shutdownOutput): Convert public to protected, as it always was.
7539         * java/net/SocketOptions.java
7540         (whole file): Reintented.
7541         * java/net/URLClassLoader.java
7542         (URLClassLoader): SecurityManager check added, documentation added.
7543         (findResources): Documentation added.
7544         (findClass): Documentation added.
7545         (newInstance): More correct method arguments.
7546         * java/net/URLConnection.java
7547         (connect): Documentation added.
7548         (getContent): Documentation added.
7549         (getPermission): Documentation added.
7550         (getInputStream): Documentation added.
7551         (getOutputStream): Documentation added.
7552         (setDoInput): Throw correct exception, documentation added.
7553         (setDoOutput): Throw correct exception, documentation added.
7554         (setAllowUserInteraction): Throw correct exception, documentation added.
7555         (setUseCaches): Throw correct exception, documentation added.
7556         (setIfModifiedSince): Throw correct exception, documentation added.
7557         (setRequestProperty): Throw exception, documentation added.
7558         (addRequestProperty): Throw exception, documentation added.
7559         (getRequestProperty): Throw exception, documentation added.
7560         (getRequestProperties): Documentation added.
7561         (setContentHandlerFactory): Documentation added.
7562         (guessContentTypeFromName): protected to public.
7563         (setFileNameMap): Documentation added.
7564         * java/net/URLDecoder.java
7565         (URLDecoder): New method.
7566         (decode): Documentation added.
7567         (whole file): Reindented.
7568         * java/net/URLEncoder.java
7569         (encode): Documentation added.
7570         * java/net/natPlainDatagramSocketImpl.cc
7571         (connect): New method.
7572         (disconnect): New method.
7573         * javax/naming/RefAddr:
7574         (addrType): addrType was never final.
7575         (equals): Fix typo in method name.
7576         * javax/naming/BinaryRefAddr:
7577         (equals): Fix typo in method name.
7578
7579 2002-09-22  Tom Tromey  <tromey@redhat.com>
7580
7581         Fix for PR libgcj/6576:
7582         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7583         didn't find a given bundle.
7584         (getBundle): Don't require base bundle.
7585         (setParent): Removed old comment.
7586         (tryLocalBundle): Try components even if preceding components were
7587         empty.
7588
7589 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7590
7591         * Makefile.am (all-multi): Fix multilib parallel build.
7592
7593 2002-09-21  Michael Koch  <konqueror@gmx.de>
7594
7595         * java/net/Socket.java
7596         (sendUrgentData): New method.
7597         (getChannel): New method.
7598         * java/net/ServerSocket.java
7599         (getChannel): New method.
7600         (isBound): New method.
7601         * java/net/DatagramSocket.java
7602         (DatagramSocket): Two new methods.
7603         (bind): New method.
7604         (getChannel): New method.
7605         (isBound): New method.
7606         (send): Added newline to to make shorter lines.
7607         * java/net/PlainDatagramSocketImpl.java
7608         (mcastGrp): Added argument.
7609         (join): Use new mcastGrp.
7610         (leave): Use new mcastGrp.
7611         (joinGroup): New method.
7612         (leaveGroup): New method.
7613         * java/net/natPlainDatagramSocketImpl.cc
7614         (mcastGrp): Added argument, no yet really implemented.
7615         (getOption): Added newline for shorter lines.
7616         * java/net/natPlainSocketImpl.cc
7617         (read, setOption, getOption): Added newline for shorter lines.
7618
7619 2002-09-19  Tom Tromey  <tromey@redhat.com>
7620
7621        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7622        newly-created exception.
7623
7624 2002-09-18  Michael Koch  <konqueror@gmx.de>
7625
7626         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7627         java/util/regex/PatternSyntaxException.java:
7628         Merge with classpath, new files.
7629         * Makefile.am (core_java_source_files):
7630         Added java/util/regex/Matcher.java,
7631         java/util/regex/Pattern.java,
7632         java/util/regex/PatternSyntaxException.java
7633         * Makefile.in: Regenerated.
7634         * include/config.h.in: Added HAVE_NET_IF_H.
7635         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7636         Removed #if 0 ... #endif.
7637
7638 2002-09-17  Michael Koch  <konqueror@gmx.de>
7639
7640         * java/net/natNetworkInterface.cc:
7641         Removed unneed and yet wrong includes.
7642
7643 2002-09-17  Michael Koch  <konqueror@gmx.de>
7644
7645         * java/net/NetworkInterface.java: New file.
7646         * java/net/natNetworkInterface.java: New file.
7647         * configure.in: Added check for net/if.h.
7648         * configure: Regenerated.
7649         * Makefile.am
7650         (ordinary_java_source_files): Added NetworkInterface.java.
7651         (nat_source_files): Added natNetworkInterface.cc.
7652         * Makefile.in: Regenerated.
7653
7654 2002-09-16  Tom Tromey  <tromey@redhat.com>
7655
7656         * java/net/URLClassLoader.java (findClass): Code source for a
7657         class from a jar is not necessarily a jar: URL.
7658
7659 2002-09-16  Michael Koch  <konqueror@gmx.de>
7660
7661         * java/lang/AssertionError.java:
7662         Merge with classpath, fixes HTML.
7663         * java/rmi/server/LogStream.java:
7664         Merge with classpath, fixes some constants.
7665         * java/net/server/RemoteServer.java:
7666         Merge with classpath, adds serialVersionUID.
7667         * javax/naming/BinaryRefAddr.java:
7668         Merge with classpath, s/equal/equals/.
7669         * javax/naming/NamingException.java:
7670         Merge with classpath, fixed typo.
7671         * javax/naming/RefAddr.java:
7672         Merge with classpath, s/equal/equals/.
7673         * java/awt/Toolkit.java:
7674         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7675         and typo fixed.
7676
7677 2002-09-15  Adam Megacz <adam@xwt.org>
7678
7679         * java/net/natPlainSocketImpl.cc: fixed typo.
7680
7681 2002-09-15  Adam Megacz <adam@xwt.org>
7682
7683         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7684         which don't work on Win32 (yet).
7685
7686 2002-09-14  Adam Megacz <adam@xwt.org>
7687
7688         * java/net/natPlainDatagramSocket.cc: removed #include
7689         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7690         * include/win32.h: included definition for IP_TOS to satisfy
7691         natPlainDatagramSocket.cc
7692
7693 2002-09-13  Michael Koch  <konqueror@gmx.de>
7694
7695         * java/net/DatagramPacket.java (DatagramPacket):
7696         Added linebreak for 80 chars per line.
7697         * java/net/JarURLConection.java
7698         (getInputStreami, getJarEntry): Likewise.
7699         * java/net/SocketPErmission.java
7700         (SocketPermission class docu, implies): Likewise.
7701         * java/net/URLClassLoader.java (findResources): Likewise.
7702         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7703
7704 2002-09-13  Michael Koch  <konqueror@gmx.de>
7705
7706         * java/nio/channels/DatagramChannel.java,
7707         java/nio/channels/ServerSocketChannel.java
7708         java/nio/channels/SocketChannel.java:
7709         New dummy files to make java.net fully JDK 1.4 compatible
7710         * Makefile.am (ordinary_java_source_files): Added
7711         java/net/DatagramSocketImplFactory.java (long forgotten),
7712         java/nio/SocketChannel.java,
7713         java/nio/ServerSocketChannel.java,
7714         java/nio/DatagramChannel.java
7715         * Makefile.in: Regenrated.
7716
7717 2002-09-12  Michael Koch  <konqueror@gmx.de>
7718
7719         * java/net/DatagramSocketImpl.java
7720         (peekData): New method.
7721         * java/net/PlainDatagramSocketImpl.java
7722         (peekData): New method.
7723         * java/net/natPlainDatagramSocketImpl.cc
7724         (peekData): New method.
7725         * java/net/URLConnection
7726         (getPermission): New method.
7727         (addRequestProperty): New method.
7728         (getRequestProperties): New method.
7729         (guessContentTypeFromStream): New method, not really implemented.
7730         (URLConnection): Added/updated documentation.
7731         (connect): Added/updated documentation.
7732         (getURL): Added/updated documentation.
7733         (getContentLength): Added/updated documentation.
7734         (getContentType: Added/updated documentation.
7735         (getContentEncoding): Added/updated documentation.
7736         (getExpiration): Added/updated documentation.
7737         (getDate): Added/updated documentation.
7738         (getLastModified): Added/updated documentation.
7739         (getHeaderField): Added/updated documentation.
7740         (getHeaderFields): Added/updated documentation.
7741         (getHeaderFieldInt): Added/updated documentation.
7742         (getHeaderFieldDate): Added/updated documentation.
7743         (getHeaderFieldKey): Added/updated documentation.
7744         (getContent): Added/updated documentation.
7745         (getInputStream): Added/updated documentation.
7746         (getOutputStream): Added/updated documentation.
7747         (toString): Added/updated documentation.
7748         (setDoInput): Added/updated documentation.
7749         (getDoInput): Added/updated documentation.
7750         (setDoOutput): Added/updated documentation.
7751         (getDoOutput): Added/updated documentation.
7752         (setAllowUserInteraction): Added/updated documentation.
7753         (getAllowUserInteraction): Added/updated documentation.
7754         (setDefaultAllowUserInteraction): Added/updated documentation.
7755         (getDefaultAllowUserInteraction): Added/updated documentation.
7756         (setUseCaches): Added/updated documentation.
7757         (getUseCaches): Added/updated documentation.
7758         (setIfModifiedSince): Added/updated documentation.
7759         (getIfModifiedSince): Added/updated documentation.
7760         (getDefaultUseCaches): Added/updated documentation.
7761         (setDefaultUseCaches): Added/updated documentation.
7762         (setRequestProperty): Added/updated documentation.
7763         (getRequestProperty): Added/updated documentation.
7764         (setDefaultRequestProperty): Added/updated documentation.
7765         (getDefaultRequestProperty): Added/updated documentation.
7766         (setContentHandlerFactory): Added/updated documentation.
7767         (guessContentTypeFromName): Added/updated documentation.
7768         (getFileNameMap): Added/updated documentation.
7769         (setFileNameMap): Added/updated documentation.
7770
7771 2002-09-11  Michael Koch  <konqueror@gmx.de>
7772
7773         * java/net/Socket.java
7774         (Socket): protected to public (since JDK 1.4). Added @specnote.
7775         (bind): New method.
7776         (connect): Two new methods.
7777         (getKeepalive): Get correct socket option.
7778         (setKeepalive): Set correct socket option.
7779         (getOOBInline): New method.
7780         (setOOBInline): New method.
7781         * java/net/ServerSocket.java
7782         (bind): Two new methods.
7783         (getInetAddress): Reimplemented, catch exception.
7784         (getLocalSocketAddress): New method.
7785         (setReuseAddress): New method.
7786         (getReuseAdress): New method.
7787         (setReceiveBufferSize): New method.
7788         (getReceiveBufferSize): New method.
7789         (toString): Made string JDK 1.4 compliant.
7790
7791 2002-09-10  Michael Koch  <konqueror@gmx.de>
7792
7793         * java/net/SocketImpl.java
7794         (connect): New method.
7795         (supportsUrgentData): New method.
7796         (sendUrgentData): New method.
7797         * java/net/PlainSocketImpl.java
7798         (connect): One new method and two new implementation.
7799         (sendUrgentData): New method.
7800         * java/natPlainSocketImpl.cc
7801         (connect): Arguments changed, added support for timeouts.
7802         (getOption): Another __java_boolean to jboolean.
7803
7804 2002-09-07  Adam Megacz <adam@xwt.org>
7805
7806         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7807         definition of IP_TOS.
7808
7809 2002-09-04  Michael Koch  <konqueror@gmx.de>
7810
7811         * java/net/DatagramSocket.java
7812         (DatagramSocket): Added documentation.
7813         (close): Likewise.
7814         (getLocalAddress): Likewise.
7815         (getLocalPort): Likewise.
7816         (receive): Likewise.
7817         (send): Likewise.
7818         (setSoTimeout): Likewise.
7819         (connect): New method.
7820         (disconnect): New method.
7821         (getInetAddress): New method (FIXME)
7822         (getPort): New method.
7823         (setReuseAddress): New method.
7824         (getReuseAddress): New method.
7825         (setBroadcast): New method.
7826         (getBroadcast): New method.
7827         (setTrafficClass): New method.
7828         (getTrafficClass): New method.
7829         * java/net/MulticastSocket.java):
7830         (getTTL): Added @see in documentation.
7831         (setTTL): Added @see in documentation.
7832         (setLoopbackMode): New method.
7833         (getLoopbackMode): New method.
7834         * java/net/PlainSocketImpl.java:
7835         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7836         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7837         * java/net/PlainDatagramSocketImpl.java
7838         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7839         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7840         * java/net/natPlainSocketImpl.cc
7841         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7842         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7843         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7844         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7845         This should also fix SO_KEEPALIVE
7846         * java/net/natPlainDatagramSocketImpl.cc
7847         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7848         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7849         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7850         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7851
7852 2002-09-04  Michael Koch  <konqueror@gmx.de>
7853
7854         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7855         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7856         IP_MULTICAST_LOOP, IP_TOS
7857
7858 2002-09-03  Tom Tromey  <tromey@redhat.com>
7859
7860         * java/lang/Class.h (_getDeclaredMethod): Declare.
7861         (_getMethod): Now private.
7862         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7863         getDeclaredMethod.  Now returns NULL on failure.
7864         * java/lang/Class.java (_getDeclaredMethod): Declare.
7865         (getDeclaredMethod): No longer native; implements access checks.
7866
7867 2002-09-01  Mark Wielaard  <mark@klomp.org>
7868
7869         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7870         (sanitizeStack): Correctly reset unknown and interpreter counters,
7871         detect interpreter runtime frames.
7872         (demangleInterpreterMethod): New method.
7873         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7874         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7875         filling in addrs[].
7876
7877 2002-09-02  Michael Koch  <konqueror@gmx.de>
7878
7879         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7880         re-indented documentation.
7881
7882 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7883
7884         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7885         public, per 1.4 spec.  Fixes PR libgcj/7785.
7886
7887 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7888
7889         * Makefile.in: Rebuilt.
7890         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7891
7892 2002-08-29  Tom Tromey  <tromey@redhat.com>
7893
7894         * java/net/JarURLConnection.java (getCertificates): New method
7895         from Classpath.
7896         * java/net/URLClassLoader.java (URLClassLoader): Extends
7897         SecureClassLoader.
7898         (definePackage): New method from Classpath.
7899         (getPermissions): Likewise.
7900         (newInstance): Likewise.
7901         (findClass): Construct CodeSource for new class (from Classpath).
7902         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7903         methods.
7904         * java/net/URL.java (getUserInfo): New method.
7905         (set(String,String,int,String,String,String,String,String)): New
7906         method.
7907         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7908         (shutdownInput, shutdownOutput): Declare.
7909         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7910         Define.
7911         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7912         (getOption): Likewise.
7913         (shutdownInput): New method.
7914         (shutdownOutput): Likewise.
7915         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7916         keepalive.
7917         (getOption): Likewise.
7918         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7919         * java/net/Socket.java (setKeepAlive): New method.
7920         (getKeepAlive): Likewise.
7921         (shutdownInput, shutdownOutput): New methods.
7922
7923 2002-08-29  Michael Koch  <konqueror@gmx.de>
7924
7925         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7926         new methods are:
7927         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7928           address),
7929         DatagramPacket(byte[] buf, int length, SocketAddress address),
7930         void setSocketAddress(SocketAddress address)
7931         public SocketAddress getSocketAddress()
7932
7933 2002-08-29  Tom Tromey  <tromey@redhat.com>
7934
7935         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7936         ftruncate is missing.
7937         * configure, include/config.h.in: Rebuilt.
7938         * acconfig.h (HAVE_FTRUNCATE): Mention.
7939         * configure.in: Check for ftruncate.
7940
7941 2002-08-29  Tom Tromey  <tromey@redhat.com>
7942
7943         * include/jvm.h (struct _Jv_frame_info): New structure.
7944         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7945         java-interp.h.
7946         (lookupInterp): New method.
7947         (getAddrAsString): Use _Jv_frame_info.
7948         (dladdrLookup): Likewise.
7949         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7950         interpreted frame.
7951         (lookupInterp): Declare.
7952         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7953         (fillInStackTrace): Collect information on interpreted frames.
7954         Use _Jv_frame_info.
7955         * interpret.cc: Include Thread.h.
7956         (run): Create and push _Jv_MethodChain object.
7957         (_Jv_EndOfInterpreter): New global.
7958         * java/lang/Thread.java (interp_frame): New field.
7959         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7960         Include NameFinder.h.
7961
7962 2002-08-28  Tom Tromey  <tromey@redhat.com>
7963
7964         * java/lang/Class.h: Include Package.h.
7965         (Class::getProtectionDomain): Declare.
7966         (Class::getPackage): Declare.
7967
7968 2002-08-28  Michael Koch <konqueror@gmx.de>
7969
7970         * java/net/InetSocketAddress.java: Added some documentation and argument
7971         checks for the port numbers.
7972         * java/net/DatagramSocketImplFactory.java: New file.
7973
7974 2002-08-28  Michael Koch <konqueror@gmx.de>
7975
7976         * java/net/Authenticator.java: added some documentation.
7977
7978 2002-08-27  Tom Tromey  <tromey@redhat.com>
7979
7980         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7981         class.
7982         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7983
7984 2002-08-27  Michael Koch <konqueror@gmx.de>
7985
7986         * java/net/BindException.java,
7987         java/net/JarURLConnection.java,
7988         java/net/FileNameMap.java,
7989         java/net/HttpURLConnection.java,
7990         java/net/InetSocketAddress.java,
7991         java/net/DatagramPacket.java,
7992         java/net/DatagramSocket.java,
7993         java/net/DatagramSocketImpl.java,
7994         java/net/MulticastSocket.java,
7995         java/net/PasswordAuthentication.java,
7996         java/net/ServerSocket.java,
7997         java/net/Socket.java,
7998         java/net/URLClassLoader.java,
7999         java/net/URLConnection.java: add/update of some @since/@deprecated
8000
8001 2002-08-27  Tony Kimball <alk@pobox.com>
8002             Tom Tromey  <tromey@redhat.com>
8003
8004         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8005         define.
8006         (::close): Removed.
8007         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8008         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8009         (::close): Removed.
8010         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8011         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8012
8013 2002-08-25  Adam Megacz <adam@xwt.org>
8014
8015         * include/win32.h (getcwd): copied function declaration as
8016         temporary fix for header confusion.
8017
8018 2002-08-24  Mark Wielaard <mark@klomp.org>
8019
8020         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8021         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8022         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8023         and natNameFinder.cc.
8024         * Makefile.in: Regenerate.
8025         * prims.cc: Use trace_enabled from VMThrowable.
8026         * name-finder.cc: Removed.
8027         * gcj/javaprims.h: Add class VMThrowable.
8028         * gnu/gcj/runtime/NameFinder.java: New file.
8029         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8030         * include/name-finder.h: Removed.
8031         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8032         method stackTraceString().
8033         (printStackTrace (PrintWriter)): Likewise.
8034         (stackTraceString): Complete rewrite of old printStackTrace using
8035         StringBuffer.
8036         (stackTraceStringBuffer): New helper method for stackTraceString().
8037         (fillInStackTrace): Delegate to VMTrowable.
8038         (getStackTrace): Likewise.
8039         (getStackTrace0): Removed.
8040         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8041         (setStackTrace): Copy given array.
8042         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8043         * java/lang/VMThrowable.java: New class.
8044         * java/lang/natVMThrowable.cc: New file.
8045
8046 2003-08-23  Michael Koch  <konqueror@gmx.de>
8047
8048         * java/net/URLConnection.java,
8049         java/netJarURLConnection.java,
8050         gnu/gcj/protocol/core/Connection.java,
8051         gnu/gcj/protocol/file/Connection.java,
8052         gnu/gcj/protocol/http/Connection.java: Added implementation of
8053         getHeaderFields().
8054
8055 2002-08-22  Tom Tromey  <tromey@redhat.com>
8056
8057         * gij.cc (help): Document -cp and -classpath.
8058         (main): Handle -classpath.
8059
8060 2002-08-21  Tom Tromey  <tromey@redhat.com>
8061
8062         * Makefile.in: Rebuilt.
8063         * Makefile.am (ordinary_java_source_files): Added
8064         SocketAddress.java, InetSocketAddress.java.
8065         * java/net/PortUnreachableException.java: Merged with Classpath.
8066         * java/net/SocketTimeoutException.java: Likewise.
8067         * java/net/URISyntaxException.java: Likewise.
8068         * java/net/SocketAddress.java: New class from Classpath.
8069         * java/net/InetSocketAddress.java: Likewise.
8070
8071 2003-08-21  Michael Koch  <konqueror@gmx.de>
8072
8073         * java/net/Authenticator.java: updated JDK 1.4
8074         * java/net/ContentHandler.java: updated JDK 1.4
8075
8076 2002-08-20  Michael Koch  <konqueror@gmx.de>
8077
8078         * java/net/URISyntaxException.java: New file.
8079         * java/net/SocketTimeoutException.java: New file.
8080         * java/net/PortUnreachableException.java: New file.
8081         * Makefile.am: Updated.
8082         * Makefile.in: Rebuilt.
8083
8084 2002-08-18  Mark Wielaard  <mark@klomp.org>
8085
8086         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8087         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8088         MessageDigestSpi (fixes Classpath bug #783).
8089
8090 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8091
8092         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8093         (startProcess): Allocate path for chdir in async-signal-safe way.
8094
8095 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8096
8097         Fix for PR libgcj/7570 and PR libgcj/7578:
8098         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8099         (startProcess): Handle new `dir' argument.
8100         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8101         argument.
8102         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8103         argument.
8104         (startProcess): Likewise.
8105         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8106         argument.
8107         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8108         (exec): Don't create new environment if ENV==null.  Pass DIR to
8109         execInternal.
8110         * java/lang/natRuntime.cc: Include java/io/File.h.
8111         (execInternal): Added `dir' argument.
8112
8113 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8114
8115         * java/io/RandomAccessFile.java (skipBytes): Return number of
8116         bytes skipped.
8117
8118 2002-08-01  Mark Wielaard  <mark@klomp.org>
8119
8120         Reenable patch since shared library troubles on powerpc are solved:
8121         * gnu/java/security/provider/Gnu.java: Reference all implementation
8122         classes by using Class.getName().
8123         * gnu/java/security/der/DEREncodingException.java,
8124         gnu/java/security/provider/DERReader.java,
8125         gnu/java/security/provider/DERWriter.java,
8126         gnu/java/security/provider/DSAKeyPairGenerator.java,
8127         gnu/java/security/provider/DSAParameterGenerator.java,
8128         gnu/java/security/provider/DSAParameters.java,
8129         gnu/java/security/provider/DSASignature.java,
8130         gnu/java/security/provider/GnuDSAPrivateKey.java,
8131         gnu/java/security/provider/GnuDSAPublicKey.java,
8132         gnu/java/security/provider/MD5.java,
8133         gnu/java/security/util/Prime.java: New classes
8134         * Makefile.am (ordinary_java_source_files): Add above files.
8135         * Makefile.in: Regenerate.
8136         * gnu/java/security/provider/DefaultPolicy.java
8137         (getPermissions): Don't maintain static class variable of Permissions.
8138         * gnu/java/security/provider/SHA.java
8139         (engineUpdate): algorithm change.
8140         (engineDigest): algorithm change.
8141
8142 2002-08-09  Mark Wielaard  <mark@klomp.org>
8143
8144         * java/awt/image/MemoryImageSource.java: Change constructor to take
8145         int[] not byte[].
8146         * java/awt/Graphics2D.java: Uncomment methods that can now be
8147         compiled.
8148         * java/awt/GridBagLayout.java: New stub implementation.
8149         * javax/swing/text/html/HTML.java: Stub implementation.
8150         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8151         implementation.
8152
8153         * Makefile.am: Add new files.
8154         * Makefile.in: Rebuilt.
8155
8156 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8157
8158         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8159         methods in Graphics2D.
8160
8161 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8162
8163         AWT/Swing merge from GNU Classpath.
8164
8165         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8166         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8167         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8168         java/awt/color/ProfileDataException.java,
8169         java/awt/CompositeContext.java, java/awt/Composite.java,
8170         java/awt/ContainerOrderFocusTraversalPolicy.java,
8171         java/awt/datatransfer/FlavorTable.java,
8172         java/awt/DefaultFocusTraversalPolicy.java,
8173         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8174         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8175         java/awt/dnd/DragGestureListener.java,
8176         java/awt/dnd/DragGestureRecognizer.java,
8177         java/awt/dnd/DragSourceAdapter.java,
8178         java/awt/dnd/DragSourceContext.java,
8179         java/awt/dnd/DragSourceDragEvent.java,
8180         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8181         java/awt/dnd/DragSourceListener.java,
8182         java/awt/dnd/DragSourceMotionListener.java,
8183         java/awt/dnd/DropTarget.java,
8184         java/awt/dnd/InvalidDnDOperationException.java,
8185         java/awt/dnd/peer/DragSourceContextPeer.java,
8186         java/awt/event/AWTEventListenerProxy.java,
8187         java/awt/event/MouseWheelEvent.java,
8188         java/awt/event/MouseWheelListener.java,
8189         java/awt/event/WindowFocusListener.java,
8190         java/awt/event/WindowStateListener.java,
8191         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8192         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8193         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8194         java/awt/geom/FlatteningPathIterator.java,
8195         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8196         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8197         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8198         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8199         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8200         java/awt/image/ImagingOpException.java,
8201         java/awt/image/RasterFormatException.java,
8202         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8203         java/awt/image/VolatileImage.java,
8204         java/awt/image/WritableRenderedImage.java,
8205         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8206         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8207         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8208         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8209         java/awt/PageAttributes.java, java/awt/print/Book.java,
8210         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8211         java/awt/print/Paper.java, java/awt/print/Printable.java,
8212         java/awt/print/PrinterAbortException.java,
8213         java/awt/print/PrinterException.java,
8214         java/awt/print/PrinterGraphics.java,
8215         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8216         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8217         java/awt/Stroke.java, java/awt/TexturePaint.java,
8218         javax/accessibility/AccessibleAction.java,
8219         javax/accessibility/AccessibleBundle.java,
8220         javax/accessibility/AccessibleComponent.java,
8221         javax/accessibility/AccessibleContext.java,
8222         javax/accessibility/AccessibleEditableText.java,
8223         javax/accessibility/AccessibleExtendedComponent.java,
8224         javax/accessibility/AccessibleExtendedTable.java,
8225         javax/accessibility/AccessibleHyperlink.java,
8226         javax/accessibility/AccessibleHypertext.java,
8227         javax/accessibility/AccessibleIcon.java,
8228         javax/accessibility/Accessible.java,
8229         javax/accessibility/AccessibleKeyBinding.java,
8230         javax/accessibility/AccessibleRelation.java,
8231         javax/accessibility/AccessibleRelationSet.java,
8232         javax/accessibility/AccessibleResourceBundle.java,
8233         javax/accessibility/AccessibleRole.java,
8234         javax/accessibility/AccessibleSelection.java,
8235         javax/accessibility/AccessibleState.java,
8236         javax/accessibility/AccessibleStateSet.java,
8237         javax/accessibility/AccessibleTable.java,
8238         javax/accessibility/AccessibleTableModelChange.java,
8239         javax/accessibility/AccessibleText.java,
8240         javax/accessibility/AccessibleValue.java,
8241         javax/swing/AbstractAction.java,
8242         javax/swing/AbstractButton.java,
8243         javax/swing/AbstractCellEditor.java,
8244         javax/swing/AbstractListModel.java,
8245         javax/swing/AbstractSet.java, javax/swing/Action.java,
8246         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8247         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8248         javax/swing/border/CompoundBorder.java,
8249         javax/swing/border/EmptyBorder.java,
8250         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8251         javax/swing/border/LineBorder.java,
8252         javax/swing/border/MatteBorder.java,
8253         javax/swing/border/TitledBorder.java,
8254         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8255         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8256         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8257         javax/swing/CellRendererPane.java,
8258         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8259         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8260         javax/swing/colorchooser/ColorSelectionModel.java,
8261         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8262         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8263         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8264         javax/swing/DefaultBoundedRangeModel.java,
8265         javax/swing/DefaultButtonModel.java,
8266         javax/swing/DefaultCellEditor.java,
8267         javax/swing/DefaultCellRenderer.java,
8268         javax/swing/DefaultComboBoxModel.java,
8269         javax/swing/DefaultDesktopManager.java,
8270         javax/swing/DefaultFocusManager.java,
8271         javax/swing/DefaultListCellRenderer.java,
8272         javax/swing/DefaultListModel.java,
8273         javax/swing/DefaultListSelectionModel.java,
8274         javax/swing/DefaultSingleSelectionModel.java,
8275         javax/swing/DesktopManager.java,
8276         javax/swing/event/AncestorEvent.java,
8277         javax/swing/event/AncestorListener.java,
8278         javax/swing/event/CaretEvent.java,
8279         javax/swing/event/CaretListener.java,
8280         javax/swing/event/CellEditorListener.java,
8281         javax/swing/event/ChangeEvent.java,
8282         javax/swing/event/ChangeListener.java,
8283         javax/swing/event/DocumentEvent.java,
8284         javax/swing/event/DocumentListener.java,
8285         javax/swing/event/EventListenerList.java,
8286         javax/swing/event/HyperlinkEvent.java,
8287         javax/swing/event/HyperlinkListener.java,
8288         javax/swing/event/InternalFrameAdapter.java,
8289         javax/swing/event/InternalFrameEvent.java,
8290         javax/swing/event/InternalFrameListener.java,
8291         javax/swing/event/ListDataEvent.java,
8292         javax/swing/event/ListDataListener.java,
8293         javax/swing/event/ListSelectionEvent.java,
8294         javax/swing/event/ListSelectionListener.java,
8295         javax/swing/event/MenuDragMouseEvent.java,
8296         javax/swing/event/MenuDragMouseListener.java,
8297         javax/swing/event/MenuEvent.java,
8298         javax/swing/event/MenuKeyEvent.java,
8299         javax/swing/event/MenuKeyListener.java,
8300         javax/swing/event/MenuListener.java,
8301         javax/swing/event/MouseInputAdapter.java,
8302         javax/swing/event/MouseInputListener.java,
8303         javax/swing/event/PopupMenuEvent.java,
8304         javax/swing/event/PopupMenuListener.java,
8305         javax/swing/event/SwingPropertyChangeSupport.java,
8306         javax/swing/event/TableColumnModelEvent.java,
8307         javax/swing/event/TableColumnModelListener.java,
8308         javax/swing/event/TableModelEvent.java,
8309         javax/swing/event/TableModelListener.java,
8310         javax/swing/event/TreeExpansionEvent.java,
8311         javax/swing/event/TreeExpansionListener.java,
8312         javax/swing/event/TreeModelEvent.java,
8313         javax/swing/event/TreeModelListener.java,
8314         javax/swing/event/TreeSelectionEvent.java,
8315         javax/swing/event/TreeSelectionListener.java,
8316         javax/swing/event/TreeWillExpandListener.java,
8317         javax/swing/event/UndoableEditEvent.java,
8318         javax/swing/event/UndoableEditListener.java,
8319         javax/swing/filechooser/FileFilter.java,
8320         javax/swing/filechooser/FileSystemView.java,
8321         javax/swing/filechooser/FileView.java,
8322         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8323         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8324         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8325         javax/swing/JApplet.java, javax/swing/JButton.java,
8326         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8327         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8328         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8329         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8330         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8331         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8332         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8333         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8334         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8335         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8336         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8337         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8338         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8339         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8340         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8341         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8342         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8343         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8344         javax/swing/JToolTip.java, javax/swing/JTree.java,
8345         javax/swing/JViewport.java, javax/swing/JWindow.java,
8346         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8347         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8348         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8349         javax/swing/MenuSelectionManager.java,
8350         javax/swing/MutableComboBoxModel.java,
8351         javax/swing/OverlayLayout.java,
8352         javax/swing/plaf/ActionMapUIResource.java,
8353         javax/swing/plaf/basic/BasicBorders.java,
8354         javax/swing/plaf/basic/BasicButtonUI.java,
8355         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8356         javax/swing/plaf/basic/BasicDefaults.java,
8357         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8358         javax/swing/plaf/basic/BasicIconFactory.java,
8359         javax/swing/plaf/basic/BasicLabelUI.java,
8360         javax/swing/plaf/basic/BasicListUI.java,
8361         javax/swing/plaf/basic/BasicLookAndFeel.java,
8362         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8363         javax/swing/plaf/basic/BasicPanelUI.java,
8364         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8365         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8366         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8367         javax/swing/plaf/basic/BasicTextUI.java,
8368         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8369         javax/swing/plaf/basic/BasicTreeUI.java,
8370         javax/swing/plaf/basic/BasicViewportUI.java,
8371         javax/swing/plaf/BorderUIResource.java,
8372         javax/swing/plaf/ButtonUI.java,
8373         javax/swing/plaf/ColorChooserUI.java,
8374         javax/swing/plaf/ColorUIResource.java,
8375         javax/swing/plaf/ComboBoxUI.java,
8376         javax/swing/plaf/ComponentInputMapUIResource.java,
8377         javax/swing/plaf/ComponentUI.java,
8378         javax/swing/plaf/DesktopIconUI.java,
8379         javax/swing/plaf/DesktopPaneUI.java,
8380         javax/swing/plaf/DimensionUIResource.java,
8381         javax/swing/plaf/FileChooserUI.java,
8382         javax/swing/plaf/FontUIResource.java,
8383         javax/swing/plaf/IconUIResource.java,
8384         javax/swing/plaf/InputMapUIResource.java,
8385         javax/swing/plaf/InsetsUIResource.java,
8386         javax/swing/plaf/InternalFrameUI.java,
8387         javax/swing/plaf/LabelUI.java,
8388         javax/swing/plaf/ListUI.java,
8389         javax/swing/plaf/MenuBarUI.java,
8390         javax/swing/plaf/MenuItemUI.java,
8391         javax/swing/plaf/OptionPaneUI.java,
8392         javax/swing/plaf/PanelUI.java,
8393         javax/swing/plaf/PopupMenuUI.java,
8394         javax/swing/plaf/ProgressBarUI.java,
8395         javax/swing/plaf/RootPaneUI.java,
8396         javax/swing/plaf/ScrollBarUI.java,
8397         javax/swing/plaf/ScrollPaneUI.java,
8398         javax/swing/plaf/SeparatorUI.java,
8399         javax/swing/plaf/SliderUI.java,
8400         javax/swing/plaf/SplitPaneUI.java,
8401         javax/swing/plaf/TabbedPaneUI.java,
8402         javax/swing/plaf/TableHeaderUI.java,
8403         javax/swing/plaf/TableUI.java,
8404         javax/swing/plaf/TextUI.java,
8405         javax/swing/plaf/ToolBarUI.java,
8406         javax/swing/plaf/ToolTipUI.java,
8407         javax/swing/plaf/TreeUI.java,
8408         javax/swing/plaf/UIResource.java,
8409         javax/swing/plaf/ViewportUI.java,
8410         javax/swing/ProgressMonitorInputStream.java,
8411         javax/swing/ProgressMonitor.java,
8412         javax/swing/Renderer.java,
8413         javax/swing/RepaintManager.java,
8414         javax/swing/RootPaneContainer.java,
8415         javax/swing/Scrollable.java,
8416         javax/swing/ScrollPaneConstants.java,
8417         javax/swing/ScrollPaneLayout.java,
8418         javax/swing/SingleSelectionModel.java,
8419         javax/swing/SizeRequirements.java,
8420         javax/swing/SizeSequence.java,
8421         javax/swing/SwingConstants.java,
8422         javax/swing/SwingUtilities.java,
8423         javax/swing/table/AbstractTableModel.java,
8424         javax/swing/table/DefaultTableCellRenderer.java,
8425         javax/swing/table/DefaultTableColumnModel.java,
8426         javax/swing/table/DefaultTableModel.java,
8427         javax/swing/table/TableCellEditor.java,
8428         javax/swing/table/TableCellRenderer.java,
8429         javax/swing/table/TableColumn.java,
8430         javax/swing/table/TableColumnModel.java,
8431         javax/swing/table/TableModel.java,
8432         javax/swing/text/AbstractDocument.java,
8433         javax/swing/text/AttributeSet.java,
8434         javax/swing/text/BadLocationException.java,
8435         javax/swing/text/Caret.java,
8436         javax/swing/text/CharacterIterator.java,
8437         javax/swing/text/ComponentView.java,
8438         javax/swing/text/DefaultCaret.java,
8439         javax/swing/text/DefaultEditorKit.java,
8440         javax/swing/text/Document.java,
8441         javax/swing/text/EditorKit.java,
8442         javax/swing/text/Element.java,
8443         javax/swing/text/GapContent.java,
8444         javax/swing/text/JTextComponent.java,
8445         javax/swing/text/Keymap.java,
8446         javax/swing/text/MutableAttributeSet.java,
8447         javax/swing/text/PlainDocument.java,
8448         javax/swing/text/PlainEditorKit.java,
8449         javax/swing/text/Position.java,
8450         javax/swing/text/Segment.java,
8451         javax/swing/text/StyledDocument.java,
8452         javax/swing/text/StyledEditorKit.java,
8453         javax/swing/text/Style.java,
8454         javax/swing/text/TextAction.java,
8455         javax/swing/text/ViewFactory.java,
8456         javax/swing/text/View.java,
8457         javax/swing/Timer.java,
8458         javax/swing/ToggleButtonModel.java,
8459         javax/swing/ToolTipManager.java,
8460         javax/swing/tree/AbstractLayoutCache.java,
8461         javax/swing/tree/DefaultMutableTreeNode.java,
8462         javax/swing/tree/DefaultTreeCellEditor.java,
8463         javax/swing/tree/DefaultTreeCellRenderer.java,
8464         javax/swing/tree/DefaultTreeModel.java,
8465         javax/swing/tree/DefaultTreeSelectionModel.java,
8466         javax/swing/tree/ExpandVetoException.java,
8467         javax/swing/tree/FixedHeightLayoutCache.java,
8468         javax/swing/tree/MutableTreeNode.java,
8469         javax/swing/tree/RowMapper.java,
8470         javax/swing/tree/TreeCellEditor.java,
8471         javax/swing/tree/TreeCellRenderer.java,
8472         javax/swing/tree/TreeModel.java,
8473         javax/swing/tree/TreeNode.java,
8474         javax/swing/tree/TreePath.java,
8475         javax/swing/tree/TreeSelectionModel.java,
8476         javax/swing/tree/VariableHeightLayoutCache.java,
8477         javax/swing/UIDefaults.java,
8478         javax/swing/UIManager.java,
8479         javax/swing/undo/AbstractUndoableEdit.java,
8480         javax/swing/undo/CannotRedoException.java,
8481         javax/swing/undo/CannotUndoException.java,
8482         javax/swing/undo/CompoundEdit.java,
8483         javax/swing/undo/StateEditable.java,
8484         javax/swing/undo/StateEdit.java,
8485         javax/swing/undo/UndoableEdit.java,
8486         javax/swing/undo/UndoableEditSupport.java,
8487         javax/swing/undo/UndoManager.java,
8488         javax/swing/UnsupportedLookAndFeelException.java,
8489         javax/swing/ViewportLayout.java,
8490         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8491
8492         * java/awt/ActiveEvent.java,
8493         java/awt/Adjustable.java, java/awt/AWTError.java,
8494         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8495         java/awt/AWTException.java, java/awt/AWTPermission.java,
8496         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8497         java/awt/Color.java, java/awt/Component.java,
8498         java/awt/ComponentOrientation.java, java/awt/Container.java,
8499         java/awt/datatransfer/MimeTypeParseException.java,
8500         java/awt/datatransfer/Transferable.java,
8501         java/awt/datatransfer/UnsupportedFlavorException.java,
8502         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8503         java/awt/event/ActionListener.java,
8504         java/awt/event/AdjustmentEvent.java,
8505         java/awt/event/AdjustmentListener.java,
8506         java/awt/event/AWTEventListener.java,
8507         java/awt/event/ComponentAdapter.java,
8508         java/awt/event/ComponentEvent.java,
8509         java/awt/event/ComponentListener.java,
8510         java/awt/event/ContainerAdapter.java,
8511         java/awt/event/ContainerEvent.java,
8512         java/awt/event/ContainerListener.java,
8513         java/awt/event/FocusAdapter.java,
8514         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8515         java/awt/event/HierarchyBoundsAdapter.java,
8516         java/awt/event/HierarchyBoundsListener.java,
8517         java/awt/event/HierarchyEvent.java,
8518         java/awt/event/HierarchyListener.java,
8519         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8520         java/awt/event/InputMethodListener.java,
8521         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8522         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8523         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8524         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8525         java/awt/event/MouseListener.java,
8526         java/awt/event/MouseMotionAdapter.java,
8527         java/awt/event/MouseMotionListener.java,
8528         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8529         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8530         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8531         java/awt/event/WindowListener.java, java/awt/Font.java,
8532         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8533         java/awt/geom/Ellipse2D.java,
8534         java/awt/geom/IllegalPathStateException.java,
8535         java/awt/geom/Line2D.java,
8536         java/awt/geom/NoninvertibleTransformException.java,
8537         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8538         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8539         java/awt/geom/RoundRectangle2D.java,
8540         java/awt/GraphicsConfiguration.java,
8541         java/awt/IllegalComponentStateException.java,
8542         java/awt/image/IndexColorModel.java,
8543         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8544         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8545         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8546         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8547         java/awt/MenuItem.java, java/awt/PaintContext.java,
8548         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8549         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8550         java/awt/PrintJob.java, java/awt/Rectangle.java,
8551         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8552         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8553         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8554
8555         * java/awt/im/spi/InputMethod.java,
8556         java/awt/im/spi/InputMethodContext.java,
8557         java/awt/im/spi/InputMethodDescriptor.java,
8558         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8559         java/awt/image/renderable/ParameterBlock.java,
8560         java/awt/image/renderable/RenderContext.java,
8561         java/awt/image/renderable/RenderableImage.java,
8562         java/awt/image/renderable/RenderableImageOp.java,
8563         java/awt/image/renderable/RenderableImageProducer.java,
8564         java/awt/image/renderable/RenderedImageFactory.java: New files from
8565         classpath.
8566
8567         * gnu/java/awt/EventModifier.java,
8568         gnu/java/awt/image/ImageDecoder.java,
8569         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8570
8571         * gnu/awt/xlib/XGraphicsConfiguration.java,
8572         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8573         API.
8574
8575         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8576         GNU Classpath.
8577
8578         * Makefile.am: Add new files.
8579         * Makefile.in: Rebuilt.
8580
8581 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8582
8583         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8584         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8585         findResource, getResources, findResources): Add javadoc from classpath.
8586         (getSystemResources): Implemented.
8587
8588 2002-08-01  Mark Wielaard  <mark@klomp.org>
8589
8590         Revert patch that breaks libgcj shared library on powerpc:
8591         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8592         implementation classes by using Class.getName(). Uses Strings again.
8593         * gnu/java/security/der/DEREncodingException.java,
8594         gnu/java/security/provider/DERReader.java,
8595         gnu/java/security/provider/DERWriter.java,
8596         gnu/java/security/provider/DSAKeyPairGenerator.java,
8597         gnu/java/security/provider/DSAParameterGenerator.java,
8598         gnu/java/security/provider/DSAParameters.java,
8599         gnu/java/security/provider/DSASignature.java,
8600         gnu/java/security/provider/GnuDSAPrivateKey.java,
8601         gnu/java/security/provider/GnuDSAPublicKey.java,
8602         gnu/java/security/provider/MD5.java,
8603         gnu/java/security/util/Prime.java: Removed.
8604         * Makefile.am (ordinary_java_source_files): Remove above files.
8605         * Makefile.in: Regenerate.
8606         * gnu/java/security/provider/DefaultPolicy.java
8607         (getPermissions): Revert to maintaining static class variable of
8608         Permissions.
8609         * gnu/java/security/provider/SHA.java
8610         (engineUpdate): Revert algorithm change.
8611         (engineDigest): Revert algorithm change.
8612
8613 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8614
8615         * configure.host: Add SH support.
8616         * sysdep/sh/locks.h: New file.
8617
8618 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8619
8620         * java/awt/Frame.java (Frame): Remove println calls.
8621
8622 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8623
8624         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8625         * configure: Rebuilt.
8626
8627 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8628
8629         * sysdep/powerpc/locks.h: Formatting.
8630         (_LARX): Define.
8631         (_STCX): Define.
8632         (compare_and_swap): Use _LARX and _STCX.
8633         (compare_and_swap_release): Likewise.
8634
8635 2002-07-26  Tom Tromey  <tromey@redhat.com>
8636
8637         * java/net/Authenticator.java: New version from Classpath.
8638         * java/net/DatagramSocketImpl.java: New version from Classpath.
8639
8640 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8641
8642         * configure.host: Add powerpc64*-* entry.
8643
8644 2002-07-26  Tom Tromey  <tromey@redhat.com>
8645
8646         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8647         fcntl.h.
8648
8649 2002-07-24  Tom Tromey  <tromey@redhat.com>
8650
8651         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8652         argument to _load.
8653
8654 2002-07-24  Tom Tromey  <tromey@redhat.com>
8655             Tony Kimball <alk@pobox.com>
8656
8657         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8658         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8659         * java/io/RandomAccessFile.java (setLength): New method.
8660         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8661         * java/io/FileDescriptor.java (setLength): New method.
8662
8663 2002-07-24  Mark Wielaard  <mark@klomp.org>
8664
8665         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8666         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8667         field call setAccessible(true).
8668         (setByteField): Likewise.
8669         (setCharField): Likewise.
8670         (setDoubleField): Likewise.
8671         (setFloatField): Likewise.
8672         (setIntField): Likewise.
8673         (setLongField): Likewise.
8674         (setShortField): Likewise.
8675         (setObjectField): Likewise.
8676
8677 2002-07-24  Tom Tromey  <tromey@redhat.com>
8678
8679         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8680         use toString() to format array element.
8681
8682 2002-07-23  Mark Wielaard  <mark@klomp.org>
8683
8684         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8685         MessageDigestSpi (fixes Classpath bug #783).
8686
8687 2002-07-21  Mark Wielaard  <mark@klomp.org>
8688
8689         * gnu/java/security/provider/Gnu.java: Reference all implementation
8690         classes by using Class.getName().
8691
8692 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8693
8694         * java/lang/ieeefp.h: Add x86-64 support.
8695         * configure.in: Likewise.
8696         * configure.host: Likewise.
8697         * configure: Regenerated.
8698         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8699
8700 2002-07-16  Mark Wielaard  <mark@klomp.org>
8701
8702         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8703         (whitespaceChars): call resetChar().
8704
8705 2002-07-15  Tom Tromey  <tromey@redhat.com>
8706
8707         * Makefile.in: Rebuilt.
8708         * Makefile.am (awt_java_source_files): Added new files.
8709         * java/beans/ExceptionListener.java: Merged with Classpath.
8710         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8711         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8712         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8713         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8714         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8715         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8716         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8717
8718 2002-07-14  Mark Wielaard  <mark@klomp.org>
8719
8720         * gnu/java/security/der/DEREncodingException.java,
8721         gnu/java/security/provider/DERReader.java,
8722         gnu/java/security/provider/DERWriter.java,
8723         gnu/java/security/provider/DSAKeyPairGenerator.java,
8724         gnu/java/security/provider/DSAParameterGenerator.java,
8725         gnu/java/security/provider/DSAParameters.java,
8726         gnu/java/security/provider/DSASignature.java,
8727         gnu/java/security/provider/GnuDSAPrivateKey.java,
8728         gnu/java/security/provider/GnuDSAPublicKey.java,
8729         gnu/java/security/provider/MD5.java,
8730         gnu/java/security/util/Prime.java: New files from Classpath.
8731         * Makefile.am (ordinary_java_source_files): Add new files.
8732         * Makefile.in: Regenerate.
8733
8734 2002-07-14  C. Brian Jones <cbj@gnu.org>
8735
8736         * gnu/java/security/provider/DefaultPolicy.java
8737         (getPermissions): do not maintain static class variable of
8738         Permissions
8739         * gnu/java/security/provider/SHA.java
8740         (engineUpdate): algorithm change
8741         (engineDigest): algorithm change
8742
8743 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8744
8745         For PR libgcj/7292:
8746         * java/lang/Character.java (toString(char)): Now static.
8747
8748 2002-07-12  Mark Wielaard  <mark@klomp.org>
8749
8750         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8751         (getStackTrace0): new method.
8752         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8753         (printStackTrace(PrintWriter)): replace with pure java implementation.
8754         (printRawStackTrace): removed.
8755         (getStackTrace0): new method.
8756         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8757         * gcj/javaprims.h: regenerate class list.
8758         * include/name-finder.h (lookup): new returns StackTraceElement*.
8759         (method_name, file_name): fields removed.
8760         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8761         (~_Jv_name_finder): close new descriptors.
8762         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8763         (createStackTraceElement): new method.
8764         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8765
8766 2002-07-10  Tom Tromey  <tromey@redhat.com>
8767
8768         * configure: Rebuilt.
8769         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8770
8771 2002-07-08  Mark Wielaard  <mark@klomp.org>
8772
8773         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8774         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8775         java.sql.DatabaseMetaData.TestJdbc20
8776
8777 2002-07-05  Tony Kimball  <alk@pobox.com>
8778
8779         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8780
8781 2002-07-04  Tom Tromey  <tromey@redhat.com>
8782             Jeff Sturm  <jsturm@one-point.com>
8783
8784         Fix for PR libgcj/7060:
8785         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8786         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8787         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8788         * java/lang/Class.java (getMethod): New Java implementation;
8789         complies with spec.
8790         (_getMethod): New native method.
8791
8792 2002-07-02  Tom Tromey  <tromey@redhat.com>
8793             David Hovemeyer  <daveho@cs.umd.edu>
8794
8795         * java/text/ChoiceFormat.java
8796         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8797         in check loop.
8798         * java/text/MessageFormat.java
8799         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8800         to MessageFormat.
8801
8802 2002-07-01  Tom Tromey  <tromey@redhat.com>
8803
8804         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8805         StringTokenizer on null string.  For PR libgcj/7180.
8806         From daveho@cs.umd.edu.
8807
8808 2002-06-24  Tom Tromey  <tromey@redhat.com>
8809
8810         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8811         (IntegerClass): Likewise.
8812         * java/lang/natClass.cc (CloneableClass): Removed.
8813         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8814         ConstructorClass): Likewise.
8815         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8816         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8817         SerializableClass): Likewise.
8818         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8819         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8820         LongClass, FloatClass, DoubleClass): Likewise.
8821
8822         * verify.cc (branch_prepass): Updated for change to exception
8823         handler type.
8824         (verify_instructions_0): Likewise.
8825         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8826         (handleExceptionTableEntry): Updated for change to exception
8827         handler type.
8828         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8829         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8830         (union _Jv_InterpPC): New.
8831         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8832         (class _Jv_InterpMethod): Added new `prepared' field.
8833         (class _Jv_InterpMethod): Added `compile' method.  Removed
8834         `continue1' and `find_exception'.  Changed arguments to `run'.
8835         * interpret.cc (union insn_slot): New.
8836         (find_exception): Removed.
8837         (run_normal): Removed most logic.
8838         (run_synch_object): Likewise; also, use JvSynchronize.
8839         (run_synch_class): Likewise.
8840         (run): Removed.
8841         (continue1): Renamed as `run'.  Compile bytecode if required.
8842         Add new code to allow refinement of direct-threaded code at
8843         runtime.  Handle exceptions.
8844         (SAVE_PC): Removed.
8845         (compile): New method.
8846         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8847         (NULLARRAYCHECK): Don't use SAVE_PC.
8848         (pc_t): New typedef.
8849         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8850         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8851
8852 2002-06-23  Tom Tromey  <tromey@redhat.com>
8853
8854         * configure: Rebuilt.
8855         * configure.in (INTERPRETER): New subst.
8856         (AM_RUNTESTFLAGS): Don't subst.
8857
8858         * Makefile.in: Rebuilt.
8859         * Makefile.am ($(srcdir)/java/lang/Object.h,
8860         $(srcdir)/java/lang/Class.h): Added dummy targets.
8861
8862 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8863
8864         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8865
8866         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8867         java/sql/Savepoint.java: New files.
8868         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8869         java/sql/Blob.java, java/sql/CallableStatement.java,
8870         java/sql/Clob.java, java/sql/Connection.java,
8871         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8872         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8873         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8874         java/sql/Ref.java, java/sql/ResultSet.java,
8875         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8876         java/sql/SQLException.java, java/sql/SQLInput.java,
8877         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8878         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8879         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8880         (JDK 1.4) specification.
8881         * javax/sql/ConnectionEvent.java,
8882         javax/sql/ConnectionEventListener.java,
8883         javax/sql/ConnectionPoolDataSource.java,
8884         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8885         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8886         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8887         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8888         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8889         javax/sql/XADataSource.java: New files.
8890         * Makefile.am: Add new files.
8891         * Makefile.in: Rebuilt.
8892
8893 2002-06-20  Tom Tromey  <tromey@redhat.com>
8894
8895         For PR libgcj/7073:
8896         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8897         exists.
8898         * defineclass.cc (handleClassBegin): Superclass for interface is
8899         `null'.
8900
8901 2002-06-18  Tom Tromey  <tromey@redhat.com>
8902
8903         * gcj/javaprims.h: Updated class declaration list.
8904         * Makefile.in: Rebuilt.
8905         * Makefile.am (core_java_source_files): Removed
8906         BasicMapEntry.java.
8907         * java/util/BasicMapEntry.java: Removed.
8908
8909 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8910
8911         * java/net/natPlainDatagramSocketImpl.cc (receive):
8912         Check bounds of argument to FD_SET.
8913         (setOption): Throw exception if socket is closed.
8914
8915         * java/net/natPlainSocketImpl.cc (accept, read):
8916         Check bounds of argument to FD_SET.
8917         (setOption): Throw exception if socket is closed.
8918
8919 2002-06-18  Tom Tromey  <tromey@redhat.com>
8920
8921         * gcj/javaprims.h: Updated class declaration list.
8922         * Makefile.in: Rebuilt.
8923         * Makefile.am (core_java_source_files): Added
8924         PropertyPermissionCollection.java.
8925         * java/lang/Thread.java (group, name): Now package-private.
8926         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8927         * java/util/AbstractList.java: Likewise.
8928         * java/util/AbstractMap.java: Likewise.
8929         * java/util/Calendar.java: Likewise.
8930         * java/util/Collections.java: Likewise.
8931         * java/util/HashMap.java: Likewise.
8932         * java/util/Hashtable.java: Likewise.
8933         * java/util/LinkedHashMap.java: Likewise.
8934         * java/util/LinkedList.java: Likewise.
8935         * java/util/List.java: Likewise.
8936         * java/util/ListResourceBundle.java: Likewise.
8937         * java/util/Map.java: Likewise.
8938         * java/util/Observable.java: Likewise.
8939         * java/util/Properties.java: Likewise.
8940         * java/util/PropertyPermission.java: Likewise.
8941         * java/util/PropertyPermissionCollection.java: Likewise.
8942         * java/util/PropertyResourceBundle.java: Likewise.
8943         * java/util/Random.java: Likewise.
8944         * java/util/SimpleTimeZone.java: Likewise.
8945         * java/util/StringTokenizer.java: Likewise.
8946         * java/util/TimerTask.java: Likewise.
8947         * java/util/TreeMap.java: Likewise.
8948         * java/util/WeakHashMap.java: Likewise.
8949         * java/util/jar/Attributes.java: Likewise.
8950         * java/util/jar/JarException.java: Likewise.
8951         * java/util/jar/Manifest.java: Likewise.
8952
8953 2002-06-17  Tom Tromey  <tromey@redhat.com>
8954
8955         * gcj/javaprims.h: Updated class declaration list.
8956         * Makefile.in: Rebuilt.
8957         * Makefile.am (core_java_source_files): Added new file.
8958         * java/util/EventListenerProxy.java: New file.
8959         * java/util/EventListener.java: Re-merge with Classpath.
8960         * java/util/EventObject.java: Re-merge with Classpath.
8961
8962 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8963
8964         * java/lang/ClassNotFoundException.java: New Classpath version.
8965
8966 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8967
8968         * java/rmi/activation/ActivateFailedException.java: Remerge from
8969         Classpath version.
8970         * java/rmi/activation/ActivationException.java: Ditto.
8971         * java/rmi/activation/UnknownGroupException.java: Ditto.
8972         * java/rmi/activation/UnknownObjectException.java: Ditto.
8973         * java/rmi/server/ExportException: Ditto.
8974         * java/rmi/server/ServerCloneException: Ditto.
8975         * java/rmi/server/ServerNotActiveException: Ditto.
8976         * java/rmi/server/SkeletonMismatchException: Ditto.
8977         * java/rmi/server/SkeletonNotFoundException: Ditto.
8978         * java/rmi/server/SocketSecurityException: Ditto.
8979
8980 2002-06-16  Tom Tromey  <tromey@redhat.com>
8981
8982         * gcj/javaprims.h: Updated class declaration list.
8983
8984         * java/io/LineNumberInputStream.java: Merged with Classpath.
8985
8986         * java/lang/RuntimeException.java: Re-merge with Classpath.
8987         * java/util/ArrayList.java: Likewise.
8988         * java/util/Arrays.java: Likewise.
8989         * java/util/BitSet.java: Likewise.
8990         * java/util/Dictionary.java: Likewise.
8991         * java/util/IdentityHashMap.java: Likewise.
8992         * java/util/MissingResourceException.java: Likewise.
8993         * java/util/Observer.java: Likewise.
8994         * java/util/TooManyListenersException.java: Likewise.
8995         * java/util/zip/DataFormatException.java: Likewise.
8996         * java/util/zip/ZipException.java: Likewise.
8997
8998 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8999
9000         * java/rmi/AccessException.java: Remerge from Classpath.
9001         * java/rmi/AlreadyBoundException.java: Ditto.
9002         * java/rmi/ConnectException.java: Ditto.
9003         * java/rmi/ConnectIOException.java: Ditto.
9004         * java/rmi/MarshalException.java: Ditto.
9005         * java/rmi/NoSuchObjectException.java: Ditto.
9006         * java/rmi/NotBoundException.java: Ditto.
9007         * java/rmi/RemoteException.java: Ditto.
9008         * java/rmi/RMISecurityException.java: Ditto.
9009         * java/rmi/ServerError.java: Ditto.
9010         * java/rmi/ServerException.java: Ditto.
9011         * java/rmi/ServerRuntimeException.java: Ditto.
9012         * java/rmi/StubNotFoundException.java: Ditto.
9013         * java/rmi/UnexpectedExcpetion.java: Ditto.
9014         * java/rmi/UnknownHostException.java: Ditto.
9015         * java/rmi/UnmarshalException.java: Ditto.
9016
9017 2002-06-15  Tom Tromey  <tromey@redhat.com>
9018
9019         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9020         * java/lang/ArithmeticException.java: Likewise.
9021         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9022         * java/lang/ArrayStoreException.java: Likewise.
9023         * java/lang/Byte.java: Likewise.
9024         * java/lang/CharSequence.java: Likewise.
9025         * java/lang/ClassCastException.java: Likewise.
9026         * java/lang/ClassCircularityError.java: Likewise.
9027         * java/lang/ClassFormatError.java: Likewise.
9028         * java/lang/CloneNotSupportedException.java: Likewise.
9029         * java/lang/Cloneable.java: Likewise.
9030         * java/lang/Comparable.java: Likewise.
9031         * java/lang/Compiler.java: Likewise.
9032         * java/lang/Error.java: Likewise.
9033         * java/lang/ExceptionInInitializerError.java: Likewise.
9034         * java/lang/IllegalAccessError.java: Likewise.
9035         * java/lang/IllegalAccessException.java: Likewise.
9036         * java/lang/IllegalArgumentException.java: Likewise.
9037         * java/lang/IllegalMonitorStateException.java: Likewise.
9038         * java/lang/IllegalStateException.java: Likewise.
9039         * java/lang/IllegalThreadStateException.java: Likewise.
9040         * java/lang/IncompatibleClassChangeError.java: Likewise.
9041         * java/lang/IndexOutOfBoundsException.java: Likewise.
9042         * java/lang/InheritableThreadLocal.java: Likewise.
9043         * java/lang/InstantiationError.java: Likewise.
9044         * java/lang/InstantiationException.java: Likewise.
9045         * java/lang/InternalError.java: Likewise.
9046         * java/lang/InterruptedException.java: Likewise.
9047         * java/lang/LinkageError.java: Likewise.
9048         * java/lang/NegativeArraySizeException.java: Likewise.
9049         * java/lang/NoClassDefFoundError.java: Likewise.
9050         * java/lang/NoSuchFieldError.java: Likewise.
9051         * java/lang/NoSuchFieldException.java: Likewise.
9052         * java/lang/NoSuchMethodError.java: Likewise.
9053         * java/lang/NoSuchMethodException.java: Likewise.
9054         * java/lang/NullPointerException.java: Likewise.
9055         * java/lang/NumberFormatException.java: Likewise.
9056         * java/lang/OutOfMemoryError.java: Likewise.
9057         * java/lang/Process.java: Likewise.
9058         * java/lang/Runnable.java: Likewise.
9059         * java/lang/RuntimePermission.java: Likewise.
9060         * java/lang/SecurityException.java: Likewise.
9061         * java/lang/Short.java: Likewise.
9062         * java/lang/StackOverflowError.java: Likewise.
9063         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9064         * java/lang/ThreadDeath.java: Likewise.
9065         * java/lang/ThreadLocal.java: Likewise.
9066         * java/lang/UnknownError.java: Likewise.
9067         * java/lang/UnsatisfiedLinkError.java: Likewise.
9068         * java/lang/UnsupportedClassVersionError.java: Likewise.
9069         * java/lang/UnsupportedOperationException.java: Likewise.
9070         * java/lang/VerifyError.java: Likewise.
9071         * java/lang/VirtualMachineError.java: Likewise.
9072         * java/lang/reflect/InvocationTargetException.java: Likewise.
9073         * java/net/BindException.java: Likewise.
9074         * java/net/ConnectException.java: Likewise.
9075         * java/net/MalformedURLException.java: Likewise.
9076         * java/net/NoRouteToHostException.java: Likewise.
9077         * java/net/ProtocolException.java: Likewise.
9078         * java/net/SocketException.java: Likewise.
9079         * java/net/UnknownHostException.java: Likewise.
9080         * java/net/UnknownServiceException.java: Likewise.
9081
9082         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9083         * java/io/CharConversionException.java: Likewise.
9084         * java/io/EOFException.java: Likewise.
9085         * java/io/FileNotFoundException.java: Likewise.
9086         * java/io/IOException.java: Likewise.
9087         * java/io/InterruptedIOException.java: Likewise.
9088         * java/io/InvalidClassException.java: Likewise.
9089         * java/io/InvalidObjectException.java: Likewise.
9090         * java/io/NotActiveException.java: Likewise.
9091         * java/io/NotSerializableException.java: Likewise.
9092         * java/io/ObjectStreamException.java: Likewise.
9093         * java/io/ObjectStreamConstants.java: Likewise.
9094         * java/io/OptionalDataException.java: Likewise.
9095         * java/io/PipedInputStream.java: Likewise.
9096         * java/io/PushbackInputStream.java: Likewise.
9097         * java/io/StreamCorruptedException.java: Likewise.
9098         * java/io/SyncFailedException.java: Likewise.
9099         * java/io/UTFDataFormatException.java: Likewise.
9100         * java/io/UnsupportedEncodingException.java: Likewise.
9101         * java/io/WriteAbortedException.java: Likewise.
9102
9103 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9104
9105         * java/text/ChoiceFormat.java: Update comments from Classpath.
9106         * java/text/ParseException.java (serialVersionUID): New
9107         field from Classpath.
9108         * java/text/ParseException.java: Update formatting & comments
9109         from Classpath.
9110
9111 2002-06-15  Tom Tromey  <tromey@redhat.com>
9112
9113         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9114         been read but none output by inflater.
9115         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9116         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9117         is_finished.
9118         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9119         version.
9120         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9121         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9122         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9123         version.
9124         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9125
9126 2002-06-13  Tom Tromey  <tromey@redhat.com>
9127
9128         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9129         true and OFFSET!=0.
9130         * java/lang/String.java (String(char[],int,int,boolean): New
9131         constructor.
9132         * java/lang/Long.java: Imported new version from Classpath.
9133         * java/lang/Number.java: Likewise.
9134         * java/lang/Integer.java: Likewise.
9135         * java/lang/Long.java: Likewise.
9136         * java/lang/Float.java: Likewise.
9137         * java/lang/Boolean.java: Likewise.
9138         * java/lang/Double.java: Likewise.
9139         * java/lang/Void.java: Likewise.
9140
9141 2002-06-12  Tom Tromey  <tromey@redhat.com>
9142
9143         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9144         Fixes PR libgcj/6652.
9145
9146 2002-06-10  Tom Tromey  <tromey@redhat.com>
9147
9148         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9149         (Class::getPackagePortion): Likewise.
9150         * java/lang/Class.java (desiredAssertionStatus): New method from
9151         Classpath.
9152         (getPackagePortion): Likewise.
9153         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9154         packageAssertionStatus, classAssertionStatus): New methods from
9155         Classpath.
9156         * java/lang/ClassLoader.java (defaultAssertionStatus,
9157         systemPackageAssertionStatus, packageAssertionStatus,
9158         systemClassAssertionStatus, classAssertionStatus): New fields from
9159         Classpath.
9160         (setDefaultAssertionStatus, setPackageAssertionStatus,
9161         setClassAssertionStatus, clearAssertionStatus): New methods from
9162         Classpath.
9163         * Makefile.in: Rebuilt.
9164         * Makefile.am (core_java_source_files): Added AssertionError.java.
9165         * java/lang/AssertionError.java: New from Classpath.
9166
9167 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9168
9169         * configure.host: Disable hash synchronization and slow_pthread_self
9170         for cygwin.
9171
9172 2002-06-06  Adam Megacz <adam@xwt.org>
9173
9174         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9175         locking, just like the Sun JVM does.
9176
9177 2002-06-05  H.J. Lu  (hjl@gnu.org)
9178
9179         * Makefile.am (libgcj_convenience.la): Revert the last change.
9180         (libgcj.la): Likewise.
9181         * Makefile.in: Regenerated.
9182
9183 2002-06-04  H.J. Lu  (hjl@gnu.org)
9184
9185         * Makefile.am (libgcj_convenience.la): New target.
9186         (libgcj.la): Depend on libgcj_convenience.la.
9187         * Makefile.in: Regenerated.
9188
9189 2002-06-04  H.J. Lu  (hjl@gnu.org)
9190
9191         * configure.in (--with-newlib): New option:
9192         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9193         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9194         Linux.
9195         * configure: Regenerated.
9196
9197 2002-06-04  Tom Tromey  <tromey@redhat.com>
9198
9199         * java/util/natTimeZone.cc: Include <stdio.h>.
9200
9201 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9202
9203         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9204         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9205         Set SIGNAL_HANDLER=include/s390-linux.h.
9206         * configure: Regenerate.
9207         * include/s390-linux.h: New file.
9208
9209 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9210
9211         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9212         not "stackTrace".
9213
9214 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9215
9216         Merge JDK 1.4 java.security changes from classpath.
9217
9218         * java/security/AccessControlException.java: Merge from Classpath.
9219         * java/security/AccessController.java: Likewise.
9220         * java/security/AllPermission.java: Likewise.
9221         * java/security/BasicPermission.java: Likewise.
9222         * java/security/Certificate.java: Likewise.
9223         * java/security/CodeSource.java: Likewise.
9224         * java/security/DigestException.java: Likewise.
9225         * java/security/DigestOutputStream.java: Likewise.
9226         * java/security/DomainCombiner.java: Likewise.
9227         * java/security/GeneralSecurityException.java: Likewise.
9228         * java/security/Guard.java: Likewise.
9229         * java/security/GuardedObject.java: Likewise.
9230         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9231         * java/security/InvalidKeyException.java: Likewise.
9232         * java/security/InvalidParameterException.java: Likewise.
9233         * java/security/Key.java: Likewise.
9234         * java/security/KeyException.java: Likewise.
9235         * java/security/KeyManagementException.java: Likewise.
9236         * java/security/KeyStoreException.java: Likewise.
9237         * java/security/MessageDigest.java: Likewise.
9238         * java/security/NoSuchAlgorithmException.java: Likewise.
9239         * java/security/NoSuchProviderException.java: Likewise.
9240         * java/security/Permission.java: Likewise.
9241         * java/security/PermissionCollection.java: Likewise.
9242         * java/security/Permissions.java: Likewise.
9243         * java/security/Policy.java: Likewise.
9244         * java/security/Principal.java: Likewise.
9245         * java/security/PrivateKey.java: Likewise.
9246         * java/security/PrivilegedAction.java: Likewise.
9247         * java/security/PrivilegedActionException.java: Likewise.
9248         * java/security/PrivilegedExceptionAction.java: Likewise.
9249         * java/security/ProtectionDomain.java: Likewise.
9250         * java/security/ProviderException.java: Likewise.
9251         * java/security/PublicKey.java: Likewise.
9252         * java/security/SecureClassLoader.java: Likewise.
9253         * java/security/SecurityPermission.java: Likewise.
9254         * java/security/SignatureException.java: Likewise.
9255         * java/security/UnrecoverableKeyException.java: Likewise.
9256         * java/security/UnresolvedPermission.java: Likewise.
9257         * java/security/acl/AclNotFoundException.java: Likewise.
9258         * java/security/acl/LastOwnerException.java: Likewise.
9259         * java/security/acl/NotOwnerException.java: Likewise.
9260         * java/security/cert/CRLException.java: Likewise.
9261         * java/security/cert/CertificateEncodingException.java: Likewise.
9262         * java/security/cert/CertificateException.java: Likewise.
9263         * java/security/cert/CertificateExpiredException.java: Likewise.
9264         * java/security/cert/CertificateFactory.java: Likewise.
9265         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9266         * java/security/cert/CertificateParsingException.java: Likewise.
9267         * java/security/spec/InvalidKeySpecException.java: Likewise.
9268         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9269
9270         * java/security/cert/CertPath.java: New file.
9271         * java/security/cert/CertPathBuilderException.java: New file.
9272         * java/security/cert/CertPathValidatorException.java: New file.
9273         * java/security/cert/CertStoreException.java: New file.
9274
9275         * Makefile.am: Add new CertPath classes.
9276         * Makefile.in: Rebuilt.
9277
9278         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9279
9280 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9281
9282         Merge JDK 1.4 exception chaining support from classpath.
9283
9284         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9285         (stackTraceBytes): Rename from stackTrace.
9286         * java/lang/Exception.java: Merge from classpath.
9287         * java/lang/StackTraceElement: New file from classpath.
9288         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9289         * Makefile.am: Add StackTraceElement.
9290         * Makefile.in: Rebuilt.
9291
9292 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9293
9294         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9295         they build first.
9296         * Makefile.in: Rebuilt.
9297
9298 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9299
9300         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9301         * configure.in: Likewise.
9302         * aclocal.m4: Regenerate.
9303         * configure: Regenerate.
9304
9305 2002-05-13  Tom Tromey  <tromey@redhat.com>
9306
9307         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9308         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9309         Include platform.h.
9310
9311         Fixes PR libgcj/6389:
9312         * Makefile.in: Rebuilt.
9313         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9314         * java/util/natTimeZone.cc: New file.
9315         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9316         * java/lang/System.java: Merged with Classpath.
9317         * java/lang/Runtime.java: Merged with Classpath.
9318         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9319         security check.
9320         (setIn0): Renamed from setIn; don't run security check.
9321         (setOut0): Renamed from setOut; don't run security check.
9322         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9323         init_properties): Moved to natRuntime.cc.
9324         Moved many includes to natRuntime.cc.
9325         (isWordsBigEndian): New method.
9326         * java/lang/natRuntime.cc: Include Long.h, also other includes
9327         previously in natSystem.cc.
9328         (maxMemory): New function.
9329         (exitInternal): Renamed from `_exit'.
9330         (exit): Removed.
9331         (init): Don't set finalize_on_exit.
9332         (exitInternal): Use `finalizeOnExit'.
9333         (file_encoding, getpwuid_adaptor): New functions from
9334         natSystem.cc.
9335         (insertSystemProperties): New method, renamed from
9336         System::init_properties.  Don't set user.timezone.
9337         (_load): Don't call checkLink.
9338         (execInternal): New method.
9339         (availableProcessors): Likewise.
9340         (nativeGetLibname): Likewise.
9341
9342 2002-05-11  Mark Wielaard  <mark@klomp.org>
9343
9344         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9345         space characters.
9346         (previous_internal): Likewise.
9347
9348 2002-05-09  Tom Tromey  <tromey@redhat.com>
9349
9350         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9351
9352         * java/util/ResourceBundle.java: New version from Classpath.
9353         * java/util/Locale.java: Likewise.
9354
9355 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9356
9357         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9358         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9359         LD_LIBRARY_PATH.
9360
9361 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9362
9363         * libjava/Makefile.am (all_java_source_files): New variable.
9364         (all_java_class_files): Likewise.
9365         .java.class: New rule.
9366         (CLEANFILES): Remove tmp-list.
9367         * libjava/Makefile.in: Regenerated.
9368
9369 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9370
9371         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9372         Append .exe to executable names.  Fix for cygwin.
9373
9374 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9375
9376         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9377         script entry, and set LD to it when configuring multilibs.
9378         * configure: Rebuilt.
9379
9380 2002-05-07  Tom Tromey  <tromey@redhat.com>
9381
9382         * java/lang/natString.cc (unintern): Fixed typo.
9383
9384 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9385
9386         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9387         with -no-install on *-*-cygwin*.
9388
9389 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9390
9391         * testsuite/lib/libjava.exp (test_libjava_from_source):
9392         Add comment explaining last patch
9393
9394 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9395
9396         * testsuite/lib/libjava.exp (test_libjava_from_source):
9397         Append .exe to executable names.  If no suffix is present,
9398         then ".exe" is added by default on win32.  Harmless
9399         elsewhere so always do it.
9400
9401 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9402             Tom Tromey  <tromey@redhat.com>
9403
9404         * java/lang/natSystem.cc (getSystemTimeZone): Use
9405         HAVE_UNDERSCORE_TIMEZONE.
9406         * include/config.h.in: Rebuilt.
9407         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9408         * aclocal.m4, configure: Rebuilt.
9409         * acinclude.m4: Run AC_EXEEXT.
9410         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9411         Add test for `_timezone'.
9412
9413 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9414
9415         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9416         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9417         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9418         * Makefile.in: Rebuilt.
9419
9420 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9421
9422         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9423         use sigaction instead of __libc_sigaction.
9424
9425 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9426
9427         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9428         (libjava_init): Use it to find libgcj.spec.
9429         (libjava_arguments): Likewise.
9430
9431 2002-05-02  David S. Miller  <davem@redhat.com>
9432
9433         PR bootstrap/6525
9434         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9435         __libc_sigaction on Sparc.
9436
9437 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9438
9439         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9440         sys/filio.h, if present.
9441
9442 2002-04-30  Tom Tromey  <tromey@redhat.com>
9443
9444         * java/io/BufferedReader.java (fill): Handle case where markPos
9445         point to ignored \n.  Fixes PR libgcj/6301.
9446
9447 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9448
9449         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9450
9451 2002-04-29  Adam King <aking@dreammechanics.com>
9452
9453         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9454         of file in APPEND mode.
9455
9456 2002-04-25  David S. Miller  <davem@redhat.com>
9457
9458         PR target/6422
9459         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9460         program counter to next program counter minus 8.  Update
9461         comments in this macro to explain why.
9462
9463 2002-04-26  Tom Tromey  <tromey@redhat.com>
9464
9465         * verify.cc (construct_primitive_array_type) [void_type]: New
9466         case.
9467         (branch_prepass): Added dummy entries for unused instruction
9468         values.
9469         (verify_instructions_0): Likewise.
9470         * interpret.cc (continue1): Comment fix.
9471         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9472         * Makefile.in: Rebuilt.
9473         * Makefile.am: Added -Wswitch-enum.
9474
9475 2002-04-24  Tom Tromey  <tromey@redhat.com>
9476
9477         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9478         correct length of UTF-8 encoded name.  Strip leading `/'.
9479         (_Jv_RegisterResource): Use _Jv_Malloc.
9480
9481 2002-04-23  Adam Megacz <adam@xwt.org>
9482
9483         * win32.cc, include/win32.cc (backtrace): Added this function
9484         because Win32 does not supply it.
9485
9486 2002-04-21  David S. Miller  <davem@redhat.com>
9487
9488         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9489         magic instruction reading sequence.
9490
9491 2002-04-21  Mark Wielaard  <mark@klomp.org>
9492
9493         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9494
9495 2002-04-19  David S. Miller  <davem@redhat.com>
9496
9497         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9498         arg.
9499         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9500         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9501         on Sparc too.
9502         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9503         for 64-bit sparc.
9504         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9505         * sysdeps/sparc/locks.h: New file.
9506         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9507         on all sparc Solaris configurations.  Set to
9508         include/dwarf2-signal.h on sparc Linux.
9509         * configure: Regenerate
9510         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9511
9512 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9513
9514         * configure: Rebuilt.
9515         * configure.in (backtrace): Function doesn't work on IA-64.
9516
9517 2002-04-17  Adam King <aking@dreammechanics.com>
9518
9519         * java/io/File.java (normalizePath): Add Win32 support for auto
9520         conversion of a '/' path separator to Win32's '\' separator.
9521
9522 2002-04-16  Tom Tromey  <tromey@redhat.com>
9523
9524         Fix for PR libgcj/6081:
9525         * Makefile.in: Rebuilt.
9526         * Makefile.am (install-data-local): Use GNU make trick to avoid
9527         shell limit.
9528
9529 2002-04-16  Adam King <aking@dreammechanics.com>
9530             Tom Tromey  <tromey@redhat.com>
9531
9532         * java/io/natFileWin32.cc (performList): Return the correct array
9533         type.  Don't duplicate the creation of a File since it's already
9534         done earlier in the method and the existing code would cause a
9535         ArrayStoreException.  Don't use fixed-size array.
9536         (_access, _stat, attr, getCanonicalPath, performMkdir,
9537         performRenameTo): Don't use fixed-size array.
9538         (getCanonicalPath): Use throw, not _Jv_Throw.
9539
9540 2002-04-15  DJ Delorie  <dj@redhat.com>
9541
9542         * configure.in: Allow building in $srcdir.
9543         * configure: Regenerated.
9544
9545 2002-04-14  Mark Wielaard <mark@klomp.org>
9546
9547         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9548         * java/net/natSocketImpl.cc (close): Likewise.
9549
9550 2002-04-14  Mark Wielaard <mark@klomp.org>
9551
9552         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9553
9554 2002-04-13  Adam King <aking@dreammechanics.com>
9555
9556         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9557         the f/F/d/D modifiers.
9558
9559 2002-04-12  Anthony Green  <green@redhat.com>
9560
9561         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9562         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9563         * Makefile.in: Rebuilt.
9564         * configure.in: Substitute gcc_version.
9565         * configure: Rebuilt.
9566
9567 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9568
9569         * configure.host: Set can_unwind_signal on hosts which support it.
9570         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9571         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9572         exceptions and can_unwind_signal isn't set.
9573         * configure: Rebuilt.
9574
9575 2002-04-11  Tom Tromey  <tromey@redhat.com>
9576
9577         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9578
9579 2002-04-11  Adam King <aking@dreammechanics.com>
9580             Tom Tromey  <tromey@redhat.com>
9581
9582         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9583         _Jv_ThrowNullPointerException): Mark as noreturn.
9584         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9585         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9586         fixes.
9587
9588 2002-04-10  Tom Tromey  <tromey@redhat.com>
9589
9590         * Makefile.in: Rebuilt.
9591         * Makefile.am (java/lang/Thread.h): Mark
9592         _Jv_AttachCurrentThreadAsDaemon as friend.
9593         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9594         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9595         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9596         function.
9597         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9598         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9599         (_Jv_JNI_InvokeFunctions): Added
9600         _Jv_JNI_AttachCurrentThreadAsDaemon.
9601         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9602         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9603         (JNI_CreateJavaVM): Likewise.
9604         (_Jv_JNI_AttachCurrentThread): Likewise.
9605         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9606         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9607         (_Jv_JNIFunctions): Initialize new fields.
9608         (_Jv_JNI_NewDirectByteBuffer): New function.
9609         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9610         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9611         * include/jni.h (JNI_VERSION_1_4): New macro.
9612         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9613         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9614         (JNINativeInterface::NewDirectByteBuffer): New field.
9615         (JNINativeInterface::GetDirectBufferAddress): New field.
9616         (JNINativeInterface::GetDirectBufferCapacity): New field.
9617         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9618         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9619         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9620
9621 2002-04-09  Tom Tromey  <tromey@redhat.com>
9622
9623         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9624
9625 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9626
9627         Fix for PR libgcj/6187:
9628         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9629         distance.
9630
9631 2002-04-07  Mark Wielaard <mark@klomp.org>
9632
9633         * java/util/AbstractMap.java (putAll): Use entrySet size.
9634         (toString): Explicitly use getKey() and getValue().
9635
9636 2002-04-07  Mark Wielaard <mark@klomp.org>
9637
9638         * java/util/Hashtable.java (contains): Remove NullPointer check.
9639         (containsValue): Add NullPointer check.
9640         (remove): Always throw NullPointerException when key
9641         is null.
9642
9643 2002-04-07  Adam King <aking@dreammechanics.com>
9644
9645         * java/lang/natSystem.cc (init_properties): Call new function
9646         _Jv_platform_initProperties.
9647         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9648         support for the System properties os.name, os.arch, os.version,
9649         user.name, user.home, and user.dir.
9650         * include/posix.h, include/win32.h, posix.cc: New function
9651         _Jv_platform_initProperties.
9652
9653 2002-04-06  Mark Wielaard <mark@klomp.org>
9654
9655         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9656
9657 2002-04-06  Mark Wielaard <mark@klomp.org>
9658
9659         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9660         all of the remaining elements.
9661         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9662         (removeRange): If toIndex == fromIndex do
9663         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9664         (removeAll): Always throw NullPointerException when collection is
9665         null.
9666         (retrainAll): Likewise.
9667
9668 2002-04-05  Mark Wielaard <mark@klomp.org>
9669
9670         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9671         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9672
9673 2002-04-05  Adam Megacz <adam@xwt.org>
9674
9675         * exception.cc (abort): added static modifier
9676
9677 2002-04-04  Adam Megacz <adam@xwt.org>
9678
9679         * include/win32.h (_Jv_platform_close_on_exec): added inline
9680         modifier.
9681
9682 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9683
9684         * configure.host: Add case statement to support generic port
9685         properties.  Add *-*-freebsd* section.
9686
9687 2002-04-04  Mark Wielaard  <mark@klomp.org>
9688
9689         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9690         test.
9691         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9692         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9693         that depend on awt code and BufferedByteOutputStream.interrupt.
9694
9695 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9696
9697         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9698         incorrect "hi" value when count > 40.
9699
9700 2002-04-03  Mark Wielaard  <mark@klomp.org>
9701
9702         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9703         ordering.
9704
9705 2002-04-02  Tom Tromey  <tromey@redhat.com>
9706
9707         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9708         not `0'.
9709
9710 2002-04-02  Mark Wielaard  <mark@klomp.org>
9711
9712         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9713         list of testsuite crashers.
9714
9715 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9716
9717         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9718         when resizing table.
9719
9720 2002-04-01  Mark Wielaard  <mark@klomp.org>
9721
9722         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9723         NegativeArraySizeException
9724         (clear(int)): Use sign extended shift.
9725         (flip(int)): Likewise.
9726         (get(int)): Likewise.
9727         (nextClearBit(int)): Likewise.
9728         (nextSetBit(int)): Likewise.
9729         (set(int)): Likewise.
9730
9731 2002-04-01  Mark Wielaard  <mark@klomp.org>
9732
9733         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9734         that can be compiled now and add testsuite crashers to ignore list.
9735
9736 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9737
9738         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9739
9740         * libgcj.spec.in: Override libgcc, not lib.
9741         * libgcj-test.spec.in: Likewise.
9742
9743 2002-03-29  Tom Tromey  <tromey@redhat.com>
9744
9745         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9746         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9747
9748 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9749
9750         * java/net/PlainDatagramSocketImpl.java
9751         (close): Use native implementation.
9752         (finalize): New method.
9753
9754         * java/net/PlainSocketImpl.java (finalize): New method.
9755
9756         * java/net/natPlainDatagramSocketImpl.cc
9757         (java/io/FileDescriptor.h): Don't include.
9758         (close): Implement method here.
9759         (create): Don't assign fd.
9760
9761         * java/net/natPlainSocketImpl.cc
9762         (java/io/FileDescriptor.h): Don't include.
9763         (create): Don't assign fd.
9764         (accept): Likewise.
9765         (close): Synchronize.
9766
9767 2002-03-27  Richard Henderson  <rth@redhat.com>
9768
9769         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9770
9771 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9772
9773         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9774         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9775         instead of syscall on IA-64.
9776         Add FIXME comment.
9777
9778 2002-03-27  Anthony Green  <green@redhat.com>
9779
9780         * libgcj.spec.in: Add CHECKREFSPEC.
9781         * configure.in: Ditto.
9782         * configure.host: Ditto.  Check references for xscale-elf.
9783         * configure: Rebuilt.
9784
9785 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9786
9787         * include/dwarf2-signal.h: Temporarily back out last change.
9788
9789 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9790
9791         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9792
9793 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9794
9795         * configure.in, configure: enable dwarf2-exception-style
9796         exception handling on IA-64.
9797         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9798         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9799         Add FIXME comment.
9800
9801 2002-03-25  Tom Tromey  <tromey@redhat.com>
9802
9803         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9804         (jv_convert_LDFLAGS): Likewise.
9805         (gij_LDFLAGS): Likewise.
9806         (rmic_LDFLAGS): Likewise.
9807         (rmiregistry_LDFLAGS): Likewise.
9808         * configure.in (THREADLDFLAGS): New subst; set correctly for
9809         *BSD.
9810
9811 2002-03-25  Tom Tromey  <tromey@redhat.com>
9812
9813         For PR libgcj/5303:
9814         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9815         and --version.
9816         (help): New method.
9817         (version): Likewise.
9818         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9819         "GNU".
9820         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9821         "GNU".
9822
9823 2002-03-25  Tom Tromey  <tromey@redhat.com>
9824
9825         * java/awt/Component.java (processEvent): Check ComponentEvent
9826         after KeyEvent.
9827
9828 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9829
9830         * java/io/PushbackReader.java: Reformat.
9831
9832         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9833         calculate correct number of bytes skipped.
9834
9835         Based on patch from Intel's ORP team:
9836         * java/io/PushbackInputStream.java (available): Calculate correct
9837         number of bytes in buffer.
9838         (read): Remove redundant bound check. Return bytes from both the
9839         buffer and the stream.
9840
9841 2002-03-24  Tom Tromey  <tromey@redhat.com>
9842
9843         * java/awt/TextComponent.java (TextComponent): Editable by
9844         default.
9845
9846         * java/awt/MenuItem.java (eventMask): No longer private.
9847         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9848         superclass if we didn't handle event.
9849         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9850         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9851         * java/awt/Choice.java (dispatchEventImpl): New method.
9852         * java/awt/List.java (dispatchEventImpl): New method.
9853         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9854         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9855         * java/awt/TextField.java (dispatchEventImpl): New method.
9856
9857 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9858
9859         * java/beans/IntrospectionException.java: Update to 1.4.
9860         * java/beans/PropertyVetoException.java: Ditto.
9861
9862 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9863
9864         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9865         Arrays.equals instead of ArrayHelper.equalsArray.
9866
9867 2002-03-24  C. Brian Jones <cbj@gnu.org>
9868
9869         * java/beans/Introspector.java: added new static final fields
9870         introduced in 1.2, lots of other updates remain to be done
9871
9872 2002-03-24  C. Brian Jones <cbj@gnu.org>
9873
9874         * java/beans/Introspector.java: reformatting
9875
9876 2002-03-24  C. Brian Jones <cbj@gnu.org>
9877
9878         * java/beans/Introspector.java: default beanInfoSearchPath will
9879         not include sun.beans.infos given we provide no such package and
9880         the API doesn't really require it; gnu.java.beans.info is the
9881         default.
9882
9883 2002-03-24  Mark Wielaard  <mark@klomp.org>
9884
9885         Thanks to Orp developers
9886         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9887         switch TRUE and FALSE return values.
9888
9889 2002-03-23  Tom Tromey  <tromey@redhat.com>
9890
9891         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9892         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9893
9894 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9895
9896         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9897         MONTH entry.  Fixes PR libgcj/6045.
9898
9899 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9900
9901         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9902
9903 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9904
9905         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9906         not release_set.
9907         * sysdep/powerpc/locks.h (write_barrier): New function.
9908         * sysdep/i386/locks.h (write_barrier): New function.
9909
9910 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9911
9912         * include/jni.h Use correct C comments.
9913
9914 2002-03-18  Tom Tromey  <tromey@redhat.com>
9915
9916         * include/jni.h (JNIIMPORT): New macro.
9917         (JNIEXPORT): Likewise.
9918         (JNICALL): Likewise.
9919
9920 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9921
9922         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9923         systems.
9924
9925 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9926
9927         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9928         INIT_SEGV: Use old_i386_kernel_sigaction.
9929         INIT_FP: Likewise.
9930
9931 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9932
9933         * java/lang/natSystem.cc (init_properties): Update VM version
9934         properties.
9935         * configure.in: Set GCJVERSION.
9936         * acconfig.h: Add GCJVERSION.
9937         * configure: Rebuilt.
9938         * include/config.h.in: Rebuilt.
9939
9940 2002-03-17  Anthony Green  <green@redhat.com>
9941
9942         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9943
9944 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9945
9946         Build a single libgcj.so, without separate gc and zlib libraries.
9947         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9948         SYS_ZLIBS if system zlib is used.
9949         * configure: Rebuilt.
9950         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9951         * Makefile.in: Rebuilt.
9952         * libtool-version: Increment .so version number.
9953
9954         * Makefile.am: Escape quotes in echo.
9955         * Makefile.in: Rebuilt.
9956
9957 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9958
9959         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9960         * Makefile.in: Rebuilt.
9961
9962 2002-03-15  Anthony Green  <green@redhat.com>
9963
9964         * configure.host (FILE): New macro for specifing File
9965         implementation.
9966         * configure: Rebuilt.
9967         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9968
9969 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9970
9971         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9972         already implicitly brought in from libgcj.la.
9973         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9974         * Makefile.in: Rebuilt.
9975
9976 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9977
9978         * THANKS: Fix punctuation, alphabetization.
9979
9980 2002-03-15  Tom Tromey  <tromey@redhat.com>
9981             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9982
9983         Fix for PR libgcj/5944.
9984         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9985
9986 2002-03-15  Anthony Green  <green@redhat.com>
9987
9988         * configure.in (tool_include_dir): Define.
9989         * configure: Rebuilt.
9990         * gcj/Makefile.am: Install libgcj-config.h relative to
9991         tool_include_dir.
9992         * gcj/Makefile: Rebuilt.
9993         * gcj/libgcj-config.h: Add warning comment.
9994
9995 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9996
9997         * configure.host (powerpc*-darwin*): Enable interpreter.
9998
9999 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10000
10001         * include/posix.h: Add multiple include header protection.
10002         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10003
10004 2002-03-10  Adam Megacz <adam@xwt.org>
10005
10006         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10007
10008 2002-03-10  Tom Tromey  <tromey@redhat.com>
10009
10010         * java/awt/GridLayout.java (layoutContainer): Handle case where
10011         there are no items in container.
10012
10013         * java/lang/Win32Process.java: Added comment.
10014         * include/posix.h (_Jv_platform_close_on_exec): New function.
10015         Include fcntl.h.
10016         * include/win32.h (_Jv_platform_close_on_exec): New function.
10017         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10018         flag.
10019         (accept): Likewise.
10020         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10021         close-on-exec flag.
10022         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10023         flag.
10024
10025 2002-03-09  Tom Tromey  <tromey@redhat.com>
10026
10027         * verify.cc (state::NO_STACK): New constant.
10028         (state::is_unmerged_ret_state): Handle case where stacktop is
10029         NO_STACK.
10030         (state::merge): Handle NO_STACK merges.
10031         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10032         for instruction following jsr.
10033         (stacktop, stackdepth): Removed unused variables.
10034         (pop_jump): Ignore case where all remaining states are skipped.
10035
10036 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10037
10038         * java/awt/ImageMediaEntry: Removed.
10039         * java/awt/MediaEntry: Removed.
10040
10041 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10042
10043         Hashtable synchronization for PowerPC.
10044         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10045         slow_pthread_self. Set up symlink for sysdeps directory.
10046         * configure: Rebuild.
10047         * configure.host: Document more shell variables. Set sysdeps_dir
10048         for most platforms. Set slow_pthread_self for i686. Set
10049         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10050         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10051         that memory barrier is emitted where required.
10052         * prims.cc: 64-bit align static primitive class instances.
10053         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10054         read_barrier() to enforce ordering of reads.
10055         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10056         primitives for PowerPC.
10057         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10058         moved from natObject.cc.
10059         * sysdep/alpha/locks.h: Likewise.
10060         * sysdep/ia64/locks.h: Likewise.
10061         * sysdep/generic/locks.h: Likewise.
10062         * java/lang/natObject.cc: Move thread synchronization primitives to
10063         system-dependent headers.
10064
10065 2002-03-09  Adam Megacz  <adam@xwt.org>
10066
10067         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10068         bytes read and no failure code returned.
10069
10070 2002-03-09  Adam Megacz  <adam@xwt.org>
10071
10072         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10073         definitions to simulate -mthreads.
10074
10075 2002-03-09  Adam Megacz  <adam@xwt.org>
10076
10077         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10078         avoid precision loss.
10079
10080 2002-03-09  Per Bothner  <per@bothner.com>
10081
10082         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10083         * gnu/gcj/xlib/XImage.java:  Likewise.
10084         * gnu/gcj/xlib/XColor.java:  Likewise.
10085
10086 2002-03-09  Adam Megacz  <adam@xwt.org>
10087
10088         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10089         IOException so that Throwable.printStackTrace fails correctly.
10090
10091 2002-03-08  Adam Megacz  <adam@xwt.org>
10092
10093         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10094         fixed.
10095
10096 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10097
10098         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10099         truncated to int.
10100
10101 2002-03-08  Tom Tromey  <tromey@redhat.com>
10102
10103         * include/jni.h: Include stdio.h.
10104
10105 2002-03-08  Tom Tromey  <tromey@redhat.com>
10106
10107         * posix.cc (internal_gettimeofday): New function.
10108         (_Jv_select): Use it.
10109
10110 2002-03-07  Adam Megacz  <adam@xwt.org>
10111
10112         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10113         WIN32, and added thunks for read(), write(), and close().
10114         * java/net/natPlainSocketImpl.cc (accept, read, read):
10115         Disabled timeouts on WIN32 pending discussion.
10116
10117 2002-03-07  Adam Megacz  <adam@xwt.org>
10118
10119         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10120         returns jlong. Added implementation
10121         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10122         returns jlong.
10123         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10124         returns jlong.
10125         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10126         returns jlong.
10127         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10128         _Jv_platform_gettimeofday signature.
10129
10130 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10131
10132         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10133         (read): Call recv() directly, not _Jv_recv().
10134
10135 2002-03-06  Tom Tromey  <tromey@redhat.com>
10136
10137         * java/io/natFileDescriptorEcos.cc (init): Don't use
10138         GetStdHandle.
10139         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10140         is negative.
10141         (init): Don't use GetStdHandle.
10142
10143         * include/config.h.in: Rebuilt.
10144         * configure: Rebuilt.
10145         * Makefile.in: Rebuilt.
10146
10147 2002-03-06  Adam Megacz  <adam@xwt.org>
10148
10149         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10150         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10151         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10152         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10153
10154 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10155
10156         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10157         the code for generating include/java-chartables.h.
10158         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10159         merge with Classpath.
10160         * scripts/unicode-muncher.pl: Copy from Classpath.
10161         * scritps/MakeCharTables.java: New file.
10162         * gnu/gcj/convert/Blocks-3.txt: New file.
10163         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10164         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10165         * gnu/java/lang/CharData.java: Copy from Classpath.
10166         * Makefile.am (ordinary_java_source_files): Add
10167         gnu/java/lang/CharData.java.
10168         * configure.in: Remove --enable-fast-character option.
10169         * java/lang/Character.java: Merge algorithms and Javadoc with
10170         Classpath.
10171         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10172         efficiently.
10173         * include/java-chardecomp.h: Regenerate.
10174         * include/java-chartables.h: Regenerate.
10175
10176 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10177
10178         * java/awt/MediaTracker.java: Implemented.
10179         * Makefile.am: Add MediaTracker.
10180         * Makefile.in: Rebuilt.
10181
10182 2002-03-05  Tom Tromey  <tromey@redhat.com>
10183
10184         * java/lang/natPosixProcess.cc (fail): Removed.
10185         (startProcess): Simplified error-handling.  Preserve
10186         LD_LIBRARY_PATH across exec.
10187
10188         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10189         AbstractMethodError.
10190
10191 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10192
10193         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10194         * Makefile.in: Rebuilt.
10195
10196 2002-03-03 Mark Wielaard <mark@klomp.org>
10197
10198         * java/util/Timer (TaskQueue.stop): set elements to zero.
10199
10200 2002-02-28  Anthony Green  <green@redhat.com>
10201
10202         * java/lang/reflect/natMethod.cc (result): Add void* element.
10203         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10204         constructor test.
10205
10206 2002-02-27  Adam Megacz <adam@xwt.org>
10207
10208         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10209         '#undef STRICT'.
10210
10211 2002-02-26  Tom Tromey  <tromey@redhat.com>
10212
10213         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10214         * gij.cc (version): Use __VERSION__.
10215         * include/config.h.in: Rebuilt.
10216         * acconfig.h (GCJVERSION): Removed.
10217         * configure: Rebuilt.
10218         * configure.in (GCJVERSION): Removed.
10219
10220 2002-02-26  Andreas Schwab  <schwab@suse.de>
10221
10222         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10223         glibcpp_CXX, since libjava uses even another CXX.
10224         * aclocal.m4, configure: Regenerated.
10225
10226 2002-02-26  Tom Tromey  <tromey@redhat.com>
10227
10228         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10229         `1'.
10230
10231 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10232
10233         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10234         dependency tracking for .java files.
10235         * Makefile.in: Rebuilt.
10236
10237 2002-02-24  Adam Megacz  <adam@xwt.org>
10238
10239         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10240         typo. Sorry.
10241
10242 2002-02-24  Adam Megacz  <adam@xwt.org>
10243
10244         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10245         for Win32, changed #ifdefs to check WIN32 instead of the
10246         (now-obsolete) USE_WINSOCK, and removed support for socket
10247         timeouts on Win32 pending further discussion.
10248
10249 2002-02-24  Adam Megacz  <adam@xwt.org>
10250
10251         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10252         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10253         delete
10254
10255 2002-02-24  Adam Megacz  <adam@xwt.org>
10256
10257         * java/lang/Win32Process.java: Created a dummy class to allow
10258         build process to run to completion.
10259
10260 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10261
10262         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10263         Define ffi_result union for ffi_call result.  Cast
10264         ffi_result members to jvalue.
10265
10266 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10267
10268         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10269         * testsuite/Makefile.in: Likewise.
10270
10271 2002-02-20  Per Bothner  <per@bothner.com>
10272
10273         * java/net/URL.java (getPath):  New JDK 1.3 method.
10274
10275         * java/net/URLStreamHandler.java (parseURL):
10276         It is wrong to prepend '/' to the file part of a relative url.
10277
10278         * java/net/URLStreamHandler.java (parseURL):
10279         Minor optizations - append '/' rather than "/".
10280
10281         * java/net/URLStreamHandler.java (parseURL):
10282         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10283         We probably should canonicalize for a context-relative url, though.
10284         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10285         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10286         (sameFile):  New method.  Uses canonicalizeFilename.
10287
10288 2002-02-22  Tom Tromey  <tromey@redhat.com>
10289
10290         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10291         java.vendor and java.vm.vendor.
10292         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10293         recent copyright date.
10294         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10295         * gij.cc (version): Print `Inc'.
10296
10297 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10298
10299         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10300         * aclocal.m4, configure: Rebuilt.
10301
10302 2002-02-20  Per Bothner  <per@bothner.com>
10303
10304         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10305         and/or output streams immediately here, instead of using File.exists.
10306         (inputStream, outputStream):  New fields to save open streams.
10307         (getInputStream, getOutputStream):  Use already-opened streams.
10308
10309 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10310
10311         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10312         Use it.
10313         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10314         * aclocal.m4, configure, Makefile.in: Rebuilt.
10315
10316 2002-02-19  Tom Tromey  <tromey@redhat.com>
10317
10318         Fix for PR libgcj/5696:
10319         * verify.cc (is_assignable_from_slow): Never call
10320         _Jv_IsAssignableFrom.
10321         (verify_instructions_0): Added new debug statement.
10322         (state::print): Print information about whether local has
10323         changed.
10324         (state::merge): Don't call note_variable when merging locals.
10325         (state::set_exception): Removed old FIXME comment.
10326
10327 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10328
10329         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10330         enable SO_BROADCAST.
10331
10332 2002-02-18  Jason Merrill  <jason@redhat.com>
10333
10334         * name-finder.cc (toHex): Use word mode, not long long.
10335
10336         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10337
10338 2002-02-15  Tom Tromey  <tromey@redhat.com>
10339
10340         Fix for PR libgcj/5695:
10341         * verify.cc (is_assignable_from_slow): Check to see if target is
10342         an Object before checking to see if source is an interface.
10343         (verify_instructions_0) [op_invokeinterface]: Handle case where
10344         we're making an interface call on Object.
10345
10346 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10347
10348         * Makefile.in: Rebuilt with Eric's change below.
10349
10350         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10351         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10352         Removed functions which are now implemented in Math.java.
10353
10354 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10355
10356         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10357         * Makefile.am (core_java_source_files): Add
10358         java/lang/StrictMath.java.
10359         * java/lang/Math.java: Merge with Classpath.
10360         * java/lang/StrictMath.java: New file - merge with Classpath.
10361
10362 2002-02-14  Mark Wielaard  <mark@klomp.org>
10363
10364         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10365         package as a workaround for gcj 3.0.x
10366
10367 2002-02-14  Mark Wielaard <mark@klomp.org>
10368
10369         * java/security/BasicPermission.java: extends with fully qualified
10370         classname as workaround for gcj 3.0.4.
10371
10372 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10373
10374         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10375         around gcj bug of wrong emitted qualifier for inherited method.
10376         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10377         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10378         constructor to reduce amount of emitted bytecode. While this
10379         happens to work around a jikes 1.15 bug, it is still a useful
10380         patch even for correct compilers.
10381         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10382         * gnu/java/rmi/server/UnicastRemoteCall.java
10383         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10384
10385 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10386
10387         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10388         * java/net/SocketImpl.java: Ditto.
10389         * java/rmi/server/RMIClassLoader.java: Ditto.
10390         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10391
10392 2002-02-14  Mark Wielaard <mark@klomp.org>
10393
10394         Thanks to Takashi Okamoto
10395         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10396         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10397         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10398
10399 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10400
10401         Fix for PR libgcj/5670:
10402         * verify.cc (is_assignable_from_slow): If `source' is interface,
10403         recursively look for merge with `target'.
10404
10405 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10406
10407         * include/jni.h: Fix typo.
10408
10409 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10410
10411         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10412         correctly.
10413
10414 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10415
10416         Fix for PR libgcj/5671:
10417         * verify.cc (state::merge): Handle case where we're merging
10418         against an interface.
10419
10420 2002-02-12  Tom Tromey  <tromey@redhat.com>
10421
10422         * exception.cc (std::abort): Mark as noreturn.
10423
10424 2002-02-12  Adam Megacz <adam@xwt.org>
10425
10426         * java/lang/Win32Process.java: Filled in a placeholder
10427         implementation so Win32 will build.
10428
10429 2002-02-12  Adam Megacz <adam@xwt.org>
10430
10431         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10432         * java/io/natFile.cc: Removed from repository.
10433         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10434
10435 2002-02-12  Adam Megacz <adam@xwt.org>
10436
10437         * win32.cc: Added two #includes to make win32.cc compile.
10438
10439 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10440
10441         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10442         declarations.
10443         (_Jv_InitGC): Don't bother locking, as this is always called from a
10444         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10445
10446 2002-02-11  Adam Megacz <adam@xwt.org>
10447
10448         * include/win32.h: Added _Jv_platform_gettimeofday.
10449         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10450
10451 2002-02-11  Adam Megacz <adam@xwt.org>
10452
10453         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10454         Added #undef STRICT to make windows.h and
10455         java/lang/reflect/Modifier.h cooperate.
10456
10457 2002-02-11  Adam Megacz <adam@xwt.org>
10458
10459         * java/io/natFileWin32.cc: Created a placeholder class with lots
10460         of FIXMEs.
10461
10462 2002-02-11  Adam Megacz <adam@xwt.org>
10463
10464         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10465         std::abort() to simply abort(). Also added "fake" std::abort() so
10466         we can #include unwind-pe.h without having to link against
10467         libstdc++-v3.
10468
10469 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10470
10471         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10472
10473 2002-02-08  Tom Tromey  <tromey@redhat.com>
10474
10475         * interpret.cc (convert): New function.
10476         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10477         convert.
10478         Include Long.h.
10479
10480 2002-02-08  Anthony Green  <green@redhat.com>
10481
10482         * configure.host: Add support for xscale-elf embedded target.
10483
10484 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10485
10486         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10487         dereferenced.
10488         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10489         frame.
10490
10491 2002-02-07  Tom Tromey  <tromey@redhat.com>
10492
10493         * java/io/natFile.cc (_access): Use __builtin_alloca.
10494         (_stat): Likewise.
10495         (attr): Likewise.
10496         (getCanonicalPath): Likewise.
10497         (performList): Likewise.
10498         (performMkdir): Likewise.
10499         (performSetReadOnly): Likewise.
10500         (performRenameTo): Likewise.
10501         (performSetLastModified): Likewise.
10502         (performCreate): Likewise.
10503         (performDelete): Likewise.
10504
10505 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10506
10507         * HACKING: Fix URL for the automake-gcj.
10508
10509 2002-02-07  Tom Tromey  <tromey@redhat.com>
10510
10511         * java/lang/natThrowable.cc: Updated copyright.
10512         * java/io/natFileWin32.cc: Updated copyright.
10513         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10514         * win32-threads.cc: Updated copyright.
10515         * name-finder.cc: Updated copyright.
10516         * include/name-finder.h: Updated copyright.
10517
10518         * include/name-finder.h: Conditionally include sys/wait.h.
10519         * include/config.h.in: Rebuilt.
10520
10521         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10522         Size buffer based on real size of string.
10523         (_stat): Likewise.
10524         (attr): Likewise.
10525         (getCanonicalPath): Likewise.
10526         (performList): Likewise.
10527         (performMkdir): Likewise.
10528         (performSetReadOnly): Likewise.
10529         (unixroot): Removed.
10530         (performRenameTo): Likewise.
10531         (performSetLastModified): Likewise.
10532         (performCreate): Likewise.
10533         (performDelete): Likewise.
10534         (performListRoots): Always return new array.
10535
10536         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10537         * win32.cc (win32_exception_handler): Now static.
10538         * include/win32.h (_Jv_platform_initialize): Declare.
10539         (win32_exception_handler): Don't declare.
10540         * java/lang/natSystem.cc (currentTimeMillis): Use
10541         _Jv_platform_gettimeofday.
10542         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10543         (_Jv_select): Use new name.
10544         (_Jv_platform_initialize): New function.
10545         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10546         _Jv_gettimeofday.
10547         (_Jv_platform_initialize): Declare.
10548
10549         * configure: Rebuilt.
10550         * configure.in: Removed unnecessary parens.
10551
10552 2002-02-06  Adam Megacz <adam@xwt.org>
10553
10554        * configure.in: Changed mingw) to *mingw*).
10555        * win32.cc: Created this file.
10556        * win32.h: Created this file.
10557        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10558        win32_exception_handler from prims.cc to win32.cc, added
10559        header in win32.h.
10560        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10561        longer needed now that we have platform.h
10562
10563 2002-02-06  Adam Megacz <adam@xwt.org>
10564
10565         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10566         use uint<n>_t instead of LONG and BYTE
10567
10568 2002-02-06  Adam Megacz <adam@xwt.org>
10569
10570         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10571
10572 2002-02-06  Anthony Green  <green@redhat.com>
10573
10574         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10575         Implement missing method stubs.
10576         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10577         targets.
10578         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10579         concept of timezones.
10580         (init_properties): Don't refer to _Jv_Environment_Properties
10581         when this feature is not available.
10582         * include/config.h.in: Rebuilt.
10583         * acconfig.h: Add DISABLE_MAIN_ARGS.
10584         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10585         * configure: Rebuilt.
10586         * configure.in: Add --disable-main-args option.  Test for
10587           opendir function.  Replace AC_CHECK_SIZEOF with
10588           AC_COMPILE_CHECK_SIZEOF.
10589         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10590         * aclocal.m4: Rebuilt.
10591         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10592
10593 2002-02-06  Tom Tromey  <tromey@redhat.com>
10594
10595         * verify.cc (require_array_type): If argument is a null array of
10596         references, return null as the element type.
10597
10598 2002-02-06  Mark Wielaard  <mark@klomp.org>
10599
10600         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10601         duplicate of a wide type.
10602
10603 2002-02-06  Tom Tromey  <tromey@redhat.com>
10604
10605         * verify.cc (type::isnull): New method.
10606         (require_array_type): Handle case where array is null.
10607         (verify_instructions_0) [op_arraylength]: Likewise.
10608
10609 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10610
10611         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10612         Symlink PLATFORMH to platform.h.
10613         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10614         PLATFORMOBJS.
10615         * java/lang/natSystem.cc: #include platform.h not posix.h.
10616         * Makefile.in: Rebuilt with libgcj automake.
10617         * configure: Rebuilt.
10618
10619 2002-02-05  Richard Henderson  <rth@redhat.com>
10620
10621         * Makefile.in: Undo munging last change.
10622
10623 2002-02-04  Adam Megacz <adam@xwt.org>
10624
10625         * win32.cc: Created it.
10626         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10627         which is set to posix.cc or win32.cc.
10628         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10629
10630 2002-02-04  Adam Megacz <adam@xwt.org>
10631
10632         * configure.in: Corrected mingw case branches; added * before
10633         and after.
10634
10635 2002-02-04  Adam Megacz <adam@xwt.org>
10636
10637         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10638         if compiling for win32
10639
10640 2002-02-04  Adam Megacz <adam@xwt.org>
10641
10642         * win32-threads.cc: #undef STRICT after gc.h inclusion
10643
10644 2002-02-02  Tom Tromey  <tromey@redhat.com>
10645
10646         * Makefile.in: Rebuilt.
10647
10648 2002-02-02  Jason Merrill  <jason@redhat.com>
10649
10650         * Makefile.am (clean-nat): New target.
10651
10652 2002-02-02  Tom Tromey  <tromey@redhat.com>
10653
10654         * java/io/natFile.cc: Removed old "FIXME" comments.
10655
10656 2002-02-01  Tom Tromey  <tromey@redhat.com>
10657
10658         * java/lang/natPosixProcess.cc (myclose): New function.
10659         (fail): Use it.
10660         (startProcess): Likewise.
10661
10662 2002-02-01  Adam Megacz <adam@xwt.org>
10663
10664         * prims.cc: Added #undef STRICT after #include<windows.h>.
10665
10666 2002-02-01  Adam Megacz <adam@xwt.org>
10667
10668         * prims.cc
10669         (_Jv_CreateJavaVM): We now use WIN32 instead of
10670         USE_WIN32_SIGNALLING and USE_WINSOCK.
10671         (win32_exception_handler): Now throws an exception out of
10672         the signal handler; assumes SJLJ.
10673
10674 2002-02-01  Adam Megacz <adam@xwt.org>
10675
10676         * win32-threads.cc:
10677         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10678         wait() algorithm to make it safe.
10679         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10680         Added lazy creation of Win32 Events for better performance
10681         (really_start): This now uses GC_CreateThread so boehm-gc
10682         knows about new threads even when statically linked.
10683
10684 2002-02-01  Adam Megacz <adam@xwt.org>
10685
10686         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10687         enable safer wait() algorithm.
10688         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10689         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10690         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10691         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10692         instead of mutex.
10693         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10694
10695 2002-02-01  Adam Megacz <adam@xwt.org>
10696
10697         * configure.in: Added support for mingw.
10698         * java/lang/Win32Process.java: Created as empty file.
10699         * java/lang/natWin32Process.cc: Created as empty file.
10700
10701 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10702
10703         PR java/4972
10704         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10705         for libiconv in LIBICONV variable.
10706         * configure: Regenerated.
10707
10708 2002-01-31  Tom Tromey  <tromey@redhat.com>
10709
10710         * verify.cc (state::enter_subroutine): New method.
10711         (handle_jsr_insn): Use it.
10712         (state::merge): When processing a `ret', correctly use
10713         subroutine's state to determine which local variables have
10714         changed.
10715         (push_exception_jump): Don't let stack overflow.
10716
10717 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10718
10719         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10720         --version output.
10721
10722 2002-01-30  Tom Tromey  <tromey@redhat.com>
10723
10724         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10725         parameter for `recv' return type.
10726
10727         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10728         (state::merge): ... not here.
10729         (subr_entry_info): New structure.
10730         (entry_points): New field.
10731         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10732         entry_points.
10733
10734 2002-01-29  Tom Tromey  <tromey@redhat.com>
10735
10736         * java/awt/List.java (addNotify): Correctly check to see if peer
10737         does not exist.
10738
10739         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10740         to compute height of each cell, and number of columns to compute
10741         width of each cell.
10742         * java/awt/Window.java (getOwnedWindows): Don't return null.
10743         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10744         of component.  Increment x using horizontal gap, not vertical
10745         gap.
10746
10747 2002-01-28  Tom Tromey  <tromey@redhat.com>
10748
10749         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10750         `nargs' byte is number of words, not number of arguments.
10751
10752 2002-01-27  Tom Tromey  <tromey@redhat.com>
10753
10754         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10755         (when): Likewise.
10756         * java/awt/event/InputEvent.java (modifiers, when): Now
10757         package-private.
10758
10759         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10760         and to-do list.
10761         (state::merge): Use current class' class loader.
10762         (state::print): Print subroutine.
10763         (state::merge): Don't look at subroutine of unmerged `ret'.
10764
10765 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10766
10767         * nogc.cc: Remove warnings.
10768         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10769         New functions.
10770
10771 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10772
10773         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10774         int, int):  Remove empty "if" statement to work around compiler bug.
10775         (newPixels(int[], ColorModel, int, int): Likewise.
10776
10777 2002-01-25  Per Bothner  <per@bothner.com>
10778
10779         * verify.cc (verify_fail):  Change from being a top-level function
10780         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10781         Pass the current verifier to type: and state: methods as needed,
10782         for better error messages, and for resolve.
10783         (resolve):  Pass current class's loader for Class.forName and
10784         _Jv_FindClassFromSignature, rather than using the default loader.
10785         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10786         (get_type_val_for_signature):  Make non-static.
10787         (various methods):  Pass start_PC implicitly, not explicitly.
10788
10789 2002-01-25  Tom Tromey  <tromey@redhat.com>
10790
10791         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10792         loop termination condition.
10793         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10794         width.
10795
10796 2002-01-24  Tom Tromey  <tromey@redhat.com>
10797
10798         * java/awt/Shape.java: Merged with Classpath.
10799         * java/awt/Scrollbar.java: Merged with Classpath.
10800
10801         * java/awt/Container.java (addNotify): Unconditionally call
10802         addNotifyContainerChildren and superclass addNotify.
10803
10804         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10805         getAlpha, not getBlue.
10806
10807 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10808
10809         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10810
10811         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10812         (grabPixels(long)): Wait to be notified that the ImageProducer has
10813         completed.
10814
10815 2002-01-24  Per Bothner  <per@bothner.com>
10816
10817         * verify.cc (is_assignable_from_slow): If target is an interface,
10818         we must still check the source's superclass before giving up.
10819
10820 2002-01-24  Tom Tromey  <tromey@redhat.com>
10821
10822         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10823
10824 2002-01-23  Tom Tromey  <tromey@redhat.com>
10825
10826         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10827         `else'.
10828
10829         * Makefile.in: Rebuilt.
10830         * Makefile.am (awt_java_source_files): Added new files.
10831         * java/awt/Toolkit.java: Merged with Classpath.
10832         * java/awt/PrintGraphics.java: New file from Classpath.
10833         * java/awt/PrintJob.java: New file from Classpath.
10834         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10835         * java/awt/datatransfer/ClipboardOwner.java: New file from
10836         Classpath.
10837         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10838         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10839         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10840         Classpath.
10841         * java/awt/datatransfer/StringSelection.java: New file from
10842         Classpath.
10843         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10844         Classpath.
10845         * java/awt/datatransfer/Transferable.java: New file from
10846         Classpath.
10847         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10848         from Classpath.
10849
10850         * Makefile.in: Rebuilt.
10851         * Makefile.am (awt_java_source_files): Added new files.
10852         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10853         Classpath.
10854         * java/awt/image/CropImageFilter.java: New file from Classpath.
10855         * java/awt/image/FilteredImageSource.java: New file from
10856         Classpath.
10857         * java/awt/image/ImageFilter.java: New file from Classpath.
10858         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10859         * java/awt/image/PixelGrabber.java: New file from Classpath.
10860         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10861         * java/awt/image/ReplicateScaleFilter.java: New file from
10862         Classpath.
10863         * java/awt/image/ImageProducer.java: Replaced with Classpath
10864         version.
10865         * java/awt/image/ImageObserver.java: Replaced with Classpath
10866         version.
10867         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10868         version.
10869         * java/awt/GridBagConstraints.java (clone): Catch
10870         CloneNotSupportedException.
10871
10872 2002-01-23  Per Bothner  <per@bothner.com>
10873
10874         * java/lang/reflect/natField.cc (setAddr):  New function.
10875         Calls getAddr and then checks that the field isn't final.
10876         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10877         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10878         (set):  Call setAddr before check that new value has right type,
10879         to better match specified semantics.
10880
10881 2002-01-22  Tom Tromey  <tromey@redhat.com>
10882
10883         * java/awt/TextField.java: Replaced with Classpath version.
10884         * java/awt/TextArea.java: Replaced with Classpath version.
10885         * java/awt/TextComponent.java: Replaced with Classpath version.
10886
10887         * java/awt/GridBagConstraints.java: Updated copyright.
10888
10889 2002-01-22  Mark Wielaard <mark@klomp.org>
10890
10891         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10892         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10893         java/awt/Dialog.java java/awt/FileDialog.java
10894         java/awt/Font.java java/awt/FontMetrics.java
10895         java/awt/Image.java java/awt/ImageMediaEntry.java
10896         java/awt/Insets.java java/awt/List.java
10897         java/awt/MediaEntry.java java/awt/MediaTracker.java
10898         java/awt/Menu.java java/awt/MenuBar.java
10899         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10900         java/awt/PaintContext.java java/awt/Panel.java
10901         java/awt/PopupMenu.java java/awt/SystemColor.java
10902         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10903         java/awt/peer/CheckboxMenuItemPeer.java
10904         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10905         java/awt/peer/ComponentPeer.java
10906         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10907         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10908         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10909         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10910         java/awt/peer/MenuBarPeer.java
10911         java/awt/peer/MenuComponentPeer.java
10912         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10913         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10914         java/awt/peer/ScrollPanePeer.java
10915         java/awt/peer/ScrollbarPeer.java
10916         java/awt/peer/TextAreaPeer.java
10917         java/awt/peer/TextComponentPeer.java
10918         java/awt/peer/TextFieldPeer.java
10919         java/awt/peer/WindowPeer.java: Add license clarification.
10920
10921 2002-01-22  Mark Wielaard <mark@klomp.org>
10922
10923         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10924         gnu/gcj/runtime/StringBuffer.java
10925         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10926         gnu/java/awt/ComponentDataBlitOp.java
10927         gnu/java/awt/GLightweightPeer.java
10928         gnu/java/beans/BeanInfoEmbryo.java
10929         gnu/java/beans/EmptyBeanInfo.java
10930         gnu/java/beans/ExplicitBeanInfo.java
10931         gnu/java/beans/IntrospectionIncubator.java
10932         gnu/java/beans/editors/ColorEditor.java
10933         gnu/java/beans/editors/FontEditor.java
10934         gnu/java/beans/editors/NativeBooleanEditor.java
10935         gnu/java/beans/editors/NativeByteEditor.java
10936         gnu/java/beans/editors/NativeDoubleEditor.java
10937         gnu/java/beans/editors/NativeFloatEditor.java
10938         gnu/java/beans/editors/NativeIntEditor.java
10939         gnu/java/beans/editors/NativeLongEditor.java
10940         gnu/java/beans/editors/NativeShortEditor.java
10941         gnu/java/beans/editors/StringEditor.java
10942         gnu/java/beans/info/ComponentBeanInfo.java
10943         gnu/java/io/ClassLoaderObjectInputStream.java
10944         gnu/java/io/NullOutputStream.java
10945         gnu/java/io/ObjectIdentityWrapper.java
10946         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10947         gnu/java/lang/reflect/TypeSignature.java
10948         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10949         gnu/java/locale/Calendar_en.java
10950         gnu/java/locale/Calendar_nl.java
10951         gnu/java/locale/LocaleInformation.java
10952         gnu/java/locale/LocaleInformation_de.java
10953         gnu/java/locale/LocaleInformation_en.java
10954         gnu/java/locale/LocaleInformation_nl.java
10955         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10956         gnu/java/rmi/registry/RegistryImpl.java
10957         gnu/java/rmi/rmic/Compile_gcj.java
10958         gnu/java/rmi/rmic/Compiler.java
10959         gnu/java/rmi/rmic/CompilerProcess.java
10960         gnu/java/rmi/rmic/RMIC.java
10961         gnu/java/rmi/rmic/TabbedWriter.java
10962         gnu/java/rmi/server/ProtocolConstants.java
10963         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10964         gnu/java/rmi/server/RMIHashes.java
10965         gnu/java/rmi/server/RMIObjectInputStream.java
10966         gnu/java/rmi/server/RMIObjectOutputStream.java
10967         gnu/java/rmi/server/UnicastConnection.java
10968         gnu/java/rmi/server/UnicastConnectionManager.java
10969         gnu/java/rmi/server/UnicastRef.java
10970         gnu/java/rmi/server/UnicastRemoteCall.java
10971         gnu/java/rmi/server/UnicastRemoteStub.java
10972         gnu/java/rmi/server/UnicastServer.java
10973         gnu/java/rmi/server/UnicastServerRef.java
10974         gnu/java/security/provider/DefaultPolicy.java
10975         gnu/java/security/provider/Gnu.java
10976         gnu/java/security/provider/SHA.java
10977         gnu/java/security/provider/SHA1PRNG.java
10978         gnu/java/text/BaseBreakIterator.java
10979         gnu/java/text/CharacterBreakIterator.java
10980         gnu/java/text/LineBreakIterator.java
10981         gnu/java/text/SentenceBreakIterator.java
10982         gnu/java/text/WordBreakIterator.java
10983         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10984         java/applet/AppletContext.java java/applet/AppletStub.java
10985         java/applet/AudioClip.java java/awt/AWTError.java
10986         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10987         java/awt/AWTException.java java/awt/AWTPermission.java
10988         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10989         java/awt/Button.java java/awt/Canvas.java
10990         java/awt/CardLayout.java java/awt/Checkbox.java
10991         java/awt/CheckboxGroup.java java/awt/Component.java
10992         java/awt/ComponentOrientation.java java/awt/Container.java
10993         java/awt/Dimension.java java/awt/Event.java
10994         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10995         java/awt/FlowLayout.java java/awt/Frame.java
10996         java/awt/Graphics.java java/awt/Graphics2D.java
10997         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10998         java/awt/IllegalComponentStateException.java
10999         java/awt/ItemSelectable.java java/awt/Label.java
11000         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11001         java/awt/MenuComponent.java java/awt/MenuItem.java
11002         java/awt/Paint.java java/awt/Point.java
11003         java/awt/Rectangle.java java/awt/RenderingHints.java
11004         java/awt/Transparency.java java/awt/Window.java
11005         java/awt/color/ColorSpace.java
11006         java/awt/color/ICC_ColorSpace.java
11007         java/awt/color/ICC_Profile.java
11008         java/awt/event/HierarchyBoundsAdapter.java
11009         java/awt/event/HierarchyBoundsListener.java
11010         java/awt/event/HierarchyEvent.java
11011         java/awt/event/HierarchyListener.java
11012         java/awt/geom/AffineTransform.java
11013         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11014         java/awt/geom/IllegalPathStateException.java
11015         java/awt/geom/Line2D.java
11016         java/awt/geom/NoninvertibleTransformException.java
11017         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11018         java/awt/geom/Rectangle2D.java
11019         java/awt/geom/RectangularShape.java
11020         java/awt/geom/RoundRectangle2D.java
11021         java/awt/image/BufferedImage.java
11022         java/awt/image/ColorModel.java
11023         java/awt/image/ComponentColorModel.java
11024         java/awt/image/ComponentSampleModel.java
11025         java/awt/image/DataBuffer.java
11026         java/awt/image/DataBufferByte.java
11027         java/awt/image/DataBufferInt.java
11028         java/awt/image/DataBufferUShort.java
11029         java/awt/image/DirectColorModel.java
11030         java/awt/image/PackedColorModel.java
11031         java/awt/image/Raster.java java/awt/image/RasterOp.java
11032         java/awt/image/SampleModel.java
11033         java/awt/image/SinglePixelPackedSampleModel.java
11034         java/awt/image/WritableRaster.java
11035         java/beans/AppletInitializer.java
11036         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11037         java/beans/Beans.java java/beans/Customizer.java
11038         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11039         java/beans/FeatureDescriptor.java
11040         java/beans/IndexedPropertyDescriptor.java
11041         java/beans/IntrospectionException.java
11042         java/beans/Introspector.java java/beans/MethodDescriptor.java
11043         java/beans/ParameterDescriptor.java
11044         java/beans/PropertyChangeEvent.java
11045         java/beans/PropertyChangeListener.java
11046         java/beans/PropertyChangeSupport.java
11047         java/beans/PropertyDescriptor.java
11048         java/beans/PropertyEditor.java
11049         java/beans/PropertyEditorManager.java
11050         java/beans/PropertyEditorSupport.java
11051         java/beans/PropertyVetoException.java
11052         java/beans/SimpleBeanInfo.java
11053         java/beans/VetoableChangeListener.java
11054         java/beans/VetoableChangeSupport.java
11055         java/beans/Visibility.java
11056         java/beans/beancontext/BeanContext.java
11057         java/beans/beancontext/BeanContextChild.java
11058         java/beans/beancontext/BeanContextChildComponentProxy.java
11059         java/beans/beancontext/BeanContextChildSupport.java
11060         java/beans/beancontext/BeanContextContainerProxy.java
11061         java/beans/beancontext/BeanContextEvent.java
11062         java/beans/beancontext/BeanContextMembershipEvent.java
11063         java/beans/beancontext/BeanContextMembershipListener.java
11064         java/beans/beancontext/BeanContextProxy.java
11065         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11066         java/beans/beancontext/BeanContextServiceProvider.java
11067         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11068         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11069         java/beans/beancontext/BeanContextServiceRevokedListener.java
11070         java/beans/beancontext/BeanContextServices.java
11071         java/beans/beancontext/BeanContextServicesListener.java
11072         java/io/BufferedInputStream.java
11073         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11074         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11075         java/io/ByteArrayOutputStream.java
11076         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11077         java/io/CharConversionException.java java/io/DataInput.java
11078         java/io/DataInputStream.java java/io/DataOutput.java
11079         java/io/EOFException.java java/io/Externalizable.java
11080         java/io/FileFilter.java java/io/FileNotFoundException.java
11081         java/io/FilePermission.java java/io/FileReader.java
11082         java/io/FileWriter.java java/io/FilenameFilter.java
11083         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11084         java/io/FilterReader.java java/io/FilterWriter.java
11085         java/io/IOException.java java/io/InputStream.java
11086         java/io/InterruptedIOException.java
11087         java/io/InvalidClassException.java
11088         java/io/InvalidObjectException.java
11089         java/io/NotActiveException.java
11090         java/io/NotSerializableException.java java/io/ObjectInput.java
11091         java/io/ObjectInputStream.java
11092         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11093         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11094         java/io/ObjectStreamConstants.java
11095         java/io/ObjectStreamException.java
11096         java/io/ObjectStreamField.java
11097         java/io/OptionalDataException.java java/io/OutputStream.java
11098         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11099         java/io/PipedReader.java java/io/PipedWriter.java
11100         java/io/PrintWriter.java java/io/PushbackInputStream.java
11101         java/io/PushbackReader.java java/io/Reader.java
11102         java/io/SequenceInputStream.java java/io/Serializable.java
11103         java/io/SerializablePermission.java
11104         java/io/StreamCorruptedException.java
11105         java/io/StreamTokenizer.java
11106         java/io/StringBufferInputStream.java java/io/StringReader.java
11107         java/io/StringWriter.java java/io/SyncFailedException.java
11108         java/io/UTFDataFormatException.java
11109         java/io/UnsupportedEncodingException.java
11110         java/io/WriteAbortedException.java java/io/Writer.java
11111         java/lang/AbstractMethodError.java
11112         java/lang/ArithmeticException.java
11113         java/lang/ArrayIndexOutOfBoundsException.java
11114         java/lang/ArrayStoreException.java java/lang/Boolean.java
11115         java/lang/Byte.java java/lang/CharSequence.java
11116         java/lang/ClassCastException.java
11117         java/lang/ClassCircularityError.java
11118         java/lang/ClassFormatError.java
11119         java/lang/ClassNotFoundException.java
11120         java/lang/CloneNotSupportedException.java
11121         java/lang/Cloneable.java java/lang/Comparable.java
11122         java/lang/Compiler.java java/lang/Double.java
11123         java/lang/Error.java java/lang/Exception.java
11124         java/lang/ExceptionInInitializerError.java
11125         java/lang/Float.java java/lang/IllegalAccessError.java
11126         java/lang/IllegalAccessException.java
11127         java/lang/IllegalArgumentException.java
11128         java/lang/IllegalMonitorStateException.java
11129         java/lang/IllegalStateException.java
11130         java/lang/IllegalThreadStateException.java
11131         java/lang/IncompatibleClassChangeError.java
11132         java/lang/IndexOutOfBoundsException.java
11133         java/lang/InheritableThreadLocal.java
11134         java/lang/InstantiationError.java
11135         java/lang/InstantiationException.java java/lang/Integer.java
11136         java/lang/InternalError.java
11137         java/lang/InterruptedException.java
11138         java/lang/LinkageError.java java/lang/Long.java
11139         java/lang/NegativeArraySizeException.java
11140         java/lang/NoClassDefFoundError.java
11141         java/lang/NoSuchFieldError.java
11142         java/lang/NoSuchFieldException.java
11143         java/lang/NoSuchMethodError.java
11144         java/lang/NoSuchMethodException.java
11145         java/lang/NullPointerException.java java/lang/Number.java
11146         java/lang/NumberFormatException.java
11147         java/lang/OutOfMemoryError.java java/lang/Package.java
11148         java/lang/Process.java java/lang/Runnable.java
11149         java/lang/RuntimeException.java
11150         java/lang/RuntimePermission.java
11151         java/lang/SecurityException.java
11152         java/lang/SecurityManager.java java/lang/Short.java
11153         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11154         java/lang/StringIndexOutOfBoundsException.java
11155         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11156         java/lang/ThreadLocal.java java/lang/UnknownError.java
11157         java/lang/UnsatisfiedLinkError.java
11158         java/lang/UnsupportedClassVersionError.java
11159         java/lang/UnsupportedOperationException.java
11160         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11161         java/lang/Void.java java/lang/ref/PhantomReference.java
11162         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11163         java/lang/ref/SoftReference.java
11164         java/lang/ref/WeakReference.java
11165         java/lang/reflect/AccessibleObject.java
11166         java/lang/reflect/InvocationTargetException.java
11167         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11168         java/lang/reflect/ReflectPermission.java
11169         java/math/BigDecimal.java java/math/BigInteger.java
11170         java/net/Authenticator.java java/net/BindException.java
11171         java/net/ConnectException.java java/net/ContentHandler.java
11172         java/net/ContentHandlerFactory.java
11173         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11174         java/net/FileNameMap.java java/net/MalformedURLException.java
11175         java/net/MulticastSocket.java java/net/NetPermission.java
11176         java/net/NoRouteToHostException.java
11177         java/net/PasswordAuthentication.java
11178         java/net/ProtocolException.java java/net/ServerSocket.java
11179         java/net/Socket.java java/net/SocketException.java
11180         java/net/SocketImpl.java java/net/SocketImplFactory.java
11181         java/net/SocketOptions.java java/net/SocketPermission.java
11182         java/net/URLDecoder.java java/net/URLEncoder.java
11183         java/net/URLStreamHandlerFactory.java
11184         java/net/UnknownHostException.java
11185         java/net/UnknownServiceException.java
11186         java/rmi/AccessException.java
11187         java/rmi/AlreadyBoundException.java
11188         java/rmi/ConnectException.java
11189         java/rmi/ConnectIOException.java
11190         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11191         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11192         java/rmi/NotBoundException.java
11193         java/rmi/RMISecurityException.java
11194         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11195         java/rmi/RemoteException.java java/rmi/ServerError.java
11196         java/rmi/ServerException.java
11197         java/rmi/ServerRuntimeException.java
11198         java/rmi/StubNotFoundException.java
11199         java/rmi/UnexpectedException.java
11200         java/rmi/UnknownHostException.java
11201         java/rmi/UnmarshalException.java
11202         java/rmi/activation/Activatable.java
11203         java/rmi/activation/ActivateFailedException.java
11204         java/rmi/activation/ActivationDesc.java
11205         java/rmi/activation/ActivationException.java
11206         java/rmi/activation/ActivationGroup.java
11207         java/rmi/activation/ActivationGroupDesc.java
11208         java/rmi/activation/ActivationGroupID.java
11209         java/rmi/activation/ActivationID.java
11210         java/rmi/activation/ActivationInstantiator.java
11211         java/rmi/activation/ActivationMonitor.java
11212         java/rmi/activation/ActivationSystem.java
11213         java/rmi/activation/Activator.java
11214         java/rmi/activation/UnknownGroupException.java
11215         java/rmi/activation/UnknownObjectException.java
11216         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11217         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11218         java/rmi/registry/Registry.java
11219         java/rmi/registry/RegistryHandler.java
11220         java/rmi/server/ExportException.java
11221         java/rmi/server/LoaderHandler.java
11222         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11223         java/rmi/server/Operation.java
11224         java/rmi/server/RMIClassLoader.java
11225         java/rmi/server/RMIClientSocketFactory.java
11226         java/rmi/server/RMIFailureHandler.java
11227         java/rmi/server/RMIServerSocketFactory.java
11228         java/rmi/server/RMISocketFactory.java
11229         java/rmi/server/RemoteCall.java
11230         java/rmi/server/RemoteObject.java
11231         java/rmi/server/RemoteRef.java
11232         java/rmi/server/RemoteServer.java
11233         java/rmi/server/RemoteStub.java
11234         java/rmi/server/ServerCloneException.java
11235         java/rmi/server/ServerNotActiveException.java
11236         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11237         java/rmi/server/SkeletonMismatchException.java
11238         java/rmi/server/SkeletonNotFoundException.java
11239         java/rmi/server/SocketSecurityException.java
11240         java/rmi/server/UID.java
11241         java/rmi/server/UnicastRemoteObject.java
11242         java/rmi/server/Unreferenced.java
11243         java/security/AccessControlContext.java
11244         java/security/AccessControlException.java
11245         java/security/AccessController.java
11246         java/security/AlgorithmParameterGenerator.java
11247         java/security/AlgorithmParameterGeneratorSpi.java
11248         java/security/AlgorithmParameters.java
11249         java/security/AlgorithmParametersSpi.java
11250         java/security/AllPermission.java
11251         java/security/BasicPermission.java
11252         java/security/Certificate.java java/security/CodeSource.java
11253         java/security/DigestException.java
11254         java/security/DigestInputStream.java
11255         java/security/DigestOutputStream.java
11256         java/security/DomainCombiner.java
11257         java/security/DummyKeyPairGenerator.java
11258         java/security/DummyMessageDigest.java
11259         java/security/DummySignature.java
11260         java/security/GeneralSecurityException.java
11261         java/security/Guard.java java/security/GuardedObject.java
11262         java/security/Identity.java java/security/IdentityScope.java
11263         java/security/InvalidAlgorithmParameterException.java
11264         java/security/InvalidKeyException.java
11265         java/security/InvalidParameterException.java
11266         java/security/Key.java java/security/KeyException.java
11267         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11268         java/security/KeyManagementException.java
11269         java/security/KeyPair.java java/security/KeyPairGenerator.java
11270         java/security/KeyPairGeneratorSpi.java
11271         java/security/KeyStore.java
11272         java/security/KeyStoreException.java
11273         java/security/KeyStoreSpi.java
11274         java/security/MessageDigest.java
11275         java/security/MessageDigestSpi.java
11276         java/security/NoSuchAlgorithmException.java
11277         java/security/NoSuchProviderException.java
11278         java/security/Permission.java
11279         java/security/PermissionCollection.java
11280         java/security/Permissions.java java/security/Policy.java
11281         java/security/Principal.java java/security/PrivateKey.java
11282         java/security/PrivilegedAction.java
11283         java/security/PrivilegedActionException.java
11284         java/security/PrivilegedExceptionAction.java
11285         java/security/ProtectionDomain.java
11286         java/security/Provider.java
11287         java/security/ProviderException.java
11288         java/security/PublicKey.java
11289         java/security/SecureClassLoader.java
11290         java/security/SecureRandom.java
11291         java/security/SecureRandomSpi.java java/security/Security.java
11292         java/security/SecurityPermission.java
11293         java/security/Signature.java
11294         java/security/SignatureException.java
11295         java/security/SignatureSpi.java
11296         java/security/SignedObject.java java/security/Signer.java
11297         java/security/UnrecoverableKeyException.java
11298         java/security/UnresolvedPermission.java
11299         java/security/acl/Acl.java java/security/acl/AclEntry.java
11300         java/security/acl/AclNotFoundException.java
11301         java/security/acl/Group.java
11302         java/security/acl/LastOwnerException.java
11303         java/security/acl/NotOwnerException.java
11304         java/security/acl/Owner.java java/security/acl/Permission.java
11305         java/security/cert/CRL.java
11306         java/security/cert/CRLException.java
11307         java/security/cert/Certificate.java
11308         java/security/cert/CertificateEncodingException.java
11309         java/security/cert/CertificateException.java
11310         java/security/cert/CertificateExpiredException.java
11311         java/security/cert/CertificateFactory.java
11312         java/security/cert/CertificateFactorySpi.java
11313         java/security/cert/CertificateNotYetValidException.java
11314         java/security/cert/CertificateParsingException.java
11315         java/security/cert/X509CRL.java
11316         java/security/cert/X509CRLEntry.java
11317         java/security/cert/X509Certificate.java
11318         java/security/cert/X509Extension.java
11319         java/security/interfaces/DSAKey.java
11320         java/security/interfaces/DSAKeyPairGenerator.java
11321         java/security/interfaces/DSAParams.java
11322         java/security/interfaces/DSAPrivateKey.java
11323         java/security/interfaces/DSAPublicKey.java
11324         java/security/interfaces/RSAKey.java
11325         java/security/interfaces/RSAPrivateCrtKey.java
11326         java/security/interfaces/RSAPrivateKey.java
11327         java/security/interfaces/RSAPublicKey.java
11328         java/security/spec/AlgorithmParameterSpec.java
11329         java/security/spec/DSAParameterSpec.java
11330         java/security/spec/DSAPrivateKeySpec.java
11331         java/security/spec/DSAPublicKeySpec.java
11332         java/security/spec/EncodedKeySpec.java
11333         java/security/spec/InvalidKeySpecException.java
11334         java/security/spec/InvalidParameterSpecException.java
11335         java/security/spec/KeySpec.java
11336         java/security/spec/PKCS8EncodedKeySpec.java
11337         java/security/spec/RSAKeyGenParameterSpec.java
11338         java/security/spec/RSAPrivateCrtKeySpec.java
11339         java/security/spec/RSAPrivateKeySpec.java
11340         java/security/spec/RSAPublicKeySpec.java
11341         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11342         java/sql/BatchUpdateException.java java/sql/Blob.java
11343         java/sql/CallableStatement.java java/sql/Clob.java
11344         java/sql/Connection.java java/sql/DataTruncation.java
11345         java/sql/DatabaseMetaData.java java/sql/Date.java
11346         java/sql/Driver.java java/sql/DriverManager.java
11347         java/sql/DriverPropertyInfo.java
11348         java/sql/PreparedStatement.java java/sql/Ref.java
11349         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11350         java/sql/SQLData.java java/sql/SQLException.java
11351         java/sql/SQLInput.java java/sql/SQLOutput.java
11352         java/sql/SQLWarning.java java/sql/Statement.java
11353         java/sql/Struct.java java/sql/Time.java
11354         java/sql/Timestamp.java java/sql/Types.java
11355         java/text/Annotation.java
11356         java/text/AttributedCharacterIterator.java
11357         java/text/AttributedString.java
11358         java/text/AttributedStringIterator.java
11359         java/text/BreakIterator.java java/text/CharacterIterator.java
11360         java/text/ChoiceFormat.java java/text/Collator.java
11361         java/text/DateFormat.java java/text/DateFormatSymbols.java
11362         java/text/DecimalFormat.java
11363         java/text/DecimalFormatSymbols.java
11364         java/text/FieldPosition.java java/text/Format.java
11365         java/text/MessageFormat.java java/text/NumberFormat.java
11366         java/text/ParseException.java java/text/ParsePosition.java
11367         java/text/SimpleDateFormat.java
11368         java/text/StringCharacterIterator.java
11369         java/util/AbstractCollection.java java/util/AbstractList.java
11370         java/util/AbstractMap.java
11371         java/util/AbstractSequentialList.java
11372         java/util/AbstractSet.java java/util/ArrayList.java
11373         java/util/Arrays.java java/util/BasicMapEntry.java
11374         java/util/BitSet.java java/util/Calendar.java
11375         java/util/Collection.java java/util/Collections.java
11376         java/util/Comparator.java
11377         java/util/ConcurrentModificationException.java
11378         java/util/Date.java java/util/Dictionary.java
11379         java/util/EmptyStackException.java java/util/Enumeration.java
11380         java/util/EventListener.java java/util/EventObject.java
11381         java/util/GregorianCalendar.java java/util/HashMap.java
11382         java/util/HashSet.java java/util/Hashtable.java
11383         java/util/IdentityHashMap.java java/util/Iterator.java
11384         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11385         java/util/LinkedList.java java/util/List.java
11386         java/util/ListIterator.java java/util/ListResourceBundle.java
11387         java/util/Locale.java java/util/Map.java
11388         java/util/MissingResourceException.java
11389         java/util/NoSuchElementException.java
11390         java/util/Observable.java java/util/Observer.java
11391         java/util/Properties.java java/util/PropertyPermission.java
11392         java/util/PropertyResourceBundle.java java/util/Random.java
11393         java/util/RandomAccess.java java/util/ResourceBundle.java
11394         java/util/Set.java java/util/SimpleTimeZone.java
11395         java/util/SortedMap.java java/util/SortedSet.java
11396         java/util/Stack.java java/util/StringTokenizer.java
11397         java/util/TimeZone.java java/util/Timer.java
11398         java/util/TimerTask.java
11399         java/util/TooManyListenersException.java
11400         java/util/TreeMap.java java/util/TreeSet.java
11401         java/util/Vector.java java/util/WeakHashMap.java
11402         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11403         java/util/jar/JarException.java java/util/jar/JarFile.java
11404         java/util/jar/JarInputStream.java
11405         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11406         java/util/zip/Adler32.java java/util/zip/CRC32.java
11407         java/util/zip/CheckedInputStream.java
11408         java/util/zip/CheckedOutputStream.java
11409         java/util/zip/Checksum.java
11410         java/util/zip/DataFormatException.java
11411         java/util/zip/Deflater.java
11412         java/util/zip/DeflaterOutputStream.java
11413         java/util/zip/GZIPInputStream.java
11414         java/util/zip/GZIPOutputStream.java
11415         java/util/zip/Inflater.java
11416         java/util/zip/InflaterInputStream.java
11417         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11418         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11419         java/util/zip/ZipInputStream.java
11420         java/util/zip/ZipOutputStream.java
11421         javax/naming/BinaryRefAddr.java
11422         javax/naming/InvalidNameException.java javax/naming/Name.java
11423         javax/naming/NamingException.java javax/naming/RefAddr.java
11424         javax/naming/StringRefAddr.java: Add license clarification.
11425
11426 2002-01-22  Tom Tromey  <tromey@redhat.com>
11427
11428         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11429         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11430         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11431         version.
11432         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11433         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11434         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11435         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11436         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11437         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11438         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11439         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11440         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11441         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11442         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11443         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11444         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11445         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11446         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11447         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11448         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11449         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11450         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11451         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11452         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11453         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11454         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11455         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11456         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11457         (minimumSize, preferredSize, reshape): Likewise.
11458         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11459         getColorModel): New methods.
11460         * java/awt/PopupMenu.java: Merged with Classpath.
11461         * java/awt/MenuBar.java: Merged with Classpath.
11462         * java/awt/SystemColor.java: Replace with Classpath version.
11463         * java/awt/Panel.java: Merged with Classpath.
11464         * java/awt/PaintContext.java: Updated copyright.
11465         * java/awt/MenuShortcut.java: Merged with Classpath.
11466         * java/awt/MenuContainer.java: Merged with Classpath.
11467         * java/awt/Menu.java: Merged with Classpath.
11468         * java/awt/MediaEntry.java: New file from Classpath.
11469         * java/awt/MediaTracker.java: New file from Classpath.
11470         * java/awt/List.java: Merged with Classpath version.
11471         * java/awt/Insets.java: Merged with Classpath version.
11472         * java/awt/ImageMediaEntry.java: New file from Classpath.
11473         * java/awt/Image.java: Replaced with Classpath version.
11474         * java/awt/FontMetrics.java: Merged with Classpath version.
11475         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11476         constant.
11477         * java/awt/Font.java: Merged with Classpath version.
11478         * java/awt/Dialog.java: Merged with Classpath version.
11479         * java/awt/Color.java: Merged with Classpath version.
11480         * java/awt/Choice.java: Merged with Classpath version.
11481         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11482         * java/awt/Adjustable.java: Replace with Classpath version.
11483         * java/awt/MenuItem.java (paramString): Don't include class name
11484         or brackets.  Call superclass paramString.
11485         * java/awt/MenuComponent.java (toString): Call paramString.
11486         (paramString): Compute string; don't call toString.
11487         * java/awt/Label.java (paramString): Don't include class name
11488         or brackets.  Call superclass paramString.
11489         * java/awt/Checkbox.java (paramString): Don't include class name
11490         or brackets.  Call superclass paramString.
11491         * java/awt/Button.java (paramString): Don't include class name or
11492         brackets.  Call superclass paramString.
11493         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11494
11495 2002-01-20  Andreas Schwab  <schwab@suse.de>
11496
11497         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11498         function and of parameter recv_func to ssize_t, as specified by
11499         POSIX.
11500
11501 2002-01-19  Per Bothner  <per@bothner.com>
11502
11503         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11504         uncompressed_size in readiness for next entry.
11505
11506 2002-01-18  Tom Tromey  <tromey@redhat.com>
11507
11508         * java/net/natPlainSocketImpl.cc: Include
11509         IllegalArgumentException.h.
11510         (_Jv_recv): New template function.
11511         (BooleanClass): Removed.
11512         (read): Use _Jv_recv.
11513         (setOption): Use Boolean::class$.  Throw exception if object is
11514         not Boolean or Integer.
11515
11516 2002-01-17  Tom Tromey  <tromey@redhat.com>
11517
11518         * java/awt/MenuComponent.java: Merged with Classpath.
11519         * java/awt/MenuItem.java: Merged with Classpath.
11520         * java/awt/Button.java: Merged with Classpath.
11521
11522         * java/awt/ActiveEvent.java: Updated copyright.
11523
11524         * java/awt/AWTError.java: Replaced with Classpath version.
11525         * java/awt/AWTException.java: Replaced with Classpath version.
11526         * java/awt/IllegalComponentStateException.java: Replaced with
11527         Classpath version.
11528
11529 2002-01-16  Tom Tromey  <tromey@redhat.com>
11530
11531         * java/awt/Canvas.java (serialVersionUID): New constant.
11532         Updated copyright.  Added javadoc from Classpath.
11533         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11534
11535         * java/awt/CheckboxGroup.java: Merged with Classpath.
11536         * java/awt/Checkbox.java: Merged with Classpath.
11537
11538         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11539         Classpath.
11540         * java/awt/Point.java: Updated copyright.
11541
11542         * java/awt/Point.java (toString): Use getClass().getName().
11543         Added javadoc.
11544
11545         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11546         commented code.
11547         (hash): Correctly compute initial value for `h'.
11548
11549         * java/awt/Label.java: Merged with Classpath.
11550
11551 2002-01-15  Tom Tromey  <tromey@redhat.com>
11552
11553         * java/awt/AWTPermission.java: Updated copyright.
11554
11555         * java/awt/LayoutManager2.java: Merged with Classpath.
11556         * java/awt/LayoutManager.java: Merged with Classpath.
11557         * java/awt/GridLayout.java: Updated copyright and javadoc.
11558         (getSize): Use `parent.ncomponents'.  Handle insets.
11559         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11560         there are fewer children than columns.  Correctly compute size of
11561         each cell in the grid.  Handle case where there isn't enough
11562         space.
11563         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11564         all users.
11565         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11566         before calling setVisible() on it.  Last item is `num - 1', not
11567         `num'.
11568         (layoutContainer): Hoist invariants out of loop.
11569
11570         Start of AWT merge with Classpath:
11571         * Makefile.in: Rebuilt.
11572         * Makefile.am (awt_java_source_files): Reference files in
11573         gnu/java/awt, not gnu/gcj/awt.
11574         * java/awt/image/BufferedImage.java: Updated copyright.
11575         * java/awt/image/ComponentColorModel.java: Updated copyright.
11576         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11577         * java/awt/image/DataBuffer.java: Updated copyright.
11578         * java/awt/image/DataBufferByte.java: Updated copyright.
11579         * java/awt/image/DataBufferInt.java: Updated copyright.
11580         * java/awt/image/DataBufferUShort.java: Updated copyright.
11581         * java/awt/image/IndexColorModel.java: Updated copyright.
11582         * java/awt/image/PackedColorModel.java: Updated copyright.
11583         * java/awt/image/Raster.java: Updated copyright.
11584         * java/awt/image/RasterOp.java: Updated copyright.
11585         * java/awt/image/SampleModel.java: Updated copyright.
11586         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11587         * java/awt/image/WritableRaster.java: Updated copyright.
11588         * java/awt/color/ColorSpace.java: Updated copyright.
11589         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11590         * java/awt/color/ICC_Profile.java: Updated copyright.
11591         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11592         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11593         * java/awt/event/HierarchyEvent.java: Updated copyright.
11594         * java/awt/event/HierarchyListener.java: Updated copyright.
11595         * java/awt/geom/AffineTransform.java: Updated copyright.
11596         * java/awt/geom/Dimension2D.java: Updated copyright.
11597         * java/awt/geom/Ellipse2D.java: Updated copyright.
11598         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11599         * java/awt/geom/Line2D.java: Updated copyright.
11600         * java/awt/geom/NoninvertibleTransformException.java: Updated
11601         copyright.
11602         * java/awt/geom/PathIterator.java: Updated copyright.
11603         * java/awt/geom/Point2D.java: Updated copyright.
11604         * java/awt/geom/Rectangle2D.java: Updated copyright.
11605         * java/awt/geom/RectangularShape.java: Updated copyright.
11606         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11607         * java/awt/Toolkit.java: Updated import for file moves.
11608         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11609         Classpath.
11610         (hashCode): New method from Classpath.
11611         * java/awt/Graphics2D.java: Updated copyright.
11612         * java/awt/Transparency.java: Updated copyright.
11613         * java/awt/Paint.java: Updated copyright.
11614         * java/awt/Graphics.java: New version from Classpath.
11615         * java/awt/EventDispatchThread.java: Updated copyright.
11616         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11617         children.
11618         (gotoComponent): Wrap around on next/previous.
11619         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11620         * gnu/gcj/awt/Buffers.java: Removed.
11621         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11622         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11623         * gnu/java/awt/BitMaskExtent.java: Added.
11624         * gnu/java/awt/Buffers.java: Added.
11625         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11626         * gnu/java/awt/GLightweightPeer.java: Added.
11627         * java/awt/geom/Line2D.java (clone): Ignore
11628         CloneNotSupportedException.
11629         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11630         * java/awt/Frame.java: Merged with Classpath.
11631         * java/awt/RenderingHints.java: Copyright update.
11632         * java/awt/Paint.java: Copyright update.
11633         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11634         * java/awt/image/ColorModel.java: Merged with Classpath.
11635         * java/awt/Window.java (show): New Implementation from Classpath.
11636         (isShowing): Use super.isShowing().
11637         * java/awt/EventQueue.java: Merged with Classpath.
11638         * java/awt/AWTEventMulticaster.java (save): Throw
11639         RuntimeException.
11640         (saveInternal): Likewise.
11641         * java/awt/AWTEvent.java: Now implements Serializable.
11642         * java/awt/Event.java: Copyright update.
11643         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11644         * java/awt/image/BufferedImage.java: Copyright update.
11645         * java/awt/GraphicsConfiguration.java: Copyright update.
11646         * java/awt/Component.java: (addNotify): Don't call
11647         addNotifyContainerChildren().
11648         (addNotifyContainerChildren): Removed.
11649         (setPeer): New method from Classpath.
11650         (setTreeLock): Likewise.
11651         (setVisible): Rewrote.
11652         (show): Use it.
11653         (hide): Likewise.
11654         (validate): Set `valid'.
11655         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11656         (createImage(ImageProducer)): Likewise.
11657         (prepareImage): Likewise.
11658         * java/awt/Container.java (addImpl): Handle case where constraint
11659         is not a String.  Post event via system event queue.
11660         (remove): Post event via system event queue.
11661         (validateTree): Only validate child if it is invalid.
11662         (getAlignmentX): Call super method as default.
11663         (getAlignmentY): Likewise.
11664         (addContainerListener): Now synchronized.
11665         (removeContainerListener): Likewise.
11666         (addNotifyContainerChildren): Now private.
11667         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11668         @author.
11669         * java/awt/FlowLayout.java (serialVersionUID): New field.
11670         (setAlignment): Better exception message.
11671         (layoutContainer): Don't compute component's preferred size unless
11672         we're going to use it.
11673         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11674         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11675         (firstLine, lastLine, firstItem, lastItem): New fields.
11676         (addLayoutComponent): Handle case where constraints is null.
11677         Also, handle relative locations.
11678         (removeLayoutComponent): Handle relative locations.
11679         (MIN, MAX, PREF): New constants.
11680         (calcCompSize): New method.
11681         (calcSize): New method.
11682         (minimumLayoutSize): Use it.
11683         (preferredLayoutSize): Likewise.
11684         (maximumLayoutSize): Likewise.
11685         (toString): Include more information.
11686         (setBounds): New method.
11687         (layoutContainer): Use libgcj implementation; extended to handle
11688         relative locations.
11689
11690 2002-01-15  Tom Tromey  <tromey@redhat.com>
11691
11692         * java/lang/Float.java (equals): Preserve old code.
11693         * java/lang/Double.java (equals): Preserve old code.
11694
11695 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11696
11697         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11698         * java/lang/Float.java (equals, compare): Ditto.
11699
11700 2002-01-13  Mark Wielaard  <mark@klomp.org>
11701
11702         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11703         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11704         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11705         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11706
11707 2002-01-11  Mark Wielaard  <mark@klomp.org>
11708
11709         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11710         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11711         InetAddress.
11712         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11713         * java/net/Socket.java: Merge with Classpath.
11714         * java/net/ServerSocket.java: Likewise.
11715
11716 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11717
11718         * interpret.cc (NULLARRAYCHECK): New macro.
11719         (SAVE_PC): Just store `pc'.
11720         (find_exception): Subtract one from `pc' here.
11721         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11722         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11723         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11724         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11725         don't call SAVE_PC.
11726         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11727         call SAVE_PC.
11728
11729 2002-01-11  Tom Tromey  <tromey@redhat.com>
11730
11731         * java/lang/natSystem.cc (init_properties): Only look for default
11732         locale if LC_MESSAGES is defined.
11733         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11734         * configure.in: Call AM_LC_MESSAGES.
11735         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11736
11737 2002-01-10  Tom Tromey  <tromey@redhat.com>
11738
11739         For PR libgcj/5303:
11740         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11741         --version.  Recognize GNU-style long options.  Print GNU-style
11742         error messages.
11743         (usage): Print GNU-style help.  Exit with status 0.
11744         (error): New method.
11745         (run): Print error message if no class names found.
11746         (main): Don't print usage on error.
11747
11748 2002-01-09  Tom Tromey  <tromey@redhat.com>
11749
11750         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11751         property.
11752         (help, version): Use println(), not println("").
11753
11754         For PR libgcj/5303:
11755         * gnu/gcj/convert/Convert.java (error): Program is called
11756         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11757         -1.
11758         (main): Handle --help and --version.
11759         (help): New method.
11760         (version): Likewise.
11761
11762 2002-01-08  Tom Tromey  <tromey@redhat.com>
11763
11764         * Makefile.in: Rebuilt.
11765         * Makefile.am (ordinary_java_source_files): Added new files.
11766         * gnu/java/locale/LocaleInformation.java: Extend
11767         LocaleInformation_en.
11768         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11769         and time/date formats.
11770         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11771         generated.
11772         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11773         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11774         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11775         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11776         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11777         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11778         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11779         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11780         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11781         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11782         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11783         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11784         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11785         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11786         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11787         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11788         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11789         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11790         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11791         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11792         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11793         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11794         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11795         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11796         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11797         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11798         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11799         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11800         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11801         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11802         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11803         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11804         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11805         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11806         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11807         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11808         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11809         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11810         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11811         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11812         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11813         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11814         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11815         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11816         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11817         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11818         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11819         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11820         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11821         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11822         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11823         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11824         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11825         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11826         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11827         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11828         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11829         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11830         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11831         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11832         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11833         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11834         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11835         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11836         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11837         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11838         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11839         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11840         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11841         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11842         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11843         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11844         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11845         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11846         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11847         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11848         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11849         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11850         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11851         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11852         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11853         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11854         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11855         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11856         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11857         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11858         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11859         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11860         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11861         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11862         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11863         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11864         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11865         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11866         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11867         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11868         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11869         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11870         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11871         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11872         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11873         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11874         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11875         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11876         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11877         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11878         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11879         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11880         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11881         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11882         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11883         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11884         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11885         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11886         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11887         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11888         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11889         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11890         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11891         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11892         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11893         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11894         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11895         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11896         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11897         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11898         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11899         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11900         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11901         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11902
11903         For PR libgcj/5031:
11904         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11905         choose default locale.
11906
11907         * Makefile.in: Rebuilt.
11908         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11909
11910 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11911
11912         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11913         sockets.
11914         (close): New function closes the socket.
11915         (write): New functions for output to socket.
11916         (read): New functions for reading from socket.
11917         * java/net/PlainSocketImpl.java: Glue for new timeout
11918         implementation.
11919         (write): Call the native impl.
11920         (read): Likewise.
11921         (getInputStream): Get a stream to read from the socket.
11922         (getOutputStream): Get a stream to write to the socket.
11923
11924 2002-01-08  Tom Tromey  <tromey@redhat.com>
11925
11926         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11927
11928 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11929
11930         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11931         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11932
11933 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11934
11935         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11936         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11937         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11938         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11939         insn_bastore, insn_castore, insn_sastore]: Use it.
11940         (continue1) [insn_arraylength]: Check for null array.
11941
11942 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11943
11944         * configure, include/config.h.in: Rebuilt.
11945         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11946         * configure.in: Call AC_STRUCT_TIMEZONE.
11947
11948 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11949
11950         * configure.host: Disable the interpreter for Darwin.
11951
11952 2002-01-04  Tom Tromey  <tromey@redhat.com>
11953
11954         * java/lang/Thread.java (stop): No longer synchronized.
11955         (start): Likewise.
11956
11957 2002-01-02  Tom Tromey  <tromey@redhat.com>
11958
11959         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11960         patch.
11961
11962 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11963
11964         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11965         PPC Darwin, not for all of Darwin.