SpinnerModel.java: New file from classpath.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-21  Michael Koch  <konqueror@gmx.de>
2
3         * javax/swing/SpinnerModel.java:
4         New file from classpath.
5         * javax/swing/border/LineBorder.java,
6         javax/swing/border/SoftBevelBorder.java,
7         javax/swing/plaf/BorderUIResource.java,
8         javax/swing/plaf/basic/BasicBorders.java:
9         New versions from classpath.
10         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
11         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
12         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
13         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
14         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
15         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
16         New binary files from classpath.
17
18 2003-06-21  Michael Koch  <konqueror@gmx.de>
19
20         * java/util/logging/LogRecord.java,
21         java/util/logging/Logger.java,
22         java/util/logging/SocketHandler.java,
23         java/util/logging/SimpleFormatter.java,
24         java/util/logging/Formatter.java,
25         java/util/logging/ErrorManager.java,
26         java/util/logging/Handler.java,
27         java/util/logging/FileHandler.java,
28         java/util/logging/LogManager.java,
29         java/util/logging/Level.java,
30         java/util/logging/ConsoleHandler.java,
31         java/util/logging/StreamHandler.java,
32         java/util/logging/LoggingPermission.java,
33         java/util/logging/Filter.java,
34         java/util/logging/MemoryHandler.java,
35         java/util/logging/XMLFormatter.java:
36         New files from classpath.
37
38 2003-06-20  Michael Koch  <konqueror@gmx.de>
39
40         * java/io/ObjectStreamField.java
41         (unshared): new member variable.
42         (ObjectStreamField): New constructor.
43         (isUnshared): New method.
44
45 2003-06-20  Michael Koch  <konqueror@gmx.de>
46
47         * java/net/URLStreamHandler.java
48         (hostsEqual): Rewritten.
49
50 2003-06-20  Michael Koch  <konqueror@gmx.de>
51
52         * gnu/java/nio/MappedByteFileBuffer.java,
53         gnu/java/nio/natMappedByteFileBuffer.cc:
54         Removed
55         * java/nio/MappedByteBufferImpl.java:
56         New file.
57         * gnu/java/nio/FileChannelImpl.java:
58         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
59         * Makefile.am
60         (ordinary_java_source_files): Removed
61         gnu/java/nio/MappedByteFileBuffer.java and added
62         java/nio/MappedByteBufferImpl.java.
63         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
64         * Makefile.in: Regenerated.
65
66 2003-06-19  Michael Koch  <konqueror@gmx.de>
67
68         * gnu/java/nio/DatagramChannelImpl.java
69         (fd): Removed.
70         (blocking): New member variable.
71         (socket): Likewise.
72         (DatagramChannelImpl): Throws IOException, initialize socket.
73         (socket):Implemented.
74         (implCloseSelectableChannel): Throws IOException, implemented.
75         (implConfigureBlocking): Likewise.
76         (connect): Likewise.
77         (disconnect): Likewise.
78         (isConnected): Likewise.
79         (write): Likewise.
80         (read): Likewise.
81         (receive): Throws IOException.
82         (send): Likewise.
83         * gnu/java/nio/SocketChannelImpl.java
84         (read): Implemented.
85         (write): Implemented.
86
87 2003-06-19  Michael Koch  <konqueror@gmx.de>
88
89         * javax/swing/JComponent.java,
90         javax/swing/JInternalFrame.java,
91         javax/swing/MenuSelectionManager.java,
92         javax/swing/SwingUtilities.java,
93         javax/swing/ToggleButtonModel.java:
94         New versions from classpath.
95
96 2003-06-19  Michael Koch  <konqueror@gmx.de>
97
98         * java/text/CollationElementIterator.java
99         (NULLORDER): Initialize with -1 as JDK documentation says.
100
101 2003-06-19  Michael Koch  <konqueror@gmx.de>
102
103         * java/net/HttpURLConnection.java,
104         java/net/Inet4Address.java,
105         java/net/Inet6Address.java,
106         java/net/SocketImpl.java,
107         java/net/URLClassLoader.java:
108         Reworked import statements.
109         * java/net/InetAddress.java
110         (getByAddress): Simplified.
111         * java/net/ServerSocket.java
112         (ServerSocket): Moved special handling during bind operation to
113         bind().
114         (bind): Handle different cases when trying to bind a socket.
115         * java/net/URLConnection.java
116         (getHeaderFieldDate): Merged with classpath.
117         (getHeaderFieldInt): Likewise.
118
119 2003-06-19  Michael Koch  <konqueror@gmx.de>
120
121         * java/util/zip/InflaterInputStream.java
122         (InflaterInputStream): Throw NullPointerException if in is null (as
123         JDK does).
124
125 2003-06-19  Michael Koch  <konqueror@gmx.de>
126
127         * java/awt/Font.java
128         javax/swing/UIManager.java
129         javax/swing/border/AbstractBorder.java
130         javax/swing/border/BevelBorder.java
131         javax/swing/border/Border.java
132         javax/swing/border/CompoundBorder.java
133         javax/swing/border/EmptyBorder.java
134         javax/swing/border/EtchedBorder.java
135         javax/swing/border/LineBorder.java
136         javax/swing/border/MatteBorder.java
137         javax/swing/border/TitledBorder.java
138         javax/swing/plaf/BorderUIResource.java
139         javax/swing/plaf/basic/BasicBorders.java
140         javax/swing/plaf/basic/BasicButtonUI.java
141         javax/swing/plaf/basic/BasicCheckBoxUI.java
142         javax/swing/plaf/basic/BasicGraphicsUtils.java
143         javax/swing/plaf/basic/BasicLabelUI.java
144         javax/swing/plaf/basic/BasicRadioButtonUI.java
145         javax/swing/plaf/basic/BasicToggleButtonUI.java:
146         New versions from classpath.
147         * javax/swing/border/SoftBevelBorder.java:
148         New file from classpath.
149         * javax/swing/border/doc-files/LineBorder-1.png,
150         javax/swing/border/doc-files/BevelBorder-1.png,
151         javax/swing/border/doc-files/BevelBorder-2.png,
152         javax/swing/border/doc-files/BevelBorder-3.png,
153         javax/swing/border/doc-files/EmptyBorder-1.png,
154         javax/swing/border/doc-files/EtchedBorder-1.png,
155         javax/swing/border/doc-files/EtchedBorder-2.png,
156         javax/swing/border/doc-files/MatteBorder-1.png,
157         javax/swing/border/doc-files/MatteBorder-2.png,
158         javax/swing/border/doc-files/MatteBorder-3.png,
159         javax/swing/border/doc-files/MatteBorder-4.png,
160         javax/swing/border/doc-files/MatteBorder-5.png,
161         javax/swing/border/doc-files/MatteBorder-6.png,
162         javax/swing/border/doc-files/SoftBevelBorder-1.png,
163         javax/swing/border/doc-files/SoftBevelBorder-2.png,
164         javax/swing/border/doc-files/SoftBevelBorder-3.png,
165         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
166         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
167         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
168         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
169         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
170         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
171         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
172         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
173         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
174         New binary files from classpath.
175         * Makefile.am
176         (awt_java_source_files): Added
177         javax/swing/border/SoftBevelBorder.java.
178         * Makefile.in: Regenerated.
179
180 2003-06-19  Michael Koch  <konqueror@gmx.de>
181
182         * gnu/java/security/x509/X509Certificate.java
183         (writeReplace): Merged from classpath.
184
185 2003-06-19  Michael Koch  <konqueror@gmx.de>
186
187         * gnu/java/nio/FileChannelImpl.java
188         (map_address): Made public.
189         (FileChannelImpl): Merged with classpath.
190         * gnu/java/nio/natFileChannelImpl.cc
191         (nio_mmap_file): Commented out unused arguments.
192         (nio_unmmap_file): Likewise.
193         (niu_msync): Likewise.
194
195 2003-06-19  Michael Koch  <konqueror@gmx.de>
196
197         * java/awt/image/IndexColorModel.java:
198         New version from classpath.
199
200 2003-06-18  Tom Tromey  <tromey@redhat.com>
201
202         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
203         on arrays.
204         (isLoopbackAddress): Likewise.
205         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
206         on arrays.
207
208 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
209
210         * java/lang/natVMSecurityManager.cc (getClassContext):
211         Use maxlen instead of len for loop bound.
212
213 2003-06-18  Michael Koch  <konqueror@gmx.de>
214
215         * gnu/java/nio/SelectorImpl.java
216         (register): Use fd with value 0 for now, will be fixed later.
217         * gnu/java/nio/ServerSocketChannelImpl.java
218         (fd): Removed.
219         (local_port): Removed.
220         (InetSocketAddress): Removed.
221         (ServerSocketChannelImpl): Just initialize internal socket object.
222         (implCloseSelectableChannel): Close internal socket object.
223         (implConfigureBlocking): Added comment.
224         (accept): Use jaba.net stuff to accept socket.
225         * gnu/java/nio/SocketChannelImpl.java
226         (fd): Removed.
227         (local_port): Removed.
228         (InetSocketAddress): Removed.
229         (SocketCreate): Removed.
230         (SocketConnect): Removed.
231         (SocketBind): Removed.
232         (SocketListen): Removed.
233         (SocketAvailable): Removed.
234         (SocketClose): Removed.
235         (SocketRead): Removed.
236         (SocketWrite): Removed.
237         (SocketChannelImpl): Just initialize internal socket object.
238         (implCloseSelectableChannel): Close internal socket object.
239         (implConfigureBlocking): Fixed implementation, added comment.
240         (connect): Use internal socket object to connect.
241         (socket): No need for sanity checks.
242         (read): Comment out some stuff, this will be reimplemented in the next
243         commit.
244         (write): Likewise.
245         * gnu/java/nio/natFileChannelImpl.cc
246         (nio_mmap_file): Line wrapped.
247         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
248         * Makefile.am
249         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
250         * Makefile.in: Regenerated.
251
252 2003-06-18  Michael Koch  <konqueror@gmx.de>
253
254         * java/util/Locale.java
255         (equals): Merged from classpath.
256
257 2003-06-18  Michael Koch  <konqueror@gmx.de>
258
259         * java/net/InetAddress.java:
260         Reformatted to better match classpath's version.
261         * java/net/URL.java
262         (equals): Simplified.
263         * java/net/URLConnection.java
264         (setDoInput): Revised documentation.
265         (getDefaultUseCaches): Likewise.
266         (setRequestProperty): Added @since tag.
267
268 2003-06-17  Michael Koch  <konqueror@gmx.de>
269
270         * java/net/InetSocketAddress.java
271         (InetSocketAddress): Use wildcard address if addr is null.
272         (InetSocketAddress): Dont duplicate implementation.
273         (InetSocketAddress): Throw exception when hostname is null.
274         * java/net/Socket.java:
275         Reworked imports.
276         (Socket): Throw exception when raddr is null, handle case when laddr
277         is null.
278
279 2003-06-17  Michael Koch  <konqueror@gmx.de>
280
281         * java/nio/DirectByteBufferImpl.java
282         (address): Made package private.
283         (DirectByteBufferImpl): New constructor.
284         * java/nio/natDirectByteBufferImpl.cc
285         (allocateImpl): Moved to java.nio namespace, implemented.
286         (freeImpl): Likewise.
287         (getImpl): Likewise.
288         (putImpl): Likewise.
289         * jni.cc
290         (_Jv_JNI_NewDirectByteBuffer): Implemented.
291         (_Jv_JNI_GetDirectBufferAddress): Implemented.
292         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
293
294 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
295
296         * include/powerpc-signal.h: New File.
297         * configure.in: Use it.
298         * configure: Regenerated.
299
300 2003-06-17  Michael Koch  <konqueror@gmx.de>
301
302         * java/util/Locale.java
303         (getDisplayLanguage): Made it final.
304         (getDisplayCountry): Likewise.
305         (getDisplayVariant): Likewise.
306         (getDisplayName): Likewise.
307
308 2003-06-17  Michael Koch  <konqueror@gmx.de>
309
310         * java/util/PropertyResourceBundle.java:
311         Removed unneeded import.
312
313 2003-06-17  Michael Koch  <konqueror@gmx.de>
314
315         * java/util/prefs/AbstractPreferences.java,
316         java/util/prefs/PreferencesFactory.java:
317         Reworked imports, removed unused imports.
318         * java/util/prefs/Preferences.java
319         (systemNodeForPackage): Method takes a Class not an Object.
320         (userNodeForPackage): Likewise.
321         (nodeForPackage): Likewise.
322
323 2003-06-17  Michael Koch  <konqueror@gmx.de>
324
325         * gnu/java/security/x509/X509Certificate.java:
326         Explicitely import used classes.
327
328 2003-06-17  Michael Koch  <konqueror@gmx.de>
329
330         * java/util/zip/ZipEntry.java,
331         java/util/zip/ZipFile.java,
332         java/util/zip/ZipInputStream.java,
333         java/util/zip/ZipOutputStream.java:
334         Reworked imports, only import used classes.
335
336 2003-06-17  Michael Koch  <konqueror@gmx.de>
337
338         * gnu/java/lang/ArrayHelper.java,
339         gnu/java/lang/ClassHelper.java:
340         Reformatted to match classpath's versions.
341
342 2003-06-14  Michael Koch  <konqueror@gmx.de>
343
344         * gnu/java/nio/FileChannelImpl.java
345         (map_address): Removed incorrect comment.        
346         * gnu/java/nio/SelectorImpl.java
347         (register): Remove code duplication and code for file channel handling.        
348         * gnu/java/nio/ServerSocketChannelImpl.java
349         (serverSocket): Renamed from sock_object.
350         (ServerSocketChannel): Initialize serverSocket.
351         (socket): Return serverSocket.
352         * gnu/java/nio/SocketChannelImpl.java
353         (socket): Renamed from sock_object.
354         (isConnectionPenging): Simplified.
355         (socket): Return socket.
356 2003-06-14  Michael Koch  <konqueror@gmx.de>
357
358         * java/security/BasicPermission.java:
359         New version from classpath.
360
361 2003-06-14  Michael Koch  <konqueror@gmx.de>
362
363         * javax/naming/directory/Attribute.java:
364         New version from classpath.
365
366 2003-06-14  Michael Koch  <konqueror@gmx.de>
367
368         * java/io/BufferedReader.java,
369         java/io/FileOutputStream.java:
370         New versions from classpath.
371
372 2003-06-12  Andrew Haley  <aph@redhat.com>
373
374         * prims.cc (catch_segv): Create exception in handler.
375         (catch_fpe): Likewise.  
376         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
377         (_Jv_ThrowSignal): Remove.
378
379         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
380         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
381         to nullp and arithexception.
382         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
383         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
384         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
385         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
386         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
387
388 2003-06-11  Andrew Haley  <aph@redhat.com>
389
390         * jni.cc (_Jv_JNI_check_types): New.
391         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
392         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
393         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
394         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
395         
396         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
397         infinite loop.
398
399 2003-06-11  Tom Tromey  <tromey@redhat.com>
400
401         * java/lang/ClassLoader.java (loadClass): Not deprecated.
402         * java/io/PrintStream.java: Not deprecated.
403
404 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
405
406         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
407         (fillOval): implemented
408         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
409         (fillArc): implemented.
410         * gnu/gcj/xlib/GC.java (drawArc): added native method.
411         (fillArc): added native method.
412         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
413         (fillArc): added native method.
414
415 2003-06-11  Michael Koch  <konqueror@gmx.de>
416
417         * java/awt/im/InputSubset.java:
418         New version from classpath.
419
420 2003-06-11  Michael Koch  <konqueror@gmx.de>
421
422         * javax/swing/AbstractAction.java,
423         javax/swing/AbstractButton.java,
424         javax/swing/AbstractCellEditor.java,
425         javax/swing/AbstractListModel.java,
426         javax/swing/BorderFactory.java,
427         javax/swing/Box.java,
428         javax/swing/BoxLayout.java,
429         javax/swing/ButtonGroup.java,
430         javax/swing/DefaultButtonModel.java,
431         javax/swing/DefaultListModel.java,
432         javax/swing/DefaultListSelectionModel.java,
433         javax/swing/FocusManager.java,
434         javax/swing/ImageIcon.java,
435         javax/swing/InputMap.java,
436         javax/swing/JApplet.java,
437         javax/swing/JButton.java,
438         javax/swing/JCheckBox.java,
439         javax/swing/JCheckBoxMenuItem.java,
440         javax/swing/JColorChooser.java,
441         javax/swing/JComboBox.java,
442         javax/swing/JComponent.java,
443         javax/swing/JDesktopPane.java,
444         javax/swing/JDialog.java,
445         javax/swing/JEditorPane.java,
446         javax/swing/JFileChooser.java,
447         javax/swing/JFormattedTextField.java,
448         javax/swing/JFrame.java,
449         javax/swing/JLabel.java,
450         javax/swing/JLayeredPane.java,
451         javax/swing/JList.java,
452         javax/swing/JMenuBar.java,
453         javax/swing/JMenuItem.java,
454         javax/swing/JOptionPane.java,
455         javax/swing/JPanel.java,
456         javax/swing/JPasswordField.java,
457         javax/swing/JPopupMenu.java,
458         javax/swing/JProgressBar.java,
459         javax/swing/JRadioButton.java,
460         javax/swing/JRadioButtonMenuItem.java,
461         javax/swing/JRootPane.java,
462         javax/swing/JScrollBar.java,
463         javax/swing/JScrollPane.java,
464         javax/swing/JSeparator.java,
465         javax/swing/JSlider.java,
466         javax/swing/JTabbedPane.java,
467         javax/swing/JTable.java,
468         javax/swing/JTextField.java,
469         javax/swing/JToggleButton.java,
470         javax/swing/JToolBar.java,
471         javax/swing/JToolTip.java,
472         javax/swing/JTree.java,
473         javax/swing/JViewport.java,
474         javax/swing/JWindow.java,
475         javax/swing/KeyStroke.java,
476         javax/swing/ListSelectionModel.java,
477         javax/swing/LookAndFeel.java,
478         javax/swing/RepaintManager.java,
479         javax/swing/ScrollPaneLayout.java,
480         javax/swing/SizeRequirements.java,
481         javax/swing/SwingConstants.java,
482         javax/swing/Timer.java,
483         javax/swing/UIDefaults.java,
484         javax/swing/UIManager.java,
485         javax/swing/border/AbstractBorder.java,
486         javax/swing/border/CompoundBorder.java,
487         javax/swing/colorchooser/AbstractColorChooserPanel.java,
488         javax/swing/colorchooser/ColorChooserComponentFactory.java,
489         javax/swing/colorchooser/ColorSelectionModel.java,
490         javax/swing/colorchooser/DefaultColorSelectionModel.java,
491         javax/swing/event/AncestorEvent.java,
492         javax/swing/event/HyperlinkEvent.java,
493         javax/swing/event/InternalFrameAdapter.java,
494         javax/swing/event/InternalFrameEvent.java,
495         javax/swing/event/ListDataEvent.java,
496         javax/swing/event/MouseInputAdapter.java,
497         javax/swing/event/SwingPropertyChangeSupport.java,
498         javax/swing/event/TableModelEvent.java,
499         javax/swing/event/TreeWillExpandListener.java,
500         javax/swing/event/UndoableEditEvent.java,
501         javax/swing/filechooser/FileFilter.java,
502         javax/swing/filechooser/FileSystemView.java,
503         javax/swing/filechooser/FileView.java,
504         javax/swing/plaf/BorderUIResource.java,
505         javax/swing/plaf/basic/BasicDefaults.java,
506         javax/swing/table/AbstractTableModel.java,
507         javax/swing/table/DefaultTableCellRenderer.java,
508         javax/swing/table/DefaultTableColumnModel.java,
509         javax/swing/table/DefaultTableModel.java,
510         javax/swing/table/TableColumn.java,
511         javax/swing/text/JTextComponent.java,
512         javax/swing/tree/AbstractLayoutCache.java,
513         javax/swing/tree/DefaultMutableTreeNode.java,
514         javax/swing/tree/DefaultTreeCellEditor.java,
515         javax/swing/tree/DefaultTreeCellRenderer.java,
516         javax/swing/tree/DefaultTreeModel.java,
517         javax/swing/tree/DefaultTreeSelectionModel.java,
518         javax/swing/tree/FixedHeightLayoutCache.java,
519         javax/swing/tree/TreeCellEditor.java,
520         javax/swing/tree/TreeModel.java,
521         javax/swing/tree/TreeNode.java,
522         javax/swing/tree/TreePath.java,
523         javax/swing/tree/TreeSelectionModel.java,
524         javax/swing/tree/VariableHeightLayoutCache.java,
525         javax/swing/undo/AbstractUndoableEdit.java,
526         javax/swing/undo/CompoundEdit.java,
527         javax/swing/undo/StateEdit.java,
528         javax/swing/undo/UndoManager.java,
529         javax/swing/undo/UndoableEditSupport.java:
530         New versions from classpath.
531         * javax/swing/table/JTableHeader.java:
532         New file from classpath.
533         * Makefile.am
534         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
535         * Makefile.in: Regenerated.
536
537 2003-06-11  Michael Koch  <konqueror@gmx.de>
538
539         * java/nio/MappedByteBuffer.java,
540         java/nio/channels/Channels.java,
541         java/nio/channels/ServerSocketChannel.java,
542         java/nio/channels/spi/AbstractSelector.java:
543         Removed unneeded imports.
544
545 2003-06-11  Michael Koch  <konqueror@gmx.de>
546
547         * java/net/DatagramSocket.java:
548         Partly merged with classpath.
549
550 2003-06-11  Michael Koch  <konqueror@gmx.de>
551
552         * java/awt/Frame.java,
553         java/awt/Graphics.java,
554         java/awt/Menu.java,
555         java/awt/Robot.java,
556         java/awt/image/ColorModel.java:
557         New versions from classpath.
558
559 2003-06-10  Michael Koch  <konqueror@gmx.de>
560
561         * java/io/PrintStream.java:
562         Merged version from classpath.
563         (close): Removed sychronized keyword. This class is not garantied to
564         be thread-safe.
565         (write): Likewise.
566
567 2003-06-09  Tom Tromey  <tromey@redhat.com>
568
569         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
570         field.
571         (getDescent): Likewise, for "descent".
572
573 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
574
575         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
576         (getMaxDescent): adjusted return value.
577         (getAscent): modified to use metrics for 'O'.
578         (getDescent): modified to use metrics for 'y'.
579
580 2003-06-08  Anthony Green  <green@redhat.com>
581
582         * java/net/URLStreamHandler.java (sameFile): Fix port value
583         comparison.
584         * java/net/URL.java (handler): Make package private.
585         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
586
587 2003-06-07  Tom Tromey  <tromey@redhat.com>
588
589         For PR libgcj/11085:
590         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
591         Limit number of characters in numeric field when required.
592         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
593         Respect maximumIntegerDigits.
594
595 2003-06-08  Michael Koch  <konqueror@gmx.de>
596
597         * java/net/Socket.java
598         (Socket): Dont initialize inputShutdown and outputShutdown twice,
599         call bind() and connect() to actually do the bind and connect tasks.
600         (bind): Connect to canonical address if bindpoint is null, create
601         socket and bind it to bindpoint.
602         (connect): Check for exceptions.
603
604 2003-06-08  Michael Koch  <konqueror@gmx.de>
605
606         * java/net/DatagramSocket.java
607         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
608         into the Multicast constructors.
609         * java/net/DatagramSocketImpl.java
610         (getOption): Removed.
611         (setOption): Removed.
612         * java/net/MulticastSocket.java
613         (MulticastSocket): Call setReuseAddress (true).
614         * java/net/SocketImpl.java
615         (getOption): Removed.
616         (setOption): Removed.
617
618 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
619
620         PR libgcj/10886:
621         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
622         Test for empty vector.
623
624 2003-06-06  Mark Wielaard  <mark@klomp.org>
625
626         * java/security/Security.java (secprops): Initialize.
627         (loadProviders): Return boolean.
628         (static): Check result of loadProvider calls. If necessary
629         display WARNING and fallback to Gnu provider.
630
631 2002-06-06  James Clark  <jjc@jclark.com>
632
633         Fix for PR libgcj/8738:
634         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
635         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
636         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
637         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
638         (write): Always decrease avail when count is increased.
639         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
640         and whether output buffer is full before increasing size.
641
642 2002-06-06  Mark Wielaard  <mark@klomp dot org>
643
644         * java/io/PrintStream.java (writeChars(char[],int, int)):
645         Check converter.havePendingBytes().
646         (writeChars(String,int,int)): Likewise.
647         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
648         Check converter.havePendingBytes() and flush buffer when stalled.
649
650 2003-06-07  Michael Koch  <konqueror@gmx.de>
651
652         * include/posix.h
653         (O_DSYNC): Define O_DSYNC on platforms not
654         supporting O_FSYNC (newlib).
655
656 2003-06-06  Mark Wielaard  <mark@klomp.org>
657
658         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
659         AWTError.
660
661 2003-06-06  Michael Koch  <konqueror@gmx.de>
662
663         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
664         More compile fixes from my stupid work yesterday.
665
666 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
667
668         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
669         if _IEEE_LIBM is undefined.
670
671 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
672
673         * libjava/include/posix.h (O_SYNC): Define if not available
674         and a reasonable, perhaps more conservative, replacement exists.
675         (O_DSYNC): Likewise.
676         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
677
678 2003-06-05  Michael Koch  <konqueror@gmx.de>
679
680         * javax/swing/plaf/BorderUIResource.java,
681         javax/swing/plaf/basic/BasicDefaults.java,
682         javax/swing/plaf/basic/BasicOptionPaneUI.java:
683         More compile fixes for latest Border commit. I should not commit
684         something in this heat here ...
685
686 2003-06-05  Michael Koch  <konqueror@gmx.de>
687
688         * javax/swing/border/BevelBorder.java
689         (BevelBorder): Removed.
690         * javax/swing/border/EmptyBorder.java:
691         Reformatted.
692         (EmptyBorder): Removed.
693         (getBorderInsets): Dont use l, r, t and b.
694         * javax/swing/border/EtchedBorder.java
695         (EtchedBorder): Removed.
696         * javax/swing/border/LineBorder.java
697         (LineBorder): Removed.
698         * javax/swing/border/MatteBorder.java
699         (MatteBorder): Removed.
700         * javax/swing/border/TitledBorder.java
701         (defaultBorder): Use other default for now.
702         (defaultFont): Likewise.
703         (defaultColor): Likewise.
704
705 2003-06-05  Michael Koch  <konqueror@gmx.de>
706
707         * javax/swing/border/Border.java:
708         New version from classpath.
709
710 2003-06-05  Michael Koch  <konqueror@gmx.de>
711
712         * javax/swing/border/AbstractBorder.java,
713         javax/swing/border/BevelBorder.java,
714         javax/swing/border/CompoundBorder.java,
715         javax/swing/border/EmptyBorder.java,
716         javax/swing/border/EtchedBorder.java,
717         javax/swing/border/LineBorder.java,
718         javax/swing/border/MatteBorder.java,
719         javax/swing/border/TitledBorder.java:
720         New versions from Classpath.
721
722 2003-06-05  Michael Koch  <konqueror@gmx.de>
723
724         * java/awt/Button.java,
725         java/awt/Checkbox.java,
726         java/awt/CheckboxMenuItem.java,
727         java/awt/Choice.java,
728         java/awt/Container.java,
729         java/awt/Dialog.java,
730         java/awt/EventQueue.java,
731         java/awt/FileDialog.java,
732         java/awt/Frame.java,
733         java/awt/Label.java,
734         java/awt/List.java,
735         java/awt/Menu.java,
736         java/awt/MenuItem.java,
737         java/awt/Panel.java,
738         java/awt/PopupMenu.java,
739         java/awt/Rectangle.java,
740         java/awt/ScrollPane.java,
741         java/awt/Scrollbar.java,
742         java/awt/TextArea.java,
743         java/awt/TextField.java,
744         java/awt/Window.java,
745         java/awt/datatransfer/DataFlavor.java,
746         java/awt/dnd/DragSource.java,
747         java/awt/dnd/DragSourceContext.java,
748         java/awt/event/HierarchyEvent.java,
749         java/awt/event/MouseWheelEvent.java,
750         java/awt/im/InputContext.java,
751         java/awt/image/BufferedImage.java,
752         java/awt/image/ComponentColorModel.java,
753         java/awt/image/Raster.java,
754         java/awt/image/WritableRaster.java,
755         java/awt/peer/ComponentPeer.java,
756         java/awt/print/PageFormat.java,
757         java/awt/print/PrinterJob.java:
758         New versions from Classpath.
759
760 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
761
762         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
763         numberFormat.setParseIntegerOnly(true).
764
765 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
766
767         * include/posix-threads.h: Include <machine/pal.h> on OSF.
768
769 2003-06-03  Andrew Haley  <aph@redhat.com>
770
771         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
772         stack volatile to prevent optimization from removing it.
773
774 2003-05-27  Michael Koch  <konqueror@gmx.de>
775
776         * java/util/zip/Deflater.java
777         (FILTERED): Merged documentation from classpath.
778         * java/util/zip/DeflaterOutputStream.java
779         (DeflaterOutputStream): Merged documentation and argument validity
780         check from classpath.
781         (deflate): Merged documentation from classpath.
782         (finish): Likewise.
783         * java/util/zip/Inflater.java
784         (Inflater): Merged class documentation from classpath.
785         (zstream): Reordered.
786         (is_finished): Reordered.
787         (dict_needed): Reordered.
788         (Inflater): Reordered, merged documentation from classpath.
789         (end): Likewise.
790         (finalize): Merged documentation from classpath.
791         (finished): Likewise.
792         (getAdler): Likewise.
793         (getRemaining): Likewise.
794         (getTotalIn): Likewise.
795         (getTotalOut): Likewise.
796         (inflate): Likewise.
797         (needsDictionary): Likewise.
798         (needsInput): Likewise.
799         (reset): Likewise.
800         (setDictionary): Likewise.
801         (setInput): Likewise.
802
803 2003-05-27  Michael Koch  <konqueror@gmx.de>
804
805         * java/net/URLConnection.java
806         (getHeaderFieldInt): Merged with classpath.
807
808 2003-05-27  Michael Koch  <konqueror@gmx.de>
809
810         * java/io/PrintStream.java
811         (PrintStream): Reformatted.
812         (PrintStream): New method, merged from classpath.
813         (write): Reformatted.
814
815 2003-05-27  Michael Koch  <konqueror@gmx.de>
816
817         * java/lang/System.java:
818         Explicitely import needed classes.
819
820 2003-05-26  Michael Koch  <konqueror@gmx.de>
821
822         * java/net/NetPermission.java,
823         java/net/NetworkInterface.java,
824         java/net/PasswordAuthentication.java,
825         java/net/SocketPermission.java:
826         New versions from classpath.
827
828 2003-05-25  Michael Koch  <konqueror@gmx.de>
829
830         * java/io/PushbackInputStream.java,
831         java/net/Authenticator.java,
832         java/net/ContentHandler.java,
833         java/net/ContentHandlerFactory.java,
834         java/net/DatagramSocket.java,
835         java/net/DatagramSocketImpl.java,
836         java/net/DatagramSocketImplFactory.java,
837         java/net/FileNameMap.java,
838         java/net/SocketImplFactory.java,
839         java/net/SocketOptions.java,
840         java/net/URLStreamHandlerFactory.java:
841         Merged new versions from classpath.
842
843 2003-05-25  Michael Koch  <konqueror@gmx.de>
844
845         * java/awt/Checkbox.java,
846         java/awt/Dialog.java,
847         java/awt/Font.java,
848         java/awt/Frame.java,
849         java/awt/ScrollPaneAdjustable.java,
850         java/awt/Scrollbar.java,
851         java/awt/Window.java:
852         New versions from classpath.
853
854 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
855
856         PR libgcj/10838:
857         * java/io/ObjectInputStream (enableResolveObject):
858         Fixed spelling of permission name.
859
860 2003-05-20  Michael Koch  <konqueror@gmx.de>
861
862         * java/io/DataInputStream.java
863         (convertFromUTF): Merged comment from classpath.
864         * java/io/PrintStream.java
865         (error_occured): Renamed from error, merged comment from classpath.
866         (PrintStream): No need to initialized error.
867         (checkError): Replace error with error_occurred.
868         (setError): Likewise.
869
870 2003-05-20  Michael Koch  <konqueror@gmx.de>
871
872         * java/io/DataInputStream.java:
873         Reformatted, Replaced < and & with html entitites in documentation.
874         * java/io/File.java:
875         Reformatted.
876         * java/io/PrintWriter.java:
877         Moved class documentation.
878
879 2003-05-20  Michael Koch  <konqueror@gmx.de>
880
881         * gnu/java/nio/ByteBufferImpl.java,
882         gnu/java/nio/CharBufferImpl.java,
883         gnu/java/nio/CharViewBufferImpl.java,
884         gnu/java/nio/DirectByteBufferImpl.java,
885         gnu/java/nio/DoubleBufferImpl.java,
886         gnu/java/nio/DoubleViewBufferImpl.java,
887         gnu/java/nio/FloatBufferImpl.java,
888         gnu/java/nio/FloatViewBufferImpl.java,
889         gnu/java/nio/IntBufferImpl.java,
890         gnu/java/nio/IntViewBufferImpl.java,
891         gnu/java/nio/LongBufferImpl.java,
892         gnu/java/nio/LongViewBufferImpl.java,
893         gnu/java/nio/natDirectByteBufferImpl.cc,
894         gnu/java/nio/ShortBufferImpl.java,
895         gnu/java/nio/ShortViewBufferImpl.java:
896         Moved files to java/nio.
897         * gnu/java/nio/SocketChannelImpl.java
898         
899         * java/nio/ByteBuffer.java,
900         java/nio/CharBuffer.java,
901         java/nio/DoubleBuffer.java,
902         java/nio/FloatBuffer.java,
903         java/nio/IntBuffer.java,
904         java/nio/LongBuffer.java,
905         java/nio/ShortBuffer.java:
906         Dont import anything.
907         * java/nio/ByteBufferImpl.java,
908         java/nio/CharBufferImpl.java,
909         java/nio/CharViewBufferImpl.java,
910         java/nio/DirectByteBufferImpl.java,
911         java/nio/DoubleBufferImpl.java,
912         java/nio/DoubleViewBufferImpl.java,
913         java/nio/FloatBufferImpl.java,
914         java/nio/FloatViewBufferImpl.java,
915         java/nio/IntBufferImpl.java,
916         java/nio/IntViewBufferImpl.java,
917         java/nio/LongBufferImpl.java,
918         java/nio/LongViewBufferImpl.java,
919         java/nio/natDirectByteBufferImpl.cc,
920         java/nio/ShortBufferImpl.java,
921         java/nio/ShortViewBufferImpl.java:
922         Moved from gnu/java/nio.
923         * Makefile.am
924         (ordinary_java_source_files): Moved files from gnu/java/nio to
925         java/nio.
926         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
927         to java/nio.
928         * Makefile.in: Regenerated.
929
930 2003-05-19  Michael Koch  <konqueror@gmx.de>
931
932         * java/util/Calendar.java
933         (get): Not final anymore since JDK 1.4
934         (set): Likewise.
935
936 2003-05-19  Michael Koch  <konqueror@gmx.de>
937
938         * java/text/CollationKey.java:
939         Merged copyright and dat from classpath.
940         * java/text/RuleBasedCollator.java:
941         Merged class documentation from classpath.
942
943 2003-05-19  Michael Koch  <konqueror@gmx.de>
944
945         * java/nio/CharBuffer.java
946         (toString): Compile fix.
947
948 2003-05-19  Michael Koch  <konqueror@gmx.de>
949
950         * gnu/java/nio/ByteBufferImpl.java
951         (putLong): Fixed conversion to bytes.
952         (putDouble): Fixed conversion to bytes.
953         * gnu/java/nio/DirectByteBufferImpl.java
954         (putLong): Fixed conversion to bytes.
955         (putDouble): Fixed conversion to bytes.
956         * gnu/java/nio/FileLockImpl.java
957         (isValid): Reformatted.
958         * java/nio/Buffer.java
959         (Buffer): Fixed off-by-one bug in handling mark.
960         * java/nio/ByteBuffer.java:
961         Added newline.
962         * java/nio/CharBuffer.java
963         (toString): Don't use relative get to get string data.
964
965 2003-05-16  Michael Koch  <konqueror@gmx.de>
966
967         * java/io/natFileDescriptorPosix.cc
968         (open): Commented out the O_SYNC and O_DSYNC usage until its better
969         tested.
970
971 2003-05-14  Michael Koch  <konqueror@gmx.de>
972
973         * gnu/java/nio/FileLockImpl.java
974         (released): New member variable.
975         (FileLockImpl): Initialize released.
976         (releaseImpl): New native method.
977         (release): Implemented.
978         * gnu/java/nio/SelectorImpl.java: Reformatted.
979         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
980         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
981         (accept): Throws IOException.
982         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
983         (implConfigureBlocking): Throws IOException.
984         (connect): Likewise.
985         (read): Likewise.
986         (write): Likewise.
987         * gnu/java/nio/natFileLockImpl.cc: New file.
988         * java/nio/channels/FileLock.java: Reformatted.
989         * Makefile.am:
990         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
991         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
992         * Makefile.in: Regenerated.
993
994 2003-05-13  Michael Koch  <konqueror@gmx.de>
995
996         * gnu/java/nio/CharViewBufferImpl.java
997         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
998         (get): Shift bits to the right direction.
999         (put): Likewise.
1000         * gnu/java/nio/DoubleViewBufferImpl.java
1001         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1002         (get): Shift bits to the right direction.
1003         (put): Likewise.
1004         * gnu/java/nio/FloatViewBufferImpl.java
1005         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1006         (get): Shift bits to the right direction.
1007         (put): Likewise.
1008         * gnu/java/nio/IntViewBufferImpl.java
1009         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1010         (get): Shift bits to the right direction.
1011         (put): Likewise.
1012         * gnu/java/nio/LongViewBufferImpl.java
1013         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1014         (get): Shift bits to the right direction.
1015         (put): Likewise.
1016         * gnu/java/nio/ShortViewBufferImpl.java
1017         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1018         (get): Shift bits to the right direction.
1019         (put): Likewise.
1020
1021 2003-05-13  Michael Koch  <konqueror@gmx.de>
1022
1023         * gnu/java/nio/natDirectByteBufferImpl.cc
1024         (allocateImpl): jlong -> RawData*.
1025         (freeImpl): Likewise.
1026
1027 2003-05-13  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/nio/channels/FileChannel.java
1030         (MapMode.m): Made it package-private to match JDK 1.4.
1031         * java/nio/charset/Charset.java
1032         (decode): Made it final to match JDK 1.4.
1033
1034 2003-05-13  Michael Koch  <konqueror@gmx.de>
1035
1036        * java/io/FileDescriptor.java
1037        (SYNC): New constant.
1038        (DSYNC): Likewise.
1039        (getLength): Renamed from lenght() to match classpath's
1040        FileDescriptor.java.
1041        * java/io/RandomAccessFile.java
1042        (RandomAccessFile): Removed unneeded mode check, implemented mode
1043        "rws" and "rwd", merged documentation from classpath.
1044        (setLength): Reformatted.
1045        (length): Use new getLength() of FileDescriptor.
1046        * java/io/natFileDescriptorEcos.cc
1047        (getLength): Renamed from length().
1048        * java/io/natFileDescriptorPosix.cc
1049        (open): Implemented support for SYNC and DSYNC.
1050        (seek): Use getLength() instead of length().
1051        (getLength): Renamed from length().
1052        * java/io/natFileDescriptorWin32.cc
1053        (getLength): Renamed from length().
1054        (seek): Use getLength() instead of length().
1055        (available): Likewise.
1056        * gnu/java/nio/natFileChannelImpl.cc
1057        (size): Use getLength() instead of length().
1058
1059 2003-05-13  Michael Koch  <konqueror@gmx.de>
1060
1061         * gnu/java/nio/ByteBufferImpl.java
1062         (ByteBufferImpl): All constructors revised.
1063         (slice): Reimplemented.
1064         (duplicate): Reimplemented.
1065         (asReadOnlyBuffer): Reimplemented.
1066         * java/nio/ByteBuffer.java:
1067         Reformatted.
1068         (array_offset): Renamed from "offset" to match all other buffer
1069         classes.
1070         (ByteBuffer): All constructors revised.
1071         (allocateDirect): Implemented.
1072         (allocate): New implementation, documentation reworked.
1073         (wrap): Likewise.
1074         (get): Documentation reworked.
1075         (put): New implementation, documentation reworked.
1076         (hasArray): Documentation reworked.
1077         (arrayOffset): Likewise.
1078         (hashCode): Likewise.
1079         (equals): Likewise.
1080         (compareTo): Likewise.
1081         (order): Likewise.
1082         (compact): Likewise.
1083         (isDirect): Likewise.
1084         (slice): Likewise.
1085         (duplicate): Likewise.
1086         (asReadOnlyBuffer): Likewise.
1087         * Makefile.am
1088         (ordinary_java_source_files):
1089         Added gnu/java/nio/DirectByteBufferImpl.java.
1090         (nat_source_files):
1091         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1092         * Makefile.in: Regenerated.
1093
1094 2003-05-12  Michael Koch  <konqueror@gmx.de>
1095
1096         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1097         (nio_get_*): Removed.
1098         (nio_put_*): Removed.
1099         (as*Buffer): Implemented.
1100         (compact): Implemented.
1101         (get): Documentation added.
1102         (put): Documentation added.
1103         (get*): Newly implemented.
1104         (put*): Newly implemented.
1105         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1106         (CharBufferImpl): Revised.
1107         (slice): New implementation.
1108         (duplicate): New implementation.
1109         (compact): New implementation.
1110         (asReadOnlyBuffer): New implementation.
1111         (get): Documentation revised.
1112         (order): Return native byte order.
1113         * gnu/java/nio/DirectByteBufferImpl.java
1114         (allocateDirect): objects can be null not 0.
1115         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1116         (DoubleBufferImpl): Revised.
1117         (slice): New implementation.
1118         (duplicate): New implementation.
1119         (compact): New implementation.
1120         (asReadOnlyBuffer): New implementation.
1121         (get): Documentation revised.
1122         (order): Return native byte order.
1123         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1124         (FloatBufferImpl): Revised.
1125         (slice): New implementation.
1126         (duplicate): New implementation.
1127         (compact): New implementation.
1128         (asReadOnlyBuffer): New implementation.
1129         (get): Documentation revised.
1130         (order): Return native byte order.
1131         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1132         (IntBufferImpl): Revised.
1133         (slice): New implementation.
1134         (duplicate): New implementation.
1135         (compact): New implementation.
1136         (asReadOnlyBuffer): New implementation.
1137         (get): Documentation revised.
1138         (order): Return native byte order.
1139         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1140         (LongBufferImpl): Revised.
1141         (slice): New implementation.
1142         (duplicate): New implementation.
1143         (compact): New implementation.
1144         (asReadOnlyBuffer): New implementation.
1145         (get): Documentation revised.
1146         (order): Return native byte order.
1147         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1148         (ShortBufferImpl): Revised.
1149         (slice): New implementation.
1150         (duplicate): New implementation.
1151         (compact): New implementation.
1152         (asReadOnlyBuffer): New implementation.
1153         (get): Documentation revised.
1154         (order): Return native byte order.
1155         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1156         (CharBuffer): Revised.
1157         (order): Removed.
1158         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1159         (DoubleBuffer): Revised.
1160         (allocateDirect): Removed.
1161         (order): Removed.
1162         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1163         (FloatBuffer): Revised.
1164         (allocateDirect): Removed.
1165         (order): Removed.
1166         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1167         (IntBuffer): Revised.
1168         (allocateDirect): Removed.
1169         (order): Removed.
1170         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1171         (LongBuffer): Revised.
1172         (allocateDirect): Removed.
1173         (order): Removed.
1174         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1175         (ShortBuffer): Revised.
1176         (allocateDirect): Removed.
1177         (order): Removed.
1178         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1179         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1180         * Makefile.am
1181         (ordinary_java_source_files): Added the following files:
1182         gnu/java/nio/CharViewBufferImpl.java,
1183         gnu/java/nio/DoubleViewBufferImpl.java,
1184         gnu/java/nio/FloatViewBufferImpl.java,
1185         gnu/java/nio/IntViewBufferImpl.java,
1186         gnu/java/nio/LongViewBufferImpl.java,
1187         gnu/java/nio/ShortViewBufferImpl.java
1188         (nat_source_files): Removed the following files:
1189         gnu/java/nio/natByteBufferImpl.cc,
1190         gnu/java/nio/natCharBufferImpl.cc
1191         * Makefile.in: Regenerated.
1192
1193 2003-05-12  Michael Koch  <konqueror@gmx.de>
1194
1195         * gnu/java/nio/CharViewBufferImpl.java,
1196         gnu/java/nio/DirectByteBufferImpl.java,
1197         gnu/java/nio/DoubleViewBufferImpl.java,
1198         gnu/java/nio/FloatViewBufferImpl.java,
1199         gnu/java/nio/IntViewBufferImpl.java,
1200         gnu/java/nio/LongViewBufferImpl.java,
1201         gnu/java/nio/ShortViewBufferImpl.java,
1202         gnu/java/nio/natDirectByteBufferImpl.cc:
1203         New files, not yet to be compiled.
1204
1205 2003-05-10  Michael Koch  <konqueror@gmx.de>
1206
1207         * javax/swing/plaf/ButtonUI.java,
1208         javax/swing/plaf/ColorUIResource.java,
1209         javax/swing/plaf/ComponentUI.java,
1210         javax/swing/plaf/DimensionUIResource.java,
1211         javax/swing/plaf/FontUIResource.java,
1212         javax/swing/plaf/IconUIResource.java,
1213         javax/swing/plaf/InsetsUIResource.java,
1214         javax/swing/plaf/LabelUI.java,
1215         javax/swing/plaf/ListUI.java,
1216         javax/swing/plaf/OptionPaneUI.java,
1217         javax/swing/plaf/PanelUI.java,
1218         javax/swing/plaf/TabbedPaneUI.java,
1219         javax/swing/plaf/TextUI.java,
1220         javax/swing/plaf/TreeUI.java,
1221         javax/swing/plaf/ViewportUI.java,
1222         javax/swing/plaf/basic/BasicBorders.java,
1223         javax/swing/plaf/basic/BasicButtonUI.java,
1224         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1225         javax/swing/plaf/basic/BasicDefaults.java,
1226         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1227         javax/swing/plaf/basic/BasicIconFactory.java,
1228         javax/swing/plaf/basic/BasicLabelUI.java,
1229         javax/swing/plaf/basic/BasicListUI.java,
1230         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1231         javax/swing/plaf/basic/BasicPanelUI.java,
1232         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1233         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1234         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1235         javax/swing/plaf/basic/BasicTextUI.java,
1236         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1237         javax/swing/plaf/basic/BasicTreeUI.java,
1238         javax/swing/plaf/basic/BasicViewportUI.java,
1239         javax/swing/plaf/metal/MetalLookAndFeel.java:
1240         New versions from classpath. This adds copyrights to all files and
1241         some serialVersionUIDs.
1242
1243 2003-05-10  Michael Koch  <konqueror@gmx.de>
1244
1245         * java/nio/CharBuffer.java
1246         (offset): Make it package-private.
1247         (backing_buffer): Likewise.
1248         * java/nio/DoubleBuffer.java
1249         (offset): Make it package-private.
1250         (backing_buffer): Likewise.
1251         (put): Reformatted.
1252         * java/nio/FloatBuffer.java
1253         (offset): Make it package-private.
1254         (backing_buffer): Likewise.
1255         * java/nio/IntBuffer.java
1256         (offset): Make it package-private.
1257         (backing_buffer): Likewise.
1258         * java/nio/LongBuffer.java
1259         (offset): Make it package-private.
1260         (backing_buffer): Likewise.
1261         * java/nio/ShortBuffer.java
1262         (offset): Make it package-private.
1263         (backing_buffer): Likewise.
1264
1265 2003-05-10  Michael Koch  <konqueror@gmx.de>
1266
1267         * java/nio/CharBuffer.java
1268         (put): Fixed precondtion check.
1269         (toString): Make it work without backing array.
1270         (put): Skip one level of method calling.
1271
1272 2003-05-10  Michael Koch  <konqueror@gmx.de>
1273
1274         * java/security/Identity.java,
1275         java/security/IdentityScope.java,
1276         java/security/Key.java,
1277         java/security/KeyPair.java,
1278         java/security/PrivateKey.java,
1279         java/security/Provider.java,
1280         java/security/PublicKey.java,
1281         java/security/SecureRandom.java,
1282         java/security/SecureRandomSpi.java,
1283         java/security/SignedObject.java,
1284         java/security/Signer.java,
1285         java/security/cert/Certificate.java,
1286         java/security/cert/PKIXCertPathBuilderResult.java,
1287         java/security/cert/X509Certificate.java:
1288         New versions from classpath.
1289
1290 2003-05-09  Tom Tromey  <tromey@redhat.com>
1291
1292         * Makefile.in: Rebuilt.
1293         * Makefile.am (nat_source_files): Removed old files.
1294         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1295         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1296         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1297         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1298         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1299
1300 2003-05-09  Michael Koch  <konqueror@gmx.de>
1301
1302         * gnu/java/nio/ByteBufferImpl.java
1303         (nio_cast): Removed.
1304         (ByteBufferImpl): Removed.
1305         (nio_get_Byte): Removed.
1306         (nio_put_Byte): Removed.
1307         (asByteBuffer): Removed.
1308         (asCharBuffer): Removed implementation and throw exception.
1309         (asShortBuffer): Likewise.
1310         (asIntBuffer): Likewise.
1311         (asLongBuffer): Likewise.
1312         (asFloatBuffer): Likewise.
1313         (asDoubleBuffer): Likewise.
1314         * gnu/java/nio/CharBufferImpl.java
1315         (CharBufferImpl): Removed.
1316         (nio_get_Byte): Removed.
1317         (nio_put_Byte): Removed.
1318         (asByteBuffer): Removed.
1319         * gnu/java/nio/DoubleBufferImpl.java
1320         (DoubleBufferImpl): Removed.
1321         (nio_get_Byte): Removed.
1322         (nio_put_Byte): Removed.
1323         (asByteBuffer): Removed.
1324         * gnu/java/nio/FloatBufferImpl.java
1325         (FloatBufferImpl): Removed.
1326         (nio_get_Byte): Removed.
1327         (nio_put_Byte): Removed.
1328         (asByteBuffer): Removed.
1329         * gnu/java/nio/IntBufferImpl.java
1330         (IntBufferImpl): Removed.
1331         (nio_get_Byte): Removed.
1332         (nio_put_Byte): Removed.
1333         (asByteBuffer): Removed.
1334         * gnu/java/nio/LongBufferImpl.java
1335         (LongBufferImpl): Removed.
1336         (nio_get_Byte): Removed.
1337         (nio_put_Byte): Removed.
1338         (asByteBuffer): Removed.
1339         * gnu/java/nio/ShortBufferImpl.java
1340         (ShortBufferImpl): Removed.
1341         (nio_get_Byte): Removed.
1342         (nio_put_Byte): Removed.
1343         (asByteBuffer): Removed.
1344         * gnu/java/nio/natByteBufferImpl.cc
1345         (nio_cast): Removed.
1346         (nio_get_Byte): Removed.
1347         (nio_put_Byte): Removed.
1348         * gnu/java/nio/natCharBufferImpl.cc
1349         (nio_get_Byte): Removed.
1350         (nio_put_Byte): Removed.
1351
1352 2003-05-09  Michael Koch  <konqueror@gmx.de>
1353
1354         * java/net/JarURLConnection.java
1355         (getJarEntry): Merged documentation from classpath.
1356         (getJarFile): Likewise.
1357         (getMainAttributes): Likewise.
1358         (getAttributes): Likewise.
1359         (getManifest): Likewise.
1360         (getCertificates): Reformatted.
1361         * java/net/URLConnection.java:
1362         Little classpath merge.
1363
1364 2003-05-09  Michael Koch  <konqueror@gmx.de>
1365
1366         * java/io/DataOutputStream.java
1367         (writeShort): Made it synchronized.
1368         (writeChar): Likewise.
1369         (writeInt): Likewise.
1370         (writeLong): Liekwise.
1371         (writeUTF): Made it synchronized, renamed argument to match classpath.
1372         * java/io/InputStreamReader.java
1373         (converter): Added documentation.
1374         (read): Merged documentation from classpath.
1375         * java/io/OutputStreamWriter.java
1376         (OutputStreamWriter): Merged documentation from classpath.
1377         (close): Reformatted.
1378         (getEncoding): Likewise.
1379         (flush): Likewise.
1380         (write): Merged documentation from classpath, reformatted.
1381
1382 2003-05-08  Tom Tromey  <tromey@redhat.com>
1383
1384         * configure.host <powerpc64*-*>: Set with_libffi_default and
1385         libgcj_interpreter to "yes".
1386
1387 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1388
1389         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1390         
1391 2003-05-06  Tom Tromey  <tromey@redhat.com>
1392
1393         * verify.cc: Reverted previous patch.
1394
1395 2003-05-06  Michael Koch  <konqueror@gmx.de>
1396
1397         * java/io/DataOutputStream.java
1398         (write): Renamed argument to "value", merged documentation from
1399         classpath.
1400         (writeBoolean): Likewise.
1401         (writeByte): Likewise.
1402         (writeShort): Likewise.
1403         (writeChar): Likewise.
1404         (writeInt): Likewise.
1405         (writeLong): Likewise.
1406         (writeFloat): Likewise.
1407         (writeDouble): Likewise.
1408         (writeBytes): Likewise.
1409         (writeChars): Likewise.
1410         (writeUTF): Likewise.
1411         * java/io/File.java
1412         (performDelete): Added documentation.
1413         (performList): Likewise.
1414         (performMkdir): Likewise.
1415         (performSetReadOnly): Likewise.
1416         (performRenameTo): Likewise.
1417         (performSetLastModified): Likewise.
1418         (delete): Made it sychronized.
1419         (renameTo): Made it sychronized.
1420         (equals): Reformatted.
1421         (isHidden): Likewise.
1422         (listFiles): Likewise.
1423         (setReadOnly): Likewise.
1424         (listRoots): Likewise.
1425         (setLastModified): Likewise.
1426         (checkRead): Likewise.
1427         (checkWrite): Likewise.
1428         * java/io/FileInputStream.java
1429         (skip): Made it sychronized, merged from classpath.
1430         * java/io/FileOutputStream.java
1431         (write): Merged from classpath.
1432         * java/io/InputStreamReader.java:
1433         (InputStreamReader): Merged documentation from classpath.
1434
1435 2003-05-05  Michael Koch  <konqueror@gmx.de>
1436
1437         * java/net/NetworkInterface.java
1438         (networkInterfaces): Removed.
1439         (getByName): Use getRealNetworkInterfaces() instead of
1440         networkInterfaces.
1441         (getByInetAddress): Likewise.
1442         (getNetworkInterfaces): Likewise.
1443         (toString): Fix output of addresses of an interface.
1444
1445 2003-05-05  Michael Koch  <konqueror@gmx.de>
1446
1447         * java/io/DataInputStream.java:
1448         Merged new documentation from classpath.
1449
1450 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1451
1452         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1453         "version".
1454         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1455         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1456         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1457         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1458         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1459         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1460         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1461         * java/security/Key.java: Likewise.
1462         * java/security/PrivateKey.java: Likewise.
1463         * java/security/Provider.java: Likewise.
1464         * java/security/PublicKey.java: Likewise.
1465
1466 2003-05-02  Michael Koch  <konqueror@gmx.de>
1467
1468         * java/net/URI.java
1469         (create): Doesnt throws any exceptions.
1470         * java/net/URLConnection.java
1471         (URLConnection): Commend added.
1472         (getExpiration): The header field is called "expires" not
1473         "expiration".
1474         (getHeaderField): Merged documentation with classpath.
1475         (getHeaderFieldInt): Likewise.
1476         (getHeaderFieldDate): Likewise.
1477         (getHeaderFieldKey): Likewise.
1478         (getPermission): Likewise.
1479         (setDefaultUseCaches): Likewise.
1480         (setRequestProperty): Likewise.
1481         (addRequestProperty): Likewise.
1482         (getRequestProperty): Likewise.
1483         (getRequestProperties): Likewise.
1484         (setDefaultRequestProperty): Likewise.
1485         (getDefaultRequestProperty): Likewise.
1486         (guessContentTypeFromStream): Likewise.
1487         (getFileNameMap): Likewise.
1488         (setFileNameMap): Likewise.
1489         (setDoInput): Merged implementation and documentation with classpath.
1490         (setDoOutput): Likewise.
1491         (setAllowUserInteraction): Likewise.
1492         (setDefaultAllowUserInteraction): Likewise.
1493         (setContentHandlerFactory): Made it synchronized, merged documentation
1494         with classpath.
1495         (guessContentTypeFromName): Renamed argument fname to filename to
1496         match classpath, merged documentation with classpath.
1497
1498 2003-05-02  Michael Koch  <konqueror@gmx.de>
1499
1500         * java/net/JarURLConnection.java
1501         (JarURLConnection): Class documentation merged with classpath.
1502         (getJarFileURL): Moved and documentation merged with classpath.
1503         (getEntryName): Likewise.
1504         (JarURLConnection): Documentation merged with classpath.
1505         (getJarEntry): Likewise.
1506         (getJarFile): Likewise.
1507         * java/net/PlainDatagramSocketImpl.java:
1508         Class documentation moved.
1509         * java/net/URLConnection.java
1510         (fileNameMap): Moved and documentation merged with classpath.
1511         (factory): Likewise.
1512         (defaultAllowUserInteraction): Likewis.
1513         (defaultUseCaches): Likewise.
1514         (allowUserInteraction): Likewise.
1515         (connected): Likewise.
1516         (url): Likewise.
1517         (connect): Documentation merged with classpath.
1518         (getURL): Likewise.
1519         (getContentLength): Likewise.
1520         (getContentType): Likewise.
1521         (getContentEncoding): Likewise.
1522         (getExpiration): Likewise.
1523         (getDate): Likewise.
1524         (getLastModified): Likewise.
1525         (getHeaderField): Likewise.
1526         (getContent): Likewise.
1527         (getPermission): Likewise.
1528         (getInputStream): Likewise.
1529         (getOutputStream): Likewise.
1530         (toString): Likewise.
1531         (getDoInput): Likewise.
1532         (getDoOutput): Likewise.
1533         (setAllowUserInteraction): Likewise.
1534         (getAllowUserInteraction): Likewise.
1535         (setDefaultAllowUserInteraction): Likewise.
1536         (getDefaultAllowUserInteraction): Likewise.
1537         (setUseCaches): Likewise.
1538         (getUseCaches): Likewise.
1539         (setIfModifiedSince): Likewise.
1540         (getIfModifiedSince): Likewise.
1541         (setDefaultRequestProperty): Likewise.
1542         (getDefaultRequestProperty): Likewise.
1543         (setContentHandlerFactory): Likewise.
1544         (setFileNameMap): Likewise.
1545
1546 2003-05-02  Michael Koch  <konqueror@gmx.de>
1547
1548         * java/net/InetAddress.java:
1549         Merged class documentation with classpath.
1550         * java/net/JarURLConnection.java:
1551         Explicitely import all used classes.
1552         * java/net/URL.java:
1553         Reformatting.
1554         * java/net/ServerSocket.java,
1555         java/net/Socket.java:
1556         New versions from classpath.
1557
1558 2003-05-02  Michael Koch  <konqueror@gmx.de>
1559
1560         * gnu/java/nio/FileChannelImpl.java
1561         (read): New implementation.
1562         (implRead): New methods.
1563         (write): New implementation, call other write insteal of read method.
1564         (implWrite): New methods.
1565         (map): Added comment.
1566         (transferFrom): Implemented.
1567         (transferTo): Implemented.
1568         (lock): Added checks to throw exceptions.
1569         (truncate): Added check to throw exception.
1570         * gnu/java/nio/natFileChannelImpl.cc
1571         (implRead): New method.
1572         (implWrite): New method.
1573         * java/nio/ByteBuffer.java
1574         (hashCode): Fixed comment.
1575         (get): Fixed exception documentation.
1576         (put): Fixed exception documentation.
1577         * java/nio/CharBuffer.java:
1578         Added comment for later optimizations.
1579
1580 2003-04-30  Tom Tromey  <tromey@redhat.com>
1581
1582         PR libgcj/10582:
1583         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1584         Removed.
1585         (type::compatible): Use _Jv_IsAssignableFrom.
1586         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1587         (_Jv_IsAssignableFrom): Work even when source or target class is
1588         not prepared.
1589
1590 2003-04-30  Michael Koch  <konqueror@gmx.de>
1591
1592         * java/text/BreakIterator.java
1593         (clone): New method.
1594
1595 2003-04-30  Michael Koch  <konqueror@gmx.de>
1596
1597         * java/text/CollationElementIterator.java,
1598         java/text/CollationKey.java,
1599         java/text/RuleBasedCollator.java:
1600         Merged copyright and documentation from classpath and
1601         rearranged some code. No code changes done.
1602
1603 2003-04-30  Michael Koch  <konqueror@gmx.de>
1604
1605         * java/util/regex/Matcher.java
1606         (pattern): New member variable.
1607         (appendReplacement): New method.
1608         (appendTail): New method.
1609         (end): New method.
1610         (find): New method.
1611         (group): New method.
1612         (replaceFirst): Added documentation.
1613         (replaceAll): Added documentation.
1614         (groupCount): New method.
1615         (lookingAt): New method.
1616         (matches): New method.
1617         (reset): New method.
1618         (start): New method.
1619         * java/util/regex/Pattern.java
1620         (serialVersionUID): New constant.
1621         (CANON_EQ): New constant.
1622         (CASE_INSENSITIVE): New constant.
1623         (COMMENTS): New constant.
1624         (DOTALL): New constant.
1625         (MULTILINE): New constant.
1626         (UNICODE_CASE): New constant.
1627         (UNIX_LINES): New constant.
1628         (regex): New member variable.
1629         (flags): New member variable.
1630         (Pattern): New method.
1631         (compile): Documentation added.
1632         (flags): New method.
1633         (matches): Documentation added.
1634         (matcher): Documentation added.
1635         (split): Documentation added.
1636         (pattern): New method.
1637
1638 2003-04-30  Michael Koch  <konqueror@gmx.de>
1639
1640         * gnu/java/security/Engine.java,
1641         gnu/java/security/OID.java,
1642         gnu/java/security/der/BitString.java,
1643         gnu/java/security/der/DER.java,
1644         gnu/java/security/der/DERReader.java,
1645         gnu/java/security/der/DERValue.java,
1646         gnu/java/security/der/DERWriter.java,
1647         gnu/java/security/provider/DSAKeyFactory.java,
1648         gnu/java/security/provider/X509CertificateFactory.java,
1649         gnu/java/security/x509/X500DistinguishedName.java,
1650         gnu/java/security/x509/X509CRL.java,
1651         gnu/java/security/x509/X509CRLEntry.java,
1652         gnu/java/security/x509/X509Certificate.java,
1653         java/security/cert/CRLSelector.java,
1654         java/security/cert/CertPathBuilder.java,
1655         java/security/cert/CertPathBuilderResult.java,
1656         java/security/cert/CertPathBuilderSpi.java,
1657         java/security/cert/CertPathParameters.java,
1658         java/security/cert/CertPathValidator.java,
1659         java/security/cert/CertPathValidatorResult.java,
1660         java/security/cert/CertPathValidatorSpi.java,
1661         java/security/cert/CertSelector.java,
1662         java/security/cert/CertStore.java,
1663         java/security/cert/CertStoreParameters.java,
1664         java/security/cert/CertStoreSpi.java,
1665         java/security/cert/CollectionCertStoreParameters.java,
1666         java/security/cert/LDAPCertStoreParameters.java,
1667         java/security/cert/PKIXBuilderParameters.java,
1668         java/security/cert/PKIXCertPathBuilderResult.java,
1669         java/security/cert/PKIXCertPathChecker.java,
1670         java/security/cert/PKIXCertPathValidatorResult.java,
1671         java/security/cert/PKIXParameters.java,
1672         java/security/cert/PolicyNode.java,
1673         java/security/cert/PolicyQualifierInfo.java,
1674         java/security/cert/TrustAnchor.java,
1675         javax/security/auth/x500/X500Principal.java:
1676         New files from classpath.
1677         * gnu/java/io/ASN1ParsingException.java,
1678         gnu/java/io/Base64InputStream.java,
1679         gnu/java/security/der/DEREncodingException.java,
1680         gnu/java/security/provider/DSAParameters.java,
1681         gnu/java/security/provider/DSASignature.java,
1682         gnu/java/security/provider/Gnu.java,
1683         gnu/java/security/provider/GnuDSAPrivateKey.java,
1684         gnu/java/security/provider/GnuDSAPublicKey.java,
1685         java/security/AlgorithmParameterGenerator.java,
1686         java/security/AlgorithmParameters.java,
1687         java/security/KeyFactory.java,
1688         java/security/KeyPairGenerator.java,
1689         java/security/KeyStore.java,
1690         java/security/MessageDigest.java,
1691         java/security/SecureClassLoader.java,
1692         java/security/SecureRandom.java,
1693         java/security/Security.java,
1694         java/security/Signature.java,
1695         java/security/cert/Certificate.java,
1696         java/security/cert/CertificateFactory.java,
1697         java/security/cert/CertificateFactorySpi.java,
1698         java/security/cert/X509CRL.java,
1699         java/security/cert/X509Certificate.java,
1700         java/security/spec/DSAPublicKeySpec.java:
1701         New versions from classpath.
1702         * gnu/java/security/provider/DERReader.java,
1703         gnu/java/security/provider/DERWriter.java,
1704         java/security/Engine.java: Removed.
1705         * Makefile.am
1706         (java_source_files, javax_source_files): Added new files.
1707         * Makefile.in: Regenerated.
1708
1709 2003-04-29  Michael Koch  <konqueror@gmx.de>
1710
1711         * javax/swing/JTable.java
1712         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1713         (AUTO_RESIZE_LAST_COLUMN): New constant.
1714         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1715         (AUTO_RESIZE_OFF): New constant.
1716         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1717         (JTable): New method.
1718         (columnAdded): New method.
1719         (columnMarginChanged): New method.
1720         (columnMoved): New method.
1721         (columnRemoved): New method.
1722         (columnSelectionChanged): New method.
1723         (editingCanceled): New method.
1724         (editingStopped): New method.
1725         (getColumnModel): New method.
1726         (getPreferredScrollableViewportSize): New method.
1727         (getScrollableBlockIncrement): New method.
1728         (getScrollableTracksViewportHeight): New method.
1729         (getScrollableTracksViewportWidth): New method.
1730         (getScrollableUnitIncrement): New method.
1731         (getSelectedRow): New method.
1732         (getSelectionModel): New method.
1733         (tableChanged): New method.
1734         (setModel): New method.
1735         (setSelectionMode): New method.
1736         (setSelectionModel): New method.
1737         (setShowGrid): New method.
1738         (valueChanged): New method.
1739         * javax/swing/text/DefaultEditorKit.java
1740         (backwardAction): New constant.
1741         (beepAction): New constant.
1742         (beginAction): New constant.
1743         (beginLineAction): New constant.
1744         (beginParagraphAction): New constant.
1745         (beginWordAction): New constant.
1746         (copyAction): New constant.
1747         (cutAction): New constant.
1748         (defaultKeyTypedAction): New constant.
1749         (deleteNextCharAction): New constant.
1750         (deletePrevCharAction): New constant.
1751         (downAction): New constant.
1752         (endAction): New constant.
1753         (endLineAction): New constant.
1754         (endOfLineStringProperty): New constant.
1755         (endParagraphAction): New constant.
1756         (endWordAction): New constant.
1757         (forwardAction): New constant.
1758         (insertBreakAction): New constant.
1759         (insertContentAction): New constant.
1760         (insertTabAction): New constant.
1761         (nextWordAction): New constant.
1762         (pageDownAction): New constant.
1763         (pageUpAction): New constant.
1764         (pasteAction): New constant.
1765         (previousWordAction): New constant.
1766         (readOnlyAction): New constant.
1767         (selectAllAction): New constant.
1768         (selectionBackwardAction): New constant.
1769         (selectionBeginAction): New constant.
1770         (selectionBeginLineAction): New constant.
1771         (selectionBeginParagraphAction): New constant.
1772         (selectionBeginWordAction): New constant.
1773         (selectionDownAction): New constant.
1774         (selectionEndAction): New constant.
1775         (selectionEndLineAction): New constant.
1776         (selectionEndParagraphAction): New constant.
1777         (selectionEndWordAction): New constant.
1778         (selectionForwardAction): New constant.
1779         (selectionNextWordAction): New constant.
1780         (selectionPreviousWordAction): New constant.
1781         (selectionUpAction): New constant.
1782         (selectLineAction): New constant.
1783         (selectParagraphAction): New constant.
1784         (selectWordAction): New constant.
1785         (upAction): New constant.
1786         (writableAction): New constant.
1787
1788 2003-04-29  Michael Koch  <konqueror@gmx.de>
1789
1790         * java/util/PropertyPermission.java:
1791         New version from classpath
1792         * java/util/ResourceBundle.java:
1793         Partly merged from classpath
1794         (getObject): Reformated.
1795         (tryBundle): Set foundBundle = null if no bundle found.
1796
1797 2003-04-29  Michael Koch  <konqueror@gmx.de>
1798
1799         * javax/swing/AbstractListModel.java,
1800         javax/swing/DefaultBoundedRangeModel.java,
1801         javax/swing/DefaultSingleSelectionModel.java:
1802         New Versions from classpath.
1803
1804 2003-04-29  Michael Koch  <konqueror@gmx.de>
1805
1806         * java/awt/Window.java
1807         (show): Call super.show() instead of setVisible() to avoid endless
1808         loop.
1809         (hide): Call super.hide() instead of setVisible() to avoid endless
1810         loop.
1811
1812 2003-04-29  Michael Koch  <konqueror@gmx.de>
1813
1814         * java/util/zip/Deflater.java,
1815         java/util/zip/DeflaterOutputStream.java:
1816         Partly merged with classpath.
1817
1818 2003-04-27  Tom Tromey  <tromey@redhat.com>
1819
1820         * java/lang/natString.cc (_Jv_AllocString): Initialize
1821         cachedHashCode.
1822         (init): Likewise.
1823         (_Jv_NewStringUtf8Const): Likewise.
1824
1825 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1826
1827         * include/jvm.h: (_Jv_GetNbArgs) added
1828         (_Jv_GetSafeArg) added
1829         (_Jv_SetArgs) added
1830         * prims.cc: (_Jv_GetNbArgs) implemented
1831         (_Jv_GetSafeArg) implemented
1832         (_Jv_SetArgs) implemented
1833         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1834         setting _Jv_argc and _Jv_argv
1835         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1836         instead of _Jv_argv
1837         * java/lang/natRuntime.cc: (insertSystemProperties) use
1838         _Jv_GetSafeArg() instead of _Jv_argv
1839
1840 2003-04-23  Tom Tromey  <tromey@redhat.com>
1841
1842         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1843         required by this object.  Search superclasses to find required
1844         alignment.
1845         (get_alignment_from_class): Use alignment of type as it appears
1846         in a struct.
1847         (ALIGNOF): New macro.
1848         (struct aligner): New helper structure.
1849
1850 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1851
1852         * java/awt/Container.java (addImpl): Enable paint events if adding
1853         a lightweight to a heavyweight.
1854         (addNotify): Ensure that peer is created before
1855         addNotifyContainerChildren.
1856         (addNotifyContainerChildren): Enable paint events if a heavyweight
1857         container contains a lightweight.
1858
1859 2003-04-20  Tom Tromey  <tromey@redhat.com>
1860
1861         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1862         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1863         Classpath.
1864
1865 2003-04-19  Tom Tromey  <tromey@redhat.com>
1866
1867         * java/sql/Date.java, java/sql/DriverManager.java,
1868         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1869         Classpath.
1870
1871         * Makefile.in: Rebuilt.
1872         * Makefile.am (ordinary_java_source_files): Added new files.
1873         * java/security/AlgorithmParameterGenerator.java,
1874         java/security/AlgorithmParameters.java, java/security/Engine.java,
1875         java/security/Identity.java, java/security/IdentityScope.java,
1876         java/security/KeyFactory.java,
1877         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1878         java/security/MessageDigest.java, java/security/Policy.java,
1879         java/security/ProtectionDomain.java,
1880         java/security/SecureRandom.java, java/security/Security.java,
1881         java/security/Signature.java, java/security/SignatureSpi.java,
1882         java/security/SignedObject.java, java/security/Signer.java,
1883         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1884         java/security/spec/PSSParameterSpec.java,
1885         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1886         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1887         Classpath.
1888
1889 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1890
1891         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1892         (dispose): Null metrics.
1893         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1894         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1895         finalize.
1896         (finalize): Call dispose.
1897         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1898         (gcCachedCount): New field.
1899         (finalize): New method.
1900         (putGCInCache): New method.
1901         (getGCFromCache): New method.
1902         * gnu/gcj/xlib/GC.java (GC): Make protected.
1903         (clone): Get new GC from cache if possible.
1904         (create): New static method.
1905         (dispose): Save old GC in cache.
1906         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1907         deleting.
1908         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1909         is null.
1910         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1911         * java/awt/Container.java (visitChild): Dispose gfx2 when
1912         finished.
1913
1914 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1915
1916         * java/math/BigInteger.java (probablePrime): New.
1917         * java/math/BigDecimal.java (unscaledValue): New.
1918
1919 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1920
1921         * java/io/File.java (getAbsolutePath): On Windows, take care
1922         of paths like "C:", "G:foo\bar", etc.
1923         (getName): Make it work correctly on Windows.
1924         (getParent): Make it work correctly on Windows. For UNIX,
1925         fix bug that causes "/" to be returned as the parent of "/",
1926         instead of null as returned by Sun's JRE.
1927
1928         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1929
1930 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1931
1932         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1933         inner class.
1934         (CACHE_SIZE_PER_DISPLAY): New field
1935         (fontMetricsCache): New field
1936         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1937         loading ISO10646-1 fonts.
1938
1939 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1940
1941         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1942         characters.
1943         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1944         characters.
1945
1946 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1947
1948         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1949         floating point.
1950
1951 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1952
1953         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1954         installed libpthread is either linuxthreads with floating stacks or
1955         NPTL.
1956
1957 2003-04-14  Tom Tromey  <tromey@redhat.com>
1958
1959         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1960         of alignment.
1961
1962 2003-04-10  Tom Tromey  <tromey@redhat.com>
1963
1964         * verify.cc (pop64): Removed.
1965         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1966         exception if top-of-stack is narrow.
1967         (initialize_stack): Check to ensure that <init> is not static and
1968         <clinit> is.
1969
1970 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1971
1972         * java/io/ObjectStreamException
1973         * java/io/FileFilter
1974         * java/io/FilenameFilter
1975         * java/io/ObjectInput
1976         * java/io/ObjectOutput
1977         * java/io/ObjectStreamConstants
1978         Minor doc fixes, format fixes, spelling corrections, etc.
1979         * java/io/DataInput
1980         Corrected code samples in Javadocs to match reality
1981         * java/io/DataOutput
1982         * java/io/ObjectInputValidation
1983         Major documentation fixes - all Javadocs re-written or updated
1984
1985 2003-04-06  Michael Koch  <konqueror@gmx.de>
1986
1987         * java/net/URLConnection.java:
1988         Import classes directly.
1989         (URLConnection): Merged class documentation with classpath.
1990         (url): Moved, documentation from classpath added.
1991         (doInput): Moved, documentation from classpath added.
1992         (doOutput): Moved, documentation from classpath added.
1993         (allowUserInteraction): Moved.
1994         (useCaches): Moved, documentation from classpath added.
1995         (ifModifiedSince): Moved, documentation from classpath added.
1996         (connected): Moved, documentation from classpath added.
1997
1998 2003-04-06  Michael Koch  <konqueror@gmx.de>
1999
2000         * java/io/FileInputStream.java
2001         (skip): Renamed some variables to match classpath, added
2002         checks from classpath.
2003
2004 2003-03-31  Michael Koch  <konqueror@gmx.de>
2005
2006         * javax/swing/AbstractAction.java
2007         (AbstractAction): Reformatted.
2008         (serialVersionUID): New private member variable.
2009         * javax/swing/plaf/BorderUIResource.java
2010         (serialVersionUID): New private member variable.
2011         * javax/swing/plaf/basic/BasicLookAndFeel.java
2012         (serialVersionUID): New private member variable.
2013
2014 2003-03-31  Michael Koch  <konqueror@gmx.de>
2015
2016         * java/sql/Date.java
2017         (valueOf): Deprecated, reformatted.
2018         (toString): Deprecated, reformatted.
2019         * java/sql/Time.java
2020         (valueOf): Deprecated, reformatted.
2021         (toString): Deprecated, reformatted.
2022
2023 2003-03-31  Michael Koch  <konqueror@gmx.de>
2024
2025         * java/rmi/dgc/VMID.java
2026         (isUnique): Deprecated.
2027
2028 2003-03-31  Michael Koch  <konqueror@gmx.de>
2029
2030         * java/io/File.java
2031         (separator): Merged documentation from classpath.
2032         (separatorChar): Merged documentation from classpath.
2033         (pathSeparator): Merged documentation from classpath.
2034         (pathSeparatorChar): Merged documentation from classpath.
2035         (path): Merged documentation from classpath.
2036         (canRead): Merged documentation from classpath.
2037         (canWrite): Merged documentation from classpath.
2038         (createNewFile): Merged documentation from classpath.
2039         (delete): Merged documentation from classpath.
2040         (equals): Merged documentation from classpath.
2041         (exists): Merged documentation from classpath.
2042         (File): Renamed p to name to match classpath, merged documentation
2043         from classpath.
2044         (getAbsolutePath): Merged documentation from classpath.
2045         (getCanonicalPath): Merged documentation from classpath.
2046         (getCanonicalFile): Merged documentation from classpath.
2047         (getName): Merged documentation from classpath.
2048         (getParent): Merged documentation from classpath.
2049         (getParentFile): Merged documentation from classpath.
2050         (getPath): Merged documentation from classpath.
2051         (hashCode): Merged documentation from classpath.
2052         (isAbsolute): Merged documentation from classpath.
2053         (isDirectory): Merged documentation from classpath.
2054         (isFile): Merged documentation from classpath.
2055         (isHidden): Merged documentation from classpath.
2056         (lastModified): Merged documentation from classpath.
2057         (length): Merged documentation from classpath.
2058         (list): Merged documentation from classpath.
2059         (listFiles): Merged documentation from classpath.
2060         (toString): Merged documentation from classpath.
2061         (toURL): Merged documentation from classpath.
2062         (mkdir): Merged documentation from classpath.
2063         (mkdirs): Merged documentation from classpath.
2064         (createTempFile): Merged documentation from classpath.
2065         (setReadOnly): Merged documentation from classpath.
2066         (listRoots): Merged documentation from classpath.
2067         (compareTo): Merged documentation from classpath.
2068         (renameTo): Merged documentation from classpath.
2069         (setLastModified): Merged documentation from classpath.
2070         * java/io/PrintStream.java
2071         (auto_flush): Merged documentation from classpath.
2072         (PrintStream): Merged documentation from classpath.
2073         (checkError): Merged documentation from classpath.
2074         (setError): Merged documentation from classpath.
2075         (close): Merged documentation from classpath.
2076         (flush): Merged documentation from classpath.
2077         (print): Merged documentation from classpath.
2078         (println):  Merged documentation from classpath.
2079         (write): Renamed count to len to match classpath,
2080         merged documentation from classpath.
2081         * java/io/RandomAccessFile.java
2082         (readShort): Merged documentation from classpath.
2083         (readUnsignedByte): Merged documentation from classpath.
2084         (readUnsignedShort): Merged documentation from classpath.
2085         (readUTF): Merged documentation from classpath.
2086         (seek): Reformatted, merged documentation from classpath.
2087         (skipBytes): Renamed some variables to match classpath, reformatted,
2088         merged documentation from classpath.
2089         (write): Merged documentation from classpath.
2090         (writeBoolean): Merged documentation from classpath.
2091         (writeByte): Merged documentation from classpath.
2092         (writeShort): Merged documentation from classpath.
2093         (writeChar): Merged documentation from classpath.
2094         (writeInt): Merged documentation from classpath.
2095         (writeLong): Merged documentation from classpath.
2096         (writeFloat): Merged documentation from classpath.
2097         (writeDouble): Merged documentation from classpath.
2098         (writeBytes): Merged documentation from classpath.
2099         (writeChars): Merged documentation from classpath.
2100         (writeUTF): Reformatted.
2101         (getChannel): Reformatted.
2102
2103 2003-03-31  Michael Koch  <konqueror@gmx.de>
2104
2105         * java/awt/font/TextAttribute.java
2106         (readResolve): Throws java.io.InvalidObjectException.
2107
2108 2003-03-31  Michael Koch  <konqueror@gmx.de>
2109
2110         * java/rmi/server/LoaderHandler.java
2111         (loadClass): Deprecated.
2112         (getSecurityContext): Deprecated.
2113         * java/rmi/server/LogStream.java
2114         (getDefaultStream): Deprecated.
2115         (setDefaultStream): Deprecated.
2116         (getOutputStream): Deprecated.
2117         (setOutputStream): Deprecated.
2118         (write): Deprecated.
2119         (toString): Deprecated.
2120         (parseLevel): Deprecated.
2121         * java/rmi/server/Operation.java
2122         (Operation): Deprecated.
2123         (getOperation): Deprecated.
2124         (toString): Deprecated.
2125         * java/rmi/server/RemoteCall.java
2126         (getOutputStream): Deprecated.
2127         (releaseOutputStream): Deprecated.
2128         (getInputStream): Deprecated.
2129         (releaseInputStream): Deprecated.
2130         (getResultStream): Deprecated.
2131         (executeCall): Deprecated.
2132         (done): Deprecated.
2133         * java/rmi/server/RemoteRef.java
2134         (invoke): Deprecated.
2135         (newCall): Deprecated.
2136         (done): Deprecated.
2137         * java/rmi/server/RemoteStub.java
2138         (setRef): Deprecated.
2139         * java/rmi/server/Skeleton.java:
2140         No need to import java.lang.Exception explicitly.
2141         (dispatch): Deprecated.
2142         (getOperations): Deprecated.
2143
2144 2003-03-31  Michael Koch  <konqueror@gmx.de>
2145
2146         * java/rmi/dgc/VMID.java,
2147         java/rmi/registry/RegistryHandler.java,
2148         java/rmi/server/LogStream.java,
2149         java/rmi/server/Operation.java,
2150         java/rmi/server/RemoteCall.java,
2151         java/rmi/server/RemoteRef.java,
2152         java/rmi/server/RemoteStub.java:
2153         Reformatted.
2154
2155 2003-03-31  Michael Koch  <konqueror@gmx.de>
2156
2157         * javax/swing/AbstractCellEditor.java,
2158         javax/swing/AbstractListModel.java,
2159         javax/swing/ActionMap.java,
2160         javax/swing/BorderFactory.java,
2161         javax/swing/ButtonGroup.java,
2162         javax/swing/DefaultBoundedRangeModel.java,
2163         javax/swing/DefaultButtonModel.java,
2164         javax/swing/DefaultCellEditor.java,
2165         javax/swing/DefaultComboBoxModel.java,
2166         javax/swing/DefaultDesktopManager.java,
2167         javax/swing/DefaultListCellRenderer.java,
2168         javax/swing/DefaultSingleSelectionModel.java,
2169         javax/swing/InputMap.java,
2170         javax/swing/JComponent.java,
2171         javax/swing/JMenu.java,
2172         javax/swing/JSlider.java,
2173         javax/swing/KeyStroke.java,
2174         javax/swing/OverlayLayout.java,
2175         javax/swing/ScrollPaneLayout.java,
2176         javax/swing/SizeRequirements.java,
2177         javax/swing/UIManager.java,
2178         javax/swing/ViewportLayout.java,
2179         javax/swing/border/AbstractBorder.java,
2180         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2181         javax/swing/event/EventListenerList.java,
2182         javax/swing/table/AbstractTableModel.java,
2183         javax/swing/table/DefaultTableCellRenderer.java,
2184         javax/swing/table/DefaultTableColumnModel.java,
2185         javax/swing/table/DefaultTableModel.java,
2186         javax/swing/table/TableColumn.java,
2187         javax/swing/text/StyledEditorKit.java,
2188         javax/swing/tree/DefaultMutableTreeNode.java,
2189         javax/swing/tree/DefaultTreeModel.java,
2190         javax/swing/tree/DefaultTreeSelectionModel.java,
2191         javax/swing/tree/TreePath.java,
2192         javax/swing/undo/AbstractUndoableEdit.java,
2193         javax/swing/undo/StateEdit.java,
2194         javax/swing/undo/StateEditable.java,
2195         javax/swing/undo/UndoableEditSupport.java:
2196         Merges from classpath.
2197
2198 2003-03-30  Tom Tromey  <tromey@redhat.com>
2199
2200         * java/lang/String.java (data, boffset, count): Documented.
2201         (String(byte[],String)): Reformatted.
2202         (String(byte[])): Likewise.
2203         (lastIndexOf(int)): Likewise.
2204         (lastIndexOf(String)): Likewise.
2205         (substring(int)): Renamed argument to match Classpath.
2206         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2207
2208         * java/lang/String.java: Miscellaneous minor formatting changes
2209         to match Classpath more closely.
2210
2211 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2212             Tom Tromey  <tromey@redhat.com>
2213
2214         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2215         (init()): Removed.
2216         (charAt): Put index in exception.
2217         (contentEquals): New method.
2218         Include StringBuffer.h.
2219         * java/lang/String.java (cachedHashCode): New field.
2220         (String()): Follow classpath implementation.
2221         (init()): Removed.
2222         (contentEquals): Declare.
2223         (subSequence): Don't declare IndexOutIfBoundsException in throws
2224         clause.
2225         (matches, replaceFirst, replaceAll, split): New methods from
2226         Classpath.
2227
2228 2003-03-29  Tom Tromey  <tromey@redhat.com>
2229
2230         * java/lang/String.java: Reordered to follow Classpath; merged in
2231         javadoc.
2232
2233         * java/text/MessageFormat.java: Removed some whitespace.
2234
2235         * Makefile.in: Rebuilt.
2236         * Makefile.am (awt_java_source_files): Added new files.
2237         * gnu/javax/rmi/PortableServer.java,
2238         gnu/javax/rmi/CORBA/DelegateFactory.java,
2239         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2240         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2241         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2242         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2243         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2244         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2245         javax/rmi/PortableRemoteObject.java,
2246         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2247         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2248         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2249         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2250         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2251         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2252
2253         * java/lang/natClass.cc (newInstance): Put method name in
2254         exception.
2255         (getConstructor): Likewise.
2256         (getDeclaredConstructor): Likewise.
2257         (getPrivateMethod): Likewise.
2258
2259 2003-03-28  Tom Tromey  <tromey@redhat.com>
2260
2261         * java/lang/reflect/Proxy.java: New version from Classpath.
2262         * java/lang/Package.java: New version from Classpath.
2263
2264 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2265
2266         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2267         * configure: Regenerate.
2268
2269 2003-03-28  Michael Koch  <konqueror@gmx.de>
2270
2271         * java/io/File.java:
2272         Import needed classes instead of whole packages, merged class
2273         documentation with classpath, moved constants and variables to top of
2274         class.
2275         * java/io/PrintStream.java:
2276         Merged class documentation with classpath, moved constants and
2277         variables to top of class.
2278         * java/io/RandomAccessFile.java
2279         (RandomAccessFile): Merged with classpath.
2280         (read): Merged with classpath).
2281         (read*): Reformatted.
2282
2283 2003-03-28  Michael Koch  <konqueror@gmx.de>
2284
2285         * java/io/FileDescriptor.java
2286         (finalize): Throws Throwable, not IOException.
2287         * java/io/ObjectOutputStream.java
2288         (PutField.put): Doesnt throws anything.
2289
2290 2003­03-28  Michael Koch  <konqueror@gmx.de>
2291
2292         * java/io/FileOutputStream.java:
2293         Merged class documentation and authors with classpath.
2294         (FileOutputStream): Partly merged with classpath.
2295         (write): Merged with classpath.
2296         (getChannel): Make it synchronized instead of explicit block in this
2297         method.
2298         * java/io/RandomAccessFile.java:
2299         Merged class documentation and authors with classpath.
2300
2301 2003-03-26  Tom Tromey  <tromey@redhat.com>
2302
2303         * java/lang/natRuntime.cc (insertSystemProperties): Set
2304         gnu.classpath.home.url.
2305         * Makefile.in: Rebuilt.
2306         * Makefile.am: Define LIBDIR.
2307
2308 2003-03-25  Michael Koch  <konqueror@gmx.de>
2309
2310         * java/io/FileInputStream.java
2311         (read): Renamed b to buf and off to offset.
2312         * java/io/FileOutputStream.java
2313         (ch): Documentation added.
2314         (FileOutputStream): Documentation added.
2315         (getFD): Documentation added.
2316         (write): Documentation added.
2317         (close): Documentation added.
2318         (getChannel): Documentation added.
2319
2320 2003-03-24  Michael Koch  <konqueror@gmx.de>
2321
2322         * java/io/DataOutputStream.java
2323         (write): Merged from classpath.
2324         * java/io/File.java:
2325         Merged copyrigth with classpath.
2326         * java/io/FileInputStream.java
2327         (getChannel): Made it synchronized instead of using a synchronized
2328         block.
2329         * java/io/FileOutputStream.java: Reformatted.
2330         * java/io/InputStreamReader.java
2331         (InputStreamReader): Renamed enc to encoding_name.
2332         (close): Merged documentation from classpath.
2333         (getEncoding): Merged documentation from classpath.
2334         (ready): Merged documentation from classpath.
2335         (read): Merged documentation from classpath.
2336         * java/io/LineNumberReader.java
2337         (lineNumber): Made it private.
2338         (LineNumberReader): Use Constant instead of a direct value.
2339         * java/io/OutputStreamWriter.java
2340         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2341         documentation from classpath.
2342         (close): Merged documentation from classpath.
2343         (flush): Merged documentation from classpath.
2344         (write): Merged documentation from classpath.
2345         * java/io/PrintStream.java: Reformatted.
2346
2347 2003-03-24  Michael Koch  <konqueror@gmx.de>
2348
2349         * javax/swing/text/ComponentView.java
2350         (getComponent): Must be final.
2351         * javax/swing/tree/DefaultTreeCellRenderer.java:
2352         Reformatted.
2353         * javax/swing/undo/StateEditable.java:
2354         Reformatted.
2355
2356 2003-03-24  Michael Koch  <konqueror@gmx.de>
2357
2358         * java/rmi/activation/ActivationInstantiator.java:
2359         Reformatted.
2360         * java/rmi/activation/Activator.java:
2361         Reformatted.
2362         * java/rmi/registry/RegistryHandler.java:
2363         Remerged from classpath.
2364
2365 2003-03-24  Michael Koch  <konqueror@gmx.de>
2366
2367         * java/util/Date.java:
2368         Fixed documentation starting tag to make javadoc happy.
2369         * java/util/regex/Pattern.java
2370         (Pattern): Implements Serializable.
2371         * java/util/PatternSyntaxException.java
2372         (serialVersionUID): New member variable.
2373
2374 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2375
2376         * java/awt/ContainerOrderFocusTraversalPolicy.java
2377         (getFirstComponent): Implemented.
2378         (getLastComponent): Implemented.
2379         (getDefaultComponent): Implemented.
2380         (setImplicitDownCycleTraversal): Fixed implementation.
2381         * java/awt/Robot.java
2382         (Robot): Added documentation.
2383         * java/awt/Toolkit.java
2384         (getFontList): Deprecated.
2385         (getFontMetrics): Deprecated.
2386         (getPrintJob): Added documentation.
2387         (getSystemSelection): Added documentation.
2388         (getLockingKeyState): Added documentation.
2389         (setLockingKeyState): Added documentation.
2390         (createCustomCursor): Added documentation.
2391         (getBestCursorSize): Added documentation.
2392         (getMaximumCursorColors): Added documentation.
2393         (isFrameStateSupported): Added documentation.
2394
2395 2003-03-24  Michael Koch  <konqueror@gmx.de>
2396
2397         * java/io/RandomAccessFile.java:
2398         More little merges with classpath. No code changes.
2399
2400 2003-03-24  Michael Koch  <konqueror@gmx.de>
2401
2402         * java/net/natInetAddressNoNet.cc:
2403         Include stddef.h.
2404         * java/net/natPlainDatagramSocketImplNoNet.cc:
2405         Fixed inlcude of java/net/DatagramPacket.h.
2406         * java/net/natPlainSocketImplNoNet.cc:
2407         Include some missing classes.
2408
2409 2003-03-24  Michael Koch  <konqueror@gmx.de>
2410
2411         * java/awt/dnd/DropTarget.java
2412         (DropTargetAutoScroller): According to the online documentation, this
2413         is protected, but in reality it is public.
2414         * java/awt/dnd/DropTargetContext.java
2415         (TransferableProxy): According to the online documentation, this
2416         is protected, but in reality it is public.
2417
2418 2003-03-24  Michael Koch  <konqueror@gmx.de>
2419
2420         * java/io/DataInputStream.java
2421         (): Wrapped documentation line.
2422         (): Fixed @return tag.
2423         * java/io/DataOutputStream.java
2424         (written): Moved to top of class.
2425         (all methods): Merged documentation from classpath.
2426         * java/io/File.java:
2427         Merged copyright year with classpath.
2428         * java/io/FileInputStream.java
2429         (all methods): Merged documentation from classpath.
2430         * java/io/LineNumberReader.java
2431         (getLineNumber): Fixed @return tag.
2432         * java/io/ObjectInputStream.java.
2433         Reformatted.
2434         * java/io/ObjectOutputStream.java:
2435         Reformatted, fixed some @see tags.
2436         * java/io/OutputStreamWriter.java:
2437         Deleted empty line.
2438         * java/io/Writer.java:
2439         Reformatted.
2440
2441 2003-03-24  Michael Koch  <konqueror@gmx.de>
2442
2443         * java/awt/Frame.java
2444         (DEFAULT_CURSOR): Fixed @deprecated tag.
2445         (setCursor): Fixed @deprecated tag.
2446
2447 2003-03-24  Michael Koch  <konqueror@gmx.de>
2448
2449         * java/beans/beancontext/BeanContextEvent.java:
2450         Reformated.
2451
2452 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2453
2454         * java/lang/natStringBuffer.cc (regionMatches): New function.
2455         * java/lang/String.java (count): Now package-private.
2456         * java/lang/StringBuffer.java: Merged with Classpath.
2457
2458 2003-03-23  Michael Koch  <konqueror@gmx.de>
2459
2460         * java/io/BufferedOutputStream.java:
2461         Reformated.
2462         * java/io/BufferedReader.java:
2463         Reformated.
2464         * java/io/ByteArrayOutputStream.java
2465         (size): Fixed @see tag.
2466         * java/io/CharArrayWriter.java
2467         (size): Fixed @see tag.
2468         * java/io/DataInput.java:
2469         Reformated.
2470         * java/io/DataOutput.java:
2471         Reformated.
2472         * java/io/DataOutputStream.java:
2473         Merged copyright years with classpath.
2474         * java/io/Externalizable.java:
2475         Reformated.
2476         * java/io/FileFilter.java:
2477         Reformated.
2478         * java/io/FileInputStream.java:
2479         Merged copyright years with classpath.
2480         * java/io/FileOutputStream.java:
2481         Merged copyright years with classpath.
2482         * java/io/FilePermission.java
2483         (FilePermission): Replaced @XXX with FIXME:.
2484         * java/io/FileWriter.java:
2485         Reformated.
2486         * java/io/FilenameFilter.java:
2487         Reformated.
2488         * java/io/FilterInputStream.java:
2489         Reformated.
2490         * java/io/FilterOutputStream.java:
2491         Reformated.
2492         * java/io/FilterReader.java:
2493         Reformated.
2494         * java/io/FilterWriter.java:
2495         Reformated.
2496         * java/io/LineNumberInputStream.java
2497         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2498         happy.
2499         (getLineNumber): Fixed @return tag.
2500         * java/io/ObjectInput.java:
2501         Reformated.
2502         * java/io/ObjectOutput.java:
2503         Reformated.
2504         * java/io/ObjectStreamClass.java:
2505         Reformated.
2506         * java/io/PrintStream.java:
2507         Merged copyright years with classpath.
2508         * java/io/PushbackReader.java
2509         (PushbackReader): Replaced @code with @param.
2510         * java/io/SerializablePermission.java:
2511         Reformated.
2512         * java/io/StreamTokenizer.java
2513         (resetSyntax): Fixed @see tag.
2514
2515 2003-03-22  Richard Henderson  <rth@redhat.com>
2516
2517         * sysdep/ia64/locks.h: Include ia64intrin.h.
2518         (compare_and_swap): Use __sync_bool_compare_and_swap.
2519         (compare_and_swap_release): Expose ar.ccv assignment.
2520
2521 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2522
2523         * include/posix.h: Add suffix for darwin dynamic libraries.
2524
2525 2003-03-21  Michael Koch  <konqueror@gmx.de>
2526
2527         * javax/swing/Action.java
2528         (ACCELERATOR_KEY): New constant.
2529         (ACTION_COMMAND_KEY): Likewise.
2530         (MNEMONIC_KEY): Likewise.
2531         * javax/swing/UnsupportedLookAndFeelException.java
2532         (UnsupportedLookAndFeelException): Must be public.
2533         * javax/swing/WindowConstants.java
2534         (EXIT_ON_CLOSE): New constant.
2535         * javax/swing/text/BadLocationException.java
2536         (offset): New member variable.
2537         (BadLocationException): New implementation, documentation added.
2538         (offsetRequested): New method.
2539         * javax/swing/text/Caret.java:
2540         Reformated.
2541         * javax/swing/text/Document.java:
2542         Reformated.
2543
2544 2003-03-21  Michael Koch  <konqueror@gmx.de>
2545
2546         * java/rmi/activation/Activatable.java
2547         (serialVersionUID): New member variable.
2548         * java/rmi/activation/ActivationGroup.java
2549         (serialVersionUID): New member variable.
2550         * java/rmi/activation/ActivationGroupDesc.java
2551         (serialVersionUID): New member variable.
2552         * java/rmi/registry/Registry.java:
2553         Reformated.
2554         (Registry): Deprecated.
2555         * java/rmi/server/LoaderHandler.java
2556         Reformated.
2557         (LoaderHandler): Deprecated.
2558         * java/rmi/server/LogStream.java
2559         Reformated.
2560         (LogStream): Deprecated.
2561         * java/rmi/server/Operation.java
2562         (Operation): Deprecated.
2563         * java/rmi/server/RMIFailureHandler.java:
2564         Reformated.
2565         * java/rmi/server/RMISocketFactory.java:
2566         Reformated.
2567         * java/rmi/server/RemoteCall.java
2568         (RemoteCall): Deprecated.
2569         * java/rmi/server/RemoteStub.java:
2570         Reformated.
2571         * java/rmi/server/Skeleton.java
2572         Reformated.
2573         (Skeleton): Deprecated.
2574
2575 2003-03-21  Michael Koch  <konqueror@gmx.de>
2576
2577         * java/io/LineNumberReader.java
2578         (LineNumberReader): Merged documentation with classpath.
2579         (getLineNumber): Likewise.
2580         (setLineNumber): Likewise.
2581         (mark): Likewise.
2582         (reset): Likewise.
2583         (read): Likewise.
2584         (readLine): Likewise.
2585         (skip): Likewise.
2586
2587 2003-03-21  Michael Koch  <konqueror@gmx.de>
2588
2589         * java/rmi/RMISecurityManager.java
2590         (checkAccept): Removed.
2591         (checkAccess): Likewise.
2592         (checkAccess): Likewise.
2593         (checkAwtEventQueueAccess): Likewise.
2594         (checkConnect): Likewise.
2595         (checkCreateClassLoader): Likewise.
2596         (checkDelete): Likewise.
2597         (checkExec): Likewise.
2598         (checkExit): Likewise.
2599         (checkLink): Likewise.
2600         (checkListen): Likewise.
2601         (checkMemberAccess): Likewise.
2602         (checkMulticast): Likewise.
2603         (checkPackageAccess): Likewise.
2604         (checkPackageDefinition): Likewise.
2605         (checkPermission): Likewise.
2606         (checkPrintJobAccess): Likewise.
2607         (checkPropertiesAccess): Likewise.
2608         (checkPropertyAccess): Likewise.
2609         (checkRead): Likewise.
2610         (checkSecurityAccess): Likewise.
2611         (checkSetFactory): Likewise.
2612         (checkSystemClipboardAccess): Likewise.
2613         (checkTopLevelWindow): Likewise.
2614         (checkWrite): Likewise.
2615
2616 2003-03-20  Michael Koch  <konqueror@gmx.de>
2617
2618         * gnu/java/nio/FileChannelImpl.java
2619         (address): Removed.
2620         (map_address): New member variable.
2621         (length): Make it package private.
2622         (fd): Make it package private.
2623         (buf): Make it package private.
2624         (file_obj): Make it package private.
2625         (FileChannelImpl): New constructor.
2626         (nio_mmap_file): Use RawData instead of long.
2627         (nio_munmap_file): Use RawData instead of long.
2628         (nio_msync): Use RawData instead of long.
2629         (implCloseChannel): New implementation using map_address.
2630         (read): Reformated.
2631         (map): Implemented.
2632         (create_direct_mapped_buffer): Implemented, use RawData, throws
2633         IOException.
2634         (force): Use map_address instead of address.
2635         * gnu/java/nio/MappedByteFileBuffer.java
2636         (address): Removed.
2637         (map_address): New member variable.
2638         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2639         (several methods): Use map_address instead of address, replaced long
2640         with RawData where appropriate.
2641         * gnu/java/nio/natFileChannelImpl.cc
2642         (nio_mmap_file): Replaced long with RawData.
2643         (nio_munmap_file): Replaced long with RawData.
2644         (nio_msync): Replaced long with RawData.
2645         * gnu/java/nio/natMappedByteFileBuffer.cc
2646         (several methods): Replaced long with RawData where appropriate.
2647
2648 2003-03-20  Michael Koch  <konqueror@gmx.de>
2649
2650         * java/net/InetAddress.java,
2651         java/net/JarURLConnection.java,
2652         java/net/PlainDatagramSocketImpl.java,
2653         java/net/PlainSocketImpl.java,
2654         java/net/URLConnection.java:
2655         Merged copyright statements with classpath for easier merging.
2656
2657 2003-03-20  Michael Koch  <konqueror@gmx.de>
2658
2659         * java/io/FileInputStream.java
2660         (getChannel): New implementation.
2661         * java/io/FileOutputStream.java
2662         (ch): New member variable.
2663         (getChannel): Implemented.
2664         * java/io/RandomAccessFile.java
2665         (RandomAccessFile): Throws FileNotFoundException instead of
2666         IOException.
2667         (getChannel): New method.
2668         (ch): New member variable.
2669
2670 2003-03-20  Michael Koch  <konqueror@gmx.de>
2671
2672         * java/io/DataOutputStream.java,
2673         java/io/File.java,
2674         java/io/FileInputStream.java,
2675         java/io/FileOutputStream.java,
2676         java/io/InputStreamReader.java,
2677         java/io/LineNumberReader.java,
2678         java/io/OutputStreamWriter.java,
2679         java/io/PrintStream.java,
2680         java/io/RandomAccessFile.java:
2681         Merged copyright statements with classpath for easier merging.
2682
2683 2003-03-19  Michael Koch  <konqueror@gmx.de>
2684
2685         * java/lang/Process.java:
2686         Merged from classpath.
2687
2688 2003-03-19  Michael Koch  <konqueror@gmx.de>
2689
2690         * java/io/FileOutputStream.java
2691         (FileOutputStream): New constructor, merged from classpath.
2692         * java/io/FileWriter.java
2693         (FileWriter): New constructor, merged from classpath.
2694
2695 2003-03-18  Michael Koch  <konqueror@gmx.de>
2696
2697         * java/awt/ScrollPane.java
2698         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2699         (getViewportSize): Likewise.
2700         (addNotify): Likewise.
2701         (removeNotify): Likewise.
2702         * java/awt/ScrollPaneAdjustable.java
2703         (ScrollPaneAdjustable): No longer extends Scrollbar.
2704         * java/beans/beancontext/BeanContextServices.java:
2705         Reformated.
2706         (getService): Added throws TooManyListenersException;
2707         * java/beans/beancontext/BeanContextServicesSupport.java:
2708         Reformated.
2709
2710 2003-03-18  Michael Koch  <konqueror@gmx.de>
2711
2712         * java/io/BufferedOutputStream.java,
2713         java/io/DataInput.java,
2714         java/io/DataInputStream.java,
2715         java/io/DataOutput.java,
2716         java/io/Externalizable.java:
2717         More merges from classpath.
2718
2719 2003-03-18  Michael Koch  <konqueror@gmx.de>
2720
2721         * configure.in: Fixed links to platform dependant java.net files.
2722         * configure: Regenerated.
2723         * java/net/natInetAddress.cc,
2724         java/net/natNetworkInterface.cc,
2725         java/net/natPlainDatagramSocketImpl.cc,
2726         java/net/natPlainSocketImpl.cc:
2727         Removed.
2728
2729 2003-03-18  Michael Koch  <konqueror@gmx.de>
2730
2731         * configure.in: Create links to architecture dependent files,
2732         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2733         * configure: Regenerated.
2734         * java/net/natInetAddressNoNet.cc,
2735         java/net/natInetAddressPosix.cc,
2736         java/net/natInetAddressWin32.cc,
2737         java/net/natNetworkInterfaceNoNet.cc,
2738         java/net/natNetworkInterfacePosix.cc,
2739         java/net/natNetworkInterfaceWin32.cc,
2740         java/net/natPlainDatagramSocketImplNoNet.cc,
2741         java/net/natPlainDatagramSocketImplPosix.cc,
2742         java/net/natPlainDatagramSocketImplWin32.cc,
2743         java/net/natPlainSocketImplNoNet.cc,
2744         java/net/natPlainSocketImplPosix.cc,
2745         java/net/natPlainSocketImplWin32.cc: New files.
2746
2747 2003-03-18  Michael Koch  <konqueror@gmx.de>
2748
2749         * java/io/BufferedReader.java,
2750         java/io/BufferedWriter.java,
2751         java/io/ByteArrayOutputStream.java,
2752         java/io/FileFilter.java,
2753         java/io/FilePermission.java,
2754         java/io/FileReader.java,
2755         java/io/FileWriter.java,
2756         java/io/FilenameFilter.java,
2757         java/io/FilterInputStream.java,
2758         java/io/FilterOutputStream.java,
2759         java/io/FilterReader.java,
2760         java/io/FilterWriter.java,
2761         java/io/ObjectInput.java,
2762         java/io/ObjectInputValidation.java,
2763         java/io/ObjectOutput.java,
2764         java/io/ObjectStreamField.java,
2765         java/io/PipedInputStream.java,
2766         java/io/PipedReader.java,
2767         java/io/PrintWriter.java,
2768         java/io/PushbackReader.java,
2769         java/io/Reader.java,
2770         java/io/SerializablePermission.java,
2771         java/io/StringReader.java,
2772         java/io/Writer.java:
2773         Merged from classpath.
2774
2775 2003-03-17  Michael Koch  <konqueror@gmx.de>
2776
2777         * java/awt/ScrollPaneAdjustable.java:
2778         Compile fixes.
2779         
2780 2003-03-17  Michael Koch  <konqueror@gmx.de>
2781
2782         * java/net/DatagramSocket.java
2783         (connect): Fixed comment.
2784         * java/nio/ByteBuffer.java
2785         (hasArray): Fixed comment.
2786
2787 2003-03-17  Michael Koch  <konqueror@gmx.de>
2788
2789         * java/beans/Beans.java:
2790         Explicitely import classes not packages.
2791         * java/beans/FeatureDescriptor.java
2792         (preferred): New member variable.
2793         (isPreferred): New method.
2794         (setPreferred): New method.
2795         * java/beans/PropertyEditorManager.java:
2796         Explicitely import used classes.
2797         * java/beans/beancontext/BeanContextChild.java:
2798         Added line wrapping.
2799         * java/beans/beancontext/BeanContextChildSupport.java:
2800         Reindented.
2801         * java/beans/beancontext/BeanContextEvent.java:
2802         Reindented.
2803
2804 2003-03-17  Michael Koch  <konqueror@gmx.de>
2805
2806         * java/awt/Dialog.java
2807         (Dialog): New constructor, changed implementations, added
2808         documentation.
2809         * java/awt/ScrollPaneAdjustable.java
2810         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2811         Serializable.
2812         (serialVersionUID): New member variable.
2813         (sp): New member variable.
2814         (orientation): New member variable.
2815         (value): New member variable.
2816         (minimum): New member variable.
2817         (maximum): New member variable.
2818         (visibleAmount): New member variable.
2819         (unitIncrement): New member variable.
2820         (blockIncrement): New member variable.
2821         (AdjustmentListener): New member variable.
2822         (ScrollPaneAdjustable): New implementation.
2823         (addAdjustmentListener): New method.
2824         (removeAdjustmentListener): New method.
2825         (getAdjustmentListeners): New method.
2826         (getBlockIncrement): New method.
2827         (getMaximum): New method.
2828         (getMinimum): New method.
2829         (getOrientation): New method.
2830         (getUnitIncrement): New method.
2831         (getValue): New method.
2832         (getVisibleAmount): New method.
2833         (setBlockIncrement): New method.
2834         (setMaximum): Implemented.
2835         (setMinimum): Implemented.
2836         (setUnitIncrement): New method.
2837         (setValue): New method.
2838         (setVisibleAmount): Implemented. 
2839         (paramString): New stubbed method.
2840         * java/awt/Window.java
2841         (show): Call setVisible().
2842         (hide): Call setVisible().
2843         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2844         and WINDOW_STATE_CHANGED.
2845         (processWindowFocusEvent): New method.
2846         (processWindowStateEvent): New method.
2847         (postEvent): Deprecated.
2848         (applyResourceBundle): Deprecated.
2849         * java/awt/datatransfer/DataFlavor.java
2850         (DataFlavor): Doesn't thow ClassNotFoundException.
2851
2852 2003-03-17  Michael Koch
2853
2854         * javax/print/attribute/Attribute.java,
2855         javax/print/attribute/AttributeSet.java,
2856         javax/print/attribute/PrintRequestAttributeSet.java:
2857         New files.
2858         * Makefile.am
2859         (javax_source_files): Added new files:
2860         javax/print/attribute/Attribute.java
2861         javax/print/attribute/AttributeSet.java
2862         javax/print/attribute/PrintRequestAttributeSet.java
2863         * Makefile.in: Regenerated.
2864
2865 2003-03-17  Michael Koch
2866
2867         * javax/print/attribute/Attribute.java,
2868         javax/print/attribute/AttributeSet.java,
2869         javax/print/attribute/PrintRequestAttributeSet.java:
2870         New files.
2871         * Makefile.am
2872         (awt_java_source_files): Added new files:
2873         javax/print/attribute/Attribute.java
2874         javax/print/attribute/AttributeSet.java
2875         javax/print/attribute/PrintRequestAttributeSet.java
2876         * Makefile.in: Regenerated.
2877
2878 2003-03-16  Tom Tromey  <tromey@redhat.com>
2879
2880         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2881         Include platform.h.
2882         * java/lang/natRuntime.cc (insertSystemProperties): Use
2883         _Jv_platform_path_separator.
2884         (nativeGetLibname): Use _Jv_platform_file_separator.
2885         (_load): Use _Jv_platform_onload_names.
2886         (onload_names): New global.
2887         * include/win32.h (_Jv_platform_file_separator): New define.
2888         (_Jv_platform_path_separator): Likewise.
2889         (_Jv_platform_onload_names): Likewise.
2890         (_Jv_platform_ffi_abi): Likewise.
2891         * include/posix.h (_Jv_platform_file_separator): New define.
2892         (_Jv_platform_path_separator): Likewise.
2893         (_Jv_platform_onload_names): Likewise.
2894         (_Jv_platform_ffi_abi): Likewise.
2895
2896 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2897
2898         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2899
2900 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2901
2902         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2903         hierarchy loop.
2904         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2905         list to Object,ObjectStreamClass, moved callReadMethod code up into
2906         readObject and added Class argument to all setXxxField calls.
2907         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2908         consistent with ObjectOutputStream and to facilitate caching the
2909         Method in the future.
2910         (setBooleanField): Added Class argument.
2911         (setByteField): Likewise.
2912         (setCharField): Likewise.
2913         (setDoubleField): Likewise.
2914         (setFloatField): Likewise.
2915         (setIntField): Likewise.
2916         (setLongField): Likewise.
2917         (setShortField): Likewise.
2918         (setObjectField): Likewise.
2919         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2920         class hierarchy loop.
2921         (defaultWriteObject): Call writeFields with new argument list.
2922         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2923         list to Object,ObjectStreamClass, moved callWriteMethod up into
2924         writeObject and added Class argument to all getXxxField calls.
2925         (callWriteMethod): Added ObjectStreamClass argument to be able to
2926         get the proper class to call getMethod on (each class can have (or
2927         not have) its own writeObject method).
2928         (getBooleanField): Added Class argument.
2929         (getByteField): Likewise.
2930         (getCharField): Likewise.
2931         (getDoubleField): Likewise.
2932         (getFloatField): Likewise.
2933         (getIntField): Likewise.
2934         (getLongField): Likewise.
2935         (getShortField): Likewise.
2936         (getObjectField): Likewise.
2937         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2938         facilitate caching the Method object in the future.
2939
2940 2003-03-12  Andreas Schwab  <schwab@suse.de>
2941
2942         * configure.in: Avoid trailing /. in toolexeclibdir.
2943         * configure: Rebuilt.
2944
2945 2003-03-11  Michael Koch  <konqueror@gmx.de>
2946
2947         * gnu/java/nio/ByteBufferImpl.java
2948         (putInt): Use limit() instead of limit.
2949         * gnu/java/nio/CharBufferImpl.java
2950         (slice): Fixed implementation.
2951         (subSequence): Better bounds checking.
2952         * gnu/java/nio/MappedByteFileBuffer.java:
2953         Import all needed classes directly.
2954         * java/nio/ByteBuffer.java
2955         (hashCode): New dummy method.
2956         * java/nio/CharBuffer.java
2957         (array_offset): New member variable.
2958         (hasArray): Fixed documentation.
2959         (arrayOffset): Return array_offset.
2960
2961 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2962
2963         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2964         setter; made return value of getter const char* instead of char*
2965         * prims.cc: removed all references to _Jv_ThisExecutable().
2966         These are in the platform-specific sections now.
2967         * posix.cc: define platform-specific _Jv_ThisExecutable().
2968         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2969         * win32.cc: define platform-specific _Jv_ThisExecutable()
2970         using GetModuleFilename()
2971         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2972         to argv[0] instead of _Jv_ThisExecutable()
2973
2974 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2975
2976         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2977         that is set if we are using addr2name.awk instead of addr2line.
2978         (NameFinder): Set usingAddr2name if using addr2name.awk.
2979         (getExternalLabel): New native method to convert a method 
2980         name to an external label.
2981         (lookup): Convert name given by addr2line to an external label
2982         before demangling.
2983
2984         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2985         constant representing the prefix attached to method names to
2986         convert them to an external label.
2987         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2988         using LABEL_PREFIX.
2989
2990 2003-03-10  Tom Tromey  <tromey@redhat.com>
2991
2992         * Makefile.in: Rebuilt.
2993         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2994         (JC1FLAGS): Removed -Wno-deprecated.
2995
2996 2003-03-10  Michael Koch  <konqueror@gmx.de>
2997
2998         * java/nio/ByteOrder.java
2999         (nativeOrder): Working implementation, added documentation.
3000         (toString): Added documentation.
3001
3002 2003-03-10  Michael Koch  <konqueror@gmx.de>
3003
3004         * java/net/DatagramSocket.java,
3005         java/net/MulticastSocket.java,
3006         java/net/Socket.java,
3007         java/net/URL.java,
3008         java/net/URLConnection.java:
3009         Fixed some documentation tags to make javadoc and friends happy.
3010
3011 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3012
3013         * java/beans/beancontext/BeanContextServicesSupport.java,
3014         java/beans/beancontext/BeanContextSupport.java: New files.
3015         * Makefile.am
3016         (awt_source_files): Added new files.
3017         * Makefile.in: Regenerated.
3018
3019 2003-03-10  Michael Koch  <konqueror@gmx.de>
3020
3021         * java/awt/FocusTraversalPolicy.java
3022         (FocusTraversalPolicy): Documentation added.
3023         (getComponentAfter): Documentation added.
3024         (getComponentBefore): Documentation added.
3025         (getFirstComponent): Documentation added.
3026         (getLastComponent): Documentation added.
3027         (getDefaultComponent): Documentation added.
3028         (getInitialComponent): Documentation added.
3029         * java/awt/ScrollPaneAdjustable.java
3030         (sp): New member variable.
3031         (orientation): New member variable.
3032         (value): New member variable.
3033         (minimum): New member variable.
3034         (maximum): New member variable.
3035         (visibleAmount): New member variable.
3036         (unitIncrement): New member variable.
3037         (blockIncrement): New member variable.
3038         (adjustmentListener): New member variable.
3039         (ScrollPaneAdjustable): Rewrote.
3040         (addAdjustmentListener): New method.
3041         (removeAdjustmentListener): New method.
3042         (getAdjustmentListeners): New method.
3043         (getBlockIncrement): New method.
3044         (getMaximum): New method.
3045         (getMinimum): New method.
3046         (getOrientation): New method.
3047         (getUnitIncrement): New method.
3048         (getValue): New method.
3049         (getVisibleAmount): New method.
3050         (setBlockIncrement): New method.
3051         (setUnitIncrement): New method.
3052         (setMaximum): Implemented.
3053         (setMinimum): Implemented.
3054         (setValue): New method.
3055         (setVisibleAmount): Implemented.
3056         (paramString): New method.
3057         * java/awt/Window.java
3058         (show): Use setVisible(true) instead of super.show().
3059         (hide): Use sevVisible(false) instead of super.hide().
3060         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3061         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3062         (postEvent): Deprecated.
3063         (applyResourceBundle): Deprecated.
3064         (processWindowFocusEvent): New method.
3065         (processWindowStateEvent): New method.
3066         * java/awt/datatransfer/DataFlavor.java: Reindented.
3067         * java/awt/font/TextHitInfo.java
3068         (charIndex): New member variable.
3069         (leadingEdge): New member variable.
3070         (TextHitInfo): New constructor.
3071         (getCharIndex): Implemented.
3072         (isLeadingEdge): Implemented.
3073         (getInsertionIndex): Implemented.
3074         (hashCode): Access charIndex directly.
3075         (equals): Reformated.
3076         (leading): Implemented.
3077         (trailing): Implemented.
3078         (beforeOffset): Implemented.
3079         (afterOffset): Implemented.
3080         (getOtherHit): Implemented.
3081         (getOffsetHit): Implemented.
3082         (toString): Implemented.
3083         * java/awt/image/BufferedImage.java
3084         (BufferedImage): Implements WritableRenderedImage.
3085         (observers): New member variable.
3086         (addTileObserver): New method.
3087         (removeTileObserver): New method.
3088
3089 2003-03-09  Tom Tromey  <tromey@redhat.com>
3090
3091         PR libgcj/9934:
3092         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3093         to lseek.  Return 0 if we can't compute the value.
3094
3095 2003-03-03  Michael Koch  <konqueror@gmx.de>
3096
3097         * java/net/NetworkInterface.java: Merged with classpath.
3098
3099 2003-03-03  Tom Tromey  <tromey@redhat.com>
3100
3101         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3102         of bytecode.
3103         (handle_ret_insn): Fail if returning to jsr that appears at end of
3104         bytecode.
3105
3106 2003-03-03  Michael Koch  <konqueror@gmx.de>
3107
3108         * Makefile.am
3109         (ordinary_java_source_files):
3110         Added gnu/java/nio/MappedByteFileBuffer.java.
3111         (nat_source_files):
3112         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3113         * Makefile.in: Regenerated.
3114
3115 2003-03-03  Michael Koch  <konqueror@gmx.de>
3116
3117         * java/net/DatagramSocket.java
3118         (connect): Merged comment from classpath.
3119         (receive): Merged documentation from classpath.
3120         * java/net/Socket.java
3121         (setSoTimeout): Clarified documentation.
3122         * java/net/URL.java
3123         (getPath): Merged from classpath.
3124         (getUserInfo): Merged from classpath.
3125         (getQuery): Merged from classpath.
3126         * java/net/URLStreamHandler.java
3127         (toExternalForm): Merged from classpath.
3128
3129 2003-03-02  Mark Wielaard  <mark@klomp.org>
3130
3131         * java/util/Properties.java (load): Only skip line if the first
3132         character is a comment, whitespaces don't count.
3133
3134 2003-03-02  Michael Koch  <konqueror@gmx.de>
3135
3136         * java/net/NetPermission.java:
3137         Merged copyright with classpath.
3138
3139 2003-03-02  Michael Koch  <konqueror@gmx.de>
3140
3141         * java/lang/Package.java:
3142         Remerged from classpath.
3143
3144 2003-03-02  Michael Koch  <konqueror@gmx.de>
3145
3146         * java/net/HttpURLConnection.java
3147         (HTTP_SERVER_ERROR): Deprecated.
3148         * java/net/MulticastSocket.java
3149         (send): Replaced checkMulticast with appropriate checkPermission call,
3150         deprecated.
3151         * java/net/URLDecoder.java
3152         (decode): Deprecated.
3153         * java/net/URLEncoder.java
3154         (encode): Deprecated.
3155
3156 2003-03-02  Michael Koch  <konqueror@gmx.de>
3157
3158         * javax/swing/text/Caret.java
3159         (getMagicCaretPosition): Fixed typo in method name.
3160         * javax/swing/text/DefaultCaret.java
3161         (getMagicCaretPosition): Fixed typo in method name.
3162
3163 2003-03-02  Michael Koch  <konqueror@gmx.de>
3164
3165         * java/awt/List.java
3166         (setMultipleSelections): Deprecated.
3167         (delItem): Deprecated.
3168         * java/awt/MenuComponent.java
3169         (getPeer): Deprecated.
3170         * java/awt/ScrollPane.java
3171         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3172         * java/awt/dnd/MouseDragGestureRecognizer.java
3173         (mouseClicked): Added comment.
3174         (mousePressed): Added comment.
3175         (mouseReleased): Added comment.
3176         (mouseEntered): Added comment.
3177         (mouseExited): Added comment.
3178         (mouseDragged): Added comment.
3179         (mouseMoved): Added comment.
3180         * java/awt/event/KeyEvent.java
3181         (KeyEvent): Deprecated.
3182         (setModifiers): Deprecated.
3183         
3184 2003-03-02  Michael Koch  <konqueror@gmx.de>
3185
3186         * gnu/java/nio/FileChannelImpl.java
3187         (fd): Type FileDescriptor instead of int.
3188         (lengthInternal): Removed.
3189         (FileChannelImpl): Fixed arguments, check type of file object.
3190         (size): Made it native.
3191         (implPosition): New native method.
3192         (implTruncate): New native method.
3193         (position): Implemented.
3194         (truncate): Implemented.
3195         (nio_mmap_file): Changed arguments.
3196         (nio_munmap_file): Changed arguments.
3197         (nio_msync): Changed arguments.
3198         * gnu/java/nio/natFileChannelImpl.cc
3199         (lengthInternal): Removed.
3200         (size): New method.
3201         (implPosition): New method.
3202         (implTruncate): New method.
3203         (nio_mmap_file): Changed arguments.
3204         (nio_munmap_file): Changed arguments.
3205         (nio_msync): Changed arguments.
3206
3207 2003-03-02  Michael Koch  <konqueror@gmx.de>
3208
3209         * java/awt/dnd/DropTargetContext.java:
3210         Compile fix: Forgot to commit import.
3211         
3212 2003-03-02  Michael Koch  <konqueror@gmx.de>
3213
3214         * java/awt/Component.java,
3215         java/awt/ScrollPane.java:
3216         Fixed typos.
3217
3218 2003-03-02  Michael Koch  <konqueror@gmx.de>
3219
3220         * java/awt/dnd/DnDEventMulticaster.java: New file.
3221         * java/awt/dnd/DragSource.java
3222         (flavorMap): New member variable.
3223         (dragSourceListener): New member variable.
3224         (dragSourceMotionListener): New member variable.
3225         (getFlavorMap): Implemented.
3226         (createDragGestureRecognizer): Implemented.
3227         (addDragSourceListener): Implemented.
3228         (removeDragSourceListener): Implemented.
3229         (getDragSourceListeners): Implemented.
3230         (addDragSourceMotionListener): Implemented.
3231         (removeDragSourceMotionListener): Implemented.
3232         (getDragSourceMotionListeners): Implemented.
3233         (getListeners): Implemented.
3234         * java/awt/dnd/DragSourceContext.java
3235         (peer): New member variable.
3236         (cursor): New member variable.
3237         (transferable): New member variable.
3238         (trigger): New member variable.
3239         (dragSourceListener): New member variable.
3240         (image): New member variable.
3241         (offset): New member variable.
3242         (DragSourceContext): Implemented.
3243         (getDragSource): Implemented.
3244         (getComponent): Implemented.
3245         (getTrigger): Implemented.
3246         (getSourceActions): Implemented.
3247         (setCursor): Implemented.
3248         (getCursor): Implemented.
3249         (addDragSourceListener): Implemented.
3250         (removeDragSourceListener): Implemented.
3251         (getTransferable): Implemented.
3252         * java/awt/dnd/DropTarget.java
3253         (DropTargetAutoScroller.component): New member variable.
3254         (DropTargetAutoScroller.point): New member variable.
3255         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3256         (DropTargetAutoScroller.updateLocation): Implemented.
3257         (active): Renamed from isActive, defaults to true now.
3258         (component): New member variable.
3259         (flavorMap): New member variable.
3260         (actions): New member variable.
3261         (dropTargetContext): New member variable.
3262         (dropTargetListener): New member variable.
3263         (DropTarget): Implemented.
3264         (getComponent): Implemented.
3265         (setComponent): Implemented.
3266         (setDefaultActions): Implemented.
3267         (getDefaultActions): Implemented.
3268         (setActive): Use active instead of isActive.
3269         (isActive): Use active instead of isActive.
3270         (addDropTargetListener): Implemented.
3271         (removeDropTargetListener): Implemented.
3272         (getFlavorMap): Implemented.
3273         (setFlavorMap): Implemented.
3274         (getDropTargetContext): Implemented.
3275         (createDropTargetContext): Implemented.
3276         (createDropTargetAutoScroller): Implemented.
3277         * java/awt/dnd/DropTargetContext.java
3278         (TransferableProxy.getTransferDataFlavors): Implemented.
3279         (TransferableProxy.isDataFlavorSupported): Implemented.
3280         (TransferableProxy.getTransferData): Implemented.
3281         (dropTarget):  New member variable.
3282         (dtcp): New member variable.
3283         (DropTargetContext): New package private constructor.
3284         (getDropTarget): Implemented.
3285         (getComponent): Implemented.
3286         (addNotify): Implemented.
3287         (removeNotify): Implemented.
3288         (getCurrentDataFlavorsAsList): Implemented.
3289         (isDataFlavorSupported): Implemented.
3290         * java/awt/dnd/MouseDragGestureRecognizer.java
3291         (registerListeners): Implemented.
3292         (unregisterListeners): Implemented.
3293         * Makefile.am
3294         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3295         * Makefile.in: Regenerated.
3296
3297 2003-03-02  Michael Koch  <konqueror@gmx.de>
3298
3299         * java/awt/Component.java
3300         (eventTypeEnabled): New method.
3301         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3302         * java/awt/Container.java
3303         (changeSupport): New member variable.
3304         (addPropertyChangeListener): New methods.
3305         * java/awt/ContainerOrderFocusTraversalPolicy.java
3306         (ContainerOrderFocusTraversalPolicy): Added comment.
3307         (getComponentAfter): Throw exception, documentation added.
3308         (getComponentBefore): Throw exception, documentation added.
3309         (getFirstComponent): Throw exception, documentation added.
3310         (getLastComponent): Throw exception, documentation added.
3311         (getDefaultComponent): Throw exception, documentation added.
3312         * java/awt/EventQueue.java: Reindented.
3313         * java/awt/FocusTraversalPolicy.java:
3314         (FocusTraversalPolicy): Added comment.
3315         (getComponentAfter): Documentation added.
3316         (getComponentBefore): Documentation added.
3317         (getFirstComponent): Documentation added.
3318         (getLastComponent): Documentation added.
3319         (getDefaultComponent): Documentation added.
3320         (getInitialComponent): Documentation added.
3321         * java/awt/ScrollPane.java
3322         (wheelScrollingEnabled): New member variable.
3323         (ScrollPane): Initialize wheelScollingEnabled.
3324         (eventTypeEnabled): New method.
3325         (isWheelScrollingEnabled): New method.
3326         (setWheelScrollingEnabled): New method.
3327
3328 2003-03-02  Michael Koch  <konqueror@gmx.de>
3329
3330         * java/net/DatagramSocket.java
3331         (closed): New member variable.
3332         (close): Use closed variable.
3333         (getInetAddress): No need to call isConnected().
3334         (getPort): No need to call isConnected().
3335         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3336         (isClosed): Reimplemented.
3337         
3338 2003-03-02  Michael Koch  <konqueror@gmx.de>
3339
3340         * configure.in: Added check for memory mapping of files.
3341         * configure: Regenerated.
3342         * config.h.in: Regenerated.
3343
3344 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3345
3346         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3347         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3348
3349 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3350
3351         * java/io/File.java (normalizePath): Remove trailing separator
3352         on Windows only if path is not of the form "x:\".
3353
3354         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3355         (java::io::File::attr): Change formatting a bit and use
3356         WIN32_EPOCH_MILLIS instead of magic numbers.
3357         (java::io::File::isAbsolute): Path must have at least 3 
3358         characters for a UNC network path.
3359         (java::io::File::init_native): Define.
3360         (java::io::File::performCreate): Likewise.
3361         (java::io::File::performSetReadOnly): Likewise.
3362         (java::io::File::performSetLastModified): Likewise.
3363         (java::io::File::performListRoots): Likewise.
3364
3365 2003-03-01  Tom Tromey  <tromey@redhat.com>
3366
3367         * java/lang/natObject.cc: Don't include assert.h.
3368         (heavy_lock_obj_finalization_proc): Use JvAssert.
3369         (remove_all_heavy): Likewise.
3370         (_Jv_MonitorEnter): Likewise.
3371         (_Jv_MonitorExit): Likewise.
3372         (wait): Likewise.
3373
3374 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3375
3376         * java/io/File (getAbsolutePath): Prefix drive specifier on
3377         Windows for paths starting with a '\'.
3378         (toURL): Make URL more consistent with what Sun's JDK returns.
3379
3380         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3381         true only if the path is a UNC network path or it starts with a
3382         drive specifier.
3383
3384         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3385         Be prepared to handle either '/' or '\\' in the file path for
3386         Windows if using the "file" protocol.
3387         Canonicalise the file path if using a relative path in the given
3388         context and the "file" protocol.
3389
3390 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3391
3392         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3393         program array element passed to CreateProcess.
3394
3395 2003-03-01  Tom Tromey  <tromey@redhat.com>
3396
3397         * java/rmi/registry/RegistryHandler.java: Deprecate.
3398
3399 2003-03-01  Tom Tromey  <tromey@redhat.com>
3400
3401         * javax/accessibility/AccessibleEditableText.java,
3402         javax/accessibility/AccessibleHyperlink.java: New versions from
3403         Classpath.
3404
3405         * gnu/java/locale/LocaleInformation_af_ZA.java,
3406         gnu/java/locale/LocaleInformation_ar_AE.java,
3407         gnu/java/locale/LocaleInformation_ar_BH.java,
3408         gnu/java/locale/LocaleInformation_ar_DZ.java,
3409         gnu/java/locale/LocaleInformation_ar_EG.java,
3410         gnu/java/locale/LocaleInformation_ar_IN.java,
3411         gnu/java/locale/LocaleInformation_ar_IQ.java,
3412         gnu/java/locale/LocaleInformation_ar_JO.java,
3413         gnu/java/locale/LocaleInformation_ar_KW.java,
3414         gnu/java/locale/LocaleInformation_ar_LB.java,
3415         gnu/java/locale/LocaleInformation_ar_LY.java,
3416         gnu/java/locale/LocaleInformation_ar_MA.java,
3417         gnu/java/locale/LocaleInformation_ar_OM.java,
3418         gnu/java/locale/LocaleInformation_ar_QA.java,
3419         gnu/java/locale/LocaleInformation_ar_SD.java,
3420         gnu/java/locale/LocaleInformation_ar_SY.java,
3421         gnu/java/locale/LocaleInformation_ar_TN.java,
3422         gnu/java/locale/LocaleInformation_ar_YE.java,
3423         gnu/java/locale/LocaleInformation_be_BY.java,
3424         gnu/java/locale/LocaleInformation_bn_IN.java,
3425         gnu/java/locale/LocaleInformation_br_FR.java,
3426         gnu/java/locale/LocaleInformation_bs_BA.java,
3427         gnu/java/locale/LocaleInformation_ca_ES.java,
3428         gnu/java/locale/LocaleInformation_cs_CZ.java,
3429         gnu/java/locale/LocaleInformation_cy_GB.java,
3430         gnu/java/locale/LocaleInformation_da_DK.java,
3431         gnu/java/locale/LocaleInformation_de_AT.java,
3432         gnu/java/locale/LocaleInformation_de_BE.java,
3433         gnu/java/locale/LocaleInformation_de_CH.java,
3434         gnu/java/locale/LocaleInformation_de_DE.java,
3435         gnu/java/locale/LocaleInformation_de_LU.java,
3436         gnu/java/locale/LocaleInformation_el_GR.java,
3437         gnu/java/locale/LocaleInformation_en_AU.java,
3438         gnu/java/locale/LocaleInformation_en_BW.java,
3439         gnu/java/locale/LocaleInformation_en_CA.java,
3440         gnu/java/locale/LocaleInformation_en_DK.java,
3441         gnu/java/locale/LocaleInformation_en_GB.java,
3442         gnu/java/locale/LocaleInformation_en_HK.java,
3443         gnu/java/locale/LocaleInformation_en_IE.java,
3444         gnu/java/locale/LocaleInformation_en_IN.java,
3445         gnu/java/locale/LocaleInformation_en_NZ.java,
3446         gnu/java/locale/LocaleInformation_en_PH.java,
3447         gnu/java/locale/LocaleInformation_en_SG.java,
3448         gnu/java/locale/LocaleInformation_en_US.java,
3449         gnu/java/locale/LocaleInformation_en_ZA.java,
3450         gnu/java/locale/LocaleInformation_en_ZW.java,
3451         gnu/java/locale/LocaleInformation_es_AR.java,
3452         gnu/java/locale/LocaleInformation_es_BO.java,
3453         gnu/java/locale/LocaleInformation_es_CL.java,
3454         gnu/java/locale/LocaleInformation_es_CO.java,
3455         gnu/java/locale/LocaleInformation_es_CR.java,
3456         gnu/java/locale/LocaleInformation_es_DO.java,
3457         gnu/java/locale/LocaleInformation_es_EC.java,
3458         gnu/java/locale/LocaleInformation_es_ES.java,
3459         gnu/java/locale/LocaleInformation_es_GT.java,
3460         gnu/java/locale/LocaleInformation_es_HN.java,
3461         gnu/java/locale/LocaleInformation_es_MX.java,
3462         gnu/java/locale/LocaleInformation_es_NI.java,
3463         gnu/java/locale/LocaleInformation_es_PA.java,
3464         gnu/java/locale/LocaleInformation_es_PE.java,
3465         gnu/java/locale/LocaleInformation_es_PR.java,
3466         gnu/java/locale/LocaleInformation_es_PY.java,
3467         gnu/java/locale/LocaleInformation_es_SV.java,
3468         gnu/java/locale/LocaleInformation_es_US.java,
3469         gnu/java/locale/LocaleInformation_es_UY.java,
3470         gnu/java/locale/LocaleInformation_es_VE.java,
3471         gnu/java/locale/LocaleInformation_et_EE.java,
3472         gnu/java/locale/LocaleInformation_eu_ES.java,
3473         gnu/java/locale/LocaleInformation_fa_IR.java,
3474         gnu/java/locale/LocaleInformation_fi_FI.java,
3475         gnu/java/locale/LocaleInformation_fo_FO.java,
3476         gnu/java/locale/LocaleInformation_fr_BE.java,
3477         gnu/java/locale/LocaleInformation_fr_CA.java,
3478         gnu/java/locale/LocaleInformation_fr_CH.java,
3479         gnu/java/locale/LocaleInformation_fr_FR.java,
3480         gnu/java/locale/LocaleInformation_fr_LU.java,
3481         gnu/java/locale/LocaleInformation_ga_IE.java,
3482         gnu/java/locale/LocaleInformation_gd_GB.java,
3483         gnu/java/locale/LocaleInformation_gl_ES.java,
3484         gnu/java/locale/LocaleInformation_gv_GB.java,
3485         gnu/java/locale/LocaleInformation_he_IL.java,
3486         gnu/java/locale/LocaleInformation_hi_IN.java,
3487         gnu/java/locale/LocaleInformation_hr_HR.java,
3488         gnu/java/locale/LocaleInformation_hu_HU.java,
3489         gnu/java/locale/LocaleInformation_id_ID.java,
3490         gnu/java/locale/LocaleInformation_it_CH.java,
3491         gnu/java/locale/LocaleInformation_it_IT.java,
3492         gnu/java/locale/LocaleInformation_iw_IL.java,
3493         gnu/java/locale/LocaleInformation_ja_JP.java,
3494         gnu/java/locale/LocaleInformation_ka_GE.java,
3495         gnu/java/locale/LocaleInformation_kl_GL.java,
3496         gnu/java/locale/LocaleInformation_ko_KR.java,
3497         gnu/java/locale/LocaleInformation_kw_GB.java,
3498         gnu/java/locale/LocaleInformation_lt_LT.java,
3499         gnu/java/locale/LocaleInformation_lv_LV.java,
3500         gnu/java/locale/LocaleInformation_mi_NZ.java,
3501         gnu/java/locale/LocaleInformation_mk_MK.java,
3502         gnu/java/locale/LocaleInformation_mr_IN.java,
3503         gnu/java/locale/LocaleInformation_mt_MT.java,
3504         gnu/java/locale/LocaleInformation_nl_BE.java,
3505         gnu/java/locale/LocaleInformation_nl_NL.java,
3506         gnu/java/locale/LocaleInformation_nn_NO.java,
3507         gnu/java/locale/LocaleInformation_no_NO.java,
3508         gnu/java/locale/LocaleInformation_oc_FR.java,
3509         gnu/java/locale/LocaleInformation_pl_PL.java,
3510         gnu/java/locale/LocaleInformation_pt_BR.java,
3511         gnu/java/locale/LocaleInformation_pt_PT.java,
3512         gnu/java/locale/LocaleInformation_ro_RO.java,
3513         gnu/java/locale/LocaleInformation_ru_RU.java,
3514         gnu/java/locale/LocaleInformation_ru_UA.java,
3515         gnu/java/locale/LocaleInformation_se_NO.java,
3516         gnu/java/locale/LocaleInformation_sk_SK.java,
3517         gnu/java/locale/LocaleInformation_sl_SI.java,
3518         gnu/java/locale/LocaleInformation_sq_AL.java,
3519         gnu/java/locale/LocaleInformation_sr_YU.java,
3520         gnu/java/locale/LocaleInformation_sv_FI.java,
3521         gnu/java/locale/LocaleInformation_sv_SE.java,
3522         gnu/java/locale/LocaleInformation_ta_IN.java,
3523         gnu/java/locale/LocaleInformation_te_IN.java,
3524         gnu/java/locale/LocaleInformation_tg_TJ.java,
3525         gnu/java/locale/LocaleInformation_tl_PH.java,
3526         gnu/java/locale/LocaleInformation_tr_TR.java,
3527         gnu/java/locale/LocaleInformation_uk_UA.java,
3528         gnu/java/locale/LocaleInformation_ur_PK.java,
3529         gnu/java/locale/LocaleInformation_uz_UZ.java,
3530         gnu/java/locale/LocaleInformation_vi_VN.java,
3531         gnu/java/locale/LocaleInformation_yi_US.java,
3532         gnu/java/locale/LocaleInformation_zh_CN.java,
3533         gnu/java/locale/LocaleInformation_zh_HK.java,
3534         gnu/java/locale/LocaleInformation_zh_SG.java,
3535         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3536         info; from Classpath.
3537
3538         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3539         isPaintPending): New methods.
3540         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3541         setMaximizedBounds): New methods.
3542         (beginLayout, endLayout, isPaintPending): Likewise.
3543         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3544         (requestFocus): Likewise.
3545         (isObscured): Likewise.
3546         (canDetermineObscurity): Likewise.
3547         (coalescePaintEvent): Likewise.
3548         (updateCursorImmediately): Likewise.
3549         (createVolatileImage): Likewise.
3550         (handlesWheelScrolling): Likewise.
3551         (createBuffers): Likewise.
3552         (getBackBuffer): Likewise.
3553         (flip): Likewise.
3554         (destroyBuffers): Likewise.
3555
3556         * Makefile.in: Rebuilt.
3557         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3558         RobotPeer.java.
3559         * gnu/java/awt/GLightweightPeer.java,
3560         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3561         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3562         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3563         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3564         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3565         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3566         java/awt/dnd/peer/DragSourceContextPeer.java,
3567         java/awt/dnd/peer/DropTargetContextPeer.java,
3568         java/awt/peer/ButtonPeer.java,
3569         java/awt/peer/CheckboxMenuItemPeer.java,
3570         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3571         java/awt/peer/ComponentPeer.java,
3572         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3573         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3574         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3575         java/awt/peer/MenuBarPeer.java,
3576         java/awt/peer/MenuComponentPeer.java,
3577         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3578         java/awt/peer/PopupMenuPeer.java,
3579         java/awt/peer/ScrollPanePeer.java,
3580         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3581         java/awt/peer/TextComponentPeer.java,
3582         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3583         New versions from Classpath.
3584         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3585         * java/awt/peer/RobotPeer.java: Likewise.
3586
3587 2003-03-01  Mark Wielaard  <mark@klomp.org>
3588
3589         * java/io/ObjectInputStream.java: Reindent.
3590         * java/io/ObjectOutputStream.java: Likewise.
3591
3592 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3593
3594         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3595         jvalue for each argument. Simplify.
3596         * testsuite/libjava.jni/calls.c (docall),
3597         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3598         misalignment.
3599
3600 2003-02-28  Mark Wielaard  <mark@klomp.org>
3601
3602         * Makefile.am (nat_source_files): Remove
3603         java/io/natObjectOutputStream.cc.
3604         * Makefile.in: Regenerated.
3605         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3606         * java/io/ObjectStreamField.java (typename): New field.
3607         (ObjectStreamField(String, Class)): Initialize new field.
3608         (ObjectStreamField(String, String)): New Constructor.
3609         (getTypeCode): Use new field.
3610         (getTypeString): Use new field.
3611         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3612         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3613         Handle reading of Proxy classes. Never drain(), just write
3614         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3615         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3616         (flush): Call flush(), not just drain().
3617         (writeBoolean): Always use blockDataOutput.
3618         (writeByte): Likewise.
3619         (writeShort): Likewise.
3620         (writeChar): Likewise.
3621         (writeInt): Likewise.
3622         (writeLong): Likewise.
3623         (writeFloat): Likewise.
3624         (writeDouble): Likewise.
3625         (writeBytes): Likewise.
3626         (putfield (put(String,Object))): Throw IllegalArgumentException if
3627         field cannot be found.
3628         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3629         (writeArraySizeAndElements): Write byte[] in one go.
3630         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3631         set BlockDataMode to false.
3632         (annotateProxyClass): New method.
3633         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3634         (getField): No longer native.
3635         (getMethod): Likewise.
3636         (setBlockDataMode): Always drain() on switch, return old mode.
3637         (static): New static code block.
3638         * java/io/natObjectOutputStream.cc: Removed.
3639         * java/io/ObjectInputStream.java (getField): No longer native.
3640         (getMethod): Likewise.
3641         (readObject): Remember and reset old BlockDataMode. Track whether
3642         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3643         TC_LONGSTRING.
3644         (defaultReadObject): Set BlockDataMode to false during readFields.
3645         (resolveClass): Create new SecurityManager if necessary.
3646         Use Class.forName() if null ClassLoader found.
3647         (read(byte[],int,int): Copy remaining bytes to data before calling
3648         readNextBlock().
3649         (readFields): Set and reset BlockDataMode on call_read_method.
3650         Catch NoSuchFieldErrors.
3651         (setBlockDataMode): Return old mode.
3652         (static): New static code block.
3653         * java/io/natObjectInputStream.cc (getField): Removed.
3654         (getMethod): Likewise.
3655
3656 2003-02-27  Michael Koch  <konqueror@gmx.de>
3657
3658         * java/beans/Beans.java,
3659         java/beans/FeatureDescriptor.java
3660         java/beans/PropertyEditorManager.java:
3661         Reformated to GNU style.
3662
3663 2003-02-25  Michael Koch  <konqueror@gmx.de>
3664
3665         * gnu/java/nio/MappedByteFileBuffer.java,
3666         gnu/java/nio/natMappedByteFileBuffer.cc:
3667         New files, both are not compiled yet to get not noncompiling CVS.
3668
3669 2003-02-24  Tom Tromey  <tromey@redhat.com>
3670
3671         * java/util/prefs/AbstractPreferences.java (isUserNode):
3672         Implemented.
3673
3674 2003-02-24  Tom Tromey  <tromey@redhat.com>
3675
3676         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3677         Deprecate.
3678         * java/lang/Thread.java (resume): Deprecate.
3679         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3680         in @deprecated.
3681
3682 2003-02-23  Tom Tromey  <tromey@redhat.com>
3683
3684         * Makefile.in: Rebuilt.
3685         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3686
3687 2003-02-23  Tom Tromey  <tromey@redhat.com>
3688
3689         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3690         libraries): Removed.
3691         (add_library): Removed.
3692         (_load): Don't call add_library.
3693         (loadLibraryInternal): Likewise.
3694         (init): Likewise.
3695         (lookup_data): New struct.
3696         (find_symbol): New function.
3697         (_Jv_FindSymbolInExecutable): Use it.
3698
3699 2002-02-21  Anthony Green  <green@redhat.com>
3700
3701         * java/lang/Thread.java (Thread): New constructor taking stack
3702         size parameter (ignored for now).
3703         * Many methods: Merged GNU Classpath documentation.
3704
3705         * java/lang/Class.java (finalize): throws a Throwable.
3706
3707 2003-02-21  Mark Wielaard  <mark@klomp.org>
3708
3709         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3710         argument is null.
3711
3712 2003-02-21  Mark Wielaard  <mark@klomp.org>
3713
3714         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3715         then 65535 chars throw IllegalArgumentException.
3716
3717 2003-02-21  Mark Wielaard  <mark@klomp.org>
3718
3719         * java/util/zip/ZipFile.java (finalize): New method.
3720
3721 2003-02-21  Michael Koch  <konqueror@gmx.de>
3722
3723         * gnu/java/nio/natSocketChannelImpl.cc:
3724         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3725         <cato@df.lth.se> for pointing to it.
3726
3727 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3728
3729         * java/math/BigInteger.java (euclidInv): Take result array as an
3730         argument.  Updated all callers.
3731         (modInverse): Removed unused variables.
3732
3733 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3734
3735         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3736         config.status.
3737         * configure: Rebuilt.
3738
3739 2003-02-19  Michael Koch  <konqueror@gmx.de>
3740
3741         * gnu/java/nio/natSocketChannelImpl.cc:
3742         Added support for platforms without network support.
3743
3744 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3745
3746         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3747         after config.h.  Use <> for consistency.
3748         * java/lang/natObject.cc: Likewise.
3749         * java/lang/natRuntime.cc: Likewise.
3750         * java/lang/natSystem.cc: Likewise.
3751         * java/util/natTimeZone.cc: Likewise.
3752         * win32.cc: Likewise.
3753         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3754         listen, write, read): Undef to avoid interference from OS macros.
3755
3756 2003-02-19  Michael Koch  <konqueror@gmx.de>
3757
3758         * gnu/java/nio/ByteBufferImpl.java
3759         (ByteBufferImpl): Renamed two variables.
3760         * gnu/java/nio/CharBufferImpl.java
3761         (CharBufferImpl): Renamed two variables.
3762         * gnu/java/nio/DoubleBufferImpl.java
3763         (DoubleBufferImpl): Renamed two variables.
3764         * gnu/java/nio/FloatBufferImpl.java
3765         (FloatBufferImpl): Renamed two variables.
3766         * gnu/java/nio/IntBufferImpl.java
3767         (IntBufferImpl): Renamed two variables.
3768         * gnu/java/nio/LongBufferImpl.java
3769         (LongBufferImpl): Renamed two variables.
3770         * gnu/java/nio/ShortBufferImpl.java
3771         (ShortBufferImpl): Renamed two variables.
3772         * java/nio/CharBuffer.java
3773         (wrap): Fixed arguments to CharBufferImpl constructor.
3774         (hasArray): Only not read-only buffers have backing arrays.
3775         (length): Documentation added.
3776         (subSequence): Documentation added.
3777         * java/nio/DoubleBuffer.java
3778         (hasArray): Only not read-only buffers have backing arrays.
3779         * java/nio/FloatBuffer.java
3780         (hasArray): Only not read-only buffers have backing arrays.
3781         * java/nio/IntBuffer.java
3782         (hasArray): Only not read-only buffers have backing arrays.
3783         * java/nio/LongBuffer.java
3784         (hasArray): Only not read-only buffers have backing arrays.
3785         * java/nio/ShortBuffer.java
3786         (hasArray): Only not read-only buffers have backing arrays.
3787         
3788 2003-02-19  Michael Koch  <konqueror@gmx.de>
3789
3790         * javax/accessibility/AccessibleContext.java
3791         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3792
3793 2003-02-19  Michael Koch  <konqueror@gmx.de>
3794
3795         * java/awt/ScrollPaneAdjustable.java: Reformated.
3796
3797 2003-02-19  Michael Koch <konqueror@gmx.de>
3798
3799         * gnu/awt/j2d/Graphics2DImpl.java
3800         (getFontRenderContext): New method.
3801         (drawGlyphVector): New method.
3802         * java/awt/Graphics2D.java
3803         (getFontRenderContext): New abstract method.
3804         (drawGlyphVector): New abstract method.
3805         
3806 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3807
3808         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3809         if necessary.
3810         
3811         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3812         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3813         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3817         (setFont, gtkSetFont): add.
3818         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3819         Propagate font to peer.  (setFont): add FIXME comment.
3820
3821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3822         (gtkTextGetSize): fix height, width computation.
3823
3824         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3825         Make X font name a bit less bogus.
3826
3827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3828         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3829
3830         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3831         (processAdjustmentEvent): Adjust value.
3832
3833         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3834         logic errors.
3835
3836         * java/awt/Component.java (setVisible, show, hide): Call show and
3837         hide methods in subclasses.
3838         (getPreferredSize): don't set prefSize before we have peer.
3839
3840         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3841         Guess (0,0) if we don't have peer.
3842
3843
3844 2003-02-18  Michael Koch  <konqueror@gmx.de>
3845
3846         * java/nio/channels/FileChannel.java
3847         (toString): New implementation, added documentation.
3848         (map): Added exception documentation.
3849         (size): Added exception documentation.
3850         (write): New methods, documentation work.
3851         (read): New methods, documentation work.
3852         (implCloseChannel): Rewrote exception documentation.
3853         (force): Throws IOException, added documentation.
3854         (lock): New methods.
3855         (tryLock): New methods.
3856         (position): New methods.
3857         (transferTo): New method.
3858         (transferFrom): New method.
3859         (truncate): New method.
3860         * java/nio/channels/spi/SelectorProvider.java
3861         (provider): Implemented.
3862         * Makefile.am
3863         (ordinary_java_source_files): Added the following files:
3864         gnu/java/nio/DatagramChannelImpl.java
3865         gnu/java/nio/FileChannelImpl.java
3866         gnu/java/nio/PipeImpl.java
3867         gnu/java/nio/SelectionKeyImpl.java
3868         gnu/java/nio/SelectorImpl.java
3869         gnu/java/nio/SelectorProviderImpl.java
3870         gnu/java/nio/ServerSocketChannelImpl.java
3871         gnu/java/nio/SocketChannelImpl.java
3872         java/nio/channels/FileLock.java
3873         (nat_java_source_files): Added the following files:
3874         gnu/java/nio/natFileChannelImpl.cc
3875         gnu/java/nio/natSelectorImpl.cc
3876         gnu/java/nio/natSocketChannelImpl.cc
3877         * Makefile.in: Regenerated.
3878
3879 2003-02-17  Tom Tromey  <tromey@redhat.com>
3880
3881         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3882         * java/awt/image/ImageFilter.java: Likewise.
3883
3884 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3885
3886         * java/math/BigInteger.java (euclidInv): Return array of
3887         `BigInteger's.  Changed all callers.
3888
3889 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3890
3891         * java/util/Properties.java (store): Move the code formerly in
3892         list(), into this method.
3893         (list (PrintStream)): Just call list (PrintWriter) with a 
3894         PrintWriter object constructed from the given PrintStream object.
3895         (list (PrintWriter)): Emulate the output of Properties.list()
3896         as found in JDK 1.3/1.4.
3897
3898 2003-02-17  Michael Koch  <konqueror@gmx.de>
3899
3900         * java/net/DatagramSocket.java
3901         (connect): Merged with classpath.
3902         (disconnect): Merged documentation with classpath.
3903         (receice): Merged documentation with classpath.
3904         (send): Merged documentation with classpath.
3905         
3906 2003-02-17  Michael Koch  <konqueror@gmx.de>
3907
3908         * java/awt/dnd/DragSourceContext.java
3909         (addDragSourceListener): Added documentation.
3910         * java/awt/dnd/DragSourceDragEvent.java
3911         (serialVersionUID): New member variable.
3912         (getDropAction): Reformated.
3913         * java/awt/dnd/DragSourceDropEvent.java
3914         (serialVersionUID): New member variable.
3915         (dropSuccess): Renamed from success for serialization issues.
3916         * java/awt/dnd/DragSourceEvent.java
3917         (serialVersionUID): New member variable.
3918         * java/awt/dnd/DropTarget.java
3919         (serialVersionUID): New member variable.
3920         (DropTarget): Implemented, documentation reworked.
3921         (setComponent): Documentation added.
3922         (getComponent): Documentation added.
3923         (setDefaultActions): Documentation added.
3924         (getDefaultActions): Documentation added.
3925         (addDropTargetListener): Documentation added.
3926         * java/awt/dnd/DropTargetContext.java
3927         (DropTargetContext): Documentation added.
3928         (TransferableProxy.TransferableProxy): New method.
3929         (dropComplete): Fixed documentation.
3930         (getTransferable): Fixed documentation.
3931         (createTransferableProxy): Implemented.
3932         * java/awt/dnd/DropTargetDragEvent.java
3933         (DropTargetDragEvent): Documentation added.
3934         (serialVersionUID): New member variable.
3935         (DropTargetDragEvent): Throw exceptions, documentation added.
3936         (acceptDrag): Implemented.
3937         (getCurrentDataFlavors): Implemented.3yy
3938         (getCurrentDataFlavorsAsList): Implemented.
3939         (isDataFlavorSupported): Implemented.
3940         (rejectDrag): Implemented.
3941         * java/awt/dnd/DropTargetDropEvent.java
3942         (DropTargetDropEvent): Documentation added.
3943         (serialVersionUID): New member variable.
3944         (actions): Renamed from srcActions for serialization issues.
3945         (isLocalTx): Renamed from isLocalTx for serialization issues.
3946         (DropTargetDropEvent): New implementation, throw exceptions,
3947         documentation added.
3948         (getCurrentDataFlavors): Implemented.
3949         (getCurrentDataFlavorsAsList): Implemented.
3950         (isDataFlavorSupported): Implemented.
3951         (getSourceActions): Implemented.
3952         (getDropAction): Implemented.
3953         (getTransferable): Implemented.
3954         (acceptDrop): Implemented.
3955         (rejectDrop): Implemented.
3956         * java/awt/dnd/DropTargetListener.java
3957         (drop): Fixed documentation.
3958         * java/awt/dnd/MouseDragGestureRecognizer.java
3959         (MouseDragGestureRecognizer): Documentation added.
3960
3961 2003-02-17  Michael Koch  <konqueror@gmx.de>
3962
3963         * java/awt/font/FontRenderContext.java,
3964         java/awt/font/ShapeGraphicAttribute.java,
3965         java/awt/font/MultipleMaster.java,
3966         java/awt/font/TransformAttribute.java,
3967         java/awt/font/GlyphJustificationInfo.java,
3968         java/awt/font/LineBreakMeasurer.java,
3969         java/awt/font/TextMeasurer.java,
3970         java/awt/font/TextLayout.java,
3971         java/awt/font/LineMetrics.java,
3972         java/awt/font/TextAttribute.java,
3973         java/awt/font/GlyphMetrics.java,
3974         java/awt/font/OpenType.java,
3975         java/awt/font/GlyphVector.java,
3976         java/awt/font/GraphicAttribute.java,
3977         java/awt/font/ImageGraphicAttribute.java,
3978         java/awt/font/NumericShaper.java: New files.
3979         * Makefile.am
3980         (awt_java_source_files): Added the following files:
3981         java/awt/font/FontRenderContext.java
3982         java/awt/font/ShapeGraphicAttribute.java
3983         java/awt/font/MultipleMaster.java
3984         java/awt/font/TransformAttribute.java
3985         java/awt/font/GlyphJustificationInfo.java
3986         java/awt/font/LineBreakMeasurer.java
3987         java/awt/font/TextMeasurer.java
3988         java/awt/font/TextLayout.java
3989         java/awt/font/LineMetrics.java
3990         java/awt/font/TextAttribute.java
3991         java/awt/font/GlyphMetrics.java
3992         java/awt/font/OpenType.java
3993         java/awt/font/GlyphVector.java
3994         java/awt/font/GraphicAttribute.java
3995         java/awt/font/ImageGraphicAttribute.java
3996         java/awt/font/NumericShaper.java
3997         * Makefile.in: Regenerated.
3998
3999 2003-02-17  Michael Koch  <konqueror@gmx.de>
4000
4001         * java/awt/print/Paper.java
4002         (Paper): Implements Cloneable.
4003         * java/awt/print/PrinterJob.java
4004         (setJobName): Return value must be void.
4005         (print): Throws PrinterException.
4006         
4007 2003-02-16  Tom Tromey  <tromey@redhat.com>
4008
4009         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4010         variable.
4011
4012 2003-02-15  Michael Koch  <konqueror@gmx.de>
4013
4014         * java/awt/datatransfer/DataFlavor.java
4015         (isRepresentationClassByteBuffer): Removed try-catch block.
4016         (isRepresentationClassCharBuffer): Removed try-catch block.
4017         (isRepresentationClassReader): Removed try-catch block.
4018
4019 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4020
4021         * java/nio/charset/Charset.java
4022         (isRegistered): Fixed method args and implementation.
4023         * java/nio/charset/CharsetEncoder.java
4024         (unmappableCharacterAction): New method.
4025
4026 2003-02-15  Michael Koch  <konqueror@gmx.de>
4027
4028         * java/awt/CheckboxMenuItem.java
4029         (CheckBoxMenuItem): Dont implement Serializable.
4030         (getListeners): New method,
4031         (getItemListeners): New method.
4032         * java/awt/Choice.java
4033         (getListeners): New method,
4034         (getItemListeners): New method.
4035         * java/awt/Container.java
4036         (getListeners): Added exception documentation.
4037         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4038         (getFocusTraversalKeys): Added documentation.
4039         (areFocusTraversalKeysSet): Added documentation.
4040         (applyComponentOrientation): Added documentation.
4041         * java/awt/ContainerOrderFocusTraversalPolicy.java
4042         (implicitDownCycleTraversal): Renamed from downCycle for
4043         serialization.
4044         (ContainerOrderFocusTraversalPolicy): Added documentation.
4045         (accept): Reformated.
4046         * java/awt/Dialog.java
4047         (Dialog): Dont implement Serializable.
4048         (Dialog): Added documentation.
4049         * java/awt/Font.java
4050         (Font): Dont use absolute class name.
4051         * java/awt/Frame.java
4052         (Frame): Font implement Serializable.
4053         * java/awt/List.java
4054         (getListeners): New method,
4055         (getActionListeners): New method.       
4056         (getItemListeners): New method.
4057         * java/awt/Menu.java
4058         (countItems): New deprecated method.
4059         * java/awt/Scrollbar.java
4060         (getListeners): New method,
4061         (getAdjustmentListeners): New method,
4062         * java/awt/TextComponent.java
4063         (getListeners): New method,
4064         (getTextListeners): New method,
4065         * java/awt/TextField.java
4066         (getListeners): New method,
4067         (getActionListeners): New method.       
4068         * java/awt/Window.java
4069         (windowFocusListener): New member variable.
4070         (windowStateListener): New member variable.
4071         (getWindowFocusListeners): New method.
4072         (getWindowStateListeners): New method.
4073         (addWindowFocusListener): New method.
4074         (addWindowStateListener): New method.
4075         (removeWindowFocusListener): New method.
4076         (removeWindowStateListener): New method.
4077         * java/awt/datatransfer/DataFlavor.java
4078         (isRepresentationClassByteBuffer): New method.
4079         (isRepresentationClassCharBuffer): New method.
4080         (isRepresentationClassReader): New method.
4081
4082 2003-02-14  Mark Wielaard  <mark@klomp.org>
4083
4084         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4085         zero when there is an exponent and the significant is zero.
4086         (divide): Always set scale to newScale even in special ZERO case.
4087
4088 2003-02-14  Tom Tromey  <tromey@redhat.com>
4089
4090         * java/lang/System.java (properties): Use Properties.clone.
4091         (setProperties): Likewise.
4092
4093 2003-02-14  Michael Koch  <konqueror@gmx.de>
4094
4095         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4096         * gnu/java/nio/ServerSocketChannelImpl.java
4097         (SocketAccept): Removed.
4098         (accept): Commented out use of SocketAccept.
4099
4100 2003-02-13  Tom Tromey  <tromey@redhat.com>
4101
4102         * verify.cc (state::seen_subrs): New field.
4103         (state::state): Initialize it.
4104         (state::clean_subrs): New method.
4105         (state::~state): Call it.
4106         (state::copy): Copy subroutine list.
4107         (state::add_subr): New method.
4108         (state::merge): Only register a change if the current subroutine
4109         hasn't yet been noted.
4110
4111 2003-02-13  Mark Wielaard  <mark@klomp.org>
4112
4113         * java/io/InputStreamReader.java (getEncoding): Return null when
4114         closed.
4115         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4116
4117 2003-02-13  Mark Wielaard  <mark@klomp.org>
4118  
4119         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4120         is zero.
4121
4122 2003-02-13  Mark Wielaard  <mark@klomp.org>
4123
4124         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4125         next byte cannot be buffered.
4126
4127 2003-02-13  Michael Koch  <konqueror@gmx.de>
4128  
4129         * java/awt/Label.java
4130         (Label): Don't implement Serializable directly.
4131         (addNotify): Fixed typo in documentation.
4132         * java/awt/List.java
4133         (List): Don't implement Serializable directly.
4134         * java/awt/PopupMenu.java
4135         (PopupMenu): Don't implement Serializable directly.
4136         * java/awt/ScrollPane.java
4137         (ScrollPane): Don't implement Serializable directly.
4138         * java/awt/Scrollbar.java
4139         (Scrollbar): Don't implement Serializable directly.
4140         * java/awt/TextArea.java
4141         (preferredSize): Fixed method arguments.
4142         * java/awt/TextField.java
4143         (TextField): Don't implement Serializable directly.
4144         * java/awt/color/ICC_ColorSpace.java
4145         (fromCIOXYZ): Documentation added.
4146         (getMinValue): Documentation added.
4147         (getMaxValue): Documentation added.
4148         * java/awt/datatransfer/DataFlavor.java
4149         (isMimeTypeEqual): May not be final.
4150         (clone): Throws CloneNotSupportedException.
4151         (getReaderForText): Don't throws UnsupportedEncodingException.
4152
4153 2003-02-13  Michael Koch  <konqueror@gmx.de>
4154  
4155         * gnu/java/awt/peer/gtk/GdkGraphics.java
4156         (drawString): New stubbed method.
4157         * java/awt/Graphics.java
4158         (drawString): New method.
4159
4160 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4161
4162         PR libgcj/9271:
4163         * java/security/SecureRandom.java (next): Avoid bias in results.
4164
4165 2003-02-13  Michael  <konqueror@gmx.de>
4166
4167         * gnu/java/nio/FileChannelImpl.java
4168         (lengthInternal): Must be native.
4169         (size): Check if channel is already closed.
4170         (implCloseChannel): Reformated.
4171         (read): w was unused, removed it.
4172         (read): Removed.
4173         (read): New method.
4174         (write): New method.
4175         (map): Check arguments.
4176         (force): Throws IOException, check if channel is closed.
4177         (transferTo): New method.
4178         (transferFrom): New method.
4179         (lock): New method.
4180         (tryLock): New method.
4181         (position): New method.
4182         (truncate): New method.
4183         (nio_mmap_file): Uncommented.
4184         (nio_munmap_file): Uncommented.
4185         (nio_msync): Uncommented.
4186         * gnu/java/nio/natFileChannelImpl.cc: New file.
4187         
4188 2003-02-13  Michael Koch  <konqueror@gmx.de>
4189
4190         * java/nio/ByteBuffer.java
4191         (endian): New member variable.
4192         (get): New methods.
4193         (equals): New method.
4194         (compareTo): New method.
4195         (order): New methods.
4196         (compact): New method.
4197         (isDirect): New method.
4198         (slice): New method.
4199         (duplicate): New method.
4200         (asReadOnlyBuffer): New method.
4201         (asCharBuffer): New method.
4202         (asDoubleBuffer): New method.
4203         (asFloatBuffer): New method.
4204         (asIntBuffer): New method.
4205         (asLongBuffer): New method.
4206         (asShortBuffer): New method.
4207         (get*): New methods.
4208         (put*): New methods.
4209         (toString): New method.
4210         * java/nio/CharBuffer.java
4211         (CharBuffer): Implement Comparable instead of Cloneable.
4212         (get): May not be final.
4213         (put): May not be final.
4214         
4215 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4216
4217         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4218         lastIndexOf( ) instead of indexOf( ) to find the colon before
4219         the line number, because Win32 file names might contain a 
4220         drive letter and a colon at the start of an absolute path.
4221
4222 2003-02-13  Michael Koch  <konqueror@gmx.de>
4223
4224         * gnu/java/nio/natSocketChannelImpl.cc
4225         (SocketConnect): This is not implemented yet.
4226         (SocketBind): This is not implemented yet.
4227
4228 2003-02-13  Michael Koch  <konqueror@gmx.de>
4229
4230         * gnu/java/nio/natByteBufferImpl.cc,
4231         gnu/java/nio/natCharBufferImpl.cc,
4232         gnu/java/nio/natDoubleBufferImpl.cc,
4233         gnu/java/nio/natFloatBufferImpl.cc,
4234         gnu/java/nio/natIntBufferImpl.cc,
4235         gnu/java/nio/natLongBufferImpl.cc,
4236         gnu/java/nio/natShortBufferImpl.cc:
4237         Added copyright and license.
4238         * java/nio/DoubleBuffer.java,
4239         java/nio/FloatBuffer.java,
4240         java/nio/IntBuffer.java,
4241         java/nio/LongBuffer.java,
4242         java/nio/ShortBuffer.java
4243         (array): Throw exceptions.
4244         (arrayOffset): Throw exceptions.
4245
4246 2003-02-13  Michael Koch  <konqueror@gmx.de>
4247  
4248         * gnu/java/util/prefs/FileBasedFactory.java,
4249         gnu/java/util/prefs/MemmoryBasedFactory.java,
4250         gnu/java/util/prefs/MemoryBasedPreferences.java,
4251         gnu/java/util/prefs/NodeReader.java,
4252         gnu/java/util/prefs/NodeWriter.java,
4253         java/util/prefs/AbstractPreferences.java,
4254         java/util/prefs/BackingStoreException.java,
4255         java/util/prefs/InvalidPreferencesFormatException.java,
4256         java/util/prefs/NodeChangeEvent.java,
4257         java/util/prefs/NodeChangeListener.java,
4258         java/util/prefs/PreferenceChangeEvent.java,
4259         java/util/prefs/PreferenceChangeListener.java,
4260         java/util/prefs/Preferences.java,
4261         java/util/prefs/PreferencesFactory.java:
4262         New files, all merged from classpath.
4263         * Makefile.am
4264         (ordinary_java_source_files): Added the following files:
4265         gnu/java/util/prefs/FileBasedFactory.java,
4266         gnu/java/util/prefs/MemmoryBasedFactory.java,
4267         gnu/java/util/prefs/MemoryBasedPreferences.java,
4268         gnu/java/util/prefs/NodeReader.java,
4269         gnu/java/util/prefs/NodeWriter.java,
4270         (core_java_source_files): Added the following files:
4271         java/util/prefs/AbstractPreferences.java,
4272         java/util/prefs/BackingStoreException.java,
4273         java/util/prefs/InvalidPreferencesFormatException.java,
4274         java/util/prefs/NodeChangeEvent.java,
4275         java/util/prefs/NodeChangeListener.java,
4276         java/util/prefs/PreferenceChangeEvent.java,
4277         java/util/prefs/PreferenceChangeListener.java,
4278         java/util/prefs/Preferences.java,
4279         java/util/prefs/PreferencesFactory.java
4280         * Makefile.in: Regenerated.
4281  
4282 2003-02-13  Michael Koch  <konqueror@gmx.de>
4283
4284         * java/net/NetPermission.java
4285         (NetPermission): Make doucmentation match the method declaration.
4286         * java/net/NetworkInterface.java
4287         (equals): Reformated for GNU coding style.
4288         * java/net/ServerSocket.java: Merged with classpath.
4289         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4290         * java/net/SocketImpl.java
4291         (localPort): Merged with classpath (initialize with -1).
4292         * java/net/SocketPermission.java: Merged with classpath (reindented).
4293         * java/net/URLDecoder.java: Merged with classpath (reindented).
4294
4295 2003-02-13  Michael Koch  <konqueror@gmx.de>
4296
4297         * java/awt/GridBagConstraints.java
4298         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4299         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4300         * java/awt/KeyboardFocusManager.java
4301         (setGlobalCurrentFocusCycleRoot): Must be public.
4302         * java/awt/MenuComponent.java
4303         (MenuComponent): Must be public.
4304         * java/awt/Toolkit.java:
4305         Added some empty lines to make documentation more readable.
4306         (getFontPeer): Added @deprecated.
4307         (getColorModel): Added exception documentation.
4308         (getProperty): Fixed documentation.
4309  
4310 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4311
4312         * configure.host (alpha*-*): Default to -mieee.
4313         * configure.in (IEEESPEC): New.
4314         * libgcj.spec.in (jc1): Add IEEESPEC.
4315         * configure: Rebuild.
4316
4317 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4318
4319         * include/win32.h: Include ws2tcpip.h instead of
4320         winsock.h to obtain definition of the socklen_t type.
4321         Remove IP_TOS definition - not needed with ws2tcpip.h
4322         (_Jv_connect): Correct slight formatting error.
4323
4324 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4325
4326         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4327         size of the arguments for a JNI function. For Win32,
4328         modify to search for all forms of possible exported
4329         names of an stdcall JNI function.
4330         (_Jv_JNIMethod::call): Modify to calculate the size
4331         of the arguments passed to a JNI function and pass
4332         it to _Jv_LookupJNIMethod.
4333
4334 2003-02-12  Michael Koch  <konqueror@gmx.de>
4335
4336         * java/nio/channels/Channels.java: New file.
4337         * Makefile.am
4338         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4339         * Makefile.in: Regenerated.
4340
4341 2003-02-12  Michael Koch  <konqueror@gmx.de>
4342
4343         * java/nio/ByteBuffer.java
4344         (allocate): Implemented.
4345         (wrap): Implemented.
4346         * java/nio/CharBuffer.java:
4347         Some documentation added and reworked.
4348         (endian): Removed.
4349         (allocate): Implemented.
4350         (wrap): Implemented.
4351         (array): Throw exceptions.
4352         (arrayOffset): Throw exceptions.
4353         (toString): Implemented.
4354         (length): Implemented.
4355         (put): Implemented.
4356         (charAt): Implemented.
4357
4358 2003-02-11  John Leuner  <jewel@debian.org>
4359
4360         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4361         reads from end of file.
4362
4363 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4364
4365         * java/io/natFileDescriptorWin32.cc 
4366         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4367         returns with Win32 error code ERROR_BROKEN_PIPE.
4368
4369 2003-02-11  Michael Koch  <konqueror@gmx.de>
4370
4371         * Makefile.in
4372         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4373
4374 2003-02-11  Michael Koch  <konqueror@gmx.de>
4375
4376         * gnu/java/nio/ByteBufferImpl.java:
4377         Reformated and removed some code.
4378         (backing_buffer): Removed.      
4379         (array_offset): Removed.
4380         (ro): Renamed to readOnly.
4381         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4382         * gnu/java/nio/CharBufferImpl.java:
4383         Reformated and removed some code.
4384         (array_offset): Removed.
4385         (ro): Renamed to readOnly.
4386         (CharBufferImpl): Use parent constructor, initialize readOnly.
4387         (inc_pos): Removed.
4388         (order): New method.
4389         * gnu/java/nio/DoubleBufferImpl.java:
4390         Reformated and removed some code.
4391         (array_offset): Removed.
4392         (ro): Renamed to readOnly.
4393         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4394         (inc_pos): Removed.
4395         (order): New method.
4396         * gnu/java/nio/FloatBufferImpl.java:
4397         Reformated and removed some code.
4398         (array_offset): Removed.
4399         (ro): Renamed to readOnly.
4400         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4401         (inc_pos): Removed.
4402         (order): New method.
4403         * gnu/java/nio/IntBufferImpl.java:
4404         Reformated and removed some code.
4405         (array_offset): Removed.
4406         (ro): Renamed to readOnly.
4407         (IntBufferImpl): Use parent constructor, initialize readOnly.
4408         (inc_pos): Removed.
4409         (order): New method.
4410         * gnu/java/nio/LongBufferImpl.java:
4411         Reformated and removed some code.
4412         (array_offset): Removed.
4413         (ro): Renamed to readOnly.
4414         (LongBufferImpl): Use parent constructor, initialize readOnly.
4415         (inc_pos): Removed.
4416         (order): New method.
4417         * gnu/java/nio/ShortBufferImpl.java:
4418         Reformated and removed some code.
4419         (array_offset): Removed.
4420         (ro): Renamed to readOnly.
4421         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4422         (inc_pos): Removed.
4423         (order): New method.
4424         * Makefile.am
4425         (ordinary_java_source_files): Added the following files:
4426         gnu/java/nio/ByteBufferImpl.java
4427         gnu/java/nio/CharBufferImpl.java
4428         gnu/java/nio/DoubleBufferImpl.java
4429         gnu/java/nio/FloatBufferImpl.java
4430         gnu/java/nio/IntBufferImpl.java
4431         gnu/java/nio/LongBufferImpl.java
4432         gnu/java/nio/ShortBufferImpl.java
4433         java/nio/DoubleBuffer.java
4434         java/nio/FloatBuffer.java
4435         java/nio/IntBuffer.java
4436         java/nio/LongBuffer.java
4437         java/nio/ShortBuffer.java
4438         (nat_source_files): Added the following files:
4439         gnu/java/nio/natByteBufferImpl.cc
4440         gnu/java/nio/natCharBufferImpl.cc
4441         gnu/java/nio/natDoubleBufferImpl.cc
4442         gnu/java/nio/natFloatBufferImpl.cc
4443         gnu/java/nio/natIntBufferImpl.cc
4444         gnu/java/nio/natLongBufferImpl.cc
4445         gnu/java/nio/natShortBufferImpl.cc
4446         * Makefile.in: Regenerated.
4447
4448 2003-02-11  Michael Koch  <konqueror@gmx.de>
4449
4450         * gnu/java/nio/natCharBufferImpl.cc
4451         (nio_cast): Removed.
4452         (nio_put_*): Removed.
4453         (nio_get_*): Removed.
4454         * gnu/java/nio/natDoubleBufferImpl.cc
4455         (nio_cast): Removed.
4456         (nio_put_*): Removed.
4457         (nio_get_*): Removed.
4458         * gnu/java/nio/natFloatBufferImpl.cc
4459         (nio_cast): Removed.
4460         (nio_put_*): Removed.
4461         (nio_get_*): Removed.
4462         * gnu/java/nio/natIntBufferImpl.cc
4463         (nio_cast): Removed.
4464         (nio_put_*): Removed.
4465         (nio_get_*): Removed.
4466         * gnu/java/nio/natLongBufferImpl.cc
4467         (nio_cast): Removed.
4468         (nio_put_*): Removed.
4469         (nio_get_*): Removed.
4470         * gnu/java/nio/natShortBufferImpl.cc
4471         (nio_cast): Removed.
4472         (nio_put_*): Removed.
4473         (nio_get_*): Removed.
4474         * gnu/java/nio/SelectorProviderImpl.java
4475         (openDatagramChannel): Throws IOException.
4476         (openPipe): Throws IOException.
4477         (openSelector): Throws IOException.
4478         (openServerSocketChannel): Throws IOException.
4479         (openSocketChannel): Throws IOException.
4480         * gnu/java/nio/ServerSocketChannelImpl.java
4481         (ServerSocketChannelImpl): Throws IOException.
4482         (implCloseSelectableChannel): Throws IOException.
4483         (implConfigureBlocking): Throws IOException.
4484         * java/nio/ByteBuffer.java
4485         (readOnly): Removed.
4486         (hasArray): Use isReadOnly() instead of readOnly.
4487         (array): Use isReadOnly() instead of readOnly.
4488         (arrayOffset): Use isReadOnly() instead of readOnly.
4489         * java/nio/CharBuffer.java
4490         (CharBuffer): Implements Cloneable and CharSequence.
4491
4492 2003-02-11  Michael Koch  <konqueror@gmx.de>
4493
4494         * java/nio/DoubleBuffer.java
4495         (DoubleBuffer): Implements Comparable.
4496         (endian): Removed.
4497         (array_offset): New member variable.
4498         (DoubleBuffer): New constuctor.
4499         (get): May not be final.
4500         (put): May not be final.
4501         (arrayOffset): Implemented.
4502         (order): Made abstract.
4503         (order): Removed.
4504         (as*Buffer): Removed.
4505         (get*): Removed.
4506         (put*): Removed.
4507         * java/nio/FloatBuffer.java
4508         (FloatBuffer): Implements Comparable.
4509         (endian): Removed.
4510         (array_offset): New member variable.
4511         (FloatBuffer): New constuctor.
4512         (get): May not be final.
4513         (put): May not be final.
4514         (arrayOffset): Implemented.
4515         (order): Made abstract.
4516         (order): Removed.
4517         (as*Buffer): Removed.
4518         (get*): Removed.
4519         (put*): Removed.
4520         * java/nio/IntBuffer.java
4521         (IntBuffer): Implements Comparable.
4522         (endian): Removed.
4523         (array_offset): New member variable.
4524         (IntBuffer): New constuctor.
4525         (get): May not be final.
4526         (put): May not be final.
4527         (arrayOffset): Implemented.
4528         (order): Made abstract.
4529         (order): Removed.
4530         (as*Buffer): Removed.
4531         (get*): Removed.
4532         (put*): Removed.
4533         * java/nio/LongBuffer.java
4534         (LongBuffer): Implements Comparable.
4535         (endian): Removed.
4536         (array_offset): New member variable.
4537         (LongBuffer): New constuctor.
4538         (get): May not be final.
4539         (put): May not be final.
4540         (arrayOffset): Implemented.
4541         (order): Made abstract.
4542         (order): Removed.
4543         (as*Buffer): Removed.
4544         (get*): Removed.
4545         (put*): Removed.
4546         * java/nio/ShortBuffer.java
4547         (ShortBuffer): Implements Comparable.
4548         (endian): Removed.
4549         (array_offset): New member variable.
4550         (ShortBuffer): New constuctor.
4551         (get): May not be final.
4552         (put): May not be final.
4553         (arrayOffset): Implemented.
4554         (order): Made abstract.
4555         (order): Removed.
4556         (as*Buffer): Removed.
4557         (get*): Removed.
4558         (put*): Removed.
4559
4560 2003-02-11   Michael Koch  <konqueror@gmx.de>
4561
4562         * java/nio/channels/SelectionKey.java
4563         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4564         values.
4565
4566 2003-02-11  Michael Koch  <konqueror@gmx.de>
4567
4568         * java/nio/channels/DatagramChannel.java
4569         (write): Throws IOException.
4570         (connect): Throws IOException.
4571         (disconnect): Throws IOException.
4572         (read): Throws IOException.
4573         (receive): Throws IOException.
4574         (send): Throws IOException.
4575         * java/nio/channels/Pipe.java
4576         (open): Throws IOException.
4577         * java/nio/channels/SelectableChannel.java
4578         (configureBlocking): Throws IOException.
4579         * java/nio/channels/ServerSocketChannel.java
4580         (accept): Throws IOException.
4581         * java/nio/channels/SocketChannel.java
4582         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4583         GatheringByteChannel.
4584         (read): Throws IOException.
4585         (write): Throws IOException.
4586         (finishConnect): Throws IOException.
4587         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4588         (end): Throws AsynchronousCloseException.
4589         * java/nio/channels/spi/AbstractSelectableChannel.java
4590         (configureBlocking): Throws IOException.
4591         (implCloseChannel): Throws IOException.
4592         (implCloseSelectableChannel): Throws IOException.
4593         (implConfigureBlocking): Throws IOException.
4594         * java/nio/channels/spi/SelectorProvider.java
4595         (openDatagramChannel): Throws IOException.
4596         (openPipe): Throws IOException.
4597         (openSelector): Throws IOException.
4598         (openServerSocketChannel): Throws IOException.
4599         (openSocketChannel): Throws IOException.
4600
4601 2003-02-11  Michael Koch  <konqueror@gmx.de>
4602
4603         * gnu/java/nio/FileLockImpl.java,
4604         java/nio/channels/FileLock.java: New files.
4605
4606 2003-02-11  Michael Koch  <konqueror@gmx.de>
4607
4608         * java/nio/charset/IllegalCharsetNameException.java
4609         (serialVersionUID): New member variable.
4610         (charsetName): New member variable.
4611         (IllegalCharsetException): New implementation.
4612         (getCharsetName): New implementation.
4613         * java/nio/charset/UnsupportedCharsetException.java
4614         (serialVersionUID): New member variable.
4615         (charsetName): New member variable.
4616         (UnsupportedCharsetException): New implementation.
4617         (getCharsetName): New implementation.
4618
4619 2003-02-10  Tom Tromey  <tromey@redhat.com>
4620
4621         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4622         (ex): Renamed from sqlException.
4623
4624 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4625
4626         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4627         method used to ensure seeding has occurred and that a specific 
4628         seed can be set and used.
4629
4630 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4631
4632         * java/lang/Win32Process.java (destroy): Declare as native.
4633         (hasExited): New native method.
4634         (exitValue): Define.
4635         (getErrorStream): Likewise.
4636         (getInputStream): Likewise.
4637         (getOutputStream): Likewise.
4638         (waitFor): Declare as native.
4639         (startProcess): New native method.
4640         (cleanup): Likewise.
4641         (ConcreteProcess): Define.
4642         (outputStream, inputStream, errorStream): New members.
4643         (procHandle, exitCode): Likewise.
4644
4645         * java/lang/natWin32Process.cc
4646         (java::lang::ConcreteProcess::cleanup): Define.
4647         (java::lang::ConcreteProcess::destroy): Likewise.
4648         (java::lang::ConcreteProcess::hasExited): Likewise.
4649         (java::lang::ConcreteProcess::waitFor): Likewise.
4650         (new_string): Likewise.
4651         (java::lang::ConcreteProcess::startProcess): Likewise.
4652
4653 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4654
4655         * java/math/BigInteger.java:
4656         Updated notice to include years 2002 and 3.
4657         Added 2 private (int) arrays with values from the HAC (Handbook of
4658         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4659         and t[] that contains nbr. of tests --used in isProbablePrime().
4660
4661         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4662
4663         * java/math/BigInteger.java (make(int[],int), add(int,int),
4664         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4665         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4666         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4667         make(long).
4668
4669         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4670         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4671         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4672         BIs and returns void.
4673         (modInverse(BI)): Use new signatures of euclidInv().
4674
4675         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4676         static small primes instead of remainder().
4677         Use pre-computed max nbr of trials based on bitlength of BI to test.
4678         Use pre-computed small primes for the trial tests instead of random
4679         numbers.
4680
4681         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4682         not used.
4683
4684         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4685         invoacation of MPN.chars_per_word().  not used.
4686
4687         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4688         local var and used where needed.
4689
4690         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4691         Combined declaration with initialisation of locals.
4692         Removed unused var.
4693
4694         * java/math/BigInteger.java: Style changes
4695         (pow(int)): Removed 'else' keyword.
4696         (toString(int)): idem.
4697         (doubleValue()): idem.
4698         (bitLength()): idem.
4699         (equals(Object)): Use static methods name in same class w/o prepending
4700         class name.
4701         (doubleValue()): idem.
4702         (setNegative(BI)): idem.
4703         (negate()): idem.
4704         (and(BI,int)): idem.
4705         (and(BI)): idem.
4706         (gcd(BI)): idem.
4707         (byteArrayToIntArray()): Removed casting to (int). this is
4708         std. behaviour.
4709         (canonicalize()): idem.
4710         (alloc(int)): Always instantiate a new BI.
4711
4712 2003-02-10  Tom Tromey  <tromey@redhat.com>
4713
4714         * java/sql/Timestamp.java (compareTo(Object)): New method.
4715         (compareTo(Timestamp)): Likewise.
4716         (serialVersionUID): Updated.
4717
4718 2003-02-07  Mark Wielaard  <mark@klomp.org>
4719
4720         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4721         when verify is true.
4722         (JarFile(File, boolean)): Likewise.
4723         (manifestRead): Set manifestRead field correctly.
4724
4725 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4726
4727         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4728         tests; see patch #1016 on Savannah.
4729
4730 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4731
4732         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4733         (toString): do not return Strings starting with . and - erroneously.
4734         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4735         DiagBigDecimal.
4736
4737 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4738
4739         * java/beans/PropertyDescriptor.java
4740         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4741         methods.
4742         (PropertyDescriptor(String, Class, String, String)): Likewise.
4743         (PropertyDescriptor(String, Method, Method): Factor out getter and
4744         setter method sanity checks into new method.
4745         (findMethods): Don't do parameter sanity checking of get method here.
4746         (checkMethods): New method.
4747
4748 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4749
4750         * java/beans/PropertyDescriptor.java: Reformat.
4751
4752 2003-02-04  Tom Tromey  <tromey@redhat.com>
4753
4754         * java/io/PipedOutputStream.java (flush): Declare as throwing
4755         IOException.
4756         (close): Likewise.
4757         * java/io/PipedWriter.java (close): Declare as throwing
4758         IOException.
4759         * java/io/StringWriter.java (close): Declare as throwing
4760         IOException.
4761
4762 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4763
4764         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4765         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4766         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4767         "_JNI_OnLoad@8" (MSVC).
4768
4769 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4770
4771         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4772         convention on Win32 to invoke native JNI methods.
4773
4774 2003-02-03  Andrew Haley  <aph@redhat.com>
4775
4776         * configure.host (x86_64): Enable interpreter.
4777
4778 2003-02-03  Andrew Haley  <aph@redhat.com>
4779
4780         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4781         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4782         * configure.in (BACKTRACESPEC): New.
4783         * configure: Regenerate.
4784
4785 2003-02-02  Tom Tromey  <tromey@redhat.com>
4786
4787         * configure: Rebuilt.
4788         * configure.in (TOOLKIT) [xlib]: Set correctly.
4789
4790         * Makefile.in: Rebuilt.
4791         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4792         libstdc++.
4793
4794 2003-01-31  Mark WIelaard  <mark@klomp.org>
4795
4796         * Makefile.in: Rebuilt.
4797         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4798
4799 2003-01-31  Tom Tromey  <tromey@redhat.com>
4800
4801         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4802         cast to element type.
4803         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4804         (_Jv_JNI_GetObjectArrayElement): Likewise.
4805
4806         * Makefile.in: Rebuilt.
4807         * Makefile.am (cond_x_ltlibrary): Renamed library to
4808         lib-gnu-awt-xlib.la.
4809         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4810         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4811         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4812         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4813         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4814         (lib_gnu_awt_xlib_la_LINK): Likewise.
4815         (install-exec-hook): Removed.
4816         (lib-gnu-awt-xlib.la): Renamed.
4817
4818 2003-01-31  Tom Tromey  <tromey@redhat.com>
4819
4820         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4821         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4822         aclocal.m4 and lost in some merge.
4823
4824         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4825         Don't try to find graphics configuration.
4826         * java/awt/Toolkit.java (default_toolkit_name): Use new
4827         Configuration entry.
4828         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4829         New global.
4830         * configure: Rebuilt.
4831         * configure.in (TOOLKIT): New subst.
4832         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4833         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4834         directory.  Make output directories for .c files.
4835         * Makefile.in: Rebuilt.
4836         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4837         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4838         (all_java_source_files): Added new sources.
4839         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4840         (gtk_c_files): New macro.
4841         (gtk_c_source_files): New macro.
4842         (cond_gtk_ltlibrary): New macro.
4843         ($(gtk_c_files)): New target.
4844         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4845         (gtk_awt_peer_sources): New macro.
4846         (gtk_c_headers): New macro.
4847         ($(gtk_c_headers)): New target.
4848         (ACLOCAL_AMFLAGS): New macro.
4849         * gtk.m4, glib.m4, libart.m4: New files.
4850         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4851         gnu/java/awt/peer/gtk/GdkGraphics.java,
4852         gnu/java/awt/peer/gtk/GtkArg.java,
4853         gnu/java/awt/peer/gtk/GtkArgList.java,
4854         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4855         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4856         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4857         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4858         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4859         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4860         gnu/java/awt/peer/gtk/GtkClipboard.java,
4861         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4862         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4863         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4864         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4865         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4866         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4867         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4868         gnu/java/awt/peer/gtk/GtkImage.java,
4869         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4870         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4871         gnu/java/awt/peer/gtk/GtkListPeer.java,
4872         gnu/java/awt/peer/gtk/GtkMainThread.java,
4873         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4874         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4875         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4876         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4877         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4878         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4879         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4880         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4881         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4882         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4883         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4884         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4885         gnu/java/awt/peer/gtk/GtkToolkit.java,
4886         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4887         gnu/java/awt/peer/gtk/TestAWT.java,
4888         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4890         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4891         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4892         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4893         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4894         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4895         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4896         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4897         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4898         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4899         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4901         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4902         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4903         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4904         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4905         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4906         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4907         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4908         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4909         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4910         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4911         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4912         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4913         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4914         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4915         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4916         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4917         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4918         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4919         jni/classpath/native_state.c, jni/classpath/native_state.h,
4920         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4921
4922 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4923
4924         * java/util/Properties.java (load): Ignore backslash before EOF.
4925
4926 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4927
4928         * java/lang/natClass.cc (initializeClass): Check tables when
4929         (state == JV_STATE_IN_PROGRESS).
4930         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4931         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4932         interpreted classes.
4933         (linkClass0): Use _Jv_WaitForState.
4934
4935 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4936
4937         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4938         object when finished.
4939
4940 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4941
4942         * libjava/configure.host: Disable can_unwind_signal on darwin.
4943
4944 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4945
4946         Fixes PR java/9254:
4947         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4948         additionally containing id of the owner thread as well as
4949         the number of nested times the thread has acquired the mutex.
4950         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4951         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4952         (_Jv_MutexUnlock): Check if really the owner thread, reset
4953         owner thread id to 0 before leaving, if leaving for the last
4954         time.
4955         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4956         refcount.
4957         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4958         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4959         the passed mutex.
4960         Pass handle of the broadcast event, instead of a pointer to it
4961         in Win32 ResetEvent( ) call.
4962         Remove incorrect return values.
4963         (_Jv_CondDestroy): Close both event handles and delete
4964         critical section.
4965         (_Jv_CondNotify): Check if really the owner thread.
4966         (_Jv_CondNotifyAll): Check if really the owner thread.
4967         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4968         (really_start): Use SetEvent( ) to signal daemon_cond.
4969         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4970         WaitForSingleObject( ) instead to wait for daemon_cond to be
4971         signalled.
4972
4973 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4974
4975         * configure.in: Specifically define HAVE_BACKTRACE if building
4976         for MinGW.
4977         * include/win32.h: Remove HAVE_BACKTRACE definition.
4978         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4979         * configure: Rebuilt.
4980
4981 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4982
4983         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4984         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4985         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4986         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4987         * Makefile.in, configure: Rebuilt.
4988
4989 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4990
4991         Fixes PR java/9253:
4992         * java/io/natFileWin32.cc (performList): Append only "*.*"
4993         if the canonical file path already has a "\" at the end.
4994
4995 2003-01-24  Tom Tromey  <tromey@redhat.com>
4996
4997         * defineclass.cc (handleMethodsEnd): Precompute code for static
4998         method.
4999         (handleCodeAttribute): Likewise.
5000         * resolve.cc (ncode): Use run_class for unsynchronized static
5001         methods.
5002         * include/java-interp.h (class _Jv_InterpMethod): Declare
5003         run_class.
5004         * interpret.cc (run_synch_class): Initialize class.
5005         (run) [insn_invokestatic]: Don't initialize class.
5006         [insn_anewarray]: Likewise.
5007         [insn_multianewarray]: Likewise.
5008         (run_class): New function.
5009
5010 2003-01-24  Tom Tromey  <tromey@redhat.com>
5011
5012         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5013         comment.
5014
5015 2003-01-22  Andrew Haley  <aph@redhat.com>
5016
5017         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5018         * configure.host (CHECKREFSPEC): Define for x86_64.
5019
5020 2003-01-21  Tom Tromey  <tromey@redhat.com>
5021
5022         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5023         search at 2, not 3.
5024
5025 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5026
5027         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5028         looking at any characters.
5029         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5030         be used.
5031         (isAbsolute): Check path's length as well.
5032
5033 2003-01-17  Mark Wielaard  <mark@klomp.org>
5034
5035         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5036         (nat_source_files): Add natVMObjectStreamClass.cc.
5037         * Makefile.in: Regenerated.
5038         * gcj/javaprims.h (namespace java): Regenerated.
5039         * java/io/ObjectStreamClass.java (getClassUID): Call
5040         VMObjectStreamClass.hasClassInitializer().
5041         (hasClassInitializer): Removed.
5042         * java/io/VMObjectStreamClass.java: New class.
5043         * java/io/natVMObjectStreamClass.cc: New file.
5044         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5045
5046 2003-01-16  Mark Wielaard  <mark@klomp.org>
5047
5048         * java/net/SocketImpl.java (toString): Don't explicitly call
5049         toString() on possible null address.
5050
5051 2003-01-16  Michael Koch  <konqueror@gmx.de>
5052
5053         * java/net/MulticastSocket.java
5054         (setInterface): Reindented.
5055
5056 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5057
5058         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5059         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5060         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5061         translateY arguments.  Implement.
5062         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5063         down translation arguments.
5064         (drawPolyline, drawPolygon): Fix incorrect tests.
5065         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5066         translateX and translateY arguments.
5067
5068 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5069
5070         * Makefile.in: Rebuilt.
5071         * Makefile.am (xlib_includes): New macro.
5072         (INCLUDES): Use it.
5073
5074 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5075
5076         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5077         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5078         16-bit display mode.
5079
5080 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5081
5082         * java/awt/CardLayout.java (show): Rewrote.
5083         (gotoComponent): Removed `target' argument.  Simplified code.
5084         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5085         Changed all callers.
5086         (NONE): Removed.
5087         
5088 2003-01-14  Michael Koch  <konqueror@gmx.de>
5089
5090         * java/net/InetSocketAddress.java
5091         (serialVersionUID): New member variable.
5092         * java/net/NetPermission.java
5093         (NetPermission): Dont implement java.io.Serialization directly.
5094         * java/net/SocketAddress.java:
5095         (serialVersionUID): Documentation added.
5096         
5097 2003-01-14  Michael Koch  <konqueror@gmx.de>
5098
5099         * java/awt/Label.java
5100         (Label): Implements javax.accessibility.Accessible;
5101         * java/awt/List.java
5102         (List): Implements javax.accessibility.Accessible;
5103         * java/awt/ScrollPane.java
5104         (ScrollPane): Implements javax.accessibility.Accessible;
5105         * java/awt/Scrollbar.java
5106         (Scrollbar): Implements javax.accessibility.Accessible;
5107         * java/awt/TextComponent.java
5108         (setCaretPosition): Throw exception, documentation added.
5109         * java/awt/Toolkit.java:
5110         Added some newlines in method documentations.
5111         (createButton): Exception documentation added.
5112         (createTextField): Exception documentation added.
5113         (createLabel): Exception documentation added.
5114         (createList): Exception documentation added.
5115         (createCheckbox): Exception documentation added.
5116         (createScrollbar): Exception documentation added.
5117         (createScrollPane): Exception documentation added.
5118         (createTextArea): Exception documentation added.
5119         (createChoice): Exception documentation added.
5120         (createFrame): Exception documentation added.
5121         (createWindow): Exception documentation added.
5122         (createDialog): Exception documentation added.
5123         (createMenuBar): Exception documentation added.
5124         (createMenu): Exception documentation added.
5125         (createMenuItem): Exception documentation added.
5126         (createFileDialog): Exception documentation added.
5127         (createCheckboxMenuItem): Exception documentation added.
5128         (loadSystemColors): Exception documentation added.
5129         (setDynamicLayout): Exception documentation added.
5130         (isDynamicLayoutSet): Exception documentation added.
5131         (isDynamicLayoutActive): Exception documentation added.
5132         (getScreenSize): Exception documentation added.
5133         (getScreenResolution): Exception documentation added.
5134         (getScreenInsets): Exception documentation added.
5135         (getColorModel): Exception documentation added.
5136         (getSystemClipboard): Exception documentation added.
5137         (getSystemSelection): Exception documentation added.
5138         (getMenuShortcutKeyMask): Exception documentation added.
5139         (getSystemEventQueue): Exception documentation added.
5140         * java/awt/Window.java:
5141         Reindented some code.
5142         (Window): Centralized implementation, documentation added.
5143         (finalize): Documentation added.
5144         (hide): Fixed typo in comment.
5145         (getWindowListeners): Documentation added.
5146         * java/awt/color/ColorSpace.java
5147         (toRGB): Documentation added.
5148         * java/awt/color/ICC_ColorSpace.java
5149         (ICC_ColorSpace): Documentation added.
5150         (toRGB): Throw exception, documentation added.
5151         (fromRGB): Throw exception, documentation added.
5152         (toCIEXYZ): Documentation added.
5153         (fromCIEXYZ): Documentation added.
5154         (getMinValue): Documentation added.
5155         (getMaxValue): Documentation added.
5156         * java/awt/geom/Dimension2D.java
5157         (clone): Documentation added.
5158         * java/awt/geom/GeneralPath.java
5159         (clone): Documentation added.
5160         * java/awt/geom/Line2D.java
5161         (clone): Documentation added.
5162         * java/awt/geom/QuadCurve2D.java
5163         (clone): Documentation added.
5164         * java/awt/image/ColorModel.java
5165         (ColorModel): Throw exception, documentation added.
5166         * java/awt/image/ImageFilter.java
5167         (clone): Doesnt throw CloneNotSupportedException.
5168
5169 2003-01-14  Andrew Haley  <aph@redhat.com>
5170
5171         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5172         in a try block.
5173
5174 2003-01-10  Andrew Haley  <aph@redhat.com>
5175
5176         * include/dwarf2-signal.h: Remove x86_64.
5177         * configure.host (x86_64 DIVIDESPEC): Remove.
5178         * include/x86_64-signal.h: New file.
5179         * configure.in: Regenerate.
5180
5181 2003-01-10  Michael Koch  <konqueror@gmx.de>
5182
5183         * java/net/DatagramSocket.java
5184         (ch): Description added.
5185         (remotePort): Initialize with -1.
5186         (connect): Doesnt throws SocketException.
5187         * java/net/MulticastSocket.java
5188         (setInterface): Merge with Classpath.
5189         * java/net/ServerSocket.java
5190         (closed): New member variable.
5191         (bind): Check if socket is closed.
5192         (close): Close an associated channel too, set new value to closed.
5193         (isBound): Reindented.
5194         (isClosed): Implemented.
5195         * java/net/Socket.java
5196         (closed): New member variable.
5197         (bind): Check if socket is closed.
5198         (connect): Check if socket is closed.
5199         (close): Close an associated channel too, set new value to closed.
5200         (isClosed): Implemented.
5201
5202 2003-01-10  Michael Koch  <konqueror@gmx.de>
5203
5204         * java/awt/DisplayMode.java
5205         (equals): Fixed argument type and implementation.
5206
5207 2003-01-07  Tom Tromey  <tromey@redhat.com>
5208
5209         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5210         JV_HASH_SYNCHRONIZATION.
5211         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5212         JV_HASH_SYNCHRONIZATION.
5213
5214 2003-01-07  Michael Koch  <konqueror@gmx.de>
5215  
5216         * java/net/DatagramSocket.java:
5217         Added classpath license info.
5218         (DatagramSocket): Merged description with classpath.
5219         (close): Merged description with classpath.
5220         (getChannel): Merged description with classpath.
5221         (getInetAddress): Merged description with classpath.
5222         (getPort): Merged description with classpath.
5223         (getLocalAddress): Merged description with classpath.
5224         (getLocalPort): Merged description with classpath.
5225         (getSoTimeout): Merged description with classpath.
5226         (setSoTimeout): Merged description with classpath.
5227         (getSendBufferSize): Merged description with classpath.
5228         (setSendBufferSize): Merged description with classpath.
5229         (getReceiveBufferSize): Merged description with classpath.
5230         (setReceiveBufferSize): Merged description with classpath.
5231         
5232 2003-01-04  Tom Tromey  <tromey@redhat.com>
5233
5234         * java/awt/List.java: Merged with Classpath.
5235
5236 2003-01-03  Mark Wielaard  <mark@klomp.org>
5237
5238         * java/io/FileDescriptor.java (position): New private field.
5239         * java/io/natFileDescriptorPosix.cc (write): Up position.
5240         (setLength): Use and set position.
5241         (seek): Set position.
5242         (getFilePointer): Return position.
5243         (read): Up position.
5244
5245 2003-01-03  Mark Wielaard  <mark@klomp.org>
5246
5247         Merge with Classpath:
5248         * java/io/ObjectStreamClass.java (lookup): Split method and call
5249         lookupForClassObject().
5250         (lookupForClassObject): New method.
5251         (isProxyClass): New field.
5252         (setClass): Set isProxyClass, add object to classLookupTable, set
5253         superClass and calculateOffsets.
5254         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5255         and not a proxy class.
5256         (setFields): Set accessible true for serialPersistentFields.
5257         (getClassUID): Same for suid. And check if suid is of type long.
5258         (hasClassInitializer): Don't throw NoSuchMethodError.
5259
5260 2003-01-03  Mark Wielaard  <mark@klomp.org>
5261
5262         * java/io/FileInputStream.java (finalize): Don't explicitly
5263         finalize FileDescriptor.
5264
5265 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5266
5267         * configure.host (sparc*-*): Enable bytecode interpreter.
5268
5269 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5270
5271         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5272         Don't throw RemoteException.
5273         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5274         throw RemoteException.
5275
5276 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5277
5278         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5279         proxyHost): New static fields.
5280         (<clinit>): Initialize new fields.
5281         (connect): Use proxy if necessary.
5282         (usingProxy): Implement.
5283
5284 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5285
5286         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5287         (TreeIterator.remove): Prefer IllegalStateException over
5288         ConcurrentModificationException, to match Sun.
5289
5290 2002-12-22  Anthony Green  <green@redhat.com>
5291
5292         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5293
5294 2003-01-02  Mark Wielaard  <mark@klomp.org>
5295
5296         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5297         public.
5298         (HTTP_USE_PROXY): Add field.
5299         (getResponseVals): Only set responseCode when not yet explicitly
5300         set by subclass.
5301
5302 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5303             Mark Wielaard  <mark@klomp.org>
5304
5305         * java/util/zip/ZipFile.java (entries): Now HashMap.
5306         (readLeShort(DataInput, byte[])): Read from given byte array.
5307         (readLeInt(DataInput, byte[]): Likewise.
5308         (readLeShort(byte[] b, int off)): New method.
5309         (readLeInt(byte[] b, int off)): Likewise.
5310         (readEntries): Use byte arrays to read info in bigger chunks.
5311         (getEntries): Return HashMap.
5312         (getEntry): Use HashMap.
5313         (locBuf): New private field.
5314         (checkLocalHeader): Use locBuf to read info in one chunk.
5315         (getInputStream): Use entries HashMap, wrap PartialInputStream
5316         in BufferedInputStream.
5317         (ZipEntryEnumeration): Use HashMap and Interator.
5318
5319 2003-01-02  Mark Wielaard  <mark@klomp.org>
5320             Jeroen Frijters  <jeroen@sumatra.nl>
5321
5322         * java/net/URLClassLoader.java (Resource.getCodeSource):
5323         Fix check certs == null.
5324         (getCanonicalFileURL): Removed method.
5325         (JarURLLoader): Don't call removed method.
5326         (FileURLLoader): Likewise.
5327         (FileURLLoader.getResource): Don't canonicalize file name.
5328
5329 2003-01-01  Tom Tromey  <tromey@redhat.com>
5330
5331         * Makefile.in: Rebuilt.
5332         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5333         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5334         java/awt/BufferCapabilities.java, java/awt/Button.java,
5335         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5336         java/awt/Container.java, java/awt/Cursor.java,
5337         java/awt/EventQueue.java, java/awt/FileDialog.java,
5338         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5339         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5340         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5341         java/awt/Scrollbar.java, java/awt/TextArea.java,
5342         java/awt/TextField.java, java/awt/color/CMMException.java,
5343         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5344         java/awt/color/ProfileDataException.java,
5345         java/awt/datatransfer/Clipboard.java,
5346         java/awt/datatransfer/DataFlavor.java,
5347         java/awt/datatransfer/FlavorMap.java,
5348         java/awt/datatransfer/SystemFlavorMap.java,
5349         java/awt/dnd/DragGestureEvent.java,
5350         java/awt/dnd/DragGestureRecognizer.java,
5351         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5352         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5353         java/awt/im/InputMethodHighlight.java,
5354         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5355         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5356
5357         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5358         `op' to BufferedImageOp.
5359
5360 2002-12-31  Tom Tromey  <tromey@redhat.com>
5361
5362         Fix for PR libgcj/7416:
5363         * javax/naming/InitialContext.java (init): Use
5364         gnu.classpath.home.url.
5365         * java/security/Security.java: Use new properties.
5366         (loadProviders): Accept base url; use it.
5367         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5368         gnu.classpath.home.url.
5369         (gnu.classpath.home.url): Define.
5370         (gnu.classpath.vm.shortname): Likewise.
5371
5372 2002-12-31  Tom Tromey  <tromey@redhat.com>
5373             Ranjit Mathew  <rmathew@hotmail.com>
5374
5375         Fix for PR libgcj/8997:
5376         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5377         Include platform.h.
5378         * include/posix.h (_Jv_platform_usleep): New function.
5379         * include/win32.h (_Jv_platform_usleep): New function.
5380
5381 2002-12-29  Tom Tromey  <tromey@redhat.com>
5382
5383         * gcj/javaprims.h: Updated.
5384         * scripts/classes.pl (scan): Removed stray semicolon.
5385
5386 2002-12-30  Mark Wielaard  <mark@klomp.org>
5387
5388         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5389         if zero or smaller.
5390
5391 2002-12-30  Mark Wielaard  <mark@klomp.org>
5392
5393         * java/util/Properties (formatForOutput): Don't fall through to
5394         default case after escaping character.
5395
5396 2002-12-30  Mark Wielaard  <mark@klomp.org>
5397
5398         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5399         against count.
5400
5401 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5402
5403         * boehm.cc: Remove stray semicolon.
5404         * interpret.cc: Likewise.
5405         * prims.cc: Likewise.
5406         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5407         earlier to ensure default arguments are processed.
5408         * gcj/array.h (JArray): Add forward declaration.
5409         (elements): Likewise.
5410         * gcj/javaprim.h: Remove stray semicolons.
5411         * include/bohm-gc.h: Likewise.
5412         * include/jni.h: Likewise.
5413         * include/jvm.h: Likewise.
5414         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5415         
5416 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5417
5418         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5419         of catch_type.
5420         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5421         idt tables after initializing superclass.
5422         * java/lang/natClassLoader.cc (uaddr): New typedef.
5423         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5424         if they are constant pool indicies.  Don't link vtable, otable yet.
5425
5426 2002-12-21  Anthony Green  <green@redhat.com>
5427
5428         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5429         libraries.
5430         * Makefile.in: Rebuilt.
5431
5432 2002-12-19  Anthony Green  <green@redhat.com>
5433
5434         * Makefile.am (ordinary_java_source_files): Add
5435         org/xml/sax/helpers/NewInstance.java.
5436         * Makefile.in: Rebuilt.
5437         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5438         org/xml/sax/helpers/package.html: New files.
5439         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5440         http://www.saxproject.org.
5441
5442 2002-12-19  Andrew Haley  <aph@redhat.com>
5443
5444         * java/util/natResourceBundle.cc: Include
5445         ArrayIndexOutOfBoundsException.h.
5446         (getCallingClassLoader): Don't put upper bound on stack search.
5447         Catch ArrayIndexOutOfBoundsException.
5448
5449 2002-12-19  Tom Tromey  <tromey@redhat.com>
5450
5451         * libtool-version: Increased `current'.
5452
5453 2002-12-19  Tom Tromey  <tromey@redhat.com>
5454
5455         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5456         comment.
5457         * java/lang/ClassLoader.java (defineClass): Use chained
5458         exception when rethrowing.
5459         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5460         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5461         constants.
5462         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5463         (_Jv_PrepareClass): Use it.
5464         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5465         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5466         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5467         (Class): _Jv_PrepareMissingMethods now friend.
5468         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5469         Record `NULL' for system class loader.
5470         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5471         system class loader.
5472         (_Jv_FindClassInCache): Likewise.
5473         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5474         (_Jv_FindClass): Special case system class loader.
5475         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5476         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5477         vtable slots.
5478         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5479         in a final class.
5480         (_getDeclaredMethod): Don't return synthetic methods.
5481         (getDeclaredMethods): Likewise.
5482         (_getMethod): Likewise.
5483         (_getMethods): Likewise.
5484
5485 2002-12-18  Raif Naffah  <raif@fl.net.au>
5486
5487         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5488         canonical form after divide().
5489         (modInverse): Likewise.
5490
5491 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5492             Mark Wielaard  <mark@klomp.org>
5493
5494         * java/security/SecurityRandom (digest): Removed field.
5495         (SecureRandom): Check all providers for case-insensitive SecureRandom
5496         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5497         if necessary.
5498         (getInstance(String,Provider,boolean): New method.
5499         (getInstance(String)): Use new method.
5500         (getInstance(String,String)): Likewise.
5501         (getInstance(String,Provider)): Likewise.
5502
5503 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5504
5505         * java/security/Security.java (loadProviders): Increment i only once.
5506
5507 2002-12-12  Mark Wielaard  <mark@klomp.org>
5508
5509         * java/lang/ClassLoader.java (resolveClass0): Transform
5510         ClassNotFoundException to NoClassDefFoundError. Transform all other
5511         throwables to LinkageError.
5512
5513 2002-12-11  Tom Tromey  <tromey@redhat.com>
5514
5515         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5516
5517         * java/lang/ClassLoader.java (loadedClasses): New field.
5518         (defineClass): Fixed indentation.  Put new class in
5519         loadedClasses.
5520         (findLoadedClass): Implement here.
5521         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5522
5523 2002-12-10  Tom Tromey  <tromey@redhat.com>
5524
5525         * Makefile.in: Rebuilt.
5526         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5527         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5528         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5529         * java/lang/natClassLoader.cc
5530         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5531
5532 2002-12-10  Mark Wielaard  <mark@klomp.org>
5533             Tom Tromey  <tromey@redhat.com>
5534
5535         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5536         (JarURLLoader): Use it.
5537         (FileURLLoader): Likewise.
5538         (JarURLResource.getURL): Use chained exception.
5539         (FileResource.getURL): Likewise.
5540         (FileURLLoader.getResource): Use canonical file name.
5541         (addURL): Indentation fix.
5542
5543 2002-12-10  Tom Tromey  <tromey@redhat.com>
5544
5545         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5546         From Laurent Bardet <l.bardet@magic.fr>.
5547
5548 2002-12-09  Tom Tromey  <tromey@redhat.com>
5549
5550         * include/win32.h (_Jv_platform_solib_prefix): New define.
5551         (_Jv_platform_solib_suffix): Likewise.
5552         * include/posix.h (_Jv_platform_solib_prefix): New define.
5553         (_Jv_platform_solib_suffix): Likewise.
5554         * java/lang/natRuntime.cc: Include StackTrace.h.
5555         (_load): Use findLibrary and new platform defines.
5556         (nativeGetLibname): Use new platform defines.
5557
5558         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5559         `t' won't be null.
5560
5561 2002-12-08  Mark Wielaard  <mark@klomp.org>
5562
5563         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5564         cache remote jar files.
5565         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5566         add File.separator to URL when it is a directory.
5567         * java/lang/ClassLoader.java: Add Classpath javadoc.
5568         (parent): final.
5569         (getParent): Add (disabled) security check.
5570         (findLibrary): New default method.
5571         * java/net/JarURLConnection.java (getManifest): Implement.
5572         (getInputStream): Only create InputStream when entry exists.
5573         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5574         when they exist.
5575         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5576
5577 2002-12-08  Mark Wielaard  <mark@klomp.org>
5578
5579         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5580         (lastDefaultLocale): New field.
5581         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5582         resourceBundleCache.
5583
5584 2002-12-06  Mark Wielaard  <mark@klomp.org>
5585
5586         * java/net/InetAddress.java (toString): Use hostname when not null,
5587         don't do an explicit reverse getHostName() lookup.
5588         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5589         NullPointerException.
5590
5591 2002-12-06  Tom Tromey  <tromey@redhat.com>
5592
5593         * include/java-interp.h (class _Jv_InterpMethod): Added
5594         JV_MARKOBJ_DECL.
5595         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5596         mark `prepared' field of interpreted method.
5597         * interpret.cc (compile): Use _Jv_AllocBytes.
5598
5599 2002-12-05  Andrew Haley  <aph@redhat.com>
5600
5601         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5602         #ifdef (HAVE_BACKTRACE) around the whole function body.
5603
5604 2002-12-05  Tom Tromey  <tromey@redhat.com>
5605
5606         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5607         * resolve.cc: Don't include AbstractMethodError.h.
5608         (_Jv_abstractMethodError): Removed.
5609         * defineclass.cc (handleMethodsBegin): Initialize method index to
5610         -1.
5611         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5612         method index for "new" final method.
5613         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5614         isVirtualMethod.  Added `flags' argument.
5615         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5616         class.
5617
5618 2002-12-04  Tom Tromey  <tromey@redhat.com>
5619
5620         * java/net/SocketPermission.java (hashCode): Rewrote.
5621
5622 2002-12-04  Tom Tromey  <tromey@redhat.com>
5623
5624         * Makefile.in: Rebuilt.
5625         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5626         natResourceBundle.
5627         * java/util/ResourceBundle.java (Security): Removed.
5628         (getCallingClassLoader): Now native.
5629         * java/util/natResourceBundle.cc: New file.
5630         * java/lang/natVMSecurityManager.cc: New file.
5631         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5632
5633 2002-12-03  Mark Wielaard  <mark@klomp.org>
5634
5635         * java/util/jar/JarFile.java (manifest): Not final.
5636         (manifestRead): New field.
5637         (JarFile): Don't read Manifest in constructor.
5638         (getManifest): New method.
5639         (JarEnumeration.nextElement): Use new method.
5640         (getEntry): Likewise.
5641         * java/util/zip/ZipFile.java (name): Final.
5642         (raf): Likewsie.
5643         (entries): Change type to Hashtable.
5644         (closed): New field.
5645         (ZipFile): Don't read enties in constructor.
5646         (readEntries): Use Hashtable.
5647         (close): Set new close flag and set entries to null inside
5648         synchronized block.
5649         (entries): Contruct enumeration using new getEntries() method and
5650         entries Hashtable.
5651         (getEntryIndex): Removed.
5652         (getEntries): New method.
5653         (getEntry): Use new getEntries() method and entries Hastable.
5654         (getInputStream): Likewise.
5655         (size): Return getEntries().size().
5656         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5657         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5658         (time): Removed
5659         (dostime): New field.
5660         (zipFileIndex): Removed.
5661         (ZipEntry(ZipEntry)): Copy dostime.
5662         (setDOSTime): Now final and doesn't convert dos time.
5663         (getDOSTime): Likewise.
5664         (setTime): Convert dos time.
5665         (getTime): Likewise.
5666         (getCalendar): New method.
5667         (setExtra): Use setTime().
5668         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5669
5670 2002-12-03  Tom Tromey  <tromey@redhat.com>
5671
5672         * java/lang/Character.java (forDigit): Formatting fix.
5673
5674 2002-12-03  Raif Naffah  <raif@fl.net.au>
5675
5676         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5677         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5678         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5679
5680 2002-12-03  Andrew Haley  <aph@redhat.com>
5681
5682         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5683         _Jv_PushClass.
5684         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5685         (_Jv_PopClass): New.
5686         (_Jv_PushClass): New.
5687         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5688         discover the ClassLoader of our caller.
5689         (_Jv_CheckArrayStore): Don't check that a class is assignment
5690         compatible with Object.
5691         * java/lang/natVMTHrowable.cc: Delete.
5692         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5693         java.lang.VMThrowable.
5694         (StackTrace(), StackTrace(int)): New constructors.
5695         (classAt, methodAt, update, methodAtAddress): New methods.
5696         (map): New field.
5697         * java/lang/VMThrowable.java: Use StackTrace instead of
5698         natVMTHrowable.
5699         * java/lang/Class.h (getClassLoaderInternal): New.
5700         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5701         Be friendly with gnu::gcj::runtime::StackTrace.
5702         (Object.chain): New field.
5703         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5704         gnu::gcj::runtime::StackTrace.
5705         * gnu/gcj/runtime/natStackTrace.cc: New file.
5706         * gnu/gcj/runtime/MethodRef.java: New file.
5707         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5708         instead of getClassLoader().
5709         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5710         java::lang::VMThrowable.
5711         * Makefile.am (core_java_source_files): Add MethodRef.java,
5712         StackTrace.java.
5713         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5714         * Makefile.in: Rebuild.
5715
5716 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5717
5718         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5719         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5720         yes also for sh-linux* and sh[34]*-linux*.
5721         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5722         set SIGNAL_HANDLER to use DWARF2 exception for them.
5723         * configure: Regenerate.
5724
5725 2002-12-02  Tom Tromey  <tromey@redhat.com>
5726
5727         * jni.cc: Added `name' argument.
5728         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5729         `const char *' argument.
5730         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5731
5732 2002-12-01  Tom Tromey  <tromey@redhat.com>
5733
5734         Bug compatibility, for PR libgcj/8738:
5735         * java/io/CharArrayWriter.java (close): Do nothing.
5736         (flush): Likewise.
5737         (reset): Don't touch `closed'.
5738         (write(int)): Don't throw IOException.
5739         (write(char[],int,int)): Likewise.
5740         (write(String,int,int)): Likewise.
5741         (closed): Removed.
5742
5743 2002-12-01  Mark Wielaard  <mark@klomp.org>
5744
5745         * java/lang/SecurityManager.java: Remerge comments, indenting and
5746         checkXXX methods with Classpath.
5747
5748 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5749
5750         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5751         getNormalizedComponents): Fix calculation which was using one too
5752         many bits in the unnormalized format.
5753
5754 2002-11-29  Gary Benson  <gbenson@redhat.com>
5755
5756         For PR libgcj/8759:
5757         * java/beans/Introspector.java (flushCaches): New method.
5758         (flushFromCaches): Likewise.
5759
5760 2002-11-29  Michael Koch <konqueror@gmx.de>
5761
5762         * java/nio/channels/DatagramChannel.java
5763         (open): Added exception documentation.
5764         (write): Added exception documentation.
5765         (connect): Added exception documentation.
5766         (disconnect): Added exception documentation.
5767         (isConnected): Added exception documentation.
5768         (read): Added exception documentation.
5769         (receive): Added exception documentation.
5770         (send): Added exception documentation.
5771         (validOps): Added exception documentation.
5772         * java/nio/channels/SocketChannel.java
5773         (open): Added exception documentation.
5774         (read): Added exception documentation.
5775         (write): Added exception documentation.
5776         (connect): Added exception documentation.
5777         (finishConnect): Added exception documentation.
5778
5779 2002-11-29  Michael Koch <konqueror@gmx.de>
5780
5781         * gnu/java/nio/DatagramChannelImpl:
5782         (fd): New member variable to store file descriptor of socket.
5783         * gnu/java/nio/SelectionKeyImpl.java:
5784         (ops): Removed.
5785         (readyOps): New member variable.
5786         (interestOps): New member variable.
5787         (readyOps): Implemented.
5788         (readyOps): New method to set member variable readyOps.
5789         (interestOps): Replaced ops by interestOps.
5790         * gnu/java/nio/SelectorImpl.java:
5791         (SelectorImpl): Initialize key sets.
5792         (select): Call select with -1 instead of Long.MAX_VALUE).
5793         (java_do_select): Make it a native method.
5794         (getFDsAsArray): New helper method.
5795         (select): Remove canceled keys, give only interested file discriptors
5796         to java_do_select, set ready ops.
5797         (add): No need to initialize keys set here.
5798         (add_selected): No need to initialize selected set here.
5799         (deregisterCanceledKeys): New helper method.
5800         (register): Set interest ops, set attachments, added handling of datagram
5801         channels.
5802         * gnu/java/nio/ServerSocketChannelImpl:
5803         (SocketAccept): Renamed from NioSocketAccept.
5804         (implConfigureBlocking): Implemented.
5805         (accept): Use SocketAccept instead of NioSocketAccept.
5806         * gnu/java/nio/SocketChannelImpl:
5807         Reactivate native methods.
5808
5809 2002-11-29  Michael Koch <konqueror@gmx.de>
5810
5811         * gnu/java/nio/natByteBufferImpl.cc,
5812         gnu/java/nio/natCharBufferImpl.cc,
5813         gnu/java/nio/natDoubleBufferImpl.cc,
5814         gnu/java/nio/natFloatBufferImpl.cc,
5815         gnu/java/nio/natIntBufferImpl.cc,
5816         gnu/java/nio/natLongBufferImpl.cc,
5817         gnu/java/nio/natSelectorImpl.cc,
5818         gnu/java/nio/natServerSocketChannelImpl.cc,
5819         gnu/java/nio/natShortBufferImpl.cc,
5820         gnu/java/nio/natSocketChannelImpl.cc:
5821         New files that implement native functionalities.
5822
5823 2002-11-29  Michael Koch <konqueror@gmx.de>
5824
5825         * gnu/java/nio/ByteBufferImpl.java
5826         (ByteBufferImpl): Moved position() after limit.
5827         (nio_*): Use native implementation.
5828         * gnu/java/nio/CharBufferImpl.java:
5829         Reformated.
5830         (endian): New member variable string endianess of buffer.
5831         (CharBufferImpl): Moved position() after limit.
5832         (nio_*): Use native implementation.
5833         (subSequence): Implemented.
5834         * gnu/java/nio/DoubleBufferImpl.java
5835         (DoubleBufferImpl): Moved position() after limit.
5836         (nio_*): Use native implementation.
5837         * gnu/java/nio/FloatBufferImpl.java
5838         Reformated.
5839         (FloatBufferImpl): Moved position() after limit.
5840         (nio_*): Use native implementation.
5841         * gnu/java/nio/IntBufferImpl.java
5842         Added needed imports, Reformated.
5843         (IntBufferImpl): Moved position() after limit.
5844         (nio_*): Use native implementation.
5845         * gnu/java/nio/LongBufferImpl.java
5846         Reformated.
5847         (LongBufferImpl): Moved position() after limit.
5848         (nio_*): Use native implementation.
5849         * gnu/java/nio/ShortBufferImpl.java
5850         Reformated.
5851         (ShortBufferImpl): Moved position() after limit.
5852         (nio_*): Use native implementation.
5853
5854 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5855
5856         * java/util/Locale.java (toString): Improve efficiency if country
5857         and variant are both empty.
5858
5859 2002-11-26  Tom Tromey  <tromey@redhat.com>
5860
5861         * verify.cc (pop_init_ref): New method.
5862         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5863         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5864         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5865         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5866         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5867         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5868         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5869         let `this' argument be uninitialized.  Don't let `null' be passed
5870         as `this' to construtor.
5871
5872 2002-11-26  Mark Wielaard  <mark@klomp.org>
5873
5874         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5875         * javax/transaction/HeuristicMixedException.java: Likewise.
5876         * javax/transaction/HeuristicRollbackException.java: Likewise.
5877         * javax/transaction/InvalidTransactionException.java: Likewise.
5878         * javax/transaction/NotSupportedException.java: Likewise.
5879         * javax/transaction/RollbackException.java: Likewise.
5880         * javax/transaction/Status.java: Likewise.
5881         * javax/transaction/Synchronization.java: Likewise.
5882         * javax/transaction/SystemException.java: Likewise.
5883         * javax/transaction/Transaction.java: Likewise.
5884         * javax/transaction/TransactionManager.java: Likewise.
5885         * javax/transaction/TransactionRequiredException.java: Likewise.
5886         * javax/transaction/TransactionRolledbackException.java: Likewise.
5887         * javax/transaction/UserTransaction.java: Likewise.
5888         * javax/transaction/xa/XAException.java: Likewise.
5889         * javax/transaction/xa/XAResource.java: Likewise.
5890         * javax/transaction/xa/Xid.java: Likewise.
5891
5892 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5893
5894         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5895         define.
5896         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5897         * include/posix.h (socklen_t): Define if not already defined.
5898
5899 2002-11-25  Tom Tromey  <tromey@redhat.com>
5900
5901         * verify.cc (type::compatible): Backed out broken change.
5902
5903         * verify.cc (type::compatible): Check initialization status
5904         first.
5905         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5906         Don't use NULLCHECK.
5907
5908 2002-11-23  H.J. Lu <hjl@gnu.org>
5909
5910         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5911         Include ../config/accross.m4.
5912         * aclocal.m4; Rebuild.
5913         * configure: Likewise.
5914
5915 2002-11-23  Mark Wielaard  <mark@klomp.org>
5916
5917         * javax/naming/AuthenticationException.java: Update copyright header.
5918         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5919         * javax/naming/Binding.java: Likewise.
5920         * javax/naming/CannotProceedException.java: Likewise.
5921         * javax/naming/CommunicationException.java: Likewise.
5922         * javax/naming/CompositeName.java: Likewise.
5923         * javax/naming/CompoundName.java: Likewise.
5924         * javax/naming/ConfigurationException.java: Likewise.
5925         * javax/naming/Context.java: Likewise.
5926         * javax/naming/ContextNotEmptyException.java: Likewise.
5927         * javax/naming/InitialContext.java: Likewise.
5928         * javax/naming/InsufficientResourcesException.java: Likewise.
5929         * javax/naming/InterruptedNamingException.java: Likewise.
5930         * javax/naming/LimitExceededException.java: Likewise.
5931         * javax/naming/LinkException.java: Likewise.
5932         * javax/naming/LinkLoopException.java: Likewise.
5933         * javax/naming/LinkRef.java: Likewise.
5934         * javax/naming/MalformedLinkException.java: Likewise.
5935         * javax/naming/NameAlreadyBoundException.java: Likewise.
5936         * javax/naming/NameClassPair.java: Likewise.
5937         * javax/naming/NameNotFoundException.java: Likewise.
5938         * javax/naming/NameParser.java: Likewise.
5939         * javax/naming/NamingEnumeration.java: Likewise.
5940         * javax/naming/NamingSecurityException.java: Likewise.
5941         * javax/naming/NoInitialContextException.java: Likewise.
5942         * javax/naming/NoPermissionException.java: Likewise.
5943         * javax/naming/NotContextException.java: Likewise.
5944         * javax/naming/OperationNotSupportedException.java: Likewise.
5945         * javax/naming/PartialResultException.java: Likewise.
5946         * javax/naming/Reference.java: Likewise.
5947         * javax/naming/Referenceable.java: Likewise.
5948         * javax/naming/ReferralException.java: Likewise.
5949         * javax/naming/ServiceUnavailableException.java: Likewise.
5950         * javax/naming/SizeLimitExceededException.java: Likewise.
5951         * javax/naming/TimeLimitExceededException.java: Likewise.
5952         * javax/naming/directory/Attribute.java: Likewise.
5953         * javax/naming/directory/AttributeInUseException.java: Likewise.
5954         * javax/naming/directory/AttributeModificationException.java: Likewise.
5955         * javax/naming/directory/Attributes.java: Likewise.
5956         * javax/naming/directory/BasicAttribute.java: Likewise.
5957         * javax/naming/directory/BasicAttributes.java: Likewise.
5958         * javax/naming/directory/DirContext.java: Likewise.
5959         * javax/naming/directory/InitialDirContext.java: Likewise.
5960         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5961         Likewise.
5962         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5963         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5964         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5965         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5966         * javax/naming/directory/ModificationItem.java: Likewise.
5967         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5968         * javax/naming/directory/SchemaViolationException.java: Likewise.
5969         * javax/naming/directory/SearchControls.java: Likewise.
5970         * javax/naming/directory/SearchResult.java: Likewise.
5971         * javax/naming/event/EventContext.java: Likewise.
5972         * javax/naming/event/EventDirContext.java: Likewise.
5973         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5974         * javax/naming/event/NamingEvent.java: Likewise.
5975         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5976         * javax/naming/event/NamingListener.java: Likewise.
5977         * javax/naming/event/ObjectChangeListener.java: Likewise.
5978         * javax/naming/ldap/Control.java: Likewise.
5979         * javax/naming/ldap/ControlFactory.java: Likewise.
5980         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5981         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5982         * javax/naming/ldap/HasControls.java: Likewise.
5983         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5984         * javax/naming/ldap/LdapContext.java: Likewise.
5985         * javax/naming/ldap/LdapReferralException.java: Likewise.
5986         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5987         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5988         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5989         * javax/naming/spi/DirObjectFactory.java: Likewise.
5990         * javax/naming/spi/DirStateFactory.java: Likewise.
5991         * javax/naming/spi/DirectoryManager.java: Likewise.
5992         * javax/naming/spi/InitialContextFactory.java: Likewise.
5993         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5994         * javax/naming/spi/NamingManager.java: Likewise.
5995         * javax/naming/spi/ObjectFactory.java: Likewise.
5996         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5997         * javax/naming/spi/ResolveResult.java: Likewise.
5998         * javax/naming/spi/Resolver.java: Likewise.
5999         * javax/naming/spi/StateFactory.java: Likewise.
6000
6001         * javax/naming/spi/NamingManager.java (ofb): Package private.
6002
6003 2002-11-21  Mark Wielaard  <mark@klomp.org>
6004
6005         * java/net/URL.java: Merge with Classpath (partly).
6006         * java/net/URLStreamHandler: Merge with Classpath.
6007
6008 2002-11-22  Michael Koch <konqueror@gmx.de>
6009
6010         * include/posix.h:
6011         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6012         * include/win32.h:
6013         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6014         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6015
6016 2002-11-21  Michael Koch <konqueror@gmx.de>
6017
6018         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6019         Only the new network functions should be in it.
6020
6021 2002-11-21  Michael Koch <konqueror@gmx.de>
6022
6023         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6024         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6025
6026 2002-11-21  Michael Koch <konqueror@gmx.de>
6027
6028         * java/nio/channels/AsynchronousCloseException.java,
6029         java/nio/channels/CancelledKeyException.java,
6030         java/nio/channels/ClosedByInterruptException.java,
6031         java/nio/channels/ConnectionPendingException.java,
6032         java/nio/channels/FileLockInterruptionException.java,
6033         java/nio/channels/IllegalSelectorException.java,
6034         java/nio/channels/NoConnectionPendingException.java,
6035         java/nio/channels/NonReadableChannelException.java,
6036         java/nio/channels/NonWritableChannelException.java,
6037         java/nio/channels/NotYetBoundException.java,
6038         java/nio/channels/NotYetConnectedException.java,
6039         java/nio/channels/OverlappingFileLockException.java,
6040         java/nio/channels/UnresolvedAddressException.java,
6041         java/nio/channels/UnsupportedAddressTypeException.java:
6042         New files.
6043         * Makefile.am (ordinary_java_source_files): Added new files.
6044         * Makefile.in: Regenerated.
6045
6046 2002-11-21  Michael Koch <konqueror@gmx.de>
6047
6048         * include/posix.h
6049         (_Jv_socket): New method.
6050         (_Jv_connect): New method.
6051         (_Jv_close): New method.
6052         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6053         (_Jv_bind): New method.
6054         (_Jv_listen): New method.
6055         (_Jv_write): New method.
6056         (_Jv_read): New method.
6057         * include/win32.h
6058         (_Jv_socket): New method.
6059         (_Jv_connect): New method.
6060         (_Jv_close): New method.
6061         (_Jv_bind): New method.
6062         (_Jv_listen): New method.
6063         (_Jv_write): New method.
6064         (_Jv_read): New method.
6065         * java/net/natNetworkInterface.cc:
6066         Include platform.h, removed inclusion of socket.h
6067         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6068         ::close() by _Jv_close().
6069         * java/net/natPlainDatagramSocketImpl.cc:
6070         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6071         added some new lines to make code more readable.
6072         (create): Replaced ::socket() by _Jv_socket().
6073         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6074         * java/net/natPlainSocketImpl.cc:
6075         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6076         removed include of socket.h, removed some windows defines
6077         (now in include/win32.h).
6078         (create): Replaced ::socket() by _Jv_socket().
6079         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6080         (write): Replaced ::read by _Jv_write().
6081         (read): Replaced ::read by _Jv_read().
6082
6083 2002-11-20  Michael Koch <konqueror@gmx.de>
6084
6085         * Makefile.am (ordinary_java_source_files):
6086         Added java/nio/channels/FileChannel.java.
6087         * Makefile.in: Regenerated.
6088
6089 2002-11-20  Michael Koch <konqueror@gmx.de>
6090
6091         * java/io/FileInputStream.java
6092         (getChannel): New method.
6093         * java/io/FileOutputStream.java
6094         (getChannel): New method.
6095         * java/net/ServerSocket.java
6096         (bind): Removed duplicate code and called another bind method instead.
6097         * java/nio/channels/SelectionKey.java
6098         (isValid): Removed wrong exception documentation.
6099         * java/nio/channels/ServerSocketChannel.java
6100         (accept): Added exception documentation.
6101         (open): Fixed typo, added exception documentation.
6102         * java/nio/channels/spi/AbstractSelectableChannel.java
6103         (implCloseChannel): Added exception documentation.
6104         (add): Reformated.
6105         (register): Added exception documentation.
6106
6107 2002-11-20  Andreas Jaeger  <aj@suse.de>
6108
6109         * configure: Regenerated with new libtool.m4.
6110
6111 2002-11-19  Tom Tromey  <tromey@redhat.com>
6112
6113         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6114         `referent'.
6115         (finalize_referred_to_object): Don't modify `referent' or `copy'
6116         fields.
6117         (add_to_hash): Correctly set `n->next' when updating list.
6118         * java/lang/ref/Reference.java (enqueue): Return false if already
6119         enqueued.
6120
6121 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6122
6123         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6124         to function and function pointer declarations in accordance with
6125         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6126         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6127         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6128         JNI function definitions.
6129
6130 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6131
6132         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6133         that was causing CoderResults to be cached, not WeakReferences
6134         to CoderResults.
6135
6136 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6137
6138         * java/security/KeyStore.java (getInstance): Fix
6139         comment and throw IllegalArgumentException if
6140         given provider is null.
6141         (getInstance): New method for jdk1.4 compatibility.
6142
6143 2002-11-18  Michael Koch <konqueror@gmx.de>
6144
6145         * java/net/PlainSocketImpl.java: Fix imports.
6146
6147 2002-11-18  Michael Koch <konqueror@gmx.de>
6148
6149         * java/nio/channels/SelectionKey.java
6150         (isValid): Added exception documentation.
6151         * java/nio/channels/Selector.java
6152         (open): Declare "throws IOException".
6153
6154 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6155
6156         * java/nio/charset/Charset.java
6157         (<clinit>): New method.
6158         (encode): Synchronize use of cached encoder object.
6159         (decode): Synchronize use of cached encoder object.
6160
6161 2002-11-18  Michael Koch <konqueror@gmx.de>
6162
6163         * gnu/java/nio/ByteBufferImpl.java,
6164         gnu/java/nio/CharBufferImpl.java,
6165         gnu/java/nio/DatagramChannelImpl.java,
6166         gnu/java/nio/DoubleBufferImpl.java,
6167         gnu/java/nio/FileChannelImpl.java,
6168         gnu/java/nio/FloatBufferImpl.java,
6169         gnu/java/nio/IntBufferImpl.java,
6170         gnu/java/nio/LongBufferImpl.java,
6171         gnu/java/nio/PipeImpl.java,
6172         gnu/java/nio/SelectionKeyImpl.java,
6173         gnu/java/nio/SelectorImpl.java,
6174         gnu/java/nio/SelectorProviderImpl.java,
6175         gnu/java/nio/ServerSocketChannelImpl.java,
6176         gnu/java/nio/ShortBufferImpl.java,
6177         gnu/java/nio/SocketChannelImpl.java,
6178         java/nio/DoubleBuffer.java,
6179         java/nio/FloatBuffer.java,
6180         java/nio/IntBuffer.java,
6181         java/nio/LongBuffer.java,
6182         java/nio/ShortBuffer.java,
6183         java/nio/channels/FileChannel.java: New files.
6184
6185 2002-11-18  Michael Koch <konqueror@gmx.de>
6186
6187         * Makefile.am (ordinary_java_source_files):
6188         Added java/nio/ReadOnlyBufferException.java and
6189         java/nio/channels/ClosedSelectorException.java.
6190         * Makefile.in: Regenerated.
6191
6192 2002-11-18  Michael Koch <konqueror@gmx.de>
6193
6194         * java/net/PlainSocketImpl.java: Reworked imports.
6195         * java/net/ServerSocket.java
6196         (ServerSocket): Create socket.
6197         * java/net/SocketAddress.java: Documentation added.
6198         * java/net/natPlainSocketImpl.cc: Reindented.
6199         * java/nio/ReadOnlyBufferException.java: New file
6200         * java/nio/channels/ClosedChannelException.java: Documentation added.
6201         * java/nio/channels/ClosedSelectorException.java: New file.
6202
6203 2002-11-17  Mark Wielaard  <mark@klomp.org>
6204
6205         * java/net/HttpURLConnection.java ((getPermission): Take port
6206         into consideration.
6207         (getErrorStream): Implement.
6208
6209 2002-11-17  Mark Wielaard  <mark@klomp.org>
6210
6211         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6212
6213 2002-11-16  Mark Wielaard  <mark@klomp.org>
6214
6215         Integrate work by Raif S. Naffah (raif@fl.net.au)
6216         * java/security/DummyKeyPairGenerator.java (clone): New method.
6217         * java/security/DummyMessageDigest.java (clone): New method.
6218         (engineUpdate): Now public.
6219         (engineReset): Likewise.
6220         (engineDigest): Likewise.
6221         (engineGetDigestLength): New method.
6222         * java/security/DummySignature.java (clone): New method.
6223         * java/security/KeyPairGenerator.java (provider): Now package private.
6224         (getInstance(String)): Use getInstance(String,Provider).
6225         (getInstance(String,String): Use getInstance(String,Provider)
6226         (getInstance(String,Provider): New method.
6227         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6228         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6229         * java/security/MessageDigest.java (provider): Now package private.
6230         (getInstance(String): Use getInstance(String,Provider).
6231         (getInstance(String,String): Use getInstance(String,Provider)
6232         (getInstance(String,Provider): New method.
6233         * java/security/Provider.java (toCanonicalKey): New method.
6234         (get): New method that uses toCanonicalKey().
6235         (put): Use toCanonicalKey().
6236         (remove): Likewise.
6237         * java/security/Security.java (insertProviderAt): Provider index is one
6238         based, not zero based.
6239         (addProvider): Likewise.
6240         (removeProvider): Likewise.
6241         * java/security/Signature.java (provider): Now package private.
6242         (getInstance(String)): Use getInstance(String,Provider).
6243         (getInstance(String,String): Use getInstance(String,Provider)
6244         (getInstance(String,Provider): New method.
6245         (getInstance(String,String,Provider): Don't cast DummySignature.
6246
6247 2002-11-15  Tom Tromey  <tromey@redhat.com>
6248
6249         For PR libgcj/8593:
6250         * java/util/zip/GZIPInputStream.java (read): Check file size.
6251         Look in inflater for remaining input bytes.
6252         (read4): Added buf and offset arguments.
6253
6254 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6255
6256         * java/applet/AppletContext.java: Fix typo and remove redundant
6257         modifiers.
6258
6259 2002-11-14  Tom Tromey  <tromey@redhat.com>
6260
6261         * java/lang/natRuntime.cc (insertSystemProperties): Set
6262         gnu.classpath.home.
6263
6264 2002-11-13  Michael Koch <konqueror@gmx.de>
6265
6266         * java/nio/ByteBuffer.java
6267         (allocate): New method.
6268         (wrap): New method.
6269         (put): New method.
6270         (get): New method.
6271
6272 2002-11-13  Michael Koch <konqueror@gmx.de>
6273
6274         * java/nio/channels/AlreadyConnectedException.java:
6275         Removed unneeded import.
6276         (AlreadyConnectedException): Documentation added.
6277         * java/nio/channels/Pipe.java
6278         (SinkChannel.SinkChannel): Documentation added.
6279         (SinkChannel.validOps): New method.
6280         (SourceChannel.SourceChannel): Documentation added.
6281         (SourceChannel.validOps): New method.
6282         (Pipe): Documentation added.
6283         (open): Documentation added.
6284         (SinkChannel.channel): Documentation added.
6285         (SourceChannel.channel): Documentation added.
6286         * java/nio/channel/SelectableChannel.java
6287         (SelectableChannel): Documentation added.
6288         (blockingLock): Documentation added.
6289         (configureBlocking):Documentation added.
6290         (isBlocking):Documentation added.
6291         (isRegistered):Documentation added.
6292         (keyFor):Documentation added.
6293         (provider):Documentation added.
6294         (register): Documentation added.
6295         (validOps): Documentation added.
6296         * jaba/nio/channels/SelectionKey.java
6297         (SelectionKey): Documentation added.
6298         (attach): Documentation added.
6299         (attachment): Documentation added.
6300         (isAcceptable): Documentation added.
6301         (isConnetable): Documentation added.
6302         (isReadable): Documentation added.
6303         (isWritable): Documentation added.
6304         (cancel): Documentation added.
6305         (channel): Documentation added.
6306         (interestOps): Documentation added.
6307         (isValid): Documentation added.
6308         (readyOps): Documentation added.
6309         (selector): Documentation added.
6310         * jaba/nio/channels/Selector.java
6311         (Selector): Documentation added.
6312         (open): Documentation added.
6313         (close): Documentation added.
6314         (isOpen): Documentation added.
6315         (keys): Documentation added.
6316         (provider): Documentation added.
6317         (select): Documentation added.
6318         (selectedKeys): Documentation added.
6319         (selectNow): Documentation added.
6320         (wakeup): Documentation added.
6321         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6322         (AbstractInterruptibleChannel): Documentation added.
6323         (opened): Default to true;
6324         (begin): Documentation added.
6325         (close): Set opened to false, documentation added.
6326         (isOpen): Documentation added.
6327         * java/nio/channels/spi/AbstractSelectionKey.java
6328         (AbstractSelectionKey): Documentation added.
6329         (cancel): Documentation added.
6330         (isValid): Documentation added.
6331         * java/nio/channels/spi/AbstractSelector.java
6332         (AbstractSelector): Documentation added.
6333         (begin): Documentation added.
6334         (close): Documentation added.
6335         (isOpen): Documentation added.
6336         (deregister): Documentation added.
6337         (end): Documentation added.
6338         (provider): Documentation added.
6339         (implCloseSelector): Documentation added.
6340         (register): Documentation added.
6341         * java/nio/channels/spi/SelectorProvider.java
6342         (SelectorProvider): Documentation added.
6343         (openDatagramChannel): Documentation added.
6344         (openPipe): Documentation added.
6345         (openSelector): Documentation added.
6346         (openServerSocketChannel): Documentation added.
6347         (openSocketChannel): Documentation added.
6348         (provider): Documentation added.
6349
6350 2002-11-12  Michael Koch <konqueror@gmx.de>
6351
6352         * java/nio/Buffer.java: Implemented.
6353         * java/nio/CharBuffer.java: New file.
6354         * java/nio/InvalidMarkException.java: New file.
6355         * java/nio/channels/DatagramChannel.java: Implemented.
6356         * java/nio/channels/ServerSocketChannel.java: Implemented.
6357         * java/nio/channels/SocketChannel.java: Implemented.
6358         * java/nio/channels/spi/AbstractChannel.java: Removed.
6359         * java/nio/channels/spi/AbstractSelectableChannel.java:
6360         Implemented.
6361         * java/nio/charset/Charset.java:
6362         Merge from Classpath.
6363         * java/nio/charset/CharsetDecoder.java: New file.
6364         * java/nio/charset/CharsetEncoder.java: New file.
6365         * java/nio/charset/CoderResult.java: New file.
6366         * Makefile.am (ordinary_java_source_files): Added new files.
6367         * Makefile.in: Regenerated.
6368
6369 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6370
6371         * gnu/java/nio/charset/ISO_8859_1.java,
6372         gnu/java/nio/charset/Provider.java,
6373         gnu/java/nio/charset/US_ASCII.java,
6374         gnu/java/nio/charset/UTF_16.java,
6375         gnu/java/nio/charset/UTF_16BE.java,
6376         gnu/java/nio/charset/UTF_16Decoder.java,
6377         gnu/java/nio/charset/UTF_16Encoder.java,
6378         gnu/java/nio/charset/UTF_16LE.java,
6379         gnu/java/nio/charset/UTF_8.java: New files.
6380
6381 2002-11-11  Michael Koch <konqueror@gmx.de>
6382
6383         * java/nio/charset/CharacterCodingException.java:
6384         This class must be public.
6385         * java/nio/charset/CoderMalfunctionError.java:
6386         This class must be public.
6387         * java/nio/charset/CodingErrorAction.java:
6388         This class must be public.
6389         * java/nio/charset/IllegalCharsetNameException.java:
6390         This class must be public, better implementation.
6391         * java/nio/charset/MalformedInputException.java:
6392         This class must be public, better implementation.
6393         * java/nio/charset/UnmappableCharacterException.java:
6394         This class must be public, better implementation.
6395         * java/nio/charset/UnsupportedCharsetException.java:
6396         This class must be public, better implementation.
6397
6398 2002-11-11  Michael Koch <konqueror@gmx.de>
6399
6400         * java/nio/BufferOverflowException.java,
6401         java/nio/BufferUnderflowException.java: New file.
6402         * Makefile.am (ordinary_java_source_files):
6403         Added new files.
6404         * Makefile.in: Regenerated.
6405
6406 2002-11-10  Tom Tromey  <tromey@redhat.com>
6407
6408         * java/awt/Container.java (validate): Use tree lock.
6409         (getComponent): Likewise.
6410         (getComponents): Likewise.
6411         (addImpl): Likewise.
6412         (remove): Likewise.
6413         (removeAll): Likewise.
6414         (processEvent): Fixed indentation.
6415         (getComponentAt): Use tree lock.
6416         (findComponentAt): Likewise.
6417         (removeNotify): Likewise.
6418         (isAncestorOf): Likewise.
6419         (list): Likewise.
6420         (visitChildren): Likewise.
6421         (findNextFocusComponent): Likewise.
6422         (addNotifyContainerChildren): Likewise.
6423         (getAccessibleChildrenCount): Likewise.
6424         (getAccessibleChild): Likewise.
6425
6426         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6427         (getSize): Likewise.
6428         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6429         (getSize): Likewise.
6430         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6431         (calcSize): Likewise.
6432         * java/awt/CardLayout.java (getSize): Use tree lock.
6433         (gotoComponent): Likewise.
6434         (layoutContainer): Likewise.
6435
6436         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6437         count is 0.
6438         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6439         count is 0.
6440
6441         * java/io/Externalizable.java, java/io/FilePermission.java,
6442         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6443         java/io/SerializablePermission.java, java/text/Format.java,
6444         java/util/AbstractMap.java, java/util/HashMap.java,
6445         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6446         versions from Classpath.
6447
6448 2002-11-10  Anthony Green  <green@redhat.com>
6449
6450         * java/util/jar/Attributes.java (Name): Fix name check.
6451
6452 2002-11-10  Mark Wielaard  <mark@klomp.org>
6453
6454         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6455         with getName() as message.
6456         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6457         type as message.
6458
6459         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6460         unused.
6461
6462 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6463
6464         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6465         for Win32. JNICALL has been defined to __stdcall to be compatible
6466         with Sun's JDKs.
6467
6468 2002-11-10  Tom Tromey  <tromey@redhat.com>
6469
6470         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6471         (setRows): Check newRows, not rows.
6472
6473         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6474
6475 2002-11-09  Tom Tromey  <tromey@redhat.com>
6476
6477         * java/applet/Applet.java, java/applet/AppletContext.java,
6478         java/applet/AppletStub.java, java/applet/AudioClip.java,
6479         java/awt/CardLayout.java,
6480         java/awt/ContainerOrderFocusTraversalPolicy.java,
6481         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6482         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6483         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6484         java/awt/color/ICC_ColorSpace.java,
6485         java/awt/color/ICC_Profile.java,
6486         java/awt/color/ICC_ProfileGray.java,
6487         java/awt/color/ICC_ProfileRGB.java,
6488         java/awt/datatransfer/DataFlavor.java,
6489         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6490         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6491         New versions from Classpath.
6492         * Makefile.in: Rebuilt.
6493         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6494         ICC_ProfileRGB.
6495
6496         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6497         display policy.
6498
6499         * java/awt/List.java (processEvent): Added missing `else's.
6500
6501         * java/awt/Window.java (show): validate() before showing.  Make
6502         parent displayable.
6503         (isDisplayable): New method.
6504
6505 2002-11-07  Mark Wielaard  <mark@klomp.org>
6506
6507         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6508         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6509
6510         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6511         annotation.
6512         (loadClass): Take String as codebases.
6513         (getClassAnnotation): Use MyClassLoader annotations.
6514         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6515         call exportObject(this).
6516
6517         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6518         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6519         (setAnnotation): Don't set locBytesStream and locStream.
6520         (replaceObject): Removed.
6521         (flush): Don't test locStream.
6522         (getLocBytes): LikeWise.
6523         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6524         (leaseCache): New field.
6525         (dirty): Use leaseCache.
6526         (LeaseRecord): New inner class.
6527         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6528         explicitly call exportObject().
6529         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6530         false to communicate with Sun JDK130.
6531         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6532         * gnu/java/rmi/server/RMIObjectInputStream.java
6533         (UnicastConnectionManager): Removed field.
6534         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6535         Use UnicastServer.getExportedRef().
6536         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6537         (expireTime): Likewise.
6538         (CONNECTION_TIMEOUT): Likewise.
6539         (disconnect): Call sock.close().
6540         (isExpired): New method.
6541         (resetTime): Likewise.
6542         (run): Use do while loop and catch Exception for discardConnection().
6543         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6544         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6545         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6546         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6547         (exportObject): Use refcache.
6548         (unexportObject): Likewise.
6549         (getExportedRef): New method.
6550         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6551         constructor.
6552         (exportObject): Save manager.serverobj.
6553         (getStub): New method.
6554
6555 2002-11-07  Mark Wielaard  <mark@klomp.org>
6556
6557         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6558         (getByte): Likewise.
6559         (getShort): Likewise.
6560         (getInt): Likewise.
6561         (getLong): Likewise.
6562         (getFloat): Likewise.
6563         (getDouble): Likewise.
6564         (get): Likewise.
6565         (setChar): Likewise.
6566         (setByte): Likewise.
6567         (setShort): Likewise.
6568         (setInt): Likewise.
6569         (setLong): Likewise.
6570         (setFloat): Likewise.
6571         (setDouble): Likewise.
6572
6573 2002-11-07  Michael Koch <konqueror@gmx.de>
6574
6575         * java/awt/Choice.java,
6576         java/awt/Container.java,
6577         java/awt/GridBagLayout.java:
6578         Fixed documentation.
6579         * java/awt/peer/ContainerPeer.java:
6580         Reindented.
6581
6582 2002-11-07  Michael Koch <konqueror@gmx.de>
6583
6584         * java/awt/color/ICC_Profile.java:
6585         Added missing constants.
6586         * java/awt/color/ICC_ColorSpace.java
6587         (getMinValue): Added dummy implementation.
6588         (getMaxValue): Added dummy implementation.
6589         * java/awt/datatransfer/DataFlavor.java
6590         (imageFlavor): Added.
6591         (isMimeTypeEqual): Must be final.
6592         (getDefaultRepresentationClass): Must be non-static.
6593         (getDefaultRepresentationClassAsString): Must be non-static.
6594         * java/awt/dnd/DragSourceContext.java
6595         (dragExit): Corrected argument.
6596         (dragDropEnd): Corrected argument.
6597         * java/awt/dnd/DragSourceListener.java.java
6598         (dragExit): Corrected argument.
6599         (dragDropEnd): Corrected argument.
6600         * java/awt/font/TextHitInfo.java
6601         (toString): Added stubbed implementation.
6602         * java/awt/geom/PathIterator.java:
6603         The constants must be static.
6604         * java/awt/image/VolatileImage.java
6605         (IMAGE_INCOMPATIBLE): Fixed typo.
6606         * java/awt/image/renderable/RenderableImage.java
6607         (HINTS_OBSERVED): Must be static.
6608         * java/beans/BeanInfo.java:
6609         Constants must be final.
6610
6611 2002-11-06  Tom Tromey  <tromey@redhat.com>
6612
6613         From svens@it.uu.se.  For PR libgcj/8481.
6614         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6615
6616 2002-11-06  Tom Tromey  <tromey@redhat.com>
6617
6618         * jni.cc (array_from_valist): Assume that jlong won't be
6619         promoted.
6620
6621 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6622
6623         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6624         Return 20.
6625         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6626         Return 16.
6627
6628 2002-11-03  Tom Tromey  <tromey@redhat.com>
6629
6630         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6631         VMClassLoader, not findClass.
6632
6633 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6634
6635         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6636         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6637         _Jv_DetermineVTableIndex, to determine vtable offset.
6638         (_Jv_DetermineVTableIndex): Remove.
6639         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6640
6641         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6642
6643 2002-11-03  Tom Tromey  <tromey@redhat.com>
6644
6645         * java/nio/channels/AlreadyConnectedException.java: Extend
6646         IllegalStateException, per spec.
6647
6648 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6649
6650         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6651
6652 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6653
6654         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6655         size items.
6656
6657 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6658
6659         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6660         initial estimated size to avoid enlarge buffer frequently.
6661
6662 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6663
6664         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6665         ClassLoader when null.
6666         (ProxyType.hashCode): Loader null check no longer needed.
6667         (ProxyType.sameTypes): New method.
6668         (ProxyType.equals): Use new method.
6669
6670 2002-10-31  Mark Wielaard  <mark@klomp.org>
6671
6672         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6673         length of String.
6674         * java/net/URLEncoder.java (encode): Likewise.
6675
6676 2002-10-31  Mark Wielaard  <mark@klomp.org>
6677
6678         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6679         when stream is closed.
6680         (closeEntry): Likewise.
6681         (read): Likewise.
6682         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6683         ZipException when no entry active.
6684         (closeEntry): Likewise.
6685         (write): Likewise.
6686
6687 2002-11-02  Tom Tromey  <tromey@redhat.com>
6688
6689         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6690         * java/lang/natClass.cc (initializeClass): Don't return just
6691         because self==thread.
6692
6693         For PR java/8415:
6694         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6695         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6696
6697 2002-11-02  Andreas Schwab  <schwab@suse.de>
6698
6699         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6700         pass GCJFLAGS.
6701         (FLAGS_TO_PASS): Define.
6702         * Makefile.in: Regenerated.
6703
6704 2002-11-01  Michael Koch  <konqueror@gmx.de>
6705
6706         * java/nio/ByteOrder.java: New file.
6707         * java/nio/channels/DatagramChannel.java:
6708         (DatagramChannel): New constructor.
6709         * java/nio/channels/Pipe.java: New file.
6710         * java/nio/channels/SelectableChannel.java: New file.
6711         * java/nio/channels/SelectionKey.java: New file.
6712         * java/nio/channels/Selector.java: New file.
6713         * java/nio/channels/ServerSocketChannel.java
6714         (ServerSocketChannel): New constructor.
6715         * java/nio/channels/SocketChannel.java
6716         (SocketChannel): New constructor.
6717         * java/nio/channels/Pipe.java: New file.
6718         * java/nio/channels/spi/AbstractChannel.java: New file.
6719         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6720         * java/nio/channels/spi/AbstractSelectableChannel.java:
6721         License added
6722         (AbstractSelectableChannel): New stubbed method.
6723         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6724         * java/nio/channels/spi/AbstractSelector.java: New file.
6725         * java/nio/channels/spi/SelectorProvider.java: New file.
6726         * java/nio/charset/Charset.java: New file.
6727         * java/nio/charset/CoderMalfunctionError.java: New file.
6728         * java/nio/charset/CodingErrorAction.java: New file.
6729         * java/nio/charset/spi/CharsetProvider.java
6730         (charsetForName): Uncommented.
6731         * Makefile.am (java_native_source_files): Added new files.
6732         * Makefile.in: Regenerated.
6733
6734 2002-11-01  Michael Koch  <konqueror@gmx.de>
6735
6736         * java/net/InetAddress.java:
6737         (isAnyLocalAddress): Implemented.
6738         (isLoopbackAddress): Implemented, comment added.
6739         (isLinkLocalAddress): Implemented, documentation added.
6740         (isSiteLocalAddress): Implemented, documentation added.
6741         (isMCGlobal): Implemented, documentation added.
6742         (isMCNodeLocal): Implemented, documentation added.
6743         (isMCLinkLocal): Implemented, documentation added.
6744         (isMCSiteLocal): Implemented, documentation added.
6745         (isMCOrgLocal): Implemented, documentation added.
6746         (getHostName): Documentation added.
6747         (getCanonicalHostName): Implemented, documentation added.
6748         (getAddress): Documentation added.
6749         (hashCode): Documentation added.
6750         (equals): Documentation added.
6751         (toString): Fixed implementation.
6752         (getByAddress): Use Inet4Address and Inet6Address.
6753         (lookup): New linewrap.
6754         (getByName): SecurityManager check added, support Inet4Address and
6755         Inet6address, comments added.
6756         (getAllByName): SecurityManager check added, comments added.
6757         * java/net/Inet6Address.java:
6758         (Inet6Address): Initialize parent class with addr instead of null.
6759         * java/net/URL.java
6760         (equals): Documentation added.
6761         (getFile): Documentation added.
6762         (hashCode): Documentation added.
6763         * java/net/natInetAddress.cc:
6764         (aton): Fix IPv6 support.
6765         * java/net/natPlainDatagramSocketImpl.cc:
6766         (peek): Throw PortUnreachableException when suitable.
6767         (peekData): Throw PortUnreachableException when suitable.
6768         (send): Throw PortUnreachableException when suitable.
6769         (receive): Throw PortUnreachableException when suitable.
6770
6771 2002-10-27  Mark Wielaard  <mark@klomp.org>
6772
6773         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6774         argument.
6775         (readLeShort): Likewise and use byte[].
6776         (readLeInt): Likewise.
6777         (readEntries): Use new versions of methods and use byte[] for reading
6778         a complete zip entry. Add ZipFile name to exceptions.
6779         (entries): Add ZipFile name to exceptions.
6780         (getEntry): Likewise.
6781         (checkLocalHeader): Use new versions of methods and add ZipFile name
6782         to exceptions.
6783
6784 2002-10-31  Mark Anderson  <mark@panonet.net>
6785
6786         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6787         added
6788
6789 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6790
6791         * configure.in: Disable hash sync when not using threads.
6792         * configure: Regenerated.
6793
6794 2002-10-24  Tom Tromey  <tromey@redhat.com>
6795
6796         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6797         (_Jv_FindSymbolInExecutable): Removed argument name.
6798         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6799         java.library.path is set.
6800
6801         * gij.cc (help): Document --showversion.
6802         (version): Don't exit.
6803         (main): Handle --showversion.  Exit if --version given.
6804
6805 2002-10-23  Tom Tromey  <tromey@redhat.com>
6806
6807         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6808         (array_from_valist): Correctly handle promotion for jint, jlong,
6809         jfloat, and jdouble.
6810
6811 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6812
6813         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6814         GetFileAttributesEx( ) to find file length and modification times,
6815         as the latter is not present on Windows 95.
6816
6817 2002-10-21  Michael Koch  <konqueror@gmx.de>
6818
6819         * java/net/URL.java
6820         (URL): Activate SecurityManager checks.
6821         (equals): Use URLStreamHandler implementation instead of doing it
6822         alone. This allows special protocol stream handlers to change default
6823         behaviour.
6824         (hashCode): Use URLStreamHandler implementation instead of doing it
6825         alone. This allows special protocol stream handlers to change default
6826         behaviour.
6827         * java/net/URLStreamHandler.java
6828         (equals): Implemented default URL equality check.
6829         (hostsEqual): Implemented default URL equality check.
6830         (hashCode): Implemented default URL hashCode algorithm.
6831         * java/net/natPlainDatagramSocketImpl.cc:
6832         No lines longer then 80 characters.
6833
6834 2002-10-20  Adam Megacz <adam@xwt.org>
6835
6836         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6837         * configure.in: enabled hash sync on Win32
6838         * include/win32-threads.h (_Jv_ThreadId_t): added.
6839         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6840         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6841         removed some posix-isms, use Thread::sleep() instead of usleep,
6842         added code to clear bottom three bits if platform has a broken
6843         linker.
6844         * include/win32-threads.h (_Jv_ThreadId_t): added.
6845
6846 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6847
6848         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6849         runtime property "gnu.gcj.progname" containing the name used to
6850         invoke the current Java program (similar to argv[0] for C
6851         programs).
6852
6853 2002-10-15  Tom Tromey  <tromey@redhat.com>
6854
6855         Fix for PR libgcj/8234:
6856         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6857         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6858
6859 2002-10-13  Mark Wielaard  <mark@klomp.org>
6860
6861         * mauve-libgcj: Enable Mauve tests that compile now.
6862
6863 2002-10-11  Mark Wielaard  <mark@klomp.org>
6864
6865         Fix for PR libgcj/8142
6866         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6867         loading native modules.
6868
6869 2002-10-10  Michael Koch  <konqueror@gmx.de>
6870
6871         * javax/swing/AbstractListModel.java
6872         (getListDataListeners): New stubbed method.
6873         javax/swing/DefaultBoundedRangeModel.java
6874         (getChangeListeners): New stubbed method.
6875         javax/swing/DefaultSingleSelectionModel.java
6876         (getChangeListeners): New stubbed method.
6877
6878 2002-10-10  Michael Koch  <konqueror@gmx.de>
6879
6880         * gcj/.cvsignore: New file to ignore files generated during build.
6881         * include/.cvsignore: New file to ignore files generated during build.
6882
6883 2002-10-10  Michael Koch  <konqueror@gmx.de>
6884
6885         * java/net/HttpURLConnection.java
6886         (getPermission): New method.
6887         (getErrorStream): New stub method.
6888         (getHeaderFieldDate): New stub method.
6889         * java/net/Inet4Address.java:
6890         (isLinkLocalAddress): Typo fixed.
6891         * java/net/InetAddress.java:
6892         (readResolve): New stubbed method (for serialization).
6893         (isAnyLocalAddress): New stubbed method.
6894         (isLoopbackAddress): New stubbed method.
6895         (isLinkLocalAddress): New stubbed method.
6896         (isSiteLocalAddress): New stubbed method.
6897         (isMCGlobal): New stubbed method.
6898         (isMCNodeGlobal): New stubbed method.
6899         (isMCLinkLocal): New stubbed method.
6900         (isMCSiteLocal): New stubbed method.
6901         (isMCOrgLocal): New stubbed method.
6902         (getCanonicalHostName): New stubbed method.
6903         (getByAddress): Create instances of Inet4Address/Inet6Address,
6904         instead of InetAddress, documentation added.
6905         * java/net/MulticastSocket.java
6906         (getInterface): Removed FIXME.
6907         (getNetworkInterface): New method.
6908         (setNetworkInterface): New method.
6909         * java/net/NetworkInterface.java:
6910         (toString): Use property "line.separator" instead of "\n".
6911         * java/net/URLConnection.java
6912         (getContent): New stubbed method.
6913         * java/net/URLStreamHandler.java:
6914         (equals): New stubbed method.
6915         (hostsEqual): New stubbed method.
6916         (hashCode): New stubbed method.
6917         * java/net/natNetworkInterface.cc:
6918         (getRealNetworkInterfaces): Create Inet4Address object
6919         instead of InetAddress.
6920
6921 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6922
6923         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6924         unsigned long temporary to implement insn_iushr shifts.
6925
6926 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6927
6928         * configure.host [s390*-*]: Enable Java interpreter.
6929         Enable hash synchronization.  Add sysdeps dir.
6930         * sysdep/s390/locks.h: New file.
6931
6932 2002-10-06  Mark Wielaard  <mark@klomp.org>
6933
6934         * java/lang/Thread.java (setDaemon): Check startable_flag,
6935         not isAlive().
6936
6937 2002-10-07  Michael Koch  <konqueror@gmx.de>
6938
6939         * java/nio/Buffer.java: New stub file.
6940         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6941         of class Charset.
6942         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6943         * Makefile.in: Regenerated.
6944
6945 2002-10-07  Michael Koch  <konqueror@gmx.de>
6946
6947         * java/nio/ByteBuffer.java:
6948         removed import of not commited class.
6949
6950 2002-10-07  Michael Koch  <konqueror@gmx.de>
6951
6952         * java/nio/ByteBuffer.java,
6953         java/nio/MappedByteBuffer.java:
6954         New files, forgot to add these dummies.
6955         * Makefile.am (java_native_source_files): Added new files.
6956         * Makefile.in: Regenerated.
6957
6958 2002-10-07  Michael Koch  <konqueror@gmx.de>
6959
6960         * java/nio/channels/AlreadyConnectedException.java,
6961         java/nio/channels/ClosedChannelException.java,
6962         java/nio/channels/ReadableByteChannel.java,
6963         java/nio/channels/InterruptibleChannel.java,
6964         java/nio/channels/Channel.java,
6965         java/nio/channels/ByteChannel.java,
6966         java/nio/channels/GatheringByteChannel.java,
6967         java/nio/channels/ScatteringByteChannel.java,
6968         java/nio/channels/WritableByteChannel.java,
6969         java/nio/charset/CharacterCodingException.java,
6970         java/nio/charset/IllegalCharsetNameException.java,
6971         java/nio/charset/MalformedInputException.java,
6972         java/nio/charset/UnmappableCharacterException.java,
6973         java/nio/charset/UnsupportedCharsetException.java,
6974         java/nio/charset/spi/CharsetProvider.java: New file.
6975         These files are exceptions or interfaces,
6976         no real or abstract classes.
6977         * Makefile.am (java_native_source_files): Added new files.
6978         * Makefile.in: Regenerated.
6979
6980 2002-10-05  Michael Koch  <konqueror@gmx.de>
6981
6982         * java/net/InetAddress.java
6983         (getByAddress): Fixed documentation.
6984         (getByAddress): New method.
6985         * java/net/Inet4Address.java: New file.
6986         * java/net/URL.java
6987         (URL): Documentation added.
6988         (getContent): Documentation added.
6989         (getContent): New stubbed method.
6990         (getQuery): New method.
6991         (openConnection): Documentation added.
6992         (openStream): Documentation added.
6993         (setURLStreamHandlerFactory): Documentation added.
6994         * java/net/URI.java: New stub file.
6995         * Makefile.am
6996         (java_native_source_files): Added java/net/Inet4Address.java,
6997         java/net/Inet6Address.java and java/net/URI.java.
6998         * Makefile.in: Regenerated.
6999
7000 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7001
7002         * java/lang/ProtectionDomain.java (linesep): Remove field.
7003         (toString): Use System.getProperty("line.separator").
7004
7005 2002-10-04  Michael Koch  <konqueror@gmx.de>
7006
7007         * java/security/Identity.java: Added serialVersionUID.
7008         * java/security/KeyPair.java: Added serialVersionUID.
7009         * java/security/Provider.java: Added serialVersionUID.
7010         * java/security/SecureRandom.java: Added serialVersionUID.
7011         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7012         * java/security/SignedObject.java: Added serialVersionUID.
7013         * java/security/cert/Certificate.java: Added serialVersionUID.
7014
7015 2002-10-04  Mark Wielaard <mark@klomp.org>
7016
7017         * java/security/Security.java: Use java.home or gnu.classpath.home
7018         to load providers.
7019         (loadProviders): Extra dir argument.
7020         (getProvider): Return null when not found.
7021
7022 2002-10-04  Mark Wielaard  <mark@klomp.org>
7023
7024         * java/lang/Throwable.java: Remerge with Classpath.
7025
7026 2002-10-04  Michael Koch  <konqueror@gmx.de>
7027
7028         * java/net/InetAddress.java:
7029         (isMulticastAddress): Added documentation.
7030         (getHostAddress): Added documentation.
7031         (toString): Added documentation.
7032         (getByAddress): Fixed documentation.
7033         (getByName): Added documentation.
7034         (getAllByName): Added documentation.
7035         (getLocalHost): Added documentation.
7036
7037 2002-10-04  Michael Koch  <konqueror@gmx.de>
7038
7039         * java/beans/beancontext/BeanContextChildSupport.java:
7040         Added serialVersionUID.
7041         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7042         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7043         * javax/naming/Name.java: Added serialVersionUID.
7044
7045 2002-10-03  Adam Megacz <adam@xwt.org>
7046
7047         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7048         some functionality that isn't supported yet on WIN32.
7049
7050 2002-10-03  Tom Tromey  <tromey@redhat.com>
7051
7052         * Makefile.in: Rebuilt.
7053         * Makefile.am (awt_java_source_files): Added new files.
7054
7055 2002-10-03  Michael Koch  <konqueror@gmx.de>
7056
7057         * java/net/InetAddress.java
7058         (class InetAddress): Removed final keyword.
7059         (equals): Fixed typo.
7060         (getByAddress): New method.
7061
7062 2002-10-03  Michael Koch  <konqueror@gmx.de>
7063
7064         * java/awt/dnd/Autoscroll.java:
7065         New file, merge from Classpath.
7066         * java/awt/dnd/DragSourceAdapter.java:
7067         (dragExit): Fixed typos in argument type.
7068         (dragDropEnd): Fixed typos in argument type.
7069         * java/awt/dnd/DragSourceDropEvent.java:
7070         New file, merge from Classpath.
7071         * java/awt/dnd/DropTarget.java:
7072         Added stubs, merge from Classpath.
7073         * java/awt/dnd/DropTargetAdapter.java:
7074         New file, merge from Classpath.
7075         * java/awt/dnd/DropTargetContext.java:
7076         New file, merge from Classpath.
7077         * java/awt/dnd/DropTargetDragEvent.java:
7078         New file, merge from Classpath.
7079         * java/awt/dnd/DropTargetDropEvent.java:
7080         New file, merge from Classpath.
7081         * java/awt/dnd/DropTargetEvent.java:
7082         New file, merge from Classpath.
7083         * java/awt/dnd/DropTargetListener.java:
7084         New file, merge from Classpath.
7085         * java/awt/dnd/MouseDragGestureRecognizer.java:
7086         New file, merge from Classpath.
7087         * java/awt/dnd/peer/DropTargetContextPeer.java:
7088         New file, merge from Classpath.
7089
7090 2002-10-03  Michael Koch  <konqueror@gmx.de>
7091
7092         * java/net/DatagramPacket.java
7093         (setLength): Fixed typo and be HTML-aware.
7094         * java/net/InetSocketAddress.java
7095         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7096         (equals): Added comment about equality of InetSocketAddress objects.
7097         * java/net/ServerSocket.java
7098         (accept): Added checks.
7099         (isClosed): New stubbed method.
7100         * java/net/SocketOptions.java: Reindention.
7101         * java/net/SocketPermission
7102         (SocketPermission): Documentation fixed.
7103
7104 2002-10-03  Michael Koch  <konqueror@gmx.de>
7105
7106         * java/net/DatagramSocket.java
7107         (receive): Check with SecurityManager AFTER the packet is received,
7108         check if connected to multicast address, documentation added.
7109         (send): Only check SecurityManager if connected, check address of
7110         packet to send.
7111         (connect): Implemented, documentation added.
7112         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7113         * java/net/InetSocketAddress.java
7114         (whole file): Reindented.
7115         (hostname): New attribute.
7116         (InetSocketAddress): Initialize new attribute.
7117         (getAddress): Documentation added.
7118         (getHostName): Documentation added.
7119         (getPort): Documentation added.
7120         (hashCode): Documentation added.
7121         (isUnresolved): Documentation added.
7122         (toString): Conform to output of JDK 1.4.1, documentation added.
7123         * java/net/MulticastSocket.java
7124         (joinGroup): Removed FIXME, documentation added.
7125         (leaveGroup): Removed FIXME, documentation added.
7126         (send): Documentation added.
7127         * java/net/Socket.java
7128         (inputShutdown): New variable.
7129         (outputShutdown): New variable.
7130         (Socket): Initialize new variables.
7131         (getRemoteSocketAddress): Check if connected.
7132         (shutdownInput): Set new variable.
7133         (shutdownOutput): Set new variable.
7134         (isConnected): New method.
7135         (isClosed): New method.
7136         (isInputShutdown): New method.
7137         (isOutputShutdown): New method.
7138         * java/net/URLStreamHandler.java
7139         (URLStreamHandler): New method.
7140         (openConnection): Added documentation.
7141         (parseURL): Added documentation.
7142         (getHostAddress): New method.
7143         (getDefaultPort): New method.
7144
7145 2002-10-02  Tom Tromey  <tromey@redhat.com>
7146
7147         * java/rmi/activation/ActivationDesc.java,
7148         java/rmi/activation/ActivationGroupDesc.java,
7149         java/rmi/activation/ActivationGroupID.java,
7150         java/rmi/activation/ActivationID.java: New versions from
7151         Classpath.
7152
7153 2002-09-30  Bo Thorsen  <bo@suse.de>
7154
7155         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7156
7157 2002-09-30  Tom Tromey  <tromey@redhat.com>
7158
7159         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7160         from Classpath.
7161         * Makefile.in: Rebuilt.
7162         * Makefile.am (rmi_java_source_files): Added new files.
7163         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7164         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7165         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7166         Classpath.
7167         * gnu/java/rmi/dgc/DGCImpl.java,
7168         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7169         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7170         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7171         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7172         gnu/java/rmi/server/RMIHashes.java,
7173         gnu/java/rmi/server/RMIObjectInputStream.java,
7174         gnu/java/rmi/server/RMIObjectOutputStream.java,
7175         gnu/java/rmi/server/UnicastConnection.java,
7176         gnu/java/rmi/server/UnicastConnectionManager.java,
7177         gnu/java/rmi/server/UnicastRef.java,
7178         gnu/java/rmi/server/UnicastServer.java,
7179         gnu/java/rmi/server/UnicastServerRef.java,
7180         java/rmi/MarshalledObject.java,
7181         java/rmi/server/RMIClassLoader.java,
7182         java/rmi/server/RemoteObject.java,
7183         java/rmi/server/UnicastRemoteObject.java,
7184         java/security/SecureClassLoader.java: Merged from Classpath.
7185
7186 2002-09-29  Anthony Green  <green@redhat.com>
7187
7188         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7189         Imported from GNU Classpath.
7190         * java/lang/reflect/natProxy.cc: New file.
7191         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7192         from GNU Classpath.
7193         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7194         Classpath.
7195         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7196         Classpath.
7197         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7198         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7199         New statics.
7200         * gcj/javaprims.h ("Java"): Add new classes.
7201         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7202         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7203         java/lang/reflect/Proxy$$ProxyType.h): And this.
7204         (inner_nat_headers): Add these new headers.
7205         (ordinary_java_source_files): Add new files.
7206         (nat_source_files): Add new file.
7207         * Makefile.in: Rebuilt.
7208
7209 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7210
7211         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7212         a single configuration.
7213
7214 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7215
7216         * java/util/TimeZone.java (getDSTSavings): New method.
7217         Fixes PR libgcj/7786.
7218
7219 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7220
7221         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7222         to see if `the_method == 0' before looking up vtable index.
7223         Fixes PR libgcj/7709.
7224
7225 2002-09-25  Tom Tromey  <tromey@redhat.com>
7226
7227         * java/lang/natClassLoader.cc:
7228         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7229         * resolve.cc: Include NoClassDefFoundError.h, not
7230         ClassNotFoundException.h.
7231         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7232
7233         * defineclass.cc: Don't include ClassNotFoundException.h.
7234
7235         * resolve.cc: Include StringBuffer.
7236         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7237
7238         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7239         allocated but not initialized.
7240
7241 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7242
7243         Fix for PR libgcj/7766:
7244         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7245         (getNextEntry): Set it.
7246         (closeEntry): Likewise.
7247         (read): Likewise.
7248         (close): Likewise.
7249         (available): Use it.
7250
7251 2002-09-25  Michael Koch  <konqueror@gmx.de>
7252
7253         * java/net/DatagramSocket.java
7254         (DatagramSocket): Initialize new instance variables.
7255         (close): Reset new instance variables.
7256         (getLocalAddress): Remove unneeded SecurityManager usage.
7257         (getLocalPort): Check if socket is already bound.
7258         (isConnected): New method.
7259         (getInetAddress): Implemented.
7260         (getPort): Better Implementation, documentation fixed.
7261         (getRemoteSocketAddress): New method.
7262         * java/net/JarURLConnection.java
7263         (element): Typo fixed.
7264         (getMainAttributes): New method.
7265         (getAttributes): New method (stub only).
7266         (getManifest): New method (stub only).
7267         * java/net/NetPermission.java: Added serialVersionsUID.
7268         * java/net/Socket.java
7269         (connect): Check blocking mode of associated channel,
7270         documentation added.
7271         (getLocalSocketAddress): Better implementation.
7272         (getRemoteSocketAddress): Implemented.
7273         (isBound): New method.
7274         (setSendBufferSize): Documentation added.
7275         * java/net/SocketAddress.java: Added serialVersionsUID.
7276         * java/net/SocketPermission.java: Added serialVersionsUID.
7277         * java/net/URL.java
7278         (URL): Wrap for shorter lines, initialize new instance variables,
7279         documentation added.
7280         (equals): Check new instance variables too.
7281         (getContent): Documentation added.
7282         (getPath): Documentation added.
7283         (getAuthority): New method.
7284         (getHost): Documentation added.
7285         (getPort): Documentation added.
7286         (getDefaultPort): New method.
7287         (getProtocol): Documentation added.
7288         (getUserInfo): Documentation added.
7289         (set): Initialize new instance variables, documentation added.
7290         * java/net/URLStreamHandler.java
7291         (setURL): New method.
7292         * java/net/natPlainDatagramSocketImpl.cc
7293         (connect): Fix exception name.
7294         (disconnect): Fix exception name.
7295
7296 2002-09-25  Michael Koch  <konqueror@gmx.de>
7297
7298         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7299         * java/nio/channels/DatagramChannel.java:
7300         extends AbstractSelectableChannel
7301         * java/nio/channels/ServerSocketChannel.java:
7302         extends AbstractSelectableChannel
7303         * java/nio/channels/SocketChannel.java:
7304         extends AbstractSelectableChannel
7305         * Makefile.am (ordinary_java_source_files):
7306         java/nio/channels/spi/AbstractSelectableChannel.java added.
7307         * Makefile.in: Regenerated.
7308
7309 2002-09-25  Michael Koch  <konqueror@gmx.de>
7310
7311         * java/net/DatagramSocket.java
7312         (DatagramSocket): Exception documentation added.
7313         (bind): Exception documentation added, addded SecurityManager check,
7314         added SocketAddress type check.
7315         (getSoTimeout): Check impl.
7316         (receive): Fix SecurityManager check, check impl, documentation added.
7317         (send): Check channel mode, documentation added.
7318         (connect): New method.
7319         (disconnect): Implemented.
7320         (getLocalSocketAddress): New method.
7321         (getReceiveBufferSize): Check impl.
7322         (setReuseAddress): Check impl.
7323         (getReuseAddress): Check impl.
7324         (setBroadcast): Check impl.
7325         (getBroadcast): Check impl.
7326         (setTrafficClass): Check impl, Documentation cleared.
7327         (getTrafficClass): Check impl.
7328         (getSendBufferSize): Check impl.
7329         (setReceiveBufferSize): Check impl, documentation added.
7330         (setSendBufferSize): Documentation added.
7331         (setDatagramSocketImplFactory): New method.
7332         * java/net/HttpURLConnection.java
7333         (HTTP_INTERNAL_ERROR): The correct code is 500.
7334         (HTTP_NOT_IMPLEMENTED): Added new constant.
7335         (setFollowRedirects): Documentation added.
7336         (getInstanceFollowRedirects): New method.
7337         (setInstanceFollowRedirects): New method.
7338         (setRequestMethod): Documentation added.
7339         (getResponseCode): Documentation added.
7340         (getResponseMessage): Documentation added.
7341         * java/net/JarURLConnection.java
7342         (JarURLConnection): protected since JDK 1.4.
7343         (getJarEntry): java.io.IOException to IOException, documentation added.
7344         (getJarFile): Documentation added.
7345         * java/net/ServerSocket.java
7346         (ServerSocket): Private to public, exception added.
7347         (ServerSocket): java.io.IOException to IOException, documentation added.
7348         (bind): Check socket address type, documentation added.
7349         (bind): java.io.IOException to IOException, documentation added.
7350         (accept): Documentation added.
7351         (implAccept): Check ch is not non-blocking, documentation added.
7352         (setSoTimeout): Documentation fixed.
7353         (setReceiveBufferSize): Documentation added.
7354         * java/net/Socket.java
7355         (Socket): Documentation added.
7356         (bind): Documentation added.
7357         (connect): Check socket address type, documentation added.
7358         (getRemoteSocketAddress): New method.
7359         (getLocalSocketAddress): New method.
7360         (setSoLinger): Documentation added.
7361         (getReuseAddress): New method.
7362         (setReuseAddress): New method.
7363         (getTrafficClass): New method.
7364         (setTrafficClass): New method.
7365         * java/net/URLStreamHandler.java
7366         (openConnection): java.io.IOException to IOException.
7367         (parseURL): Documentation added.
7368         (sameFile): public to protected, documentation added.
7369         (setURL): Documentation added.
7370         * java/nio/IllegalBlockingModeException.java: New file.
7371         * Makefile.am (ordinary_java_source_files):
7372         added java/nio/IllegalBlockingModeException.java
7373         * Makefile.in: Regenerated.
7374
7375 2002-09-25  Michael Koch  <konqueror@gmx.de>
7376
7377         * java/net/DatagramPacket
7378         (DatagramPacket): Exception documentation added.
7379         (setData): Likewise.
7380         (setSocketAddress): Likewise.
7381         * java/net/DatagramSocketImpl.java
7382         (peek): Documentation addded.
7383         (peekData): Documentation addded.
7384         (send): Documentation addded.
7385         (receive): Documentation addded.
7386         (connect): New method.
7387         (disconnect): New method.
7388         (joinGroup): New abstract method.
7389         (leaveGroup): New abstract method.
7390         * java/net/InetSocketAddress.java
7391         (InetSocketAddress): Documentation added.
7392         (equals): final keyword added.
7393         (getAddress): final keyword added.
7394         (getHostName): final keyword added.
7395         (getPort): final keyword added.
7396         (hashCode): final keyword added.
7397         (isUnresolved): final keyword added.
7398         * java/net/MulticastSocket.java
7399         (MulticastSocket): Documentation added.
7400         (MulticastSocket): New method.
7401         (joinGroup): Documentation added.
7402         (joinGroup): New method.
7403         (leaveGroup): Documentation added.
7404         (leaveGroup): New method.
7405         (send): Documentation added.
7406         * java/net/NetworkInterface.java
7407         (getByName): Documentation added.
7408         (getByInetAddress): Documentation added.
7409         (getNetworkInterfaces): Documentation added.
7410         * java/net/PlainDatagramSocketImpl.java
7411         (connect): New method.
7412         (disconnect): New method.
7413         * java/net/SocketImpl.java
7414         (create): Documentation added.
7415         (shutdownInput): Convert public to protected, as it always was.
7416         (shutdownOutput): Convert public to protected, as it always was.
7417         * java/net/SocketOptions.java
7418         (whole file): Reintented.
7419         * java/net/URLClassLoader.java
7420         (URLClassLoader): SecurityManager check added, documentation added.
7421         (findResources): Documentation added.
7422         (findClass): Documentation added.
7423         (newInstance): More correct method arguments.
7424         * java/net/URLConnection.java
7425         (connect): Documentation added.
7426         (getContent): Documentation added.
7427         (getPermission): Documentation added.
7428         (getInputStream): Documentation added.
7429         (getOutputStream): Documentation added.
7430         (setDoInput): Throw correct exception, documentation added.
7431         (setDoOutput): Throw correct exception, documentation added.
7432         (setAllowUserInteraction): Throw correct exception, documentation added.
7433         (setUseCaches): Throw correct exception, documentation added.
7434         (setIfModifiedSince): Throw correct exception, documentation added.
7435         (setRequestProperty): Throw exception, documentation added.
7436         (addRequestProperty): Throw exception, documentation added.
7437         (getRequestProperty): Throw exception, documentation added.
7438         (getRequestProperties): Documentation added.
7439         (setContentHandlerFactory): Documentation added.
7440         (guessContentTypeFromName): protected to public.
7441         (setFileNameMap): Documentation added.
7442         * java/net/URLDecoder.java
7443         (URLDecoder): New method.
7444         (decode): Documentation added.
7445         (whole file): Reindented.
7446         * java/net/URLEncoder.java
7447         (encode): Documentation added.
7448         * java/net/natPlainDatagramSocketImpl.cc
7449         (connect): New method.
7450         (disconnect): New method.
7451         * javax/naming/RefAddr:
7452         (addrType): addrType was never final.
7453         (equals): Fix typo in method name.
7454         * javax/naming/BinaryRefAddr:
7455         (equals): Fix typo in method name.
7456
7457 2002-09-22  Tom Tromey  <tromey@redhat.com>
7458
7459         Fix for PR libgcj/6576:
7460         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7461         didn't find a given bundle.
7462         (getBundle): Don't require base bundle.
7463         (setParent): Removed old comment.
7464         (tryLocalBundle): Try components even if preceding components were
7465         empty.
7466
7467 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7468
7469         * Makefile.am (all-multi): Fix multilib parallel build.
7470
7471 2002-09-21  Michael Koch  <konqueror@gmx.de>
7472
7473         * java/net/Socket.java
7474         (sendUrgentData): New method.
7475         (getChannel): New method.
7476         * java/net/ServerSocket.java
7477         (getChannel): New method.
7478         (isBound): New method.
7479         * java/net/DatagramSocket.java
7480         (DatagramSocket): Two new methods.
7481         (bind): New method.
7482         (getChannel): New method.
7483         (isBound): New method.
7484         (send): Added newline to to make shorter lines.
7485         * java/net/PlainDatagramSocketImpl.java
7486         (mcastGrp): Added argument.
7487         (join): Use new mcastGrp.
7488         (leave): Use new mcastGrp.
7489         (joinGroup): New method.
7490         (leaveGroup): New method.
7491         * java/net/natPlainDatagramSocketImpl.cc
7492         (mcastGrp): Added argument, no yet really implemented.
7493         (getOption): Added newline for shorter lines.
7494         * java/net/natPlainSocketImpl.cc
7495         (read, setOption, getOption): Added newline for shorter lines.
7496
7497 2002-09-19  Tom Tromey  <tromey@redhat.com>
7498
7499        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7500        newly-created exception.
7501
7502 2002-09-18  Michael Koch  <konqueror@gmx.de>
7503
7504         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7505         java/util/regex/PatternSyntaxException.java:
7506         Merge with classpath, new files.
7507         * Makefile.am (core_java_source_files):
7508         Added java/util/regex/Matcher.java,
7509         java/util/regex/Pattern.java,
7510         java/util/regex/PatternSyntaxException.java
7511         * Makefile.in: Regenerated.
7512         * include/config.h.in: Added HAVE_NET_IF_H.
7513         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7514         Removed #if 0 ... #endif.
7515
7516 2002-09-17  Michael Koch  <konqueror@gmx.de>
7517
7518         * java/net/natNetworkInterface.cc:
7519         Removed unneed and yet wrong includes.
7520
7521 2002-09-17  Michael Koch  <konqueror@gmx.de>
7522
7523         * java/net/NetworkInterface.java: New file.
7524         * java/net/natNetworkInterface.java: New file.
7525         * configure.in: Added check for net/if.h.
7526         * configure: Regenerated.
7527         * Makefile.am
7528         (ordinary_java_source_files): Added NetworkInterface.java.
7529         (nat_source_files): Added natNetworkInterface.cc.
7530         * Makefile.in: Regenerated.
7531
7532 2002-09-16  Tom Tromey  <tromey@redhat.com>
7533
7534         * java/net/URLClassLoader.java (findClass): Code source for a
7535         class from a jar is not necessarily a jar: URL.
7536
7537 2002-09-16  Michael Koch  <konqueror@gmx.de>
7538
7539         * java/lang/AssertionError.java:
7540         Merge with classpath, fixes HTML.
7541         * java/rmi/server/LogStream.java:
7542         Merge with classpath, fixes some constants.
7543         * java/net/server/RemoteServer.java:
7544         Merge with classpath, adds serialVersionUID.
7545         * javax/naming/BinaryRefAddr.java:
7546         Merge with classpath, s/equal/equals/.
7547         * javax/naming/NamingException.java:
7548         Merge with classpath, fixed typo.
7549         * javax/naming/RefAddr.java:
7550         Merge with classpath, s/equal/equals/.
7551         * java/awt/Toolkit.java:
7552         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7553         and typo fixed.
7554
7555 2002-09-15  Adam Megacz <adam@xwt.org>
7556
7557         * java/net/natPlainSocketImpl.cc: fixed typo.
7558
7559 2002-09-15  Adam Megacz <adam@xwt.org>
7560
7561         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7562         which don't work on Win32 (yet).
7563
7564 2002-09-14  Adam Megacz <adam@xwt.org>
7565
7566         * java/net/natPlainDatagramSocket.cc: removed #include
7567         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7568         * include/win32.h: included definition for IP_TOS to satisfy
7569         natPlainDatagramSocket.cc
7570
7571 2002-09-13  Michael Koch  <konqueror@gmx.de>
7572
7573         * java/net/DatagramPacket.java (DatagramPacket):
7574         Added linebreak for 80 chars per line.
7575         * java/net/JarURLConection.java
7576         (getInputStreami, getJarEntry): Likewise.
7577         * java/net/SocketPErmission.java
7578         (SocketPermission class docu, implies): Likewise.
7579         * java/net/URLClassLoader.java (findResources): Likewise.
7580         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7581
7582 2002-09-13  Michael Koch  <konqueror@gmx.de>
7583
7584         * java/nio/channels/DatagramChannel.java,
7585         java/nio/channels/ServerSocketChannel.java
7586         java/nio/channels/SocketChannel.java:
7587         New dummy files to make java.net fully JDK 1.4 compatible
7588         * Makefile.am (ordinary_java_source_files): Added
7589         java/net/DatagramSocketImplFactory.java (long forgotten),
7590         java/nio/SocketChannel.java,
7591         java/nio/ServerSocketChannel.java,
7592         java/nio/DatagramChannel.java
7593         * Makefile.in: Regenrated.
7594
7595 2002-09-12  Michael Koch  <konqueror@gmx.de>
7596
7597         * java/net/DatagramSocketImpl.java
7598         (peekData): New method.
7599         * java/net/PlainDatagramSocketImpl.java
7600         (peekData): New method.
7601         * java/net/natPlainDatagramSocketImpl.cc
7602         (peekData): New method.
7603         * java/net/URLConnection
7604         (getPermission): New method.
7605         (addRequestProperty): New method.
7606         (getRequestProperties): New method.
7607         (guessContentTypeFromStream): New method, not really implemented.
7608         (URLConnection): Added/updated documentation.
7609         (connect): Added/updated documentation.
7610         (getURL): Added/updated documentation.
7611         (getContentLength): Added/updated documentation.
7612         (getContentType: Added/updated documentation.
7613         (getContentEncoding): Added/updated documentation.
7614         (getExpiration): Added/updated documentation.
7615         (getDate): Added/updated documentation.
7616         (getLastModified): Added/updated documentation.
7617         (getHeaderField): Added/updated documentation.
7618         (getHeaderFields): Added/updated documentation.
7619         (getHeaderFieldInt): Added/updated documentation.
7620         (getHeaderFieldDate): Added/updated documentation.
7621         (getHeaderFieldKey): Added/updated documentation.
7622         (getContent): Added/updated documentation.
7623         (getInputStream): Added/updated documentation.
7624         (getOutputStream): Added/updated documentation.
7625         (toString): Added/updated documentation.
7626         (setDoInput): Added/updated documentation.
7627         (getDoInput): Added/updated documentation.
7628         (setDoOutput): Added/updated documentation.
7629         (getDoOutput): Added/updated documentation.
7630         (setAllowUserInteraction): Added/updated documentation.
7631         (getAllowUserInteraction): Added/updated documentation.
7632         (setDefaultAllowUserInteraction): Added/updated documentation.
7633         (getDefaultAllowUserInteraction): Added/updated documentation.
7634         (setUseCaches): Added/updated documentation.
7635         (getUseCaches): Added/updated documentation.
7636         (setIfModifiedSince): Added/updated documentation.
7637         (getIfModifiedSince): Added/updated documentation.
7638         (getDefaultUseCaches): Added/updated documentation.
7639         (setDefaultUseCaches): Added/updated documentation.
7640         (setRequestProperty): Added/updated documentation.
7641         (getRequestProperty): Added/updated documentation.
7642         (setDefaultRequestProperty): Added/updated documentation.
7643         (getDefaultRequestProperty): Added/updated documentation.
7644         (setContentHandlerFactory): Added/updated documentation.
7645         (guessContentTypeFromName): Added/updated documentation.
7646         (getFileNameMap): Added/updated documentation.
7647         (setFileNameMap): Added/updated documentation.
7648
7649 2002-09-11  Michael Koch  <konqueror@gmx.de>
7650
7651         * java/net/Socket.java
7652         (Socket): protected to public (since JDK 1.4). Added @specnote.
7653         (bind): New method.
7654         (connect): Two new methods.
7655         (getKeepalive): Get correct socket option.
7656         (setKeepalive): Set correct socket option.
7657         (getOOBInline): New method.
7658         (setOOBInline): New method.
7659         * java/net/ServerSocket.java
7660         (bind): Two new methods.
7661         (getInetAddress): Reimplemented, catch exception.
7662         (getLocalSocketAddress): New method.
7663         (setReuseAddress): New method.
7664         (getReuseAdress): New method.
7665         (setReceiveBufferSize): New method.
7666         (getReceiveBufferSize): New method.
7667         (toString): Made string JDK 1.4 compliant.
7668
7669 2002-09-10  Michael Koch  <konqueror@gmx.de>
7670
7671         * java/net/SocketImpl.java
7672         (connect): New method.
7673         (supportsUrgentData): New method.
7674         (sendUrgentData): New method.
7675         * java/net/PlainSocketImpl.java
7676         (connect): One new method and two new implementation.
7677         (sendUrgentData): New method.
7678         * java/natPlainSocketImpl.cc
7679         (connect): Arguments changed, added support for timeouts.
7680         (getOption): Another __java_boolean to jboolean.
7681
7682 2002-09-07  Adam Megacz <adam@xwt.org>
7683
7684         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7685         definition of IP_TOS.
7686
7687 2002-09-04  Michael Koch  <konqueror@gmx.de>
7688
7689         * java/net/DatagramSocket.java
7690         (DatagramSocket): Added documentation.
7691         (close): Likewise.
7692         (getLocalAddress): Likewise.
7693         (getLocalPort): Likewise.
7694         (receive): Likewise.
7695         (send): Likewise.
7696         (setSoTimeout): Likewise.
7697         (connect): New method.
7698         (disconnect): New method.
7699         (getInetAddress): New method (FIXME)
7700         (getPort): New method.
7701         (setReuseAddress): New method.
7702         (getReuseAddress): New method.
7703         (setBroadcast): New method.
7704         (getBroadcast): New method.
7705         (setTrafficClass): New method.
7706         (getTrafficClass): New method.
7707         * java/net/MulticastSocket.java):
7708         (getTTL): Added @see in documentation.
7709         (setTTL): Added @see in documentation.
7710         (setLoopbackMode): New method.
7711         (getLoopbackMode): New method.
7712         * java/net/PlainSocketImpl.java:
7713         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7714         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7715         * java/net/PlainDatagramSocketImpl.java
7716         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7717         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7718         * java/net/natPlainSocketImpl.cc
7719         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7720         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7721         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7722         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7723         This should also fix SO_KEEPALIVE
7724         * java/net/natPlainDatagramSocketImpl.cc
7725         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7726         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7727         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7728         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7729
7730 2002-09-04  Michael Koch  <konqueror@gmx.de>
7731
7732         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7733         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7734         IP_MULTICAST_LOOP, IP_TOS
7735
7736 2002-09-03  Tom Tromey  <tromey@redhat.com>
7737
7738         * java/lang/Class.h (_getDeclaredMethod): Declare.
7739         (_getMethod): Now private.
7740         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7741         getDeclaredMethod.  Now returns NULL on failure.
7742         * java/lang/Class.java (_getDeclaredMethod): Declare.
7743         (getDeclaredMethod): No longer native; implements access checks.
7744
7745 2002-09-01  Mark Wielaard  <mark@klomp.org>
7746
7747         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7748         (sanitizeStack): Correctly reset unknown and interpreter counters,
7749         detect interpreter runtime frames.
7750         (demangleInterpreterMethod): New method.
7751         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7752         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7753         filling in addrs[].
7754
7755 2002-09-02  Michael Koch  <konqueror@gmx.de>
7756
7757         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7758         re-indented documentation.
7759
7760 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7761
7762         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7763         public, per 1.4 spec.  Fixes PR libgcj/7785.
7764
7765 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7766
7767         * Makefile.in: Rebuilt.
7768         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7769
7770 2002-08-29  Tom Tromey  <tromey@redhat.com>
7771
7772         * java/net/JarURLConnection.java (getCertificates): New method
7773         from Classpath.
7774         * java/net/URLClassLoader.java (URLClassLoader): Extends
7775         SecureClassLoader.
7776         (definePackage): New method from Classpath.
7777         (getPermissions): Likewise.
7778         (newInstance): Likewise.
7779         (findClass): Construct CodeSource for new class (from Classpath).
7780         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7781         methods.
7782         * java/net/URL.java (getUserInfo): New method.
7783         (set(String,String,int,String,String,String,String,String)): New
7784         method.
7785         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7786         (shutdownInput, shutdownOutput): Declare.
7787         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7788         Define.
7789         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7790         (getOption): Likewise.
7791         (shutdownInput): New method.
7792         (shutdownOutput): Likewise.
7793         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7794         keepalive.
7795         (getOption): Likewise.
7796         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7797         * java/net/Socket.java (setKeepAlive): New method.
7798         (getKeepAlive): Likewise.
7799         (shutdownInput, shutdownOutput): New methods.
7800
7801 2002-08-29  Michael Koch  <konqueror@gmx.de>
7802
7803         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7804         new methods are:
7805         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7806           address),
7807         DatagramPacket(byte[] buf, int length, SocketAddress address),
7808         void setSocketAddress(SocketAddress address)
7809         public SocketAddress getSocketAddress()
7810
7811 2002-08-29  Tom Tromey  <tromey@redhat.com>
7812
7813         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7814         ftruncate is missing.
7815         * configure, include/config.h.in: Rebuilt.
7816         * acconfig.h (HAVE_FTRUNCATE): Mention.
7817         * configure.in: Check for ftruncate.
7818
7819 2002-08-29  Tom Tromey  <tromey@redhat.com>
7820
7821         * include/jvm.h (struct _Jv_frame_info): New structure.
7822         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7823         java-interp.h.
7824         (lookupInterp): New method.
7825         (getAddrAsString): Use _Jv_frame_info.
7826         (dladdrLookup): Likewise.
7827         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7828         interpreted frame.
7829         (lookupInterp): Declare.
7830         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7831         (fillInStackTrace): Collect information on interpreted frames.
7832         Use _Jv_frame_info.
7833         * interpret.cc: Include Thread.h.
7834         (run): Create and push _Jv_MethodChain object.
7835         (_Jv_EndOfInterpreter): New global.
7836         * java/lang/Thread.java (interp_frame): New field.
7837         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7838         Include NameFinder.h.
7839
7840 2002-08-28  Tom Tromey  <tromey@redhat.com>
7841
7842         * java/lang/Class.h: Include Package.h.
7843         (Class::getProtectionDomain): Declare.
7844         (Class::getPackage): Declare.
7845
7846 2002-08-28  Michael Koch <konqueror@gmx.de>
7847
7848         * java/net/InetSocketAddress.java: Added some documentation and argument
7849         checks for the port numbers.
7850         * java/net/DatagramSocketImplFactory.java: New file.
7851
7852 2002-08-28  Michael Koch <konqueror@gmx.de>
7853
7854         * java/net/Authenticator.java: added some documentation.
7855
7856 2002-08-27  Tom Tromey  <tromey@redhat.com>
7857
7858         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7859         class.
7860         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7861
7862 2002-08-27  Michael Koch <konqueror@gmx.de>
7863
7864         * java/net/BindException.java,
7865         java/net/JarURLConnection.java,
7866         java/net/FileNameMap.java,
7867         java/net/HttpURLConnection.java,
7868         java/net/InetSocketAddress.java,
7869         java/net/DatagramPacket.java,
7870         java/net/DatagramSocket.java,
7871         java/net/DatagramSocketImpl.java,
7872         java/net/MulticastSocket.java,
7873         java/net/PasswordAuthentication.java,
7874         java/net/ServerSocket.java,
7875         java/net/Socket.java,
7876         java/net/URLClassLoader.java,
7877         java/net/URLConnection.java: add/update of some @since/@deprecated
7878
7879 2002-08-27  Tony Kimball <alk@pobox.com>
7880             Tom Tromey  <tromey@redhat.com>
7881
7882         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7883         define.
7884         (::close): Removed.
7885         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7886         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7887         (::close): Removed.
7888         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7889         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7890
7891 2002-08-25  Adam Megacz <adam@xwt.org>
7892
7893         * include/win32.h (getcwd): copied function declaration as
7894         temporary fix for header confusion.
7895
7896 2002-08-24  Mark Wielaard <mark@klomp.org>
7897
7898         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7899         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7900         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7901         and natNameFinder.cc.
7902         * Makefile.in: Regenerate.
7903         * prims.cc: Use trace_enabled from VMThrowable.
7904         * name-finder.cc: Removed.
7905         * gcj/javaprims.h: Add class VMThrowable.
7906         * gnu/gcj/runtime/NameFinder.java: New file.
7907         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7908         * include/name-finder.h: Removed.
7909         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7910         method stackTraceString().
7911         (printStackTrace (PrintWriter)): Likewise.
7912         (stackTraceString): Complete rewrite of old printStackTrace using
7913         StringBuffer.
7914         (stackTraceStringBuffer): New helper method for stackTraceString().
7915         (fillInStackTrace): Delegate to VMTrowable.
7916         (getStackTrace): Likewise.
7917         (getStackTrace0): Removed.
7918         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7919         (setStackTrace): Copy given array.
7920         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7921         * java/lang/VMThrowable.java: New class.
7922         * java/lang/natVMThrowable.cc: New file.
7923
7924 2003-08-23  Michael Koch  <konqueror@gmx.de>
7925
7926         * java/net/URLConnection.java,
7927         java/netJarURLConnection.java,
7928         gnu/gcj/protocol/core/Connection.java,
7929         gnu/gcj/protocol/file/Connection.java,
7930         gnu/gcj/protocol/http/Connection.java: Added implementation of
7931         getHeaderFields().
7932
7933 2002-08-22  Tom Tromey  <tromey@redhat.com>
7934
7935         * gij.cc (help): Document -cp and -classpath.
7936         (main): Handle -classpath.
7937
7938 2002-08-21  Tom Tromey  <tromey@redhat.com>
7939
7940         * Makefile.in: Rebuilt.
7941         * Makefile.am (ordinary_java_source_files): Added
7942         SocketAddress.java, InetSocketAddress.java.
7943         * java/net/PortUnreachableException.java: Merged with Classpath.
7944         * java/net/SocketTimeoutException.java: Likewise.
7945         * java/net/URISyntaxException.java: Likewise.
7946         * java/net/SocketAddress.java: New class from Classpath.
7947         * java/net/InetSocketAddress.java: Likewise.
7948
7949 2003-08-21  Michael Koch  <konqueror@gmx.de>
7950
7951         * java/net/Authenticator.java: updated JDK 1.4
7952         * java/net/ContentHandler.java: updated JDK 1.4
7953
7954 2002-08-20  Michael Koch  <konqueror@gmx.de>
7955
7956         * java/net/URISyntaxException.java: New file.
7957         * java/net/SocketTimeoutException.java: New file.
7958         * java/net/PortUnreachableException.java: New file.
7959         * Makefile.am: Updated.
7960         * Makefile.in: Rebuilt.
7961
7962 2002-08-18  Mark Wielaard  <mark@klomp.org>
7963
7964         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7965         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7966         MessageDigestSpi (fixes Classpath bug #783).
7967
7968 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7969
7970         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7971         (startProcess): Allocate path for chdir in async-signal-safe way.
7972
7973 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7974
7975         Fix for PR libgcj/7570 and PR libgcj/7578:
7976         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7977         (startProcess): Handle new `dir' argument.
7978         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7979         argument.
7980         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7981         argument.
7982         (startProcess): Likewise.
7983         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7984         argument.
7985         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7986         (exec): Don't create new environment if ENV==null.  Pass DIR to
7987         execInternal.
7988         * java/lang/natRuntime.cc: Include java/io/File.h.
7989         (execInternal): Added `dir' argument.
7990
7991 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7992
7993         * java/io/RandomAccessFile.java (skipBytes): Return number of
7994         bytes skipped.
7995
7996 2002-08-01  Mark Wielaard  <mark@klomp.org>
7997
7998         Reenable patch since shared library troubles on powerpc are solved:
7999         * gnu/java/security/provider/Gnu.java: Reference all implementation
8000         classes by using Class.getName().
8001         * gnu/java/security/der/DEREncodingException.java,
8002         gnu/java/security/provider/DERReader.java,
8003         gnu/java/security/provider/DERWriter.java,
8004         gnu/java/security/provider/DSAKeyPairGenerator.java,
8005         gnu/java/security/provider/DSAParameterGenerator.java,
8006         gnu/java/security/provider/DSAParameters.java,
8007         gnu/java/security/provider/DSASignature.java,
8008         gnu/java/security/provider/GnuDSAPrivateKey.java,
8009         gnu/java/security/provider/GnuDSAPublicKey.java,
8010         gnu/java/security/provider/MD5.java,
8011         gnu/java/security/util/Prime.java: New classes
8012         * Makefile.am (ordinary_java_source_files): Add above files.
8013         * Makefile.in: Regenerate.
8014         * gnu/java/security/provider/DefaultPolicy.java
8015         (getPermissions): Don't maintain static class variable of Permissions.
8016         * gnu/java/security/provider/SHA.java
8017         (engineUpdate): algorithm change.
8018         (engineDigest): algorithm change.
8019
8020 2002-08-09  Mark Wielaard  <mark@klomp.org>
8021
8022         * java/awt/image/MemoryImageSource.java: Change constructor to take
8023         int[] not byte[].
8024         * java/awt/Graphics2D.java: Uncomment methods that can now be
8025         compiled.
8026         * java/awt/GridBagLayout.java: New stub implementation.
8027         * javax/swing/text/html/HTML.java: Stub implementation.
8028         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8029         implementation.
8030
8031         * Makefile.am: Add new files.
8032         * Makefile.in: Rebuilt.
8033
8034 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8035
8036         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8037         methods in Graphics2D.
8038
8039 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8040
8041         AWT/Swing merge from GNU Classpath.
8042
8043         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8044         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8045         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8046         java/awt/color/ProfileDataException.java,
8047         java/awt/CompositeContext.java, java/awt/Composite.java,
8048         java/awt/ContainerOrderFocusTraversalPolicy.java,
8049         java/awt/datatransfer/FlavorTable.java,
8050         java/awt/DefaultFocusTraversalPolicy.java,
8051         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8052         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8053         java/awt/dnd/DragGestureListener.java,
8054         java/awt/dnd/DragGestureRecognizer.java,
8055         java/awt/dnd/DragSourceAdapter.java,
8056         java/awt/dnd/DragSourceContext.java,
8057         java/awt/dnd/DragSourceDragEvent.java,
8058         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8059         java/awt/dnd/DragSourceListener.java,
8060         java/awt/dnd/DragSourceMotionListener.java,
8061         java/awt/dnd/DropTarget.java,
8062         java/awt/dnd/InvalidDnDOperationException.java,
8063         java/awt/dnd/peer/DragSourceContextPeer.java,
8064         java/awt/event/AWTEventListenerProxy.java,
8065         java/awt/event/MouseWheelEvent.java,
8066         java/awt/event/MouseWheelListener.java,
8067         java/awt/event/WindowFocusListener.java,
8068         java/awt/event/WindowStateListener.java,
8069         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8070         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8071         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8072         java/awt/geom/FlatteningPathIterator.java,
8073         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8074         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8075         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8076         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8077         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8078         java/awt/image/ImagingOpException.java,
8079         java/awt/image/RasterFormatException.java,
8080         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8081         java/awt/image/VolatileImage.java,
8082         java/awt/image/WritableRenderedImage.java,
8083         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8084         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8085         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8086         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8087         java/awt/PageAttributes.java, java/awt/print/Book.java,
8088         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8089         java/awt/print/Paper.java, java/awt/print/Printable.java,
8090         java/awt/print/PrinterAbortException.java,
8091         java/awt/print/PrinterException.java,
8092         java/awt/print/PrinterGraphics.java,
8093         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8094         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8095         java/awt/Stroke.java, java/awt/TexturePaint.java,
8096         javax/accessibility/AccessibleAction.java,
8097         javax/accessibility/AccessibleBundle.java,
8098         javax/accessibility/AccessibleComponent.java,
8099         javax/accessibility/AccessibleContext.java,
8100         javax/accessibility/AccessibleEditableText.java,
8101         javax/accessibility/AccessibleExtendedComponent.java,
8102         javax/accessibility/AccessibleExtendedTable.java,
8103         javax/accessibility/AccessibleHyperlink.java,
8104         javax/accessibility/AccessibleHypertext.java,
8105         javax/accessibility/AccessibleIcon.java,
8106         javax/accessibility/Accessible.java,
8107         javax/accessibility/AccessibleKeyBinding.java,
8108         javax/accessibility/AccessibleRelation.java,
8109         javax/accessibility/AccessibleRelationSet.java,
8110         javax/accessibility/AccessibleResourceBundle.java,
8111         javax/accessibility/AccessibleRole.java,
8112         javax/accessibility/AccessibleSelection.java,
8113         javax/accessibility/AccessibleState.java,
8114         javax/accessibility/AccessibleStateSet.java,
8115         javax/accessibility/AccessibleTable.java,
8116         javax/accessibility/AccessibleTableModelChange.java,
8117         javax/accessibility/AccessibleText.java,
8118         javax/accessibility/AccessibleValue.java,
8119         javax/swing/AbstractAction.java,
8120         javax/swing/AbstractButton.java,
8121         javax/swing/AbstractCellEditor.java,
8122         javax/swing/AbstractListModel.java,
8123         javax/swing/AbstractSet.java, javax/swing/Action.java,
8124         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8125         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8126         javax/swing/border/CompoundBorder.java,
8127         javax/swing/border/EmptyBorder.java,
8128         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8129         javax/swing/border/LineBorder.java,
8130         javax/swing/border/MatteBorder.java,
8131         javax/swing/border/TitledBorder.java,
8132         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8133         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8134         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8135         javax/swing/CellRendererPane.java,
8136         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8137         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8138         javax/swing/colorchooser/ColorSelectionModel.java,
8139         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8140         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8141         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8142         javax/swing/DefaultBoundedRangeModel.java,
8143         javax/swing/DefaultButtonModel.java,
8144         javax/swing/DefaultCellEditor.java,
8145         javax/swing/DefaultCellRenderer.java,
8146         javax/swing/DefaultComboBoxModel.java,
8147         javax/swing/DefaultDesktopManager.java,
8148         javax/swing/DefaultFocusManager.java,
8149         javax/swing/DefaultListCellRenderer.java,
8150         javax/swing/DefaultListModel.java,
8151         javax/swing/DefaultListSelectionModel.java,
8152         javax/swing/DefaultSingleSelectionModel.java,
8153         javax/swing/DesktopManager.java,
8154         javax/swing/event/AncestorEvent.java,
8155         javax/swing/event/AncestorListener.java,
8156         javax/swing/event/CaretEvent.java,
8157         javax/swing/event/CaretListener.java,
8158         javax/swing/event/CellEditorListener.java,
8159         javax/swing/event/ChangeEvent.java,
8160         javax/swing/event/ChangeListener.java,
8161         javax/swing/event/DocumentEvent.java,
8162         javax/swing/event/DocumentListener.java,
8163         javax/swing/event/EventListenerList.java,
8164         javax/swing/event/HyperlinkEvent.java,
8165         javax/swing/event/HyperlinkListener.java,
8166         javax/swing/event/InternalFrameAdapter.java,
8167         javax/swing/event/InternalFrameEvent.java,
8168         javax/swing/event/InternalFrameListener.java,
8169         javax/swing/event/ListDataEvent.java,
8170         javax/swing/event/ListDataListener.java,
8171         javax/swing/event/ListSelectionEvent.java,
8172         javax/swing/event/ListSelectionListener.java,
8173         javax/swing/event/MenuDragMouseEvent.java,
8174         javax/swing/event/MenuDragMouseListener.java,
8175         javax/swing/event/MenuEvent.java,
8176         javax/swing/event/MenuKeyEvent.java,
8177         javax/swing/event/MenuKeyListener.java,
8178         javax/swing/event/MenuListener.java,
8179         javax/swing/event/MouseInputAdapter.java,
8180         javax/swing/event/MouseInputListener.java,
8181         javax/swing/event/PopupMenuEvent.java,
8182         javax/swing/event/PopupMenuListener.java,
8183         javax/swing/event/SwingPropertyChangeSupport.java,
8184         javax/swing/event/TableColumnModelEvent.java,
8185         javax/swing/event/TableColumnModelListener.java,
8186         javax/swing/event/TableModelEvent.java,
8187         javax/swing/event/TableModelListener.java,
8188         javax/swing/event/TreeExpansionEvent.java,
8189         javax/swing/event/TreeExpansionListener.java,
8190         javax/swing/event/TreeModelEvent.java,
8191         javax/swing/event/TreeModelListener.java,
8192         javax/swing/event/TreeSelectionEvent.java,
8193         javax/swing/event/TreeSelectionListener.java,
8194         javax/swing/event/TreeWillExpandListener.java,
8195         javax/swing/event/UndoableEditEvent.java,
8196         javax/swing/event/UndoableEditListener.java,
8197         javax/swing/filechooser/FileFilter.java,
8198         javax/swing/filechooser/FileSystemView.java,
8199         javax/swing/filechooser/FileView.java,
8200         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8201         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8202         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8203         javax/swing/JApplet.java, javax/swing/JButton.java,
8204         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8205         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8206         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8207         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8208         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8209         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8210         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8211         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8212         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8213         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8214         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8215         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8216         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8217         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8218         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8219         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8220         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8221         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8222         javax/swing/JToolTip.java, javax/swing/JTree.java,
8223         javax/swing/JViewport.java, javax/swing/JWindow.java,
8224         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8225         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8226         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8227         javax/swing/MenuSelectionManager.java,
8228         javax/swing/MutableComboBoxModel.java,
8229         javax/swing/OverlayLayout.java,
8230         javax/swing/plaf/ActionMapUIResource.java,
8231         javax/swing/plaf/basic/BasicBorders.java,
8232         javax/swing/plaf/basic/BasicButtonUI.java,
8233         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8234         javax/swing/plaf/basic/BasicDefaults.java,
8235         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8236         javax/swing/plaf/basic/BasicIconFactory.java,
8237         javax/swing/plaf/basic/BasicLabelUI.java,
8238         javax/swing/plaf/basic/BasicListUI.java,
8239         javax/swing/plaf/basic/BasicLookAndFeel.java,
8240         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8241         javax/swing/plaf/basic/BasicPanelUI.java,
8242         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8243         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8244         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8245         javax/swing/plaf/basic/BasicTextUI.java,
8246         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8247         javax/swing/plaf/basic/BasicTreeUI.java,
8248         javax/swing/plaf/basic/BasicViewportUI.java,
8249         javax/swing/plaf/BorderUIResource.java,
8250         javax/swing/plaf/ButtonUI.java,
8251         javax/swing/plaf/ColorChooserUI.java,
8252         javax/swing/plaf/ColorUIResource.java,
8253         javax/swing/plaf/ComboBoxUI.java,
8254         javax/swing/plaf/ComponentInputMapUIResource.java,
8255         javax/swing/plaf/ComponentUI.java,
8256         javax/swing/plaf/DesktopIconUI.java,
8257         javax/swing/plaf/DesktopPaneUI.java,
8258         javax/swing/plaf/DimensionUIResource.java,
8259         javax/swing/plaf/FileChooserUI.java,
8260         javax/swing/plaf/FontUIResource.java,
8261         javax/swing/plaf/IconUIResource.java,
8262         javax/swing/plaf/InputMapUIResource.java,
8263         javax/swing/plaf/InsetsUIResource.java,
8264         javax/swing/plaf/InternalFrameUI.java,
8265         javax/swing/plaf/LabelUI.java,
8266         javax/swing/plaf/ListUI.java,
8267         javax/swing/plaf/MenuBarUI.java,
8268         javax/swing/plaf/MenuItemUI.java,
8269         javax/swing/plaf/OptionPaneUI.java,
8270         javax/swing/plaf/PanelUI.java,
8271         javax/swing/plaf/PopupMenuUI.java,
8272         javax/swing/plaf/ProgressBarUI.java,
8273         javax/swing/plaf/RootPaneUI.java,
8274         javax/swing/plaf/ScrollBarUI.java,
8275         javax/swing/plaf/ScrollPaneUI.java,
8276         javax/swing/plaf/SeparatorUI.java,
8277         javax/swing/plaf/SliderUI.java,
8278         javax/swing/plaf/SplitPaneUI.java,
8279         javax/swing/plaf/TabbedPaneUI.java,
8280         javax/swing/plaf/TableHeaderUI.java,
8281         javax/swing/plaf/TableUI.java,
8282         javax/swing/plaf/TextUI.java,
8283         javax/swing/plaf/ToolBarUI.java,
8284         javax/swing/plaf/ToolTipUI.java,
8285         javax/swing/plaf/TreeUI.java,
8286         javax/swing/plaf/UIResource.java,
8287         javax/swing/plaf/ViewportUI.java,
8288         javax/swing/ProgressMonitorInputStream.java,
8289         javax/swing/ProgressMonitor.java,
8290         javax/swing/Renderer.java,
8291         javax/swing/RepaintManager.java,
8292         javax/swing/RootPaneContainer.java,
8293         javax/swing/Scrollable.java,
8294         javax/swing/ScrollPaneConstants.java,
8295         javax/swing/ScrollPaneLayout.java,
8296         javax/swing/SingleSelectionModel.java,
8297         javax/swing/SizeRequirements.java,
8298         javax/swing/SizeSequence.java,
8299         javax/swing/SwingConstants.java,
8300         javax/swing/SwingUtilities.java,
8301         javax/swing/table/AbstractTableModel.java,
8302         javax/swing/table/DefaultTableCellRenderer.java,
8303         javax/swing/table/DefaultTableColumnModel.java,
8304         javax/swing/table/DefaultTableModel.java,
8305         javax/swing/table/TableCellEditor.java,
8306         javax/swing/table/TableCellRenderer.java,
8307         javax/swing/table/TableColumn.java,
8308         javax/swing/table/TableColumnModel.java,
8309         javax/swing/table/TableModel.java,
8310         javax/swing/text/AbstractDocument.java,
8311         javax/swing/text/AttributeSet.java,
8312         javax/swing/text/BadLocationException.java,
8313         javax/swing/text/Caret.java,
8314         javax/swing/text/CharacterIterator.java,
8315         javax/swing/text/ComponentView.java,
8316         javax/swing/text/DefaultCaret.java,
8317         javax/swing/text/DefaultEditorKit.java,
8318         javax/swing/text/Document.java,
8319         javax/swing/text/EditorKit.java,
8320         javax/swing/text/Element.java,
8321         javax/swing/text/GapContent.java,
8322         javax/swing/text/JTextComponent.java,
8323         javax/swing/text/Keymap.java,
8324         javax/swing/text/MutableAttributeSet.java,
8325         javax/swing/text/PlainDocument.java,
8326         javax/swing/text/PlainEditorKit.java,
8327         javax/swing/text/Position.java,
8328         javax/swing/text/Segment.java,
8329         javax/swing/text/StyledDocument.java,
8330         javax/swing/text/StyledEditorKit.java,
8331         javax/swing/text/Style.java,
8332         javax/swing/text/TextAction.java,
8333         javax/swing/text/ViewFactory.java,
8334         javax/swing/text/View.java,
8335         javax/swing/Timer.java,
8336         javax/swing/ToggleButtonModel.java,
8337         javax/swing/ToolTipManager.java,
8338         javax/swing/tree/AbstractLayoutCache.java,
8339         javax/swing/tree/DefaultMutableTreeNode.java,
8340         javax/swing/tree/DefaultTreeCellEditor.java,
8341         javax/swing/tree/DefaultTreeCellRenderer.java,
8342         javax/swing/tree/DefaultTreeModel.java,
8343         javax/swing/tree/DefaultTreeSelectionModel.java,
8344         javax/swing/tree/ExpandVetoException.java,
8345         javax/swing/tree/FixedHeightLayoutCache.java,
8346         javax/swing/tree/MutableTreeNode.java,
8347         javax/swing/tree/RowMapper.java,
8348         javax/swing/tree/TreeCellEditor.java,
8349         javax/swing/tree/TreeCellRenderer.java,
8350         javax/swing/tree/TreeModel.java,
8351         javax/swing/tree/TreeNode.java,
8352         javax/swing/tree/TreePath.java,
8353         javax/swing/tree/TreeSelectionModel.java,
8354         javax/swing/tree/VariableHeightLayoutCache.java,
8355         javax/swing/UIDefaults.java,
8356         javax/swing/UIManager.java,
8357         javax/swing/undo/AbstractUndoableEdit.java,
8358         javax/swing/undo/CannotRedoException.java,
8359         javax/swing/undo/CannotUndoException.java,
8360         javax/swing/undo/CompoundEdit.java,
8361         javax/swing/undo/StateEditable.java,
8362         javax/swing/undo/StateEdit.java,
8363         javax/swing/undo/UndoableEdit.java,
8364         javax/swing/undo/UndoableEditSupport.java,
8365         javax/swing/undo/UndoManager.java,
8366         javax/swing/UnsupportedLookAndFeelException.java,
8367         javax/swing/ViewportLayout.java,
8368         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8369
8370         * java/awt/ActiveEvent.java,
8371         java/awt/Adjustable.java, java/awt/AWTError.java,
8372         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8373         java/awt/AWTException.java, java/awt/AWTPermission.java,
8374         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8375         java/awt/Color.java, java/awt/Component.java,
8376         java/awt/ComponentOrientation.java, java/awt/Container.java,
8377         java/awt/datatransfer/MimeTypeParseException.java,
8378         java/awt/datatransfer/Transferable.java,
8379         java/awt/datatransfer/UnsupportedFlavorException.java,
8380         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8381         java/awt/event/ActionListener.java,
8382         java/awt/event/AdjustmentEvent.java,
8383         java/awt/event/AdjustmentListener.java,
8384         java/awt/event/AWTEventListener.java,
8385         java/awt/event/ComponentAdapter.java,
8386         java/awt/event/ComponentEvent.java,
8387         java/awt/event/ComponentListener.java,
8388         java/awt/event/ContainerAdapter.java,
8389         java/awt/event/ContainerEvent.java,
8390         java/awt/event/ContainerListener.java,
8391         java/awt/event/FocusAdapter.java,
8392         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8393         java/awt/event/HierarchyBoundsAdapter.java,
8394         java/awt/event/HierarchyBoundsListener.java,
8395         java/awt/event/HierarchyEvent.java,
8396         java/awt/event/HierarchyListener.java,
8397         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8398         java/awt/event/InputMethodListener.java,
8399         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8400         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8401         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8402         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8403         java/awt/event/MouseListener.java,
8404         java/awt/event/MouseMotionAdapter.java,
8405         java/awt/event/MouseMotionListener.java,
8406         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8407         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8408         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8409         java/awt/event/WindowListener.java, java/awt/Font.java,
8410         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8411         java/awt/geom/Ellipse2D.java,
8412         java/awt/geom/IllegalPathStateException.java,
8413         java/awt/geom/Line2D.java,
8414         java/awt/geom/NoninvertibleTransformException.java,
8415         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8416         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8417         java/awt/geom/RoundRectangle2D.java,
8418         java/awt/GraphicsConfiguration.java,
8419         java/awt/IllegalComponentStateException.java,
8420         java/awt/image/IndexColorModel.java,
8421         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8422         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8423         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8424         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8425         java/awt/MenuItem.java, java/awt/PaintContext.java,
8426         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8427         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8428         java/awt/PrintJob.java, java/awt/Rectangle.java,
8429         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8430         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8431         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8432
8433         * java/awt/im/spi/InputMethod.java,
8434         java/awt/im/spi/InputMethodContext.java,
8435         java/awt/im/spi/InputMethodDescriptor.java,
8436         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8437         java/awt/image/renderable/ParameterBlock.java,
8438         java/awt/image/renderable/RenderContext.java,
8439         java/awt/image/renderable/RenderableImage.java,
8440         java/awt/image/renderable/RenderableImageOp.java,
8441         java/awt/image/renderable/RenderableImageProducer.java,
8442         java/awt/image/renderable/RenderedImageFactory.java: New files from
8443         classpath.
8444
8445         * gnu/java/awt/EventModifier.java,
8446         gnu/java/awt/image/ImageDecoder.java,
8447         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8448
8449         * gnu/awt/xlib/XGraphicsConfiguration.java,
8450         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8451         API.
8452
8453         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8454         GNU Classpath.
8455
8456         * Makefile.am: Add new files.
8457         * Makefile.in: Rebuilt.
8458
8459 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8460
8461         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8462         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8463         findResource, getResources, findResources): Add javadoc from classpath.
8464         (getSystemResources): Implemented.
8465
8466 2002-08-01  Mark Wielaard  <mark@klomp.org>
8467
8468         Revert patch that breaks libgcj shared library on powerpc:
8469         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8470         implementation classes by using Class.getName(). Uses Strings again.
8471         * gnu/java/security/der/DEREncodingException.java,
8472         gnu/java/security/provider/DERReader.java,
8473         gnu/java/security/provider/DERWriter.java,
8474         gnu/java/security/provider/DSAKeyPairGenerator.java,
8475         gnu/java/security/provider/DSAParameterGenerator.java,
8476         gnu/java/security/provider/DSAParameters.java,
8477         gnu/java/security/provider/DSASignature.java,
8478         gnu/java/security/provider/GnuDSAPrivateKey.java,
8479         gnu/java/security/provider/GnuDSAPublicKey.java,
8480         gnu/java/security/provider/MD5.java,
8481         gnu/java/security/util/Prime.java: Removed.
8482         * Makefile.am (ordinary_java_source_files): Remove above files.
8483         * Makefile.in: Regenerate.
8484         * gnu/java/security/provider/DefaultPolicy.java
8485         (getPermissions): Revert to maintaining static class variable of
8486         Permissions.
8487         * gnu/java/security/provider/SHA.java
8488         (engineUpdate): Revert algorithm change.
8489         (engineDigest): Revert algorithm change.
8490
8491 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8492
8493         * configure.host: Add SH support.
8494         * sysdep/sh/locks.h: New file.
8495
8496 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8497
8498         * java/awt/Frame.java (Frame): Remove println calls.
8499
8500 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8501
8502         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8503         * configure: Rebuilt.
8504
8505 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8506
8507         * sysdep/powerpc/locks.h: Formatting.
8508         (_LARX): Define.
8509         (_STCX): Define.
8510         (compare_and_swap): Use _LARX and _STCX.
8511         (compare_and_swap_release): Likewise.
8512
8513 2002-07-26  Tom Tromey  <tromey@redhat.com>
8514
8515         * java/net/Authenticator.java: New version from Classpath.
8516         * java/net/DatagramSocketImpl.java: New version from Classpath.
8517
8518 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8519
8520         * configure.host: Add powerpc64*-* entry.
8521
8522 2002-07-26  Tom Tromey  <tromey@redhat.com>
8523
8524         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8525         fcntl.h.
8526
8527 2002-07-24  Tom Tromey  <tromey@redhat.com>
8528
8529         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8530         argument to _load.
8531
8532 2002-07-24  Tom Tromey  <tromey@redhat.com>
8533             Tony Kimball <alk@pobox.com>
8534
8535         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8536         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8537         * java/io/RandomAccessFile.java (setLength): New method.
8538         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8539         * java/io/FileDescriptor.java (setLength): New method.
8540
8541 2002-07-24  Mark Wielaard  <mark@klomp.org>
8542
8543         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8544         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8545         field call setAccessible(true).
8546         (setByteField): Likewise.
8547         (setCharField): Likewise.
8548         (setDoubleField): Likewise.
8549         (setFloatField): Likewise.
8550         (setIntField): Likewise.
8551         (setLongField): Likewise.
8552         (setShortField): Likewise.
8553         (setObjectField): Likewise.
8554
8555 2002-07-24  Tom Tromey  <tromey@redhat.com>
8556
8557         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8558         use toString() to format array element.
8559
8560 2002-07-23  Mark Wielaard  <mark@klomp.org>
8561
8562         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8563         MessageDigestSpi (fixes Classpath bug #783).
8564
8565 2002-07-21  Mark Wielaard  <mark@klomp.org>
8566
8567         * gnu/java/security/provider/Gnu.java: Reference all implementation
8568         classes by using Class.getName().
8569
8570 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8571
8572         * java/lang/ieeefp.h: Add x86-64 support.
8573         * configure.in: Likewise.
8574         * configure.host: Likewise.
8575         * configure: Regenerated.
8576         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8577
8578 2002-07-16  Mark Wielaard  <mark@klomp.org>
8579
8580         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8581         (whitespaceChars): call resetChar().
8582
8583 2002-07-15  Tom Tromey  <tromey@redhat.com>
8584
8585         * Makefile.in: Rebuilt.
8586         * Makefile.am (awt_java_source_files): Added new files.
8587         * java/beans/ExceptionListener.java: Merged with Classpath.
8588         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8589         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8590         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8591         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8592         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8593         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8594         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8595
8596 2002-07-14  Mark Wielaard  <mark@klomp.org>
8597
8598         * gnu/java/security/der/DEREncodingException.java,
8599         gnu/java/security/provider/DERReader.java,
8600         gnu/java/security/provider/DERWriter.java,
8601         gnu/java/security/provider/DSAKeyPairGenerator.java,
8602         gnu/java/security/provider/DSAParameterGenerator.java,
8603         gnu/java/security/provider/DSAParameters.java,
8604         gnu/java/security/provider/DSASignature.java,
8605         gnu/java/security/provider/GnuDSAPrivateKey.java,
8606         gnu/java/security/provider/GnuDSAPublicKey.java,
8607         gnu/java/security/provider/MD5.java,
8608         gnu/java/security/util/Prime.java: New files from Classpath.
8609         * Makefile.am (ordinary_java_source_files): Add new files.
8610         * Makefile.in: Regenerate.
8611
8612 2002-07-14  C. Brian Jones <cbj@gnu.org>
8613
8614         * gnu/java/security/provider/DefaultPolicy.java
8615         (getPermissions): do not maintain static class variable of
8616         Permissions
8617         * gnu/java/security/provider/SHA.java
8618         (engineUpdate): algorithm change
8619         (engineDigest): algorithm change
8620
8621 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8622
8623         For PR libgcj/7292:
8624         * java/lang/Character.java (toString(char)): Now static.
8625
8626 2002-07-12  Mark Wielaard  <mark@klomp.org>
8627
8628         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8629         (getStackTrace0): new method.
8630         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8631         (printStackTrace(PrintWriter)): replace with pure java implementation.
8632         (printRawStackTrace): removed.
8633         (getStackTrace0): new method.
8634         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8635         * gcj/javaprims.h: regenerate class list.
8636         * include/name-finder.h (lookup): new returns StackTraceElement*.
8637         (method_name, file_name): fields removed.
8638         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8639         (~_Jv_name_finder): close new descriptors.
8640         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8641         (createStackTraceElement): new method.
8642         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8643
8644 2002-07-10  Tom Tromey  <tromey@redhat.com>
8645
8646         * configure: Rebuilt.
8647         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8648
8649 2002-07-08  Mark Wielaard  <mark@klomp.org>
8650
8651         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8652         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8653         java.sql.DatabaseMetaData.TestJdbc20
8654
8655 2002-07-05  Tony Kimball  <alk@pobox.com>
8656
8657         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8658
8659 2002-07-04  Tom Tromey  <tromey@redhat.com>
8660             Jeff Sturm  <jsturm@one-point.com>
8661
8662         Fix for PR libgcj/7060:
8663         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8664         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8665         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8666         * java/lang/Class.java (getMethod): New Java implementation;
8667         complies with spec.
8668         (_getMethod): New native method.
8669
8670 2002-07-02  Tom Tromey  <tromey@redhat.com>
8671             David Hovemeyer  <daveho@cs.umd.edu>
8672
8673         * java/text/ChoiceFormat.java
8674         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8675         in check loop.
8676         * java/text/MessageFormat.java
8677         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8678         to MessageFormat.
8679
8680 2002-07-01  Tom Tromey  <tromey@redhat.com>
8681
8682         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8683         StringTokenizer on null string.  For PR libgcj/7180.
8684         From daveho@cs.umd.edu.
8685
8686 2002-06-24  Tom Tromey  <tromey@redhat.com>
8687
8688         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8689         (IntegerClass): Likewise.
8690         * java/lang/natClass.cc (CloneableClass): Removed.
8691         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8692         ConstructorClass): Likewise.
8693         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8694         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8695         SerializableClass): Likewise.
8696         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8697         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8698         LongClass, FloatClass, DoubleClass): Likewise.
8699
8700         * verify.cc (branch_prepass): Updated for change to exception
8701         handler type.
8702         (verify_instructions_0): Likewise.
8703         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8704         (handleExceptionTableEntry): Updated for change to exception
8705         handler type.
8706         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8707         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8708         (union _Jv_InterpPC): New.
8709         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8710         (class _Jv_InterpMethod): Added new `prepared' field.
8711         (class _Jv_InterpMethod): Added `compile' method.  Removed
8712         `continue1' and `find_exception'.  Changed arguments to `run'.
8713         * interpret.cc (union insn_slot): New.
8714         (find_exception): Removed.
8715         (run_normal): Removed most logic.
8716         (run_synch_object): Likewise; also, use JvSynchronize.
8717         (run_synch_class): Likewise.
8718         (run): Removed.
8719         (continue1): Renamed as `run'.  Compile bytecode if required.
8720         Add new code to allow refinement of direct-threaded code at
8721         runtime.  Handle exceptions.
8722         (SAVE_PC): Removed.
8723         (compile): New method.
8724         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8725         (NULLARRAYCHECK): Don't use SAVE_PC.
8726         (pc_t): New typedef.
8727         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8728         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8729
8730 2002-06-23  Tom Tromey  <tromey@redhat.com>
8731
8732         * configure: Rebuilt.
8733         * configure.in (INTERPRETER): New subst.
8734         (AM_RUNTESTFLAGS): Don't subst.
8735
8736         * Makefile.in: Rebuilt.
8737         * Makefile.am ($(srcdir)/java/lang/Object.h,
8738         $(srcdir)/java/lang/Class.h): Added dummy targets.
8739
8740 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8741
8742         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8743
8744         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8745         java/sql/Savepoint.java: New files.
8746         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8747         java/sql/Blob.java, java/sql/CallableStatement.java,
8748         java/sql/Clob.java, java/sql/Connection.java,
8749         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8750         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8751         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8752         java/sql/Ref.java, java/sql/ResultSet.java,
8753         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8754         java/sql/SQLException.java, java/sql/SQLInput.java,
8755         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8756         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8757         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8758         (JDK 1.4) specification.
8759         * javax/sql/ConnectionEvent.java,
8760         javax/sql/ConnectionEventListener.java,
8761         javax/sql/ConnectionPoolDataSource.java,
8762         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8763         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8764         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8765         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8766         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8767         javax/sql/XADataSource.java: New files.
8768         * Makefile.am: Add new files.
8769         * Makefile.in: Rebuilt.
8770
8771 2002-06-20  Tom Tromey  <tromey@redhat.com>
8772
8773         For PR libgcj/7073:
8774         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8775         exists.
8776         * defineclass.cc (handleClassBegin): Superclass for interface is
8777         `null'.
8778
8779 2002-06-18  Tom Tromey  <tromey@redhat.com>
8780
8781         * gcj/javaprims.h: Updated class declaration list.
8782         * Makefile.in: Rebuilt.
8783         * Makefile.am (core_java_source_files): Removed
8784         BasicMapEntry.java.
8785         * java/util/BasicMapEntry.java: Removed.
8786
8787 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8788
8789         * java/net/natPlainDatagramSocketImpl.cc (receive):
8790         Check bounds of argument to FD_SET.
8791         (setOption): Throw exception if socket is closed.
8792
8793         * java/net/natPlainSocketImpl.cc (accept, read):
8794         Check bounds of argument to FD_SET.
8795         (setOption): Throw exception if socket is closed.
8796
8797 2002-06-18  Tom Tromey  <tromey@redhat.com>
8798
8799         * gcj/javaprims.h: Updated class declaration list.
8800         * Makefile.in: Rebuilt.
8801         * Makefile.am (core_java_source_files): Added
8802         PropertyPermissionCollection.java.
8803         * java/lang/Thread.java (group, name): Now package-private.
8804         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8805         * java/util/AbstractList.java: Likewise.
8806         * java/util/AbstractMap.java: Likewise.
8807         * java/util/Calendar.java: Likewise.
8808         * java/util/Collections.java: Likewise.
8809         * java/util/HashMap.java: Likewise.
8810         * java/util/Hashtable.java: Likewise.
8811         * java/util/LinkedHashMap.java: Likewise.
8812         * java/util/LinkedList.java: Likewise.
8813         * java/util/List.java: Likewise.
8814         * java/util/ListResourceBundle.java: Likewise.
8815         * java/util/Map.java: Likewise.
8816         * java/util/Observable.java: Likewise.
8817         * java/util/Properties.java: Likewise.
8818         * java/util/PropertyPermission.java: Likewise.
8819         * java/util/PropertyPermissionCollection.java: Likewise.
8820         * java/util/PropertyResourceBundle.java: Likewise.
8821         * java/util/Random.java: Likewise.
8822         * java/util/SimpleTimeZone.java: Likewise.
8823         * java/util/StringTokenizer.java: Likewise.
8824         * java/util/TimerTask.java: Likewise.
8825         * java/util/TreeMap.java: Likewise.
8826         * java/util/WeakHashMap.java: Likewise.
8827         * java/util/jar/Attributes.java: Likewise.
8828         * java/util/jar/JarException.java: Likewise.
8829         * java/util/jar/Manifest.java: Likewise.
8830
8831 2002-06-17  Tom Tromey  <tromey@redhat.com>
8832
8833         * gcj/javaprims.h: Updated class declaration list.
8834         * Makefile.in: Rebuilt.
8835         * Makefile.am (core_java_source_files): Added new file.
8836         * java/util/EventListenerProxy.java: New file.
8837         * java/util/EventListener.java: Re-merge with Classpath.
8838         * java/util/EventObject.java: Re-merge with Classpath.
8839
8840 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8841
8842         * java/lang/ClassNotFoundException.java: New Classpath version.
8843
8844 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8845
8846         * java/rmi/activation/ActivateFailedException.java: Remerge from
8847         Classpath version.
8848         * java/rmi/activation/ActivationException.java: Ditto.
8849         * java/rmi/activation/UnknownGroupException.java: Ditto.
8850         * java/rmi/activation/UnknownObjectException.java: Ditto.
8851         * java/rmi/server/ExportException: Ditto.
8852         * java/rmi/server/ServerCloneException: Ditto.
8853         * java/rmi/server/ServerNotActiveException: Ditto.
8854         * java/rmi/server/SkeletonMismatchException: Ditto.
8855         * java/rmi/server/SkeletonNotFoundException: Ditto.
8856         * java/rmi/server/SocketSecurityException: Ditto.
8857
8858 2002-06-16  Tom Tromey  <tromey@redhat.com>
8859
8860         * gcj/javaprims.h: Updated class declaration list.
8861
8862         * java/io/LineNumberInputStream.java: Merged with Classpath.
8863
8864         * java/lang/RuntimeException.java: Re-merge with Classpath.
8865         * java/util/ArrayList.java: Likewise.
8866         * java/util/Arrays.java: Likewise.
8867         * java/util/BitSet.java: Likewise.
8868         * java/util/Dictionary.java: Likewise.
8869         * java/util/IdentityHashMap.java: Likewise.
8870         * java/util/MissingResourceException.java: Likewise.
8871         * java/util/Observer.java: Likewise.
8872         * java/util/TooManyListenersException.java: Likewise.
8873         * java/util/zip/DataFormatException.java: Likewise.
8874         * java/util/zip/ZipException.java: Likewise.
8875
8876 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8877
8878         * java/rmi/AccessException.java: Remerge from Classpath.
8879         * java/rmi/AlreadyBoundException.java: Ditto.
8880         * java/rmi/ConnectException.java: Ditto.
8881         * java/rmi/ConnectIOException.java: Ditto.
8882         * java/rmi/MarshalException.java: Ditto.
8883         * java/rmi/NoSuchObjectException.java: Ditto.
8884         * java/rmi/NotBoundException.java: Ditto.
8885         * java/rmi/RemoteException.java: Ditto.
8886         * java/rmi/RMISecurityException.java: Ditto.
8887         * java/rmi/ServerError.java: Ditto.
8888         * java/rmi/ServerException.java: Ditto.
8889         * java/rmi/ServerRuntimeException.java: Ditto.
8890         * java/rmi/StubNotFoundException.java: Ditto.
8891         * java/rmi/UnexpectedExcpetion.java: Ditto.
8892         * java/rmi/UnknownHostException.java: Ditto.
8893         * java/rmi/UnmarshalException.java: Ditto.
8894
8895 2002-06-15  Tom Tromey  <tromey@redhat.com>
8896
8897         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8898         * java/lang/ArithmeticException.java: Likewise.
8899         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8900         * java/lang/ArrayStoreException.java: Likewise.
8901         * java/lang/Byte.java: Likewise.
8902         * java/lang/CharSequence.java: Likewise.
8903         * java/lang/ClassCastException.java: Likewise.
8904         * java/lang/ClassCircularityError.java: Likewise.
8905         * java/lang/ClassFormatError.java: Likewise.
8906         * java/lang/CloneNotSupportedException.java: Likewise.
8907         * java/lang/Cloneable.java: Likewise.
8908         * java/lang/Comparable.java: Likewise.
8909         * java/lang/Compiler.java: Likewise.
8910         * java/lang/Error.java: Likewise.
8911         * java/lang/ExceptionInInitializerError.java: Likewise.
8912         * java/lang/IllegalAccessError.java: Likewise.
8913         * java/lang/IllegalAccessException.java: Likewise.
8914         * java/lang/IllegalArgumentException.java: Likewise.
8915         * java/lang/IllegalMonitorStateException.java: Likewise.
8916         * java/lang/IllegalStateException.java: Likewise.
8917         * java/lang/IllegalThreadStateException.java: Likewise.
8918         * java/lang/IncompatibleClassChangeError.java: Likewise.
8919         * java/lang/IndexOutOfBoundsException.java: Likewise.
8920         * java/lang/InheritableThreadLocal.java: Likewise.
8921         * java/lang/InstantiationError.java: Likewise.
8922         * java/lang/InstantiationException.java: Likewise.
8923         * java/lang/InternalError.java: Likewise.
8924         * java/lang/InterruptedException.java: Likewise.
8925         * java/lang/LinkageError.java: Likewise.
8926         * java/lang/NegativeArraySizeException.java: Likewise.
8927         * java/lang/NoClassDefFoundError.java: Likewise.
8928         * java/lang/NoSuchFieldError.java: Likewise.
8929         * java/lang/NoSuchFieldException.java: Likewise.
8930         * java/lang/NoSuchMethodError.java: Likewise.
8931         * java/lang/NoSuchMethodException.java: Likewise.
8932         * java/lang/NullPointerException.java: Likewise.
8933         * java/lang/NumberFormatException.java: Likewise.
8934         * java/lang/OutOfMemoryError.java: Likewise.
8935         * java/lang/Process.java: Likewise.
8936         * java/lang/Runnable.java: Likewise.
8937         * java/lang/RuntimePermission.java: Likewise.
8938         * java/lang/SecurityException.java: Likewise.
8939         * java/lang/Short.java: Likewise.
8940         * java/lang/StackOverflowError.java: Likewise.
8941         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8942         * java/lang/ThreadDeath.java: Likewise.
8943         * java/lang/ThreadLocal.java: Likewise.
8944         * java/lang/UnknownError.java: Likewise.
8945         * java/lang/UnsatisfiedLinkError.java: Likewise.
8946         * java/lang/UnsupportedClassVersionError.java: Likewise.
8947         * java/lang/UnsupportedOperationException.java: Likewise.
8948         * java/lang/VerifyError.java: Likewise.
8949         * java/lang/VirtualMachineError.java: Likewise.
8950         * java/lang/reflect/InvocationTargetException.java: Likewise.
8951         * java/net/BindException.java: Likewise.
8952         * java/net/ConnectException.java: Likewise.
8953         * java/net/MalformedURLException.java: Likewise.
8954         * java/net/NoRouteToHostException.java: Likewise.
8955         * java/net/ProtocolException.java: Likewise.
8956         * java/net/SocketException.java: Likewise.
8957         * java/net/UnknownHostException.java: Likewise.
8958         * java/net/UnknownServiceException.java: Likewise.
8959
8960         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8961         * java/io/CharConversionException.java: Likewise.
8962         * java/io/EOFException.java: Likewise.
8963         * java/io/FileNotFoundException.java: Likewise.
8964         * java/io/IOException.java: Likewise.
8965         * java/io/InterruptedIOException.java: Likewise.
8966         * java/io/InvalidClassException.java: Likewise.
8967         * java/io/InvalidObjectException.java: Likewise.
8968         * java/io/NotActiveException.java: Likewise.
8969         * java/io/NotSerializableException.java: Likewise.
8970         * java/io/ObjectStreamException.java: Likewise.
8971         * java/io/ObjectStreamConstants.java: Likewise.
8972         * java/io/OptionalDataException.java: Likewise.
8973         * java/io/PipedInputStream.java: Likewise.
8974         * java/io/PushbackInputStream.java: Likewise.
8975         * java/io/StreamCorruptedException.java: Likewise.
8976         * java/io/SyncFailedException.java: Likewise.
8977         * java/io/UTFDataFormatException.java: Likewise.
8978         * java/io/UnsupportedEncodingException.java: Likewise.
8979         * java/io/WriteAbortedException.java: Likewise.
8980
8981 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8982
8983         * java/text/ChoiceFormat.java: Update comments from Classpath.
8984         * java/text/ParseException.java (serialVersionUID): New
8985         field from Classpath.
8986         * java/text/ParseException.java: Update formatting & comments
8987         from Classpath.
8988
8989 2002-06-15  Tom Tromey  <tromey@redhat.com>
8990
8991         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8992         been read but none output by inflater.
8993         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8994         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8995         is_finished.
8996         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8997         version.
8998         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8999         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9000         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9001         version.
9002         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9003
9004 2002-06-13  Tom Tromey  <tromey@redhat.com>
9005
9006         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9007         true and OFFSET!=0.
9008         * java/lang/String.java (String(char[],int,int,boolean): New
9009         constructor.
9010         * java/lang/Long.java: Imported new version from Classpath.
9011         * java/lang/Number.java: Likewise.
9012         * java/lang/Integer.java: Likewise.
9013         * java/lang/Long.java: Likewise.
9014         * java/lang/Float.java: Likewise.
9015         * java/lang/Boolean.java: Likewise.
9016         * java/lang/Double.java: Likewise.
9017         * java/lang/Void.java: Likewise.
9018
9019 2002-06-12  Tom Tromey  <tromey@redhat.com>
9020
9021         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9022         Fixes PR libgcj/6652.
9023
9024 2002-06-10  Tom Tromey  <tromey@redhat.com>
9025
9026         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9027         (Class::getPackagePortion): Likewise.
9028         * java/lang/Class.java (desiredAssertionStatus): New method from
9029         Classpath.
9030         (getPackagePortion): Likewise.
9031         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9032         packageAssertionStatus, classAssertionStatus): New methods from
9033         Classpath.
9034         * java/lang/ClassLoader.java (defaultAssertionStatus,
9035         systemPackageAssertionStatus, packageAssertionStatus,
9036         systemClassAssertionStatus, classAssertionStatus): New fields from
9037         Classpath.
9038         (setDefaultAssertionStatus, setPackageAssertionStatus,
9039         setClassAssertionStatus, clearAssertionStatus): New methods from
9040         Classpath.
9041         * Makefile.in: Rebuilt.
9042         * Makefile.am (core_java_source_files): Added AssertionError.java.
9043         * java/lang/AssertionError.java: New from Classpath.
9044
9045 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9046
9047         * configure.host: Disable hash synchronization and slow_pthread_self
9048         for cygwin.
9049
9050 2002-06-06  Adam Megacz <adam@xwt.org>
9051
9052         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9053         locking, just like the Sun JVM does.
9054
9055 2002-06-05  H.J. Lu  (hjl@gnu.org)
9056
9057         * Makefile.am (libgcj_convenience.la): Revert the last change.
9058         (libgcj.la): Likewise.
9059         * Makefile.in: Regenerated.
9060
9061 2002-06-04  H.J. Lu  (hjl@gnu.org)
9062
9063         * Makefile.am (libgcj_convenience.la): New target.
9064         (libgcj.la): Depend on libgcj_convenience.la.
9065         * Makefile.in: Regenerated.
9066
9067 2002-06-04  H.J. Lu  (hjl@gnu.org)
9068
9069         * configure.in (--with-newlib): New option:
9070         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9071         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9072         Linux.
9073         * configure: Regenerated.
9074
9075 2002-06-04  Tom Tromey  <tromey@redhat.com>
9076
9077         * java/util/natTimeZone.cc: Include <stdio.h>.
9078
9079 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9080
9081         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9082         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9083         Set SIGNAL_HANDLER=include/s390-linux.h.
9084         * configure: Regenerate.
9085         * include/s390-linux.h: New file.
9086
9087 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9088
9089         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9090         not "stackTrace".
9091
9092 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9093
9094         Merge JDK 1.4 java.security changes from classpath.
9095
9096         * java/security/AccessControlException.java: Merge from Classpath.
9097         * java/security/AccessController.java: Likewise.
9098         * java/security/AllPermission.java: Likewise.
9099         * java/security/BasicPermission.java: Likewise.
9100         * java/security/Certificate.java: Likewise.
9101         * java/security/CodeSource.java: Likewise.
9102         * java/security/DigestException.java: Likewise.
9103         * java/security/DigestOutputStream.java: Likewise.
9104         * java/security/DomainCombiner.java: Likewise.
9105         * java/security/GeneralSecurityException.java: Likewise.
9106         * java/security/Guard.java: Likewise.
9107         * java/security/GuardedObject.java: Likewise.
9108         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9109         * java/security/InvalidKeyException.java: Likewise.
9110         * java/security/InvalidParameterException.java: Likewise.
9111         * java/security/Key.java: Likewise.
9112         * java/security/KeyException.java: Likewise.
9113         * java/security/KeyManagementException.java: Likewise.
9114         * java/security/KeyStoreException.java: Likewise.
9115         * java/security/MessageDigest.java: Likewise.
9116         * java/security/NoSuchAlgorithmException.java: Likewise.
9117         * java/security/NoSuchProviderException.java: Likewise.
9118         * java/security/Permission.java: Likewise.
9119         * java/security/PermissionCollection.java: Likewise.
9120         * java/security/Permissions.java: Likewise.
9121         * java/security/Policy.java: Likewise.
9122         * java/security/Principal.java: Likewise.
9123         * java/security/PrivateKey.java: Likewise.
9124         * java/security/PrivilegedAction.java: Likewise.
9125         * java/security/PrivilegedActionException.java: Likewise.
9126         * java/security/PrivilegedExceptionAction.java: Likewise.
9127         * java/security/ProtectionDomain.java: Likewise.
9128         * java/security/ProviderException.java: Likewise.
9129         * java/security/PublicKey.java: Likewise.
9130         * java/security/SecureClassLoader.java: Likewise.
9131         * java/security/SecurityPermission.java: Likewise.
9132         * java/security/SignatureException.java: Likewise.
9133         * java/security/UnrecoverableKeyException.java: Likewise.
9134         * java/security/UnresolvedPermission.java: Likewise.
9135         * java/security/acl/AclNotFoundException.java: Likewise.
9136         * java/security/acl/LastOwnerException.java: Likewise.
9137         * java/security/acl/NotOwnerException.java: Likewise.
9138         * java/security/cert/CRLException.java: Likewise.
9139         * java/security/cert/CertificateEncodingException.java: Likewise.
9140         * java/security/cert/CertificateException.java: Likewise.
9141         * java/security/cert/CertificateExpiredException.java: Likewise.
9142         * java/security/cert/CertificateFactory.java: Likewise.
9143         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9144         * java/security/cert/CertificateParsingException.java: Likewise.
9145         * java/security/spec/InvalidKeySpecException.java: Likewise.
9146         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9147
9148         * java/security/cert/CertPath.java: New file.
9149         * java/security/cert/CertPathBuilderException.java: New file.
9150         * java/security/cert/CertPathValidatorException.java: New file.
9151         * java/security/cert/CertStoreException.java: New file.
9152
9153         * Makefile.am: Add new CertPath classes.
9154         * Makefile.in: Rebuilt.
9155
9156         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9157
9158 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9159
9160         Merge JDK 1.4 exception chaining support from classpath.
9161
9162         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9163         (stackTraceBytes): Rename from stackTrace.
9164         * java/lang/Exception.java: Merge from classpath.
9165         * java/lang/StackTraceElement: New file from classpath.
9166         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9167         * Makefile.am: Add StackTraceElement.
9168         * Makefile.in: Rebuilt.
9169
9170 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9171
9172         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9173         they build first.
9174         * Makefile.in: Rebuilt.
9175
9176 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9177
9178         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9179         * configure.in: Likewise.
9180         * aclocal.m4: Regenerate.
9181         * configure: Regenerate.
9182
9183 2002-05-13  Tom Tromey  <tromey@redhat.com>
9184
9185         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9186         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9187         Include platform.h.
9188
9189         Fixes PR libgcj/6389:
9190         * Makefile.in: Rebuilt.
9191         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9192         * java/util/natTimeZone.cc: New file.
9193         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9194         * java/lang/System.java: Merged with Classpath.
9195         * java/lang/Runtime.java: Merged with Classpath.
9196         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9197         security check.
9198         (setIn0): Renamed from setIn; don't run security check.
9199         (setOut0): Renamed from setOut; don't run security check.
9200         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9201         init_properties): Moved to natRuntime.cc.
9202         Moved many includes to natRuntime.cc.
9203         (isWordsBigEndian): New method.
9204         * java/lang/natRuntime.cc: Include Long.h, also other includes
9205         previously in natSystem.cc.
9206         (maxMemory): New function.
9207         (exitInternal): Renamed from `_exit'.
9208         (exit): Removed.
9209         (init): Don't set finalize_on_exit.
9210         (exitInternal): Use `finalizeOnExit'.
9211         (file_encoding, getpwuid_adaptor): New functions from
9212         natSystem.cc.
9213         (insertSystemProperties): New method, renamed from
9214         System::init_properties.  Don't set user.timezone.
9215         (_load): Don't call checkLink.
9216         (execInternal): New method.
9217         (availableProcessors): Likewise.
9218         (nativeGetLibname): Likewise.
9219
9220 2002-05-11  Mark Wielaard  <mark@klomp.org>
9221
9222         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9223         space characters.
9224         (previous_internal): Likewise.
9225
9226 2002-05-09  Tom Tromey  <tromey@redhat.com>
9227
9228         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9229
9230         * java/util/ResourceBundle.java: New version from Classpath.
9231         * java/util/Locale.java: Likewise.
9232
9233 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9234
9235         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9236         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9237         LD_LIBRARY_PATH.
9238
9239 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9240
9241         * libjava/Makefile.am (all_java_source_files): New variable.
9242         (all_java_class_files): Likewise.
9243         .java.class: New rule.
9244         (CLEANFILES): Remove tmp-list.
9245         * libjava/Makefile.in: Regenerated.
9246
9247 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9248
9249         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9250         Append .exe to executable names.  Fix for cygwin.
9251
9252 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9253
9254         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9255         script entry, and set LD to it when configuring multilibs.
9256         * configure: Rebuilt.
9257
9258 2002-05-07  Tom Tromey  <tromey@redhat.com>
9259
9260         * java/lang/natString.cc (unintern): Fixed typo.
9261
9262 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9263
9264         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9265         with -no-install on *-*-cygwin*.
9266
9267 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9268
9269         * testsuite/lib/libjava.exp (test_libjava_from_source):
9270         Add comment explaining last patch
9271
9272 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9273
9274         * testsuite/lib/libjava.exp (test_libjava_from_source):
9275         Append .exe to executable names.  If no suffix is present,
9276         then ".exe" is added by default on win32.  Harmless
9277         elsewhere so always do it.
9278
9279 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9280             Tom Tromey  <tromey@redhat.com>
9281
9282         * java/lang/natSystem.cc (getSystemTimeZone): Use
9283         HAVE_UNDERSCORE_TIMEZONE.
9284         * include/config.h.in: Rebuilt.
9285         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9286         * aclocal.m4, configure: Rebuilt.
9287         * acinclude.m4: Run AC_EXEEXT.
9288         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9289         Add test for `_timezone'.
9290
9291 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9292
9293         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9294         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9295         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9296         * Makefile.in: Rebuilt.
9297
9298 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9299
9300         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9301         use sigaction instead of __libc_sigaction.
9302
9303 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9304
9305         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9306         (libjava_init): Use it to find libgcj.spec.
9307         (libjava_arguments): Likewise.
9308
9309 2002-05-02  David S. Miller  <davem@redhat.com>
9310
9311         PR bootstrap/6525
9312         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9313         __libc_sigaction on Sparc.
9314
9315 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9316
9317         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9318         sys/filio.h, if present.
9319
9320 2002-04-30  Tom Tromey  <tromey@redhat.com>
9321
9322         * java/io/BufferedReader.java (fill): Handle case where markPos
9323         point to ignored \n.  Fixes PR libgcj/6301.
9324
9325 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9326
9327         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9328
9329 2002-04-29  Adam King <aking@dreammechanics.com>
9330
9331         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9332         of file in APPEND mode.
9333
9334 2002-04-25  David S. Miller  <davem@redhat.com>
9335
9336         PR target/6422
9337         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9338         program counter to next program counter minus 8.  Update
9339         comments in this macro to explain why.
9340
9341 2002-04-26  Tom Tromey  <tromey@redhat.com>
9342
9343         * verify.cc (construct_primitive_array_type) [void_type]: New
9344         case.
9345         (branch_prepass): Added dummy entries for unused instruction
9346         values.
9347         (verify_instructions_0): Likewise.
9348         * interpret.cc (continue1): Comment fix.
9349         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9350         * Makefile.in: Rebuilt.
9351         * Makefile.am: Added -Wswitch-enum.
9352
9353 2002-04-24  Tom Tromey  <tromey@redhat.com>
9354
9355         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9356         correct length of UTF-8 encoded name.  Strip leading `/'.
9357         (_Jv_RegisterResource): Use _Jv_Malloc.
9358
9359 2002-04-23  Adam Megacz <adam@xwt.org>
9360
9361         * win32.cc, include/win32.cc (backtrace): Added this function
9362         because Win32 does not supply it.
9363
9364 2002-04-21  David S. Miller  <davem@redhat.com>
9365
9366         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9367         magic instruction reading sequence.
9368
9369 2002-04-21  Mark Wielaard  <mark@klomp.org>
9370
9371         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9372
9373 2002-04-19  David S. Miller  <davem@redhat.com>
9374
9375         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9376         arg.
9377         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9378         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9379         on Sparc too.
9380         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9381         for 64-bit sparc.
9382         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9383         * sysdeps/sparc/locks.h: New file.
9384         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9385         on all sparc Solaris configurations.  Set to
9386         include/dwarf2-signal.h on sparc Linux.
9387         * configure: Regenerate
9388         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9389
9390 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9391
9392         * configure: Rebuilt.
9393         * configure.in (backtrace): Function doesn't work on IA-64.
9394
9395 2002-04-17  Adam King <aking@dreammechanics.com>
9396
9397         * java/io/File.java (normalizePath): Add Win32 support for auto
9398         conversion of a '/' path separator to Win32's '\' separator.
9399
9400 2002-04-16  Tom Tromey  <tromey@redhat.com>
9401
9402         Fix for PR libgcj/6081:
9403         * Makefile.in: Rebuilt.
9404         * Makefile.am (install-data-local): Use GNU make trick to avoid
9405         shell limit.
9406
9407 2002-04-16  Adam King <aking@dreammechanics.com>
9408             Tom Tromey  <tromey@redhat.com>
9409
9410         * java/io/natFileWin32.cc (performList): Return the correct array
9411         type.  Don't duplicate the creation of a File since it's already
9412         done earlier in the method and the existing code would cause a
9413         ArrayStoreException.  Don't use fixed-size array.
9414         (_access, _stat, attr, getCanonicalPath, performMkdir,
9415         performRenameTo): Don't use fixed-size array.
9416         (getCanonicalPath): Use throw, not _Jv_Throw.
9417
9418 2002-04-15  DJ Delorie  <dj@redhat.com>
9419
9420         * configure.in: Allow building in $srcdir.
9421         * configure: Regenerated.
9422
9423 2002-04-14  Mark Wielaard <mark@klomp.org>
9424
9425         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9426         * java/net/natSocketImpl.cc (close): Likewise.
9427
9428 2002-04-14  Mark Wielaard <mark@klomp.org>
9429
9430         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9431
9432 2002-04-13  Adam King <aking@dreammechanics.com>
9433
9434         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9435         the f/F/d/D modifiers.
9436
9437 2002-04-12  Anthony Green  <green@redhat.com>
9438
9439         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9440         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9441         * Makefile.in: Rebuilt.
9442         * configure.in: Substitute gcc_version.
9443         * configure: Rebuilt.
9444
9445 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9446
9447         * configure.host: Set can_unwind_signal on hosts which support it.
9448         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9449         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9450         exceptions and can_unwind_signal isn't set.
9451         * configure: Rebuilt.
9452
9453 2002-04-11  Tom Tromey  <tromey@redhat.com>
9454
9455         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9456
9457 2002-04-11  Adam King <aking@dreammechanics.com>
9458             Tom Tromey  <tromey@redhat.com>
9459
9460         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9461         _Jv_ThrowNullPointerException): Mark as noreturn.
9462         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9463         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9464         fixes.
9465
9466 2002-04-10  Tom Tromey  <tromey@redhat.com>
9467
9468         * Makefile.in: Rebuilt.
9469         * Makefile.am (java/lang/Thread.h): Mark
9470         _Jv_AttachCurrentThreadAsDaemon as friend.
9471         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9472         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9473         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9474         function.
9475         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9476         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9477         (_Jv_JNI_InvokeFunctions): Added
9478         _Jv_JNI_AttachCurrentThreadAsDaemon.
9479         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9480         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9481         (JNI_CreateJavaVM): Likewise.
9482         (_Jv_JNI_AttachCurrentThread): Likewise.
9483         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9484         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9485         (_Jv_JNIFunctions): Initialize new fields.
9486         (_Jv_JNI_NewDirectByteBuffer): New function.
9487         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9488         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9489         * include/jni.h (JNI_VERSION_1_4): New macro.
9490         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9491         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9492         (JNINativeInterface::NewDirectByteBuffer): New field.
9493         (JNINativeInterface::GetDirectBufferAddress): New field.
9494         (JNINativeInterface::GetDirectBufferCapacity): New field.
9495         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9496         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9497         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9498
9499 2002-04-09  Tom Tromey  <tromey@redhat.com>
9500
9501         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9502
9503 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9504
9505         Fix for PR libgcj/6187:
9506         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9507         distance.
9508
9509 2002-04-07  Mark Wielaard <mark@klomp.org>
9510
9511         * java/util/AbstractMap.java (putAll): Use entrySet size.
9512         (toString): Explicitly use getKey() and getValue().
9513
9514 2002-04-07  Mark Wielaard <mark@klomp.org>
9515
9516         * java/util/Hashtable.java (contains): Remove NullPointer check.
9517         (containsValue): Add NullPointer check.
9518         (remove): Always throw NullPointerException when key
9519         is null.
9520
9521 2002-04-07  Adam King <aking@dreammechanics.com>
9522
9523         * java/lang/natSystem.cc (init_properties): Call new function
9524         _Jv_platform_initProperties.
9525         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9526         support for the System properties os.name, os.arch, os.version,
9527         user.name, user.home, and user.dir.
9528         * include/posix.h, include/win32.h, posix.cc: New function
9529         _Jv_platform_initProperties.
9530
9531 2002-04-06  Mark Wielaard <mark@klomp.org>
9532
9533         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9534
9535 2002-04-06  Mark Wielaard <mark@klomp.org>
9536
9537         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9538         all of the remaining elements.
9539         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9540         (removeRange): If toIndex == fromIndex do
9541         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9542         (removeAll): Always throw NullPointerException when collection is
9543         null.
9544         (retrainAll): Likewise.
9545
9546 2002-04-05  Mark Wielaard <mark@klomp.org>
9547
9548         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9549         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9550
9551 2002-04-05  Adam Megacz <adam@xwt.org>
9552
9553         * exception.cc (abort): added static modifier
9554
9555 2002-04-04  Adam Megacz <adam@xwt.org>
9556
9557         * include/win32.h (_Jv_platform_close_on_exec): added inline
9558         modifier.
9559
9560 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9561
9562         * configure.host: Add case statement to support generic port
9563         properties.  Add *-*-freebsd* section.
9564
9565 2002-04-04  Mark Wielaard  <mark@klomp.org>
9566
9567         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9568         test.
9569         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9570         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9571         that depend on awt code and BufferedByteOutputStream.interrupt.
9572
9573 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9574
9575         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9576         incorrect "hi" value when count > 40.
9577
9578 2002-04-03  Mark Wielaard  <mark@klomp.org>
9579
9580         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9581         ordering.
9582
9583 2002-04-02  Tom Tromey  <tromey@redhat.com>
9584
9585         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9586         not `0'.
9587
9588 2002-04-02  Mark Wielaard  <mark@klomp.org>
9589
9590         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9591         list of testsuite crashers.
9592
9593 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9594
9595         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9596         when resizing table.
9597
9598 2002-04-01  Mark Wielaard  <mark@klomp.org>
9599
9600         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9601         NegativeArraySizeException
9602         (clear(int)): Use sign extended shift.
9603         (flip(int)): Likewise.
9604         (get(int)): Likewise.
9605         (nextClearBit(int)): Likewise.
9606         (nextSetBit(int)): Likewise.
9607         (set(int)): Likewise.
9608
9609 2002-04-01  Mark Wielaard  <mark@klomp.org>
9610
9611         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9612         that can be compiled now and add testsuite crashers to ignore list.
9613
9614 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9615
9616         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9617
9618         * libgcj.spec.in: Override libgcc, not lib.
9619         * libgcj-test.spec.in: Likewise.
9620
9621 2002-03-29  Tom Tromey  <tromey@redhat.com>
9622
9623         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9624         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9625
9626 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9627
9628         * java/net/PlainDatagramSocketImpl.java
9629         (close): Use native implementation.
9630         (finalize): New method.
9631
9632         * java/net/PlainSocketImpl.java (finalize): New method.
9633
9634         * java/net/natPlainDatagramSocketImpl.cc
9635         (java/io/FileDescriptor.h): Don't include.
9636         (close): Implement method here.
9637         (create): Don't assign fd.
9638
9639         * java/net/natPlainSocketImpl.cc
9640         (java/io/FileDescriptor.h): Don't include.
9641         (create): Don't assign fd.
9642         (accept): Likewise.
9643         (close): Synchronize.
9644
9645 2002-03-27  Richard Henderson  <rth@redhat.com>
9646
9647         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9648
9649 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9650
9651         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9652         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9653         instead of syscall on IA-64.
9654         Add FIXME comment.
9655
9656 2002-03-27  Anthony Green  <green@redhat.com>
9657
9658         * libgcj.spec.in: Add CHECKREFSPEC.
9659         * configure.in: Ditto.
9660         * configure.host: Ditto.  Check references for xscale-elf.
9661         * configure: Rebuilt.
9662
9663 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9664
9665         * include/dwarf2-signal.h: Temporarily back out last change.
9666
9667 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9668
9669         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9670
9671 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9672
9673         * configure.in, configure: enable dwarf2-exception-style
9674         exception handling on IA-64.
9675         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9676         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9677         Add FIXME comment.
9678
9679 2002-03-25  Tom Tromey  <tromey@redhat.com>
9680
9681         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9682         (jv_convert_LDFLAGS): Likewise.
9683         (gij_LDFLAGS): Likewise.
9684         (rmic_LDFLAGS): Likewise.
9685         (rmiregistry_LDFLAGS): Likewise.
9686         * configure.in (THREADLDFLAGS): New subst; set correctly for
9687         *BSD.
9688
9689 2002-03-25  Tom Tromey  <tromey@redhat.com>
9690
9691         For PR libgcj/5303:
9692         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9693         and --version.
9694         (help): New method.
9695         (version): Likewise.
9696         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9697         "GNU".
9698         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9699         "GNU".
9700
9701 2002-03-25  Tom Tromey  <tromey@redhat.com>
9702
9703         * java/awt/Component.java (processEvent): Check ComponentEvent
9704         after KeyEvent.
9705
9706 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9707
9708         * java/io/PushbackReader.java: Reformat.
9709
9710         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9711         calculate correct number of bytes skipped.
9712
9713         Based on patch from Intel's ORP team:
9714         * java/io/PushbackInputStream.java (available): Calculate correct
9715         number of bytes in buffer.
9716         (read): Remove redundant bound check. Return bytes from both the
9717         buffer and the stream.
9718
9719 2002-03-24  Tom Tromey  <tromey@redhat.com>
9720
9721         * java/awt/TextComponent.java (TextComponent): Editable by
9722         default.
9723
9724         * java/awt/MenuItem.java (eventMask): No longer private.
9725         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9726         superclass if we didn't handle event.
9727         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9728         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9729         * java/awt/Choice.java (dispatchEventImpl): New method.
9730         * java/awt/List.java (dispatchEventImpl): New method.
9731         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9732         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9733         * java/awt/TextField.java (dispatchEventImpl): New method.
9734
9735 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9736
9737         * java/beans/IntrospectionException.java: Update to 1.4.
9738         * java/beans/PropertyVetoException.java: Ditto.
9739
9740 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9741
9742         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9743         Arrays.equals instead of ArrayHelper.equalsArray.
9744
9745 2002-03-24  C. Brian Jones <cbj@gnu.org>
9746
9747         * java/beans/Introspector.java: added new static final fields
9748         introduced in 1.2, lots of other updates remain to be done
9749
9750 2002-03-24  C. Brian Jones <cbj@gnu.org>
9751
9752         * java/beans/Introspector.java: reformatting
9753
9754 2002-03-24  C. Brian Jones <cbj@gnu.org>
9755
9756         * java/beans/Introspector.java: default beanInfoSearchPath will
9757         not include sun.beans.infos given we provide no such package and
9758         the API doesn't really require it; gnu.java.beans.info is the
9759         default.
9760
9761 2002-03-24  Mark Wielaard  <mark@klomp.org>
9762
9763         Thanks to Orp developers
9764         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9765         switch TRUE and FALSE return values.
9766
9767 2002-03-23  Tom Tromey  <tromey@redhat.com>
9768
9769         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9770         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9771
9772 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9773
9774         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9775         MONTH entry.  Fixes PR libgcj/6045.
9776
9777 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9778
9779         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9780
9781 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9782
9783         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9784         not release_set.
9785         * sysdep/powerpc/locks.h (write_barrier): New function.
9786         * sysdep/i386/locks.h (write_barrier): New function.
9787
9788 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9789
9790         * include/jni.h Use correct C comments.
9791
9792 2002-03-18  Tom Tromey  <tromey@redhat.com>
9793
9794         * include/jni.h (JNIIMPORT): New macro.
9795         (JNIEXPORT): Likewise.
9796         (JNICALL): Likewise.
9797
9798 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9799
9800         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9801         systems.
9802
9803 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9804
9805         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9806         INIT_SEGV: Use old_i386_kernel_sigaction.
9807         INIT_FP: Likewise.
9808
9809 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9810
9811         * java/lang/natSystem.cc (init_properties): Update VM version
9812         properties.
9813         * configure.in: Set GCJVERSION.
9814         * acconfig.h: Add GCJVERSION.
9815         * configure: Rebuilt.
9816         * include/config.h.in: Rebuilt.
9817
9818 2002-03-17  Anthony Green  <green@redhat.com>
9819
9820         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9821
9822 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9823
9824         Build a single libgcj.so, without separate gc and zlib libraries.
9825         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9826         SYS_ZLIBS if system zlib is used.
9827         * configure: Rebuilt.
9828         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9829         * Makefile.in: Rebuilt.
9830         * libtool-version: Increment .so version number.
9831
9832         * Makefile.am: Escape quotes in echo.
9833         * Makefile.in: Rebuilt.
9834
9835 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9836
9837         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9838         * Makefile.in: Rebuilt.
9839
9840 2002-03-15  Anthony Green  <green@redhat.com>
9841
9842         * configure.host (FILE): New macro for specifing File
9843         implementation.
9844         * configure: Rebuilt.
9845         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9846
9847 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9848
9849         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9850         already implicitly brought in from libgcj.la.
9851         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9852         * Makefile.in: Rebuilt.
9853
9854 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9855
9856         * THANKS: Fix punctuation, alphabetization.
9857
9858 2002-03-15  Tom Tromey  <tromey@redhat.com>
9859             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9860
9861         Fix for PR libgcj/5944.
9862         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9863
9864 2002-03-15  Anthony Green  <green@redhat.com>
9865
9866         * configure.in (tool_include_dir): Define.
9867         * configure: Rebuilt.
9868         * gcj/Makefile.am: Install libgcj-config.h relative to
9869         tool_include_dir.
9870         * gcj/Makefile: Rebuilt.
9871         * gcj/libgcj-config.h: Add warning comment.
9872
9873 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9874
9875         * configure.host (powerpc*-darwin*): Enable interpreter.
9876
9877 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9878
9879         * include/posix.h: Add multiple include header protection.
9880         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9881
9882 2002-03-10  Adam Megacz <adam@xwt.org>
9883
9884         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9885
9886 2002-03-10  Tom Tromey  <tromey@redhat.com>
9887
9888         * java/awt/GridLayout.java (layoutContainer): Handle case where
9889         there are no items in container.
9890
9891         * java/lang/Win32Process.java: Added comment.
9892         * include/posix.h (_Jv_platform_close_on_exec): New function.
9893         Include fcntl.h.
9894         * include/win32.h (_Jv_platform_close_on_exec): New function.
9895         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9896         flag.
9897         (accept): Likewise.
9898         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9899         close-on-exec flag.
9900         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9901         flag.
9902
9903 2002-03-09  Tom Tromey  <tromey@redhat.com>
9904
9905         * verify.cc (state::NO_STACK): New constant.
9906         (state::is_unmerged_ret_state): Handle case where stacktop is
9907         NO_STACK.
9908         (state::merge): Handle NO_STACK merges.
9909         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9910         for instruction following jsr.
9911         (stacktop, stackdepth): Removed unused variables.
9912         (pop_jump): Ignore case where all remaining states are skipped.
9913
9914 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9915
9916         * java/awt/ImageMediaEntry: Removed.
9917         * java/awt/MediaEntry: Removed.
9918
9919 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9920
9921         Hashtable synchronization for PowerPC.
9922         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9923         slow_pthread_self. Set up symlink for sysdeps directory.
9924         * configure: Rebuild.
9925         * configure.host: Document more shell variables. Set sysdeps_dir
9926         for most platforms. Set slow_pthread_self for i686. Set
9927         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9928         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9929         that memory barrier is emitted where required.
9930         * prims.cc: 64-bit align static primitive class instances.
9931         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9932         read_barrier() to enforce ordering of reads.
9933         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9934         primitives for PowerPC.
9935         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9936         moved from natObject.cc.
9937         * sysdep/alpha/locks.h: Likewise.
9938         * sysdep/ia64/locks.h: Likewise.
9939         * sysdep/generic/locks.h: Likewise.
9940         * java/lang/natObject.cc: Move thread synchronization primitives to
9941         system-dependent headers.
9942
9943 2002-03-09  Adam Megacz  <adam@xwt.org>
9944
9945         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9946         bytes read and no failure code returned.
9947
9948 2002-03-09  Adam Megacz  <adam@xwt.org>
9949
9950         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9951         definitions to simulate -mthreads.
9952
9953 2002-03-09  Adam Megacz  <adam@xwt.org>
9954
9955         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9956         avoid precision loss.
9957
9958 2002-03-09  Per Bothner  <per@bothner.com>
9959
9960         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9961         * gnu/gcj/xlib/XImage.java:  Likewise.
9962         * gnu/gcj/xlib/XColor.java:  Likewise.
9963
9964 2002-03-09  Adam Megacz  <adam@xwt.org>
9965
9966         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9967         IOException so that Throwable.printStackTrace fails correctly.
9968
9969 2002-03-08  Adam Megacz  <adam@xwt.org>
9970
9971         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9972         fixed.
9973
9974 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9975
9976         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9977         truncated to int.
9978
9979 2002-03-08  Tom Tromey  <tromey@redhat.com>
9980
9981         * include/jni.h: Include stdio.h.
9982
9983 2002-03-08  Tom Tromey  <tromey@redhat.com>
9984
9985         * posix.cc (internal_gettimeofday): New function.
9986         (_Jv_select): Use it.
9987
9988 2002-03-07  Adam Megacz  <adam@xwt.org>
9989
9990         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9991         WIN32, and added thunks for read(), write(), and close().
9992         * java/net/natPlainSocketImpl.cc (accept, read, read):
9993         Disabled timeouts on WIN32 pending discussion.
9994
9995 2002-03-07  Adam Megacz  <adam@xwt.org>
9996
9997         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9998         returns jlong. Added implementation
9999         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10000         returns jlong.
10001         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10002         returns jlong.
10003         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10004         returns jlong.
10005         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10006         _Jv_platform_gettimeofday signature.
10007
10008 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10009
10010         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10011         (read): Call recv() directly, not _Jv_recv().
10012
10013 2002-03-06  Tom Tromey  <tromey@redhat.com>
10014
10015         * java/io/natFileDescriptorEcos.cc (init): Don't use
10016         GetStdHandle.
10017         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10018         is negative.
10019         (init): Don't use GetStdHandle.
10020
10021         * include/config.h.in: Rebuilt.
10022         * configure: Rebuilt.
10023         * Makefile.in: Rebuilt.
10024
10025 2002-03-06  Adam Megacz  <adam@xwt.org>
10026
10027         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10028         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10029         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10030         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10031
10032 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10033
10034         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10035         the code for generating include/java-chartables.h.
10036         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10037         merge with Classpath.
10038         * scripts/unicode-muncher.pl: Copy from Classpath.
10039         * scritps/MakeCharTables.java: New file.
10040         * gnu/gcj/convert/Blocks-3.txt: New file.
10041         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10042         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10043         * gnu/java/lang/CharData.java: Copy from Classpath.
10044         * Makefile.am (ordinary_java_source_files): Add
10045         gnu/java/lang/CharData.java.
10046         * configure.in: Remove --enable-fast-character option.
10047         * java/lang/Character.java: Merge algorithms and Javadoc with
10048         Classpath.
10049         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10050         efficiently.
10051         * include/java-chardecomp.h: Regenerate.
10052         * include/java-chartables.h: Regenerate.
10053
10054 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10055
10056         * java/awt/MediaTracker.java: Implemented.
10057         * Makefile.am: Add MediaTracker.
10058         * Makefile.in: Rebuilt.
10059
10060 2002-03-05  Tom Tromey  <tromey@redhat.com>
10061
10062         * java/lang/natPosixProcess.cc (fail): Removed.
10063         (startProcess): Simplified error-handling.  Preserve
10064         LD_LIBRARY_PATH across exec.
10065
10066         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10067         AbstractMethodError.
10068
10069 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10070
10071         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10072         * Makefile.in: Rebuilt.
10073
10074 2002-03-03 Mark Wielaard <mark@klomp.org>
10075
10076         * java/util/Timer (TaskQueue.stop): set elements to zero.
10077
10078 2002-02-28  Anthony Green  <green@redhat.com>
10079
10080         * java/lang/reflect/natMethod.cc (result): Add void* element.
10081         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10082         constructor test.
10083
10084 2002-02-27  Adam Megacz <adam@xwt.org>
10085
10086         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10087         '#undef STRICT'.
10088
10089 2002-02-26  Tom Tromey  <tromey@redhat.com>
10090
10091         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10092         * gij.cc (version): Use __VERSION__.
10093         * include/config.h.in: Rebuilt.
10094         * acconfig.h (GCJVERSION): Removed.
10095         * configure: Rebuilt.
10096         * configure.in (GCJVERSION): Removed.
10097
10098 2002-02-26  Andreas Schwab  <schwab@suse.de>
10099
10100         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10101         glibcpp_CXX, since libjava uses even another CXX.
10102         * aclocal.m4, configure: Regenerated.
10103
10104 2002-02-26  Tom Tromey  <tromey@redhat.com>
10105
10106         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10107         `1'.
10108
10109 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10110
10111         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10112         dependency tracking for .java files.
10113         * Makefile.in: Rebuilt.
10114
10115 2002-02-24  Adam Megacz  <adam@xwt.org>
10116
10117         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10118         typo. Sorry.
10119
10120 2002-02-24  Adam Megacz  <adam@xwt.org>
10121
10122         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10123         for Win32, changed #ifdefs to check WIN32 instead of the
10124         (now-obsolete) USE_WINSOCK, and removed support for socket
10125         timeouts on Win32 pending further discussion.
10126
10127 2002-02-24  Adam Megacz  <adam@xwt.org>
10128
10129         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10130         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10131         delete
10132
10133 2002-02-24  Adam Megacz  <adam@xwt.org>
10134
10135         * java/lang/Win32Process.java: Created a dummy class to allow
10136         build process to run to completion.
10137
10138 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10139
10140         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10141         Define ffi_result union for ffi_call result.  Cast
10142         ffi_result members to jvalue.
10143
10144 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10145
10146         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10147         * testsuite/Makefile.in: Likewise.
10148
10149 2002-02-20  Per Bothner  <per@bothner.com>
10150
10151         * java/net/URL.java (getPath):  New JDK 1.3 method.
10152
10153         * java/net/URLStreamHandler.java (parseURL):
10154         It is wrong to prepend '/' to the file part of a relative url.
10155
10156         * java/net/URLStreamHandler.java (parseURL):
10157         Minor optizations - append '/' rather than "/".
10158
10159         * java/net/URLStreamHandler.java (parseURL):
10160         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10161         We probably should canonicalize for a context-relative url, though.
10162         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10163         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10164         (sameFile):  New method.  Uses canonicalizeFilename.
10165
10166 2002-02-22  Tom Tromey  <tromey@redhat.com>
10167
10168         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10169         java.vendor and java.vm.vendor.
10170         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10171         recent copyright date.
10172         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10173         * gij.cc (version): Print `Inc'.
10174
10175 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10176
10177         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10178         * aclocal.m4, configure: Rebuilt.
10179
10180 2002-02-20  Per Bothner  <per@bothner.com>
10181
10182         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10183         and/or output streams immediately here, instead of using File.exists.
10184         (inputStream, outputStream):  New fields to save open streams.
10185         (getInputStream, getOutputStream):  Use already-opened streams.
10186
10187 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10188
10189         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10190         Use it.
10191         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10192         * aclocal.m4, configure, Makefile.in: Rebuilt.
10193
10194 2002-02-19  Tom Tromey  <tromey@redhat.com>
10195
10196         Fix for PR libgcj/5696:
10197         * verify.cc (is_assignable_from_slow): Never call
10198         _Jv_IsAssignableFrom.
10199         (verify_instructions_0): Added new debug statement.
10200         (state::print): Print information about whether local has
10201         changed.
10202         (state::merge): Don't call note_variable when merging locals.
10203         (state::set_exception): Removed old FIXME comment.
10204
10205 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10206
10207         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10208         enable SO_BROADCAST.
10209
10210 2002-02-18  Jason Merrill  <jason@redhat.com>
10211
10212         * name-finder.cc (toHex): Use word mode, not long long.
10213
10214         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10215
10216 2002-02-15  Tom Tromey  <tromey@redhat.com>
10217
10218         Fix for PR libgcj/5695:
10219         * verify.cc (is_assignable_from_slow): Check to see if target is
10220         an Object before checking to see if source is an interface.
10221         (verify_instructions_0) [op_invokeinterface]: Handle case where
10222         we're making an interface call on Object.
10223
10224 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10225
10226         * Makefile.in: Rebuilt with Eric's change below.
10227
10228         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10229         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10230         Removed functions which are now implemented in Math.java.
10231
10232 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10233
10234         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10235         * Makefile.am (core_java_source_files): Add
10236         java/lang/StrictMath.java.
10237         * java/lang/Math.java: Merge with Classpath.
10238         * java/lang/StrictMath.java: New file - merge with Classpath.
10239
10240 2002-02-14  Mark Wielaard  <mark@klomp.org>
10241
10242         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10243         package as a workaround for gcj 3.0.x
10244
10245 2002-02-14  Mark Wielaard <mark@klomp.org>
10246
10247         * java/security/BasicPermission.java: extends with fully qualified
10248         classname as workaround for gcj 3.0.4.
10249
10250 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10251
10252         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10253         around gcj bug of wrong emitted qualifier for inherited method.
10254         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10255         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10256         constructor to reduce amount of emitted bytecode. While this
10257         happens to work around a jikes 1.15 bug, it is still a useful
10258         patch even for correct compilers.
10259         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10260         * gnu/java/rmi/server/UnicastRemoteCall.java
10261         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10262
10263 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10264
10265         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10266         * java/net/SocketImpl.java: Ditto.
10267         * java/rmi/server/RMIClassLoader.java: Ditto.
10268         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10269
10270 2002-02-14  Mark Wielaard <mark@klomp.org>
10271
10272         Thanks to Takashi Okamoto
10273         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10274         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10275         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10276
10277 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10278
10279         Fix for PR libgcj/5670:
10280         * verify.cc (is_assignable_from_slow): If `source' is interface,
10281         recursively look for merge with `target'.
10282
10283 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10284
10285         * include/jni.h: Fix typo.
10286
10287 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10288
10289         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10290         correctly.
10291
10292 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10293
10294         Fix for PR libgcj/5671:
10295         * verify.cc (state::merge): Handle case where we're merging
10296         against an interface.
10297
10298 2002-02-12  Tom Tromey  <tromey@redhat.com>
10299
10300         * exception.cc (std::abort): Mark as noreturn.
10301
10302 2002-02-12  Adam Megacz <adam@xwt.org>
10303
10304         * java/lang/Win32Process.java: Filled in a placeholder
10305         implementation so Win32 will build.
10306
10307 2002-02-12  Adam Megacz <adam@xwt.org>
10308
10309         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10310         * java/io/natFile.cc: Removed from repository.
10311         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10312
10313 2002-02-12  Adam Megacz <adam@xwt.org>
10314
10315         * win32.cc: Added two #includes to make win32.cc compile.
10316
10317 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10318
10319         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10320         declarations.
10321         (_Jv_InitGC): Don't bother locking, as this is always called from a
10322         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10323
10324 2002-02-11  Adam Megacz <adam@xwt.org>
10325
10326         * include/win32.h: Added _Jv_platform_gettimeofday.
10327         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10328
10329 2002-02-11  Adam Megacz <adam@xwt.org>
10330
10331         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10332         Added #undef STRICT to make windows.h and
10333         java/lang/reflect/Modifier.h cooperate.
10334
10335 2002-02-11  Adam Megacz <adam@xwt.org>
10336
10337         * java/io/natFileWin32.cc: Created a placeholder class with lots
10338         of FIXMEs.
10339
10340 2002-02-11  Adam Megacz <adam@xwt.org>
10341
10342         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10343         std::abort() to simply abort(). Also added "fake" std::abort() so
10344         we can #include unwind-pe.h without having to link against
10345         libstdc++-v3.
10346
10347 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10348
10349         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10350
10351 2002-02-08  Tom Tromey  <tromey@redhat.com>
10352
10353         * interpret.cc (convert): New function.
10354         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10355         convert.
10356         Include Long.h.
10357
10358 2002-02-08  Anthony Green  <green@redhat.com>
10359
10360         * configure.host: Add support for xscale-elf embedded target.
10361
10362 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10363
10364         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10365         dereferenced.
10366         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10367         frame.
10368
10369 2002-02-07  Tom Tromey  <tromey@redhat.com>
10370
10371         * java/io/natFile.cc (_access): Use __builtin_alloca.
10372         (_stat): Likewise.
10373         (attr): Likewise.
10374         (getCanonicalPath): Likewise.
10375         (performList): Likewise.
10376         (performMkdir): Likewise.
10377         (performSetReadOnly): Likewise.
10378         (performRenameTo): Likewise.
10379         (performSetLastModified): Likewise.
10380         (performCreate): Likewise.
10381         (performDelete): Likewise.
10382
10383 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10384
10385         * HACKING: Fix URL for the automake-gcj.
10386
10387 2002-02-07  Tom Tromey  <tromey@redhat.com>
10388
10389         * java/lang/natThrowable.cc: Updated copyright.
10390         * java/io/natFileWin32.cc: Updated copyright.
10391         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10392         * win32-threads.cc: Updated copyright.
10393         * name-finder.cc: Updated copyright.
10394         * include/name-finder.h: Updated copyright.
10395
10396         * include/name-finder.h: Conditionally include sys/wait.h.
10397         * include/config.h.in: Rebuilt.
10398
10399         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10400         Size buffer based on real size of string.
10401         (_stat): Likewise.
10402         (attr): Likewise.
10403         (getCanonicalPath): Likewise.
10404         (performList): Likewise.
10405         (performMkdir): Likewise.
10406         (performSetReadOnly): Likewise.
10407         (unixroot): Removed.
10408         (performRenameTo): Likewise.
10409         (performSetLastModified): Likewise.
10410         (performCreate): Likewise.
10411         (performDelete): Likewise.
10412         (performListRoots): Always return new array.
10413
10414         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10415         * win32.cc (win32_exception_handler): Now static.
10416         * include/win32.h (_Jv_platform_initialize): Declare.
10417         (win32_exception_handler): Don't declare.
10418         * java/lang/natSystem.cc (currentTimeMillis): Use
10419         _Jv_platform_gettimeofday.
10420         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10421         (_Jv_select): Use new name.
10422         (_Jv_platform_initialize): New function.
10423         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10424         _Jv_gettimeofday.
10425         (_Jv_platform_initialize): Declare.
10426
10427         * configure: Rebuilt.
10428         * configure.in: Removed unnecessary parens.
10429
10430 2002-02-06  Adam Megacz <adam@xwt.org>
10431
10432        * configure.in: Changed mingw) to *mingw*).
10433        * win32.cc: Created this file.
10434        * win32.h: Created this file.
10435        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10436        win32_exception_handler from prims.cc to win32.cc, added
10437        header in win32.h.
10438        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10439        longer needed now that we have platform.h
10440
10441 2002-02-06  Adam Megacz <adam@xwt.org>
10442
10443         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10444         use uint<n>_t instead of LONG and BYTE
10445
10446 2002-02-06  Adam Megacz <adam@xwt.org>
10447
10448         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10449
10450 2002-02-06  Anthony Green  <green@redhat.com>
10451
10452         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10453         Implement missing method stubs.
10454         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10455         targets.
10456         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10457         concept of timezones.
10458         (init_properties): Don't refer to _Jv_Environment_Properties
10459         when this feature is not available.
10460         * include/config.h.in: Rebuilt.
10461         * acconfig.h: Add DISABLE_MAIN_ARGS.
10462         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10463         * configure: Rebuilt.
10464         * configure.in: Add --disable-main-args option.  Test for
10465           opendir function.  Replace AC_CHECK_SIZEOF with
10466           AC_COMPILE_CHECK_SIZEOF.
10467         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10468         * aclocal.m4: Rebuilt.
10469         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10470
10471 2002-02-06  Tom Tromey  <tromey@redhat.com>
10472
10473         * verify.cc (require_array_type): If argument is a null array of
10474         references, return null as the element type.
10475
10476 2002-02-06  Mark Wielaard  <mark@klomp.org>
10477
10478         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10479         duplicate of a wide type.
10480
10481 2002-02-06  Tom Tromey  <tromey@redhat.com>
10482
10483         * verify.cc (type::isnull): New method.
10484         (require_array_type): Handle case where array is null.
10485         (verify_instructions_0) [op_arraylength]: Likewise.
10486
10487 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10488
10489         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10490         Symlink PLATFORMH to platform.h.
10491         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10492         PLATFORMOBJS.
10493         * java/lang/natSystem.cc: #include platform.h not posix.h.
10494         * Makefile.in: Rebuilt with libgcj automake.
10495         * configure: Rebuilt.
10496
10497 2002-02-05  Richard Henderson  <rth@redhat.com>
10498
10499         * Makefile.in: Undo munging last change.
10500
10501 2002-02-04  Adam Megacz <adam@xwt.org>
10502
10503         * win32.cc: Created it.
10504         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10505         which is set to posix.cc or win32.cc.
10506         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10507
10508 2002-02-04  Adam Megacz <adam@xwt.org>
10509
10510         * configure.in: Corrected mingw case branches; added * before
10511         and after.
10512
10513 2002-02-04  Adam Megacz <adam@xwt.org>
10514
10515         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10516         if compiling for win32
10517
10518 2002-02-04  Adam Megacz <adam@xwt.org>
10519
10520         * win32-threads.cc: #undef STRICT after gc.h inclusion
10521
10522 2002-02-02  Tom Tromey  <tromey@redhat.com>
10523
10524         * Makefile.in: Rebuilt.
10525
10526 2002-02-02  Jason Merrill  <jason@redhat.com>
10527
10528         * Makefile.am (clean-nat): New target.
10529
10530 2002-02-02  Tom Tromey  <tromey@redhat.com>
10531
10532         * java/io/natFile.cc: Removed old "FIXME" comments.
10533
10534 2002-02-01  Tom Tromey  <tromey@redhat.com>
10535
10536         * java/lang/natPosixProcess.cc (myclose): New function.
10537         (fail): Use it.
10538         (startProcess): Likewise.
10539
10540 2002-02-01  Adam Megacz <adam@xwt.org>
10541
10542         * prims.cc: Added #undef STRICT after #include<windows.h>.
10543
10544 2002-02-01  Adam Megacz <adam@xwt.org>
10545
10546         * prims.cc
10547         (_Jv_CreateJavaVM): We now use WIN32 instead of
10548         USE_WIN32_SIGNALLING and USE_WINSOCK.
10549         (win32_exception_handler): Now throws an exception out of
10550         the signal handler; assumes SJLJ.
10551
10552 2002-02-01  Adam Megacz <adam@xwt.org>
10553
10554         * win32-threads.cc:
10555         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10556         wait() algorithm to make it safe.
10557         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10558         Added lazy creation of Win32 Events for better performance
10559         (really_start): This now uses GC_CreateThread so boehm-gc
10560         knows about new threads even when statically linked.
10561
10562 2002-02-01  Adam Megacz <adam@xwt.org>
10563
10564         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10565         enable safer wait() algorithm.
10566         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10567         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10568         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10569         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10570         instead of mutex.
10571         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10572
10573 2002-02-01  Adam Megacz <adam@xwt.org>
10574
10575         * configure.in: Added support for mingw.
10576         * java/lang/Win32Process.java: Created as empty file.
10577         * java/lang/natWin32Process.cc: Created as empty file.
10578
10579 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10580
10581         PR java/4972
10582         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10583         for libiconv in LIBICONV variable.
10584         * configure: Regenerated.
10585
10586 2002-01-31  Tom Tromey  <tromey@redhat.com>
10587
10588         * verify.cc (state::enter_subroutine): New method.
10589         (handle_jsr_insn): Use it.
10590         (state::merge): When processing a `ret', correctly use
10591         subroutine's state to determine which local variables have
10592         changed.
10593         (push_exception_jump): Don't let stack overflow.
10594
10595 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10596
10597         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10598         --version output.
10599
10600 2002-01-30  Tom Tromey  <tromey@redhat.com>
10601
10602         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10603         parameter for `recv' return type.
10604
10605         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10606         (state::merge): ... not here.
10607         (subr_entry_info): New structure.
10608         (entry_points): New field.
10609         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10610         entry_points.
10611
10612 2002-01-29  Tom Tromey  <tromey@redhat.com>
10613
10614         * java/awt/List.java (addNotify): Correctly check to see if peer
10615         does not exist.
10616
10617         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10618         to compute height of each cell, and number of columns to compute
10619         width of each cell.
10620         * java/awt/Window.java (getOwnedWindows): Don't return null.
10621         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10622         of component.  Increment x using horizontal gap, not vertical
10623         gap.
10624
10625 2002-01-28  Tom Tromey  <tromey@redhat.com>
10626
10627         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10628         `nargs' byte is number of words, not number of arguments.
10629
10630 2002-01-27  Tom Tromey  <tromey@redhat.com>
10631
10632         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10633         (when): Likewise.
10634         * java/awt/event/InputEvent.java (modifiers, when): Now
10635         package-private.
10636
10637         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10638         and to-do list.
10639         (state::merge): Use current class' class loader.
10640         (state::print): Print subroutine.
10641         (state::merge): Don't look at subroutine of unmerged `ret'.
10642
10643 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10644
10645         * nogc.cc: Remove warnings.
10646         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10647         New functions.
10648
10649 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10650
10651         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10652         int, int):  Remove empty "if" statement to work around compiler bug.
10653         (newPixels(int[], ColorModel, int, int): Likewise.
10654
10655 2002-01-25  Per Bothner  <per@bothner.com>
10656
10657         * verify.cc (verify_fail):  Change from being a top-level function
10658         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10659         Pass the current verifier to type: and state: methods as needed,
10660         for better error messages, and for resolve.
10661         (resolve):  Pass current class's loader for Class.forName and
10662         _Jv_FindClassFromSignature, rather than using the default loader.
10663         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10664         (get_type_val_for_signature):  Make non-static.
10665         (various methods):  Pass start_PC implicitly, not explicitly.
10666
10667 2002-01-25  Tom Tromey  <tromey@redhat.com>
10668
10669         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10670         loop termination condition.
10671         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10672         width.
10673
10674 2002-01-24  Tom Tromey  <tromey@redhat.com>
10675
10676         * java/awt/Shape.java: Merged with Classpath.
10677         * java/awt/Scrollbar.java: Merged with Classpath.
10678
10679         * java/awt/Container.java (addNotify): Unconditionally call
10680         addNotifyContainerChildren and superclass addNotify.
10681
10682         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10683         getAlpha, not getBlue.
10684
10685 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10686
10687         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10688
10689         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10690         (grabPixels(long)): Wait to be notified that the ImageProducer has
10691         completed.
10692
10693 2002-01-24  Per Bothner  <per@bothner.com>
10694
10695         * verify.cc (is_assignable_from_slow): If target is an interface,
10696         we must still check the source's superclass before giving up.
10697
10698 2002-01-24  Tom Tromey  <tromey@redhat.com>
10699
10700         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10701
10702 2002-01-23  Tom Tromey  <tromey@redhat.com>
10703
10704         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10705         `else'.
10706
10707         * Makefile.in: Rebuilt.
10708         * Makefile.am (awt_java_source_files): Added new files.
10709         * java/awt/Toolkit.java: Merged with Classpath.
10710         * java/awt/PrintGraphics.java: New file from Classpath.
10711         * java/awt/PrintJob.java: New file from Classpath.
10712         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10713         * java/awt/datatransfer/ClipboardOwner.java: New file from
10714         Classpath.
10715         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10716         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10717         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10718         Classpath.
10719         * java/awt/datatransfer/StringSelection.java: New file from
10720         Classpath.
10721         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10722         Classpath.
10723         * java/awt/datatransfer/Transferable.java: New file from
10724         Classpath.
10725         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10726         from Classpath.
10727
10728         * Makefile.in: Rebuilt.
10729         * Makefile.am (awt_java_source_files): Added new files.
10730         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10731         Classpath.
10732         * java/awt/image/CropImageFilter.java: New file from Classpath.
10733         * java/awt/image/FilteredImageSource.java: New file from
10734         Classpath.
10735         * java/awt/image/ImageFilter.java: New file from Classpath.
10736         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10737         * java/awt/image/PixelGrabber.java: New file from Classpath.
10738         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10739         * java/awt/image/ReplicateScaleFilter.java: New file from
10740         Classpath.
10741         * java/awt/image/ImageProducer.java: Replaced with Classpath
10742         version.
10743         * java/awt/image/ImageObserver.java: Replaced with Classpath
10744         version.
10745         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10746         version.
10747         * java/awt/GridBagConstraints.java (clone): Catch
10748         CloneNotSupportedException.
10749
10750 2002-01-23  Per Bothner  <per@bothner.com>
10751
10752         * java/lang/reflect/natField.cc (setAddr):  New function.
10753         Calls getAddr and then checks that the field isn't final.
10754         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10755         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10756         (set):  Call setAddr before check that new value has right type,
10757         to better match specified semantics.
10758
10759 2002-01-22  Tom Tromey  <tromey@redhat.com>
10760
10761         * java/awt/TextField.java: Replaced with Classpath version.
10762         * java/awt/TextArea.java: Replaced with Classpath version.
10763         * java/awt/TextComponent.java: Replaced with Classpath version.
10764
10765         * java/awt/GridBagConstraints.java: Updated copyright.
10766
10767 2002-01-22  Mark Wielaard <mark@klomp.org>
10768
10769         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10770         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10771         java/awt/Dialog.java java/awt/FileDialog.java
10772         java/awt/Font.java java/awt/FontMetrics.java
10773         java/awt/Image.java java/awt/ImageMediaEntry.java
10774         java/awt/Insets.java java/awt/List.java
10775         java/awt/MediaEntry.java java/awt/MediaTracker.java
10776         java/awt/Menu.java java/awt/MenuBar.java
10777         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10778         java/awt/PaintContext.java java/awt/Panel.java
10779         java/awt/PopupMenu.java java/awt/SystemColor.java
10780         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10781         java/awt/peer/CheckboxMenuItemPeer.java
10782         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10783         java/awt/peer/ComponentPeer.java
10784         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10785         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10786         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10787         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10788         java/awt/peer/MenuBarPeer.java
10789         java/awt/peer/MenuComponentPeer.java
10790         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10791         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10792         java/awt/peer/ScrollPanePeer.java
10793         java/awt/peer/ScrollbarPeer.java
10794         java/awt/peer/TextAreaPeer.java
10795         java/awt/peer/TextComponentPeer.java
10796         java/awt/peer/TextFieldPeer.java
10797         java/awt/peer/WindowPeer.java: Add license clarification.
10798
10799 2002-01-22  Mark Wielaard <mark@klomp.org>
10800
10801         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10802         gnu/gcj/runtime/StringBuffer.java
10803         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10804         gnu/java/awt/ComponentDataBlitOp.java
10805         gnu/java/awt/GLightweightPeer.java
10806         gnu/java/beans/BeanInfoEmbryo.java
10807         gnu/java/beans/EmptyBeanInfo.java
10808         gnu/java/beans/ExplicitBeanInfo.java
10809         gnu/java/beans/IntrospectionIncubator.java
10810         gnu/java/beans/editors/ColorEditor.java
10811         gnu/java/beans/editors/FontEditor.java
10812         gnu/java/beans/editors/NativeBooleanEditor.java
10813         gnu/java/beans/editors/NativeByteEditor.java
10814         gnu/java/beans/editors/NativeDoubleEditor.java
10815         gnu/java/beans/editors/NativeFloatEditor.java
10816         gnu/java/beans/editors/NativeIntEditor.java
10817         gnu/java/beans/editors/NativeLongEditor.java
10818         gnu/java/beans/editors/NativeShortEditor.java
10819         gnu/java/beans/editors/StringEditor.java
10820         gnu/java/beans/info/ComponentBeanInfo.java
10821         gnu/java/io/ClassLoaderObjectInputStream.java
10822         gnu/java/io/NullOutputStream.java
10823         gnu/java/io/ObjectIdentityWrapper.java
10824         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10825         gnu/java/lang/reflect/TypeSignature.java
10826         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10827         gnu/java/locale/Calendar_en.java
10828         gnu/java/locale/Calendar_nl.java
10829         gnu/java/locale/LocaleInformation.java
10830         gnu/java/locale/LocaleInformation_de.java
10831         gnu/java/locale/LocaleInformation_en.java
10832         gnu/java/locale/LocaleInformation_nl.java
10833         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10834         gnu/java/rmi/registry/RegistryImpl.java
10835         gnu/java/rmi/rmic/Compile_gcj.java
10836         gnu/java/rmi/rmic/Compiler.java
10837         gnu/java/rmi/rmic/CompilerProcess.java
10838         gnu/java/rmi/rmic/RMIC.java
10839         gnu/java/rmi/rmic/TabbedWriter.java
10840         gnu/java/rmi/server/ProtocolConstants.java
10841         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10842         gnu/java/rmi/server/RMIHashes.java
10843         gnu/java/rmi/server/RMIObjectInputStream.java
10844         gnu/java/rmi/server/RMIObjectOutputStream.java
10845         gnu/java/rmi/server/UnicastConnection.java
10846         gnu/java/rmi/server/UnicastConnectionManager.java
10847         gnu/java/rmi/server/UnicastRef.java
10848         gnu/java/rmi/server/UnicastRemoteCall.java
10849         gnu/java/rmi/server/UnicastRemoteStub.java
10850         gnu/java/rmi/server/UnicastServer.java
10851         gnu/java/rmi/server/UnicastServerRef.java
10852         gnu/java/security/provider/DefaultPolicy.java
10853         gnu/java/security/provider/Gnu.java
10854         gnu/java/security/provider/SHA.java
10855         gnu/java/security/provider/SHA1PRNG.java
10856         gnu/java/text/BaseBreakIterator.java
10857         gnu/java/text/CharacterBreakIterator.java
10858         gnu/java/text/LineBreakIterator.java
10859         gnu/java/text/SentenceBreakIterator.java
10860         gnu/java/text/WordBreakIterator.java
10861         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10862         java/applet/AppletContext.java java/applet/AppletStub.java
10863         java/applet/AudioClip.java java/awt/AWTError.java
10864         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10865         java/awt/AWTException.java java/awt/AWTPermission.java
10866         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10867         java/awt/Button.java java/awt/Canvas.java
10868         java/awt/CardLayout.java java/awt/Checkbox.java
10869         java/awt/CheckboxGroup.java java/awt/Component.java
10870         java/awt/ComponentOrientation.java java/awt/Container.java
10871         java/awt/Dimension.java java/awt/Event.java
10872         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10873         java/awt/FlowLayout.java java/awt/Frame.java
10874         java/awt/Graphics.java java/awt/Graphics2D.java
10875         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10876         java/awt/IllegalComponentStateException.java
10877         java/awt/ItemSelectable.java java/awt/Label.java
10878         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10879         java/awt/MenuComponent.java java/awt/MenuItem.java
10880         java/awt/Paint.java java/awt/Point.java
10881         java/awt/Rectangle.java java/awt/RenderingHints.java
10882         java/awt/Transparency.java java/awt/Window.java
10883         java/awt/color/ColorSpace.java
10884         java/awt/color/ICC_ColorSpace.java
10885         java/awt/color/ICC_Profile.java
10886         java/awt/event/HierarchyBoundsAdapter.java
10887         java/awt/event/HierarchyBoundsListener.java
10888         java/awt/event/HierarchyEvent.java
10889         java/awt/event/HierarchyListener.java
10890         java/awt/geom/AffineTransform.java
10891         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10892         java/awt/geom/IllegalPathStateException.java
10893         java/awt/geom/Line2D.java
10894         java/awt/geom/NoninvertibleTransformException.java
10895         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10896         java/awt/geom/Rectangle2D.java
10897         java/awt/geom/RectangularShape.java
10898         java/awt/geom/RoundRectangle2D.java
10899         java/awt/image/BufferedImage.java
10900         java/awt/image/ColorModel.java
10901         java/awt/image/ComponentColorModel.java
10902         java/awt/image/ComponentSampleModel.java
10903         java/awt/image/DataBuffer.java
10904         java/awt/image/DataBufferByte.java
10905         java/awt/image/DataBufferInt.java
10906         java/awt/image/DataBufferUShort.java
10907         java/awt/image/DirectColorModel.java
10908         java/awt/image/PackedColorModel.java
10909         java/awt/image/Raster.java java/awt/image/RasterOp.java
10910         java/awt/image/SampleModel.java
10911         java/awt/image/SinglePixelPackedSampleModel.java
10912         java/awt/image/WritableRaster.java
10913         java/beans/AppletInitializer.java
10914         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10915         java/beans/Beans.java java/beans/Customizer.java
10916         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10917         java/beans/FeatureDescriptor.java
10918         java/beans/IndexedPropertyDescriptor.java
10919         java/beans/IntrospectionException.java
10920         java/beans/Introspector.java java/beans/MethodDescriptor.java
10921         java/beans/ParameterDescriptor.java
10922         java/beans/PropertyChangeEvent.java
10923         java/beans/PropertyChangeListener.java
10924         java/beans/PropertyChangeSupport.java
10925         java/beans/PropertyDescriptor.java
10926         java/beans/PropertyEditor.java
10927         java/beans/PropertyEditorManager.java
10928         java/beans/PropertyEditorSupport.java
10929         java/beans/PropertyVetoException.java
10930         java/beans/SimpleBeanInfo.java
10931         java/beans/VetoableChangeListener.java
10932         java/beans/VetoableChangeSupport.java
10933         java/beans/Visibility.java
10934         java/beans/beancontext/BeanContext.java
10935         java/beans/beancontext/BeanContextChild.java
10936         java/beans/beancontext/BeanContextChildComponentProxy.java
10937         java/beans/beancontext/BeanContextChildSupport.java
10938         java/beans/beancontext/BeanContextContainerProxy.java
10939         java/beans/beancontext/BeanContextEvent.java
10940         java/beans/beancontext/BeanContextMembershipEvent.java
10941         java/beans/beancontext/BeanContextMembershipListener.java
10942         java/beans/beancontext/BeanContextProxy.java
10943         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10944         java/beans/beancontext/BeanContextServiceProvider.java
10945         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10946         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10947         java/beans/beancontext/BeanContextServiceRevokedListener.java
10948         java/beans/beancontext/BeanContextServices.java
10949         java/beans/beancontext/BeanContextServicesListener.java
10950         java/io/BufferedInputStream.java
10951         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10952         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10953         java/io/ByteArrayOutputStream.java
10954         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10955         java/io/CharConversionException.java java/io/DataInput.java
10956         java/io/DataInputStream.java java/io/DataOutput.java
10957         java/io/EOFException.java java/io/Externalizable.java
10958         java/io/FileFilter.java java/io/FileNotFoundException.java
10959         java/io/FilePermission.java java/io/FileReader.java
10960         java/io/FileWriter.java java/io/FilenameFilter.java
10961         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10962         java/io/FilterReader.java java/io/FilterWriter.java
10963         java/io/IOException.java java/io/InputStream.java
10964         java/io/InterruptedIOException.java
10965         java/io/InvalidClassException.java
10966         java/io/InvalidObjectException.java
10967         java/io/NotActiveException.java
10968         java/io/NotSerializableException.java java/io/ObjectInput.java
10969         java/io/ObjectInputStream.java
10970         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10971         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10972         java/io/ObjectStreamConstants.java
10973         java/io/ObjectStreamException.java
10974         java/io/ObjectStreamField.java
10975         java/io/OptionalDataException.java java/io/OutputStream.java
10976         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10977         java/io/PipedReader.java java/io/PipedWriter.java
10978         java/io/PrintWriter.java java/io/PushbackInputStream.java
10979         java/io/PushbackReader.java java/io/Reader.java
10980         java/io/SequenceInputStream.java java/io/Serializable.java
10981         java/io/SerializablePermission.java
10982         java/io/StreamCorruptedException.java
10983         java/io/StreamTokenizer.java
10984         java/io/StringBufferInputStream.java java/io/StringReader.java
10985         java/io/StringWriter.java java/io/SyncFailedException.java
10986         java/io/UTFDataFormatException.java
10987         java/io/UnsupportedEncodingException.java
10988         java/io/WriteAbortedException.java java/io/Writer.java
10989         java/lang/AbstractMethodError.java
10990         java/lang/ArithmeticException.java
10991         java/lang/ArrayIndexOutOfBoundsException.java
10992         java/lang/ArrayStoreException.java java/lang/Boolean.java
10993         java/lang/Byte.java java/lang/CharSequence.java
10994         java/lang/ClassCastException.java
10995         java/lang/ClassCircularityError.java
10996         java/lang/ClassFormatError.java
10997         java/lang/ClassNotFoundException.java
10998         java/lang/CloneNotSupportedException.java
10999         java/lang/Cloneable.java java/lang/Comparable.java
11000         java/lang/Compiler.java java/lang/Double.java
11001         java/lang/Error.java java/lang/Exception.java
11002         java/lang/ExceptionInInitializerError.java
11003         java/lang/Float.java java/lang/IllegalAccessError.java
11004         java/lang/IllegalAccessException.java
11005         java/lang/IllegalArgumentException.java
11006         java/lang/IllegalMonitorStateException.java
11007         java/lang/IllegalStateException.java
11008         java/lang/IllegalThreadStateException.java
11009         java/lang/IncompatibleClassChangeError.java
11010         java/lang/IndexOutOfBoundsException.java
11011         java/lang/InheritableThreadLocal.java
11012         java/lang/InstantiationError.java
11013         java/lang/InstantiationException.java java/lang/Integer.java
11014         java/lang/InternalError.java
11015         java/lang/InterruptedException.java
11016         java/lang/LinkageError.java java/lang/Long.java
11017         java/lang/NegativeArraySizeException.java
11018         java/lang/NoClassDefFoundError.java
11019         java/lang/NoSuchFieldError.java
11020         java/lang/NoSuchFieldException.java
11021         java/lang/NoSuchMethodError.java
11022         java/lang/NoSuchMethodException.java
11023         java/lang/NullPointerException.java java/lang/Number.java
11024         java/lang/NumberFormatException.java
11025         java/lang/OutOfMemoryError.java java/lang/Package.java
11026         java/lang/Process.java java/lang/Runnable.java
11027         java/lang/RuntimeException.java
11028         java/lang/RuntimePermission.java
11029         java/lang/SecurityException.java
11030         java/lang/SecurityManager.java java/lang/Short.java
11031         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11032         java/lang/StringIndexOutOfBoundsException.java
11033         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11034         java/lang/ThreadLocal.java java/lang/UnknownError.java
11035         java/lang/UnsatisfiedLinkError.java
11036         java/lang/UnsupportedClassVersionError.java
11037         java/lang/UnsupportedOperationException.java
11038         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11039         java/lang/Void.java java/lang/ref/PhantomReference.java
11040         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11041         java/lang/ref/SoftReference.java
11042         java/lang/ref/WeakReference.java
11043         java/lang/reflect/AccessibleObject.java
11044         java/lang/reflect/InvocationTargetException.java
11045         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11046         java/lang/reflect/ReflectPermission.java
11047         java/math/BigDecimal.java java/math/BigInteger.java
11048         java/net/Authenticator.java java/net/BindException.java
11049         java/net/ConnectException.java java/net/ContentHandler.java
11050         java/net/ContentHandlerFactory.java
11051         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11052         java/net/FileNameMap.java java/net/MalformedURLException.java
11053         java/net/MulticastSocket.java java/net/NetPermission.java
11054         java/net/NoRouteToHostException.java
11055         java/net/PasswordAuthentication.java
11056         java/net/ProtocolException.java java/net/ServerSocket.java
11057         java/net/Socket.java java/net/SocketException.java
11058         java/net/SocketImpl.java java/net/SocketImplFactory.java
11059         java/net/SocketOptions.java java/net/SocketPermission.java
11060         java/net/URLDecoder.java java/net/URLEncoder.java
11061         java/net/URLStreamHandlerFactory.java
11062         java/net/UnknownHostException.java
11063         java/net/UnknownServiceException.java
11064         java/rmi/AccessException.java
11065         java/rmi/AlreadyBoundException.java
11066         java/rmi/ConnectException.java
11067         java/rmi/ConnectIOException.java
11068         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11069         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11070         java/rmi/NotBoundException.java
11071         java/rmi/RMISecurityException.java
11072         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11073         java/rmi/RemoteException.java java/rmi/ServerError.java
11074         java/rmi/ServerException.java
11075         java/rmi/ServerRuntimeException.java
11076         java/rmi/StubNotFoundException.java
11077         java/rmi/UnexpectedException.java
11078         java/rmi/UnknownHostException.java
11079         java/rmi/UnmarshalException.java
11080         java/rmi/activation/Activatable.java
11081         java/rmi/activation/ActivateFailedException.java
11082         java/rmi/activation/ActivationDesc.java
11083         java/rmi/activation/ActivationException.java
11084         java/rmi/activation/ActivationGroup.java
11085         java/rmi/activation/ActivationGroupDesc.java
11086         java/rmi/activation/ActivationGroupID.java
11087         java/rmi/activation/ActivationID.java
11088         java/rmi/activation/ActivationInstantiator.java
11089         java/rmi/activation/ActivationMonitor.java
11090         java/rmi/activation/ActivationSystem.java
11091         java/rmi/activation/Activator.java
11092         java/rmi/activation/UnknownGroupException.java
11093         java/rmi/activation/UnknownObjectException.java
11094         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11095         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11096         java/rmi/registry/Registry.java
11097         java/rmi/registry/RegistryHandler.java
11098         java/rmi/server/ExportException.java
11099         java/rmi/server/LoaderHandler.java
11100         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11101         java/rmi/server/Operation.java
11102         java/rmi/server/RMIClassLoader.java
11103         java/rmi/server/RMIClientSocketFactory.java
11104         java/rmi/server/RMIFailureHandler.java
11105         java/rmi/server/RMIServerSocketFactory.java
11106         java/rmi/server/RMISocketFactory.java
11107         java/rmi/server/RemoteCall.java
11108         java/rmi/server/RemoteObject.java
11109         java/rmi/server/RemoteRef.java
11110         java/rmi/server/RemoteServer.java
11111         java/rmi/server/RemoteStub.java
11112         java/rmi/server/ServerCloneException.java
11113         java/rmi/server/ServerNotActiveException.java
11114         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11115         java/rmi/server/SkeletonMismatchException.java
11116         java/rmi/server/SkeletonNotFoundException.java
11117         java/rmi/server/SocketSecurityException.java
11118         java/rmi/server/UID.java
11119         java/rmi/server/UnicastRemoteObject.java
11120         java/rmi/server/Unreferenced.java
11121         java/security/AccessControlContext.java
11122         java/security/AccessControlException.java
11123         java/security/AccessController.java
11124         java/security/AlgorithmParameterGenerator.java
11125         java/security/AlgorithmParameterGeneratorSpi.java
11126         java/security/AlgorithmParameters.java
11127         java/security/AlgorithmParametersSpi.java
11128         java/security/AllPermission.java
11129         java/security/BasicPermission.java
11130         java/security/Certificate.java java/security/CodeSource.java
11131         java/security/DigestException.java
11132         java/security/DigestInputStream.java
11133         java/security/DigestOutputStream.java
11134         java/security/DomainCombiner.java
11135         java/security/DummyKeyPairGenerator.java
11136         java/security/DummyMessageDigest.java
11137         java/security/DummySignature.java
11138         java/security/GeneralSecurityException.java
11139         java/security/Guard.java java/security/GuardedObject.java
11140         java/security/Identity.java java/security/IdentityScope.java
11141         java/security/InvalidAlgorithmParameterException.java
11142         java/security/InvalidKeyException.java
11143         java/security/InvalidParameterException.java
11144         java/security/Key.java java/security/KeyException.java
11145         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11146         java/security/KeyManagementException.java
11147         java/security/KeyPair.java java/security/KeyPairGenerator.java
11148         java/security/KeyPairGeneratorSpi.java
11149         java/security/KeyStore.java
11150         java/security/KeyStoreException.java
11151         java/security/KeyStoreSpi.java
11152         java/security/MessageDigest.java
11153         java/security/MessageDigestSpi.java
11154         java/security/NoSuchAlgorithmException.java
11155         java/security/NoSuchProviderException.java
11156         java/security/Permission.java
11157         java/security/PermissionCollection.java
11158         java/security/Permissions.java java/security/Policy.java
11159         java/security/Principal.java java/security/PrivateKey.java
11160         java/security/PrivilegedAction.java
11161         java/security/PrivilegedActionException.java
11162         java/security/PrivilegedExceptionAction.java
11163         java/security/ProtectionDomain.java
11164         java/security/Provider.java
11165         java/security/ProviderException.java
11166         java/security/PublicKey.java
11167         java/security/SecureClassLoader.java
11168         java/security/SecureRandom.java
11169         java/security/SecureRandomSpi.java java/security/Security.java
11170         java/security/SecurityPermission.java
11171         java/security/Signature.java
11172         java/security/SignatureException.java
11173         java/security/SignatureSpi.java
11174         java/security/SignedObject.java java/security/Signer.java
11175         java/security/UnrecoverableKeyException.java
11176         java/security/UnresolvedPermission.java
11177         java/security/acl/Acl.java java/security/acl/AclEntry.java
11178         java/security/acl/AclNotFoundException.java
11179         java/security/acl/Group.java
11180         java/security/acl/LastOwnerException.java
11181         java/security/acl/NotOwnerException.java
11182         java/security/acl/Owner.java java/security/acl/Permission.java
11183         java/security/cert/CRL.java
11184         java/security/cert/CRLException.java
11185         java/security/cert/Certificate.java
11186         java/security/cert/CertificateEncodingException.java
11187         java/security/cert/CertificateException.java
11188         java/security/cert/CertificateExpiredException.java
11189         java/security/cert/CertificateFactory.java
11190         java/security/cert/CertificateFactorySpi.java
11191         java/security/cert/CertificateNotYetValidException.java
11192         java/security/cert/CertificateParsingException.java
11193         java/security/cert/X509CRL.java
11194         java/security/cert/X509CRLEntry.java
11195         java/security/cert/X509Certificate.java
11196         java/security/cert/X509Extension.java
11197         java/security/interfaces/DSAKey.java
11198         java/security/interfaces/DSAKeyPairGenerator.java
11199         java/security/interfaces/DSAParams.java
11200         java/security/interfaces/DSAPrivateKey.java
11201         java/security/interfaces/DSAPublicKey.java
11202         java/security/interfaces/RSAKey.java
11203         java/security/interfaces/RSAPrivateCrtKey.java
11204         java/security/interfaces/RSAPrivateKey.java
11205         java/security/interfaces/RSAPublicKey.java
11206         java/security/spec/AlgorithmParameterSpec.java
11207         java/security/spec/DSAParameterSpec.java
11208         java/security/spec/DSAPrivateKeySpec.java
11209         java/security/spec/DSAPublicKeySpec.java
11210         java/security/spec/EncodedKeySpec.java
11211         java/security/spec/InvalidKeySpecException.java
11212         java/security/spec/InvalidParameterSpecException.java
11213         java/security/spec/KeySpec.java
11214         java/security/spec/PKCS8EncodedKeySpec.java
11215         java/security/spec/RSAKeyGenParameterSpec.java
11216         java/security/spec/RSAPrivateCrtKeySpec.java
11217         java/security/spec/RSAPrivateKeySpec.java
11218         java/security/spec/RSAPublicKeySpec.java
11219         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11220         java/sql/BatchUpdateException.java java/sql/Blob.java
11221         java/sql/CallableStatement.java java/sql/Clob.java
11222         java/sql/Connection.java java/sql/DataTruncation.java
11223         java/sql/DatabaseMetaData.java java/sql/Date.java
11224         java/sql/Driver.java java/sql/DriverManager.java
11225         java/sql/DriverPropertyInfo.java
11226         java/sql/PreparedStatement.java java/sql/Ref.java
11227         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11228         java/sql/SQLData.java java/sql/SQLException.java
11229         java/sql/SQLInput.java java/sql/SQLOutput.java
11230         java/sql/SQLWarning.java java/sql/Statement.java
11231         java/sql/Struct.java java/sql/Time.java
11232         java/sql/Timestamp.java java/sql/Types.java
11233         java/text/Annotation.java
11234         java/text/AttributedCharacterIterator.java
11235         java/text/AttributedString.java
11236         java/text/AttributedStringIterator.java
11237         java/text/BreakIterator.java java/text/CharacterIterator.java
11238         java/text/ChoiceFormat.java java/text/Collator.java
11239         java/text/DateFormat.java java/text/DateFormatSymbols.java
11240         java/text/DecimalFormat.java
11241         java/text/DecimalFormatSymbols.java
11242         java/text/FieldPosition.java java/text/Format.java
11243         java/text/MessageFormat.java java/text/NumberFormat.java
11244         java/text/ParseException.java java/text/ParsePosition.java
11245         java/text/SimpleDateFormat.java
11246         java/text/StringCharacterIterator.java
11247         java/util/AbstractCollection.java java/util/AbstractList.java
11248         java/util/AbstractMap.java
11249         java/util/AbstractSequentialList.java
11250         java/util/AbstractSet.java java/util/ArrayList.java
11251         java/util/Arrays.java java/util/BasicMapEntry.java
11252         java/util/BitSet.java java/util/Calendar.java
11253         java/util/Collection.java java/util/Collections.java
11254         java/util/Comparator.java
11255         java/util/ConcurrentModificationException.java
11256         java/util/Date.java java/util/Dictionary.java
11257         java/util/EmptyStackException.java java/util/Enumeration.java
11258         java/util/EventListener.java java/util/EventObject.java
11259         java/util/GregorianCalendar.java java/util/HashMap.java
11260         java/util/HashSet.java java/util/Hashtable.java
11261         java/util/IdentityHashMap.java java/util/Iterator.java
11262         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11263         java/util/LinkedList.java java/util/List.java
11264         java/util/ListIterator.java java/util/ListResourceBundle.java
11265         java/util/Locale.java java/util/Map.java
11266         java/util/MissingResourceException.java
11267         java/util/NoSuchElementException.java
11268         java/util/Observable.java java/util/Observer.java
11269         java/util/Properties.java java/util/PropertyPermission.java
11270         java/util/PropertyResourceBundle.java java/util/Random.java
11271         java/util/RandomAccess.java java/util/ResourceBundle.java
11272         java/util/Set.java java/util/SimpleTimeZone.java
11273         java/util/SortedMap.java java/util/SortedSet.java
11274         java/util/Stack.java java/util/StringTokenizer.java
11275         java/util/TimeZone.java java/util/Timer.java
11276         java/util/TimerTask.java
11277         java/util/TooManyListenersException.java
11278         java/util/TreeMap.java java/util/TreeSet.java
11279         java/util/Vector.java java/util/WeakHashMap.java
11280         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11281         java/util/jar/JarException.java java/util/jar/JarFile.java
11282         java/util/jar/JarInputStream.java
11283         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11284         java/util/zip/Adler32.java java/util/zip/CRC32.java
11285         java/util/zip/CheckedInputStream.java
11286         java/util/zip/CheckedOutputStream.java
11287         java/util/zip/Checksum.java
11288         java/util/zip/DataFormatException.java
11289         java/util/zip/Deflater.java
11290         java/util/zip/DeflaterOutputStream.java
11291         java/util/zip/GZIPInputStream.java
11292         java/util/zip/GZIPOutputStream.java
11293         java/util/zip/Inflater.java
11294         java/util/zip/InflaterInputStream.java
11295         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11296         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11297         java/util/zip/ZipInputStream.java
11298         java/util/zip/ZipOutputStream.java
11299         javax/naming/BinaryRefAddr.java
11300         javax/naming/InvalidNameException.java javax/naming/Name.java
11301         javax/naming/NamingException.java javax/naming/RefAddr.java
11302         javax/naming/StringRefAddr.java: Add license clarification.
11303
11304 2002-01-22  Tom Tromey  <tromey@redhat.com>
11305
11306         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11307         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11308         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11309         version.
11310         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11311         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11312         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11313         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11314         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11315         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11316         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11317         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11318         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11319         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11320         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11321         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11322         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11323         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11324         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11325         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11326         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11327         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11328         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11329         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11330         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11331         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11332         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11333         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11334         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11335         (minimumSize, preferredSize, reshape): Likewise.
11336         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11337         getColorModel): New methods.
11338         * java/awt/PopupMenu.java: Merged with Classpath.
11339         * java/awt/MenuBar.java: Merged with Classpath.
11340         * java/awt/SystemColor.java: Replace with Classpath version.
11341         * java/awt/Panel.java: Merged with Classpath.
11342         * java/awt/PaintContext.java: Updated copyright.
11343         * java/awt/MenuShortcut.java: Merged with Classpath.
11344         * java/awt/MenuContainer.java: Merged with Classpath.
11345         * java/awt/Menu.java: Merged with Classpath.
11346         * java/awt/MediaEntry.java: New file from Classpath.
11347         * java/awt/MediaTracker.java: New file from Classpath.
11348         * java/awt/List.java: Merged with Classpath version.
11349         * java/awt/Insets.java: Merged with Classpath version.
11350         * java/awt/ImageMediaEntry.java: New file from Classpath.
11351         * java/awt/Image.java: Replaced with Classpath version.
11352         * java/awt/FontMetrics.java: Merged with Classpath version.
11353         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11354         constant.
11355         * java/awt/Font.java: Merged with Classpath version.
11356         * java/awt/Dialog.java: Merged with Classpath version.
11357         * java/awt/Color.java: Merged with Classpath version.
11358         * java/awt/Choice.java: Merged with Classpath version.
11359         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11360         * java/awt/Adjustable.java: Replace with Classpath version.
11361         * java/awt/MenuItem.java (paramString): Don't include class name
11362         or brackets.  Call superclass paramString.
11363         * java/awt/MenuComponent.java (toString): Call paramString.
11364         (paramString): Compute string; don't call toString.
11365         * java/awt/Label.java (paramString): Don't include class name
11366         or brackets.  Call superclass paramString.
11367         * java/awt/Checkbox.java (paramString): Don't include class name
11368         or brackets.  Call superclass paramString.
11369         * java/awt/Button.java (paramString): Don't include class name or
11370         brackets.  Call superclass paramString.
11371         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11372
11373 2002-01-20  Andreas Schwab  <schwab@suse.de>
11374
11375         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11376         function and of parameter recv_func to ssize_t, as specified by
11377         POSIX.
11378
11379 2002-01-19  Per Bothner  <per@bothner.com>
11380
11381         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11382         uncompressed_size in readiness for next entry.
11383
11384 2002-01-18  Tom Tromey  <tromey@redhat.com>
11385
11386         * java/net/natPlainSocketImpl.cc: Include
11387         IllegalArgumentException.h.
11388         (_Jv_recv): New template function.
11389         (BooleanClass): Removed.
11390         (read): Use _Jv_recv.
11391         (setOption): Use Boolean::class$.  Throw exception if object is
11392         not Boolean or Integer.
11393
11394 2002-01-17  Tom Tromey  <tromey@redhat.com>
11395
11396         * java/awt/MenuComponent.java: Merged with Classpath.
11397         * java/awt/MenuItem.java: Merged with Classpath.
11398         * java/awt/Button.java: Merged with Classpath.
11399
11400         * java/awt/ActiveEvent.java: Updated copyright.
11401
11402         * java/awt/AWTError.java: Replaced with Classpath version.
11403         * java/awt/AWTException.java: Replaced with Classpath version.
11404         * java/awt/IllegalComponentStateException.java: Replaced with
11405         Classpath version.
11406
11407 2002-01-16  Tom Tromey  <tromey@redhat.com>
11408
11409         * java/awt/Canvas.java (serialVersionUID): New constant.
11410         Updated copyright.  Added javadoc from Classpath.
11411         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11412
11413         * java/awt/CheckboxGroup.java: Merged with Classpath.
11414         * java/awt/Checkbox.java: Merged with Classpath.
11415
11416         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11417         Classpath.
11418         * java/awt/Point.java: Updated copyright.
11419
11420         * java/awt/Point.java (toString): Use getClass().getName().
11421         Added javadoc.
11422
11423         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11424         commented code.
11425         (hash): Correctly compute initial value for `h'.
11426
11427         * java/awt/Label.java: Merged with Classpath.
11428
11429 2002-01-15  Tom Tromey  <tromey@redhat.com>
11430
11431         * java/awt/AWTPermission.java: Updated copyright.
11432
11433         * java/awt/LayoutManager2.java: Merged with Classpath.
11434         * java/awt/LayoutManager.java: Merged with Classpath.
11435         * java/awt/GridLayout.java: Updated copyright and javadoc.
11436         (getSize): Use `parent.ncomponents'.  Handle insets.
11437         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11438         there are fewer children than columns.  Correctly compute size of
11439         each cell in the grid.  Handle case where there isn't enough
11440         space.
11441         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11442         all users.
11443         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11444         before calling setVisible() on it.  Last item is `num - 1', not
11445         `num'.
11446         (layoutContainer): Hoist invariants out of loop.
11447
11448         Start of AWT merge with Classpath:
11449         * Makefile.in: Rebuilt.
11450         * Makefile.am (awt_java_source_files): Reference files in
11451         gnu/java/awt, not gnu/gcj/awt.
11452         * java/awt/image/BufferedImage.java: Updated copyright.
11453         * java/awt/image/ComponentColorModel.java: Updated copyright.
11454         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11455         * java/awt/image/DataBuffer.java: Updated copyright.
11456         * java/awt/image/DataBufferByte.java: Updated copyright.
11457         * java/awt/image/DataBufferInt.java: Updated copyright.
11458         * java/awt/image/DataBufferUShort.java: Updated copyright.
11459         * java/awt/image/IndexColorModel.java: Updated copyright.
11460         * java/awt/image/PackedColorModel.java: Updated copyright.
11461         * java/awt/image/Raster.java: Updated copyright.
11462         * java/awt/image/RasterOp.java: Updated copyright.
11463         * java/awt/image/SampleModel.java: Updated copyright.
11464         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11465         * java/awt/image/WritableRaster.java: Updated copyright.
11466         * java/awt/color/ColorSpace.java: Updated copyright.
11467         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11468         * java/awt/color/ICC_Profile.java: Updated copyright.
11469         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11470         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11471         * java/awt/event/HierarchyEvent.java: Updated copyright.
11472         * java/awt/event/HierarchyListener.java: Updated copyright.
11473         * java/awt/geom/AffineTransform.java: Updated copyright.
11474         * java/awt/geom/Dimension2D.java: Updated copyright.
11475         * java/awt/geom/Ellipse2D.java: Updated copyright.
11476         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11477         * java/awt/geom/Line2D.java: Updated copyright.
11478         * java/awt/geom/NoninvertibleTransformException.java: Updated
11479         copyright.
11480         * java/awt/geom/PathIterator.java: Updated copyright.
11481         * java/awt/geom/Point2D.java: Updated copyright.
11482         * java/awt/geom/Rectangle2D.java: Updated copyright.
11483         * java/awt/geom/RectangularShape.java: Updated copyright.
11484         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11485         * java/awt/Toolkit.java: Updated import for file moves.
11486         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11487         Classpath.
11488         (hashCode): New method from Classpath.
11489         * java/awt/Graphics2D.java: Updated copyright.
11490         * java/awt/Transparency.java: Updated copyright.
11491         * java/awt/Paint.java: Updated copyright.
11492         * java/awt/Graphics.java: New version from Classpath.
11493         * java/awt/EventDispatchThread.java: Updated copyright.
11494         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11495         children.
11496         (gotoComponent): Wrap around on next/previous.
11497         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11498         * gnu/gcj/awt/Buffers.java: Removed.
11499         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11500         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11501         * gnu/java/awt/BitMaskExtent.java: Added.
11502         * gnu/java/awt/Buffers.java: Added.
11503         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11504         * gnu/java/awt/GLightweightPeer.java: Added.
11505         * java/awt/geom/Line2D.java (clone): Ignore
11506         CloneNotSupportedException.
11507         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11508         * java/awt/Frame.java: Merged with Classpath.
11509         * java/awt/RenderingHints.java: Copyright update.
11510         * java/awt/Paint.java: Copyright update.
11511         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11512         * java/awt/image/ColorModel.java: Merged with Classpath.
11513         * java/awt/Window.java (show): New Implementation from Classpath.
11514         (isShowing): Use super.isShowing().
11515         * java/awt/EventQueue.java: Merged with Classpath.
11516         * java/awt/AWTEventMulticaster.java (save): Throw
11517         RuntimeException.
11518         (saveInternal): Likewise.
11519         * java/awt/AWTEvent.java: Now implements Serializable.
11520         * java/awt/Event.java: Copyright update.
11521         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11522         * java/awt/image/BufferedImage.java: Copyright update.
11523         * java/awt/GraphicsConfiguration.java: Copyright update.
11524         * java/awt/Component.java: (addNotify): Don't call
11525         addNotifyContainerChildren().
11526         (addNotifyContainerChildren): Removed.
11527         (setPeer): New method from Classpath.
11528         (setTreeLock): Likewise.
11529         (setVisible): Rewrote.
11530         (show): Use it.
11531         (hide): Likewise.
11532         (validate): Set `valid'.
11533         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11534         (createImage(ImageProducer)): Likewise.
11535         (prepareImage): Likewise.
11536         * java/awt/Container.java (addImpl): Handle case where constraint
11537         is not a String.  Post event via system event queue.
11538         (remove): Post event via system event queue.
11539         (validateTree): Only validate child if it is invalid.
11540         (getAlignmentX): Call super method as default.
11541         (getAlignmentY): Likewise.
11542         (addContainerListener): Now synchronized.
11543         (removeContainerListener): Likewise.
11544         (addNotifyContainerChildren): Now private.
11545         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11546         @author.
11547         * java/awt/FlowLayout.java (serialVersionUID): New field.
11548         (setAlignment): Better exception message.
11549         (layoutContainer): Don't compute component's preferred size unless
11550         we're going to use it.
11551         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11552         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11553         (firstLine, lastLine, firstItem, lastItem): New fields.
11554         (addLayoutComponent): Handle case where constraints is null.
11555         Also, handle relative locations.
11556         (removeLayoutComponent): Handle relative locations.
11557         (MIN, MAX, PREF): New constants.
11558         (calcCompSize): New method.
11559         (calcSize): New method.
11560         (minimumLayoutSize): Use it.
11561         (preferredLayoutSize): Likewise.
11562         (maximumLayoutSize): Likewise.
11563         (toString): Include more information.
11564         (setBounds): New method.
11565         (layoutContainer): Use libgcj implementation; extended to handle
11566         relative locations.
11567
11568 2002-01-15  Tom Tromey  <tromey@redhat.com>
11569
11570         * java/lang/Float.java (equals): Preserve old code.
11571         * java/lang/Double.java (equals): Preserve old code.
11572
11573 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11574
11575         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11576         * java/lang/Float.java (equals, compare): Ditto.
11577
11578 2002-01-13  Mark Wielaard  <mark@klomp.org>
11579
11580         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11581         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11582         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11583         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11584
11585 2002-01-11  Mark Wielaard  <mark@klomp.org>
11586
11587         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11588         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11589         InetAddress.
11590         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11591         * java/net/Socket.java: Merge with Classpath.
11592         * java/net/ServerSocket.java: Likewise.
11593
11594 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11595
11596         * interpret.cc (NULLARRAYCHECK): New macro.
11597         (SAVE_PC): Just store `pc'.
11598         (find_exception): Subtract one from `pc' here.
11599         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11600         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11601         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11602         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11603         don't call SAVE_PC.
11604         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11605         call SAVE_PC.
11606
11607 2002-01-11  Tom Tromey  <tromey@redhat.com>
11608
11609         * java/lang/natSystem.cc (init_properties): Only look for default
11610         locale if LC_MESSAGES is defined.
11611         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11612         * configure.in: Call AM_LC_MESSAGES.
11613         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11614
11615 2002-01-10  Tom Tromey  <tromey@redhat.com>
11616
11617         For PR libgcj/5303:
11618         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11619         --version.  Recognize GNU-style long options.  Print GNU-style
11620         error messages.
11621         (usage): Print GNU-style help.  Exit with status 0.
11622         (error): New method.
11623         (run): Print error message if no class names found.
11624         (main): Don't print usage on error.
11625
11626 2002-01-09  Tom Tromey  <tromey@redhat.com>
11627
11628         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11629         property.
11630         (help, version): Use println(), not println("").
11631
11632         For PR libgcj/5303:
11633         * gnu/gcj/convert/Convert.java (error): Program is called
11634         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11635         -1.
11636         (main): Handle --help and --version.
11637         (help): New method.
11638         (version): Likewise.
11639
11640 2002-01-08  Tom Tromey  <tromey@redhat.com>
11641
11642         * Makefile.in: Rebuilt.
11643         * Makefile.am (ordinary_java_source_files): Added new files.
11644         * gnu/java/locale/LocaleInformation.java: Extend
11645         LocaleInformation_en.
11646         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11647         and time/date formats.
11648         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11649         generated.
11650         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11651         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11652         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11653         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11654         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11655         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11656         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11657         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11658         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11659         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11660         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11661         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11662         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11663         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11664         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11665         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11666         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11667         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11668         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11669         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11670         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11671         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11672         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11673         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11674         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11675         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11676         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11677         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11678         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11679         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11680         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11681         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11682         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11683         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11684         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11685         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11686         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11687         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11688         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11689         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11690         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11691         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11692         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11693         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11694         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11695         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11696         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11697         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11698         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11699         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11700         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11701         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11702         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11703         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11704         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11705         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11706         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11707         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11708         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11709         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11710         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11711         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11712         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11713         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11714         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11715         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11716         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11717         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11718         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11719         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11720         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11721         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11722         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11723         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11724         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11725         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11726         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11727         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11728         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11729         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11730         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11731         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11732         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11733         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11734         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11735         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11736         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11737         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11738         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11739         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11740         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11741         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11742         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11743         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11744         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11745         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11746         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11747         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11748         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11749         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11750         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11751         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11752         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11753         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11754         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11755         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11756         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11757         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11758         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11759         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11760         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11761         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11762         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11763         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11764         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11765         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11766         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11767         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11768         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11769         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11770         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11771         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11772         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11773         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11774         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11775         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11776         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11777         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11778         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11779         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11780
11781         For PR libgcj/5031:
11782         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11783         choose default locale.
11784
11785         * Makefile.in: Rebuilt.
11786         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11787
11788 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11789
11790         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11791         sockets.
11792         (close): New function closes the socket.
11793         (write): New functions for output to socket.
11794         (read): New functions for reading from socket.
11795         * java/net/PlainSocketImpl.java: Glue for new timeout
11796         implementation.
11797         (write): Call the native impl.
11798         (read): Likewise.
11799         (getInputStream): Get a stream to read from the socket.
11800         (getOutputStream): Get a stream to write to the socket.
11801
11802 2002-01-08  Tom Tromey  <tromey@redhat.com>
11803
11804         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11805
11806 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11807
11808         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11809         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11810
11811 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11812
11813         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11814         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11815         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11816         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11817         insn_bastore, insn_castore, insn_sastore]: Use it.
11818         (continue1) [insn_arraylength]: Check for null array.
11819
11820 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11821
11822         * configure, include/config.h.in: Rebuilt.
11823         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11824         * configure.in: Call AC_STRUCT_TIMEZONE.
11825
11826 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11827
11828         * configure.host: Disable the interpreter for Darwin.
11829
11830 2002-01-04  Tom Tromey  <tromey@redhat.com>
11831
11832         * java/lang/Thread.java (stop): No longer synchronized.
11833         (start): Likewise.
11834
11835 2002-01-02  Tom Tromey  <tromey@redhat.com>
11836
11837         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11838         patch.
11839
11840 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11841
11842         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11843         PPC Darwin, not for all of Darwin.