2003-06-24 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-24  Michael Koch  <konqueror@gmx.de>
2
3         * java/io/LineNumberReader.java
4         (skip): Dont do line number accounting here as this is already done in
5         read(), simplified.
6
7 2003-06-21  Michael Koch  <konqueror@gmx.de>
8
9         * java/io/File.java
10         (static): Load javaio lib if existing (only in classpath).
11         (File): Revised documentation to show the correct argument name.
12         (createTempFile): Partly merged with classpath.
13         (compareTo): Simplified.
14         (lastModified): Throw exception if time < 0.
15         (deleteOnExit): Revised documentation.
16
17 2003-06-21  Michael Koch  <konqueror@gmx.de>
18
19         * java/net/PlainSocketImpl.java:
20         Reformatted.
21         (PlainSocketImpl): Merged class documentaion with classpath.
22         (in): Moved.
23         (out): Moved.
24         (PlainSocketImpl): New empty constructor.
25         (finalize): Moved.
26         (setOption): Merged documentation from classpath.
27         (getOption): Likewise.
28         (create): Likewise.
29         (connect): Likewise.
30         (bind): Likewise.
31         (listen): Likewise.
32         (accept): Likewise.
33         (available): Likewise.
34         (close): Likewise.
35         (read): Likewise.
36         (write): Likewise.
37         (getInputStream): Made synchronozed to get sure that only one stream
38         object can be created for this socket, merged documentation from
39         classpath.
40         (getOutputStream): Likewise.
41
42 2003-06-21  Michael Koch  <konqueror@gmx.de>
43
44         * java/net/PlainSocketImpl.java:
45         Reformatting.
46         (static): New implicit method.
47         (read): Made package private.
48         (write): Likewise.
49
50 2003-06-21  Michael Koch  <konqueror@gmx.de>
51
52         * java/util/SimpleTimeZone.java:
53         Removed unneeded import, reformatting.
54
55 2003-06-21  Michael Koch  <konqueror@gmx.de>
56
57         * java/text/DateFormat.java,
58         java/text/SimpleDateFormat.java,
59         java/util/Locale.java:
60         New versions from classpath.
61
62 2003-06-21  Michael Koch  <konqueror@gmx.de>
63
64         * javax/swing/SpinnerModel.java:
65         New file from classpath.
66         * javax/swing/border/LineBorder.java,
67         javax/swing/border/SoftBevelBorder.java,
68         javax/swing/plaf/BorderUIResource.java,
69         javax/swing/plaf/basic/BasicBorders.java:
70         New versions from classpath.
71         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
72         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
73         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
74         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
75         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
76         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
77         New binary files from classpath.
78
79 2003-06-21  Michael Koch  <konqueror@gmx.de>
80
81         * java/util/logging/LogRecord.java,
82         java/util/logging/Logger.java,
83         java/util/logging/SocketHandler.java,
84         java/util/logging/SimpleFormatter.java,
85         java/util/logging/Formatter.java,
86         java/util/logging/ErrorManager.java,
87         java/util/logging/Handler.java,
88         java/util/logging/FileHandler.java,
89         java/util/logging/LogManager.java,
90         java/util/logging/Level.java,
91         java/util/logging/ConsoleHandler.java,
92         java/util/logging/StreamHandler.java,
93         java/util/logging/LoggingPermission.java,
94         java/util/logging/Filter.java,
95         java/util/logging/MemoryHandler.java,
96         java/util/logging/XMLFormatter.java:
97         New files from classpath.
98
99 2003-06-20  Michael Koch  <konqueror@gmx.de>
100
101         * java/io/ObjectStreamField.java
102         (unshared): new member variable.
103         (ObjectStreamField): New constructor.
104         (isUnshared): New method.
105
106 2003-06-20  Michael Koch  <konqueror@gmx.de>
107
108         * java/net/URLStreamHandler.java
109         (hostsEqual): Rewritten.
110
111 2003-06-20  Michael Koch  <konqueror@gmx.de>
112
113         * gnu/java/nio/MappedByteFileBuffer.java,
114         gnu/java/nio/natMappedByteFileBuffer.cc:
115         Removed
116         * java/nio/MappedByteBufferImpl.java:
117         New file.
118         * gnu/java/nio/FileChannelImpl.java:
119         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
120         * Makefile.am
121         (ordinary_java_source_files): Removed
122         gnu/java/nio/MappedByteFileBuffer.java and added
123         java/nio/MappedByteBufferImpl.java.
124         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
125         * Makefile.in: Regenerated.
126
127 2003-06-19  Michael Koch  <konqueror@gmx.de>
128
129         * gnu/java/nio/DatagramChannelImpl.java
130         (fd): Removed.
131         (blocking): New member variable.
132         (socket): Likewise.
133         (DatagramChannelImpl): Throws IOException, initialize socket.
134         (socket):Implemented.
135         (implCloseSelectableChannel): Throws IOException, implemented.
136         (implConfigureBlocking): Likewise.
137         (connect): Likewise.
138         (disconnect): Likewise.
139         (isConnected): Likewise.
140         (write): Likewise.
141         (read): Likewise.
142         (receive): Throws IOException.
143         (send): Likewise.
144         * gnu/java/nio/SocketChannelImpl.java
145         (read): Implemented.
146         (write): Implemented.
147
148 2003-06-19  Michael Koch  <konqueror@gmx.de>
149
150         * javax/swing/JComponent.java,
151         javax/swing/JInternalFrame.java,
152         javax/swing/MenuSelectionManager.java,
153         javax/swing/SwingUtilities.java,
154         javax/swing/ToggleButtonModel.java:
155         New versions from classpath.
156
157 2003-06-19  Michael Koch  <konqueror@gmx.de>
158
159         * java/text/CollationElementIterator.java
160         (NULLORDER): Initialize with -1 as JDK documentation says.
161
162 2003-06-19  Michael Koch  <konqueror@gmx.de>
163
164         * java/net/HttpURLConnection.java,
165         java/net/Inet4Address.java,
166         java/net/Inet6Address.java,
167         java/net/SocketImpl.java,
168         java/net/URLClassLoader.java:
169         Reworked import statements.
170         * java/net/InetAddress.java
171         (getByAddress): Simplified.
172         * java/net/ServerSocket.java
173         (ServerSocket): Moved special handling during bind operation to
174         bind().
175         (bind): Handle different cases when trying to bind a socket.
176         * java/net/URLConnection.java
177         (getHeaderFieldDate): Merged with classpath.
178         (getHeaderFieldInt): Likewise.
179
180 2003-06-19  Michael Koch  <konqueror@gmx.de>
181
182         * java/util/zip/InflaterInputStream.java
183         (InflaterInputStream): Throw NullPointerException if in is null (as
184         JDK does).
185
186 2003-06-19  Michael Koch  <konqueror@gmx.de>
187
188         * java/awt/Font.java
189         javax/swing/UIManager.java
190         javax/swing/border/AbstractBorder.java
191         javax/swing/border/BevelBorder.java
192         javax/swing/border/Border.java
193         javax/swing/border/CompoundBorder.java
194         javax/swing/border/EmptyBorder.java
195         javax/swing/border/EtchedBorder.java
196         javax/swing/border/LineBorder.java
197         javax/swing/border/MatteBorder.java
198         javax/swing/border/TitledBorder.java
199         javax/swing/plaf/BorderUIResource.java
200         javax/swing/plaf/basic/BasicBorders.java
201         javax/swing/plaf/basic/BasicButtonUI.java
202         javax/swing/plaf/basic/BasicCheckBoxUI.java
203         javax/swing/plaf/basic/BasicGraphicsUtils.java
204         javax/swing/plaf/basic/BasicLabelUI.java
205         javax/swing/plaf/basic/BasicRadioButtonUI.java
206         javax/swing/plaf/basic/BasicToggleButtonUI.java:
207         New versions from classpath.
208         * javax/swing/border/SoftBevelBorder.java:
209         New file from classpath.
210         * javax/swing/border/doc-files/LineBorder-1.png,
211         javax/swing/border/doc-files/BevelBorder-1.png,
212         javax/swing/border/doc-files/BevelBorder-2.png,
213         javax/swing/border/doc-files/BevelBorder-3.png,
214         javax/swing/border/doc-files/EmptyBorder-1.png,
215         javax/swing/border/doc-files/EtchedBorder-1.png,
216         javax/swing/border/doc-files/EtchedBorder-2.png,
217         javax/swing/border/doc-files/MatteBorder-1.png,
218         javax/swing/border/doc-files/MatteBorder-2.png,
219         javax/swing/border/doc-files/MatteBorder-3.png,
220         javax/swing/border/doc-files/MatteBorder-4.png,
221         javax/swing/border/doc-files/MatteBorder-5.png,
222         javax/swing/border/doc-files/MatteBorder-6.png,
223         javax/swing/border/doc-files/SoftBevelBorder-1.png,
224         javax/swing/border/doc-files/SoftBevelBorder-2.png,
225         javax/swing/border/doc-files/SoftBevelBorder-3.png,
226         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
227         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
228         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
229         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
230         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
231         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
232         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
233         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
234         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
235         New binary files from classpath.
236         * Makefile.am
237         (awt_java_source_files): Added
238         javax/swing/border/SoftBevelBorder.java.
239         * Makefile.in: Regenerated.
240
241 2003-06-19  Michael Koch  <konqueror@gmx.de>
242
243         * gnu/java/security/x509/X509Certificate.java
244         (writeReplace): Merged from classpath.
245
246 2003-06-19  Michael Koch  <konqueror@gmx.de>
247
248         * gnu/java/nio/FileChannelImpl.java
249         (map_address): Made public.
250         (FileChannelImpl): Merged with classpath.
251         * gnu/java/nio/natFileChannelImpl.cc
252         (nio_mmap_file): Commented out unused arguments.
253         (nio_unmmap_file): Likewise.
254         (niu_msync): Likewise.
255
256 2003-06-19  Michael Koch  <konqueror@gmx.de>
257
258         * java/awt/image/IndexColorModel.java:
259         New version from classpath.
260
261 2003-06-18  Tom Tromey  <tromey@redhat.com>
262
263         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
264         on arrays.
265         (isLoopbackAddress): Likewise.
266         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
267         on arrays.
268
269 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
270
271         * java/lang/natVMSecurityManager.cc (getClassContext):
272         Use maxlen instead of len for loop bound.
273
274 2003-06-18  Michael Koch  <konqueror@gmx.de>
275
276         * gnu/java/nio/SelectorImpl.java
277         (register): Use fd with value 0 for now, will be fixed later.
278         * gnu/java/nio/ServerSocketChannelImpl.java
279         (fd): Removed.
280         (local_port): Removed.
281         (InetSocketAddress): Removed.
282         (ServerSocketChannelImpl): Just initialize internal socket object.
283         (implCloseSelectableChannel): Close internal socket object.
284         (implConfigureBlocking): Added comment.
285         (accept): Use jaba.net stuff to accept socket.
286         * gnu/java/nio/SocketChannelImpl.java
287         (fd): Removed.
288         (local_port): Removed.
289         (InetSocketAddress): Removed.
290         (SocketCreate): Removed.
291         (SocketConnect): Removed.
292         (SocketBind): Removed.
293         (SocketListen): Removed.
294         (SocketAvailable): Removed.
295         (SocketClose): Removed.
296         (SocketRead): Removed.
297         (SocketWrite): Removed.
298         (SocketChannelImpl): Just initialize internal socket object.
299         (implCloseSelectableChannel): Close internal socket object.
300         (implConfigureBlocking): Fixed implementation, added comment.
301         (connect): Use internal socket object to connect.
302         (socket): No need for sanity checks.
303         (read): Comment out some stuff, this will be reimplemented in the next
304         commit.
305         (write): Likewise.
306         * gnu/java/nio/natFileChannelImpl.cc
307         (nio_mmap_file): Line wrapped.
308         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
309         * Makefile.am
310         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
311         * Makefile.in: Regenerated.
312
313 2003-06-18  Michael Koch  <konqueror@gmx.de>
314
315         * java/util/Locale.java
316         (equals): Merged from classpath.
317
318 2003-06-18  Michael Koch  <konqueror@gmx.de>
319
320         * java/net/InetAddress.java:
321         Reformatted to better match classpath's version.
322         * java/net/URL.java
323         (equals): Simplified.
324         * java/net/URLConnection.java
325         (setDoInput): Revised documentation.
326         (getDefaultUseCaches): Likewise.
327         (setRequestProperty): Added @since tag.
328
329 2003-06-17  Michael Koch  <konqueror@gmx.de>
330
331         * java/net/InetSocketAddress.java
332         (InetSocketAddress): Use wildcard address if addr is null.
333         (InetSocketAddress): Dont duplicate implementation.
334         (InetSocketAddress): Throw exception when hostname is null.
335         * java/net/Socket.java:
336         Reworked imports.
337         (Socket): Throw exception when raddr is null, handle case when laddr
338         is null.
339
340 2003-06-17  Michael Koch  <konqueror@gmx.de>
341
342         * java/nio/DirectByteBufferImpl.java
343         (address): Made package private.
344         (DirectByteBufferImpl): New constructor.
345         * java/nio/natDirectByteBufferImpl.cc
346         (allocateImpl): Moved to java.nio namespace, implemented.
347         (freeImpl): Likewise.
348         (getImpl): Likewise.
349         (putImpl): Likewise.
350         * jni.cc
351         (_Jv_JNI_NewDirectByteBuffer): Implemented.
352         (_Jv_JNI_GetDirectBufferAddress): Implemented.
353         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
354
355 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
356
357         * include/powerpc-signal.h: New File.
358         * configure.in: Use it.
359         * configure: Regenerated.
360
361 2003-06-17  Michael Koch  <konqueror@gmx.de>
362
363         * java/util/Locale.java
364         (getDisplayLanguage): Made it final.
365         (getDisplayCountry): Likewise.
366         (getDisplayVariant): Likewise.
367         (getDisplayName): Likewise.
368
369 2003-06-17  Michael Koch  <konqueror@gmx.de>
370
371         * java/util/PropertyResourceBundle.java:
372         Removed unneeded import.
373
374 2003-06-17  Michael Koch  <konqueror@gmx.de>
375
376         * java/util/prefs/AbstractPreferences.java,
377         java/util/prefs/PreferencesFactory.java:
378         Reworked imports, removed unused imports.
379         * java/util/prefs/Preferences.java
380         (systemNodeForPackage): Method takes a Class not an Object.
381         (userNodeForPackage): Likewise.
382         (nodeForPackage): Likewise.
383
384 2003-06-17  Michael Koch  <konqueror@gmx.de>
385
386         * gnu/java/security/x509/X509Certificate.java:
387         Explicitely import used classes.
388
389 2003-06-17  Michael Koch  <konqueror@gmx.de>
390
391         * java/util/zip/ZipEntry.java,
392         java/util/zip/ZipFile.java,
393         java/util/zip/ZipInputStream.java,
394         java/util/zip/ZipOutputStream.java:
395         Reworked imports, only import used classes.
396
397 2003-06-17  Michael Koch  <konqueror@gmx.de>
398
399         * gnu/java/lang/ArrayHelper.java,
400         gnu/java/lang/ClassHelper.java:
401         Reformatted to match classpath's versions.
402
403 2003-06-14  Michael Koch  <konqueror@gmx.de>
404
405         * gnu/java/nio/FileChannelImpl.java
406         (map_address): Removed incorrect comment.        
407         * gnu/java/nio/SelectorImpl.java
408         (register): Remove code duplication and code for file channel handling.        
409         * gnu/java/nio/ServerSocketChannelImpl.java
410         (serverSocket): Renamed from sock_object.
411         (ServerSocketChannel): Initialize serverSocket.
412         (socket): Return serverSocket.
413         * gnu/java/nio/SocketChannelImpl.java
414         (socket): Renamed from sock_object.
415         (isConnectionPenging): Simplified.
416         (socket): Return socket.
417 2003-06-14  Michael Koch  <konqueror@gmx.de>
418
419         * java/security/BasicPermission.java:
420         New version from classpath.
421
422 2003-06-14  Michael Koch  <konqueror@gmx.de>
423
424         * javax/naming/directory/Attribute.java:
425         New version from classpath.
426
427 2003-06-14  Michael Koch  <konqueror@gmx.de>
428
429         * java/io/BufferedReader.java,
430         java/io/FileOutputStream.java:
431         New versions from classpath.
432
433 2003-06-12  Andrew Haley  <aph@redhat.com>
434
435         * prims.cc (catch_segv): Create exception in handler.
436         (catch_fpe): Likewise.  
437         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
438         (_Jv_ThrowSignal): Remove.
439
440         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
441         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
442         to nullp and arithexception.
443         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
444         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
445         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
446         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
447         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
448
449 2003-06-11  Andrew Haley  <aph@redhat.com>
450
451         * jni.cc (_Jv_JNI_check_types): New.
452         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
453         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
454         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
455         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
456         
457         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
458         infinite loop.
459
460 2003-06-11  Tom Tromey  <tromey@redhat.com>
461
462         * java/lang/ClassLoader.java (loadClass): Not deprecated.
463         * java/io/PrintStream.java: Not deprecated.
464
465 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
466
467         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
468         (fillOval): implemented
469         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
470         (fillArc): implemented.
471         * gnu/gcj/xlib/GC.java (drawArc): added native method.
472         (fillArc): added native method.
473         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
474         (fillArc): added native method.
475
476 2003-06-11  Michael Koch  <konqueror@gmx.de>
477
478         * java/awt/im/InputSubset.java:
479         New version from classpath.
480
481 2003-06-11  Michael Koch  <konqueror@gmx.de>
482
483         * javax/swing/AbstractAction.java,
484         javax/swing/AbstractButton.java,
485         javax/swing/AbstractCellEditor.java,
486         javax/swing/AbstractListModel.java,
487         javax/swing/BorderFactory.java,
488         javax/swing/Box.java,
489         javax/swing/BoxLayout.java,
490         javax/swing/ButtonGroup.java,
491         javax/swing/DefaultButtonModel.java,
492         javax/swing/DefaultListModel.java,
493         javax/swing/DefaultListSelectionModel.java,
494         javax/swing/FocusManager.java,
495         javax/swing/ImageIcon.java,
496         javax/swing/InputMap.java,
497         javax/swing/JApplet.java,
498         javax/swing/JButton.java,
499         javax/swing/JCheckBox.java,
500         javax/swing/JCheckBoxMenuItem.java,
501         javax/swing/JColorChooser.java,
502         javax/swing/JComboBox.java,
503         javax/swing/JComponent.java,
504         javax/swing/JDesktopPane.java,
505         javax/swing/JDialog.java,
506         javax/swing/JEditorPane.java,
507         javax/swing/JFileChooser.java,
508         javax/swing/JFormattedTextField.java,
509         javax/swing/JFrame.java,
510         javax/swing/JLabel.java,
511         javax/swing/JLayeredPane.java,
512         javax/swing/JList.java,
513         javax/swing/JMenuBar.java,
514         javax/swing/JMenuItem.java,
515         javax/swing/JOptionPane.java,
516         javax/swing/JPanel.java,
517         javax/swing/JPasswordField.java,
518         javax/swing/JPopupMenu.java,
519         javax/swing/JProgressBar.java,
520         javax/swing/JRadioButton.java,
521         javax/swing/JRadioButtonMenuItem.java,
522         javax/swing/JRootPane.java,
523         javax/swing/JScrollBar.java,
524         javax/swing/JScrollPane.java,
525         javax/swing/JSeparator.java,
526         javax/swing/JSlider.java,
527         javax/swing/JTabbedPane.java,
528         javax/swing/JTable.java,
529         javax/swing/JTextField.java,
530         javax/swing/JToggleButton.java,
531         javax/swing/JToolBar.java,
532         javax/swing/JToolTip.java,
533         javax/swing/JTree.java,
534         javax/swing/JViewport.java,
535         javax/swing/JWindow.java,
536         javax/swing/KeyStroke.java,
537         javax/swing/ListSelectionModel.java,
538         javax/swing/LookAndFeel.java,
539         javax/swing/RepaintManager.java,
540         javax/swing/ScrollPaneLayout.java,
541         javax/swing/SizeRequirements.java,
542         javax/swing/SwingConstants.java,
543         javax/swing/Timer.java,
544         javax/swing/UIDefaults.java,
545         javax/swing/UIManager.java,
546         javax/swing/border/AbstractBorder.java,
547         javax/swing/border/CompoundBorder.java,
548         javax/swing/colorchooser/AbstractColorChooserPanel.java,
549         javax/swing/colorchooser/ColorChooserComponentFactory.java,
550         javax/swing/colorchooser/ColorSelectionModel.java,
551         javax/swing/colorchooser/DefaultColorSelectionModel.java,
552         javax/swing/event/AncestorEvent.java,
553         javax/swing/event/HyperlinkEvent.java,
554         javax/swing/event/InternalFrameAdapter.java,
555         javax/swing/event/InternalFrameEvent.java,
556         javax/swing/event/ListDataEvent.java,
557         javax/swing/event/MouseInputAdapter.java,
558         javax/swing/event/SwingPropertyChangeSupport.java,
559         javax/swing/event/TableModelEvent.java,
560         javax/swing/event/TreeWillExpandListener.java,
561         javax/swing/event/UndoableEditEvent.java,
562         javax/swing/filechooser/FileFilter.java,
563         javax/swing/filechooser/FileSystemView.java,
564         javax/swing/filechooser/FileView.java,
565         javax/swing/plaf/BorderUIResource.java,
566         javax/swing/plaf/basic/BasicDefaults.java,
567         javax/swing/table/AbstractTableModel.java,
568         javax/swing/table/DefaultTableCellRenderer.java,
569         javax/swing/table/DefaultTableColumnModel.java,
570         javax/swing/table/DefaultTableModel.java,
571         javax/swing/table/TableColumn.java,
572         javax/swing/text/JTextComponent.java,
573         javax/swing/tree/AbstractLayoutCache.java,
574         javax/swing/tree/DefaultMutableTreeNode.java,
575         javax/swing/tree/DefaultTreeCellEditor.java,
576         javax/swing/tree/DefaultTreeCellRenderer.java,
577         javax/swing/tree/DefaultTreeModel.java,
578         javax/swing/tree/DefaultTreeSelectionModel.java,
579         javax/swing/tree/FixedHeightLayoutCache.java,
580         javax/swing/tree/TreeCellEditor.java,
581         javax/swing/tree/TreeModel.java,
582         javax/swing/tree/TreeNode.java,
583         javax/swing/tree/TreePath.java,
584         javax/swing/tree/TreeSelectionModel.java,
585         javax/swing/tree/VariableHeightLayoutCache.java,
586         javax/swing/undo/AbstractUndoableEdit.java,
587         javax/swing/undo/CompoundEdit.java,
588         javax/swing/undo/StateEdit.java,
589         javax/swing/undo/UndoManager.java,
590         javax/swing/undo/UndoableEditSupport.java:
591         New versions from classpath.
592         * javax/swing/table/JTableHeader.java:
593         New file from classpath.
594         * Makefile.am
595         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
596         * Makefile.in: Regenerated.
597
598 2003-06-11  Michael Koch  <konqueror@gmx.de>
599
600         * java/nio/MappedByteBuffer.java,
601         java/nio/channels/Channels.java,
602         java/nio/channels/ServerSocketChannel.java,
603         java/nio/channels/spi/AbstractSelector.java:
604         Removed unneeded imports.
605
606 2003-06-11  Michael Koch  <konqueror@gmx.de>
607
608         * java/net/DatagramSocket.java:
609         Partly merged with classpath.
610
611 2003-06-11  Michael Koch  <konqueror@gmx.de>
612
613         * java/awt/Frame.java,
614         java/awt/Graphics.java,
615         java/awt/Menu.java,
616         java/awt/Robot.java,
617         java/awt/image/ColorModel.java:
618         New versions from classpath.
619
620 2003-06-10  Michael Koch  <konqueror@gmx.de>
621
622         * java/io/PrintStream.java:
623         Merged version from classpath.
624         (close): Removed sychronized keyword. This class is not garantied to
625         be thread-safe.
626         (write): Likewise.
627
628 2003-06-09  Tom Tromey  <tromey@redhat.com>
629
630         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
631         field.
632         (getDescent): Likewise, for "descent".
633
634 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
635
636         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
637         (getMaxDescent): adjusted return value.
638         (getAscent): modified to use metrics for 'O'.
639         (getDescent): modified to use metrics for 'y'.
640
641 2003-06-08  Anthony Green  <green@redhat.com>
642
643         * java/net/URLStreamHandler.java (sameFile): Fix port value
644         comparison.
645         * java/net/URL.java (handler): Make package private.
646         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
647
648 2003-06-07  Tom Tromey  <tromey@redhat.com>
649
650         For PR libgcj/11085:
651         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
652         Limit number of characters in numeric field when required.
653         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
654         Respect maximumIntegerDigits.
655
656 2003-06-08  Michael Koch  <konqueror@gmx.de>
657
658         * java/net/Socket.java
659         (Socket): Dont initialize inputShutdown and outputShutdown twice,
660         call bind() and connect() to actually do the bind and connect tasks.
661         (bind): Connect to canonical address if bindpoint is null, create
662         socket and bind it to bindpoint.
663         (connect): Check for exceptions.
664
665 2003-06-08  Michael Koch  <konqueror@gmx.de>
666
667         * java/net/DatagramSocket.java
668         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
669         into the Multicast constructors.
670         * java/net/DatagramSocketImpl.java
671         (getOption): Removed.
672         (setOption): Removed.
673         * java/net/MulticastSocket.java
674         (MulticastSocket): Call setReuseAddress (true).
675         * java/net/SocketImpl.java
676         (getOption): Removed.
677         (setOption): Removed.
678
679 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
680
681         PR libgcj/10886:
682         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
683         Test for empty vector.
684
685 2003-06-06  Mark Wielaard  <mark@klomp.org>
686
687         * java/security/Security.java (secprops): Initialize.
688         (loadProviders): Return boolean.
689         (static): Check result of loadProvider calls. If necessary
690         display WARNING and fallback to Gnu provider.
691
692 2002-06-06  James Clark  <jjc@jclark.com>
693
694         Fix for PR libgcj/8738:
695         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
696         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
697         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
698         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
699         (write): Always decrease avail when count is increased.
700         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
701         and whether output buffer is full before increasing size.
702
703 2002-06-06  Mark Wielaard  <mark@klomp dot org>
704
705         * java/io/PrintStream.java (writeChars(char[],int, int)):
706         Check converter.havePendingBytes().
707         (writeChars(String,int,int)): Likewise.
708         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
709         Check converter.havePendingBytes() and flush buffer when stalled.
710
711 2003-06-07  Michael Koch  <konqueror@gmx.de>
712
713         * include/posix.h
714         (O_DSYNC): Define O_DSYNC on platforms not
715         supporting O_FSYNC (newlib).
716
717 2003-06-06  Mark Wielaard  <mark@klomp.org>
718
719         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
720         AWTError.
721
722 2003-06-06  Michael Koch  <konqueror@gmx.de>
723
724         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
725         More compile fixes from my stupid work yesterday.
726
727 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
728
729         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
730         if _IEEE_LIBM is undefined.
731
732 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
733
734         * libjava/include/posix.h (O_SYNC): Define if not available
735         and a reasonable, perhaps more conservative, replacement exists.
736         (O_DSYNC): Likewise.
737         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
738
739 2003-06-05  Michael Koch  <konqueror@gmx.de>
740
741         * javax/swing/plaf/BorderUIResource.java,
742         javax/swing/plaf/basic/BasicDefaults.java,
743         javax/swing/plaf/basic/BasicOptionPaneUI.java:
744         More compile fixes for latest Border commit. I should not commit
745         something in this heat here ...
746
747 2003-06-05  Michael Koch  <konqueror@gmx.de>
748
749         * javax/swing/border/BevelBorder.java
750         (BevelBorder): Removed.
751         * javax/swing/border/EmptyBorder.java:
752         Reformatted.
753         (EmptyBorder): Removed.
754         (getBorderInsets): Dont use l, r, t and b.
755         * javax/swing/border/EtchedBorder.java
756         (EtchedBorder): Removed.
757         * javax/swing/border/LineBorder.java
758         (LineBorder): Removed.
759         * javax/swing/border/MatteBorder.java
760         (MatteBorder): Removed.
761         * javax/swing/border/TitledBorder.java
762         (defaultBorder): Use other default for now.
763         (defaultFont): Likewise.
764         (defaultColor): Likewise.
765
766 2003-06-05  Michael Koch  <konqueror@gmx.de>
767
768         * javax/swing/border/Border.java:
769         New version from classpath.
770
771 2003-06-05  Michael Koch  <konqueror@gmx.de>
772
773         * javax/swing/border/AbstractBorder.java,
774         javax/swing/border/BevelBorder.java,
775         javax/swing/border/CompoundBorder.java,
776         javax/swing/border/EmptyBorder.java,
777         javax/swing/border/EtchedBorder.java,
778         javax/swing/border/LineBorder.java,
779         javax/swing/border/MatteBorder.java,
780         javax/swing/border/TitledBorder.java:
781         New versions from Classpath.
782
783 2003-06-05  Michael Koch  <konqueror@gmx.de>
784
785         * java/awt/Button.java,
786         java/awt/Checkbox.java,
787         java/awt/CheckboxMenuItem.java,
788         java/awt/Choice.java,
789         java/awt/Container.java,
790         java/awt/Dialog.java,
791         java/awt/EventQueue.java,
792         java/awt/FileDialog.java,
793         java/awt/Frame.java,
794         java/awt/Label.java,
795         java/awt/List.java,
796         java/awt/Menu.java,
797         java/awt/MenuItem.java,
798         java/awt/Panel.java,
799         java/awt/PopupMenu.java,
800         java/awt/Rectangle.java,
801         java/awt/ScrollPane.java,
802         java/awt/Scrollbar.java,
803         java/awt/TextArea.java,
804         java/awt/TextField.java,
805         java/awt/Window.java,
806         java/awt/datatransfer/DataFlavor.java,
807         java/awt/dnd/DragSource.java,
808         java/awt/dnd/DragSourceContext.java,
809         java/awt/event/HierarchyEvent.java,
810         java/awt/event/MouseWheelEvent.java,
811         java/awt/im/InputContext.java,
812         java/awt/image/BufferedImage.java,
813         java/awt/image/ComponentColorModel.java,
814         java/awt/image/Raster.java,
815         java/awt/image/WritableRaster.java,
816         java/awt/peer/ComponentPeer.java,
817         java/awt/print/PageFormat.java,
818         java/awt/print/PrinterJob.java:
819         New versions from Classpath.
820
821 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
822
823         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
824         numberFormat.setParseIntegerOnly(true).
825
826 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
827
828         * include/posix-threads.h: Include <machine/pal.h> on OSF.
829
830 2003-06-03  Andrew Haley  <aph@redhat.com>
831
832         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
833         stack volatile to prevent optimization from removing it.
834
835 2003-05-27  Michael Koch  <konqueror@gmx.de>
836
837         * java/util/zip/Deflater.java
838         (FILTERED): Merged documentation from classpath.
839         * java/util/zip/DeflaterOutputStream.java
840         (DeflaterOutputStream): Merged documentation and argument validity
841         check from classpath.
842         (deflate): Merged documentation from classpath.
843         (finish): Likewise.
844         * java/util/zip/Inflater.java
845         (Inflater): Merged class documentation from classpath.
846         (zstream): Reordered.
847         (is_finished): Reordered.
848         (dict_needed): Reordered.
849         (Inflater): Reordered, merged documentation from classpath.
850         (end): Likewise.
851         (finalize): Merged documentation from classpath.
852         (finished): Likewise.
853         (getAdler): Likewise.
854         (getRemaining): Likewise.
855         (getTotalIn): Likewise.
856         (getTotalOut): Likewise.
857         (inflate): Likewise.
858         (needsDictionary): Likewise.
859         (needsInput): Likewise.
860         (reset): Likewise.
861         (setDictionary): Likewise.
862         (setInput): Likewise.
863
864 2003-05-27  Michael Koch  <konqueror@gmx.de>
865
866         * java/net/URLConnection.java
867         (getHeaderFieldInt): Merged with classpath.
868
869 2003-05-27  Michael Koch  <konqueror@gmx.de>
870
871         * java/io/PrintStream.java
872         (PrintStream): Reformatted.
873         (PrintStream): New method, merged from classpath.
874         (write): Reformatted.
875
876 2003-05-27  Michael Koch  <konqueror@gmx.de>
877
878         * java/lang/System.java:
879         Explicitely import needed classes.
880
881 2003-05-26  Michael Koch  <konqueror@gmx.de>
882
883         * java/net/NetPermission.java,
884         java/net/NetworkInterface.java,
885         java/net/PasswordAuthentication.java,
886         java/net/SocketPermission.java:
887         New versions from classpath.
888
889 2003-05-25  Michael Koch  <konqueror@gmx.de>
890
891         * java/io/PushbackInputStream.java,
892         java/net/Authenticator.java,
893         java/net/ContentHandler.java,
894         java/net/ContentHandlerFactory.java,
895         java/net/DatagramSocket.java,
896         java/net/DatagramSocketImpl.java,
897         java/net/DatagramSocketImplFactory.java,
898         java/net/FileNameMap.java,
899         java/net/SocketImplFactory.java,
900         java/net/SocketOptions.java,
901         java/net/URLStreamHandlerFactory.java:
902         Merged new versions from classpath.
903
904 2003-05-25  Michael Koch  <konqueror@gmx.de>
905
906         * java/awt/Checkbox.java,
907         java/awt/Dialog.java,
908         java/awt/Font.java,
909         java/awt/Frame.java,
910         java/awt/ScrollPaneAdjustable.java,
911         java/awt/Scrollbar.java,
912         java/awt/Window.java:
913         New versions from classpath.
914
915 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
916
917         PR libgcj/10838:
918         * java/io/ObjectInputStream (enableResolveObject):
919         Fixed spelling of permission name.
920
921 2003-05-20  Michael Koch  <konqueror@gmx.de>
922
923         * java/io/DataInputStream.java
924         (convertFromUTF): Merged comment from classpath.
925         * java/io/PrintStream.java
926         (error_occured): Renamed from error, merged comment from classpath.
927         (PrintStream): No need to initialized error.
928         (checkError): Replace error with error_occurred.
929         (setError): Likewise.
930
931 2003-05-20  Michael Koch  <konqueror@gmx.de>
932
933         * java/io/DataInputStream.java:
934         Reformatted, Replaced < and & with html entitites in documentation.
935         * java/io/File.java:
936         Reformatted.
937         * java/io/PrintWriter.java:
938         Moved class documentation.
939
940 2003-05-20  Michael Koch  <konqueror@gmx.de>
941
942         * gnu/java/nio/ByteBufferImpl.java,
943         gnu/java/nio/CharBufferImpl.java,
944         gnu/java/nio/CharViewBufferImpl.java,
945         gnu/java/nio/DirectByteBufferImpl.java,
946         gnu/java/nio/DoubleBufferImpl.java,
947         gnu/java/nio/DoubleViewBufferImpl.java,
948         gnu/java/nio/FloatBufferImpl.java,
949         gnu/java/nio/FloatViewBufferImpl.java,
950         gnu/java/nio/IntBufferImpl.java,
951         gnu/java/nio/IntViewBufferImpl.java,
952         gnu/java/nio/LongBufferImpl.java,
953         gnu/java/nio/LongViewBufferImpl.java,
954         gnu/java/nio/natDirectByteBufferImpl.cc,
955         gnu/java/nio/ShortBufferImpl.java,
956         gnu/java/nio/ShortViewBufferImpl.java:
957         Moved files to java/nio.
958         * gnu/java/nio/SocketChannelImpl.java
959         
960         * java/nio/ByteBuffer.java,
961         java/nio/CharBuffer.java,
962         java/nio/DoubleBuffer.java,
963         java/nio/FloatBuffer.java,
964         java/nio/IntBuffer.java,
965         java/nio/LongBuffer.java,
966         java/nio/ShortBuffer.java:
967         Dont import anything.
968         * java/nio/ByteBufferImpl.java,
969         java/nio/CharBufferImpl.java,
970         java/nio/CharViewBufferImpl.java,
971         java/nio/DirectByteBufferImpl.java,
972         java/nio/DoubleBufferImpl.java,
973         java/nio/DoubleViewBufferImpl.java,
974         java/nio/FloatBufferImpl.java,
975         java/nio/FloatViewBufferImpl.java,
976         java/nio/IntBufferImpl.java,
977         java/nio/IntViewBufferImpl.java,
978         java/nio/LongBufferImpl.java,
979         java/nio/LongViewBufferImpl.java,
980         java/nio/natDirectByteBufferImpl.cc,
981         java/nio/ShortBufferImpl.java,
982         java/nio/ShortViewBufferImpl.java:
983         Moved from gnu/java/nio.
984         * Makefile.am
985         (ordinary_java_source_files): Moved files from gnu/java/nio to
986         java/nio.
987         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
988         to java/nio.
989         * Makefile.in: Regenerated.
990
991 2003-05-19  Michael Koch  <konqueror@gmx.de>
992
993         * java/util/Calendar.java
994         (get): Not final anymore since JDK 1.4
995         (set): Likewise.
996
997 2003-05-19  Michael Koch  <konqueror@gmx.de>
998
999         * java/text/CollationKey.java:
1000         Merged copyright and dat from classpath.
1001         * java/text/RuleBasedCollator.java:
1002         Merged class documentation from classpath.
1003
1004 2003-05-19  Michael Koch  <konqueror@gmx.de>
1005
1006         * java/nio/CharBuffer.java
1007         (toString): Compile fix.
1008
1009 2003-05-19  Michael Koch  <konqueror@gmx.de>
1010
1011         * gnu/java/nio/ByteBufferImpl.java
1012         (putLong): Fixed conversion to bytes.
1013         (putDouble): Fixed conversion to bytes.
1014         * gnu/java/nio/DirectByteBufferImpl.java
1015         (putLong): Fixed conversion to bytes.
1016         (putDouble): Fixed conversion to bytes.
1017         * gnu/java/nio/FileLockImpl.java
1018         (isValid): Reformatted.
1019         * java/nio/Buffer.java
1020         (Buffer): Fixed off-by-one bug in handling mark.
1021         * java/nio/ByteBuffer.java:
1022         Added newline.
1023         * java/nio/CharBuffer.java
1024         (toString): Don't use relative get to get string data.
1025
1026 2003-05-16  Michael Koch  <konqueror@gmx.de>
1027
1028         * java/io/natFileDescriptorPosix.cc
1029         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1030         tested.
1031
1032 2003-05-14  Michael Koch  <konqueror@gmx.de>
1033
1034         * gnu/java/nio/FileLockImpl.java
1035         (released): New member variable.
1036         (FileLockImpl): Initialize released.
1037         (releaseImpl): New native method.
1038         (release): Implemented.
1039         * gnu/java/nio/SelectorImpl.java: Reformatted.
1040         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1041         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1042         (accept): Throws IOException.
1043         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1044         (implConfigureBlocking): Throws IOException.
1045         (connect): Likewise.
1046         (read): Likewise.
1047         (write): Likewise.
1048         * gnu/java/nio/natFileLockImpl.cc: New file.
1049         * java/nio/channels/FileLock.java: Reformatted.
1050         * Makefile.am:
1051         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1052         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1053         * Makefile.in: Regenerated.
1054
1055 2003-05-13  Michael Koch  <konqueror@gmx.de>
1056
1057         * gnu/java/nio/CharViewBufferImpl.java
1058         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1059         (get): Shift bits to the right direction.
1060         (put): Likewise.
1061         * gnu/java/nio/DoubleViewBufferImpl.java
1062         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1063         (get): Shift bits to the right direction.
1064         (put): Likewise.
1065         * gnu/java/nio/FloatViewBufferImpl.java
1066         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1067         (get): Shift bits to the right direction.
1068         (put): Likewise.
1069         * gnu/java/nio/IntViewBufferImpl.java
1070         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1071         (get): Shift bits to the right direction.
1072         (put): Likewise.
1073         * gnu/java/nio/LongViewBufferImpl.java
1074         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1075         (get): Shift bits to the right direction.
1076         (put): Likewise.
1077         * gnu/java/nio/ShortViewBufferImpl.java
1078         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1079         (get): Shift bits to the right direction.
1080         (put): Likewise.
1081
1082 2003-05-13  Michael Koch  <konqueror@gmx.de>
1083
1084         * gnu/java/nio/natDirectByteBufferImpl.cc
1085         (allocateImpl): jlong -> RawData*.
1086         (freeImpl): Likewise.
1087
1088 2003-05-13  Michael Koch  <konqueror@gmx.de>
1089
1090         * java/nio/channels/FileChannel.java
1091         (MapMode.m): Made it package-private to match JDK 1.4.
1092         * java/nio/charset/Charset.java
1093         (decode): Made it final to match JDK 1.4.
1094
1095 2003-05-13  Michael Koch  <konqueror@gmx.de>
1096
1097        * java/io/FileDescriptor.java
1098        (SYNC): New constant.
1099        (DSYNC): Likewise.
1100        (getLength): Renamed from lenght() to match classpath's
1101        FileDescriptor.java.
1102        * java/io/RandomAccessFile.java
1103        (RandomAccessFile): Removed unneeded mode check, implemented mode
1104        "rws" and "rwd", merged documentation from classpath.
1105        (setLength): Reformatted.
1106        (length): Use new getLength() of FileDescriptor.
1107        * java/io/natFileDescriptorEcos.cc
1108        (getLength): Renamed from length().
1109        * java/io/natFileDescriptorPosix.cc
1110        (open): Implemented support for SYNC and DSYNC.
1111        (seek): Use getLength() instead of length().
1112        (getLength): Renamed from length().
1113        * java/io/natFileDescriptorWin32.cc
1114        (getLength): Renamed from length().
1115        (seek): Use getLength() instead of length().
1116        (available): Likewise.
1117        * gnu/java/nio/natFileChannelImpl.cc
1118        (size): Use getLength() instead of length().
1119
1120 2003-05-13  Michael Koch  <konqueror@gmx.de>
1121
1122         * gnu/java/nio/ByteBufferImpl.java
1123         (ByteBufferImpl): All constructors revised.
1124         (slice): Reimplemented.
1125         (duplicate): Reimplemented.
1126         (asReadOnlyBuffer): Reimplemented.
1127         * java/nio/ByteBuffer.java:
1128         Reformatted.
1129         (array_offset): Renamed from "offset" to match all other buffer
1130         classes.
1131         (ByteBuffer): All constructors revised.
1132         (allocateDirect): Implemented.
1133         (allocate): New implementation, documentation reworked.
1134         (wrap): Likewise.
1135         (get): Documentation reworked.
1136         (put): New implementation, documentation reworked.
1137         (hasArray): Documentation reworked.
1138         (arrayOffset): Likewise.
1139         (hashCode): Likewise.
1140         (equals): Likewise.
1141         (compareTo): Likewise.
1142         (order): Likewise.
1143         (compact): Likewise.
1144         (isDirect): Likewise.
1145         (slice): Likewise.
1146         (duplicate): Likewise.
1147         (asReadOnlyBuffer): Likewise.
1148         * Makefile.am
1149         (ordinary_java_source_files):
1150         Added gnu/java/nio/DirectByteBufferImpl.java.
1151         (nat_source_files):
1152         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1153         * Makefile.in: Regenerated.
1154
1155 2003-05-12  Michael Koch  <konqueror@gmx.de>
1156
1157         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1158         (nio_get_*): Removed.
1159         (nio_put_*): Removed.
1160         (as*Buffer): Implemented.
1161         (compact): Implemented.
1162         (get): Documentation added.
1163         (put): Documentation added.
1164         (get*): Newly implemented.
1165         (put*): Newly implemented.
1166         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1167         (CharBufferImpl): Revised.
1168         (slice): New implementation.
1169         (duplicate): New implementation.
1170         (compact): New implementation.
1171         (asReadOnlyBuffer): New implementation.
1172         (get): Documentation revised.
1173         (order): Return native byte order.
1174         * gnu/java/nio/DirectByteBufferImpl.java
1175         (allocateDirect): objects can be null not 0.
1176         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1177         (DoubleBufferImpl): Revised.
1178         (slice): New implementation.
1179         (duplicate): New implementation.
1180         (compact): New implementation.
1181         (asReadOnlyBuffer): New implementation.
1182         (get): Documentation revised.
1183         (order): Return native byte order.
1184         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1185         (FloatBufferImpl): Revised.
1186         (slice): New implementation.
1187         (duplicate): New implementation.
1188         (compact): New implementation.
1189         (asReadOnlyBuffer): New implementation.
1190         (get): Documentation revised.
1191         (order): Return native byte order.
1192         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1193         (IntBufferImpl): Revised.
1194         (slice): New implementation.
1195         (duplicate): New implementation.
1196         (compact): New implementation.
1197         (asReadOnlyBuffer): New implementation.
1198         (get): Documentation revised.
1199         (order): Return native byte order.
1200         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1201         (LongBufferImpl): Revised.
1202         (slice): New implementation.
1203         (duplicate): New implementation.
1204         (compact): New implementation.
1205         (asReadOnlyBuffer): New implementation.
1206         (get): Documentation revised.
1207         (order): Return native byte order.
1208         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1209         (ShortBufferImpl): Revised.
1210         (slice): New implementation.
1211         (duplicate): New implementation.
1212         (compact): New implementation.
1213         (asReadOnlyBuffer): New implementation.
1214         (get): Documentation revised.
1215         (order): Return native byte order.
1216         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1217         (CharBuffer): Revised.
1218         (order): Removed.
1219         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1220         (DoubleBuffer): Revised.
1221         (allocateDirect): Removed.
1222         (order): Removed.
1223         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1224         (FloatBuffer): Revised.
1225         (allocateDirect): Removed.
1226         (order): Removed.
1227         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1228         (IntBuffer): Revised.
1229         (allocateDirect): Removed.
1230         (order): Removed.
1231         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1232         (LongBuffer): Revised.
1233         (allocateDirect): Removed.
1234         (order): Removed.
1235         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1236         (ShortBuffer): Revised.
1237         (allocateDirect): Removed.
1238         (order): Removed.
1239         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1240         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1241         * Makefile.am
1242         (ordinary_java_source_files): Added the following files:
1243         gnu/java/nio/CharViewBufferImpl.java,
1244         gnu/java/nio/DoubleViewBufferImpl.java,
1245         gnu/java/nio/FloatViewBufferImpl.java,
1246         gnu/java/nio/IntViewBufferImpl.java,
1247         gnu/java/nio/LongViewBufferImpl.java,
1248         gnu/java/nio/ShortViewBufferImpl.java
1249         (nat_source_files): Removed the following files:
1250         gnu/java/nio/natByteBufferImpl.cc,
1251         gnu/java/nio/natCharBufferImpl.cc
1252         * Makefile.in: Regenerated.
1253
1254 2003-05-12  Michael Koch  <konqueror@gmx.de>
1255
1256         * gnu/java/nio/CharViewBufferImpl.java,
1257         gnu/java/nio/DirectByteBufferImpl.java,
1258         gnu/java/nio/DoubleViewBufferImpl.java,
1259         gnu/java/nio/FloatViewBufferImpl.java,
1260         gnu/java/nio/IntViewBufferImpl.java,
1261         gnu/java/nio/LongViewBufferImpl.java,
1262         gnu/java/nio/ShortViewBufferImpl.java,
1263         gnu/java/nio/natDirectByteBufferImpl.cc:
1264         New files, not yet to be compiled.
1265
1266 2003-05-10  Michael Koch  <konqueror@gmx.de>
1267
1268         * javax/swing/plaf/ButtonUI.java,
1269         javax/swing/plaf/ColorUIResource.java,
1270         javax/swing/plaf/ComponentUI.java,
1271         javax/swing/plaf/DimensionUIResource.java,
1272         javax/swing/plaf/FontUIResource.java,
1273         javax/swing/plaf/IconUIResource.java,
1274         javax/swing/plaf/InsetsUIResource.java,
1275         javax/swing/plaf/LabelUI.java,
1276         javax/swing/plaf/ListUI.java,
1277         javax/swing/plaf/OptionPaneUI.java,
1278         javax/swing/plaf/PanelUI.java,
1279         javax/swing/plaf/TabbedPaneUI.java,
1280         javax/swing/plaf/TextUI.java,
1281         javax/swing/plaf/TreeUI.java,
1282         javax/swing/plaf/ViewportUI.java,
1283         javax/swing/plaf/basic/BasicBorders.java,
1284         javax/swing/plaf/basic/BasicButtonUI.java,
1285         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1286         javax/swing/plaf/basic/BasicDefaults.java,
1287         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1288         javax/swing/plaf/basic/BasicIconFactory.java,
1289         javax/swing/plaf/basic/BasicLabelUI.java,
1290         javax/swing/plaf/basic/BasicListUI.java,
1291         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1292         javax/swing/plaf/basic/BasicPanelUI.java,
1293         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1294         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1295         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1296         javax/swing/plaf/basic/BasicTextUI.java,
1297         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1298         javax/swing/plaf/basic/BasicTreeUI.java,
1299         javax/swing/plaf/basic/BasicViewportUI.java,
1300         javax/swing/plaf/metal/MetalLookAndFeel.java:
1301         New versions from classpath. This adds copyrights to all files and
1302         some serialVersionUIDs.
1303
1304 2003-05-10  Michael Koch  <konqueror@gmx.de>
1305
1306         * java/nio/CharBuffer.java
1307         (offset): Make it package-private.
1308         (backing_buffer): Likewise.
1309         * java/nio/DoubleBuffer.java
1310         (offset): Make it package-private.
1311         (backing_buffer): Likewise.
1312         (put): Reformatted.
1313         * java/nio/FloatBuffer.java
1314         (offset): Make it package-private.
1315         (backing_buffer): Likewise.
1316         * java/nio/IntBuffer.java
1317         (offset): Make it package-private.
1318         (backing_buffer): Likewise.
1319         * java/nio/LongBuffer.java
1320         (offset): Make it package-private.
1321         (backing_buffer): Likewise.
1322         * java/nio/ShortBuffer.java
1323         (offset): Make it package-private.
1324         (backing_buffer): Likewise.
1325
1326 2003-05-10  Michael Koch  <konqueror@gmx.de>
1327
1328         * java/nio/CharBuffer.java
1329         (put): Fixed precondtion check.
1330         (toString): Make it work without backing array.
1331         (put): Skip one level of method calling.
1332
1333 2003-05-10  Michael Koch  <konqueror@gmx.de>
1334
1335         * java/security/Identity.java,
1336         java/security/IdentityScope.java,
1337         java/security/Key.java,
1338         java/security/KeyPair.java,
1339         java/security/PrivateKey.java,
1340         java/security/Provider.java,
1341         java/security/PublicKey.java,
1342         java/security/SecureRandom.java,
1343         java/security/SecureRandomSpi.java,
1344         java/security/SignedObject.java,
1345         java/security/Signer.java,
1346         java/security/cert/Certificate.java,
1347         java/security/cert/PKIXCertPathBuilderResult.java,
1348         java/security/cert/X509Certificate.java:
1349         New versions from classpath.
1350
1351 2003-05-09  Tom Tromey  <tromey@redhat.com>
1352
1353         * Makefile.in: Rebuilt.
1354         * Makefile.am (nat_source_files): Removed old files.
1355         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1356         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1357         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1358         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1359         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1360
1361 2003-05-09  Michael Koch  <konqueror@gmx.de>
1362
1363         * gnu/java/nio/ByteBufferImpl.java
1364         (nio_cast): Removed.
1365         (ByteBufferImpl): Removed.
1366         (nio_get_Byte): Removed.
1367         (nio_put_Byte): Removed.
1368         (asByteBuffer): Removed.
1369         (asCharBuffer): Removed implementation and throw exception.
1370         (asShortBuffer): Likewise.
1371         (asIntBuffer): Likewise.
1372         (asLongBuffer): Likewise.
1373         (asFloatBuffer): Likewise.
1374         (asDoubleBuffer): Likewise.
1375         * gnu/java/nio/CharBufferImpl.java
1376         (CharBufferImpl): Removed.
1377         (nio_get_Byte): Removed.
1378         (nio_put_Byte): Removed.
1379         (asByteBuffer): Removed.
1380         * gnu/java/nio/DoubleBufferImpl.java
1381         (DoubleBufferImpl): Removed.
1382         (nio_get_Byte): Removed.
1383         (nio_put_Byte): Removed.
1384         (asByteBuffer): Removed.
1385         * gnu/java/nio/FloatBufferImpl.java
1386         (FloatBufferImpl): Removed.
1387         (nio_get_Byte): Removed.
1388         (nio_put_Byte): Removed.
1389         (asByteBuffer): Removed.
1390         * gnu/java/nio/IntBufferImpl.java
1391         (IntBufferImpl): Removed.
1392         (nio_get_Byte): Removed.
1393         (nio_put_Byte): Removed.
1394         (asByteBuffer): Removed.
1395         * gnu/java/nio/LongBufferImpl.java
1396         (LongBufferImpl): Removed.
1397         (nio_get_Byte): Removed.
1398         (nio_put_Byte): Removed.
1399         (asByteBuffer): Removed.
1400         * gnu/java/nio/ShortBufferImpl.java
1401         (ShortBufferImpl): Removed.
1402         (nio_get_Byte): Removed.
1403         (nio_put_Byte): Removed.
1404         (asByteBuffer): Removed.
1405         * gnu/java/nio/natByteBufferImpl.cc
1406         (nio_cast): Removed.
1407         (nio_get_Byte): Removed.
1408         (nio_put_Byte): Removed.
1409         * gnu/java/nio/natCharBufferImpl.cc
1410         (nio_get_Byte): Removed.
1411         (nio_put_Byte): Removed.
1412
1413 2003-05-09  Michael Koch  <konqueror@gmx.de>
1414
1415         * java/net/JarURLConnection.java
1416         (getJarEntry): Merged documentation from classpath.
1417         (getJarFile): Likewise.
1418         (getMainAttributes): Likewise.
1419         (getAttributes): Likewise.
1420         (getManifest): Likewise.
1421         (getCertificates): Reformatted.
1422         * java/net/URLConnection.java:
1423         Little classpath merge.
1424
1425 2003-05-09  Michael Koch  <konqueror@gmx.de>
1426
1427         * java/io/DataOutputStream.java
1428         (writeShort): Made it synchronized.
1429         (writeChar): Likewise.
1430         (writeInt): Likewise.
1431         (writeLong): Liekwise.
1432         (writeUTF): Made it synchronized, renamed argument to match classpath.
1433         * java/io/InputStreamReader.java
1434         (converter): Added documentation.
1435         (read): Merged documentation from classpath.
1436         * java/io/OutputStreamWriter.java
1437         (OutputStreamWriter): Merged documentation from classpath.
1438         (close): Reformatted.
1439         (getEncoding): Likewise.
1440         (flush): Likewise.
1441         (write): Merged documentation from classpath, reformatted.
1442
1443 2003-05-08  Tom Tromey  <tromey@redhat.com>
1444
1445         * configure.host <powerpc64*-*>: Set with_libffi_default and
1446         libgcj_interpreter to "yes".
1447
1448 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1449
1450         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1451         
1452 2003-05-06  Tom Tromey  <tromey@redhat.com>
1453
1454         * verify.cc: Reverted previous patch.
1455
1456 2003-05-06  Michael Koch  <konqueror@gmx.de>
1457
1458         * java/io/DataOutputStream.java
1459         (write): Renamed argument to "value", merged documentation from
1460         classpath.
1461         (writeBoolean): Likewise.
1462         (writeByte): Likewise.
1463         (writeShort): Likewise.
1464         (writeChar): Likewise.
1465         (writeInt): Likewise.
1466         (writeLong): Likewise.
1467         (writeFloat): Likewise.
1468         (writeDouble): Likewise.
1469         (writeBytes): Likewise.
1470         (writeChars): Likewise.
1471         (writeUTF): Likewise.
1472         * java/io/File.java
1473         (performDelete): Added documentation.
1474         (performList): Likewise.
1475         (performMkdir): Likewise.
1476         (performSetReadOnly): Likewise.
1477         (performRenameTo): Likewise.
1478         (performSetLastModified): Likewise.
1479         (delete): Made it sychronized.
1480         (renameTo): Made it sychronized.
1481         (equals): Reformatted.
1482         (isHidden): Likewise.
1483         (listFiles): Likewise.
1484         (setReadOnly): Likewise.
1485         (listRoots): Likewise.
1486         (setLastModified): Likewise.
1487         (checkRead): Likewise.
1488         (checkWrite): Likewise.
1489         * java/io/FileInputStream.java
1490         (skip): Made it sychronized, merged from classpath.
1491         * java/io/FileOutputStream.java
1492         (write): Merged from classpath.
1493         * java/io/InputStreamReader.java:
1494         (InputStreamReader): Merged documentation from classpath.
1495
1496 2003-05-05  Michael Koch  <konqueror@gmx.de>
1497
1498         * java/net/NetworkInterface.java
1499         (networkInterfaces): Removed.
1500         (getByName): Use getRealNetworkInterfaces() instead of
1501         networkInterfaces.
1502         (getByInetAddress): Likewise.
1503         (getNetworkInterfaces): Likewise.
1504         (toString): Fix output of addresses of an interface.
1505
1506 2003-05-05  Michael Koch  <konqueror@gmx.de>
1507
1508         * java/io/DataInputStream.java:
1509         Merged new documentation from classpath.
1510
1511 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1512
1513         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1514         "version".
1515         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1516         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1517         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1518         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1519         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1520         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1521         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1522         * java/security/Key.java: Likewise.
1523         * java/security/PrivateKey.java: Likewise.
1524         * java/security/Provider.java: Likewise.
1525         * java/security/PublicKey.java: Likewise.
1526
1527 2003-05-02  Michael Koch  <konqueror@gmx.de>
1528
1529         * java/net/URI.java
1530         (create): Doesnt throws any exceptions.
1531         * java/net/URLConnection.java
1532         (URLConnection): Commend added.
1533         (getExpiration): The header field is called "expires" not
1534         "expiration".
1535         (getHeaderField): Merged documentation with classpath.
1536         (getHeaderFieldInt): Likewise.
1537         (getHeaderFieldDate): Likewise.
1538         (getHeaderFieldKey): Likewise.
1539         (getPermission): Likewise.
1540         (setDefaultUseCaches): Likewise.
1541         (setRequestProperty): Likewise.
1542         (addRequestProperty): Likewise.
1543         (getRequestProperty): Likewise.
1544         (getRequestProperties): Likewise.
1545         (setDefaultRequestProperty): Likewise.
1546         (getDefaultRequestProperty): Likewise.
1547         (guessContentTypeFromStream): Likewise.
1548         (getFileNameMap): Likewise.
1549         (setFileNameMap): Likewise.
1550         (setDoInput): Merged implementation and documentation with classpath.
1551         (setDoOutput): Likewise.
1552         (setAllowUserInteraction): Likewise.
1553         (setDefaultAllowUserInteraction): Likewise.
1554         (setContentHandlerFactory): Made it synchronized, merged documentation
1555         with classpath.
1556         (guessContentTypeFromName): Renamed argument fname to filename to
1557         match classpath, merged documentation with classpath.
1558
1559 2003-05-02  Michael Koch  <konqueror@gmx.de>
1560
1561         * java/net/JarURLConnection.java
1562         (JarURLConnection): Class documentation merged with classpath.
1563         (getJarFileURL): Moved and documentation merged with classpath.
1564         (getEntryName): Likewise.
1565         (JarURLConnection): Documentation merged with classpath.
1566         (getJarEntry): Likewise.
1567         (getJarFile): Likewise.
1568         * java/net/PlainDatagramSocketImpl.java:
1569         Class documentation moved.
1570         * java/net/URLConnection.java
1571         (fileNameMap): Moved and documentation merged with classpath.
1572         (factory): Likewise.
1573         (defaultAllowUserInteraction): Likewis.
1574         (defaultUseCaches): Likewise.
1575         (allowUserInteraction): Likewise.
1576         (connected): Likewise.
1577         (url): Likewise.
1578         (connect): Documentation merged with classpath.
1579         (getURL): Likewise.
1580         (getContentLength): Likewise.
1581         (getContentType): Likewise.
1582         (getContentEncoding): Likewise.
1583         (getExpiration): Likewise.
1584         (getDate): Likewise.
1585         (getLastModified): Likewise.
1586         (getHeaderField): Likewise.
1587         (getContent): Likewise.
1588         (getPermission): Likewise.
1589         (getInputStream): Likewise.
1590         (getOutputStream): Likewise.
1591         (toString): Likewise.
1592         (getDoInput): Likewise.
1593         (getDoOutput): Likewise.
1594         (setAllowUserInteraction): Likewise.
1595         (getAllowUserInteraction): Likewise.
1596         (setDefaultAllowUserInteraction): Likewise.
1597         (getDefaultAllowUserInteraction): Likewise.
1598         (setUseCaches): Likewise.
1599         (getUseCaches): Likewise.
1600         (setIfModifiedSince): Likewise.
1601         (getIfModifiedSince): Likewise.
1602         (setDefaultRequestProperty): Likewise.
1603         (getDefaultRequestProperty): Likewise.
1604         (setContentHandlerFactory): Likewise.
1605         (setFileNameMap): Likewise.
1606
1607 2003-05-02  Michael Koch  <konqueror@gmx.de>
1608
1609         * java/net/InetAddress.java:
1610         Merged class documentation with classpath.
1611         * java/net/JarURLConnection.java:
1612         Explicitely import all used classes.
1613         * java/net/URL.java:
1614         Reformatting.
1615         * java/net/ServerSocket.java,
1616         java/net/Socket.java:
1617         New versions from classpath.
1618
1619 2003-05-02  Michael Koch  <konqueror@gmx.de>
1620
1621         * gnu/java/nio/FileChannelImpl.java
1622         (read): New implementation.
1623         (implRead): New methods.
1624         (write): New implementation, call other write insteal of read method.
1625         (implWrite): New methods.
1626         (map): Added comment.
1627         (transferFrom): Implemented.
1628         (transferTo): Implemented.
1629         (lock): Added checks to throw exceptions.
1630         (truncate): Added check to throw exception.
1631         * gnu/java/nio/natFileChannelImpl.cc
1632         (implRead): New method.
1633         (implWrite): New method.
1634         * java/nio/ByteBuffer.java
1635         (hashCode): Fixed comment.
1636         (get): Fixed exception documentation.
1637         (put): Fixed exception documentation.
1638         * java/nio/CharBuffer.java:
1639         Added comment for later optimizations.
1640
1641 2003-04-30  Tom Tromey  <tromey@redhat.com>
1642
1643         PR libgcj/10582:
1644         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1645         Removed.
1646         (type::compatible): Use _Jv_IsAssignableFrom.
1647         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1648         (_Jv_IsAssignableFrom): Work even when source or target class is
1649         not prepared.
1650
1651 2003-04-30  Michael Koch  <konqueror@gmx.de>
1652
1653         * java/text/BreakIterator.java
1654         (clone): New method.
1655
1656 2003-04-30  Michael Koch  <konqueror@gmx.de>
1657
1658         * java/text/CollationElementIterator.java,
1659         java/text/CollationKey.java,
1660         java/text/RuleBasedCollator.java:
1661         Merged copyright and documentation from classpath and
1662         rearranged some code. No code changes done.
1663
1664 2003-04-30  Michael Koch  <konqueror@gmx.de>
1665
1666         * java/util/regex/Matcher.java
1667         (pattern): New member variable.
1668         (appendReplacement): New method.
1669         (appendTail): New method.
1670         (end): New method.
1671         (find): New method.
1672         (group): New method.
1673         (replaceFirst): Added documentation.
1674         (replaceAll): Added documentation.
1675         (groupCount): New method.
1676         (lookingAt): New method.
1677         (matches): New method.
1678         (reset): New method.
1679         (start): New method.
1680         * java/util/regex/Pattern.java
1681         (serialVersionUID): New constant.
1682         (CANON_EQ): New constant.
1683         (CASE_INSENSITIVE): New constant.
1684         (COMMENTS): New constant.
1685         (DOTALL): New constant.
1686         (MULTILINE): New constant.
1687         (UNICODE_CASE): New constant.
1688         (UNIX_LINES): New constant.
1689         (regex): New member variable.
1690         (flags): New member variable.
1691         (Pattern): New method.
1692         (compile): Documentation added.
1693         (flags): New method.
1694         (matches): Documentation added.
1695         (matcher): Documentation added.
1696         (split): Documentation added.
1697         (pattern): New method.
1698
1699 2003-04-30  Michael Koch  <konqueror@gmx.de>
1700
1701         * gnu/java/security/Engine.java,
1702         gnu/java/security/OID.java,
1703         gnu/java/security/der/BitString.java,
1704         gnu/java/security/der/DER.java,
1705         gnu/java/security/der/DERReader.java,
1706         gnu/java/security/der/DERValue.java,
1707         gnu/java/security/der/DERWriter.java,
1708         gnu/java/security/provider/DSAKeyFactory.java,
1709         gnu/java/security/provider/X509CertificateFactory.java,
1710         gnu/java/security/x509/X500DistinguishedName.java,
1711         gnu/java/security/x509/X509CRL.java,
1712         gnu/java/security/x509/X509CRLEntry.java,
1713         gnu/java/security/x509/X509Certificate.java,
1714         java/security/cert/CRLSelector.java,
1715         java/security/cert/CertPathBuilder.java,
1716         java/security/cert/CertPathBuilderResult.java,
1717         java/security/cert/CertPathBuilderSpi.java,
1718         java/security/cert/CertPathParameters.java,
1719         java/security/cert/CertPathValidator.java,
1720         java/security/cert/CertPathValidatorResult.java,
1721         java/security/cert/CertPathValidatorSpi.java,
1722         java/security/cert/CertSelector.java,
1723         java/security/cert/CertStore.java,
1724         java/security/cert/CertStoreParameters.java,
1725         java/security/cert/CertStoreSpi.java,
1726         java/security/cert/CollectionCertStoreParameters.java,
1727         java/security/cert/LDAPCertStoreParameters.java,
1728         java/security/cert/PKIXBuilderParameters.java,
1729         java/security/cert/PKIXCertPathBuilderResult.java,
1730         java/security/cert/PKIXCertPathChecker.java,
1731         java/security/cert/PKIXCertPathValidatorResult.java,
1732         java/security/cert/PKIXParameters.java,
1733         java/security/cert/PolicyNode.java,
1734         java/security/cert/PolicyQualifierInfo.java,
1735         java/security/cert/TrustAnchor.java,
1736         javax/security/auth/x500/X500Principal.java:
1737         New files from classpath.
1738         * gnu/java/io/ASN1ParsingException.java,
1739         gnu/java/io/Base64InputStream.java,
1740         gnu/java/security/der/DEREncodingException.java,
1741         gnu/java/security/provider/DSAParameters.java,
1742         gnu/java/security/provider/DSASignature.java,
1743         gnu/java/security/provider/Gnu.java,
1744         gnu/java/security/provider/GnuDSAPrivateKey.java,
1745         gnu/java/security/provider/GnuDSAPublicKey.java,
1746         java/security/AlgorithmParameterGenerator.java,
1747         java/security/AlgorithmParameters.java,
1748         java/security/KeyFactory.java,
1749         java/security/KeyPairGenerator.java,
1750         java/security/KeyStore.java,
1751         java/security/MessageDigest.java,
1752         java/security/SecureClassLoader.java,
1753         java/security/SecureRandom.java,
1754         java/security/Security.java,
1755         java/security/Signature.java,
1756         java/security/cert/Certificate.java,
1757         java/security/cert/CertificateFactory.java,
1758         java/security/cert/CertificateFactorySpi.java,
1759         java/security/cert/X509CRL.java,
1760         java/security/cert/X509Certificate.java,
1761         java/security/spec/DSAPublicKeySpec.java:
1762         New versions from classpath.
1763         * gnu/java/security/provider/DERReader.java,
1764         gnu/java/security/provider/DERWriter.java,
1765         java/security/Engine.java: Removed.
1766         * Makefile.am
1767         (java_source_files, javax_source_files): Added new files.
1768         * Makefile.in: Regenerated.
1769
1770 2003-04-29  Michael Koch  <konqueror@gmx.de>
1771
1772         * javax/swing/JTable.java
1773         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1774         (AUTO_RESIZE_LAST_COLUMN): New constant.
1775         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1776         (AUTO_RESIZE_OFF): New constant.
1777         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1778         (JTable): New method.
1779         (columnAdded): New method.
1780         (columnMarginChanged): New method.
1781         (columnMoved): New method.
1782         (columnRemoved): New method.
1783         (columnSelectionChanged): New method.
1784         (editingCanceled): New method.
1785         (editingStopped): New method.
1786         (getColumnModel): New method.
1787         (getPreferredScrollableViewportSize): New method.
1788         (getScrollableBlockIncrement): New method.
1789         (getScrollableTracksViewportHeight): New method.
1790         (getScrollableTracksViewportWidth): New method.
1791         (getScrollableUnitIncrement): New method.
1792         (getSelectedRow): New method.
1793         (getSelectionModel): New method.
1794         (tableChanged): New method.
1795         (setModel): New method.
1796         (setSelectionMode): New method.
1797         (setSelectionModel): New method.
1798         (setShowGrid): New method.
1799         (valueChanged): New method.
1800         * javax/swing/text/DefaultEditorKit.java
1801         (backwardAction): New constant.
1802         (beepAction): New constant.
1803         (beginAction): New constant.
1804         (beginLineAction): New constant.
1805         (beginParagraphAction): New constant.
1806         (beginWordAction): New constant.
1807         (copyAction): New constant.
1808         (cutAction): New constant.
1809         (defaultKeyTypedAction): New constant.
1810         (deleteNextCharAction): New constant.
1811         (deletePrevCharAction): New constant.
1812         (downAction): New constant.
1813         (endAction): New constant.
1814         (endLineAction): New constant.
1815         (endOfLineStringProperty): New constant.
1816         (endParagraphAction): New constant.
1817         (endWordAction): New constant.
1818         (forwardAction): New constant.
1819         (insertBreakAction): New constant.
1820         (insertContentAction): New constant.
1821         (insertTabAction): New constant.
1822         (nextWordAction): New constant.
1823         (pageDownAction): New constant.
1824         (pageUpAction): New constant.
1825         (pasteAction): New constant.
1826         (previousWordAction): New constant.
1827         (readOnlyAction): New constant.
1828         (selectAllAction): New constant.
1829         (selectionBackwardAction): New constant.
1830         (selectionBeginAction): New constant.
1831         (selectionBeginLineAction): New constant.
1832         (selectionBeginParagraphAction): New constant.
1833         (selectionBeginWordAction): New constant.
1834         (selectionDownAction): New constant.
1835         (selectionEndAction): New constant.
1836         (selectionEndLineAction): New constant.
1837         (selectionEndParagraphAction): New constant.
1838         (selectionEndWordAction): New constant.
1839         (selectionForwardAction): New constant.
1840         (selectionNextWordAction): New constant.
1841         (selectionPreviousWordAction): New constant.
1842         (selectionUpAction): New constant.
1843         (selectLineAction): New constant.
1844         (selectParagraphAction): New constant.
1845         (selectWordAction): New constant.
1846         (upAction): New constant.
1847         (writableAction): New constant.
1848
1849 2003-04-29  Michael Koch  <konqueror@gmx.de>
1850
1851         * java/util/PropertyPermission.java:
1852         New version from classpath
1853         * java/util/ResourceBundle.java:
1854         Partly merged from classpath
1855         (getObject): Reformated.
1856         (tryBundle): Set foundBundle = null if no bundle found.
1857
1858 2003-04-29  Michael Koch  <konqueror@gmx.de>
1859
1860         * javax/swing/AbstractListModel.java,
1861         javax/swing/DefaultBoundedRangeModel.java,
1862         javax/swing/DefaultSingleSelectionModel.java:
1863         New Versions from classpath.
1864
1865 2003-04-29  Michael Koch  <konqueror@gmx.de>
1866
1867         * java/awt/Window.java
1868         (show): Call super.show() instead of setVisible() to avoid endless
1869         loop.
1870         (hide): Call super.hide() instead of setVisible() to avoid endless
1871         loop.
1872
1873 2003-04-29  Michael Koch  <konqueror@gmx.de>
1874
1875         * java/util/zip/Deflater.java,
1876         java/util/zip/DeflaterOutputStream.java:
1877         Partly merged with classpath.
1878
1879 2003-04-27  Tom Tromey  <tromey@redhat.com>
1880
1881         * java/lang/natString.cc (_Jv_AllocString): Initialize
1882         cachedHashCode.
1883         (init): Likewise.
1884         (_Jv_NewStringUtf8Const): Likewise.
1885
1886 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1887
1888         * include/jvm.h: (_Jv_GetNbArgs) added
1889         (_Jv_GetSafeArg) added
1890         (_Jv_SetArgs) added
1891         * prims.cc: (_Jv_GetNbArgs) implemented
1892         (_Jv_GetSafeArg) implemented
1893         (_Jv_SetArgs) implemented
1894         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1895         setting _Jv_argc and _Jv_argv
1896         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1897         instead of _Jv_argv
1898         * java/lang/natRuntime.cc: (insertSystemProperties) use
1899         _Jv_GetSafeArg() instead of _Jv_argv
1900
1901 2003-04-23  Tom Tromey  <tromey@redhat.com>
1902
1903         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1904         required by this object.  Search superclasses to find required
1905         alignment.
1906         (get_alignment_from_class): Use alignment of type as it appears
1907         in a struct.
1908         (ALIGNOF): New macro.
1909         (struct aligner): New helper structure.
1910
1911 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1912
1913         * java/awt/Container.java (addImpl): Enable paint events if adding
1914         a lightweight to a heavyweight.
1915         (addNotify): Ensure that peer is created before
1916         addNotifyContainerChildren.
1917         (addNotifyContainerChildren): Enable paint events if a heavyweight
1918         container contains a lightweight.
1919
1920 2003-04-20  Tom Tromey  <tromey@redhat.com>
1921
1922         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1923         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1924         Classpath.
1925
1926 2003-04-19  Tom Tromey  <tromey@redhat.com>
1927
1928         * java/sql/Date.java, java/sql/DriverManager.java,
1929         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1930         Classpath.
1931
1932         * Makefile.in: Rebuilt.
1933         * Makefile.am (ordinary_java_source_files): Added new files.
1934         * java/security/AlgorithmParameterGenerator.java,
1935         java/security/AlgorithmParameters.java, java/security/Engine.java,
1936         java/security/Identity.java, java/security/IdentityScope.java,
1937         java/security/KeyFactory.java,
1938         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1939         java/security/MessageDigest.java, java/security/Policy.java,
1940         java/security/ProtectionDomain.java,
1941         java/security/SecureRandom.java, java/security/Security.java,
1942         java/security/Signature.java, java/security/SignatureSpi.java,
1943         java/security/SignedObject.java, java/security/Signer.java,
1944         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1945         java/security/spec/PSSParameterSpec.java,
1946         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1947         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1948         Classpath.
1949
1950 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1951
1952         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1953         (dispose): Null metrics.
1954         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1955         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1956         finalize.
1957         (finalize): Call dispose.
1958         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1959         (gcCachedCount): New field.
1960         (finalize): New method.
1961         (putGCInCache): New method.
1962         (getGCFromCache): New method.
1963         * gnu/gcj/xlib/GC.java (GC): Make protected.
1964         (clone): Get new GC from cache if possible.
1965         (create): New static method.
1966         (dispose): Save old GC in cache.
1967         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1968         deleting.
1969         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1970         is null.
1971         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1972         * java/awt/Container.java (visitChild): Dispose gfx2 when
1973         finished.
1974
1975 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1976
1977         * java/math/BigInteger.java (probablePrime): New.
1978         * java/math/BigDecimal.java (unscaledValue): New.
1979
1980 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1981
1982         * java/io/File.java (getAbsolutePath): On Windows, take care
1983         of paths like "C:", "G:foo\bar", etc.
1984         (getName): Make it work correctly on Windows.
1985         (getParent): Make it work correctly on Windows. For UNIX,
1986         fix bug that causes "/" to be returned as the parent of "/",
1987         instead of null as returned by Sun's JRE.
1988
1989         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1990
1991 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1992
1993         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1994         inner class.
1995         (CACHE_SIZE_PER_DISPLAY): New field
1996         (fontMetricsCache): New field
1997         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1998         loading ISO10646-1 fonts.
1999
2000 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2001
2002         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2003         characters.
2004         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2005         characters.
2006
2007 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2008
2009         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2010         floating point.
2011
2012 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2013
2014         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2015         installed libpthread is either linuxthreads with floating stacks or
2016         NPTL.
2017
2018 2003-04-14  Tom Tromey  <tromey@redhat.com>
2019
2020         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2021         of alignment.
2022
2023 2003-04-10  Tom Tromey  <tromey@redhat.com>
2024
2025         * verify.cc (pop64): Removed.
2026         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2027         exception if top-of-stack is narrow.
2028         (initialize_stack): Check to ensure that <init> is not static and
2029         <clinit> is.
2030
2031 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2032
2033         * java/io/ObjectStreamException
2034         * java/io/FileFilter
2035         * java/io/FilenameFilter
2036         * java/io/ObjectInput
2037         * java/io/ObjectOutput
2038         * java/io/ObjectStreamConstants
2039         Minor doc fixes, format fixes, spelling corrections, etc.
2040         * java/io/DataInput
2041         Corrected code samples in Javadocs to match reality
2042         * java/io/DataOutput
2043         * java/io/ObjectInputValidation
2044         Major documentation fixes - all Javadocs re-written or updated
2045
2046 2003-04-06  Michael Koch  <konqueror@gmx.de>
2047
2048         * java/net/URLConnection.java:
2049         Import classes directly.
2050         (URLConnection): Merged class documentation with classpath.
2051         (url): Moved, documentation from classpath added.
2052         (doInput): Moved, documentation from classpath added.
2053         (doOutput): Moved, documentation from classpath added.
2054         (allowUserInteraction): Moved.
2055         (useCaches): Moved, documentation from classpath added.
2056         (ifModifiedSince): Moved, documentation from classpath added.
2057         (connected): Moved, documentation from classpath added.
2058
2059 2003-04-06  Michael Koch  <konqueror@gmx.de>
2060
2061         * java/io/FileInputStream.java
2062         (skip): Renamed some variables to match classpath, added
2063         checks from classpath.
2064
2065 2003-03-31  Michael Koch  <konqueror@gmx.de>
2066
2067         * javax/swing/AbstractAction.java
2068         (AbstractAction): Reformatted.
2069         (serialVersionUID): New private member variable.
2070         * javax/swing/plaf/BorderUIResource.java
2071         (serialVersionUID): New private member variable.
2072         * javax/swing/plaf/basic/BasicLookAndFeel.java
2073         (serialVersionUID): New private member variable.
2074
2075 2003-03-31  Michael Koch  <konqueror@gmx.de>
2076
2077         * java/sql/Date.java
2078         (valueOf): Deprecated, reformatted.
2079         (toString): Deprecated, reformatted.
2080         * java/sql/Time.java
2081         (valueOf): Deprecated, reformatted.
2082         (toString): Deprecated, reformatted.
2083
2084 2003-03-31  Michael Koch  <konqueror@gmx.de>
2085
2086         * java/rmi/dgc/VMID.java
2087         (isUnique): Deprecated.
2088
2089 2003-03-31  Michael Koch  <konqueror@gmx.de>
2090
2091         * java/io/File.java
2092         (separator): Merged documentation from classpath.
2093         (separatorChar): Merged documentation from classpath.
2094         (pathSeparator): Merged documentation from classpath.
2095         (pathSeparatorChar): Merged documentation from classpath.
2096         (path): Merged documentation from classpath.
2097         (canRead): Merged documentation from classpath.
2098         (canWrite): Merged documentation from classpath.
2099         (createNewFile): Merged documentation from classpath.
2100         (delete): Merged documentation from classpath.
2101         (equals): Merged documentation from classpath.
2102         (exists): Merged documentation from classpath.
2103         (File): Renamed p to name to match classpath, merged documentation
2104         from classpath.
2105         (getAbsolutePath): Merged documentation from classpath.
2106         (getCanonicalPath): Merged documentation from classpath.
2107         (getCanonicalFile): Merged documentation from classpath.
2108         (getName): Merged documentation from classpath.
2109         (getParent): Merged documentation from classpath.
2110         (getParentFile): Merged documentation from classpath.
2111         (getPath): Merged documentation from classpath.
2112         (hashCode): Merged documentation from classpath.
2113         (isAbsolute): Merged documentation from classpath.
2114         (isDirectory): Merged documentation from classpath.
2115         (isFile): Merged documentation from classpath.
2116         (isHidden): Merged documentation from classpath.
2117         (lastModified): Merged documentation from classpath.
2118         (length): Merged documentation from classpath.
2119         (list): Merged documentation from classpath.
2120         (listFiles): Merged documentation from classpath.
2121         (toString): Merged documentation from classpath.
2122         (toURL): Merged documentation from classpath.
2123         (mkdir): Merged documentation from classpath.
2124         (mkdirs): Merged documentation from classpath.
2125         (createTempFile): Merged documentation from classpath.
2126         (setReadOnly): Merged documentation from classpath.
2127         (listRoots): Merged documentation from classpath.
2128         (compareTo): Merged documentation from classpath.
2129         (renameTo): Merged documentation from classpath.
2130         (setLastModified): Merged documentation from classpath.
2131         * java/io/PrintStream.java
2132         (auto_flush): Merged documentation from classpath.
2133         (PrintStream): Merged documentation from classpath.
2134         (checkError): Merged documentation from classpath.
2135         (setError): Merged documentation from classpath.
2136         (close): Merged documentation from classpath.
2137         (flush): Merged documentation from classpath.
2138         (print): Merged documentation from classpath.
2139         (println):  Merged documentation from classpath.
2140         (write): Renamed count to len to match classpath,
2141         merged documentation from classpath.
2142         * java/io/RandomAccessFile.java
2143         (readShort): Merged documentation from classpath.
2144         (readUnsignedByte): Merged documentation from classpath.
2145         (readUnsignedShort): Merged documentation from classpath.
2146         (readUTF): Merged documentation from classpath.
2147         (seek): Reformatted, merged documentation from classpath.
2148         (skipBytes): Renamed some variables to match classpath, reformatted,
2149         merged documentation from classpath.
2150         (write): Merged documentation from classpath.
2151         (writeBoolean): Merged documentation from classpath.
2152         (writeByte): Merged documentation from classpath.
2153         (writeShort): Merged documentation from classpath.
2154         (writeChar): Merged documentation from classpath.
2155         (writeInt): Merged documentation from classpath.
2156         (writeLong): Merged documentation from classpath.
2157         (writeFloat): Merged documentation from classpath.
2158         (writeDouble): Merged documentation from classpath.
2159         (writeBytes): Merged documentation from classpath.
2160         (writeChars): Merged documentation from classpath.
2161         (writeUTF): Reformatted.
2162         (getChannel): Reformatted.
2163
2164 2003-03-31  Michael Koch  <konqueror@gmx.de>
2165
2166         * java/awt/font/TextAttribute.java
2167         (readResolve): Throws java.io.InvalidObjectException.
2168
2169 2003-03-31  Michael Koch  <konqueror@gmx.de>
2170
2171         * java/rmi/server/LoaderHandler.java
2172         (loadClass): Deprecated.
2173         (getSecurityContext): Deprecated.
2174         * java/rmi/server/LogStream.java
2175         (getDefaultStream): Deprecated.
2176         (setDefaultStream): Deprecated.
2177         (getOutputStream): Deprecated.
2178         (setOutputStream): Deprecated.
2179         (write): Deprecated.
2180         (toString): Deprecated.
2181         (parseLevel): Deprecated.
2182         * java/rmi/server/Operation.java
2183         (Operation): Deprecated.
2184         (getOperation): Deprecated.
2185         (toString): Deprecated.
2186         * java/rmi/server/RemoteCall.java
2187         (getOutputStream): Deprecated.
2188         (releaseOutputStream): Deprecated.
2189         (getInputStream): Deprecated.
2190         (releaseInputStream): Deprecated.
2191         (getResultStream): Deprecated.
2192         (executeCall): Deprecated.
2193         (done): Deprecated.
2194         * java/rmi/server/RemoteRef.java
2195         (invoke): Deprecated.
2196         (newCall): Deprecated.
2197         (done): Deprecated.
2198         * java/rmi/server/RemoteStub.java
2199         (setRef): Deprecated.
2200         * java/rmi/server/Skeleton.java:
2201         No need to import java.lang.Exception explicitly.
2202         (dispatch): Deprecated.
2203         (getOperations): Deprecated.
2204
2205 2003-03-31  Michael Koch  <konqueror@gmx.de>
2206
2207         * java/rmi/dgc/VMID.java,
2208         java/rmi/registry/RegistryHandler.java,
2209         java/rmi/server/LogStream.java,
2210         java/rmi/server/Operation.java,
2211         java/rmi/server/RemoteCall.java,
2212         java/rmi/server/RemoteRef.java,
2213         java/rmi/server/RemoteStub.java:
2214         Reformatted.
2215
2216 2003-03-31  Michael Koch  <konqueror@gmx.de>
2217
2218         * javax/swing/AbstractCellEditor.java,
2219         javax/swing/AbstractListModel.java,
2220         javax/swing/ActionMap.java,
2221         javax/swing/BorderFactory.java,
2222         javax/swing/ButtonGroup.java,
2223         javax/swing/DefaultBoundedRangeModel.java,
2224         javax/swing/DefaultButtonModel.java,
2225         javax/swing/DefaultCellEditor.java,
2226         javax/swing/DefaultComboBoxModel.java,
2227         javax/swing/DefaultDesktopManager.java,
2228         javax/swing/DefaultListCellRenderer.java,
2229         javax/swing/DefaultSingleSelectionModel.java,
2230         javax/swing/InputMap.java,
2231         javax/swing/JComponent.java,
2232         javax/swing/JMenu.java,
2233         javax/swing/JSlider.java,
2234         javax/swing/KeyStroke.java,
2235         javax/swing/OverlayLayout.java,
2236         javax/swing/ScrollPaneLayout.java,
2237         javax/swing/SizeRequirements.java,
2238         javax/swing/UIManager.java,
2239         javax/swing/ViewportLayout.java,
2240         javax/swing/border/AbstractBorder.java,
2241         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2242         javax/swing/event/EventListenerList.java,
2243         javax/swing/table/AbstractTableModel.java,
2244         javax/swing/table/DefaultTableCellRenderer.java,
2245         javax/swing/table/DefaultTableColumnModel.java,
2246         javax/swing/table/DefaultTableModel.java,
2247         javax/swing/table/TableColumn.java,
2248         javax/swing/text/StyledEditorKit.java,
2249         javax/swing/tree/DefaultMutableTreeNode.java,
2250         javax/swing/tree/DefaultTreeModel.java,
2251         javax/swing/tree/DefaultTreeSelectionModel.java,
2252         javax/swing/tree/TreePath.java,
2253         javax/swing/undo/AbstractUndoableEdit.java,
2254         javax/swing/undo/StateEdit.java,
2255         javax/swing/undo/StateEditable.java,
2256         javax/swing/undo/UndoableEditSupport.java:
2257         Merges from classpath.
2258
2259 2003-03-30  Tom Tromey  <tromey@redhat.com>
2260
2261         * java/lang/String.java (data, boffset, count): Documented.
2262         (String(byte[],String)): Reformatted.
2263         (String(byte[])): Likewise.
2264         (lastIndexOf(int)): Likewise.
2265         (lastIndexOf(String)): Likewise.
2266         (substring(int)): Renamed argument to match Classpath.
2267         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2268
2269         * java/lang/String.java: Miscellaneous minor formatting changes
2270         to match Classpath more closely.
2271
2272 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2273             Tom Tromey  <tromey@redhat.com>
2274
2275         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2276         (init()): Removed.
2277         (charAt): Put index in exception.
2278         (contentEquals): New method.
2279         Include StringBuffer.h.
2280         * java/lang/String.java (cachedHashCode): New field.
2281         (String()): Follow classpath implementation.
2282         (init()): Removed.
2283         (contentEquals): Declare.
2284         (subSequence): Don't declare IndexOutIfBoundsException in throws
2285         clause.
2286         (matches, replaceFirst, replaceAll, split): New methods from
2287         Classpath.
2288
2289 2003-03-29  Tom Tromey  <tromey@redhat.com>
2290
2291         * java/lang/String.java: Reordered to follow Classpath; merged in
2292         javadoc.
2293
2294         * java/text/MessageFormat.java: Removed some whitespace.
2295
2296         * Makefile.in: Rebuilt.
2297         * Makefile.am (awt_java_source_files): Added new files.
2298         * gnu/javax/rmi/PortableServer.java,
2299         gnu/javax/rmi/CORBA/DelegateFactory.java,
2300         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2301         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2302         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2303         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2304         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2305         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2306         javax/rmi/PortableRemoteObject.java,
2307         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2308         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2309         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2310         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2311         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2312         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2313
2314         * java/lang/natClass.cc (newInstance): Put method name in
2315         exception.
2316         (getConstructor): Likewise.
2317         (getDeclaredConstructor): Likewise.
2318         (getPrivateMethod): Likewise.
2319
2320 2003-03-28  Tom Tromey  <tromey@redhat.com>
2321
2322         * java/lang/reflect/Proxy.java: New version from Classpath.
2323         * java/lang/Package.java: New version from Classpath.
2324
2325 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2326
2327         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2328         * configure: Regenerate.
2329
2330 2003-03-28  Michael Koch  <konqueror@gmx.de>
2331
2332         * java/io/File.java:
2333         Import needed classes instead of whole packages, merged class
2334         documentation with classpath, moved constants and variables to top of
2335         class.
2336         * java/io/PrintStream.java:
2337         Merged class documentation with classpath, moved constants and
2338         variables to top of class.
2339         * java/io/RandomAccessFile.java
2340         (RandomAccessFile): Merged with classpath.
2341         (read): Merged with classpath).
2342         (read*): Reformatted.
2343
2344 2003-03-28  Michael Koch  <konqueror@gmx.de>
2345
2346         * java/io/FileDescriptor.java
2347         (finalize): Throws Throwable, not IOException.
2348         * java/io/ObjectOutputStream.java
2349         (PutField.put): Doesnt throws anything.
2350
2351 2003­03-28  Michael Koch  <konqueror@gmx.de>
2352
2353         * java/io/FileOutputStream.java:
2354         Merged class documentation and authors with classpath.
2355         (FileOutputStream): Partly merged with classpath.
2356         (write): Merged with classpath.
2357         (getChannel): Make it synchronized instead of explicit block in this
2358         method.
2359         * java/io/RandomAccessFile.java:
2360         Merged class documentation and authors with classpath.
2361
2362 2003-03-26  Tom Tromey  <tromey@redhat.com>
2363
2364         * java/lang/natRuntime.cc (insertSystemProperties): Set
2365         gnu.classpath.home.url.
2366         * Makefile.in: Rebuilt.
2367         * Makefile.am: Define LIBDIR.
2368
2369 2003-03-25  Michael Koch  <konqueror@gmx.de>
2370
2371         * java/io/FileInputStream.java
2372         (read): Renamed b to buf and off to offset.
2373         * java/io/FileOutputStream.java
2374         (ch): Documentation added.
2375         (FileOutputStream): Documentation added.
2376         (getFD): Documentation added.
2377         (write): Documentation added.
2378         (close): Documentation added.
2379         (getChannel): Documentation added.
2380
2381 2003-03-24  Michael Koch  <konqueror@gmx.de>
2382
2383         * java/io/DataOutputStream.java
2384         (write): Merged from classpath.
2385         * java/io/File.java:
2386         Merged copyrigth with classpath.
2387         * java/io/FileInputStream.java
2388         (getChannel): Made it synchronized instead of using a synchronized
2389         block.
2390         * java/io/FileOutputStream.java: Reformatted.
2391         * java/io/InputStreamReader.java
2392         (InputStreamReader): Renamed enc to encoding_name.
2393         (close): Merged documentation from classpath.
2394         (getEncoding): Merged documentation from classpath.
2395         (ready): Merged documentation from classpath.
2396         (read): Merged documentation from classpath.
2397         * java/io/LineNumberReader.java
2398         (lineNumber): Made it private.
2399         (LineNumberReader): Use Constant instead of a direct value.
2400         * java/io/OutputStreamWriter.java
2401         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2402         documentation from classpath.
2403         (close): Merged documentation from classpath.
2404         (flush): Merged documentation from classpath.
2405         (write): Merged documentation from classpath.
2406         * java/io/PrintStream.java: Reformatted.
2407
2408 2003-03-24  Michael Koch  <konqueror@gmx.de>
2409
2410         * javax/swing/text/ComponentView.java
2411         (getComponent): Must be final.
2412         * javax/swing/tree/DefaultTreeCellRenderer.java:
2413         Reformatted.
2414         * javax/swing/undo/StateEditable.java:
2415         Reformatted.
2416
2417 2003-03-24  Michael Koch  <konqueror@gmx.de>
2418
2419         * java/rmi/activation/ActivationInstantiator.java:
2420         Reformatted.
2421         * java/rmi/activation/Activator.java:
2422         Reformatted.
2423         * java/rmi/registry/RegistryHandler.java:
2424         Remerged from classpath.
2425
2426 2003-03-24  Michael Koch  <konqueror@gmx.de>
2427
2428         * java/util/Date.java:
2429         Fixed documentation starting tag to make javadoc happy.
2430         * java/util/regex/Pattern.java
2431         (Pattern): Implements Serializable.
2432         * java/util/PatternSyntaxException.java
2433         (serialVersionUID): New member variable.
2434
2435 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2436
2437         * java/awt/ContainerOrderFocusTraversalPolicy.java
2438         (getFirstComponent): Implemented.
2439         (getLastComponent): Implemented.
2440         (getDefaultComponent): Implemented.
2441         (setImplicitDownCycleTraversal): Fixed implementation.
2442         * java/awt/Robot.java
2443         (Robot): Added documentation.
2444         * java/awt/Toolkit.java
2445         (getFontList): Deprecated.
2446         (getFontMetrics): Deprecated.
2447         (getPrintJob): Added documentation.
2448         (getSystemSelection): Added documentation.
2449         (getLockingKeyState): Added documentation.
2450         (setLockingKeyState): Added documentation.
2451         (createCustomCursor): Added documentation.
2452         (getBestCursorSize): Added documentation.
2453         (getMaximumCursorColors): Added documentation.
2454         (isFrameStateSupported): Added documentation.
2455
2456 2003-03-24  Michael Koch  <konqueror@gmx.de>
2457
2458         * java/io/RandomAccessFile.java:
2459         More little merges with classpath. No code changes.
2460
2461 2003-03-24  Michael Koch  <konqueror@gmx.de>
2462
2463         * java/net/natInetAddressNoNet.cc:
2464         Include stddef.h.
2465         * java/net/natPlainDatagramSocketImplNoNet.cc:
2466         Fixed inlcude of java/net/DatagramPacket.h.
2467         * java/net/natPlainSocketImplNoNet.cc:
2468         Include some missing classes.
2469
2470 2003-03-24  Michael Koch  <konqueror@gmx.de>
2471
2472         * java/awt/dnd/DropTarget.java
2473         (DropTargetAutoScroller): According to the online documentation, this
2474         is protected, but in reality it is public.
2475         * java/awt/dnd/DropTargetContext.java
2476         (TransferableProxy): According to the online documentation, this
2477         is protected, but in reality it is public.
2478
2479 2003-03-24  Michael Koch  <konqueror@gmx.de>
2480
2481         * java/io/DataInputStream.java
2482         (): Wrapped documentation line.
2483         (): Fixed @return tag.
2484         * java/io/DataOutputStream.java
2485         (written): Moved to top of class.
2486         (all methods): Merged documentation from classpath.
2487         * java/io/File.java:
2488         Merged copyright year with classpath.
2489         * java/io/FileInputStream.java
2490         (all methods): Merged documentation from classpath.
2491         * java/io/LineNumberReader.java
2492         (getLineNumber): Fixed @return tag.
2493         * java/io/ObjectInputStream.java.
2494         Reformatted.
2495         * java/io/ObjectOutputStream.java:
2496         Reformatted, fixed some @see tags.
2497         * java/io/OutputStreamWriter.java:
2498         Deleted empty line.
2499         * java/io/Writer.java:
2500         Reformatted.
2501
2502 2003-03-24  Michael Koch  <konqueror@gmx.de>
2503
2504         * java/awt/Frame.java
2505         (DEFAULT_CURSOR): Fixed @deprecated tag.
2506         (setCursor): Fixed @deprecated tag.
2507
2508 2003-03-24  Michael Koch  <konqueror@gmx.de>
2509
2510         * java/beans/beancontext/BeanContextEvent.java:
2511         Reformated.
2512
2513 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2514
2515         * java/lang/natStringBuffer.cc (regionMatches): New function.
2516         * java/lang/String.java (count): Now package-private.
2517         * java/lang/StringBuffer.java: Merged with Classpath.
2518
2519 2003-03-23  Michael Koch  <konqueror@gmx.de>
2520
2521         * java/io/BufferedOutputStream.java:
2522         Reformated.
2523         * java/io/BufferedReader.java:
2524         Reformated.
2525         * java/io/ByteArrayOutputStream.java
2526         (size): Fixed @see tag.
2527         * java/io/CharArrayWriter.java
2528         (size): Fixed @see tag.
2529         * java/io/DataInput.java:
2530         Reformated.
2531         * java/io/DataOutput.java:
2532         Reformated.
2533         * java/io/DataOutputStream.java:
2534         Merged copyright years with classpath.
2535         * java/io/Externalizable.java:
2536         Reformated.
2537         * java/io/FileFilter.java:
2538         Reformated.
2539         * java/io/FileInputStream.java:
2540         Merged copyright years with classpath.
2541         * java/io/FileOutputStream.java:
2542         Merged copyright years with classpath.
2543         * java/io/FilePermission.java
2544         (FilePermission): Replaced @XXX with FIXME:.
2545         * java/io/FileWriter.java:
2546         Reformated.
2547         * java/io/FilenameFilter.java:
2548         Reformated.
2549         * java/io/FilterInputStream.java:
2550         Reformated.
2551         * java/io/FilterOutputStream.java:
2552         Reformated.
2553         * java/io/FilterReader.java:
2554         Reformated.
2555         * java/io/FilterWriter.java:
2556         Reformated.
2557         * java/io/LineNumberInputStream.java
2558         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2559         happy.
2560         (getLineNumber): Fixed @return tag.
2561         * java/io/ObjectInput.java:
2562         Reformated.
2563         * java/io/ObjectOutput.java:
2564         Reformated.
2565         * java/io/ObjectStreamClass.java:
2566         Reformated.
2567         * java/io/PrintStream.java:
2568         Merged copyright years with classpath.
2569         * java/io/PushbackReader.java
2570         (PushbackReader): Replaced @code with @param.
2571         * java/io/SerializablePermission.java:
2572         Reformated.
2573         * java/io/StreamTokenizer.java
2574         (resetSyntax): Fixed @see tag.
2575
2576 2003-03-22  Richard Henderson  <rth@redhat.com>
2577
2578         * sysdep/ia64/locks.h: Include ia64intrin.h.
2579         (compare_and_swap): Use __sync_bool_compare_and_swap.
2580         (compare_and_swap_release): Expose ar.ccv assignment.
2581
2582 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2583
2584         * include/posix.h: Add suffix for darwin dynamic libraries.
2585
2586 2003-03-21  Michael Koch  <konqueror@gmx.de>
2587
2588         * javax/swing/Action.java
2589         (ACCELERATOR_KEY): New constant.
2590         (ACTION_COMMAND_KEY): Likewise.
2591         (MNEMONIC_KEY): Likewise.
2592         * javax/swing/UnsupportedLookAndFeelException.java
2593         (UnsupportedLookAndFeelException): Must be public.
2594         * javax/swing/WindowConstants.java
2595         (EXIT_ON_CLOSE): New constant.
2596         * javax/swing/text/BadLocationException.java
2597         (offset): New member variable.
2598         (BadLocationException): New implementation, documentation added.
2599         (offsetRequested): New method.
2600         * javax/swing/text/Caret.java:
2601         Reformated.
2602         * javax/swing/text/Document.java:
2603         Reformated.
2604
2605 2003-03-21  Michael Koch  <konqueror@gmx.de>
2606
2607         * java/rmi/activation/Activatable.java
2608         (serialVersionUID): New member variable.
2609         * java/rmi/activation/ActivationGroup.java
2610         (serialVersionUID): New member variable.
2611         * java/rmi/activation/ActivationGroupDesc.java
2612         (serialVersionUID): New member variable.
2613         * java/rmi/registry/Registry.java:
2614         Reformated.
2615         (Registry): Deprecated.
2616         * java/rmi/server/LoaderHandler.java
2617         Reformated.
2618         (LoaderHandler): Deprecated.
2619         * java/rmi/server/LogStream.java
2620         Reformated.
2621         (LogStream): Deprecated.
2622         * java/rmi/server/Operation.java
2623         (Operation): Deprecated.
2624         * java/rmi/server/RMIFailureHandler.java:
2625         Reformated.
2626         * java/rmi/server/RMISocketFactory.java:
2627         Reformated.
2628         * java/rmi/server/RemoteCall.java
2629         (RemoteCall): Deprecated.
2630         * java/rmi/server/RemoteStub.java:
2631         Reformated.
2632         * java/rmi/server/Skeleton.java
2633         Reformated.
2634         (Skeleton): Deprecated.
2635
2636 2003-03-21  Michael Koch  <konqueror@gmx.de>
2637
2638         * java/io/LineNumberReader.java
2639         (LineNumberReader): Merged documentation with classpath.
2640         (getLineNumber): Likewise.
2641         (setLineNumber): Likewise.
2642         (mark): Likewise.
2643         (reset): Likewise.
2644         (read): Likewise.
2645         (readLine): Likewise.
2646         (skip): Likewise.
2647
2648 2003-03-21  Michael Koch  <konqueror@gmx.de>
2649
2650         * java/rmi/RMISecurityManager.java
2651         (checkAccept): Removed.
2652         (checkAccess): Likewise.
2653         (checkAccess): Likewise.
2654         (checkAwtEventQueueAccess): Likewise.
2655         (checkConnect): Likewise.
2656         (checkCreateClassLoader): Likewise.
2657         (checkDelete): Likewise.
2658         (checkExec): Likewise.
2659         (checkExit): Likewise.
2660         (checkLink): Likewise.
2661         (checkListen): Likewise.
2662         (checkMemberAccess): Likewise.
2663         (checkMulticast): Likewise.
2664         (checkPackageAccess): Likewise.
2665         (checkPackageDefinition): Likewise.
2666         (checkPermission): Likewise.
2667         (checkPrintJobAccess): Likewise.
2668         (checkPropertiesAccess): Likewise.
2669         (checkPropertyAccess): Likewise.
2670         (checkRead): Likewise.
2671         (checkSecurityAccess): Likewise.
2672         (checkSetFactory): Likewise.
2673         (checkSystemClipboardAccess): Likewise.
2674         (checkTopLevelWindow): Likewise.
2675         (checkWrite): Likewise.
2676
2677 2003-03-20  Michael Koch  <konqueror@gmx.de>
2678
2679         * gnu/java/nio/FileChannelImpl.java
2680         (address): Removed.
2681         (map_address): New member variable.
2682         (length): Make it package private.
2683         (fd): Make it package private.
2684         (buf): Make it package private.
2685         (file_obj): Make it package private.
2686         (FileChannelImpl): New constructor.
2687         (nio_mmap_file): Use RawData instead of long.
2688         (nio_munmap_file): Use RawData instead of long.
2689         (nio_msync): Use RawData instead of long.
2690         (implCloseChannel): New implementation using map_address.
2691         (read): Reformated.
2692         (map): Implemented.
2693         (create_direct_mapped_buffer): Implemented, use RawData, throws
2694         IOException.
2695         (force): Use map_address instead of address.
2696         * gnu/java/nio/MappedByteFileBuffer.java
2697         (address): Removed.
2698         (map_address): New member variable.
2699         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2700         (several methods): Use map_address instead of address, replaced long
2701         with RawData where appropriate.
2702         * gnu/java/nio/natFileChannelImpl.cc
2703         (nio_mmap_file): Replaced long with RawData.
2704         (nio_munmap_file): Replaced long with RawData.
2705         (nio_msync): Replaced long with RawData.
2706         * gnu/java/nio/natMappedByteFileBuffer.cc
2707         (several methods): Replaced long with RawData where appropriate.
2708
2709 2003-03-20  Michael Koch  <konqueror@gmx.de>
2710
2711         * java/net/InetAddress.java,
2712         java/net/JarURLConnection.java,
2713         java/net/PlainDatagramSocketImpl.java,
2714         java/net/PlainSocketImpl.java,
2715         java/net/URLConnection.java:
2716         Merged copyright statements with classpath for easier merging.
2717
2718 2003-03-20  Michael Koch  <konqueror@gmx.de>
2719
2720         * java/io/FileInputStream.java
2721         (getChannel): New implementation.
2722         * java/io/FileOutputStream.java
2723         (ch): New member variable.
2724         (getChannel): Implemented.
2725         * java/io/RandomAccessFile.java
2726         (RandomAccessFile): Throws FileNotFoundException instead of
2727         IOException.
2728         (getChannel): New method.
2729         (ch): New member variable.
2730
2731 2003-03-20  Michael Koch  <konqueror@gmx.de>
2732
2733         * java/io/DataOutputStream.java,
2734         java/io/File.java,
2735         java/io/FileInputStream.java,
2736         java/io/FileOutputStream.java,
2737         java/io/InputStreamReader.java,
2738         java/io/LineNumberReader.java,
2739         java/io/OutputStreamWriter.java,
2740         java/io/PrintStream.java,
2741         java/io/RandomAccessFile.java:
2742         Merged copyright statements with classpath for easier merging.
2743
2744 2003-03-19  Michael Koch  <konqueror@gmx.de>
2745
2746         * java/lang/Process.java:
2747         Merged from classpath.
2748
2749 2003-03-19  Michael Koch  <konqueror@gmx.de>
2750
2751         * java/io/FileOutputStream.java
2752         (FileOutputStream): New constructor, merged from classpath.
2753         * java/io/FileWriter.java
2754         (FileWriter): New constructor, merged from classpath.
2755
2756 2003-03-18  Michael Koch  <konqueror@gmx.de>
2757
2758         * java/awt/ScrollPane.java
2759         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2760         (getViewportSize): Likewise.
2761         (addNotify): Likewise.
2762         (removeNotify): Likewise.
2763         * java/awt/ScrollPaneAdjustable.java
2764         (ScrollPaneAdjustable): No longer extends Scrollbar.
2765         * java/beans/beancontext/BeanContextServices.java:
2766         Reformated.
2767         (getService): Added throws TooManyListenersException;
2768         * java/beans/beancontext/BeanContextServicesSupport.java:
2769         Reformated.
2770
2771 2003-03-18  Michael Koch  <konqueror@gmx.de>
2772
2773         * java/io/BufferedOutputStream.java,
2774         java/io/DataInput.java,
2775         java/io/DataInputStream.java,
2776         java/io/DataOutput.java,
2777         java/io/Externalizable.java:
2778         More merges from classpath.
2779
2780 2003-03-18  Michael Koch  <konqueror@gmx.de>
2781
2782         * configure.in: Fixed links to platform dependant java.net files.
2783         * configure: Regenerated.
2784         * java/net/natInetAddress.cc,
2785         java/net/natNetworkInterface.cc,
2786         java/net/natPlainDatagramSocketImpl.cc,
2787         java/net/natPlainSocketImpl.cc:
2788         Removed.
2789
2790 2003-03-18  Michael Koch  <konqueror@gmx.de>
2791
2792         * configure.in: Create links to architecture dependent files,
2793         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2794         * configure: Regenerated.
2795         * java/net/natInetAddressNoNet.cc,
2796         java/net/natInetAddressPosix.cc,
2797         java/net/natInetAddressWin32.cc,
2798         java/net/natNetworkInterfaceNoNet.cc,
2799         java/net/natNetworkInterfacePosix.cc,
2800         java/net/natNetworkInterfaceWin32.cc,
2801         java/net/natPlainDatagramSocketImplNoNet.cc,
2802         java/net/natPlainDatagramSocketImplPosix.cc,
2803         java/net/natPlainDatagramSocketImplWin32.cc,
2804         java/net/natPlainSocketImplNoNet.cc,
2805         java/net/natPlainSocketImplPosix.cc,
2806         java/net/natPlainSocketImplWin32.cc: New files.
2807
2808 2003-03-18  Michael Koch  <konqueror@gmx.de>
2809
2810         * java/io/BufferedReader.java,
2811         java/io/BufferedWriter.java,
2812         java/io/ByteArrayOutputStream.java,
2813         java/io/FileFilter.java,
2814         java/io/FilePermission.java,
2815         java/io/FileReader.java,
2816         java/io/FileWriter.java,
2817         java/io/FilenameFilter.java,
2818         java/io/FilterInputStream.java,
2819         java/io/FilterOutputStream.java,
2820         java/io/FilterReader.java,
2821         java/io/FilterWriter.java,
2822         java/io/ObjectInput.java,
2823         java/io/ObjectInputValidation.java,
2824         java/io/ObjectOutput.java,
2825         java/io/ObjectStreamField.java,
2826         java/io/PipedInputStream.java,
2827         java/io/PipedReader.java,
2828         java/io/PrintWriter.java,
2829         java/io/PushbackReader.java,
2830         java/io/Reader.java,
2831         java/io/SerializablePermission.java,
2832         java/io/StringReader.java,
2833         java/io/Writer.java:
2834         Merged from classpath.
2835
2836 2003-03-17  Michael Koch  <konqueror@gmx.de>
2837
2838         * java/awt/ScrollPaneAdjustable.java:
2839         Compile fixes.
2840         
2841 2003-03-17  Michael Koch  <konqueror@gmx.de>
2842
2843         * java/net/DatagramSocket.java
2844         (connect): Fixed comment.
2845         * java/nio/ByteBuffer.java
2846         (hasArray): Fixed comment.
2847
2848 2003-03-17  Michael Koch  <konqueror@gmx.de>
2849
2850         * java/beans/Beans.java:
2851         Explicitely import classes not packages.
2852         * java/beans/FeatureDescriptor.java
2853         (preferred): New member variable.
2854         (isPreferred): New method.
2855         (setPreferred): New method.
2856         * java/beans/PropertyEditorManager.java:
2857         Explicitely import used classes.
2858         * java/beans/beancontext/BeanContextChild.java:
2859         Added line wrapping.
2860         * java/beans/beancontext/BeanContextChildSupport.java:
2861         Reindented.
2862         * java/beans/beancontext/BeanContextEvent.java:
2863         Reindented.
2864
2865 2003-03-17  Michael Koch  <konqueror@gmx.de>
2866
2867         * java/awt/Dialog.java
2868         (Dialog): New constructor, changed implementations, added
2869         documentation.
2870         * java/awt/ScrollPaneAdjustable.java
2871         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2872         Serializable.
2873         (serialVersionUID): New member variable.
2874         (sp): New member variable.
2875         (orientation): New member variable.
2876         (value): New member variable.
2877         (minimum): New member variable.
2878         (maximum): New member variable.
2879         (visibleAmount): New member variable.
2880         (unitIncrement): New member variable.
2881         (blockIncrement): New member variable.
2882         (AdjustmentListener): New member variable.
2883         (ScrollPaneAdjustable): New implementation.
2884         (addAdjustmentListener): New method.
2885         (removeAdjustmentListener): New method.
2886         (getAdjustmentListeners): New method.
2887         (getBlockIncrement): New method.
2888         (getMaximum): New method.
2889         (getMinimum): New method.
2890         (getOrientation): New method.
2891         (getUnitIncrement): New method.
2892         (getValue): New method.
2893         (getVisibleAmount): New method.
2894         (setBlockIncrement): New method.
2895         (setMaximum): Implemented.
2896         (setMinimum): Implemented.
2897         (setUnitIncrement): New method.
2898         (setValue): New method.
2899         (setVisibleAmount): Implemented. 
2900         (paramString): New stubbed method.
2901         * java/awt/Window.java
2902         (show): Call setVisible().
2903         (hide): Call setVisible().
2904         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2905         and WINDOW_STATE_CHANGED.
2906         (processWindowFocusEvent): New method.
2907         (processWindowStateEvent): New method.
2908         (postEvent): Deprecated.
2909         (applyResourceBundle): Deprecated.
2910         * java/awt/datatransfer/DataFlavor.java
2911         (DataFlavor): Doesn't thow ClassNotFoundException.
2912
2913 2003-03-17  Michael Koch
2914
2915         * javax/print/attribute/Attribute.java,
2916         javax/print/attribute/AttributeSet.java,
2917         javax/print/attribute/PrintRequestAttributeSet.java:
2918         New files.
2919         * Makefile.am
2920         (javax_source_files): Added new files:
2921         javax/print/attribute/Attribute.java
2922         javax/print/attribute/AttributeSet.java
2923         javax/print/attribute/PrintRequestAttributeSet.java
2924         * Makefile.in: Regenerated.
2925
2926 2003-03-17  Michael Koch
2927
2928         * javax/print/attribute/Attribute.java,
2929         javax/print/attribute/AttributeSet.java,
2930         javax/print/attribute/PrintRequestAttributeSet.java:
2931         New files.
2932         * Makefile.am
2933         (awt_java_source_files): Added new files:
2934         javax/print/attribute/Attribute.java
2935         javax/print/attribute/AttributeSet.java
2936         javax/print/attribute/PrintRequestAttributeSet.java
2937         * Makefile.in: Regenerated.
2938
2939 2003-03-16  Tom Tromey  <tromey@redhat.com>
2940
2941         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2942         Include platform.h.
2943         * java/lang/natRuntime.cc (insertSystemProperties): Use
2944         _Jv_platform_path_separator.
2945         (nativeGetLibname): Use _Jv_platform_file_separator.
2946         (_load): Use _Jv_platform_onload_names.
2947         (onload_names): New global.
2948         * include/win32.h (_Jv_platform_file_separator): New define.
2949         (_Jv_platform_path_separator): Likewise.
2950         (_Jv_platform_onload_names): Likewise.
2951         (_Jv_platform_ffi_abi): Likewise.
2952         * include/posix.h (_Jv_platform_file_separator): New define.
2953         (_Jv_platform_path_separator): Likewise.
2954         (_Jv_platform_onload_names): Likewise.
2955         (_Jv_platform_ffi_abi): Likewise.
2956
2957 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2958
2959         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2960
2961 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2962
2963         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2964         hierarchy loop.
2965         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2966         list to Object,ObjectStreamClass, moved callReadMethod code up into
2967         readObject and added Class argument to all setXxxField calls.
2968         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2969         consistent with ObjectOutputStream and to facilitate caching the
2970         Method in the future.
2971         (setBooleanField): Added Class argument.
2972         (setByteField): Likewise.
2973         (setCharField): Likewise.
2974         (setDoubleField): Likewise.
2975         (setFloatField): Likewise.
2976         (setIntField): Likewise.
2977         (setLongField): Likewise.
2978         (setShortField): Likewise.
2979         (setObjectField): Likewise.
2980         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2981         class hierarchy loop.
2982         (defaultWriteObject): Call writeFields with new argument list.
2983         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2984         list to Object,ObjectStreamClass, moved callWriteMethod up into
2985         writeObject and added Class argument to all getXxxField calls.
2986         (callWriteMethod): Added ObjectStreamClass argument to be able to
2987         get the proper class to call getMethod on (each class can have (or
2988         not have) its own writeObject method).
2989         (getBooleanField): Added Class argument.
2990         (getByteField): Likewise.
2991         (getCharField): Likewise.
2992         (getDoubleField): Likewise.
2993         (getFloatField): Likewise.
2994         (getIntField): Likewise.
2995         (getLongField): Likewise.
2996         (getShortField): Likewise.
2997         (getObjectField): Likewise.
2998         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2999         facilitate caching the Method object in the future.
3000
3001 2003-03-12  Andreas Schwab  <schwab@suse.de>
3002
3003         * configure.in: Avoid trailing /. in toolexeclibdir.
3004         * configure: Rebuilt.
3005
3006 2003-03-11  Michael Koch  <konqueror@gmx.de>
3007
3008         * gnu/java/nio/ByteBufferImpl.java
3009         (putInt): Use limit() instead of limit.
3010         * gnu/java/nio/CharBufferImpl.java
3011         (slice): Fixed implementation.
3012         (subSequence): Better bounds checking.
3013         * gnu/java/nio/MappedByteFileBuffer.java:
3014         Import all needed classes directly.
3015         * java/nio/ByteBuffer.java
3016         (hashCode): New dummy method.
3017         * java/nio/CharBuffer.java
3018         (array_offset): New member variable.
3019         (hasArray): Fixed documentation.
3020         (arrayOffset): Return array_offset.
3021
3022 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3023
3024         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3025         setter; made return value of getter const char* instead of char*
3026         * prims.cc: removed all references to _Jv_ThisExecutable().
3027         These are in the platform-specific sections now.
3028         * posix.cc: define platform-specific _Jv_ThisExecutable().
3029         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3030         * win32.cc: define platform-specific _Jv_ThisExecutable()
3031         using GetModuleFilename()
3032         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3033         to argv[0] instead of _Jv_ThisExecutable()
3034
3035 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3036
3037         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3038         that is set if we are using addr2name.awk instead of addr2line.
3039         (NameFinder): Set usingAddr2name if using addr2name.awk.
3040         (getExternalLabel): New native method to convert a method 
3041         name to an external label.
3042         (lookup): Convert name given by addr2line to an external label
3043         before demangling.
3044
3045         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3046         constant representing the prefix attached to method names to
3047         convert them to an external label.
3048         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3049         using LABEL_PREFIX.
3050
3051 2003-03-10  Tom Tromey  <tromey@redhat.com>
3052
3053         * Makefile.in: Rebuilt.
3054         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3055         (JC1FLAGS): Removed -Wno-deprecated.
3056
3057 2003-03-10  Michael Koch  <konqueror@gmx.de>
3058
3059         * java/nio/ByteOrder.java
3060         (nativeOrder): Working implementation, added documentation.
3061         (toString): Added documentation.
3062
3063 2003-03-10  Michael Koch  <konqueror@gmx.de>
3064
3065         * java/net/DatagramSocket.java,
3066         java/net/MulticastSocket.java,
3067         java/net/Socket.java,
3068         java/net/URL.java,
3069         java/net/URLConnection.java:
3070         Fixed some documentation tags to make javadoc and friends happy.
3071
3072 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3073
3074         * java/beans/beancontext/BeanContextServicesSupport.java,
3075         java/beans/beancontext/BeanContextSupport.java: New files.
3076         * Makefile.am
3077         (awt_source_files): Added new files.
3078         * Makefile.in: Regenerated.
3079
3080 2003-03-10  Michael Koch  <konqueror@gmx.de>
3081
3082         * java/awt/FocusTraversalPolicy.java
3083         (FocusTraversalPolicy): Documentation added.
3084         (getComponentAfter): Documentation added.
3085         (getComponentBefore): Documentation added.
3086         (getFirstComponent): Documentation added.
3087         (getLastComponent): Documentation added.
3088         (getDefaultComponent): Documentation added.
3089         (getInitialComponent): Documentation added.
3090         * java/awt/ScrollPaneAdjustable.java
3091         (sp): New member variable.
3092         (orientation): New member variable.
3093         (value): New member variable.
3094         (minimum): New member variable.
3095         (maximum): New member variable.
3096         (visibleAmount): New member variable.
3097         (unitIncrement): New member variable.
3098         (blockIncrement): New member variable.
3099         (adjustmentListener): New member variable.
3100         (ScrollPaneAdjustable): Rewrote.
3101         (addAdjustmentListener): New method.
3102         (removeAdjustmentListener): New method.
3103         (getAdjustmentListeners): New method.
3104         (getBlockIncrement): New method.
3105         (getMaximum): New method.
3106         (getMinimum): New method.
3107         (getOrientation): New method.
3108         (getUnitIncrement): New method.
3109         (getValue): New method.
3110         (getVisibleAmount): New method.
3111         (setBlockIncrement): New method.
3112         (setUnitIncrement): New method.
3113         (setMaximum): Implemented.
3114         (setMinimum): Implemented.
3115         (setValue): New method.
3116         (setVisibleAmount): Implemented.
3117         (paramString): New method.
3118         * java/awt/Window.java
3119         (show): Use setVisible(true) instead of super.show().
3120         (hide): Use sevVisible(false) instead of super.hide().
3121         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3122         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3123         (postEvent): Deprecated.
3124         (applyResourceBundle): Deprecated.
3125         (processWindowFocusEvent): New method.
3126         (processWindowStateEvent): New method.
3127         * java/awt/datatransfer/DataFlavor.java: Reindented.
3128         * java/awt/font/TextHitInfo.java
3129         (charIndex): New member variable.
3130         (leadingEdge): New member variable.
3131         (TextHitInfo): New constructor.
3132         (getCharIndex): Implemented.
3133         (isLeadingEdge): Implemented.
3134         (getInsertionIndex): Implemented.
3135         (hashCode): Access charIndex directly.
3136         (equals): Reformated.
3137         (leading): Implemented.
3138         (trailing): Implemented.
3139         (beforeOffset): Implemented.
3140         (afterOffset): Implemented.
3141         (getOtherHit): Implemented.
3142         (getOffsetHit): Implemented.
3143         (toString): Implemented.
3144         * java/awt/image/BufferedImage.java
3145         (BufferedImage): Implements WritableRenderedImage.
3146         (observers): New member variable.
3147         (addTileObserver): New method.
3148         (removeTileObserver): New method.
3149
3150 2003-03-09  Tom Tromey  <tromey@redhat.com>
3151
3152         PR libgcj/9934:
3153         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3154         to lseek.  Return 0 if we can't compute the value.
3155
3156 2003-03-03  Michael Koch  <konqueror@gmx.de>
3157
3158         * java/net/NetworkInterface.java: Merged with classpath.
3159
3160 2003-03-03  Tom Tromey  <tromey@redhat.com>
3161
3162         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3163         of bytecode.
3164         (handle_ret_insn): Fail if returning to jsr that appears at end of
3165         bytecode.
3166
3167 2003-03-03  Michael Koch  <konqueror@gmx.de>
3168
3169         * Makefile.am
3170         (ordinary_java_source_files):
3171         Added gnu/java/nio/MappedByteFileBuffer.java.
3172         (nat_source_files):
3173         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3174         * Makefile.in: Regenerated.
3175
3176 2003-03-03  Michael Koch  <konqueror@gmx.de>
3177
3178         * java/net/DatagramSocket.java
3179         (connect): Merged comment from classpath.
3180         (receive): Merged documentation from classpath.
3181         * java/net/Socket.java
3182         (setSoTimeout): Clarified documentation.
3183         * java/net/URL.java
3184         (getPath): Merged from classpath.
3185         (getUserInfo): Merged from classpath.
3186         (getQuery): Merged from classpath.
3187         * java/net/URLStreamHandler.java
3188         (toExternalForm): Merged from classpath.
3189
3190 2003-03-02  Mark Wielaard  <mark@klomp.org>
3191
3192         * java/util/Properties.java (load): Only skip line if the first
3193         character is a comment, whitespaces don't count.
3194
3195 2003-03-02  Michael Koch  <konqueror@gmx.de>
3196
3197         * java/net/NetPermission.java:
3198         Merged copyright with classpath.
3199
3200 2003-03-02  Michael Koch  <konqueror@gmx.de>
3201
3202         * java/lang/Package.java:
3203         Remerged from classpath.
3204
3205 2003-03-02  Michael Koch  <konqueror@gmx.de>
3206
3207         * java/net/HttpURLConnection.java
3208         (HTTP_SERVER_ERROR): Deprecated.
3209         * java/net/MulticastSocket.java
3210         (send): Replaced checkMulticast with appropriate checkPermission call,
3211         deprecated.
3212         * java/net/URLDecoder.java
3213         (decode): Deprecated.
3214         * java/net/URLEncoder.java
3215         (encode): Deprecated.
3216
3217 2003-03-02  Michael Koch  <konqueror@gmx.de>
3218
3219         * javax/swing/text/Caret.java
3220         (getMagicCaretPosition): Fixed typo in method name.
3221         * javax/swing/text/DefaultCaret.java
3222         (getMagicCaretPosition): Fixed typo in method name.
3223
3224 2003-03-02  Michael Koch  <konqueror@gmx.de>
3225
3226         * java/awt/List.java
3227         (setMultipleSelections): Deprecated.
3228         (delItem): Deprecated.
3229         * java/awt/MenuComponent.java
3230         (getPeer): Deprecated.
3231         * java/awt/ScrollPane.java
3232         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3233         * java/awt/dnd/MouseDragGestureRecognizer.java
3234         (mouseClicked): Added comment.
3235         (mousePressed): Added comment.
3236         (mouseReleased): Added comment.
3237         (mouseEntered): Added comment.
3238         (mouseExited): Added comment.
3239         (mouseDragged): Added comment.
3240         (mouseMoved): Added comment.
3241         * java/awt/event/KeyEvent.java
3242         (KeyEvent): Deprecated.
3243         (setModifiers): Deprecated.
3244         
3245 2003-03-02  Michael Koch  <konqueror@gmx.de>
3246
3247         * gnu/java/nio/FileChannelImpl.java
3248         (fd): Type FileDescriptor instead of int.
3249         (lengthInternal): Removed.
3250         (FileChannelImpl): Fixed arguments, check type of file object.
3251         (size): Made it native.
3252         (implPosition): New native method.
3253         (implTruncate): New native method.
3254         (position): Implemented.
3255         (truncate): Implemented.
3256         (nio_mmap_file): Changed arguments.
3257         (nio_munmap_file): Changed arguments.
3258         (nio_msync): Changed arguments.
3259         * gnu/java/nio/natFileChannelImpl.cc
3260         (lengthInternal): Removed.
3261         (size): New method.
3262         (implPosition): New method.
3263         (implTruncate): New method.
3264         (nio_mmap_file): Changed arguments.
3265         (nio_munmap_file): Changed arguments.
3266         (nio_msync): Changed arguments.
3267
3268 2003-03-02  Michael Koch  <konqueror@gmx.de>
3269
3270         * java/awt/dnd/DropTargetContext.java:
3271         Compile fix: Forgot to commit import.
3272         
3273 2003-03-02  Michael Koch  <konqueror@gmx.de>
3274
3275         * java/awt/Component.java,
3276         java/awt/ScrollPane.java:
3277         Fixed typos.
3278
3279 2003-03-02  Michael Koch  <konqueror@gmx.de>
3280
3281         * java/awt/dnd/DnDEventMulticaster.java: New file.
3282         * java/awt/dnd/DragSource.java
3283         (flavorMap): New member variable.
3284         (dragSourceListener): New member variable.
3285         (dragSourceMotionListener): New member variable.
3286         (getFlavorMap): Implemented.
3287         (createDragGestureRecognizer): Implemented.
3288         (addDragSourceListener): Implemented.
3289         (removeDragSourceListener): Implemented.
3290         (getDragSourceListeners): Implemented.
3291         (addDragSourceMotionListener): Implemented.
3292         (removeDragSourceMotionListener): Implemented.
3293         (getDragSourceMotionListeners): Implemented.
3294         (getListeners): Implemented.
3295         * java/awt/dnd/DragSourceContext.java
3296         (peer): New member variable.
3297         (cursor): New member variable.
3298         (transferable): New member variable.
3299         (trigger): New member variable.
3300         (dragSourceListener): New member variable.
3301         (image): New member variable.
3302         (offset): New member variable.
3303         (DragSourceContext): Implemented.
3304         (getDragSource): Implemented.
3305         (getComponent): Implemented.
3306         (getTrigger): Implemented.
3307         (getSourceActions): Implemented.
3308         (setCursor): Implemented.
3309         (getCursor): Implemented.
3310         (addDragSourceListener): Implemented.
3311         (removeDragSourceListener): Implemented.
3312         (getTransferable): Implemented.
3313         * java/awt/dnd/DropTarget.java
3314         (DropTargetAutoScroller.component): New member variable.
3315         (DropTargetAutoScroller.point): New member variable.
3316         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3317         (DropTargetAutoScroller.updateLocation): Implemented.
3318         (active): Renamed from isActive, defaults to true now.
3319         (component): New member variable.
3320         (flavorMap): New member variable.
3321         (actions): New member variable.
3322         (dropTargetContext): New member variable.
3323         (dropTargetListener): New member variable.
3324         (DropTarget): Implemented.
3325         (getComponent): Implemented.
3326         (setComponent): Implemented.
3327         (setDefaultActions): Implemented.
3328         (getDefaultActions): Implemented.
3329         (setActive): Use active instead of isActive.
3330         (isActive): Use active instead of isActive.
3331         (addDropTargetListener): Implemented.
3332         (removeDropTargetListener): Implemented.
3333         (getFlavorMap): Implemented.
3334         (setFlavorMap): Implemented.
3335         (getDropTargetContext): Implemented.
3336         (createDropTargetContext): Implemented.
3337         (createDropTargetAutoScroller): Implemented.
3338         * java/awt/dnd/DropTargetContext.java
3339         (TransferableProxy.getTransferDataFlavors): Implemented.
3340         (TransferableProxy.isDataFlavorSupported): Implemented.
3341         (TransferableProxy.getTransferData): Implemented.
3342         (dropTarget):  New member variable.
3343         (dtcp): New member variable.
3344         (DropTargetContext): New package private constructor.
3345         (getDropTarget): Implemented.
3346         (getComponent): Implemented.
3347         (addNotify): Implemented.
3348         (removeNotify): Implemented.
3349         (getCurrentDataFlavorsAsList): Implemented.
3350         (isDataFlavorSupported): Implemented.
3351         * java/awt/dnd/MouseDragGestureRecognizer.java
3352         (registerListeners): Implemented.
3353         (unregisterListeners): Implemented.
3354         * Makefile.am
3355         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3356         * Makefile.in: Regenerated.
3357
3358 2003-03-02  Michael Koch  <konqueror@gmx.de>
3359
3360         * java/awt/Component.java
3361         (eventTypeEnabled): New method.
3362         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3363         * java/awt/Container.java
3364         (changeSupport): New member variable.
3365         (addPropertyChangeListener): New methods.
3366         * java/awt/ContainerOrderFocusTraversalPolicy.java
3367         (ContainerOrderFocusTraversalPolicy): Added comment.
3368         (getComponentAfter): Throw exception, documentation added.
3369         (getComponentBefore): Throw exception, documentation added.
3370         (getFirstComponent): Throw exception, documentation added.
3371         (getLastComponent): Throw exception, documentation added.
3372         (getDefaultComponent): Throw exception, documentation added.
3373         * java/awt/EventQueue.java: Reindented.
3374         * java/awt/FocusTraversalPolicy.java:
3375         (FocusTraversalPolicy): Added comment.
3376         (getComponentAfter): Documentation added.
3377         (getComponentBefore): Documentation added.
3378         (getFirstComponent): Documentation added.
3379         (getLastComponent): Documentation added.
3380         (getDefaultComponent): Documentation added.
3381         (getInitialComponent): Documentation added.
3382         * java/awt/ScrollPane.java
3383         (wheelScrollingEnabled): New member variable.
3384         (ScrollPane): Initialize wheelScollingEnabled.
3385         (eventTypeEnabled): New method.
3386         (isWheelScrollingEnabled): New method.
3387         (setWheelScrollingEnabled): New method.
3388
3389 2003-03-02  Michael Koch  <konqueror@gmx.de>
3390
3391         * java/net/DatagramSocket.java
3392         (closed): New member variable.
3393         (close): Use closed variable.
3394         (getInetAddress): No need to call isConnected().
3395         (getPort): No need to call isConnected().
3396         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3397         (isClosed): Reimplemented.
3398         
3399 2003-03-02  Michael Koch  <konqueror@gmx.de>
3400
3401         * configure.in: Added check for memory mapping of files.
3402         * configure: Regenerated.
3403         * config.h.in: Regenerated.
3404
3405 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3406
3407         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3408         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3409
3410 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3411
3412         * java/io/File.java (normalizePath): Remove trailing separator
3413         on Windows only if path is not of the form "x:\".
3414
3415         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3416         (java::io::File::attr): Change formatting a bit and use
3417         WIN32_EPOCH_MILLIS instead of magic numbers.
3418         (java::io::File::isAbsolute): Path must have at least 3 
3419         characters for a UNC network path.
3420         (java::io::File::init_native): Define.
3421         (java::io::File::performCreate): Likewise.
3422         (java::io::File::performSetReadOnly): Likewise.
3423         (java::io::File::performSetLastModified): Likewise.
3424         (java::io::File::performListRoots): Likewise.
3425
3426 2003-03-01  Tom Tromey  <tromey@redhat.com>
3427
3428         * java/lang/natObject.cc: Don't include assert.h.
3429         (heavy_lock_obj_finalization_proc): Use JvAssert.
3430         (remove_all_heavy): Likewise.
3431         (_Jv_MonitorEnter): Likewise.
3432         (_Jv_MonitorExit): Likewise.
3433         (wait): Likewise.
3434
3435 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3436
3437         * java/io/File (getAbsolutePath): Prefix drive specifier on
3438         Windows for paths starting with a '\'.
3439         (toURL): Make URL more consistent with what Sun's JDK returns.
3440
3441         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3442         true only if the path is a UNC network path or it starts with a
3443         drive specifier.
3444
3445         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3446         Be prepared to handle either '/' or '\\' in the file path for
3447         Windows if using the "file" protocol.
3448         Canonicalise the file path if using a relative path in the given
3449         context and the "file" protocol.
3450
3451 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3452
3453         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3454         program array element passed to CreateProcess.
3455
3456 2003-03-01  Tom Tromey  <tromey@redhat.com>
3457
3458         * java/rmi/registry/RegistryHandler.java: Deprecate.
3459
3460 2003-03-01  Tom Tromey  <tromey@redhat.com>
3461
3462         * javax/accessibility/AccessibleEditableText.java,
3463         javax/accessibility/AccessibleHyperlink.java: New versions from
3464         Classpath.
3465
3466         * gnu/java/locale/LocaleInformation_af_ZA.java,
3467         gnu/java/locale/LocaleInformation_ar_AE.java,
3468         gnu/java/locale/LocaleInformation_ar_BH.java,
3469         gnu/java/locale/LocaleInformation_ar_DZ.java,
3470         gnu/java/locale/LocaleInformation_ar_EG.java,
3471         gnu/java/locale/LocaleInformation_ar_IN.java,
3472         gnu/java/locale/LocaleInformation_ar_IQ.java,
3473         gnu/java/locale/LocaleInformation_ar_JO.java,
3474         gnu/java/locale/LocaleInformation_ar_KW.java,
3475         gnu/java/locale/LocaleInformation_ar_LB.java,
3476         gnu/java/locale/LocaleInformation_ar_LY.java,
3477         gnu/java/locale/LocaleInformation_ar_MA.java,
3478         gnu/java/locale/LocaleInformation_ar_OM.java,
3479         gnu/java/locale/LocaleInformation_ar_QA.java,
3480         gnu/java/locale/LocaleInformation_ar_SD.java,
3481         gnu/java/locale/LocaleInformation_ar_SY.java,
3482         gnu/java/locale/LocaleInformation_ar_TN.java,
3483         gnu/java/locale/LocaleInformation_ar_YE.java,
3484         gnu/java/locale/LocaleInformation_be_BY.java,
3485         gnu/java/locale/LocaleInformation_bn_IN.java,
3486         gnu/java/locale/LocaleInformation_br_FR.java,
3487         gnu/java/locale/LocaleInformation_bs_BA.java,
3488         gnu/java/locale/LocaleInformation_ca_ES.java,
3489         gnu/java/locale/LocaleInformation_cs_CZ.java,
3490         gnu/java/locale/LocaleInformation_cy_GB.java,
3491         gnu/java/locale/LocaleInformation_da_DK.java,
3492         gnu/java/locale/LocaleInformation_de_AT.java,
3493         gnu/java/locale/LocaleInformation_de_BE.java,
3494         gnu/java/locale/LocaleInformation_de_CH.java,
3495         gnu/java/locale/LocaleInformation_de_DE.java,
3496         gnu/java/locale/LocaleInformation_de_LU.java,
3497         gnu/java/locale/LocaleInformation_el_GR.java,
3498         gnu/java/locale/LocaleInformation_en_AU.java,
3499         gnu/java/locale/LocaleInformation_en_BW.java,
3500         gnu/java/locale/LocaleInformation_en_CA.java,
3501         gnu/java/locale/LocaleInformation_en_DK.java,
3502         gnu/java/locale/LocaleInformation_en_GB.java,
3503         gnu/java/locale/LocaleInformation_en_HK.java,
3504         gnu/java/locale/LocaleInformation_en_IE.java,
3505         gnu/java/locale/LocaleInformation_en_IN.java,
3506         gnu/java/locale/LocaleInformation_en_NZ.java,
3507         gnu/java/locale/LocaleInformation_en_PH.java,
3508         gnu/java/locale/LocaleInformation_en_SG.java,
3509         gnu/java/locale/LocaleInformation_en_US.java,
3510         gnu/java/locale/LocaleInformation_en_ZA.java,
3511         gnu/java/locale/LocaleInformation_en_ZW.java,
3512         gnu/java/locale/LocaleInformation_es_AR.java,
3513         gnu/java/locale/LocaleInformation_es_BO.java,
3514         gnu/java/locale/LocaleInformation_es_CL.java,
3515         gnu/java/locale/LocaleInformation_es_CO.java,
3516         gnu/java/locale/LocaleInformation_es_CR.java,
3517         gnu/java/locale/LocaleInformation_es_DO.java,
3518         gnu/java/locale/LocaleInformation_es_EC.java,
3519         gnu/java/locale/LocaleInformation_es_ES.java,
3520         gnu/java/locale/LocaleInformation_es_GT.java,
3521         gnu/java/locale/LocaleInformation_es_HN.java,
3522         gnu/java/locale/LocaleInformation_es_MX.java,
3523         gnu/java/locale/LocaleInformation_es_NI.java,
3524         gnu/java/locale/LocaleInformation_es_PA.java,
3525         gnu/java/locale/LocaleInformation_es_PE.java,
3526         gnu/java/locale/LocaleInformation_es_PR.java,
3527         gnu/java/locale/LocaleInformation_es_PY.java,
3528         gnu/java/locale/LocaleInformation_es_SV.java,
3529         gnu/java/locale/LocaleInformation_es_US.java,
3530         gnu/java/locale/LocaleInformation_es_UY.java,
3531         gnu/java/locale/LocaleInformation_es_VE.java,
3532         gnu/java/locale/LocaleInformation_et_EE.java,
3533         gnu/java/locale/LocaleInformation_eu_ES.java,
3534         gnu/java/locale/LocaleInformation_fa_IR.java,
3535         gnu/java/locale/LocaleInformation_fi_FI.java,
3536         gnu/java/locale/LocaleInformation_fo_FO.java,
3537         gnu/java/locale/LocaleInformation_fr_BE.java,
3538         gnu/java/locale/LocaleInformation_fr_CA.java,
3539         gnu/java/locale/LocaleInformation_fr_CH.java,
3540         gnu/java/locale/LocaleInformation_fr_FR.java,
3541         gnu/java/locale/LocaleInformation_fr_LU.java,
3542         gnu/java/locale/LocaleInformation_ga_IE.java,
3543         gnu/java/locale/LocaleInformation_gd_GB.java,
3544         gnu/java/locale/LocaleInformation_gl_ES.java,
3545         gnu/java/locale/LocaleInformation_gv_GB.java,
3546         gnu/java/locale/LocaleInformation_he_IL.java,
3547         gnu/java/locale/LocaleInformation_hi_IN.java,
3548         gnu/java/locale/LocaleInformation_hr_HR.java,
3549         gnu/java/locale/LocaleInformation_hu_HU.java,
3550         gnu/java/locale/LocaleInformation_id_ID.java,
3551         gnu/java/locale/LocaleInformation_it_CH.java,
3552         gnu/java/locale/LocaleInformation_it_IT.java,
3553         gnu/java/locale/LocaleInformation_iw_IL.java,
3554         gnu/java/locale/LocaleInformation_ja_JP.java,
3555         gnu/java/locale/LocaleInformation_ka_GE.java,
3556         gnu/java/locale/LocaleInformation_kl_GL.java,
3557         gnu/java/locale/LocaleInformation_ko_KR.java,
3558         gnu/java/locale/LocaleInformation_kw_GB.java,
3559         gnu/java/locale/LocaleInformation_lt_LT.java,
3560         gnu/java/locale/LocaleInformation_lv_LV.java,
3561         gnu/java/locale/LocaleInformation_mi_NZ.java,
3562         gnu/java/locale/LocaleInformation_mk_MK.java,
3563         gnu/java/locale/LocaleInformation_mr_IN.java,
3564         gnu/java/locale/LocaleInformation_mt_MT.java,
3565         gnu/java/locale/LocaleInformation_nl_BE.java,
3566         gnu/java/locale/LocaleInformation_nl_NL.java,
3567         gnu/java/locale/LocaleInformation_nn_NO.java,
3568         gnu/java/locale/LocaleInformation_no_NO.java,
3569         gnu/java/locale/LocaleInformation_oc_FR.java,
3570         gnu/java/locale/LocaleInformation_pl_PL.java,
3571         gnu/java/locale/LocaleInformation_pt_BR.java,
3572         gnu/java/locale/LocaleInformation_pt_PT.java,
3573         gnu/java/locale/LocaleInformation_ro_RO.java,
3574         gnu/java/locale/LocaleInformation_ru_RU.java,
3575         gnu/java/locale/LocaleInformation_ru_UA.java,
3576         gnu/java/locale/LocaleInformation_se_NO.java,
3577         gnu/java/locale/LocaleInformation_sk_SK.java,
3578         gnu/java/locale/LocaleInformation_sl_SI.java,
3579         gnu/java/locale/LocaleInformation_sq_AL.java,
3580         gnu/java/locale/LocaleInformation_sr_YU.java,
3581         gnu/java/locale/LocaleInformation_sv_FI.java,
3582         gnu/java/locale/LocaleInformation_sv_SE.java,
3583         gnu/java/locale/LocaleInformation_ta_IN.java,
3584         gnu/java/locale/LocaleInformation_te_IN.java,
3585         gnu/java/locale/LocaleInformation_tg_TJ.java,
3586         gnu/java/locale/LocaleInformation_tl_PH.java,
3587         gnu/java/locale/LocaleInformation_tr_TR.java,
3588         gnu/java/locale/LocaleInformation_uk_UA.java,
3589         gnu/java/locale/LocaleInformation_ur_PK.java,
3590         gnu/java/locale/LocaleInformation_uz_UZ.java,
3591         gnu/java/locale/LocaleInformation_vi_VN.java,
3592         gnu/java/locale/LocaleInformation_yi_US.java,
3593         gnu/java/locale/LocaleInformation_zh_CN.java,
3594         gnu/java/locale/LocaleInformation_zh_HK.java,
3595         gnu/java/locale/LocaleInformation_zh_SG.java,
3596         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3597         info; from Classpath.
3598
3599         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3600         isPaintPending): New methods.
3601         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3602         setMaximizedBounds): New methods.
3603         (beginLayout, endLayout, isPaintPending): Likewise.
3604         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3605         (requestFocus): Likewise.
3606         (isObscured): Likewise.
3607         (canDetermineObscurity): Likewise.
3608         (coalescePaintEvent): Likewise.
3609         (updateCursorImmediately): Likewise.
3610         (createVolatileImage): Likewise.
3611         (handlesWheelScrolling): Likewise.
3612         (createBuffers): Likewise.
3613         (getBackBuffer): Likewise.
3614         (flip): Likewise.
3615         (destroyBuffers): Likewise.
3616
3617         * Makefile.in: Rebuilt.
3618         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3619         RobotPeer.java.
3620         * gnu/java/awt/GLightweightPeer.java,
3621         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3622         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3623         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3624         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3625         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3626         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3627         java/awt/dnd/peer/DragSourceContextPeer.java,
3628         java/awt/dnd/peer/DropTargetContextPeer.java,
3629         java/awt/peer/ButtonPeer.java,
3630         java/awt/peer/CheckboxMenuItemPeer.java,
3631         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3632         java/awt/peer/ComponentPeer.java,
3633         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3634         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3635         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3636         java/awt/peer/MenuBarPeer.java,
3637         java/awt/peer/MenuComponentPeer.java,
3638         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3639         java/awt/peer/PopupMenuPeer.java,
3640         java/awt/peer/ScrollPanePeer.java,
3641         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3642         java/awt/peer/TextComponentPeer.java,
3643         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3644         New versions from Classpath.
3645         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3646         * java/awt/peer/RobotPeer.java: Likewise.
3647
3648 2003-03-01  Mark Wielaard  <mark@klomp.org>
3649
3650         * java/io/ObjectInputStream.java: Reindent.
3651         * java/io/ObjectOutputStream.java: Likewise.
3652
3653 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3654
3655         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3656         jvalue for each argument. Simplify.
3657         * testsuite/libjava.jni/calls.c (docall),
3658         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3659         misalignment.
3660
3661 2003-02-28  Mark Wielaard  <mark@klomp.org>
3662
3663         * Makefile.am (nat_source_files): Remove
3664         java/io/natObjectOutputStream.cc.
3665         * Makefile.in: Regenerated.
3666         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3667         * java/io/ObjectStreamField.java (typename): New field.
3668         (ObjectStreamField(String, Class)): Initialize new field.
3669         (ObjectStreamField(String, String)): New Constructor.
3670         (getTypeCode): Use new field.
3671         (getTypeString): Use new field.
3672         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3673         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3674         Handle reading of Proxy classes. Never drain(), just write
3675         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3676         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3677         (flush): Call flush(), not just drain().
3678         (writeBoolean): Always use blockDataOutput.
3679         (writeByte): Likewise.
3680         (writeShort): Likewise.
3681         (writeChar): Likewise.
3682         (writeInt): Likewise.
3683         (writeLong): Likewise.
3684         (writeFloat): Likewise.
3685         (writeDouble): Likewise.
3686         (writeBytes): Likewise.
3687         (putfield (put(String,Object))): Throw IllegalArgumentException if
3688         field cannot be found.
3689         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3690         (writeArraySizeAndElements): Write byte[] in one go.
3691         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3692         set BlockDataMode to false.
3693         (annotateProxyClass): New method.
3694         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3695         (getField): No longer native.
3696         (getMethod): Likewise.
3697         (setBlockDataMode): Always drain() on switch, return old mode.
3698         (static): New static code block.
3699         * java/io/natObjectOutputStream.cc: Removed.
3700         * java/io/ObjectInputStream.java (getField): No longer native.
3701         (getMethod): Likewise.
3702         (readObject): Remember and reset old BlockDataMode. Track whether
3703         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3704         TC_LONGSTRING.
3705         (defaultReadObject): Set BlockDataMode to false during readFields.
3706         (resolveClass): Create new SecurityManager if necessary.
3707         Use Class.forName() if null ClassLoader found.
3708         (read(byte[],int,int): Copy remaining bytes to data before calling
3709         readNextBlock().
3710         (readFields): Set and reset BlockDataMode on call_read_method.
3711         Catch NoSuchFieldErrors.
3712         (setBlockDataMode): Return old mode.
3713         (static): New static code block.
3714         * java/io/natObjectInputStream.cc (getField): Removed.
3715         (getMethod): Likewise.
3716
3717 2003-02-27  Michael Koch  <konqueror@gmx.de>
3718
3719         * java/beans/Beans.java,
3720         java/beans/FeatureDescriptor.java
3721         java/beans/PropertyEditorManager.java:
3722         Reformated to GNU style.
3723
3724 2003-02-25  Michael Koch  <konqueror@gmx.de>
3725
3726         * gnu/java/nio/MappedByteFileBuffer.java,
3727         gnu/java/nio/natMappedByteFileBuffer.cc:
3728         New files, both are not compiled yet to get not noncompiling CVS.
3729
3730 2003-02-24  Tom Tromey  <tromey@redhat.com>
3731
3732         * java/util/prefs/AbstractPreferences.java (isUserNode):
3733         Implemented.
3734
3735 2003-02-24  Tom Tromey  <tromey@redhat.com>
3736
3737         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3738         Deprecate.
3739         * java/lang/Thread.java (resume): Deprecate.
3740         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3741         in @deprecated.
3742
3743 2003-02-23  Tom Tromey  <tromey@redhat.com>
3744
3745         * Makefile.in: Rebuilt.
3746         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3747
3748 2003-02-23  Tom Tromey  <tromey@redhat.com>
3749
3750         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3751         libraries): Removed.
3752         (add_library): Removed.
3753         (_load): Don't call add_library.
3754         (loadLibraryInternal): Likewise.
3755         (init): Likewise.
3756         (lookup_data): New struct.
3757         (find_symbol): New function.
3758         (_Jv_FindSymbolInExecutable): Use it.
3759
3760 2002-02-21  Anthony Green  <green@redhat.com>
3761
3762         * java/lang/Thread.java (Thread): New constructor taking stack
3763         size parameter (ignored for now).
3764         * Many methods: Merged GNU Classpath documentation.
3765
3766         * java/lang/Class.java (finalize): throws a Throwable.
3767
3768 2003-02-21  Mark Wielaard  <mark@klomp.org>
3769
3770         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3771         argument is null.
3772
3773 2003-02-21  Mark Wielaard  <mark@klomp.org>
3774
3775         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3776         then 65535 chars throw IllegalArgumentException.
3777
3778 2003-02-21  Mark Wielaard  <mark@klomp.org>
3779
3780         * java/util/zip/ZipFile.java (finalize): New method.
3781
3782 2003-02-21  Michael Koch  <konqueror@gmx.de>
3783
3784         * gnu/java/nio/natSocketChannelImpl.cc:
3785         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3786         <cato@df.lth.se> for pointing to it.
3787
3788 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3789
3790         * java/math/BigInteger.java (euclidInv): Take result array as an
3791         argument.  Updated all callers.
3792         (modInverse): Removed unused variables.
3793
3794 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3795
3796         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3797         config.status.
3798         * configure: Rebuilt.
3799
3800 2003-02-19  Michael Koch  <konqueror@gmx.de>
3801
3802         * gnu/java/nio/natSocketChannelImpl.cc:
3803         Added support for platforms without network support.
3804
3805 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3806
3807         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3808         after config.h.  Use <> for consistency.
3809         * java/lang/natObject.cc: Likewise.
3810         * java/lang/natRuntime.cc: Likewise.
3811         * java/lang/natSystem.cc: Likewise.
3812         * java/util/natTimeZone.cc: Likewise.
3813         * win32.cc: Likewise.
3814         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3815         listen, write, read): Undef to avoid interference from OS macros.
3816
3817 2003-02-19  Michael Koch  <konqueror@gmx.de>
3818
3819         * gnu/java/nio/ByteBufferImpl.java
3820         (ByteBufferImpl): Renamed two variables.
3821         * gnu/java/nio/CharBufferImpl.java
3822         (CharBufferImpl): Renamed two variables.
3823         * gnu/java/nio/DoubleBufferImpl.java
3824         (DoubleBufferImpl): Renamed two variables.
3825         * gnu/java/nio/FloatBufferImpl.java
3826         (FloatBufferImpl): Renamed two variables.
3827         * gnu/java/nio/IntBufferImpl.java
3828         (IntBufferImpl): Renamed two variables.
3829         * gnu/java/nio/LongBufferImpl.java
3830         (LongBufferImpl): Renamed two variables.
3831         * gnu/java/nio/ShortBufferImpl.java
3832         (ShortBufferImpl): Renamed two variables.
3833         * java/nio/CharBuffer.java
3834         (wrap): Fixed arguments to CharBufferImpl constructor.
3835         (hasArray): Only not read-only buffers have backing arrays.
3836         (length): Documentation added.
3837         (subSequence): Documentation added.
3838         * java/nio/DoubleBuffer.java
3839         (hasArray): Only not read-only buffers have backing arrays.
3840         * java/nio/FloatBuffer.java
3841         (hasArray): Only not read-only buffers have backing arrays.
3842         * java/nio/IntBuffer.java
3843         (hasArray): Only not read-only buffers have backing arrays.
3844         * java/nio/LongBuffer.java
3845         (hasArray): Only not read-only buffers have backing arrays.
3846         * java/nio/ShortBuffer.java
3847         (hasArray): Only not read-only buffers have backing arrays.
3848         
3849 2003-02-19  Michael Koch  <konqueror@gmx.de>
3850
3851         * javax/accessibility/AccessibleContext.java
3852         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3853
3854 2003-02-19  Michael Koch  <konqueror@gmx.de>
3855
3856         * java/awt/ScrollPaneAdjustable.java: Reformated.
3857
3858 2003-02-19  Michael Koch <konqueror@gmx.de>
3859
3860         * gnu/awt/j2d/Graphics2DImpl.java
3861         (getFontRenderContext): New method.
3862         (drawGlyphVector): New method.
3863         * java/awt/Graphics2D.java
3864         (getFontRenderContext): New abstract method.
3865         (drawGlyphVector): New abstract method.
3866         
3867 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3868
3869         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3870         if necessary.
3871         
3872         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3873         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3874         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3875         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3876         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3878         (setFont, gtkSetFont): add.
3879         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3880         Propagate font to peer.  (setFont): add FIXME comment.
3881
3882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3883         (gtkTextGetSize): fix height, width computation.
3884
3885         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3886         Make X font name a bit less bogus.
3887
3888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3889         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3890
3891         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3892         (processAdjustmentEvent): Adjust value.
3893
3894         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3895         logic errors.
3896
3897         * java/awt/Component.java (setVisible, show, hide): Call show and
3898         hide methods in subclasses.
3899         (getPreferredSize): don't set prefSize before we have peer.
3900
3901         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3902         Guess (0,0) if we don't have peer.
3903
3904
3905 2003-02-18  Michael Koch  <konqueror@gmx.de>
3906
3907         * java/nio/channels/FileChannel.java
3908         (toString): New implementation, added documentation.
3909         (map): Added exception documentation.
3910         (size): Added exception documentation.
3911         (write): New methods, documentation work.
3912         (read): New methods, documentation work.
3913         (implCloseChannel): Rewrote exception documentation.
3914         (force): Throws IOException, added documentation.
3915         (lock): New methods.
3916         (tryLock): New methods.
3917         (position): New methods.
3918         (transferTo): New method.
3919         (transferFrom): New method.
3920         (truncate): New method.
3921         * java/nio/channels/spi/SelectorProvider.java
3922         (provider): Implemented.
3923         * Makefile.am
3924         (ordinary_java_source_files): Added the following files:
3925         gnu/java/nio/DatagramChannelImpl.java
3926         gnu/java/nio/FileChannelImpl.java
3927         gnu/java/nio/PipeImpl.java
3928         gnu/java/nio/SelectionKeyImpl.java
3929         gnu/java/nio/SelectorImpl.java
3930         gnu/java/nio/SelectorProviderImpl.java
3931         gnu/java/nio/ServerSocketChannelImpl.java
3932         gnu/java/nio/SocketChannelImpl.java
3933         java/nio/channels/FileLock.java
3934         (nat_java_source_files): Added the following files:
3935         gnu/java/nio/natFileChannelImpl.cc
3936         gnu/java/nio/natSelectorImpl.cc
3937         gnu/java/nio/natSocketChannelImpl.cc
3938         * Makefile.in: Regenerated.
3939
3940 2003-02-17  Tom Tromey  <tromey@redhat.com>
3941
3942         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3943         * java/awt/image/ImageFilter.java: Likewise.
3944
3945 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3946
3947         * java/math/BigInteger.java (euclidInv): Return array of
3948         `BigInteger's.  Changed all callers.
3949
3950 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3951
3952         * java/util/Properties.java (store): Move the code formerly in
3953         list(), into this method.
3954         (list (PrintStream)): Just call list (PrintWriter) with a 
3955         PrintWriter object constructed from the given PrintStream object.
3956         (list (PrintWriter)): Emulate the output of Properties.list()
3957         as found in JDK 1.3/1.4.
3958
3959 2003-02-17  Michael Koch  <konqueror@gmx.de>
3960
3961         * java/net/DatagramSocket.java
3962         (connect): Merged with classpath.
3963         (disconnect): Merged documentation with classpath.
3964         (receice): Merged documentation with classpath.
3965         (send): Merged documentation with classpath.
3966         
3967 2003-02-17  Michael Koch  <konqueror@gmx.de>
3968
3969         * java/awt/dnd/DragSourceContext.java
3970         (addDragSourceListener): Added documentation.
3971         * java/awt/dnd/DragSourceDragEvent.java
3972         (serialVersionUID): New member variable.
3973         (getDropAction): Reformated.
3974         * java/awt/dnd/DragSourceDropEvent.java
3975         (serialVersionUID): New member variable.
3976         (dropSuccess): Renamed from success for serialization issues.
3977         * java/awt/dnd/DragSourceEvent.java
3978         (serialVersionUID): New member variable.
3979         * java/awt/dnd/DropTarget.java
3980         (serialVersionUID): New member variable.
3981         (DropTarget): Implemented, documentation reworked.
3982         (setComponent): Documentation added.
3983         (getComponent): Documentation added.
3984         (setDefaultActions): Documentation added.
3985         (getDefaultActions): Documentation added.
3986         (addDropTargetListener): Documentation added.
3987         * java/awt/dnd/DropTargetContext.java
3988         (DropTargetContext): Documentation added.
3989         (TransferableProxy.TransferableProxy): New method.
3990         (dropComplete): Fixed documentation.
3991         (getTransferable): Fixed documentation.
3992         (createTransferableProxy): Implemented.
3993         * java/awt/dnd/DropTargetDragEvent.java
3994         (DropTargetDragEvent): Documentation added.
3995         (serialVersionUID): New member variable.
3996         (DropTargetDragEvent): Throw exceptions, documentation added.
3997         (acceptDrag): Implemented.
3998         (getCurrentDataFlavors): Implemented.3yy
3999         (getCurrentDataFlavorsAsList): Implemented.
4000         (isDataFlavorSupported): Implemented.
4001         (rejectDrag): Implemented.
4002         * java/awt/dnd/DropTargetDropEvent.java
4003         (DropTargetDropEvent): Documentation added.
4004         (serialVersionUID): New member variable.
4005         (actions): Renamed from srcActions for serialization issues.
4006         (isLocalTx): Renamed from isLocalTx for serialization issues.
4007         (DropTargetDropEvent): New implementation, throw exceptions,
4008         documentation added.
4009         (getCurrentDataFlavors): Implemented.
4010         (getCurrentDataFlavorsAsList): Implemented.
4011         (isDataFlavorSupported): Implemented.
4012         (getSourceActions): Implemented.
4013         (getDropAction): Implemented.
4014         (getTransferable): Implemented.
4015         (acceptDrop): Implemented.
4016         (rejectDrop): Implemented.
4017         * java/awt/dnd/DropTargetListener.java
4018         (drop): Fixed documentation.
4019         * java/awt/dnd/MouseDragGestureRecognizer.java
4020         (MouseDragGestureRecognizer): Documentation added.
4021
4022 2003-02-17  Michael Koch  <konqueror@gmx.de>
4023
4024         * java/awt/font/FontRenderContext.java,
4025         java/awt/font/ShapeGraphicAttribute.java,
4026         java/awt/font/MultipleMaster.java,
4027         java/awt/font/TransformAttribute.java,
4028         java/awt/font/GlyphJustificationInfo.java,
4029         java/awt/font/LineBreakMeasurer.java,
4030         java/awt/font/TextMeasurer.java,
4031         java/awt/font/TextLayout.java,
4032         java/awt/font/LineMetrics.java,
4033         java/awt/font/TextAttribute.java,
4034         java/awt/font/GlyphMetrics.java,
4035         java/awt/font/OpenType.java,
4036         java/awt/font/GlyphVector.java,
4037         java/awt/font/GraphicAttribute.java,
4038         java/awt/font/ImageGraphicAttribute.java,
4039         java/awt/font/NumericShaper.java: New files.
4040         * Makefile.am
4041         (awt_java_source_files): Added the following files:
4042         java/awt/font/FontRenderContext.java
4043         java/awt/font/ShapeGraphicAttribute.java
4044         java/awt/font/MultipleMaster.java
4045         java/awt/font/TransformAttribute.java
4046         java/awt/font/GlyphJustificationInfo.java
4047         java/awt/font/LineBreakMeasurer.java
4048         java/awt/font/TextMeasurer.java
4049         java/awt/font/TextLayout.java
4050         java/awt/font/LineMetrics.java
4051         java/awt/font/TextAttribute.java
4052         java/awt/font/GlyphMetrics.java
4053         java/awt/font/OpenType.java
4054         java/awt/font/GlyphVector.java
4055         java/awt/font/GraphicAttribute.java
4056         java/awt/font/ImageGraphicAttribute.java
4057         java/awt/font/NumericShaper.java
4058         * Makefile.in: Regenerated.
4059
4060 2003-02-17  Michael Koch  <konqueror@gmx.de>
4061
4062         * java/awt/print/Paper.java
4063         (Paper): Implements Cloneable.
4064         * java/awt/print/PrinterJob.java
4065         (setJobName): Return value must be void.
4066         (print): Throws PrinterException.
4067         
4068 2003-02-16  Tom Tromey  <tromey@redhat.com>
4069
4070         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4071         variable.
4072
4073 2003-02-15  Michael Koch  <konqueror@gmx.de>
4074
4075         * java/awt/datatransfer/DataFlavor.java
4076         (isRepresentationClassByteBuffer): Removed try-catch block.
4077         (isRepresentationClassCharBuffer): Removed try-catch block.
4078         (isRepresentationClassReader): Removed try-catch block.
4079
4080 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4081
4082         * java/nio/charset/Charset.java
4083         (isRegistered): Fixed method args and implementation.
4084         * java/nio/charset/CharsetEncoder.java
4085         (unmappableCharacterAction): New method.
4086
4087 2003-02-15  Michael Koch  <konqueror@gmx.de>
4088
4089         * java/awt/CheckboxMenuItem.java
4090         (CheckBoxMenuItem): Dont implement Serializable.
4091         (getListeners): New method,
4092         (getItemListeners): New method.
4093         * java/awt/Choice.java
4094         (getListeners): New method,
4095         (getItemListeners): New method.
4096         * java/awt/Container.java
4097         (getListeners): Added exception documentation.
4098         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4099         (getFocusTraversalKeys): Added documentation.
4100         (areFocusTraversalKeysSet): Added documentation.
4101         (applyComponentOrientation): Added documentation.
4102         * java/awt/ContainerOrderFocusTraversalPolicy.java
4103         (implicitDownCycleTraversal): Renamed from downCycle for
4104         serialization.
4105         (ContainerOrderFocusTraversalPolicy): Added documentation.
4106         (accept): Reformated.
4107         * java/awt/Dialog.java
4108         (Dialog): Dont implement Serializable.
4109         (Dialog): Added documentation.
4110         * java/awt/Font.java
4111         (Font): Dont use absolute class name.
4112         * java/awt/Frame.java
4113         (Frame): Font implement Serializable.
4114         * java/awt/List.java
4115         (getListeners): New method,
4116         (getActionListeners): New method.       
4117         (getItemListeners): New method.
4118         * java/awt/Menu.java
4119         (countItems): New deprecated method.
4120         * java/awt/Scrollbar.java
4121         (getListeners): New method,
4122         (getAdjustmentListeners): New method,
4123         * java/awt/TextComponent.java
4124         (getListeners): New method,
4125         (getTextListeners): New method,
4126         * java/awt/TextField.java
4127         (getListeners): New method,
4128         (getActionListeners): New method.       
4129         * java/awt/Window.java
4130         (windowFocusListener): New member variable.
4131         (windowStateListener): New member variable.
4132         (getWindowFocusListeners): New method.
4133         (getWindowStateListeners): New method.
4134         (addWindowFocusListener): New method.
4135         (addWindowStateListener): New method.
4136         (removeWindowFocusListener): New method.
4137         (removeWindowStateListener): New method.
4138         * java/awt/datatransfer/DataFlavor.java
4139         (isRepresentationClassByteBuffer): New method.
4140         (isRepresentationClassCharBuffer): New method.
4141         (isRepresentationClassReader): New method.
4142
4143 2003-02-14  Mark Wielaard  <mark@klomp.org>
4144
4145         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4146         zero when there is an exponent and the significant is zero.
4147         (divide): Always set scale to newScale even in special ZERO case.
4148
4149 2003-02-14  Tom Tromey  <tromey@redhat.com>
4150
4151         * java/lang/System.java (properties): Use Properties.clone.
4152         (setProperties): Likewise.
4153
4154 2003-02-14  Michael Koch  <konqueror@gmx.de>
4155
4156         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4157         * gnu/java/nio/ServerSocketChannelImpl.java
4158         (SocketAccept): Removed.
4159         (accept): Commented out use of SocketAccept.
4160
4161 2003-02-13  Tom Tromey  <tromey@redhat.com>
4162
4163         * verify.cc (state::seen_subrs): New field.
4164         (state::state): Initialize it.
4165         (state::clean_subrs): New method.
4166         (state::~state): Call it.
4167         (state::copy): Copy subroutine list.
4168         (state::add_subr): New method.
4169         (state::merge): Only register a change if the current subroutine
4170         hasn't yet been noted.
4171
4172 2003-02-13  Mark Wielaard  <mark@klomp.org>
4173
4174         * java/io/InputStreamReader.java (getEncoding): Return null when
4175         closed.
4176         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4177
4178 2003-02-13  Mark Wielaard  <mark@klomp.org>
4179  
4180         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4181         is zero.
4182
4183 2003-02-13  Mark Wielaard  <mark@klomp.org>
4184
4185         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4186         next byte cannot be buffered.
4187
4188 2003-02-13  Michael Koch  <konqueror@gmx.de>
4189  
4190         * java/awt/Label.java
4191         (Label): Don't implement Serializable directly.
4192         (addNotify): Fixed typo in documentation.
4193         * java/awt/List.java
4194         (List): Don't implement Serializable directly.
4195         * java/awt/PopupMenu.java
4196         (PopupMenu): Don't implement Serializable directly.
4197         * java/awt/ScrollPane.java
4198         (ScrollPane): Don't implement Serializable directly.
4199         * java/awt/Scrollbar.java
4200         (Scrollbar): Don't implement Serializable directly.
4201         * java/awt/TextArea.java
4202         (preferredSize): Fixed method arguments.
4203         * java/awt/TextField.java
4204         (TextField): Don't implement Serializable directly.
4205         * java/awt/color/ICC_ColorSpace.java
4206         (fromCIOXYZ): Documentation added.
4207         (getMinValue): Documentation added.
4208         (getMaxValue): Documentation added.
4209         * java/awt/datatransfer/DataFlavor.java
4210         (isMimeTypeEqual): May not be final.
4211         (clone): Throws CloneNotSupportedException.
4212         (getReaderForText): Don't throws UnsupportedEncodingException.
4213
4214 2003-02-13  Michael Koch  <konqueror@gmx.de>
4215  
4216         * gnu/java/awt/peer/gtk/GdkGraphics.java
4217         (drawString): New stubbed method.
4218         * java/awt/Graphics.java
4219         (drawString): New method.
4220
4221 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4222
4223         PR libgcj/9271:
4224         * java/security/SecureRandom.java (next): Avoid bias in results.
4225
4226 2003-02-13  Michael  <konqueror@gmx.de>
4227
4228         * gnu/java/nio/FileChannelImpl.java
4229         (lengthInternal): Must be native.
4230         (size): Check if channel is already closed.
4231         (implCloseChannel): Reformated.
4232         (read): w was unused, removed it.
4233         (read): Removed.
4234         (read): New method.
4235         (write): New method.
4236         (map): Check arguments.
4237         (force): Throws IOException, check if channel is closed.
4238         (transferTo): New method.
4239         (transferFrom): New method.
4240         (lock): New method.
4241         (tryLock): New method.
4242         (position): New method.
4243         (truncate): New method.
4244         (nio_mmap_file): Uncommented.
4245         (nio_munmap_file): Uncommented.
4246         (nio_msync): Uncommented.
4247         * gnu/java/nio/natFileChannelImpl.cc: New file.
4248         
4249 2003-02-13  Michael Koch  <konqueror@gmx.de>
4250
4251         * java/nio/ByteBuffer.java
4252         (endian): New member variable.
4253         (get): New methods.
4254         (equals): New method.
4255         (compareTo): New method.
4256         (order): New methods.
4257         (compact): New method.
4258         (isDirect): New method.
4259         (slice): New method.
4260         (duplicate): New method.
4261         (asReadOnlyBuffer): New method.
4262         (asCharBuffer): New method.
4263         (asDoubleBuffer): New method.
4264         (asFloatBuffer): New method.
4265         (asIntBuffer): New method.
4266         (asLongBuffer): New method.
4267         (asShortBuffer): New method.
4268         (get*): New methods.
4269         (put*): New methods.
4270         (toString): New method.
4271         * java/nio/CharBuffer.java
4272         (CharBuffer): Implement Comparable instead of Cloneable.
4273         (get): May not be final.
4274         (put): May not be final.
4275         
4276 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4277
4278         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4279         lastIndexOf( ) instead of indexOf( ) to find the colon before
4280         the line number, because Win32 file names might contain a 
4281         drive letter and a colon at the start of an absolute path.
4282
4283 2003-02-13  Michael Koch  <konqueror@gmx.de>
4284
4285         * gnu/java/nio/natSocketChannelImpl.cc
4286         (SocketConnect): This is not implemented yet.
4287         (SocketBind): This is not implemented yet.
4288
4289 2003-02-13  Michael Koch  <konqueror@gmx.de>
4290
4291         * gnu/java/nio/natByteBufferImpl.cc,
4292         gnu/java/nio/natCharBufferImpl.cc,
4293         gnu/java/nio/natDoubleBufferImpl.cc,
4294         gnu/java/nio/natFloatBufferImpl.cc,
4295         gnu/java/nio/natIntBufferImpl.cc,
4296         gnu/java/nio/natLongBufferImpl.cc,
4297         gnu/java/nio/natShortBufferImpl.cc:
4298         Added copyright and license.
4299         * java/nio/DoubleBuffer.java,
4300         java/nio/FloatBuffer.java,
4301         java/nio/IntBuffer.java,
4302         java/nio/LongBuffer.java,
4303         java/nio/ShortBuffer.java
4304         (array): Throw exceptions.
4305         (arrayOffset): Throw exceptions.
4306
4307 2003-02-13  Michael Koch  <konqueror@gmx.de>
4308  
4309         * gnu/java/util/prefs/FileBasedFactory.java,
4310         gnu/java/util/prefs/MemmoryBasedFactory.java,
4311         gnu/java/util/prefs/MemoryBasedPreferences.java,
4312         gnu/java/util/prefs/NodeReader.java,
4313         gnu/java/util/prefs/NodeWriter.java,
4314         java/util/prefs/AbstractPreferences.java,
4315         java/util/prefs/BackingStoreException.java,
4316         java/util/prefs/InvalidPreferencesFormatException.java,
4317         java/util/prefs/NodeChangeEvent.java,
4318         java/util/prefs/NodeChangeListener.java,
4319         java/util/prefs/PreferenceChangeEvent.java,
4320         java/util/prefs/PreferenceChangeListener.java,
4321         java/util/prefs/Preferences.java,
4322         java/util/prefs/PreferencesFactory.java:
4323         New files, all merged from classpath.
4324         * Makefile.am
4325         (ordinary_java_source_files): Added the following files:
4326         gnu/java/util/prefs/FileBasedFactory.java,
4327         gnu/java/util/prefs/MemmoryBasedFactory.java,
4328         gnu/java/util/prefs/MemoryBasedPreferences.java,
4329         gnu/java/util/prefs/NodeReader.java,
4330         gnu/java/util/prefs/NodeWriter.java,
4331         (core_java_source_files): Added the following files:
4332         java/util/prefs/AbstractPreferences.java,
4333         java/util/prefs/BackingStoreException.java,
4334         java/util/prefs/InvalidPreferencesFormatException.java,
4335         java/util/prefs/NodeChangeEvent.java,
4336         java/util/prefs/NodeChangeListener.java,
4337         java/util/prefs/PreferenceChangeEvent.java,
4338         java/util/prefs/PreferenceChangeListener.java,
4339         java/util/prefs/Preferences.java,
4340         java/util/prefs/PreferencesFactory.java
4341         * Makefile.in: Regenerated.
4342  
4343 2003-02-13  Michael Koch  <konqueror@gmx.de>
4344
4345         * java/net/NetPermission.java
4346         (NetPermission): Make doucmentation match the method declaration.
4347         * java/net/NetworkInterface.java
4348         (equals): Reformated for GNU coding style.
4349         * java/net/ServerSocket.java: Merged with classpath.
4350         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4351         * java/net/SocketImpl.java
4352         (localPort): Merged with classpath (initialize with -1).
4353         * java/net/SocketPermission.java: Merged with classpath (reindented).
4354         * java/net/URLDecoder.java: Merged with classpath (reindented).
4355
4356 2003-02-13  Michael Koch  <konqueror@gmx.de>
4357
4358         * java/awt/GridBagConstraints.java
4359         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4360         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4361         * java/awt/KeyboardFocusManager.java
4362         (setGlobalCurrentFocusCycleRoot): Must be public.
4363         * java/awt/MenuComponent.java
4364         (MenuComponent): Must be public.
4365         * java/awt/Toolkit.java:
4366         Added some empty lines to make documentation more readable.
4367         (getFontPeer): Added @deprecated.
4368         (getColorModel): Added exception documentation.
4369         (getProperty): Fixed documentation.
4370  
4371 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4372
4373         * configure.host (alpha*-*): Default to -mieee.
4374         * configure.in (IEEESPEC): New.
4375         * libgcj.spec.in (jc1): Add IEEESPEC.
4376         * configure: Rebuild.
4377
4378 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4379
4380         * include/win32.h: Include ws2tcpip.h instead of
4381         winsock.h to obtain definition of the socklen_t type.
4382         Remove IP_TOS definition - not needed with ws2tcpip.h
4383         (_Jv_connect): Correct slight formatting error.
4384
4385 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4386
4387         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4388         size of the arguments for a JNI function. For Win32,
4389         modify to search for all forms of possible exported
4390         names of an stdcall JNI function.
4391         (_Jv_JNIMethod::call): Modify to calculate the size
4392         of the arguments passed to a JNI function and pass
4393         it to _Jv_LookupJNIMethod.
4394
4395 2003-02-12  Michael Koch  <konqueror@gmx.de>
4396
4397         * java/nio/channels/Channels.java: New file.
4398         * Makefile.am
4399         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4400         * Makefile.in: Regenerated.
4401
4402 2003-02-12  Michael Koch  <konqueror@gmx.de>
4403
4404         * java/nio/ByteBuffer.java
4405         (allocate): Implemented.
4406         (wrap): Implemented.
4407         * java/nio/CharBuffer.java:
4408         Some documentation added and reworked.
4409         (endian): Removed.
4410         (allocate): Implemented.
4411         (wrap): Implemented.
4412         (array): Throw exceptions.
4413         (arrayOffset): Throw exceptions.
4414         (toString): Implemented.
4415         (length): Implemented.
4416         (put): Implemented.
4417         (charAt): Implemented.
4418
4419 2003-02-11  John Leuner  <jewel@debian.org>
4420
4421         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4422         reads from end of file.
4423
4424 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4425
4426         * java/io/natFileDescriptorWin32.cc 
4427         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4428         returns with Win32 error code ERROR_BROKEN_PIPE.
4429
4430 2003-02-11  Michael Koch  <konqueror@gmx.de>
4431
4432         * Makefile.in
4433         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4434
4435 2003-02-11  Michael Koch  <konqueror@gmx.de>
4436
4437         * gnu/java/nio/ByteBufferImpl.java:
4438         Reformated and removed some code.
4439         (backing_buffer): Removed.      
4440         (array_offset): Removed.
4441         (ro): Renamed to readOnly.
4442         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4443         * gnu/java/nio/CharBufferImpl.java:
4444         Reformated and removed some code.
4445         (array_offset): Removed.
4446         (ro): Renamed to readOnly.
4447         (CharBufferImpl): Use parent constructor, initialize readOnly.
4448         (inc_pos): Removed.
4449         (order): New method.
4450         * gnu/java/nio/DoubleBufferImpl.java:
4451         Reformated and removed some code.
4452         (array_offset): Removed.
4453         (ro): Renamed to readOnly.
4454         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4455         (inc_pos): Removed.
4456         (order): New method.
4457         * gnu/java/nio/FloatBufferImpl.java:
4458         Reformated and removed some code.
4459         (array_offset): Removed.
4460         (ro): Renamed to readOnly.
4461         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4462         (inc_pos): Removed.
4463         (order): New method.
4464         * gnu/java/nio/IntBufferImpl.java:
4465         Reformated and removed some code.
4466         (array_offset): Removed.
4467         (ro): Renamed to readOnly.
4468         (IntBufferImpl): Use parent constructor, initialize readOnly.
4469         (inc_pos): Removed.
4470         (order): New method.
4471         * gnu/java/nio/LongBufferImpl.java:
4472         Reformated and removed some code.
4473         (array_offset): Removed.
4474         (ro): Renamed to readOnly.
4475         (LongBufferImpl): Use parent constructor, initialize readOnly.
4476         (inc_pos): Removed.
4477         (order): New method.
4478         * gnu/java/nio/ShortBufferImpl.java:
4479         Reformated and removed some code.
4480         (array_offset): Removed.
4481         (ro): Renamed to readOnly.
4482         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4483         (inc_pos): Removed.
4484         (order): New method.
4485         * Makefile.am
4486         (ordinary_java_source_files): Added the following files:
4487         gnu/java/nio/ByteBufferImpl.java
4488         gnu/java/nio/CharBufferImpl.java
4489         gnu/java/nio/DoubleBufferImpl.java
4490         gnu/java/nio/FloatBufferImpl.java
4491         gnu/java/nio/IntBufferImpl.java
4492         gnu/java/nio/LongBufferImpl.java
4493         gnu/java/nio/ShortBufferImpl.java
4494         java/nio/DoubleBuffer.java
4495         java/nio/FloatBuffer.java
4496         java/nio/IntBuffer.java
4497         java/nio/LongBuffer.java
4498         java/nio/ShortBuffer.java
4499         (nat_source_files): Added the following files:
4500         gnu/java/nio/natByteBufferImpl.cc
4501         gnu/java/nio/natCharBufferImpl.cc
4502         gnu/java/nio/natDoubleBufferImpl.cc
4503         gnu/java/nio/natFloatBufferImpl.cc
4504         gnu/java/nio/natIntBufferImpl.cc
4505         gnu/java/nio/natLongBufferImpl.cc
4506         gnu/java/nio/natShortBufferImpl.cc
4507         * Makefile.in: Regenerated.
4508
4509 2003-02-11  Michael Koch  <konqueror@gmx.de>
4510
4511         * gnu/java/nio/natCharBufferImpl.cc
4512         (nio_cast): Removed.
4513         (nio_put_*): Removed.
4514         (nio_get_*): Removed.
4515         * gnu/java/nio/natDoubleBufferImpl.cc
4516         (nio_cast): Removed.
4517         (nio_put_*): Removed.
4518         (nio_get_*): Removed.
4519         * gnu/java/nio/natFloatBufferImpl.cc
4520         (nio_cast): Removed.
4521         (nio_put_*): Removed.
4522         (nio_get_*): Removed.
4523         * gnu/java/nio/natIntBufferImpl.cc
4524         (nio_cast): Removed.
4525         (nio_put_*): Removed.
4526         (nio_get_*): Removed.
4527         * gnu/java/nio/natLongBufferImpl.cc
4528         (nio_cast): Removed.
4529         (nio_put_*): Removed.
4530         (nio_get_*): Removed.
4531         * gnu/java/nio/natShortBufferImpl.cc
4532         (nio_cast): Removed.
4533         (nio_put_*): Removed.
4534         (nio_get_*): Removed.
4535         * gnu/java/nio/SelectorProviderImpl.java
4536         (openDatagramChannel): Throws IOException.
4537         (openPipe): Throws IOException.
4538         (openSelector): Throws IOException.
4539         (openServerSocketChannel): Throws IOException.
4540         (openSocketChannel): Throws IOException.
4541         * gnu/java/nio/ServerSocketChannelImpl.java
4542         (ServerSocketChannelImpl): Throws IOException.
4543         (implCloseSelectableChannel): Throws IOException.
4544         (implConfigureBlocking): Throws IOException.
4545         * java/nio/ByteBuffer.java
4546         (readOnly): Removed.
4547         (hasArray): Use isReadOnly() instead of readOnly.
4548         (array): Use isReadOnly() instead of readOnly.
4549         (arrayOffset): Use isReadOnly() instead of readOnly.
4550         * java/nio/CharBuffer.java
4551         (CharBuffer): Implements Cloneable and CharSequence.
4552
4553 2003-02-11  Michael Koch  <konqueror@gmx.de>
4554
4555         * java/nio/DoubleBuffer.java
4556         (DoubleBuffer): Implements Comparable.
4557         (endian): Removed.
4558         (array_offset): New member variable.
4559         (DoubleBuffer): New constuctor.
4560         (get): May not be final.
4561         (put): May not be final.
4562         (arrayOffset): Implemented.
4563         (order): Made abstract.
4564         (order): Removed.
4565         (as*Buffer): Removed.
4566         (get*): Removed.
4567         (put*): Removed.
4568         * java/nio/FloatBuffer.java
4569         (FloatBuffer): Implements Comparable.
4570         (endian): Removed.
4571         (array_offset): New member variable.
4572         (FloatBuffer): New constuctor.
4573         (get): May not be final.
4574         (put): May not be final.
4575         (arrayOffset): Implemented.
4576         (order): Made abstract.
4577         (order): Removed.
4578         (as*Buffer): Removed.
4579         (get*): Removed.
4580         (put*): Removed.
4581         * java/nio/IntBuffer.java
4582         (IntBuffer): Implements Comparable.
4583         (endian): Removed.
4584         (array_offset): New member variable.
4585         (IntBuffer): New constuctor.
4586         (get): May not be final.
4587         (put): May not be final.
4588         (arrayOffset): Implemented.
4589         (order): Made abstract.
4590         (order): Removed.
4591         (as*Buffer): Removed.
4592         (get*): Removed.
4593         (put*): Removed.
4594         * java/nio/LongBuffer.java
4595         (LongBuffer): Implements Comparable.
4596         (endian): Removed.
4597         (array_offset): New member variable.
4598         (LongBuffer): New constuctor.
4599         (get): May not be final.
4600         (put): May not be final.
4601         (arrayOffset): Implemented.
4602         (order): Made abstract.
4603         (order): Removed.
4604         (as*Buffer): Removed.
4605         (get*): Removed.
4606         (put*): Removed.
4607         * java/nio/ShortBuffer.java
4608         (ShortBuffer): Implements Comparable.
4609         (endian): Removed.
4610         (array_offset): New member variable.
4611         (ShortBuffer): New constuctor.
4612         (get): May not be final.
4613         (put): May not be final.
4614         (arrayOffset): Implemented.
4615         (order): Made abstract.
4616         (order): Removed.
4617         (as*Buffer): Removed.
4618         (get*): Removed.
4619         (put*): Removed.
4620
4621 2003-02-11   Michael Koch  <konqueror@gmx.de>
4622
4623         * java/nio/channels/SelectionKey.java
4624         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4625         values.
4626
4627 2003-02-11  Michael Koch  <konqueror@gmx.de>
4628
4629         * java/nio/channels/DatagramChannel.java
4630         (write): Throws IOException.
4631         (connect): Throws IOException.
4632         (disconnect): Throws IOException.
4633         (read): Throws IOException.
4634         (receive): Throws IOException.
4635         (send): Throws IOException.
4636         * java/nio/channels/Pipe.java
4637         (open): Throws IOException.
4638         * java/nio/channels/SelectableChannel.java
4639         (configureBlocking): Throws IOException.
4640         * java/nio/channels/ServerSocketChannel.java
4641         (accept): Throws IOException.
4642         * java/nio/channels/SocketChannel.java
4643         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4644         GatheringByteChannel.
4645         (read): Throws IOException.
4646         (write): Throws IOException.
4647         (finishConnect): Throws IOException.
4648         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4649         (end): Throws AsynchronousCloseException.
4650         * java/nio/channels/spi/AbstractSelectableChannel.java
4651         (configureBlocking): Throws IOException.
4652         (implCloseChannel): Throws IOException.
4653         (implCloseSelectableChannel): Throws IOException.
4654         (implConfigureBlocking): Throws IOException.
4655         * java/nio/channels/spi/SelectorProvider.java
4656         (openDatagramChannel): Throws IOException.
4657         (openPipe): Throws IOException.
4658         (openSelector): Throws IOException.
4659         (openServerSocketChannel): Throws IOException.
4660         (openSocketChannel): Throws IOException.
4661
4662 2003-02-11  Michael Koch  <konqueror@gmx.de>
4663
4664         * gnu/java/nio/FileLockImpl.java,
4665         java/nio/channels/FileLock.java: New files.
4666
4667 2003-02-11  Michael Koch  <konqueror@gmx.de>
4668
4669         * java/nio/charset/IllegalCharsetNameException.java
4670         (serialVersionUID): New member variable.
4671         (charsetName): New member variable.
4672         (IllegalCharsetException): New implementation.
4673         (getCharsetName): New implementation.
4674         * java/nio/charset/UnsupportedCharsetException.java
4675         (serialVersionUID): New member variable.
4676         (charsetName): New member variable.
4677         (UnsupportedCharsetException): New implementation.
4678         (getCharsetName): New implementation.
4679
4680 2003-02-10  Tom Tromey  <tromey@redhat.com>
4681
4682         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4683         (ex): Renamed from sqlException.
4684
4685 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4686
4687         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4688         method used to ensure seeding has occurred and that a specific 
4689         seed can be set and used.
4690
4691 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4692
4693         * java/lang/Win32Process.java (destroy): Declare as native.
4694         (hasExited): New native method.
4695         (exitValue): Define.
4696         (getErrorStream): Likewise.
4697         (getInputStream): Likewise.
4698         (getOutputStream): Likewise.
4699         (waitFor): Declare as native.
4700         (startProcess): New native method.
4701         (cleanup): Likewise.
4702         (ConcreteProcess): Define.
4703         (outputStream, inputStream, errorStream): New members.
4704         (procHandle, exitCode): Likewise.
4705
4706         * java/lang/natWin32Process.cc
4707         (java::lang::ConcreteProcess::cleanup): Define.
4708         (java::lang::ConcreteProcess::destroy): Likewise.
4709         (java::lang::ConcreteProcess::hasExited): Likewise.
4710         (java::lang::ConcreteProcess::waitFor): Likewise.
4711         (new_string): Likewise.
4712         (java::lang::ConcreteProcess::startProcess): Likewise.
4713
4714 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4715
4716         * java/math/BigInteger.java:
4717         Updated notice to include years 2002 and 3.
4718         Added 2 private (int) arrays with values from the HAC (Handbook of
4719         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4720         and t[] that contains nbr. of tests --used in isProbablePrime().
4721
4722         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4723
4724         * java/math/BigInteger.java (make(int[],int), add(int,int),
4725         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4726         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4727         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4728         make(long).
4729
4730         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4731         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4732         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4733         BIs and returns void.
4734         (modInverse(BI)): Use new signatures of euclidInv().
4735
4736         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4737         static small primes instead of remainder().
4738         Use pre-computed max nbr of trials based on bitlength of BI to test.
4739         Use pre-computed small primes for the trial tests instead of random
4740         numbers.
4741
4742         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4743         not used.
4744
4745         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4746         invoacation of MPN.chars_per_word().  not used.
4747
4748         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4749         local var and used where needed.
4750
4751         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4752         Combined declaration with initialisation of locals.
4753         Removed unused var.
4754
4755         * java/math/BigInteger.java: Style changes
4756         (pow(int)): Removed 'else' keyword.
4757         (toString(int)): idem.
4758         (doubleValue()): idem.
4759         (bitLength()): idem.
4760         (equals(Object)): Use static methods name in same class w/o prepending
4761         class name.
4762         (doubleValue()): idem.
4763         (setNegative(BI)): idem.
4764         (negate()): idem.
4765         (and(BI,int)): idem.
4766         (and(BI)): idem.
4767         (gcd(BI)): idem.
4768         (byteArrayToIntArray()): Removed casting to (int). this is
4769         std. behaviour.
4770         (canonicalize()): idem.
4771         (alloc(int)): Always instantiate a new BI.
4772
4773 2003-02-10  Tom Tromey  <tromey@redhat.com>
4774
4775         * java/sql/Timestamp.java (compareTo(Object)): New method.
4776         (compareTo(Timestamp)): Likewise.
4777         (serialVersionUID): Updated.
4778
4779 2003-02-07  Mark Wielaard  <mark@klomp.org>
4780
4781         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4782         when verify is true.
4783         (JarFile(File, boolean)): Likewise.
4784         (manifestRead): Set manifestRead field correctly.
4785
4786 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4787
4788         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4789         tests; see patch #1016 on Savannah.
4790
4791 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4792
4793         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4794         (toString): do not return Strings starting with . and - erroneously.
4795         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4796         DiagBigDecimal.
4797
4798 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4799
4800         * java/beans/PropertyDescriptor.java
4801         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4802         methods.
4803         (PropertyDescriptor(String, Class, String, String)): Likewise.
4804         (PropertyDescriptor(String, Method, Method): Factor out getter and
4805         setter method sanity checks into new method.
4806         (findMethods): Don't do parameter sanity checking of get method here.
4807         (checkMethods): New method.
4808
4809 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4810
4811         * java/beans/PropertyDescriptor.java: Reformat.
4812
4813 2003-02-04  Tom Tromey  <tromey@redhat.com>
4814
4815         * java/io/PipedOutputStream.java (flush): Declare as throwing
4816         IOException.
4817         (close): Likewise.
4818         * java/io/PipedWriter.java (close): Declare as throwing
4819         IOException.
4820         * java/io/StringWriter.java (close): Declare as throwing
4821         IOException.
4822
4823 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4824
4825         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4826         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4827         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4828         "_JNI_OnLoad@8" (MSVC).
4829
4830 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4831
4832         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4833         convention on Win32 to invoke native JNI methods.
4834
4835 2003-02-03  Andrew Haley  <aph@redhat.com>
4836
4837         * configure.host (x86_64): Enable interpreter.
4838
4839 2003-02-03  Andrew Haley  <aph@redhat.com>
4840
4841         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4842         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4843         * configure.in (BACKTRACESPEC): New.
4844         * configure: Regenerate.
4845
4846 2003-02-02  Tom Tromey  <tromey@redhat.com>
4847
4848         * configure: Rebuilt.
4849         * configure.in (TOOLKIT) [xlib]: Set correctly.
4850
4851         * Makefile.in: Rebuilt.
4852         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4853         libstdc++.
4854
4855 2003-01-31  Mark WIelaard  <mark@klomp.org>
4856
4857         * Makefile.in: Rebuilt.
4858         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4859
4860 2003-01-31  Tom Tromey  <tromey@redhat.com>
4861
4862         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4863         cast to element type.
4864         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4865         (_Jv_JNI_GetObjectArrayElement): Likewise.
4866
4867         * Makefile.in: Rebuilt.
4868         * Makefile.am (cond_x_ltlibrary): Renamed library to
4869         lib-gnu-awt-xlib.la.
4870         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4871         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4872         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4873         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4874         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4875         (lib_gnu_awt_xlib_la_LINK): Likewise.
4876         (install-exec-hook): Removed.
4877         (lib-gnu-awt-xlib.la): Renamed.
4878
4879 2003-01-31  Tom Tromey  <tromey@redhat.com>
4880
4881         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4882         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4883         aclocal.m4 and lost in some merge.
4884
4885         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4886         Don't try to find graphics configuration.
4887         * java/awt/Toolkit.java (default_toolkit_name): Use new
4888         Configuration entry.
4889         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4890         New global.
4891         * configure: Rebuilt.
4892         * configure.in (TOOLKIT): New subst.
4893         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4894         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4895         directory.  Make output directories for .c files.
4896         * Makefile.in: Rebuilt.
4897         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4898         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4899         (all_java_source_files): Added new sources.
4900         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4901         (gtk_c_files): New macro.
4902         (gtk_c_source_files): New macro.
4903         (cond_gtk_ltlibrary): New macro.
4904         ($(gtk_c_files)): New target.
4905         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4906         (gtk_awt_peer_sources): New macro.
4907         (gtk_c_headers): New macro.
4908         ($(gtk_c_headers)): New target.
4909         (ACLOCAL_AMFLAGS): New macro.
4910         * gtk.m4, glib.m4, libart.m4: New files.
4911         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4912         gnu/java/awt/peer/gtk/GdkGraphics.java,
4913         gnu/java/awt/peer/gtk/GtkArg.java,
4914         gnu/java/awt/peer/gtk/GtkArgList.java,
4915         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4916         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4917         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4918         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4919         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4920         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4921         gnu/java/awt/peer/gtk/GtkClipboard.java,
4922         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4923         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4924         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4925         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4926         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4927         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4928         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4929         gnu/java/awt/peer/gtk/GtkImage.java,
4930         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4931         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4932         gnu/java/awt/peer/gtk/GtkListPeer.java,
4933         gnu/java/awt/peer/gtk/GtkMainThread.java,
4934         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4935         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4936         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4937         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4938         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4939         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4940         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4941         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4942         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4943         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4944         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4945         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4946         gnu/java/awt/peer/gtk/GtkToolkit.java,
4947         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4948         gnu/java/awt/peer/gtk/TestAWT.java,
4949         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4951         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4952         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4953         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4954         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4955         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4956         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4957         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4958         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4959         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4961         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4962         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4963         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4964         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4966         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4968         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4970         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4971         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4972         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4973         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4974         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4976         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4977         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4978         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4979         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4980         jni/classpath/native_state.c, jni/classpath/native_state.h,
4981         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4982
4983 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4984
4985         * java/util/Properties.java (load): Ignore backslash before EOF.
4986
4987 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4988
4989         * java/lang/natClass.cc (initializeClass): Check tables when
4990         (state == JV_STATE_IN_PROGRESS).
4991         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4992         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4993         interpreted classes.
4994         (linkClass0): Use _Jv_WaitForState.
4995
4996 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4997
4998         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4999         object when finished.
5000
5001 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5002
5003         * libjava/configure.host: Disable can_unwind_signal on darwin.
5004
5005 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5006
5007         Fixes PR java/9254:
5008         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5009         additionally containing id of the owner thread as well as
5010         the number of nested times the thread has acquired the mutex.
5011         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5012         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5013         (_Jv_MutexUnlock): Check if really the owner thread, reset
5014         owner thread id to 0 before leaving, if leaving for the last
5015         time.
5016         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5017         refcount.
5018         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5019         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5020         the passed mutex.
5021         Pass handle of the broadcast event, instead of a pointer to it
5022         in Win32 ResetEvent( ) call.
5023         Remove incorrect return values.
5024         (_Jv_CondDestroy): Close both event handles and delete
5025         critical section.
5026         (_Jv_CondNotify): Check if really the owner thread.
5027         (_Jv_CondNotifyAll): Check if really the owner thread.
5028         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5029         (really_start): Use SetEvent( ) to signal daemon_cond.
5030         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5031         WaitForSingleObject( ) instead to wait for daemon_cond to be
5032         signalled.
5033
5034 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5035
5036         * configure.in: Specifically define HAVE_BACKTRACE if building
5037         for MinGW.
5038         * include/win32.h: Remove HAVE_BACKTRACE definition.
5039         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5040         * configure: Rebuilt.
5041
5042 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5043
5044         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5045         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5046         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5047         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5048         * Makefile.in, configure: Rebuilt.
5049
5050 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5051
5052         Fixes PR java/9253:
5053         * java/io/natFileWin32.cc (performList): Append only "*.*"
5054         if the canonical file path already has a "\" at the end.
5055
5056 2003-01-24  Tom Tromey  <tromey@redhat.com>
5057
5058         * defineclass.cc (handleMethodsEnd): Precompute code for static
5059         method.
5060         (handleCodeAttribute): Likewise.
5061         * resolve.cc (ncode): Use run_class for unsynchronized static
5062         methods.
5063         * include/java-interp.h (class _Jv_InterpMethod): Declare
5064         run_class.
5065         * interpret.cc (run_synch_class): Initialize class.
5066         (run) [insn_invokestatic]: Don't initialize class.
5067         [insn_anewarray]: Likewise.
5068         [insn_multianewarray]: Likewise.
5069         (run_class): New function.
5070
5071 2003-01-24  Tom Tromey  <tromey@redhat.com>
5072
5073         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5074         comment.
5075
5076 2003-01-22  Andrew Haley  <aph@redhat.com>
5077
5078         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5079         * configure.host (CHECKREFSPEC): Define for x86_64.
5080
5081 2003-01-21  Tom Tromey  <tromey@redhat.com>
5082
5083         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5084         search at 2, not 3.
5085
5086 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5087
5088         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5089         looking at any characters.
5090         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5091         be used.
5092         (isAbsolute): Check path's length as well.
5093
5094 2003-01-17  Mark Wielaard  <mark@klomp.org>
5095
5096         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5097         (nat_source_files): Add natVMObjectStreamClass.cc.
5098         * Makefile.in: Regenerated.
5099         * gcj/javaprims.h (namespace java): Regenerated.
5100         * java/io/ObjectStreamClass.java (getClassUID): Call
5101         VMObjectStreamClass.hasClassInitializer().
5102         (hasClassInitializer): Removed.
5103         * java/io/VMObjectStreamClass.java: New class.
5104         * java/io/natVMObjectStreamClass.cc: New file.
5105         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5106
5107 2003-01-16  Mark Wielaard  <mark@klomp.org>
5108
5109         * java/net/SocketImpl.java (toString): Don't explicitly call
5110         toString() on possible null address.
5111
5112 2003-01-16  Michael Koch  <konqueror@gmx.de>
5113
5114         * java/net/MulticastSocket.java
5115         (setInterface): Reindented.
5116
5117 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5118
5119         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5120         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5121         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5122         translateY arguments.  Implement.
5123         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5124         down translation arguments.
5125         (drawPolyline, drawPolygon): Fix incorrect tests.
5126         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5127         translateX and translateY arguments.
5128
5129 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5130
5131         * Makefile.in: Rebuilt.
5132         * Makefile.am (xlib_includes): New macro.
5133         (INCLUDES): Use it.
5134
5135 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5136
5137         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5138         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5139         16-bit display mode.
5140
5141 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5142
5143         * java/awt/CardLayout.java (show): Rewrote.
5144         (gotoComponent): Removed `target' argument.  Simplified code.
5145         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5146         Changed all callers.
5147         (NONE): Removed.
5148         
5149 2003-01-14  Michael Koch  <konqueror@gmx.de>
5150
5151         * java/net/InetSocketAddress.java
5152         (serialVersionUID): New member variable.
5153         * java/net/NetPermission.java
5154         (NetPermission): Dont implement java.io.Serialization directly.
5155         * java/net/SocketAddress.java:
5156         (serialVersionUID): Documentation added.
5157         
5158 2003-01-14  Michael Koch  <konqueror@gmx.de>
5159
5160         * java/awt/Label.java
5161         (Label): Implements javax.accessibility.Accessible;
5162         * java/awt/List.java
5163         (List): Implements javax.accessibility.Accessible;
5164         * java/awt/ScrollPane.java
5165         (ScrollPane): Implements javax.accessibility.Accessible;
5166         * java/awt/Scrollbar.java
5167         (Scrollbar): Implements javax.accessibility.Accessible;
5168         * java/awt/TextComponent.java
5169         (setCaretPosition): Throw exception, documentation added.
5170         * java/awt/Toolkit.java:
5171         Added some newlines in method documentations.
5172         (createButton): Exception documentation added.
5173         (createTextField): Exception documentation added.
5174         (createLabel): Exception documentation added.
5175         (createList): Exception documentation added.
5176         (createCheckbox): Exception documentation added.
5177         (createScrollbar): Exception documentation added.
5178         (createScrollPane): Exception documentation added.
5179         (createTextArea): Exception documentation added.
5180         (createChoice): Exception documentation added.
5181         (createFrame): Exception documentation added.
5182         (createWindow): Exception documentation added.
5183         (createDialog): Exception documentation added.
5184         (createMenuBar): Exception documentation added.
5185         (createMenu): Exception documentation added.
5186         (createMenuItem): Exception documentation added.
5187         (createFileDialog): Exception documentation added.
5188         (createCheckboxMenuItem): Exception documentation added.
5189         (loadSystemColors): Exception documentation added.
5190         (setDynamicLayout): Exception documentation added.
5191         (isDynamicLayoutSet): Exception documentation added.
5192         (isDynamicLayoutActive): Exception documentation added.
5193         (getScreenSize): Exception documentation added.
5194         (getScreenResolution): Exception documentation added.
5195         (getScreenInsets): Exception documentation added.
5196         (getColorModel): Exception documentation added.
5197         (getSystemClipboard): Exception documentation added.
5198         (getSystemSelection): Exception documentation added.
5199         (getMenuShortcutKeyMask): Exception documentation added.
5200         (getSystemEventQueue): Exception documentation added.
5201         * java/awt/Window.java:
5202         Reindented some code.
5203         (Window): Centralized implementation, documentation added.
5204         (finalize): Documentation added.
5205         (hide): Fixed typo in comment.
5206         (getWindowListeners): Documentation added.
5207         * java/awt/color/ColorSpace.java
5208         (toRGB): Documentation added.
5209         * java/awt/color/ICC_ColorSpace.java
5210         (ICC_ColorSpace): Documentation added.
5211         (toRGB): Throw exception, documentation added.
5212         (fromRGB): Throw exception, documentation added.
5213         (toCIEXYZ): Documentation added.
5214         (fromCIEXYZ): Documentation added.
5215         (getMinValue): Documentation added.
5216         (getMaxValue): Documentation added.
5217         * java/awt/geom/Dimension2D.java
5218         (clone): Documentation added.
5219         * java/awt/geom/GeneralPath.java
5220         (clone): Documentation added.
5221         * java/awt/geom/Line2D.java
5222         (clone): Documentation added.
5223         * java/awt/geom/QuadCurve2D.java
5224         (clone): Documentation added.
5225         * java/awt/image/ColorModel.java
5226         (ColorModel): Throw exception, documentation added.
5227         * java/awt/image/ImageFilter.java
5228         (clone): Doesnt throw CloneNotSupportedException.
5229
5230 2003-01-14  Andrew Haley  <aph@redhat.com>
5231
5232         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5233         in a try block.
5234
5235 2003-01-10  Andrew Haley  <aph@redhat.com>
5236
5237         * include/dwarf2-signal.h: Remove x86_64.
5238         * configure.host (x86_64 DIVIDESPEC): Remove.
5239         * include/x86_64-signal.h: New file.
5240         * configure.in: Regenerate.
5241
5242 2003-01-10  Michael Koch  <konqueror@gmx.de>
5243
5244         * java/net/DatagramSocket.java
5245         (ch): Description added.
5246         (remotePort): Initialize with -1.
5247         (connect): Doesnt throws SocketException.
5248         * java/net/MulticastSocket.java
5249         (setInterface): Merge with Classpath.
5250         * java/net/ServerSocket.java
5251         (closed): New member variable.
5252         (bind): Check if socket is closed.
5253         (close): Close an associated channel too, set new value to closed.
5254         (isBound): Reindented.
5255         (isClosed): Implemented.
5256         * java/net/Socket.java
5257         (closed): New member variable.
5258         (bind): Check if socket is closed.
5259         (connect): Check if socket is closed.
5260         (close): Close an associated channel too, set new value to closed.
5261         (isClosed): Implemented.
5262
5263 2003-01-10  Michael Koch  <konqueror@gmx.de>
5264
5265         * java/awt/DisplayMode.java
5266         (equals): Fixed argument type and implementation.
5267
5268 2003-01-07  Tom Tromey  <tromey@redhat.com>
5269
5270         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5271         JV_HASH_SYNCHRONIZATION.
5272         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5273         JV_HASH_SYNCHRONIZATION.
5274
5275 2003-01-07  Michael Koch  <konqueror@gmx.de>
5276  
5277         * java/net/DatagramSocket.java:
5278         Added classpath license info.
5279         (DatagramSocket): Merged description with classpath.
5280         (close): Merged description with classpath.
5281         (getChannel): Merged description with classpath.
5282         (getInetAddress): Merged description with classpath.
5283         (getPort): Merged description with classpath.
5284         (getLocalAddress): Merged description with classpath.
5285         (getLocalPort): Merged description with classpath.
5286         (getSoTimeout): Merged description with classpath.
5287         (setSoTimeout): Merged description with classpath.
5288         (getSendBufferSize): Merged description with classpath.
5289         (setSendBufferSize): Merged description with classpath.
5290         (getReceiveBufferSize): Merged description with classpath.
5291         (setReceiveBufferSize): Merged description with classpath.
5292         
5293 2003-01-04  Tom Tromey  <tromey@redhat.com>
5294
5295         * java/awt/List.java: Merged with Classpath.
5296
5297 2003-01-03  Mark Wielaard  <mark@klomp.org>
5298
5299         * java/io/FileDescriptor.java (position): New private field.
5300         * java/io/natFileDescriptorPosix.cc (write): Up position.
5301         (setLength): Use and set position.
5302         (seek): Set position.
5303         (getFilePointer): Return position.
5304         (read): Up position.
5305
5306 2003-01-03  Mark Wielaard  <mark@klomp.org>
5307
5308         Merge with Classpath:
5309         * java/io/ObjectStreamClass.java (lookup): Split method and call
5310         lookupForClassObject().
5311         (lookupForClassObject): New method.
5312         (isProxyClass): New field.
5313         (setClass): Set isProxyClass, add object to classLookupTable, set
5314         superClass and calculateOffsets.
5315         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5316         and not a proxy class.
5317         (setFields): Set accessible true for serialPersistentFields.
5318         (getClassUID): Same for suid. And check if suid is of type long.
5319         (hasClassInitializer): Don't throw NoSuchMethodError.
5320
5321 2003-01-03  Mark Wielaard  <mark@klomp.org>
5322
5323         * java/io/FileInputStream.java (finalize): Don't explicitly
5324         finalize FileDescriptor.
5325
5326 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5327
5328         * configure.host (sparc*-*): Enable bytecode interpreter.
5329
5330 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5331
5332         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5333         Don't throw RemoteException.
5334         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5335         throw RemoteException.
5336
5337 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5338
5339         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5340         proxyHost): New static fields.
5341         (<clinit>): Initialize new fields.
5342         (connect): Use proxy if necessary.
5343         (usingProxy): Implement.
5344
5345 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5346
5347         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5348         (TreeIterator.remove): Prefer IllegalStateException over
5349         ConcurrentModificationException, to match Sun.
5350
5351 2002-12-22  Anthony Green  <green@redhat.com>
5352
5353         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5354
5355 2003-01-02  Mark Wielaard  <mark@klomp.org>
5356
5357         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5358         public.
5359         (HTTP_USE_PROXY): Add field.
5360         (getResponseVals): Only set responseCode when not yet explicitly
5361         set by subclass.
5362
5363 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5364             Mark Wielaard  <mark@klomp.org>
5365
5366         * java/util/zip/ZipFile.java (entries): Now HashMap.
5367         (readLeShort(DataInput, byte[])): Read from given byte array.
5368         (readLeInt(DataInput, byte[]): Likewise.
5369         (readLeShort(byte[] b, int off)): New method.
5370         (readLeInt(byte[] b, int off)): Likewise.
5371         (readEntries): Use byte arrays to read info in bigger chunks.
5372         (getEntries): Return HashMap.
5373         (getEntry): Use HashMap.
5374         (locBuf): New private field.
5375         (checkLocalHeader): Use locBuf to read info in one chunk.
5376         (getInputStream): Use entries HashMap, wrap PartialInputStream
5377         in BufferedInputStream.
5378         (ZipEntryEnumeration): Use HashMap and Interator.
5379
5380 2003-01-02  Mark Wielaard  <mark@klomp.org>
5381             Jeroen Frijters  <jeroen@sumatra.nl>
5382
5383         * java/net/URLClassLoader.java (Resource.getCodeSource):
5384         Fix check certs == null.
5385         (getCanonicalFileURL): Removed method.
5386         (JarURLLoader): Don't call removed method.
5387         (FileURLLoader): Likewise.
5388         (FileURLLoader.getResource): Don't canonicalize file name.
5389
5390 2003-01-01  Tom Tromey  <tromey@redhat.com>
5391
5392         * Makefile.in: Rebuilt.
5393         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5394         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5395         java/awt/BufferCapabilities.java, java/awt/Button.java,
5396         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5397         java/awt/Container.java, java/awt/Cursor.java,
5398         java/awt/EventQueue.java, java/awt/FileDialog.java,
5399         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5400         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5401         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5402         java/awt/Scrollbar.java, java/awt/TextArea.java,
5403         java/awt/TextField.java, java/awt/color/CMMException.java,
5404         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5405         java/awt/color/ProfileDataException.java,
5406         java/awt/datatransfer/Clipboard.java,
5407         java/awt/datatransfer/DataFlavor.java,
5408         java/awt/datatransfer/FlavorMap.java,
5409         java/awt/datatransfer/SystemFlavorMap.java,
5410         java/awt/dnd/DragGestureEvent.java,
5411         java/awt/dnd/DragGestureRecognizer.java,
5412         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5413         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5414         java/awt/im/InputMethodHighlight.java,
5415         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5416         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5417
5418         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5419         `op' to BufferedImageOp.
5420
5421 2002-12-31  Tom Tromey  <tromey@redhat.com>
5422
5423         Fix for PR libgcj/7416:
5424         * javax/naming/InitialContext.java (init): Use
5425         gnu.classpath.home.url.
5426         * java/security/Security.java: Use new properties.
5427         (loadProviders): Accept base url; use it.
5428         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5429         gnu.classpath.home.url.
5430         (gnu.classpath.home.url): Define.
5431         (gnu.classpath.vm.shortname): Likewise.
5432
5433 2002-12-31  Tom Tromey  <tromey@redhat.com>
5434             Ranjit Mathew  <rmathew@hotmail.com>
5435
5436         Fix for PR libgcj/8997:
5437         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5438         Include platform.h.
5439         * include/posix.h (_Jv_platform_usleep): New function.
5440         * include/win32.h (_Jv_platform_usleep): New function.
5441
5442 2002-12-29  Tom Tromey  <tromey@redhat.com>
5443
5444         * gcj/javaprims.h: Updated.
5445         * scripts/classes.pl (scan): Removed stray semicolon.
5446
5447 2002-12-30  Mark Wielaard  <mark@klomp.org>
5448
5449         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5450         if zero or smaller.
5451
5452 2002-12-30  Mark Wielaard  <mark@klomp.org>
5453
5454         * java/util/Properties (formatForOutput): Don't fall through to
5455         default case after escaping character.
5456
5457 2002-12-30  Mark Wielaard  <mark@klomp.org>
5458
5459         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5460         against count.
5461
5462 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5463
5464         * boehm.cc: Remove stray semicolon.
5465         * interpret.cc: Likewise.
5466         * prims.cc: Likewise.
5467         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5468         earlier to ensure default arguments are processed.
5469         * gcj/array.h (JArray): Add forward declaration.
5470         (elements): Likewise.
5471         * gcj/javaprim.h: Remove stray semicolons.
5472         * include/bohm-gc.h: Likewise.
5473         * include/jni.h: Likewise.
5474         * include/jvm.h: Likewise.
5475         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5476         
5477 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5478
5479         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5480         of catch_type.
5481         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5482         idt tables after initializing superclass.
5483         * java/lang/natClassLoader.cc (uaddr): New typedef.
5484         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5485         if they are constant pool indicies.  Don't link vtable, otable yet.
5486
5487 2002-12-21  Anthony Green  <green@redhat.com>
5488
5489         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5490         libraries.
5491         * Makefile.in: Rebuilt.
5492
5493 2002-12-19  Anthony Green  <green@redhat.com>
5494
5495         * Makefile.am (ordinary_java_source_files): Add
5496         org/xml/sax/helpers/NewInstance.java.
5497         * Makefile.in: Rebuilt.
5498         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5499         org/xml/sax/helpers/package.html: New files.
5500         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5501         http://www.saxproject.org.
5502
5503 2002-12-19  Andrew Haley  <aph@redhat.com>
5504
5505         * java/util/natResourceBundle.cc: Include
5506         ArrayIndexOutOfBoundsException.h.
5507         (getCallingClassLoader): Don't put upper bound on stack search.
5508         Catch ArrayIndexOutOfBoundsException.
5509
5510 2002-12-19  Tom Tromey  <tromey@redhat.com>
5511
5512         * libtool-version: Increased `current'.
5513
5514 2002-12-19  Tom Tromey  <tromey@redhat.com>
5515
5516         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5517         comment.
5518         * java/lang/ClassLoader.java (defineClass): Use chained
5519         exception when rethrowing.
5520         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5521         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5522         constants.
5523         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5524         (_Jv_PrepareClass): Use it.
5525         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5526         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5527         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5528         (Class): _Jv_PrepareMissingMethods now friend.
5529         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5530         Record `NULL' for system class loader.
5531         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5532         system class loader.
5533         (_Jv_FindClassInCache): Likewise.
5534         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5535         (_Jv_FindClass): Special case system class loader.
5536         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5537         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5538         vtable slots.
5539         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5540         in a final class.
5541         (_getDeclaredMethod): Don't return synthetic methods.
5542         (getDeclaredMethods): Likewise.
5543         (_getMethod): Likewise.
5544         (_getMethods): Likewise.
5545
5546 2002-12-18  Raif Naffah  <raif@fl.net.au>
5547
5548         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5549         canonical form after divide().
5550         (modInverse): Likewise.
5551
5552 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5553             Mark Wielaard  <mark@klomp.org>
5554
5555         * java/security/SecurityRandom (digest): Removed field.
5556         (SecureRandom): Check all providers for case-insensitive SecureRandom
5557         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5558         if necessary.
5559         (getInstance(String,Provider,boolean): New method.
5560         (getInstance(String)): Use new method.
5561         (getInstance(String,String)): Likewise.
5562         (getInstance(String,Provider)): Likewise.
5563
5564 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5565
5566         * java/security/Security.java (loadProviders): Increment i only once.
5567
5568 2002-12-12  Mark Wielaard  <mark@klomp.org>
5569
5570         * java/lang/ClassLoader.java (resolveClass0): Transform
5571         ClassNotFoundException to NoClassDefFoundError. Transform all other
5572         throwables to LinkageError.
5573
5574 2002-12-11  Tom Tromey  <tromey@redhat.com>
5575
5576         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5577
5578         * java/lang/ClassLoader.java (loadedClasses): New field.
5579         (defineClass): Fixed indentation.  Put new class in
5580         loadedClasses.
5581         (findLoadedClass): Implement here.
5582         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5583
5584 2002-12-10  Tom Tromey  <tromey@redhat.com>
5585
5586         * Makefile.in: Rebuilt.
5587         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5588         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5589         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5590         * java/lang/natClassLoader.cc
5591         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5592
5593 2002-12-10  Mark Wielaard  <mark@klomp.org>
5594             Tom Tromey  <tromey@redhat.com>
5595
5596         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5597         (JarURLLoader): Use it.
5598         (FileURLLoader): Likewise.
5599         (JarURLResource.getURL): Use chained exception.
5600         (FileResource.getURL): Likewise.
5601         (FileURLLoader.getResource): Use canonical file name.
5602         (addURL): Indentation fix.
5603
5604 2002-12-10  Tom Tromey  <tromey@redhat.com>
5605
5606         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5607         From Laurent Bardet <l.bardet@magic.fr>.
5608
5609 2002-12-09  Tom Tromey  <tromey@redhat.com>
5610
5611         * include/win32.h (_Jv_platform_solib_prefix): New define.
5612         (_Jv_platform_solib_suffix): Likewise.
5613         * include/posix.h (_Jv_platform_solib_prefix): New define.
5614         (_Jv_platform_solib_suffix): Likewise.
5615         * java/lang/natRuntime.cc: Include StackTrace.h.
5616         (_load): Use findLibrary and new platform defines.
5617         (nativeGetLibname): Use new platform defines.
5618
5619         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5620         `t' won't be null.
5621
5622 2002-12-08  Mark Wielaard  <mark@klomp.org>
5623
5624         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5625         cache remote jar files.
5626         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5627         add File.separator to URL when it is a directory.
5628         * java/lang/ClassLoader.java: Add Classpath javadoc.
5629         (parent): final.
5630         (getParent): Add (disabled) security check.
5631         (findLibrary): New default method.
5632         * java/net/JarURLConnection.java (getManifest): Implement.
5633         (getInputStream): Only create InputStream when entry exists.
5634         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5635         when they exist.
5636         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5637
5638 2002-12-08  Mark Wielaard  <mark@klomp.org>
5639
5640         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5641         (lastDefaultLocale): New field.
5642         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5643         resourceBundleCache.
5644
5645 2002-12-06  Mark Wielaard  <mark@klomp.org>
5646
5647         * java/net/InetAddress.java (toString): Use hostname when not null,
5648         don't do an explicit reverse getHostName() lookup.
5649         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5650         NullPointerException.
5651
5652 2002-12-06  Tom Tromey  <tromey@redhat.com>
5653
5654         * include/java-interp.h (class _Jv_InterpMethod): Added
5655         JV_MARKOBJ_DECL.
5656         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5657         mark `prepared' field of interpreted method.
5658         * interpret.cc (compile): Use _Jv_AllocBytes.
5659
5660 2002-12-05  Andrew Haley  <aph@redhat.com>
5661
5662         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5663         #ifdef (HAVE_BACKTRACE) around the whole function body.
5664
5665 2002-12-05  Tom Tromey  <tromey@redhat.com>
5666
5667         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5668         * resolve.cc: Don't include AbstractMethodError.h.
5669         (_Jv_abstractMethodError): Removed.
5670         * defineclass.cc (handleMethodsBegin): Initialize method index to
5671         -1.
5672         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5673         method index for "new" final method.
5674         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5675         isVirtualMethod.  Added `flags' argument.
5676         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5677         class.
5678
5679 2002-12-04  Tom Tromey  <tromey@redhat.com>
5680
5681         * java/net/SocketPermission.java (hashCode): Rewrote.
5682
5683 2002-12-04  Tom Tromey  <tromey@redhat.com>
5684
5685         * Makefile.in: Rebuilt.
5686         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5687         natResourceBundle.
5688         * java/util/ResourceBundle.java (Security): Removed.
5689         (getCallingClassLoader): Now native.
5690         * java/util/natResourceBundle.cc: New file.
5691         * java/lang/natVMSecurityManager.cc: New file.
5692         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5693
5694 2002-12-03  Mark Wielaard  <mark@klomp.org>
5695
5696         * java/util/jar/JarFile.java (manifest): Not final.
5697         (manifestRead): New field.
5698         (JarFile): Don't read Manifest in constructor.
5699         (getManifest): New method.
5700         (JarEnumeration.nextElement): Use new method.
5701         (getEntry): Likewise.
5702         * java/util/zip/ZipFile.java (name): Final.
5703         (raf): Likewsie.
5704         (entries): Change type to Hashtable.
5705         (closed): New field.
5706         (ZipFile): Don't read enties in constructor.
5707         (readEntries): Use Hashtable.
5708         (close): Set new close flag and set entries to null inside
5709         synchronized block.
5710         (entries): Contruct enumeration using new getEntries() method and
5711         entries Hashtable.
5712         (getEntryIndex): Removed.
5713         (getEntries): New method.
5714         (getEntry): Use new getEntries() method and entries Hastable.
5715         (getInputStream): Likewise.
5716         (size): Return getEntries().size().
5717         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5718         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5719         (time): Removed
5720         (dostime): New field.
5721         (zipFileIndex): Removed.
5722         (ZipEntry(ZipEntry)): Copy dostime.
5723         (setDOSTime): Now final and doesn't convert dos time.
5724         (getDOSTime): Likewise.
5725         (setTime): Convert dos time.
5726         (getTime): Likewise.
5727         (getCalendar): New method.
5728         (setExtra): Use setTime().
5729         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5730
5731 2002-12-03  Tom Tromey  <tromey@redhat.com>
5732
5733         * java/lang/Character.java (forDigit): Formatting fix.
5734
5735 2002-12-03  Raif Naffah  <raif@fl.net.au>
5736
5737         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5738         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5739         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5740
5741 2002-12-03  Andrew Haley  <aph@redhat.com>
5742
5743         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5744         _Jv_PushClass.
5745         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5746         (_Jv_PopClass): New.
5747         (_Jv_PushClass): New.
5748         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5749         discover the ClassLoader of our caller.
5750         (_Jv_CheckArrayStore): Don't check that a class is assignment
5751         compatible with Object.
5752         * java/lang/natVMTHrowable.cc: Delete.
5753         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5754         java.lang.VMThrowable.
5755         (StackTrace(), StackTrace(int)): New constructors.
5756         (classAt, methodAt, update, methodAtAddress): New methods.
5757         (map): New field.
5758         * java/lang/VMThrowable.java: Use StackTrace instead of
5759         natVMTHrowable.
5760         * java/lang/Class.h (getClassLoaderInternal): New.
5761         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5762         Be friendly with gnu::gcj::runtime::StackTrace.
5763         (Object.chain): New field.
5764         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5765         gnu::gcj::runtime::StackTrace.
5766         * gnu/gcj/runtime/natStackTrace.cc: New file.
5767         * gnu/gcj/runtime/MethodRef.java: New file.
5768         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5769         instead of getClassLoader().
5770         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5771         java::lang::VMThrowable.
5772         * Makefile.am (core_java_source_files): Add MethodRef.java,
5773         StackTrace.java.
5774         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5775         * Makefile.in: Rebuild.
5776
5777 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5778
5779         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5780         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5781         yes also for sh-linux* and sh[34]*-linux*.
5782         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5783         set SIGNAL_HANDLER to use DWARF2 exception for them.
5784         * configure: Regenerate.
5785
5786 2002-12-02  Tom Tromey  <tromey@redhat.com>
5787
5788         * jni.cc: Added `name' argument.
5789         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5790         `const char *' argument.
5791         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5792
5793 2002-12-01  Tom Tromey  <tromey@redhat.com>
5794
5795         Bug compatibility, for PR libgcj/8738:
5796         * java/io/CharArrayWriter.java (close): Do nothing.
5797         (flush): Likewise.
5798         (reset): Don't touch `closed'.
5799         (write(int)): Don't throw IOException.
5800         (write(char[],int,int)): Likewise.
5801         (write(String,int,int)): Likewise.
5802         (closed): Removed.
5803
5804 2002-12-01  Mark Wielaard  <mark@klomp.org>
5805
5806         * java/lang/SecurityManager.java: Remerge comments, indenting and
5807         checkXXX methods with Classpath.
5808
5809 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5810
5811         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5812         getNormalizedComponents): Fix calculation which was using one too
5813         many bits in the unnormalized format.
5814
5815 2002-11-29  Gary Benson  <gbenson@redhat.com>
5816
5817         For PR libgcj/8759:
5818         * java/beans/Introspector.java (flushCaches): New method.
5819         (flushFromCaches): Likewise.
5820
5821 2002-11-29  Michael Koch <konqueror@gmx.de>
5822
5823         * java/nio/channels/DatagramChannel.java
5824         (open): Added exception documentation.
5825         (write): Added exception documentation.
5826         (connect): Added exception documentation.
5827         (disconnect): Added exception documentation.
5828         (isConnected): Added exception documentation.
5829         (read): Added exception documentation.
5830         (receive): Added exception documentation.
5831         (send): Added exception documentation.
5832         (validOps): Added exception documentation.
5833         * java/nio/channels/SocketChannel.java
5834         (open): Added exception documentation.
5835         (read): Added exception documentation.
5836         (write): Added exception documentation.
5837         (connect): Added exception documentation.
5838         (finishConnect): Added exception documentation.
5839
5840 2002-11-29  Michael Koch <konqueror@gmx.de>
5841
5842         * gnu/java/nio/DatagramChannelImpl:
5843         (fd): New member variable to store file descriptor of socket.
5844         * gnu/java/nio/SelectionKeyImpl.java:
5845         (ops): Removed.
5846         (readyOps): New member variable.
5847         (interestOps): New member variable.
5848         (readyOps): Implemented.
5849         (readyOps): New method to set member variable readyOps.
5850         (interestOps): Replaced ops by interestOps.
5851         * gnu/java/nio/SelectorImpl.java:
5852         (SelectorImpl): Initialize key sets.
5853         (select): Call select with -1 instead of Long.MAX_VALUE).
5854         (java_do_select): Make it a native method.
5855         (getFDsAsArray): New helper method.
5856         (select): Remove canceled keys, give only interested file discriptors
5857         to java_do_select, set ready ops.
5858         (add): No need to initialize keys set here.
5859         (add_selected): No need to initialize selected set here.
5860         (deregisterCanceledKeys): New helper method.
5861         (register): Set interest ops, set attachments, added handling of datagram
5862         channels.
5863         * gnu/java/nio/ServerSocketChannelImpl:
5864         (SocketAccept): Renamed from NioSocketAccept.
5865         (implConfigureBlocking): Implemented.
5866         (accept): Use SocketAccept instead of NioSocketAccept.
5867         * gnu/java/nio/SocketChannelImpl:
5868         Reactivate native methods.
5869
5870 2002-11-29  Michael Koch <konqueror@gmx.de>
5871
5872         * gnu/java/nio/natByteBufferImpl.cc,
5873         gnu/java/nio/natCharBufferImpl.cc,
5874         gnu/java/nio/natDoubleBufferImpl.cc,
5875         gnu/java/nio/natFloatBufferImpl.cc,
5876         gnu/java/nio/natIntBufferImpl.cc,
5877         gnu/java/nio/natLongBufferImpl.cc,
5878         gnu/java/nio/natSelectorImpl.cc,
5879         gnu/java/nio/natServerSocketChannelImpl.cc,
5880         gnu/java/nio/natShortBufferImpl.cc,
5881         gnu/java/nio/natSocketChannelImpl.cc:
5882         New files that implement native functionalities.
5883
5884 2002-11-29  Michael Koch <konqueror@gmx.de>
5885
5886         * gnu/java/nio/ByteBufferImpl.java
5887         (ByteBufferImpl): Moved position() after limit.
5888         (nio_*): Use native implementation.
5889         * gnu/java/nio/CharBufferImpl.java:
5890         Reformated.
5891         (endian): New member variable string endianess of buffer.
5892         (CharBufferImpl): Moved position() after limit.
5893         (nio_*): Use native implementation.
5894         (subSequence): Implemented.
5895         * gnu/java/nio/DoubleBufferImpl.java
5896         (DoubleBufferImpl): Moved position() after limit.
5897         (nio_*): Use native implementation.
5898         * gnu/java/nio/FloatBufferImpl.java
5899         Reformated.
5900         (FloatBufferImpl): Moved position() after limit.
5901         (nio_*): Use native implementation.
5902         * gnu/java/nio/IntBufferImpl.java
5903         Added needed imports, Reformated.
5904         (IntBufferImpl): Moved position() after limit.
5905         (nio_*): Use native implementation.
5906         * gnu/java/nio/LongBufferImpl.java
5907         Reformated.
5908         (LongBufferImpl): Moved position() after limit.
5909         (nio_*): Use native implementation.
5910         * gnu/java/nio/ShortBufferImpl.java
5911         Reformated.
5912         (ShortBufferImpl): Moved position() after limit.
5913         (nio_*): Use native implementation.
5914
5915 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5916
5917         * java/util/Locale.java (toString): Improve efficiency if country
5918         and variant are both empty.
5919
5920 2002-11-26  Tom Tromey  <tromey@redhat.com>
5921
5922         * verify.cc (pop_init_ref): New method.
5923         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5924         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5925         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5926         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5927         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5928         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5929         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5930         let `this' argument be uninitialized.  Don't let `null' be passed
5931         as `this' to construtor.
5932
5933 2002-11-26  Mark Wielaard  <mark@klomp.org>
5934
5935         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5936         * javax/transaction/HeuristicMixedException.java: Likewise.
5937         * javax/transaction/HeuristicRollbackException.java: Likewise.
5938         * javax/transaction/InvalidTransactionException.java: Likewise.
5939         * javax/transaction/NotSupportedException.java: Likewise.
5940         * javax/transaction/RollbackException.java: Likewise.
5941         * javax/transaction/Status.java: Likewise.
5942         * javax/transaction/Synchronization.java: Likewise.
5943         * javax/transaction/SystemException.java: Likewise.
5944         * javax/transaction/Transaction.java: Likewise.
5945         * javax/transaction/TransactionManager.java: Likewise.
5946         * javax/transaction/TransactionRequiredException.java: Likewise.
5947         * javax/transaction/TransactionRolledbackException.java: Likewise.
5948         * javax/transaction/UserTransaction.java: Likewise.
5949         * javax/transaction/xa/XAException.java: Likewise.
5950         * javax/transaction/xa/XAResource.java: Likewise.
5951         * javax/transaction/xa/Xid.java: Likewise.
5952
5953 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5954
5955         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5956         define.
5957         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5958         * include/posix.h (socklen_t): Define if not already defined.
5959
5960 2002-11-25  Tom Tromey  <tromey@redhat.com>
5961
5962         * verify.cc (type::compatible): Backed out broken change.
5963
5964         * verify.cc (type::compatible): Check initialization status
5965         first.
5966         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5967         Don't use NULLCHECK.
5968
5969 2002-11-23  H.J. Lu <hjl@gnu.org>
5970
5971         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5972         Include ../config/accross.m4.
5973         * aclocal.m4; Rebuild.
5974         * configure: Likewise.
5975
5976 2002-11-23  Mark Wielaard  <mark@klomp.org>
5977
5978         * javax/naming/AuthenticationException.java: Update copyright header.
5979         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5980         * javax/naming/Binding.java: Likewise.
5981         * javax/naming/CannotProceedException.java: Likewise.
5982         * javax/naming/CommunicationException.java: Likewise.
5983         * javax/naming/CompositeName.java: Likewise.
5984         * javax/naming/CompoundName.java: Likewise.
5985         * javax/naming/ConfigurationException.java: Likewise.
5986         * javax/naming/Context.java: Likewise.
5987         * javax/naming/ContextNotEmptyException.java: Likewise.
5988         * javax/naming/InitialContext.java: Likewise.
5989         * javax/naming/InsufficientResourcesException.java: Likewise.
5990         * javax/naming/InterruptedNamingException.java: Likewise.
5991         * javax/naming/LimitExceededException.java: Likewise.
5992         * javax/naming/LinkException.java: Likewise.
5993         * javax/naming/LinkLoopException.java: Likewise.
5994         * javax/naming/LinkRef.java: Likewise.
5995         * javax/naming/MalformedLinkException.java: Likewise.
5996         * javax/naming/NameAlreadyBoundException.java: Likewise.
5997         * javax/naming/NameClassPair.java: Likewise.
5998         * javax/naming/NameNotFoundException.java: Likewise.
5999         * javax/naming/NameParser.java: Likewise.
6000         * javax/naming/NamingEnumeration.java: Likewise.
6001         * javax/naming/NamingSecurityException.java: Likewise.
6002         * javax/naming/NoInitialContextException.java: Likewise.
6003         * javax/naming/NoPermissionException.java: Likewise.
6004         * javax/naming/NotContextException.java: Likewise.
6005         * javax/naming/OperationNotSupportedException.java: Likewise.
6006         * javax/naming/PartialResultException.java: Likewise.
6007         * javax/naming/Reference.java: Likewise.
6008         * javax/naming/Referenceable.java: Likewise.
6009         * javax/naming/ReferralException.java: Likewise.
6010         * javax/naming/ServiceUnavailableException.java: Likewise.
6011         * javax/naming/SizeLimitExceededException.java: Likewise.
6012         * javax/naming/TimeLimitExceededException.java: Likewise.
6013         * javax/naming/directory/Attribute.java: Likewise.
6014         * javax/naming/directory/AttributeInUseException.java: Likewise.
6015         * javax/naming/directory/AttributeModificationException.java: Likewise.
6016         * javax/naming/directory/Attributes.java: Likewise.
6017         * javax/naming/directory/BasicAttribute.java: Likewise.
6018         * javax/naming/directory/BasicAttributes.java: Likewise.
6019         * javax/naming/directory/DirContext.java: Likewise.
6020         * javax/naming/directory/InitialDirContext.java: Likewise.
6021         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6022         Likewise.
6023         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6024         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6025         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6026         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6027         * javax/naming/directory/ModificationItem.java: Likewise.
6028         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6029         * javax/naming/directory/SchemaViolationException.java: Likewise.
6030         * javax/naming/directory/SearchControls.java: Likewise.
6031         * javax/naming/directory/SearchResult.java: Likewise.
6032         * javax/naming/event/EventContext.java: Likewise.
6033         * javax/naming/event/EventDirContext.java: Likewise.
6034         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6035         * javax/naming/event/NamingEvent.java: Likewise.
6036         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6037         * javax/naming/event/NamingListener.java: Likewise.
6038         * javax/naming/event/ObjectChangeListener.java: Likewise.
6039         * javax/naming/ldap/Control.java: Likewise.
6040         * javax/naming/ldap/ControlFactory.java: Likewise.
6041         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6042         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6043         * javax/naming/ldap/HasControls.java: Likewise.
6044         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6045         * javax/naming/ldap/LdapContext.java: Likewise.
6046         * javax/naming/ldap/LdapReferralException.java: Likewise.
6047         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6048         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6049         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6050         * javax/naming/spi/DirObjectFactory.java: Likewise.
6051         * javax/naming/spi/DirStateFactory.java: Likewise.
6052         * javax/naming/spi/DirectoryManager.java: Likewise.
6053         * javax/naming/spi/InitialContextFactory.java: Likewise.
6054         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6055         * javax/naming/spi/NamingManager.java: Likewise.
6056         * javax/naming/spi/ObjectFactory.java: Likewise.
6057         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6058         * javax/naming/spi/ResolveResult.java: Likewise.
6059         * javax/naming/spi/Resolver.java: Likewise.
6060         * javax/naming/spi/StateFactory.java: Likewise.
6061
6062         * javax/naming/spi/NamingManager.java (ofb): Package private.
6063
6064 2002-11-21  Mark Wielaard  <mark@klomp.org>
6065
6066         * java/net/URL.java: Merge with Classpath (partly).
6067         * java/net/URLStreamHandler: Merge with Classpath.
6068
6069 2002-11-22  Michael Koch <konqueror@gmx.de>
6070
6071         * include/posix.h:
6072         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6073         * include/win32.h:
6074         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6075         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6076
6077 2002-11-21  Michael Koch <konqueror@gmx.de>
6078
6079         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6080         Only the new network functions should be in it.
6081
6082 2002-11-21  Michael Koch <konqueror@gmx.de>
6083
6084         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6085         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6086
6087 2002-11-21  Michael Koch <konqueror@gmx.de>
6088
6089         * java/nio/channels/AsynchronousCloseException.java,
6090         java/nio/channels/CancelledKeyException.java,
6091         java/nio/channels/ClosedByInterruptException.java,
6092         java/nio/channels/ConnectionPendingException.java,
6093         java/nio/channels/FileLockInterruptionException.java,
6094         java/nio/channels/IllegalSelectorException.java,
6095         java/nio/channels/NoConnectionPendingException.java,
6096         java/nio/channels/NonReadableChannelException.java,
6097         java/nio/channels/NonWritableChannelException.java,
6098         java/nio/channels/NotYetBoundException.java,
6099         java/nio/channels/NotYetConnectedException.java,
6100         java/nio/channels/OverlappingFileLockException.java,
6101         java/nio/channels/UnresolvedAddressException.java,
6102         java/nio/channels/UnsupportedAddressTypeException.java:
6103         New files.
6104         * Makefile.am (ordinary_java_source_files): Added new files.
6105         * Makefile.in: Regenerated.
6106
6107 2002-11-21  Michael Koch <konqueror@gmx.de>
6108
6109         * include/posix.h
6110         (_Jv_socket): New method.
6111         (_Jv_connect): New method.
6112         (_Jv_close): New method.
6113         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6114         (_Jv_bind): New method.
6115         (_Jv_listen): New method.
6116         (_Jv_write): New method.
6117         (_Jv_read): New method.
6118         * include/win32.h
6119         (_Jv_socket): New method.
6120         (_Jv_connect): New method.
6121         (_Jv_close): New method.
6122         (_Jv_bind): New method.
6123         (_Jv_listen): New method.
6124         (_Jv_write): New method.
6125         (_Jv_read): New method.
6126         * java/net/natNetworkInterface.cc:
6127         Include platform.h, removed inclusion of socket.h
6128         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6129         ::close() by _Jv_close().
6130         * java/net/natPlainDatagramSocketImpl.cc:
6131         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6132         added some new lines to make code more readable.
6133         (create): Replaced ::socket() by _Jv_socket().
6134         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6135         * java/net/natPlainSocketImpl.cc:
6136         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6137         removed include of socket.h, removed some windows defines
6138         (now in include/win32.h).
6139         (create): Replaced ::socket() by _Jv_socket().
6140         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6141         (write): Replaced ::read by _Jv_write().
6142         (read): Replaced ::read by _Jv_read().
6143
6144 2002-11-20  Michael Koch <konqueror@gmx.de>
6145
6146         * Makefile.am (ordinary_java_source_files):
6147         Added java/nio/channels/FileChannel.java.
6148         * Makefile.in: Regenerated.
6149
6150 2002-11-20  Michael Koch <konqueror@gmx.de>
6151
6152         * java/io/FileInputStream.java
6153         (getChannel): New method.
6154         * java/io/FileOutputStream.java
6155         (getChannel): New method.
6156         * java/net/ServerSocket.java
6157         (bind): Removed duplicate code and called another bind method instead.
6158         * java/nio/channels/SelectionKey.java
6159         (isValid): Removed wrong exception documentation.
6160         * java/nio/channels/ServerSocketChannel.java
6161         (accept): Added exception documentation.
6162         (open): Fixed typo, added exception documentation.
6163         * java/nio/channels/spi/AbstractSelectableChannel.java
6164         (implCloseChannel): Added exception documentation.
6165         (add): Reformated.
6166         (register): Added exception documentation.
6167
6168 2002-11-20  Andreas Jaeger  <aj@suse.de>
6169
6170         * configure: Regenerated with new libtool.m4.
6171
6172 2002-11-19  Tom Tromey  <tromey@redhat.com>
6173
6174         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6175         `referent'.
6176         (finalize_referred_to_object): Don't modify `referent' or `copy'
6177         fields.
6178         (add_to_hash): Correctly set `n->next' when updating list.
6179         * java/lang/ref/Reference.java (enqueue): Return false if already
6180         enqueued.
6181
6182 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6183
6184         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6185         to function and function pointer declarations in accordance with
6186         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6187         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6188         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6189         JNI function definitions.
6190
6191 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6192
6193         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6194         that was causing CoderResults to be cached, not WeakReferences
6195         to CoderResults.
6196
6197 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6198
6199         * java/security/KeyStore.java (getInstance): Fix
6200         comment and throw IllegalArgumentException if
6201         given provider is null.
6202         (getInstance): New method for jdk1.4 compatibility.
6203
6204 2002-11-18  Michael Koch <konqueror@gmx.de>
6205
6206         * java/net/PlainSocketImpl.java: Fix imports.
6207
6208 2002-11-18  Michael Koch <konqueror@gmx.de>
6209
6210         * java/nio/channels/SelectionKey.java
6211         (isValid): Added exception documentation.
6212         * java/nio/channels/Selector.java
6213         (open): Declare "throws IOException".
6214
6215 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6216
6217         * java/nio/charset/Charset.java
6218         (<clinit>): New method.
6219         (encode): Synchronize use of cached encoder object.
6220         (decode): Synchronize use of cached encoder object.
6221
6222 2002-11-18  Michael Koch <konqueror@gmx.de>
6223
6224         * gnu/java/nio/ByteBufferImpl.java,
6225         gnu/java/nio/CharBufferImpl.java,
6226         gnu/java/nio/DatagramChannelImpl.java,
6227         gnu/java/nio/DoubleBufferImpl.java,
6228         gnu/java/nio/FileChannelImpl.java,
6229         gnu/java/nio/FloatBufferImpl.java,
6230         gnu/java/nio/IntBufferImpl.java,
6231         gnu/java/nio/LongBufferImpl.java,
6232         gnu/java/nio/PipeImpl.java,
6233         gnu/java/nio/SelectionKeyImpl.java,
6234         gnu/java/nio/SelectorImpl.java,
6235         gnu/java/nio/SelectorProviderImpl.java,
6236         gnu/java/nio/ServerSocketChannelImpl.java,
6237         gnu/java/nio/ShortBufferImpl.java,
6238         gnu/java/nio/SocketChannelImpl.java,
6239         java/nio/DoubleBuffer.java,
6240         java/nio/FloatBuffer.java,
6241         java/nio/IntBuffer.java,
6242         java/nio/LongBuffer.java,
6243         java/nio/ShortBuffer.java,
6244         java/nio/channels/FileChannel.java: New files.
6245
6246 2002-11-18  Michael Koch <konqueror@gmx.de>
6247
6248         * Makefile.am (ordinary_java_source_files):
6249         Added java/nio/ReadOnlyBufferException.java and
6250         java/nio/channels/ClosedSelectorException.java.
6251         * Makefile.in: Regenerated.
6252
6253 2002-11-18  Michael Koch <konqueror@gmx.de>
6254
6255         * java/net/PlainSocketImpl.java: Reworked imports.
6256         * java/net/ServerSocket.java
6257         (ServerSocket): Create socket.
6258         * java/net/SocketAddress.java: Documentation added.
6259         * java/net/natPlainSocketImpl.cc: Reindented.
6260         * java/nio/ReadOnlyBufferException.java: New file
6261         * java/nio/channels/ClosedChannelException.java: Documentation added.
6262         * java/nio/channels/ClosedSelectorException.java: New file.
6263
6264 2002-11-17  Mark Wielaard  <mark@klomp.org>
6265
6266         * java/net/HttpURLConnection.java ((getPermission): Take port
6267         into consideration.
6268         (getErrorStream): Implement.
6269
6270 2002-11-17  Mark Wielaard  <mark@klomp.org>
6271
6272         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6273
6274 2002-11-16  Mark Wielaard  <mark@klomp.org>
6275
6276         Integrate work by Raif S. Naffah (raif@fl.net.au)
6277         * java/security/DummyKeyPairGenerator.java (clone): New method.
6278         * java/security/DummyMessageDigest.java (clone): New method.
6279         (engineUpdate): Now public.
6280         (engineReset): Likewise.
6281         (engineDigest): Likewise.
6282         (engineGetDigestLength): New method.
6283         * java/security/DummySignature.java (clone): New method.
6284         * java/security/KeyPairGenerator.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         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6289         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6290         * java/security/MessageDigest.java (provider): Now package private.
6291         (getInstance(String): Use getInstance(String,Provider).
6292         (getInstance(String,String): Use getInstance(String,Provider)
6293         (getInstance(String,Provider): New method.
6294         * java/security/Provider.java (toCanonicalKey): New method.
6295         (get): New method that uses toCanonicalKey().
6296         (put): Use toCanonicalKey().
6297         (remove): Likewise.
6298         * java/security/Security.java (insertProviderAt): Provider index is one
6299         based, not zero based.
6300         (addProvider): Likewise.
6301         (removeProvider): Likewise.
6302         * java/security/Signature.java (provider): Now package private.
6303         (getInstance(String)): Use getInstance(String,Provider).
6304         (getInstance(String,String): Use getInstance(String,Provider)
6305         (getInstance(String,Provider): New method.
6306         (getInstance(String,String,Provider): Don't cast DummySignature.
6307
6308 2002-11-15  Tom Tromey  <tromey@redhat.com>
6309
6310         For PR libgcj/8593:
6311         * java/util/zip/GZIPInputStream.java (read): Check file size.
6312         Look in inflater for remaining input bytes.
6313         (read4): Added buf and offset arguments.
6314
6315 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6316
6317         * java/applet/AppletContext.java: Fix typo and remove redundant
6318         modifiers.
6319
6320 2002-11-14  Tom Tromey  <tromey@redhat.com>
6321
6322         * java/lang/natRuntime.cc (insertSystemProperties): Set
6323         gnu.classpath.home.
6324
6325 2002-11-13  Michael Koch <konqueror@gmx.de>
6326
6327         * java/nio/ByteBuffer.java
6328         (allocate): New method.
6329         (wrap): New method.
6330         (put): New method.
6331         (get): New method.
6332
6333 2002-11-13  Michael Koch <konqueror@gmx.de>
6334
6335         * java/nio/channels/AlreadyConnectedException.java:
6336         Removed unneeded import.
6337         (AlreadyConnectedException): Documentation added.
6338         * java/nio/channels/Pipe.java
6339         (SinkChannel.SinkChannel): Documentation added.
6340         (SinkChannel.validOps): New method.
6341         (SourceChannel.SourceChannel): Documentation added.
6342         (SourceChannel.validOps): New method.
6343         (Pipe): Documentation added.
6344         (open): Documentation added.
6345         (SinkChannel.channel): Documentation added.
6346         (SourceChannel.channel): Documentation added.
6347         * java/nio/channel/SelectableChannel.java
6348         (SelectableChannel): Documentation added.
6349         (blockingLock): Documentation added.
6350         (configureBlocking):Documentation added.
6351         (isBlocking):Documentation added.
6352         (isRegistered):Documentation added.
6353         (keyFor):Documentation added.
6354         (provider):Documentation added.
6355         (register): Documentation added.
6356         (validOps): Documentation added.
6357         * jaba/nio/channels/SelectionKey.java
6358         (SelectionKey): Documentation added.
6359         (attach): Documentation added.
6360         (attachment): Documentation added.
6361         (isAcceptable): Documentation added.
6362         (isConnetable): Documentation added.
6363         (isReadable): Documentation added.
6364         (isWritable): Documentation added.
6365         (cancel): Documentation added.
6366         (channel): Documentation added.
6367         (interestOps): Documentation added.
6368         (isValid): Documentation added.
6369         (readyOps): Documentation added.
6370         (selector): Documentation added.
6371         * jaba/nio/channels/Selector.java
6372         (Selector): Documentation added.
6373         (open): Documentation added.
6374         (close): Documentation added.
6375         (isOpen): Documentation added.
6376         (keys): Documentation added.
6377         (provider): Documentation added.
6378         (select): Documentation added.
6379         (selectedKeys): Documentation added.
6380         (selectNow): Documentation added.
6381         (wakeup): Documentation added.
6382         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6383         (AbstractInterruptibleChannel): Documentation added.
6384         (opened): Default to true;
6385         (begin): Documentation added.
6386         (close): Set opened to false, documentation added.
6387         (isOpen): Documentation added.
6388         * java/nio/channels/spi/AbstractSelectionKey.java
6389         (AbstractSelectionKey): Documentation added.
6390         (cancel): Documentation added.
6391         (isValid): Documentation added.
6392         * java/nio/channels/spi/AbstractSelector.java
6393         (AbstractSelector): Documentation added.
6394         (begin): Documentation added.
6395         (close): Documentation added.
6396         (isOpen): Documentation added.
6397         (deregister): Documentation added.
6398         (end): Documentation added.
6399         (provider): Documentation added.
6400         (implCloseSelector): Documentation added.
6401         (register): Documentation added.
6402         * java/nio/channels/spi/SelectorProvider.java
6403         (SelectorProvider): Documentation added.
6404         (openDatagramChannel): Documentation added.
6405         (openPipe): Documentation added.
6406         (openSelector): Documentation added.
6407         (openServerSocketChannel): Documentation added.
6408         (openSocketChannel): Documentation added.
6409         (provider): Documentation added.
6410
6411 2002-11-12  Michael Koch <konqueror@gmx.de>
6412
6413         * java/nio/Buffer.java: Implemented.
6414         * java/nio/CharBuffer.java: New file.
6415         * java/nio/InvalidMarkException.java: New file.
6416         * java/nio/channels/DatagramChannel.java: Implemented.
6417         * java/nio/channels/ServerSocketChannel.java: Implemented.
6418         * java/nio/channels/SocketChannel.java: Implemented.
6419         * java/nio/channels/spi/AbstractChannel.java: Removed.
6420         * java/nio/channels/spi/AbstractSelectableChannel.java:
6421         Implemented.
6422         * java/nio/charset/Charset.java:
6423         Merge from Classpath.
6424         * java/nio/charset/CharsetDecoder.java: New file.
6425         * java/nio/charset/CharsetEncoder.java: New file.
6426         * java/nio/charset/CoderResult.java: New file.
6427         * Makefile.am (ordinary_java_source_files): Added new files.
6428         * Makefile.in: Regenerated.
6429
6430 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6431
6432         * gnu/java/nio/charset/ISO_8859_1.java,
6433         gnu/java/nio/charset/Provider.java,
6434         gnu/java/nio/charset/US_ASCII.java,
6435         gnu/java/nio/charset/UTF_16.java,
6436         gnu/java/nio/charset/UTF_16BE.java,
6437         gnu/java/nio/charset/UTF_16Decoder.java,
6438         gnu/java/nio/charset/UTF_16Encoder.java,
6439         gnu/java/nio/charset/UTF_16LE.java,
6440         gnu/java/nio/charset/UTF_8.java: New files.
6441
6442 2002-11-11  Michael Koch <konqueror@gmx.de>
6443
6444         * java/nio/charset/CharacterCodingException.java:
6445         This class must be public.
6446         * java/nio/charset/CoderMalfunctionError.java:
6447         This class must be public.
6448         * java/nio/charset/CodingErrorAction.java:
6449         This class must be public.
6450         * java/nio/charset/IllegalCharsetNameException.java:
6451         This class must be public, better implementation.
6452         * java/nio/charset/MalformedInputException.java:
6453         This class must be public, better implementation.
6454         * java/nio/charset/UnmappableCharacterException.java:
6455         This class must be public, better implementation.
6456         * java/nio/charset/UnsupportedCharsetException.java:
6457         This class must be public, better implementation.
6458
6459 2002-11-11  Michael Koch <konqueror@gmx.de>
6460
6461         * java/nio/BufferOverflowException.java,
6462         java/nio/BufferUnderflowException.java: New file.
6463         * Makefile.am (ordinary_java_source_files):
6464         Added new files.
6465         * Makefile.in: Regenerated.
6466
6467 2002-11-10  Tom Tromey  <tromey@redhat.com>
6468
6469         * java/awt/Container.java (validate): Use tree lock.
6470         (getComponent): Likewise.
6471         (getComponents): Likewise.
6472         (addImpl): Likewise.
6473         (remove): Likewise.
6474         (removeAll): Likewise.
6475         (processEvent): Fixed indentation.
6476         (getComponentAt): Use tree lock.
6477         (findComponentAt): Likewise.
6478         (removeNotify): Likewise.
6479         (isAncestorOf): Likewise.
6480         (list): Likewise.
6481         (visitChildren): Likewise.
6482         (findNextFocusComponent): Likewise.
6483         (addNotifyContainerChildren): Likewise.
6484         (getAccessibleChildrenCount): Likewise.
6485         (getAccessibleChild): Likewise.
6486
6487         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6488         (getSize): Likewise.
6489         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6490         (getSize): Likewise.
6491         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6492         (calcSize): Likewise.
6493         * java/awt/CardLayout.java (getSize): Use tree lock.
6494         (gotoComponent): Likewise.
6495         (layoutContainer): Likewise.
6496
6497         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6498         count is 0.
6499         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6500         count is 0.
6501
6502         * java/io/Externalizable.java, java/io/FilePermission.java,
6503         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6504         java/io/SerializablePermission.java, java/text/Format.java,
6505         java/util/AbstractMap.java, java/util/HashMap.java,
6506         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6507         versions from Classpath.
6508
6509 2002-11-10  Anthony Green  <green@redhat.com>
6510
6511         * java/util/jar/Attributes.java (Name): Fix name check.
6512
6513 2002-11-10  Mark Wielaard  <mark@klomp.org>
6514
6515         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6516         with getName() as message.
6517         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6518         type as message.
6519
6520         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6521         unused.
6522
6523 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6524
6525         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6526         for Win32. JNICALL has been defined to __stdcall to be compatible
6527         with Sun's JDKs.
6528
6529 2002-11-10  Tom Tromey  <tromey@redhat.com>
6530
6531         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6532         (setRows): Check newRows, not rows.
6533
6534         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6535
6536 2002-11-09  Tom Tromey  <tromey@redhat.com>
6537
6538         * java/applet/Applet.java, java/applet/AppletContext.java,
6539         java/applet/AppletStub.java, java/applet/AudioClip.java,
6540         java/awt/CardLayout.java,
6541         java/awt/ContainerOrderFocusTraversalPolicy.java,
6542         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6543         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6544         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6545         java/awt/color/ICC_ColorSpace.java,
6546         java/awt/color/ICC_Profile.java,
6547         java/awt/color/ICC_ProfileGray.java,
6548         java/awt/color/ICC_ProfileRGB.java,
6549         java/awt/datatransfer/DataFlavor.java,
6550         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6551         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6552         New versions from Classpath.
6553         * Makefile.in: Rebuilt.
6554         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6555         ICC_ProfileRGB.
6556
6557         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6558         display policy.
6559
6560         * java/awt/List.java (processEvent): Added missing `else's.
6561
6562         * java/awt/Window.java (show): validate() before showing.  Make
6563         parent displayable.
6564         (isDisplayable): New method.
6565
6566 2002-11-07  Mark Wielaard  <mark@klomp.org>
6567
6568         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6569         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6570
6571         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6572         annotation.
6573         (loadClass): Take String as codebases.
6574         (getClassAnnotation): Use MyClassLoader annotations.
6575         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6576         call exportObject(this).
6577
6578         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6579         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6580         (setAnnotation): Don't set locBytesStream and locStream.
6581         (replaceObject): Removed.
6582         (flush): Don't test locStream.
6583         (getLocBytes): LikeWise.
6584         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6585         (leaseCache): New field.
6586         (dirty): Use leaseCache.
6587         (LeaseRecord): New inner class.
6588         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6589         explicitly call exportObject().
6590         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6591         false to communicate with Sun JDK130.
6592         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6593         * gnu/java/rmi/server/RMIObjectInputStream.java
6594         (UnicastConnectionManager): Removed field.
6595         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6596         Use UnicastServer.getExportedRef().
6597         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6598         (expireTime): Likewise.
6599         (CONNECTION_TIMEOUT): Likewise.
6600         (disconnect): Call sock.close().
6601         (isExpired): New method.
6602         (resetTime): Likewise.
6603         (run): Use do while loop and catch Exception for discardConnection().
6604         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6605         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6606         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6607         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6608         (exportObject): Use refcache.
6609         (unexportObject): Likewise.
6610         (getExportedRef): New method.
6611         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6612         constructor.
6613         (exportObject): Save manager.serverobj.
6614         (getStub): New method.
6615
6616 2002-11-07  Mark Wielaard  <mark@klomp.org>
6617
6618         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6619         (getByte): Likewise.
6620         (getShort): Likewise.
6621         (getInt): Likewise.
6622         (getLong): Likewise.
6623         (getFloat): Likewise.
6624         (getDouble): Likewise.
6625         (get): Likewise.
6626         (setChar): Likewise.
6627         (setByte): Likewise.
6628         (setShort): Likewise.
6629         (setInt): Likewise.
6630         (setLong): Likewise.
6631         (setFloat): Likewise.
6632         (setDouble): Likewise.
6633
6634 2002-11-07  Michael Koch <konqueror@gmx.de>
6635
6636         * java/awt/Choice.java,
6637         java/awt/Container.java,
6638         java/awt/GridBagLayout.java:
6639         Fixed documentation.
6640         * java/awt/peer/ContainerPeer.java:
6641         Reindented.
6642
6643 2002-11-07  Michael Koch <konqueror@gmx.de>
6644
6645         * java/awt/color/ICC_Profile.java:
6646         Added missing constants.
6647         * java/awt/color/ICC_ColorSpace.java
6648         (getMinValue): Added dummy implementation.
6649         (getMaxValue): Added dummy implementation.
6650         * java/awt/datatransfer/DataFlavor.java
6651         (imageFlavor): Added.
6652         (isMimeTypeEqual): Must be final.
6653         (getDefaultRepresentationClass): Must be non-static.
6654         (getDefaultRepresentationClassAsString): Must be non-static.
6655         * java/awt/dnd/DragSourceContext.java
6656         (dragExit): Corrected argument.
6657         (dragDropEnd): Corrected argument.
6658         * java/awt/dnd/DragSourceListener.java.java
6659         (dragExit): Corrected argument.
6660         (dragDropEnd): Corrected argument.
6661         * java/awt/font/TextHitInfo.java
6662         (toString): Added stubbed implementation.
6663         * java/awt/geom/PathIterator.java:
6664         The constants must be static.
6665         * java/awt/image/VolatileImage.java
6666         (IMAGE_INCOMPATIBLE): Fixed typo.
6667         * java/awt/image/renderable/RenderableImage.java
6668         (HINTS_OBSERVED): Must be static.
6669         * java/beans/BeanInfo.java:
6670         Constants must be final.
6671
6672 2002-11-06  Tom Tromey  <tromey@redhat.com>
6673
6674         From svens@it.uu.se.  For PR libgcj/8481.
6675         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6676
6677 2002-11-06  Tom Tromey  <tromey@redhat.com>
6678
6679         * jni.cc (array_from_valist): Assume that jlong won't be
6680         promoted.
6681
6682 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6683
6684         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6685         Return 20.
6686         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6687         Return 16.
6688
6689 2002-11-03  Tom Tromey  <tromey@redhat.com>
6690
6691         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6692         VMClassLoader, not findClass.
6693
6694 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6695
6696         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6697         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6698         _Jv_DetermineVTableIndex, to determine vtable offset.
6699         (_Jv_DetermineVTableIndex): Remove.
6700         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6701
6702         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6703
6704 2002-11-03  Tom Tromey  <tromey@redhat.com>
6705
6706         * java/nio/channels/AlreadyConnectedException.java: Extend
6707         IllegalStateException, per spec.
6708
6709 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6710
6711         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6712
6713 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6714
6715         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6716         size items.
6717
6718 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6719
6720         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6721         initial estimated size to avoid enlarge buffer frequently.
6722
6723 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6724
6725         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6726         ClassLoader when null.
6727         (ProxyType.hashCode): Loader null check no longer needed.
6728         (ProxyType.sameTypes): New method.
6729         (ProxyType.equals): Use new method.
6730
6731 2002-10-31  Mark Wielaard  <mark@klomp.org>
6732
6733         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6734         length of String.
6735         * java/net/URLEncoder.java (encode): Likewise.
6736
6737 2002-10-31  Mark Wielaard  <mark@klomp.org>
6738
6739         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6740         when stream is closed.
6741         (closeEntry): Likewise.
6742         (read): Likewise.
6743         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6744         ZipException when no entry active.
6745         (closeEntry): Likewise.
6746         (write): Likewise.
6747
6748 2002-11-02  Tom Tromey  <tromey@redhat.com>
6749
6750         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6751         * java/lang/natClass.cc (initializeClass): Don't return just
6752         because self==thread.
6753
6754         For PR java/8415:
6755         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6756         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6757
6758 2002-11-02  Andreas Schwab  <schwab@suse.de>
6759
6760         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6761         pass GCJFLAGS.
6762         (FLAGS_TO_PASS): Define.
6763         * Makefile.in: Regenerated.
6764
6765 2002-11-01  Michael Koch  <konqueror@gmx.de>
6766
6767         * java/nio/ByteOrder.java: New file.
6768         * java/nio/channels/DatagramChannel.java:
6769         (DatagramChannel): New constructor.
6770         * java/nio/channels/Pipe.java: New file.
6771         * java/nio/channels/SelectableChannel.java: New file.
6772         * java/nio/channels/SelectionKey.java: New file.
6773         * java/nio/channels/Selector.java: New file.
6774         * java/nio/channels/ServerSocketChannel.java
6775         (ServerSocketChannel): New constructor.
6776         * java/nio/channels/SocketChannel.java
6777         (SocketChannel): New constructor.
6778         * java/nio/channels/Pipe.java: New file.
6779         * java/nio/channels/spi/AbstractChannel.java: New file.
6780         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6781         * java/nio/channels/spi/AbstractSelectableChannel.java:
6782         License added
6783         (AbstractSelectableChannel): New stubbed method.
6784         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6785         * java/nio/channels/spi/AbstractSelector.java: New file.
6786         * java/nio/channels/spi/SelectorProvider.java: New file.
6787         * java/nio/charset/Charset.java: New file.
6788         * java/nio/charset/CoderMalfunctionError.java: New file.
6789         * java/nio/charset/CodingErrorAction.java: New file.
6790         * java/nio/charset/spi/CharsetProvider.java
6791         (charsetForName): Uncommented.
6792         * Makefile.am (java_native_source_files): Added new files.
6793         * Makefile.in: Regenerated.
6794
6795 2002-11-01  Michael Koch  <konqueror@gmx.de>
6796
6797         * java/net/InetAddress.java:
6798         (isAnyLocalAddress): Implemented.
6799         (isLoopbackAddress): Implemented, comment added.
6800         (isLinkLocalAddress): Implemented, documentation added.
6801         (isSiteLocalAddress): Implemented, documentation added.
6802         (isMCGlobal): Implemented, documentation added.
6803         (isMCNodeLocal): Implemented, documentation added.
6804         (isMCLinkLocal): Implemented, documentation added.
6805         (isMCSiteLocal): Implemented, documentation added.
6806         (isMCOrgLocal): Implemented, documentation added.
6807         (getHostName): Documentation added.
6808         (getCanonicalHostName): Implemented, documentation added.
6809         (getAddress): Documentation added.
6810         (hashCode): Documentation added.
6811         (equals): Documentation added.
6812         (toString): Fixed implementation.
6813         (getByAddress): Use Inet4Address and Inet6Address.
6814         (lookup): New linewrap.
6815         (getByName): SecurityManager check added, support Inet4Address and
6816         Inet6address, comments added.
6817         (getAllByName): SecurityManager check added, comments added.
6818         * java/net/Inet6Address.java:
6819         (Inet6Address): Initialize parent class with addr instead of null.
6820         * java/net/URL.java
6821         (equals): Documentation added.
6822         (getFile): Documentation added.
6823         (hashCode): Documentation added.
6824         * java/net/natInetAddress.cc:
6825         (aton): Fix IPv6 support.
6826         * java/net/natPlainDatagramSocketImpl.cc:
6827         (peek): Throw PortUnreachableException when suitable.
6828         (peekData): Throw PortUnreachableException when suitable.
6829         (send): Throw PortUnreachableException when suitable.
6830         (receive): Throw PortUnreachableException when suitable.
6831
6832 2002-10-27  Mark Wielaard  <mark@klomp.org>
6833
6834         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6835         argument.
6836         (readLeShort): Likewise and use byte[].
6837         (readLeInt): Likewise.
6838         (readEntries): Use new versions of methods and use byte[] for reading
6839         a complete zip entry. Add ZipFile name to exceptions.
6840         (entries): Add ZipFile name to exceptions.
6841         (getEntry): Likewise.
6842         (checkLocalHeader): Use new versions of methods and add ZipFile name
6843         to exceptions.
6844
6845 2002-10-31  Mark Anderson  <mark@panonet.net>
6846
6847         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6848         added
6849
6850 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6851
6852         * configure.in: Disable hash sync when not using threads.
6853         * configure: Regenerated.
6854
6855 2002-10-24  Tom Tromey  <tromey@redhat.com>
6856
6857         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6858         (_Jv_FindSymbolInExecutable): Removed argument name.
6859         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6860         java.library.path is set.
6861
6862         * gij.cc (help): Document --showversion.
6863         (version): Don't exit.
6864         (main): Handle --showversion.  Exit if --version given.
6865
6866 2002-10-23  Tom Tromey  <tromey@redhat.com>
6867
6868         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6869         (array_from_valist): Correctly handle promotion for jint, jlong,
6870         jfloat, and jdouble.
6871
6872 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6873
6874         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6875         GetFileAttributesEx( ) to find file length and modification times,
6876         as the latter is not present on Windows 95.
6877
6878 2002-10-21  Michael Koch  <konqueror@gmx.de>
6879
6880         * java/net/URL.java
6881         (URL): Activate SecurityManager checks.
6882         (equals): Use URLStreamHandler implementation instead of doing it
6883         alone. This allows special protocol stream handlers to change default
6884         behaviour.
6885         (hashCode): Use URLStreamHandler implementation instead of doing it
6886         alone. This allows special protocol stream handlers to change default
6887         behaviour.
6888         * java/net/URLStreamHandler.java
6889         (equals): Implemented default URL equality check.
6890         (hostsEqual): Implemented default URL equality check.
6891         (hashCode): Implemented default URL hashCode algorithm.
6892         * java/net/natPlainDatagramSocketImpl.cc:
6893         No lines longer then 80 characters.
6894
6895 2002-10-20  Adam Megacz <adam@xwt.org>
6896
6897         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6898         * configure.in: enabled hash sync on Win32
6899         * include/win32-threads.h (_Jv_ThreadId_t): added.
6900         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6901         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6902         removed some posix-isms, use Thread::sleep() instead of usleep,
6903         added code to clear bottom three bits if platform has a broken
6904         linker.
6905         * include/win32-threads.h (_Jv_ThreadId_t): added.
6906
6907 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6908
6909         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6910         runtime property "gnu.gcj.progname" containing the name used to
6911         invoke the current Java program (similar to argv[0] for C
6912         programs).
6913
6914 2002-10-15  Tom Tromey  <tromey@redhat.com>
6915
6916         Fix for PR libgcj/8234:
6917         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6918         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6919
6920 2002-10-13  Mark Wielaard  <mark@klomp.org>
6921
6922         * mauve-libgcj: Enable Mauve tests that compile now.
6923
6924 2002-10-11  Mark Wielaard  <mark@klomp.org>
6925
6926         Fix for PR libgcj/8142
6927         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6928         loading native modules.
6929
6930 2002-10-10  Michael Koch  <konqueror@gmx.de>
6931
6932         * javax/swing/AbstractListModel.java
6933         (getListDataListeners): New stubbed method.
6934         javax/swing/DefaultBoundedRangeModel.java
6935         (getChangeListeners): New stubbed method.
6936         javax/swing/DefaultSingleSelectionModel.java
6937         (getChangeListeners): New stubbed method.
6938
6939 2002-10-10  Michael Koch  <konqueror@gmx.de>
6940
6941         * gcj/.cvsignore: New file to ignore files generated during build.
6942         * include/.cvsignore: New file to ignore files generated during build.
6943
6944 2002-10-10  Michael Koch  <konqueror@gmx.de>
6945
6946         * java/net/HttpURLConnection.java
6947         (getPermission): New method.
6948         (getErrorStream): New stub method.
6949         (getHeaderFieldDate): New stub method.
6950         * java/net/Inet4Address.java:
6951         (isLinkLocalAddress): Typo fixed.
6952         * java/net/InetAddress.java:
6953         (readResolve): New stubbed method (for serialization).
6954         (isAnyLocalAddress): New stubbed method.
6955         (isLoopbackAddress): New stubbed method.
6956         (isLinkLocalAddress): New stubbed method.
6957         (isSiteLocalAddress): New stubbed method.
6958         (isMCGlobal): New stubbed method.
6959         (isMCNodeGlobal): New stubbed method.
6960         (isMCLinkLocal): New stubbed method.
6961         (isMCSiteLocal): New stubbed method.
6962         (isMCOrgLocal): New stubbed method.
6963         (getCanonicalHostName): New stubbed method.
6964         (getByAddress): Create instances of Inet4Address/Inet6Address,
6965         instead of InetAddress, documentation added.
6966         * java/net/MulticastSocket.java
6967         (getInterface): Removed FIXME.
6968         (getNetworkInterface): New method.
6969         (setNetworkInterface): New method.
6970         * java/net/NetworkInterface.java:
6971         (toString): Use property "line.separator" instead of "\n".
6972         * java/net/URLConnection.java
6973         (getContent): New stubbed method.
6974         * java/net/URLStreamHandler.java:
6975         (equals): New stubbed method.
6976         (hostsEqual): New stubbed method.
6977         (hashCode): New stubbed method.
6978         * java/net/natNetworkInterface.cc:
6979         (getRealNetworkInterfaces): Create Inet4Address object
6980         instead of InetAddress.
6981
6982 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6983
6984         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6985         unsigned long temporary to implement insn_iushr shifts.
6986
6987 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6988
6989         * configure.host [s390*-*]: Enable Java interpreter.
6990         Enable hash synchronization.  Add sysdeps dir.
6991         * sysdep/s390/locks.h: New file.
6992
6993 2002-10-06  Mark Wielaard  <mark@klomp.org>
6994
6995         * java/lang/Thread.java (setDaemon): Check startable_flag,
6996         not isAlive().
6997
6998 2002-10-07  Michael Koch  <konqueror@gmx.de>
6999
7000         * java/nio/Buffer.java: New stub file.
7001         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7002         of class Charset.
7003         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7004         * Makefile.in: Regenerated.
7005
7006 2002-10-07  Michael Koch  <konqueror@gmx.de>
7007
7008         * java/nio/ByteBuffer.java:
7009         removed import of not commited class.
7010
7011 2002-10-07  Michael Koch  <konqueror@gmx.de>
7012
7013         * java/nio/ByteBuffer.java,
7014         java/nio/MappedByteBuffer.java:
7015         New files, forgot to add these dummies.
7016         * Makefile.am (java_native_source_files): Added new files.
7017         * Makefile.in: Regenerated.
7018
7019 2002-10-07  Michael Koch  <konqueror@gmx.de>
7020
7021         * java/nio/channels/AlreadyConnectedException.java,
7022         java/nio/channels/ClosedChannelException.java,
7023         java/nio/channels/ReadableByteChannel.java,
7024         java/nio/channels/InterruptibleChannel.java,
7025         java/nio/channels/Channel.java,
7026         java/nio/channels/ByteChannel.java,
7027         java/nio/channels/GatheringByteChannel.java,
7028         java/nio/channels/ScatteringByteChannel.java,
7029         java/nio/channels/WritableByteChannel.java,
7030         java/nio/charset/CharacterCodingException.java,
7031         java/nio/charset/IllegalCharsetNameException.java,
7032         java/nio/charset/MalformedInputException.java,
7033         java/nio/charset/UnmappableCharacterException.java,
7034         java/nio/charset/UnsupportedCharsetException.java,
7035         java/nio/charset/spi/CharsetProvider.java: New file.
7036         These files are exceptions or interfaces,
7037         no real or abstract classes.
7038         * Makefile.am (java_native_source_files): Added new files.
7039         * Makefile.in: Regenerated.
7040
7041 2002-10-05  Michael Koch  <konqueror@gmx.de>
7042
7043         * java/net/InetAddress.java
7044         (getByAddress): Fixed documentation.
7045         (getByAddress): New method.
7046         * java/net/Inet4Address.java: New file.
7047         * java/net/URL.java
7048         (URL): Documentation added.
7049         (getContent): Documentation added.
7050         (getContent): New stubbed method.
7051         (getQuery): New method.
7052         (openConnection): Documentation added.
7053         (openStream): Documentation added.
7054         (setURLStreamHandlerFactory): Documentation added.
7055         * java/net/URI.java: New stub file.
7056         * Makefile.am
7057         (java_native_source_files): Added java/net/Inet4Address.java,
7058         java/net/Inet6Address.java and java/net/URI.java.
7059         * Makefile.in: Regenerated.
7060
7061 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7062
7063         * java/lang/ProtectionDomain.java (linesep): Remove field.
7064         (toString): Use System.getProperty("line.separator").
7065
7066 2002-10-04  Michael Koch  <konqueror@gmx.de>
7067
7068         * java/security/Identity.java: Added serialVersionUID.
7069         * java/security/KeyPair.java: Added serialVersionUID.
7070         * java/security/Provider.java: Added serialVersionUID.
7071         * java/security/SecureRandom.java: Added serialVersionUID.
7072         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7073         * java/security/SignedObject.java: Added serialVersionUID.
7074         * java/security/cert/Certificate.java: Added serialVersionUID.
7075
7076 2002-10-04  Mark Wielaard <mark@klomp.org>
7077
7078         * java/security/Security.java: Use java.home or gnu.classpath.home
7079         to load providers.
7080         (loadProviders): Extra dir argument.
7081         (getProvider): Return null when not found.
7082
7083 2002-10-04  Mark Wielaard  <mark@klomp.org>
7084
7085         * java/lang/Throwable.java: Remerge with Classpath.
7086
7087 2002-10-04  Michael Koch  <konqueror@gmx.de>
7088
7089         * java/net/InetAddress.java:
7090         (isMulticastAddress): Added documentation.
7091         (getHostAddress): Added documentation.
7092         (toString): Added documentation.
7093         (getByAddress): Fixed documentation.
7094         (getByName): Added documentation.
7095         (getAllByName): Added documentation.
7096         (getLocalHost): Added documentation.
7097
7098 2002-10-04  Michael Koch  <konqueror@gmx.de>
7099
7100         * java/beans/beancontext/BeanContextChildSupport.java:
7101         Added serialVersionUID.
7102         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7103         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7104         * javax/naming/Name.java: Added serialVersionUID.
7105
7106 2002-10-03  Adam Megacz <adam@xwt.org>
7107
7108         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7109         some functionality that isn't supported yet on WIN32.
7110
7111 2002-10-03  Tom Tromey  <tromey@redhat.com>
7112
7113         * Makefile.in: Rebuilt.
7114         * Makefile.am (awt_java_source_files): Added new files.
7115
7116 2002-10-03  Michael Koch  <konqueror@gmx.de>
7117
7118         * java/net/InetAddress.java
7119         (class InetAddress): Removed final keyword.
7120         (equals): Fixed typo.
7121         (getByAddress): New method.
7122
7123 2002-10-03  Michael Koch  <konqueror@gmx.de>
7124
7125         * java/awt/dnd/Autoscroll.java:
7126         New file, merge from Classpath.
7127         * java/awt/dnd/DragSourceAdapter.java:
7128         (dragExit): Fixed typos in argument type.
7129         (dragDropEnd): Fixed typos in argument type.
7130         * java/awt/dnd/DragSourceDropEvent.java:
7131         New file, merge from Classpath.
7132         * java/awt/dnd/DropTarget.java:
7133         Added stubs, merge from Classpath.
7134         * java/awt/dnd/DropTargetAdapter.java:
7135         New file, merge from Classpath.
7136         * java/awt/dnd/DropTargetContext.java:
7137         New file, merge from Classpath.
7138         * java/awt/dnd/DropTargetDragEvent.java:
7139         New file, merge from Classpath.
7140         * java/awt/dnd/DropTargetDropEvent.java:
7141         New file, merge from Classpath.
7142         * java/awt/dnd/DropTargetEvent.java:
7143         New file, merge from Classpath.
7144         * java/awt/dnd/DropTargetListener.java:
7145         New file, merge from Classpath.
7146         * java/awt/dnd/MouseDragGestureRecognizer.java:
7147         New file, merge from Classpath.
7148         * java/awt/dnd/peer/DropTargetContextPeer.java:
7149         New file, merge from Classpath.
7150
7151 2002-10-03  Michael Koch  <konqueror@gmx.de>
7152
7153         * java/net/DatagramPacket.java
7154         (setLength): Fixed typo and be HTML-aware.
7155         * java/net/InetSocketAddress.java
7156         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7157         (equals): Added comment about equality of InetSocketAddress objects.
7158         * java/net/ServerSocket.java
7159         (accept): Added checks.
7160         (isClosed): New stubbed method.
7161         * java/net/SocketOptions.java: Reindention.
7162         * java/net/SocketPermission
7163         (SocketPermission): Documentation fixed.
7164
7165 2002-10-03  Michael Koch  <konqueror@gmx.de>
7166
7167         * java/net/DatagramSocket.java
7168         (receive): Check with SecurityManager AFTER the packet is received,
7169         check if connected to multicast address, documentation added.
7170         (send): Only check SecurityManager if connected, check address of
7171         packet to send.
7172         (connect): Implemented, documentation added.
7173         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7174         * java/net/InetSocketAddress.java
7175         (whole file): Reindented.
7176         (hostname): New attribute.
7177         (InetSocketAddress): Initialize new attribute.
7178         (getAddress): Documentation added.
7179         (getHostName): Documentation added.
7180         (getPort): Documentation added.
7181         (hashCode): Documentation added.
7182         (isUnresolved): Documentation added.
7183         (toString): Conform to output of JDK 1.4.1, documentation added.
7184         * java/net/MulticastSocket.java
7185         (joinGroup): Removed FIXME, documentation added.
7186         (leaveGroup): Removed FIXME, documentation added.
7187         (send): Documentation added.
7188         * java/net/Socket.java
7189         (inputShutdown): New variable.
7190         (outputShutdown): New variable.
7191         (Socket): Initialize new variables.
7192         (getRemoteSocketAddress): Check if connected.
7193         (shutdownInput): Set new variable.
7194         (shutdownOutput): Set new variable.
7195         (isConnected): New method.
7196         (isClosed): New method.
7197         (isInputShutdown): New method.
7198         (isOutputShutdown): New method.
7199         * java/net/URLStreamHandler.java
7200         (URLStreamHandler): New method.
7201         (openConnection): Added documentation.
7202         (parseURL): Added documentation.
7203         (getHostAddress): New method.
7204         (getDefaultPort): New method.
7205
7206 2002-10-02  Tom Tromey  <tromey@redhat.com>
7207
7208         * java/rmi/activation/ActivationDesc.java,
7209         java/rmi/activation/ActivationGroupDesc.java,
7210         java/rmi/activation/ActivationGroupID.java,
7211         java/rmi/activation/ActivationID.java: New versions from
7212         Classpath.
7213
7214 2002-09-30  Bo Thorsen  <bo@suse.de>
7215
7216         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7217
7218 2002-09-30  Tom Tromey  <tromey@redhat.com>
7219
7220         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7221         from Classpath.
7222         * Makefile.in: Rebuilt.
7223         * Makefile.am (rmi_java_source_files): Added new files.
7224         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7225         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7226         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7227         Classpath.
7228         * gnu/java/rmi/dgc/DGCImpl.java,
7229         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7230         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7231         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7232         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7233         gnu/java/rmi/server/RMIHashes.java,
7234         gnu/java/rmi/server/RMIObjectInputStream.java,
7235         gnu/java/rmi/server/RMIObjectOutputStream.java,
7236         gnu/java/rmi/server/UnicastConnection.java,
7237         gnu/java/rmi/server/UnicastConnectionManager.java,
7238         gnu/java/rmi/server/UnicastRef.java,
7239         gnu/java/rmi/server/UnicastServer.java,
7240         gnu/java/rmi/server/UnicastServerRef.java,
7241         java/rmi/MarshalledObject.java,
7242         java/rmi/server/RMIClassLoader.java,
7243         java/rmi/server/RemoteObject.java,
7244         java/rmi/server/UnicastRemoteObject.java,
7245         java/security/SecureClassLoader.java: Merged from Classpath.
7246
7247 2002-09-29  Anthony Green  <green@redhat.com>
7248
7249         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7250         Imported from GNU Classpath.
7251         * java/lang/reflect/natProxy.cc: New file.
7252         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7253         from GNU Classpath.
7254         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7255         Classpath.
7256         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7257         Classpath.
7258         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7259         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7260         New statics.
7261         * gcj/javaprims.h ("Java"): Add new classes.
7262         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7263         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7264         java/lang/reflect/Proxy$$ProxyType.h): And this.
7265         (inner_nat_headers): Add these new headers.
7266         (ordinary_java_source_files): Add new files.
7267         (nat_source_files): Add new file.
7268         * Makefile.in: Rebuilt.
7269
7270 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7271
7272         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7273         a single configuration.
7274
7275 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7276
7277         * java/util/TimeZone.java (getDSTSavings): New method.
7278         Fixes PR libgcj/7786.
7279
7280 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7281
7282         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7283         to see if `the_method == 0' before looking up vtable index.
7284         Fixes PR libgcj/7709.
7285
7286 2002-09-25  Tom Tromey  <tromey@redhat.com>
7287
7288         * java/lang/natClassLoader.cc:
7289         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7290         * resolve.cc: Include NoClassDefFoundError.h, not
7291         ClassNotFoundException.h.
7292         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7293
7294         * defineclass.cc: Don't include ClassNotFoundException.h.
7295
7296         * resolve.cc: Include StringBuffer.
7297         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7298
7299         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7300         allocated but not initialized.
7301
7302 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7303
7304         Fix for PR libgcj/7766:
7305         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7306         (getNextEntry): Set it.
7307         (closeEntry): Likewise.
7308         (read): Likewise.
7309         (close): Likewise.
7310         (available): Use it.
7311
7312 2002-09-25  Michael Koch  <konqueror@gmx.de>
7313
7314         * java/net/DatagramSocket.java
7315         (DatagramSocket): Initialize new instance variables.
7316         (close): Reset new instance variables.
7317         (getLocalAddress): Remove unneeded SecurityManager usage.
7318         (getLocalPort): Check if socket is already bound.
7319         (isConnected): New method.
7320         (getInetAddress): Implemented.
7321         (getPort): Better Implementation, documentation fixed.
7322         (getRemoteSocketAddress): New method.
7323         * java/net/JarURLConnection.java
7324         (element): Typo fixed.
7325         (getMainAttributes): New method.
7326         (getAttributes): New method (stub only).
7327         (getManifest): New method (stub only).
7328         * java/net/NetPermission.java: Added serialVersionsUID.
7329         * java/net/Socket.java
7330         (connect): Check blocking mode of associated channel,
7331         documentation added.
7332         (getLocalSocketAddress): Better implementation.
7333         (getRemoteSocketAddress): Implemented.
7334         (isBound): New method.
7335         (setSendBufferSize): Documentation added.
7336         * java/net/SocketAddress.java: Added serialVersionsUID.
7337         * java/net/SocketPermission.java: Added serialVersionsUID.
7338         * java/net/URL.java
7339         (URL): Wrap for shorter lines, initialize new instance variables,
7340         documentation added.
7341         (equals): Check new instance variables too.
7342         (getContent): Documentation added.
7343         (getPath): Documentation added.
7344         (getAuthority): New method.
7345         (getHost): Documentation added.
7346         (getPort): Documentation added.
7347         (getDefaultPort): New method.
7348         (getProtocol): Documentation added.
7349         (getUserInfo): Documentation added.
7350         (set): Initialize new instance variables, documentation added.
7351         * java/net/URLStreamHandler.java
7352         (setURL): New method.
7353         * java/net/natPlainDatagramSocketImpl.cc
7354         (connect): Fix exception name.
7355         (disconnect): Fix exception name.
7356
7357 2002-09-25  Michael Koch  <konqueror@gmx.de>
7358
7359         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7360         * java/nio/channels/DatagramChannel.java:
7361         extends AbstractSelectableChannel
7362         * java/nio/channels/ServerSocketChannel.java:
7363         extends AbstractSelectableChannel
7364         * java/nio/channels/SocketChannel.java:
7365         extends AbstractSelectableChannel
7366         * Makefile.am (ordinary_java_source_files):
7367         java/nio/channels/spi/AbstractSelectableChannel.java added.
7368         * Makefile.in: Regenerated.
7369
7370 2002-09-25  Michael Koch  <konqueror@gmx.de>
7371
7372         * java/net/DatagramSocket.java
7373         (DatagramSocket): Exception documentation added.
7374         (bind): Exception documentation added, addded SecurityManager check,
7375         added SocketAddress type check.
7376         (getSoTimeout): Check impl.
7377         (receive): Fix SecurityManager check, check impl, documentation added.
7378         (send): Check channel mode, documentation added.
7379         (connect): New method.
7380         (disconnect): Implemented.
7381         (getLocalSocketAddress): New method.
7382         (getReceiveBufferSize): Check impl.
7383         (setReuseAddress): Check impl.
7384         (getReuseAddress): Check impl.
7385         (setBroadcast): Check impl.
7386         (getBroadcast): Check impl.
7387         (setTrafficClass): Check impl, Documentation cleared.
7388         (getTrafficClass): Check impl.
7389         (getSendBufferSize): Check impl.
7390         (setReceiveBufferSize): Check impl, documentation added.
7391         (setSendBufferSize): Documentation added.
7392         (setDatagramSocketImplFactory): New method.
7393         * java/net/HttpURLConnection.java
7394         (HTTP_INTERNAL_ERROR): The correct code is 500.
7395         (HTTP_NOT_IMPLEMENTED): Added new constant.
7396         (setFollowRedirects): Documentation added.
7397         (getInstanceFollowRedirects): New method.
7398         (setInstanceFollowRedirects): New method.
7399         (setRequestMethod): Documentation added.
7400         (getResponseCode): Documentation added.
7401         (getResponseMessage): Documentation added.
7402         * java/net/JarURLConnection.java
7403         (JarURLConnection): protected since JDK 1.4.
7404         (getJarEntry): java.io.IOException to IOException, documentation added.
7405         (getJarFile): Documentation added.
7406         * java/net/ServerSocket.java
7407         (ServerSocket): Private to public, exception added.
7408         (ServerSocket): java.io.IOException to IOException, documentation added.
7409         (bind): Check socket address type, documentation added.
7410         (bind): java.io.IOException to IOException, documentation added.
7411         (accept): Documentation added.
7412         (implAccept): Check ch is not non-blocking, documentation added.
7413         (setSoTimeout): Documentation fixed.
7414         (setReceiveBufferSize): Documentation added.
7415         * java/net/Socket.java
7416         (Socket): Documentation added.
7417         (bind): Documentation added.
7418         (connect): Check socket address type, documentation added.
7419         (getRemoteSocketAddress): New method.
7420         (getLocalSocketAddress): New method.
7421         (setSoLinger): Documentation added.
7422         (getReuseAddress): New method.
7423         (setReuseAddress): New method.
7424         (getTrafficClass): New method.
7425         (setTrafficClass): New method.
7426         * java/net/URLStreamHandler.java
7427         (openConnection): java.io.IOException to IOException.
7428         (parseURL): Documentation added.
7429         (sameFile): public to protected, documentation added.
7430         (setURL): Documentation added.
7431         * java/nio/IllegalBlockingModeException.java: New file.
7432         * Makefile.am (ordinary_java_source_files):
7433         added java/nio/IllegalBlockingModeException.java
7434         * Makefile.in: Regenerated.
7435
7436 2002-09-25  Michael Koch  <konqueror@gmx.de>
7437
7438         * java/net/DatagramPacket
7439         (DatagramPacket): Exception documentation added.
7440         (setData): Likewise.
7441         (setSocketAddress): Likewise.
7442         * java/net/DatagramSocketImpl.java
7443         (peek): Documentation addded.
7444         (peekData): Documentation addded.
7445         (send): Documentation addded.
7446         (receive): Documentation addded.
7447         (connect): New method.
7448         (disconnect): New method.
7449         (joinGroup): New abstract method.
7450         (leaveGroup): New abstract method.
7451         * java/net/InetSocketAddress.java
7452         (InetSocketAddress): Documentation added.
7453         (equals): final keyword added.
7454         (getAddress): final keyword added.
7455         (getHostName): final keyword added.
7456         (getPort): final keyword added.
7457         (hashCode): final keyword added.
7458         (isUnresolved): final keyword added.
7459         * java/net/MulticastSocket.java
7460         (MulticastSocket): Documentation added.
7461         (MulticastSocket): New method.
7462         (joinGroup): Documentation added.
7463         (joinGroup): New method.
7464         (leaveGroup): Documentation added.
7465         (leaveGroup): New method.
7466         (send): Documentation added.
7467         * java/net/NetworkInterface.java
7468         (getByName): Documentation added.
7469         (getByInetAddress): Documentation added.
7470         (getNetworkInterfaces): Documentation added.
7471         * java/net/PlainDatagramSocketImpl.java
7472         (connect): New method.
7473         (disconnect): New method.
7474         * java/net/SocketImpl.java
7475         (create): Documentation added.
7476         (shutdownInput): Convert public to protected, as it always was.
7477         (shutdownOutput): Convert public to protected, as it always was.
7478         * java/net/SocketOptions.java
7479         (whole file): Reintented.
7480         * java/net/URLClassLoader.java
7481         (URLClassLoader): SecurityManager check added, documentation added.
7482         (findResources): Documentation added.
7483         (findClass): Documentation added.
7484         (newInstance): More correct method arguments.
7485         * java/net/URLConnection.java
7486         (connect): Documentation added.
7487         (getContent): Documentation added.
7488         (getPermission): Documentation added.
7489         (getInputStream): Documentation added.
7490         (getOutputStream): Documentation added.
7491         (setDoInput): Throw correct exception, documentation added.
7492         (setDoOutput): Throw correct exception, documentation added.
7493         (setAllowUserInteraction): Throw correct exception, documentation added.
7494         (setUseCaches): Throw correct exception, documentation added.
7495         (setIfModifiedSince): Throw correct exception, documentation added.
7496         (setRequestProperty): Throw exception, documentation added.
7497         (addRequestProperty): Throw exception, documentation added.
7498         (getRequestProperty): Throw exception, documentation added.
7499         (getRequestProperties): Documentation added.
7500         (setContentHandlerFactory): Documentation added.
7501         (guessContentTypeFromName): protected to public.
7502         (setFileNameMap): Documentation added.
7503         * java/net/URLDecoder.java
7504         (URLDecoder): New method.
7505         (decode): Documentation added.
7506         (whole file): Reindented.
7507         * java/net/URLEncoder.java
7508         (encode): Documentation added.
7509         * java/net/natPlainDatagramSocketImpl.cc
7510         (connect): New method.
7511         (disconnect): New method.
7512         * javax/naming/RefAddr:
7513         (addrType): addrType was never final.
7514         (equals): Fix typo in method name.
7515         * javax/naming/BinaryRefAddr:
7516         (equals): Fix typo in method name.
7517
7518 2002-09-22  Tom Tromey  <tromey@redhat.com>
7519
7520         Fix for PR libgcj/6576:
7521         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7522         didn't find a given bundle.
7523         (getBundle): Don't require base bundle.
7524         (setParent): Removed old comment.
7525         (tryLocalBundle): Try components even if preceding components were
7526         empty.
7527
7528 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7529
7530         * Makefile.am (all-multi): Fix multilib parallel build.
7531
7532 2002-09-21  Michael Koch  <konqueror@gmx.de>
7533
7534         * java/net/Socket.java
7535         (sendUrgentData): New method.
7536         (getChannel): New method.
7537         * java/net/ServerSocket.java
7538         (getChannel): New method.
7539         (isBound): New method.
7540         * java/net/DatagramSocket.java
7541         (DatagramSocket): Two new methods.
7542         (bind): New method.
7543         (getChannel): New method.
7544         (isBound): New method.
7545         (send): Added newline to to make shorter lines.
7546         * java/net/PlainDatagramSocketImpl.java
7547         (mcastGrp): Added argument.
7548         (join): Use new mcastGrp.
7549         (leave): Use new mcastGrp.
7550         (joinGroup): New method.
7551         (leaveGroup): New method.
7552         * java/net/natPlainDatagramSocketImpl.cc
7553         (mcastGrp): Added argument, no yet really implemented.
7554         (getOption): Added newline for shorter lines.
7555         * java/net/natPlainSocketImpl.cc
7556         (read, setOption, getOption): Added newline for shorter lines.
7557
7558 2002-09-19  Tom Tromey  <tromey@redhat.com>
7559
7560        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7561        newly-created exception.
7562
7563 2002-09-18  Michael Koch  <konqueror@gmx.de>
7564
7565         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7566         java/util/regex/PatternSyntaxException.java:
7567         Merge with classpath, new files.
7568         * Makefile.am (core_java_source_files):
7569         Added java/util/regex/Matcher.java,
7570         java/util/regex/Pattern.java,
7571         java/util/regex/PatternSyntaxException.java
7572         * Makefile.in: Regenerated.
7573         * include/config.h.in: Added HAVE_NET_IF_H.
7574         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7575         Removed #if 0 ... #endif.
7576
7577 2002-09-17  Michael Koch  <konqueror@gmx.de>
7578
7579         * java/net/natNetworkInterface.cc:
7580         Removed unneed and yet wrong includes.
7581
7582 2002-09-17  Michael Koch  <konqueror@gmx.de>
7583
7584         * java/net/NetworkInterface.java: New file.
7585         * java/net/natNetworkInterface.java: New file.
7586         * configure.in: Added check for net/if.h.
7587         * configure: Regenerated.
7588         * Makefile.am
7589         (ordinary_java_source_files): Added NetworkInterface.java.
7590         (nat_source_files): Added natNetworkInterface.cc.
7591         * Makefile.in: Regenerated.
7592
7593 2002-09-16  Tom Tromey  <tromey@redhat.com>
7594
7595         * java/net/URLClassLoader.java (findClass): Code source for a
7596         class from a jar is not necessarily a jar: URL.
7597
7598 2002-09-16  Michael Koch  <konqueror@gmx.de>
7599
7600         * java/lang/AssertionError.java:
7601         Merge with classpath, fixes HTML.
7602         * java/rmi/server/LogStream.java:
7603         Merge with classpath, fixes some constants.
7604         * java/net/server/RemoteServer.java:
7605         Merge with classpath, adds serialVersionUID.
7606         * javax/naming/BinaryRefAddr.java:
7607         Merge with classpath, s/equal/equals/.
7608         * javax/naming/NamingException.java:
7609         Merge with classpath, fixed typo.
7610         * javax/naming/RefAddr.java:
7611         Merge with classpath, s/equal/equals/.
7612         * java/awt/Toolkit.java:
7613         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7614         and typo fixed.
7615
7616 2002-09-15  Adam Megacz <adam@xwt.org>
7617
7618         * java/net/natPlainSocketImpl.cc: fixed typo.
7619
7620 2002-09-15  Adam Megacz <adam@xwt.org>
7621
7622         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7623         which don't work on Win32 (yet).
7624
7625 2002-09-14  Adam Megacz <adam@xwt.org>
7626
7627         * java/net/natPlainDatagramSocket.cc: removed #include
7628         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7629         * include/win32.h: included definition for IP_TOS to satisfy
7630         natPlainDatagramSocket.cc
7631
7632 2002-09-13  Michael Koch  <konqueror@gmx.de>
7633
7634         * java/net/DatagramPacket.java (DatagramPacket):
7635         Added linebreak for 80 chars per line.
7636         * java/net/JarURLConection.java
7637         (getInputStreami, getJarEntry): Likewise.
7638         * java/net/SocketPErmission.java
7639         (SocketPermission class docu, implies): Likewise.
7640         * java/net/URLClassLoader.java (findResources): Likewise.
7641         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7642
7643 2002-09-13  Michael Koch  <konqueror@gmx.de>
7644
7645         * java/nio/channels/DatagramChannel.java,
7646         java/nio/channels/ServerSocketChannel.java
7647         java/nio/channels/SocketChannel.java:
7648         New dummy files to make java.net fully JDK 1.4 compatible
7649         * Makefile.am (ordinary_java_source_files): Added
7650         java/net/DatagramSocketImplFactory.java (long forgotten),
7651         java/nio/SocketChannel.java,
7652         java/nio/ServerSocketChannel.java,
7653         java/nio/DatagramChannel.java
7654         * Makefile.in: Regenrated.
7655
7656 2002-09-12  Michael Koch  <konqueror@gmx.de>
7657
7658         * java/net/DatagramSocketImpl.java
7659         (peekData): New method.
7660         * java/net/PlainDatagramSocketImpl.java
7661         (peekData): New method.
7662         * java/net/natPlainDatagramSocketImpl.cc
7663         (peekData): New method.
7664         * java/net/URLConnection
7665         (getPermission): New method.
7666         (addRequestProperty): New method.
7667         (getRequestProperties): New method.
7668         (guessContentTypeFromStream): New method, not really implemented.
7669         (URLConnection): Added/updated documentation.
7670         (connect): Added/updated documentation.
7671         (getURL): Added/updated documentation.
7672         (getContentLength): Added/updated documentation.
7673         (getContentType: Added/updated documentation.
7674         (getContentEncoding): Added/updated documentation.
7675         (getExpiration): Added/updated documentation.
7676         (getDate): Added/updated documentation.
7677         (getLastModified): Added/updated documentation.
7678         (getHeaderField): Added/updated documentation.
7679         (getHeaderFields): Added/updated documentation.
7680         (getHeaderFieldInt): Added/updated documentation.
7681         (getHeaderFieldDate): Added/updated documentation.
7682         (getHeaderFieldKey): Added/updated documentation.
7683         (getContent): Added/updated documentation.
7684         (getInputStream): Added/updated documentation.
7685         (getOutputStream): Added/updated documentation.
7686         (toString): Added/updated documentation.
7687         (setDoInput): Added/updated documentation.
7688         (getDoInput): Added/updated documentation.
7689         (setDoOutput): Added/updated documentation.
7690         (getDoOutput): Added/updated documentation.
7691         (setAllowUserInteraction): Added/updated documentation.
7692         (getAllowUserInteraction): Added/updated documentation.
7693         (setDefaultAllowUserInteraction): Added/updated documentation.
7694         (getDefaultAllowUserInteraction): Added/updated documentation.
7695         (setUseCaches): Added/updated documentation.
7696         (getUseCaches): Added/updated documentation.
7697         (setIfModifiedSince): Added/updated documentation.
7698         (getIfModifiedSince): Added/updated documentation.
7699         (getDefaultUseCaches): Added/updated documentation.
7700         (setDefaultUseCaches): Added/updated documentation.
7701         (setRequestProperty): Added/updated documentation.
7702         (getRequestProperty): Added/updated documentation.
7703         (setDefaultRequestProperty): Added/updated documentation.
7704         (getDefaultRequestProperty): Added/updated documentation.
7705         (setContentHandlerFactory): Added/updated documentation.
7706         (guessContentTypeFromName): Added/updated documentation.
7707         (getFileNameMap): Added/updated documentation.
7708         (setFileNameMap): Added/updated documentation.
7709
7710 2002-09-11  Michael Koch  <konqueror@gmx.de>
7711
7712         * java/net/Socket.java
7713         (Socket): protected to public (since JDK 1.4). Added @specnote.
7714         (bind): New method.
7715         (connect): Two new methods.
7716         (getKeepalive): Get correct socket option.
7717         (setKeepalive): Set correct socket option.
7718         (getOOBInline): New method.
7719         (setOOBInline): New method.
7720         * java/net/ServerSocket.java
7721         (bind): Two new methods.
7722         (getInetAddress): Reimplemented, catch exception.
7723         (getLocalSocketAddress): New method.
7724         (setReuseAddress): New method.
7725         (getReuseAdress): New method.
7726         (setReceiveBufferSize): New method.
7727         (getReceiveBufferSize): New method.
7728         (toString): Made string JDK 1.4 compliant.
7729
7730 2002-09-10  Michael Koch  <konqueror@gmx.de>
7731
7732         * java/net/SocketImpl.java
7733         (connect): New method.
7734         (supportsUrgentData): New method.
7735         (sendUrgentData): New method.
7736         * java/net/PlainSocketImpl.java
7737         (connect): One new method and two new implementation.
7738         (sendUrgentData): New method.
7739         * java/natPlainSocketImpl.cc
7740         (connect): Arguments changed, added support for timeouts.
7741         (getOption): Another __java_boolean to jboolean.
7742
7743 2002-09-07  Adam Megacz <adam@xwt.org>
7744
7745         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7746         definition of IP_TOS.
7747
7748 2002-09-04  Michael Koch  <konqueror@gmx.de>
7749
7750         * java/net/DatagramSocket.java
7751         (DatagramSocket): Added documentation.
7752         (close): Likewise.
7753         (getLocalAddress): Likewise.
7754         (getLocalPort): Likewise.
7755         (receive): Likewise.
7756         (send): Likewise.
7757         (setSoTimeout): Likewise.
7758         (connect): New method.
7759         (disconnect): New method.
7760         (getInetAddress): New method (FIXME)
7761         (getPort): New method.
7762         (setReuseAddress): New method.
7763         (getReuseAddress): New method.
7764         (setBroadcast): New method.
7765         (getBroadcast): New method.
7766         (setTrafficClass): New method.
7767         (getTrafficClass): New method.
7768         * java/net/MulticastSocket.java):
7769         (getTTL): Added @see in documentation.
7770         (setTTL): Added @see in documentation.
7771         (setLoopbackMode): New method.
7772         (getLoopbackMode): New method.
7773         * java/net/PlainSocketImpl.java:
7774         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7775         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7776         * java/net/PlainDatagramSocketImpl.java
7777         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7778         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7779         * java/net/natPlainSocketImpl.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         This should also fix SO_KEEPALIVE
7785         * java/net/natPlainDatagramSocketImpl.cc
7786         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7787         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7788         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7789         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7790
7791 2002-09-04  Michael Koch  <konqueror@gmx.de>
7792
7793         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7794         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7795         IP_MULTICAST_LOOP, IP_TOS
7796
7797 2002-09-03  Tom Tromey  <tromey@redhat.com>
7798
7799         * java/lang/Class.h (_getDeclaredMethod): Declare.
7800         (_getMethod): Now private.
7801         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7802         getDeclaredMethod.  Now returns NULL on failure.
7803         * java/lang/Class.java (_getDeclaredMethod): Declare.
7804         (getDeclaredMethod): No longer native; implements access checks.
7805
7806 2002-09-01  Mark Wielaard  <mark@klomp.org>
7807
7808         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7809         (sanitizeStack): Correctly reset unknown and interpreter counters,
7810         detect interpreter runtime frames.
7811         (demangleInterpreterMethod): New method.
7812         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7813         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7814         filling in addrs[].
7815
7816 2002-09-02  Michael Koch  <konqueror@gmx.de>
7817
7818         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7819         re-indented documentation.
7820
7821 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7822
7823         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7824         public, per 1.4 spec.  Fixes PR libgcj/7785.
7825
7826 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7827
7828         * Makefile.in: Rebuilt.
7829         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7830
7831 2002-08-29  Tom Tromey  <tromey@redhat.com>
7832
7833         * java/net/JarURLConnection.java (getCertificates): New method
7834         from Classpath.
7835         * java/net/URLClassLoader.java (URLClassLoader): Extends
7836         SecureClassLoader.
7837         (definePackage): New method from Classpath.
7838         (getPermissions): Likewise.
7839         (newInstance): Likewise.
7840         (findClass): Construct CodeSource for new class (from Classpath).
7841         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7842         methods.
7843         * java/net/URL.java (getUserInfo): New method.
7844         (set(String,String,int,String,String,String,String,String)): New
7845         method.
7846         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7847         (shutdownInput, shutdownOutput): Declare.
7848         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7849         Define.
7850         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7851         (getOption): Likewise.
7852         (shutdownInput): New method.
7853         (shutdownOutput): Likewise.
7854         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7855         keepalive.
7856         (getOption): Likewise.
7857         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7858         * java/net/Socket.java (setKeepAlive): New method.
7859         (getKeepAlive): Likewise.
7860         (shutdownInput, shutdownOutput): New methods.
7861
7862 2002-08-29  Michael Koch  <konqueror@gmx.de>
7863
7864         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7865         new methods are:
7866         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7867           address),
7868         DatagramPacket(byte[] buf, int length, SocketAddress address),
7869         void setSocketAddress(SocketAddress address)
7870         public SocketAddress getSocketAddress()
7871
7872 2002-08-29  Tom Tromey  <tromey@redhat.com>
7873
7874         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7875         ftruncate is missing.
7876         * configure, include/config.h.in: Rebuilt.
7877         * acconfig.h (HAVE_FTRUNCATE): Mention.
7878         * configure.in: Check for ftruncate.
7879
7880 2002-08-29  Tom Tromey  <tromey@redhat.com>
7881
7882         * include/jvm.h (struct _Jv_frame_info): New structure.
7883         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7884         java-interp.h.
7885         (lookupInterp): New method.
7886         (getAddrAsString): Use _Jv_frame_info.
7887         (dladdrLookup): Likewise.
7888         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7889         interpreted frame.
7890         (lookupInterp): Declare.
7891         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7892         (fillInStackTrace): Collect information on interpreted frames.
7893         Use _Jv_frame_info.
7894         * interpret.cc: Include Thread.h.
7895         (run): Create and push _Jv_MethodChain object.
7896         (_Jv_EndOfInterpreter): New global.
7897         * java/lang/Thread.java (interp_frame): New field.
7898         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7899         Include NameFinder.h.
7900
7901 2002-08-28  Tom Tromey  <tromey@redhat.com>
7902
7903         * java/lang/Class.h: Include Package.h.
7904         (Class::getProtectionDomain): Declare.
7905         (Class::getPackage): Declare.
7906
7907 2002-08-28  Michael Koch <konqueror@gmx.de>
7908
7909         * java/net/InetSocketAddress.java: Added some documentation and argument
7910         checks for the port numbers.
7911         * java/net/DatagramSocketImplFactory.java: New file.
7912
7913 2002-08-28  Michael Koch <konqueror@gmx.de>
7914
7915         * java/net/Authenticator.java: added some documentation.
7916
7917 2002-08-27  Tom Tromey  <tromey@redhat.com>
7918
7919         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7920         class.
7921         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7922
7923 2002-08-27  Michael Koch <konqueror@gmx.de>
7924
7925         * java/net/BindException.java,
7926         java/net/JarURLConnection.java,
7927         java/net/FileNameMap.java,
7928         java/net/HttpURLConnection.java,
7929         java/net/InetSocketAddress.java,
7930         java/net/DatagramPacket.java,
7931         java/net/DatagramSocket.java,
7932         java/net/DatagramSocketImpl.java,
7933         java/net/MulticastSocket.java,
7934         java/net/PasswordAuthentication.java,
7935         java/net/ServerSocket.java,
7936         java/net/Socket.java,
7937         java/net/URLClassLoader.java,
7938         java/net/URLConnection.java: add/update of some @since/@deprecated
7939
7940 2002-08-27  Tony Kimball <alk@pobox.com>
7941             Tom Tromey  <tromey@redhat.com>
7942
7943         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7944         define.
7945         (::close): Removed.
7946         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7947         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7948         (::close): Removed.
7949         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7950         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7951
7952 2002-08-25  Adam Megacz <adam@xwt.org>
7953
7954         * include/win32.h (getcwd): copied function declaration as
7955         temporary fix for header confusion.
7956
7957 2002-08-24  Mark Wielaard <mark@klomp.org>
7958
7959         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7960         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7961         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7962         and natNameFinder.cc.
7963         * Makefile.in: Regenerate.
7964         * prims.cc: Use trace_enabled from VMThrowable.
7965         * name-finder.cc: Removed.
7966         * gcj/javaprims.h: Add class VMThrowable.
7967         * gnu/gcj/runtime/NameFinder.java: New file.
7968         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7969         * include/name-finder.h: Removed.
7970         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7971         method stackTraceString().
7972         (printStackTrace (PrintWriter)): Likewise.
7973         (stackTraceString): Complete rewrite of old printStackTrace using
7974         StringBuffer.
7975         (stackTraceStringBuffer): New helper method for stackTraceString().
7976         (fillInStackTrace): Delegate to VMTrowable.
7977         (getStackTrace): Likewise.
7978         (getStackTrace0): Removed.
7979         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7980         (setStackTrace): Copy given array.
7981         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7982         * java/lang/VMThrowable.java: New class.
7983         * java/lang/natVMThrowable.cc: New file.
7984
7985 2003-08-23  Michael Koch  <konqueror@gmx.de>
7986
7987         * java/net/URLConnection.java,
7988         java/netJarURLConnection.java,
7989         gnu/gcj/protocol/core/Connection.java,
7990         gnu/gcj/protocol/file/Connection.java,
7991         gnu/gcj/protocol/http/Connection.java: Added implementation of
7992         getHeaderFields().
7993
7994 2002-08-22  Tom Tromey  <tromey@redhat.com>
7995
7996         * gij.cc (help): Document -cp and -classpath.
7997         (main): Handle -classpath.
7998
7999 2002-08-21  Tom Tromey  <tromey@redhat.com>
8000
8001         * Makefile.in: Rebuilt.
8002         * Makefile.am (ordinary_java_source_files): Added
8003         SocketAddress.java, InetSocketAddress.java.
8004         * java/net/PortUnreachableException.java: Merged with Classpath.
8005         * java/net/SocketTimeoutException.java: Likewise.
8006         * java/net/URISyntaxException.java: Likewise.
8007         * java/net/SocketAddress.java: New class from Classpath.
8008         * java/net/InetSocketAddress.java: Likewise.
8009
8010 2003-08-21  Michael Koch  <konqueror@gmx.de>
8011
8012         * java/net/Authenticator.java: updated JDK 1.4
8013         * java/net/ContentHandler.java: updated JDK 1.4
8014
8015 2002-08-20  Michael Koch  <konqueror@gmx.de>
8016
8017         * java/net/URISyntaxException.java: New file.
8018         * java/net/SocketTimeoutException.java: New file.
8019         * java/net/PortUnreachableException.java: New file.
8020         * Makefile.am: Updated.
8021         * Makefile.in: Rebuilt.
8022
8023 2002-08-18  Mark Wielaard  <mark@klomp.org>
8024
8025         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8026         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8027         MessageDigestSpi (fixes Classpath bug #783).
8028
8029 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8030
8031         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8032         (startProcess): Allocate path for chdir in async-signal-safe way.
8033
8034 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8035
8036         Fix for PR libgcj/7570 and PR libgcj/7578:
8037         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8038         (startProcess): Handle new `dir' argument.
8039         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8040         argument.
8041         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8042         argument.
8043         (startProcess): Likewise.
8044         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8045         argument.
8046         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8047         (exec): Don't create new environment if ENV==null.  Pass DIR to
8048         execInternal.
8049         * java/lang/natRuntime.cc: Include java/io/File.h.
8050         (execInternal): Added `dir' argument.
8051
8052 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8053
8054         * java/io/RandomAccessFile.java (skipBytes): Return number of
8055         bytes skipped.
8056
8057 2002-08-01  Mark Wielaard  <mark@klomp.org>
8058
8059         Reenable patch since shared library troubles on powerpc are solved:
8060         * gnu/java/security/provider/Gnu.java: Reference all implementation
8061         classes by using Class.getName().
8062         * gnu/java/security/der/DEREncodingException.java,
8063         gnu/java/security/provider/DERReader.java,
8064         gnu/java/security/provider/DERWriter.java,
8065         gnu/java/security/provider/DSAKeyPairGenerator.java,
8066         gnu/java/security/provider/DSAParameterGenerator.java,
8067         gnu/java/security/provider/DSAParameters.java,
8068         gnu/java/security/provider/DSASignature.java,
8069         gnu/java/security/provider/GnuDSAPrivateKey.java,
8070         gnu/java/security/provider/GnuDSAPublicKey.java,
8071         gnu/java/security/provider/MD5.java,
8072         gnu/java/security/util/Prime.java: New classes
8073         * Makefile.am (ordinary_java_source_files): Add above files.
8074         * Makefile.in: Regenerate.
8075         * gnu/java/security/provider/DefaultPolicy.java
8076         (getPermissions): Don't maintain static class variable of Permissions.
8077         * gnu/java/security/provider/SHA.java
8078         (engineUpdate): algorithm change.
8079         (engineDigest): algorithm change.
8080
8081 2002-08-09  Mark Wielaard  <mark@klomp.org>
8082
8083         * java/awt/image/MemoryImageSource.java: Change constructor to take
8084         int[] not byte[].
8085         * java/awt/Graphics2D.java: Uncomment methods that can now be
8086         compiled.
8087         * java/awt/GridBagLayout.java: New stub implementation.
8088         * javax/swing/text/html/HTML.java: Stub implementation.
8089         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8090         implementation.
8091
8092         * Makefile.am: Add new files.
8093         * Makefile.in: Rebuilt.
8094
8095 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8096
8097         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8098         methods in Graphics2D.
8099
8100 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8101
8102         AWT/Swing merge from GNU Classpath.
8103
8104         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8105         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8106         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8107         java/awt/color/ProfileDataException.java,
8108         java/awt/CompositeContext.java, java/awt/Composite.java,
8109         java/awt/ContainerOrderFocusTraversalPolicy.java,
8110         java/awt/datatransfer/FlavorTable.java,
8111         java/awt/DefaultFocusTraversalPolicy.java,
8112         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8113         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8114         java/awt/dnd/DragGestureListener.java,
8115         java/awt/dnd/DragGestureRecognizer.java,
8116         java/awt/dnd/DragSourceAdapter.java,
8117         java/awt/dnd/DragSourceContext.java,
8118         java/awt/dnd/DragSourceDragEvent.java,
8119         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8120         java/awt/dnd/DragSourceListener.java,
8121         java/awt/dnd/DragSourceMotionListener.java,
8122         java/awt/dnd/DropTarget.java,
8123         java/awt/dnd/InvalidDnDOperationException.java,
8124         java/awt/dnd/peer/DragSourceContextPeer.java,
8125         java/awt/event/AWTEventListenerProxy.java,
8126         java/awt/event/MouseWheelEvent.java,
8127         java/awt/event/MouseWheelListener.java,
8128         java/awt/event/WindowFocusListener.java,
8129         java/awt/event/WindowStateListener.java,
8130         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8131         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8132         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8133         java/awt/geom/FlatteningPathIterator.java,
8134         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8135         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8136         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8137         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8138         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8139         java/awt/image/ImagingOpException.java,
8140         java/awt/image/RasterFormatException.java,
8141         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8142         java/awt/image/VolatileImage.java,
8143         java/awt/image/WritableRenderedImage.java,
8144         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8145         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8146         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8147         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8148         java/awt/PageAttributes.java, java/awt/print/Book.java,
8149         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8150         java/awt/print/Paper.java, java/awt/print/Printable.java,
8151         java/awt/print/PrinterAbortException.java,
8152         java/awt/print/PrinterException.java,
8153         java/awt/print/PrinterGraphics.java,
8154         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8155         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8156         java/awt/Stroke.java, java/awt/TexturePaint.java,
8157         javax/accessibility/AccessibleAction.java,
8158         javax/accessibility/AccessibleBundle.java,
8159         javax/accessibility/AccessibleComponent.java,
8160         javax/accessibility/AccessibleContext.java,
8161         javax/accessibility/AccessibleEditableText.java,
8162         javax/accessibility/AccessibleExtendedComponent.java,
8163         javax/accessibility/AccessibleExtendedTable.java,
8164         javax/accessibility/AccessibleHyperlink.java,
8165         javax/accessibility/AccessibleHypertext.java,
8166         javax/accessibility/AccessibleIcon.java,
8167         javax/accessibility/Accessible.java,
8168         javax/accessibility/AccessibleKeyBinding.java,
8169         javax/accessibility/AccessibleRelation.java,
8170         javax/accessibility/AccessibleRelationSet.java,
8171         javax/accessibility/AccessibleResourceBundle.java,
8172         javax/accessibility/AccessibleRole.java,
8173         javax/accessibility/AccessibleSelection.java,
8174         javax/accessibility/AccessibleState.java,
8175         javax/accessibility/AccessibleStateSet.java,
8176         javax/accessibility/AccessibleTable.java,
8177         javax/accessibility/AccessibleTableModelChange.java,
8178         javax/accessibility/AccessibleText.java,
8179         javax/accessibility/AccessibleValue.java,
8180         javax/swing/AbstractAction.java,
8181         javax/swing/AbstractButton.java,
8182         javax/swing/AbstractCellEditor.java,
8183         javax/swing/AbstractListModel.java,
8184         javax/swing/AbstractSet.java, javax/swing/Action.java,
8185         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8186         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8187         javax/swing/border/CompoundBorder.java,
8188         javax/swing/border/EmptyBorder.java,
8189         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8190         javax/swing/border/LineBorder.java,
8191         javax/swing/border/MatteBorder.java,
8192         javax/swing/border/TitledBorder.java,
8193         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8194         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8195         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8196         javax/swing/CellRendererPane.java,
8197         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8198         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8199         javax/swing/colorchooser/ColorSelectionModel.java,
8200         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8201         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8202         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8203         javax/swing/DefaultBoundedRangeModel.java,
8204         javax/swing/DefaultButtonModel.java,
8205         javax/swing/DefaultCellEditor.java,
8206         javax/swing/DefaultCellRenderer.java,
8207         javax/swing/DefaultComboBoxModel.java,
8208         javax/swing/DefaultDesktopManager.java,
8209         javax/swing/DefaultFocusManager.java,
8210         javax/swing/DefaultListCellRenderer.java,
8211         javax/swing/DefaultListModel.java,
8212         javax/swing/DefaultListSelectionModel.java,
8213         javax/swing/DefaultSingleSelectionModel.java,
8214         javax/swing/DesktopManager.java,
8215         javax/swing/event/AncestorEvent.java,
8216         javax/swing/event/AncestorListener.java,
8217         javax/swing/event/CaretEvent.java,
8218         javax/swing/event/CaretListener.java,
8219         javax/swing/event/CellEditorListener.java,
8220         javax/swing/event/ChangeEvent.java,
8221         javax/swing/event/ChangeListener.java,
8222         javax/swing/event/DocumentEvent.java,
8223         javax/swing/event/DocumentListener.java,
8224         javax/swing/event/EventListenerList.java,
8225         javax/swing/event/HyperlinkEvent.java,
8226         javax/swing/event/HyperlinkListener.java,
8227         javax/swing/event/InternalFrameAdapter.java,
8228         javax/swing/event/InternalFrameEvent.java,
8229         javax/swing/event/InternalFrameListener.java,
8230         javax/swing/event/ListDataEvent.java,
8231         javax/swing/event/ListDataListener.java,
8232         javax/swing/event/ListSelectionEvent.java,
8233         javax/swing/event/ListSelectionListener.java,
8234         javax/swing/event/MenuDragMouseEvent.java,
8235         javax/swing/event/MenuDragMouseListener.java,
8236         javax/swing/event/MenuEvent.java,
8237         javax/swing/event/MenuKeyEvent.java,
8238         javax/swing/event/MenuKeyListener.java,
8239         javax/swing/event/MenuListener.java,
8240         javax/swing/event/MouseInputAdapter.java,
8241         javax/swing/event/MouseInputListener.java,
8242         javax/swing/event/PopupMenuEvent.java,
8243         javax/swing/event/PopupMenuListener.java,
8244         javax/swing/event/SwingPropertyChangeSupport.java,
8245         javax/swing/event/TableColumnModelEvent.java,
8246         javax/swing/event/TableColumnModelListener.java,
8247         javax/swing/event/TableModelEvent.java,
8248         javax/swing/event/TableModelListener.java,
8249         javax/swing/event/TreeExpansionEvent.java,
8250         javax/swing/event/TreeExpansionListener.java,
8251         javax/swing/event/TreeModelEvent.java,
8252         javax/swing/event/TreeModelListener.java,
8253         javax/swing/event/TreeSelectionEvent.java,
8254         javax/swing/event/TreeSelectionListener.java,
8255         javax/swing/event/TreeWillExpandListener.java,
8256         javax/swing/event/UndoableEditEvent.java,
8257         javax/swing/event/UndoableEditListener.java,
8258         javax/swing/filechooser/FileFilter.java,
8259         javax/swing/filechooser/FileSystemView.java,
8260         javax/swing/filechooser/FileView.java,
8261         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8262         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8263         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8264         javax/swing/JApplet.java, javax/swing/JButton.java,
8265         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8266         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8267         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8268         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8269         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8270         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8271         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8272         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8273         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8274         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8275         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8276         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8277         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8278         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8279         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8280         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8281         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8282         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8283         javax/swing/JToolTip.java, javax/swing/JTree.java,
8284         javax/swing/JViewport.java, javax/swing/JWindow.java,
8285         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8286         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8287         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8288         javax/swing/MenuSelectionManager.java,
8289         javax/swing/MutableComboBoxModel.java,
8290         javax/swing/OverlayLayout.java,
8291         javax/swing/plaf/ActionMapUIResource.java,
8292         javax/swing/plaf/basic/BasicBorders.java,
8293         javax/swing/plaf/basic/BasicButtonUI.java,
8294         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8295         javax/swing/plaf/basic/BasicDefaults.java,
8296         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8297         javax/swing/plaf/basic/BasicIconFactory.java,
8298         javax/swing/plaf/basic/BasicLabelUI.java,
8299         javax/swing/plaf/basic/BasicListUI.java,
8300         javax/swing/plaf/basic/BasicLookAndFeel.java,
8301         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8302         javax/swing/plaf/basic/BasicPanelUI.java,
8303         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8304         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8305         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8306         javax/swing/plaf/basic/BasicTextUI.java,
8307         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8308         javax/swing/plaf/basic/BasicTreeUI.java,
8309         javax/swing/plaf/basic/BasicViewportUI.java,
8310         javax/swing/plaf/BorderUIResource.java,
8311         javax/swing/plaf/ButtonUI.java,
8312         javax/swing/plaf/ColorChooserUI.java,
8313         javax/swing/plaf/ColorUIResource.java,
8314         javax/swing/plaf/ComboBoxUI.java,
8315         javax/swing/plaf/ComponentInputMapUIResource.java,
8316         javax/swing/plaf/ComponentUI.java,
8317         javax/swing/plaf/DesktopIconUI.java,
8318         javax/swing/plaf/DesktopPaneUI.java,
8319         javax/swing/plaf/DimensionUIResource.java,
8320         javax/swing/plaf/FileChooserUI.java,
8321         javax/swing/plaf/FontUIResource.java,
8322         javax/swing/plaf/IconUIResource.java,
8323         javax/swing/plaf/InputMapUIResource.java,
8324         javax/swing/plaf/InsetsUIResource.java,
8325         javax/swing/plaf/InternalFrameUI.java,
8326         javax/swing/plaf/LabelUI.java,
8327         javax/swing/plaf/ListUI.java,
8328         javax/swing/plaf/MenuBarUI.java,
8329         javax/swing/plaf/MenuItemUI.java,
8330         javax/swing/plaf/OptionPaneUI.java,
8331         javax/swing/plaf/PanelUI.java,
8332         javax/swing/plaf/PopupMenuUI.java,
8333         javax/swing/plaf/ProgressBarUI.java,
8334         javax/swing/plaf/RootPaneUI.java,
8335         javax/swing/plaf/ScrollBarUI.java,
8336         javax/swing/plaf/ScrollPaneUI.java,
8337         javax/swing/plaf/SeparatorUI.java,
8338         javax/swing/plaf/SliderUI.java,
8339         javax/swing/plaf/SplitPaneUI.java,
8340         javax/swing/plaf/TabbedPaneUI.java,
8341         javax/swing/plaf/TableHeaderUI.java,
8342         javax/swing/plaf/TableUI.java,
8343         javax/swing/plaf/TextUI.java,
8344         javax/swing/plaf/ToolBarUI.java,
8345         javax/swing/plaf/ToolTipUI.java,
8346         javax/swing/plaf/TreeUI.java,
8347         javax/swing/plaf/UIResource.java,
8348         javax/swing/plaf/ViewportUI.java,
8349         javax/swing/ProgressMonitorInputStream.java,
8350         javax/swing/ProgressMonitor.java,
8351         javax/swing/Renderer.java,
8352         javax/swing/RepaintManager.java,
8353         javax/swing/RootPaneContainer.java,
8354         javax/swing/Scrollable.java,
8355         javax/swing/ScrollPaneConstants.java,
8356         javax/swing/ScrollPaneLayout.java,
8357         javax/swing/SingleSelectionModel.java,
8358         javax/swing/SizeRequirements.java,
8359         javax/swing/SizeSequence.java,
8360         javax/swing/SwingConstants.java,
8361         javax/swing/SwingUtilities.java,
8362         javax/swing/table/AbstractTableModel.java,
8363         javax/swing/table/DefaultTableCellRenderer.java,
8364         javax/swing/table/DefaultTableColumnModel.java,
8365         javax/swing/table/DefaultTableModel.java,
8366         javax/swing/table/TableCellEditor.java,
8367         javax/swing/table/TableCellRenderer.java,
8368         javax/swing/table/TableColumn.java,
8369         javax/swing/table/TableColumnModel.java,
8370         javax/swing/table/TableModel.java,
8371         javax/swing/text/AbstractDocument.java,
8372         javax/swing/text/AttributeSet.java,
8373         javax/swing/text/BadLocationException.java,
8374         javax/swing/text/Caret.java,
8375         javax/swing/text/CharacterIterator.java,
8376         javax/swing/text/ComponentView.java,
8377         javax/swing/text/DefaultCaret.java,
8378         javax/swing/text/DefaultEditorKit.java,
8379         javax/swing/text/Document.java,
8380         javax/swing/text/EditorKit.java,
8381         javax/swing/text/Element.java,
8382         javax/swing/text/GapContent.java,
8383         javax/swing/text/JTextComponent.java,
8384         javax/swing/text/Keymap.java,
8385         javax/swing/text/MutableAttributeSet.java,
8386         javax/swing/text/PlainDocument.java,
8387         javax/swing/text/PlainEditorKit.java,
8388         javax/swing/text/Position.java,
8389         javax/swing/text/Segment.java,
8390         javax/swing/text/StyledDocument.java,
8391         javax/swing/text/StyledEditorKit.java,
8392         javax/swing/text/Style.java,
8393         javax/swing/text/TextAction.java,
8394         javax/swing/text/ViewFactory.java,
8395         javax/swing/text/View.java,
8396         javax/swing/Timer.java,
8397         javax/swing/ToggleButtonModel.java,
8398         javax/swing/ToolTipManager.java,
8399         javax/swing/tree/AbstractLayoutCache.java,
8400         javax/swing/tree/DefaultMutableTreeNode.java,
8401         javax/swing/tree/DefaultTreeCellEditor.java,
8402         javax/swing/tree/DefaultTreeCellRenderer.java,
8403         javax/swing/tree/DefaultTreeModel.java,
8404         javax/swing/tree/DefaultTreeSelectionModel.java,
8405         javax/swing/tree/ExpandVetoException.java,
8406         javax/swing/tree/FixedHeightLayoutCache.java,
8407         javax/swing/tree/MutableTreeNode.java,
8408         javax/swing/tree/RowMapper.java,
8409         javax/swing/tree/TreeCellEditor.java,
8410         javax/swing/tree/TreeCellRenderer.java,
8411         javax/swing/tree/TreeModel.java,
8412         javax/swing/tree/TreeNode.java,
8413         javax/swing/tree/TreePath.java,
8414         javax/swing/tree/TreeSelectionModel.java,
8415         javax/swing/tree/VariableHeightLayoutCache.java,
8416         javax/swing/UIDefaults.java,
8417         javax/swing/UIManager.java,
8418         javax/swing/undo/AbstractUndoableEdit.java,
8419         javax/swing/undo/CannotRedoException.java,
8420         javax/swing/undo/CannotUndoException.java,
8421         javax/swing/undo/CompoundEdit.java,
8422         javax/swing/undo/StateEditable.java,
8423         javax/swing/undo/StateEdit.java,
8424         javax/swing/undo/UndoableEdit.java,
8425         javax/swing/undo/UndoableEditSupport.java,
8426         javax/swing/undo/UndoManager.java,
8427         javax/swing/UnsupportedLookAndFeelException.java,
8428         javax/swing/ViewportLayout.java,
8429         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8430
8431         * java/awt/ActiveEvent.java,
8432         java/awt/Adjustable.java, java/awt/AWTError.java,
8433         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8434         java/awt/AWTException.java, java/awt/AWTPermission.java,
8435         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8436         java/awt/Color.java, java/awt/Component.java,
8437         java/awt/ComponentOrientation.java, java/awt/Container.java,
8438         java/awt/datatransfer/MimeTypeParseException.java,
8439         java/awt/datatransfer/Transferable.java,
8440         java/awt/datatransfer/UnsupportedFlavorException.java,
8441         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8442         java/awt/event/ActionListener.java,
8443         java/awt/event/AdjustmentEvent.java,
8444         java/awt/event/AdjustmentListener.java,
8445         java/awt/event/AWTEventListener.java,
8446         java/awt/event/ComponentAdapter.java,
8447         java/awt/event/ComponentEvent.java,
8448         java/awt/event/ComponentListener.java,
8449         java/awt/event/ContainerAdapter.java,
8450         java/awt/event/ContainerEvent.java,
8451         java/awt/event/ContainerListener.java,
8452         java/awt/event/FocusAdapter.java,
8453         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8454         java/awt/event/HierarchyBoundsAdapter.java,
8455         java/awt/event/HierarchyBoundsListener.java,
8456         java/awt/event/HierarchyEvent.java,
8457         java/awt/event/HierarchyListener.java,
8458         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8459         java/awt/event/InputMethodListener.java,
8460         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8461         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8462         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8463         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8464         java/awt/event/MouseListener.java,
8465         java/awt/event/MouseMotionAdapter.java,
8466         java/awt/event/MouseMotionListener.java,
8467         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8468         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8469         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8470         java/awt/event/WindowListener.java, java/awt/Font.java,
8471         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8472         java/awt/geom/Ellipse2D.java,
8473         java/awt/geom/IllegalPathStateException.java,
8474         java/awt/geom/Line2D.java,
8475         java/awt/geom/NoninvertibleTransformException.java,
8476         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8477         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8478         java/awt/geom/RoundRectangle2D.java,
8479         java/awt/GraphicsConfiguration.java,
8480         java/awt/IllegalComponentStateException.java,
8481         java/awt/image/IndexColorModel.java,
8482         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8483         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8484         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8485         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8486         java/awt/MenuItem.java, java/awt/PaintContext.java,
8487         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8488         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8489         java/awt/PrintJob.java, java/awt/Rectangle.java,
8490         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8491         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8492         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8493
8494         * java/awt/im/spi/InputMethod.java,
8495         java/awt/im/spi/InputMethodContext.java,
8496         java/awt/im/spi/InputMethodDescriptor.java,
8497         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8498         java/awt/image/renderable/ParameterBlock.java,
8499         java/awt/image/renderable/RenderContext.java,
8500         java/awt/image/renderable/RenderableImage.java,
8501         java/awt/image/renderable/RenderableImageOp.java,
8502         java/awt/image/renderable/RenderableImageProducer.java,
8503         java/awt/image/renderable/RenderedImageFactory.java: New files from
8504         classpath.
8505
8506         * gnu/java/awt/EventModifier.java,
8507         gnu/java/awt/image/ImageDecoder.java,
8508         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8509
8510         * gnu/awt/xlib/XGraphicsConfiguration.java,
8511         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8512         API.
8513
8514         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8515         GNU Classpath.
8516
8517         * Makefile.am: Add new files.
8518         * Makefile.in: Rebuilt.
8519
8520 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8521
8522         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8523         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8524         findResource, getResources, findResources): Add javadoc from classpath.
8525         (getSystemResources): Implemented.
8526
8527 2002-08-01  Mark Wielaard  <mark@klomp.org>
8528
8529         Revert patch that breaks libgcj shared library on powerpc:
8530         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8531         implementation classes by using Class.getName(). Uses Strings again.
8532         * gnu/java/security/der/DEREncodingException.java,
8533         gnu/java/security/provider/DERReader.java,
8534         gnu/java/security/provider/DERWriter.java,
8535         gnu/java/security/provider/DSAKeyPairGenerator.java,
8536         gnu/java/security/provider/DSAParameterGenerator.java,
8537         gnu/java/security/provider/DSAParameters.java,
8538         gnu/java/security/provider/DSASignature.java,
8539         gnu/java/security/provider/GnuDSAPrivateKey.java,
8540         gnu/java/security/provider/GnuDSAPublicKey.java,
8541         gnu/java/security/provider/MD5.java,
8542         gnu/java/security/util/Prime.java: Removed.
8543         * Makefile.am (ordinary_java_source_files): Remove above files.
8544         * Makefile.in: Regenerate.
8545         * gnu/java/security/provider/DefaultPolicy.java
8546         (getPermissions): Revert to maintaining static class variable of
8547         Permissions.
8548         * gnu/java/security/provider/SHA.java
8549         (engineUpdate): Revert algorithm change.
8550         (engineDigest): Revert algorithm change.
8551
8552 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8553
8554         * configure.host: Add SH support.
8555         * sysdep/sh/locks.h: New file.
8556
8557 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8558
8559         * java/awt/Frame.java (Frame): Remove println calls.
8560
8561 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8562
8563         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8564         * configure: Rebuilt.
8565
8566 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8567
8568         * sysdep/powerpc/locks.h: Formatting.
8569         (_LARX): Define.
8570         (_STCX): Define.
8571         (compare_and_swap): Use _LARX and _STCX.
8572         (compare_and_swap_release): Likewise.
8573
8574 2002-07-26  Tom Tromey  <tromey@redhat.com>
8575
8576         * java/net/Authenticator.java: New version from Classpath.
8577         * java/net/DatagramSocketImpl.java: New version from Classpath.
8578
8579 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8580
8581         * configure.host: Add powerpc64*-* entry.
8582
8583 2002-07-26  Tom Tromey  <tromey@redhat.com>
8584
8585         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8586         fcntl.h.
8587
8588 2002-07-24  Tom Tromey  <tromey@redhat.com>
8589
8590         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8591         argument to _load.
8592
8593 2002-07-24  Tom Tromey  <tromey@redhat.com>
8594             Tony Kimball <alk@pobox.com>
8595
8596         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8597         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8598         * java/io/RandomAccessFile.java (setLength): New method.
8599         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8600         * java/io/FileDescriptor.java (setLength): New method.
8601
8602 2002-07-24  Mark Wielaard  <mark@klomp.org>
8603
8604         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8605         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8606         field call setAccessible(true).
8607         (setByteField): Likewise.
8608         (setCharField): Likewise.
8609         (setDoubleField): Likewise.
8610         (setFloatField): Likewise.
8611         (setIntField): Likewise.
8612         (setLongField): Likewise.
8613         (setShortField): Likewise.
8614         (setObjectField): Likewise.
8615
8616 2002-07-24  Tom Tromey  <tromey@redhat.com>
8617
8618         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8619         use toString() to format array element.
8620
8621 2002-07-23  Mark Wielaard  <mark@klomp.org>
8622
8623         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8624         MessageDigestSpi (fixes Classpath bug #783).
8625
8626 2002-07-21  Mark Wielaard  <mark@klomp.org>
8627
8628         * gnu/java/security/provider/Gnu.java: Reference all implementation
8629         classes by using Class.getName().
8630
8631 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8632
8633         * java/lang/ieeefp.h: Add x86-64 support.
8634         * configure.in: Likewise.
8635         * configure.host: Likewise.
8636         * configure: Regenerated.
8637         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8638
8639 2002-07-16  Mark Wielaard  <mark@klomp.org>
8640
8641         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8642         (whitespaceChars): call resetChar().
8643
8644 2002-07-15  Tom Tromey  <tromey@redhat.com>
8645
8646         * Makefile.in: Rebuilt.
8647         * Makefile.am (awt_java_source_files): Added new files.
8648         * java/beans/ExceptionListener.java: Merged with Classpath.
8649         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8650         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8651         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8652         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8653         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8654         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8655         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8656
8657 2002-07-14  Mark Wielaard  <mark@klomp.org>
8658
8659         * gnu/java/security/der/DEREncodingException.java,
8660         gnu/java/security/provider/DERReader.java,
8661         gnu/java/security/provider/DERWriter.java,
8662         gnu/java/security/provider/DSAKeyPairGenerator.java,
8663         gnu/java/security/provider/DSAParameterGenerator.java,
8664         gnu/java/security/provider/DSAParameters.java,
8665         gnu/java/security/provider/DSASignature.java,
8666         gnu/java/security/provider/GnuDSAPrivateKey.java,
8667         gnu/java/security/provider/GnuDSAPublicKey.java,
8668         gnu/java/security/provider/MD5.java,
8669         gnu/java/security/util/Prime.java: New files from Classpath.
8670         * Makefile.am (ordinary_java_source_files): Add new files.
8671         * Makefile.in: Regenerate.
8672
8673 2002-07-14  C. Brian Jones <cbj@gnu.org>
8674
8675         * gnu/java/security/provider/DefaultPolicy.java
8676         (getPermissions): do not maintain static class variable of
8677         Permissions
8678         * gnu/java/security/provider/SHA.java
8679         (engineUpdate): algorithm change
8680         (engineDigest): algorithm change
8681
8682 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8683
8684         For PR libgcj/7292:
8685         * java/lang/Character.java (toString(char)): Now static.
8686
8687 2002-07-12  Mark Wielaard  <mark@klomp.org>
8688
8689         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8690         (getStackTrace0): new method.
8691         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8692         (printStackTrace(PrintWriter)): replace with pure java implementation.
8693         (printRawStackTrace): removed.
8694         (getStackTrace0): new method.
8695         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8696         * gcj/javaprims.h: regenerate class list.
8697         * include/name-finder.h (lookup): new returns StackTraceElement*.
8698         (method_name, file_name): fields removed.
8699         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8700         (~_Jv_name_finder): close new descriptors.
8701         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8702         (createStackTraceElement): new method.
8703         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8704
8705 2002-07-10  Tom Tromey  <tromey@redhat.com>
8706
8707         * configure: Rebuilt.
8708         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8709
8710 2002-07-08  Mark Wielaard  <mark@klomp.org>
8711
8712         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8713         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8714         java.sql.DatabaseMetaData.TestJdbc20
8715
8716 2002-07-05  Tony Kimball  <alk@pobox.com>
8717
8718         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8719
8720 2002-07-04  Tom Tromey  <tromey@redhat.com>
8721             Jeff Sturm  <jsturm@one-point.com>
8722
8723         Fix for PR libgcj/7060:
8724         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8725         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8726         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8727         * java/lang/Class.java (getMethod): New Java implementation;
8728         complies with spec.
8729         (_getMethod): New native method.
8730
8731 2002-07-02  Tom Tromey  <tromey@redhat.com>
8732             David Hovemeyer  <daveho@cs.umd.edu>
8733
8734         * java/text/ChoiceFormat.java
8735         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8736         in check loop.
8737         * java/text/MessageFormat.java
8738         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8739         to MessageFormat.
8740
8741 2002-07-01  Tom Tromey  <tromey@redhat.com>
8742
8743         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8744         StringTokenizer on null string.  For PR libgcj/7180.
8745         From daveho@cs.umd.edu.
8746
8747 2002-06-24  Tom Tromey  <tromey@redhat.com>
8748
8749         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8750         (IntegerClass): Likewise.
8751         * java/lang/natClass.cc (CloneableClass): Removed.
8752         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8753         ConstructorClass): Likewise.
8754         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8755         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8756         SerializableClass): Likewise.
8757         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8758         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8759         LongClass, FloatClass, DoubleClass): Likewise.
8760
8761         * verify.cc (branch_prepass): Updated for change to exception
8762         handler type.
8763         (verify_instructions_0): Likewise.
8764         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8765         (handleExceptionTableEntry): Updated for change to exception
8766         handler type.
8767         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8768         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8769         (union _Jv_InterpPC): New.
8770         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8771         (class _Jv_InterpMethod): Added new `prepared' field.
8772         (class _Jv_InterpMethod): Added `compile' method.  Removed
8773         `continue1' and `find_exception'.  Changed arguments to `run'.
8774         * interpret.cc (union insn_slot): New.
8775         (find_exception): Removed.
8776         (run_normal): Removed most logic.
8777         (run_synch_object): Likewise; also, use JvSynchronize.
8778         (run_synch_class): Likewise.
8779         (run): Removed.
8780         (continue1): Renamed as `run'.  Compile bytecode if required.
8781         Add new code to allow refinement of direct-threaded code at
8782         runtime.  Handle exceptions.
8783         (SAVE_PC): Removed.
8784         (compile): New method.
8785         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8786         (NULLARRAYCHECK): Don't use SAVE_PC.
8787         (pc_t): New typedef.
8788         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8789         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8790
8791 2002-06-23  Tom Tromey  <tromey@redhat.com>
8792
8793         * configure: Rebuilt.
8794         * configure.in (INTERPRETER): New subst.
8795         (AM_RUNTESTFLAGS): Don't subst.
8796
8797         * Makefile.in: Rebuilt.
8798         * Makefile.am ($(srcdir)/java/lang/Object.h,
8799         $(srcdir)/java/lang/Class.h): Added dummy targets.
8800
8801 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8802
8803         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8804
8805         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8806         java/sql/Savepoint.java: New files.
8807         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8808         java/sql/Blob.java, java/sql/CallableStatement.java,
8809         java/sql/Clob.java, java/sql/Connection.java,
8810         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8811         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8812         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8813         java/sql/Ref.java, java/sql/ResultSet.java,
8814         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8815         java/sql/SQLException.java, java/sql/SQLInput.java,
8816         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8817         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8818         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8819         (JDK 1.4) specification.
8820         * javax/sql/ConnectionEvent.java,
8821         javax/sql/ConnectionEventListener.java,
8822         javax/sql/ConnectionPoolDataSource.java,
8823         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8824         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8825         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8826         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8827         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8828         javax/sql/XADataSource.java: New files.
8829         * Makefile.am: Add new files.
8830         * Makefile.in: Rebuilt.
8831
8832 2002-06-20  Tom Tromey  <tromey@redhat.com>
8833
8834         For PR libgcj/7073:
8835         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8836         exists.
8837         * defineclass.cc (handleClassBegin): Superclass for interface is
8838         `null'.
8839
8840 2002-06-18  Tom Tromey  <tromey@redhat.com>
8841
8842         * gcj/javaprims.h: Updated class declaration list.
8843         * Makefile.in: Rebuilt.
8844         * Makefile.am (core_java_source_files): Removed
8845         BasicMapEntry.java.
8846         * java/util/BasicMapEntry.java: Removed.
8847
8848 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8849
8850         * java/net/natPlainDatagramSocketImpl.cc (receive):
8851         Check bounds of argument to FD_SET.
8852         (setOption): Throw exception if socket is closed.
8853
8854         * java/net/natPlainSocketImpl.cc (accept, read):
8855         Check bounds of argument to FD_SET.
8856         (setOption): Throw exception if socket is closed.
8857
8858 2002-06-18  Tom Tromey  <tromey@redhat.com>
8859
8860         * gcj/javaprims.h: Updated class declaration list.
8861         * Makefile.in: Rebuilt.
8862         * Makefile.am (core_java_source_files): Added
8863         PropertyPermissionCollection.java.
8864         * java/lang/Thread.java (group, name): Now package-private.
8865         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8866         * java/util/AbstractList.java: Likewise.
8867         * java/util/AbstractMap.java: Likewise.
8868         * java/util/Calendar.java: Likewise.
8869         * java/util/Collections.java: Likewise.
8870         * java/util/HashMap.java: Likewise.
8871         * java/util/Hashtable.java: Likewise.
8872         * java/util/LinkedHashMap.java: Likewise.
8873         * java/util/LinkedList.java: Likewise.
8874         * java/util/List.java: Likewise.
8875         * java/util/ListResourceBundle.java: Likewise.
8876         * java/util/Map.java: Likewise.
8877         * java/util/Observable.java: Likewise.
8878         * java/util/Properties.java: Likewise.
8879         * java/util/PropertyPermission.java: Likewise.
8880         * java/util/PropertyPermissionCollection.java: Likewise.
8881         * java/util/PropertyResourceBundle.java: Likewise.
8882         * java/util/Random.java: Likewise.
8883         * java/util/SimpleTimeZone.java: Likewise.
8884         * java/util/StringTokenizer.java: Likewise.
8885         * java/util/TimerTask.java: Likewise.
8886         * java/util/TreeMap.java: Likewise.
8887         * java/util/WeakHashMap.java: Likewise.
8888         * java/util/jar/Attributes.java: Likewise.
8889         * java/util/jar/JarException.java: Likewise.
8890         * java/util/jar/Manifest.java: Likewise.
8891
8892 2002-06-17  Tom Tromey  <tromey@redhat.com>
8893
8894         * gcj/javaprims.h: Updated class declaration list.
8895         * Makefile.in: Rebuilt.
8896         * Makefile.am (core_java_source_files): Added new file.
8897         * java/util/EventListenerProxy.java: New file.
8898         * java/util/EventListener.java: Re-merge with Classpath.
8899         * java/util/EventObject.java: Re-merge with Classpath.
8900
8901 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8902
8903         * java/lang/ClassNotFoundException.java: New Classpath version.
8904
8905 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8906
8907         * java/rmi/activation/ActivateFailedException.java: Remerge from
8908         Classpath version.
8909         * java/rmi/activation/ActivationException.java: Ditto.
8910         * java/rmi/activation/UnknownGroupException.java: Ditto.
8911         * java/rmi/activation/UnknownObjectException.java: Ditto.
8912         * java/rmi/server/ExportException: Ditto.
8913         * java/rmi/server/ServerCloneException: Ditto.
8914         * java/rmi/server/ServerNotActiveException: Ditto.
8915         * java/rmi/server/SkeletonMismatchException: Ditto.
8916         * java/rmi/server/SkeletonNotFoundException: Ditto.
8917         * java/rmi/server/SocketSecurityException: Ditto.
8918
8919 2002-06-16  Tom Tromey  <tromey@redhat.com>
8920
8921         * gcj/javaprims.h: Updated class declaration list.
8922
8923         * java/io/LineNumberInputStream.java: Merged with Classpath.
8924
8925         * java/lang/RuntimeException.java: Re-merge with Classpath.
8926         * java/util/ArrayList.java: Likewise.
8927         * java/util/Arrays.java: Likewise.
8928         * java/util/BitSet.java: Likewise.
8929         * java/util/Dictionary.java: Likewise.
8930         * java/util/IdentityHashMap.java: Likewise.
8931         * java/util/MissingResourceException.java: Likewise.
8932         * java/util/Observer.java: Likewise.
8933         * java/util/TooManyListenersException.java: Likewise.
8934         * java/util/zip/DataFormatException.java: Likewise.
8935         * java/util/zip/ZipException.java: Likewise.
8936
8937 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8938
8939         * java/rmi/AccessException.java: Remerge from Classpath.
8940         * java/rmi/AlreadyBoundException.java: Ditto.
8941         * java/rmi/ConnectException.java: Ditto.
8942         * java/rmi/ConnectIOException.java: Ditto.
8943         * java/rmi/MarshalException.java: Ditto.
8944         * java/rmi/NoSuchObjectException.java: Ditto.
8945         * java/rmi/NotBoundException.java: Ditto.
8946         * java/rmi/RemoteException.java: Ditto.
8947         * java/rmi/RMISecurityException.java: Ditto.
8948         * java/rmi/ServerError.java: Ditto.
8949         * java/rmi/ServerException.java: Ditto.
8950         * java/rmi/ServerRuntimeException.java: Ditto.
8951         * java/rmi/StubNotFoundException.java: Ditto.
8952         * java/rmi/UnexpectedExcpetion.java: Ditto.
8953         * java/rmi/UnknownHostException.java: Ditto.
8954         * java/rmi/UnmarshalException.java: Ditto.
8955
8956 2002-06-15  Tom Tromey  <tromey@redhat.com>
8957
8958         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8959         * java/lang/ArithmeticException.java: Likewise.
8960         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8961         * java/lang/ArrayStoreException.java: Likewise.
8962         * java/lang/Byte.java: Likewise.
8963         * java/lang/CharSequence.java: Likewise.
8964         * java/lang/ClassCastException.java: Likewise.
8965         * java/lang/ClassCircularityError.java: Likewise.
8966         * java/lang/ClassFormatError.java: Likewise.
8967         * java/lang/CloneNotSupportedException.java: Likewise.
8968         * java/lang/Cloneable.java: Likewise.
8969         * java/lang/Comparable.java: Likewise.
8970         * java/lang/Compiler.java: Likewise.
8971         * java/lang/Error.java: Likewise.
8972         * java/lang/ExceptionInInitializerError.java: Likewise.
8973         * java/lang/IllegalAccessError.java: Likewise.
8974         * java/lang/IllegalAccessException.java: Likewise.
8975         * java/lang/IllegalArgumentException.java: Likewise.
8976         * java/lang/IllegalMonitorStateException.java: Likewise.
8977         * java/lang/IllegalStateException.java: Likewise.
8978         * java/lang/IllegalThreadStateException.java: Likewise.
8979         * java/lang/IncompatibleClassChangeError.java: Likewise.
8980         * java/lang/IndexOutOfBoundsException.java: Likewise.
8981         * java/lang/InheritableThreadLocal.java: Likewise.
8982         * java/lang/InstantiationError.java: Likewise.
8983         * java/lang/InstantiationException.java: Likewise.
8984         * java/lang/InternalError.java: Likewise.
8985         * java/lang/InterruptedException.java: Likewise.
8986         * java/lang/LinkageError.java: Likewise.
8987         * java/lang/NegativeArraySizeException.java: Likewise.
8988         * java/lang/NoClassDefFoundError.java: Likewise.
8989         * java/lang/NoSuchFieldError.java: Likewise.
8990         * java/lang/NoSuchFieldException.java: Likewise.
8991         * java/lang/NoSuchMethodError.java: Likewise.
8992         * java/lang/NoSuchMethodException.java: Likewise.
8993         * java/lang/NullPointerException.java: Likewise.
8994         * java/lang/NumberFormatException.java: Likewise.
8995         * java/lang/OutOfMemoryError.java: Likewise.
8996         * java/lang/Process.java: Likewise.
8997         * java/lang/Runnable.java: Likewise.
8998         * java/lang/RuntimePermission.java: Likewise.
8999         * java/lang/SecurityException.java: Likewise.
9000         * java/lang/Short.java: Likewise.
9001         * java/lang/StackOverflowError.java: Likewise.
9002         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9003         * java/lang/ThreadDeath.java: Likewise.
9004         * java/lang/ThreadLocal.java: Likewise.
9005         * java/lang/UnknownError.java: Likewise.
9006         * java/lang/UnsatisfiedLinkError.java: Likewise.
9007         * java/lang/UnsupportedClassVersionError.java: Likewise.
9008         * java/lang/UnsupportedOperationException.java: Likewise.
9009         * java/lang/VerifyError.java: Likewise.
9010         * java/lang/VirtualMachineError.java: Likewise.
9011         * java/lang/reflect/InvocationTargetException.java: Likewise.
9012         * java/net/BindException.java: Likewise.
9013         * java/net/ConnectException.java: Likewise.
9014         * java/net/MalformedURLException.java: Likewise.
9015         * java/net/NoRouteToHostException.java: Likewise.
9016         * java/net/ProtocolException.java: Likewise.
9017         * java/net/SocketException.java: Likewise.
9018         * java/net/UnknownHostException.java: Likewise.
9019         * java/net/UnknownServiceException.java: Likewise.
9020
9021         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9022         * java/io/CharConversionException.java: Likewise.
9023         * java/io/EOFException.java: Likewise.
9024         * java/io/FileNotFoundException.java: Likewise.
9025         * java/io/IOException.java: Likewise.
9026         * java/io/InterruptedIOException.java: Likewise.
9027         * java/io/InvalidClassException.java: Likewise.
9028         * java/io/InvalidObjectException.java: Likewise.
9029         * java/io/NotActiveException.java: Likewise.
9030         * java/io/NotSerializableException.java: Likewise.
9031         * java/io/ObjectStreamException.java: Likewise.
9032         * java/io/ObjectStreamConstants.java: Likewise.
9033         * java/io/OptionalDataException.java: Likewise.
9034         * java/io/PipedInputStream.java: Likewise.
9035         * java/io/PushbackInputStream.java: Likewise.
9036         * java/io/StreamCorruptedException.java: Likewise.
9037         * java/io/SyncFailedException.java: Likewise.
9038         * java/io/UTFDataFormatException.java: Likewise.
9039         * java/io/UnsupportedEncodingException.java: Likewise.
9040         * java/io/WriteAbortedException.java: Likewise.
9041
9042 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9043
9044         * java/text/ChoiceFormat.java: Update comments from Classpath.
9045         * java/text/ParseException.java (serialVersionUID): New
9046         field from Classpath.
9047         * java/text/ParseException.java: Update formatting & comments
9048         from Classpath.
9049
9050 2002-06-15  Tom Tromey  <tromey@redhat.com>
9051
9052         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9053         been read but none output by inflater.
9054         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9055         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9056         is_finished.
9057         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9058         version.
9059         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9060         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9061         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9062         version.
9063         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9064
9065 2002-06-13  Tom Tromey  <tromey@redhat.com>
9066
9067         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9068         true and OFFSET!=0.
9069         * java/lang/String.java (String(char[],int,int,boolean): New
9070         constructor.
9071         * java/lang/Long.java: Imported new version from Classpath.
9072         * java/lang/Number.java: Likewise.
9073         * java/lang/Integer.java: Likewise.
9074         * java/lang/Long.java: Likewise.
9075         * java/lang/Float.java: Likewise.
9076         * java/lang/Boolean.java: Likewise.
9077         * java/lang/Double.java: Likewise.
9078         * java/lang/Void.java: Likewise.
9079
9080 2002-06-12  Tom Tromey  <tromey@redhat.com>
9081
9082         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9083         Fixes PR libgcj/6652.
9084
9085 2002-06-10  Tom Tromey  <tromey@redhat.com>
9086
9087         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9088         (Class::getPackagePortion): Likewise.
9089         * java/lang/Class.java (desiredAssertionStatus): New method from
9090         Classpath.
9091         (getPackagePortion): Likewise.
9092         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9093         packageAssertionStatus, classAssertionStatus): New methods from
9094         Classpath.
9095         * java/lang/ClassLoader.java (defaultAssertionStatus,
9096         systemPackageAssertionStatus, packageAssertionStatus,
9097         systemClassAssertionStatus, classAssertionStatus): New fields from
9098         Classpath.
9099         (setDefaultAssertionStatus, setPackageAssertionStatus,
9100         setClassAssertionStatus, clearAssertionStatus): New methods from
9101         Classpath.
9102         * Makefile.in: Rebuilt.
9103         * Makefile.am (core_java_source_files): Added AssertionError.java.
9104         * java/lang/AssertionError.java: New from Classpath.
9105
9106 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9107
9108         * configure.host: Disable hash synchronization and slow_pthread_self
9109         for cygwin.
9110
9111 2002-06-06  Adam Megacz <adam@xwt.org>
9112
9113         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9114         locking, just like the Sun JVM does.
9115
9116 2002-06-05  H.J. Lu  (hjl@gnu.org)
9117
9118         * Makefile.am (libgcj_convenience.la): Revert the last change.
9119         (libgcj.la): Likewise.
9120         * Makefile.in: Regenerated.
9121
9122 2002-06-04  H.J. Lu  (hjl@gnu.org)
9123
9124         * Makefile.am (libgcj_convenience.la): New target.
9125         (libgcj.la): Depend on libgcj_convenience.la.
9126         * Makefile.in: Regenerated.
9127
9128 2002-06-04  H.J. Lu  (hjl@gnu.org)
9129
9130         * configure.in (--with-newlib): New option:
9131         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9132         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9133         Linux.
9134         * configure: Regenerated.
9135
9136 2002-06-04  Tom Tromey  <tromey@redhat.com>
9137
9138         * java/util/natTimeZone.cc: Include <stdio.h>.
9139
9140 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9141
9142         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9143         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9144         Set SIGNAL_HANDLER=include/s390-linux.h.
9145         * configure: Regenerate.
9146         * include/s390-linux.h: New file.
9147
9148 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9149
9150         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9151         not "stackTrace".
9152
9153 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9154
9155         Merge JDK 1.4 java.security changes from classpath.
9156
9157         * java/security/AccessControlException.java: Merge from Classpath.
9158         * java/security/AccessController.java: Likewise.
9159         * java/security/AllPermission.java: Likewise.
9160         * java/security/BasicPermission.java: Likewise.
9161         * java/security/Certificate.java: Likewise.
9162         * java/security/CodeSource.java: Likewise.
9163         * java/security/DigestException.java: Likewise.
9164         * java/security/DigestOutputStream.java: Likewise.
9165         * java/security/DomainCombiner.java: Likewise.
9166         * java/security/GeneralSecurityException.java: Likewise.
9167         * java/security/Guard.java: Likewise.
9168         * java/security/GuardedObject.java: Likewise.
9169         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9170         * java/security/InvalidKeyException.java: Likewise.
9171         * java/security/InvalidParameterException.java: Likewise.
9172         * java/security/Key.java: Likewise.
9173         * java/security/KeyException.java: Likewise.
9174         * java/security/KeyManagementException.java: Likewise.
9175         * java/security/KeyStoreException.java: Likewise.
9176         * java/security/MessageDigest.java: Likewise.
9177         * java/security/NoSuchAlgorithmException.java: Likewise.
9178         * java/security/NoSuchProviderException.java: Likewise.
9179         * java/security/Permission.java: Likewise.
9180         * java/security/PermissionCollection.java: Likewise.
9181         * java/security/Permissions.java: Likewise.
9182         * java/security/Policy.java: Likewise.
9183         * java/security/Principal.java: Likewise.
9184         * java/security/PrivateKey.java: Likewise.
9185         * java/security/PrivilegedAction.java: Likewise.
9186         * java/security/PrivilegedActionException.java: Likewise.
9187         * java/security/PrivilegedExceptionAction.java: Likewise.
9188         * java/security/ProtectionDomain.java: Likewise.
9189         * java/security/ProviderException.java: Likewise.
9190         * java/security/PublicKey.java: Likewise.
9191         * java/security/SecureClassLoader.java: Likewise.
9192         * java/security/SecurityPermission.java: Likewise.
9193         * java/security/SignatureException.java: Likewise.
9194         * java/security/UnrecoverableKeyException.java: Likewise.
9195         * java/security/UnresolvedPermission.java: Likewise.
9196         * java/security/acl/AclNotFoundException.java: Likewise.
9197         * java/security/acl/LastOwnerException.java: Likewise.
9198         * java/security/acl/NotOwnerException.java: Likewise.
9199         * java/security/cert/CRLException.java: Likewise.
9200         * java/security/cert/CertificateEncodingException.java: Likewise.
9201         * java/security/cert/CertificateException.java: Likewise.
9202         * java/security/cert/CertificateExpiredException.java: Likewise.
9203         * java/security/cert/CertificateFactory.java: Likewise.
9204         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9205         * java/security/cert/CertificateParsingException.java: Likewise.
9206         * java/security/spec/InvalidKeySpecException.java: Likewise.
9207         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9208
9209         * java/security/cert/CertPath.java: New file.
9210         * java/security/cert/CertPathBuilderException.java: New file.
9211         * java/security/cert/CertPathValidatorException.java: New file.
9212         * java/security/cert/CertStoreException.java: New file.
9213
9214         * Makefile.am: Add new CertPath classes.
9215         * Makefile.in: Rebuilt.
9216
9217         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9218
9219 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9220
9221         Merge JDK 1.4 exception chaining support from classpath.
9222
9223         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9224         (stackTraceBytes): Rename from stackTrace.
9225         * java/lang/Exception.java: Merge from classpath.
9226         * java/lang/StackTraceElement: New file from classpath.
9227         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9228         * Makefile.am: Add StackTraceElement.
9229         * Makefile.in: Rebuilt.
9230
9231 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9232
9233         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9234         they build first.
9235         * Makefile.in: Rebuilt.
9236
9237 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9238
9239         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9240         * configure.in: Likewise.
9241         * aclocal.m4: Regenerate.
9242         * configure: Regenerate.
9243
9244 2002-05-13  Tom Tromey  <tromey@redhat.com>
9245
9246         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9247         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9248         Include platform.h.
9249
9250         Fixes PR libgcj/6389:
9251         * Makefile.in: Rebuilt.
9252         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9253         * java/util/natTimeZone.cc: New file.
9254         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9255         * java/lang/System.java: Merged with Classpath.
9256         * java/lang/Runtime.java: Merged with Classpath.
9257         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9258         security check.
9259         (setIn0): Renamed from setIn; don't run security check.
9260         (setOut0): Renamed from setOut; don't run security check.
9261         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9262         init_properties): Moved to natRuntime.cc.
9263         Moved many includes to natRuntime.cc.
9264         (isWordsBigEndian): New method.
9265         * java/lang/natRuntime.cc: Include Long.h, also other includes
9266         previously in natSystem.cc.
9267         (maxMemory): New function.
9268         (exitInternal): Renamed from `_exit'.
9269         (exit): Removed.
9270         (init): Don't set finalize_on_exit.
9271         (exitInternal): Use `finalizeOnExit'.
9272         (file_encoding, getpwuid_adaptor): New functions from
9273         natSystem.cc.
9274         (insertSystemProperties): New method, renamed from
9275         System::init_properties.  Don't set user.timezone.
9276         (_load): Don't call checkLink.
9277         (execInternal): New method.
9278         (availableProcessors): Likewise.
9279         (nativeGetLibname): Likewise.
9280
9281 2002-05-11  Mark Wielaard  <mark@klomp.org>
9282
9283         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9284         space characters.
9285         (previous_internal): Likewise.
9286
9287 2002-05-09  Tom Tromey  <tromey@redhat.com>
9288
9289         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9290
9291         * java/util/ResourceBundle.java: New version from Classpath.
9292         * java/util/Locale.java: Likewise.
9293
9294 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9295
9296         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9297         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9298         LD_LIBRARY_PATH.
9299
9300 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9301
9302         * libjava/Makefile.am (all_java_source_files): New variable.
9303         (all_java_class_files): Likewise.
9304         .java.class: New rule.
9305         (CLEANFILES): Remove tmp-list.
9306         * libjava/Makefile.in: Regenerated.
9307
9308 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9309
9310         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9311         Append .exe to executable names.  Fix for cygwin.
9312
9313 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9314
9315         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9316         script entry, and set LD to it when configuring multilibs.
9317         * configure: Rebuilt.
9318
9319 2002-05-07  Tom Tromey  <tromey@redhat.com>
9320
9321         * java/lang/natString.cc (unintern): Fixed typo.
9322
9323 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9324
9325         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9326         with -no-install on *-*-cygwin*.
9327
9328 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9329
9330         * testsuite/lib/libjava.exp (test_libjava_from_source):
9331         Add comment explaining last patch
9332
9333 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9334
9335         * testsuite/lib/libjava.exp (test_libjava_from_source):
9336         Append .exe to executable names.  If no suffix is present,
9337         then ".exe" is added by default on win32.  Harmless
9338         elsewhere so always do it.
9339
9340 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9341             Tom Tromey  <tromey@redhat.com>
9342
9343         * java/lang/natSystem.cc (getSystemTimeZone): Use
9344         HAVE_UNDERSCORE_TIMEZONE.
9345         * include/config.h.in: Rebuilt.
9346         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9347         * aclocal.m4, configure: Rebuilt.
9348         * acinclude.m4: Run AC_EXEEXT.
9349         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9350         Add test for `_timezone'.
9351
9352 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9353
9354         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9355         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9356         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9357         * Makefile.in: Rebuilt.
9358
9359 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9360
9361         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9362         use sigaction instead of __libc_sigaction.
9363
9364 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9365
9366         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9367         (libjava_init): Use it to find libgcj.spec.
9368         (libjava_arguments): Likewise.
9369
9370 2002-05-02  David S. Miller  <davem@redhat.com>
9371
9372         PR bootstrap/6525
9373         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9374         __libc_sigaction on Sparc.
9375
9376 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9377
9378         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9379         sys/filio.h, if present.
9380
9381 2002-04-30  Tom Tromey  <tromey@redhat.com>
9382
9383         * java/io/BufferedReader.java (fill): Handle case where markPos
9384         point to ignored \n.  Fixes PR libgcj/6301.
9385
9386 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9387
9388         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9389
9390 2002-04-29  Adam King <aking@dreammechanics.com>
9391
9392         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9393         of file in APPEND mode.
9394
9395 2002-04-25  David S. Miller  <davem@redhat.com>
9396
9397         PR target/6422
9398         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9399         program counter to next program counter minus 8.  Update
9400         comments in this macro to explain why.
9401
9402 2002-04-26  Tom Tromey  <tromey@redhat.com>
9403
9404         * verify.cc (construct_primitive_array_type) [void_type]: New
9405         case.
9406         (branch_prepass): Added dummy entries for unused instruction
9407         values.
9408         (verify_instructions_0): Likewise.
9409         * interpret.cc (continue1): Comment fix.
9410         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9411         * Makefile.in: Rebuilt.
9412         * Makefile.am: Added -Wswitch-enum.
9413
9414 2002-04-24  Tom Tromey  <tromey@redhat.com>
9415
9416         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9417         correct length of UTF-8 encoded name.  Strip leading `/'.
9418         (_Jv_RegisterResource): Use _Jv_Malloc.
9419
9420 2002-04-23  Adam Megacz <adam@xwt.org>
9421
9422         * win32.cc, include/win32.cc (backtrace): Added this function
9423         because Win32 does not supply it.
9424
9425 2002-04-21  David S. Miller  <davem@redhat.com>
9426
9427         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9428         magic instruction reading sequence.
9429
9430 2002-04-21  Mark Wielaard  <mark@klomp.org>
9431
9432         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9433
9434 2002-04-19  David S. Miller  <davem@redhat.com>
9435
9436         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9437         arg.
9438         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9439         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9440         on Sparc too.
9441         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9442         for 64-bit sparc.
9443         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9444         * sysdeps/sparc/locks.h: New file.
9445         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9446         on all sparc Solaris configurations.  Set to
9447         include/dwarf2-signal.h on sparc Linux.
9448         * configure: Regenerate
9449         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9450
9451 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9452
9453         * configure: Rebuilt.
9454         * configure.in (backtrace): Function doesn't work on IA-64.
9455
9456 2002-04-17  Adam King <aking@dreammechanics.com>
9457
9458         * java/io/File.java (normalizePath): Add Win32 support for auto
9459         conversion of a '/' path separator to Win32's '\' separator.
9460
9461 2002-04-16  Tom Tromey  <tromey@redhat.com>
9462
9463         Fix for PR libgcj/6081:
9464         * Makefile.in: Rebuilt.
9465         * Makefile.am (install-data-local): Use GNU make trick to avoid
9466         shell limit.
9467
9468 2002-04-16  Adam King <aking@dreammechanics.com>
9469             Tom Tromey  <tromey@redhat.com>
9470
9471         * java/io/natFileWin32.cc (performList): Return the correct array
9472         type.  Don't duplicate the creation of a File since it's already
9473         done earlier in the method and the existing code would cause a
9474         ArrayStoreException.  Don't use fixed-size array.
9475         (_access, _stat, attr, getCanonicalPath, performMkdir,
9476         performRenameTo): Don't use fixed-size array.
9477         (getCanonicalPath): Use throw, not _Jv_Throw.
9478
9479 2002-04-15  DJ Delorie  <dj@redhat.com>
9480
9481         * configure.in: Allow building in $srcdir.
9482         * configure: Regenerated.
9483
9484 2002-04-14  Mark Wielaard <mark@klomp.org>
9485
9486         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9487         * java/net/natSocketImpl.cc (close): Likewise.
9488
9489 2002-04-14  Mark Wielaard <mark@klomp.org>
9490
9491         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9492
9493 2002-04-13  Adam King <aking@dreammechanics.com>
9494
9495         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9496         the f/F/d/D modifiers.
9497
9498 2002-04-12  Anthony Green  <green@redhat.com>
9499
9500         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9501         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9502         * Makefile.in: Rebuilt.
9503         * configure.in: Substitute gcc_version.
9504         * configure: Rebuilt.
9505
9506 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9507
9508         * configure.host: Set can_unwind_signal on hosts which support it.
9509         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9510         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9511         exceptions and can_unwind_signal isn't set.
9512         * configure: Rebuilt.
9513
9514 2002-04-11  Tom Tromey  <tromey@redhat.com>
9515
9516         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9517
9518 2002-04-11  Adam King <aking@dreammechanics.com>
9519             Tom Tromey  <tromey@redhat.com>
9520
9521         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9522         _Jv_ThrowNullPointerException): Mark as noreturn.
9523         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9524         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9525         fixes.
9526
9527 2002-04-10  Tom Tromey  <tromey@redhat.com>
9528
9529         * Makefile.in: Rebuilt.
9530         * Makefile.am (java/lang/Thread.h): Mark
9531         _Jv_AttachCurrentThreadAsDaemon as friend.
9532         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9533         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9534         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9535         function.
9536         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9537         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9538         (_Jv_JNI_InvokeFunctions): Added
9539         _Jv_JNI_AttachCurrentThreadAsDaemon.
9540         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9541         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9542         (JNI_CreateJavaVM): Likewise.
9543         (_Jv_JNI_AttachCurrentThread): Likewise.
9544         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9545         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9546         (_Jv_JNIFunctions): Initialize new fields.
9547         (_Jv_JNI_NewDirectByteBuffer): New function.
9548         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9549         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9550         * include/jni.h (JNI_VERSION_1_4): New macro.
9551         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9552         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9553         (JNINativeInterface::NewDirectByteBuffer): New field.
9554         (JNINativeInterface::GetDirectBufferAddress): New field.
9555         (JNINativeInterface::GetDirectBufferCapacity): New field.
9556         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9557         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9558         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9559
9560 2002-04-09  Tom Tromey  <tromey@redhat.com>
9561
9562         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9563
9564 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9565
9566         Fix for PR libgcj/6187:
9567         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9568         distance.
9569
9570 2002-04-07  Mark Wielaard <mark@klomp.org>
9571
9572         * java/util/AbstractMap.java (putAll): Use entrySet size.
9573         (toString): Explicitly use getKey() and getValue().
9574
9575 2002-04-07  Mark Wielaard <mark@klomp.org>
9576
9577         * java/util/Hashtable.java (contains): Remove NullPointer check.
9578         (containsValue): Add NullPointer check.
9579         (remove): Always throw NullPointerException when key
9580         is null.
9581
9582 2002-04-07  Adam King <aking@dreammechanics.com>
9583
9584         * java/lang/natSystem.cc (init_properties): Call new function
9585         _Jv_platform_initProperties.
9586         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9587         support for the System properties os.name, os.arch, os.version,
9588         user.name, user.home, and user.dir.
9589         * include/posix.h, include/win32.h, posix.cc: New function
9590         _Jv_platform_initProperties.
9591
9592 2002-04-06  Mark Wielaard <mark@klomp.org>
9593
9594         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9595
9596 2002-04-06  Mark Wielaard <mark@klomp.org>
9597
9598         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9599         all of the remaining elements.
9600         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9601         (removeRange): If toIndex == fromIndex do
9602         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9603         (removeAll): Always throw NullPointerException when collection is
9604         null.
9605         (retrainAll): Likewise.
9606
9607 2002-04-05  Mark Wielaard <mark@klomp.org>
9608
9609         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9610         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9611
9612 2002-04-05  Adam Megacz <adam@xwt.org>
9613
9614         * exception.cc (abort): added static modifier
9615
9616 2002-04-04  Adam Megacz <adam@xwt.org>
9617
9618         * include/win32.h (_Jv_platform_close_on_exec): added inline
9619         modifier.
9620
9621 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9622
9623         * configure.host: Add case statement to support generic port
9624         properties.  Add *-*-freebsd* section.
9625
9626 2002-04-04  Mark Wielaard  <mark@klomp.org>
9627
9628         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9629         test.
9630         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9631         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9632         that depend on awt code and BufferedByteOutputStream.interrupt.
9633
9634 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9635
9636         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9637         incorrect "hi" value when count > 40.
9638
9639 2002-04-03  Mark Wielaard  <mark@klomp.org>
9640
9641         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9642         ordering.
9643
9644 2002-04-02  Tom Tromey  <tromey@redhat.com>
9645
9646         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9647         not `0'.
9648
9649 2002-04-02  Mark Wielaard  <mark@klomp.org>
9650
9651         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9652         list of testsuite crashers.
9653
9654 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9655
9656         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9657         when resizing table.
9658
9659 2002-04-01  Mark Wielaard  <mark@klomp.org>
9660
9661         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9662         NegativeArraySizeException
9663         (clear(int)): Use sign extended shift.
9664         (flip(int)): Likewise.
9665         (get(int)): Likewise.
9666         (nextClearBit(int)): Likewise.
9667         (nextSetBit(int)): Likewise.
9668         (set(int)): Likewise.
9669
9670 2002-04-01  Mark Wielaard  <mark@klomp.org>
9671
9672         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9673         that can be compiled now and add testsuite crashers to ignore list.
9674
9675 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9676
9677         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9678
9679         * libgcj.spec.in: Override libgcc, not lib.
9680         * libgcj-test.spec.in: Likewise.
9681
9682 2002-03-29  Tom Tromey  <tromey@redhat.com>
9683
9684         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9685         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9686
9687 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9688
9689         * java/net/PlainDatagramSocketImpl.java
9690         (close): Use native implementation.
9691         (finalize): New method.
9692
9693         * java/net/PlainSocketImpl.java (finalize): New method.
9694
9695         * java/net/natPlainDatagramSocketImpl.cc
9696         (java/io/FileDescriptor.h): Don't include.
9697         (close): Implement method here.
9698         (create): Don't assign fd.
9699
9700         * java/net/natPlainSocketImpl.cc
9701         (java/io/FileDescriptor.h): Don't include.
9702         (create): Don't assign fd.
9703         (accept): Likewise.
9704         (close): Synchronize.
9705
9706 2002-03-27  Richard Henderson  <rth@redhat.com>
9707
9708         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9709
9710 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9711
9712         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9713         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9714         instead of syscall on IA-64.
9715         Add FIXME comment.
9716
9717 2002-03-27  Anthony Green  <green@redhat.com>
9718
9719         * libgcj.spec.in: Add CHECKREFSPEC.
9720         * configure.in: Ditto.
9721         * configure.host: Ditto.  Check references for xscale-elf.
9722         * configure: Rebuilt.
9723
9724 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9725
9726         * include/dwarf2-signal.h: Temporarily back out last change.
9727
9728 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9729
9730         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9731
9732 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9733
9734         * configure.in, configure: enable dwarf2-exception-style
9735         exception handling on IA-64.
9736         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9737         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9738         Add FIXME comment.
9739
9740 2002-03-25  Tom Tromey  <tromey@redhat.com>
9741
9742         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9743         (jv_convert_LDFLAGS): Likewise.
9744         (gij_LDFLAGS): Likewise.
9745         (rmic_LDFLAGS): Likewise.
9746         (rmiregistry_LDFLAGS): Likewise.
9747         * configure.in (THREADLDFLAGS): New subst; set correctly for
9748         *BSD.
9749
9750 2002-03-25  Tom Tromey  <tromey@redhat.com>
9751
9752         For PR libgcj/5303:
9753         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9754         and --version.
9755         (help): New method.
9756         (version): Likewise.
9757         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9758         "GNU".
9759         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9760         "GNU".
9761
9762 2002-03-25  Tom Tromey  <tromey@redhat.com>
9763
9764         * java/awt/Component.java (processEvent): Check ComponentEvent
9765         after KeyEvent.
9766
9767 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9768
9769         * java/io/PushbackReader.java: Reformat.
9770
9771         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9772         calculate correct number of bytes skipped.
9773
9774         Based on patch from Intel's ORP team:
9775         * java/io/PushbackInputStream.java (available): Calculate correct
9776         number of bytes in buffer.
9777         (read): Remove redundant bound check. Return bytes from both the
9778         buffer and the stream.
9779
9780 2002-03-24  Tom Tromey  <tromey@redhat.com>
9781
9782         * java/awt/TextComponent.java (TextComponent): Editable by
9783         default.
9784
9785         * java/awt/MenuItem.java (eventMask): No longer private.
9786         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9787         superclass if we didn't handle event.
9788         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9789         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9790         * java/awt/Choice.java (dispatchEventImpl): New method.
9791         * java/awt/List.java (dispatchEventImpl): New method.
9792         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9793         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9794         * java/awt/TextField.java (dispatchEventImpl): New method.
9795
9796 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9797
9798         * java/beans/IntrospectionException.java: Update to 1.4.
9799         * java/beans/PropertyVetoException.java: Ditto.
9800
9801 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9802
9803         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9804         Arrays.equals instead of ArrayHelper.equalsArray.
9805
9806 2002-03-24  C. Brian Jones <cbj@gnu.org>
9807
9808         * java/beans/Introspector.java: added new static final fields
9809         introduced in 1.2, lots of other updates remain to be done
9810
9811 2002-03-24  C. Brian Jones <cbj@gnu.org>
9812
9813         * java/beans/Introspector.java: reformatting
9814
9815 2002-03-24  C. Brian Jones <cbj@gnu.org>
9816
9817         * java/beans/Introspector.java: default beanInfoSearchPath will
9818         not include sun.beans.infos given we provide no such package and
9819         the API doesn't really require it; gnu.java.beans.info is the
9820         default.
9821
9822 2002-03-24  Mark Wielaard  <mark@klomp.org>
9823
9824         Thanks to Orp developers
9825         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9826         switch TRUE and FALSE return values.
9827
9828 2002-03-23  Tom Tromey  <tromey@redhat.com>
9829
9830         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9831         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9832
9833 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9834
9835         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9836         MONTH entry.  Fixes PR libgcj/6045.
9837
9838 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9839
9840         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9841
9842 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9843
9844         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9845         not release_set.
9846         * sysdep/powerpc/locks.h (write_barrier): New function.
9847         * sysdep/i386/locks.h (write_barrier): New function.
9848
9849 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9850
9851         * include/jni.h Use correct C comments.
9852
9853 2002-03-18  Tom Tromey  <tromey@redhat.com>
9854
9855         * include/jni.h (JNIIMPORT): New macro.
9856         (JNIEXPORT): Likewise.
9857         (JNICALL): Likewise.
9858
9859 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9860
9861         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9862         systems.
9863
9864 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9865
9866         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9867         INIT_SEGV: Use old_i386_kernel_sigaction.
9868         INIT_FP: Likewise.
9869
9870 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9871
9872         * java/lang/natSystem.cc (init_properties): Update VM version
9873         properties.
9874         * configure.in: Set GCJVERSION.
9875         * acconfig.h: Add GCJVERSION.
9876         * configure: Rebuilt.
9877         * include/config.h.in: Rebuilt.
9878
9879 2002-03-17  Anthony Green  <green@redhat.com>
9880
9881         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9882
9883 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9884
9885         Build a single libgcj.so, without separate gc and zlib libraries.
9886         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9887         SYS_ZLIBS if system zlib is used.
9888         * configure: Rebuilt.
9889         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9890         * Makefile.in: Rebuilt.
9891         * libtool-version: Increment .so version number.
9892
9893         * Makefile.am: Escape quotes in echo.
9894         * Makefile.in: Rebuilt.
9895
9896 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9897
9898         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9899         * Makefile.in: Rebuilt.
9900
9901 2002-03-15  Anthony Green  <green@redhat.com>
9902
9903         * configure.host (FILE): New macro for specifing File
9904         implementation.
9905         * configure: Rebuilt.
9906         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9907
9908 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9909
9910         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9911         already implicitly brought in from libgcj.la.
9912         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9913         * Makefile.in: Rebuilt.
9914
9915 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9916
9917         * THANKS: Fix punctuation, alphabetization.
9918
9919 2002-03-15  Tom Tromey  <tromey@redhat.com>
9920             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9921
9922         Fix for PR libgcj/5944.
9923         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9924
9925 2002-03-15  Anthony Green  <green@redhat.com>
9926
9927         * configure.in (tool_include_dir): Define.
9928         * configure: Rebuilt.
9929         * gcj/Makefile.am: Install libgcj-config.h relative to
9930         tool_include_dir.
9931         * gcj/Makefile: Rebuilt.
9932         * gcj/libgcj-config.h: Add warning comment.
9933
9934 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9935
9936         * configure.host (powerpc*-darwin*): Enable interpreter.
9937
9938 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9939
9940         * include/posix.h: Add multiple include header protection.
9941         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9942
9943 2002-03-10  Adam Megacz <adam@xwt.org>
9944
9945         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9946
9947 2002-03-10  Tom Tromey  <tromey@redhat.com>
9948
9949         * java/awt/GridLayout.java (layoutContainer): Handle case where
9950         there are no items in container.
9951
9952         * java/lang/Win32Process.java: Added comment.
9953         * include/posix.h (_Jv_platform_close_on_exec): New function.
9954         Include fcntl.h.
9955         * include/win32.h (_Jv_platform_close_on_exec): New function.
9956         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9957         flag.
9958         (accept): Likewise.
9959         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9960         close-on-exec flag.
9961         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9962         flag.
9963
9964 2002-03-09  Tom Tromey  <tromey@redhat.com>
9965
9966         * verify.cc (state::NO_STACK): New constant.
9967         (state::is_unmerged_ret_state): Handle case where stacktop is
9968         NO_STACK.
9969         (state::merge): Handle NO_STACK merges.
9970         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9971         for instruction following jsr.
9972         (stacktop, stackdepth): Removed unused variables.
9973         (pop_jump): Ignore case where all remaining states are skipped.
9974
9975 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9976
9977         * java/awt/ImageMediaEntry: Removed.
9978         * java/awt/MediaEntry: Removed.
9979
9980 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9981
9982         Hashtable synchronization for PowerPC.
9983         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9984         slow_pthread_self. Set up symlink for sysdeps directory.
9985         * configure: Rebuild.
9986         * configure.host: Document more shell variables. Set sysdeps_dir
9987         for most platforms. Set slow_pthread_self for i686. Set
9988         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9989         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9990         that memory barrier is emitted where required.
9991         * prims.cc: 64-bit align static primitive class instances.
9992         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9993         read_barrier() to enforce ordering of reads.
9994         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9995         primitives for PowerPC.
9996         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9997         moved from natObject.cc.
9998         * sysdep/alpha/locks.h: Likewise.
9999         * sysdep/ia64/locks.h: Likewise.
10000         * sysdep/generic/locks.h: Likewise.
10001         * java/lang/natObject.cc: Move thread synchronization primitives to
10002         system-dependent headers.
10003
10004 2002-03-09  Adam Megacz  <adam@xwt.org>
10005
10006         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10007         bytes read and no failure code returned.
10008
10009 2002-03-09  Adam Megacz  <adam@xwt.org>
10010
10011         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10012         definitions to simulate -mthreads.
10013
10014 2002-03-09  Adam Megacz  <adam@xwt.org>
10015
10016         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10017         avoid precision loss.
10018
10019 2002-03-09  Per Bothner  <per@bothner.com>
10020
10021         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10022         * gnu/gcj/xlib/XImage.java:  Likewise.
10023         * gnu/gcj/xlib/XColor.java:  Likewise.
10024
10025 2002-03-09  Adam Megacz  <adam@xwt.org>
10026
10027         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10028         IOException so that Throwable.printStackTrace fails correctly.
10029
10030 2002-03-08  Adam Megacz  <adam@xwt.org>
10031
10032         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10033         fixed.
10034
10035 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10036
10037         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10038         truncated to int.
10039
10040 2002-03-08  Tom Tromey  <tromey@redhat.com>
10041
10042         * include/jni.h: Include stdio.h.
10043
10044 2002-03-08  Tom Tromey  <tromey@redhat.com>
10045
10046         * posix.cc (internal_gettimeofday): New function.
10047         (_Jv_select): Use it.
10048
10049 2002-03-07  Adam Megacz  <adam@xwt.org>
10050
10051         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10052         WIN32, and added thunks for read(), write(), and close().
10053         * java/net/natPlainSocketImpl.cc (accept, read, read):
10054         Disabled timeouts on WIN32 pending discussion.
10055
10056 2002-03-07  Adam Megacz  <adam@xwt.org>
10057
10058         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10059         returns jlong. Added implementation
10060         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10061         returns jlong.
10062         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10063         returns jlong.
10064         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10065         returns jlong.
10066         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10067         _Jv_platform_gettimeofday signature.
10068
10069 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10070
10071         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10072         (read): Call recv() directly, not _Jv_recv().
10073
10074 2002-03-06  Tom Tromey  <tromey@redhat.com>
10075
10076         * java/io/natFileDescriptorEcos.cc (init): Don't use
10077         GetStdHandle.
10078         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10079         is negative.
10080         (init): Don't use GetStdHandle.
10081
10082         * include/config.h.in: Rebuilt.
10083         * configure: Rebuilt.
10084         * Makefile.in: Rebuilt.
10085
10086 2002-03-06  Adam Megacz  <adam@xwt.org>
10087
10088         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10089         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10090         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10091         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10092
10093 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10094
10095         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10096         the code for generating include/java-chartables.h.
10097         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10098         merge with Classpath.
10099         * scripts/unicode-muncher.pl: Copy from Classpath.
10100         * scritps/MakeCharTables.java: New file.
10101         * gnu/gcj/convert/Blocks-3.txt: New file.
10102         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10103         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10104         * gnu/java/lang/CharData.java: Copy from Classpath.
10105         * Makefile.am (ordinary_java_source_files): Add
10106         gnu/java/lang/CharData.java.
10107         * configure.in: Remove --enable-fast-character option.
10108         * java/lang/Character.java: Merge algorithms and Javadoc with
10109         Classpath.
10110         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10111         efficiently.
10112         * include/java-chardecomp.h: Regenerate.
10113         * include/java-chartables.h: Regenerate.
10114
10115 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10116
10117         * java/awt/MediaTracker.java: Implemented.
10118         * Makefile.am: Add MediaTracker.
10119         * Makefile.in: Rebuilt.
10120
10121 2002-03-05  Tom Tromey  <tromey@redhat.com>
10122
10123         * java/lang/natPosixProcess.cc (fail): Removed.
10124         (startProcess): Simplified error-handling.  Preserve
10125         LD_LIBRARY_PATH across exec.
10126
10127         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10128         AbstractMethodError.
10129
10130 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10131
10132         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10133         * Makefile.in: Rebuilt.
10134
10135 2002-03-03 Mark Wielaard <mark@klomp.org>
10136
10137         * java/util/Timer (TaskQueue.stop): set elements to zero.
10138
10139 2002-02-28  Anthony Green  <green@redhat.com>
10140
10141         * java/lang/reflect/natMethod.cc (result): Add void* element.
10142         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10143         constructor test.
10144
10145 2002-02-27  Adam Megacz <adam@xwt.org>
10146
10147         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10148         '#undef STRICT'.
10149
10150 2002-02-26  Tom Tromey  <tromey@redhat.com>
10151
10152         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10153         * gij.cc (version): Use __VERSION__.
10154         * include/config.h.in: Rebuilt.
10155         * acconfig.h (GCJVERSION): Removed.
10156         * configure: Rebuilt.
10157         * configure.in (GCJVERSION): Removed.
10158
10159 2002-02-26  Andreas Schwab  <schwab@suse.de>
10160
10161         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10162         glibcpp_CXX, since libjava uses even another CXX.
10163         * aclocal.m4, configure: Regenerated.
10164
10165 2002-02-26  Tom Tromey  <tromey@redhat.com>
10166
10167         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10168         `1'.
10169
10170 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10171
10172         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10173         dependency tracking for .java files.
10174         * Makefile.in: Rebuilt.
10175
10176 2002-02-24  Adam Megacz  <adam@xwt.org>
10177
10178         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10179         typo. Sorry.
10180
10181 2002-02-24  Adam Megacz  <adam@xwt.org>
10182
10183         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10184         for Win32, changed #ifdefs to check WIN32 instead of the
10185         (now-obsolete) USE_WINSOCK, and removed support for socket
10186         timeouts on Win32 pending further discussion.
10187
10188 2002-02-24  Adam Megacz  <adam@xwt.org>
10189
10190         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10191         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10192         delete
10193
10194 2002-02-24  Adam Megacz  <adam@xwt.org>
10195
10196         * java/lang/Win32Process.java: Created a dummy class to allow
10197         build process to run to completion.
10198
10199 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10200
10201         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10202         Define ffi_result union for ffi_call result.  Cast
10203         ffi_result members to jvalue.
10204
10205 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10206
10207         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10208         * testsuite/Makefile.in: Likewise.
10209
10210 2002-02-20  Per Bothner  <per@bothner.com>
10211
10212         * java/net/URL.java (getPath):  New JDK 1.3 method.
10213
10214         * java/net/URLStreamHandler.java (parseURL):
10215         It is wrong to prepend '/' to the file part of a relative url.
10216
10217         * java/net/URLStreamHandler.java (parseURL):
10218         Minor optizations - append '/' rather than "/".
10219
10220         * java/net/URLStreamHandler.java (parseURL):
10221         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10222         We probably should canonicalize for a context-relative url, though.
10223         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10224         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10225         (sameFile):  New method.  Uses canonicalizeFilename.
10226
10227 2002-02-22  Tom Tromey  <tromey@redhat.com>
10228
10229         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10230         java.vendor and java.vm.vendor.
10231         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10232         recent copyright date.
10233         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10234         * gij.cc (version): Print `Inc'.
10235
10236 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10237
10238         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10239         * aclocal.m4, configure: Rebuilt.
10240
10241 2002-02-20  Per Bothner  <per@bothner.com>
10242
10243         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10244         and/or output streams immediately here, instead of using File.exists.
10245         (inputStream, outputStream):  New fields to save open streams.
10246         (getInputStream, getOutputStream):  Use already-opened streams.
10247
10248 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10249
10250         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10251         Use it.
10252         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10253         * aclocal.m4, configure, Makefile.in: Rebuilt.
10254
10255 2002-02-19  Tom Tromey  <tromey@redhat.com>
10256
10257         Fix for PR libgcj/5696:
10258         * verify.cc (is_assignable_from_slow): Never call
10259         _Jv_IsAssignableFrom.
10260         (verify_instructions_0): Added new debug statement.
10261         (state::print): Print information about whether local has
10262         changed.
10263         (state::merge): Don't call note_variable when merging locals.
10264         (state::set_exception): Removed old FIXME comment.
10265
10266 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10267
10268         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10269         enable SO_BROADCAST.
10270
10271 2002-02-18  Jason Merrill  <jason@redhat.com>
10272
10273         * name-finder.cc (toHex): Use word mode, not long long.
10274
10275         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10276
10277 2002-02-15  Tom Tromey  <tromey@redhat.com>
10278
10279         Fix for PR libgcj/5695:
10280         * verify.cc (is_assignable_from_slow): Check to see if target is
10281         an Object before checking to see if source is an interface.
10282         (verify_instructions_0) [op_invokeinterface]: Handle case where
10283         we're making an interface call on Object.
10284
10285 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10286
10287         * Makefile.in: Rebuilt with Eric's change below.
10288
10289         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10290         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10291         Removed functions which are now implemented in Math.java.
10292
10293 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10294
10295         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10296         * Makefile.am (core_java_source_files): Add
10297         java/lang/StrictMath.java.
10298         * java/lang/Math.java: Merge with Classpath.
10299         * java/lang/StrictMath.java: New file - merge with Classpath.
10300
10301 2002-02-14  Mark Wielaard  <mark@klomp.org>
10302
10303         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10304         package as a workaround for gcj 3.0.x
10305
10306 2002-02-14  Mark Wielaard <mark@klomp.org>
10307
10308         * java/security/BasicPermission.java: extends with fully qualified
10309         classname as workaround for gcj 3.0.4.
10310
10311 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10312
10313         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10314         around gcj bug of wrong emitted qualifier for inherited method.
10315         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10316         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10317         constructor to reduce amount of emitted bytecode. While this
10318         happens to work around a jikes 1.15 bug, it is still a useful
10319         patch even for correct compilers.
10320         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10321         * gnu/java/rmi/server/UnicastRemoteCall.java
10322         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10323
10324 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10325
10326         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10327         * java/net/SocketImpl.java: Ditto.
10328         * java/rmi/server/RMIClassLoader.java: Ditto.
10329         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10330
10331 2002-02-14  Mark Wielaard <mark@klomp.org>
10332
10333         Thanks to Takashi Okamoto
10334         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10335         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10336         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10337
10338 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10339
10340         Fix for PR libgcj/5670:
10341         * verify.cc (is_assignable_from_slow): If `source' is interface,
10342         recursively look for merge with `target'.
10343
10344 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10345
10346         * include/jni.h: Fix typo.
10347
10348 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10349
10350         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10351         correctly.
10352
10353 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10354
10355         Fix for PR libgcj/5671:
10356         * verify.cc (state::merge): Handle case where we're merging
10357         against an interface.
10358
10359 2002-02-12  Tom Tromey  <tromey@redhat.com>
10360
10361         * exception.cc (std::abort): Mark as noreturn.
10362
10363 2002-02-12  Adam Megacz <adam@xwt.org>
10364
10365         * java/lang/Win32Process.java: Filled in a placeholder
10366         implementation so Win32 will build.
10367
10368 2002-02-12  Adam Megacz <adam@xwt.org>
10369
10370         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10371         * java/io/natFile.cc: Removed from repository.
10372         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10373
10374 2002-02-12  Adam Megacz <adam@xwt.org>
10375
10376         * win32.cc: Added two #includes to make win32.cc compile.
10377
10378 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10379
10380         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10381         declarations.
10382         (_Jv_InitGC): Don't bother locking, as this is always called from a
10383         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10384
10385 2002-02-11  Adam Megacz <adam@xwt.org>
10386
10387         * include/win32.h: Added _Jv_platform_gettimeofday.
10388         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10389
10390 2002-02-11  Adam Megacz <adam@xwt.org>
10391
10392         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10393         Added #undef STRICT to make windows.h and
10394         java/lang/reflect/Modifier.h cooperate.
10395
10396 2002-02-11  Adam Megacz <adam@xwt.org>
10397
10398         * java/io/natFileWin32.cc: Created a placeholder class with lots
10399         of FIXMEs.
10400
10401 2002-02-11  Adam Megacz <adam@xwt.org>
10402
10403         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10404         std::abort() to simply abort(). Also added "fake" std::abort() so
10405         we can #include unwind-pe.h without having to link against
10406         libstdc++-v3.
10407
10408 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10409
10410         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10411
10412 2002-02-08  Tom Tromey  <tromey@redhat.com>
10413
10414         * interpret.cc (convert): New function.
10415         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10416         convert.
10417         Include Long.h.
10418
10419 2002-02-08  Anthony Green  <green@redhat.com>
10420
10421         * configure.host: Add support for xscale-elf embedded target.
10422
10423 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10424
10425         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10426         dereferenced.
10427         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10428         frame.
10429
10430 2002-02-07  Tom Tromey  <tromey@redhat.com>
10431
10432         * java/io/natFile.cc (_access): Use __builtin_alloca.
10433         (_stat): Likewise.
10434         (attr): Likewise.
10435         (getCanonicalPath): Likewise.
10436         (performList): Likewise.
10437         (performMkdir): Likewise.
10438         (performSetReadOnly): Likewise.
10439         (performRenameTo): Likewise.
10440         (performSetLastModified): Likewise.
10441         (performCreate): Likewise.
10442         (performDelete): Likewise.
10443
10444 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10445
10446         * HACKING: Fix URL for the automake-gcj.
10447
10448 2002-02-07  Tom Tromey  <tromey@redhat.com>
10449
10450         * java/lang/natThrowable.cc: Updated copyright.
10451         * java/io/natFileWin32.cc: Updated copyright.
10452         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10453         * win32-threads.cc: Updated copyright.
10454         * name-finder.cc: Updated copyright.
10455         * include/name-finder.h: Updated copyright.
10456
10457         * include/name-finder.h: Conditionally include sys/wait.h.
10458         * include/config.h.in: Rebuilt.
10459
10460         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10461         Size buffer based on real size of string.
10462         (_stat): Likewise.
10463         (attr): Likewise.
10464         (getCanonicalPath): Likewise.
10465         (performList): Likewise.
10466         (performMkdir): Likewise.
10467         (performSetReadOnly): Likewise.
10468         (unixroot): Removed.
10469         (performRenameTo): Likewise.
10470         (performSetLastModified): Likewise.
10471         (performCreate): Likewise.
10472         (performDelete): Likewise.
10473         (performListRoots): Always return new array.
10474
10475         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10476         * win32.cc (win32_exception_handler): Now static.
10477         * include/win32.h (_Jv_platform_initialize): Declare.
10478         (win32_exception_handler): Don't declare.
10479         * java/lang/natSystem.cc (currentTimeMillis): Use
10480         _Jv_platform_gettimeofday.
10481         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10482         (_Jv_select): Use new name.
10483         (_Jv_platform_initialize): New function.
10484         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10485         _Jv_gettimeofday.
10486         (_Jv_platform_initialize): Declare.
10487
10488         * configure: Rebuilt.
10489         * configure.in: Removed unnecessary parens.
10490
10491 2002-02-06  Adam Megacz <adam@xwt.org>
10492
10493        * configure.in: Changed mingw) to *mingw*).
10494        * win32.cc: Created this file.
10495        * win32.h: Created this file.
10496        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10497        win32_exception_handler from prims.cc to win32.cc, added
10498        header in win32.h.
10499        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10500        longer needed now that we have platform.h
10501
10502 2002-02-06  Adam Megacz <adam@xwt.org>
10503
10504         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10505         use uint<n>_t instead of LONG and BYTE
10506
10507 2002-02-06  Adam Megacz <adam@xwt.org>
10508
10509         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10510
10511 2002-02-06  Anthony Green  <green@redhat.com>
10512
10513         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10514         Implement missing method stubs.
10515         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10516         targets.
10517         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10518         concept of timezones.
10519         (init_properties): Don't refer to _Jv_Environment_Properties
10520         when this feature is not available.
10521         * include/config.h.in: Rebuilt.
10522         * acconfig.h: Add DISABLE_MAIN_ARGS.
10523         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10524         * configure: Rebuilt.
10525         * configure.in: Add --disable-main-args option.  Test for
10526           opendir function.  Replace AC_CHECK_SIZEOF with
10527           AC_COMPILE_CHECK_SIZEOF.
10528         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10529         * aclocal.m4: Rebuilt.
10530         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10531
10532 2002-02-06  Tom Tromey  <tromey@redhat.com>
10533
10534         * verify.cc (require_array_type): If argument is a null array of
10535         references, return null as the element type.
10536
10537 2002-02-06  Mark Wielaard  <mark@klomp.org>
10538
10539         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10540         duplicate of a wide type.
10541
10542 2002-02-06  Tom Tromey  <tromey@redhat.com>
10543
10544         * verify.cc (type::isnull): New method.
10545         (require_array_type): Handle case where array is null.
10546         (verify_instructions_0) [op_arraylength]: Likewise.
10547
10548 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10549
10550         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10551         Symlink PLATFORMH to platform.h.
10552         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10553         PLATFORMOBJS.
10554         * java/lang/natSystem.cc: #include platform.h not posix.h.
10555         * Makefile.in: Rebuilt with libgcj automake.
10556         * configure: Rebuilt.
10557
10558 2002-02-05  Richard Henderson  <rth@redhat.com>
10559
10560         * Makefile.in: Undo munging last change.
10561
10562 2002-02-04  Adam Megacz <adam@xwt.org>
10563
10564         * win32.cc: Created it.
10565         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10566         which is set to posix.cc or win32.cc.
10567         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10568
10569 2002-02-04  Adam Megacz <adam@xwt.org>
10570
10571         * configure.in: Corrected mingw case branches; added * before
10572         and after.
10573
10574 2002-02-04  Adam Megacz <adam@xwt.org>
10575
10576         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10577         if compiling for win32
10578
10579 2002-02-04  Adam Megacz <adam@xwt.org>
10580
10581         * win32-threads.cc: #undef STRICT after gc.h inclusion
10582
10583 2002-02-02  Tom Tromey  <tromey@redhat.com>
10584
10585         * Makefile.in: Rebuilt.
10586
10587 2002-02-02  Jason Merrill  <jason@redhat.com>
10588
10589         * Makefile.am (clean-nat): New target.
10590
10591 2002-02-02  Tom Tromey  <tromey@redhat.com>
10592
10593         * java/io/natFile.cc: Removed old "FIXME" comments.
10594
10595 2002-02-01  Tom Tromey  <tromey@redhat.com>
10596
10597         * java/lang/natPosixProcess.cc (myclose): New function.
10598         (fail): Use it.
10599         (startProcess): Likewise.
10600
10601 2002-02-01  Adam Megacz <adam@xwt.org>
10602
10603         * prims.cc: Added #undef STRICT after #include<windows.h>.
10604
10605 2002-02-01  Adam Megacz <adam@xwt.org>
10606
10607         * prims.cc
10608         (_Jv_CreateJavaVM): We now use WIN32 instead of
10609         USE_WIN32_SIGNALLING and USE_WINSOCK.
10610         (win32_exception_handler): Now throws an exception out of
10611         the signal handler; assumes SJLJ.
10612
10613 2002-02-01  Adam Megacz <adam@xwt.org>
10614
10615         * win32-threads.cc:
10616         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10617         wait() algorithm to make it safe.
10618         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10619         Added lazy creation of Win32 Events for better performance
10620         (really_start): This now uses GC_CreateThread so boehm-gc
10621         knows about new threads even when statically linked.
10622
10623 2002-02-01  Adam Megacz <adam@xwt.org>
10624
10625         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10626         enable safer wait() algorithm.
10627         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10628         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10629         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10630         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10631         instead of mutex.
10632         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10633
10634 2002-02-01  Adam Megacz <adam@xwt.org>
10635
10636         * configure.in: Added support for mingw.
10637         * java/lang/Win32Process.java: Created as empty file.
10638         * java/lang/natWin32Process.cc: Created as empty file.
10639
10640 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10641
10642         PR java/4972
10643         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10644         for libiconv in LIBICONV variable.
10645         * configure: Regenerated.
10646
10647 2002-01-31  Tom Tromey  <tromey@redhat.com>
10648
10649         * verify.cc (state::enter_subroutine): New method.
10650         (handle_jsr_insn): Use it.
10651         (state::merge): When processing a `ret', correctly use
10652         subroutine's state to determine which local variables have
10653         changed.
10654         (push_exception_jump): Don't let stack overflow.
10655
10656 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10657
10658         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10659         --version output.
10660
10661 2002-01-30  Tom Tromey  <tromey@redhat.com>
10662
10663         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10664         parameter for `recv' return type.
10665
10666         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10667         (state::merge): ... not here.
10668         (subr_entry_info): New structure.
10669         (entry_points): New field.
10670         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10671         entry_points.
10672
10673 2002-01-29  Tom Tromey  <tromey@redhat.com>
10674
10675         * java/awt/List.java (addNotify): Correctly check to see if peer
10676         does not exist.
10677
10678         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10679         to compute height of each cell, and number of columns to compute
10680         width of each cell.
10681         * java/awt/Window.java (getOwnedWindows): Don't return null.
10682         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10683         of component.  Increment x using horizontal gap, not vertical
10684         gap.
10685
10686 2002-01-28  Tom Tromey  <tromey@redhat.com>
10687
10688         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10689         `nargs' byte is number of words, not number of arguments.
10690
10691 2002-01-27  Tom Tromey  <tromey@redhat.com>
10692
10693         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10694         (when): Likewise.
10695         * java/awt/event/InputEvent.java (modifiers, when): Now
10696         package-private.
10697
10698         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10699         and to-do list.
10700         (state::merge): Use current class' class loader.
10701         (state::print): Print subroutine.
10702         (state::merge): Don't look at subroutine of unmerged `ret'.
10703
10704 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10705
10706         * nogc.cc: Remove warnings.
10707         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10708         New functions.
10709
10710 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10711
10712         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10713         int, int):  Remove empty "if" statement to work around compiler bug.
10714         (newPixels(int[], ColorModel, int, int): Likewise.
10715
10716 2002-01-25  Per Bothner  <per@bothner.com>
10717
10718         * verify.cc (verify_fail):  Change from being a top-level function
10719         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10720         Pass the current verifier to type: and state: methods as needed,
10721         for better error messages, and for resolve.
10722         (resolve):  Pass current class's loader for Class.forName and
10723         _Jv_FindClassFromSignature, rather than using the default loader.
10724         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10725         (get_type_val_for_signature):  Make non-static.
10726         (various methods):  Pass start_PC implicitly, not explicitly.
10727
10728 2002-01-25  Tom Tromey  <tromey@redhat.com>
10729
10730         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10731         loop termination condition.
10732         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10733         width.
10734
10735 2002-01-24  Tom Tromey  <tromey@redhat.com>
10736
10737         * java/awt/Shape.java: Merged with Classpath.
10738         * java/awt/Scrollbar.java: Merged with Classpath.
10739
10740         * java/awt/Container.java (addNotify): Unconditionally call
10741         addNotifyContainerChildren and superclass addNotify.
10742
10743         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10744         getAlpha, not getBlue.
10745
10746 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10747
10748         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10749
10750         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10751         (grabPixels(long)): Wait to be notified that the ImageProducer has
10752         completed.
10753
10754 2002-01-24  Per Bothner  <per@bothner.com>
10755
10756         * verify.cc (is_assignable_from_slow): If target is an interface,
10757         we must still check the source's superclass before giving up.
10758
10759 2002-01-24  Tom Tromey  <tromey@redhat.com>
10760
10761         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10762
10763 2002-01-23  Tom Tromey  <tromey@redhat.com>
10764
10765         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10766         `else'.
10767
10768         * Makefile.in: Rebuilt.
10769         * Makefile.am (awt_java_source_files): Added new files.
10770         * java/awt/Toolkit.java: Merged with Classpath.
10771         * java/awt/PrintGraphics.java: New file from Classpath.
10772         * java/awt/PrintJob.java: New file from Classpath.
10773         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10774         * java/awt/datatransfer/ClipboardOwner.java: New file from
10775         Classpath.
10776         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10777         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10778         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10779         Classpath.
10780         * java/awt/datatransfer/StringSelection.java: New file from
10781         Classpath.
10782         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10783         Classpath.
10784         * java/awt/datatransfer/Transferable.java: New file from
10785         Classpath.
10786         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10787         from Classpath.
10788
10789         * Makefile.in: Rebuilt.
10790         * Makefile.am (awt_java_source_files): Added new files.
10791         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10792         Classpath.
10793         * java/awt/image/CropImageFilter.java: New file from Classpath.
10794         * java/awt/image/FilteredImageSource.java: New file from
10795         Classpath.
10796         * java/awt/image/ImageFilter.java: New file from Classpath.
10797         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10798         * java/awt/image/PixelGrabber.java: New file from Classpath.
10799         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10800         * java/awt/image/ReplicateScaleFilter.java: New file from
10801         Classpath.
10802         * java/awt/image/ImageProducer.java: Replaced with Classpath
10803         version.
10804         * java/awt/image/ImageObserver.java: Replaced with Classpath
10805         version.
10806         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10807         version.
10808         * java/awt/GridBagConstraints.java (clone): Catch
10809         CloneNotSupportedException.
10810
10811 2002-01-23  Per Bothner  <per@bothner.com>
10812
10813         * java/lang/reflect/natField.cc (setAddr):  New function.
10814         Calls getAddr and then checks that the field isn't final.
10815         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10816         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10817         (set):  Call setAddr before check that new value has right type,
10818         to better match specified semantics.
10819
10820 2002-01-22  Tom Tromey  <tromey@redhat.com>
10821
10822         * java/awt/TextField.java: Replaced with Classpath version.
10823         * java/awt/TextArea.java: Replaced with Classpath version.
10824         * java/awt/TextComponent.java: Replaced with Classpath version.
10825
10826         * java/awt/GridBagConstraints.java: Updated copyright.
10827
10828 2002-01-22  Mark Wielaard <mark@klomp.org>
10829
10830         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10831         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10832         java/awt/Dialog.java java/awt/FileDialog.java
10833         java/awt/Font.java java/awt/FontMetrics.java
10834         java/awt/Image.java java/awt/ImageMediaEntry.java
10835         java/awt/Insets.java java/awt/List.java
10836         java/awt/MediaEntry.java java/awt/MediaTracker.java
10837         java/awt/Menu.java java/awt/MenuBar.java
10838         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10839         java/awt/PaintContext.java java/awt/Panel.java
10840         java/awt/PopupMenu.java java/awt/SystemColor.java
10841         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10842         java/awt/peer/CheckboxMenuItemPeer.java
10843         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10844         java/awt/peer/ComponentPeer.java
10845         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10846         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10847         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10848         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10849         java/awt/peer/MenuBarPeer.java
10850         java/awt/peer/MenuComponentPeer.java
10851         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10852         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10853         java/awt/peer/ScrollPanePeer.java
10854         java/awt/peer/ScrollbarPeer.java
10855         java/awt/peer/TextAreaPeer.java
10856         java/awt/peer/TextComponentPeer.java
10857         java/awt/peer/TextFieldPeer.java
10858         java/awt/peer/WindowPeer.java: Add license clarification.
10859
10860 2002-01-22  Mark Wielaard <mark@klomp.org>
10861
10862         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10863         gnu/gcj/runtime/StringBuffer.java
10864         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10865         gnu/java/awt/ComponentDataBlitOp.java
10866         gnu/java/awt/GLightweightPeer.java
10867         gnu/java/beans/BeanInfoEmbryo.java
10868         gnu/java/beans/EmptyBeanInfo.java
10869         gnu/java/beans/ExplicitBeanInfo.java
10870         gnu/java/beans/IntrospectionIncubator.java
10871         gnu/java/beans/editors/ColorEditor.java
10872         gnu/java/beans/editors/FontEditor.java
10873         gnu/java/beans/editors/NativeBooleanEditor.java
10874         gnu/java/beans/editors/NativeByteEditor.java
10875         gnu/java/beans/editors/NativeDoubleEditor.java
10876         gnu/java/beans/editors/NativeFloatEditor.java
10877         gnu/java/beans/editors/NativeIntEditor.java
10878         gnu/java/beans/editors/NativeLongEditor.java
10879         gnu/java/beans/editors/NativeShortEditor.java
10880         gnu/java/beans/editors/StringEditor.java
10881         gnu/java/beans/info/ComponentBeanInfo.java
10882         gnu/java/io/ClassLoaderObjectInputStream.java
10883         gnu/java/io/NullOutputStream.java
10884         gnu/java/io/ObjectIdentityWrapper.java
10885         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10886         gnu/java/lang/reflect/TypeSignature.java
10887         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10888         gnu/java/locale/Calendar_en.java
10889         gnu/java/locale/Calendar_nl.java
10890         gnu/java/locale/LocaleInformation.java
10891         gnu/java/locale/LocaleInformation_de.java
10892         gnu/java/locale/LocaleInformation_en.java
10893         gnu/java/locale/LocaleInformation_nl.java
10894         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10895         gnu/java/rmi/registry/RegistryImpl.java
10896         gnu/java/rmi/rmic/Compile_gcj.java
10897         gnu/java/rmi/rmic/Compiler.java
10898         gnu/java/rmi/rmic/CompilerProcess.java
10899         gnu/java/rmi/rmic/RMIC.java
10900         gnu/java/rmi/rmic/TabbedWriter.java
10901         gnu/java/rmi/server/ProtocolConstants.java
10902         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10903         gnu/java/rmi/server/RMIHashes.java
10904         gnu/java/rmi/server/RMIObjectInputStream.java
10905         gnu/java/rmi/server/RMIObjectOutputStream.java
10906         gnu/java/rmi/server/UnicastConnection.java
10907         gnu/java/rmi/server/UnicastConnectionManager.java
10908         gnu/java/rmi/server/UnicastRef.java
10909         gnu/java/rmi/server/UnicastRemoteCall.java
10910         gnu/java/rmi/server/UnicastRemoteStub.java
10911         gnu/java/rmi/server/UnicastServer.java
10912         gnu/java/rmi/server/UnicastServerRef.java
10913         gnu/java/security/provider/DefaultPolicy.java
10914         gnu/java/security/provider/Gnu.java
10915         gnu/java/security/provider/SHA.java
10916         gnu/java/security/provider/SHA1PRNG.java
10917         gnu/java/text/BaseBreakIterator.java
10918         gnu/java/text/CharacterBreakIterator.java
10919         gnu/java/text/LineBreakIterator.java
10920         gnu/java/text/SentenceBreakIterator.java
10921         gnu/java/text/WordBreakIterator.java
10922         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10923         java/applet/AppletContext.java java/applet/AppletStub.java
10924         java/applet/AudioClip.java java/awt/AWTError.java
10925         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10926         java/awt/AWTException.java java/awt/AWTPermission.java
10927         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10928         java/awt/Button.java java/awt/Canvas.java
10929         java/awt/CardLayout.java java/awt/Checkbox.java
10930         java/awt/CheckboxGroup.java java/awt/Component.java
10931         java/awt/ComponentOrientation.java java/awt/Container.java
10932         java/awt/Dimension.java java/awt/Event.java
10933         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10934         java/awt/FlowLayout.java java/awt/Frame.java
10935         java/awt/Graphics.java java/awt/Graphics2D.java
10936         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10937         java/awt/IllegalComponentStateException.java
10938         java/awt/ItemSelectable.java java/awt/Label.java
10939         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10940         java/awt/MenuComponent.java java/awt/MenuItem.java
10941         java/awt/Paint.java java/awt/Point.java
10942         java/awt/Rectangle.java java/awt/RenderingHints.java
10943         java/awt/Transparency.java java/awt/Window.java
10944         java/awt/color/ColorSpace.java
10945         java/awt/color/ICC_ColorSpace.java
10946         java/awt/color/ICC_Profile.java
10947         java/awt/event/HierarchyBoundsAdapter.java
10948         java/awt/event/HierarchyBoundsListener.java
10949         java/awt/event/HierarchyEvent.java
10950         java/awt/event/HierarchyListener.java
10951         java/awt/geom/AffineTransform.java
10952         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10953         java/awt/geom/IllegalPathStateException.java
10954         java/awt/geom/Line2D.java
10955         java/awt/geom/NoninvertibleTransformException.java
10956         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10957         java/awt/geom/Rectangle2D.java
10958         java/awt/geom/RectangularShape.java
10959         java/awt/geom/RoundRectangle2D.java
10960         java/awt/image/BufferedImage.java
10961         java/awt/image/ColorModel.java
10962         java/awt/image/ComponentColorModel.java
10963         java/awt/image/ComponentSampleModel.java
10964         java/awt/image/DataBuffer.java
10965         java/awt/image/DataBufferByte.java
10966         java/awt/image/DataBufferInt.java
10967         java/awt/image/DataBufferUShort.java
10968         java/awt/image/DirectColorModel.java
10969         java/awt/image/PackedColorModel.java
10970         java/awt/image/Raster.java java/awt/image/RasterOp.java
10971         java/awt/image/SampleModel.java
10972         java/awt/image/SinglePixelPackedSampleModel.java
10973         java/awt/image/WritableRaster.java
10974         java/beans/AppletInitializer.java
10975         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10976         java/beans/Beans.java java/beans/Customizer.java
10977         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10978         java/beans/FeatureDescriptor.java
10979         java/beans/IndexedPropertyDescriptor.java
10980         java/beans/IntrospectionException.java
10981         java/beans/Introspector.java java/beans/MethodDescriptor.java
10982         java/beans/ParameterDescriptor.java
10983         java/beans/PropertyChangeEvent.java
10984         java/beans/PropertyChangeListener.java
10985         java/beans/PropertyChangeSupport.java
10986         java/beans/PropertyDescriptor.java
10987         java/beans/PropertyEditor.java
10988         java/beans/PropertyEditorManager.java
10989         java/beans/PropertyEditorSupport.java
10990         java/beans/PropertyVetoException.java
10991         java/beans/SimpleBeanInfo.java
10992         java/beans/VetoableChangeListener.java
10993         java/beans/VetoableChangeSupport.java
10994         java/beans/Visibility.java
10995         java/beans/beancontext/BeanContext.java
10996         java/beans/beancontext/BeanContextChild.java
10997         java/beans/beancontext/BeanContextChildComponentProxy.java
10998         java/beans/beancontext/BeanContextChildSupport.java
10999         java/beans/beancontext/BeanContextContainerProxy.java
11000         java/beans/beancontext/BeanContextEvent.java
11001         java/beans/beancontext/BeanContextMembershipEvent.java
11002         java/beans/beancontext/BeanContextMembershipListener.java
11003         java/beans/beancontext/BeanContextProxy.java
11004         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11005         java/beans/beancontext/BeanContextServiceProvider.java
11006         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11007         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11008         java/beans/beancontext/BeanContextServiceRevokedListener.java
11009         java/beans/beancontext/BeanContextServices.java
11010         java/beans/beancontext/BeanContextServicesListener.java
11011         java/io/BufferedInputStream.java
11012         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11013         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11014         java/io/ByteArrayOutputStream.java
11015         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11016         java/io/CharConversionException.java java/io/DataInput.java
11017         java/io/DataInputStream.java java/io/DataOutput.java
11018         java/io/EOFException.java java/io/Externalizable.java
11019         java/io/FileFilter.java java/io/FileNotFoundException.java
11020         java/io/FilePermission.java java/io/FileReader.java
11021         java/io/FileWriter.java java/io/FilenameFilter.java
11022         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11023         java/io/FilterReader.java java/io/FilterWriter.java
11024         java/io/IOException.java java/io/InputStream.java
11025         java/io/InterruptedIOException.java
11026         java/io/InvalidClassException.java
11027         java/io/InvalidObjectException.java
11028         java/io/NotActiveException.java
11029         java/io/NotSerializableException.java java/io/ObjectInput.java
11030         java/io/ObjectInputStream.java
11031         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11032         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11033         java/io/ObjectStreamConstants.java
11034         java/io/ObjectStreamException.java
11035         java/io/ObjectStreamField.java
11036         java/io/OptionalDataException.java java/io/OutputStream.java
11037         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11038         java/io/PipedReader.java java/io/PipedWriter.java
11039         java/io/PrintWriter.java java/io/PushbackInputStream.java
11040         java/io/PushbackReader.java java/io/Reader.java
11041         java/io/SequenceInputStream.java java/io/Serializable.java
11042         java/io/SerializablePermission.java
11043         java/io/StreamCorruptedException.java
11044         java/io/StreamTokenizer.java
11045         java/io/StringBufferInputStream.java java/io/StringReader.java
11046         java/io/StringWriter.java java/io/SyncFailedException.java
11047         java/io/UTFDataFormatException.java
11048         java/io/UnsupportedEncodingException.java
11049         java/io/WriteAbortedException.java java/io/Writer.java
11050         java/lang/AbstractMethodError.java
11051         java/lang/ArithmeticException.java
11052         java/lang/ArrayIndexOutOfBoundsException.java
11053         java/lang/ArrayStoreException.java java/lang/Boolean.java
11054         java/lang/Byte.java java/lang/CharSequence.java
11055         java/lang/ClassCastException.java
11056         java/lang/ClassCircularityError.java
11057         java/lang/ClassFormatError.java
11058         java/lang/ClassNotFoundException.java
11059         java/lang/CloneNotSupportedException.java
11060         java/lang/Cloneable.java java/lang/Comparable.java
11061         java/lang/Compiler.java java/lang/Double.java
11062         java/lang/Error.java java/lang/Exception.java
11063         java/lang/ExceptionInInitializerError.java
11064         java/lang/Float.java java/lang/IllegalAccessError.java
11065         java/lang/IllegalAccessException.java
11066         java/lang/IllegalArgumentException.java
11067         java/lang/IllegalMonitorStateException.java
11068         java/lang/IllegalStateException.java
11069         java/lang/IllegalThreadStateException.java
11070         java/lang/IncompatibleClassChangeError.java
11071         java/lang/IndexOutOfBoundsException.java
11072         java/lang/InheritableThreadLocal.java
11073         java/lang/InstantiationError.java
11074         java/lang/InstantiationException.java java/lang/Integer.java
11075         java/lang/InternalError.java
11076         java/lang/InterruptedException.java
11077         java/lang/LinkageError.java java/lang/Long.java
11078         java/lang/NegativeArraySizeException.java
11079         java/lang/NoClassDefFoundError.java
11080         java/lang/NoSuchFieldError.java
11081         java/lang/NoSuchFieldException.java
11082         java/lang/NoSuchMethodError.java
11083         java/lang/NoSuchMethodException.java
11084         java/lang/NullPointerException.java java/lang/Number.java
11085         java/lang/NumberFormatException.java
11086         java/lang/OutOfMemoryError.java java/lang/Package.java
11087         java/lang/Process.java java/lang/Runnable.java
11088         java/lang/RuntimeException.java
11089         java/lang/RuntimePermission.java
11090         java/lang/SecurityException.java
11091         java/lang/SecurityManager.java java/lang/Short.java
11092         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11093         java/lang/StringIndexOutOfBoundsException.java
11094         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11095         java/lang/ThreadLocal.java java/lang/UnknownError.java
11096         java/lang/UnsatisfiedLinkError.java
11097         java/lang/UnsupportedClassVersionError.java
11098         java/lang/UnsupportedOperationException.java
11099         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11100         java/lang/Void.java java/lang/ref/PhantomReference.java
11101         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11102         java/lang/ref/SoftReference.java
11103         java/lang/ref/WeakReference.java
11104         java/lang/reflect/AccessibleObject.java
11105         java/lang/reflect/InvocationTargetException.java
11106         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11107         java/lang/reflect/ReflectPermission.java
11108         java/math/BigDecimal.java java/math/BigInteger.java
11109         java/net/Authenticator.java java/net/BindException.java
11110         java/net/ConnectException.java java/net/ContentHandler.java
11111         java/net/ContentHandlerFactory.java
11112         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11113         java/net/FileNameMap.java java/net/MalformedURLException.java
11114         java/net/MulticastSocket.java java/net/NetPermission.java
11115         java/net/NoRouteToHostException.java
11116         java/net/PasswordAuthentication.java
11117         java/net/ProtocolException.java java/net/ServerSocket.java
11118         java/net/Socket.java java/net/SocketException.java
11119         java/net/SocketImpl.java java/net/SocketImplFactory.java
11120         java/net/SocketOptions.java java/net/SocketPermission.java
11121         java/net/URLDecoder.java java/net/URLEncoder.java
11122         java/net/URLStreamHandlerFactory.java
11123         java/net/UnknownHostException.java
11124         java/net/UnknownServiceException.java
11125         java/rmi/AccessException.java
11126         java/rmi/AlreadyBoundException.java
11127         java/rmi/ConnectException.java
11128         java/rmi/ConnectIOException.java
11129         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11130         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11131         java/rmi/NotBoundException.java
11132         java/rmi/RMISecurityException.java
11133         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11134         java/rmi/RemoteException.java java/rmi/ServerError.java
11135         java/rmi/ServerException.java
11136         java/rmi/ServerRuntimeException.java
11137         java/rmi/StubNotFoundException.java
11138         java/rmi/UnexpectedException.java
11139         java/rmi/UnknownHostException.java
11140         java/rmi/UnmarshalException.java
11141         java/rmi/activation/Activatable.java
11142         java/rmi/activation/ActivateFailedException.java
11143         java/rmi/activation/ActivationDesc.java
11144         java/rmi/activation/ActivationException.java
11145         java/rmi/activation/ActivationGroup.java
11146         java/rmi/activation/ActivationGroupDesc.java
11147         java/rmi/activation/ActivationGroupID.java
11148         java/rmi/activation/ActivationID.java
11149         java/rmi/activation/ActivationInstantiator.java
11150         java/rmi/activation/ActivationMonitor.java
11151         java/rmi/activation/ActivationSystem.java
11152         java/rmi/activation/Activator.java
11153         java/rmi/activation/UnknownGroupException.java
11154         java/rmi/activation/UnknownObjectException.java
11155         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11156         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11157         java/rmi/registry/Registry.java
11158         java/rmi/registry/RegistryHandler.java
11159         java/rmi/server/ExportException.java
11160         java/rmi/server/LoaderHandler.java
11161         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11162         java/rmi/server/Operation.java
11163         java/rmi/server/RMIClassLoader.java
11164         java/rmi/server/RMIClientSocketFactory.java
11165         java/rmi/server/RMIFailureHandler.java
11166         java/rmi/server/RMIServerSocketFactory.java
11167         java/rmi/server/RMISocketFactory.java
11168         java/rmi/server/RemoteCall.java
11169         java/rmi/server/RemoteObject.java
11170         java/rmi/server/RemoteRef.java
11171         java/rmi/server/RemoteServer.java
11172         java/rmi/server/RemoteStub.java
11173         java/rmi/server/ServerCloneException.java
11174         java/rmi/server/ServerNotActiveException.java
11175         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11176         java/rmi/server/SkeletonMismatchException.java
11177         java/rmi/server/SkeletonNotFoundException.java
11178         java/rmi/server/SocketSecurityException.java
11179         java/rmi/server/UID.java
11180         java/rmi/server/UnicastRemoteObject.java
11181         java/rmi/server/Unreferenced.java
11182         java/security/AccessControlContext.java
11183         java/security/AccessControlException.java
11184         java/security/AccessController.java
11185         java/security/AlgorithmParameterGenerator.java
11186         java/security/AlgorithmParameterGeneratorSpi.java
11187         java/security/AlgorithmParameters.java
11188         java/security/AlgorithmParametersSpi.java
11189         java/security/AllPermission.java
11190         java/security/BasicPermission.java
11191         java/security/Certificate.java java/security/CodeSource.java
11192         java/security/DigestException.java
11193         java/security/DigestInputStream.java
11194         java/security/DigestOutputStream.java
11195         java/security/DomainCombiner.java
11196         java/security/DummyKeyPairGenerator.java
11197         java/security/DummyMessageDigest.java
11198         java/security/DummySignature.java
11199         java/security/GeneralSecurityException.java
11200         java/security/Guard.java java/security/GuardedObject.java
11201         java/security/Identity.java java/security/IdentityScope.java
11202         java/security/InvalidAlgorithmParameterException.java
11203         java/security/InvalidKeyException.java
11204         java/security/InvalidParameterException.java
11205         java/security/Key.java java/security/KeyException.java
11206         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11207         java/security/KeyManagementException.java
11208         java/security/KeyPair.java java/security/KeyPairGenerator.java
11209         java/security/KeyPairGeneratorSpi.java
11210         java/security/KeyStore.java
11211         java/security/KeyStoreException.java
11212         java/security/KeyStoreSpi.java
11213         java/security/MessageDigest.java
11214         java/security/MessageDigestSpi.java
11215         java/security/NoSuchAlgorithmException.java
11216         java/security/NoSuchProviderException.java
11217         java/security/Permission.java
11218         java/security/PermissionCollection.java
11219         java/security/Permissions.java java/security/Policy.java
11220         java/security/Principal.java java/security/PrivateKey.java
11221         java/security/PrivilegedAction.java
11222         java/security/PrivilegedActionException.java
11223         java/security/PrivilegedExceptionAction.java
11224         java/security/ProtectionDomain.java
11225         java/security/Provider.java
11226         java/security/ProviderException.java
11227         java/security/PublicKey.java
11228         java/security/SecureClassLoader.java
11229         java/security/SecureRandom.java
11230         java/security/SecureRandomSpi.java java/security/Security.java
11231         java/security/SecurityPermission.java
11232         java/security/Signature.java
11233         java/security/SignatureException.java
11234         java/security/SignatureSpi.java
11235         java/security/SignedObject.java java/security/Signer.java
11236         java/security/UnrecoverableKeyException.java
11237         java/security/UnresolvedPermission.java
11238         java/security/acl/Acl.java java/security/acl/AclEntry.java
11239         java/security/acl/AclNotFoundException.java
11240         java/security/acl/Group.java
11241         java/security/acl/LastOwnerException.java
11242         java/security/acl/NotOwnerException.java
11243         java/security/acl/Owner.java java/security/acl/Permission.java
11244         java/security/cert/CRL.java
11245         java/security/cert/CRLException.java
11246         java/security/cert/Certificate.java
11247         java/security/cert/CertificateEncodingException.java
11248         java/security/cert/CertificateException.java
11249         java/security/cert/CertificateExpiredException.java
11250         java/security/cert/CertificateFactory.java
11251         java/security/cert/CertificateFactorySpi.java
11252         java/security/cert/CertificateNotYetValidException.java
11253         java/security/cert/CertificateParsingException.java
11254         java/security/cert/X509CRL.java
11255         java/security/cert/X509CRLEntry.java
11256         java/security/cert/X509Certificate.java
11257         java/security/cert/X509Extension.java
11258         java/security/interfaces/DSAKey.java
11259         java/security/interfaces/DSAKeyPairGenerator.java
11260         java/security/interfaces/DSAParams.java
11261         java/security/interfaces/DSAPrivateKey.java
11262         java/security/interfaces/DSAPublicKey.java
11263         java/security/interfaces/RSAKey.java
11264         java/security/interfaces/RSAPrivateCrtKey.java
11265         java/security/interfaces/RSAPrivateKey.java
11266         java/security/interfaces/RSAPublicKey.java
11267         java/security/spec/AlgorithmParameterSpec.java
11268         java/security/spec/DSAParameterSpec.java
11269         java/security/spec/DSAPrivateKeySpec.java
11270         java/security/spec/DSAPublicKeySpec.java
11271         java/security/spec/EncodedKeySpec.java
11272         java/security/spec/InvalidKeySpecException.java
11273         java/security/spec/InvalidParameterSpecException.java
11274         java/security/spec/KeySpec.java
11275         java/security/spec/PKCS8EncodedKeySpec.java
11276         java/security/spec/RSAKeyGenParameterSpec.java
11277         java/security/spec/RSAPrivateCrtKeySpec.java
11278         java/security/spec/RSAPrivateKeySpec.java
11279         java/security/spec/RSAPublicKeySpec.java
11280         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11281         java/sql/BatchUpdateException.java java/sql/Blob.java
11282         java/sql/CallableStatement.java java/sql/Clob.java
11283         java/sql/Connection.java java/sql/DataTruncation.java
11284         java/sql/DatabaseMetaData.java java/sql/Date.java
11285         java/sql/Driver.java java/sql/DriverManager.java
11286         java/sql/DriverPropertyInfo.java
11287         java/sql/PreparedStatement.java java/sql/Ref.java
11288         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11289         java/sql/SQLData.java java/sql/SQLException.java
11290         java/sql/SQLInput.java java/sql/SQLOutput.java
11291         java/sql/SQLWarning.java java/sql/Statement.java
11292         java/sql/Struct.java java/sql/Time.java
11293         java/sql/Timestamp.java java/sql/Types.java
11294         java/text/Annotation.java
11295         java/text/AttributedCharacterIterator.java
11296         java/text/AttributedString.java
11297         java/text/AttributedStringIterator.java
11298         java/text/BreakIterator.java java/text/CharacterIterator.java
11299         java/text/ChoiceFormat.java java/text/Collator.java
11300         java/text/DateFormat.java java/text/DateFormatSymbols.java
11301         java/text/DecimalFormat.java
11302         java/text/DecimalFormatSymbols.java
11303         java/text/FieldPosition.java java/text/Format.java
11304         java/text/MessageFormat.java java/text/NumberFormat.java
11305         java/text/ParseException.java java/text/ParsePosition.java
11306         java/text/SimpleDateFormat.java
11307         java/text/StringCharacterIterator.java
11308         java/util/AbstractCollection.java java/util/AbstractList.java
11309         java/util/AbstractMap.java
11310         java/util/AbstractSequentialList.java
11311         java/util/AbstractSet.java java/util/ArrayList.java
11312         java/util/Arrays.java java/util/BasicMapEntry.java
11313         java/util/BitSet.java java/util/Calendar.java
11314         java/util/Collection.java java/util/Collections.java
11315         java/util/Comparator.java
11316         java/util/ConcurrentModificationException.java
11317         java/util/Date.java java/util/Dictionary.java
11318         java/util/EmptyStackException.java java/util/Enumeration.java
11319         java/util/EventListener.java java/util/EventObject.java
11320         java/util/GregorianCalendar.java java/util/HashMap.java
11321         java/util/HashSet.java java/util/Hashtable.java
11322         java/util/IdentityHashMap.java java/util/Iterator.java
11323         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11324         java/util/LinkedList.java java/util/List.java
11325         java/util/ListIterator.java java/util/ListResourceBundle.java
11326         java/util/Locale.java java/util/Map.java
11327         java/util/MissingResourceException.java
11328         java/util/NoSuchElementException.java
11329         java/util/Observable.java java/util/Observer.java
11330         java/util/Properties.java java/util/PropertyPermission.java
11331         java/util/PropertyResourceBundle.java java/util/Random.java
11332         java/util/RandomAccess.java java/util/ResourceBundle.java
11333         java/util/Set.java java/util/SimpleTimeZone.java
11334         java/util/SortedMap.java java/util/SortedSet.java
11335         java/util/Stack.java java/util/StringTokenizer.java
11336         java/util/TimeZone.java java/util/Timer.java
11337         java/util/TimerTask.java
11338         java/util/TooManyListenersException.java
11339         java/util/TreeMap.java java/util/TreeSet.java
11340         java/util/Vector.java java/util/WeakHashMap.java
11341         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11342         java/util/jar/JarException.java java/util/jar/JarFile.java
11343         java/util/jar/JarInputStream.java
11344         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11345         java/util/zip/Adler32.java java/util/zip/CRC32.java
11346         java/util/zip/CheckedInputStream.java
11347         java/util/zip/CheckedOutputStream.java
11348         java/util/zip/Checksum.java
11349         java/util/zip/DataFormatException.java
11350         java/util/zip/Deflater.java
11351         java/util/zip/DeflaterOutputStream.java
11352         java/util/zip/GZIPInputStream.java
11353         java/util/zip/GZIPOutputStream.java
11354         java/util/zip/Inflater.java
11355         java/util/zip/InflaterInputStream.java
11356         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11357         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11358         java/util/zip/ZipInputStream.java
11359         java/util/zip/ZipOutputStream.java
11360         javax/naming/BinaryRefAddr.java
11361         javax/naming/InvalidNameException.java javax/naming/Name.java
11362         javax/naming/NamingException.java javax/naming/RefAddr.java
11363         javax/naming/StringRefAddr.java: Add license clarification.
11364
11365 2002-01-22  Tom Tromey  <tromey@redhat.com>
11366
11367         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11368         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11369         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11370         version.
11371         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11372         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11373         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11374         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11375         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11376         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11377         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11378         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11379         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11380         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11381         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11382         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11383         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11384         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11385         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11386         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11387         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11388         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11389         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11390         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11391         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11392         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11393         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11394         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11395         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11396         (minimumSize, preferredSize, reshape): Likewise.
11397         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11398         getColorModel): New methods.
11399         * java/awt/PopupMenu.java: Merged with Classpath.
11400         * java/awt/MenuBar.java: Merged with Classpath.
11401         * java/awt/SystemColor.java: Replace with Classpath version.
11402         * java/awt/Panel.java: Merged with Classpath.
11403         * java/awt/PaintContext.java: Updated copyright.
11404         * java/awt/MenuShortcut.java: Merged with Classpath.
11405         * java/awt/MenuContainer.java: Merged with Classpath.
11406         * java/awt/Menu.java: Merged with Classpath.
11407         * java/awt/MediaEntry.java: New file from Classpath.
11408         * java/awt/MediaTracker.java: New file from Classpath.
11409         * java/awt/List.java: Merged with Classpath version.
11410         * java/awt/Insets.java: Merged with Classpath version.
11411         * java/awt/ImageMediaEntry.java: New file from Classpath.
11412         * java/awt/Image.java: Replaced with Classpath version.
11413         * java/awt/FontMetrics.java: Merged with Classpath version.
11414         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11415         constant.
11416         * java/awt/Font.java: Merged with Classpath version.
11417         * java/awt/Dialog.java: Merged with Classpath version.
11418         * java/awt/Color.java: Merged with Classpath version.
11419         * java/awt/Choice.java: Merged with Classpath version.
11420         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11421         * java/awt/Adjustable.java: Replace with Classpath version.
11422         * java/awt/MenuItem.java (paramString): Don't include class name
11423         or brackets.  Call superclass paramString.
11424         * java/awt/MenuComponent.java (toString): Call paramString.
11425         (paramString): Compute string; don't call toString.
11426         * java/awt/Label.java (paramString): Don't include class name
11427         or brackets.  Call superclass paramString.
11428         * java/awt/Checkbox.java (paramString): Don't include class name
11429         or brackets.  Call superclass paramString.
11430         * java/awt/Button.java (paramString): Don't include class name or
11431         brackets.  Call superclass paramString.
11432         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11433
11434 2002-01-20  Andreas Schwab  <schwab@suse.de>
11435
11436         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11437         function and of parameter recv_func to ssize_t, as specified by
11438         POSIX.
11439
11440 2002-01-19  Per Bothner  <per@bothner.com>
11441
11442         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11443         uncompressed_size in readiness for next entry.
11444
11445 2002-01-18  Tom Tromey  <tromey@redhat.com>
11446
11447         * java/net/natPlainSocketImpl.cc: Include
11448         IllegalArgumentException.h.
11449         (_Jv_recv): New template function.
11450         (BooleanClass): Removed.
11451         (read): Use _Jv_recv.
11452         (setOption): Use Boolean::class$.  Throw exception if object is
11453         not Boolean or Integer.
11454
11455 2002-01-17  Tom Tromey  <tromey@redhat.com>
11456
11457         * java/awt/MenuComponent.java: Merged with Classpath.
11458         * java/awt/MenuItem.java: Merged with Classpath.
11459         * java/awt/Button.java: Merged with Classpath.
11460
11461         * java/awt/ActiveEvent.java: Updated copyright.
11462
11463         * java/awt/AWTError.java: Replaced with Classpath version.
11464         * java/awt/AWTException.java: Replaced with Classpath version.
11465         * java/awt/IllegalComponentStateException.java: Replaced with
11466         Classpath version.
11467
11468 2002-01-16  Tom Tromey  <tromey@redhat.com>
11469
11470         * java/awt/Canvas.java (serialVersionUID): New constant.
11471         Updated copyright.  Added javadoc from Classpath.
11472         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11473
11474         * java/awt/CheckboxGroup.java: Merged with Classpath.
11475         * java/awt/Checkbox.java: Merged with Classpath.
11476
11477         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11478         Classpath.
11479         * java/awt/Point.java: Updated copyright.
11480
11481         * java/awt/Point.java (toString): Use getClass().getName().
11482         Added javadoc.
11483
11484         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11485         commented code.
11486         (hash): Correctly compute initial value for `h'.
11487
11488         * java/awt/Label.java: Merged with Classpath.
11489
11490 2002-01-15  Tom Tromey  <tromey@redhat.com>
11491
11492         * java/awt/AWTPermission.java: Updated copyright.
11493
11494         * java/awt/LayoutManager2.java: Merged with Classpath.
11495         * java/awt/LayoutManager.java: Merged with Classpath.
11496         * java/awt/GridLayout.java: Updated copyright and javadoc.
11497         (getSize): Use `parent.ncomponents'.  Handle insets.
11498         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11499         there are fewer children than columns.  Correctly compute size of
11500         each cell in the grid.  Handle case where there isn't enough
11501         space.
11502         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11503         all users.
11504         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11505         before calling setVisible() on it.  Last item is `num - 1', not
11506         `num'.
11507         (layoutContainer): Hoist invariants out of loop.
11508
11509         Start of AWT merge with Classpath:
11510         * Makefile.in: Rebuilt.
11511         * Makefile.am (awt_java_source_files): Reference files in
11512         gnu/java/awt, not gnu/gcj/awt.
11513         * java/awt/image/BufferedImage.java: Updated copyright.
11514         * java/awt/image/ComponentColorModel.java: Updated copyright.
11515         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11516         * java/awt/image/DataBuffer.java: Updated copyright.
11517         * java/awt/image/DataBufferByte.java: Updated copyright.
11518         * java/awt/image/DataBufferInt.java: Updated copyright.
11519         * java/awt/image/DataBufferUShort.java: Updated copyright.
11520         * java/awt/image/IndexColorModel.java: Updated copyright.
11521         * java/awt/image/PackedColorModel.java: Updated copyright.
11522         * java/awt/image/Raster.java: Updated copyright.
11523         * java/awt/image/RasterOp.java: Updated copyright.
11524         * java/awt/image/SampleModel.java: Updated copyright.
11525         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11526         * java/awt/image/WritableRaster.java: Updated copyright.
11527         * java/awt/color/ColorSpace.java: Updated copyright.
11528         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11529         * java/awt/color/ICC_Profile.java: Updated copyright.
11530         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11531         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11532         * java/awt/event/HierarchyEvent.java: Updated copyright.
11533         * java/awt/event/HierarchyListener.java: Updated copyright.
11534         * java/awt/geom/AffineTransform.java: Updated copyright.
11535         * java/awt/geom/Dimension2D.java: Updated copyright.
11536         * java/awt/geom/Ellipse2D.java: Updated copyright.
11537         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11538         * java/awt/geom/Line2D.java: Updated copyright.
11539         * java/awt/geom/NoninvertibleTransformException.java: Updated
11540         copyright.
11541         * java/awt/geom/PathIterator.java: Updated copyright.
11542         * java/awt/geom/Point2D.java: Updated copyright.
11543         * java/awt/geom/Rectangle2D.java: Updated copyright.
11544         * java/awt/geom/RectangularShape.java: Updated copyright.
11545         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11546         * java/awt/Toolkit.java: Updated import for file moves.
11547         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11548         Classpath.
11549         (hashCode): New method from Classpath.
11550         * java/awt/Graphics2D.java: Updated copyright.
11551         * java/awt/Transparency.java: Updated copyright.
11552         * java/awt/Paint.java: Updated copyright.
11553         * java/awt/Graphics.java: New version from Classpath.
11554         * java/awt/EventDispatchThread.java: Updated copyright.
11555         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11556         children.
11557         (gotoComponent): Wrap around on next/previous.
11558         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11559         * gnu/gcj/awt/Buffers.java: Removed.
11560         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11561         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11562         * gnu/java/awt/BitMaskExtent.java: Added.
11563         * gnu/java/awt/Buffers.java: Added.
11564         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11565         * gnu/java/awt/GLightweightPeer.java: Added.
11566         * java/awt/geom/Line2D.java (clone): Ignore
11567         CloneNotSupportedException.
11568         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11569         * java/awt/Frame.java: Merged with Classpath.
11570         * java/awt/RenderingHints.java: Copyright update.
11571         * java/awt/Paint.java: Copyright update.
11572         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11573         * java/awt/image/ColorModel.java: Merged with Classpath.
11574         * java/awt/Window.java (show): New Implementation from Classpath.
11575         (isShowing): Use super.isShowing().
11576         * java/awt/EventQueue.java: Merged with Classpath.
11577         * java/awt/AWTEventMulticaster.java (save): Throw
11578         RuntimeException.
11579         (saveInternal): Likewise.
11580         * java/awt/AWTEvent.java: Now implements Serializable.
11581         * java/awt/Event.java: Copyright update.
11582         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11583         * java/awt/image/BufferedImage.java: Copyright update.
11584         * java/awt/GraphicsConfiguration.java: Copyright update.
11585         * java/awt/Component.java: (addNotify): Don't call
11586         addNotifyContainerChildren().
11587         (addNotifyContainerChildren): Removed.
11588         (setPeer): New method from Classpath.
11589         (setTreeLock): Likewise.
11590         (setVisible): Rewrote.
11591         (show): Use it.
11592         (hide): Likewise.
11593         (validate): Set `valid'.
11594         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11595         (createImage(ImageProducer)): Likewise.
11596         (prepareImage): Likewise.
11597         * java/awt/Container.java (addImpl): Handle case where constraint
11598         is not a String.  Post event via system event queue.
11599         (remove): Post event via system event queue.
11600         (validateTree): Only validate child if it is invalid.
11601         (getAlignmentX): Call super method as default.
11602         (getAlignmentY): Likewise.
11603         (addContainerListener): Now synchronized.
11604         (removeContainerListener): Likewise.
11605         (addNotifyContainerChildren): Now private.
11606         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11607         @author.
11608         * java/awt/FlowLayout.java (serialVersionUID): New field.
11609         (setAlignment): Better exception message.
11610         (layoutContainer): Don't compute component's preferred size unless
11611         we're going to use it.
11612         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11613         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11614         (firstLine, lastLine, firstItem, lastItem): New fields.
11615         (addLayoutComponent): Handle case where constraints is null.
11616         Also, handle relative locations.
11617         (removeLayoutComponent): Handle relative locations.
11618         (MIN, MAX, PREF): New constants.
11619         (calcCompSize): New method.
11620         (calcSize): New method.
11621         (minimumLayoutSize): Use it.
11622         (preferredLayoutSize): Likewise.
11623         (maximumLayoutSize): Likewise.
11624         (toString): Include more information.
11625         (setBounds): New method.
11626         (layoutContainer): Use libgcj implementation; extended to handle
11627         relative locations.
11628
11629 2002-01-15  Tom Tromey  <tromey@redhat.com>
11630
11631         * java/lang/Float.java (equals): Preserve old code.
11632         * java/lang/Double.java (equals): Preserve old code.
11633
11634 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11635
11636         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11637         * java/lang/Float.java (equals, compare): Ditto.
11638
11639 2002-01-13  Mark Wielaard  <mark@klomp.org>
11640
11641         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11642         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11643         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11644         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11645
11646 2002-01-11  Mark Wielaard  <mark@klomp.org>
11647
11648         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11649         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11650         InetAddress.
11651         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11652         * java/net/Socket.java: Merge with Classpath.
11653         * java/net/ServerSocket.java: Likewise.
11654
11655 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11656
11657         * interpret.cc (NULLARRAYCHECK): New macro.
11658         (SAVE_PC): Just store `pc'.
11659         (find_exception): Subtract one from `pc' here.
11660         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11661         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11662         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11663         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11664         don't call SAVE_PC.
11665         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11666         call SAVE_PC.
11667
11668 2002-01-11  Tom Tromey  <tromey@redhat.com>
11669
11670         * java/lang/natSystem.cc (init_properties): Only look for default
11671         locale if LC_MESSAGES is defined.
11672         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11673         * configure.in: Call AM_LC_MESSAGES.
11674         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11675
11676 2002-01-10  Tom Tromey  <tromey@redhat.com>
11677
11678         For PR libgcj/5303:
11679         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11680         --version.  Recognize GNU-style long options.  Print GNU-style
11681         error messages.
11682         (usage): Print GNU-style help.  Exit with status 0.
11683         (error): New method.
11684         (run): Print error message if no class names found.
11685         (main): Don't print usage on error.
11686
11687 2002-01-09  Tom Tromey  <tromey@redhat.com>
11688
11689         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11690         property.
11691         (help, version): Use println(), not println("").
11692
11693         For PR libgcj/5303:
11694         * gnu/gcj/convert/Convert.java (error): Program is called
11695         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11696         -1.
11697         (main): Handle --help and --version.
11698         (help): New method.
11699         (version): Likewise.
11700
11701 2002-01-08  Tom Tromey  <tromey@redhat.com>
11702
11703         * Makefile.in: Rebuilt.
11704         * Makefile.am (ordinary_java_source_files): Added new files.
11705         * gnu/java/locale/LocaleInformation.java: Extend
11706         LocaleInformation_en.
11707         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11708         and time/date formats.
11709         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11710         generated.
11711         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11712         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11713         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11714         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11715         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11716         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11717         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11718         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11719         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11720         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11721         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11722         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11723         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11724         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11725         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11726         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11727         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11728         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11729         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11730         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11731         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11732         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11733         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11734         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11735         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11736         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11737         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11738         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11739         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11740         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11741         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11742         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11743         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11744         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11745         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11746         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11747         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11748         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11749         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11750         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11751         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11752         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11753         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11754         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11755         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11756         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11757         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11758         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11759         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11760         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11761         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11762         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11763         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11764         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11765         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11766         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11767         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11768         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11769         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11770         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11771         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11772         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11773         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11774         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11775         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11776         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11777         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11778         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11779         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11780         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11781         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11782         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11783         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11784         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11785         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11786         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11787         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11788         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11789         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11790         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11791         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11792         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11793         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11794         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11795         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11796         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11797         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11798         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11799         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11800         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11801         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11802         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11803         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11804         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11805         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11806         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11807         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11808         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11809         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11810         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11811         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11812         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11813         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11814         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11815         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11816         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11817         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11818         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11819         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11820         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11821         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11822         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11823         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11824         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11825         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11826         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11827         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11828         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11829         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11830         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11831         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11832         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11833         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11834         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11835         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11836         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11837         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11838         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11839         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11840         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11841
11842         For PR libgcj/5031:
11843         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11844         choose default locale.
11845
11846         * Makefile.in: Rebuilt.
11847         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11848
11849 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11850
11851         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11852         sockets.
11853         (close): New function closes the socket.
11854         (write): New functions for output to socket.
11855         (read): New functions for reading from socket.
11856         * java/net/PlainSocketImpl.java: Glue for new timeout
11857         implementation.
11858         (write): Call the native impl.
11859         (read): Likewise.
11860         (getInputStream): Get a stream to read from the socket.
11861         (getOutputStream): Get a stream to write to the socket.
11862
11863 2002-01-08  Tom Tromey  <tromey@redhat.com>
11864
11865         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11866
11867 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11868
11869         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11870         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11871
11872 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11873
11874         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11875         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11876         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11877         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11878         insn_bastore, insn_castore, insn_sastore]: Use it.
11879         (continue1) [insn_arraylength]: Check for null array.
11880
11881 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11882
11883         * configure, include/config.h.in: Rebuilt.
11884         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11885         * configure.in: Call AC_STRUCT_TIMEZONE.
11886
11887 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11888
11889         * configure.host: Disable the interpreter for Darwin.
11890
11891 2002-01-04  Tom Tromey  <tromey@redhat.com>
11892
11893         * java/lang/Thread.java (stop): No longer synchronized.
11894         (start): Likewise.
11895
11896 2002-01-02  Tom Tromey  <tromey@redhat.com>
11897
11898         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11899         patch.
11900
11901 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11902
11903         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11904         PPC Darwin, not for all of Darwin.