2003-06-21 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-21  Michael Koch  <konqueror@gmx.de>
2
3         * java/io/File.java
4         (static): Load javaio lib if existing (only in classpath).
5         (File): Revised documentation to show the correct argument name.
6         (createTempFile): Partly merged with classpath.
7         (compareTo): Simplified.
8         (lastModified): Throw exception if time < 0.
9         (deleteOnExit): Revised documentation.
10
11 2003-06-21  Michael Koch  <konqueror@gmx.de>
12
13         * java/net/PlainSocketImpl.java:
14         Reformatted.
15         (PlainSocketImpl): Merged class documentaion with classpath.
16         (in): Moved.
17         (out): Moved.
18         (PlainSocketImpl): New empty constructor.
19         (finalize): Moved.
20         (setOption): Merged documentation from classpath.
21         (getOption): Likewise.
22         (create): Likewise.
23         (connect): Likewise.
24         (bind): Likewise.
25         (listen): Likewise.
26         (accept): Likewise.
27         (available): Likewise.
28         (close): Likewise.
29         (read): Likewise.
30         (write): Likewise.
31         (getInputStream): Made synchronozed to get sure that only one stream
32         object can be created for this socket, merged documentation from
33         classpath.
34         (getOutputStream): Likewise.
35
36 2003-06-21  Michael Koch  <konqueror@gmx.de>
37
38         * java/net/PlainSocketImpl.java:
39         Reformatting.
40         (static): New implicit method.
41         (read): Made package private.
42         (write): Likewise.
43
44 2003-06-21  Michael Koch  <konqueror@gmx.de>
45
46         * java/util/SimpleTimeZone.java:
47         Removed unneeded import, reformatting.
48
49 2003-06-21  Michael Koch  <konqueror@gmx.de>
50
51         * java/text/DateFormat.java,
52         java/text/SimpleDateFormat.java,
53         java/util/Locale.java:
54         New versions from classpath.
55
56 2003-06-21  Michael Koch  <konqueror@gmx.de>
57
58         * javax/swing/SpinnerModel.java:
59         New file from classpath.
60         * javax/swing/border/LineBorder.java,
61         javax/swing/border/SoftBevelBorder.java,
62         javax/swing/plaf/BorderUIResource.java,
63         javax/swing/plaf/basic/BasicBorders.java:
64         New versions from classpath.
65         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
66         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
67         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
68         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
69         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
70         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
71         New binary files from classpath.
72
73 2003-06-21  Michael Koch  <konqueror@gmx.de>
74
75         * java/util/logging/LogRecord.java,
76         java/util/logging/Logger.java,
77         java/util/logging/SocketHandler.java,
78         java/util/logging/SimpleFormatter.java,
79         java/util/logging/Formatter.java,
80         java/util/logging/ErrorManager.java,
81         java/util/logging/Handler.java,
82         java/util/logging/FileHandler.java,
83         java/util/logging/LogManager.java,
84         java/util/logging/Level.java,
85         java/util/logging/ConsoleHandler.java,
86         java/util/logging/StreamHandler.java,
87         java/util/logging/LoggingPermission.java,
88         java/util/logging/Filter.java,
89         java/util/logging/MemoryHandler.java,
90         java/util/logging/XMLFormatter.java:
91         New files from classpath.
92
93 2003-06-20  Michael Koch  <konqueror@gmx.de>
94
95         * java/io/ObjectStreamField.java
96         (unshared): new member variable.
97         (ObjectStreamField): New constructor.
98         (isUnshared): New method.
99
100 2003-06-20  Michael Koch  <konqueror@gmx.de>
101
102         * java/net/URLStreamHandler.java
103         (hostsEqual): Rewritten.
104
105 2003-06-20  Michael Koch  <konqueror@gmx.de>
106
107         * gnu/java/nio/MappedByteFileBuffer.java,
108         gnu/java/nio/natMappedByteFileBuffer.cc:
109         Removed
110         * java/nio/MappedByteBufferImpl.java:
111         New file.
112         * gnu/java/nio/FileChannelImpl.java:
113         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
114         * Makefile.am
115         (ordinary_java_source_files): Removed
116         gnu/java/nio/MappedByteFileBuffer.java and added
117         java/nio/MappedByteBufferImpl.java.
118         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
119         * Makefile.in: Regenerated.
120
121 2003-06-19  Michael Koch  <konqueror@gmx.de>
122
123         * gnu/java/nio/DatagramChannelImpl.java
124         (fd): Removed.
125         (blocking): New member variable.
126         (socket): Likewise.
127         (DatagramChannelImpl): Throws IOException, initialize socket.
128         (socket):Implemented.
129         (implCloseSelectableChannel): Throws IOException, implemented.
130         (implConfigureBlocking): Likewise.
131         (connect): Likewise.
132         (disconnect): Likewise.
133         (isConnected): Likewise.
134         (write): Likewise.
135         (read): Likewise.
136         (receive): Throws IOException.
137         (send): Likewise.
138         * gnu/java/nio/SocketChannelImpl.java
139         (read): Implemented.
140         (write): Implemented.
141
142 2003-06-19  Michael Koch  <konqueror@gmx.de>
143
144         * javax/swing/JComponent.java,
145         javax/swing/JInternalFrame.java,
146         javax/swing/MenuSelectionManager.java,
147         javax/swing/SwingUtilities.java,
148         javax/swing/ToggleButtonModel.java:
149         New versions from classpath.
150
151 2003-06-19  Michael Koch  <konqueror@gmx.de>
152
153         * java/text/CollationElementIterator.java
154         (NULLORDER): Initialize with -1 as JDK documentation says.
155
156 2003-06-19  Michael Koch  <konqueror@gmx.de>
157
158         * java/net/HttpURLConnection.java,
159         java/net/Inet4Address.java,
160         java/net/Inet6Address.java,
161         java/net/SocketImpl.java,
162         java/net/URLClassLoader.java:
163         Reworked import statements.
164         * java/net/InetAddress.java
165         (getByAddress): Simplified.
166         * java/net/ServerSocket.java
167         (ServerSocket): Moved special handling during bind operation to
168         bind().
169         (bind): Handle different cases when trying to bind a socket.
170         * java/net/URLConnection.java
171         (getHeaderFieldDate): Merged with classpath.
172         (getHeaderFieldInt): Likewise.
173
174 2003-06-19  Michael Koch  <konqueror@gmx.de>
175
176         * java/util/zip/InflaterInputStream.java
177         (InflaterInputStream): Throw NullPointerException if in is null (as
178         JDK does).
179
180 2003-06-19  Michael Koch  <konqueror@gmx.de>
181
182         * java/awt/Font.java
183         javax/swing/UIManager.java
184         javax/swing/border/AbstractBorder.java
185         javax/swing/border/BevelBorder.java
186         javax/swing/border/Border.java
187         javax/swing/border/CompoundBorder.java
188         javax/swing/border/EmptyBorder.java
189         javax/swing/border/EtchedBorder.java
190         javax/swing/border/LineBorder.java
191         javax/swing/border/MatteBorder.java
192         javax/swing/border/TitledBorder.java
193         javax/swing/plaf/BorderUIResource.java
194         javax/swing/plaf/basic/BasicBorders.java
195         javax/swing/plaf/basic/BasicButtonUI.java
196         javax/swing/plaf/basic/BasicCheckBoxUI.java
197         javax/swing/plaf/basic/BasicGraphicsUtils.java
198         javax/swing/plaf/basic/BasicLabelUI.java
199         javax/swing/plaf/basic/BasicRadioButtonUI.java
200         javax/swing/plaf/basic/BasicToggleButtonUI.java:
201         New versions from classpath.
202         * javax/swing/border/SoftBevelBorder.java:
203         New file from classpath.
204         * javax/swing/border/doc-files/LineBorder-1.png,
205         javax/swing/border/doc-files/BevelBorder-1.png,
206         javax/swing/border/doc-files/BevelBorder-2.png,
207         javax/swing/border/doc-files/BevelBorder-3.png,
208         javax/swing/border/doc-files/EmptyBorder-1.png,
209         javax/swing/border/doc-files/EtchedBorder-1.png,
210         javax/swing/border/doc-files/EtchedBorder-2.png,
211         javax/swing/border/doc-files/MatteBorder-1.png,
212         javax/swing/border/doc-files/MatteBorder-2.png,
213         javax/swing/border/doc-files/MatteBorder-3.png,
214         javax/swing/border/doc-files/MatteBorder-4.png,
215         javax/swing/border/doc-files/MatteBorder-5.png,
216         javax/swing/border/doc-files/MatteBorder-6.png,
217         javax/swing/border/doc-files/SoftBevelBorder-1.png,
218         javax/swing/border/doc-files/SoftBevelBorder-2.png,
219         javax/swing/border/doc-files/SoftBevelBorder-3.png,
220         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
221         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
222         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
223         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
224         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
225         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
226         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
227         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
228         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
229         New binary files from classpath.
230         * Makefile.am
231         (awt_java_source_files): Added
232         javax/swing/border/SoftBevelBorder.java.
233         * Makefile.in: Regenerated.
234
235 2003-06-19  Michael Koch  <konqueror@gmx.de>
236
237         * gnu/java/security/x509/X509Certificate.java
238         (writeReplace): Merged from classpath.
239
240 2003-06-19  Michael Koch  <konqueror@gmx.de>
241
242         * gnu/java/nio/FileChannelImpl.java
243         (map_address): Made public.
244         (FileChannelImpl): Merged with classpath.
245         * gnu/java/nio/natFileChannelImpl.cc
246         (nio_mmap_file): Commented out unused arguments.
247         (nio_unmmap_file): Likewise.
248         (niu_msync): Likewise.
249
250 2003-06-19  Michael Koch  <konqueror@gmx.de>
251
252         * java/awt/image/IndexColorModel.java:
253         New version from classpath.
254
255 2003-06-18  Tom Tromey  <tromey@redhat.com>
256
257         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
258         on arrays.
259         (isLoopbackAddress): Likewise.
260         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
261         on arrays.
262
263 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
264
265         * java/lang/natVMSecurityManager.cc (getClassContext):
266         Use maxlen instead of len for loop bound.
267
268 2003-06-18  Michael Koch  <konqueror@gmx.de>
269
270         * gnu/java/nio/SelectorImpl.java
271         (register): Use fd with value 0 for now, will be fixed later.
272         * gnu/java/nio/ServerSocketChannelImpl.java
273         (fd): Removed.
274         (local_port): Removed.
275         (InetSocketAddress): Removed.
276         (ServerSocketChannelImpl): Just initialize internal socket object.
277         (implCloseSelectableChannel): Close internal socket object.
278         (implConfigureBlocking): Added comment.
279         (accept): Use jaba.net stuff to accept socket.
280         * gnu/java/nio/SocketChannelImpl.java
281         (fd): Removed.
282         (local_port): Removed.
283         (InetSocketAddress): Removed.
284         (SocketCreate): Removed.
285         (SocketConnect): Removed.
286         (SocketBind): Removed.
287         (SocketListen): Removed.
288         (SocketAvailable): Removed.
289         (SocketClose): Removed.
290         (SocketRead): Removed.
291         (SocketWrite): Removed.
292         (SocketChannelImpl): Just initialize internal socket object.
293         (implCloseSelectableChannel): Close internal socket object.
294         (implConfigureBlocking): Fixed implementation, added comment.
295         (connect): Use internal socket object to connect.
296         (socket): No need for sanity checks.
297         (read): Comment out some stuff, this will be reimplemented in the next
298         commit.
299         (write): Likewise.
300         * gnu/java/nio/natFileChannelImpl.cc
301         (nio_mmap_file): Line wrapped.
302         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
303         * Makefile.am
304         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
305         * Makefile.in: Regenerated.
306
307 2003-06-18  Michael Koch  <konqueror@gmx.de>
308
309         * java/util/Locale.java
310         (equals): Merged from classpath.
311
312 2003-06-18  Michael Koch  <konqueror@gmx.de>
313
314         * java/net/InetAddress.java:
315         Reformatted to better match classpath's version.
316         * java/net/URL.java
317         (equals): Simplified.
318         * java/net/URLConnection.java
319         (setDoInput): Revised documentation.
320         (getDefaultUseCaches): Likewise.
321         (setRequestProperty): Added @since tag.
322
323 2003-06-17  Michael Koch  <konqueror@gmx.de>
324
325         * java/net/InetSocketAddress.java
326         (InetSocketAddress): Use wildcard address if addr is null.
327         (InetSocketAddress): Dont duplicate implementation.
328         (InetSocketAddress): Throw exception when hostname is null.
329         * java/net/Socket.java:
330         Reworked imports.
331         (Socket): Throw exception when raddr is null, handle case when laddr
332         is null.
333
334 2003-06-17  Michael Koch  <konqueror@gmx.de>
335
336         * java/nio/DirectByteBufferImpl.java
337         (address): Made package private.
338         (DirectByteBufferImpl): New constructor.
339         * java/nio/natDirectByteBufferImpl.cc
340         (allocateImpl): Moved to java.nio namespace, implemented.
341         (freeImpl): Likewise.
342         (getImpl): Likewise.
343         (putImpl): Likewise.
344         * jni.cc
345         (_Jv_JNI_NewDirectByteBuffer): Implemented.
346         (_Jv_JNI_GetDirectBufferAddress): Implemented.
347         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
348
349 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
350
351         * include/powerpc-signal.h: New File.
352         * configure.in: Use it.
353         * configure: Regenerated.
354
355 2003-06-17  Michael Koch  <konqueror@gmx.de>
356
357         * java/util/Locale.java
358         (getDisplayLanguage): Made it final.
359         (getDisplayCountry): Likewise.
360         (getDisplayVariant): Likewise.
361         (getDisplayName): Likewise.
362
363 2003-06-17  Michael Koch  <konqueror@gmx.de>
364
365         * java/util/PropertyResourceBundle.java:
366         Removed unneeded import.
367
368 2003-06-17  Michael Koch  <konqueror@gmx.de>
369
370         * java/util/prefs/AbstractPreferences.java,
371         java/util/prefs/PreferencesFactory.java:
372         Reworked imports, removed unused imports.
373         * java/util/prefs/Preferences.java
374         (systemNodeForPackage): Method takes a Class not an Object.
375         (userNodeForPackage): Likewise.
376         (nodeForPackage): Likewise.
377
378 2003-06-17  Michael Koch  <konqueror@gmx.de>
379
380         * gnu/java/security/x509/X509Certificate.java:
381         Explicitely import used classes.
382
383 2003-06-17  Michael Koch  <konqueror@gmx.de>
384
385         * java/util/zip/ZipEntry.java,
386         java/util/zip/ZipFile.java,
387         java/util/zip/ZipInputStream.java,
388         java/util/zip/ZipOutputStream.java:
389         Reworked imports, only import used classes.
390
391 2003-06-17  Michael Koch  <konqueror@gmx.de>
392
393         * gnu/java/lang/ArrayHelper.java,
394         gnu/java/lang/ClassHelper.java:
395         Reformatted to match classpath's versions.
396
397 2003-06-14  Michael Koch  <konqueror@gmx.de>
398
399         * gnu/java/nio/FileChannelImpl.java
400         (map_address): Removed incorrect comment.        
401         * gnu/java/nio/SelectorImpl.java
402         (register): Remove code duplication and code for file channel handling.        
403         * gnu/java/nio/ServerSocketChannelImpl.java
404         (serverSocket): Renamed from sock_object.
405         (ServerSocketChannel): Initialize serverSocket.
406         (socket): Return serverSocket.
407         * gnu/java/nio/SocketChannelImpl.java
408         (socket): Renamed from sock_object.
409         (isConnectionPenging): Simplified.
410         (socket): Return socket.
411 2003-06-14  Michael Koch  <konqueror@gmx.de>
412
413         * java/security/BasicPermission.java:
414         New version from classpath.
415
416 2003-06-14  Michael Koch  <konqueror@gmx.de>
417
418         * javax/naming/directory/Attribute.java:
419         New version from classpath.
420
421 2003-06-14  Michael Koch  <konqueror@gmx.de>
422
423         * java/io/BufferedReader.java,
424         java/io/FileOutputStream.java:
425         New versions from classpath.
426
427 2003-06-12  Andrew Haley  <aph@redhat.com>
428
429         * prims.cc (catch_segv): Create exception in handler.
430         (catch_fpe): Likewise.  
431         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
432         (_Jv_ThrowSignal): Remove.
433
434         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
435         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
436         to nullp and arithexception.
437         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
438         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
439         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
440         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
441         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
442
443 2003-06-11  Andrew Haley  <aph@redhat.com>
444
445         * jni.cc (_Jv_JNI_check_types): New.
446         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
447         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
448         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
449         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
450         
451         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
452         infinite loop.
453
454 2003-06-11  Tom Tromey  <tromey@redhat.com>
455
456         * java/lang/ClassLoader.java (loadClass): Not deprecated.
457         * java/io/PrintStream.java: Not deprecated.
458
459 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
460
461         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
462         (fillOval): implemented
463         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
464         (fillArc): implemented.
465         * gnu/gcj/xlib/GC.java (drawArc): added native method.
466         (fillArc): added native method.
467         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
468         (fillArc): added native method.
469
470 2003-06-11  Michael Koch  <konqueror@gmx.de>
471
472         * java/awt/im/InputSubset.java:
473         New version from classpath.
474
475 2003-06-11  Michael Koch  <konqueror@gmx.de>
476
477         * javax/swing/AbstractAction.java,
478         javax/swing/AbstractButton.java,
479         javax/swing/AbstractCellEditor.java,
480         javax/swing/AbstractListModel.java,
481         javax/swing/BorderFactory.java,
482         javax/swing/Box.java,
483         javax/swing/BoxLayout.java,
484         javax/swing/ButtonGroup.java,
485         javax/swing/DefaultButtonModel.java,
486         javax/swing/DefaultListModel.java,
487         javax/swing/DefaultListSelectionModel.java,
488         javax/swing/FocusManager.java,
489         javax/swing/ImageIcon.java,
490         javax/swing/InputMap.java,
491         javax/swing/JApplet.java,
492         javax/swing/JButton.java,
493         javax/swing/JCheckBox.java,
494         javax/swing/JCheckBoxMenuItem.java,
495         javax/swing/JColorChooser.java,
496         javax/swing/JComboBox.java,
497         javax/swing/JComponent.java,
498         javax/swing/JDesktopPane.java,
499         javax/swing/JDialog.java,
500         javax/swing/JEditorPane.java,
501         javax/swing/JFileChooser.java,
502         javax/swing/JFormattedTextField.java,
503         javax/swing/JFrame.java,
504         javax/swing/JLabel.java,
505         javax/swing/JLayeredPane.java,
506         javax/swing/JList.java,
507         javax/swing/JMenuBar.java,
508         javax/swing/JMenuItem.java,
509         javax/swing/JOptionPane.java,
510         javax/swing/JPanel.java,
511         javax/swing/JPasswordField.java,
512         javax/swing/JPopupMenu.java,
513         javax/swing/JProgressBar.java,
514         javax/swing/JRadioButton.java,
515         javax/swing/JRadioButtonMenuItem.java,
516         javax/swing/JRootPane.java,
517         javax/swing/JScrollBar.java,
518         javax/swing/JScrollPane.java,
519         javax/swing/JSeparator.java,
520         javax/swing/JSlider.java,
521         javax/swing/JTabbedPane.java,
522         javax/swing/JTable.java,
523         javax/swing/JTextField.java,
524         javax/swing/JToggleButton.java,
525         javax/swing/JToolBar.java,
526         javax/swing/JToolTip.java,
527         javax/swing/JTree.java,
528         javax/swing/JViewport.java,
529         javax/swing/JWindow.java,
530         javax/swing/KeyStroke.java,
531         javax/swing/ListSelectionModel.java,
532         javax/swing/LookAndFeel.java,
533         javax/swing/RepaintManager.java,
534         javax/swing/ScrollPaneLayout.java,
535         javax/swing/SizeRequirements.java,
536         javax/swing/SwingConstants.java,
537         javax/swing/Timer.java,
538         javax/swing/UIDefaults.java,
539         javax/swing/UIManager.java,
540         javax/swing/border/AbstractBorder.java,
541         javax/swing/border/CompoundBorder.java,
542         javax/swing/colorchooser/AbstractColorChooserPanel.java,
543         javax/swing/colorchooser/ColorChooserComponentFactory.java,
544         javax/swing/colorchooser/ColorSelectionModel.java,
545         javax/swing/colorchooser/DefaultColorSelectionModel.java,
546         javax/swing/event/AncestorEvent.java,
547         javax/swing/event/HyperlinkEvent.java,
548         javax/swing/event/InternalFrameAdapter.java,
549         javax/swing/event/InternalFrameEvent.java,
550         javax/swing/event/ListDataEvent.java,
551         javax/swing/event/MouseInputAdapter.java,
552         javax/swing/event/SwingPropertyChangeSupport.java,
553         javax/swing/event/TableModelEvent.java,
554         javax/swing/event/TreeWillExpandListener.java,
555         javax/swing/event/UndoableEditEvent.java,
556         javax/swing/filechooser/FileFilter.java,
557         javax/swing/filechooser/FileSystemView.java,
558         javax/swing/filechooser/FileView.java,
559         javax/swing/plaf/BorderUIResource.java,
560         javax/swing/plaf/basic/BasicDefaults.java,
561         javax/swing/table/AbstractTableModel.java,
562         javax/swing/table/DefaultTableCellRenderer.java,
563         javax/swing/table/DefaultTableColumnModel.java,
564         javax/swing/table/DefaultTableModel.java,
565         javax/swing/table/TableColumn.java,
566         javax/swing/text/JTextComponent.java,
567         javax/swing/tree/AbstractLayoutCache.java,
568         javax/swing/tree/DefaultMutableTreeNode.java,
569         javax/swing/tree/DefaultTreeCellEditor.java,
570         javax/swing/tree/DefaultTreeCellRenderer.java,
571         javax/swing/tree/DefaultTreeModel.java,
572         javax/swing/tree/DefaultTreeSelectionModel.java,
573         javax/swing/tree/FixedHeightLayoutCache.java,
574         javax/swing/tree/TreeCellEditor.java,
575         javax/swing/tree/TreeModel.java,
576         javax/swing/tree/TreeNode.java,
577         javax/swing/tree/TreePath.java,
578         javax/swing/tree/TreeSelectionModel.java,
579         javax/swing/tree/VariableHeightLayoutCache.java,
580         javax/swing/undo/AbstractUndoableEdit.java,
581         javax/swing/undo/CompoundEdit.java,
582         javax/swing/undo/StateEdit.java,
583         javax/swing/undo/UndoManager.java,
584         javax/swing/undo/UndoableEditSupport.java:
585         New versions from classpath.
586         * javax/swing/table/JTableHeader.java:
587         New file from classpath.
588         * Makefile.am
589         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
590         * Makefile.in: Regenerated.
591
592 2003-06-11  Michael Koch  <konqueror@gmx.de>
593
594         * java/nio/MappedByteBuffer.java,
595         java/nio/channels/Channels.java,
596         java/nio/channels/ServerSocketChannel.java,
597         java/nio/channels/spi/AbstractSelector.java:
598         Removed unneeded imports.
599
600 2003-06-11  Michael Koch  <konqueror@gmx.de>
601
602         * java/net/DatagramSocket.java:
603         Partly merged with classpath.
604
605 2003-06-11  Michael Koch  <konqueror@gmx.de>
606
607         * java/awt/Frame.java,
608         java/awt/Graphics.java,
609         java/awt/Menu.java,
610         java/awt/Robot.java,
611         java/awt/image/ColorModel.java:
612         New versions from classpath.
613
614 2003-06-10  Michael Koch  <konqueror@gmx.de>
615
616         * java/io/PrintStream.java:
617         Merged version from classpath.
618         (close): Removed sychronized keyword. This class is not garantied to
619         be thread-safe.
620         (write): Likewise.
621
622 2003-06-09  Tom Tromey  <tromey@redhat.com>
623
624         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
625         field.
626         (getDescent): Likewise, for "descent".
627
628 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
629
630         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
631         (getMaxDescent): adjusted return value.
632         (getAscent): modified to use metrics for 'O'.
633         (getDescent): modified to use metrics for 'y'.
634
635 2003-06-08  Anthony Green  <green@redhat.com>
636
637         * java/net/URLStreamHandler.java (sameFile): Fix port value
638         comparison.
639         * java/net/URL.java (handler): Make package private.
640         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
641
642 2003-06-07  Tom Tromey  <tromey@redhat.com>
643
644         For PR libgcj/11085:
645         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
646         Limit number of characters in numeric field when required.
647         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
648         Respect maximumIntegerDigits.
649
650 2003-06-08  Michael Koch  <konqueror@gmx.de>
651
652         * java/net/Socket.java
653         (Socket): Dont initialize inputShutdown and outputShutdown twice,
654         call bind() and connect() to actually do the bind and connect tasks.
655         (bind): Connect to canonical address if bindpoint is null, create
656         socket and bind it to bindpoint.
657         (connect): Check for exceptions.
658
659 2003-06-08  Michael Koch  <konqueror@gmx.de>
660
661         * java/net/DatagramSocket.java
662         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
663         into the Multicast constructors.
664         * java/net/DatagramSocketImpl.java
665         (getOption): Removed.
666         (setOption): Removed.
667         * java/net/MulticastSocket.java
668         (MulticastSocket): Call setReuseAddress (true).
669         * java/net/SocketImpl.java
670         (getOption): Removed.
671         (setOption): Removed.
672
673 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
674
675         PR libgcj/10886:
676         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
677         Test for empty vector.
678
679 2003-06-06  Mark Wielaard  <mark@klomp.org>
680
681         * java/security/Security.java (secprops): Initialize.
682         (loadProviders): Return boolean.
683         (static): Check result of loadProvider calls. If necessary
684         display WARNING and fallback to Gnu provider.
685
686 2002-06-06  James Clark  <jjc@jclark.com>
687
688         Fix for PR libgcj/8738:
689         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
690         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
691         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
692         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
693         (write): Always decrease avail when count is increased.
694         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
695         and whether output buffer is full before increasing size.
696
697 2002-06-06  Mark Wielaard  <mark@klomp dot org>
698
699         * java/io/PrintStream.java (writeChars(char[],int, int)):
700         Check converter.havePendingBytes().
701         (writeChars(String,int,int)): Likewise.
702         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
703         Check converter.havePendingBytes() and flush buffer when stalled.
704
705 2003-06-07  Michael Koch  <konqueror@gmx.de>
706
707         * include/posix.h
708         (O_DSYNC): Define O_DSYNC on platforms not
709         supporting O_FSYNC (newlib).
710
711 2003-06-06  Mark Wielaard  <mark@klomp.org>
712
713         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
714         AWTError.
715
716 2003-06-06  Michael Koch  <konqueror@gmx.de>
717
718         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
719         More compile fixes from my stupid work yesterday.
720
721 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
722
723         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
724         if _IEEE_LIBM is undefined.
725
726 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
727
728         * libjava/include/posix.h (O_SYNC): Define if not available
729         and a reasonable, perhaps more conservative, replacement exists.
730         (O_DSYNC): Likewise.
731         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
732
733 2003-06-05  Michael Koch  <konqueror@gmx.de>
734
735         * javax/swing/plaf/BorderUIResource.java,
736         javax/swing/plaf/basic/BasicDefaults.java,
737         javax/swing/plaf/basic/BasicOptionPaneUI.java:
738         More compile fixes for latest Border commit. I should not commit
739         something in this heat here ...
740
741 2003-06-05  Michael Koch  <konqueror@gmx.de>
742
743         * javax/swing/border/BevelBorder.java
744         (BevelBorder): Removed.
745         * javax/swing/border/EmptyBorder.java:
746         Reformatted.
747         (EmptyBorder): Removed.
748         (getBorderInsets): Dont use l, r, t and b.
749         * javax/swing/border/EtchedBorder.java
750         (EtchedBorder): Removed.
751         * javax/swing/border/LineBorder.java
752         (LineBorder): Removed.
753         * javax/swing/border/MatteBorder.java
754         (MatteBorder): Removed.
755         * javax/swing/border/TitledBorder.java
756         (defaultBorder): Use other default for now.
757         (defaultFont): Likewise.
758         (defaultColor): Likewise.
759
760 2003-06-05  Michael Koch  <konqueror@gmx.de>
761
762         * javax/swing/border/Border.java:
763         New version from classpath.
764
765 2003-06-05  Michael Koch  <konqueror@gmx.de>
766
767         * javax/swing/border/AbstractBorder.java,
768         javax/swing/border/BevelBorder.java,
769         javax/swing/border/CompoundBorder.java,
770         javax/swing/border/EmptyBorder.java,
771         javax/swing/border/EtchedBorder.java,
772         javax/swing/border/LineBorder.java,
773         javax/swing/border/MatteBorder.java,
774         javax/swing/border/TitledBorder.java:
775         New versions from Classpath.
776
777 2003-06-05  Michael Koch  <konqueror@gmx.de>
778
779         * java/awt/Button.java,
780         java/awt/Checkbox.java,
781         java/awt/CheckboxMenuItem.java,
782         java/awt/Choice.java,
783         java/awt/Container.java,
784         java/awt/Dialog.java,
785         java/awt/EventQueue.java,
786         java/awt/FileDialog.java,
787         java/awt/Frame.java,
788         java/awt/Label.java,
789         java/awt/List.java,
790         java/awt/Menu.java,
791         java/awt/MenuItem.java,
792         java/awt/Panel.java,
793         java/awt/PopupMenu.java,
794         java/awt/Rectangle.java,
795         java/awt/ScrollPane.java,
796         java/awt/Scrollbar.java,
797         java/awt/TextArea.java,
798         java/awt/TextField.java,
799         java/awt/Window.java,
800         java/awt/datatransfer/DataFlavor.java,
801         java/awt/dnd/DragSource.java,
802         java/awt/dnd/DragSourceContext.java,
803         java/awt/event/HierarchyEvent.java,
804         java/awt/event/MouseWheelEvent.java,
805         java/awt/im/InputContext.java,
806         java/awt/image/BufferedImage.java,
807         java/awt/image/ComponentColorModel.java,
808         java/awt/image/Raster.java,
809         java/awt/image/WritableRaster.java,
810         java/awt/peer/ComponentPeer.java,
811         java/awt/print/PageFormat.java,
812         java/awt/print/PrinterJob.java:
813         New versions from Classpath.
814
815 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
816
817         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
818         numberFormat.setParseIntegerOnly(true).
819
820 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
821
822         * include/posix-threads.h: Include <machine/pal.h> on OSF.
823
824 2003-06-03  Andrew Haley  <aph@redhat.com>
825
826         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
827         stack volatile to prevent optimization from removing it.
828
829 2003-05-27  Michael Koch  <konqueror@gmx.de>
830
831         * java/util/zip/Deflater.java
832         (FILTERED): Merged documentation from classpath.
833         * java/util/zip/DeflaterOutputStream.java
834         (DeflaterOutputStream): Merged documentation and argument validity
835         check from classpath.
836         (deflate): Merged documentation from classpath.
837         (finish): Likewise.
838         * java/util/zip/Inflater.java
839         (Inflater): Merged class documentation from classpath.
840         (zstream): Reordered.
841         (is_finished): Reordered.
842         (dict_needed): Reordered.
843         (Inflater): Reordered, merged documentation from classpath.
844         (end): Likewise.
845         (finalize): Merged documentation from classpath.
846         (finished): Likewise.
847         (getAdler): Likewise.
848         (getRemaining): Likewise.
849         (getTotalIn): Likewise.
850         (getTotalOut): Likewise.
851         (inflate): Likewise.
852         (needsDictionary): Likewise.
853         (needsInput): Likewise.
854         (reset): Likewise.
855         (setDictionary): Likewise.
856         (setInput): Likewise.
857
858 2003-05-27  Michael Koch  <konqueror@gmx.de>
859
860         * java/net/URLConnection.java
861         (getHeaderFieldInt): Merged with classpath.
862
863 2003-05-27  Michael Koch  <konqueror@gmx.de>
864
865         * java/io/PrintStream.java
866         (PrintStream): Reformatted.
867         (PrintStream): New method, merged from classpath.
868         (write): Reformatted.
869
870 2003-05-27  Michael Koch  <konqueror@gmx.de>
871
872         * java/lang/System.java:
873         Explicitely import needed classes.
874
875 2003-05-26  Michael Koch  <konqueror@gmx.de>
876
877         * java/net/NetPermission.java,
878         java/net/NetworkInterface.java,
879         java/net/PasswordAuthentication.java,
880         java/net/SocketPermission.java:
881         New versions from classpath.
882
883 2003-05-25  Michael Koch  <konqueror@gmx.de>
884
885         * java/io/PushbackInputStream.java,
886         java/net/Authenticator.java,
887         java/net/ContentHandler.java,
888         java/net/ContentHandlerFactory.java,
889         java/net/DatagramSocket.java,
890         java/net/DatagramSocketImpl.java,
891         java/net/DatagramSocketImplFactory.java,
892         java/net/FileNameMap.java,
893         java/net/SocketImplFactory.java,
894         java/net/SocketOptions.java,
895         java/net/URLStreamHandlerFactory.java:
896         Merged new versions from classpath.
897
898 2003-05-25  Michael Koch  <konqueror@gmx.de>
899
900         * java/awt/Checkbox.java,
901         java/awt/Dialog.java,
902         java/awt/Font.java,
903         java/awt/Frame.java,
904         java/awt/ScrollPaneAdjustable.java,
905         java/awt/Scrollbar.java,
906         java/awt/Window.java:
907         New versions from classpath.
908
909 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
910
911         PR libgcj/10838:
912         * java/io/ObjectInputStream (enableResolveObject):
913         Fixed spelling of permission name.
914
915 2003-05-20  Michael Koch  <konqueror@gmx.de>
916
917         * java/io/DataInputStream.java
918         (convertFromUTF): Merged comment from classpath.
919         * java/io/PrintStream.java
920         (error_occured): Renamed from error, merged comment from classpath.
921         (PrintStream): No need to initialized error.
922         (checkError): Replace error with error_occurred.
923         (setError): Likewise.
924
925 2003-05-20  Michael Koch  <konqueror@gmx.de>
926
927         * java/io/DataInputStream.java:
928         Reformatted, Replaced < and & with html entitites in documentation.
929         * java/io/File.java:
930         Reformatted.
931         * java/io/PrintWriter.java:
932         Moved class documentation.
933
934 2003-05-20  Michael Koch  <konqueror@gmx.de>
935
936         * gnu/java/nio/ByteBufferImpl.java,
937         gnu/java/nio/CharBufferImpl.java,
938         gnu/java/nio/CharViewBufferImpl.java,
939         gnu/java/nio/DirectByteBufferImpl.java,
940         gnu/java/nio/DoubleBufferImpl.java,
941         gnu/java/nio/DoubleViewBufferImpl.java,
942         gnu/java/nio/FloatBufferImpl.java,
943         gnu/java/nio/FloatViewBufferImpl.java,
944         gnu/java/nio/IntBufferImpl.java,
945         gnu/java/nio/IntViewBufferImpl.java,
946         gnu/java/nio/LongBufferImpl.java,
947         gnu/java/nio/LongViewBufferImpl.java,
948         gnu/java/nio/natDirectByteBufferImpl.cc,
949         gnu/java/nio/ShortBufferImpl.java,
950         gnu/java/nio/ShortViewBufferImpl.java:
951         Moved files to java/nio.
952         * gnu/java/nio/SocketChannelImpl.java
953         
954         * java/nio/ByteBuffer.java,
955         java/nio/CharBuffer.java,
956         java/nio/DoubleBuffer.java,
957         java/nio/FloatBuffer.java,
958         java/nio/IntBuffer.java,
959         java/nio/LongBuffer.java,
960         java/nio/ShortBuffer.java:
961         Dont import anything.
962         * java/nio/ByteBufferImpl.java,
963         java/nio/CharBufferImpl.java,
964         java/nio/CharViewBufferImpl.java,
965         java/nio/DirectByteBufferImpl.java,
966         java/nio/DoubleBufferImpl.java,
967         java/nio/DoubleViewBufferImpl.java,
968         java/nio/FloatBufferImpl.java,
969         java/nio/FloatViewBufferImpl.java,
970         java/nio/IntBufferImpl.java,
971         java/nio/IntViewBufferImpl.java,
972         java/nio/LongBufferImpl.java,
973         java/nio/LongViewBufferImpl.java,
974         java/nio/natDirectByteBufferImpl.cc,
975         java/nio/ShortBufferImpl.java,
976         java/nio/ShortViewBufferImpl.java:
977         Moved from gnu/java/nio.
978         * Makefile.am
979         (ordinary_java_source_files): Moved files from gnu/java/nio to
980         java/nio.
981         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
982         to java/nio.
983         * Makefile.in: Regenerated.
984
985 2003-05-19  Michael Koch  <konqueror@gmx.de>
986
987         * java/util/Calendar.java
988         (get): Not final anymore since JDK 1.4
989         (set): Likewise.
990
991 2003-05-19  Michael Koch  <konqueror@gmx.de>
992
993         * java/text/CollationKey.java:
994         Merged copyright and dat from classpath.
995         * java/text/RuleBasedCollator.java:
996         Merged class documentation from classpath.
997
998 2003-05-19  Michael Koch  <konqueror@gmx.de>
999
1000         * java/nio/CharBuffer.java
1001         (toString): Compile fix.
1002
1003 2003-05-19  Michael Koch  <konqueror@gmx.de>
1004
1005         * gnu/java/nio/ByteBufferImpl.java
1006         (putLong): Fixed conversion to bytes.
1007         (putDouble): Fixed conversion to bytes.
1008         * gnu/java/nio/DirectByteBufferImpl.java
1009         (putLong): Fixed conversion to bytes.
1010         (putDouble): Fixed conversion to bytes.
1011         * gnu/java/nio/FileLockImpl.java
1012         (isValid): Reformatted.
1013         * java/nio/Buffer.java
1014         (Buffer): Fixed off-by-one bug in handling mark.
1015         * java/nio/ByteBuffer.java:
1016         Added newline.
1017         * java/nio/CharBuffer.java
1018         (toString): Don't use relative get to get string data.
1019
1020 2003-05-16  Michael Koch  <konqueror@gmx.de>
1021
1022         * java/io/natFileDescriptorPosix.cc
1023         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1024         tested.
1025
1026 2003-05-14  Michael Koch  <konqueror@gmx.de>
1027
1028         * gnu/java/nio/FileLockImpl.java
1029         (released): New member variable.
1030         (FileLockImpl): Initialize released.
1031         (releaseImpl): New native method.
1032         (release): Implemented.
1033         * gnu/java/nio/SelectorImpl.java: Reformatted.
1034         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1035         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1036         (accept): Throws IOException.
1037         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1038         (implConfigureBlocking): Throws IOException.
1039         (connect): Likewise.
1040         (read): Likewise.
1041         (write): Likewise.
1042         * gnu/java/nio/natFileLockImpl.cc: New file.
1043         * java/nio/channels/FileLock.java: Reformatted.
1044         * Makefile.am:
1045         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1046         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1047         * Makefile.in: Regenerated.
1048
1049 2003-05-13  Michael Koch  <konqueror@gmx.de>
1050
1051         * gnu/java/nio/CharViewBufferImpl.java
1052         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1053         (get): Shift bits to the right direction.
1054         (put): Likewise.
1055         * gnu/java/nio/DoubleViewBufferImpl.java
1056         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1057         (get): Shift bits to the right direction.
1058         (put): Likewise.
1059         * gnu/java/nio/FloatViewBufferImpl.java
1060         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1061         (get): Shift bits to the right direction.
1062         (put): Likewise.
1063         * gnu/java/nio/IntViewBufferImpl.java
1064         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1065         (get): Shift bits to the right direction.
1066         (put): Likewise.
1067         * gnu/java/nio/LongViewBufferImpl.java
1068         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1069         (get): Shift bits to the right direction.
1070         (put): Likewise.
1071         * gnu/java/nio/ShortViewBufferImpl.java
1072         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1073         (get): Shift bits to the right direction.
1074         (put): Likewise.
1075
1076 2003-05-13  Michael Koch  <konqueror@gmx.de>
1077
1078         * gnu/java/nio/natDirectByteBufferImpl.cc
1079         (allocateImpl): jlong -> RawData*.
1080         (freeImpl): Likewise.
1081
1082 2003-05-13  Michael Koch  <konqueror@gmx.de>
1083
1084         * java/nio/channels/FileChannel.java
1085         (MapMode.m): Made it package-private to match JDK 1.4.
1086         * java/nio/charset/Charset.java
1087         (decode): Made it final to match JDK 1.4.
1088
1089 2003-05-13  Michael Koch  <konqueror@gmx.de>
1090
1091        * java/io/FileDescriptor.java
1092        (SYNC): New constant.
1093        (DSYNC): Likewise.
1094        (getLength): Renamed from lenght() to match classpath's
1095        FileDescriptor.java.
1096        * java/io/RandomAccessFile.java
1097        (RandomAccessFile): Removed unneeded mode check, implemented mode
1098        "rws" and "rwd", merged documentation from classpath.
1099        (setLength): Reformatted.
1100        (length): Use new getLength() of FileDescriptor.
1101        * java/io/natFileDescriptorEcos.cc
1102        (getLength): Renamed from length().
1103        * java/io/natFileDescriptorPosix.cc
1104        (open): Implemented support for SYNC and DSYNC.
1105        (seek): Use getLength() instead of length().
1106        (getLength): Renamed from length().
1107        * java/io/natFileDescriptorWin32.cc
1108        (getLength): Renamed from length().
1109        (seek): Use getLength() instead of length().
1110        (available): Likewise.
1111        * gnu/java/nio/natFileChannelImpl.cc
1112        (size): Use getLength() instead of length().
1113
1114 2003-05-13  Michael Koch  <konqueror@gmx.de>
1115
1116         * gnu/java/nio/ByteBufferImpl.java
1117         (ByteBufferImpl): All constructors revised.
1118         (slice): Reimplemented.
1119         (duplicate): Reimplemented.
1120         (asReadOnlyBuffer): Reimplemented.
1121         * java/nio/ByteBuffer.java:
1122         Reformatted.
1123         (array_offset): Renamed from "offset" to match all other buffer
1124         classes.
1125         (ByteBuffer): All constructors revised.
1126         (allocateDirect): Implemented.
1127         (allocate): New implementation, documentation reworked.
1128         (wrap): Likewise.
1129         (get): Documentation reworked.
1130         (put): New implementation, documentation reworked.
1131         (hasArray): Documentation reworked.
1132         (arrayOffset): Likewise.
1133         (hashCode): Likewise.
1134         (equals): Likewise.
1135         (compareTo): Likewise.
1136         (order): Likewise.
1137         (compact): Likewise.
1138         (isDirect): Likewise.
1139         (slice): Likewise.
1140         (duplicate): Likewise.
1141         (asReadOnlyBuffer): Likewise.
1142         * Makefile.am
1143         (ordinary_java_source_files):
1144         Added gnu/java/nio/DirectByteBufferImpl.java.
1145         (nat_source_files):
1146         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1147         * Makefile.in: Regenerated.
1148
1149 2003-05-12  Michael Koch  <konqueror@gmx.de>
1150
1151         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1152         (nio_get_*): Removed.
1153         (nio_put_*): Removed.
1154         (as*Buffer): Implemented.
1155         (compact): Implemented.
1156         (get): Documentation added.
1157         (put): Documentation added.
1158         (get*): Newly implemented.
1159         (put*): Newly implemented.
1160         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1161         (CharBufferImpl): Revised.
1162         (slice): New implementation.
1163         (duplicate): New implementation.
1164         (compact): New implementation.
1165         (asReadOnlyBuffer): New implementation.
1166         (get): Documentation revised.
1167         (order): Return native byte order.
1168         * gnu/java/nio/DirectByteBufferImpl.java
1169         (allocateDirect): objects can be null not 0.
1170         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1171         (DoubleBufferImpl): Revised.
1172         (slice): New implementation.
1173         (duplicate): New implementation.
1174         (compact): New implementation.
1175         (asReadOnlyBuffer): New implementation.
1176         (get): Documentation revised.
1177         (order): Return native byte order.
1178         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1179         (FloatBufferImpl): Revised.
1180         (slice): New implementation.
1181         (duplicate): New implementation.
1182         (compact): New implementation.
1183         (asReadOnlyBuffer): New implementation.
1184         (get): Documentation revised.
1185         (order): Return native byte order.
1186         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1187         (IntBufferImpl): Revised.
1188         (slice): New implementation.
1189         (duplicate): New implementation.
1190         (compact): New implementation.
1191         (asReadOnlyBuffer): New implementation.
1192         (get): Documentation revised.
1193         (order): Return native byte order.
1194         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1195         (LongBufferImpl): Revised.
1196         (slice): New implementation.
1197         (duplicate): New implementation.
1198         (compact): New implementation.
1199         (asReadOnlyBuffer): New implementation.
1200         (get): Documentation revised.
1201         (order): Return native byte order.
1202         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1203         (ShortBufferImpl): Revised.
1204         (slice): New implementation.
1205         (duplicate): New implementation.
1206         (compact): New implementation.
1207         (asReadOnlyBuffer): New implementation.
1208         (get): Documentation revised.
1209         (order): Return native byte order.
1210         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1211         (CharBuffer): Revised.
1212         (order): Removed.
1213         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1214         (DoubleBuffer): Revised.
1215         (allocateDirect): Removed.
1216         (order): Removed.
1217         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1218         (FloatBuffer): Revised.
1219         (allocateDirect): Removed.
1220         (order): Removed.
1221         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1222         (IntBuffer): Revised.
1223         (allocateDirect): Removed.
1224         (order): Removed.
1225         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1226         (LongBuffer): Revised.
1227         (allocateDirect): Removed.
1228         (order): Removed.
1229         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1230         (ShortBuffer): Revised.
1231         (allocateDirect): Removed.
1232         (order): Removed.
1233         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1234         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1235         * Makefile.am
1236         (ordinary_java_source_files): Added the following files:
1237         gnu/java/nio/CharViewBufferImpl.java,
1238         gnu/java/nio/DoubleViewBufferImpl.java,
1239         gnu/java/nio/FloatViewBufferImpl.java,
1240         gnu/java/nio/IntViewBufferImpl.java,
1241         gnu/java/nio/LongViewBufferImpl.java,
1242         gnu/java/nio/ShortViewBufferImpl.java
1243         (nat_source_files): Removed the following files:
1244         gnu/java/nio/natByteBufferImpl.cc,
1245         gnu/java/nio/natCharBufferImpl.cc
1246         * Makefile.in: Regenerated.
1247
1248 2003-05-12  Michael Koch  <konqueror@gmx.de>
1249
1250         * gnu/java/nio/CharViewBufferImpl.java,
1251         gnu/java/nio/DirectByteBufferImpl.java,
1252         gnu/java/nio/DoubleViewBufferImpl.java,
1253         gnu/java/nio/FloatViewBufferImpl.java,
1254         gnu/java/nio/IntViewBufferImpl.java,
1255         gnu/java/nio/LongViewBufferImpl.java,
1256         gnu/java/nio/ShortViewBufferImpl.java,
1257         gnu/java/nio/natDirectByteBufferImpl.cc:
1258         New files, not yet to be compiled.
1259
1260 2003-05-10  Michael Koch  <konqueror@gmx.de>
1261
1262         * javax/swing/plaf/ButtonUI.java,
1263         javax/swing/plaf/ColorUIResource.java,
1264         javax/swing/plaf/ComponentUI.java,
1265         javax/swing/plaf/DimensionUIResource.java,
1266         javax/swing/plaf/FontUIResource.java,
1267         javax/swing/plaf/IconUIResource.java,
1268         javax/swing/plaf/InsetsUIResource.java,
1269         javax/swing/plaf/LabelUI.java,
1270         javax/swing/plaf/ListUI.java,
1271         javax/swing/plaf/OptionPaneUI.java,
1272         javax/swing/plaf/PanelUI.java,
1273         javax/swing/plaf/TabbedPaneUI.java,
1274         javax/swing/plaf/TextUI.java,
1275         javax/swing/plaf/TreeUI.java,
1276         javax/swing/plaf/ViewportUI.java,
1277         javax/swing/plaf/basic/BasicBorders.java,
1278         javax/swing/plaf/basic/BasicButtonUI.java,
1279         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1280         javax/swing/plaf/basic/BasicDefaults.java,
1281         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1282         javax/swing/plaf/basic/BasicIconFactory.java,
1283         javax/swing/plaf/basic/BasicLabelUI.java,
1284         javax/swing/plaf/basic/BasicListUI.java,
1285         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1286         javax/swing/plaf/basic/BasicPanelUI.java,
1287         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1288         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1289         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1290         javax/swing/plaf/basic/BasicTextUI.java,
1291         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1292         javax/swing/plaf/basic/BasicTreeUI.java,
1293         javax/swing/plaf/basic/BasicViewportUI.java,
1294         javax/swing/plaf/metal/MetalLookAndFeel.java:
1295         New versions from classpath. This adds copyrights to all files and
1296         some serialVersionUIDs.
1297
1298 2003-05-10  Michael Koch  <konqueror@gmx.de>
1299
1300         * java/nio/CharBuffer.java
1301         (offset): Make it package-private.
1302         (backing_buffer): Likewise.
1303         * java/nio/DoubleBuffer.java
1304         (offset): Make it package-private.
1305         (backing_buffer): Likewise.
1306         (put): Reformatted.
1307         * java/nio/FloatBuffer.java
1308         (offset): Make it package-private.
1309         (backing_buffer): Likewise.
1310         * java/nio/IntBuffer.java
1311         (offset): Make it package-private.
1312         (backing_buffer): Likewise.
1313         * java/nio/LongBuffer.java
1314         (offset): Make it package-private.
1315         (backing_buffer): Likewise.
1316         * java/nio/ShortBuffer.java
1317         (offset): Make it package-private.
1318         (backing_buffer): Likewise.
1319
1320 2003-05-10  Michael Koch  <konqueror@gmx.de>
1321
1322         * java/nio/CharBuffer.java
1323         (put): Fixed precondtion check.
1324         (toString): Make it work without backing array.
1325         (put): Skip one level of method calling.
1326
1327 2003-05-10  Michael Koch  <konqueror@gmx.de>
1328
1329         * java/security/Identity.java,
1330         java/security/IdentityScope.java,
1331         java/security/Key.java,
1332         java/security/KeyPair.java,
1333         java/security/PrivateKey.java,
1334         java/security/Provider.java,
1335         java/security/PublicKey.java,
1336         java/security/SecureRandom.java,
1337         java/security/SecureRandomSpi.java,
1338         java/security/SignedObject.java,
1339         java/security/Signer.java,
1340         java/security/cert/Certificate.java,
1341         java/security/cert/PKIXCertPathBuilderResult.java,
1342         java/security/cert/X509Certificate.java:
1343         New versions from classpath.
1344
1345 2003-05-09  Tom Tromey  <tromey@redhat.com>
1346
1347         * Makefile.in: Rebuilt.
1348         * Makefile.am (nat_source_files): Removed old files.
1349         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1350         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1351         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1352         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1353         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1354
1355 2003-05-09  Michael Koch  <konqueror@gmx.de>
1356
1357         * gnu/java/nio/ByteBufferImpl.java
1358         (nio_cast): Removed.
1359         (ByteBufferImpl): Removed.
1360         (nio_get_Byte): Removed.
1361         (nio_put_Byte): Removed.
1362         (asByteBuffer): Removed.
1363         (asCharBuffer): Removed implementation and throw exception.
1364         (asShortBuffer): Likewise.
1365         (asIntBuffer): Likewise.
1366         (asLongBuffer): Likewise.
1367         (asFloatBuffer): Likewise.
1368         (asDoubleBuffer): Likewise.
1369         * gnu/java/nio/CharBufferImpl.java
1370         (CharBufferImpl): Removed.
1371         (nio_get_Byte): Removed.
1372         (nio_put_Byte): Removed.
1373         (asByteBuffer): Removed.
1374         * gnu/java/nio/DoubleBufferImpl.java
1375         (DoubleBufferImpl): Removed.
1376         (nio_get_Byte): Removed.
1377         (nio_put_Byte): Removed.
1378         (asByteBuffer): Removed.
1379         * gnu/java/nio/FloatBufferImpl.java
1380         (FloatBufferImpl): Removed.
1381         (nio_get_Byte): Removed.
1382         (nio_put_Byte): Removed.
1383         (asByteBuffer): Removed.
1384         * gnu/java/nio/IntBufferImpl.java
1385         (IntBufferImpl): Removed.
1386         (nio_get_Byte): Removed.
1387         (nio_put_Byte): Removed.
1388         (asByteBuffer): Removed.
1389         * gnu/java/nio/LongBufferImpl.java
1390         (LongBufferImpl): Removed.
1391         (nio_get_Byte): Removed.
1392         (nio_put_Byte): Removed.
1393         (asByteBuffer): Removed.
1394         * gnu/java/nio/ShortBufferImpl.java
1395         (ShortBufferImpl): Removed.
1396         (nio_get_Byte): Removed.
1397         (nio_put_Byte): Removed.
1398         (asByteBuffer): Removed.
1399         * gnu/java/nio/natByteBufferImpl.cc
1400         (nio_cast): Removed.
1401         (nio_get_Byte): Removed.
1402         (nio_put_Byte): Removed.
1403         * gnu/java/nio/natCharBufferImpl.cc
1404         (nio_get_Byte): Removed.
1405         (nio_put_Byte): Removed.
1406
1407 2003-05-09  Michael Koch  <konqueror@gmx.de>
1408
1409         * java/net/JarURLConnection.java
1410         (getJarEntry): Merged documentation from classpath.
1411         (getJarFile): Likewise.
1412         (getMainAttributes): Likewise.
1413         (getAttributes): Likewise.
1414         (getManifest): Likewise.
1415         (getCertificates): Reformatted.
1416         * java/net/URLConnection.java:
1417         Little classpath merge.
1418
1419 2003-05-09  Michael Koch  <konqueror@gmx.de>
1420
1421         * java/io/DataOutputStream.java
1422         (writeShort): Made it synchronized.
1423         (writeChar): Likewise.
1424         (writeInt): Likewise.
1425         (writeLong): Liekwise.
1426         (writeUTF): Made it synchronized, renamed argument to match classpath.
1427         * java/io/InputStreamReader.java
1428         (converter): Added documentation.
1429         (read): Merged documentation from classpath.
1430         * java/io/OutputStreamWriter.java
1431         (OutputStreamWriter): Merged documentation from classpath.
1432         (close): Reformatted.
1433         (getEncoding): Likewise.
1434         (flush): Likewise.
1435         (write): Merged documentation from classpath, reformatted.
1436
1437 2003-05-08  Tom Tromey  <tromey@redhat.com>
1438
1439         * configure.host <powerpc64*-*>: Set with_libffi_default and
1440         libgcj_interpreter to "yes".
1441
1442 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1443
1444         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1445         
1446 2003-05-06  Tom Tromey  <tromey@redhat.com>
1447
1448         * verify.cc: Reverted previous patch.
1449
1450 2003-05-06  Michael Koch  <konqueror@gmx.de>
1451
1452         * java/io/DataOutputStream.java
1453         (write): Renamed argument to "value", merged documentation from
1454         classpath.
1455         (writeBoolean): Likewise.
1456         (writeByte): Likewise.
1457         (writeShort): Likewise.
1458         (writeChar): Likewise.
1459         (writeInt): Likewise.
1460         (writeLong): Likewise.
1461         (writeFloat): Likewise.
1462         (writeDouble): Likewise.
1463         (writeBytes): Likewise.
1464         (writeChars): Likewise.
1465         (writeUTF): Likewise.
1466         * java/io/File.java
1467         (performDelete): Added documentation.
1468         (performList): Likewise.
1469         (performMkdir): Likewise.
1470         (performSetReadOnly): Likewise.
1471         (performRenameTo): Likewise.
1472         (performSetLastModified): Likewise.
1473         (delete): Made it sychronized.
1474         (renameTo): Made it sychronized.
1475         (equals): Reformatted.
1476         (isHidden): Likewise.
1477         (listFiles): Likewise.
1478         (setReadOnly): Likewise.
1479         (listRoots): Likewise.
1480         (setLastModified): Likewise.
1481         (checkRead): Likewise.
1482         (checkWrite): Likewise.
1483         * java/io/FileInputStream.java
1484         (skip): Made it sychronized, merged from classpath.
1485         * java/io/FileOutputStream.java
1486         (write): Merged from classpath.
1487         * java/io/InputStreamReader.java:
1488         (InputStreamReader): Merged documentation from classpath.
1489
1490 2003-05-05  Michael Koch  <konqueror@gmx.de>
1491
1492         * java/net/NetworkInterface.java
1493         (networkInterfaces): Removed.
1494         (getByName): Use getRealNetworkInterfaces() instead of
1495         networkInterfaces.
1496         (getByInetAddress): Likewise.
1497         (getNetworkInterfaces): Likewise.
1498         (toString): Fix output of addresses of an interface.
1499
1500 2003-05-05  Michael Koch  <konqueror@gmx.de>
1501
1502         * java/io/DataInputStream.java:
1503         Merged new documentation from classpath.
1504
1505 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1506
1507         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1508         "version".
1509         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1510         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1511         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1512         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1513         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1514         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1515         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1516         * java/security/Key.java: Likewise.
1517         * java/security/PrivateKey.java: Likewise.
1518         * java/security/Provider.java: Likewise.
1519         * java/security/PublicKey.java: Likewise.
1520
1521 2003-05-02  Michael Koch  <konqueror@gmx.de>
1522
1523         * java/net/URI.java
1524         (create): Doesnt throws any exceptions.
1525         * java/net/URLConnection.java
1526         (URLConnection): Commend added.
1527         (getExpiration): The header field is called "expires" not
1528         "expiration".
1529         (getHeaderField): Merged documentation with classpath.
1530         (getHeaderFieldInt): Likewise.
1531         (getHeaderFieldDate): Likewise.
1532         (getHeaderFieldKey): Likewise.
1533         (getPermission): Likewise.
1534         (setDefaultUseCaches): Likewise.
1535         (setRequestProperty): Likewise.
1536         (addRequestProperty): Likewise.
1537         (getRequestProperty): Likewise.
1538         (getRequestProperties): Likewise.
1539         (setDefaultRequestProperty): Likewise.
1540         (getDefaultRequestProperty): Likewise.
1541         (guessContentTypeFromStream): Likewise.
1542         (getFileNameMap): Likewise.
1543         (setFileNameMap): Likewise.
1544         (setDoInput): Merged implementation and documentation with classpath.
1545         (setDoOutput): Likewise.
1546         (setAllowUserInteraction): Likewise.
1547         (setDefaultAllowUserInteraction): Likewise.
1548         (setContentHandlerFactory): Made it synchronized, merged documentation
1549         with classpath.
1550         (guessContentTypeFromName): Renamed argument fname to filename to
1551         match classpath, merged documentation with classpath.
1552
1553 2003-05-02  Michael Koch  <konqueror@gmx.de>
1554
1555         * java/net/JarURLConnection.java
1556         (JarURLConnection): Class documentation merged with classpath.
1557         (getJarFileURL): Moved and documentation merged with classpath.
1558         (getEntryName): Likewise.
1559         (JarURLConnection): Documentation merged with classpath.
1560         (getJarEntry): Likewise.
1561         (getJarFile): Likewise.
1562         * java/net/PlainDatagramSocketImpl.java:
1563         Class documentation moved.
1564         * java/net/URLConnection.java
1565         (fileNameMap): Moved and documentation merged with classpath.
1566         (factory): Likewise.
1567         (defaultAllowUserInteraction): Likewis.
1568         (defaultUseCaches): Likewise.
1569         (allowUserInteraction): Likewise.
1570         (connected): Likewise.
1571         (url): Likewise.
1572         (connect): Documentation merged with classpath.
1573         (getURL): Likewise.
1574         (getContentLength): Likewise.
1575         (getContentType): Likewise.
1576         (getContentEncoding): Likewise.
1577         (getExpiration): Likewise.
1578         (getDate): Likewise.
1579         (getLastModified): Likewise.
1580         (getHeaderField): Likewise.
1581         (getContent): Likewise.
1582         (getPermission): Likewise.
1583         (getInputStream): Likewise.
1584         (getOutputStream): Likewise.
1585         (toString): Likewise.
1586         (getDoInput): Likewise.
1587         (getDoOutput): Likewise.
1588         (setAllowUserInteraction): Likewise.
1589         (getAllowUserInteraction): Likewise.
1590         (setDefaultAllowUserInteraction): Likewise.
1591         (getDefaultAllowUserInteraction): Likewise.
1592         (setUseCaches): Likewise.
1593         (getUseCaches): Likewise.
1594         (setIfModifiedSince): Likewise.
1595         (getIfModifiedSince): Likewise.
1596         (setDefaultRequestProperty): Likewise.
1597         (getDefaultRequestProperty): Likewise.
1598         (setContentHandlerFactory): Likewise.
1599         (setFileNameMap): Likewise.
1600
1601 2003-05-02  Michael Koch  <konqueror@gmx.de>
1602
1603         * java/net/InetAddress.java:
1604         Merged class documentation with classpath.
1605         * java/net/JarURLConnection.java:
1606         Explicitely import all used classes.
1607         * java/net/URL.java:
1608         Reformatting.
1609         * java/net/ServerSocket.java,
1610         java/net/Socket.java:
1611         New versions from classpath.
1612
1613 2003-05-02  Michael Koch  <konqueror@gmx.de>
1614
1615         * gnu/java/nio/FileChannelImpl.java
1616         (read): New implementation.
1617         (implRead): New methods.
1618         (write): New implementation, call other write insteal of read method.
1619         (implWrite): New methods.
1620         (map): Added comment.
1621         (transferFrom): Implemented.
1622         (transferTo): Implemented.
1623         (lock): Added checks to throw exceptions.
1624         (truncate): Added check to throw exception.
1625         * gnu/java/nio/natFileChannelImpl.cc
1626         (implRead): New method.
1627         (implWrite): New method.
1628         * java/nio/ByteBuffer.java
1629         (hashCode): Fixed comment.
1630         (get): Fixed exception documentation.
1631         (put): Fixed exception documentation.
1632         * java/nio/CharBuffer.java:
1633         Added comment for later optimizations.
1634
1635 2003-04-30  Tom Tromey  <tromey@redhat.com>
1636
1637         PR libgcj/10582:
1638         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1639         Removed.
1640         (type::compatible): Use _Jv_IsAssignableFrom.
1641         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1642         (_Jv_IsAssignableFrom): Work even when source or target class is
1643         not prepared.
1644
1645 2003-04-30  Michael Koch  <konqueror@gmx.de>
1646
1647         * java/text/BreakIterator.java
1648         (clone): New method.
1649
1650 2003-04-30  Michael Koch  <konqueror@gmx.de>
1651
1652         * java/text/CollationElementIterator.java,
1653         java/text/CollationKey.java,
1654         java/text/RuleBasedCollator.java:
1655         Merged copyright and documentation from classpath and
1656         rearranged some code. No code changes done.
1657
1658 2003-04-30  Michael Koch  <konqueror@gmx.de>
1659
1660         * java/util/regex/Matcher.java
1661         (pattern): New member variable.
1662         (appendReplacement): New method.
1663         (appendTail): New method.
1664         (end): New method.
1665         (find): New method.
1666         (group): New method.
1667         (replaceFirst): Added documentation.
1668         (replaceAll): Added documentation.
1669         (groupCount): New method.
1670         (lookingAt): New method.
1671         (matches): New method.
1672         (reset): New method.
1673         (start): New method.
1674         * java/util/regex/Pattern.java
1675         (serialVersionUID): New constant.
1676         (CANON_EQ): New constant.
1677         (CASE_INSENSITIVE): New constant.
1678         (COMMENTS): New constant.
1679         (DOTALL): New constant.
1680         (MULTILINE): New constant.
1681         (UNICODE_CASE): New constant.
1682         (UNIX_LINES): New constant.
1683         (regex): New member variable.
1684         (flags): New member variable.
1685         (Pattern): New method.
1686         (compile): Documentation added.
1687         (flags): New method.
1688         (matches): Documentation added.
1689         (matcher): Documentation added.
1690         (split): Documentation added.
1691         (pattern): New method.
1692
1693 2003-04-30  Michael Koch  <konqueror@gmx.de>
1694
1695         * gnu/java/security/Engine.java,
1696         gnu/java/security/OID.java,
1697         gnu/java/security/der/BitString.java,
1698         gnu/java/security/der/DER.java,
1699         gnu/java/security/der/DERReader.java,
1700         gnu/java/security/der/DERValue.java,
1701         gnu/java/security/der/DERWriter.java,
1702         gnu/java/security/provider/DSAKeyFactory.java,
1703         gnu/java/security/provider/X509CertificateFactory.java,
1704         gnu/java/security/x509/X500DistinguishedName.java,
1705         gnu/java/security/x509/X509CRL.java,
1706         gnu/java/security/x509/X509CRLEntry.java,
1707         gnu/java/security/x509/X509Certificate.java,
1708         java/security/cert/CRLSelector.java,
1709         java/security/cert/CertPathBuilder.java,
1710         java/security/cert/CertPathBuilderResult.java,
1711         java/security/cert/CertPathBuilderSpi.java,
1712         java/security/cert/CertPathParameters.java,
1713         java/security/cert/CertPathValidator.java,
1714         java/security/cert/CertPathValidatorResult.java,
1715         java/security/cert/CertPathValidatorSpi.java,
1716         java/security/cert/CertSelector.java,
1717         java/security/cert/CertStore.java,
1718         java/security/cert/CertStoreParameters.java,
1719         java/security/cert/CertStoreSpi.java,
1720         java/security/cert/CollectionCertStoreParameters.java,
1721         java/security/cert/LDAPCertStoreParameters.java,
1722         java/security/cert/PKIXBuilderParameters.java,
1723         java/security/cert/PKIXCertPathBuilderResult.java,
1724         java/security/cert/PKIXCertPathChecker.java,
1725         java/security/cert/PKIXCertPathValidatorResult.java,
1726         java/security/cert/PKIXParameters.java,
1727         java/security/cert/PolicyNode.java,
1728         java/security/cert/PolicyQualifierInfo.java,
1729         java/security/cert/TrustAnchor.java,
1730         javax/security/auth/x500/X500Principal.java:
1731         New files from classpath.
1732         * gnu/java/io/ASN1ParsingException.java,
1733         gnu/java/io/Base64InputStream.java,
1734         gnu/java/security/der/DEREncodingException.java,
1735         gnu/java/security/provider/DSAParameters.java,
1736         gnu/java/security/provider/DSASignature.java,
1737         gnu/java/security/provider/Gnu.java,
1738         gnu/java/security/provider/GnuDSAPrivateKey.java,
1739         gnu/java/security/provider/GnuDSAPublicKey.java,
1740         java/security/AlgorithmParameterGenerator.java,
1741         java/security/AlgorithmParameters.java,
1742         java/security/KeyFactory.java,
1743         java/security/KeyPairGenerator.java,
1744         java/security/KeyStore.java,
1745         java/security/MessageDigest.java,
1746         java/security/SecureClassLoader.java,
1747         java/security/SecureRandom.java,
1748         java/security/Security.java,
1749         java/security/Signature.java,
1750         java/security/cert/Certificate.java,
1751         java/security/cert/CertificateFactory.java,
1752         java/security/cert/CertificateFactorySpi.java,
1753         java/security/cert/X509CRL.java,
1754         java/security/cert/X509Certificate.java,
1755         java/security/spec/DSAPublicKeySpec.java:
1756         New versions from classpath.
1757         * gnu/java/security/provider/DERReader.java,
1758         gnu/java/security/provider/DERWriter.java,
1759         java/security/Engine.java: Removed.
1760         * Makefile.am
1761         (java_source_files, javax_source_files): Added new files.
1762         * Makefile.in: Regenerated.
1763
1764 2003-04-29  Michael Koch  <konqueror@gmx.de>
1765
1766         * javax/swing/JTable.java
1767         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1768         (AUTO_RESIZE_LAST_COLUMN): New constant.
1769         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1770         (AUTO_RESIZE_OFF): New constant.
1771         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1772         (JTable): New method.
1773         (columnAdded): New method.
1774         (columnMarginChanged): New method.
1775         (columnMoved): New method.
1776         (columnRemoved): New method.
1777         (columnSelectionChanged): New method.
1778         (editingCanceled): New method.
1779         (editingStopped): New method.
1780         (getColumnModel): New method.
1781         (getPreferredScrollableViewportSize): New method.
1782         (getScrollableBlockIncrement): New method.
1783         (getScrollableTracksViewportHeight): New method.
1784         (getScrollableTracksViewportWidth): New method.
1785         (getScrollableUnitIncrement): New method.
1786         (getSelectedRow): New method.
1787         (getSelectionModel): New method.
1788         (tableChanged): New method.
1789         (setModel): New method.
1790         (setSelectionMode): New method.
1791         (setSelectionModel): New method.
1792         (setShowGrid): New method.
1793         (valueChanged): New method.
1794         * javax/swing/text/DefaultEditorKit.java
1795         (backwardAction): New constant.
1796         (beepAction): New constant.
1797         (beginAction): New constant.
1798         (beginLineAction): New constant.
1799         (beginParagraphAction): New constant.
1800         (beginWordAction): New constant.
1801         (copyAction): New constant.
1802         (cutAction): New constant.
1803         (defaultKeyTypedAction): New constant.
1804         (deleteNextCharAction): New constant.
1805         (deletePrevCharAction): New constant.
1806         (downAction): New constant.
1807         (endAction): New constant.
1808         (endLineAction): New constant.
1809         (endOfLineStringProperty): New constant.
1810         (endParagraphAction): New constant.
1811         (endWordAction): New constant.
1812         (forwardAction): New constant.
1813         (insertBreakAction): New constant.
1814         (insertContentAction): New constant.
1815         (insertTabAction): New constant.
1816         (nextWordAction): New constant.
1817         (pageDownAction): New constant.
1818         (pageUpAction): New constant.
1819         (pasteAction): New constant.
1820         (previousWordAction): New constant.
1821         (readOnlyAction): New constant.
1822         (selectAllAction): New constant.
1823         (selectionBackwardAction): New constant.
1824         (selectionBeginAction): New constant.
1825         (selectionBeginLineAction): New constant.
1826         (selectionBeginParagraphAction): New constant.
1827         (selectionBeginWordAction): New constant.
1828         (selectionDownAction): New constant.
1829         (selectionEndAction): New constant.
1830         (selectionEndLineAction): New constant.
1831         (selectionEndParagraphAction): New constant.
1832         (selectionEndWordAction): New constant.
1833         (selectionForwardAction): New constant.
1834         (selectionNextWordAction): New constant.
1835         (selectionPreviousWordAction): New constant.
1836         (selectionUpAction): New constant.
1837         (selectLineAction): New constant.
1838         (selectParagraphAction): New constant.
1839         (selectWordAction): New constant.
1840         (upAction): New constant.
1841         (writableAction): New constant.
1842
1843 2003-04-29  Michael Koch  <konqueror@gmx.de>
1844
1845         * java/util/PropertyPermission.java:
1846         New version from classpath
1847         * java/util/ResourceBundle.java:
1848         Partly merged from classpath
1849         (getObject): Reformated.
1850         (tryBundle): Set foundBundle = null if no bundle found.
1851
1852 2003-04-29  Michael Koch  <konqueror@gmx.de>
1853
1854         * javax/swing/AbstractListModel.java,
1855         javax/swing/DefaultBoundedRangeModel.java,
1856         javax/swing/DefaultSingleSelectionModel.java:
1857         New Versions from classpath.
1858
1859 2003-04-29  Michael Koch  <konqueror@gmx.de>
1860
1861         * java/awt/Window.java
1862         (show): Call super.show() instead of setVisible() to avoid endless
1863         loop.
1864         (hide): Call super.hide() instead of setVisible() to avoid endless
1865         loop.
1866
1867 2003-04-29  Michael Koch  <konqueror@gmx.de>
1868
1869         * java/util/zip/Deflater.java,
1870         java/util/zip/DeflaterOutputStream.java:
1871         Partly merged with classpath.
1872
1873 2003-04-27  Tom Tromey  <tromey@redhat.com>
1874
1875         * java/lang/natString.cc (_Jv_AllocString): Initialize
1876         cachedHashCode.
1877         (init): Likewise.
1878         (_Jv_NewStringUtf8Const): Likewise.
1879
1880 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1881
1882         * include/jvm.h: (_Jv_GetNbArgs) added
1883         (_Jv_GetSafeArg) added
1884         (_Jv_SetArgs) added
1885         * prims.cc: (_Jv_GetNbArgs) implemented
1886         (_Jv_GetSafeArg) implemented
1887         (_Jv_SetArgs) implemented
1888         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1889         setting _Jv_argc and _Jv_argv
1890         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1891         instead of _Jv_argv
1892         * java/lang/natRuntime.cc: (insertSystemProperties) use
1893         _Jv_GetSafeArg() instead of _Jv_argv
1894
1895 2003-04-23  Tom Tromey  <tromey@redhat.com>
1896
1897         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1898         required by this object.  Search superclasses to find required
1899         alignment.
1900         (get_alignment_from_class): Use alignment of type as it appears
1901         in a struct.
1902         (ALIGNOF): New macro.
1903         (struct aligner): New helper structure.
1904
1905 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1906
1907         * java/awt/Container.java (addImpl): Enable paint events if adding
1908         a lightweight to a heavyweight.
1909         (addNotify): Ensure that peer is created before
1910         addNotifyContainerChildren.
1911         (addNotifyContainerChildren): Enable paint events if a heavyweight
1912         container contains a lightweight.
1913
1914 2003-04-20  Tom Tromey  <tromey@redhat.com>
1915
1916         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1917         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1918         Classpath.
1919
1920 2003-04-19  Tom Tromey  <tromey@redhat.com>
1921
1922         * java/sql/Date.java, java/sql/DriverManager.java,
1923         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1924         Classpath.
1925
1926         * Makefile.in: Rebuilt.
1927         * Makefile.am (ordinary_java_source_files): Added new files.
1928         * java/security/AlgorithmParameterGenerator.java,
1929         java/security/AlgorithmParameters.java, java/security/Engine.java,
1930         java/security/Identity.java, java/security/IdentityScope.java,
1931         java/security/KeyFactory.java,
1932         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1933         java/security/MessageDigest.java, java/security/Policy.java,
1934         java/security/ProtectionDomain.java,
1935         java/security/SecureRandom.java, java/security/Security.java,
1936         java/security/Signature.java, java/security/SignatureSpi.java,
1937         java/security/SignedObject.java, java/security/Signer.java,
1938         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1939         java/security/spec/PSSParameterSpec.java,
1940         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1941         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1942         Classpath.
1943
1944 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1945
1946         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1947         (dispose): Null metrics.
1948         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1949         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1950         finalize.
1951         (finalize): Call dispose.
1952         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1953         (gcCachedCount): New field.
1954         (finalize): New method.
1955         (putGCInCache): New method.
1956         (getGCFromCache): New method.
1957         * gnu/gcj/xlib/GC.java (GC): Make protected.
1958         (clone): Get new GC from cache if possible.
1959         (create): New static method.
1960         (dispose): Save old GC in cache.
1961         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1962         deleting.
1963         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1964         is null.
1965         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1966         * java/awt/Container.java (visitChild): Dispose gfx2 when
1967         finished.
1968
1969 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1970
1971         * java/math/BigInteger.java (probablePrime): New.
1972         * java/math/BigDecimal.java (unscaledValue): New.
1973
1974 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1975
1976         * java/io/File.java (getAbsolutePath): On Windows, take care
1977         of paths like "C:", "G:foo\bar", etc.
1978         (getName): Make it work correctly on Windows.
1979         (getParent): Make it work correctly on Windows. For UNIX,
1980         fix bug that causes "/" to be returned as the parent of "/",
1981         instead of null as returned by Sun's JRE.
1982
1983         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1984
1985 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1986
1987         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1988         inner class.
1989         (CACHE_SIZE_PER_DISPLAY): New field
1990         (fontMetricsCache): New field
1991         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1992         loading ISO10646-1 fonts.
1993
1994 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1995
1996         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1997         characters.
1998         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1999         characters.
2000
2001 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2002
2003         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2004         floating point.
2005
2006 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2007
2008         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2009         installed libpthread is either linuxthreads with floating stacks or
2010         NPTL.
2011
2012 2003-04-14  Tom Tromey  <tromey@redhat.com>
2013
2014         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2015         of alignment.
2016
2017 2003-04-10  Tom Tromey  <tromey@redhat.com>
2018
2019         * verify.cc (pop64): Removed.
2020         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2021         exception if top-of-stack is narrow.
2022         (initialize_stack): Check to ensure that <init> is not static and
2023         <clinit> is.
2024
2025 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2026
2027         * java/io/ObjectStreamException
2028         * java/io/FileFilter
2029         * java/io/FilenameFilter
2030         * java/io/ObjectInput
2031         * java/io/ObjectOutput
2032         * java/io/ObjectStreamConstants
2033         Minor doc fixes, format fixes, spelling corrections, etc.
2034         * java/io/DataInput
2035         Corrected code samples in Javadocs to match reality
2036         * java/io/DataOutput
2037         * java/io/ObjectInputValidation
2038         Major documentation fixes - all Javadocs re-written or updated
2039
2040 2003-04-06  Michael Koch  <konqueror@gmx.de>
2041
2042         * java/net/URLConnection.java:
2043         Import classes directly.
2044         (URLConnection): Merged class documentation with classpath.
2045         (url): Moved, documentation from classpath added.
2046         (doInput): Moved, documentation from classpath added.
2047         (doOutput): Moved, documentation from classpath added.
2048         (allowUserInteraction): Moved.
2049         (useCaches): Moved, documentation from classpath added.
2050         (ifModifiedSince): Moved, documentation from classpath added.
2051         (connected): Moved, documentation from classpath added.
2052
2053 2003-04-06  Michael Koch  <konqueror@gmx.de>
2054
2055         * java/io/FileInputStream.java
2056         (skip): Renamed some variables to match classpath, added
2057         checks from classpath.
2058
2059 2003-03-31  Michael Koch  <konqueror@gmx.de>
2060
2061         * javax/swing/AbstractAction.java
2062         (AbstractAction): Reformatted.
2063         (serialVersionUID): New private member variable.
2064         * javax/swing/plaf/BorderUIResource.java
2065         (serialVersionUID): New private member variable.
2066         * javax/swing/plaf/basic/BasicLookAndFeel.java
2067         (serialVersionUID): New private member variable.
2068
2069 2003-03-31  Michael Koch  <konqueror@gmx.de>
2070
2071         * java/sql/Date.java
2072         (valueOf): Deprecated, reformatted.
2073         (toString): Deprecated, reformatted.
2074         * java/sql/Time.java
2075         (valueOf): Deprecated, reformatted.
2076         (toString): Deprecated, reformatted.
2077
2078 2003-03-31  Michael Koch  <konqueror@gmx.de>
2079
2080         * java/rmi/dgc/VMID.java
2081         (isUnique): Deprecated.
2082
2083 2003-03-31  Michael Koch  <konqueror@gmx.de>
2084
2085         * java/io/File.java
2086         (separator): Merged documentation from classpath.
2087         (separatorChar): Merged documentation from classpath.
2088         (pathSeparator): Merged documentation from classpath.
2089         (pathSeparatorChar): Merged documentation from classpath.
2090         (path): Merged documentation from classpath.
2091         (canRead): Merged documentation from classpath.
2092         (canWrite): Merged documentation from classpath.
2093         (createNewFile): Merged documentation from classpath.
2094         (delete): Merged documentation from classpath.
2095         (equals): Merged documentation from classpath.
2096         (exists): Merged documentation from classpath.
2097         (File): Renamed p to name to match classpath, merged documentation
2098         from classpath.
2099         (getAbsolutePath): Merged documentation from classpath.
2100         (getCanonicalPath): Merged documentation from classpath.
2101         (getCanonicalFile): Merged documentation from classpath.
2102         (getName): Merged documentation from classpath.
2103         (getParent): Merged documentation from classpath.
2104         (getParentFile): Merged documentation from classpath.
2105         (getPath): Merged documentation from classpath.
2106         (hashCode): Merged documentation from classpath.
2107         (isAbsolute): Merged documentation from classpath.
2108         (isDirectory): Merged documentation from classpath.
2109         (isFile): Merged documentation from classpath.
2110         (isHidden): Merged documentation from classpath.
2111         (lastModified): Merged documentation from classpath.
2112         (length): Merged documentation from classpath.
2113         (list): Merged documentation from classpath.
2114         (listFiles): Merged documentation from classpath.
2115         (toString): Merged documentation from classpath.
2116         (toURL): Merged documentation from classpath.
2117         (mkdir): Merged documentation from classpath.
2118         (mkdirs): Merged documentation from classpath.
2119         (createTempFile): Merged documentation from classpath.
2120         (setReadOnly): Merged documentation from classpath.
2121         (listRoots): Merged documentation from classpath.
2122         (compareTo): Merged documentation from classpath.
2123         (renameTo): Merged documentation from classpath.
2124         (setLastModified): Merged documentation from classpath.
2125         * java/io/PrintStream.java
2126         (auto_flush): Merged documentation from classpath.
2127         (PrintStream): Merged documentation from classpath.
2128         (checkError): Merged documentation from classpath.
2129         (setError): Merged documentation from classpath.
2130         (close): Merged documentation from classpath.
2131         (flush): Merged documentation from classpath.
2132         (print): Merged documentation from classpath.
2133         (println):  Merged documentation from classpath.
2134         (write): Renamed count to len to match classpath,
2135         merged documentation from classpath.
2136         * java/io/RandomAccessFile.java
2137         (readShort): Merged documentation from classpath.
2138         (readUnsignedByte): Merged documentation from classpath.
2139         (readUnsignedShort): Merged documentation from classpath.
2140         (readUTF): Merged documentation from classpath.
2141         (seek): Reformatted, merged documentation from classpath.
2142         (skipBytes): Renamed some variables to match classpath, reformatted,
2143         merged documentation from classpath.
2144         (write): Merged documentation from classpath.
2145         (writeBoolean): Merged documentation from classpath.
2146         (writeByte): Merged documentation from classpath.
2147         (writeShort): Merged documentation from classpath.
2148         (writeChar): Merged documentation from classpath.
2149         (writeInt): Merged documentation from classpath.
2150         (writeLong): Merged documentation from classpath.
2151         (writeFloat): Merged documentation from classpath.
2152         (writeDouble): Merged documentation from classpath.
2153         (writeBytes): Merged documentation from classpath.
2154         (writeChars): Merged documentation from classpath.
2155         (writeUTF): Reformatted.
2156         (getChannel): Reformatted.
2157
2158 2003-03-31  Michael Koch  <konqueror@gmx.de>
2159
2160         * java/awt/font/TextAttribute.java
2161         (readResolve): Throws java.io.InvalidObjectException.
2162
2163 2003-03-31  Michael Koch  <konqueror@gmx.de>
2164
2165         * java/rmi/server/LoaderHandler.java
2166         (loadClass): Deprecated.
2167         (getSecurityContext): Deprecated.
2168         * java/rmi/server/LogStream.java
2169         (getDefaultStream): Deprecated.
2170         (setDefaultStream): Deprecated.
2171         (getOutputStream): Deprecated.
2172         (setOutputStream): Deprecated.
2173         (write): Deprecated.
2174         (toString): Deprecated.
2175         (parseLevel): Deprecated.
2176         * java/rmi/server/Operation.java
2177         (Operation): Deprecated.
2178         (getOperation): Deprecated.
2179         (toString): Deprecated.
2180         * java/rmi/server/RemoteCall.java
2181         (getOutputStream): Deprecated.
2182         (releaseOutputStream): Deprecated.
2183         (getInputStream): Deprecated.
2184         (releaseInputStream): Deprecated.
2185         (getResultStream): Deprecated.
2186         (executeCall): Deprecated.
2187         (done): Deprecated.
2188         * java/rmi/server/RemoteRef.java
2189         (invoke): Deprecated.
2190         (newCall): Deprecated.
2191         (done): Deprecated.
2192         * java/rmi/server/RemoteStub.java
2193         (setRef): Deprecated.
2194         * java/rmi/server/Skeleton.java:
2195         No need to import java.lang.Exception explicitly.
2196         (dispatch): Deprecated.
2197         (getOperations): Deprecated.
2198
2199 2003-03-31  Michael Koch  <konqueror@gmx.de>
2200
2201         * java/rmi/dgc/VMID.java,
2202         java/rmi/registry/RegistryHandler.java,
2203         java/rmi/server/LogStream.java,
2204         java/rmi/server/Operation.java,
2205         java/rmi/server/RemoteCall.java,
2206         java/rmi/server/RemoteRef.java,
2207         java/rmi/server/RemoteStub.java:
2208         Reformatted.
2209
2210 2003-03-31  Michael Koch  <konqueror@gmx.de>
2211
2212         * javax/swing/AbstractCellEditor.java,
2213         javax/swing/AbstractListModel.java,
2214         javax/swing/ActionMap.java,
2215         javax/swing/BorderFactory.java,
2216         javax/swing/ButtonGroup.java,
2217         javax/swing/DefaultBoundedRangeModel.java,
2218         javax/swing/DefaultButtonModel.java,
2219         javax/swing/DefaultCellEditor.java,
2220         javax/swing/DefaultComboBoxModel.java,
2221         javax/swing/DefaultDesktopManager.java,
2222         javax/swing/DefaultListCellRenderer.java,
2223         javax/swing/DefaultSingleSelectionModel.java,
2224         javax/swing/InputMap.java,
2225         javax/swing/JComponent.java,
2226         javax/swing/JMenu.java,
2227         javax/swing/JSlider.java,
2228         javax/swing/KeyStroke.java,
2229         javax/swing/OverlayLayout.java,
2230         javax/swing/ScrollPaneLayout.java,
2231         javax/swing/SizeRequirements.java,
2232         javax/swing/UIManager.java,
2233         javax/swing/ViewportLayout.java,
2234         javax/swing/border/AbstractBorder.java,
2235         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2236         javax/swing/event/EventListenerList.java,
2237         javax/swing/table/AbstractTableModel.java,
2238         javax/swing/table/DefaultTableCellRenderer.java,
2239         javax/swing/table/DefaultTableColumnModel.java,
2240         javax/swing/table/DefaultTableModel.java,
2241         javax/swing/table/TableColumn.java,
2242         javax/swing/text/StyledEditorKit.java,
2243         javax/swing/tree/DefaultMutableTreeNode.java,
2244         javax/swing/tree/DefaultTreeModel.java,
2245         javax/swing/tree/DefaultTreeSelectionModel.java,
2246         javax/swing/tree/TreePath.java,
2247         javax/swing/undo/AbstractUndoableEdit.java,
2248         javax/swing/undo/StateEdit.java,
2249         javax/swing/undo/StateEditable.java,
2250         javax/swing/undo/UndoableEditSupport.java:
2251         Merges from classpath.
2252
2253 2003-03-30  Tom Tromey  <tromey@redhat.com>
2254
2255         * java/lang/String.java (data, boffset, count): Documented.
2256         (String(byte[],String)): Reformatted.
2257         (String(byte[])): Likewise.
2258         (lastIndexOf(int)): Likewise.
2259         (lastIndexOf(String)): Likewise.
2260         (substring(int)): Renamed argument to match Classpath.
2261         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2262
2263         * java/lang/String.java: Miscellaneous minor formatting changes
2264         to match Classpath more closely.
2265
2266 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2267             Tom Tromey  <tromey@redhat.com>
2268
2269         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2270         (init()): Removed.
2271         (charAt): Put index in exception.
2272         (contentEquals): New method.
2273         Include StringBuffer.h.
2274         * java/lang/String.java (cachedHashCode): New field.
2275         (String()): Follow classpath implementation.
2276         (init()): Removed.
2277         (contentEquals): Declare.
2278         (subSequence): Don't declare IndexOutIfBoundsException in throws
2279         clause.
2280         (matches, replaceFirst, replaceAll, split): New methods from
2281         Classpath.
2282
2283 2003-03-29  Tom Tromey  <tromey@redhat.com>
2284
2285         * java/lang/String.java: Reordered to follow Classpath; merged in
2286         javadoc.
2287
2288         * java/text/MessageFormat.java: Removed some whitespace.
2289
2290         * Makefile.in: Rebuilt.
2291         * Makefile.am (awt_java_source_files): Added new files.
2292         * gnu/javax/rmi/PortableServer.java,
2293         gnu/javax/rmi/CORBA/DelegateFactory.java,
2294         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2295         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2296         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2297         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2298         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2299         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2300         javax/rmi/PortableRemoteObject.java,
2301         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2302         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2303         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2304         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2305         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2306         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2307
2308         * java/lang/natClass.cc (newInstance): Put method name in
2309         exception.
2310         (getConstructor): Likewise.
2311         (getDeclaredConstructor): Likewise.
2312         (getPrivateMethod): Likewise.
2313
2314 2003-03-28  Tom Tromey  <tromey@redhat.com>
2315
2316         * java/lang/reflect/Proxy.java: New version from Classpath.
2317         * java/lang/Package.java: New version from Classpath.
2318
2319 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2320
2321         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2322         * configure: Regenerate.
2323
2324 2003-03-28  Michael Koch  <konqueror@gmx.de>
2325
2326         * java/io/File.java:
2327         Import needed classes instead of whole packages, merged class
2328         documentation with classpath, moved constants and variables to top of
2329         class.
2330         * java/io/PrintStream.java:
2331         Merged class documentation with classpath, moved constants and
2332         variables to top of class.
2333         * java/io/RandomAccessFile.java
2334         (RandomAccessFile): Merged with classpath.
2335         (read): Merged with classpath).
2336         (read*): Reformatted.
2337
2338 2003-03-28  Michael Koch  <konqueror@gmx.de>
2339
2340         * java/io/FileDescriptor.java
2341         (finalize): Throws Throwable, not IOException.
2342         * java/io/ObjectOutputStream.java
2343         (PutField.put): Doesnt throws anything.
2344
2345 2003­03-28  Michael Koch  <konqueror@gmx.de>
2346
2347         * java/io/FileOutputStream.java:
2348         Merged class documentation and authors with classpath.
2349         (FileOutputStream): Partly merged with classpath.
2350         (write): Merged with classpath.
2351         (getChannel): Make it synchronized instead of explicit block in this
2352         method.
2353         * java/io/RandomAccessFile.java:
2354         Merged class documentation and authors with classpath.
2355
2356 2003-03-26  Tom Tromey  <tromey@redhat.com>
2357
2358         * java/lang/natRuntime.cc (insertSystemProperties): Set
2359         gnu.classpath.home.url.
2360         * Makefile.in: Rebuilt.
2361         * Makefile.am: Define LIBDIR.
2362
2363 2003-03-25  Michael Koch  <konqueror@gmx.de>
2364
2365         * java/io/FileInputStream.java
2366         (read): Renamed b to buf and off to offset.
2367         * java/io/FileOutputStream.java
2368         (ch): Documentation added.
2369         (FileOutputStream): Documentation added.
2370         (getFD): Documentation added.
2371         (write): Documentation added.
2372         (close): Documentation added.
2373         (getChannel): Documentation added.
2374
2375 2003-03-24  Michael Koch  <konqueror@gmx.de>
2376
2377         * java/io/DataOutputStream.java
2378         (write): Merged from classpath.
2379         * java/io/File.java:
2380         Merged copyrigth with classpath.
2381         * java/io/FileInputStream.java
2382         (getChannel): Made it synchronized instead of using a synchronized
2383         block.
2384         * java/io/FileOutputStream.java: Reformatted.
2385         * java/io/InputStreamReader.java
2386         (InputStreamReader): Renamed enc to encoding_name.
2387         (close): Merged documentation from classpath.
2388         (getEncoding): Merged documentation from classpath.
2389         (ready): Merged documentation from classpath.
2390         (read): Merged documentation from classpath.
2391         * java/io/LineNumberReader.java
2392         (lineNumber): Made it private.
2393         (LineNumberReader): Use Constant instead of a direct value.
2394         * java/io/OutputStreamWriter.java
2395         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2396         documentation from classpath.
2397         (close): Merged documentation from classpath.
2398         (flush): Merged documentation from classpath.
2399         (write): Merged documentation from classpath.
2400         * java/io/PrintStream.java: Reformatted.
2401
2402 2003-03-24  Michael Koch  <konqueror@gmx.de>
2403
2404         * javax/swing/text/ComponentView.java
2405         (getComponent): Must be final.
2406         * javax/swing/tree/DefaultTreeCellRenderer.java:
2407         Reformatted.
2408         * javax/swing/undo/StateEditable.java:
2409         Reformatted.
2410
2411 2003-03-24  Michael Koch  <konqueror@gmx.de>
2412
2413         * java/rmi/activation/ActivationInstantiator.java:
2414         Reformatted.
2415         * java/rmi/activation/Activator.java:
2416         Reformatted.
2417         * java/rmi/registry/RegistryHandler.java:
2418         Remerged from classpath.
2419
2420 2003-03-24  Michael Koch  <konqueror@gmx.de>
2421
2422         * java/util/Date.java:
2423         Fixed documentation starting tag to make javadoc happy.
2424         * java/util/regex/Pattern.java
2425         (Pattern): Implements Serializable.
2426         * java/util/PatternSyntaxException.java
2427         (serialVersionUID): New member variable.
2428
2429 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2430
2431         * java/awt/ContainerOrderFocusTraversalPolicy.java
2432         (getFirstComponent): Implemented.
2433         (getLastComponent): Implemented.
2434         (getDefaultComponent): Implemented.
2435         (setImplicitDownCycleTraversal): Fixed implementation.
2436         * java/awt/Robot.java
2437         (Robot): Added documentation.
2438         * java/awt/Toolkit.java
2439         (getFontList): Deprecated.
2440         (getFontMetrics): Deprecated.
2441         (getPrintJob): Added documentation.
2442         (getSystemSelection): Added documentation.
2443         (getLockingKeyState): Added documentation.
2444         (setLockingKeyState): Added documentation.
2445         (createCustomCursor): Added documentation.
2446         (getBestCursorSize): Added documentation.
2447         (getMaximumCursorColors): Added documentation.
2448         (isFrameStateSupported): Added documentation.
2449
2450 2003-03-24  Michael Koch  <konqueror@gmx.de>
2451
2452         * java/io/RandomAccessFile.java:
2453         More little merges with classpath. No code changes.
2454
2455 2003-03-24  Michael Koch  <konqueror@gmx.de>
2456
2457         * java/net/natInetAddressNoNet.cc:
2458         Include stddef.h.
2459         * java/net/natPlainDatagramSocketImplNoNet.cc:
2460         Fixed inlcude of java/net/DatagramPacket.h.
2461         * java/net/natPlainSocketImplNoNet.cc:
2462         Include some missing classes.
2463
2464 2003-03-24  Michael Koch  <konqueror@gmx.de>
2465
2466         * java/awt/dnd/DropTarget.java
2467         (DropTargetAutoScroller): According to the online documentation, this
2468         is protected, but in reality it is public.
2469         * java/awt/dnd/DropTargetContext.java
2470         (TransferableProxy): According to the online documentation, this
2471         is protected, but in reality it is public.
2472
2473 2003-03-24  Michael Koch  <konqueror@gmx.de>
2474
2475         * java/io/DataInputStream.java
2476         (): Wrapped documentation line.
2477         (): Fixed @return tag.
2478         * java/io/DataOutputStream.java
2479         (written): Moved to top of class.
2480         (all methods): Merged documentation from classpath.
2481         * java/io/File.java:
2482         Merged copyright year with classpath.
2483         * java/io/FileInputStream.java
2484         (all methods): Merged documentation from classpath.
2485         * java/io/LineNumberReader.java
2486         (getLineNumber): Fixed @return tag.
2487         * java/io/ObjectInputStream.java.
2488         Reformatted.
2489         * java/io/ObjectOutputStream.java:
2490         Reformatted, fixed some @see tags.
2491         * java/io/OutputStreamWriter.java:
2492         Deleted empty line.
2493         * java/io/Writer.java:
2494         Reformatted.
2495
2496 2003-03-24  Michael Koch  <konqueror@gmx.de>
2497
2498         * java/awt/Frame.java
2499         (DEFAULT_CURSOR): Fixed @deprecated tag.
2500         (setCursor): Fixed @deprecated tag.
2501
2502 2003-03-24  Michael Koch  <konqueror@gmx.de>
2503
2504         * java/beans/beancontext/BeanContextEvent.java:
2505         Reformated.
2506
2507 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2508
2509         * java/lang/natStringBuffer.cc (regionMatches): New function.
2510         * java/lang/String.java (count): Now package-private.
2511         * java/lang/StringBuffer.java: Merged with Classpath.
2512
2513 2003-03-23  Michael Koch  <konqueror@gmx.de>
2514
2515         * java/io/BufferedOutputStream.java:
2516         Reformated.
2517         * java/io/BufferedReader.java:
2518         Reformated.
2519         * java/io/ByteArrayOutputStream.java
2520         (size): Fixed @see tag.
2521         * java/io/CharArrayWriter.java
2522         (size): Fixed @see tag.
2523         * java/io/DataInput.java:
2524         Reformated.
2525         * java/io/DataOutput.java:
2526         Reformated.
2527         * java/io/DataOutputStream.java:
2528         Merged copyright years with classpath.
2529         * java/io/Externalizable.java:
2530         Reformated.
2531         * java/io/FileFilter.java:
2532         Reformated.
2533         * java/io/FileInputStream.java:
2534         Merged copyright years with classpath.
2535         * java/io/FileOutputStream.java:
2536         Merged copyright years with classpath.
2537         * java/io/FilePermission.java
2538         (FilePermission): Replaced @XXX with FIXME:.
2539         * java/io/FileWriter.java:
2540         Reformated.
2541         * java/io/FilenameFilter.java:
2542         Reformated.
2543         * java/io/FilterInputStream.java:
2544         Reformated.
2545         * java/io/FilterOutputStream.java:
2546         Reformated.
2547         * java/io/FilterReader.java:
2548         Reformated.
2549         * java/io/FilterWriter.java:
2550         Reformated.
2551         * java/io/LineNumberInputStream.java
2552         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2553         happy.
2554         (getLineNumber): Fixed @return tag.
2555         * java/io/ObjectInput.java:
2556         Reformated.
2557         * java/io/ObjectOutput.java:
2558         Reformated.
2559         * java/io/ObjectStreamClass.java:
2560         Reformated.
2561         * java/io/PrintStream.java:
2562         Merged copyright years with classpath.
2563         * java/io/PushbackReader.java
2564         (PushbackReader): Replaced @code with @param.
2565         * java/io/SerializablePermission.java:
2566         Reformated.
2567         * java/io/StreamTokenizer.java
2568         (resetSyntax): Fixed @see tag.
2569
2570 2003-03-22  Richard Henderson  <rth@redhat.com>
2571
2572         * sysdep/ia64/locks.h: Include ia64intrin.h.
2573         (compare_and_swap): Use __sync_bool_compare_and_swap.
2574         (compare_and_swap_release): Expose ar.ccv assignment.
2575
2576 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2577
2578         * include/posix.h: Add suffix for darwin dynamic libraries.
2579
2580 2003-03-21  Michael Koch  <konqueror@gmx.de>
2581
2582         * javax/swing/Action.java
2583         (ACCELERATOR_KEY): New constant.
2584         (ACTION_COMMAND_KEY): Likewise.
2585         (MNEMONIC_KEY): Likewise.
2586         * javax/swing/UnsupportedLookAndFeelException.java
2587         (UnsupportedLookAndFeelException): Must be public.
2588         * javax/swing/WindowConstants.java
2589         (EXIT_ON_CLOSE): New constant.
2590         * javax/swing/text/BadLocationException.java
2591         (offset): New member variable.
2592         (BadLocationException): New implementation, documentation added.
2593         (offsetRequested): New method.
2594         * javax/swing/text/Caret.java:
2595         Reformated.
2596         * javax/swing/text/Document.java:
2597         Reformated.
2598
2599 2003-03-21  Michael Koch  <konqueror@gmx.de>
2600
2601         * java/rmi/activation/Activatable.java
2602         (serialVersionUID): New member variable.
2603         * java/rmi/activation/ActivationGroup.java
2604         (serialVersionUID): New member variable.
2605         * java/rmi/activation/ActivationGroupDesc.java
2606         (serialVersionUID): New member variable.
2607         * java/rmi/registry/Registry.java:
2608         Reformated.
2609         (Registry): Deprecated.
2610         * java/rmi/server/LoaderHandler.java
2611         Reformated.
2612         (LoaderHandler): Deprecated.
2613         * java/rmi/server/LogStream.java
2614         Reformated.
2615         (LogStream): Deprecated.
2616         * java/rmi/server/Operation.java
2617         (Operation): Deprecated.
2618         * java/rmi/server/RMIFailureHandler.java:
2619         Reformated.
2620         * java/rmi/server/RMISocketFactory.java:
2621         Reformated.
2622         * java/rmi/server/RemoteCall.java
2623         (RemoteCall): Deprecated.
2624         * java/rmi/server/RemoteStub.java:
2625         Reformated.
2626         * java/rmi/server/Skeleton.java
2627         Reformated.
2628         (Skeleton): Deprecated.
2629
2630 2003-03-21  Michael Koch  <konqueror@gmx.de>
2631
2632         * java/io/LineNumberReader.java
2633         (LineNumberReader): Merged documentation with classpath.
2634         (getLineNumber): Likewise.
2635         (setLineNumber): Likewise.
2636         (mark): Likewise.
2637         (reset): Likewise.
2638         (read): Likewise.
2639         (readLine): Likewise.
2640         (skip): Likewise.
2641
2642 2003-03-21  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/rmi/RMISecurityManager.java
2645         (checkAccept): Removed.
2646         (checkAccess): Likewise.
2647         (checkAccess): Likewise.
2648         (checkAwtEventQueueAccess): Likewise.
2649         (checkConnect): Likewise.
2650         (checkCreateClassLoader): Likewise.
2651         (checkDelete): Likewise.
2652         (checkExec): Likewise.
2653         (checkExit): Likewise.
2654         (checkLink): Likewise.
2655         (checkListen): Likewise.
2656         (checkMemberAccess): Likewise.
2657         (checkMulticast): Likewise.
2658         (checkPackageAccess): Likewise.
2659         (checkPackageDefinition): Likewise.
2660         (checkPermission): Likewise.
2661         (checkPrintJobAccess): Likewise.
2662         (checkPropertiesAccess): Likewise.
2663         (checkPropertyAccess): Likewise.
2664         (checkRead): Likewise.
2665         (checkSecurityAccess): Likewise.
2666         (checkSetFactory): Likewise.
2667         (checkSystemClipboardAccess): Likewise.
2668         (checkTopLevelWindow): Likewise.
2669         (checkWrite): Likewise.
2670
2671 2003-03-20  Michael Koch  <konqueror@gmx.de>
2672
2673         * gnu/java/nio/FileChannelImpl.java
2674         (address): Removed.
2675         (map_address): New member variable.
2676         (length): Make it package private.
2677         (fd): Make it package private.
2678         (buf): Make it package private.
2679         (file_obj): Make it package private.
2680         (FileChannelImpl): New constructor.
2681         (nio_mmap_file): Use RawData instead of long.
2682         (nio_munmap_file): Use RawData instead of long.
2683         (nio_msync): Use RawData instead of long.
2684         (implCloseChannel): New implementation using map_address.
2685         (read): Reformated.
2686         (map): Implemented.
2687         (create_direct_mapped_buffer): Implemented, use RawData, throws
2688         IOException.
2689         (force): Use map_address instead of address.
2690         * gnu/java/nio/MappedByteFileBuffer.java
2691         (address): Removed.
2692         (map_address): New member variable.
2693         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2694         (several methods): Use map_address instead of address, replaced long
2695         with RawData where appropriate.
2696         * gnu/java/nio/natFileChannelImpl.cc
2697         (nio_mmap_file): Replaced long with RawData.
2698         (nio_munmap_file): Replaced long with RawData.
2699         (nio_msync): Replaced long with RawData.
2700         * gnu/java/nio/natMappedByteFileBuffer.cc
2701         (several methods): Replaced long with RawData where appropriate.
2702
2703 2003-03-20  Michael Koch  <konqueror@gmx.de>
2704
2705         * java/net/InetAddress.java,
2706         java/net/JarURLConnection.java,
2707         java/net/PlainDatagramSocketImpl.java,
2708         java/net/PlainSocketImpl.java,
2709         java/net/URLConnection.java:
2710         Merged copyright statements with classpath for easier merging.
2711
2712 2003-03-20  Michael Koch  <konqueror@gmx.de>
2713
2714         * java/io/FileInputStream.java
2715         (getChannel): New implementation.
2716         * java/io/FileOutputStream.java
2717         (ch): New member variable.
2718         (getChannel): Implemented.
2719         * java/io/RandomAccessFile.java
2720         (RandomAccessFile): Throws FileNotFoundException instead of
2721         IOException.
2722         (getChannel): New method.
2723         (ch): New member variable.
2724
2725 2003-03-20  Michael Koch  <konqueror@gmx.de>
2726
2727         * java/io/DataOutputStream.java,
2728         java/io/File.java,
2729         java/io/FileInputStream.java,
2730         java/io/FileOutputStream.java,
2731         java/io/InputStreamReader.java,
2732         java/io/LineNumberReader.java,
2733         java/io/OutputStreamWriter.java,
2734         java/io/PrintStream.java,
2735         java/io/RandomAccessFile.java:
2736         Merged copyright statements with classpath for easier merging.
2737
2738 2003-03-19  Michael Koch  <konqueror@gmx.de>
2739
2740         * java/lang/Process.java:
2741         Merged from classpath.
2742
2743 2003-03-19  Michael Koch  <konqueror@gmx.de>
2744
2745         * java/io/FileOutputStream.java
2746         (FileOutputStream): New constructor, merged from classpath.
2747         * java/io/FileWriter.java
2748         (FileWriter): New constructor, merged from classpath.
2749
2750 2003-03-18  Michael Koch  <konqueror@gmx.de>
2751
2752         * java/awt/ScrollPane.java
2753         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2754         (getViewportSize): Likewise.
2755         (addNotify): Likewise.
2756         (removeNotify): Likewise.
2757         * java/awt/ScrollPaneAdjustable.java
2758         (ScrollPaneAdjustable): No longer extends Scrollbar.
2759         * java/beans/beancontext/BeanContextServices.java:
2760         Reformated.
2761         (getService): Added throws TooManyListenersException;
2762         * java/beans/beancontext/BeanContextServicesSupport.java:
2763         Reformated.
2764
2765 2003-03-18  Michael Koch  <konqueror@gmx.de>
2766
2767         * java/io/BufferedOutputStream.java,
2768         java/io/DataInput.java,
2769         java/io/DataInputStream.java,
2770         java/io/DataOutput.java,
2771         java/io/Externalizable.java:
2772         More merges from classpath.
2773
2774 2003-03-18  Michael Koch  <konqueror@gmx.de>
2775
2776         * configure.in: Fixed links to platform dependant java.net files.
2777         * configure: Regenerated.
2778         * java/net/natInetAddress.cc,
2779         java/net/natNetworkInterface.cc,
2780         java/net/natPlainDatagramSocketImpl.cc,
2781         java/net/natPlainSocketImpl.cc:
2782         Removed.
2783
2784 2003-03-18  Michael Koch  <konqueror@gmx.de>
2785
2786         * configure.in: Create links to architecture dependent files,
2787         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2788         * configure: Regenerated.
2789         * java/net/natInetAddressNoNet.cc,
2790         java/net/natInetAddressPosix.cc,
2791         java/net/natInetAddressWin32.cc,
2792         java/net/natNetworkInterfaceNoNet.cc,
2793         java/net/natNetworkInterfacePosix.cc,
2794         java/net/natNetworkInterfaceWin32.cc,
2795         java/net/natPlainDatagramSocketImplNoNet.cc,
2796         java/net/natPlainDatagramSocketImplPosix.cc,
2797         java/net/natPlainDatagramSocketImplWin32.cc,
2798         java/net/natPlainSocketImplNoNet.cc,
2799         java/net/natPlainSocketImplPosix.cc,
2800         java/net/natPlainSocketImplWin32.cc: New files.
2801
2802 2003-03-18  Michael Koch  <konqueror@gmx.de>
2803
2804         * java/io/BufferedReader.java,
2805         java/io/BufferedWriter.java,
2806         java/io/ByteArrayOutputStream.java,
2807         java/io/FileFilter.java,
2808         java/io/FilePermission.java,
2809         java/io/FileReader.java,
2810         java/io/FileWriter.java,
2811         java/io/FilenameFilter.java,
2812         java/io/FilterInputStream.java,
2813         java/io/FilterOutputStream.java,
2814         java/io/FilterReader.java,
2815         java/io/FilterWriter.java,
2816         java/io/ObjectInput.java,
2817         java/io/ObjectInputValidation.java,
2818         java/io/ObjectOutput.java,
2819         java/io/ObjectStreamField.java,
2820         java/io/PipedInputStream.java,
2821         java/io/PipedReader.java,
2822         java/io/PrintWriter.java,
2823         java/io/PushbackReader.java,
2824         java/io/Reader.java,
2825         java/io/SerializablePermission.java,
2826         java/io/StringReader.java,
2827         java/io/Writer.java:
2828         Merged from classpath.
2829
2830 2003-03-17  Michael Koch  <konqueror@gmx.de>
2831
2832         * java/awt/ScrollPaneAdjustable.java:
2833         Compile fixes.
2834         
2835 2003-03-17  Michael Koch  <konqueror@gmx.de>
2836
2837         * java/net/DatagramSocket.java
2838         (connect): Fixed comment.
2839         * java/nio/ByteBuffer.java
2840         (hasArray): Fixed comment.
2841
2842 2003-03-17  Michael Koch  <konqueror@gmx.de>
2843
2844         * java/beans/Beans.java:
2845         Explicitely import classes not packages.
2846         * java/beans/FeatureDescriptor.java
2847         (preferred): New member variable.
2848         (isPreferred): New method.
2849         (setPreferred): New method.
2850         * java/beans/PropertyEditorManager.java:
2851         Explicitely import used classes.
2852         * java/beans/beancontext/BeanContextChild.java:
2853         Added line wrapping.
2854         * java/beans/beancontext/BeanContextChildSupport.java:
2855         Reindented.
2856         * java/beans/beancontext/BeanContextEvent.java:
2857         Reindented.
2858
2859 2003-03-17  Michael Koch  <konqueror@gmx.de>
2860
2861         * java/awt/Dialog.java
2862         (Dialog): New constructor, changed implementations, added
2863         documentation.
2864         * java/awt/ScrollPaneAdjustable.java
2865         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2866         Serializable.
2867         (serialVersionUID): New member variable.
2868         (sp): New member variable.
2869         (orientation): New member variable.
2870         (value): New member variable.
2871         (minimum): New member variable.
2872         (maximum): New member variable.
2873         (visibleAmount): New member variable.
2874         (unitIncrement): New member variable.
2875         (blockIncrement): New member variable.
2876         (AdjustmentListener): New member variable.
2877         (ScrollPaneAdjustable): New implementation.
2878         (addAdjustmentListener): New method.
2879         (removeAdjustmentListener): New method.
2880         (getAdjustmentListeners): New method.
2881         (getBlockIncrement): New method.
2882         (getMaximum): New method.
2883         (getMinimum): New method.
2884         (getOrientation): New method.
2885         (getUnitIncrement): New method.
2886         (getValue): New method.
2887         (getVisibleAmount): New method.
2888         (setBlockIncrement): New method.
2889         (setMaximum): Implemented.
2890         (setMinimum): Implemented.
2891         (setUnitIncrement): New method.
2892         (setValue): New method.
2893         (setVisibleAmount): Implemented. 
2894         (paramString): New stubbed method.
2895         * java/awt/Window.java
2896         (show): Call setVisible().
2897         (hide): Call setVisible().
2898         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2899         and WINDOW_STATE_CHANGED.
2900         (processWindowFocusEvent): New method.
2901         (processWindowStateEvent): New method.
2902         (postEvent): Deprecated.
2903         (applyResourceBundle): Deprecated.
2904         * java/awt/datatransfer/DataFlavor.java
2905         (DataFlavor): Doesn't thow ClassNotFoundException.
2906
2907 2003-03-17  Michael Koch
2908
2909         * javax/print/attribute/Attribute.java,
2910         javax/print/attribute/AttributeSet.java,
2911         javax/print/attribute/PrintRequestAttributeSet.java:
2912         New files.
2913         * Makefile.am
2914         (javax_source_files): Added new files:
2915         javax/print/attribute/Attribute.java
2916         javax/print/attribute/AttributeSet.java
2917         javax/print/attribute/PrintRequestAttributeSet.java
2918         * Makefile.in: Regenerated.
2919
2920 2003-03-17  Michael Koch
2921
2922         * javax/print/attribute/Attribute.java,
2923         javax/print/attribute/AttributeSet.java,
2924         javax/print/attribute/PrintRequestAttributeSet.java:
2925         New files.
2926         * Makefile.am
2927         (awt_java_source_files): Added new files:
2928         javax/print/attribute/Attribute.java
2929         javax/print/attribute/AttributeSet.java
2930         javax/print/attribute/PrintRequestAttributeSet.java
2931         * Makefile.in: Regenerated.
2932
2933 2003-03-16  Tom Tromey  <tromey@redhat.com>
2934
2935         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2936         Include platform.h.
2937         * java/lang/natRuntime.cc (insertSystemProperties): Use
2938         _Jv_platform_path_separator.
2939         (nativeGetLibname): Use _Jv_platform_file_separator.
2940         (_load): Use _Jv_platform_onload_names.
2941         (onload_names): New global.
2942         * include/win32.h (_Jv_platform_file_separator): New define.
2943         (_Jv_platform_path_separator): Likewise.
2944         (_Jv_platform_onload_names): Likewise.
2945         (_Jv_platform_ffi_abi): Likewise.
2946         * include/posix.h (_Jv_platform_file_separator): New define.
2947         (_Jv_platform_path_separator): Likewise.
2948         (_Jv_platform_onload_names): Likewise.
2949         (_Jv_platform_ffi_abi): Likewise.
2950
2951 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2952
2953         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2954
2955 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2956
2957         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2958         hierarchy loop.
2959         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2960         list to Object,ObjectStreamClass, moved callReadMethod code up into
2961         readObject and added Class argument to all setXxxField calls.
2962         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2963         consistent with ObjectOutputStream and to facilitate caching the
2964         Method in the future.
2965         (setBooleanField): Added Class argument.
2966         (setByteField): Likewise.
2967         (setCharField): Likewise.
2968         (setDoubleField): Likewise.
2969         (setFloatField): Likewise.
2970         (setIntField): Likewise.
2971         (setLongField): Likewise.
2972         (setShortField): Likewise.
2973         (setObjectField): Likewise.
2974         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2975         class hierarchy loop.
2976         (defaultWriteObject): Call writeFields with new argument list.
2977         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2978         list to Object,ObjectStreamClass, moved callWriteMethod up into
2979         writeObject and added Class argument to all getXxxField calls.
2980         (callWriteMethod): Added ObjectStreamClass argument to be able to
2981         get the proper class to call getMethod on (each class can have (or
2982         not have) its own writeObject method).
2983         (getBooleanField): Added Class argument.
2984         (getByteField): Likewise.
2985         (getCharField): Likewise.
2986         (getDoubleField): Likewise.
2987         (getFloatField): Likewise.
2988         (getIntField): Likewise.
2989         (getLongField): Likewise.
2990         (getShortField): Likewise.
2991         (getObjectField): Likewise.
2992         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2993         facilitate caching the Method object in the future.
2994
2995 2003-03-12  Andreas Schwab  <schwab@suse.de>
2996
2997         * configure.in: Avoid trailing /. in toolexeclibdir.
2998         * configure: Rebuilt.
2999
3000 2003-03-11  Michael Koch  <konqueror@gmx.de>
3001
3002         * gnu/java/nio/ByteBufferImpl.java
3003         (putInt): Use limit() instead of limit.
3004         * gnu/java/nio/CharBufferImpl.java
3005         (slice): Fixed implementation.
3006         (subSequence): Better bounds checking.
3007         * gnu/java/nio/MappedByteFileBuffer.java:
3008         Import all needed classes directly.
3009         * java/nio/ByteBuffer.java
3010         (hashCode): New dummy method.
3011         * java/nio/CharBuffer.java
3012         (array_offset): New member variable.
3013         (hasArray): Fixed documentation.
3014         (arrayOffset): Return array_offset.
3015
3016 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3017
3018         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3019         setter; made return value of getter const char* instead of char*
3020         * prims.cc: removed all references to _Jv_ThisExecutable().
3021         These are in the platform-specific sections now.
3022         * posix.cc: define platform-specific _Jv_ThisExecutable().
3023         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3024         * win32.cc: define platform-specific _Jv_ThisExecutable()
3025         using GetModuleFilename()
3026         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3027         to argv[0] instead of _Jv_ThisExecutable()
3028
3029 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3030
3031         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3032         that is set if we are using addr2name.awk instead of addr2line.
3033         (NameFinder): Set usingAddr2name if using addr2name.awk.
3034         (getExternalLabel): New native method to convert a method 
3035         name to an external label.
3036         (lookup): Convert name given by addr2line to an external label
3037         before demangling.
3038
3039         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3040         constant representing the prefix attached to method names to
3041         convert them to an external label.
3042         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3043         using LABEL_PREFIX.
3044
3045 2003-03-10  Tom Tromey  <tromey@redhat.com>
3046
3047         * Makefile.in: Rebuilt.
3048         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3049         (JC1FLAGS): Removed -Wno-deprecated.
3050
3051 2003-03-10  Michael Koch  <konqueror@gmx.de>
3052
3053         * java/nio/ByteOrder.java
3054         (nativeOrder): Working implementation, added documentation.
3055         (toString): Added documentation.
3056
3057 2003-03-10  Michael Koch  <konqueror@gmx.de>
3058
3059         * java/net/DatagramSocket.java,
3060         java/net/MulticastSocket.java,
3061         java/net/Socket.java,
3062         java/net/URL.java,
3063         java/net/URLConnection.java:
3064         Fixed some documentation tags to make javadoc and friends happy.
3065
3066 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3067
3068         * java/beans/beancontext/BeanContextServicesSupport.java,
3069         java/beans/beancontext/BeanContextSupport.java: New files.
3070         * Makefile.am
3071         (awt_source_files): Added new files.
3072         * Makefile.in: Regenerated.
3073
3074 2003-03-10  Michael Koch  <konqueror@gmx.de>
3075
3076         * java/awt/FocusTraversalPolicy.java
3077         (FocusTraversalPolicy): Documentation added.
3078         (getComponentAfter): Documentation added.
3079         (getComponentBefore): Documentation added.
3080         (getFirstComponent): Documentation added.
3081         (getLastComponent): Documentation added.
3082         (getDefaultComponent): Documentation added.
3083         (getInitialComponent): Documentation added.
3084         * java/awt/ScrollPaneAdjustable.java
3085         (sp): New member variable.
3086         (orientation): New member variable.
3087         (value): New member variable.
3088         (minimum): New member variable.
3089         (maximum): New member variable.
3090         (visibleAmount): New member variable.
3091         (unitIncrement): New member variable.
3092         (blockIncrement): New member variable.
3093         (adjustmentListener): New member variable.
3094         (ScrollPaneAdjustable): Rewrote.
3095         (addAdjustmentListener): New method.
3096         (removeAdjustmentListener): New method.
3097         (getAdjustmentListeners): New method.
3098         (getBlockIncrement): New method.
3099         (getMaximum): New method.
3100         (getMinimum): New method.
3101         (getOrientation): New method.
3102         (getUnitIncrement): New method.
3103         (getValue): New method.
3104         (getVisibleAmount): New method.
3105         (setBlockIncrement): New method.
3106         (setUnitIncrement): New method.
3107         (setMaximum): Implemented.
3108         (setMinimum): Implemented.
3109         (setValue): New method.
3110         (setVisibleAmount): Implemented.
3111         (paramString): New method.
3112         * java/awt/Window.java
3113         (show): Use setVisible(true) instead of super.show().
3114         (hide): Use sevVisible(false) instead of super.hide().
3115         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3116         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3117         (postEvent): Deprecated.
3118         (applyResourceBundle): Deprecated.
3119         (processWindowFocusEvent): New method.
3120         (processWindowStateEvent): New method.
3121         * java/awt/datatransfer/DataFlavor.java: Reindented.
3122         * java/awt/font/TextHitInfo.java
3123         (charIndex): New member variable.
3124         (leadingEdge): New member variable.
3125         (TextHitInfo): New constructor.
3126         (getCharIndex): Implemented.
3127         (isLeadingEdge): Implemented.
3128         (getInsertionIndex): Implemented.
3129         (hashCode): Access charIndex directly.
3130         (equals): Reformated.
3131         (leading): Implemented.
3132         (trailing): Implemented.
3133         (beforeOffset): Implemented.
3134         (afterOffset): Implemented.
3135         (getOtherHit): Implemented.
3136         (getOffsetHit): Implemented.
3137         (toString): Implemented.
3138         * java/awt/image/BufferedImage.java
3139         (BufferedImage): Implements WritableRenderedImage.
3140         (observers): New member variable.
3141         (addTileObserver): New method.
3142         (removeTileObserver): New method.
3143
3144 2003-03-09  Tom Tromey  <tromey@redhat.com>
3145
3146         PR libgcj/9934:
3147         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3148         to lseek.  Return 0 if we can't compute the value.
3149
3150 2003-03-03  Michael Koch  <konqueror@gmx.de>
3151
3152         * java/net/NetworkInterface.java: Merged with classpath.
3153
3154 2003-03-03  Tom Tromey  <tromey@redhat.com>
3155
3156         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3157         of bytecode.
3158         (handle_ret_insn): Fail if returning to jsr that appears at end of
3159         bytecode.
3160
3161 2003-03-03  Michael Koch  <konqueror@gmx.de>
3162
3163         * Makefile.am
3164         (ordinary_java_source_files):
3165         Added gnu/java/nio/MappedByteFileBuffer.java.
3166         (nat_source_files):
3167         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3168         * Makefile.in: Regenerated.
3169
3170 2003-03-03  Michael Koch  <konqueror@gmx.de>
3171
3172         * java/net/DatagramSocket.java
3173         (connect): Merged comment from classpath.
3174         (receive): Merged documentation from classpath.
3175         * java/net/Socket.java
3176         (setSoTimeout): Clarified documentation.
3177         * java/net/URL.java
3178         (getPath): Merged from classpath.
3179         (getUserInfo): Merged from classpath.
3180         (getQuery): Merged from classpath.
3181         * java/net/URLStreamHandler.java
3182         (toExternalForm): Merged from classpath.
3183
3184 2003-03-02  Mark Wielaard  <mark@klomp.org>
3185
3186         * java/util/Properties.java (load): Only skip line if the first
3187         character is a comment, whitespaces don't count.
3188
3189 2003-03-02  Michael Koch  <konqueror@gmx.de>
3190
3191         * java/net/NetPermission.java:
3192         Merged copyright with classpath.
3193
3194 2003-03-02  Michael Koch  <konqueror@gmx.de>
3195
3196         * java/lang/Package.java:
3197         Remerged from classpath.
3198
3199 2003-03-02  Michael Koch  <konqueror@gmx.de>
3200
3201         * java/net/HttpURLConnection.java
3202         (HTTP_SERVER_ERROR): Deprecated.
3203         * java/net/MulticastSocket.java
3204         (send): Replaced checkMulticast with appropriate checkPermission call,
3205         deprecated.
3206         * java/net/URLDecoder.java
3207         (decode): Deprecated.
3208         * java/net/URLEncoder.java
3209         (encode): Deprecated.
3210
3211 2003-03-02  Michael Koch  <konqueror@gmx.de>
3212
3213         * javax/swing/text/Caret.java
3214         (getMagicCaretPosition): Fixed typo in method name.
3215         * javax/swing/text/DefaultCaret.java
3216         (getMagicCaretPosition): Fixed typo in method name.
3217
3218 2003-03-02  Michael Koch  <konqueror@gmx.de>
3219
3220         * java/awt/List.java
3221         (setMultipleSelections): Deprecated.
3222         (delItem): Deprecated.
3223         * java/awt/MenuComponent.java
3224         (getPeer): Deprecated.
3225         * java/awt/ScrollPane.java
3226         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3227         * java/awt/dnd/MouseDragGestureRecognizer.java
3228         (mouseClicked): Added comment.
3229         (mousePressed): Added comment.
3230         (mouseReleased): Added comment.
3231         (mouseEntered): Added comment.
3232         (mouseExited): Added comment.
3233         (mouseDragged): Added comment.
3234         (mouseMoved): Added comment.
3235         * java/awt/event/KeyEvent.java
3236         (KeyEvent): Deprecated.
3237         (setModifiers): Deprecated.
3238         
3239 2003-03-02  Michael Koch  <konqueror@gmx.de>
3240
3241         * gnu/java/nio/FileChannelImpl.java
3242         (fd): Type FileDescriptor instead of int.
3243         (lengthInternal): Removed.
3244         (FileChannelImpl): Fixed arguments, check type of file object.
3245         (size): Made it native.
3246         (implPosition): New native method.
3247         (implTruncate): New native method.
3248         (position): Implemented.
3249         (truncate): Implemented.
3250         (nio_mmap_file): Changed arguments.
3251         (nio_munmap_file): Changed arguments.
3252         (nio_msync): Changed arguments.
3253         * gnu/java/nio/natFileChannelImpl.cc
3254         (lengthInternal): Removed.
3255         (size): New method.
3256         (implPosition): New method.
3257         (implTruncate): New method.
3258         (nio_mmap_file): Changed arguments.
3259         (nio_munmap_file): Changed arguments.
3260         (nio_msync): Changed arguments.
3261
3262 2003-03-02  Michael Koch  <konqueror@gmx.de>
3263
3264         * java/awt/dnd/DropTargetContext.java:
3265         Compile fix: Forgot to commit import.
3266         
3267 2003-03-02  Michael Koch  <konqueror@gmx.de>
3268
3269         * java/awt/Component.java,
3270         java/awt/ScrollPane.java:
3271         Fixed typos.
3272
3273 2003-03-02  Michael Koch  <konqueror@gmx.de>
3274
3275         * java/awt/dnd/DnDEventMulticaster.java: New file.
3276         * java/awt/dnd/DragSource.java
3277         (flavorMap): New member variable.
3278         (dragSourceListener): New member variable.
3279         (dragSourceMotionListener): New member variable.
3280         (getFlavorMap): Implemented.
3281         (createDragGestureRecognizer): Implemented.
3282         (addDragSourceListener): Implemented.
3283         (removeDragSourceListener): Implemented.
3284         (getDragSourceListeners): Implemented.
3285         (addDragSourceMotionListener): Implemented.
3286         (removeDragSourceMotionListener): Implemented.
3287         (getDragSourceMotionListeners): Implemented.
3288         (getListeners): Implemented.
3289         * java/awt/dnd/DragSourceContext.java
3290         (peer): New member variable.
3291         (cursor): New member variable.
3292         (transferable): New member variable.
3293         (trigger): New member variable.
3294         (dragSourceListener): New member variable.
3295         (image): New member variable.
3296         (offset): New member variable.
3297         (DragSourceContext): Implemented.
3298         (getDragSource): Implemented.
3299         (getComponent): Implemented.
3300         (getTrigger): Implemented.
3301         (getSourceActions): Implemented.
3302         (setCursor): Implemented.
3303         (getCursor): Implemented.
3304         (addDragSourceListener): Implemented.
3305         (removeDragSourceListener): Implemented.
3306         (getTransferable): Implemented.
3307         * java/awt/dnd/DropTarget.java
3308         (DropTargetAutoScroller.component): New member variable.
3309         (DropTargetAutoScroller.point): New member variable.
3310         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3311         (DropTargetAutoScroller.updateLocation): Implemented.
3312         (active): Renamed from isActive, defaults to true now.
3313         (component): New member variable.
3314         (flavorMap): New member variable.
3315         (actions): New member variable.
3316         (dropTargetContext): New member variable.
3317         (dropTargetListener): New member variable.
3318         (DropTarget): Implemented.
3319         (getComponent): Implemented.
3320         (setComponent): Implemented.
3321         (setDefaultActions): Implemented.
3322         (getDefaultActions): Implemented.
3323         (setActive): Use active instead of isActive.
3324         (isActive): Use active instead of isActive.
3325         (addDropTargetListener): Implemented.
3326         (removeDropTargetListener): Implemented.
3327         (getFlavorMap): Implemented.
3328         (setFlavorMap): Implemented.
3329         (getDropTargetContext): Implemented.
3330         (createDropTargetContext): Implemented.
3331         (createDropTargetAutoScroller): Implemented.
3332         * java/awt/dnd/DropTargetContext.java
3333         (TransferableProxy.getTransferDataFlavors): Implemented.
3334         (TransferableProxy.isDataFlavorSupported): Implemented.
3335         (TransferableProxy.getTransferData): Implemented.
3336         (dropTarget):  New member variable.
3337         (dtcp): New member variable.
3338         (DropTargetContext): New package private constructor.
3339         (getDropTarget): Implemented.
3340         (getComponent): Implemented.
3341         (addNotify): Implemented.
3342         (removeNotify): Implemented.
3343         (getCurrentDataFlavorsAsList): Implemented.
3344         (isDataFlavorSupported): Implemented.
3345         * java/awt/dnd/MouseDragGestureRecognizer.java
3346         (registerListeners): Implemented.
3347         (unregisterListeners): Implemented.
3348         * Makefile.am
3349         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3350         * Makefile.in: Regenerated.
3351
3352 2003-03-02  Michael Koch  <konqueror@gmx.de>
3353
3354         * java/awt/Component.java
3355         (eventTypeEnabled): New method.
3356         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3357         * java/awt/Container.java
3358         (changeSupport): New member variable.
3359         (addPropertyChangeListener): New methods.
3360         * java/awt/ContainerOrderFocusTraversalPolicy.java
3361         (ContainerOrderFocusTraversalPolicy): Added comment.
3362         (getComponentAfter): Throw exception, documentation added.
3363         (getComponentBefore): Throw exception, documentation added.
3364         (getFirstComponent): Throw exception, documentation added.
3365         (getLastComponent): Throw exception, documentation added.
3366         (getDefaultComponent): Throw exception, documentation added.
3367         * java/awt/EventQueue.java: Reindented.
3368         * java/awt/FocusTraversalPolicy.java:
3369         (FocusTraversalPolicy): Added comment.
3370         (getComponentAfter): Documentation added.
3371         (getComponentBefore): Documentation added.
3372         (getFirstComponent): Documentation added.
3373         (getLastComponent): Documentation added.
3374         (getDefaultComponent): Documentation added.
3375         (getInitialComponent): Documentation added.
3376         * java/awt/ScrollPane.java
3377         (wheelScrollingEnabled): New member variable.
3378         (ScrollPane): Initialize wheelScollingEnabled.
3379         (eventTypeEnabled): New method.
3380         (isWheelScrollingEnabled): New method.
3381         (setWheelScrollingEnabled): New method.
3382
3383 2003-03-02  Michael Koch  <konqueror@gmx.de>
3384
3385         * java/net/DatagramSocket.java
3386         (closed): New member variable.
3387         (close): Use closed variable.
3388         (getInetAddress): No need to call isConnected().
3389         (getPort): No need to call isConnected().
3390         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3391         (isClosed): Reimplemented.
3392         
3393 2003-03-02  Michael Koch  <konqueror@gmx.de>
3394
3395         * configure.in: Added check for memory mapping of files.
3396         * configure: Regenerated.
3397         * config.h.in: Regenerated.
3398
3399 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3400
3401         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3402         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3403
3404 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3405
3406         * java/io/File.java (normalizePath): Remove trailing separator
3407         on Windows only if path is not of the form "x:\".
3408
3409         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3410         (java::io::File::attr): Change formatting a bit and use
3411         WIN32_EPOCH_MILLIS instead of magic numbers.
3412         (java::io::File::isAbsolute): Path must have at least 3 
3413         characters for a UNC network path.
3414         (java::io::File::init_native): Define.
3415         (java::io::File::performCreate): Likewise.
3416         (java::io::File::performSetReadOnly): Likewise.
3417         (java::io::File::performSetLastModified): Likewise.
3418         (java::io::File::performListRoots): Likewise.
3419
3420 2003-03-01  Tom Tromey  <tromey@redhat.com>
3421
3422         * java/lang/natObject.cc: Don't include assert.h.
3423         (heavy_lock_obj_finalization_proc): Use JvAssert.
3424         (remove_all_heavy): Likewise.
3425         (_Jv_MonitorEnter): Likewise.
3426         (_Jv_MonitorExit): Likewise.
3427         (wait): Likewise.
3428
3429 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3430
3431         * java/io/File (getAbsolutePath): Prefix drive specifier on
3432         Windows for paths starting with a '\'.
3433         (toURL): Make URL more consistent with what Sun's JDK returns.
3434
3435         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3436         true only if the path is a UNC network path or it starts with a
3437         drive specifier.
3438
3439         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3440         Be prepared to handle either '/' or '\\' in the file path for
3441         Windows if using the "file" protocol.
3442         Canonicalise the file path if using a relative path in the given
3443         context and the "file" protocol.
3444
3445 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3446
3447         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3448         program array element passed to CreateProcess.
3449
3450 2003-03-01  Tom Tromey  <tromey@redhat.com>
3451
3452         * java/rmi/registry/RegistryHandler.java: Deprecate.
3453
3454 2003-03-01  Tom Tromey  <tromey@redhat.com>
3455
3456         * javax/accessibility/AccessibleEditableText.java,
3457         javax/accessibility/AccessibleHyperlink.java: New versions from
3458         Classpath.
3459
3460         * gnu/java/locale/LocaleInformation_af_ZA.java,
3461         gnu/java/locale/LocaleInformation_ar_AE.java,
3462         gnu/java/locale/LocaleInformation_ar_BH.java,
3463         gnu/java/locale/LocaleInformation_ar_DZ.java,
3464         gnu/java/locale/LocaleInformation_ar_EG.java,
3465         gnu/java/locale/LocaleInformation_ar_IN.java,
3466         gnu/java/locale/LocaleInformation_ar_IQ.java,
3467         gnu/java/locale/LocaleInformation_ar_JO.java,
3468         gnu/java/locale/LocaleInformation_ar_KW.java,
3469         gnu/java/locale/LocaleInformation_ar_LB.java,
3470         gnu/java/locale/LocaleInformation_ar_LY.java,
3471         gnu/java/locale/LocaleInformation_ar_MA.java,
3472         gnu/java/locale/LocaleInformation_ar_OM.java,
3473         gnu/java/locale/LocaleInformation_ar_QA.java,
3474         gnu/java/locale/LocaleInformation_ar_SD.java,
3475         gnu/java/locale/LocaleInformation_ar_SY.java,
3476         gnu/java/locale/LocaleInformation_ar_TN.java,
3477         gnu/java/locale/LocaleInformation_ar_YE.java,
3478         gnu/java/locale/LocaleInformation_be_BY.java,
3479         gnu/java/locale/LocaleInformation_bn_IN.java,
3480         gnu/java/locale/LocaleInformation_br_FR.java,
3481         gnu/java/locale/LocaleInformation_bs_BA.java,
3482         gnu/java/locale/LocaleInformation_ca_ES.java,
3483         gnu/java/locale/LocaleInformation_cs_CZ.java,
3484         gnu/java/locale/LocaleInformation_cy_GB.java,
3485         gnu/java/locale/LocaleInformation_da_DK.java,
3486         gnu/java/locale/LocaleInformation_de_AT.java,
3487         gnu/java/locale/LocaleInformation_de_BE.java,
3488         gnu/java/locale/LocaleInformation_de_CH.java,
3489         gnu/java/locale/LocaleInformation_de_DE.java,
3490         gnu/java/locale/LocaleInformation_de_LU.java,
3491         gnu/java/locale/LocaleInformation_el_GR.java,
3492         gnu/java/locale/LocaleInformation_en_AU.java,
3493         gnu/java/locale/LocaleInformation_en_BW.java,
3494         gnu/java/locale/LocaleInformation_en_CA.java,
3495         gnu/java/locale/LocaleInformation_en_DK.java,
3496         gnu/java/locale/LocaleInformation_en_GB.java,
3497         gnu/java/locale/LocaleInformation_en_HK.java,
3498         gnu/java/locale/LocaleInformation_en_IE.java,
3499         gnu/java/locale/LocaleInformation_en_IN.java,
3500         gnu/java/locale/LocaleInformation_en_NZ.java,
3501         gnu/java/locale/LocaleInformation_en_PH.java,
3502         gnu/java/locale/LocaleInformation_en_SG.java,
3503         gnu/java/locale/LocaleInformation_en_US.java,
3504         gnu/java/locale/LocaleInformation_en_ZA.java,
3505         gnu/java/locale/LocaleInformation_en_ZW.java,
3506         gnu/java/locale/LocaleInformation_es_AR.java,
3507         gnu/java/locale/LocaleInformation_es_BO.java,
3508         gnu/java/locale/LocaleInformation_es_CL.java,
3509         gnu/java/locale/LocaleInformation_es_CO.java,
3510         gnu/java/locale/LocaleInformation_es_CR.java,
3511         gnu/java/locale/LocaleInformation_es_DO.java,
3512         gnu/java/locale/LocaleInformation_es_EC.java,
3513         gnu/java/locale/LocaleInformation_es_ES.java,
3514         gnu/java/locale/LocaleInformation_es_GT.java,
3515         gnu/java/locale/LocaleInformation_es_HN.java,
3516         gnu/java/locale/LocaleInformation_es_MX.java,
3517         gnu/java/locale/LocaleInformation_es_NI.java,
3518         gnu/java/locale/LocaleInformation_es_PA.java,
3519         gnu/java/locale/LocaleInformation_es_PE.java,
3520         gnu/java/locale/LocaleInformation_es_PR.java,
3521         gnu/java/locale/LocaleInformation_es_PY.java,
3522         gnu/java/locale/LocaleInformation_es_SV.java,
3523         gnu/java/locale/LocaleInformation_es_US.java,
3524         gnu/java/locale/LocaleInformation_es_UY.java,
3525         gnu/java/locale/LocaleInformation_es_VE.java,
3526         gnu/java/locale/LocaleInformation_et_EE.java,
3527         gnu/java/locale/LocaleInformation_eu_ES.java,
3528         gnu/java/locale/LocaleInformation_fa_IR.java,
3529         gnu/java/locale/LocaleInformation_fi_FI.java,
3530         gnu/java/locale/LocaleInformation_fo_FO.java,
3531         gnu/java/locale/LocaleInformation_fr_BE.java,
3532         gnu/java/locale/LocaleInformation_fr_CA.java,
3533         gnu/java/locale/LocaleInformation_fr_CH.java,
3534         gnu/java/locale/LocaleInformation_fr_FR.java,
3535         gnu/java/locale/LocaleInformation_fr_LU.java,
3536         gnu/java/locale/LocaleInformation_ga_IE.java,
3537         gnu/java/locale/LocaleInformation_gd_GB.java,
3538         gnu/java/locale/LocaleInformation_gl_ES.java,
3539         gnu/java/locale/LocaleInformation_gv_GB.java,
3540         gnu/java/locale/LocaleInformation_he_IL.java,
3541         gnu/java/locale/LocaleInformation_hi_IN.java,
3542         gnu/java/locale/LocaleInformation_hr_HR.java,
3543         gnu/java/locale/LocaleInformation_hu_HU.java,
3544         gnu/java/locale/LocaleInformation_id_ID.java,
3545         gnu/java/locale/LocaleInformation_it_CH.java,
3546         gnu/java/locale/LocaleInformation_it_IT.java,
3547         gnu/java/locale/LocaleInformation_iw_IL.java,
3548         gnu/java/locale/LocaleInformation_ja_JP.java,
3549         gnu/java/locale/LocaleInformation_ka_GE.java,
3550         gnu/java/locale/LocaleInformation_kl_GL.java,
3551         gnu/java/locale/LocaleInformation_ko_KR.java,
3552         gnu/java/locale/LocaleInformation_kw_GB.java,
3553         gnu/java/locale/LocaleInformation_lt_LT.java,
3554         gnu/java/locale/LocaleInformation_lv_LV.java,
3555         gnu/java/locale/LocaleInformation_mi_NZ.java,
3556         gnu/java/locale/LocaleInformation_mk_MK.java,
3557         gnu/java/locale/LocaleInformation_mr_IN.java,
3558         gnu/java/locale/LocaleInformation_mt_MT.java,
3559         gnu/java/locale/LocaleInformation_nl_BE.java,
3560         gnu/java/locale/LocaleInformation_nl_NL.java,
3561         gnu/java/locale/LocaleInformation_nn_NO.java,
3562         gnu/java/locale/LocaleInformation_no_NO.java,
3563         gnu/java/locale/LocaleInformation_oc_FR.java,
3564         gnu/java/locale/LocaleInformation_pl_PL.java,
3565         gnu/java/locale/LocaleInformation_pt_BR.java,
3566         gnu/java/locale/LocaleInformation_pt_PT.java,
3567         gnu/java/locale/LocaleInformation_ro_RO.java,
3568         gnu/java/locale/LocaleInformation_ru_RU.java,
3569         gnu/java/locale/LocaleInformation_ru_UA.java,
3570         gnu/java/locale/LocaleInformation_se_NO.java,
3571         gnu/java/locale/LocaleInformation_sk_SK.java,
3572         gnu/java/locale/LocaleInformation_sl_SI.java,
3573         gnu/java/locale/LocaleInformation_sq_AL.java,
3574         gnu/java/locale/LocaleInformation_sr_YU.java,
3575         gnu/java/locale/LocaleInformation_sv_FI.java,
3576         gnu/java/locale/LocaleInformation_sv_SE.java,
3577         gnu/java/locale/LocaleInformation_ta_IN.java,
3578         gnu/java/locale/LocaleInformation_te_IN.java,
3579         gnu/java/locale/LocaleInformation_tg_TJ.java,
3580         gnu/java/locale/LocaleInformation_tl_PH.java,
3581         gnu/java/locale/LocaleInformation_tr_TR.java,
3582         gnu/java/locale/LocaleInformation_uk_UA.java,
3583         gnu/java/locale/LocaleInformation_ur_PK.java,
3584         gnu/java/locale/LocaleInformation_uz_UZ.java,
3585         gnu/java/locale/LocaleInformation_vi_VN.java,
3586         gnu/java/locale/LocaleInformation_yi_US.java,
3587         gnu/java/locale/LocaleInformation_zh_CN.java,
3588         gnu/java/locale/LocaleInformation_zh_HK.java,
3589         gnu/java/locale/LocaleInformation_zh_SG.java,
3590         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3591         info; from Classpath.
3592
3593         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3594         isPaintPending): New methods.
3595         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3596         setMaximizedBounds): New methods.
3597         (beginLayout, endLayout, isPaintPending): Likewise.
3598         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3599         (requestFocus): Likewise.
3600         (isObscured): Likewise.
3601         (canDetermineObscurity): Likewise.
3602         (coalescePaintEvent): Likewise.
3603         (updateCursorImmediately): Likewise.
3604         (createVolatileImage): Likewise.
3605         (handlesWheelScrolling): Likewise.
3606         (createBuffers): Likewise.
3607         (getBackBuffer): Likewise.
3608         (flip): Likewise.
3609         (destroyBuffers): Likewise.
3610
3611         * Makefile.in: Rebuilt.
3612         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3613         RobotPeer.java.
3614         * gnu/java/awt/GLightweightPeer.java,
3615         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3616         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3617         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3618         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3619         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3620         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3621         java/awt/dnd/peer/DragSourceContextPeer.java,
3622         java/awt/dnd/peer/DropTargetContextPeer.java,
3623         java/awt/peer/ButtonPeer.java,
3624         java/awt/peer/CheckboxMenuItemPeer.java,
3625         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3626         java/awt/peer/ComponentPeer.java,
3627         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3628         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3629         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3630         java/awt/peer/MenuBarPeer.java,
3631         java/awt/peer/MenuComponentPeer.java,
3632         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3633         java/awt/peer/PopupMenuPeer.java,
3634         java/awt/peer/ScrollPanePeer.java,
3635         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3636         java/awt/peer/TextComponentPeer.java,
3637         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3638         New versions from Classpath.
3639         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3640         * java/awt/peer/RobotPeer.java: Likewise.
3641
3642 2003-03-01  Mark Wielaard  <mark@klomp.org>
3643
3644         * java/io/ObjectInputStream.java: Reindent.
3645         * java/io/ObjectOutputStream.java: Likewise.
3646
3647 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3648
3649         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3650         jvalue for each argument. Simplify.
3651         * testsuite/libjava.jni/calls.c (docall),
3652         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3653         misalignment.
3654
3655 2003-02-28  Mark Wielaard  <mark@klomp.org>
3656
3657         * Makefile.am (nat_source_files): Remove
3658         java/io/natObjectOutputStream.cc.
3659         * Makefile.in: Regenerated.
3660         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3661         * java/io/ObjectStreamField.java (typename): New field.
3662         (ObjectStreamField(String, Class)): Initialize new field.
3663         (ObjectStreamField(String, String)): New Constructor.
3664         (getTypeCode): Use new field.
3665         (getTypeString): Use new field.
3666         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3667         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3668         Handle reading of Proxy classes. Never drain(), just write
3669         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3670         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3671         (flush): Call flush(), not just drain().
3672         (writeBoolean): Always use blockDataOutput.
3673         (writeByte): Likewise.
3674         (writeShort): Likewise.
3675         (writeChar): Likewise.
3676         (writeInt): Likewise.
3677         (writeLong): Likewise.
3678         (writeFloat): Likewise.
3679         (writeDouble): Likewise.
3680         (writeBytes): Likewise.
3681         (putfield (put(String,Object))): Throw IllegalArgumentException if
3682         field cannot be found.
3683         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3684         (writeArraySizeAndElements): Write byte[] in one go.
3685         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3686         set BlockDataMode to false.
3687         (annotateProxyClass): New method.
3688         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3689         (getField): No longer native.
3690         (getMethod): Likewise.
3691         (setBlockDataMode): Always drain() on switch, return old mode.
3692         (static): New static code block.
3693         * java/io/natObjectOutputStream.cc: Removed.
3694         * java/io/ObjectInputStream.java (getField): No longer native.
3695         (getMethod): Likewise.
3696         (readObject): Remember and reset old BlockDataMode. Track whether
3697         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3698         TC_LONGSTRING.
3699         (defaultReadObject): Set BlockDataMode to false during readFields.
3700         (resolveClass): Create new SecurityManager if necessary.
3701         Use Class.forName() if null ClassLoader found.
3702         (read(byte[],int,int): Copy remaining bytes to data before calling
3703         readNextBlock().
3704         (readFields): Set and reset BlockDataMode on call_read_method.
3705         Catch NoSuchFieldErrors.
3706         (setBlockDataMode): Return old mode.
3707         (static): New static code block.
3708         * java/io/natObjectInputStream.cc (getField): Removed.
3709         (getMethod): Likewise.
3710
3711 2003-02-27  Michael Koch  <konqueror@gmx.de>
3712
3713         * java/beans/Beans.java,
3714         java/beans/FeatureDescriptor.java
3715         java/beans/PropertyEditorManager.java:
3716         Reformated to GNU style.
3717
3718 2003-02-25  Michael Koch  <konqueror@gmx.de>
3719
3720         * gnu/java/nio/MappedByteFileBuffer.java,
3721         gnu/java/nio/natMappedByteFileBuffer.cc:
3722         New files, both are not compiled yet to get not noncompiling CVS.
3723
3724 2003-02-24  Tom Tromey  <tromey@redhat.com>
3725
3726         * java/util/prefs/AbstractPreferences.java (isUserNode):
3727         Implemented.
3728
3729 2003-02-24  Tom Tromey  <tromey@redhat.com>
3730
3731         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3732         Deprecate.
3733         * java/lang/Thread.java (resume): Deprecate.
3734         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3735         in @deprecated.
3736
3737 2003-02-23  Tom Tromey  <tromey@redhat.com>
3738
3739         * Makefile.in: Rebuilt.
3740         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3741
3742 2003-02-23  Tom Tromey  <tromey@redhat.com>
3743
3744         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3745         libraries): Removed.
3746         (add_library): Removed.
3747         (_load): Don't call add_library.
3748         (loadLibraryInternal): Likewise.
3749         (init): Likewise.
3750         (lookup_data): New struct.
3751         (find_symbol): New function.
3752         (_Jv_FindSymbolInExecutable): Use it.
3753
3754 2002-02-21  Anthony Green  <green@redhat.com>
3755
3756         * java/lang/Thread.java (Thread): New constructor taking stack
3757         size parameter (ignored for now).
3758         * Many methods: Merged GNU Classpath documentation.
3759
3760         * java/lang/Class.java (finalize): throws a Throwable.
3761
3762 2003-02-21  Mark Wielaard  <mark@klomp.org>
3763
3764         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3765         argument is null.
3766
3767 2003-02-21  Mark Wielaard  <mark@klomp.org>
3768
3769         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3770         then 65535 chars throw IllegalArgumentException.
3771
3772 2003-02-21  Mark Wielaard  <mark@klomp.org>
3773
3774         * java/util/zip/ZipFile.java (finalize): New method.
3775
3776 2003-02-21  Michael Koch  <konqueror@gmx.de>
3777
3778         * gnu/java/nio/natSocketChannelImpl.cc:
3779         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3780         <cato@df.lth.se> for pointing to it.
3781
3782 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3783
3784         * java/math/BigInteger.java (euclidInv): Take result array as an
3785         argument.  Updated all callers.
3786         (modInverse): Removed unused variables.
3787
3788 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3789
3790         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3791         config.status.
3792         * configure: Rebuilt.
3793
3794 2003-02-19  Michael Koch  <konqueror@gmx.de>
3795
3796         * gnu/java/nio/natSocketChannelImpl.cc:
3797         Added support for platforms without network support.
3798
3799 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3800
3801         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3802         after config.h.  Use <> for consistency.
3803         * java/lang/natObject.cc: Likewise.
3804         * java/lang/natRuntime.cc: Likewise.
3805         * java/lang/natSystem.cc: Likewise.
3806         * java/util/natTimeZone.cc: Likewise.
3807         * win32.cc: Likewise.
3808         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3809         listen, write, read): Undef to avoid interference from OS macros.
3810
3811 2003-02-19  Michael Koch  <konqueror@gmx.de>
3812
3813         * gnu/java/nio/ByteBufferImpl.java
3814         (ByteBufferImpl): Renamed two variables.
3815         * gnu/java/nio/CharBufferImpl.java
3816         (CharBufferImpl): Renamed two variables.
3817         * gnu/java/nio/DoubleBufferImpl.java
3818         (DoubleBufferImpl): Renamed two variables.
3819         * gnu/java/nio/FloatBufferImpl.java
3820         (FloatBufferImpl): Renamed two variables.
3821         * gnu/java/nio/IntBufferImpl.java
3822         (IntBufferImpl): Renamed two variables.
3823         * gnu/java/nio/LongBufferImpl.java
3824         (LongBufferImpl): Renamed two variables.
3825         * gnu/java/nio/ShortBufferImpl.java
3826         (ShortBufferImpl): Renamed two variables.
3827         * java/nio/CharBuffer.java
3828         (wrap): Fixed arguments to CharBufferImpl constructor.
3829         (hasArray): Only not read-only buffers have backing arrays.
3830         (length): Documentation added.
3831         (subSequence): Documentation added.
3832         * java/nio/DoubleBuffer.java
3833         (hasArray): Only not read-only buffers have backing arrays.
3834         * java/nio/FloatBuffer.java
3835         (hasArray): Only not read-only buffers have backing arrays.
3836         * java/nio/IntBuffer.java
3837         (hasArray): Only not read-only buffers have backing arrays.
3838         * java/nio/LongBuffer.java
3839         (hasArray): Only not read-only buffers have backing arrays.
3840         * java/nio/ShortBuffer.java
3841         (hasArray): Only not read-only buffers have backing arrays.
3842         
3843 2003-02-19  Michael Koch  <konqueror@gmx.de>
3844
3845         * javax/accessibility/AccessibleContext.java
3846         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3847
3848 2003-02-19  Michael Koch  <konqueror@gmx.de>
3849
3850         * java/awt/ScrollPaneAdjustable.java: Reformated.
3851
3852 2003-02-19  Michael Koch <konqueror@gmx.de>
3853
3854         * gnu/awt/j2d/Graphics2DImpl.java
3855         (getFontRenderContext): New method.
3856         (drawGlyphVector): New method.
3857         * java/awt/Graphics2D.java
3858         (getFontRenderContext): New abstract method.
3859         (drawGlyphVector): New abstract method.
3860         
3861 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3862
3863         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3864         if necessary.
3865         
3866         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3867         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3868         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3870         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3871         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3872         (setFont, gtkSetFont): add.
3873         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3874         Propagate font to peer.  (setFont): add FIXME comment.
3875
3876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3877         (gtkTextGetSize): fix height, width computation.
3878
3879         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3880         Make X font name a bit less bogus.
3881
3882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3883         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3884
3885         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3886         (processAdjustmentEvent): Adjust value.
3887
3888         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3889         logic errors.
3890
3891         * java/awt/Component.java (setVisible, show, hide): Call show and
3892         hide methods in subclasses.
3893         (getPreferredSize): don't set prefSize before we have peer.
3894
3895         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3896         Guess (0,0) if we don't have peer.
3897
3898
3899 2003-02-18  Michael Koch  <konqueror@gmx.de>
3900
3901         * java/nio/channels/FileChannel.java
3902         (toString): New implementation, added documentation.
3903         (map): Added exception documentation.
3904         (size): Added exception documentation.
3905         (write): New methods, documentation work.
3906         (read): New methods, documentation work.
3907         (implCloseChannel): Rewrote exception documentation.
3908         (force): Throws IOException, added documentation.
3909         (lock): New methods.
3910         (tryLock): New methods.
3911         (position): New methods.
3912         (transferTo): New method.
3913         (transferFrom): New method.
3914         (truncate): New method.
3915         * java/nio/channels/spi/SelectorProvider.java
3916         (provider): Implemented.
3917         * Makefile.am
3918         (ordinary_java_source_files): Added the following files:
3919         gnu/java/nio/DatagramChannelImpl.java
3920         gnu/java/nio/FileChannelImpl.java
3921         gnu/java/nio/PipeImpl.java
3922         gnu/java/nio/SelectionKeyImpl.java
3923         gnu/java/nio/SelectorImpl.java
3924         gnu/java/nio/SelectorProviderImpl.java
3925         gnu/java/nio/ServerSocketChannelImpl.java
3926         gnu/java/nio/SocketChannelImpl.java
3927         java/nio/channels/FileLock.java
3928         (nat_java_source_files): Added the following files:
3929         gnu/java/nio/natFileChannelImpl.cc
3930         gnu/java/nio/natSelectorImpl.cc
3931         gnu/java/nio/natSocketChannelImpl.cc
3932         * Makefile.in: Regenerated.
3933
3934 2003-02-17  Tom Tromey  <tromey@redhat.com>
3935
3936         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3937         * java/awt/image/ImageFilter.java: Likewise.
3938
3939 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3940
3941         * java/math/BigInteger.java (euclidInv): Return array of
3942         `BigInteger's.  Changed all callers.
3943
3944 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3945
3946         * java/util/Properties.java (store): Move the code formerly in
3947         list(), into this method.
3948         (list (PrintStream)): Just call list (PrintWriter) with a 
3949         PrintWriter object constructed from the given PrintStream object.
3950         (list (PrintWriter)): Emulate the output of Properties.list()
3951         as found in JDK 1.3/1.4.
3952
3953 2003-02-17  Michael Koch  <konqueror@gmx.de>
3954
3955         * java/net/DatagramSocket.java
3956         (connect): Merged with classpath.
3957         (disconnect): Merged documentation with classpath.
3958         (receice): Merged documentation with classpath.
3959         (send): Merged documentation with classpath.
3960         
3961 2003-02-17  Michael Koch  <konqueror@gmx.de>
3962
3963         * java/awt/dnd/DragSourceContext.java
3964         (addDragSourceListener): Added documentation.
3965         * java/awt/dnd/DragSourceDragEvent.java
3966         (serialVersionUID): New member variable.
3967         (getDropAction): Reformated.
3968         * java/awt/dnd/DragSourceDropEvent.java
3969         (serialVersionUID): New member variable.
3970         (dropSuccess): Renamed from success for serialization issues.
3971         * java/awt/dnd/DragSourceEvent.java
3972         (serialVersionUID): New member variable.
3973         * java/awt/dnd/DropTarget.java
3974         (serialVersionUID): New member variable.
3975         (DropTarget): Implemented, documentation reworked.
3976         (setComponent): Documentation added.
3977         (getComponent): Documentation added.
3978         (setDefaultActions): Documentation added.
3979         (getDefaultActions): Documentation added.
3980         (addDropTargetListener): Documentation added.
3981         * java/awt/dnd/DropTargetContext.java
3982         (DropTargetContext): Documentation added.
3983         (TransferableProxy.TransferableProxy): New method.
3984         (dropComplete): Fixed documentation.
3985         (getTransferable): Fixed documentation.
3986         (createTransferableProxy): Implemented.
3987         * java/awt/dnd/DropTargetDragEvent.java
3988         (DropTargetDragEvent): Documentation added.
3989         (serialVersionUID): New member variable.
3990         (DropTargetDragEvent): Throw exceptions, documentation added.
3991         (acceptDrag): Implemented.
3992         (getCurrentDataFlavors): Implemented.3yy
3993         (getCurrentDataFlavorsAsList): Implemented.
3994         (isDataFlavorSupported): Implemented.
3995         (rejectDrag): Implemented.
3996         * java/awt/dnd/DropTargetDropEvent.java
3997         (DropTargetDropEvent): Documentation added.
3998         (serialVersionUID): New member variable.
3999         (actions): Renamed from srcActions for serialization issues.
4000         (isLocalTx): Renamed from isLocalTx for serialization issues.
4001         (DropTargetDropEvent): New implementation, throw exceptions,
4002         documentation added.
4003         (getCurrentDataFlavors): Implemented.
4004         (getCurrentDataFlavorsAsList): Implemented.
4005         (isDataFlavorSupported): Implemented.
4006         (getSourceActions): Implemented.
4007         (getDropAction): Implemented.
4008         (getTransferable): Implemented.
4009         (acceptDrop): Implemented.
4010         (rejectDrop): Implemented.
4011         * java/awt/dnd/DropTargetListener.java
4012         (drop): Fixed documentation.
4013         * java/awt/dnd/MouseDragGestureRecognizer.java
4014         (MouseDragGestureRecognizer): Documentation added.
4015
4016 2003-02-17  Michael Koch  <konqueror@gmx.de>
4017
4018         * java/awt/font/FontRenderContext.java,
4019         java/awt/font/ShapeGraphicAttribute.java,
4020         java/awt/font/MultipleMaster.java,
4021         java/awt/font/TransformAttribute.java,
4022         java/awt/font/GlyphJustificationInfo.java,
4023         java/awt/font/LineBreakMeasurer.java,
4024         java/awt/font/TextMeasurer.java,
4025         java/awt/font/TextLayout.java,
4026         java/awt/font/LineMetrics.java,
4027         java/awt/font/TextAttribute.java,
4028         java/awt/font/GlyphMetrics.java,
4029         java/awt/font/OpenType.java,
4030         java/awt/font/GlyphVector.java,
4031         java/awt/font/GraphicAttribute.java,
4032         java/awt/font/ImageGraphicAttribute.java,
4033         java/awt/font/NumericShaper.java: New files.
4034         * Makefile.am
4035         (awt_java_source_files): Added the following files:
4036         java/awt/font/FontRenderContext.java
4037         java/awt/font/ShapeGraphicAttribute.java
4038         java/awt/font/MultipleMaster.java
4039         java/awt/font/TransformAttribute.java
4040         java/awt/font/GlyphJustificationInfo.java
4041         java/awt/font/LineBreakMeasurer.java
4042         java/awt/font/TextMeasurer.java
4043         java/awt/font/TextLayout.java
4044         java/awt/font/LineMetrics.java
4045         java/awt/font/TextAttribute.java
4046         java/awt/font/GlyphMetrics.java
4047         java/awt/font/OpenType.java
4048         java/awt/font/GlyphVector.java
4049         java/awt/font/GraphicAttribute.java
4050         java/awt/font/ImageGraphicAttribute.java
4051         java/awt/font/NumericShaper.java
4052         * Makefile.in: Regenerated.
4053
4054 2003-02-17  Michael Koch  <konqueror@gmx.de>
4055
4056         * java/awt/print/Paper.java
4057         (Paper): Implements Cloneable.
4058         * java/awt/print/PrinterJob.java
4059         (setJobName): Return value must be void.
4060         (print): Throws PrinterException.
4061         
4062 2003-02-16  Tom Tromey  <tromey@redhat.com>
4063
4064         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4065         variable.
4066
4067 2003-02-15  Michael Koch  <konqueror@gmx.de>
4068
4069         * java/awt/datatransfer/DataFlavor.java
4070         (isRepresentationClassByteBuffer): Removed try-catch block.
4071         (isRepresentationClassCharBuffer): Removed try-catch block.
4072         (isRepresentationClassReader): Removed try-catch block.
4073
4074 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4075
4076         * java/nio/charset/Charset.java
4077         (isRegistered): Fixed method args and implementation.
4078         * java/nio/charset/CharsetEncoder.java
4079         (unmappableCharacterAction): New method.
4080
4081 2003-02-15  Michael Koch  <konqueror@gmx.de>
4082
4083         * java/awt/CheckboxMenuItem.java
4084         (CheckBoxMenuItem): Dont implement Serializable.
4085         (getListeners): New method,
4086         (getItemListeners): New method.
4087         * java/awt/Choice.java
4088         (getListeners): New method,
4089         (getItemListeners): New method.
4090         * java/awt/Container.java
4091         (getListeners): Added exception documentation.
4092         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4093         (getFocusTraversalKeys): Added documentation.
4094         (areFocusTraversalKeysSet): Added documentation.
4095         (applyComponentOrientation): Added documentation.
4096         * java/awt/ContainerOrderFocusTraversalPolicy.java
4097         (implicitDownCycleTraversal): Renamed from downCycle for
4098         serialization.
4099         (ContainerOrderFocusTraversalPolicy): Added documentation.
4100         (accept): Reformated.
4101         * java/awt/Dialog.java
4102         (Dialog): Dont implement Serializable.
4103         (Dialog): Added documentation.
4104         * java/awt/Font.java
4105         (Font): Dont use absolute class name.
4106         * java/awt/Frame.java
4107         (Frame): Font implement Serializable.
4108         * java/awt/List.java
4109         (getListeners): New method,
4110         (getActionListeners): New method.       
4111         (getItemListeners): New method.
4112         * java/awt/Menu.java
4113         (countItems): New deprecated method.
4114         * java/awt/Scrollbar.java
4115         (getListeners): New method,
4116         (getAdjustmentListeners): New method,
4117         * java/awt/TextComponent.java
4118         (getListeners): New method,
4119         (getTextListeners): New method,
4120         * java/awt/TextField.java
4121         (getListeners): New method,
4122         (getActionListeners): New method.       
4123         * java/awt/Window.java
4124         (windowFocusListener): New member variable.
4125         (windowStateListener): New member variable.
4126         (getWindowFocusListeners): New method.
4127         (getWindowStateListeners): New method.
4128         (addWindowFocusListener): New method.
4129         (addWindowStateListener): New method.
4130         (removeWindowFocusListener): New method.
4131         (removeWindowStateListener): New method.
4132         * java/awt/datatransfer/DataFlavor.java
4133         (isRepresentationClassByteBuffer): New method.
4134         (isRepresentationClassCharBuffer): New method.
4135         (isRepresentationClassReader): New method.
4136
4137 2003-02-14  Mark Wielaard  <mark@klomp.org>
4138
4139         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4140         zero when there is an exponent and the significant is zero.
4141         (divide): Always set scale to newScale even in special ZERO case.
4142
4143 2003-02-14  Tom Tromey  <tromey@redhat.com>
4144
4145         * java/lang/System.java (properties): Use Properties.clone.
4146         (setProperties): Likewise.
4147
4148 2003-02-14  Michael Koch  <konqueror@gmx.de>
4149
4150         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4151         * gnu/java/nio/ServerSocketChannelImpl.java
4152         (SocketAccept): Removed.
4153         (accept): Commented out use of SocketAccept.
4154
4155 2003-02-13  Tom Tromey  <tromey@redhat.com>
4156
4157         * verify.cc (state::seen_subrs): New field.
4158         (state::state): Initialize it.
4159         (state::clean_subrs): New method.
4160         (state::~state): Call it.
4161         (state::copy): Copy subroutine list.
4162         (state::add_subr): New method.
4163         (state::merge): Only register a change if the current subroutine
4164         hasn't yet been noted.
4165
4166 2003-02-13  Mark Wielaard  <mark@klomp.org>
4167
4168         * java/io/InputStreamReader.java (getEncoding): Return null when
4169         closed.
4170         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4171
4172 2003-02-13  Mark Wielaard  <mark@klomp.org>
4173  
4174         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4175         is zero.
4176
4177 2003-02-13  Mark Wielaard  <mark@klomp.org>
4178
4179         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4180         next byte cannot be buffered.
4181
4182 2003-02-13  Michael Koch  <konqueror@gmx.de>
4183  
4184         * java/awt/Label.java
4185         (Label): Don't implement Serializable directly.
4186         (addNotify): Fixed typo in documentation.
4187         * java/awt/List.java
4188         (List): Don't implement Serializable directly.
4189         * java/awt/PopupMenu.java
4190         (PopupMenu): Don't implement Serializable directly.
4191         * java/awt/ScrollPane.java
4192         (ScrollPane): Don't implement Serializable directly.
4193         * java/awt/Scrollbar.java
4194         (Scrollbar): Don't implement Serializable directly.
4195         * java/awt/TextArea.java
4196         (preferredSize): Fixed method arguments.
4197         * java/awt/TextField.java
4198         (TextField): Don't implement Serializable directly.
4199         * java/awt/color/ICC_ColorSpace.java
4200         (fromCIOXYZ): Documentation added.
4201         (getMinValue): Documentation added.
4202         (getMaxValue): Documentation added.
4203         * java/awt/datatransfer/DataFlavor.java
4204         (isMimeTypeEqual): May not be final.
4205         (clone): Throws CloneNotSupportedException.
4206         (getReaderForText): Don't throws UnsupportedEncodingException.
4207
4208 2003-02-13  Michael Koch  <konqueror@gmx.de>
4209  
4210         * gnu/java/awt/peer/gtk/GdkGraphics.java
4211         (drawString): New stubbed method.
4212         * java/awt/Graphics.java
4213         (drawString): New method.
4214
4215 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4216
4217         PR libgcj/9271:
4218         * java/security/SecureRandom.java (next): Avoid bias in results.
4219
4220 2003-02-13  Michael  <konqueror@gmx.de>
4221
4222         * gnu/java/nio/FileChannelImpl.java
4223         (lengthInternal): Must be native.
4224         (size): Check if channel is already closed.
4225         (implCloseChannel): Reformated.
4226         (read): w was unused, removed it.
4227         (read): Removed.
4228         (read): New method.
4229         (write): New method.
4230         (map): Check arguments.
4231         (force): Throws IOException, check if channel is closed.
4232         (transferTo): New method.
4233         (transferFrom): New method.
4234         (lock): New method.
4235         (tryLock): New method.
4236         (position): New method.
4237         (truncate): New method.
4238         (nio_mmap_file): Uncommented.
4239         (nio_munmap_file): Uncommented.
4240         (nio_msync): Uncommented.
4241         * gnu/java/nio/natFileChannelImpl.cc: New file.
4242         
4243 2003-02-13  Michael Koch  <konqueror@gmx.de>
4244
4245         * java/nio/ByteBuffer.java
4246         (endian): New member variable.
4247         (get): New methods.
4248         (equals): New method.
4249         (compareTo): New method.
4250         (order): New methods.
4251         (compact): New method.
4252         (isDirect): New method.
4253         (slice): New method.
4254         (duplicate): New method.
4255         (asReadOnlyBuffer): New method.
4256         (asCharBuffer): New method.
4257         (asDoubleBuffer): New method.
4258         (asFloatBuffer): New method.
4259         (asIntBuffer): New method.
4260         (asLongBuffer): New method.
4261         (asShortBuffer): New method.
4262         (get*): New methods.
4263         (put*): New methods.
4264         (toString): New method.
4265         * java/nio/CharBuffer.java
4266         (CharBuffer): Implement Comparable instead of Cloneable.
4267         (get): May not be final.
4268         (put): May not be final.
4269         
4270 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4271
4272         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4273         lastIndexOf( ) instead of indexOf( ) to find the colon before
4274         the line number, because Win32 file names might contain a 
4275         drive letter and a colon at the start of an absolute path.
4276
4277 2003-02-13  Michael Koch  <konqueror@gmx.de>
4278
4279         * gnu/java/nio/natSocketChannelImpl.cc
4280         (SocketConnect): This is not implemented yet.
4281         (SocketBind): This is not implemented yet.
4282
4283 2003-02-13  Michael Koch  <konqueror@gmx.de>
4284
4285         * gnu/java/nio/natByteBufferImpl.cc,
4286         gnu/java/nio/natCharBufferImpl.cc,
4287         gnu/java/nio/natDoubleBufferImpl.cc,
4288         gnu/java/nio/natFloatBufferImpl.cc,
4289         gnu/java/nio/natIntBufferImpl.cc,
4290         gnu/java/nio/natLongBufferImpl.cc,
4291         gnu/java/nio/natShortBufferImpl.cc:
4292         Added copyright and license.
4293         * java/nio/DoubleBuffer.java,
4294         java/nio/FloatBuffer.java,
4295         java/nio/IntBuffer.java,
4296         java/nio/LongBuffer.java,
4297         java/nio/ShortBuffer.java
4298         (array): Throw exceptions.
4299         (arrayOffset): Throw exceptions.
4300
4301 2003-02-13  Michael Koch  <konqueror@gmx.de>
4302  
4303         * gnu/java/util/prefs/FileBasedFactory.java,
4304         gnu/java/util/prefs/MemmoryBasedFactory.java,
4305         gnu/java/util/prefs/MemoryBasedPreferences.java,
4306         gnu/java/util/prefs/NodeReader.java,
4307         gnu/java/util/prefs/NodeWriter.java,
4308         java/util/prefs/AbstractPreferences.java,
4309         java/util/prefs/BackingStoreException.java,
4310         java/util/prefs/InvalidPreferencesFormatException.java,
4311         java/util/prefs/NodeChangeEvent.java,
4312         java/util/prefs/NodeChangeListener.java,
4313         java/util/prefs/PreferenceChangeEvent.java,
4314         java/util/prefs/PreferenceChangeListener.java,
4315         java/util/prefs/Preferences.java,
4316         java/util/prefs/PreferencesFactory.java:
4317         New files, all merged from classpath.
4318         * Makefile.am
4319         (ordinary_java_source_files): Added the following files:
4320         gnu/java/util/prefs/FileBasedFactory.java,
4321         gnu/java/util/prefs/MemmoryBasedFactory.java,
4322         gnu/java/util/prefs/MemoryBasedPreferences.java,
4323         gnu/java/util/prefs/NodeReader.java,
4324         gnu/java/util/prefs/NodeWriter.java,
4325         (core_java_source_files): Added the following files:
4326         java/util/prefs/AbstractPreferences.java,
4327         java/util/prefs/BackingStoreException.java,
4328         java/util/prefs/InvalidPreferencesFormatException.java,
4329         java/util/prefs/NodeChangeEvent.java,
4330         java/util/prefs/NodeChangeListener.java,
4331         java/util/prefs/PreferenceChangeEvent.java,
4332         java/util/prefs/PreferenceChangeListener.java,
4333         java/util/prefs/Preferences.java,
4334         java/util/prefs/PreferencesFactory.java
4335         * Makefile.in: Regenerated.
4336  
4337 2003-02-13  Michael Koch  <konqueror@gmx.de>
4338
4339         * java/net/NetPermission.java
4340         (NetPermission): Make doucmentation match the method declaration.
4341         * java/net/NetworkInterface.java
4342         (equals): Reformated for GNU coding style.
4343         * java/net/ServerSocket.java: Merged with classpath.
4344         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4345         * java/net/SocketImpl.java
4346         (localPort): Merged with classpath (initialize with -1).
4347         * java/net/SocketPermission.java: Merged with classpath (reindented).
4348         * java/net/URLDecoder.java: Merged with classpath (reindented).
4349
4350 2003-02-13  Michael Koch  <konqueror@gmx.de>
4351
4352         * java/awt/GridBagConstraints.java
4353         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4354         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4355         * java/awt/KeyboardFocusManager.java
4356         (setGlobalCurrentFocusCycleRoot): Must be public.
4357         * java/awt/MenuComponent.java
4358         (MenuComponent): Must be public.
4359         * java/awt/Toolkit.java:
4360         Added some empty lines to make documentation more readable.
4361         (getFontPeer): Added @deprecated.
4362         (getColorModel): Added exception documentation.
4363         (getProperty): Fixed documentation.
4364  
4365 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4366
4367         * configure.host (alpha*-*): Default to -mieee.
4368         * configure.in (IEEESPEC): New.
4369         * libgcj.spec.in (jc1): Add IEEESPEC.
4370         * configure: Rebuild.
4371
4372 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4373
4374         * include/win32.h: Include ws2tcpip.h instead of
4375         winsock.h to obtain definition of the socklen_t type.
4376         Remove IP_TOS definition - not needed with ws2tcpip.h
4377         (_Jv_connect): Correct slight formatting error.
4378
4379 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4380
4381         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4382         size of the arguments for a JNI function. For Win32,
4383         modify to search for all forms of possible exported
4384         names of an stdcall JNI function.
4385         (_Jv_JNIMethod::call): Modify to calculate the size
4386         of the arguments passed to a JNI function and pass
4387         it to _Jv_LookupJNIMethod.
4388
4389 2003-02-12  Michael Koch  <konqueror@gmx.de>
4390
4391         * java/nio/channels/Channels.java: New file.
4392         * Makefile.am
4393         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4394         * Makefile.in: Regenerated.
4395
4396 2003-02-12  Michael Koch  <konqueror@gmx.de>
4397
4398         * java/nio/ByteBuffer.java
4399         (allocate): Implemented.
4400         (wrap): Implemented.
4401         * java/nio/CharBuffer.java:
4402         Some documentation added and reworked.
4403         (endian): Removed.
4404         (allocate): Implemented.
4405         (wrap): Implemented.
4406         (array): Throw exceptions.
4407         (arrayOffset): Throw exceptions.
4408         (toString): Implemented.
4409         (length): Implemented.
4410         (put): Implemented.
4411         (charAt): Implemented.
4412
4413 2003-02-11  John Leuner  <jewel@debian.org>
4414
4415         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4416         reads from end of file.
4417
4418 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4419
4420         * java/io/natFileDescriptorWin32.cc 
4421         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4422         returns with Win32 error code ERROR_BROKEN_PIPE.
4423
4424 2003-02-11  Michael Koch  <konqueror@gmx.de>
4425
4426         * Makefile.in
4427         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4428
4429 2003-02-11  Michael Koch  <konqueror@gmx.de>
4430
4431         * gnu/java/nio/ByteBufferImpl.java:
4432         Reformated and removed some code.
4433         (backing_buffer): Removed.      
4434         (array_offset): Removed.
4435         (ro): Renamed to readOnly.
4436         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4437         * gnu/java/nio/CharBufferImpl.java:
4438         Reformated and removed some code.
4439         (array_offset): Removed.
4440         (ro): Renamed to readOnly.
4441         (CharBufferImpl): Use parent constructor, initialize readOnly.
4442         (inc_pos): Removed.
4443         (order): New method.
4444         * gnu/java/nio/DoubleBufferImpl.java:
4445         Reformated and removed some code.
4446         (array_offset): Removed.
4447         (ro): Renamed to readOnly.
4448         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4449         (inc_pos): Removed.
4450         (order): New method.
4451         * gnu/java/nio/FloatBufferImpl.java:
4452         Reformated and removed some code.
4453         (array_offset): Removed.
4454         (ro): Renamed to readOnly.
4455         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4456         (inc_pos): Removed.
4457         (order): New method.
4458         * gnu/java/nio/IntBufferImpl.java:
4459         Reformated and removed some code.
4460         (array_offset): Removed.
4461         (ro): Renamed to readOnly.
4462         (IntBufferImpl): Use parent constructor, initialize readOnly.
4463         (inc_pos): Removed.
4464         (order): New method.
4465         * gnu/java/nio/LongBufferImpl.java:
4466         Reformated and removed some code.
4467         (array_offset): Removed.
4468         (ro): Renamed to readOnly.
4469         (LongBufferImpl): Use parent constructor, initialize readOnly.
4470         (inc_pos): Removed.
4471         (order): New method.
4472         * gnu/java/nio/ShortBufferImpl.java:
4473         Reformated and removed some code.
4474         (array_offset): Removed.
4475         (ro): Renamed to readOnly.
4476         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4477         (inc_pos): Removed.
4478         (order): New method.
4479         * Makefile.am
4480         (ordinary_java_source_files): Added the following files:
4481         gnu/java/nio/ByteBufferImpl.java
4482         gnu/java/nio/CharBufferImpl.java
4483         gnu/java/nio/DoubleBufferImpl.java
4484         gnu/java/nio/FloatBufferImpl.java
4485         gnu/java/nio/IntBufferImpl.java
4486         gnu/java/nio/LongBufferImpl.java
4487         gnu/java/nio/ShortBufferImpl.java
4488         java/nio/DoubleBuffer.java
4489         java/nio/FloatBuffer.java
4490         java/nio/IntBuffer.java
4491         java/nio/LongBuffer.java
4492         java/nio/ShortBuffer.java
4493         (nat_source_files): Added the following files:
4494         gnu/java/nio/natByteBufferImpl.cc
4495         gnu/java/nio/natCharBufferImpl.cc
4496         gnu/java/nio/natDoubleBufferImpl.cc
4497         gnu/java/nio/natFloatBufferImpl.cc
4498         gnu/java/nio/natIntBufferImpl.cc
4499         gnu/java/nio/natLongBufferImpl.cc
4500         gnu/java/nio/natShortBufferImpl.cc
4501         * Makefile.in: Regenerated.
4502
4503 2003-02-11  Michael Koch  <konqueror@gmx.de>
4504
4505         * gnu/java/nio/natCharBufferImpl.cc
4506         (nio_cast): Removed.
4507         (nio_put_*): Removed.
4508         (nio_get_*): Removed.
4509         * gnu/java/nio/natDoubleBufferImpl.cc
4510         (nio_cast): Removed.
4511         (nio_put_*): Removed.
4512         (nio_get_*): Removed.
4513         * gnu/java/nio/natFloatBufferImpl.cc
4514         (nio_cast): Removed.
4515         (nio_put_*): Removed.
4516         (nio_get_*): Removed.
4517         * gnu/java/nio/natIntBufferImpl.cc
4518         (nio_cast): Removed.
4519         (nio_put_*): Removed.
4520         (nio_get_*): Removed.
4521         * gnu/java/nio/natLongBufferImpl.cc
4522         (nio_cast): Removed.
4523         (nio_put_*): Removed.
4524         (nio_get_*): Removed.
4525         * gnu/java/nio/natShortBufferImpl.cc
4526         (nio_cast): Removed.
4527         (nio_put_*): Removed.
4528         (nio_get_*): Removed.
4529         * gnu/java/nio/SelectorProviderImpl.java
4530         (openDatagramChannel): Throws IOException.
4531         (openPipe): Throws IOException.
4532         (openSelector): Throws IOException.
4533         (openServerSocketChannel): Throws IOException.
4534         (openSocketChannel): Throws IOException.
4535         * gnu/java/nio/ServerSocketChannelImpl.java
4536         (ServerSocketChannelImpl): Throws IOException.
4537         (implCloseSelectableChannel): Throws IOException.
4538         (implConfigureBlocking): Throws IOException.
4539         * java/nio/ByteBuffer.java
4540         (readOnly): Removed.
4541         (hasArray): Use isReadOnly() instead of readOnly.
4542         (array): Use isReadOnly() instead of readOnly.
4543         (arrayOffset): Use isReadOnly() instead of readOnly.
4544         * java/nio/CharBuffer.java
4545         (CharBuffer): Implements Cloneable and CharSequence.
4546
4547 2003-02-11  Michael Koch  <konqueror@gmx.de>
4548
4549         * java/nio/DoubleBuffer.java
4550         (DoubleBuffer): Implements Comparable.
4551         (endian): Removed.
4552         (array_offset): New member variable.
4553         (DoubleBuffer): New constuctor.
4554         (get): May not be final.
4555         (put): May not be final.
4556         (arrayOffset): Implemented.
4557         (order): Made abstract.
4558         (order): Removed.
4559         (as*Buffer): Removed.
4560         (get*): Removed.
4561         (put*): Removed.
4562         * java/nio/FloatBuffer.java
4563         (FloatBuffer): Implements Comparable.
4564         (endian): Removed.
4565         (array_offset): New member variable.
4566         (FloatBuffer): New constuctor.
4567         (get): May not be final.
4568         (put): May not be final.
4569         (arrayOffset): Implemented.
4570         (order): Made abstract.
4571         (order): Removed.
4572         (as*Buffer): Removed.
4573         (get*): Removed.
4574         (put*): Removed.
4575         * java/nio/IntBuffer.java
4576         (IntBuffer): Implements Comparable.
4577         (endian): Removed.
4578         (array_offset): New member variable.
4579         (IntBuffer): New constuctor.
4580         (get): May not be final.
4581         (put): May not be final.
4582         (arrayOffset): Implemented.
4583         (order): Made abstract.
4584         (order): Removed.
4585         (as*Buffer): Removed.
4586         (get*): Removed.
4587         (put*): Removed.
4588         * java/nio/LongBuffer.java
4589         (LongBuffer): Implements Comparable.
4590         (endian): Removed.
4591         (array_offset): New member variable.
4592         (LongBuffer): New constuctor.
4593         (get): May not be final.
4594         (put): May not be final.
4595         (arrayOffset): Implemented.
4596         (order): Made abstract.
4597         (order): Removed.
4598         (as*Buffer): Removed.
4599         (get*): Removed.
4600         (put*): Removed.
4601         * java/nio/ShortBuffer.java
4602         (ShortBuffer): Implements Comparable.
4603         (endian): Removed.
4604         (array_offset): New member variable.
4605         (ShortBuffer): New constuctor.
4606         (get): May not be final.
4607         (put): May not be final.
4608         (arrayOffset): Implemented.
4609         (order): Made abstract.
4610         (order): Removed.
4611         (as*Buffer): Removed.
4612         (get*): Removed.
4613         (put*): Removed.
4614
4615 2003-02-11   Michael Koch  <konqueror@gmx.de>
4616
4617         * java/nio/channels/SelectionKey.java
4618         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4619         values.
4620
4621 2003-02-11  Michael Koch  <konqueror@gmx.de>
4622
4623         * java/nio/channels/DatagramChannel.java
4624         (write): Throws IOException.
4625         (connect): Throws IOException.
4626         (disconnect): Throws IOException.
4627         (read): Throws IOException.
4628         (receive): Throws IOException.
4629         (send): Throws IOException.
4630         * java/nio/channels/Pipe.java
4631         (open): Throws IOException.
4632         * java/nio/channels/SelectableChannel.java
4633         (configureBlocking): Throws IOException.
4634         * java/nio/channels/ServerSocketChannel.java
4635         (accept): Throws IOException.
4636         * java/nio/channels/SocketChannel.java
4637         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4638         GatheringByteChannel.
4639         (read): Throws IOException.
4640         (write): Throws IOException.
4641         (finishConnect): Throws IOException.
4642         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4643         (end): Throws AsynchronousCloseException.
4644         * java/nio/channels/spi/AbstractSelectableChannel.java
4645         (configureBlocking): Throws IOException.
4646         (implCloseChannel): Throws IOException.
4647         (implCloseSelectableChannel): Throws IOException.
4648         (implConfigureBlocking): Throws IOException.
4649         * java/nio/channels/spi/SelectorProvider.java
4650         (openDatagramChannel): Throws IOException.
4651         (openPipe): Throws IOException.
4652         (openSelector): Throws IOException.
4653         (openServerSocketChannel): Throws IOException.
4654         (openSocketChannel): Throws IOException.
4655
4656 2003-02-11  Michael Koch  <konqueror@gmx.de>
4657
4658         * gnu/java/nio/FileLockImpl.java,
4659         java/nio/channels/FileLock.java: New files.
4660
4661 2003-02-11  Michael Koch  <konqueror@gmx.de>
4662
4663         * java/nio/charset/IllegalCharsetNameException.java
4664         (serialVersionUID): New member variable.
4665         (charsetName): New member variable.
4666         (IllegalCharsetException): New implementation.
4667         (getCharsetName): New implementation.
4668         * java/nio/charset/UnsupportedCharsetException.java
4669         (serialVersionUID): New member variable.
4670         (charsetName): New member variable.
4671         (UnsupportedCharsetException): New implementation.
4672         (getCharsetName): New implementation.
4673
4674 2003-02-10  Tom Tromey  <tromey@redhat.com>
4675
4676         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4677         (ex): Renamed from sqlException.
4678
4679 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4680
4681         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4682         method used to ensure seeding has occurred and that a specific 
4683         seed can be set and used.
4684
4685 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4686
4687         * java/lang/Win32Process.java (destroy): Declare as native.
4688         (hasExited): New native method.
4689         (exitValue): Define.
4690         (getErrorStream): Likewise.
4691         (getInputStream): Likewise.
4692         (getOutputStream): Likewise.
4693         (waitFor): Declare as native.
4694         (startProcess): New native method.
4695         (cleanup): Likewise.
4696         (ConcreteProcess): Define.
4697         (outputStream, inputStream, errorStream): New members.
4698         (procHandle, exitCode): Likewise.
4699
4700         * java/lang/natWin32Process.cc
4701         (java::lang::ConcreteProcess::cleanup): Define.
4702         (java::lang::ConcreteProcess::destroy): Likewise.
4703         (java::lang::ConcreteProcess::hasExited): Likewise.
4704         (java::lang::ConcreteProcess::waitFor): Likewise.
4705         (new_string): Likewise.
4706         (java::lang::ConcreteProcess::startProcess): Likewise.
4707
4708 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4709
4710         * java/math/BigInteger.java:
4711         Updated notice to include years 2002 and 3.
4712         Added 2 private (int) arrays with values from the HAC (Handbook of
4713         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4714         and t[] that contains nbr. of tests --used in isProbablePrime().
4715
4716         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4717
4718         * java/math/BigInteger.java (make(int[],int), add(int,int),
4719         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4720         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4721         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4722         make(long).
4723
4724         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4725         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4726         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4727         BIs and returns void.
4728         (modInverse(BI)): Use new signatures of euclidInv().
4729
4730         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4731         static small primes instead of remainder().
4732         Use pre-computed max nbr of trials based on bitlength of BI to test.
4733         Use pre-computed small primes for the trial tests instead of random
4734         numbers.
4735
4736         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4737         not used.
4738
4739         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4740         invoacation of MPN.chars_per_word().  not used.
4741
4742         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4743         local var and used where needed.
4744
4745         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4746         Combined declaration with initialisation of locals.
4747         Removed unused var.
4748
4749         * java/math/BigInteger.java: Style changes
4750         (pow(int)): Removed 'else' keyword.
4751         (toString(int)): idem.
4752         (doubleValue()): idem.
4753         (bitLength()): idem.
4754         (equals(Object)): Use static methods name in same class w/o prepending
4755         class name.
4756         (doubleValue()): idem.
4757         (setNegative(BI)): idem.
4758         (negate()): idem.
4759         (and(BI,int)): idem.
4760         (and(BI)): idem.
4761         (gcd(BI)): idem.
4762         (byteArrayToIntArray()): Removed casting to (int). this is
4763         std. behaviour.
4764         (canonicalize()): idem.
4765         (alloc(int)): Always instantiate a new BI.
4766
4767 2003-02-10  Tom Tromey  <tromey@redhat.com>
4768
4769         * java/sql/Timestamp.java (compareTo(Object)): New method.
4770         (compareTo(Timestamp)): Likewise.
4771         (serialVersionUID): Updated.
4772
4773 2003-02-07  Mark Wielaard  <mark@klomp.org>
4774
4775         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4776         when verify is true.
4777         (JarFile(File, boolean)): Likewise.
4778         (manifestRead): Set manifestRead field correctly.
4779
4780 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4781
4782         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4783         tests; see patch #1016 on Savannah.
4784
4785 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4786
4787         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4788         (toString): do not return Strings starting with . and - erroneously.
4789         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4790         DiagBigDecimal.
4791
4792 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4793
4794         * java/beans/PropertyDescriptor.java
4795         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4796         methods.
4797         (PropertyDescriptor(String, Class, String, String)): Likewise.
4798         (PropertyDescriptor(String, Method, Method): Factor out getter and
4799         setter method sanity checks into new method.
4800         (findMethods): Don't do parameter sanity checking of get method here.
4801         (checkMethods): New method.
4802
4803 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4804
4805         * java/beans/PropertyDescriptor.java: Reformat.
4806
4807 2003-02-04  Tom Tromey  <tromey@redhat.com>
4808
4809         * java/io/PipedOutputStream.java (flush): Declare as throwing
4810         IOException.
4811         (close): Likewise.
4812         * java/io/PipedWriter.java (close): Declare as throwing
4813         IOException.
4814         * java/io/StringWriter.java (close): Declare as throwing
4815         IOException.
4816
4817 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4818
4819         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4820         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4821         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4822         "_JNI_OnLoad@8" (MSVC).
4823
4824 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4825
4826         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4827         convention on Win32 to invoke native JNI methods.
4828
4829 2003-02-03  Andrew Haley  <aph@redhat.com>
4830
4831         * configure.host (x86_64): Enable interpreter.
4832
4833 2003-02-03  Andrew Haley  <aph@redhat.com>
4834
4835         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4836         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4837         * configure.in (BACKTRACESPEC): New.
4838         * configure: Regenerate.
4839
4840 2003-02-02  Tom Tromey  <tromey@redhat.com>
4841
4842         * configure: Rebuilt.
4843         * configure.in (TOOLKIT) [xlib]: Set correctly.
4844
4845         * Makefile.in: Rebuilt.
4846         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4847         libstdc++.
4848
4849 2003-01-31  Mark WIelaard  <mark@klomp.org>
4850
4851         * Makefile.in: Rebuilt.
4852         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4853
4854 2003-01-31  Tom Tromey  <tromey@redhat.com>
4855
4856         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4857         cast to element type.
4858         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4859         (_Jv_JNI_GetObjectArrayElement): Likewise.
4860
4861         * Makefile.in: Rebuilt.
4862         * Makefile.am (cond_x_ltlibrary): Renamed library to
4863         lib-gnu-awt-xlib.la.
4864         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4865         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4866         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4867         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4868         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4869         (lib_gnu_awt_xlib_la_LINK): Likewise.
4870         (install-exec-hook): Removed.
4871         (lib-gnu-awt-xlib.la): Renamed.
4872
4873 2003-01-31  Tom Tromey  <tromey@redhat.com>
4874
4875         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4876         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4877         aclocal.m4 and lost in some merge.
4878
4879         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4880         Don't try to find graphics configuration.
4881         * java/awt/Toolkit.java (default_toolkit_name): Use new
4882         Configuration entry.
4883         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4884         New global.
4885         * configure: Rebuilt.
4886         * configure.in (TOOLKIT): New subst.
4887         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4888         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4889         directory.  Make output directories for .c files.
4890         * Makefile.in: Rebuilt.
4891         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4892         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4893         (all_java_source_files): Added new sources.
4894         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4895         (gtk_c_files): New macro.
4896         (gtk_c_source_files): New macro.
4897         (cond_gtk_ltlibrary): New macro.
4898         ($(gtk_c_files)): New target.
4899         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4900         (gtk_awt_peer_sources): New macro.
4901         (gtk_c_headers): New macro.
4902         ($(gtk_c_headers)): New target.
4903         (ACLOCAL_AMFLAGS): New macro.
4904         * gtk.m4, glib.m4, libart.m4: New files.
4905         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4906         gnu/java/awt/peer/gtk/GdkGraphics.java,
4907         gnu/java/awt/peer/gtk/GtkArg.java,
4908         gnu/java/awt/peer/gtk/GtkArgList.java,
4909         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4910         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4911         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4912         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4913         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4914         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4915         gnu/java/awt/peer/gtk/GtkClipboard.java,
4916         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4917         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4918         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4919         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4920         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4921         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4922         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4923         gnu/java/awt/peer/gtk/GtkImage.java,
4924         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4925         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4926         gnu/java/awt/peer/gtk/GtkListPeer.java,
4927         gnu/java/awt/peer/gtk/GtkMainThread.java,
4928         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4929         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4930         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4931         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4932         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4933         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4934         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4935         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4936         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4937         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4938         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4939         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4940         gnu/java/awt/peer/gtk/GtkToolkit.java,
4941         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4942         gnu/java/awt/peer/gtk/TestAWT.java,
4943         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4944         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4945         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4946         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4947         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4948         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4949         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4950         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4951         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4952         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4953         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4954         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4955         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4956         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4957         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4958         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4959         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4961         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4962         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4963         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4964         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4966         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4968         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4970         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4971         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4972         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4973         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4974         jni/classpath/native_state.c, jni/classpath/native_state.h,
4975         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4976
4977 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4978
4979         * java/util/Properties.java (load): Ignore backslash before EOF.
4980
4981 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4982
4983         * java/lang/natClass.cc (initializeClass): Check tables when
4984         (state == JV_STATE_IN_PROGRESS).
4985         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4986         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4987         interpreted classes.
4988         (linkClass0): Use _Jv_WaitForState.
4989
4990 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4991
4992         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4993         object when finished.
4994
4995 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4996
4997         * libjava/configure.host: Disable can_unwind_signal on darwin.
4998
4999 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5000
5001         Fixes PR java/9254:
5002         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5003         additionally containing id of the owner thread as well as
5004         the number of nested times the thread has acquired the mutex.
5005         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5006         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5007         (_Jv_MutexUnlock): Check if really the owner thread, reset
5008         owner thread id to 0 before leaving, if leaving for the last
5009         time.
5010         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5011         refcount.
5012         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5013         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5014         the passed mutex.
5015         Pass handle of the broadcast event, instead of a pointer to it
5016         in Win32 ResetEvent( ) call.
5017         Remove incorrect return values.
5018         (_Jv_CondDestroy): Close both event handles and delete
5019         critical section.
5020         (_Jv_CondNotify): Check if really the owner thread.
5021         (_Jv_CondNotifyAll): Check if really the owner thread.
5022         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5023         (really_start): Use SetEvent( ) to signal daemon_cond.
5024         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5025         WaitForSingleObject( ) instead to wait for daemon_cond to be
5026         signalled.
5027
5028 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5029
5030         * configure.in: Specifically define HAVE_BACKTRACE if building
5031         for MinGW.
5032         * include/win32.h: Remove HAVE_BACKTRACE definition.
5033         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5034         * configure: Rebuilt.
5035
5036 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5037
5038         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5039         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5040         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5041         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5042         * Makefile.in, configure: Rebuilt.
5043
5044 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5045
5046         Fixes PR java/9253:
5047         * java/io/natFileWin32.cc (performList): Append only "*.*"
5048         if the canonical file path already has a "\" at the end.
5049
5050 2003-01-24  Tom Tromey  <tromey@redhat.com>
5051
5052         * defineclass.cc (handleMethodsEnd): Precompute code for static
5053         method.
5054         (handleCodeAttribute): Likewise.
5055         * resolve.cc (ncode): Use run_class for unsynchronized static
5056         methods.
5057         * include/java-interp.h (class _Jv_InterpMethod): Declare
5058         run_class.
5059         * interpret.cc (run_synch_class): Initialize class.
5060         (run) [insn_invokestatic]: Don't initialize class.
5061         [insn_anewarray]: Likewise.
5062         [insn_multianewarray]: Likewise.
5063         (run_class): New function.
5064
5065 2003-01-24  Tom Tromey  <tromey@redhat.com>
5066
5067         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5068         comment.
5069
5070 2003-01-22  Andrew Haley  <aph@redhat.com>
5071
5072         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5073         * configure.host (CHECKREFSPEC): Define for x86_64.
5074
5075 2003-01-21  Tom Tromey  <tromey@redhat.com>
5076
5077         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5078         search at 2, not 3.
5079
5080 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5081
5082         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5083         looking at any characters.
5084         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5085         be used.
5086         (isAbsolute): Check path's length as well.
5087
5088 2003-01-17  Mark Wielaard  <mark@klomp.org>
5089
5090         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5091         (nat_source_files): Add natVMObjectStreamClass.cc.
5092         * Makefile.in: Regenerated.
5093         * gcj/javaprims.h (namespace java): Regenerated.
5094         * java/io/ObjectStreamClass.java (getClassUID): Call
5095         VMObjectStreamClass.hasClassInitializer().
5096         (hasClassInitializer): Removed.
5097         * java/io/VMObjectStreamClass.java: New class.
5098         * java/io/natVMObjectStreamClass.cc: New file.
5099         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5100
5101 2003-01-16  Mark Wielaard  <mark@klomp.org>
5102
5103         * java/net/SocketImpl.java (toString): Don't explicitly call
5104         toString() on possible null address.
5105
5106 2003-01-16  Michael Koch  <konqueror@gmx.de>
5107
5108         * java/net/MulticastSocket.java
5109         (setInterface): Reindented.
5110
5111 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5112
5113         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5114         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5115         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5116         translateY arguments.  Implement.
5117         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5118         down translation arguments.
5119         (drawPolyline, drawPolygon): Fix incorrect tests.
5120         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5121         translateX and translateY arguments.
5122
5123 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5124
5125         * Makefile.in: Rebuilt.
5126         * Makefile.am (xlib_includes): New macro.
5127         (INCLUDES): Use it.
5128
5129 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5130
5131         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5132         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5133         16-bit display mode.
5134
5135 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5136
5137         * java/awt/CardLayout.java (show): Rewrote.
5138         (gotoComponent): Removed `target' argument.  Simplified code.
5139         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5140         Changed all callers.
5141         (NONE): Removed.
5142         
5143 2003-01-14  Michael Koch  <konqueror@gmx.de>
5144
5145         * java/net/InetSocketAddress.java
5146         (serialVersionUID): New member variable.
5147         * java/net/NetPermission.java
5148         (NetPermission): Dont implement java.io.Serialization directly.
5149         * java/net/SocketAddress.java:
5150         (serialVersionUID): Documentation added.
5151         
5152 2003-01-14  Michael Koch  <konqueror@gmx.de>
5153
5154         * java/awt/Label.java
5155         (Label): Implements javax.accessibility.Accessible;
5156         * java/awt/List.java
5157         (List): Implements javax.accessibility.Accessible;
5158         * java/awt/ScrollPane.java
5159         (ScrollPane): Implements javax.accessibility.Accessible;
5160         * java/awt/Scrollbar.java
5161         (Scrollbar): Implements javax.accessibility.Accessible;
5162         * java/awt/TextComponent.java
5163         (setCaretPosition): Throw exception, documentation added.
5164         * java/awt/Toolkit.java:
5165         Added some newlines in method documentations.
5166         (createButton): Exception documentation added.
5167         (createTextField): Exception documentation added.
5168         (createLabel): Exception documentation added.
5169         (createList): Exception documentation added.
5170         (createCheckbox): Exception documentation added.
5171         (createScrollbar): Exception documentation added.
5172         (createScrollPane): Exception documentation added.
5173         (createTextArea): Exception documentation added.
5174         (createChoice): Exception documentation added.
5175         (createFrame): Exception documentation added.
5176         (createWindow): Exception documentation added.
5177         (createDialog): Exception documentation added.
5178         (createMenuBar): Exception documentation added.
5179         (createMenu): Exception documentation added.
5180         (createMenuItem): Exception documentation added.
5181         (createFileDialog): Exception documentation added.
5182         (createCheckboxMenuItem): Exception documentation added.
5183         (loadSystemColors): Exception documentation added.
5184         (setDynamicLayout): Exception documentation added.
5185         (isDynamicLayoutSet): Exception documentation added.
5186         (isDynamicLayoutActive): Exception documentation added.
5187         (getScreenSize): Exception documentation added.
5188         (getScreenResolution): Exception documentation added.
5189         (getScreenInsets): Exception documentation added.
5190         (getColorModel): Exception documentation added.
5191         (getSystemClipboard): Exception documentation added.
5192         (getSystemSelection): Exception documentation added.
5193         (getMenuShortcutKeyMask): Exception documentation added.
5194         (getSystemEventQueue): Exception documentation added.
5195         * java/awt/Window.java:
5196         Reindented some code.
5197         (Window): Centralized implementation, documentation added.
5198         (finalize): Documentation added.
5199         (hide): Fixed typo in comment.
5200         (getWindowListeners): Documentation added.
5201         * java/awt/color/ColorSpace.java
5202         (toRGB): Documentation added.
5203         * java/awt/color/ICC_ColorSpace.java
5204         (ICC_ColorSpace): Documentation added.
5205         (toRGB): Throw exception, documentation added.
5206         (fromRGB): Throw exception, documentation added.
5207         (toCIEXYZ): Documentation added.
5208         (fromCIEXYZ): Documentation added.
5209         (getMinValue): Documentation added.
5210         (getMaxValue): Documentation added.
5211         * java/awt/geom/Dimension2D.java
5212         (clone): Documentation added.
5213         * java/awt/geom/GeneralPath.java
5214         (clone): Documentation added.
5215         * java/awt/geom/Line2D.java
5216         (clone): Documentation added.
5217         * java/awt/geom/QuadCurve2D.java
5218         (clone): Documentation added.
5219         * java/awt/image/ColorModel.java
5220         (ColorModel): Throw exception, documentation added.
5221         * java/awt/image/ImageFilter.java
5222         (clone): Doesnt throw CloneNotSupportedException.
5223
5224 2003-01-14  Andrew Haley  <aph@redhat.com>
5225
5226         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5227         in a try block.
5228
5229 2003-01-10  Andrew Haley  <aph@redhat.com>
5230
5231         * include/dwarf2-signal.h: Remove x86_64.
5232         * configure.host (x86_64 DIVIDESPEC): Remove.
5233         * include/x86_64-signal.h: New file.
5234         * configure.in: Regenerate.
5235
5236 2003-01-10  Michael Koch  <konqueror@gmx.de>
5237
5238         * java/net/DatagramSocket.java
5239         (ch): Description added.
5240         (remotePort): Initialize with -1.
5241         (connect): Doesnt throws SocketException.
5242         * java/net/MulticastSocket.java
5243         (setInterface): Merge with Classpath.
5244         * java/net/ServerSocket.java
5245         (closed): New member variable.
5246         (bind): Check if socket is closed.
5247         (close): Close an associated channel too, set new value to closed.
5248         (isBound): Reindented.
5249         (isClosed): Implemented.
5250         * java/net/Socket.java
5251         (closed): New member variable.
5252         (bind): Check if socket is closed.
5253         (connect): Check if socket is closed.
5254         (close): Close an associated channel too, set new value to closed.
5255         (isClosed): Implemented.
5256
5257 2003-01-10  Michael Koch  <konqueror@gmx.de>
5258
5259         * java/awt/DisplayMode.java
5260         (equals): Fixed argument type and implementation.
5261
5262 2003-01-07  Tom Tromey  <tromey@redhat.com>
5263
5264         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5265         JV_HASH_SYNCHRONIZATION.
5266         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5267         JV_HASH_SYNCHRONIZATION.
5268
5269 2003-01-07  Michael Koch  <konqueror@gmx.de>
5270  
5271         * java/net/DatagramSocket.java:
5272         Added classpath license info.
5273         (DatagramSocket): Merged description with classpath.
5274         (close): Merged description with classpath.
5275         (getChannel): Merged description with classpath.
5276         (getInetAddress): Merged description with classpath.
5277         (getPort): Merged description with classpath.
5278         (getLocalAddress): Merged description with classpath.
5279         (getLocalPort): Merged description with classpath.
5280         (getSoTimeout): Merged description with classpath.
5281         (setSoTimeout): Merged description with classpath.
5282         (getSendBufferSize): Merged description with classpath.
5283         (setSendBufferSize): Merged description with classpath.
5284         (getReceiveBufferSize): Merged description with classpath.
5285         (setReceiveBufferSize): Merged description with classpath.
5286         
5287 2003-01-04  Tom Tromey  <tromey@redhat.com>
5288
5289         * java/awt/List.java: Merged with Classpath.
5290
5291 2003-01-03  Mark Wielaard  <mark@klomp.org>
5292
5293         * java/io/FileDescriptor.java (position): New private field.
5294         * java/io/natFileDescriptorPosix.cc (write): Up position.
5295         (setLength): Use and set position.
5296         (seek): Set position.
5297         (getFilePointer): Return position.
5298         (read): Up position.
5299
5300 2003-01-03  Mark Wielaard  <mark@klomp.org>
5301
5302         Merge with Classpath:
5303         * java/io/ObjectStreamClass.java (lookup): Split method and call
5304         lookupForClassObject().
5305         (lookupForClassObject): New method.
5306         (isProxyClass): New field.
5307         (setClass): Set isProxyClass, add object to classLookupTable, set
5308         superClass and calculateOffsets.
5309         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5310         and not a proxy class.
5311         (setFields): Set accessible true for serialPersistentFields.
5312         (getClassUID): Same for suid. And check if suid is of type long.
5313         (hasClassInitializer): Don't throw NoSuchMethodError.
5314
5315 2003-01-03  Mark Wielaard  <mark@klomp.org>
5316
5317         * java/io/FileInputStream.java (finalize): Don't explicitly
5318         finalize FileDescriptor.
5319
5320 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5321
5322         * configure.host (sparc*-*): Enable bytecode interpreter.
5323
5324 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5325
5326         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5327         Don't throw RemoteException.
5328         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5329         throw RemoteException.
5330
5331 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5332
5333         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5334         proxyHost): New static fields.
5335         (<clinit>): Initialize new fields.
5336         (connect): Use proxy if necessary.
5337         (usingProxy): Implement.
5338
5339 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5340
5341         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5342         (TreeIterator.remove): Prefer IllegalStateException over
5343         ConcurrentModificationException, to match Sun.
5344
5345 2002-12-22  Anthony Green  <green@redhat.com>
5346
5347         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5348
5349 2003-01-02  Mark Wielaard  <mark@klomp.org>
5350
5351         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5352         public.
5353         (HTTP_USE_PROXY): Add field.
5354         (getResponseVals): Only set responseCode when not yet explicitly
5355         set by subclass.
5356
5357 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5358             Mark Wielaard  <mark@klomp.org>
5359
5360         * java/util/zip/ZipFile.java (entries): Now HashMap.
5361         (readLeShort(DataInput, byte[])): Read from given byte array.
5362         (readLeInt(DataInput, byte[]): Likewise.
5363         (readLeShort(byte[] b, int off)): New method.
5364         (readLeInt(byte[] b, int off)): Likewise.
5365         (readEntries): Use byte arrays to read info in bigger chunks.
5366         (getEntries): Return HashMap.
5367         (getEntry): Use HashMap.
5368         (locBuf): New private field.
5369         (checkLocalHeader): Use locBuf to read info in one chunk.
5370         (getInputStream): Use entries HashMap, wrap PartialInputStream
5371         in BufferedInputStream.
5372         (ZipEntryEnumeration): Use HashMap and Interator.
5373
5374 2003-01-02  Mark Wielaard  <mark@klomp.org>
5375             Jeroen Frijters  <jeroen@sumatra.nl>
5376
5377         * java/net/URLClassLoader.java (Resource.getCodeSource):
5378         Fix check certs == null.
5379         (getCanonicalFileURL): Removed method.
5380         (JarURLLoader): Don't call removed method.
5381         (FileURLLoader): Likewise.
5382         (FileURLLoader.getResource): Don't canonicalize file name.
5383
5384 2003-01-01  Tom Tromey  <tromey@redhat.com>
5385
5386         * Makefile.in: Rebuilt.
5387         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5388         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5389         java/awt/BufferCapabilities.java, java/awt/Button.java,
5390         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5391         java/awt/Container.java, java/awt/Cursor.java,
5392         java/awt/EventQueue.java, java/awt/FileDialog.java,
5393         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5394         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5395         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5396         java/awt/Scrollbar.java, java/awt/TextArea.java,
5397         java/awt/TextField.java, java/awt/color/CMMException.java,
5398         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5399         java/awt/color/ProfileDataException.java,
5400         java/awt/datatransfer/Clipboard.java,
5401         java/awt/datatransfer/DataFlavor.java,
5402         java/awt/datatransfer/FlavorMap.java,
5403         java/awt/datatransfer/SystemFlavorMap.java,
5404         java/awt/dnd/DragGestureEvent.java,
5405         java/awt/dnd/DragGestureRecognizer.java,
5406         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5407         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5408         java/awt/im/InputMethodHighlight.java,
5409         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5410         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5411
5412         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5413         `op' to BufferedImageOp.
5414
5415 2002-12-31  Tom Tromey  <tromey@redhat.com>
5416
5417         Fix for PR libgcj/7416:
5418         * javax/naming/InitialContext.java (init): Use
5419         gnu.classpath.home.url.
5420         * java/security/Security.java: Use new properties.
5421         (loadProviders): Accept base url; use it.
5422         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5423         gnu.classpath.home.url.
5424         (gnu.classpath.home.url): Define.
5425         (gnu.classpath.vm.shortname): Likewise.
5426
5427 2002-12-31  Tom Tromey  <tromey@redhat.com>
5428             Ranjit Mathew  <rmathew@hotmail.com>
5429
5430         Fix for PR libgcj/8997:
5431         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5432         Include platform.h.
5433         * include/posix.h (_Jv_platform_usleep): New function.
5434         * include/win32.h (_Jv_platform_usleep): New function.
5435
5436 2002-12-29  Tom Tromey  <tromey@redhat.com>
5437
5438         * gcj/javaprims.h: Updated.
5439         * scripts/classes.pl (scan): Removed stray semicolon.
5440
5441 2002-12-30  Mark Wielaard  <mark@klomp.org>
5442
5443         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5444         if zero or smaller.
5445
5446 2002-12-30  Mark Wielaard  <mark@klomp.org>
5447
5448         * java/util/Properties (formatForOutput): Don't fall through to
5449         default case after escaping character.
5450
5451 2002-12-30  Mark Wielaard  <mark@klomp.org>
5452
5453         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5454         against count.
5455
5456 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5457
5458         * boehm.cc: Remove stray semicolon.
5459         * interpret.cc: Likewise.
5460         * prims.cc: Likewise.
5461         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5462         earlier to ensure default arguments are processed.
5463         * gcj/array.h (JArray): Add forward declaration.
5464         (elements): Likewise.
5465         * gcj/javaprim.h: Remove stray semicolons.
5466         * include/bohm-gc.h: Likewise.
5467         * include/jni.h: Likewise.
5468         * include/jvm.h: Likewise.
5469         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5470         
5471 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5472
5473         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5474         of catch_type.
5475         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5476         idt tables after initializing superclass.
5477         * java/lang/natClassLoader.cc (uaddr): New typedef.
5478         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5479         if they are constant pool indicies.  Don't link vtable, otable yet.
5480
5481 2002-12-21  Anthony Green  <green@redhat.com>
5482
5483         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5484         libraries.
5485         * Makefile.in: Rebuilt.
5486
5487 2002-12-19  Anthony Green  <green@redhat.com>
5488
5489         * Makefile.am (ordinary_java_source_files): Add
5490         org/xml/sax/helpers/NewInstance.java.
5491         * Makefile.in: Rebuilt.
5492         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5493         org/xml/sax/helpers/package.html: New files.
5494         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5495         http://www.saxproject.org.
5496
5497 2002-12-19  Andrew Haley  <aph@redhat.com>
5498
5499         * java/util/natResourceBundle.cc: Include
5500         ArrayIndexOutOfBoundsException.h.
5501         (getCallingClassLoader): Don't put upper bound on stack search.
5502         Catch ArrayIndexOutOfBoundsException.
5503
5504 2002-12-19  Tom Tromey  <tromey@redhat.com>
5505
5506         * libtool-version: Increased `current'.
5507
5508 2002-12-19  Tom Tromey  <tromey@redhat.com>
5509
5510         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5511         comment.
5512         * java/lang/ClassLoader.java (defineClass): Use chained
5513         exception when rethrowing.
5514         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5515         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5516         constants.
5517         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5518         (_Jv_PrepareClass): Use it.
5519         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5520         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5521         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5522         (Class): _Jv_PrepareMissingMethods now friend.
5523         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5524         Record `NULL' for system class loader.
5525         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5526         system class loader.
5527         (_Jv_FindClassInCache): Likewise.
5528         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5529         (_Jv_FindClass): Special case system class loader.
5530         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5531         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5532         vtable slots.
5533         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5534         in a final class.
5535         (_getDeclaredMethod): Don't return synthetic methods.
5536         (getDeclaredMethods): Likewise.
5537         (_getMethod): Likewise.
5538         (_getMethods): Likewise.
5539
5540 2002-12-18  Raif Naffah  <raif@fl.net.au>
5541
5542         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5543         canonical form after divide().
5544         (modInverse): Likewise.
5545
5546 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5547             Mark Wielaard  <mark@klomp.org>
5548
5549         * java/security/SecurityRandom (digest): Removed field.
5550         (SecureRandom): Check all providers for case-insensitive SecureRandom
5551         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5552         if necessary.
5553         (getInstance(String,Provider,boolean): New method.
5554         (getInstance(String)): Use new method.
5555         (getInstance(String,String)): Likewise.
5556         (getInstance(String,Provider)): Likewise.
5557
5558 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5559
5560         * java/security/Security.java (loadProviders): Increment i only once.
5561
5562 2002-12-12  Mark Wielaard  <mark@klomp.org>
5563
5564         * java/lang/ClassLoader.java (resolveClass0): Transform
5565         ClassNotFoundException to NoClassDefFoundError. Transform all other
5566         throwables to LinkageError.
5567
5568 2002-12-11  Tom Tromey  <tromey@redhat.com>
5569
5570         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5571
5572         * java/lang/ClassLoader.java (loadedClasses): New field.
5573         (defineClass): Fixed indentation.  Put new class in
5574         loadedClasses.
5575         (findLoadedClass): Implement here.
5576         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5577
5578 2002-12-10  Tom Tromey  <tromey@redhat.com>
5579
5580         * Makefile.in: Rebuilt.
5581         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5582         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5583         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5584         * java/lang/natClassLoader.cc
5585         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5586
5587 2002-12-10  Mark Wielaard  <mark@klomp.org>
5588             Tom Tromey  <tromey@redhat.com>
5589
5590         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5591         (JarURLLoader): Use it.
5592         (FileURLLoader): Likewise.
5593         (JarURLResource.getURL): Use chained exception.
5594         (FileResource.getURL): Likewise.
5595         (FileURLLoader.getResource): Use canonical file name.
5596         (addURL): Indentation fix.
5597
5598 2002-12-10  Tom Tromey  <tromey@redhat.com>
5599
5600         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5601         From Laurent Bardet <l.bardet@magic.fr>.
5602
5603 2002-12-09  Tom Tromey  <tromey@redhat.com>
5604
5605         * include/win32.h (_Jv_platform_solib_prefix): New define.
5606         (_Jv_platform_solib_suffix): Likewise.
5607         * include/posix.h (_Jv_platform_solib_prefix): New define.
5608         (_Jv_platform_solib_suffix): Likewise.
5609         * java/lang/natRuntime.cc: Include StackTrace.h.
5610         (_load): Use findLibrary and new platform defines.
5611         (nativeGetLibname): Use new platform defines.
5612
5613         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5614         `t' won't be null.
5615
5616 2002-12-08  Mark Wielaard  <mark@klomp.org>
5617
5618         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5619         cache remote jar files.
5620         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5621         add File.separator to URL when it is a directory.
5622         * java/lang/ClassLoader.java: Add Classpath javadoc.
5623         (parent): final.
5624         (getParent): Add (disabled) security check.
5625         (findLibrary): New default method.
5626         * java/net/JarURLConnection.java (getManifest): Implement.
5627         (getInputStream): Only create InputStream when entry exists.
5628         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5629         when they exist.
5630         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5631
5632 2002-12-08  Mark Wielaard  <mark@klomp.org>
5633
5634         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5635         (lastDefaultLocale): New field.
5636         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5637         resourceBundleCache.
5638
5639 2002-12-06  Mark Wielaard  <mark@klomp.org>
5640
5641         * java/net/InetAddress.java (toString): Use hostname when not null,
5642         don't do an explicit reverse getHostName() lookup.
5643         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5644         NullPointerException.
5645
5646 2002-12-06  Tom Tromey  <tromey@redhat.com>
5647
5648         * include/java-interp.h (class _Jv_InterpMethod): Added
5649         JV_MARKOBJ_DECL.
5650         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5651         mark `prepared' field of interpreted method.
5652         * interpret.cc (compile): Use _Jv_AllocBytes.
5653
5654 2002-12-05  Andrew Haley  <aph@redhat.com>
5655
5656         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5657         #ifdef (HAVE_BACKTRACE) around the whole function body.
5658
5659 2002-12-05  Tom Tromey  <tromey@redhat.com>
5660
5661         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5662         * resolve.cc: Don't include AbstractMethodError.h.
5663         (_Jv_abstractMethodError): Removed.
5664         * defineclass.cc (handleMethodsBegin): Initialize method index to
5665         -1.
5666         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5667         method index for "new" final method.
5668         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5669         isVirtualMethod.  Added `flags' argument.
5670         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5671         class.
5672
5673 2002-12-04  Tom Tromey  <tromey@redhat.com>
5674
5675         * java/net/SocketPermission.java (hashCode): Rewrote.
5676
5677 2002-12-04  Tom Tromey  <tromey@redhat.com>
5678
5679         * Makefile.in: Rebuilt.
5680         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5681         natResourceBundle.
5682         * java/util/ResourceBundle.java (Security): Removed.
5683         (getCallingClassLoader): Now native.
5684         * java/util/natResourceBundle.cc: New file.
5685         * java/lang/natVMSecurityManager.cc: New file.
5686         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5687
5688 2002-12-03  Mark Wielaard  <mark@klomp.org>
5689
5690         * java/util/jar/JarFile.java (manifest): Not final.
5691         (manifestRead): New field.
5692         (JarFile): Don't read Manifest in constructor.
5693         (getManifest): New method.
5694         (JarEnumeration.nextElement): Use new method.
5695         (getEntry): Likewise.
5696         * java/util/zip/ZipFile.java (name): Final.
5697         (raf): Likewsie.
5698         (entries): Change type to Hashtable.
5699         (closed): New field.
5700         (ZipFile): Don't read enties in constructor.
5701         (readEntries): Use Hashtable.
5702         (close): Set new close flag and set entries to null inside
5703         synchronized block.
5704         (entries): Contruct enumeration using new getEntries() method and
5705         entries Hashtable.
5706         (getEntryIndex): Removed.
5707         (getEntries): New method.
5708         (getEntry): Use new getEntries() method and entries Hastable.
5709         (getInputStream): Likewise.
5710         (size): Return getEntries().size().
5711         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5712         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5713         (time): Removed
5714         (dostime): New field.
5715         (zipFileIndex): Removed.
5716         (ZipEntry(ZipEntry)): Copy dostime.
5717         (setDOSTime): Now final and doesn't convert dos time.
5718         (getDOSTime): Likewise.
5719         (setTime): Convert dos time.
5720         (getTime): Likewise.
5721         (getCalendar): New method.
5722         (setExtra): Use setTime().
5723         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5724
5725 2002-12-03  Tom Tromey  <tromey@redhat.com>
5726
5727         * java/lang/Character.java (forDigit): Formatting fix.
5728
5729 2002-12-03  Raif Naffah  <raif@fl.net.au>
5730
5731         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5732         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5733         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5734
5735 2002-12-03  Andrew Haley  <aph@redhat.com>
5736
5737         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5738         _Jv_PushClass.
5739         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5740         (_Jv_PopClass): New.
5741         (_Jv_PushClass): New.
5742         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5743         discover the ClassLoader of our caller.
5744         (_Jv_CheckArrayStore): Don't check that a class is assignment
5745         compatible with Object.
5746         * java/lang/natVMTHrowable.cc: Delete.
5747         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5748         java.lang.VMThrowable.
5749         (StackTrace(), StackTrace(int)): New constructors.
5750         (classAt, methodAt, update, methodAtAddress): New methods.
5751         (map): New field.
5752         * java/lang/VMThrowable.java: Use StackTrace instead of
5753         natVMTHrowable.
5754         * java/lang/Class.h (getClassLoaderInternal): New.
5755         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5756         Be friendly with gnu::gcj::runtime::StackTrace.
5757         (Object.chain): New field.
5758         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5759         gnu::gcj::runtime::StackTrace.
5760         * gnu/gcj/runtime/natStackTrace.cc: New file.
5761         * gnu/gcj/runtime/MethodRef.java: New file.
5762         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5763         instead of getClassLoader().
5764         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5765         java::lang::VMThrowable.
5766         * Makefile.am (core_java_source_files): Add MethodRef.java,
5767         StackTrace.java.
5768         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5769         * Makefile.in: Rebuild.
5770
5771 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5772
5773         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5774         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5775         yes also for sh-linux* and sh[34]*-linux*.
5776         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5777         set SIGNAL_HANDLER to use DWARF2 exception for them.
5778         * configure: Regenerate.
5779
5780 2002-12-02  Tom Tromey  <tromey@redhat.com>
5781
5782         * jni.cc: Added `name' argument.
5783         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5784         `const char *' argument.
5785         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5786
5787 2002-12-01  Tom Tromey  <tromey@redhat.com>
5788
5789         Bug compatibility, for PR libgcj/8738:
5790         * java/io/CharArrayWriter.java (close): Do nothing.
5791         (flush): Likewise.
5792         (reset): Don't touch `closed'.
5793         (write(int)): Don't throw IOException.
5794         (write(char[],int,int)): Likewise.
5795         (write(String,int,int)): Likewise.
5796         (closed): Removed.
5797
5798 2002-12-01  Mark Wielaard  <mark@klomp.org>
5799
5800         * java/lang/SecurityManager.java: Remerge comments, indenting and
5801         checkXXX methods with Classpath.
5802
5803 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5804
5805         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5806         getNormalizedComponents): Fix calculation which was using one too
5807         many bits in the unnormalized format.
5808
5809 2002-11-29  Gary Benson  <gbenson@redhat.com>
5810
5811         For PR libgcj/8759:
5812         * java/beans/Introspector.java (flushCaches): New method.
5813         (flushFromCaches): Likewise.
5814
5815 2002-11-29  Michael Koch <konqueror@gmx.de>
5816
5817         * java/nio/channels/DatagramChannel.java
5818         (open): Added exception documentation.
5819         (write): Added exception documentation.
5820         (connect): Added exception documentation.
5821         (disconnect): Added exception documentation.
5822         (isConnected): Added exception documentation.
5823         (read): Added exception documentation.
5824         (receive): Added exception documentation.
5825         (send): Added exception documentation.
5826         (validOps): Added exception documentation.
5827         * java/nio/channels/SocketChannel.java
5828         (open): Added exception documentation.
5829         (read): Added exception documentation.
5830         (write): Added exception documentation.
5831         (connect): Added exception documentation.
5832         (finishConnect): Added exception documentation.
5833
5834 2002-11-29  Michael Koch <konqueror@gmx.de>
5835
5836         * gnu/java/nio/DatagramChannelImpl:
5837         (fd): New member variable to store file descriptor of socket.
5838         * gnu/java/nio/SelectionKeyImpl.java:
5839         (ops): Removed.
5840         (readyOps): New member variable.
5841         (interestOps): New member variable.
5842         (readyOps): Implemented.
5843         (readyOps): New method to set member variable readyOps.
5844         (interestOps): Replaced ops by interestOps.
5845         * gnu/java/nio/SelectorImpl.java:
5846         (SelectorImpl): Initialize key sets.
5847         (select): Call select with -1 instead of Long.MAX_VALUE).
5848         (java_do_select): Make it a native method.
5849         (getFDsAsArray): New helper method.
5850         (select): Remove canceled keys, give only interested file discriptors
5851         to java_do_select, set ready ops.
5852         (add): No need to initialize keys set here.
5853         (add_selected): No need to initialize selected set here.
5854         (deregisterCanceledKeys): New helper method.
5855         (register): Set interest ops, set attachments, added handling of datagram
5856         channels.
5857         * gnu/java/nio/ServerSocketChannelImpl:
5858         (SocketAccept): Renamed from NioSocketAccept.
5859         (implConfigureBlocking): Implemented.
5860         (accept): Use SocketAccept instead of NioSocketAccept.
5861         * gnu/java/nio/SocketChannelImpl:
5862         Reactivate native methods.
5863
5864 2002-11-29  Michael Koch <konqueror@gmx.de>
5865
5866         * gnu/java/nio/natByteBufferImpl.cc,
5867         gnu/java/nio/natCharBufferImpl.cc,
5868         gnu/java/nio/natDoubleBufferImpl.cc,
5869         gnu/java/nio/natFloatBufferImpl.cc,
5870         gnu/java/nio/natIntBufferImpl.cc,
5871         gnu/java/nio/natLongBufferImpl.cc,
5872         gnu/java/nio/natSelectorImpl.cc,
5873         gnu/java/nio/natServerSocketChannelImpl.cc,
5874         gnu/java/nio/natShortBufferImpl.cc,
5875         gnu/java/nio/natSocketChannelImpl.cc:
5876         New files that implement native functionalities.
5877
5878 2002-11-29  Michael Koch <konqueror@gmx.de>
5879
5880         * gnu/java/nio/ByteBufferImpl.java
5881         (ByteBufferImpl): Moved position() after limit.
5882         (nio_*): Use native implementation.
5883         * gnu/java/nio/CharBufferImpl.java:
5884         Reformated.
5885         (endian): New member variable string endianess of buffer.
5886         (CharBufferImpl): Moved position() after limit.
5887         (nio_*): Use native implementation.
5888         (subSequence): Implemented.
5889         * gnu/java/nio/DoubleBufferImpl.java
5890         (DoubleBufferImpl): Moved position() after limit.
5891         (nio_*): Use native implementation.
5892         * gnu/java/nio/FloatBufferImpl.java
5893         Reformated.
5894         (FloatBufferImpl): Moved position() after limit.
5895         (nio_*): Use native implementation.
5896         * gnu/java/nio/IntBufferImpl.java
5897         Added needed imports, Reformated.
5898         (IntBufferImpl): Moved position() after limit.
5899         (nio_*): Use native implementation.
5900         * gnu/java/nio/LongBufferImpl.java
5901         Reformated.
5902         (LongBufferImpl): Moved position() after limit.
5903         (nio_*): Use native implementation.
5904         * gnu/java/nio/ShortBufferImpl.java
5905         Reformated.
5906         (ShortBufferImpl): Moved position() after limit.
5907         (nio_*): Use native implementation.
5908
5909 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5910
5911         * java/util/Locale.java (toString): Improve efficiency if country
5912         and variant are both empty.
5913
5914 2002-11-26  Tom Tromey  <tromey@redhat.com>
5915
5916         * verify.cc (pop_init_ref): New method.
5917         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5918         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5919         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5920         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5921         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5922         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5923         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5924         let `this' argument be uninitialized.  Don't let `null' be passed
5925         as `this' to construtor.
5926
5927 2002-11-26  Mark Wielaard  <mark@klomp.org>
5928
5929         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5930         * javax/transaction/HeuristicMixedException.java: Likewise.
5931         * javax/transaction/HeuristicRollbackException.java: Likewise.
5932         * javax/transaction/InvalidTransactionException.java: Likewise.
5933         * javax/transaction/NotSupportedException.java: Likewise.
5934         * javax/transaction/RollbackException.java: Likewise.
5935         * javax/transaction/Status.java: Likewise.
5936         * javax/transaction/Synchronization.java: Likewise.
5937         * javax/transaction/SystemException.java: Likewise.
5938         * javax/transaction/Transaction.java: Likewise.
5939         * javax/transaction/TransactionManager.java: Likewise.
5940         * javax/transaction/TransactionRequiredException.java: Likewise.
5941         * javax/transaction/TransactionRolledbackException.java: Likewise.
5942         * javax/transaction/UserTransaction.java: Likewise.
5943         * javax/transaction/xa/XAException.java: Likewise.
5944         * javax/transaction/xa/XAResource.java: Likewise.
5945         * javax/transaction/xa/Xid.java: Likewise.
5946
5947 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5948
5949         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5950         define.
5951         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5952         * include/posix.h (socklen_t): Define if not already defined.
5953
5954 2002-11-25  Tom Tromey  <tromey@redhat.com>
5955
5956         * verify.cc (type::compatible): Backed out broken change.
5957
5958         * verify.cc (type::compatible): Check initialization status
5959         first.
5960         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5961         Don't use NULLCHECK.
5962
5963 2002-11-23  H.J. Lu <hjl@gnu.org>
5964
5965         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5966         Include ../config/accross.m4.
5967         * aclocal.m4; Rebuild.
5968         * configure: Likewise.
5969
5970 2002-11-23  Mark Wielaard  <mark@klomp.org>
5971
5972         * javax/naming/AuthenticationException.java: Update copyright header.
5973         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5974         * javax/naming/Binding.java: Likewise.
5975         * javax/naming/CannotProceedException.java: Likewise.
5976         * javax/naming/CommunicationException.java: Likewise.
5977         * javax/naming/CompositeName.java: Likewise.
5978         * javax/naming/CompoundName.java: Likewise.
5979         * javax/naming/ConfigurationException.java: Likewise.
5980         * javax/naming/Context.java: Likewise.
5981         * javax/naming/ContextNotEmptyException.java: Likewise.
5982         * javax/naming/InitialContext.java: Likewise.
5983         * javax/naming/InsufficientResourcesException.java: Likewise.
5984         * javax/naming/InterruptedNamingException.java: Likewise.
5985         * javax/naming/LimitExceededException.java: Likewise.
5986         * javax/naming/LinkException.java: Likewise.
5987         * javax/naming/LinkLoopException.java: Likewise.
5988         * javax/naming/LinkRef.java: Likewise.
5989         * javax/naming/MalformedLinkException.java: Likewise.
5990         * javax/naming/NameAlreadyBoundException.java: Likewise.
5991         * javax/naming/NameClassPair.java: Likewise.
5992         * javax/naming/NameNotFoundException.java: Likewise.
5993         * javax/naming/NameParser.java: Likewise.
5994         * javax/naming/NamingEnumeration.java: Likewise.
5995         * javax/naming/NamingSecurityException.java: Likewise.
5996         * javax/naming/NoInitialContextException.java: Likewise.
5997         * javax/naming/NoPermissionException.java: Likewise.
5998         * javax/naming/NotContextException.java: Likewise.
5999         * javax/naming/OperationNotSupportedException.java: Likewise.
6000         * javax/naming/PartialResultException.java: Likewise.
6001         * javax/naming/Reference.java: Likewise.
6002         * javax/naming/Referenceable.java: Likewise.
6003         * javax/naming/ReferralException.java: Likewise.
6004         * javax/naming/ServiceUnavailableException.java: Likewise.
6005         * javax/naming/SizeLimitExceededException.java: Likewise.
6006         * javax/naming/TimeLimitExceededException.java: Likewise.
6007         * javax/naming/directory/Attribute.java: Likewise.
6008         * javax/naming/directory/AttributeInUseException.java: Likewise.
6009         * javax/naming/directory/AttributeModificationException.java: Likewise.
6010         * javax/naming/directory/Attributes.java: Likewise.
6011         * javax/naming/directory/BasicAttribute.java: Likewise.
6012         * javax/naming/directory/BasicAttributes.java: Likewise.
6013         * javax/naming/directory/DirContext.java: Likewise.
6014         * javax/naming/directory/InitialDirContext.java: Likewise.
6015         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6016         Likewise.
6017         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6018         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6019         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6020         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6021         * javax/naming/directory/ModificationItem.java: Likewise.
6022         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6023         * javax/naming/directory/SchemaViolationException.java: Likewise.
6024         * javax/naming/directory/SearchControls.java: Likewise.
6025         * javax/naming/directory/SearchResult.java: Likewise.
6026         * javax/naming/event/EventContext.java: Likewise.
6027         * javax/naming/event/EventDirContext.java: Likewise.
6028         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6029         * javax/naming/event/NamingEvent.java: Likewise.
6030         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6031         * javax/naming/event/NamingListener.java: Likewise.
6032         * javax/naming/event/ObjectChangeListener.java: Likewise.
6033         * javax/naming/ldap/Control.java: Likewise.
6034         * javax/naming/ldap/ControlFactory.java: Likewise.
6035         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6036         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6037         * javax/naming/ldap/HasControls.java: Likewise.
6038         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6039         * javax/naming/ldap/LdapContext.java: Likewise.
6040         * javax/naming/ldap/LdapReferralException.java: Likewise.
6041         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6042         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6043         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6044         * javax/naming/spi/DirObjectFactory.java: Likewise.
6045         * javax/naming/spi/DirStateFactory.java: Likewise.
6046         * javax/naming/spi/DirectoryManager.java: Likewise.
6047         * javax/naming/spi/InitialContextFactory.java: Likewise.
6048         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6049         * javax/naming/spi/NamingManager.java: Likewise.
6050         * javax/naming/spi/ObjectFactory.java: Likewise.
6051         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6052         * javax/naming/spi/ResolveResult.java: Likewise.
6053         * javax/naming/spi/Resolver.java: Likewise.
6054         * javax/naming/spi/StateFactory.java: Likewise.
6055
6056         * javax/naming/spi/NamingManager.java (ofb): Package private.
6057
6058 2002-11-21  Mark Wielaard  <mark@klomp.org>
6059
6060         * java/net/URL.java: Merge with Classpath (partly).
6061         * java/net/URLStreamHandler: Merge with Classpath.
6062
6063 2002-11-22  Michael Koch <konqueror@gmx.de>
6064
6065         * include/posix.h:
6066         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6067         * include/win32.h:
6068         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6069         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6070
6071 2002-11-21  Michael Koch <konqueror@gmx.de>
6072
6073         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6074         Only the new network functions should be in it.
6075
6076 2002-11-21  Michael Koch <konqueror@gmx.de>
6077
6078         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6079         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6080
6081 2002-11-21  Michael Koch <konqueror@gmx.de>
6082
6083         * java/nio/channels/AsynchronousCloseException.java,
6084         java/nio/channels/CancelledKeyException.java,
6085         java/nio/channels/ClosedByInterruptException.java,
6086         java/nio/channels/ConnectionPendingException.java,
6087         java/nio/channels/FileLockInterruptionException.java,
6088         java/nio/channels/IllegalSelectorException.java,
6089         java/nio/channels/NoConnectionPendingException.java,
6090         java/nio/channels/NonReadableChannelException.java,
6091         java/nio/channels/NonWritableChannelException.java,
6092         java/nio/channels/NotYetBoundException.java,
6093         java/nio/channels/NotYetConnectedException.java,
6094         java/nio/channels/OverlappingFileLockException.java,
6095         java/nio/channels/UnresolvedAddressException.java,
6096         java/nio/channels/UnsupportedAddressTypeException.java:
6097         New files.
6098         * Makefile.am (ordinary_java_source_files): Added new files.
6099         * Makefile.in: Regenerated.
6100
6101 2002-11-21  Michael Koch <konqueror@gmx.de>
6102
6103         * include/posix.h
6104         (_Jv_socket): New method.
6105         (_Jv_connect): New method.
6106         (_Jv_close): New method.
6107         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6108         (_Jv_bind): New method.
6109         (_Jv_listen): New method.
6110         (_Jv_write): New method.
6111         (_Jv_read): New method.
6112         * include/win32.h
6113         (_Jv_socket): New method.
6114         (_Jv_connect): New method.
6115         (_Jv_close): New method.
6116         (_Jv_bind): New method.
6117         (_Jv_listen): New method.
6118         (_Jv_write): New method.
6119         (_Jv_read): New method.
6120         * java/net/natNetworkInterface.cc:
6121         Include platform.h, removed inclusion of socket.h
6122         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6123         ::close() by _Jv_close().
6124         * java/net/natPlainDatagramSocketImpl.cc:
6125         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6126         added some new lines to make code more readable.
6127         (create): Replaced ::socket() by _Jv_socket().
6128         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6129         * java/net/natPlainSocketImpl.cc:
6130         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6131         removed include of socket.h, removed some windows defines
6132         (now in include/win32.h).
6133         (create): Replaced ::socket() by _Jv_socket().
6134         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6135         (write): Replaced ::read by _Jv_write().
6136         (read): Replaced ::read by _Jv_read().
6137
6138 2002-11-20  Michael Koch <konqueror@gmx.de>
6139
6140         * Makefile.am (ordinary_java_source_files):
6141         Added java/nio/channels/FileChannel.java.
6142         * Makefile.in: Regenerated.
6143
6144 2002-11-20  Michael Koch <konqueror@gmx.de>
6145
6146         * java/io/FileInputStream.java
6147         (getChannel): New method.
6148         * java/io/FileOutputStream.java
6149         (getChannel): New method.
6150         * java/net/ServerSocket.java
6151         (bind): Removed duplicate code and called another bind method instead.
6152         * java/nio/channels/SelectionKey.java
6153         (isValid): Removed wrong exception documentation.
6154         * java/nio/channels/ServerSocketChannel.java
6155         (accept): Added exception documentation.
6156         (open): Fixed typo, added exception documentation.
6157         * java/nio/channels/spi/AbstractSelectableChannel.java
6158         (implCloseChannel): Added exception documentation.
6159         (add): Reformated.
6160         (register): Added exception documentation.
6161
6162 2002-11-20  Andreas Jaeger  <aj@suse.de>
6163
6164         * configure: Regenerated with new libtool.m4.
6165
6166 2002-11-19  Tom Tromey  <tromey@redhat.com>
6167
6168         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6169         `referent'.
6170         (finalize_referred_to_object): Don't modify `referent' or `copy'
6171         fields.
6172         (add_to_hash): Correctly set `n->next' when updating list.
6173         * java/lang/ref/Reference.java (enqueue): Return false if already
6174         enqueued.
6175
6176 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6177
6178         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6179         to function and function pointer declarations in accordance with
6180         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6181         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6182         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6183         JNI function definitions.
6184
6185 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6186
6187         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6188         that was causing CoderResults to be cached, not WeakReferences
6189         to CoderResults.
6190
6191 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6192
6193         * java/security/KeyStore.java (getInstance): Fix
6194         comment and throw IllegalArgumentException if
6195         given provider is null.
6196         (getInstance): New method for jdk1.4 compatibility.
6197
6198 2002-11-18  Michael Koch <konqueror@gmx.de>
6199
6200         * java/net/PlainSocketImpl.java: Fix imports.
6201
6202 2002-11-18  Michael Koch <konqueror@gmx.de>
6203
6204         * java/nio/channels/SelectionKey.java
6205         (isValid): Added exception documentation.
6206         * java/nio/channels/Selector.java
6207         (open): Declare "throws IOException".
6208
6209 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6210
6211         * java/nio/charset/Charset.java
6212         (<clinit>): New method.
6213         (encode): Synchronize use of cached encoder object.
6214         (decode): Synchronize use of cached encoder object.
6215
6216 2002-11-18  Michael Koch <konqueror@gmx.de>
6217
6218         * gnu/java/nio/ByteBufferImpl.java,
6219         gnu/java/nio/CharBufferImpl.java,
6220         gnu/java/nio/DatagramChannelImpl.java,
6221         gnu/java/nio/DoubleBufferImpl.java,
6222         gnu/java/nio/FileChannelImpl.java,
6223         gnu/java/nio/FloatBufferImpl.java,
6224         gnu/java/nio/IntBufferImpl.java,
6225         gnu/java/nio/LongBufferImpl.java,
6226         gnu/java/nio/PipeImpl.java,
6227         gnu/java/nio/SelectionKeyImpl.java,
6228         gnu/java/nio/SelectorImpl.java,
6229         gnu/java/nio/SelectorProviderImpl.java,
6230         gnu/java/nio/ServerSocketChannelImpl.java,
6231         gnu/java/nio/ShortBufferImpl.java,
6232         gnu/java/nio/SocketChannelImpl.java,
6233         java/nio/DoubleBuffer.java,
6234         java/nio/FloatBuffer.java,
6235         java/nio/IntBuffer.java,
6236         java/nio/LongBuffer.java,
6237         java/nio/ShortBuffer.java,
6238         java/nio/channels/FileChannel.java: New files.
6239
6240 2002-11-18  Michael Koch <konqueror@gmx.de>
6241
6242         * Makefile.am (ordinary_java_source_files):
6243         Added java/nio/ReadOnlyBufferException.java and
6244         java/nio/channels/ClosedSelectorException.java.
6245         * Makefile.in: Regenerated.
6246
6247 2002-11-18  Michael Koch <konqueror@gmx.de>
6248
6249         * java/net/PlainSocketImpl.java: Reworked imports.
6250         * java/net/ServerSocket.java
6251         (ServerSocket): Create socket.
6252         * java/net/SocketAddress.java: Documentation added.
6253         * java/net/natPlainSocketImpl.cc: Reindented.
6254         * java/nio/ReadOnlyBufferException.java: New file
6255         * java/nio/channels/ClosedChannelException.java: Documentation added.
6256         * java/nio/channels/ClosedSelectorException.java: New file.
6257
6258 2002-11-17  Mark Wielaard  <mark@klomp.org>
6259
6260         * java/net/HttpURLConnection.java ((getPermission): Take port
6261         into consideration.
6262         (getErrorStream): Implement.
6263
6264 2002-11-17  Mark Wielaard  <mark@klomp.org>
6265
6266         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6267
6268 2002-11-16  Mark Wielaard  <mark@klomp.org>
6269
6270         Integrate work by Raif S. Naffah (raif@fl.net.au)
6271         * java/security/DummyKeyPairGenerator.java (clone): New method.
6272         * java/security/DummyMessageDigest.java (clone): New method.
6273         (engineUpdate): Now public.
6274         (engineReset): Likewise.
6275         (engineDigest): Likewise.
6276         (engineGetDigestLength): New method.
6277         * java/security/DummySignature.java (clone): New method.
6278         * java/security/KeyPairGenerator.java (provider): Now package private.
6279         (getInstance(String)): Use getInstance(String,Provider).
6280         (getInstance(String,String): Use getInstance(String,Provider)
6281         (getInstance(String,Provider): New method.
6282         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6283         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6284         * java/security/MessageDigest.java (provider): Now package private.
6285         (getInstance(String): Use getInstance(String,Provider).
6286         (getInstance(String,String): Use getInstance(String,Provider)
6287         (getInstance(String,Provider): New method.
6288         * java/security/Provider.java (toCanonicalKey): New method.
6289         (get): New method that uses toCanonicalKey().
6290         (put): Use toCanonicalKey().
6291         (remove): Likewise.
6292         * java/security/Security.java (insertProviderAt): Provider index is one
6293         based, not zero based.
6294         (addProvider): Likewise.
6295         (removeProvider): Likewise.
6296         * java/security/Signature.java (provider): Now package private.
6297         (getInstance(String)): Use getInstance(String,Provider).
6298         (getInstance(String,String): Use getInstance(String,Provider)
6299         (getInstance(String,Provider): New method.
6300         (getInstance(String,String,Provider): Don't cast DummySignature.
6301
6302 2002-11-15  Tom Tromey  <tromey@redhat.com>
6303
6304         For PR libgcj/8593:
6305         * java/util/zip/GZIPInputStream.java (read): Check file size.
6306         Look in inflater for remaining input bytes.
6307         (read4): Added buf and offset arguments.
6308
6309 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6310
6311         * java/applet/AppletContext.java: Fix typo and remove redundant
6312         modifiers.
6313
6314 2002-11-14  Tom Tromey  <tromey@redhat.com>
6315
6316         * java/lang/natRuntime.cc (insertSystemProperties): Set
6317         gnu.classpath.home.
6318
6319 2002-11-13  Michael Koch <konqueror@gmx.de>
6320
6321         * java/nio/ByteBuffer.java
6322         (allocate): New method.
6323         (wrap): New method.
6324         (put): New method.
6325         (get): New method.
6326
6327 2002-11-13  Michael Koch <konqueror@gmx.de>
6328
6329         * java/nio/channels/AlreadyConnectedException.java:
6330         Removed unneeded import.
6331         (AlreadyConnectedException): Documentation added.
6332         * java/nio/channels/Pipe.java
6333         (SinkChannel.SinkChannel): Documentation added.
6334         (SinkChannel.validOps): New method.
6335         (SourceChannel.SourceChannel): Documentation added.
6336         (SourceChannel.validOps): New method.
6337         (Pipe): Documentation added.
6338         (open): Documentation added.
6339         (SinkChannel.channel): Documentation added.
6340         (SourceChannel.channel): Documentation added.
6341         * java/nio/channel/SelectableChannel.java
6342         (SelectableChannel): Documentation added.
6343         (blockingLock): Documentation added.
6344         (configureBlocking):Documentation added.
6345         (isBlocking):Documentation added.
6346         (isRegistered):Documentation added.
6347         (keyFor):Documentation added.
6348         (provider):Documentation added.
6349         (register): Documentation added.
6350         (validOps): Documentation added.
6351         * jaba/nio/channels/SelectionKey.java
6352         (SelectionKey): Documentation added.
6353         (attach): Documentation added.
6354         (attachment): Documentation added.
6355         (isAcceptable): Documentation added.
6356         (isConnetable): Documentation added.
6357         (isReadable): Documentation added.
6358         (isWritable): Documentation added.
6359         (cancel): Documentation added.
6360         (channel): Documentation added.
6361         (interestOps): Documentation added.
6362         (isValid): Documentation added.
6363         (readyOps): Documentation added.
6364         (selector): Documentation added.
6365         * jaba/nio/channels/Selector.java
6366         (Selector): Documentation added.
6367         (open): Documentation added.
6368         (close): Documentation added.
6369         (isOpen): Documentation added.
6370         (keys): Documentation added.
6371         (provider): Documentation added.
6372         (select): Documentation added.
6373         (selectedKeys): Documentation added.
6374         (selectNow): Documentation added.
6375         (wakeup): Documentation added.
6376         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6377         (AbstractInterruptibleChannel): Documentation added.
6378         (opened): Default to true;
6379         (begin): Documentation added.
6380         (close): Set opened to false, documentation added.
6381         (isOpen): Documentation added.
6382         * java/nio/channels/spi/AbstractSelectionKey.java
6383         (AbstractSelectionKey): Documentation added.
6384         (cancel): Documentation added.
6385         (isValid): Documentation added.
6386         * java/nio/channels/spi/AbstractSelector.java
6387         (AbstractSelector): Documentation added.
6388         (begin): Documentation added.
6389         (close): Documentation added.
6390         (isOpen): Documentation added.
6391         (deregister): Documentation added.
6392         (end): Documentation added.
6393         (provider): Documentation added.
6394         (implCloseSelector): Documentation added.
6395         (register): Documentation added.
6396         * java/nio/channels/spi/SelectorProvider.java
6397         (SelectorProvider): Documentation added.
6398         (openDatagramChannel): Documentation added.
6399         (openPipe): Documentation added.
6400         (openSelector): Documentation added.
6401         (openServerSocketChannel): Documentation added.
6402         (openSocketChannel): Documentation added.
6403         (provider): Documentation added.
6404
6405 2002-11-12  Michael Koch <konqueror@gmx.de>
6406
6407         * java/nio/Buffer.java: Implemented.
6408         * java/nio/CharBuffer.java: New file.
6409         * java/nio/InvalidMarkException.java: New file.
6410         * java/nio/channels/DatagramChannel.java: Implemented.
6411         * java/nio/channels/ServerSocketChannel.java: Implemented.
6412         * java/nio/channels/SocketChannel.java: Implemented.
6413         * java/nio/channels/spi/AbstractChannel.java: Removed.
6414         * java/nio/channels/spi/AbstractSelectableChannel.java:
6415         Implemented.
6416         * java/nio/charset/Charset.java:
6417         Merge from Classpath.
6418         * java/nio/charset/CharsetDecoder.java: New file.
6419         * java/nio/charset/CharsetEncoder.java: New file.
6420         * java/nio/charset/CoderResult.java: New file.
6421         * Makefile.am (ordinary_java_source_files): Added new files.
6422         * Makefile.in: Regenerated.
6423
6424 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6425
6426         * gnu/java/nio/charset/ISO_8859_1.java,
6427         gnu/java/nio/charset/Provider.java,
6428         gnu/java/nio/charset/US_ASCII.java,
6429         gnu/java/nio/charset/UTF_16.java,
6430         gnu/java/nio/charset/UTF_16BE.java,
6431         gnu/java/nio/charset/UTF_16Decoder.java,
6432         gnu/java/nio/charset/UTF_16Encoder.java,
6433         gnu/java/nio/charset/UTF_16LE.java,
6434         gnu/java/nio/charset/UTF_8.java: New files.
6435
6436 2002-11-11  Michael Koch <konqueror@gmx.de>
6437
6438         * java/nio/charset/CharacterCodingException.java:
6439         This class must be public.
6440         * java/nio/charset/CoderMalfunctionError.java:
6441         This class must be public.
6442         * java/nio/charset/CodingErrorAction.java:
6443         This class must be public.
6444         * java/nio/charset/IllegalCharsetNameException.java:
6445         This class must be public, better implementation.
6446         * java/nio/charset/MalformedInputException.java:
6447         This class must be public, better implementation.
6448         * java/nio/charset/UnmappableCharacterException.java:
6449         This class must be public, better implementation.
6450         * java/nio/charset/UnsupportedCharsetException.java:
6451         This class must be public, better implementation.
6452
6453 2002-11-11  Michael Koch <konqueror@gmx.de>
6454
6455         * java/nio/BufferOverflowException.java,
6456         java/nio/BufferUnderflowException.java: New file.
6457         * Makefile.am (ordinary_java_source_files):
6458         Added new files.
6459         * Makefile.in: Regenerated.
6460
6461 2002-11-10  Tom Tromey  <tromey@redhat.com>
6462
6463         * java/awt/Container.java (validate): Use tree lock.
6464         (getComponent): Likewise.
6465         (getComponents): Likewise.
6466         (addImpl): Likewise.
6467         (remove): Likewise.
6468         (removeAll): Likewise.
6469         (processEvent): Fixed indentation.
6470         (getComponentAt): Use tree lock.
6471         (findComponentAt): Likewise.
6472         (removeNotify): Likewise.
6473         (isAncestorOf): Likewise.
6474         (list): Likewise.
6475         (visitChildren): Likewise.
6476         (findNextFocusComponent): Likewise.
6477         (addNotifyContainerChildren): Likewise.
6478         (getAccessibleChildrenCount): Likewise.
6479         (getAccessibleChild): Likewise.
6480
6481         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6482         (getSize): Likewise.
6483         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6484         (getSize): Likewise.
6485         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6486         (calcSize): Likewise.
6487         * java/awt/CardLayout.java (getSize): Use tree lock.
6488         (gotoComponent): Likewise.
6489         (layoutContainer): Likewise.
6490
6491         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6492         count is 0.
6493         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6494         count is 0.
6495
6496         * java/io/Externalizable.java, java/io/FilePermission.java,
6497         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6498         java/io/SerializablePermission.java, java/text/Format.java,
6499         java/util/AbstractMap.java, java/util/HashMap.java,
6500         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6501         versions from Classpath.
6502
6503 2002-11-10  Anthony Green  <green@redhat.com>
6504
6505         * java/util/jar/Attributes.java (Name): Fix name check.
6506
6507 2002-11-10  Mark Wielaard  <mark@klomp.org>
6508
6509         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6510         with getName() as message.
6511         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6512         type as message.
6513
6514         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6515         unused.
6516
6517 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6518
6519         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6520         for Win32. JNICALL has been defined to __stdcall to be compatible
6521         with Sun's JDKs.
6522
6523 2002-11-10  Tom Tromey  <tromey@redhat.com>
6524
6525         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6526         (setRows): Check newRows, not rows.
6527
6528         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6529
6530 2002-11-09  Tom Tromey  <tromey@redhat.com>
6531
6532         * java/applet/Applet.java, java/applet/AppletContext.java,
6533         java/applet/AppletStub.java, java/applet/AudioClip.java,
6534         java/awt/CardLayout.java,
6535         java/awt/ContainerOrderFocusTraversalPolicy.java,
6536         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6537         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6538         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6539         java/awt/color/ICC_ColorSpace.java,
6540         java/awt/color/ICC_Profile.java,
6541         java/awt/color/ICC_ProfileGray.java,
6542         java/awt/color/ICC_ProfileRGB.java,
6543         java/awt/datatransfer/DataFlavor.java,
6544         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6545         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6546         New versions from Classpath.
6547         * Makefile.in: Rebuilt.
6548         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6549         ICC_ProfileRGB.
6550
6551         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6552         display policy.
6553
6554         * java/awt/List.java (processEvent): Added missing `else's.
6555
6556         * java/awt/Window.java (show): validate() before showing.  Make
6557         parent displayable.
6558         (isDisplayable): New method.
6559
6560 2002-11-07  Mark Wielaard  <mark@klomp.org>
6561
6562         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6563         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6564
6565         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6566         annotation.
6567         (loadClass): Take String as codebases.
6568         (getClassAnnotation): Use MyClassLoader annotations.
6569         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6570         call exportObject(this).
6571
6572         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6573         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6574         (setAnnotation): Don't set locBytesStream and locStream.
6575         (replaceObject): Removed.
6576         (flush): Don't test locStream.
6577         (getLocBytes): LikeWise.
6578         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6579         (leaseCache): New field.
6580         (dirty): Use leaseCache.
6581         (LeaseRecord): New inner class.
6582         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6583         explicitly call exportObject().
6584         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6585         false to communicate with Sun JDK130.
6586         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6587         * gnu/java/rmi/server/RMIObjectInputStream.java
6588         (UnicastConnectionManager): Removed field.
6589         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6590         Use UnicastServer.getExportedRef().
6591         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6592         (expireTime): Likewise.
6593         (CONNECTION_TIMEOUT): Likewise.
6594         (disconnect): Call sock.close().
6595         (isExpired): New method.
6596         (resetTime): Likewise.
6597         (run): Use do while loop and catch Exception for discardConnection().
6598         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6599         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6600         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6601         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6602         (exportObject): Use refcache.
6603         (unexportObject): Likewise.
6604         (getExportedRef): New method.
6605         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6606         constructor.
6607         (exportObject): Save manager.serverobj.
6608         (getStub): New method.
6609
6610 2002-11-07  Mark Wielaard  <mark@klomp.org>
6611
6612         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6613         (getByte): Likewise.
6614         (getShort): Likewise.
6615         (getInt): Likewise.
6616         (getLong): Likewise.
6617         (getFloat): Likewise.
6618         (getDouble): Likewise.
6619         (get): Likewise.
6620         (setChar): Likewise.
6621         (setByte): Likewise.
6622         (setShort): Likewise.
6623         (setInt): Likewise.
6624         (setLong): Likewise.
6625         (setFloat): Likewise.
6626         (setDouble): Likewise.
6627
6628 2002-11-07  Michael Koch <konqueror@gmx.de>
6629
6630         * java/awt/Choice.java,
6631         java/awt/Container.java,
6632         java/awt/GridBagLayout.java:
6633         Fixed documentation.
6634         * java/awt/peer/ContainerPeer.java:
6635         Reindented.
6636
6637 2002-11-07  Michael Koch <konqueror@gmx.de>
6638
6639         * java/awt/color/ICC_Profile.java:
6640         Added missing constants.
6641         * java/awt/color/ICC_ColorSpace.java
6642         (getMinValue): Added dummy implementation.
6643         (getMaxValue): Added dummy implementation.
6644         * java/awt/datatransfer/DataFlavor.java
6645         (imageFlavor): Added.
6646         (isMimeTypeEqual): Must be final.
6647         (getDefaultRepresentationClass): Must be non-static.
6648         (getDefaultRepresentationClassAsString): Must be non-static.
6649         * java/awt/dnd/DragSourceContext.java
6650         (dragExit): Corrected argument.
6651         (dragDropEnd): Corrected argument.
6652         * java/awt/dnd/DragSourceListener.java.java
6653         (dragExit): Corrected argument.
6654         (dragDropEnd): Corrected argument.
6655         * java/awt/font/TextHitInfo.java
6656         (toString): Added stubbed implementation.
6657         * java/awt/geom/PathIterator.java:
6658         The constants must be static.
6659         * java/awt/image/VolatileImage.java
6660         (IMAGE_INCOMPATIBLE): Fixed typo.
6661         * java/awt/image/renderable/RenderableImage.java
6662         (HINTS_OBSERVED): Must be static.
6663         * java/beans/BeanInfo.java:
6664         Constants must be final.
6665
6666 2002-11-06  Tom Tromey  <tromey@redhat.com>
6667
6668         From svens@it.uu.se.  For PR libgcj/8481.
6669         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6670
6671 2002-11-06  Tom Tromey  <tromey@redhat.com>
6672
6673         * jni.cc (array_from_valist): Assume that jlong won't be
6674         promoted.
6675
6676 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6677
6678         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6679         Return 20.
6680         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6681         Return 16.
6682
6683 2002-11-03  Tom Tromey  <tromey@redhat.com>
6684
6685         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6686         VMClassLoader, not findClass.
6687
6688 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6689
6690         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6691         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6692         _Jv_DetermineVTableIndex, to determine vtable offset.
6693         (_Jv_DetermineVTableIndex): Remove.
6694         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6695
6696         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6697
6698 2002-11-03  Tom Tromey  <tromey@redhat.com>
6699
6700         * java/nio/channels/AlreadyConnectedException.java: Extend
6701         IllegalStateException, per spec.
6702
6703 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6704
6705         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6706
6707 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6708
6709         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6710         size items.
6711
6712 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6713
6714         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6715         initial estimated size to avoid enlarge buffer frequently.
6716
6717 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6718
6719         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6720         ClassLoader when null.
6721         (ProxyType.hashCode): Loader null check no longer needed.
6722         (ProxyType.sameTypes): New method.
6723         (ProxyType.equals): Use new method.
6724
6725 2002-10-31  Mark Wielaard  <mark@klomp.org>
6726
6727         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6728         length of String.
6729         * java/net/URLEncoder.java (encode): Likewise.
6730
6731 2002-10-31  Mark Wielaard  <mark@klomp.org>
6732
6733         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6734         when stream is closed.
6735         (closeEntry): Likewise.
6736         (read): Likewise.
6737         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6738         ZipException when no entry active.
6739         (closeEntry): Likewise.
6740         (write): Likewise.
6741
6742 2002-11-02  Tom Tromey  <tromey@redhat.com>
6743
6744         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6745         * java/lang/natClass.cc (initializeClass): Don't return just
6746         because self==thread.
6747
6748         For PR java/8415:
6749         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6750         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6751
6752 2002-11-02  Andreas Schwab  <schwab@suse.de>
6753
6754         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6755         pass GCJFLAGS.
6756         (FLAGS_TO_PASS): Define.
6757         * Makefile.in: Regenerated.
6758
6759 2002-11-01  Michael Koch  <konqueror@gmx.de>
6760
6761         * java/nio/ByteOrder.java: New file.
6762         * java/nio/channels/DatagramChannel.java:
6763         (DatagramChannel): New constructor.
6764         * java/nio/channels/Pipe.java: New file.
6765         * java/nio/channels/SelectableChannel.java: New file.
6766         * java/nio/channels/SelectionKey.java: New file.
6767         * java/nio/channels/Selector.java: New file.
6768         * java/nio/channels/ServerSocketChannel.java
6769         (ServerSocketChannel): New constructor.
6770         * java/nio/channels/SocketChannel.java
6771         (SocketChannel): New constructor.
6772         * java/nio/channels/Pipe.java: New file.
6773         * java/nio/channels/spi/AbstractChannel.java: New file.
6774         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6775         * java/nio/channels/spi/AbstractSelectableChannel.java:
6776         License added
6777         (AbstractSelectableChannel): New stubbed method.
6778         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6779         * java/nio/channels/spi/AbstractSelector.java: New file.
6780         * java/nio/channels/spi/SelectorProvider.java: New file.
6781         * java/nio/charset/Charset.java: New file.
6782         * java/nio/charset/CoderMalfunctionError.java: New file.
6783         * java/nio/charset/CodingErrorAction.java: New file.
6784         * java/nio/charset/spi/CharsetProvider.java
6785         (charsetForName): Uncommented.
6786         * Makefile.am (java_native_source_files): Added new files.
6787         * Makefile.in: Regenerated.
6788
6789 2002-11-01  Michael Koch  <konqueror@gmx.de>
6790
6791         * java/net/InetAddress.java:
6792         (isAnyLocalAddress): Implemented.
6793         (isLoopbackAddress): Implemented, comment added.
6794         (isLinkLocalAddress): Implemented, documentation added.
6795         (isSiteLocalAddress): Implemented, documentation added.
6796         (isMCGlobal): Implemented, documentation added.
6797         (isMCNodeLocal): Implemented, documentation added.
6798         (isMCLinkLocal): Implemented, documentation added.
6799         (isMCSiteLocal): Implemented, documentation added.
6800         (isMCOrgLocal): Implemented, documentation added.
6801         (getHostName): Documentation added.
6802         (getCanonicalHostName): Implemented, documentation added.
6803         (getAddress): Documentation added.
6804         (hashCode): Documentation added.
6805         (equals): Documentation added.
6806         (toString): Fixed implementation.
6807         (getByAddress): Use Inet4Address and Inet6Address.
6808         (lookup): New linewrap.
6809         (getByName): SecurityManager check added, support Inet4Address and
6810         Inet6address, comments added.
6811         (getAllByName): SecurityManager check added, comments added.
6812         * java/net/Inet6Address.java:
6813         (Inet6Address): Initialize parent class with addr instead of null.
6814         * java/net/URL.java
6815         (equals): Documentation added.
6816         (getFile): Documentation added.
6817         (hashCode): Documentation added.
6818         * java/net/natInetAddress.cc:
6819         (aton): Fix IPv6 support.
6820         * java/net/natPlainDatagramSocketImpl.cc:
6821         (peek): Throw PortUnreachableException when suitable.
6822         (peekData): Throw PortUnreachableException when suitable.
6823         (send): Throw PortUnreachableException when suitable.
6824         (receive): Throw PortUnreachableException when suitable.
6825
6826 2002-10-27  Mark Wielaard  <mark@klomp.org>
6827
6828         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6829         argument.
6830         (readLeShort): Likewise and use byte[].
6831         (readLeInt): Likewise.
6832         (readEntries): Use new versions of methods and use byte[] for reading
6833         a complete zip entry. Add ZipFile name to exceptions.
6834         (entries): Add ZipFile name to exceptions.
6835         (getEntry): Likewise.
6836         (checkLocalHeader): Use new versions of methods and add ZipFile name
6837         to exceptions.
6838
6839 2002-10-31  Mark Anderson  <mark@panonet.net>
6840
6841         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6842         added
6843
6844 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6845
6846         * configure.in: Disable hash sync when not using threads.
6847         * configure: Regenerated.
6848
6849 2002-10-24  Tom Tromey  <tromey@redhat.com>
6850
6851         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6852         (_Jv_FindSymbolInExecutable): Removed argument name.
6853         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6854         java.library.path is set.
6855
6856         * gij.cc (help): Document --showversion.
6857         (version): Don't exit.
6858         (main): Handle --showversion.  Exit if --version given.
6859
6860 2002-10-23  Tom Tromey  <tromey@redhat.com>
6861
6862         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6863         (array_from_valist): Correctly handle promotion for jint, jlong,
6864         jfloat, and jdouble.
6865
6866 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6867
6868         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6869         GetFileAttributesEx( ) to find file length and modification times,
6870         as the latter is not present on Windows 95.
6871
6872 2002-10-21  Michael Koch  <konqueror@gmx.de>
6873
6874         * java/net/URL.java
6875         (URL): Activate SecurityManager checks.
6876         (equals): Use URLStreamHandler implementation instead of doing it
6877         alone. This allows special protocol stream handlers to change default
6878         behaviour.
6879         (hashCode): Use URLStreamHandler implementation instead of doing it
6880         alone. This allows special protocol stream handlers to change default
6881         behaviour.
6882         * java/net/URLStreamHandler.java
6883         (equals): Implemented default URL equality check.
6884         (hostsEqual): Implemented default URL equality check.
6885         (hashCode): Implemented default URL hashCode algorithm.
6886         * java/net/natPlainDatagramSocketImpl.cc:
6887         No lines longer then 80 characters.
6888
6889 2002-10-20  Adam Megacz <adam@xwt.org>
6890
6891         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6892         * configure.in: enabled hash sync on Win32
6893         * include/win32-threads.h (_Jv_ThreadId_t): added.
6894         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6895         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6896         removed some posix-isms, use Thread::sleep() instead of usleep,
6897         added code to clear bottom three bits if platform has a broken
6898         linker.
6899         * include/win32-threads.h (_Jv_ThreadId_t): added.
6900
6901 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6902
6903         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6904         runtime property "gnu.gcj.progname" containing the name used to
6905         invoke the current Java program (similar to argv[0] for C
6906         programs).
6907
6908 2002-10-15  Tom Tromey  <tromey@redhat.com>
6909
6910         Fix for PR libgcj/8234:
6911         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6912         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6913
6914 2002-10-13  Mark Wielaard  <mark@klomp.org>
6915
6916         * mauve-libgcj: Enable Mauve tests that compile now.
6917
6918 2002-10-11  Mark Wielaard  <mark@klomp.org>
6919
6920         Fix for PR libgcj/8142
6921         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6922         loading native modules.
6923
6924 2002-10-10  Michael Koch  <konqueror@gmx.de>
6925
6926         * javax/swing/AbstractListModel.java
6927         (getListDataListeners): New stubbed method.
6928         javax/swing/DefaultBoundedRangeModel.java
6929         (getChangeListeners): New stubbed method.
6930         javax/swing/DefaultSingleSelectionModel.java
6931         (getChangeListeners): New stubbed method.
6932
6933 2002-10-10  Michael Koch  <konqueror@gmx.de>
6934
6935         * gcj/.cvsignore: New file to ignore files generated during build.
6936         * include/.cvsignore: New file to ignore files generated during build.
6937
6938 2002-10-10  Michael Koch  <konqueror@gmx.de>
6939
6940         * java/net/HttpURLConnection.java
6941         (getPermission): New method.
6942         (getErrorStream): New stub method.
6943         (getHeaderFieldDate): New stub method.
6944         * java/net/Inet4Address.java:
6945         (isLinkLocalAddress): Typo fixed.
6946         * java/net/InetAddress.java:
6947         (readResolve): New stubbed method (for serialization).
6948         (isAnyLocalAddress): New stubbed method.
6949         (isLoopbackAddress): New stubbed method.
6950         (isLinkLocalAddress): New stubbed method.
6951         (isSiteLocalAddress): New stubbed method.
6952         (isMCGlobal): New stubbed method.
6953         (isMCNodeGlobal): New stubbed method.
6954         (isMCLinkLocal): New stubbed method.
6955         (isMCSiteLocal): New stubbed method.
6956         (isMCOrgLocal): New stubbed method.
6957         (getCanonicalHostName): New stubbed method.
6958         (getByAddress): Create instances of Inet4Address/Inet6Address,
6959         instead of InetAddress, documentation added.
6960         * java/net/MulticastSocket.java
6961         (getInterface): Removed FIXME.
6962         (getNetworkInterface): New method.
6963         (setNetworkInterface): New method.
6964         * java/net/NetworkInterface.java:
6965         (toString): Use property "line.separator" instead of "\n".
6966         * java/net/URLConnection.java
6967         (getContent): New stubbed method.
6968         * java/net/URLStreamHandler.java:
6969         (equals): New stubbed method.
6970         (hostsEqual): New stubbed method.
6971         (hashCode): New stubbed method.
6972         * java/net/natNetworkInterface.cc:
6973         (getRealNetworkInterfaces): Create Inet4Address object
6974         instead of InetAddress.
6975
6976 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6977
6978         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6979         unsigned long temporary to implement insn_iushr shifts.
6980
6981 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6982
6983         * configure.host [s390*-*]: Enable Java interpreter.
6984         Enable hash synchronization.  Add sysdeps dir.
6985         * sysdep/s390/locks.h: New file.
6986
6987 2002-10-06  Mark Wielaard  <mark@klomp.org>
6988
6989         * java/lang/Thread.java (setDaemon): Check startable_flag,
6990         not isAlive().
6991
6992 2002-10-07  Michael Koch  <konqueror@gmx.de>
6993
6994         * java/nio/Buffer.java: New stub file.
6995         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6996         of class Charset.
6997         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6998         * Makefile.in: Regenerated.
6999
7000 2002-10-07  Michael Koch  <konqueror@gmx.de>
7001
7002         * java/nio/ByteBuffer.java:
7003         removed import of not commited class.
7004
7005 2002-10-07  Michael Koch  <konqueror@gmx.de>
7006
7007         * java/nio/ByteBuffer.java,
7008         java/nio/MappedByteBuffer.java:
7009         New files, forgot to add these dummies.
7010         * Makefile.am (java_native_source_files): Added new files.
7011         * Makefile.in: Regenerated.
7012
7013 2002-10-07  Michael Koch  <konqueror@gmx.de>
7014
7015         * java/nio/channels/AlreadyConnectedException.java,
7016         java/nio/channels/ClosedChannelException.java,
7017         java/nio/channels/ReadableByteChannel.java,
7018         java/nio/channels/InterruptibleChannel.java,
7019         java/nio/channels/Channel.java,
7020         java/nio/channels/ByteChannel.java,
7021         java/nio/channels/GatheringByteChannel.java,
7022         java/nio/channels/ScatteringByteChannel.java,
7023         java/nio/channels/WritableByteChannel.java,
7024         java/nio/charset/CharacterCodingException.java,
7025         java/nio/charset/IllegalCharsetNameException.java,
7026         java/nio/charset/MalformedInputException.java,
7027         java/nio/charset/UnmappableCharacterException.java,
7028         java/nio/charset/UnsupportedCharsetException.java,
7029         java/nio/charset/spi/CharsetProvider.java: New file.
7030         These files are exceptions or interfaces,
7031         no real or abstract classes.
7032         * Makefile.am (java_native_source_files): Added new files.
7033         * Makefile.in: Regenerated.
7034
7035 2002-10-05  Michael Koch  <konqueror@gmx.de>
7036
7037         * java/net/InetAddress.java
7038         (getByAddress): Fixed documentation.
7039         (getByAddress): New method.
7040         * java/net/Inet4Address.java: New file.
7041         * java/net/URL.java
7042         (URL): Documentation added.
7043         (getContent): Documentation added.
7044         (getContent): New stubbed method.
7045         (getQuery): New method.
7046         (openConnection): Documentation added.
7047         (openStream): Documentation added.
7048         (setURLStreamHandlerFactory): Documentation added.
7049         * java/net/URI.java: New stub file.
7050         * Makefile.am
7051         (java_native_source_files): Added java/net/Inet4Address.java,
7052         java/net/Inet6Address.java and java/net/URI.java.
7053         * Makefile.in: Regenerated.
7054
7055 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7056
7057         * java/lang/ProtectionDomain.java (linesep): Remove field.
7058         (toString): Use System.getProperty("line.separator").
7059
7060 2002-10-04  Michael Koch  <konqueror@gmx.de>
7061
7062         * java/security/Identity.java: Added serialVersionUID.
7063         * java/security/KeyPair.java: Added serialVersionUID.
7064         * java/security/Provider.java: Added serialVersionUID.
7065         * java/security/SecureRandom.java: Added serialVersionUID.
7066         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7067         * java/security/SignedObject.java: Added serialVersionUID.
7068         * java/security/cert/Certificate.java: Added serialVersionUID.
7069
7070 2002-10-04  Mark Wielaard <mark@klomp.org>
7071
7072         * java/security/Security.java: Use java.home or gnu.classpath.home
7073         to load providers.
7074         (loadProviders): Extra dir argument.
7075         (getProvider): Return null when not found.
7076
7077 2002-10-04  Mark Wielaard  <mark@klomp.org>
7078
7079         * java/lang/Throwable.java: Remerge with Classpath.
7080
7081 2002-10-04  Michael Koch  <konqueror@gmx.de>
7082
7083         * java/net/InetAddress.java:
7084         (isMulticastAddress): Added documentation.
7085         (getHostAddress): Added documentation.
7086         (toString): Added documentation.
7087         (getByAddress): Fixed documentation.
7088         (getByName): Added documentation.
7089         (getAllByName): Added documentation.
7090         (getLocalHost): Added documentation.
7091
7092 2002-10-04  Michael Koch  <konqueror@gmx.de>
7093
7094         * java/beans/beancontext/BeanContextChildSupport.java:
7095         Added serialVersionUID.
7096         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7097         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7098         * javax/naming/Name.java: Added serialVersionUID.
7099
7100 2002-10-03  Adam Megacz <adam@xwt.org>
7101
7102         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7103         some functionality that isn't supported yet on WIN32.
7104
7105 2002-10-03  Tom Tromey  <tromey@redhat.com>
7106
7107         * Makefile.in: Rebuilt.
7108         * Makefile.am (awt_java_source_files): Added new files.
7109
7110 2002-10-03  Michael Koch  <konqueror@gmx.de>
7111
7112         * java/net/InetAddress.java
7113         (class InetAddress): Removed final keyword.
7114         (equals): Fixed typo.
7115         (getByAddress): New method.
7116
7117 2002-10-03  Michael Koch  <konqueror@gmx.de>
7118
7119         * java/awt/dnd/Autoscroll.java:
7120         New file, merge from Classpath.
7121         * java/awt/dnd/DragSourceAdapter.java:
7122         (dragExit): Fixed typos in argument type.
7123         (dragDropEnd): Fixed typos in argument type.
7124         * java/awt/dnd/DragSourceDropEvent.java:
7125         New file, merge from Classpath.
7126         * java/awt/dnd/DropTarget.java:
7127         Added stubs, merge from Classpath.
7128         * java/awt/dnd/DropTargetAdapter.java:
7129         New file, merge from Classpath.
7130         * java/awt/dnd/DropTargetContext.java:
7131         New file, merge from Classpath.
7132         * java/awt/dnd/DropTargetDragEvent.java:
7133         New file, merge from Classpath.
7134         * java/awt/dnd/DropTargetDropEvent.java:
7135         New file, merge from Classpath.
7136         * java/awt/dnd/DropTargetEvent.java:
7137         New file, merge from Classpath.
7138         * java/awt/dnd/DropTargetListener.java:
7139         New file, merge from Classpath.
7140         * java/awt/dnd/MouseDragGestureRecognizer.java:
7141         New file, merge from Classpath.
7142         * java/awt/dnd/peer/DropTargetContextPeer.java:
7143         New file, merge from Classpath.
7144
7145 2002-10-03  Michael Koch  <konqueror@gmx.de>
7146
7147         * java/net/DatagramPacket.java
7148         (setLength): Fixed typo and be HTML-aware.
7149         * java/net/InetSocketAddress.java
7150         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7151         (equals): Added comment about equality of InetSocketAddress objects.
7152         * java/net/ServerSocket.java
7153         (accept): Added checks.
7154         (isClosed): New stubbed method.
7155         * java/net/SocketOptions.java: Reindention.
7156         * java/net/SocketPermission
7157         (SocketPermission): Documentation fixed.
7158
7159 2002-10-03  Michael Koch  <konqueror@gmx.de>
7160
7161         * java/net/DatagramSocket.java
7162         (receive): Check with SecurityManager AFTER the packet is received,
7163         check if connected to multicast address, documentation added.
7164         (send): Only check SecurityManager if connected, check address of
7165         packet to send.
7166         (connect): Implemented, documentation added.
7167         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7168         * java/net/InetSocketAddress.java
7169         (whole file): Reindented.
7170         (hostname): New attribute.
7171         (InetSocketAddress): Initialize new attribute.
7172         (getAddress): Documentation added.
7173         (getHostName): Documentation added.
7174         (getPort): Documentation added.
7175         (hashCode): Documentation added.
7176         (isUnresolved): Documentation added.
7177         (toString): Conform to output of JDK 1.4.1, documentation added.
7178         * java/net/MulticastSocket.java
7179         (joinGroup): Removed FIXME, documentation added.
7180         (leaveGroup): Removed FIXME, documentation added.
7181         (send): Documentation added.
7182         * java/net/Socket.java
7183         (inputShutdown): New variable.
7184         (outputShutdown): New variable.
7185         (Socket): Initialize new variables.
7186         (getRemoteSocketAddress): Check if connected.
7187         (shutdownInput): Set new variable.
7188         (shutdownOutput): Set new variable.
7189         (isConnected): New method.
7190         (isClosed): New method.
7191         (isInputShutdown): New method.
7192         (isOutputShutdown): New method.
7193         * java/net/URLStreamHandler.java
7194         (URLStreamHandler): New method.
7195         (openConnection): Added documentation.
7196         (parseURL): Added documentation.
7197         (getHostAddress): New method.
7198         (getDefaultPort): New method.
7199
7200 2002-10-02  Tom Tromey  <tromey@redhat.com>
7201
7202         * java/rmi/activation/ActivationDesc.java,
7203         java/rmi/activation/ActivationGroupDesc.java,
7204         java/rmi/activation/ActivationGroupID.java,
7205         java/rmi/activation/ActivationID.java: New versions from
7206         Classpath.
7207
7208 2002-09-30  Bo Thorsen  <bo@suse.de>
7209
7210         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7211
7212 2002-09-30  Tom Tromey  <tromey@redhat.com>
7213
7214         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7215         from Classpath.
7216         * Makefile.in: Rebuilt.
7217         * Makefile.am (rmi_java_source_files): Added new files.
7218         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7219         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7220         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7221         Classpath.
7222         * gnu/java/rmi/dgc/DGCImpl.java,
7223         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7224         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7225         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7226         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7227         gnu/java/rmi/server/RMIHashes.java,
7228         gnu/java/rmi/server/RMIObjectInputStream.java,
7229         gnu/java/rmi/server/RMIObjectOutputStream.java,
7230         gnu/java/rmi/server/UnicastConnection.java,
7231         gnu/java/rmi/server/UnicastConnectionManager.java,
7232         gnu/java/rmi/server/UnicastRef.java,
7233         gnu/java/rmi/server/UnicastServer.java,
7234         gnu/java/rmi/server/UnicastServerRef.java,
7235         java/rmi/MarshalledObject.java,
7236         java/rmi/server/RMIClassLoader.java,
7237         java/rmi/server/RemoteObject.java,
7238         java/rmi/server/UnicastRemoteObject.java,
7239         java/security/SecureClassLoader.java: Merged from Classpath.
7240
7241 2002-09-29  Anthony Green  <green@redhat.com>
7242
7243         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7244         Imported from GNU Classpath.
7245         * java/lang/reflect/natProxy.cc: New file.
7246         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7247         from GNU Classpath.
7248         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7249         Classpath.
7250         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7251         Classpath.
7252         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7253         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7254         New statics.
7255         * gcj/javaprims.h ("Java"): Add new classes.
7256         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7257         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7258         java/lang/reflect/Proxy$$ProxyType.h): And this.
7259         (inner_nat_headers): Add these new headers.
7260         (ordinary_java_source_files): Add new files.
7261         (nat_source_files): Add new file.
7262         * Makefile.in: Rebuilt.
7263
7264 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7265
7266         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7267         a single configuration.
7268
7269 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7270
7271         * java/util/TimeZone.java (getDSTSavings): New method.
7272         Fixes PR libgcj/7786.
7273
7274 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7275
7276         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7277         to see if `the_method == 0' before looking up vtable index.
7278         Fixes PR libgcj/7709.
7279
7280 2002-09-25  Tom Tromey  <tromey@redhat.com>
7281
7282         * java/lang/natClassLoader.cc:
7283         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7284         * resolve.cc: Include NoClassDefFoundError.h, not
7285         ClassNotFoundException.h.
7286         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7287
7288         * defineclass.cc: Don't include ClassNotFoundException.h.
7289
7290         * resolve.cc: Include StringBuffer.
7291         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7292
7293         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7294         allocated but not initialized.
7295
7296 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7297
7298         Fix for PR libgcj/7766:
7299         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7300         (getNextEntry): Set it.
7301         (closeEntry): Likewise.
7302         (read): Likewise.
7303         (close): Likewise.
7304         (available): Use it.
7305
7306 2002-09-25  Michael Koch  <konqueror@gmx.de>
7307
7308         * java/net/DatagramSocket.java
7309         (DatagramSocket): Initialize new instance variables.
7310         (close): Reset new instance variables.
7311         (getLocalAddress): Remove unneeded SecurityManager usage.
7312         (getLocalPort): Check if socket is already bound.
7313         (isConnected): New method.
7314         (getInetAddress): Implemented.
7315         (getPort): Better Implementation, documentation fixed.
7316         (getRemoteSocketAddress): New method.
7317         * java/net/JarURLConnection.java
7318         (element): Typo fixed.
7319         (getMainAttributes): New method.
7320         (getAttributes): New method (stub only).
7321         (getManifest): New method (stub only).
7322         * java/net/NetPermission.java: Added serialVersionsUID.
7323         * java/net/Socket.java
7324         (connect): Check blocking mode of associated channel,
7325         documentation added.
7326         (getLocalSocketAddress): Better implementation.
7327         (getRemoteSocketAddress): Implemented.
7328         (isBound): New method.
7329         (setSendBufferSize): Documentation added.
7330         * java/net/SocketAddress.java: Added serialVersionsUID.
7331         * java/net/SocketPermission.java: Added serialVersionsUID.
7332         * java/net/URL.java
7333         (URL): Wrap for shorter lines, initialize new instance variables,
7334         documentation added.
7335         (equals): Check new instance variables too.
7336         (getContent): Documentation added.
7337         (getPath): Documentation added.
7338         (getAuthority): New method.
7339         (getHost): Documentation added.
7340         (getPort): Documentation added.
7341         (getDefaultPort): New method.
7342         (getProtocol): Documentation added.
7343         (getUserInfo): Documentation added.
7344         (set): Initialize new instance variables, documentation added.
7345         * java/net/URLStreamHandler.java
7346         (setURL): New method.
7347         * java/net/natPlainDatagramSocketImpl.cc
7348         (connect): Fix exception name.
7349         (disconnect): Fix exception name.
7350
7351 2002-09-25  Michael Koch  <konqueror@gmx.de>
7352
7353         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7354         * java/nio/channels/DatagramChannel.java:
7355         extends AbstractSelectableChannel
7356         * java/nio/channels/ServerSocketChannel.java:
7357         extends AbstractSelectableChannel
7358         * java/nio/channels/SocketChannel.java:
7359         extends AbstractSelectableChannel
7360         * Makefile.am (ordinary_java_source_files):
7361         java/nio/channels/spi/AbstractSelectableChannel.java added.
7362         * Makefile.in: Regenerated.
7363
7364 2002-09-25  Michael Koch  <konqueror@gmx.de>
7365
7366         * java/net/DatagramSocket.java
7367         (DatagramSocket): Exception documentation added.
7368         (bind): Exception documentation added, addded SecurityManager check,
7369         added SocketAddress type check.
7370         (getSoTimeout): Check impl.
7371         (receive): Fix SecurityManager check, check impl, documentation added.
7372         (send): Check channel mode, documentation added.
7373         (connect): New method.
7374         (disconnect): Implemented.
7375         (getLocalSocketAddress): New method.
7376         (getReceiveBufferSize): Check impl.
7377         (setReuseAddress): Check impl.
7378         (getReuseAddress): Check impl.
7379         (setBroadcast): Check impl.
7380         (getBroadcast): Check impl.
7381         (setTrafficClass): Check impl, Documentation cleared.
7382         (getTrafficClass): Check impl.
7383         (getSendBufferSize): Check impl.
7384         (setReceiveBufferSize): Check impl, documentation added.
7385         (setSendBufferSize): Documentation added.
7386         (setDatagramSocketImplFactory): New method.
7387         * java/net/HttpURLConnection.java
7388         (HTTP_INTERNAL_ERROR): The correct code is 500.
7389         (HTTP_NOT_IMPLEMENTED): Added new constant.
7390         (setFollowRedirects): Documentation added.
7391         (getInstanceFollowRedirects): New method.
7392         (setInstanceFollowRedirects): New method.
7393         (setRequestMethod): Documentation added.
7394         (getResponseCode): Documentation added.
7395         (getResponseMessage): Documentation added.
7396         * java/net/JarURLConnection.java
7397         (JarURLConnection): protected since JDK 1.4.
7398         (getJarEntry): java.io.IOException to IOException, documentation added.
7399         (getJarFile): Documentation added.
7400         * java/net/ServerSocket.java
7401         (ServerSocket): Private to public, exception added.
7402         (ServerSocket): java.io.IOException to IOException, documentation added.
7403         (bind): Check socket address type, documentation added.
7404         (bind): java.io.IOException to IOException, documentation added.
7405         (accept): Documentation added.
7406         (implAccept): Check ch is not non-blocking, documentation added.
7407         (setSoTimeout): Documentation fixed.
7408         (setReceiveBufferSize): Documentation added.
7409         * java/net/Socket.java
7410         (Socket): Documentation added.
7411         (bind): Documentation added.
7412         (connect): Check socket address type, documentation added.
7413         (getRemoteSocketAddress): New method.
7414         (getLocalSocketAddress): New method.
7415         (setSoLinger): Documentation added.
7416         (getReuseAddress): New method.
7417         (setReuseAddress): New method.
7418         (getTrafficClass): New method.
7419         (setTrafficClass): New method.
7420         * java/net/URLStreamHandler.java
7421         (openConnection): java.io.IOException to IOException.
7422         (parseURL): Documentation added.
7423         (sameFile): public to protected, documentation added.
7424         (setURL): Documentation added.
7425         * java/nio/IllegalBlockingModeException.java: New file.
7426         * Makefile.am (ordinary_java_source_files):
7427         added java/nio/IllegalBlockingModeException.java
7428         * Makefile.in: Regenerated.
7429
7430 2002-09-25  Michael Koch  <konqueror@gmx.de>
7431
7432         * java/net/DatagramPacket
7433         (DatagramPacket): Exception documentation added.
7434         (setData): Likewise.
7435         (setSocketAddress): Likewise.
7436         * java/net/DatagramSocketImpl.java
7437         (peek): Documentation addded.
7438         (peekData): Documentation addded.
7439         (send): Documentation addded.
7440         (receive): Documentation addded.
7441         (connect): New method.
7442         (disconnect): New method.
7443         (joinGroup): New abstract method.
7444         (leaveGroup): New abstract method.
7445         * java/net/InetSocketAddress.java
7446         (InetSocketAddress): Documentation added.
7447         (equals): final keyword added.
7448         (getAddress): final keyword added.
7449         (getHostName): final keyword added.
7450         (getPort): final keyword added.
7451         (hashCode): final keyword added.
7452         (isUnresolved): final keyword added.
7453         * java/net/MulticastSocket.java
7454         (MulticastSocket): Documentation added.
7455         (MulticastSocket): New method.
7456         (joinGroup): Documentation added.
7457         (joinGroup): New method.
7458         (leaveGroup): Documentation added.
7459         (leaveGroup): New method.
7460         (send): Documentation added.
7461         * java/net/NetworkInterface.java
7462         (getByName): Documentation added.
7463         (getByInetAddress): Documentation added.
7464         (getNetworkInterfaces): Documentation added.
7465         * java/net/PlainDatagramSocketImpl.java
7466         (connect): New method.
7467         (disconnect): New method.
7468         * java/net/SocketImpl.java
7469         (create): Documentation added.
7470         (shutdownInput): Convert public to protected, as it always was.
7471         (shutdownOutput): Convert public to protected, as it always was.
7472         * java/net/SocketOptions.java
7473         (whole file): Reintented.
7474         * java/net/URLClassLoader.java
7475         (URLClassLoader): SecurityManager check added, documentation added.
7476         (findResources): Documentation added.
7477         (findClass): Documentation added.
7478         (newInstance): More correct method arguments.
7479         * java/net/URLConnection.java
7480         (connect): Documentation added.
7481         (getContent): Documentation added.
7482         (getPermission): Documentation added.
7483         (getInputStream): Documentation added.
7484         (getOutputStream): Documentation added.
7485         (setDoInput): Throw correct exception, documentation added.
7486         (setDoOutput): Throw correct exception, documentation added.
7487         (setAllowUserInteraction): Throw correct exception, documentation added.
7488         (setUseCaches): Throw correct exception, documentation added.
7489         (setIfModifiedSince): Throw correct exception, documentation added.
7490         (setRequestProperty): Throw exception, documentation added.
7491         (addRequestProperty): Throw exception, documentation added.
7492         (getRequestProperty): Throw exception, documentation added.
7493         (getRequestProperties): Documentation added.
7494         (setContentHandlerFactory): Documentation added.
7495         (guessContentTypeFromName): protected to public.
7496         (setFileNameMap): Documentation added.
7497         * java/net/URLDecoder.java
7498         (URLDecoder): New method.
7499         (decode): Documentation added.
7500         (whole file): Reindented.
7501         * java/net/URLEncoder.java
7502         (encode): Documentation added.
7503         * java/net/natPlainDatagramSocketImpl.cc
7504         (connect): New method.
7505         (disconnect): New method.
7506         * javax/naming/RefAddr:
7507         (addrType): addrType was never final.
7508         (equals): Fix typo in method name.
7509         * javax/naming/BinaryRefAddr:
7510         (equals): Fix typo in method name.
7511
7512 2002-09-22  Tom Tromey  <tromey@redhat.com>
7513
7514         Fix for PR libgcj/6576:
7515         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7516         didn't find a given bundle.
7517         (getBundle): Don't require base bundle.
7518         (setParent): Removed old comment.
7519         (tryLocalBundle): Try components even if preceding components were
7520         empty.
7521
7522 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7523
7524         * Makefile.am (all-multi): Fix multilib parallel build.
7525
7526 2002-09-21  Michael Koch  <konqueror@gmx.de>
7527
7528         * java/net/Socket.java
7529         (sendUrgentData): New method.
7530         (getChannel): New method.
7531         * java/net/ServerSocket.java
7532         (getChannel): New method.
7533         (isBound): New method.
7534         * java/net/DatagramSocket.java
7535         (DatagramSocket): Two new methods.
7536         (bind): New method.
7537         (getChannel): New method.
7538         (isBound): New method.
7539         (send): Added newline to to make shorter lines.
7540         * java/net/PlainDatagramSocketImpl.java
7541         (mcastGrp): Added argument.
7542         (join): Use new mcastGrp.
7543         (leave): Use new mcastGrp.
7544         (joinGroup): New method.
7545         (leaveGroup): New method.
7546         * java/net/natPlainDatagramSocketImpl.cc
7547         (mcastGrp): Added argument, no yet really implemented.
7548         (getOption): Added newline for shorter lines.
7549         * java/net/natPlainSocketImpl.cc
7550         (read, setOption, getOption): Added newline for shorter lines.
7551
7552 2002-09-19  Tom Tromey  <tromey@redhat.com>
7553
7554        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7555        newly-created exception.
7556
7557 2002-09-18  Michael Koch  <konqueror@gmx.de>
7558
7559         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7560         java/util/regex/PatternSyntaxException.java:
7561         Merge with classpath, new files.
7562         * Makefile.am (core_java_source_files):
7563         Added java/util/regex/Matcher.java,
7564         java/util/regex/Pattern.java,
7565         java/util/regex/PatternSyntaxException.java
7566         * Makefile.in: Regenerated.
7567         * include/config.h.in: Added HAVE_NET_IF_H.
7568         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7569         Removed #if 0 ... #endif.
7570
7571 2002-09-17  Michael Koch  <konqueror@gmx.de>
7572
7573         * java/net/natNetworkInterface.cc:
7574         Removed unneed and yet wrong includes.
7575
7576 2002-09-17  Michael Koch  <konqueror@gmx.de>
7577
7578         * java/net/NetworkInterface.java: New file.
7579         * java/net/natNetworkInterface.java: New file.
7580         * configure.in: Added check for net/if.h.
7581         * configure: Regenerated.
7582         * Makefile.am
7583         (ordinary_java_source_files): Added NetworkInterface.java.
7584         (nat_source_files): Added natNetworkInterface.cc.
7585         * Makefile.in: Regenerated.
7586
7587 2002-09-16  Tom Tromey  <tromey@redhat.com>
7588
7589         * java/net/URLClassLoader.java (findClass): Code source for a
7590         class from a jar is not necessarily a jar: URL.
7591
7592 2002-09-16  Michael Koch  <konqueror@gmx.de>
7593
7594         * java/lang/AssertionError.java:
7595         Merge with classpath, fixes HTML.
7596         * java/rmi/server/LogStream.java:
7597         Merge with classpath, fixes some constants.
7598         * java/net/server/RemoteServer.java:
7599         Merge with classpath, adds serialVersionUID.
7600         * javax/naming/BinaryRefAddr.java:
7601         Merge with classpath, s/equal/equals/.
7602         * javax/naming/NamingException.java:
7603         Merge with classpath, fixed typo.
7604         * javax/naming/RefAddr.java:
7605         Merge with classpath, s/equal/equals/.
7606         * java/awt/Toolkit.java:
7607         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7608         and typo fixed.
7609
7610 2002-09-15  Adam Megacz <adam@xwt.org>
7611
7612         * java/net/natPlainSocketImpl.cc: fixed typo.
7613
7614 2002-09-15  Adam Megacz <adam@xwt.org>
7615
7616         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7617         which don't work on Win32 (yet).
7618
7619 2002-09-14  Adam Megacz <adam@xwt.org>
7620
7621         * java/net/natPlainDatagramSocket.cc: removed #include
7622         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7623         * include/win32.h: included definition for IP_TOS to satisfy
7624         natPlainDatagramSocket.cc
7625
7626 2002-09-13  Michael Koch  <konqueror@gmx.de>
7627
7628         * java/net/DatagramPacket.java (DatagramPacket):
7629         Added linebreak for 80 chars per line.
7630         * java/net/JarURLConection.java
7631         (getInputStreami, getJarEntry): Likewise.
7632         * java/net/SocketPErmission.java
7633         (SocketPermission class docu, implies): Likewise.
7634         * java/net/URLClassLoader.java (findResources): Likewise.
7635         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7636
7637 2002-09-13  Michael Koch  <konqueror@gmx.de>
7638
7639         * java/nio/channels/DatagramChannel.java,
7640         java/nio/channels/ServerSocketChannel.java
7641         java/nio/channels/SocketChannel.java:
7642         New dummy files to make java.net fully JDK 1.4 compatible
7643         * Makefile.am (ordinary_java_source_files): Added
7644         java/net/DatagramSocketImplFactory.java (long forgotten),
7645         java/nio/SocketChannel.java,
7646         java/nio/ServerSocketChannel.java,
7647         java/nio/DatagramChannel.java
7648         * Makefile.in: Regenrated.
7649
7650 2002-09-12  Michael Koch  <konqueror@gmx.de>
7651
7652         * java/net/DatagramSocketImpl.java
7653         (peekData): New method.
7654         * java/net/PlainDatagramSocketImpl.java
7655         (peekData): New method.
7656         * java/net/natPlainDatagramSocketImpl.cc
7657         (peekData): New method.
7658         * java/net/URLConnection
7659         (getPermission): New method.
7660         (addRequestProperty): New method.
7661         (getRequestProperties): New method.
7662         (guessContentTypeFromStream): New method, not really implemented.
7663         (URLConnection): Added/updated documentation.
7664         (connect): Added/updated documentation.
7665         (getURL): Added/updated documentation.
7666         (getContentLength): Added/updated documentation.
7667         (getContentType: Added/updated documentation.
7668         (getContentEncoding): Added/updated documentation.
7669         (getExpiration): Added/updated documentation.
7670         (getDate): Added/updated documentation.
7671         (getLastModified): Added/updated documentation.
7672         (getHeaderField): Added/updated documentation.
7673         (getHeaderFields): Added/updated documentation.
7674         (getHeaderFieldInt): Added/updated documentation.
7675         (getHeaderFieldDate): Added/updated documentation.
7676         (getHeaderFieldKey): Added/updated documentation.
7677         (getContent): Added/updated documentation.
7678         (getInputStream): Added/updated documentation.
7679         (getOutputStream): Added/updated documentation.
7680         (toString): Added/updated documentation.
7681         (setDoInput): Added/updated documentation.
7682         (getDoInput): Added/updated documentation.
7683         (setDoOutput): Added/updated documentation.
7684         (getDoOutput): Added/updated documentation.
7685         (setAllowUserInteraction): Added/updated documentation.
7686         (getAllowUserInteraction): Added/updated documentation.
7687         (setDefaultAllowUserInteraction): Added/updated documentation.
7688         (getDefaultAllowUserInteraction): Added/updated documentation.
7689         (setUseCaches): Added/updated documentation.
7690         (getUseCaches): Added/updated documentation.
7691         (setIfModifiedSince): Added/updated documentation.
7692         (getIfModifiedSince): Added/updated documentation.
7693         (getDefaultUseCaches): Added/updated documentation.
7694         (setDefaultUseCaches): Added/updated documentation.
7695         (setRequestProperty): Added/updated documentation.
7696         (getRequestProperty): Added/updated documentation.
7697         (setDefaultRequestProperty): Added/updated documentation.
7698         (getDefaultRequestProperty): Added/updated documentation.
7699         (setContentHandlerFactory): Added/updated documentation.
7700         (guessContentTypeFromName): Added/updated documentation.
7701         (getFileNameMap): Added/updated documentation.
7702         (setFileNameMap): Added/updated documentation.
7703
7704 2002-09-11  Michael Koch  <konqueror@gmx.de>
7705
7706         * java/net/Socket.java
7707         (Socket): protected to public (since JDK 1.4). Added @specnote.
7708         (bind): New method.
7709         (connect): Two new methods.
7710         (getKeepalive): Get correct socket option.
7711         (setKeepalive): Set correct socket option.
7712         (getOOBInline): New method.
7713         (setOOBInline): New method.
7714         * java/net/ServerSocket.java
7715         (bind): Two new methods.
7716         (getInetAddress): Reimplemented, catch exception.
7717         (getLocalSocketAddress): New method.
7718         (setReuseAddress): New method.
7719         (getReuseAdress): New method.
7720         (setReceiveBufferSize): New method.
7721         (getReceiveBufferSize): New method.
7722         (toString): Made string JDK 1.4 compliant.
7723
7724 2002-09-10  Michael Koch  <konqueror@gmx.de>
7725
7726         * java/net/SocketImpl.java
7727         (connect): New method.
7728         (supportsUrgentData): New method.
7729         (sendUrgentData): New method.
7730         * java/net/PlainSocketImpl.java
7731         (connect): One new method and two new implementation.
7732         (sendUrgentData): New method.
7733         * java/natPlainSocketImpl.cc
7734         (connect): Arguments changed, added support for timeouts.
7735         (getOption): Another __java_boolean to jboolean.
7736
7737 2002-09-07  Adam Megacz <adam@xwt.org>
7738
7739         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7740         definition of IP_TOS.
7741
7742 2002-09-04  Michael Koch  <konqueror@gmx.de>
7743
7744         * java/net/DatagramSocket.java
7745         (DatagramSocket): Added documentation.
7746         (close): Likewise.
7747         (getLocalAddress): Likewise.
7748         (getLocalPort): Likewise.
7749         (receive): Likewise.
7750         (send): Likewise.
7751         (setSoTimeout): Likewise.
7752         (connect): New method.
7753         (disconnect): New method.
7754         (getInetAddress): New method (FIXME)
7755         (getPort): New method.
7756         (setReuseAddress): New method.
7757         (getReuseAddress): New method.
7758         (setBroadcast): New method.
7759         (getBroadcast): New method.
7760         (setTrafficClass): New method.
7761         (getTrafficClass): New method.
7762         * java/net/MulticastSocket.java):
7763         (getTTL): Added @see in documentation.
7764         (setTTL): Added @see in documentation.
7765         (setLoopbackMode): New method.
7766         (getLoopbackMode): New method.
7767         * java/net/PlainSocketImpl.java:
7768         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7769         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7770         * java/net/PlainDatagramSocketImpl.java
7771         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7772         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7773         * java/net/natPlainSocketImpl.cc
7774         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7775         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7776         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7777         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7778         This should also fix SO_KEEPALIVE
7779         * java/net/natPlainDatagramSocketImpl.cc
7780         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7781         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7782         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7783         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7784
7785 2002-09-04  Michael Koch  <konqueror@gmx.de>
7786
7787         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7788         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7789         IP_MULTICAST_LOOP, IP_TOS
7790
7791 2002-09-03  Tom Tromey  <tromey@redhat.com>
7792
7793         * java/lang/Class.h (_getDeclaredMethod): Declare.
7794         (_getMethod): Now private.
7795         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7796         getDeclaredMethod.  Now returns NULL on failure.
7797         * java/lang/Class.java (_getDeclaredMethod): Declare.
7798         (getDeclaredMethod): No longer native; implements access checks.
7799
7800 2002-09-01  Mark Wielaard  <mark@klomp.org>
7801
7802         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7803         (sanitizeStack): Correctly reset unknown and interpreter counters,
7804         detect interpreter runtime frames.
7805         (demangleInterpreterMethod): New method.
7806         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7807         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7808         filling in addrs[].
7809
7810 2002-09-02  Michael Koch  <konqueror@gmx.de>
7811
7812         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7813         re-indented documentation.
7814
7815 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7816
7817         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7818         public, per 1.4 spec.  Fixes PR libgcj/7785.
7819
7820 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7821
7822         * Makefile.in: Rebuilt.
7823         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7824
7825 2002-08-29  Tom Tromey  <tromey@redhat.com>
7826
7827         * java/net/JarURLConnection.java (getCertificates): New method
7828         from Classpath.
7829         * java/net/URLClassLoader.java (URLClassLoader): Extends
7830         SecureClassLoader.
7831         (definePackage): New method from Classpath.
7832         (getPermissions): Likewise.
7833         (newInstance): Likewise.
7834         (findClass): Construct CodeSource for new class (from Classpath).
7835         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7836         methods.
7837         * java/net/URL.java (getUserInfo): New method.
7838         (set(String,String,int,String,String,String,String,String)): New
7839         method.
7840         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7841         (shutdownInput, shutdownOutput): Declare.
7842         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7843         Define.
7844         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7845         (getOption): Likewise.
7846         (shutdownInput): New method.
7847         (shutdownOutput): Likewise.
7848         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7849         keepalive.
7850         (getOption): Likewise.
7851         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7852         * java/net/Socket.java (setKeepAlive): New method.
7853         (getKeepAlive): Likewise.
7854         (shutdownInput, shutdownOutput): New methods.
7855
7856 2002-08-29  Michael Koch  <konqueror@gmx.de>
7857
7858         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7859         new methods are:
7860         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7861           address),
7862         DatagramPacket(byte[] buf, int length, SocketAddress address),
7863         void setSocketAddress(SocketAddress address)
7864         public SocketAddress getSocketAddress()
7865
7866 2002-08-29  Tom Tromey  <tromey@redhat.com>
7867
7868         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7869         ftruncate is missing.
7870         * configure, include/config.h.in: Rebuilt.
7871         * acconfig.h (HAVE_FTRUNCATE): Mention.
7872         * configure.in: Check for ftruncate.
7873
7874 2002-08-29  Tom Tromey  <tromey@redhat.com>
7875
7876         * include/jvm.h (struct _Jv_frame_info): New structure.
7877         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7878         java-interp.h.
7879         (lookupInterp): New method.
7880         (getAddrAsString): Use _Jv_frame_info.
7881         (dladdrLookup): Likewise.
7882         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7883         interpreted frame.
7884         (lookupInterp): Declare.
7885         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7886         (fillInStackTrace): Collect information on interpreted frames.
7887         Use _Jv_frame_info.
7888         * interpret.cc: Include Thread.h.
7889         (run): Create and push _Jv_MethodChain object.
7890         (_Jv_EndOfInterpreter): New global.
7891         * java/lang/Thread.java (interp_frame): New field.
7892         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7893         Include NameFinder.h.
7894
7895 2002-08-28  Tom Tromey  <tromey@redhat.com>
7896
7897         * java/lang/Class.h: Include Package.h.
7898         (Class::getProtectionDomain): Declare.
7899         (Class::getPackage): Declare.
7900
7901 2002-08-28  Michael Koch <konqueror@gmx.de>
7902
7903         * java/net/InetSocketAddress.java: Added some documentation and argument
7904         checks for the port numbers.
7905         * java/net/DatagramSocketImplFactory.java: New file.
7906
7907 2002-08-28  Michael Koch <konqueror@gmx.de>
7908
7909         * java/net/Authenticator.java: added some documentation.
7910
7911 2002-08-27  Tom Tromey  <tromey@redhat.com>
7912
7913         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7914         class.
7915         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7916
7917 2002-08-27  Michael Koch <konqueror@gmx.de>
7918
7919         * java/net/BindException.java,
7920         java/net/JarURLConnection.java,
7921         java/net/FileNameMap.java,
7922         java/net/HttpURLConnection.java,
7923         java/net/InetSocketAddress.java,
7924         java/net/DatagramPacket.java,
7925         java/net/DatagramSocket.java,
7926         java/net/DatagramSocketImpl.java,
7927         java/net/MulticastSocket.java,
7928         java/net/PasswordAuthentication.java,
7929         java/net/ServerSocket.java,
7930         java/net/Socket.java,
7931         java/net/URLClassLoader.java,
7932         java/net/URLConnection.java: add/update of some @since/@deprecated
7933
7934 2002-08-27  Tony Kimball <alk@pobox.com>
7935             Tom Tromey  <tromey@redhat.com>
7936
7937         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7938         define.
7939         (::close): Removed.
7940         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7941         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7942         (::close): Removed.
7943         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7944         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7945
7946 2002-08-25  Adam Megacz <adam@xwt.org>
7947
7948         * include/win32.h (getcwd): copied function declaration as
7949         temporary fix for header confusion.
7950
7951 2002-08-24  Mark Wielaard <mark@klomp.org>
7952
7953         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7954         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7955         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7956         and natNameFinder.cc.
7957         * Makefile.in: Regenerate.
7958         * prims.cc: Use trace_enabled from VMThrowable.
7959         * name-finder.cc: Removed.
7960         * gcj/javaprims.h: Add class VMThrowable.
7961         * gnu/gcj/runtime/NameFinder.java: New file.
7962         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7963         * include/name-finder.h: Removed.
7964         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7965         method stackTraceString().
7966         (printStackTrace (PrintWriter)): Likewise.
7967         (stackTraceString): Complete rewrite of old printStackTrace using
7968         StringBuffer.
7969         (stackTraceStringBuffer): New helper method for stackTraceString().
7970         (fillInStackTrace): Delegate to VMTrowable.
7971         (getStackTrace): Likewise.
7972         (getStackTrace0): Removed.
7973         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7974         (setStackTrace): Copy given array.
7975         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7976         * java/lang/VMThrowable.java: New class.
7977         * java/lang/natVMThrowable.cc: New file.
7978
7979 2003-08-23  Michael Koch  <konqueror@gmx.de>
7980
7981         * java/net/URLConnection.java,
7982         java/netJarURLConnection.java,
7983         gnu/gcj/protocol/core/Connection.java,
7984         gnu/gcj/protocol/file/Connection.java,
7985         gnu/gcj/protocol/http/Connection.java: Added implementation of
7986         getHeaderFields().
7987
7988 2002-08-22  Tom Tromey  <tromey@redhat.com>
7989
7990         * gij.cc (help): Document -cp and -classpath.
7991         (main): Handle -classpath.
7992
7993 2002-08-21  Tom Tromey  <tromey@redhat.com>
7994
7995         * Makefile.in: Rebuilt.
7996         * Makefile.am (ordinary_java_source_files): Added
7997         SocketAddress.java, InetSocketAddress.java.
7998         * java/net/PortUnreachableException.java: Merged with Classpath.
7999         * java/net/SocketTimeoutException.java: Likewise.
8000         * java/net/URISyntaxException.java: Likewise.
8001         * java/net/SocketAddress.java: New class from Classpath.
8002         * java/net/InetSocketAddress.java: Likewise.
8003
8004 2003-08-21  Michael Koch  <konqueror@gmx.de>
8005
8006         * java/net/Authenticator.java: updated JDK 1.4
8007         * java/net/ContentHandler.java: updated JDK 1.4
8008
8009 2002-08-20  Michael Koch  <konqueror@gmx.de>
8010
8011         * java/net/URISyntaxException.java: New file.
8012         * java/net/SocketTimeoutException.java: New file.
8013         * java/net/PortUnreachableException.java: New file.
8014         * Makefile.am: Updated.
8015         * Makefile.in: Rebuilt.
8016
8017 2002-08-18  Mark Wielaard  <mark@klomp.org>
8018
8019         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8020         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8021         MessageDigestSpi (fixes Classpath bug #783).
8022
8023 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8024
8025         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8026         (startProcess): Allocate path for chdir in async-signal-safe way.
8027
8028 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8029
8030         Fix for PR libgcj/7570 and PR libgcj/7578:
8031         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8032         (startProcess): Handle new `dir' argument.
8033         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8034         argument.
8035         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8036         argument.
8037         (startProcess): Likewise.
8038         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8039         argument.
8040         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8041         (exec): Don't create new environment if ENV==null.  Pass DIR to
8042         execInternal.
8043         * java/lang/natRuntime.cc: Include java/io/File.h.
8044         (execInternal): Added `dir' argument.
8045
8046 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8047
8048         * java/io/RandomAccessFile.java (skipBytes): Return number of
8049         bytes skipped.
8050
8051 2002-08-01  Mark Wielaard  <mark@klomp.org>
8052
8053         Reenable patch since shared library troubles on powerpc are solved:
8054         * gnu/java/security/provider/Gnu.java: Reference all implementation
8055         classes by using Class.getName().
8056         * gnu/java/security/der/DEREncodingException.java,
8057         gnu/java/security/provider/DERReader.java,
8058         gnu/java/security/provider/DERWriter.java,
8059         gnu/java/security/provider/DSAKeyPairGenerator.java,
8060         gnu/java/security/provider/DSAParameterGenerator.java,
8061         gnu/java/security/provider/DSAParameters.java,
8062         gnu/java/security/provider/DSASignature.java,
8063         gnu/java/security/provider/GnuDSAPrivateKey.java,
8064         gnu/java/security/provider/GnuDSAPublicKey.java,
8065         gnu/java/security/provider/MD5.java,
8066         gnu/java/security/util/Prime.java: New classes
8067         * Makefile.am (ordinary_java_source_files): Add above files.
8068         * Makefile.in: Regenerate.
8069         * gnu/java/security/provider/DefaultPolicy.java
8070         (getPermissions): Don't maintain static class variable of Permissions.
8071         * gnu/java/security/provider/SHA.java
8072         (engineUpdate): algorithm change.
8073         (engineDigest): algorithm change.
8074
8075 2002-08-09  Mark Wielaard  <mark@klomp.org>
8076
8077         * java/awt/image/MemoryImageSource.java: Change constructor to take
8078         int[] not byte[].
8079         * java/awt/Graphics2D.java: Uncomment methods that can now be
8080         compiled.
8081         * java/awt/GridBagLayout.java: New stub implementation.
8082         * javax/swing/text/html/HTML.java: Stub implementation.
8083         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8084         implementation.
8085
8086         * Makefile.am: Add new files.
8087         * Makefile.in: Rebuilt.
8088
8089 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8090
8091         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8092         methods in Graphics2D.
8093
8094 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8095
8096         AWT/Swing merge from GNU Classpath.
8097
8098         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8099         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8100         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8101         java/awt/color/ProfileDataException.java,
8102         java/awt/CompositeContext.java, java/awt/Composite.java,
8103         java/awt/ContainerOrderFocusTraversalPolicy.java,
8104         java/awt/datatransfer/FlavorTable.java,
8105         java/awt/DefaultFocusTraversalPolicy.java,
8106         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8107         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8108         java/awt/dnd/DragGestureListener.java,
8109         java/awt/dnd/DragGestureRecognizer.java,
8110         java/awt/dnd/DragSourceAdapter.java,
8111         java/awt/dnd/DragSourceContext.java,
8112         java/awt/dnd/DragSourceDragEvent.java,
8113         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8114         java/awt/dnd/DragSourceListener.java,
8115         java/awt/dnd/DragSourceMotionListener.java,
8116         java/awt/dnd/DropTarget.java,
8117         java/awt/dnd/InvalidDnDOperationException.java,
8118         java/awt/dnd/peer/DragSourceContextPeer.java,
8119         java/awt/event/AWTEventListenerProxy.java,
8120         java/awt/event/MouseWheelEvent.java,
8121         java/awt/event/MouseWheelListener.java,
8122         java/awt/event/WindowFocusListener.java,
8123         java/awt/event/WindowStateListener.java,
8124         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8125         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8126         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8127         java/awt/geom/FlatteningPathIterator.java,
8128         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8129         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8130         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8131         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8132         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8133         java/awt/image/ImagingOpException.java,
8134         java/awt/image/RasterFormatException.java,
8135         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8136         java/awt/image/VolatileImage.java,
8137         java/awt/image/WritableRenderedImage.java,
8138         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8139         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8140         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8141         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8142         java/awt/PageAttributes.java, java/awt/print/Book.java,
8143         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8144         java/awt/print/Paper.java, java/awt/print/Printable.java,
8145         java/awt/print/PrinterAbortException.java,
8146         java/awt/print/PrinterException.java,
8147         java/awt/print/PrinterGraphics.java,
8148         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8149         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8150         java/awt/Stroke.java, java/awt/TexturePaint.java,
8151         javax/accessibility/AccessibleAction.java,
8152         javax/accessibility/AccessibleBundle.java,
8153         javax/accessibility/AccessibleComponent.java,
8154         javax/accessibility/AccessibleContext.java,
8155         javax/accessibility/AccessibleEditableText.java,
8156         javax/accessibility/AccessibleExtendedComponent.java,
8157         javax/accessibility/AccessibleExtendedTable.java,
8158         javax/accessibility/AccessibleHyperlink.java,
8159         javax/accessibility/AccessibleHypertext.java,
8160         javax/accessibility/AccessibleIcon.java,
8161         javax/accessibility/Accessible.java,
8162         javax/accessibility/AccessibleKeyBinding.java,
8163         javax/accessibility/AccessibleRelation.java,
8164         javax/accessibility/AccessibleRelationSet.java,
8165         javax/accessibility/AccessibleResourceBundle.java,
8166         javax/accessibility/AccessibleRole.java,
8167         javax/accessibility/AccessibleSelection.java,
8168         javax/accessibility/AccessibleState.java,
8169         javax/accessibility/AccessibleStateSet.java,
8170         javax/accessibility/AccessibleTable.java,
8171         javax/accessibility/AccessibleTableModelChange.java,
8172         javax/accessibility/AccessibleText.java,
8173         javax/accessibility/AccessibleValue.java,
8174         javax/swing/AbstractAction.java,
8175         javax/swing/AbstractButton.java,
8176         javax/swing/AbstractCellEditor.java,
8177         javax/swing/AbstractListModel.java,
8178         javax/swing/AbstractSet.java, javax/swing/Action.java,
8179         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8180         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8181         javax/swing/border/CompoundBorder.java,
8182         javax/swing/border/EmptyBorder.java,
8183         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8184         javax/swing/border/LineBorder.java,
8185         javax/swing/border/MatteBorder.java,
8186         javax/swing/border/TitledBorder.java,
8187         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8188         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8189         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8190         javax/swing/CellRendererPane.java,
8191         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8192         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8193         javax/swing/colorchooser/ColorSelectionModel.java,
8194         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8195         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8196         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8197         javax/swing/DefaultBoundedRangeModel.java,
8198         javax/swing/DefaultButtonModel.java,
8199         javax/swing/DefaultCellEditor.java,
8200         javax/swing/DefaultCellRenderer.java,
8201         javax/swing/DefaultComboBoxModel.java,
8202         javax/swing/DefaultDesktopManager.java,
8203         javax/swing/DefaultFocusManager.java,
8204         javax/swing/DefaultListCellRenderer.java,
8205         javax/swing/DefaultListModel.java,
8206         javax/swing/DefaultListSelectionModel.java,
8207         javax/swing/DefaultSingleSelectionModel.java,
8208         javax/swing/DesktopManager.java,
8209         javax/swing/event/AncestorEvent.java,
8210         javax/swing/event/AncestorListener.java,
8211         javax/swing/event/CaretEvent.java,
8212         javax/swing/event/CaretListener.java,
8213         javax/swing/event/CellEditorListener.java,
8214         javax/swing/event/ChangeEvent.java,
8215         javax/swing/event/ChangeListener.java,
8216         javax/swing/event/DocumentEvent.java,
8217         javax/swing/event/DocumentListener.java,
8218         javax/swing/event/EventListenerList.java,
8219         javax/swing/event/HyperlinkEvent.java,
8220         javax/swing/event/HyperlinkListener.java,
8221         javax/swing/event/InternalFrameAdapter.java,
8222         javax/swing/event/InternalFrameEvent.java,
8223         javax/swing/event/InternalFrameListener.java,
8224         javax/swing/event/ListDataEvent.java,
8225         javax/swing/event/ListDataListener.java,
8226         javax/swing/event/ListSelectionEvent.java,
8227         javax/swing/event/ListSelectionListener.java,
8228         javax/swing/event/MenuDragMouseEvent.java,
8229         javax/swing/event/MenuDragMouseListener.java,
8230         javax/swing/event/MenuEvent.java,
8231         javax/swing/event/MenuKeyEvent.java,
8232         javax/swing/event/MenuKeyListener.java,
8233         javax/swing/event/MenuListener.java,
8234         javax/swing/event/MouseInputAdapter.java,
8235         javax/swing/event/MouseInputListener.java,
8236         javax/swing/event/PopupMenuEvent.java,
8237         javax/swing/event/PopupMenuListener.java,
8238         javax/swing/event/SwingPropertyChangeSupport.java,
8239         javax/swing/event/TableColumnModelEvent.java,
8240         javax/swing/event/TableColumnModelListener.java,
8241         javax/swing/event/TableModelEvent.java,
8242         javax/swing/event/TableModelListener.java,
8243         javax/swing/event/TreeExpansionEvent.java,
8244         javax/swing/event/TreeExpansionListener.java,
8245         javax/swing/event/TreeModelEvent.java,
8246         javax/swing/event/TreeModelListener.java,
8247         javax/swing/event/TreeSelectionEvent.java,
8248         javax/swing/event/TreeSelectionListener.java,
8249         javax/swing/event/TreeWillExpandListener.java,
8250         javax/swing/event/UndoableEditEvent.java,
8251         javax/swing/event/UndoableEditListener.java,
8252         javax/swing/filechooser/FileFilter.java,
8253         javax/swing/filechooser/FileSystemView.java,
8254         javax/swing/filechooser/FileView.java,
8255         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8256         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8257         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8258         javax/swing/JApplet.java, javax/swing/JButton.java,
8259         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8260         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8261         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8262         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8263         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8264         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8265         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8266         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8267         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8268         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8269         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8270         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8271         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8272         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8273         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8274         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8275         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8276         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8277         javax/swing/JToolTip.java, javax/swing/JTree.java,
8278         javax/swing/JViewport.java, javax/swing/JWindow.java,
8279         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8280         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8281         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8282         javax/swing/MenuSelectionManager.java,
8283         javax/swing/MutableComboBoxModel.java,
8284         javax/swing/OverlayLayout.java,
8285         javax/swing/plaf/ActionMapUIResource.java,
8286         javax/swing/plaf/basic/BasicBorders.java,
8287         javax/swing/plaf/basic/BasicButtonUI.java,
8288         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8289         javax/swing/plaf/basic/BasicDefaults.java,
8290         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8291         javax/swing/plaf/basic/BasicIconFactory.java,
8292         javax/swing/plaf/basic/BasicLabelUI.java,
8293         javax/swing/plaf/basic/BasicListUI.java,
8294         javax/swing/plaf/basic/BasicLookAndFeel.java,
8295         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8296         javax/swing/plaf/basic/BasicPanelUI.java,
8297         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8298         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8299         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8300         javax/swing/plaf/basic/BasicTextUI.java,
8301         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8302         javax/swing/plaf/basic/BasicTreeUI.java,
8303         javax/swing/plaf/basic/BasicViewportUI.java,
8304         javax/swing/plaf/BorderUIResource.java,
8305         javax/swing/plaf/ButtonUI.java,
8306         javax/swing/plaf/ColorChooserUI.java,
8307         javax/swing/plaf/ColorUIResource.java,
8308         javax/swing/plaf/ComboBoxUI.java,
8309         javax/swing/plaf/ComponentInputMapUIResource.java,
8310         javax/swing/plaf/ComponentUI.java,
8311         javax/swing/plaf/DesktopIconUI.java,
8312         javax/swing/plaf/DesktopPaneUI.java,
8313         javax/swing/plaf/DimensionUIResource.java,
8314         javax/swing/plaf/FileChooserUI.java,
8315         javax/swing/plaf/FontUIResource.java,
8316         javax/swing/plaf/IconUIResource.java,
8317         javax/swing/plaf/InputMapUIResource.java,
8318         javax/swing/plaf/InsetsUIResource.java,
8319         javax/swing/plaf/InternalFrameUI.java,
8320         javax/swing/plaf/LabelUI.java,
8321         javax/swing/plaf/ListUI.java,
8322         javax/swing/plaf/MenuBarUI.java,
8323         javax/swing/plaf/MenuItemUI.java,
8324         javax/swing/plaf/OptionPaneUI.java,
8325         javax/swing/plaf/PanelUI.java,
8326         javax/swing/plaf/PopupMenuUI.java,
8327         javax/swing/plaf/ProgressBarUI.java,
8328         javax/swing/plaf/RootPaneUI.java,
8329         javax/swing/plaf/ScrollBarUI.java,
8330         javax/swing/plaf/ScrollPaneUI.java,
8331         javax/swing/plaf/SeparatorUI.java,
8332         javax/swing/plaf/SliderUI.java,
8333         javax/swing/plaf/SplitPaneUI.java,
8334         javax/swing/plaf/TabbedPaneUI.java,
8335         javax/swing/plaf/TableHeaderUI.java,
8336         javax/swing/plaf/TableUI.java,
8337         javax/swing/plaf/TextUI.java,
8338         javax/swing/plaf/ToolBarUI.java,
8339         javax/swing/plaf/ToolTipUI.java,
8340         javax/swing/plaf/TreeUI.java,
8341         javax/swing/plaf/UIResource.java,
8342         javax/swing/plaf/ViewportUI.java,
8343         javax/swing/ProgressMonitorInputStream.java,
8344         javax/swing/ProgressMonitor.java,
8345         javax/swing/Renderer.java,
8346         javax/swing/RepaintManager.java,
8347         javax/swing/RootPaneContainer.java,
8348         javax/swing/Scrollable.java,
8349         javax/swing/ScrollPaneConstants.java,
8350         javax/swing/ScrollPaneLayout.java,
8351         javax/swing/SingleSelectionModel.java,
8352         javax/swing/SizeRequirements.java,
8353         javax/swing/SizeSequence.java,
8354         javax/swing/SwingConstants.java,
8355         javax/swing/SwingUtilities.java,
8356         javax/swing/table/AbstractTableModel.java,
8357         javax/swing/table/DefaultTableCellRenderer.java,
8358         javax/swing/table/DefaultTableColumnModel.java,
8359         javax/swing/table/DefaultTableModel.java,
8360         javax/swing/table/TableCellEditor.java,
8361         javax/swing/table/TableCellRenderer.java,
8362         javax/swing/table/TableColumn.java,
8363         javax/swing/table/TableColumnModel.java,
8364         javax/swing/table/TableModel.java,
8365         javax/swing/text/AbstractDocument.java,
8366         javax/swing/text/AttributeSet.java,
8367         javax/swing/text/BadLocationException.java,
8368         javax/swing/text/Caret.java,
8369         javax/swing/text/CharacterIterator.java,
8370         javax/swing/text/ComponentView.java,
8371         javax/swing/text/DefaultCaret.java,
8372         javax/swing/text/DefaultEditorKit.java,
8373         javax/swing/text/Document.java,
8374         javax/swing/text/EditorKit.java,
8375         javax/swing/text/Element.java,
8376         javax/swing/text/GapContent.java,
8377         javax/swing/text/JTextComponent.java,
8378         javax/swing/text/Keymap.java,
8379         javax/swing/text/MutableAttributeSet.java,
8380         javax/swing/text/PlainDocument.java,
8381         javax/swing/text/PlainEditorKit.java,
8382         javax/swing/text/Position.java,
8383         javax/swing/text/Segment.java,
8384         javax/swing/text/StyledDocument.java,
8385         javax/swing/text/StyledEditorKit.java,
8386         javax/swing/text/Style.java,
8387         javax/swing/text/TextAction.java,
8388         javax/swing/text/ViewFactory.java,
8389         javax/swing/text/View.java,
8390         javax/swing/Timer.java,
8391         javax/swing/ToggleButtonModel.java,
8392         javax/swing/ToolTipManager.java,
8393         javax/swing/tree/AbstractLayoutCache.java,
8394         javax/swing/tree/DefaultMutableTreeNode.java,
8395         javax/swing/tree/DefaultTreeCellEditor.java,
8396         javax/swing/tree/DefaultTreeCellRenderer.java,
8397         javax/swing/tree/DefaultTreeModel.java,
8398         javax/swing/tree/DefaultTreeSelectionModel.java,
8399         javax/swing/tree/ExpandVetoException.java,
8400         javax/swing/tree/FixedHeightLayoutCache.java,
8401         javax/swing/tree/MutableTreeNode.java,
8402         javax/swing/tree/RowMapper.java,
8403         javax/swing/tree/TreeCellEditor.java,
8404         javax/swing/tree/TreeCellRenderer.java,
8405         javax/swing/tree/TreeModel.java,
8406         javax/swing/tree/TreeNode.java,
8407         javax/swing/tree/TreePath.java,
8408         javax/swing/tree/TreeSelectionModel.java,
8409         javax/swing/tree/VariableHeightLayoutCache.java,
8410         javax/swing/UIDefaults.java,
8411         javax/swing/UIManager.java,
8412         javax/swing/undo/AbstractUndoableEdit.java,
8413         javax/swing/undo/CannotRedoException.java,
8414         javax/swing/undo/CannotUndoException.java,
8415         javax/swing/undo/CompoundEdit.java,
8416         javax/swing/undo/StateEditable.java,
8417         javax/swing/undo/StateEdit.java,
8418         javax/swing/undo/UndoableEdit.java,
8419         javax/swing/undo/UndoableEditSupport.java,
8420         javax/swing/undo/UndoManager.java,
8421         javax/swing/UnsupportedLookAndFeelException.java,
8422         javax/swing/ViewportLayout.java,
8423         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8424
8425         * java/awt/ActiveEvent.java,
8426         java/awt/Adjustable.java, java/awt/AWTError.java,
8427         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8428         java/awt/AWTException.java, java/awt/AWTPermission.java,
8429         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8430         java/awt/Color.java, java/awt/Component.java,
8431         java/awt/ComponentOrientation.java, java/awt/Container.java,
8432         java/awt/datatransfer/MimeTypeParseException.java,
8433         java/awt/datatransfer/Transferable.java,
8434         java/awt/datatransfer/UnsupportedFlavorException.java,
8435         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8436         java/awt/event/ActionListener.java,
8437         java/awt/event/AdjustmentEvent.java,
8438         java/awt/event/AdjustmentListener.java,
8439         java/awt/event/AWTEventListener.java,
8440         java/awt/event/ComponentAdapter.java,
8441         java/awt/event/ComponentEvent.java,
8442         java/awt/event/ComponentListener.java,
8443         java/awt/event/ContainerAdapter.java,
8444         java/awt/event/ContainerEvent.java,
8445         java/awt/event/ContainerListener.java,
8446         java/awt/event/FocusAdapter.java,
8447         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8448         java/awt/event/HierarchyBoundsAdapter.java,
8449         java/awt/event/HierarchyBoundsListener.java,
8450         java/awt/event/HierarchyEvent.java,
8451         java/awt/event/HierarchyListener.java,
8452         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8453         java/awt/event/InputMethodListener.java,
8454         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8455         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8456         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8457         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8458         java/awt/event/MouseListener.java,
8459         java/awt/event/MouseMotionAdapter.java,
8460         java/awt/event/MouseMotionListener.java,
8461         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8462         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8463         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8464         java/awt/event/WindowListener.java, java/awt/Font.java,
8465         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8466         java/awt/geom/Ellipse2D.java,
8467         java/awt/geom/IllegalPathStateException.java,
8468         java/awt/geom/Line2D.java,
8469         java/awt/geom/NoninvertibleTransformException.java,
8470         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8471         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8472         java/awt/geom/RoundRectangle2D.java,
8473         java/awt/GraphicsConfiguration.java,
8474         java/awt/IllegalComponentStateException.java,
8475         java/awt/image/IndexColorModel.java,
8476         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8477         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8478         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8479         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8480         java/awt/MenuItem.java, java/awt/PaintContext.java,
8481         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8482         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8483         java/awt/PrintJob.java, java/awt/Rectangle.java,
8484         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8485         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8486         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8487
8488         * java/awt/im/spi/InputMethod.java,
8489         java/awt/im/spi/InputMethodContext.java,
8490         java/awt/im/spi/InputMethodDescriptor.java,
8491         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8492         java/awt/image/renderable/ParameterBlock.java,
8493         java/awt/image/renderable/RenderContext.java,
8494         java/awt/image/renderable/RenderableImage.java,
8495         java/awt/image/renderable/RenderableImageOp.java,
8496         java/awt/image/renderable/RenderableImageProducer.java,
8497         java/awt/image/renderable/RenderedImageFactory.java: New files from
8498         classpath.
8499
8500         * gnu/java/awt/EventModifier.java,
8501         gnu/java/awt/image/ImageDecoder.java,
8502         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8503
8504         * gnu/awt/xlib/XGraphicsConfiguration.java,
8505         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8506         API.
8507
8508         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8509         GNU Classpath.
8510
8511         * Makefile.am: Add new files.
8512         * Makefile.in: Rebuilt.
8513
8514 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8515
8516         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8517         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8518         findResource, getResources, findResources): Add javadoc from classpath.
8519         (getSystemResources): Implemented.
8520
8521 2002-08-01  Mark Wielaard  <mark@klomp.org>
8522
8523         Revert patch that breaks libgcj shared library on powerpc:
8524         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8525         implementation classes by using Class.getName(). Uses Strings again.
8526         * gnu/java/security/der/DEREncodingException.java,
8527         gnu/java/security/provider/DERReader.java,
8528         gnu/java/security/provider/DERWriter.java,
8529         gnu/java/security/provider/DSAKeyPairGenerator.java,
8530         gnu/java/security/provider/DSAParameterGenerator.java,
8531         gnu/java/security/provider/DSAParameters.java,
8532         gnu/java/security/provider/DSASignature.java,
8533         gnu/java/security/provider/GnuDSAPrivateKey.java,
8534         gnu/java/security/provider/GnuDSAPublicKey.java,
8535         gnu/java/security/provider/MD5.java,
8536         gnu/java/security/util/Prime.java: Removed.
8537         * Makefile.am (ordinary_java_source_files): Remove above files.
8538         * Makefile.in: Regenerate.
8539         * gnu/java/security/provider/DefaultPolicy.java
8540         (getPermissions): Revert to maintaining static class variable of
8541         Permissions.
8542         * gnu/java/security/provider/SHA.java
8543         (engineUpdate): Revert algorithm change.
8544         (engineDigest): Revert algorithm change.
8545
8546 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8547
8548         * configure.host: Add SH support.
8549         * sysdep/sh/locks.h: New file.
8550
8551 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8552
8553         * java/awt/Frame.java (Frame): Remove println calls.
8554
8555 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8556
8557         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8558         * configure: Rebuilt.
8559
8560 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8561
8562         * sysdep/powerpc/locks.h: Formatting.
8563         (_LARX): Define.
8564         (_STCX): Define.
8565         (compare_and_swap): Use _LARX and _STCX.
8566         (compare_and_swap_release): Likewise.
8567
8568 2002-07-26  Tom Tromey  <tromey@redhat.com>
8569
8570         * java/net/Authenticator.java: New version from Classpath.
8571         * java/net/DatagramSocketImpl.java: New version from Classpath.
8572
8573 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8574
8575         * configure.host: Add powerpc64*-* entry.
8576
8577 2002-07-26  Tom Tromey  <tromey@redhat.com>
8578
8579         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8580         fcntl.h.
8581
8582 2002-07-24  Tom Tromey  <tromey@redhat.com>
8583
8584         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8585         argument to _load.
8586
8587 2002-07-24  Tom Tromey  <tromey@redhat.com>
8588             Tony Kimball <alk@pobox.com>
8589
8590         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8591         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8592         * java/io/RandomAccessFile.java (setLength): New method.
8593         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8594         * java/io/FileDescriptor.java (setLength): New method.
8595
8596 2002-07-24  Mark Wielaard  <mark@klomp.org>
8597
8598         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8599         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8600         field call setAccessible(true).
8601         (setByteField): Likewise.
8602         (setCharField): Likewise.
8603         (setDoubleField): Likewise.
8604         (setFloatField): Likewise.
8605         (setIntField): Likewise.
8606         (setLongField): Likewise.
8607         (setShortField): Likewise.
8608         (setObjectField): Likewise.
8609
8610 2002-07-24  Tom Tromey  <tromey@redhat.com>
8611
8612         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8613         use toString() to format array element.
8614
8615 2002-07-23  Mark Wielaard  <mark@klomp.org>
8616
8617         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8618         MessageDigestSpi (fixes Classpath bug #783).
8619
8620 2002-07-21  Mark Wielaard  <mark@klomp.org>
8621
8622         * gnu/java/security/provider/Gnu.java: Reference all implementation
8623         classes by using Class.getName().
8624
8625 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8626
8627         * java/lang/ieeefp.h: Add x86-64 support.
8628         * configure.in: Likewise.
8629         * configure.host: Likewise.
8630         * configure: Regenerated.
8631         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8632
8633 2002-07-16  Mark Wielaard  <mark@klomp.org>
8634
8635         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8636         (whitespaceChars): call resetChar().
8637
8638 2002-07-15  Tom Tromey  <tromey@redhat.com>
8639
8640         * Makefile.in: Rebuilt.
8641         * Makefile.am (awt_java_source_files): Added new files.
8642         * java/beans/ExceptionListener.java: Merged with Classpath.
8643         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8644         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8645         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8646         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8647         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8648         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8649         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8650
8651 2002-07-14  Mark Wielaard  <mark@klomp.org>
8652
8653         * gnu/java/security/der/DEREncodingException.java,
8654         gnu/java/security/provider/DERReader.java,
8655         gnu/java/security/provider/DERWriter.java,
8656         gnu/java/security/provider/DSAKeyPairGenerator.java,
8657         gnu/java/security/provider/DSAParameterGenerator.java,
8658         gnu/java/security/provider/DSAParameters.java,
8659         gnu/java/security/provider/DSASignature.java,
8660         gnu/java/security/provider/GnuDSAPrivateKey.java,
8661         gnu/java/security/provider/GnuDSAPublicKey.java,
8662         gnu/java/security/provider/MD5.java,
8663         gnu/java/security/util/Prime.java: New files from Classpath.
8664         * Makefile.am (ordinary_java_source_files): Add new files.
8665         * Makefile.in: Regenerate.
8666
8667 2002-07-14  C. Brian Jones <cbj@gnu.org>
8668
8669         * gnu/java/security/provider/DefaultPolicy.java
8670         (getPermissions): do not maintain static class variable of
8671         Permissions
8672         * gnu/java/security/provider/SHA.java
8673         (engineUpdate): algorithm change
8674         (engineDigest): algorithm change
8675
8676 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8677
8678         For PR libgcj/7292:
8679         * java/lang/Character.java (toString(char)): Now static.
8680
8681 2002-07-12  Mark Wielaard  <mark@klomp.org>
8682
8683         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8684         (getStackTrace0): new method.
8685         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8686         (printStackTrace(PrintWriter)): replace with pure java implementation.
8687         (printRawStackTrace): removed.
8688         (getStackTrace0): new method.
8689         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8690         * gcj/javaprims.h: regenerate class list.
8691         * include/name-finder.h (lookup): new returns StackTraceElement*.
8692         (method_name, file_name): fields removed.
8693         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8694         (~_Jv_name_finder): close new descriptors.
8695         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8696         (createStackTraceElement): new method.
8697         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8698
8699 2002-07-10  Tom Tromey  <tromey@redhat.com>
8700
8701         * configure: Rebuilt.
8702         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8703
8704 2002-07-08  Mark Wielaard  <mark@klomp.org>
8705
8706         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8707         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8708         java.sql.DatabaseMetaData.TestJdbc20
8709
8710 2002-07-05  Tony Kimball  <alk@pobox.com>
8711
8712         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8713
8714 2002-07-04  Tom Tromey  <tromey@redhat.com>
8715             Jeff Sturm  <jsturm@one-point.com>
8716
8717         Fix for PR libgcj/7060:
8718         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8719         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8720         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8721         * java/lang/Class.java (getMethod): New Java implementation;
8722         complies with spec.
8723         (_getMethod): New native method.
8724
8725 2002-07-02  Tom Tromey  <tromey@redhat.com>
8726             David Hovemeyer  <daveho@cs.umd.edu>
8727
8728         * java/text/ChoiceFormat.java
8729         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8730         in check loop.
8731         * java/text/MessageFormat.java
8732         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8733         to MessageFormat.
8734
8735 2002-07-01  Tom Tromey  <tromey@redhat.com>
8736
8737         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8738         StringTokenizer on null string.  For PR libgcj/7180.
8739         From daveho@cs.umd.edu.
8740
8741 2002-06-24  Tom Tromey  <tromey@redhat.com>
8742
8743         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8744         (IntegerClass): Likewise.
8745         * java/lang/natClass.cc (CloneableClass): Removed.
8746         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8747         ConstructorClass): Likewise.
8748         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8749         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8750         SerializableClass): Likewise.
8751         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8752         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8753         LongClass, FloatClass, DoubleClass): Likewise.
8754
8755         * verify.cc (branch_prepass): Updated for change to exception
8756         handler type.
8757         (verify_instructions_0): Likewise.
8758         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8759         (handleExceptionTableEntry): Updated for change to exception
8760         handler type.
8761         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8762         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8763         (union _Jv_InterpPC): New.
8764         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8765         (class _Jv_InterpMethod): Added new `prepared' field.
8766         (class _Jv_InterpMethod): Added `compile' method.  Removed
8767         `continue1' and `find_exception'.  Changed arguments to `run'.
8768         * interpret.cc (union insn_slot): New.
8769         (find_exception): Removed.
8770         (run_normal): Removed most logic.
8771         (run_synch_object): Likewise; also, use JvSynchronize.
8772         (run_synch_class): Likewise.
8773         (run): Removed.
8774         (continue1): Renamed as `run'.  Compile bytecode if required.
8775         Add new code to allow refinement of direct-threaded code at
8776         runtime.  Handle exceptions.
8777         (SAVE_PC): Removed.
8778         (compile): New method.
8779         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8780         (NULLARRAYCHECK): Don't use SAVE_PC.
8781         (pc_t): New typedef.
8782         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8783         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8784
8785 2002-06-23  Tom Tromey  <tromey@redhat.com>
8786
8787         * configure: Rebuilt.
8788         * configure.in (INTERPRETER): New subst.
8789         (AM_RUNTESTFLAGS): Don't subst.
8790
8791         * Makefile.in: Rebuilt.
8792         * Makefile.am ($(srcdir)/java/lang/Object.h,
8793         $(srcdir)/java/lang/Class.h): Added dummy targets.
8794
8795 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8796
8797         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8798
8799         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8800         java/sql/Savepoint.java: New files.
8801         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8802         java/sql/Blob.java, java/sql/CallableStatement.java,
8803         java/sql/Clob.java, java/sql/Connection.java,
8804         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8805         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8806         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8807         java/sql/Ref.java, java/sql/ResultSet.java,
8808         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8809         java/sql/SQLException.java, java/sql/SQLInput.java,
8810         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8811         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8812         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8813         (JDK 1.4) specification.
8814         * javax/sql/ConnectionEvent.java,
8815         javax/sql/ConnectionEventListener.java,
8816         javax/sql/ConnectionPoolDataSource.java,
8817         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8818         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8819         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8820         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8821         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8822         javax/sql/XADataSource.java: New files.
8823         * Makefile.am: Add new files.
8824         * Makefile.in: Rebuilt.
8825
8826 2002-06-20  Tom Tromey  <tromey@redhat.com>
8827
8828         For PR libgcj/7073:
8829         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8830         exists.
8831         * defineclass.cc (handleClassBegin): Superclass for interface is
8832         `null'.
8833
8834 2002-06-18  Tom Tromey  <tromey@redhat.com>
8835
8836         * gcj/javaprims.h: Updated class declaration list.
8837         * Makefile.in: Rebuilt.
8838         * Makefile.am (core_java_source_files): Removed
8839         BasicMapEntry.java.
8840         * java/util/BasicMapEntry.java: Removed.
8841
8842 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8843
8844         * java/net/natPlainDatagramSocketImpl.cc (receive):
8845         Check bounds of argument to FD_SET.
8846         (setOption): Throw exception if socket is closed.
8847
8848         * java/net/natPlainSocketImpl.cc (accept, read):
8849         Check bounds of argument to FD_SET.
8850         (setOption): Throw exception if socket is closed.
8851
8852 2002-06-18  Tom Tromey  <tromey@redhat.com>
8853
8854         * gcj/javaprims.h: Updated class declaration list.
8855         * Makefile.in: Rebuilt.
8856         * Makefile.am (core_java_source_files): Added
8857         PropertyPermissionCollection.java.
8858         * java/lang/Thread.java (group, name): Now package-private.
8859         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8860         * java/util/AbstractList.java: Likewise.
8861         * java/util/AbstractMap.java: Likewise.
8862         * java/util/Calendar.java: Likewise.
8863         * java/util/Collections.java: Likewise.
8864         * java/util/HashMap.java: Likewise.
8865         * java/util/Hashtable.java: Likewise.
8866         * java/util/LinkedHashMap.java: Likewise.
8867         * java/util/LinkedList.java: Likewise.
8868         * java/util/List.java: Likewise.
8869         * java/util/ListResourceBundle.java: Likewise.
8870         * java/util/Map.java: Likewise.
8871         * java/util/Observable.java: Likewise.
8872         * java/util/Properties.java: Likewise.
8873         * java/util/PropertyPermission.java: Likewise.
8874         * java/util/PropertyPermissionCollection.java: Likewise.
8875         * java/util/PropertyResourceBundle.java: Likewise.
8876         * java/util/Random.java: Likewise.
8877         * java/util/SimpleTimeZone.java: Likewise.
8878         * java/util/StringTokenizer.java: Likewise.
8879         * java/util/TimerTask.java: Likewise.
8880         * java/util/TreeMap.java: Likewise.
8881         * java/util/WeakHashMap.java: Likewise.
8882         * java/util/jar/Attributes.java: Likewise.
8883         * java/util/jar/JarException.java: Likewise.
8884         * java/util/jar/Manifest.java: Likewise.
8885
8886 2002-06-17  Tom Tromey  <tromey@redhat.com>
8887
8888         * gcj/javaprims.h: Updated class declaration list.
8889         * Makefile.in: Rebuilt.
8890         * Makefile.am (core_java_source_files): Added new file.
8891         * java/util/EventListenerProxy.java: New file.
8892         * java/util/EventListener.java: Re-merge with Classpath.
8893         * java/util/EventObject.java: Re-merge with Classpath.
8894
8895 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8896
8897         * java/lang/ClassNotFoundException.java: New Classpath version.
8898
8899 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8900
8901         * java/rmi/activation/ActivateFailedException.java: Remerge from
8902         Classpath version.
8903         * java/rmi/activation/ActivationException.java: Ditto.
8904         * java/rmi/activation/UnknownGroupException.java: Ditto.
8905         * java/rmi/activation/UnknownObjectException.java: Ditto.
8906         * java/rmi/server/ExportException: Ditto.
8907         * java/rmi/server/ServerCloneException: Ditto.
8908         * java/rmi/server/ServerNotActiveException: Ditto.
8909         * java/rmi/server/SkeletonMismatchException: Ditto.
8910         * java/rmi/server/SkeletonNotFoundException: Ditto.
8911         * java/rmi/server/SocketSecurityException: Ditto.
8912
8913 2002-06-16  Tom Tromey  <tromey@redhat.com>
8914
8915         * gcj/javaprims.h: Updated class declaration list.
8916
8917         * java/io/LineNumberInputStream.java: Merged with Classpath.
8918
8919         * java/lang/RuntimeException.java: Re-merge with Classpath.
8920         * java/util/ArrayList.java: Likewise.
8921         * java/util/Arrays.java: Likewise.
8922         * java/util/BitSet.java: Likewise.
8923         * java/util/Dictionary.java: Likewise.
8924         * java/util/IdentityHashMap.java: Likewise.
8925         * java/util/MissingResourceException.java: Likewise.
8926         * java/util/Observer.java: Likewise.
8927         * java/util/TooManyListenersException.java: Likewise.
8928         * java/util/zip/DataFormatException.java: Likewise.
8929         * java/util/zip/ZipException.java: Likewise.
8930
8931 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8932
8933         * java/rmi/AccessException.java: Remerge from Classpath.
8934         * java/rmi/AlreadyBoundException.java: Ditto.
8935         * java/rmi/ConnectException.java: Ditto.
8936         * java/rmi/ConnectIOException.java: Ditto.
8937         * java/rmi/MarshalException.java: Ditto.
8938         * java/rmi/NoSuchObjectException.java: Ditto.
8939         * java/rmi/NotBoundException.java: Ditto.
8940         * java/rmi/RemoteException.java: Ditto.
8941         * java/rmi/RMISecurityException.java: Ditto.
8942         * java/rmi/ServerError.java: Ditto.
8943         * java/rmi/ServerException.java: Ditto.
8944         * java/rmi/ServerRuntimeException.java: Ditto.
8945         * java/rmi/StubNotFoundException.java: Ditto.
8946         * java/rmi/UnexpectedExcpetion.java: Ditto.
8947         * java/rmi/UnknownHostException.java: Ditto.
8948         * java/rmi/UnmarshalException.java: Ditto.
8949
8950 2002-06-15  Tom Tromey  <tromey@redhat.com>
8951
8952         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8953         * java/lang/ArithmeticException.java: Likewise.
8954         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8955         * java/lang/ArrayStoreException.java: Likewise.
8956         * java/lang/Byte.java: Likewise.
8957         * java/lang/CharSequence.java: Likewise.
8958         * java/lang/ClassCastException.java: Likewise.
8959         * java/lang/ClassCircularityError.java: Likewise.
8960         * java/lang/ClassFormatError.java: Likewise.
8961         * java/lang/CloneNotSupportedException.java: Likewise.
8962         * java/lang/Cloneable.java: Likewise.
8963         * java/lang/Comparable.java: Likewise.
8964         * java/lang/Compiler.java: Likewise.
8965         * java/lang/Error.java: Likewise.
8966         * java/lang/ExceptionInInitializerError.java: Likewise.
8967         * java/lang/IllegalAccessError.java: Likewise.
8968         * java/lang/IllegalAccessException.java: Likewise.
8969         * java/lang/IllegalArgumentException.java: Likewise.
8970         * java/lang/IllegalMonitorStateException.java: Likewise.
8971         * java/lang/IllegalStateException.java: Likewise.
8972         * java/lang/IllegalThreadStateException.java: Likewise.
8973         * java/lang/IncompatibleClassChangeError.java: Likewise.
8974         * java/lang/IndexOutOfBoundsException.java: Likewise.
8975         * java/lang/InheritableThreadLocal.java: Likewise.
8976         * java/lang/InstantiationError.java: Likewise.
8977         * java/lang/InstantiationException.java: Likewise.
8978         * java/lang/InternalError.java: Likewise.
8979         * java/lang/InterruptedException.java: Likewise.
8980         * java/lang/LinkageError.java: Likewise.
8981         * java/lang/NegativeArraySizeException.java: Likewise.
8982         * java/lang/NoClassDefFoundError.java: Likewise.
8983         * java/lang/NoSuchFieldError.java: Likewise.
8984         * java/lang/NoSuchFieldException.java: Likewise.
8985         * java/lang/NoSuchMethodError.java: Likewise.
8986         * java/lang/NoSuchMethodException.java: Likewise.
8987         * java/lang/NullPointerException.java: Likewise.
8988         * java/lang/NumberFormatException.java: Likewise.
8989         * java/lang/OutOfMemoryError.java: Likewise.
8990         * java/lang/Process.java: Likewise.
8991         * java/lang/Runnable.java: Likewise.
8992         * java/lang/RuntimePermission.java: Likewise.
8993         * java/lang/SecurityException.java: Likewise.
8994         * java/lang/Short.java: Likewise.
8995         * java/lang/StackOverflowError.java: Likewise.
8996         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8997         * java/lang/ThreadDeath.java: Likewise.
8998         * java/lang/ThreadLocal.java: Likewise.
8999         * java/lang/UnknownError.java: Likewise.
9000         * java/lang/UnsatisfiedLinkError.java: Likewise.
9001         * java/lang/UnsupportedClassVersionError.java: Likewise.
9002         * java/lang/UnsupportedOperationException.java: Likewise.
9003         * java/lang/VerifyError.java: Likewise.
9004         * java/lang/VirtualMachineError.java: Likewise.
9005         * java/lang/reflect/InvocationTargetException.java: Likewise.
9006         * java/net/BindException.java: Likewise.
9007         * java/net/ConnectException.java: Likewise.
9008         * java/net/MalformedURLException.java: Likewise.
9009         * java/net/NoRouteToHostException.java: Likewise.
9010         * java/net/ProtocolException.java: Likewise.
9011         * java/net/SocketException.java: Likewise.
9012         * java/net/UnknownHostException.java: Likewise.
9013         * java/net/UnknownServiceException.java: Likewise.
9014
9015         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9016         * java/io/CharConversionException.java: Likewise.
9017         * java/io/EOFException.java: Likewise.
9018         * java/io/FileNotFoundException.java: Likewise.
9019         * java/io/IOException.java: Likewise.
9020         * java/io/InterruptedIOException.java: Likewise.
9021         * java/io/InvalidClassException.java: Likewise.
9022         * java/io/InvalidObjectException.java: Likewise.
9023         * java/io/NotActiveException.java: Likewise.
9024         * java/io/NotSerializableException.java: Likewise.
9025         * java/io/ObjectStreamException.java: Likewise.
9026         * java/io/ObjectStreamConstants.java: Likewise.
9027         * java/io/OptionalDataException.java: Likewise.
9028         * java/io/PipedInputStream.java: Likewise.
9029         * java/io/PushbackInputStream.java: Likewise.
9030         * java/io/StreamCorruptedException.java: Likewise.
9031         * java/io/SyncFailedException.java: Likewise.
9032         * java/io/UTFDataFormatException.java: Likewise.
9033         * java/io/UnsupportedEncodingException.java: Likewise.
9034         * java/io/WriteAbortedException.java: Likewise.
9035
9036 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9037
9038         * java/text/ChoiceFormat.java: Update comments from Classpath.
9039         * java/text/ParseException.java (serialVersionUID): New
9040         field from Classpath.
9041         * java/text/ParseException.java: Update formatting & comments
9042         from Classpath.
9043
9044 2002-06-15  Tom Tromey  <tromey@redhat.com>
9045
9046         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9047         been read but none output by inflater.
9048         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9049         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9050         is_finished.
9051         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9052         version.
9053         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9054         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9055         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9056         version.
9057         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9058
9059 2002-06-13  Tom Tromey  <tromey@redhat.com>
9060
9061         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9062         true and OFFSET!=0.
9063         * java/lang/String.java (String(char[],int,int,boolean): New
9064         constructor.
9065         * java/lang/Long.java: Imported new version from Classpath.
9066         * java/lang/Number.java: Likewise.
9067         * java/lang/Integer.java: Likewise.
9068         * java/lang/Long.java: Likewise.
9069         * java/lang/Float.java: Likewise.
9070         * java/lang/Boolean.java: Likewise.
9071         * java/lang/Double.java: Likewise.
9072         * java/lang/Void.java: Likewise.
9073
9074 2002-06-12  Tom Tromey  <tromey@redhat.com>
9075
9076         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9077         Fixes PR libgcj/6652.
9078
9079 2002-06-10  Tom Tromey  <tromey@redhat.com>
9080
9081         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9082         (Class::getPackagePortion): Likewise.
9083         * java/lang/Class.java (desiredAssertionStatus): New method from
9084         Classpath.
9085         (getPackagePortion): Likewise.
9086         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9087         packageAssertionStatus, classAssertionStatus): New methods from
9088         Classpath.
9089         * java/lang/ClassLoader.java (defaultAssertionStatus,
9090         systemPackageAssertionStatus, packageAssertionStatus,
9091         systemClassAssertionStatus, classAssertionStatus): New fields from
9092         Classpath.
9093         (setDefaultAssertionStatus, setPackageAssertionStatus,
9094         setClassAssertionStatus, clearAssertionStatus): New methods from
9095         Classpath.
9096         * Makefile.in: Rebuilt.
9097         * Makefile.am (core_java_source_files): Added AssertionError.java.
9098         * java/lang/AssertionError.java: New from Classpath.
9099
9100 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9101
9102         * configure.host: Disable hash synchronization and slow_pthread_self
9103         for cygwin.
9104
9105 2002-06-06  Adam Megacz <adam@xwt.org>
9106
9107         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9108         locking, just like the Sun JVM does.
9109
9110 2002-06-05  H.J. Lu  (hjl@gnu.org)
9111
9112         * Makefile.am (libgcj_convenience.la): Revert the last change.
9113         (libgcj.la): Likewise.
9114         * Makefile.in: Regenerated.
9115
9116 2002-06-04  H.J. Lu  (hjl@gnu.org)
9117
9118         * Makefile.am (libgcj_convenience.la): New target.
9119         (libgcj.la): Depend on libgcj_convenience.la.
9120         * Makefile.in: Regenerated.
9121
9122 2002-06-04  H.J. Lu  (hjl@gnu.org)
9123
9124         * configure.in (--with-newlib): New option:
9125         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9126         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9127         Linux.
9128         * configure: Regenerated.
9129
9130 2002-06-04  Tom Tromey  <tromey@redhat.com>
9131
9132         * java/util/natTimeZone.cc: Include <stdio.h>.
9133
9134 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9135
9136         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9137         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9138         Set SIGNAL_HANDLER=include/s390-linux.h.
9139         * configure: Regenerate.
9140         * include/s390-linux.h: New file.
9141
9142 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9143
9144         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9145         not "stackTrace".
9146
9147 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9148
9149         Merge JDK 1.4 java.security changes from classpath.
9150
9151         * java/security/AccessControlException.java: Merge from Classpath.
9152         * java/security/AccessController.java: Likewise.
9153         * java/security/AllPermission.java: Likewise.
9154         * java/security/BasicPermission.java: Likewise.
9155         * java/security/Certificate.java: Likewise.
9156         * java/security/CodeSource.java: Likewise.
9157         * java/security/DigestException.java: Likewise.
9158         * java/security/DigestOutputStream.java: Likewise.
9159         * java/security/DomainCombiner.java: Likewise.
9160         * java/security/GeneralSecurityException.java: Likewise.
9161         * java/security/Guard.java: Likewise.
9162         * java/security/GuardedObject.java: Likewise.
9163         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9164         * java/security/InvalidKeyException.java: Likewise.
9165         * java/security/InvalidParameterException.java: Likewise.
9166         * java/security/Key.java: Likewise.
9167         * java/security/KeyException.java: Likewise.
9168         * java/security/KeyManagementException.java: Likewise.
9169         * java/security/KeyStoreException.java: Likewise.
9170         * java/security/MessageDigest.java: Likewise.
9171         * java/security/NoSuchAlgorithmException.java: Likewise.
9172         * java/security/NoSuchProviderException.java: Likewise.
9173         * java/security/Permission.java: Likewise.
9174         * java/security/PermissionCollection.java: Likewise.
9175         * java/security/Permissions.java: Likewise.
9176         * java/security/Policy.java: Likewise.
9177         * java/security/Principal.java: Likewise.
9178         * java/security/PrivateKey.java: Likewise.
9179         * java/security/PrivilegedAction.java: Likewise.
9180         * java/security/PrivilegedActionException.java: Likewise.
9181         * java/security/PrivilegedExceptionAction.java: Likewise.
9182         * java/security/ProtectionDomain.java: Likewise.
9183         * java/security/ProviderException.java: Likewise.
9184         * java/security/PublicKey.java: Likewise.
9185         * java/security/SecureClassLoader.java: Likewise.
9186         * java/security/SecurityPermission.java: Likewise.
9187         * java/security/SignatureException.java: Likewise.
9188         * java/security/UnrecoverableKeyException.java: Likewise.
9189         * java/security/UnresolvedPermission.java: Likewise.
9190         * java/security/acl/AclNotFoundException.java: Likewise.
9191         * java/security/acl/LastOwnerException.java: Likewise.
9192         * java/security/acl/NotOwnerException.java: Likewise.
9193         * java/security/cert/CRLException.java: Likewise.
9194         * java/security/cert/CertificateEncodingException.java: Likewise.
9195         * java/security/cert/CertificateException.java: Likewise.
9196         * java/security/cert/CertificateExpiredException.java: Likewise.
9197         * java/security/cert/CertificateFactory.java: Likewise.
9198         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9199         * java/security/cert/CertificateParsingException.java: Likewise.
9200         * java/security/spec/InvalidKeySpecException.java: Likewise.
9201         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9202
9203         * java/security/cert/CertPath.java: New file.
9204         * java/security/cert/CertPathBuilderException.java: New file.
9205         * java/security/cert/CertPathValidatorException.java: New file.
9206         * java/security/cert/CertStoreException.java: New file.
9207
9208         * Makefile.am: Add new CertPath classes.
9209         * Makefile.in: Rebuilt.
9210
9211         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9212
9213 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9214
9215         Merge JDK 1.4 exception chaining support from classpath.
9216
9217         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9218         (stackTraceBytes): Rename from stackTrace.
9219         * java/lang/Exception.java: Merge from classpath.
9220         * java/lang/StackTraceElement: New file from classpath.
9221         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9222         * Makefile.am: Add StackTraceElement.
9223         * Makefile.in: Rebuilt.
9224
9225 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9226
9227         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9228         they build first.
9229         * Makefile.in: Rebuilt.
9230
9231 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9232
9233         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9234         * configure.in: Likewise.
9235         * aclocal.m4: Regenerate.
9236         * configure: Regenerate.
9237
9238 2002-05-13  Tom Tromey  <tromey@redhat.com>
9239
9240         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9241         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9242         Include platform.h.
9243
9244         Fixes PR libgcj/6389:
9245         * Makefile.in: Rebuilt.
9246         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9247         * java/util/natTimeZone.cc: New file.
9248         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9249         * java/lang/System.java: Merged with Classpath.
9250         * java/lang/Runtime.java: Merged with Classpath.
9251         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9252         security check.
9253         (setIn0): Renamed from setIn; don't run security check.
9254         (setOut0): Renamed from setOut; don't run security check.
9255         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9256         init_properties): Moved to natRuntime.cc.
9257         Moved many includes to natRuntime.cc.
9258         (isWordsBigEndian): New method.
9259         * java/lang/natRuntime.cc: Include Long.h, also other includes
9260         previously in natSystem.cc.
9261         (maxMemory): New function.
9262         (exitInternal): Renamed from `_exit'.
9263         (exit): Removed.
9264         (init): Don't set finalize_on_exit.
9265         (exitInternal): Use `finalizeOnExit'.
9266         (file_encoding, getpwuid_adaptor): New functions from
9267         natSystem.cc.
9268         (insertSystemProperties): New method, renamed from
9269         System::init_properties.  Don't set user.timezone.
9270         (_load): Don't call checkLink.
9271         (execInternal): New method.
9272         (availableProcessors): Likewise.
9273         (nativeGetLibname): Likewise.
9274
9275 2002-05-11  Mark Wielaard  <mark@klomp.org>
9276
9277         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9278         space characters.
9279         (previous_internal): Likewise.
9280
9281 2002-05-09  Tom Tromey  <tromey@redhat.com>
9282
9283         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9284
9285         * java/util/ResourceBundle.java: New version from Classpath.
9286         * java/util/Locale.java: Likewise.
9287
9288 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9289
9290         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9291         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9292         LD_LIBRARY_PATH.
9293
9294 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9295
9296         * libjava/Makefile.am (all_java_source_files): New variable.
9297         (all_java_class_files): Likewise.
9298         .java.class: New rule.
9299         (CLEANFILES): Remove tmp-list.
9300         * libjava/Makefile.in: Regenerated.
9301
9302 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9303
9304         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9305         Append .exe to executable names.  Fix for cygwin.
9306
9307 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9308
9309         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9310         script entry, and set LD to it when configuring multilibs.
9311         * configure: Rebuilt.
9312
9313 2002-05-07  Tom Tromey  <tromey@redhat.com>
9314
9315         * java/lang/natString.cc (unintern): Fixed typo.
9316
9317 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9318
9319         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9320         with -no-install on *-*-cygwin*.
9321
9322 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9323
9324         * testsuite/lib/libjava.exp (test_libjava_from_source):
9325         Add comment explaining last patch
9326
9327 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9328
9329         * testsuite/lib/libjava.exp (test_libjava_from_source):
9330         Append .exe to executable names.  If no suffix is present,
9331         then ".exe" is added by default on win32.  Harmless
9332         elsewhere so always do it.
9333
9334 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9335             Tom Tromey  <tromey@redhat.com>
9336
9337         * java/lang/natSystem.cc (getSystemTimeZone): Use
9338         HAVE_UNDERSCORE_TIMEZONE.
9339         * include/config.h.in: Rebuilt.
9340         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9341         * aclocal.m4, configure: Rebuilt.
9342         * acinclude.m4: Run AC_EXEEXT.
9343         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9344         Add test for `_timezone'.
9345
9346 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9347
9348         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9349         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9350         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9351         * Makefile.in: Rebuilt.
9352
9353 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9354
9355         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9356         use sigaction instead of __libc_sigaction.
9357
9358 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9359
9360         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9361         (libjava_init): Use it to find libgcj.spec.
9362         (libjava_arguments): Likewise.
9363
9364 2002-05-02  David S. Miller  <davem@redhat.com>
9365
9366         PR bootstrap/6525
9367         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9368         __libc_sigaction on Sparc.
9369
9370 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9371
9372         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9373         sys/filio.h, if present.
9374
9375 2002-04-30  Tom Tromey  <tromey@redhat.com>
9376
9377         * java/io/BufferedReader.java (fill): Handle case where markPos
9378         point to ignored \n.  Fixes PR libgcj/6301.
9379
9380 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9381
9382         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9383
9384 2002-04-29  Adam King <aking@dreammechanics.com>
9385
9386         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9387         of file in APPEND mode.
9388
9389 2002-04-25  David S. Miller  <davem@redhat.com>
9390
9391         PR target/6422
9392         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9393         program counter to next program counter minus 8.  Update
9394         comments in this macro to explain why.
9395
9396 2002-04-26  Tom Tromey  <tromey@redhat.com>
9397
9398         * verify.cc (construct_primitive_array_type) [void_type]: New
9399         case.
9400         (branch_prepass): Added dummy entries for unused instruction
9401         values.
9402         (verify_instructions_0): Likewise.
9403         * interpret.cc (continue1): Comment fix.
9404         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9405         * Makefile.in: Rebuilt.
9406         * Makefile.am: Added -Wswitch-enum.
9407
9408 2002-04-24  Tom Tromey  <tromey@redhat.com>
9409
9410         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9411         correct length of UTF-8 encoded name.  Strip leading `/'.
9412         (_Jv_RegisterResource): Use _Jv_Malloc.
9413
9414 2002-04-23  Adam Megacz <adam@xwt.org>
9415
9416         * win32.cc, include/win32.cc (backtrace): Added this function
9417         because Win32 does not supply it.
9418
9419 2002-04-21  David S. Miller  <davem@redhat.com>
9420
9421         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9422         magic instruction reading sequence.
9423
9424 2002-04-21  Mark Wielaard  <mark@klomp.org>
9425
9426         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9427
9428 2002-04-19  David S. Miller  <davem@redhat.com>
9429
9430         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9431         arg.
9432         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9433         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9434         on Sparc too.
9435         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9436         for 64-bit sparc.
9437         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9438         * sysdeps/sparc/locks.h: New file.
9439         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9440         on all sparc Solaris configurations.  Set to
9441         include/dwarf2-signal.h on sparc Linux.
9442         * configure: Regenerate
9443         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9444
9445 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9446
9447         * configure: Rebuilt.
9448         * configure.in (backtrace): Function doesn't work on IA-64.
9449
9450 2002-04-17  Adam King <aking@dreammechanics.com>
9451
9452         * java/io/File.java (normalizePath): Add Win32 support for auto
9453         conversion of a '/' path separator to Win32's '\' separator.
9454
9455 2002-04-16  Tom Tromey  <tromey@redhat.com>
9456
9457         Fix for PR libgcj/6081:
9458         * Makefile.in: Rebuilt.
9459         * Makefile.am (install-data-local): Use GNU make trick to avoid
9460         shell limit.
9461
9462 2002-04-16  Adam King <aking@dreammechanics.com>
9463             Tom Tromey  <tromey@redhat.com>
9464
9465         * java/io/natFileWin32.cc (performList): Return the correct array
9466         type.  Don't duplicate the creation of a File since it's already
9467         done earlier in the method and the existing code would cause a
9468         ArrayStoreException.  Don't use fixed-size array.
9469         (_access, _stat, attr, getCanonicalPath, performMkdir,
9470         performRenameTo): Don't use fixed-size array.
9471         (getCanonicalPath): Use throw, not _Jv_Throw.
9472
9473 2002-04-15  DJ Delorie  <dj@redhat.com>
9474
9475         * configure.in: Allow building in $srcdir.
9476         * configure: Regenerated.
9477
9478 2002-04-14  Mark Wielaard <mark@klomp.org>
9479
9480         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9481         * java/net/natSocketImpl.cc (close): Likewise.
9482
9483 2002-04-14  Mark Wielaard <mark@klomp.org>
9484
9485         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9486
9487 2002-04-13  Adam King <aking@dreammechanics.com>
9488
9489         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9490         the f/F/d/D modifiers.
9491
9492 2002-04-12  Anthony Green  <green@redhat.com>
9493
9494         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9495         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9496         * Makefile.in: Rebuilt.
9497         * configure.in: Substitute gcc_version.
9498         * configure: Rebuilt.
9499
9500 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9501
9502         * configure.host: Set can_unwind_signal on hosts which support it.
9503         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9504         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9505         exceptions and can_unwind_signal isn't set.
9506         * configure: Rebuilt.
9507
9508 2002-04-11  Tom Tromey  <tromey@redhat.com>
9509
9510         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9511
9512 2002-04-11  Adam King <aking@dreammechanics.com>
9513             Tom Tromey  <tromey@redhat.com>
9514
9515         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9516         _Jv_ThrowNullPointerException): Mark as noreturn.
9517         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9518         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9519         fixes.
9520
9521 2002-04-10  Tom Tromey  <tromey@redhat.com>
9522
9523         * Makefile.in: Rebuilt.
9524         * Makefile.am (java/lang/Thread.h): Mark
9525         _Jv_AttachCurrentThreadAsDaemon as friend.
9526         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9527         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9528         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9529         function.
9530         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9531         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9532         (_Jv_JNI_InvokeFunctions): Added
9533         _Jv_JNI_AttachCurrentThreadAsDaemon.
9534         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9535         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9536         (JNI_CreateJavaVM): Likewise.
9537         (_Jv_JNI_AttachCurrentThread): Likewise.
9538         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9539         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9540         (_Jv_JNIFunctions): Initialize new fields.
9541         (_Jv_JNI_NewDirectByteBuffer): New function.
9542         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9543         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9544         * include/jni.h (JNI_VERSION_1_4): New macro.
9545         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9546         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9547         (JNINativeInterface::NewDirectByteBuffer): New field.
9548         (JNINativeInterface::GetDirectBufferAddress): New field.
9549         (JNINativeInterface::GetDirectBufferCapacity): New field.
9550         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9551         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9552         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9553
9554 2002-04-09  Tom Tromey  <tromey@redhat.com>
9555
9556         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9557
9558 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9559
9560         Fix for PR libgcj/6187:
9561         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9562         distance.
9563
9564 2002-04-07  Mark Wielaard <mark@klomp.org>
9565
9566         * java/util/AbstractMap.java (putAll): Use entrySet size.
9567         (toString): Explicitly use getKey() and getValue().
9568
9569 2002-04-07  Mark Wielaard <mark@klomp.org>
9570
9571         * java/util/Hashtable.java (contains): Remove NullPointer check.
9572         (containsValue): Add NullPointer check.
9573         (remove): Always throw NullPointerException when key
9574         is null.
9575
9576 2002-04-07  Adam King <aking@dreammechanics.com>
9577
9578         * java/lang/natSystem.cc (init_properties): Call new function
9579         _Jv_platform_initProperties.
9580         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9581         support for the System properties os.name, os.arch, os.version,
9582         user.name, user.home, and user.dir.
9583         * include/posix.h, include/win32.h, posix.cc: New function
9584         _Jv_platform_initProperties.
9585
9586 2002-04-06  Mark Wielaard <mark@klomp.org>
9587
9588         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9589
9590 2002-04-06  Mark Wielaard <mark@klomp.org>
9591
9592         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9593         all of the remaining elements.
9594         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9595         (removeRange): If toIndex == fromIndex do
9596         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9597         (removeAll): Always throw NullPointerException when collection is
9598         null.
9599         (retrainAll): Likewise.
9600
9601 2002-04-05  Mark Wielaard <mark@klomp.org>
9602
9603         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9604         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9605
9606 2002-04-05  Adam Megacz <adam@xwt.org>
9607
9608         * exception.cc (abort): added static modifier
9609
9610 2002-04-04  Adam Megacz <adam@xwt.org>
9611
9612         * include/win32.h (_Jv_platform_close_on_exec): added inline
9613         modifier.
9614
9615 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9616
9617         * configure.host: Add case statement to support generic port
9618         properties.  Add *-*-freebsd* section.
9619
9620 2002-04-04  Mark Wielaard  <mark@klomp.org>
9621
9622         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9623         test.
9624         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9625         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9626         that depend on awt code and BufferedByteOutputStream.interrupt.
9627
9628 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9629
9630         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9631         incorrect "hi" value when count > 40.
9632
9633 2002-04-03  Mark Wielaard  <mark@klomp.org>
9634
9635         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9636         ordering.
9637
9638 2002-04-02  Tom Tromey  <tromey@redhat.com>
9639
9640         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9641         not `0'.
9642
9643 2002-04-02  Mark Wielaard  <mark@klomp.org>
9644
9645         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9646         list of testsuite crashers.
9647
9648 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9649
9650         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9651         when resizing table.
9652
9653 2002-04-01  Mark Wielaard  <mark@klomp.org>
9654
9655         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9656         NegativeArraySizeException
9657         (clear(int)): Use sign extended shift.
9658         (flip(int)): Likewise.
9659         (get(int)): Likewise.
9660         (nextClearBit(int)): Likewise.
9661         (nextSetBit(int)): Likewise.
9662         (set(int)): Likewise.
9663
9664 2002-04-01  Mark Wielaard  <mark@klomp.org>
9665
9666         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9667         that can be compiled now and add testsuite crashers to ignore list.
9668
9669 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9670
9671         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9672
9673         * libgcj.spec.in: Override libgcc, not lib.
9674         * libgcj-test.spec.in: Likewise.
9675
9676 2002-03-29  Tom Tromey  <tromey@redhat.com>
9677
9678         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9679         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9680
9681 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9682
9683         * java/net/PlainDatagramSocketImpl.java
9684         (close): Use native implementation.
9685         (finalize): New method.
9686
9687         * java/net/PlainSocketImpl.java (finalize): New method.
9688
9689         * java/net/natPlainDatagramSocketImpl.cc
9690         (java/io/FileDescriptor.h): Don't include.
9691         (close): Implement method here.
9692         (create): Don't assign fd.
9693
9694         * java/net/natPlainSocketImpl.cc
9695         (java/io/FileDescriptor.h): Don't include.
9696         (create): Don't assign fd.
9697         (accept): Likewise.
9698         (close): Synchronize.
9699
9700 2002-03-27  Richard Henderson  <rth@redhat.com>
9701
9702         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9703
9704 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9705
9706         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9707         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9708         instead of syscall on IA-64.
9709         Add FIXME comment.
9710
9711 2002-03-27  Anthony Green  <green@redhat.com>
9712
9713         * libgcj.spec.in: Add CHECKREFSPEC.
9714         * configure.in: Ditto.
9715         * configure.host: Ditto.  Check references for xscale-elf.
9716         * configure: Rebuilt.
9717
9718 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9719
9720         * include/dwarf2-signal.h: Temporarily back out last change.
9721
9722 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9723
9724         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9725
9726 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9727
9728         * configure.in, configure: enable dwarf2-exception-style
9729         exception handling on IA-64.
9730         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9731         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9732         Add FIXME comment.
9733
9734 2002-03-25  Tom Tromey  <tromey@redhat.com>
9735
9736         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9737         (jv_convert_LDFLAGS): Likewise.
9738         (gij_LDFLAGS): Likewise.
9739         (rmic_LDFLAGS): Likewise.
9740         (rmiregistry_LDFLAGS): Likewise.
9741         * configure.in (THREADLDFLAGS): New subst; set correctly for
9742         *BSD.
9743
9744 2002-03-25  Tom Tromey  <tromey@redhat.com>
9745
9746         For PR libgcj/5303:
9747         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9748         and --version.
9749         (help): New method.
9750         (version): Likewise.
9751         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9752         "GNU".
9753         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9754         "GNU".
9755
9756 2002-03-25  Tom Tromey  <tromey@redhat.com>
9757
9758         * java/awt/Component.java (processEvent): Check ComponentEvent
9759         after KeyEvent.
9760
9761 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9762
9763         * java/io/PushbackReader.java: Reformat.
9764
9765         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9766         calculate correct number of bytes skipped.
9767
9768         Based on patch from Intel's ORP team:
9769         * java/io/PushbackInputStream.java (available): Calculate correct
9770         number of bytes in buffer.
9771         (read): Remove redundant bound check. Return bytes from both the
9772         buffer and the stream.
9773
9774 2002-03-24  Tom Tromey  <tromey@redhat.com>
9775
9776         * java/awt/TextComponent.java (TextComponent): Editable by
9777         default.
9778
9779         * java/awt/MenuItem.java (eventMask): No longer private.
9780         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9781         superclass if we didn't handle event.
9782         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9783         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9784         * java/awt/Choice.java (dispatchEventImpl): New method.
9785         * java/awt/List.java (dispatchEventImpl): New method.
9786         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9787         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9788         * java/awt/TextField.java (dispatchEventImpl): New method.
9789
9790 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9791
9792         * java/beans/IntrospectionException.java: Update to 1.4.
9793         * java/beans/PropertyVetoException.java: Ditto.
9794
9795 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9796
9797         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9798         Arrays.equals instead of ArrayHelper.equalsArray.
9799
9800 2002-03-24  C. Brian Jones <cbj@gnu.org>
9801
9802         * java/beans/Introspector.java: added new static final fields
9803         introduced in 1.2, lots of other updates remain to be done
9804
9805 2002-03-24  C. Brian Jones <cbj@gnu.org>
9806
9807         * java/beans/Introspector.java: reformatting
9808
9809 2002-03-24  C. Brian Jones <cbj@gnu.org>
9810
9811         * java/beans/Introspector.java: default beanInfoSearchPath will
9812         not include sun.beans.infos given we provide no such package and
9813         the API doesn't really require it; gnu.java.beans.info is the
9814         default.
9815
9816 2002-03-24  Mark Wielaard  <mark@klomp.org>
9817
9818         Thanks to Orp developers
9819         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9820         switch TRUE and FALSE return values.
9821
9822 2002-03-23  Tom Tromey  <tromey@redhat.com>
9823
9824         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9825         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9826
9827 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9828
9829         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9830         MONTH entry.  Fixes PR libgcj/6045.
9831
9832 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9833
9834         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9835
9836 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9837
9838         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9839         not release_set.
9840         * sysdep/powerpc/locks.h (write_barrier): New function.
9841         * sysdep/i386/locks.h (write_barrier): New function.
9842
9843 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9844
9845         * include/jni.h Use correct C comments.
9846
9847 2002-03-18  Tom Tromey  <tromey@redhat.com>
9848
9849         * include/jni.h (JNIIMPORT): New macro.
9850         (JNIEXPORT): Likewise.
9851         (JNICALL): Likewise.
9852
9853 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9854
9855         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9856         systems.
9857
9858 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9859
9860         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9861         INIT_SEGV: Use old_i386_kernel_sigaction.
9862         INIT_FP: Likewise.
9863
9864 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9865
9866         * java/lang/natSystem.cc (init_properties): Update VM version
9867         properties.
9868         * configure.in: Set GCJVERSION.
9869         * acconfig.h: Add GCJVERSION.
9870         * configure: Rebuilt.
9871         * include/config.h.in: Rebuilt.
9872
9873 2002-03-17  Anthony Green  <green@redhat.com>
9874
9875         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9876
9877 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9878
9879         Build a single libgcj.so, without separate gc and zlib libraries.
9880         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9881         SYS_ZLIBS if system zlib is used.
9882         * configure: Rebuilt.
9883         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9884         * Makefile.in: Rebuilt.
9885         * libtool-version: Increment .so version number.
9886
9887         * Makefile.am: Escape quotes in echo.
9888         * Makefile.in: Rebuilt.
9889
9890 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9891
9892         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9893         * Makefile.in: Rebuilt.
9894
9895 2002-03-15  Anthony Green  <green@redhat.com>
9896
9897         * configure.host (FILE): New macro for specifing File
9898         implementation.
9899         * configure: Rebuilt.
9900         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9901
9902 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9903
9904         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9905         already implicitly brought in from libgcj.la.
9906         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9907         * Makefile.in: Rebuilt.
9908
9909 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9910
9911         * THANKS: Fix punctuation, alphabetization.
9912
9913 2002-03-15  Tom Tromey  <tromey@redhat.com>
9914             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9915
9916         Fix for PR libgcj/5944.
9917         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9918
9919 2002-03-15  Anthony Green  <green@redhat.com>
9920
9921         * configure.in (tool_include_dir): Define.
9922         * configure: Rebuilt.
9923         * gcj/Makefile.am: Install libgcj-config.h relative to
9924         tool_include_dir.
9925         * gcj/Makefile: Rebuilt.
9926         * gcj/libgcj-config.h: Add warning comment.
9927
9928 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9929
9930         * configure.host (powerpc*-darwin*): Enable interpreter.
9931
9932 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9933
9934         * include/posix.h: Add multiple include header protection.
9935         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9936
9937 2002-03-10  Adam Megacz <adam@xwt.org>
9938
9939         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9940
9941 2002-03-10  Tom Tromey  <tromey@redhat.com>
9942
9943         * java/awt/GridLayout.java (layoutContainer): Handle case where
9944         there are no items in container.
9945
9946         * java/lang/Win32Process.java: Added comment.
9947         * include/posix.h (_Jv_platform_close_on_exec): New function.
9948         Include fcntl.h.
9949         * include/win32.h (_Jv_platform_close_on_exec): New function.
9950         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9951         flag.
9952         (accept): Likewise.
9953         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9954         close-on-exec flag.
9955         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9956         flag.
9957
9958 2002-03-09  Tom Tromey  <tromey@redhat.com>
9959
9960         * verify.cc (state::NO_STACK): New constant.
9961         (state::is_unmerged_ret_state): Handle case where stacktop is
9962         NO_STACK.
9963         (state::merge): Handle NO_STACK merges.
9964         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9965         for instruction following jsr.
9966         (stacktop, stackdepth): Removed unused variables.
9967         (pop_jump): Ignore case where all remaining states are skipped.
9968
9969 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9970
9971         * java/awt/ImageMediaEntry: Removed.
9972         * java/awt/MediaEntry: Removed.
9973
9974 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9975
9976         Hashtable synchronization for PowerPC.
9977         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9978         slow_pthread_self. Set up symlink for sysdeps directory.
9979         * configure: Rebuild.
9980         * configure.host: Document more shell variables. Set sysdeps_dir
9981         for most platforms. Set slow_pthread_self for i686. Set
9982         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9983         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9984         that memory barrier is emitted where required.
9985         * prims.cc: 64-bit align static primitive class instances.
9986         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9987         read_barrier() to enforce ordering of reads.
9988         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9989         primitives for PowerPC.
9990         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9991         moved from natObject.cc.
9992         * sysdep/alpha/locks.h: Likewise.
9993         * sysdep/ia64/locks.h: Likewise.
9994         * sysdep/generic/locks.h: Likewise.
9995         * java/lang/natObject.cc: Move thread synchronization primitives to
9996         system-dependent headers.
9997
9998 2002-03-09  Adam Megacz  <adam@xwt.org>
9999
10000         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10001         bytes read and no failure code returned.
10002
10003 2002-03-09  Adam Megacz  <adam@xwt.org>
10004
10005         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10006         definitions to simulate -mthreads.
10007
10008 2002-03-09  Adam Megacz  <adam@xwt.org>
10009
10010         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10011         avoid precision loss.
10012
10013 2002-03-09  Per Bothner  <per@bothner.com>
10014
10015         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10016         * gnu/gcj/xlib/XImage.java:  Likewise.
10017         * gnu/gcj/xlib/XColor.java:  Likewise.
10018
10019 2002-03-09  Adam Megacz  <adam@xwt.org>
10020
10021         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10022         IOException so that Throwable.printStackTrace fails correctly.
10023
10024 2002-03-08  Adam Megacz  <adam@xwt.org>
10025
10026         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10027         fixed.
10028
10029 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10030
10031         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10032         truncated to int.
10033
10034 2002-03-08  Tom Tromey  <tromey@redhat.com>
10035
10036         * include/jni.h: Include stdio.h.
10037
10038 2002-03-08  Tom Tromey  <tromey@redhat.com>
10039
10040         * posix.cc (internal_gettimeofday): New function.
10041         (_Jv_select): Use it.
10042
10043 2002-03-07  Adam Megacz  <adam@xwt.org>
10044
10045         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10046         WIN32, and added thunks for read(), write(), and close().
10047         * java/net/natPlainSocketImpl.cc (accept, read, read):
10048         Disabled timeouts on WIN32 pending discussion.
10049
10050 2002-03-07  Adam Megacz  <adam@xwt.org>
10051
10052         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10053         returns jlong. Added implementation
10054         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10055         returns jlong.
10056         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10057         returns jlong.
10058         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10059         returns jlong.
10060         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10061         _Jv_platform_gettimeofday signature.
10062
10063 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10064
10065         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10066         (read): Call recv() directly, not _Jv_recv().
10067
10068 2002-03-06  Tom Tromey  <tromey@redhat.com>
10069
10070         * java/io/natFileDescriptorEcos.cc (init): Don't use
10071         GetStdHandle.
10072         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10073         is negative.
10074         (init): Don't use GetStdHandle.
10075
10076         * include/config.h.in: Rebuilt.
10077         * configure: Rebuilt.
10078         * Makefile.in: Rebuilt.
10079
10080 2002-03-06  Adam Megacz  <adam@xwt.org>
10081
10082         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10083         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10084         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10085         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10086
10087 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10088
10089         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10090         the code for generating include/java-chartables.h.
10091         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10092         merge with Classpath.
10093         * scripts/unicode-muncher.pl: Copy from Classpath.
10094         * scritps/MakeCharTables.java: New file.
10095         * gnu/gcj/convert/Blocks-3.txt: New file.
10096         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10097         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10098         * gnu/java/lang/CharData.java: Copy from Classpath.
10099         * Makefile.am (ordinary_java_source_files): Add
10100         gnu/java/lang/CharData.java.
10101         * configure.in: Remove --enable-fast-character option.
10102         * java/lang/Character.java: Merge algorithms and Javadoc with
10103         Classpath.
10104         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10105         efficiently.
10106         * include/java-chardecomp.h: Regenerate.
10107         * include/java-chartables.h: Regenerate.
10108
10109 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10110
10111         * java/awt/MediaTracker.java: Implemented.
10112         * Makefile.am: Add MediaTracker.
10113         * Makefile.in: Rebuilt.
10114
10115 2002-03-05  Tom Tromey  <tromey@redhat.com>
10116
10117         * java/lang/natPosixProcess.cc (fail): Removed.
10118         (startProcess): Simplified error-handling.  Preserve
10119         LD_LIBRARY_PATH across exec.
10120
10121         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10122         AbstractMethodError.
10123
10124 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10125
10126         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10127         * Makefile.in: Rebuilt.
10128
10129 2002-03-03 Mark Wielaard <mark@klomp.org>
10130
10131         * java/util/Timer (TaskQueue.stop): set elements to zero.
10132
10133 2002-02-28  Anthony Green  <green@redhat.com>
10134
10135         * java/lang/reflect/natMethod.cc (result): Add void* element.
10136         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10137         constructor test.
10138
10139 2002-02-27  Adam Megacz <adam@xwt.org>
10140
10141         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10142         '#undef STRICT'.
10143
10144 2002-02-26  Tom Tromey  <tromey@redhat.com>
10145
10146         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10147         * gij.cc (version): Use __VERSION__.
10148         * include/config.h.in: Rebuilt.
10149         * acconfig.h (GCJVERSION): Removed.
10150         * configure: Rebuilt.
10151         * configure.in (GCJVERSION): Removed.
10152
10153 2002-02-26  Andreas Schwab  <schwab@suse.de>
10154
10155         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10156         glibcpp_CXX, since libjava uses even another CXX.
10157         * aclocal.m4, configure: Regenerated.
10158
10159 2002-02-26  Tom Tromey  <tromey@redhat.com>
10160
10161         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10162         `1'.
10163
10164 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10165
10166         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10167         dependency tracking for .java files.
10168         * Makefile.in: Rebuilt.
10169
10170 2002-02-24  Adam Megacz  <adam@xwt.org>
10171
10172         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10173         typo. Sorry.
10174
10175 2002-02-24  Adam Megacz  <adam@xwt.org>
10176
10177         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10178         for Win32, changed #ifdefs to check WIN32 instead of the
10179         (now-obsolete) USE_WINSOCK, and removed support for socket
10180         timeouts on Win32 pending further discussion.
10181
10182 2002-02-24  Adam Megacz  <adam@xwt.org>
10183
10184         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10185         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10186         delete
10187
10188 2002-02-24  Adam Megacz  <adam@xwt.org>
10189
10190         * java/lang/Win32Process.java: Created a dummy class to allow
10191         build process to run to completion.
10192
10193 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10194
10195         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10196         Define ffi_result union for ffi_call result.  Cast
10197         ffi_result members to jvalue.
10198
10199 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10200
10201         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10202         * testsuite/Makefile.in: Likewise.
10203
10204 2002-02-20  Per Bothner  <per@bothner.com>
10205
10206         * java/net/URL.java (getPath):  New JDK 1.3 method.
10207
10208         * java/net/URLStreamHandler.java (parseURL):
10209         It is wrong to prepend '/' to the file part of a relative url.
10210
10211         * java/net/URLStreamHandler.java (parseURL):
10212         Minor optizations - append '/' rather than "/".
10213
10214         * java/net/URLStreamHandler.java (parseURL):
10215         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10216         We probably should canonicalize for a context-relative url, though.
10217         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10218         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10219         (sameFile):  New method.  Uses canonicalizeFilename.
10220
10221 2002-02-22  Tom Tromey  <tromey@redhat.com>
10222
10223         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10224         java.vendor and java.vm.vendor.
10225         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10226         recent copyright date.
10227         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10228         * gij.cc (version): Print `Inc'.
10229
10230 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10231
10232         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10233         * aclocal.m4, configure: Rebuilt.
10234
10235 2002-02-20  Per Bothner  <per@bothner.com>
10236
10237         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10238         and/or output streams immediately here, instead of using File.exists.
10239         (inputStream, outputStream):  New fields to save open streams.
10240         (getInputStream, getOutputStream):  Use already-opened streams.
10241
10242 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10243
10244         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10245         Use it.
10246         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10247         * aclocal.m4, configure, Makefile.in: Rebuilt.
10248
10249 2002-02-19  Tom Tromey  <tromey@redhat.com>
10250
10251         Fix for PR libgcj/5696:
10252         * verify.cc (is_assignable_from_slow): Never call
10253         _Jv_IsAssignableFrom.
10254         (verify_instructions_0): Added new debug statement.
10255         (state::print): Print information about whether local has
10256         changed.
10257         (state::merge): Don't call note_variable when merging locals.
10258         (state::set_exception): Removed old FIXME comment.
10259
10260 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10261
10262         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10263         enable SO_BROADCAST.
10264
10265 2002-02-18  Jason Merrill  <jason@redhat.com>
10266
10267         * name-finder.cc (toHex): Use word mode, not long long.
10268
10269         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10270
10271 2002-02-15  Tom Tromey  <tromey@redhat.com>
10272
10273         Fix for PR libgcj/5695:
10274         * verify.cc (is_assignable_from_slow): Check to see if target is
10275         an Object before checking to see if source is an interface.
10276         (verify_instructions_0) [op_invokeinterface]: Handle case where
10277         we're making an interface call on Object.
10278
10279 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10280
10281         * Makefile.in: Rebuilt with Eric's change below.
10282
10283         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10284         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10285         Removed functions which are now implemented in Math.java.
10286
10287 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10288
10289         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10290         * Makefile.am (core_java_source_files): Add
10291         java/lang/StrictMath.java.
10292         * java/lang/Math.java: Merge with Classpath.
10293         * java/lang/StrictMath.java: New file - merge with Classpath.
10294
10295 2002-02-14  Mark Wielaard  <mark@klomp.org>
10296
10297         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10298         package as a workaround for gcj 3.0.x
10299
10300 2002-02-14  Mark Wielaard <mark@klomp.org>
10301
10302         * java/security/BasicPermission.java: extends with fully qualified
10303         classname as workaround for gcj 3.0.4.
10304
10305 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10306
10307         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10308         around gcj bug of wrong emitted qualifier for inherited method.
10309         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10310         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10311         constructor to reduce amount of emitted bytecode. While this
10312         happens to work around a jikes 1.15 bug, it is still a useful
10313         patch even for correct compilers.
10314         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10315         * gnu/java/rmi/server/UnicastRemoteCall.java
10316         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10317
10318 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10319
10320         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10321         * java/net/SocketImpl.java: Ditto.
10322         * java/rmi/server/RMIClassLoader.java: Ditto.
10323         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10324
10325 2002-02-14  Mark Wielaard <mark@klomp.org>
10326
10327         Thanks to Takashi Okamoto
10328         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10329         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10330         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10331
10332 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10333
10334         Fix for PR libgcj/5670:
10335         * verify.cc (is_assignable_from_slow): If `source' is interface,
10336         recursively look for merge with `target'.
10337
10338 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10339
10340         * include/jni.h: Fix typo.
10341
10342 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10343
10344         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10345         correctly.
10346
10347 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10348
10349         Fix for PR libgcj/5671:
10350         * verify.cc (state::merge): Handle case where we're merging
10351         against an interface.
10352
10353 2002-02-12  Tom Tromey  <tromey@redhat.com>
10354
10355         * exception.cc (std::abort): Mark as noreturn.
10356
10357 2002-02-12  Adam Megacz <adam@xwt.org>
10358
10359         * java/lang/Win32Process.java: Filled in a placeholder
10360         implementation so Win32 will build.
10361
10362 2002-02-12  Adam Megacz <adam@xwt.org>
10363
10364         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10365         * java/io/natFile.cc: Removed from repository.
10366         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10367
10368 2002-02-12  Adam Megacz <adam@xwt.org>
10369
10370         * win32.cc: Added two #includes to make win32.cc compile.
10371
10372 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10373
10374         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10375         declarations.
10376         (_Jv_InitGC): Don't bother locking, as this is always called from a
10377         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10378
10379 2002-02-11  Adam Megacz <adam@xwt.org>
10380
10381         * include/win32.h: Added _Jv_platform_gettimeofday.
10382         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10383
10384 2002-02-11  Adam Megacz <adam@xwt.org>
10385
10386         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10387         Added #undef STRICT to make windows.h and
10388         java/lang/reflect/Modifier.h cooperate.
10389
10390 2002-02-11  Adam Megacz <adam@xwt.org>
10391
10392         * java/io/natFileWin32.cc: Created a placeholder class with lots
10393         of FIXMEs.
10394
10395 2002-02-11  Adam Megacz <adam@xwt.org>
10396
10397         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10398         std::abort() to simply abort(). Also added "fake" std::abort() so
10399         we can #include unwind-pe.h without having to link against
10400         libstdc++-v3.
10401
10402 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10403
10404         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10405
10406 2002-02-08  Tom Tromey  <tromey@redhat.com>
10407
10408         * interpret.cc (convert): New function.
10409         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10410         convert.
10411         Include Long.h.
10412
10413 2002-02-08  Anthony Green  <green@redhat.com>
10414
10415         * configure.host: Add support for xscale-elf embedded target.
10416
10417 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10418
10419         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10420         dereferenced.
10421         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10422         frame.
10423
10424 2002-02-07  Tom Tromey  <tromey@redhat.com>
10425
10426         * java/io/natFile.cc (_access): Use __builtin_alloca.
10427         (_stat): Likewise.
10428         (attr): Likewise.
10429         (getCanonicalPath): Likewise.
10430         (performList): Likewise.
10431         (performMkdir): Likewise.
10432         (performSetReadOnly): Likewise.
10433         (performRenameTo): Likewise.
10434         (performSetLastModified): Likewise.
10435         (performCreate): Likewise.
10436         (performDelete): Likewise.
10437
10438 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10439
10440         * HACKING: Fix URL for the automake-gcj.
10441
10442 2002-02-07  Tom Tromey  <tromey@redhat.com>
10443
10444         * java/lang/natThrowable.cc: Updated copyright.
10445         * java/io/natFileWin32.cc: Updated copyright.
10446         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10447         * win32-threads.cc: Updated copyright.
10448         * name-finder.cc: Updated copyright.
10449         * include/name-finder.h: Updated copyright.
10450
10451         * include/name-finder.h: Conditionally include sys/wait.h.
10452         * include/config.h.in: Rebuilt.
10453
10454         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10455         Size buffer based on real size of string.
10456         (_stat): Likewise.
10457         (attr): Likewise.
10458         (getCanonicalPath): Likewise.
10459         (performList): Likewise.
10460         (performMkdir): Likewise.
10461         (performSetReadOnly): Likewise.
10462         (unixroot): Removed.
10463         (performRenameTo): Likewise.
10464         (performSetLastModified): Likewise.
10465         (performCreate): Likewise.
10466         (performDelete): Likewise.
10467         (performListRoots): Always return new array.
10468
10469         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10470         * win32.cc (win32_exception_handler): Now static.
10471         * include/win32.h (_Jv_platform_initialize): Declare.
10472         (win32_exception_handler): Don't declare.
10473         * java/lang/natSystem.cc (currentTimeMillis): Use
10474         _Jv_platform_gettimeofday.
10475         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10476         (_Jv_select): Use new name.
10477         (_Jv_platform_initialize): New function.
10478         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10479         _Jv_gettimeofday.
10480         (_Jv_platform_initialize): Declare.
10481
10482         * configure: Rebuilt.
10483         * configure.in: Removed unnecessary parens.
10484
10485 2002-02-06  Adam Megacz <adam@xwt.org>
10486
10487        * configure.in: Changed mingw) to *mingw*).
10488        * win32.cc: Created this file.
10489        * win32.h: Created this file.
10490        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10491        win32_exception_handler from prims.cc to win32.cc, added
10492        header in win32.h.
10493        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10494        longer needed now that we have platform.h
10495
10496 2002-02-06  Adam Megacz <adam@xwt.org>
10497
10498         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10499         use uint<n>_t instead of LONG and BYTE
10500
10501 2002-02-06  Adam Megacz <adam@xwt.org>
10502
10503         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10504
10505 2002-02-06  Anthony Green  <green@redhat.com>
10506
10507         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10508         Implement missing method stubs.
10509         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10510         targets.
10511         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10512         concept of timezones.
10513         (init_properties): Don't refer to _Jv_Environment_Properties
10514         when this feature is not available.
10515         * include/config.h.in: Rebuilt.
10516         * acconfig.h: Add DISABLE_MAIN_ARGS.
10517         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10518         * configure: Rebuilt.
10519         * configure.in: Add --disable-main-args option.  Test for
10520           opendir function.  Replace AC_CHECK_SIZEOF with
10521           AC_COMPILE_CHECK_SIZEOF.
10522         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10523         * aclocal.m4: Rebuilt.
10524         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10525
10526 2002-02-06  Tom Tromey  <tromey@redhat.com>
10527
10528         * verify.cc (require_array_type): If argument is a null array of
10529         references, return null as the element type.
10530
10531 2002-02-06  Mark Wielaard  <mark@klomp.org>
10532
10533         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10534         duplicate of a wide type.
10535
10536 2002-02-06  Tom Tromey  <tromey@redhat.com>
10537
10538         * verify.cc (type::isnull): New method.
10539         (require_array_type): Handle case where array is null.
10540         (verify_instructions_0) [op_arraylength]: Likewise.
10541
10542 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10543
10544         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10545         Symlink PLATFORMH to platform.h.
10546         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10547         PLATFORMOBJS.
10548         * java/lang/natSystem.cc: #include platform.h not posix.h.
10549         * Makefile.in: Rebuilt with libgcj automake.
10550         * configure: Rebuilt.
10551
10552 2002-02-05  Richard Henderson  <rth@redhat.com>
10553
10554         * Makefile.in: Undo munging last change.
10555
10556 2002-02-04  Adam Megacz <adam@xwt.org>
10557
10558         * win32.cc: Created it.
10559         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10560         which is set to posix.cc or win32.cc.
10561         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10562
10563 2002-02-04  Adam Megacz <adam@xwt.org>
10564
10565         * configure.in: Corrected mingw case branches; added * before
10566         and after.
10567
10568 2002-02-04  Adam Megacz <adam@xwt.org>
10569
10570         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10571         if compiling for win32
10572
10573 2002-02-04  Adam Megacz <adam@xwt.org>
10574
10575         * win32-threads.cc: #undef STRICT after gc.h inclusion
10576
10577 2002-02-02  Tom Tromey  <tromey@redhat.com>
10578
10579         * Makefile.in: Rebuilt.
10580
10581 2002-02-02  Jason Merrill  <jason@redhat.com>
10582
10583         * Makefile.am (clean-nat): New target.
10584
10585 2002-02-02  Tom Tromey  <tromey@redhat.com>
10586
10587         * java/io/natFile.cc: Removed old "FIXME" comments.
10588
10589 2002-02-01  Tom Tromey  <tromey@redhat.com>
10590
10591         * java/lang/natPosixProcess.cc (myclose): New function.
10592         (fail): Use it.
10593         (startProcess): Likewise.
10594
10595 2002-02-01  Adam Megacz <adam@xwt.org>
10596
10597         * prims.cc: Added #undef STRICT after #include<windows.h>.
10598
10599 2002-02-01  Adam Megacz <adam@xwt.org>
10600
10601         * prims.cc
10602         (_Jv_CreateJavaVM): We now use WIN32 instead of
10603         USE_WIN32_SIGNALLING and USE_WINSOCK.
10604         (win32_exception_handler): Now throws an exception out of
10605         the signal handler; assumes SJLJ.
10606
10607 2002-02-01  Adam Megacz <adam@xwt.org>
10608
10609         * win32-threads.cc:
10610         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10611         wait() algorithm to make it safe.
10612         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10613         Added lazy creation of Win32 Events for better performance
10614         (really_start): This now uses GC_CreateThread so boehm-gc
10615         knows about new threads even when statically linked.
10616
10617 2002-02-01  Adam Megacz <adam@xwt.org>
10618
10619         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10620         enable safer wait() algorithm.
10621         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10622         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10623         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10624         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10625         instead of mutex.
10626         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10627
10628 2002-02-01  Adam Megacz <adam@xwt.org>
10629
10630         * configure.in: Added support for mingw.
10631         * java/lang/Win32Process.java: Created as empty file.
10632         * java/lang/natWin32Process.cc: Created as empty file.
10633
10634 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10635
10636         PR java/4972
10637         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10638         for libiconv in LIBICONV variable.
10639         * configure: Regenerated.
10640
10641 2002-01-31  Tom Tromey  <tromey@redhat.com>
10642
10643         * verify.cc (state::enter_subroutine): New method.
10644         (handle_jsr_insn): Use it.
10645         (state::merge): When processing a `ret', correctly use
10646         subroutine's state to determine which local variables have
10647         changed.
10648         (push_exception_jump): Don't let stack overflow.
10649
10650 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10651
10652         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10653         --version output.
10654
10655 2002-01-30  Tom Tromey  <tromey@redhat.com>
10656
10657         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10658         parameter for `recv' return type.
10659
10660         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10661         (state::merge): ... not here.
10662         (subr_entry_info): New structure.
10663         (entry_points): New field.
10664         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10665         entry_points.
10666
10667 2002-01-29  Tom Tromey  <tromey@redhat.com>
10668
10669         * java/awt/List.java (addNotify): Correctly check to see if peer
10670         does not exist.
10671
10672         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10673         to compute height of each cell, and number of columns to compute
10674         width of each cell.
10675         * java/awt/Window.java (getOwnedWindows): Don't return null.
10676         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10677         of component.  Increment x using horizontal gap, not vertical
10678         gap.
10679
10680 2002-01-28  Tom Tromey  <tromey@redhat.com>
10681
10682         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10683         `nargs' byte is number of words, not number of arguments.
10684
10685 2002-01-27  Tom Tromey  <tromey@redhat.com>
10686
10687         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10688         (when): Likewise.
10689         * java/awt/event/InputEvent.java (modifiers, when): Now
10690         package-private.
10691
10692         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10693         and to-do list.
10694         (state::merge): Use current class' class loader.
10695         (state::print): Print subroutine.
10696         (state::merge): Don't look at subroutine of unmerged `ret'.
10697
10698 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10699
10700         * nogc.cc: Remove warnings.
10701         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10702         New functions.
10703
10704 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10705
10706         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10707         int, int):  Remove empty "if" statement to work around compiler bug.
10708         (newPixels(int[], ColorModel, int, int): Likewise.
10709
10710 2002-01-25  Per Bothner  <per@bothner.com>
10711
10712         * verify.cc (verify_fail):  Change from being a top-level function
10713         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10714         Pass the current verifier to type: and state: methods as needed,
10715         for better error messages, and for resolve.
10716         (resolve):  Pass current class's loader for Class.forName and
10717         _Jv_FindClassFromSignature, rather than using the default loader.
10718         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10719         (get_type_val_for_signature):  Make non-static.
10720         (various methods):  Pass start_PC implicitly, not explicitly.
10721
10722 2002-01-25  Tom Tromey  <tromey@redhat.com>
10723
10724         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10725         loop termination condition.
10726         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10727         width.
10728
10729 2002-01-24  Tom Tromey  <tromey@redhat.com>
10730
10731         * java/awt/Shape.java: Merged with Classpath.
10732         * java/awt/Scrollbar.java: Merged with Classpath.
10733
10734         * java/awt/Container.java (addNotify): Unconditionally call
10735         addNotifyContainerChildren and superclass addNotify.
10736
10737         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10738         getAlpha, not getBlue.
10739
10740 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10741
10742         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10743
10744         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10745         (grabPixels(long)): Wait to be notified that the ImageProducer has
10746         completed.
10747
10748 2002-01-24  Per Bothner  <per@bothner.com>
10749
10750         * verify.cc (is_assignable_from_slow): If target is an interface,
10751         we must still check the source's superclass before giving up.
10752
10753 2002-01-24  Tom Tromey  <tromey@redhat.com>
10754
10755         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10756
10757 2002-01-23  Tom Tromey  <tromey@redhat.com>
10758
10759         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10760         `else'.
10761
10762         * Makefile.in: Rebuilt.
10763         * Makefile.am (awt_java_source_files): Added new files.
10764         * java/awt/Toolkit.java: Merged with Classpath.
10765         * java/awt/PrintGraphics.java: New file from Classpath.
10766         * java/awt/PrintJob.java: New file from Classpath.
10767         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10768         * java/awt/datatransfer/ClipboardOwner.java: New file from
10769         Classpath.
10770         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10771         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10772         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10773         Classpath.
10774         * java/awt/datatransfer/StringSelection.java: New file from
10775         Classpath.
10776         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10777         Classpath.
10778         * java/awt/datatransfer/Transferable.java: New file from
10779         Classpath.
10780         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10781         from Classpath.
10782
10783         * Makefile.in: Rebuilt.
10784         * Makefile.am (awt_java_source_files): Added new files.
10785         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10786         Classpath.
10787         * java/awt/image/CropImageFilter.java: New file from Classpath.
10788         * java/awt/image/FilteredImageSource.java: New file from
10789         Classpath.
10790         * java/awt/image/ImageFilter.java: New file from Classpath.
10791         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10792         * java/awt/image/PixelGrabber.java: New file from Classpath.
10793         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10794         * java/awt/image/ReplicateScaleFilter.java: New file from
10795         Classpath.
10796         * java/awt/image/ImageProducer.java: Replaced with Classpath
10797         version.
10798         * java/awt/image/ImageObserver.java: Replaced with Classpath
10799         version.
10800         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10801         version.
10802         * java/awt/GridBagConstraints.java (clone): Catch
10803         CloneNotSupportedException.
10804
10805 2002-01-23  Per Bothner  <per@bothner.com>
10806
10807         * java/lang/reflect/natField.cc (setAddr):  New function.
10808         Calls getAddr and then checks that the field isn't final.
10809         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10810         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10811         (set):  Call setAddr before check that new value has right type,
10812         to better match specified semantics.
10813
10814 2002-01-22  Tom Tromey  <tromey@redhat.com>
10815
10816         * java/awt/TextField.java: Replaced with Classpath version.
10817         * java/awt/TextArea.java: Replaced with Classpath version.
10818         * java/awt/TextComponent.java: Replaced with Classpath version.
10819
10820         * java/awt/GridBagConstraints.java: Updated copyright.
10821
10822 2002-01-22  Mark Wielaard <mark@klomp.org>
10823
10824         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10825         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10826         java/awt/Dialog.java java/awt/FileDialog.java
10827         java/awt/Font.java java/awt/FontMetrics.java
10828         java/awt/Image.java java/awt/ImageMediaEntry.java
10829         java/awt/Insets.java java/awt/List.java
10830         java/awt/MediaEntry.java java/awt/MediaTracker.java
10831         java/awt/Menu.java java/awt/MenuBar.java
10832         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10833         java/awt/PaintContext.java java/awt/Panel.java
10834         java/awt/PopupMenu.java java/awt/SystemColor.java
10835         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10836         java/awt/peer/CheckboxMenuItemPeer.java
10837         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10838         java/awt/peer/ComponentPeer.java
10839         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10840         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10841         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10842         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10843         java/awt/peer/MenuBarPeer.java
10844         java/awt/peer/MenuComponentPeer.java
10845         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10846         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10847         java/awt/peer/ScrollPanePeer.java
10848         java/awt/peer/ScrollbarPeer.java
10849         java/awt/peer/TextAreaPeer.java
10850         java/awt/peer/TextComponentPeer.java
10851         java/awt/peer/TextFieldPeer.java
10852         java/awt/peer/WindowPeer.java: Add license clarification.
10853
10854 2002-01-22  Mark Wielaard <mark@klomp.org>
10855
10856         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10857         gnu/gcj/runtime/StringBuffer.java
10858         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10859         gnu/java/awt/ComponentDataBlitOp.java
10860         gnu/java/awt/GLightweightPeer.java
10861         gnu/java/beans/BeanInfoEmbryo.java
10862         gnu/java/beans/EmptyBeanInfo.java
10863         gnu/java/beans/ExplicitBeanInfo.java
10864         gnu/java/beans/IntrospectionIncubator.java
10865         gnu/java/beans/editors/ColorEditor.java
10866         gnu/java/beans/editors/FontEditor.java
10867         gnu/java/beans/editors/NativeBooleanEditor.java
10868         gnu/java/beans/editors/NativeByteEditor.java
10869         gnu/java/beans/editors/NativeDoubleEditor.java
10870         gnu/java/beans/editors/NativeFloatEditor.java
10871         gnu/java/beans/editors/NativeIntEditor.java
10872         gnu/java/beans/editors/NativeLongEditor.java
10873         gnu/java/beans/editors/NativeShortEditor.java
10874         gnu/java/beans/editors/StringEditor.java
10875         gnu/java/beans/info/ComponentBeanInfo.java
10876         gnu/java/io/ClassLoaderObjectInputStream.java
10877         gnu/java/io/NullOutputStream.java
10878         gnu/java/io/ObjectIdentityWrapper.java
10879         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10880         gnu/java/lang/reflect/TypeSignature.java
10881         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10882         gnu/java/locale/Calendar_en.java
10883         gnu/java/locale/Calendar_nl.java
10884         gnu/java/locale/LocaleInformation.java
10885         gnu/java/locale/LocaleInformation_de.java
10886         gnu/java/locale/LocaleInformation_en.java
10887         gnu/java/locale/LocaleInformation_nl.java
10888         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10889         gnu/java/rmi/registry/RegistryImpl.java
10890         gnu/java/rmi/rmic/Compile_gcj.java
10891         gnu/java/rmi/rmic/Compiler.java
10892         gnu/java/rmi/rmic/CompilerProcess.java
10893         gnu/java/rmi/rmic/RMIC.java
10894         gnu/java/rmi/rmic/TabbedWriter.java
10895         gnu/java/rmi/server/ProtocolConstants.java
10896         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10897         gnu/java/rmi/server/RMIHashes.java
10898         gnu/java/rmi/server/RMIObjectInputStream.java
10899         gnu/java/rmi/server/RMIObjectOutputStream.java
10900         gnu/java/rmi/server/UnicastConnection.java
10901         gnu/java/rmi/server/UnicastConnectionManager.java
10902         gnu/java/rmi/server/UnicastRef.java
10903         gnu/java/rmi/server/UnicastRemoteCall.java
10904         gnu/java/rmi/server/UnicastRemoteStub.java
10905         gnu/java/rmi/server/UnicastServer.java
10906         gnu/java/rmi/server/UnicastServerRef.java
10907         gnu/java/security/provider/DefaultPolicy.java
10908         gnu/java/security/provider/Gnu.java
10909         gnu/java/security/provider/SHA.java
10910         gnu/java/security/provider/SHA1PRNG.java
10911         gnu/java/text/BaseBreakIterator.java
10912         gnu/java/text/CharacterBreakIterator.java
10913         gnu/java/text/LineBreakIterator.java
10914         gnu/java/text/SentenceBreakIterator.java
10915         gnu/java/text/WordBreakIterator.java
10916         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10917         java/applet/AppletContext.java java/applet/AppletStub.java
10918         java/applet/AudioClip.java java/awt/AWTError.java
10919         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10920         java/awt/AWTException.java java/awt/AWTPermission.java
10921         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10922         java/awt/Button.java java/awt/Canvas.java
10923         java/awt/CardLayout.java java/awt/Checkbox.java
10924         java/awt/CheckboxGroup.java java/awt/Component.java
10925         java/awt/ComponentOrientation.java java/awt/Container.java
10926         java/awt/Dimension.java java/awt/Event.java
10927         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10928         java/awt/FlowLayout.java java/awt/Frame.java
10929         java/awt/Graphics.java java/awt/Graphics2D.java
10930         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10931         java/awt/IllegalComponentStateException.java
10932         java/awt/ItemSelectable.java java/awt/Label.java
10933         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10934         java/awt/MenuComponent.java java/awt/MenuItem.java
10935         java/awt/Paint.java java/awt/Point.java
10936         java/awt/Rectangle.java java/awt/RenderingHints.java
10937         java/awt/Transparency.java java/awt/Window.java
10938         java/awt/color/ColorSpace.java
10939         java/awt/color/ICC_ColorSpace.java
10940         java/awt/color/ICC_Profile.java
10941         java/awt/event/HierarchyBoundsAdapter.java
10942         java/awt/event/HierarchyBoundsListener.java
10943         java/awt/event/HierarchyEvent.java
10944         java/awt/event/HierarchyListener.java
10945         java/awt/geom/AffineTransform.java
10946         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10947         java/awt/geom/IllegalPathStateException.java
10948         java/awt/geom/Line2D.java
10949         java/awt/geom/NoninvertibleTransformException.java
10950         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10951         java/awt/geom/Rectangle2D.java
10952         java/awt/geom/RectangularShape.java
10953         java/awt/geom/RoundRectangle2D.java
10954         java/awt/image/BufferedImage.java
10955         java/awt/image/ColorModel.java
10956         java/awt/image/ComponentColorModel.java
10957         java/awt/image/ComponentSampleModel.java
10958         java/awt/image/DataBuffer.java
10959         java/awt/image/DataBufferByte.java
10960         java/awt/image/DataBufferInt.java
10961         java/awt/image/DataBufferUShort.java
10962         java/awt/image/DirectColorModel.java
10963         java/awt/image/PackedColorModel.java
10964         java/awt/image/Raster.java java/awt/image/RasterOp.java
10965         java/awt/image/SampleModel.java
10966         java/awt/image/SinglePixelPackedSampleModel.java
10967         java/awt/image/WritableRaster.java
10968         java/beans/AppletInitializer.java
10969         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10970         java/beans/Beans.java java/beans/Customizer.java
10971         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10972         java/beans/FeatureDescriptor.java
10973         java/beans/IndexedPropertyDescriptor.java
10974         java/beans/IntrospectionException.java
10975         java/beans/Introspector.java java/beans/MethodDescriptor.java
10976         java/beans/ParameterDescriptor.java
10977         java/beans/PropertyChangeEvent.java
10978         java/beans/PropertyChangeListener.java
10979         java/beans/PropertyChangeSupport.java
10980         java/beans/PropertyDescriptor.java
10981         java/beans/PropertyEditor.java
10982         java/beans/PropertyEditorManager.java
10983         java/beans/PropertyEditorSupport.java
10984         java/beans/PropertyVetoException.java
10985         java/beans/SimpleBeanInfo.java
10986         java/beans/VetoableChangeListener.java
10987         java/beans/VetoableChangeSupport.java
10988         java/beans/Visibility.java
10989         java/beans/beancontext/BeanContext.java
10990         java/beans/beancontext/BeanContextChild.java
10991         java/beans/beancontext/BeanContextChildComponentProxy.java
10992         java/beans/beancontext/BeanContextChildSupport.java
10993         java/beans/beancontext/BeanContextContainerProxy.java
10994         java/beans/beancontext/BeanContextEvent.java
10995         java/beans/beancontext/BeanContextMembershipEvent.java
10996         java/beans/beancontext/BeanContextMembershipListener.java
10997         java/beans/beancontext/BeanContextProxy.java
10998         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10999         java/beans/beancontext/BeanContextServiceProvider.java
11000         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11001         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11002         java/beans/beancontext/BeanContextServiceRevokedListener.java
11003         java/beans/beancontext/BeanContextServices.java
11004         java/beans/beancontext/BeanContextServicesListener.java
11005         java/io/BufferedInputStream.java
11006         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11007         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11008         java/io/ByteArrayOutputStream.java
11009         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11010         java/io/CharConversionException.java java/io/DataInput.java
11011         java/io/DataInputStream.java java/io/DataOutput.java
11012         java/io/EOFException.java java/io/Externalizable.java
11013         java/io/FileFilter.java java/io/FileNotFoundException.java
11014         java/io/FilePermission.java java/io/FileReader.java
11015         java/io/FileWriter.java java/io/FilenameFilter.java
11016         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11017         java/io/FilterReader.java java/io/FilterWriter.java
11018         java/io/IOException.java java/io/InputStream.java
11019         java/io/InterruptedIOException.java
11020         java/io/InvalidClassException.java
11021         java/io/InvalidObjectException.java
11022         java/io/NotActiveException.java
11023         java/io/NotSerializableException.java java/io/ObjectInput.java
11024         java/io/ObjectInputStream.java
11025         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11026         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11027         java/io/ObjectStreamConstants.java
11028         java/io/ObjectStreamException.java
11029         java/io/ObjectStreamField.java
11030         java/io/OptionalDataException.java java/io/OutputStream.java
11031         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11032         java/io/PipedReader.java java/io/PipedWriter.java
11033         java/io/PrintWriter.java java/io/PushbackInputStream.java
11034         java/io/PushbackReader.java java/io/Reader.java
11035         java/io/SequenceInputStream.java java/io/Serializable.java
11036         java/io/SerializablePermission.java
11037         java/io/StreamCorruptedException.java
11038         java/io/StreamTokenizer.java
11039         java/io/StringBufferInputStream.java java/io/StringReader.java
11040         java/io/StringWriter.java java/io/SyncFailedException.java
11041         java/io/UTFDataFormatException.java
11042         java/io/UnsupportedEncodingException.java
11043         java/io/WriteAbortedException.java java/io/Writer.java
11044         java/lang/AbstractMethodError.java
11045         java/lang/ArithmeticException.java
11046         java/lang/ArrayIndexOutOfBoundsException.java
11047         java/lang/ArrayStoreException.java java/lang/Boolean.java
11048         java/lang/Byte.java java/lang/CharSequence.java
11049         java/lang/ClassCastException.java
11050         java/lang/ClassCircularityError.java
11051         java/lang/ClassFormatError.java
11052         java/lang/ClassNotFoundException.java
11053         java/lang/CloneNotSupportedException.java
11054         java/lang/Cloneable.java java/lang/Comparable.java
11055         java/lang/Compiler.java java/lang/Double.java
11056         java/lang/Error.java java/lang/Exception.java
11057         java/lang/ExceptionInInitializerError.java
11058         java/lang/Float.java java/lang/IllegalAccessError.java
11059         java/lang/IllegalAccessException.java
11060         java/lang/IllegalArgumentException.java
11061         java/lang/IllegalMonitorStateException.java
11062         java/lang/IllegalStateException.java
11063         java/lang/IllegalThreadStateException.java
11064         java/lang/IncompatibleClassChangeError.java
11065         java/lang/IndexOutOfBoundsException.java
11066         java/lang/InheritableThreadLocal.java
11067         java/lang/InstantiationError.java
11068         java/lang/InstantiationException.java java/lang/Integer.java
11069         java/lang/InternalError.java
11070         java/lang/InterruptedException.java
11071         java/lang/LinkageError.java java/lang/Long.java
11072         java/lang/NegativeArraySizeException.java
11073         java/lang/NoClassDefFoundError.java
11074         java/lang/NoSuchFieldError.java
11075         java/lang/NoSuchFieldException.java
11076         java/lang/NoSuchMethodError.java
11077         java/lang/NoSuchMethodException.java
11078         java/lang/NullPointerException.java java/lang/Number.java
11079         java/lang/NumberFormatException.java
11080         java/lang/OutOfMemoryError.java java/lang/Package.java
11081         java/lang/Process.java java/lang/Runnable.java
11082         java/lang/RuntimeException.java
11083         java/lang/RuntimePermission.java
11084         java/lang/SecurityException.java
11085         java/lang/SecurityManager.java java/lang/Short.java
11086         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11087         java/lang/StringIndexOutOfBoundsException.java
11088         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11089         java/lang/ThreadLocal.java java/lang/UnknownError.java
11090         java/lang/UnsatisfiedLinkError.java
11091         java/lang/UnsupportedClassVersionError.java
11092         java/lang/UnsupportedOperationException.java
11093         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11094         java/lang/Void.java java/lang/ref/PhantomReference.java
11095         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11096         java/lang/ref/SoftReference.java
11097         java/lang/ref/WeakReference.java
11098         java/lang/reflect/AccessibleObject.java
11099         java/lang/reflect/InvocationTargetException.java
11100         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11101         java/lang/reflect/ReflectPermission.java
11102         java/math/BigDecimal.java java/math/BigInteger.java
11103         java/net/Authenticator.java java/net/BindException.java
11104         java/net/ConnectException.java java/net/ContentHandler.java
11105         java/net/ContentHandlerFactory.java
11106         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11107         java/net/FileNameMap.java java/net/MalformedURLException.java
11108         java/net/MulticastSocket.java java/net/NetPermission.java
11109         java/net/NoRouteToHostException.java
11110         java/net/PasswordAuthentication.java
11111         java/net/ProtocolException.java java/net/ServerSocket.java
11112         java/net/Socket.java java/net/SocketException.java
11113         java/net/SocketImpl.java java/net/SocketImplFactory.java
11114         java/net/SocketOptions.java java/net/SocketPermission.java
11115         java/net/URLDecoder.java java/net/URLEncoder.java
11116         java/net/URLStreamHandlerFactory.java
11117         java/net/UnknownHostException.java
11118         java/net/UnknownServiceException.java
11119         java/rmi/AccessException.java
11120         java/rmi/AlreadyBoundException.java
11121         java/rmi/ConnectException.java
11122         java/rmi/ConnectIOException.java
11123         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11124         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11125         java/rmi/NotBoundException.java
11126         java/rmi/RMISecurityException.java
11127         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11128         java/rmi/RemoteException.java java/rmi/ServerError.java
11129         java/rmi/ServerException.java
11130         java/rmi/ServerRuntimeException.java
11131         java/rmi/StubNotFoundException.java
11132         java/rmi/UnexpectedException.java
11133         java/rmi/UnknownHostException.java
11134         java/rmi/UnmarshalException.java
11135         java/rmi/activation/Activatable.java
11136         java/rmi/activation/ActivateFailedException.java
11137         java/rmi/activation/ActivationDesc.java
11138         java/rmi/activation/ActivationException.java
11139         java/rmi/activation/ActivationGroup.java
11140         java/rmi/activation/ActivationGroupDesc.java
11141         java/rmi/activation/ActivationGroupID.java
11142         java/rmi/activation/ActivationID.java
11143         java/rmi/activation/ActivationInstantiator.java
11144         java/rmi/activation/ActivationMonitor.java
11145         java/rmi/activation/ActivationSystem.java
11146         java/rmi/activation/Activator.java
11147         java/rmi/activation/UnknownGroupException.java
11148         java/rmi/activation/UnknownObjectException.java
11149         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11150         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11151         java/rmi/registry/Registry.java
11152         java/rmi/registry/RegistryHandler.java
11153         java/rmi/server/ExportException.java
11154         java/rmi/server/LoaderHandler.java
11155         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11156         java/rmi/server/Operation.java
11157         java/rmi/server/RMIClassLoader.java
11158         java/rmi/server/RMIClientSocketFactory.java
11159         java/rmi/server/RMIFailureHandler.java
11160         java/rmi/server/RMIServerSocketFactory.java
11161         java/rmi/server/RMISocketFactory.java
11162         java/rmi/server/RemoteCall.java
11163         java/rmi/server/RemoteObject.java
11164         java/rmi/server/RemoteRef.java
11165         java/rmi/server/RemoteServer.java
11166         java/rmi/server/RemoteStub.java
11167         java/rmi/server/ServerCloneException.java
11168         java/rmi/server/ServerNotActiveException.java
11169         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11170         java/rmi/server/SkeletonMismatchException.java
11171         java/rmi/server/SkeletonNotFoundException.java
11172         java/rmi/server/SocketSecurityException.java
11173         java/rmi/server/UID.java
11174         java/rmi/server/UnicastRemoteObject.java
11175         java/rmi/server/Unreferenced.java
11176         java/security/AccessControlContext.java
11177         java/security/AccessControlException.java
11178         java/security/AccessController.java
11179         java/security/AlgorithmParameterGenerator.java
11180         java/security/AlgorithmParameterGeneratorSpi.java
11181         java/security/AlgorithmParameters.java
11182         java/security/AlgorithmParametersSpi.java
11183         java/security/AllPermission.java
11184         java/security/BasicPermission.java
11185         java/security/Certificate.java java/security/CodeSource.java
11186         java/security/DigestException.java
11187         java/security/DigestInputStream.java
11188         java/security/DigestOutputStream.java
11189         java/security/DomainCombiner.java
11190         java/security/DummyKeyPairGenerator.java
11191         java/security/DummyMessageDigest.java
11192         java/security/DummySignature.java
11193         java/security/GeneralSecurityException.java
11194         java/security/Guard.java java/security/GuardedObject.java
11195         java/security/Identity.java java/security/IdentityScope.java
11196         java/security/InvalidAlgorithmParameterException.java
11197         java/security/InvalidKeyException.java
11198         java/security/InvalidParameterException.java
11199         java/security/Key.java java/security/KeyException.java
11200         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11201         java/security/KeyManagementException.java
11202         java/security/KeyPair.java java/security/KeyPairGenerator.java
11203         java/security/KeyPairGeneratorSpi.java
11204         java/security/KeyStore.java
11205         java/security/KeyStoreException.java
11206         java/security/KeyStoreSpi.java
11207         java/security/MessageDigest.java
11208         java/security/MessageDigestSpi.java
11209         java/security/NoSuchAlgorithmException.java
11210         java/security/NoSuchProviderException.java
11211         java/security/Permission.java
11212         java/security/PermissionCollection.java
11213         java/security/Permissions.java java/security/Policy.java
11214         java/security/Principal.java java/security/PrivateKey.java
11215         java/security/PrivilegedAction.java
11216         java/security/PrivilegedActionException.java
11217         java/security/PrivilegedExceptionAction.java
11218         java/security/ProtectionDomain.java
11219         java/security/Provider.java
11220         java/security/ProviderException.java
11221         java/security/PublicKey.java
11222         java/security/SecureClassLoader.java
11223         java/security/SecureRandom.java
11224         java/security/SecureRandomSpi.java java/security/Security.java
11225         java/security/SecurityPermission.java
11226         java/security/Signature.java
11227         java/security/SignatureException.java
11228         java/security/SignatureSpi.java
11229         java/security/SignedObject.java java/security/Signer.java
11230         java/security/UnrecoverableKeyException.java
11231         java/security/UnresolvedPermission.java
11232         java/security/acl/Acl.java java/security/acl/AclEntry.java
11233         java/security/acl/AclNotFoundException.java
11234         java/security/acl/Group.java
11235         java/security/acl/LastOwnerException.java
11236         java/security/acl/NotOwnerException.java
11237         java/security/acl/Owner.java java/security/acl/Permission.java
11238         java/security/cert/CRL.java
11239         java/security/cert/CRLException.java
11240         java/security/cert/Certificate.java
11241         java/security/cert/CertificateEncodingException.java
11242         java/security/cert/CertificateException.java
11243         java/security/cert/CertificateExpiredException.java
11244         java/security/cert/CertificateFactory.java
11245         java/security/cert/CertificateFactorySpi.java
11246         java/security/cert/CertificateNotYetValidException.java
11247         java/security/cert/CertificateParsingException.java
11248         java/security/cert/X509CRL.java
11249         java/security/cert/X509CRLEntry.java
11250         java/security/cert/X509Certificate.java
11251         java/security/cert/X509Extension.java
11252         java/security/interfaces/DSAKey.java
11253         java/security/interfaces/DSAKeyPairGenerator.java
11254         java/security/interfaces/DSAParams.java
11255         java/security/interfaces/DSAPrivateKey.java
11256         java/security/interfaces/DSAPublicKey.java
11257         java/security/interfaces/RSAKey.java
11258         java/security/interfaces/RSAPrivateCrtKey.java
11259         java/security/interfaces/RSAPrivateKey.java
11260         java/security/interfaces/RSAPublicKey.java
11261         java/security/spec/AlgorithmParameterSpec.java
11262         java/security/spec/DSAParameterSpec.java
11263         java/security/spec/DSAPrivateKeySpec.java
11264         java/security/spec/DSAPublicKeySpec.java
11265         java/security/spec/EncodedKeySpec.java
11266         java/security/spec/InvalidKeySpecException.java
11267         java/security/spec/InvalidParameterSpecException.java
11268         java/security/spec/KeySpec.java
11269         java/security/spec/PKCS8EncodedKeySpec.java
11270         java/security/spec/RSAKeyGenParameterSpec.java
11271         java/security/spec/RSAPrivateCrtKeySpec.java
11272         java/security/spec/RSAPrivateKeySpec.java
11273         java/security/spec/RSAPublicKeySpec.java
11274         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11275         java/sql/BatchUpdateException.java java/sql/Blob.java
11276         java/sql/CallableStatement.java java/sql/Clob.java
11277         java/sql/Connection.java java/sql/DataTruncation.java
11278         java/sql/DatabaseMetaData.java java/sql/Date.java
11279         java/sql/Driver.java java/sql/DriverManager.java
11280         java/sql/DriverPropertyInfo.java
11281         java/sql/PreparedStatement.java java/sql/Ref.java
11282         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11283         java/sql/SQLData.java java/sql/SQLException.java
11284         java/sql/SQLInput.java java/sql/SQLOutput.java
11285         java/sql/SQLWarning.java java/sql/Statement.java
11286         java/sql/Struct.java java/sql/Time.java
11287         java/sql/Timestamp.java java/sql/Types.java
11288         java/text/Annotation.java
11289         java/text/AttributedCharacterIterator.java
11290         java/text/AttributedString.java
11291         java/text/AttributedStringIterator.java
11292         java/text/BreakIterator.java java/text/CharacterIterator.java
11293         java/text/ChoiceFormat.java java/text/Collator.java
11294         java/text/DateFormat.java java/text/DateFormatSymbols.java
11295         java/text/DecimalFormat.java
11296         java/text/DecimalFormatSymbols.java
11297         java/text/FieldPosition.java java/text/Format.java
11298         java/text/MessageFormat.java java/text/NumberFormat.java
11299         java/text/ParseException.java java/text/ParsePosition.java
11300         java/text/SimpleDateFormat.java
11301         java/text/StringCharacterIterator.java
11302         java/util/AbstractCollection.java java/util/AbstractList.java
11303         java/util/AbstractMap.java
11304         java/util/AbstractSequentialList.java
11305         java/util/AbstractSet.java java/util/ArrayList.java
11306         java/util/Arrays.java java/util/BasicMapEntry.java
11307         java/util/BitSet.java java/util/Calendar.java
11308         java/util/Collection.java java/util/Collections.java
11309         java/util/Comparator.java
11310         java/util/ConcurrentModificationException.java
11311         java/util/Date.java java/util/Dictionary.java
11312         java/util/EmptyStackException.java java/util/Enumeration.java
11313         java/util/EventListener.java java/util/EventObject.java
11314         java/util/GregorianCalendar.java java/util/HashMap.java
11315         java/util/HashSet.java java/util/Hashtable.java
11316         java/util/IdentityHashMap.java java/util/Iterator.java
11317         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11318         java/util/LinkedList.java java/util/List.java
11319         java/util/ListIterator.java java/util/ListResourceBundle.java
11320         java/util/Locale.java java/util/Map.java
11321         java/util/MissingResourceException.java
11322         java/util/NoSuchElementException.java
11323         java/util/Observable.java java/util/Observer.java
11324         java/util/Properties.java java/util/PropertyPermission.java
11325         java/util/PropertyResourceBundle.java java/util/Random.java
11326         java/util/RandomAccess.java java/util/ResourceBundle.java
11327         java/util/Set.java java/util/SimpleTimeZone.java
11328         java/util/SortedMap.java java/util/SortedSet.java
11329         java/util/Stack.java java/util/StringTokenizer.java
11330         java/util/TimeZone.java java/util/Timer.java
11331         java/util/TimerTask.java
11332         java/util/TooManyListenersException.java
11333         java/util/TreeMap.java java/util/TreeSet.java
11334         java/util/Vector.java java/util/WeakHashMap.java
11335         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11336         java/util/jar/JarException.java java/util/jar/JarFile.java
11337         java/util/jar/JarInputStream.java
11338         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11339         java/util/zip/Adler32.java java/util/zip/CRC32.java
11340         java/util/zip/CheckedInputStream.java
11341         java/util/zip/CheckedOutputStream.java
11342         java/util/zip/Checksum.java
11343         java/util/zip/DataFormatException.java
11344         java/util/zip/Deflater.java
11345         java/util/zip/DeflaterOutputStream.java
11346         java/util/zip/GZIPInputStream.java
11347         java/util/zip/GZIPOutputStream.java
11348         java/util/zip/Inflater.java
11349         java/util/zip/InflaterInputStream.java
11350         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11351         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11352         java/util/zip/ZipInputStream.java
11353         java/util/zip/ZipOutputStream.java
11354         javax/naming/BinaryRefAddr.java
11355         javax/naming/InvalidNameException.java javax/naming/Name.java
11356         javax/naming/NamingException.java javax/naming/RefAddr.java
11357         javax/naming/StringRefAddr.java: Add license clarification.
11358
11359 2002-01-22  Tom Tromey  <tromey@redhat.com>
11360
11361         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11362         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11363         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11364         version.
11365         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11366         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11367         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11368         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11369         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11370         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11371         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11372         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11373         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11374         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11375         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11376         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11377         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11378         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11379         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11380         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11381         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11382         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11383         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11384         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11385         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11386         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11387         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11388         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11389         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11390         (minimumSize, preferredSize, reshape): Likewise.
11391         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11392         getColorModel): New methods.
11393         * java/awt/PopupMenu.java: Merged with Classpath.
11394         * java/awt/MenuBar.java: Merged with Classpath.
11395         * java/awt/SystemColor.java: Replace with Classpath version.
11396         * java/awt/Panel.java: Merged with Classpath.
11397         * java/awt/PaintContext.java: Updated copyright.
11398         * java/awt/MenuShortcut.java: Merged with Classpath.
11399         * java/awt/MenuContainer.java: Merged with Classpath.
11400         * java/awt/Menu.java: Merged with Classpath.
11401         * java/awt/MediaEntry.java: New file from Classpath.
11402         * java/awt/MediaTracker.java: New file from Classpath.
11403         * java/awt/List.java: Merged with Classpath version.
11404         * java/awt/Insets.java: Merged with Classpath version.
11405         * java/awt/ImageMediaEntry.java: New file from Classpath.
11406         * java/awt/Image.java: Replaced with Classpath version.
11407         * java/awt/FontMetrics.java: Merged with Classpath version.
11408         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11409         constant.
11410         * java/awt/Font.java: Merged with Classpath version.
11411         * java/awt/Dialog.java: Merged with Classpath version.
11412         * java/awt/Color.java: Merged with Classpath version.
11413         * java/awt/Choice.java: Merged with Classpath version.
11414         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11415         * java/awt/Adjustable.java: Replace with Classpath version.
11416         * java/awt/MenuItem.java (paramString): Don't include class name
11417         or brackets.  Call superclass paramString.
11418         * java/awt/MenuComponent.java (toString): Call paramString.
11419         (paramString): Compute string; don't call toString.
11420         * java/awt/Label.java (paramString): Don't include class name
11421         or brackets.  Call superclass paramString.
11422         * java/awt/Checkbox.java (paramString): Don't include class name
11423         or brackets.  Call superclass paramString.
11424         * java/awt/Button.java (paramString): Don't include class name or
11425         brackets.  Call superclass paramString.
11426         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11427
11428 2002-01-20  Andreas Schwab  <schwab@suse.de>
11429
11430         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11431         function and of parameter recv_func to ssize_t, as specified by
11432         POSIX.
11433
11434 2002-01-19  Per Bothner  <per@bothner.com>
11435
11436         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11437         uncompressed_size in readiness for next entry.
11438
11439 2002-01-18  Tom Tromey  <tromey@redhat.com>
11440
11441         * java/net/natPlainSocketImpl.cc: Include
11442         IllegalArgumentException.h.
11443         (_Jv_recv): New template function.
11444         (BooleanClass): Removed.
11445         (read): Use _Jv_recv.
11446         (setOption): Use Boolean::class$.  Throw exception if object is
11447         not Boolean or Integer.
11448
11449 2002-01-17  Tom Tromey  <tromey@redhat.com>
11450
11451         * java/awt/MenuComponent.java: Merged with Classpath.
11452         * java/awt/MenuItem.java: Merged with Classpath.
11453         * java/awt/Button.java: Merged with Classpath.
11454
11455         * java/awt/ActiveEvent.java: Updated copyright.
11456
11457         * java/awt/AWTError.java: Replaced with Classpath version.
11458         * java/awt/AWTException.java: Replaced with Classpath version.
11459         * java/awt/IllegalComponentStateException.java: Replaced with
11460         Classpath version.
11461
11462 2002-01-16  Tom Tromey  <tromey@redhat.com>
11463
11464         * java/awt/Canvas.java (serialVersionUID): New constant.
11465         Updated copyright.  Added javadoc from Classpath.
11466         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11467
11468         * java/awt/CheckboxGroup.java: Merged with Classpath.
11469         * java/awt/Checkbox.java: Merged with Classpath.
11470
11471         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11472         Classpath.
11473         * java/awt/Point.java: Updated copyright.
11474
11475         * java/awt/Point.java (toString): Use getClass().getName().
11476         Added javadoc.
11477
11478         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11479         commented code.
11480         (hash): Correctly compute initial value for `h'.
11481
11482         * java/awt/Label.java: Merged with Classpath.
11483
11484 2002-01-15  Tom Tromey  <tromey@redhat.com>
11485
11486         * java/awt/AWTPermission.java: Updated copyright.
11487
11488         * java/awt/LayoutManager2.java: Merged with Classpath.
11489         * java/awt/LayoutManager.java: Merged with Classpath.
11490         * java/awt/GridLayout.java: Updated copyright and javadoc.
11491         (getSize): Use `parent.ncomponents'.  Handle insets.
11492         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11493         there are fewer children than columns.  Correctly compute size of
11494         each cell in the grid.  Handle case where there isn't enough
11495         space.
11496         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11497         all users.
11498         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11499         before calling setVisible() on it.  Last item is `num - 1', not
11500         `num'.
11501         (layoutContainer): Hoist invariants out of loop.
11502
11503         Start of AWT merge with Classpath:
11504         * Makefile.in: Rebuilt.
11505         * Makefile.am (awt_java_source_files): Reference files in
11506         gnu/java/awt, not gnu/gcj/awt.
11507         * java/awt/image/BufferedImage.java: Updated copyright.
11508         * java/awt/image/ComponentColorModel.java: Updated copyright.
11509         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11510         * java/awt/image/DataBuffer.java: Updated copyright.
11511         * java/awt/image/DataBufferByte.java: Updated copyright.
11512         * java/awt/image/DataBufferInt.java: Updated copyright.
11513         * java/awt/image/DataBufferUShort.java: Updated copyright.
11514         * java/awt/image/IndexColorModel.java: Updated copyright.
11515         * java/awt/image/PackedColorModel.java: Updated copyright.
11516         * java/awt/image/Raster.java: Updated copyright.
11517         * java/awt/image/RasterOp.java: Updated copyright.
11518         * java/awt/image/SampleModel.java: Updated copyright.
11519         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11520         * java/awt/image/WritableRaster.java: Updated copyright.
11521         * java/awt/color/ColorSpace.java: Updated copyright.
11522         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11523         * java/awt/color/ICC_Profile.java: Updated copyright.
11524         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11525         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11526         * java/awt/event/HierarchyEvent.java: Updated copyright.
11527         * java/awt/event/HierarchyListener.java: Updated copyright.
11528         * java/awt/geom/AffineTransform.java: Updated copyright.
11529         * java/awt/geom/Dimension2D.java: Updated copyright.
11530         * java/awt/geom/Ellipse2D.java: Updated copyright.
11531         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11532         * java/awt/geom/Line2D.java: Updated copyright.
11533         * java/awt/geom/NoninvertibleTransformException.java: Updated
11534         copyright.
11535         * java/awt/geom/PathIterator.java: Updated copyright.
11536         * java/awt/geom/Point2D.java: Updated copyright.
11537         * java/awt/geom/Rectangle2D.java: Updated copyright.
11538         * java/awt/geom/RectangularShape.java: Updated copyright.
11539         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11540         * java/awt/Toolkit.java: Updated import for file moves.
11541         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11542         Classpath.
11543         (hashCode): New method from Classpath.
11544         * java/awt/Graphics2D.java: Updated copyright.
11545         * java/awt/Transparency.java: Updated copyright.
11546         * java/awt/Paint.java: Updated copyright.
11547         * java/awt/Graphics.java: New version from Classpath.
11548         * java/awt/EventDispatchThread.java: Updated copyright.
11549         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11550         children.
11551         (gotoComponent): Wrap around on next/previous.
11552         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11553         * gnu/gcj/awt/Buffers.java: Removed.
11554         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11555         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11556         * gnu/java/awt/BitMaskExtent.java: Added.
11557         * gnu/java/awt/Buffers.java: Added.
11558         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11559         * gnu/java/awt/GLightweightPeer.java: Added.
11560         * java/awt/geom/Line2D.java (clone): Ignore
11561         CloneNotSupportedException.
11562         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11563         * java/awt/Frame.java: Merged with Classpath.
11564         * java/awt/RenderingHints.java: Copyright update.
11565         * java/awt/Paint.java: Copyright update.
11566         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11567         * java/awt/image/ColorModel.java: Merged with Classpath.
11568         * java/awt/Window.java (show): New Implementation from Classpath.
11569         (isShowing): Use super.isShowing().
11570         * java/awt/EventQueue.java: Merged with Classpath.
11571         * java/awt/AWTEventMulticaster.java (save): Throw
11572         RuntimeException.
11573         (saveInternal): Likewise.
11574         * java/awt/AWTEvent.java: Now implements Serializable.
11575         * java/awt/Event.java: Copyright update.
11576         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11577         * java/awt/image/BufferedImage.java: Copyright update.
11578         * java/awt/GraphicsConfiguration.java: Copyright update.
11579         * java/awt/Component.java: (addNotify): Don't call
11580         addNotifyContainerChildren().
11581         (addNotifyContainerChildren): Removed.
11582         (setPeer): New method from Classpath.
11583         (setTreeLock): Likewise.
11584         (setVisible): Rewrote.
11585         (show): Use it.
11586         (hide): Likewise.
11587         (validate): Set `valid'.
11588         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11589         (createImage(ImageProducer)): Likewise.
11590         (prepareImage): Likewise.
11591         * java/awt/Container.java (addImpl): Handle case where constraint
11592         is not a String.  Post event via system event queue.
11593         (remove): Post event via system event queue.
11594         (validateTree): Only validate child if it is invalid.
11595         (getAlignmentX): Call super method as default.
11596         (getAlignmentY): Likewise.
11597         (addContainerListener): Now synchronized.
11598         (removeContainerListener): Likewise.
11599         (addNotifyContainerChildren): Now private.
11600         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11601         @author.
11602         * java/awt/FlowLayout.java (serialVersionUID): New field.
11603         (setAlignment): Better exception message.
11604         (layoutContainer): Don't compute component's preferred size unless
11605         we're going to use it.
11606         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11607         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11608         (firstLine, lastLine, firstItem, lastItem): New fields.
11609         (addLayoutComponent): Handle case where constraints is null.
11610         Also, handle relative locations.
11611         (removeLayoutComponent): Handle relative locations.
11612         (MIN, MAX, PREF): New constants.
11613         (calcCompSize): New method.
11614         (calcSize): New method.
11615         (minimumLayoutSize): Use it.
11616         (preferredLayoutSize): Likewise.
11617         (maximumLayoutSize): Likewise.
11618         (toString): Include more information.
11619         (setBounds): New method.
11620         (layoutContainer): Use libgcj implementation; extended to handle
11621         relative locations.
11622
11623 2002-01-15  Tom Tromey  <tromey@redhat.com>
11624
11625         * java/lang/Float.java (equals): Preserve old code.
11626         * java/lang/Double.java (equals): Preserve old code.
11627
11628 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11629
11630         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11631         * java/lang/Float.java (equals, compare): Ditto.
11632
11633 2002-01-13  Mark Wielaard  <mark@klomp.org>
11634
11635         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11636         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11637         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11638         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11639
11640 2002-01-11  Mark Wielaard  <mark@klomp.org>
11641
11642         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11643         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11644         InetAddress.
11645         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11646         * java/net/Socket.java: Merge with Classpath.
11647         * java/net/ServerSocket.java: Likewise.
11648
11649 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11650
11651         * interpret.cc (NULLARRAYCHECK): New macro.
11652         (SAVE_PC): Just store `pc'.
11653         (find_exception): Subtract one from `pc' here.
11654         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11655         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11656         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11657         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11658         don't call SAVE_PC.
11659         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11660         call SAVE_PC.
11661
11662 2002-01-11  Tom Tromey  <tromey@redhat.com>
11663
11664         * java/lang/natSystem.cc (init_properties): Only look for default
11665         locale if LC_MESSAGES is defined.
11666         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11667         * configure.in: Call AM_LC_MESSAGES.
11668         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11669
11670 2002-01-10  Tom Tromey  <tromey@redhat.com>
11671
11672         For PR libgcj/5303:
11673         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11674         --version.  Recognize GNU-style long options.  Print GNU-style
11675         error messages.
11676         (usage): Print GNU-style help.  Exit with status 0.
11677         (error): New method.
11678         (run): Print error message if no class names found.
11679         (main): Don't print usage on error.
11680
11681 2002-01-09  Tom Tromey  <tromey@redhat.com>
11682
11683         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11684         property.
11685         (help, version): Use println(), not println("").
11686
11687         For PR libgcj/5303:
11688         * gnu/gcj/convert/Convert.java (error): Program is called
11689         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11690         -1.
11691         (main): Handle --help and --version.
11692         (help): New method.
11693         (version): Likewise.
11694
11695 2002-01-08  Tom Tromey  <tromey@redhat.com>
11696
11697         * Makefile.in: Rebuilt.
11698         * Makefile.am (ordinary_java_source_files): Added new files.
11699         * gnu/java/locale/LocaleInformation.java: Extend
11700         LocaleInformation_en.
11701         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11702         and time/date formats.
11703         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11704         generated.
11705         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11706         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11707         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11708         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11709         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11710         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11711         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11712         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11713         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11714         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11715         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11716         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11717         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11718         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11719         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11720         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11721         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11722         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11723         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11724         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11725         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11726         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11727         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11728         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11729         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11730         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11731         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11732         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11733         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11734         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11735         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11736         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11737         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11738         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11739         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11740         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11741         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11742         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11743         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11744         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11745         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11746         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11747         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11748         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11749         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11750         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11751         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11752         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11753         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11754         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11755         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11756         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11757         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11758         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11759         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11760         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11761         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11762         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11763         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11764         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11765         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11766         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11767         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11768         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11769         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11770         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11771         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11772         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11773         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11774         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11775         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11776         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11777         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11778         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11779         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11780         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11781         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11782         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11783         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11784         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11785         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11786         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11787         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11788         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11789         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11790         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11791         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11792         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11793         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11794         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11795         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11796         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11797         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11798         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11799         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11800         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11801         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11802         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11803         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11804         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11805         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11806         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11807         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11808         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11809         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11810         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11811         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11812         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11813         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11814         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11815         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11816         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11817         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11818         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11819         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11820         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11821         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11822         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11823         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11824         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11825         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11826         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11827         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11828         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11829         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11830         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11831         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11832         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11833         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11834         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11835
11836         For PR libgcj/5031:
11837         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11838         choose default locale.
11839
11840         * Makefile.in: Rebuilt.
11841         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11842
11843 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11844
11845         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11846         sockets.
11847         (close): New function closes the socket.
11848         (write): New functions for output to socket.
11849         (read): New functions for reading from socket.
11850         * java/net/PlainSocketImpl.java: Glue for new timeout
11851         implementation.
11852         (write): Call the native impl.
11853         (read): Likewise.
11854         (getInputStream): Get a stream to read from the socket.
11855         (getOutputStream): Get a stream to write to the socket.
11856
11857 2002-01-08  Tom Tromey  <tromey@redhat.com>
11858
11859         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11860
11861 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11862
11863         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11864         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11865
11866 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11867
11868         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11869         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11870         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11871         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11872         insn_bastore, insn_castore, insn_sastore]: Use it.
11873         (continue1) [insn_arraylength]: Check for null array.
11874
11875 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11876
11877         * configure, include/config.h.in: Rebuilt.
11878         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11879         * configure.in: Call AC_STRUCT_TIMEZONE.
11880
11881 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11882
11883         * configure.host: Disable the interpreter for Darwin.
11884
11885 2002-01-04  Tom Tromey  <tromey@redhat.com>
11886
11887         * java/lang/Thread.java (stop): No longer synchronized.
11888         (start): Likewise.
11889
11890 2002-01-02  Tom Tromey  <tromey@redhat.com>
11891
11892         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11893         patch.
11894
11895 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11896
11897         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11898         PPC Darwin, not for all of Darwin.