OSDN Git Service

2003-06-18 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-06-18  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/InetAddress.java:
4         Reformatted to better match classpath's version.
5         * java/net/URL.java
6         (equals): Simplified.
7         * java/net/URLConnection.java
8         (setDoInput): Revised documentation.
9         (getDefaultUseCaches): Likewise.
10         (setRequestProperty): Added @since tag.
11
12 2003-06-17  Michael Koch  <konqueror@gmx.de>
13
14         * java/net/InetSocketAddress.java
15         (InetSocketAddress): Use wildcard address if addr is null.
16         (InetSocketAddress): Dont duplicate implementation.
17         (InetSocketAddress): Throw exception when hostname is null.
18         * java/net/Socket.java:
19         Reworked imports.
20         (Socket): Throw exception when raddr is null, handle case when laddr
21         is null.
22
23 2003-06-17  Michael Koch  <konqueror@gmx.de>
24
25         * java/nio/DirectByteBufferImpl.java
26         (address): Made package private.
27         (DirectByteBufferImpl): New constructor.
28         * java/nio/natDirectByteBufferImpl.cc
29         (allocateImpl): Moved to java.nio namespace, implemented.
30         (freeImpl): Likewise.
31         (getImpl): Likewise.
32         (putImpl): Likewise.
33         * jni.cc
34         (_Jv_JNI_NewDirectByteBuffer): Implemented.
35         (_Jv_JNI_GetDirectBufferAddress): Implemented.
36         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
37
38 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
39
40         * include/powerpc-signal.h: New File.
41         * configure.in: Use it.
42         * configure: Regenerated.
43
44 2003-06-17  Michael Koch  <konqueror@gmx.de>
45
46         * java/util/Locale.java
47         (getDisplayLanguage): Made it final.
48         (getDisplayCountry): Likewise.
49         (getDisplayVariant): Likewise.
50         (getDisplayName): Likewise.
51
52 2003-06-17  Michael Koch  <konqueror@gmx.de>
53
54         * java/util/PropertyResourceBundle.java:
55         Removed unneeded import.
56
57 2003-06-17  Michael Koch  <konqueror@gmx.de>
58
59         * java/util/prefs/AbstractPreferences.java,
60         java/util/prefs/PreferencesFactory.java:
61         Reworked imports, removed unused imports.
62         * java/util/prefs/Preferences.java
63         (systemNodeForPackage): Method takes a Class not an Object.
64         (userNodeForPackage): Likewise.
65         (nodeForPackage): Likewise.
66
67 2003-06-17  Michael Koch  <konqueror@gmx.de>
68
69         * gnu/java/security/x509/X509Certificate.java:
70         Explicitely import used classes.
71
72 2003-06-17  Michael Koch  <konqueror@gmx.de>
73
74         * java/util/zip/ZipEntry.java,
75         java/util/zip/ZipFile.java,
76         java/util/zip/ZipInputStream.java,
77         java/util/zip/ZipOutputStream.java:
78         Reworked imports, only import used classes.
79
80 2003-06-17  Michael Koch  <konqueror@gmx.de>
81
82         * gnu/java/lang/ArrayHelper.java,
83         gnu/java/lang/ClassHelper.java:
84         Reformatted to match classpath's versions.
85
86 2003-06-14  Michael Koch  <konqueror@gmx.de>
87
88         * gnu/java/nio/FileChannelImpl.java
89         (map_address): Removed incorrect comment.        
90         * gnu/java/nio/SelectorImpl.java
91         (register): Remove code duplication and code for file channel handling.        
92         * gnu/java/nio/ServerSocketChannelImpl.java
93         (serverSocket): Renamed from sock_object.
94         (ServerSocketChannel): Initialize serverSocket.
95         (socket): Return serverSocket.
96         * gnu/java/nio/SocketChannelImpl.java
97         (socket): Renamed from sock_object.
98         (isConnectionPenging): Simplified.
99         (socket): Return socket.
100 2003-06-14  Michael Koch  <konqueror@gmx.de>
101
102         * java/security/BasicPermission.java:
103         New version from classpath.
104
105 2003-06-14  Michael Koch  <konqueror@gmx.de>
106
107         * javax/naming/directory/Attribute.java:
108         New version from classpath.
109
110 2003-06-14  Michael Koch  <konqueror@gmx.de>
111
112         * java/io/BufferedReader.java,
113         java/io/FileOutputStream.java:
114         New versions from classpath.
115
116 2003-06-12  Andrew Haley  <aph@redhat.com>
117
118         * prims.cc (catch_segv): Create exception in handler.
119         (catch_fpe): Likewise.  
120         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
121         (_Jv_ThrowSignal): Remove.
122
123         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
124         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
125         to nullp and arithexception.
126         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
127         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
128         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
129         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
130         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
131
132 2003-06-11  Andrew Haley  <aph@redhat.com>
133
134         * jni.cc (_Jv_JNI_check_types): New.
135         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
136         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
137         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
138         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
139         
140         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
141         infinite loop.
142
143 2003-06-11  Tom Tromey  <tromey@redhat.com>
144
145         * java/lang/ClassLoader.java (loadClass): Not deprecated.
146         * java/io/PrintStream.java: Not deprecated.
147
148 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
149
150         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
151         (fillOval): implemented
152         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
153         (fillArc): implemented.
154         * gnu/gcj/xlib/GC.java (drawArc): added native method.
155         (fillArc): added native method.
156         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
157         (fillArc): added native method.
158
159 2003-06-11  Michael Koch  <konqueror@gmx.de>
160
161         * java/awt/im/InputSubset.java:
162         New version from classpath.
163
164 2003-06-11  Michael Koch  <konqueror@gmx.de>
165
166         * javax/swing/AbstractAction.java,
167         javax/swing/AbstractButton.java,
168         javax/swing/AbstractCellEditor.java,
169         javax/swing/AbstractListModel.java,
170         javax/swing/BorderFactory.java,
171         javax/swing/Box.java,
172         javax/swing/BoxLayout.java,
173         javax/swing/ButtonGroup.java,
174         javax/swing/DefaultButtonModel.java,
175         javax/swing/DefaultListModel.java,
176         javax/swing/DefaultListSelectionModel.java,
177         javax/swing/FocusManager.java,
178         javax/swing/ImageIcon.java,
179         javax/swing/InputMap.java,
180         javax/swing/JApplet.java,
181         javax/swing/JButton.java,
182         javax/swing/JCheckBox.java,
183         javax/swing/JCheckBoxMenuItem.java,
184         javax/swing/JColorChooser.java,
185         javax/swing/JComboBox.java,
186         javax/swing/JComponent.java,
187         javax/swing/JDesktopPane.java,
188         javax/swing/JDialog.java,
189         javax/swing/JEditorPane.java,
190         javax/swing/JFileChooser.java,
191         javax/swing/JFormattedTextField.java,
192         javax/swing/JFrame.java,
193         javax/swing/JLabel.java,
194         javax/swing/JLayeredPane.java,
195         javax/swing/JList.java,
196         javax/swing/JMenuBar.java,
197         javax/swing/JMenuItem.java,
198         javax/swing/JOptionPane.java,
199         javax/swing/JPanel.java,
200         javax/swing/JPasswordField.java,
201         javax/swing/JPopupMenu.java,
202         javax/swing/JProgressBar.java,
203         javax/swing/JRadioButton.java,
204         javax/swing/JRadioButtonMenuItem.java,
205         javax/swing/JRootPane.java,
206         javax/swing/JScrollBar.java,
207         javax/swing/JScrollPane.java,
208         javax/swing/JSeparator.java,
209         javax/swing/JSlider.java,
210         javax/swing/JTabbedPane.java,
211         javax/swing/JTable.java,
212         javax/swing/JTextField.java,
213         javax/swing/JToggleButton.java,
214         javax/swing/JToolBar.java,
215         javax/swing/JToolTip.java,
216         javax/swing/JTree.java,
217         javax/swing/JViewport.java,
218         javax/swing/JWindow.java,
219         javax/swing/KeyStroke.java,
220         javax/swing/ListSelectionModel.java,
221         javax/swing/LookAndFeel.java,
222         javax/swing/RepaintManager.java,
223         javax/swing/ScrollPaneLayout.java,
224         javax/swing/SizeRequirements.java,
225         javax/swing/SwingConstants.java,
226         javax/swing/Timer.java,
227         javax/swing/UIDefaults.java,
228         javax/swing/UIManager.java,
229         javax/swing/border/AbstractBorder.java,
230         javax/swing/border/CompoundBorder.java,
231         javax/swing/colorchooser/AbstractColorChooserPanel.java,
232         javax/swing/colorchooser/ColorChooserComponentFactory.java,
233         javax/swing/colorchooser/ColorSelectionModel.java,
234         javax/swing/colorchooser/DefaultColorSelectionModel.java,
235         javax/swing/event/AncestorEvent.java,
236         javax/swing/event/HyperlinkEvent.java,
237         javax/swing/event/InternalFrameAdapter.java,
238         javax/swing/event/InternalFrameEvent.java,
239         javax/swing/event/ListDataEvent.java,
240         javax/swing/event/MouseInputAdapter.java,
241         javax/swing/event/SwingPropertyChangeSupport.java,
242         javax/swing/event/TableModelEvent.java,
243         javax/swing/event/TreeWillExpandListener.java,
244         javax/swing/event/UndoableEditEvent.java,
245         javax/swing/filechooser/FileFilter.java,
246         javax/swing/filechooser/FileSystemView.java,
247         javax/swing/filechooser/FileView.java,
248         javax/swing/plaf/BorderUIResource.java,
249         javax/swing/plaf/basic/BasicDefaults.java,
250         javax/swing/table/AbstractTableModel.java,
251         javax/swing/table/DefaultTableCellRenderer.java,
252         javax/swing/table/DefaultTableColumnModel.java,
253         javax/swing/table/DefaultTableModel.java,
254         javax/swing/table/TableColumn.java,
255         javax/swing/text/JTextComponent.java,
256         javax/swing/tree/AbstractLayoutCache.java,
257         javax/swing/tree/DefaultMutableTreeNode.java,
258         javax/swing/tree/DefaultTreeCellEditor.java,
259         javax/swing/tree/DefaultTreeCellRenderer.java,
260         javax/swing/tree/DefaultTreeModel.java,
261         javax/swing/tree/DefaultTreeSelectionModel.java,
262         javax/swing/tree/FixedHeightLayoutCache.java,
263         javax/swing/tree/TreeCellEditor.java,
264         javax/swing/tree/TreeModel.java,
265         javax/swing/tree/TreeNode.java,
266         javax/swing/tree/TreePath.java,
267         javax/swing/tree/TreeSelectionModel.java,
268         javax/swing/tree/VariableHeightLayoutCache.java,
269         javax/swing/undo/AbstractUndoableEdit.java,
270         javax/swing/undo/CompoundEdit.java,
271         javax/swing/undo/StateEdit.java,
272         javax/swing/undo/UndoManager.java,
273         javax/swing/undo/UndoableEditSupport.java:
274         New versions from classpath.
275         * javax/swing/table/JTableHeader.java:
276         New file from classpath.
277         * Makefile.am
278         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
279         * Makefile.in: Regenerated.
280
281 2003-06-11  Michael Koch  <konqueror@gmx.de>
282
283         * java/nio/MappedByteBuffer.java,
284         java/nio/channels/Channels.java,
285         java/nio/channels/ServerSocketChannel.java,
286         java/nio/channels/spi/AbstractSelector.java:
287         Removed unneeded imports.
288
289 2003-06-11  Michael Koch  <konqueror@gmx.de>
290
291         * java/net/DatagramSocket.java:
292         Partly merged with classpath.
293
294 2003-06-11  Michael Koch  <konqueror@gmx.de>
295
296         * java/awt/Frame.java,
297         java/awt/Graphics.java,
298         java/awt/Menu.java,
299         java/awt/Robot.java,
300         java/awt/image/ColorModel.java:
301         New versions from classpath.
302
303 2003-06-10  Michael Koch  <konqueror@gmx.de>
304
305         * java/io/PrintStream.java:
306         Merged version from classpath.
307         (close): Removed sychronized keyword. This class is not garantied to
308         be thread-safe.
309         (write): Likewise.
310
311 2003-06-09  Tom Tromey  <tromey@redhat.com>
312
313         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
314         field.
315         (getDescent): Likewise, for "descent".
316
317 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
318
319         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
320         (getMaxDescent): adjusted return value.
321         (getAscent): modified to use metrics for 'O'.
322         (getDescent): modified to use metrics for 'y'.
323
324 2003-06-08  Anthony Green  <green@redhat.com>
325
326         * java/net/URLStreamHandler.java (sameFile): Fix port value
327         comparison.
328         * java/net/URL.java (handler): Make package private.
329         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
330
331 2003-06-07  Tom Tromey  <tromey@redhat.com>
332
333         For PR libgcj/11085:
334         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
335         Limit number of characters in numeric field when required.
336         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
337         Respect maximumIntegerDigits.
338
339 2003-06-08  Michael Koch  <konqueror@gmx.de>
340
341         * java/net/Socket.java
342         (Socket): Dont initialize inputShutdown and outputShutdown twice,
343         call bind() and connect() to actually do the bind and connect tasks.
344         (bind): Connect to canonical address if bindpoint is null, create
345         socket and bind it to bindpoint.
346         (connect): Check for exceptions.
347
348 2003-06-08  Michael Koch  <konqueror@gmx.de>
349
350         * java/net/DatagramSocket.java
351         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
352         into the Multicast constructors.
353         * java/net/DatagramSocketImpl.java
354         (getOption): Removed.
355         (setOption): Removed.
356         * java/net/MulticastSocket.java
357         (MulticastSocket): Call setReuseAddress (true).
358         * java/net/SocketImpl.java
359         (getOption): Removed.
360         (setOption): Removed.
361
362 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
363
364         PR libgcj/10886:
365         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
366         Test for empty vector.
367
368 2003-06-06  Mark Wielaard  <mark@klomp.org>
369
370         * java/security/Security.java (secprops): Initialize.
371         (loadProviders): Return boolean.
372         (static): Check result of loadProvider calls. If necessary
373         display WARNING and fallback to Gnu provider.
374
375 2002-06-06  James Clark  <jjc@jclark.com>
376
377         Fix for PR libgcj/8738:
378         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
379         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
380         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
381         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
382         (write): Always decrease avail when count is increased.
383         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
384         and whether output buffer is full before increasing size.
385
386 2002-06-06  Mark Wielaard  <mark@klomp dot org>
387
388         * java/io/PrintStream.java (writeChars(char[],int, int)):
389         Check converter.havePendingBytes().
390         (writeChars(String,int,int)): Likewise.
391         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
392         Check converter.havePendingBytes() and flush buffer when stalled.
393
394 2003-06-07  Michael Koch  <konqueror@gmx.de>
395
396         * include/posix.h
397         (O_DSYNC): Define O_DSYNC on platforms not
398         supporting O_FSYNC (newlib).
399
400 2003-06-06  Mark Wielaard  <mark@klomp.org>
401
402         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
403         AWTError.
404
405 2003-06-06  Michael Koch  <konqueror@gmx.de>
406
407         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
408         More compile fixes from my stupid work yesterday.
409
410 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
411
412         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
413         if _IEEE_LIBM is undefined.
414
415 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
416
417         * libjava/include/posix.h (O_SYNC): Define if not available
418         and a reasonable, perhaps more conservative, replacement exists.
419         (O_DSYNC): Likewise.
420         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
421
422 2003-06-05  Michael Koch  <konqueror@gmx.de>
423
424         * javax/swing/plaf/BorderUIResource.java,
425         javax/swing/plaf/basic/BasicDefaults.java,
426         javax/swing/plaf/basic/BasicOptionPaneUI.java:
427         More compile fixes for latest Border commit. I should not commit
428         something in this heat here ...
429
430 2003-06-05  Michael Koch  <konqueror@gmx.de>
431
432         * javax/swing/border/BevelBorder.java
433         (BevelBorder): Removed.
434         * javax/swing/border/EmptyBorder.java:
435         Reformatted.
436         (EmptyBorder): Removed.
437         (getBorderInsets): Dont use l, r, t and b.
438         * javax/swing/border/EtchedBorder.java
439         (EtchedBorder): Removed.
440         * javax/swing/border/LineBorder.java
441         (LineBorder): Removed.
442         * javax/swing/border/MatteBorder.java
443         (MatteBorder): Removed.
444         * javax/swing/border/TitledBorder.java
445         (defaultBorder): Use other default for now.
446         (defaultFont): Likewise.
447         (defaultColor): Likewise.
448
449 2003-06-05  Michael Koch  <konqueror@gmx.de>
450
451         * javax/swing/border/Border.java:
452         New version from classpath.
453
454 2003-06-05  Michael Koch  <konqueror@gmx.de>
455
456         * javax/swing/border/AbstractBorder.java,
457         javax/swing/border/BevelBorder.java,
458         javax/swing/border/CompoundBorder.java,
459         javax/swing/border/EmptyBorder.java,
460         javax/swing/border/EtchedBorder.java,
461         javax/swing/border/LineBorder.java,
462         javax/swing/border/MatteBorder.java,
463         javax/swing/border/TitledBorder.java:
464         New versions from Classpath.
465
466 2003-06-05  Michael Koch  <konqueror@gmx.de>
467
468         * java/awt/Button.java,
469         java/awt/Checkbox.java,
470         java/awt/CheckboxMenuItem.java,
471         java/awt/Choice.java,
472         java/awt/Container.java,
473         java/awt/Dialog.java,
474         java/awt/EventQueue.java,
475         java/awt/FileDialog.java,
476         java/awt/Frame.java,
477         java/awt/Label.java,
478         java/awt/List.java,
479         java/awt/Menu.java,
480         java/awt/MenuItem.java,
481         java/awt/Panel.java,
482         java/awt/PopupMenu.java,
483         java/awt/Rectangle.java,
484         java/awt/ScrollPane.java,
485         java/awt/Scrollbar.java,
486         java/awt/TextArea.java,
487         java/awt/TextField.java,
488         java/awt/Window.java,
489         java/awt/datatransfer/DataFlavor.java,
490         java/awt/dnd/DragSource.java,
491         java/awt/dnd/DragSourceContext.java,
492         java/awt/event/HierarchyEvent.java,
493         java/awt/event/MouseWheelEvent.java,
494         java/awt/im/InputContext.java,
495         java/awt/image/BufferedImage.java,
496         java/awt/image/ComponentColorModel.java,
497         java/awt/image/Raster.java,
498         java/awt/image/WritableRaster.java,
499         java/awt/peer/ComponentPeer.java,
500         java/awt/print/PageFormat.java,
501         java/awt/print/PrinterJob.java:
502         New versions from Classpath.
503
504 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
505
506         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
507         numberFormat.setParseIntegerOnly(true).
508
509 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
510
511         * include/posix-threads.h: Include <machine/pal.h> on OSF.
512
513 2003-06-03  Andrew Haley  <aph@redhat.com>
514
515         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
516         stack volatile to prevent optimization from removing it.
517
518 2003-05-27  Michael Koch  <konqueror@gmx.de>
519
520         * java/util/zip/Deflater.java
521         (FILTERED): Merged documentation from classpath.
522         * java/util/zip/DeflaterOutputStream.java
523         (DeflaterOutputStream): Merged documentation and argument validity
524         check from classpath.
525         (deflate): Merged documentation from classpath.
526         (finish): Likewise.
527         * java/util/zip/Inflater.java
528         (Inflater): Merged class documentation from classpath.
529         (zstream): Reordered.
530         (is_finished): Reordered.
531         (dict_needed): Reordered.
532         (Inflater): Reordered, merged documentation from classpath.
533         (end): Likewise.
534         (finalize): Merged documentation from classpath.
535         (finished): Likewise.
536         (getAdler): Likewise.
537         (getRemaining): Likewise.
538         (getTotalIn): Likewise.
539         (getTotalOut): Likewise.
540         (inflate): Likewise.
541         (needsDictionary): Likewise.
542         (needsInput): Likewise.
543         (reset): Likewise.
544         (setDictionary): Likewise.
545         (setInput): Likewise.
546
547 2003-05-27  Michael Koch  <konqueror@gmx.de>
548
549         * java/net/URLConnection.java
550         (getHeaderFieldInt): Merged with classpath.
551
552 2003-05-27  Michael Koch  <konqueror@gmx.de>
553
554         * java/io/PrintStream.java
555         (PrintStream): Reformatted.
556         (PrintStream): New method, merged from classpath.
557         (write): Reformatted.
558
559 2003-05-27  Michael Koch  <konqueror@gmx.de>
560
561         * java/lang/System.java:
562         Explicitely import needed classes.
563
564 2003-05-26  Michael Koch  <konqueror@gmx.de>
565
566         * java/net/NetPermission.java,
567         java/net/NetworkInterface.java,
568         java/net/PasswordAuthentication.java,
569         java/net/SocketPermission.java:
570         New versions from classpath.
571
572 2003-05-25  Michael Koch  <konqueror@gmx.de>
573
574         * java/io/PushbackInputStream.java,
575         java/net/Authenticator.java,
576         java/net/ContentHandler.java,
577         java/net/ContentHandlerFactory.java,
578         java/net/DatagramSocket.java,
579         java/net/DatagramSocketImpl.java,
580         java/net/DatagramSocketImplFactory.java,
581         java/net/FileNameMap.java,
582         java/net/SocketImplFactory.java,
583         java/net/SocketOptions.java,
584         java/net/URLStreamHandlerFactory.java:
585         Merged new versions from classpath.
586
587 2003-05-25  Michael Koch  <konqueror@gmx.de>
588
589         * java/awt/Checkbox.java,
590         java/awt/Dialog.java,
591         java/awt/Font.java,
592         java/awt/Frame.java,
593         java/awt/ScrollPaneAdjustable.java,
594         java/awt/Scrollbar.java,
595         java/awt/Window.java:
596         New versions from classpath.
597
598 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
599
600         PR libgcj/10838:
601         * java/io/ObjectInputStream (enableResolveObject):
602         Fixed spelling of permission name.
603
604 2003-05-20  Michael Koch  <konqueror@gmx.de>
605
606         * java/io/DataInputStream.java
607         (convertFromUTF): Merged comment from classpath.
608         * java/io/PrintStream.java
609         (error_occured): Renamed from error, merged comment from classpath.
610         (PrintStream): No need to initialized error.
611         (checkError): Replace error with error_occurred.
612         (setError): Likewise.
613
614 2003-05-20  Michael Koch  <konqueror@gmx.de>
615
616         * java/io/DataInputStream.java:
617         Reformatted, Replaced < and & with html entitites in documentation.
618         * java/io/File.java:
619         Reformatted.
620         * java/io/PrintWriter.java:
621         Moved class documentation.
622
623 2003-05-20  Michael Koch  <konqueror@gmx.de>
624
625         * gnu/java/nio/ByteBufferImpl.java,
626         gnu/java/nio/CharBufferImpl.java,
627         gnu/java/nio/CharViewBufferImpl.java,
628         gnu/java/nio/DirectByteBufferImpl.java,
629         gnu/java/nio/DoubleBufferImpl.java,
630         gnu/java/nio/DoubleViewBufferImpl.java,
631         gnu/java/nio/FloatBufferImpl.java,
632         gnu/java/nio/FloatViewBufferImpl.java,
633         gnu/java/nio/IntBufferImpl.java,
634         gnu/java/nio/IntViewBufferImpl.java,
635         gnu/java/nio/LongBufferImpl.java,
636         gnu/java/nio/LongViewBufferImpl.java,
637         gnu/java/nio/natDirectByteBufferImpl.cc,
638         gnu/java/nio/ShortBufferImpl.java,
639         gnu/java/nio/ShortViewBufferImpl.java:
640         Moved files to java/nio.
641         * gnu/java/nio/SocketChannelImpl.java
642         
643         * java/nio/ByteBuffer.java,
644         java/nio/CharBuffer.java,
645         java/nio/DoubleBuffer.java,
646         java/nio/FloatBuffer.java,
647         java/nio/IntBuffer.java,
648         java/nio/LongBuffer.java,
649         java/nio/ShortBuffer.java:
650         Dont import anything.
651         * java/nio/ByteBufferImpl.java,
652         java/nio/CharBufferImpl.java,
653         java/nio/CharViewBufferImpl.java,
654         java/nio/DirectByteBufferImpl.java,
655         java/nio/DoubleBufferImpl.java,
656         java/nio/DoubleViewBufferImpl.java,
657         java/nio/FloatBufferImpl.java,
658         java/nio/FloatViewBufferImpl.java,
659         java/nio/IntBufferImpl.java,
660         java/nio/IntViewBufferImpl.java,
661         java/nio/LongBufferImpl.java,
662         java/nio/LongViewBufferImpl.java,
663         java/nio/natDirectByteBufferImpl.cc,
664         java/nio/ShortBufferImpl.java,
665         java/nio/ShortViewBufferImpl.java:
666         Moved from gnu/java/nio.
667         * Makefile.am
668         (ordinary_java_source_files): Moved files from gnu/java/nio to
669         java/nio.
670         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
671         to java/nio.
672         * Makefile.in: Regenerated.
673
674 2003-05-19  Michael Koch  <konqueror@gmx.de>
675
676         * java/util/Calendar.java
677         (get): Not final anymore since JDK 1.4
678         (set): Likewise.
679
680 2003-05-19  Michael Koch  <konqueror@gmx.de>
681
682         * java/text/CollationKey.java:
683         Merged copyright and dat from classpath.
684         * java/text/RuleBasedCollator.java:
685         Merged class documentation from classpath.
686
687 2003-05-19  Michael Koch  <konqueror@gmx.de>
688
689         * java/nio/CharBuffer.java
690         (toString): Compile fix.
691
692 2003-05-19  Michael Koch  <konqueror@gmx.de>
693
694         * gnu/java/nio/ByteBufferImpl.java
695         (putLong): Fixed conversion to bytes.
696         (putDouble): Fixed conversion to bytes.
697         * gnu/java/nio/DirectByteBufferImpl.java
698         (putLong): Fixed conversion to bytes.
699         (putDouble): Fixed conversion to bytes.
700         * gnu/java/nio/FileLockImpl.java
701         (isValid): Reformatted.
702         * java/nio/Buffer.java
703         (Buffer): Fixed off-by-one bug in handling mark.
704         * java/nio/ByteBuffer.java:
705         Added newline.
706         * java/nio/CharBuffer.java
707         (toString): Don't use relative get to get string data.
708
709 2003-05-16  Michael Koch  <konqueror@gmx.de>
710
711         * java/io/natFileDescriptorPosix.cc
712         (open): Commented out the O_SYNC and O_DSYNC usage until its better
713         tested.
714
715 2003-05-14  Michael Koch  <konqueror@gmx.de>
716
717         * gnu/java/nio/FileLockImpl.java
718         (released): New member variable.
719         (FileLockImpl): Initialize released.
720         (releaseImpl): New native method.
721         (release): Implemented.
722         * gnu/java/nio/SelectorImpl.java: Reformatted.
723         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
724         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
725         (accept): Throws IOException.
726         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
727         (implConfigureBlocking): Throws IOException.
728         (connect): Likewise.
729         (read): Likewise.
730         (write): Likewise.
731         * gnu/java/nio/natFileLockImpl.cc: New file.
732         * java/nio/channels/FileLock.java: Reformatted.
733         * Makefile.am:
734         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
735         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
736         * Makefile.in: Regenerated.
737
738 2003-05-13  Michael Koch  <konqueror@gmx.de>
739
740         * gnu/java/nio/CharViewBufferImpl.java
741         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
742         (get): Shift bits to the right direction.
743         (put): Likewise.
744         * gnu/java/nio/DoubleViewBufferImpl.java
745         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
746         (get): Shift bits to the right direction.
747         (put): Likewise.
748         * gnu/java/nio/FloatViewBufferImpl.java
749         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
750         (get): Shift bits to the right direction.
751         (put): Likewise.
752         * gnu/java/nio/IntViewBufferImpl.java
753         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
754         (get): Shift bits to the right direction.
755         (put): Likewise.
756         * gnu/java/nio/LongViewBufferImpl.java
757         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
758         (get): Shift bits to the right direction.
759         (put): Likewise.
760         * gnu/java/nio/ShortViewBufferImpl.java
761         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
762         (get): Shift bits to the right direction.
763         (put): Likewise.
764
765 2003-05-13  Michael Koch  <konqueror@gmx.de>
766
767         * gnu/java/nio/natDirectByteBufferImpl.cc
768         (allocateImpl): jlong -> RawData*.
769         (freeImpl): Likewise.
770
771 2003-05-13  Michael Koch  <konqueror@gmx.de>
772
773         * java/nio/channels/FileChannel.java
774         (MapMode.m): Made it package-private to match JDK 1.4.
775         * java/nio/charset/Charset.java
776         (decode): Made it final to match JDK 1.4.
777
778 2003-05-13  Michael Koch  <konqueror@gmx.de>
779
780        * java/io/FileDescriptor.java
781        (SYNC): New constant.
782        (DSYNC): Likewise.
783        (getLength): Renamed from lenght() to match classpath's
784        FileDescriptor.java.
785        * java/io/RandomAccessFile.java
786        (RandomAccessFile): Removed unneeded mode check, implemented mode
787        "rws" and "rwd", merged documentation from classpath.
788        (setLength): Reformatted.
789        (length): Use new getLength() of FileDescriptor.
790        * java/io/natFileDescriptorEcos.cc
791        (getLength): Renamed from length().
792        * java/io/natFileDescriptorPosix.cc
793        (open): Implemented support for SYNC and DSYNC.
794        (seek): Use getLength() instead of length().
795        (getLength): Renamed from length().
796        * java/io/natFileDescriptorWin32.cc
797        (getLength): Renamed from length().
798        (seek): Use getLength() instead of length().
799        (available): Likewise.
800        * gnu/java/nio/natFileChannelImpl.cc
801        (size): Use getLength() instead of length().
802
803 2003-05-13  Michael Koch  <konqueror@gmx.de>
804
805         * gnu/java/nio/ByteBufferImpl.java
806         (ByteBufferImpl): All constructors revised.
807         (slice): Reimplemented.
808         (duplicate): Reimplemented.
809         (asReadOnlyBuffer): Reimplemented.
810         * java/nio/ByteBuffer.java:
811         Reformatted.
812         (array_offset): Renamed from "offset" to match all other buffer
813         classes.
814         (ByteBuffer): All constructors revised.
815         (allocateDirect): Implemented.
816         (allocate): New implementation, documentation reworked.
817         (wrap): Likewise.
818         (get): Documentation reworked.
819         (put): New implementation, documentation reworked.
820         (hasArray): Documentation reworked.
821         (arrayOffset): Likewise.
822         (hashCode): Likewise.
823         (equals): Likewise.
824         (compareTo): Likewise.
825         (order): Likewise.
826         (compact): Likewise.
827         (isDirect): Likewise.
828         (slice): Likewise.
829         (duplicate): Likewise.
830         (asReadOnlyBuffer): Likewise.
831         * Makefile.am
832         (ordinary_java_source_files):
833         Added gnu/java/nio/DirectByteBufferImpl.java.
834         (nat_source_files):
835         Added gnu/java/nio/natDirectByteBufferImpl.cc.
836         * Makefile.in: Regenerated.
837
838 2003-05-12  Michael Koch  <konqueror@gmx.de>
839
840         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
841         (nio_get_*): Removed.
842         (nio_put_*): Removed.
843         (as*Buffer): Implemented.
844         (compact): Implemented.
845         (get): Documentation added.
846         (put): Documentation added.
847         (get*): Newly implemented.
848         (put*): Newly implemented.
849         * gnu/java/nio/CharBufferImpl.java: Reformatted.
850         (CharBufferImpl): Revised.
851         (slice): New implementation.
852         (duplicate): New implementation.
853         (compact): New implementation.
854         (asReadOnlyBuffer): New implementation.
855         (get): Documentation revised.
856         (order): Return native byte order.
857         * gnu/java/nio/DirectByteBufferImpl.java
858         (allocateDirect): objects can be null not 0.
859         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
860         (DoubleBufferImpl): Revised.
861         (slice): New implementation.
862         (duplicate): New implementation.
863         (compact): New implementation.
864         (asReadOnlyBuffer): New implementation.
865         (get): Documentation revised.
866         (order): Return native byte order.
867         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
868         (FloatBufferImpl): Revised.
869         (slice): New implementation.
870         (duplicate): New implementation.
871         (compact): New implementation.
872         (asReadOnlyBuffer): New implementation.
873         (get): Documentation revised.
874         (order): Return native byte order.
875         * gnu/java/nio/IntBufferImpl.java: Reformatted.
876         (IntBufferImpl): Revised.
877         (slice): New implementation.
878         (duplicate): New implementation.
879         (compact): New implementation.
880         (asReadOnlyBuffer): New implementation.
881         (get): Documentation revised.
882         (order): Return native byte order.
883         * gnu/java/nio/LongBufferImpl.java: Reformatted.
884         (LongBufferImpl): Revised.
885         (slice): New implementation.
886         (duplicate): New implementation.
887         (compact): New implementation.
888         (asReadOnlyBuffer): New implementation.
889         (get): Documentation revised.
890         (order): Return native byte order.
891         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
892         (ShortBufferImpl): Revised.
893         (slice): New implementation.
894         (duplicate): New implementation.
895         (compact): New implementation.
896         (asReadOnlyBuffer): New implementation.
897         (get): Documentation revised.
898         (order): Return native byte order.
899         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
900         (CharBuffer): Revised.
901         (order): Removed.
902         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
903         (DoubleBuffer): Revised.
904         (allocateDirect): Removed.
905         (order): Removed.
906         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
907         (FloatBuffer): Revised.
908         (allocateDirect): Removed.
909         (order): Removed.
910         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
911         (IntBuffer): Revised.
912         (allocateDirect): Removed.
913         (order): Removed.
914         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
915         (LongBuffer): Revised.
916         (allocateDirect): Removed.
917         (order): Removed.
918         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
919         (ShortBuffer): Revised.
920         (allocateDirect): Removed.
921         (order): Removed.
922         * gnu/java/nio/natByteBufferImpl.cc: Removed.
923         * gnu/java/nio/natCharBufferImpl.cc: Removed.
924         * Makefile.am
925         (ordinary_java_source_files): Added the following files:
926         gnu/java/nio/CharViewBufferImpl.java,
927         gnu/java/nio/DoubleViewBufferImpl.java,
928         gnu/java/nio/FloatViewBufferImpl.java,
929         gnu/java/nio/IntViewBufferImpl.java,
930         gnu/java/nio/LongViewBufferImpl.java,
931         gnu/java/nio/ShortViewBufferImpl.java
932         (nat_source_files): Removed the following files:
933         gnu/java/nio/natByteBufferImpl.cc,
934         gnu/java/nio/natCharBufferImpl.cc
935         * Makefile.in: Regenerated.
936
937 2003-05-12  Michael Koch  <konqueror@gmx.de>
938
939         * gnu/java/nio/CharViewBufferImpl.java,
940         gnu/java/nio/DirectByteBufferImpl.java,
941         gnu/java/nio/DoubleViewBufferImpl.java,
942         gnu/java/nio/FloatViewBufferImpl.java,
943         gnu/java/nio/IntViewBufferImpl.java,
944         gnu/java/nio/LongViewBufferImpl.java,
945         gnu/java/nio/ShortViewBufferImpl.java,
946         gnu/java/nio/natDirectByteBufferImpl.cc:
947         New files, not yet to be compiled.
948
949 2003-05-10  Michael Koch  <konqueror@gmx.de>
950
951         * javax/swing/plaf/ButtonUI.java,
952         javax/swing/plaf/ColorUIResource.java,
953         javax/swing/plaf/ComponentUI.java,
954         javax/swing/plaf/DimensionUIResource.java,
955         javax/swing/plaf/FontUIResource.java,
956         javax/swing/plaf/IconUIResource.java,
957         javax/swing/plaf/InsetsUIResource.java,
958         javax/swing/plaf/LabelUI.java,
959         javax/swing/plaf/ListUI.java,
960         javax/swing/plaf/OptionPaneUI.java,
961         javax/swing/plaf/PanelUI.java,
962         javax/swing/plaf/TabbedPaneUI.java,
963         javax/swing/plaf/TextUI.java,
964         javax/swing/plaf/TreeUI.java,
965         javax/swing/plaf/ViewportUI.java,
966         javax/swing/plaf/basic/BasicBorders.java,
967         javax/swing/plaf/basic/BasicButtonUI.java,
968         javax/swing/plaf/basic/BasicCheckBoxUI.java,
969         javax/swing/plaf/basic/BasicDefaults.java,
970         javax/swing/plaf/basic/BasicGraphicsUtils.java,
971         javax/swing/plaf/basic/BasicIconFactory.java,
972         javax/swing/plaf/basic/BasicLabelUI.java,
973         javax/swing/plaf/basic/BasicListUI.java,
974         javax/swing/plaf/basic/BasicOptionPaneUI.java,
975         javax/swing/plaf/basic/BasicPanelUI.java,
976         javax/swing/plaf/basic/BasicRadioButtonUI.java,
977         javax/swing/plaf/basic/BasicScrollPaneUI.java,
978         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
979         javax/swing/plaf/basic/BasicTextUI.java,
980         javax/swing/plaf/basic/BasicToggleButtonUI.java,
981         javax/swing/plaf/basic/BasicTreeUI.java,
982         javax/swing/plaf/basic/BasicViewportUI.java,
983         javax/swing/plaf/metal/MetalLookAndFeel.java:
984         New versions from classpath. This adds copyrights to all files and
985         some serialVersionUIDs.
986
987 2003-05-10  Michael Koch  <konqueror@gmx.de>
988
989         * java/nio/CharBuffer.java
990         (offset): Make it package-private.
991         (backing_buffer): Likewise.
992         * java/nio/DoubleBuffer.java
993         (offset): Make it package-private.
994         (backing_buffer): Likewise.
995         (put): Reformatted.
996         * java/nio/FloatBuffer.java
997         (offset): Make it package-private.
998         (backing_buffer): Likewise.
999         * java/nio/IntBuffer.java
1000         (offset): Make it package-private.
1001         (backing_buffer): Likewise.
1002         * java/nio/LongBuffer.java
1003         (offset): Make it package-private.
1004         (backing_buffer): Likewise.
1005         * java/nio/ShortBuffer.java
1006         (offset): Make it package-private.
1007         (backing_buffer): Likewise.
1008
1009 2003-05-10  Michael Koch  <konqueror@gmx.de>
1010
1011         * java/nio/CharBuffer.java
1012         (put): Fixed precondtion check.
1013         (toString): Make it work without backing array.
1014         (put): Skip one level of method calling.
1015
1016 2003-05-10  Michael Koch  <konqueror@gmx.de>
1017
1018         * java/security/Identity.java,
1019         java/security/IdentityScope.java,
1020         java/security/Key.java,
1021         java/security/KeyPair.java,
1022         java/security/PrivateKey.java,
1023         java/security/Provider.java,
1024         java/security/PublicKey.java,
1025         java/security/SecureRandom.java,
1026         java/security/SecureRandomSpi.java,
1027         java/security/SignedObject.java,
1028         java/security/Signer.java,
1029         java/security/cert/Certificate.java,
1030         java/security/cert/PKIXCertPathBuilderResult.java,
1031         java/security/cert/X509Certificate.java:
1032         New versions from classpath.
1033
1034 2003-05-09  Tom Tromey  <tromey@redhat.com>
1035
1036         * Makefile.in: Rebuilt.
1037         * Makefile.am (nat_source_files): Removed old files.
1038         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1039         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1040         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1041         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1042         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1043
1044 2003-05-09  Michael Koch  <konqueror@gmx.de>
1045
1046         * gnu/java/nio/ByteBufferImpl.java
1047         (nio_cast): Removed.
1048         (ByteBufferImpl): Removed.
1049         (nio_get_Byte): Removed.
1050         (nio_put_Byte): Removed.
1051         (asByteBuffer): Removed.
1052         (asCharBuffer): Removed implementation and throw exception.
1053         (asShortBuffer): Likewise.
1054         (asIntBuffer): Likewise.
1055         (asLongBuffer): Likewise.
1056         (asFloatBuffer): Likewise.
1057         (asDoubleBuffer): Likewise.
1058         * gnu/java/nio/CharBufferImpl.java
1059         (CharBufferImpl): Removed.
1060         (nio_get_Byte): Removed.
1061         (nio_put_Byte): Removed.
1062         (asByteBuffer): Removed.
1063         * gnu/java/nio/DoubleBufferImpl.java
1064         (DoubleBufferImpl): Removed.
1065         (nio_get_Byte): Removed.
1066         (nio_put_Byte): Removed.
1067         (asByteBuffer): Removed.
1068         * gnu/java/nio/FloatBufferImpl.java
1069         (FloatBufferImpl): Removed.
1070         (nio_get_Byte): Removed.
1071         (nio_put_Byte): Removed.
1072         (asByteBuffer): Removed.
1073         * gnu/java/nio/IntBufferImpl.java
1074         (IntBufferImpl): Removed.
1075         (nio_get_Byte): Removed.
1076         (nio_put_Byte): Removed.
1077         (asByteBuffer): Removed.
1078         * gnu/java/nio/LongBufferImpl.java
1079         (LongBufferImpl): Removed.
1080         (nio_get_Byte): Removed.
1081         (nio_put_Byte): Removed.
1082         (asByteBuffer): Removed.
1083         * gnu/java/nio/ShortBufferImpl.java
1084         (ShortBufferImpl): Removed.
1085         (nio_get_Byte): Removed.
1086         (nio_put_Byte): Removed.
1087         (asByteBuffer): Removed.
1088         * gnu/java/nio/natByteBufferImpl.cc
1089         (nio_cast): Removed.
1090         (nio_get_Byte): Removed.
1091         (nio_put_Byte): Removed.
1092         * gnu/java/nio/natCharBufferImpl.cc
1093         (nio_get_Byte): Removed.
1094         (nio_put_Byte): Removed.
1095
1096 2003-05-09  Michael Koch  <konqueror@gmx.de>
1097
1098         * java/net/JarURLConnection.java
1099         (getJarEntry): Merged documentation from classpath.
1100         (getJarFile): Likewise.
1101         (getMainAttributes): Likewise.
1102         (getAttributes): Likewise.
1103         (getManifest): Likewise.
1104         (getCertificates): Reformatted.
1105         * java/net/URLConnection.java:
1106         Little classpath merge.
1107
1108 2003-05-09  Michael Koch  <konqueror@gmx.de>
1109
1110         * java/io/DataOutputStream.java
1111         (writeShort): Made it synchronized.
1112         (writeChar): Likewise.
1113         (writeInt): Likewise.
1114         (writeLong): Liekwise.
1115         (writeUTF): Made it synchronized, renamed argument to match classpath.
1116         * java/io/InputStreamReader.java
1117         (converter): Added documentation.
1118         (read): Merged documentation from classpath.
1119         * java/io/OutputStreamWriter.java
1120         (OutputStreamWriter): Merged documentation from classpath.
1121         (close): Reformatted.
1122         (getEncoding): Likewise.
1123         (flush): Likewise.
1124         (write): Merged documentation from classpath, reformatted.
1125
1126 2003-05-08  Tom Tromey  <tromey@redhat.com>
1127
1128         * configure.host <powerpc64*-*>: Set with_libffi_default and
1129         libgcj_interpreter to "yes".
1130
1131 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1132
1133         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1134         
1135 2003-05-06  Tom Tromey  <tromey@redhat.com>
1136
1137         * verify.cc: Reverted previous patch.
1138
1139 2003-05-06  Michael Koch  <konqueror@gmx.de>
1140
1141         * java/io/DataOutputStream.java
1142         (write): Renamed argument to "value", merged documentation from
1143         classpath.
1144         (writeBoolean): Likewise.
1145         (writeByte): Likewise.
1146         (writeShort): Likewise.
1147         (writeChar): Likewise.
1148         (writeInt): Likewise.
1149         (writeLong): Likewise.
1150         (writeFloat): Likewise.
1151         (writeDouble): Likewise.
1152         (writeBytes): Likewise.
1153         (writeChars): Likewise.
1154         (writeUTF): Likewise.
1155         * java/io/File.java
1156         (performDelete): Added documentation.
1157         (performList): Likewise.
1158         (performMkdir): Likewise.
1159         (performSetReadOnly): Likewise.
1160         (performRenameTo): Likewise.
1161         (performSetLastModified): Likewise.
1162         (delete): Made it sychronized.
1163         (renameTo): Made it sychronized.
1164         (equals): Reformatted.
1165         (isHidden): Likewise.
1166         (listFiles): Likewise.
1167         (setReadOnly): Likewise.
1168         (listRoots): Likewise.
1169         (setLastModified): Likewise.
1170         (checkRead): Likewise.
1171         (checkWrite): Likewise.
1172         * java/io/FileInputStream.java
1173         (skip): Made it sychronized, merged from classpath.
1174         * java/io/FileOutputStream.java
1175         (write): Merged from classpath.
1176         * java/io/InputStreamReader.java:
1177         (InputStreamReader): Merged documentation from classpath.
1178
1179 2003-05-05  Michael Koch  <konqueror@gmx.de>
1180
1181         * java/net/NetworkInterface.java
1182         (networkInterfaces): Removed.
1183         (getByName): Use getRealNetworkInterfaces() instead of
1184         networkInterfaces.
1185         (getByInetAddress): Likewise.
1186         (getNetworkInterfaces): Likewise.
1187         (toString): Fix output of addresses of an interface.
1188
1189 2003-05-05  Michael Koch  <konqueror@gmx.de>
1190
1191         * java/io/DataInputStream.java:
1192         Merged new documentation from classpath.
1193
1194 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1195
1196         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1197         "version".
1198         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1199         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1200         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1201         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1202         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1203         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1204         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1205         * java/security/Key.java: Likewise.
1206         * java/security/PrivateKey.java: Likewise.
1207         * java/security/Provider.java: Likewise.
1208         * java/security/PublicKey.java: Likewise.
1209
1210 2003-05-02  Michael Koch  <konqueror@gmx.de>
1211
1212         * java/net/URI.java
1213         (create): Doesnt throws any exceptions.
1214         * java/net/URLConnection.java
1215         (URLConnection): Commend added.
1216         (getExpiration): The header field is called "expires" not
1217         "expiration".
1218         (getHeaderField): Merged documentation with classpath.
1219         (getHeaderFieldInt): Likewise.
1220         (getHeaderFieldDate): Likewise.
1221         (getHeaderFieldKey): Likewise.
1222         (getPermission): Likewise.
1223         (setDefaultUseCaches): Likewise.
1224         (setRequestProperty): Likewise.
1225         (addRequestProperty): Likewise.
1226         (getRequestProperty): Likewise.
1227         (getRequestProperties): Likewise.
1228         (setDefaultRequestProperty): Likewise.
1229         (getDefaultRequestProperty): Likewise.
1230         (guessContentTypeFromStream): Likewise.
1231         (getFileNameMap): Likewise.
1232         (setFileNameMap): Likewise.
1233         (setDoInput): Merged implementation and documentation with classpath.
1234         (setDoOutput): Likewise.
1235         (setAllowUserInteraction): Likewise.
1236         (setDefaultAllowUserInteraction): Likewise.
1237         (setContentHandlerFactory): Made it synchronized, merged documentation
1238         with classpath.
1239         (guessContentTypeFromName): Renamed argument fname to filename to
1240         match classpath, merged documentation with classpath.
1241
1242 2003-05-02  Michael Koch  <konqueror@gmx.de>
1243
1244         * java/net/JarURLConnection.java
1245         (JarURLConnection): Class documentation merged with classpath.
1246         (getJarFileURL): Moved and documentation merged with classpath.
1247         (getEntryName): Likewise.
1248         (JarURLConnection): Documentation merged with classpath.
1249         (getJarEntry): Likewise.
1250         (getJarFile): Likewise.
1251         * java/net/PlainDatagramSocketImpl.java:
1252         Class documentation moved.
1253         * java/net/URLConnection.java
1254         (fileNameMap): Moved and documentation merged with classpath.
1255         (factory): Likewise.
1256         (defaultAllowUserInteraction): Likewis.
1257         (defaultUseCaches): Likewise.
1258         (allowUserInteraction): Likewise.
1259         (connected): Likewise.
1260         (url): Likewise.
1261         (connect): Documentation merged with classpath.
1262         (getURL): Likewise.
1263         (getContentLength): Likewise.
1264         (getContentType): Likewise.
1265         (getContentEncoding): Likewise.
1266         (getExpiration): Likewise.
1267         (getDate): Likewise.
1268         (getLastModified): Likewise.
1269         (getHeaderField): Likewise.
1270         (getContent): Likewise.
1271         (getPermission): Likewise.
1272         (getInputStream): Likewise.
1273         (getOutputStream): Likewise.
1274         (toString): Likewise.
1275         (getDoInput): Likewise.
1276         (getDoOutput): Likewise.
1277         (setAllowUserInteraction): Likewise.
1278         (getAllowUserInteraction): Likewise.
1279         (setDefaultAllowUserInteraction): Likewise.
1280         (getDefaultAllowUserInteraction): Likewise.
1281         (setUseCaches): Likewise.
1282         (getUseCaches): Likewise.
1283         (setIfModifiedSince): Likewise.
1284         (getIfModifiedSince): Likewise.
1285         (setDefaultRequestProperty): Likewise.
1286         (getDefaultRequestProperty): Likewise.
1287         (setContentHandlerFactory): Likewise.
1288         (setFileNameMap): Likewise.
1289
1290 2003-05-02  Michael Koch  <konqueror@gmx.de>
1291
1292         * java/net/InetAddress.java:
1293         Merged class documentation with classpath.
1294         * java/net/JarURLConnection.java:
1295         Explicitely import all used classes.
1296         * java/net/URL.java:
1297         Reformatting.
1298         * java/net/ServerSocket.java,
1299         java/net/Socket.java:
1300         New versions from classpath.
1301
1302 2003-05-02  Michael Koch  <konqueror@gmx.de>
1303
1304         * gnu/java/nio/FileChannelImpl.java
1305         (read): New implementation.
1306         (implRead): New methods.
1307         (write): New implementation, call other write insteal of read method.
1308         (implWrite): New methods.
1309         (map): Added comment.
1310         (transferFrom): Implemented.
1311         (transferTo): Implemented.
1312         (lock): Added checks to throw exceptions.
1313         (truncate): Added check to throw exception.
1314         * gnu/java/nio/natFileChannelImpl.cc
1315         (implRead): New method.
1316         (implWrite): New method.
1317         * java/nio/ByteBuffer.java
1318         (hashCode): Fixed comment.
1319         (get): Fixed exception documentation.
1320         (put): Fixed exception documentation.
1321         * java/nio/CharBuffer.java:
1322         Added comment for later optimizations.
1323
1324 2003-04-30  Tom Tromey  <tromey@redhat.com>
1325
1326         PR libgcj/10582:
1327         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1328         Removed.
1329         (type::compatible): Use _Jv_IsAssignableFrom.
1330         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1331         (_Jv_IsAssignableFrom): Work even when source or target class is
1332         not prepared.
1333
1334 2003-04-30  Michael Koch  <konqueror@gmx.de>
1335
1336         * java/text/BreakIterator.java
1337         (clone): New method.
1338
1339 2003-04-30  Michael Koch  <konqueror@gmx.de>
1340
1341         * java/text/CollationElementIterator.java,
1342         java/text/CollationKey.java,
1343         java/text/RuleBasedCollator.java:
1344         Merged copyright and documentation from classpath and
1345         rearranged some code. No code changes done.
1346
1347 2003-04-30  Michael Koch  <konqueror@gmx.de>
1348
1349         * java/util/regex/Matcher.java
1350         (pattern): New member variable.
1351         (appendReplacement): New method.
1352         (appendTail): New method.
1353         (end): New method.
1354         (find): New method.
1355         (group): New method.
1356         (replaceFirst): Added documentation.
1357         (replaceAll): Added documentation.
1358         (groupCount): New method.
1359         (lookingAt): New method.
1360         (matches): New method.
1361         (reset): New method.
1362         (start): New method.
1363         * java/util/regex/Pattern.java
1364         (serialVersionUID): New constant.
1365         (CANON_EQ): New constant.
1366         (CASE_INSENSITIVE): New constant.
1367         (COMMENTS): New constant.
1368         (DOTALL): New constant.
1369         (MULTILINE): New constant.
1370         (UNICODE_CASE): New constant.
1371         (UNIX_LINES): New constant.
1372         (regex): New member variable.
1373         (flags): New member variable.
1374         (Pattern): New method.
1375         (compile): Documentation added.
1376         (flags): New method.
1377         (matches): Documentation added.
1378         (matcher): Documentation added.
1379         (split): Documentation added.
1380         (pattern): New method.
1381
1382 2003-04-30  Michael Koch  <konqueror@gmx.de>
1383
1384         * gnu/java/security/Engine.java,
1385         gnu/java/security/OID.java,
1386         gnu/java/security/der/BitString.java,
1387         gnu/java/security/der/DER.java,
1388         gnu/java/security/der/DERReader.java,
1389         gnu/java/security/der/DERValue.java,
1390         gnu/java/security/der/DERWriter.java,
1391         gnu/java/security/provider/DSAKeyFactory.java,
1392         gnu/java/security/provider/X509CertificateFactory.java,
1393         gnu/java/security/x509/X500DistinguishedName.java,
1394         gnu/java/security/x509/X509CRL.java,
1395         gnu/java/security/x509/X509CRLEntry.java,
1396         gnu/java/security/x509/X509Certificate.java,
1397         java/security/cert/CRLSelector.java,
1398         java/security/cert/CertPathBuilder.java,
1399         java/security/cert/CertPathBuilderResult.java,
1400         java/security/cert/CertPathBuilderSpi.java,
1401         java/security/cert/CertPathParameters.java,
1402         java/security/cert/CertPathValidator.java,
1403         java/security/cert/CertPathValidatorResult.java,
1404         java/security/cert/CertPathValidatorSpi.java,
1405         java/security/cert/CertSelector.java,
1406         java/security/cert/CertStore.java,
1407         java/security/cert/CertStoreParameters.java,
1408         java/security/cert/CertStoreSpi.java,
1409         java/security/cert/CollectionCertStoreParameters.java,
1410         java/security/cert/LDAPCertStoreParameters.java,
1411         java/security/cert/PKIXBuilderParameters.java,
1412         java/security/cert/PKIXCertPathBuilderResult.java,
1413         java/security/cert/PKIXCertPathChecker.java,
1414         java/security/cert/PKIXCertPathValidatorResult.java,
1415         java/security/cert/PKIXParameters.java,
1416         java/security/cert/PolicyNode.java,
1417         java/security/cert/PolicyQualifierInfo.java,
1418         java/security/cert/TrustAnchor.java,
1419         javax/security/auth/x500/X500Principal.java:
1420         New files from classpath.
1421         * gnu/java/io/ASN1ParsingException.java,
1422         gnu/java/io/Base64InputStream.java,
1423         gnu/java/security/der/DEREncodingException.java,
1424         gnu/java/security/provider/DSAParameters.java,
1425         gnu/java/security/provider/DSASignature.java,
1426         gnu/java/security/provider/Gnu.java,
1427         gnu/java/security/provider/GnuDSAPrivateKey.java,
1428         gnu/java/security/provider/GnuDSAPublicKey.java,
1429         java/security/AlgorithmParameterGenerator.java,
1430         java/security/AlgorithmParameters.java,
1431         java/security/KeyFactory.java,
1432         java/security/KeyPairGenerator.java,
1433         java/security/KeyStore.java,
1434         java/security/MessageDigest.java,
1435         java/security/SecureClassLoader.java,
1436         java/security/SecureRandom.java,
1437         java/security/Security.java,
1438         java/security/Signature.java,
1439         java/security/cert/Certificate.java,
1440         java/security/cert/CertificateFactory.java,
1441         java/security/cert/CertificateFactorySpi.java,
1442         java/security/cert/X509CRL.java,
1443         java/security/cert/X509Certificate.java,
1444         java/security/spec/DSAPublicKeySpec.java:
1445         New versions from classpath.
1446         * gnu/java/security/provider/DERReader.java,
1447         gnu/java/security/provider/DERWriter.java,
1448         java/security/Engine.java: Removed.
1449         * Makefile.am
1450         (java_source_files, javax_source_files): Added new files.
1451         * Makefile.in: Regenerated.
1452
1453 2003-04-29  Michael Koch  <konqueror@gmx.de>
1454
1455         * javax/swing/JTable.java
1456         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1457         (AUTO_RESIZE_LAST_COLUMN): New constant.
1458         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1459         (AUTO_RESIZE_OFF): New constant.
1460         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1461         (JTable): New method.
1462         (columnAdded): New method.
1463         (columnMarginChanged): New method.
1464         (columnMoved): New method.
1465         (columnRemoved): New method.
1466         (columnSelectionChanged): New method.
1467         (editingCanceled): New method.
1468         (editingStopped): New method.
1469         (getColumnModel): New method.
1470         (getPreferredScrollableViewportSize): New method.
1471         (getScrollableBlockIncrement): New method.
1472         (getScrollableTracksViewportHeight): New method.
1473         (getScrollableTracksViewportWidth): New method.
1474         (getScrollableUnitIncrement): New method.
1475         (getSelectedRow): New method.
1476         (getSelectionModel): New method.
1477         (tableChanged): New method.
1478         (setModel): New method.
1479         (setSelectionMode): New method.
1480         (setSelectionModel): New method.
1481         (setShowGrid): New method.
1482         (valueChanged): New method.
1483         * javax/swing/text/DefaultEditorKit.java
1484         (backwardAction): New constant.
1485         (beepAction): New constant.
1486         (beginAction): New constant.
1487         (beginLineAction): New constant.
1488         (beginParagraphAction): New constant.
1489         (beginWordAction): New constant.
1490         (copyAction): New constant.
1491         (cutAction): New constant.
1492         (defaultKeyTypedAction): New constant.
1493         (deleteNextCharAction): New constant.
1494         (deletePrevCharAction): New constant.
1495         (downAction): New constant.
1496         (endAction): New constant.
1497         (endLineAction): New constant.
1498         (endOfLineStringProperty): New constant.
1499         (endParagraphAction): New constant.
1500         (endWordAction): New constant.
1501         (forwardAction): New constant.
1502         (insertBreakAction): New constant.
1503         (insertContentAction): New constant.
1504         (insertTabAction): New constant.
1505         (nextWordAction): New constant.
1506         (pageDownAction): New constant.
1507         (pageUpAction): New constant.
1508         (pasteAction): New constant.
1509         (previousWordAction): New constant.
1510         (readOnlyAction): New constant.
1511         (selectAllAction): New constant.
1512         (selectionBackwardAction): New constant.
1513         (selectionBeginAction): New constant.
1514         (selectionBeginLineAction): New constant.
1515         (selectionBeginParagraphAction): New constant.
1516         (selectionBeginWordAction): New constant.
1517         (selectionDownAction): New constant.
1518         (selectionEndAction): New constant.
1519         (selectionEndLineAction): New constant.
1520         (selectionEndParagraphAction): New constant.
1521         (selectionEndWordAction): New constant.
1522         (selectionForwardAction): New constant.
1523         (selectionNextWordAction): New constant.
1524         (selectionPreviousWordAction): New constant.
1525         (selectionUpAction): New constant.
1526         (selectLineAction): New constant.
1527         (selectParagraphAction): New constant.
1528         (selectWordAction): New constant.
1529         (upAction): New constant.
1530         (writableAction): New constant.
1531
1532 2003-04-29  Michael Koch  <konqueror@gmx.de>
1533
1534         * java/util/PropertyPermission.java:
1535         New version from classpath
1536         * java/util/ResourceBundle.java:
1537         Partly merged from classpath
1538         (getObject): Reformated.
1539         (tryBundle): Set foundBundle = null if no bundle found.
1540
1541 2003-04-29  Michael Koch  <konqueror@gmx.de>
1542
1543         * javax/swing/AbstractListModel.java,
1544         javax/swing/DefaultBoundedRangeModel.java,
1545         javax/swing/DefaultSingleSelectionModel.java:
1546         New Versions from classpath.
1547
1548 2003-04-29  Michael Koch  <konqueror@gmx.de>
1549
1550         * java/awt/Window.java
1551         (show): Call super.show() instead of setVisible() to avoid endless
1552         loop.
1553         (hide): Call super.hide() instead of setVisible() to avoid endless
1554         loop.
1555
1556 2003-04-29  Michael Koch  <konqueror@gmx.de>
1557
1558         * java/util/zip/Deflater.java,
1559         java/util/zip/DeflaterOutputStream.java:
1560         Partly merged with classpath.
1561
1562 2003-04-27  Tom Tromey  <tromey@redhat.com>
1563
1564         * java/lang/natString.cc (_Jv_AllocString): Initialize
1565         cachedHashCode.
1566         (init): Likewise.
1567         (_Jv_NewStringUtf8Const): Likewise.
1568
1569 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1570
1571         * include/jvm.h: (_Jv_GetNbArgs) added
1572         (_Jv_GetSafeArg) added
1573         (_Jv_SetArgs) added
1574         * prims.cc: (_Jv_GetNbArgs) implemented
1575         (_Jv_GetSafeArg) implemented
1576         (_Jv_SetArgs) implemented
1577         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1578         setting _Jv_argc and _Jv_argv
1579         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1580         instead of _Jv_argv
1581         * java/lang/natRuntime.cc: (insertSystemProperties) use
1582         _Jv_GetSafeArg() instead of _Jv_argv
1583
1584 2003-04-23  Tom Tromey  <tromey@redhat.com>
1585
1586         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1587         required by this object.  Search superclasses to find required
1588         alignment.
1589         (get_alignment_from_class): Use alignment of type as it appears
1590         in a struct.
1591         (ALIGNOF): New macro.
1592         (struct aligner): New helper structure.
1593
1594 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1595
1596         * java/awt/Container.java (addImpl): Enable paint events if adding
1597         a lightweight to a heavyweight.
1598         (addNotify): Ensure that peer is created before
1599         addNotifyContainerChildren.
1600         (addNotifyContainerChildren): Enable paint events if a heavyweight
1601         container contains a lightweight.
1602
1603 2003-04-20  Tom Tromey  <tromey@redhat.com>
1604
1605         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1606         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1607         Classpath.
1608
1609 2003-04-19  Tom Tromey  <tromey@redhat.com>
1610
1611         * java/sql/Date.java, java/sql/DriverManager.java,
1612         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1613         Classpath.
1614
1615         * Makefile.in: Rebuilt.
1616         * Makefile.am (ordinary_java_source_files): Added new files.
1617         * java/security/AlgorithmParameterGenerator.java,
1618         java/security/AlgorithmParameters.java, java/security/Engine.java,
1619         java/security/Identity.java, java/security/IdentityScope.java,
1620         java/security/KeyFactory.java,
1621         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1622         java/security/MessageDigest.java, java/security/Policy.java,
1623         java/security/ProtectionDomain.java,
1624         java/security/SecureRandom.java, java/security/Security.java,
1625         java/security/Signature.java, java/security/SignatureSpi.java,
1626         java/security/SignedObject.java, java/security/Signer.java,
1627         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1628         java/security/spec/PSSParameterSpec.java,
1629         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1630         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1631         Classpath.
1632
1633 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1634
1635         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1636         (dispose): Null metrics.
1637         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1638         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1639         finalize.
1640         (finalize): Call dispose.
1641         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1642         (gcCachedCount): New field.
1643         (finalize): New method.
1644         (putGCInCache): New method.
1645         (getGCFromCache): New method.
1646         * gnu/gcj/xlib/GC.java (GC): Make protected.
1647         (clone): Get new GC from cache if possible.
1648         (create): New static method.
1649         (dispose): Save old GC in cache.
1650         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1651         deleting.
1652         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1653         is null.
1654         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1655         * java/awt/Container.java (visitChild): Dispose gfx2 when
1656         finished.
1657
1658 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1659
1660         * java/math/BigInteger.java (probablePrime): New.
1661         * java/math/BigDecimal.java (unscaledValue): New.
1662
1663 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1664
1665         * java/io/File.java (getAbsolutePath): On Windows, take care
1666         of paths like "C:", "G:foo\bar", etc.
1667         (getName): Make it work correctly on Windows.
1668         (getParent): Make it work correctly on Windows. For UNIX,
1669         fix bug that causes "/" to be returned as the parent of "/",
1670         instead of null as returned by Sun's JRE.
1671
1672         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1673
1674 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1675
1676         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1677         inner class.
1678         (CACHE_SIZE_PER_DISPLAY): New field
1679         (fontMetricsCache): New field
1680         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1681         loading ISO10646-1 fonts.
1682
1683 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1684
1685         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1686         characters.
1687         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1688         characters.
1689
1690 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1691
1692         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1693         floating point.
1694
1695 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1696
1697         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1698         installed libpthread is either linuxthreads with floating stacks or
1699         NPTL.
1700
1701 2003-04-14  Tom Tromey  <tromey@redhat.com>
1702
1703         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1704         of alignment.
1705
1706 2003-04-10  Tom Tromey  <tromey@redhat.com>
1707
1708         * verify.cc (pop64): Removed.
1709         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1710         exception if top-of-stack is narrow.
1711         (initialize_stack): Check to ensure that <init> is not static and
1712         <clinit> is.
1713
1714 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1715
1716         * java/io/ObjectStreamException
1717         * java/io/FileFilter
1718         * java/io/FilenameFilter
1719         * java/io/ObjectInput
1720         * java/io/ObjectOutput
1721         * java/io/ObjectStreamConstants
1722         Minor doc fixes, format fixes, spelling corrections, etc.
1723         * java/io/DataInput
1724         Corrected code samples in Javadocs to match reality
1725         * java/io/DataOutput
1726         * java/io/ObjectInputValidation
1727         Major documentation fixes - all Javadocs re-written or updated
1728
1729 2003-04-06  Michael Koch  <konqueror@gmx.de>
1730
1731         * java/net/URLConnection.java:
1732         Import classes directly.
1733         (URLConnection): Merged class documentation with classpath.
1734         (url): Moved, documentation from classpath added.
1735         (doInput): Moved, documentation from classpath added.
1736         (doOutput): Moved, documentation from classpath added.
1737         (allowUserInteraction): Moved.
1738         (useCaches): Moved, documentation from classpath added.
1739         (ifModifiedSince): Moved, documentation from classpath added.
1740         (connected): Moved, documentation from classpath added.
1741
1742 2003-04-06  Michael Koch  <konqueror@gmx.de>
1743
1744         * java/io/FileInputStream.java
1745         (skip): Renamed some variables to match classpath, added
1746         checks from classpath.
1747
1748 2003-03-31  Michael Koch  <konqueror@gmx.de>
1749
1750         * javax/swing/AbstractAction.java
1751         (AbstractAction): Reformatted.
1752         (serialVersionUID): New private member variable.
1753         * javax/swing/plaf/BorderUIResource.java
1754         (serialVersionUID): New private member variable.
1755         * javax/swing/plaf/basic/BasicLookAndFeel.java
1756         (serialVersionUID): New private member variable.
1757
1758 2003-03-31  Michael Koch  <konqueror@gmx.de>
1759
1760         * java/sql/Date.java
1761         (valueOf): Deprecated, reformatted.
1762         (toString): Deprecated, reformatted.
1763         * java/sql/Time.java
1764         (valueOf): Deprecated, reformatted.
1765         (toString): Deprecated, reformatted.
1766
1767 2003-03-31  Michael Koch  <konqueror@gmx.de>
1768
1769         * java/rmi/dgc/VMID.java
1770         (isUnique): Deprecated.
1771
1772 2003-03-31  Michael Koch  <konqueror@gmx.de>
1773
1774         * java/io/File.java
1775         (separator): Merged documentation from classpath.
1776         (separatorChar): Merged documentation from classpath.
1777         (pathSeparator): Merged documentation from classpath.
1778         (pathSeparatorChar): Merged documentation from classpath.
1779         (path): Merged documentation from classpath.
1780         (canRead): Merged documentation from classpath.
1781         (canWrite): Merged documentation from classpath.
1782         (createNewFile): Merged documentation from classpath.
1783         (delete): Merged documentation from classpath.
1784         (equals): Merged documentation from classpath.
1785         (exists): Merged documentation from classpath.
1786         (File): Renamed p to name to match classpath, merged documentation
1787         from classpath.
1788         (getAbsolutePath): Merged documentation from classpath.
1789         (getCanonicalPath): Merged documentation from classpath.
1790         (getCanonicalFile): Merged documentation from classpath.
1791         (getName): Merged documentation from classpath.
1792         (getParent): Merged documentation from classpath.
1793         (getParentFile): Merged documentation from classpath.
1794         (getPath): Merged documentation from classpath.
1795         (hashCode): Merged documentation from classpath.
1796         (isAbsolute): Merged documentation from classpath.
1797         (isDirectory): Merged documentation from classpath.
1798         (isFile): Merged documentation from classpath.
1799         (isHidden): Merged documentation from classpath.
1800         (lastModified): Merged documentation from classpath.
1801         (length): Merged documentation from classpath.
1802         (list): Merged documentation from classpath.
1803         (listFiles): Merged documentation from classpath.
1804         (toString): Merged documentation from classpath.
1805         (toURL): Merged documentation from classpath.
1806         (mkdir): Merged documentation from classpath.
1807         (mkdirs): Merged documentation from classpath.
1808         (createTempFile): Merged documentation from classpath.
1809         (setReadOnly): Merged documentation from classpath.
1810         (listRoots): Merged documentation from classpath.
1811         (compareTo): Merged documentation from classpath.
1812         (renameTo): Merged documentation from classpath.
1813         (setLastModified): Merged documentation from classpath.
1814         * java/io/PrintStream.java
1815         (auto_flush): Merged documentation from classpath.
1816         (PrintStream): Merged documentation from classpath.
1817         (checkError): Merged documentation from classpath.
1818         (setError): Merged documentation from classpath.
1819         (close): Merged documentation from classpath.
1820         (flush): Merged documentation from classpath.
1821         (print): Merged documentation from classpath.
1822         (println):  Merged documentation from classpath.
1823         (write): Renamed count to len to match classpath,
1824         merged documentation from classpath.
1825         * java/io/RandomAccessFile.java
1826         (readShort): Merged documentation from classpath.
1827         (readUnsignedByte): Merged documentation from classpath.
1828         (readUnsignedShort): Merged documentation from classpath.
1829         (readUTF): Merged documentation from classpath.
1830         (seek): Reformatted, merged documentation from classpath.
1831         (skipBytes): Renamed some variables to match classpath, reformatted,
1832         merged documentation from classpath.
1833         (write): Merged documentation from classpath.
1834         (writeBoolean): Merged documentation from classpath.
1835         (writeByte): Merged documentation from classpath.
1836         (writeShort): Merged documentation from classpath.
1837         (writeChar): Merged documentation from classpath.
1838         (writeInt): Merged documentation from classpath.
1839         (writeLong): Merged documentation from classpath.
1840         (writeFloat): Merged documentation from classpath.
1841         (writeDouble): Merged documentation from classpath.
1842         (writeBytes): Merged documentation from classpath.
1843         (writeChars): Merged documentation from classpath.
1844         (writeUTF): Reformatted.
1845         (getChannel): Reformatted.
1846
1847 2003-03-31  Michael Koch  <konqueror@gmx.de>
1848
1849         * java/awt/font/TextAttribute.java
1850         (readResolve): Throws java.io.InvalidObjectException.
1851
1852 2003-03-31  Michael Koch  <konqueror@gmx.de>
1853
1854         * java/rmi/server/LoaderHandler.java
1855         (loadClass): Deprecated.
1856         (getSecurityContext): Deprecated.
1857         * java/rmi/server/LogStream.java
1858         (getDefaultStream): Deprecated.
1859         (setDefaultStream): Deprecated.
1860         (getOutputStream): Deprecated.
1861         (setOutputStream): Deprecated.
1862         (write): Deprecated.
1863         (toString): Deprecated.
1864         (parseLevel): Deprecated.
1865         * java/rmi/server/Operation.java
1866         (Operation): Deprecated.
1867         (getOperation): Deprecated.
1868         (toString): Deprecated.
1869         * java/rmi/server/RemoteCall.java
1870         (getOutputStream): Deprecated.
1871         (releaseOutputStream): Deprecated.
1872         (getInputStream): Deprecated.
1873         (releaseInputStream): Deprecated.
1874         (getResultStream): Deprecated.
1875         (executeCall): Deprecated.
1876         (done): Deprecated.
1877         * java/rmi/server/RemoteRef.java
1878         (invoke): Deprecated.
1879         (newCall): Deprecated.
1880         (done): Deprecated.
1881         * java/rmi/server/RemoteStub.java
1882         (setRef): Deprecated.
1883         * java/rmi/server/Skeleton.java:
1884         No need to import java.lang.Exception explicitly.
1885         (dispatch): Deprecated.
1886         (getOperations): Deprecated.
1887
1888 2003-03-31  Michael Koch  <konqueror@gmx.de>
1889
1890         * java/rmi/dgc/VMID.java,
1891         java/rmi/registry/RegistryHandler.java,
1892         java/rmi/server/LogStream.java,
1893         java/rmi/server/Operation.java,
1894         java/rmi/server/RemoteCall.java,
1895         java/rmi/server/RemoteRef.java,
1896         java/rmi/server/RemoteStub.java:
1897         Reformatted.
1898
1899 2003-03-31  Michael Koch  <konqueror@gmx.de>
1900
1901         * javax/swing/AbstractCellEditor.java,
1902         javax/swing/AbstractListModel.java,
1903         javax/swing/ActionMap.java,
1904         javax/swing/BorderFactory.java,
1905         javax/swing/ButtonGroup.java,
1906         javax/swing/DefaultBoundedRangeModel.java,
1907         javax/swing/DefaultButtonModel.java,
1908         javax/swing/DefaultCellEditor.java,
1909         javax/swing/DefaultComboBoxModel.java,
1910         javax/swing/DefaultDesktopManager.java,
1911         javax/swing/DefaultListCellRenderer.java,
1912         javax/swing/DefaultSingleSelectionModel.java,
1913         javax/swing/InputMap.java,
1914         javax/swing/JComponent.java,
1915         javax/swing/JMenu.java,
1916         javax/swing/JSlider.java,
1917         javax/swing/KeyStroke.java,
1918         javax/swing/OverlayLayout.java,
1919         javax/swing/ScrollPaneLayout.java,
1920         javax/swing/SizeRequirements.java,
1921         javax/swing/UIManager.java,
1922         javax/swing/ViewportLayout.java,
1923         javax/swing/border/AbstractBorder.java,
1924         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1925         javax/swing/event/EventListenerList.java,
1926         javax/swing/table/AbstractTableModel.java,
1927         javax/swing/table/DefaultTableCellRenderer.java,
1928         javax/swing/table/DefaultTableColumnModel.java,
1929         javax/swing/table/DefaultTableModel.java,
1930         javax/swing/table/TableColumn.java,
1931         javax/swing/text/StyledEditorKit.java,
1932         javax/swing/tree/DefaultMutableTreeNode.java,
1933         javax/swing/tree/DefaultTreeModel.java,
1934         javax/swing/tree/DefaultTreeSelectionModel.java,
1935         javax/swing/tree/TreePath.java,
1936         javax/swing/undo/AbstractUndoableEdit.java,
1937         javax/swing/undo/StateEdit.java,
1938         javax/swing/undo/StateEditable.java,
1939         javax/swing/undo/UndoableEditSupport.java:
1940         Merges from classpath.
1941
1942 2003-03-30  Tom Tromey  <tromey@redhat.com>
1943
1944         * java/lang/String.java (data, boffset, count): Documented.
1945         (String(byte[],String)): Reformatted.
1946         (String(byte[])): Likewise.
1947         (lastIndexOf(int)): Likewise.
1948         (lastIndexOf(String)): Likewise.
1949         (substring(int)): Renamed argument to match Classpath.
1950         (String(StringBuffer)): Don't share buffer if it is nearly empty.
1951
1952         * java/lang/String.java: Miscellaneous minor formatting changes
1953         to match Classpath more closely.
1954
1955 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
1956             Tom Tromey  <tromey@redhat.com>
1957
1958         * java/lang/natString.cc (hashCode): Use cachedHashCode.
1959         (init()): Removed.
1960         (charAt): Put index in exception.
1961         (contentEquals): New method.
1962         Include StringBuffer.h.
1963         * java/lang/String.java (cachedHashCode): New field.
1964         (String()): Follow classpath implementation.
1965         (init()): Removed.
1966         (contentEquals): Declare.
1967         (subSequence): Don't declare IndexOutIfBoundsException in throws
1968         clause.
1969         (matches, replaceFirst, replaceAll, split): New methods from
1970         Classpath.
1971
1972 2003-03-29  Tom Tromey  <tromey@redhat.com>
1973
1974         * java/lang/String.java: Reordered to follow Classpath; merged in
1975         javadoc.
1976
1977         * java/text/MessageFormat.java: Removed some whitespace.
1978
1979         * Makefile.in: Rebuilt.
1980         * Makefile.am (awt_java_source_files): Added new files.
1981         * gnu/javax/rmi/PortableServer.java,
1982         gnu/javax/rmi/CORBA/DelegateFactory.java,
1983         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
1984         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
1985         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
1986         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
1987         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
1988         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
1989         javax/rmi/PortableRemoteObject.java,
1990         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
1991         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
1992         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
1993         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
1994         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
1995         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
1996
1997         * java/lang/natClass.cc (newInstance): Put method name in
1998         exception.
1999         (getConstructor): Likewise.
2000         (getDeclaredConstructor): Likewise.
2001         (getPrivateMethod): Likewise.
2002
2003 2003-03-28  Tom Tromey  <tromey@redhat.com>
2004
2005         * java/lang/reflect/Proxy.java: New version from Classpath.
2006         * java/lang/Package.java: New version from Classpath.
2007
2008 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2009
2010         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2011         * configure: Regenerate.
2012
2013 2003-03-28  Michael Koch  <konqueror@gmx.de>
2014
2015         * java/io/File.java:
2016         Import needed classes instead of whole packages, merged class
2017         documentation with classpath, moved constants and variables to top of
2018         class.
2019         * java/io/PrintStream.java:
2020         Merged class documentation with classpath, moved constants and
2021         variables to top of class.
2022         * java/io/RandomAccessFile.java
2023         (RandomAccessFile): Merged with classpath.
2024         (read): Merged with classpath).
2025         (read*): Reformatted.
2026
2027 2003-03-28  Michael Koch  <konqueror@gmx.de>
2028
2029         * java/io/FileDescriptor.java
2030         (finalize): Throws Throwable, not IOException.
2031         * java/io/ObjectOutputStream.java
2032         (PutField.put): Doesnt throws anything.
2033
2034 2003­03-28  Michael Koch  <konqueror@gmx.de>
2035
2036         * java/io/FileOutputStream.java:
2037         Merged class documentation and authors with classpath.
2038         (FileOutputStream): Partly merged with classpath.
2039         (write): Merged with classpath.
2040         (getChannel): Make it synchronized instead of explicit block in this
2041         method.
2042         * java/io/RandomAccessFile.java:
2043         Merged class documentation and authors with classpath.
2044
2045 2003-03-26  Tom Tromey  <tromey@redhat.com>
2046
2047         * java/lang/natRuntime.cc (insertSystemProperties): Set
2048         gnu.classpath.home.url.
2049         * Makefile.in: Rebuilt.
2050         * Makefile.am: Define LIBDIR.
2051
2052 2003-03-25  Michael Koch  <konqueror@gmx.de>
2053
2054         * java/io/FileInputStream.java
2055         (read): Renamed b to buf and off to offset.
2056         * java/io/FileOutputStream.java
2057         (ch): Documentation added.
2058         (FileOutputStream): Documentation added.
2059         (getFD): Documentation added.
2060         (write): Documentation added.
2061         (close): Documentation added.
2062         (getChannel): Documentation added.
2063
2064 2003-03-24  Michael Koch  <konqueror@gmx.de>
2065
2066         * java/io/DataOutputStream.java
2067         (write): Merged from classpath.
2068         * java/io/File.java:
2069         Merged copyrigth with classpath.
2070         * java/io/FileInputStream.java
2071         (getChannel): Made it synchronized instead of using a synchronized
2072         block.
2073         * java/io/FileOutputStream.java: Reformatted.
2074         * java/io/InputStreamReader.java
2075         (InputStreamReader): Renamed enc to encoding_name.
2076         (close): Merged documentation from classpath.
2077         (getEncoding): Merged documentation from classpath.
2078         (ready): Merged documentation from classpath.
2079         (read): Merged documentation from classpath.
2080         * java/io/LineNumberReader.java
2081         (lineNumber): Made it private.
2082         (LineNumberReader): Use Constant instead of a direct value.
2083         * java/io/OutputStreamWriter.java
2084         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2085         documentation from classpath.
2086         (close): Merged documentation from classpath.
2087         (flush): Merged documentation from classpath.
2088         (write): Merged documentation from classpath.
2089         * java/io/PrintStream.java: Reformatted.
2090
2091 2003-03-24  Michael Koch  <konqueror@gmx.de>
2092
2093         * javax/swing/text/ComponentView.java
2094         (getComponent): Must be final.
2095         * javax/swing/tree/DefaultTreeCellRenderer.java:
2096         Reformatted.
2097         * javax/swing/undo/StateEditable.java:
2098         Reformatted.
2099
2100 2003-03-24  Michael Koch  <konqueror@gmx.de>
2101
2102         * java/rmi/activation/ActivationInstantiator.java:
2103         Reformatted.
2104         * java/rmi/activation/Activator.java:
2105         Reformatted.
2106         * java/rmi/registry/RegistryHandler.java:
2107         Remerged from classpath.
2108
2109 2003-03-24  Michael Koch  <konqueror@gmx.de>
2110
2111         * java/util/Date.java:
2112         Fixed documentation starting tag to make javadoc happy.
2113         * java/util/regex/Pattern.java
2114         (Pattern): Implements Serializable.
2115         * java/util/PatternSyntaxException.java
2116         (serialVersionUID): New member variable.
2117
2118 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2119
2120         * java/awt/ContainerOrderFocusTraversalPolicy.java
2121         (getFirstComponent): Implemented.
2122         (getLastComponent): Implemented.
2123         (getDefaultComponent): Implemented.
2124         (setImplicitDownCycleTraversal): Fixed implementation.
2125         * java/awt/Robot.java
2126         (Robot): Added documentation.
2127         * java/awt/Toolkit.java
2128         (getFontList): Deprecated.
2129         (getFontMetrics): Deprecated.
2130         (getPrintJob): Added documentation.
2131         (getSystemSelection): Added documentation.
2132         (getLockingKeyState): Added documentation.
2133         (setLockingKeyState): Added documentation.
2134         (createCustomCursor): Added documentation.
2135         (getBestCursorSize): Added documentation.
2136         (getMaximumCursorColors): Added documentation.
2137         (isFrameStateSupported): Added documentation.
2138
2139 2003-03-24  Michael Koch  <konqueror@gmx.de>
2140
2141         * java/io/RandomAccessFile.java:
2142         More little merges with classpath. No code changes.
2143
2144 2003-03-24  Michael Koch  <konqueror@gmx.de>
2145
2146         * java/net/natInetAddressNoNet.cc:
2147         Include stddef.h.
2148         * java/net/natPlainDatagramSocketImplNoNet.cc:
2149         Fixed inlcude of java/net/DatagramPacket.h.
2150         * java/net/natPlainSocketImplNoNet.cc:
2151         Include some missing classes.
2152
2153 2003-03-24  Michael Koch  <konqueror@gmx.de>
2154
2155         * java/awt/dnd/DropTarget.java
2156         (DropTargetAutoScroller): According to the online documentation, this
2157         is protected, but in reality it is public.
2158         * java/awt/dnd/DropTargetContext.java
2159         (TransferableProxy): According to the online documentation, this
2160         is protected, but in reality it is public.
2161
2162 2003-03-24  Michael Koch  <konqueror@gmx.de>
2163
2164         * java/io/DataInputStream.java
2165         (): Wrapped documentation line.
2166         (): Fixed @return tag.
2167         * java/io/DataOutputStream.java
2168         (written): Moved to top of class.
2169         (all methods): Merged documentation from classpath.
2170         * java/io/File.java:
2171         Merged copyright year with classpath.
2172         * java/io/FileInputStream.java
2173         (all methods): Merged documentation from classpath.
2174         * java/io/LineNumberReader.java
2175         (getLineNumber): Fixed @return tag.
2176         * java/io/ObjectInputStream.java.
2177         Reformatted.
2178         * java/io/ObjectOutputStream.java:
2179         Reformatted, fixed some @see tags.
2180         * java/io/OutputStreamWriter.java:
2181         Deleted empty line.
2182         * java/io/Writer.java:
2183         Reformatted.
2184
2185 2003-03-24  Michael Koch  <konqueror@gmx.de>
2186
2187         * java/awt/Frame.java
2188         (DEFAULT_CURSOR): Fixed @deprecated tag.
2189         (setCursor): Fixed @deprecated tag.
2190
2191 2003-03-24  Michael Koch  <konqueror@gmx.de>
2192
2193         * java/beans/beancontext/BeanContextEvent.java:
2194         Reformated.
2195
2196 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2197
2198         * java/lang/natStringBuffer.cc (regionMatches): New function.
2199         * java/lang/String.java (count): Now package-private.
2200         * java/lang/StringBuffer.java: Merged with Classpath.
2201
2202 2003-03-23  Michael Koch  <konqueror@gmx.de>
2203
2204         * java/io/BufferedOutputStream.java:
2205         Reformated.
2206         * java/io/BufferedReader.java:
2207         Reformated.
2208         * java/io/ByteArrayOutputStream.java
2209         (size): Fixed @see tag.
2210         * java/io/CharArrayWriter.java
2211         (size): Fixed @see tag.
2212         * java/io/DataInput.java:
2213         Reformated.
2214         * java/io/DataOutput.java:
2215         Reformated.
2216         * java/io/DataOutputStream.java:
2217         Merged copyright years with classpath.
2218         * java/io/Externalizable.java:
2219         Reformated.
2220         * java/io/FileFilter.java:
2221         Reformated.
2222         * java/io/FileInputStream.java:
2223         Merged copyright years with classpath.
2224         * java/io/FileOutputStream.java:
2225         Merged copyright years with classpath.
2226         * java/io/FilePermission.java
2227         (FilePermission): Replaced @XXX with FIXME:.
2228         * java/io/FileWriter.java:
2229         Reformated.
2230         * java/io/FilenameFilter.java:
2231         Reformated.
2232         * java/io/FilterInputStream.java:
2233         Reformated.
2234         * java/io/FilterOutputStream.java:
2235         Reformated.
2236         * java/io/FilterReader.java:
2237         Reformated.
2238         * java/io/FilterWriter.java:
2239         Reformated.
2240         * java/io/LineNumberInputStream.java
2241         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2242         happy.
2243         (getLineNumber): Fixed @return tag.
2244         * java/io/ObjectInput.java:
2245         Reformated.
2246         * java/io/ObjectOutput.java:
2247         Reformated.
2248         * java/io/ObjectStreamClass.java:
2249         Reformated.
2250         * java/io/PrintStream.java:
2251         Merged copyright years with classpath.
2252         * java/io/PushbackReader.java
2253         (PushbackReader): Replaced @code with @param.
2254         * java/io/SerializablePermission.java:
2255         Reformated.
2256         * java/io/StreamTokenizer.java
2257         (resetSyntax): Fixed @see tag.
2258
2259 2003-03-22  Richard Henderson  <rth@redhat.com>
2260
2261         * sysdep/ia64/locks.h: Include ia64intrin.h.
2262         (compare_and_swap): Use __sync_bool_compare_and_swap.
2263         (compare_and_swap_release): Expose ar.ccv assignment.
2264
2265 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2266
2267         * include/posix.h: Add suffix for darwin dynamic libraries.
2268
2269 2003-03-21  Michael Koch  <konqueror@gmx.de>
2270
2271         * javax/swing/Action.java
2272         (ACCELERATOR_KEY): New constant.
2273         (ACTION_COMMAND_KEY): Likewise.
2274         (MNEMONIC_KEY): Likewise.
2275         * javax/swing/UnsupportedLookAndFeelException.java
2276         (UnsupportedLookAndFeelException): Must be public.
2277         * javax/swing/WindowConstants.java
2278         (EXIT_ON_CLOSE): New constant.
2279         * javax/swing/text/BadLocationException.java
2280         (offset): New member variable.
2281         (BadLocationException): New implementation, documentation added.
2282         (offsetRequested): New method.
2283         * javax/swing/text/Caret.java:
2284         Reformated.
2285         * javax/swing/text/Document.java:
2286         Reformated.
2287
2288 2003-03-21  Michael Koch  <konqueror@gmx.de>
2289
2290         * java/rmi/activation/Activatable.java
2291         (serialVersionUID): New member variable.
2292         * java/rmi/activation/ActivationGroup.java
2293         (serialVersionUID): New member variable.
2294         * java/rmi/activation/ActivationGroupDesc.java
2295         (serialVersionUID): New member variable.
2296         * java/rmi/registry/Registry.java:
2297         Reformated.
2298         (Registry): Deprecated.
2299         * java/rmi/server/LoaderHandler.java
2300         Reformated.
2301         (LoaderHandler): Deprecated.
2302         * java/rmi/server/LogStream.java
2303         Reformated.
2304         (LogStream): Deprecated.
2305         * java/rmi/server/Operation.java
2306         (Operation): Deprecated.
2307         * java/rmi/server/RMIFailureHandler.java:
2308         Reformated.
2309         * java/rmi/server/RMISocketFactory.java:
2310         Reformated.
2311         * java/rmi/server/RemoteCall.java
2312         (RemoteCall): Deprecated.
2313         * java/rmi/server/RemoteStub.java:
2314         Reformated.
2315         * java/rmi/server/Skeleton.java
2316         Reformated.
2317         (Skeleton): Deprecated.
2318
2319 2003-03-21  Michael Koch  <konqueror@gmx.de>
2320
2321         * java/io/LineNumberReader.java
2322         (LineNumberReader): Merged documentation with classpath.
2323         (getLineNumber): Likewise.
2324         (setLineNumber): Likewise.
2325         (mark): Likewise.
2326         (reset): Likewise.
2327         (read): Likewise.
2328         (readLine): Likewise.
2329         (skip): Likewise.
2330
2331 2003-03-21  Michael Koch  <konqueror@gmx.de>
2332
2333         * java/rmi/RMISecurityManager.java
2334         (checkAccept): Removed.
2335         (checkAccess): Likewise.
2336         (checkAccess): Likewise.
2337         (checkAwtEventQueueAccess): Likewise.
2338         (checkConnect): Likewise.
2339         (checkCreateClassLoader): Likewise.
2340         (checkDelete): Likewise.
2341         (checkExec): Likewise.
2342         (checkExit): Likewise.
2343         (checkLink): Likewise.
2344         (checkListen): Likewise.
2345         (checkMemberAccess): Likewise.
2346         (checkMulticast): Likewise.
2347         (checkPackageAccess): Likewise.
2348         (checkPackageDefinition): Likewise.
2349         (checkPermission): Likewise.
2350         (checkPrintJobAccess): Likewise.
2351         (checkPropertiesAccess): Likewise.
2352         (checkPropertyAccess): Likewise.
2353         (checkRead): Likewise.
2354         (checkSecurityAccess): Likewise.
2355         (checkSetFactory): Likewise.
2356         (checkSystemClipboardAccess): Likewise.
2357         (checkTopLevelWindow): Likewise.
2358         (checkWrite): Likewise.
2359
2360 2003-03-20  Michael Koch  <konqueror@gmx.de>
2361
2362         * gnu/java/nio/FileChannelImpl.java
2363         (address): Removed.
2364         (map_address): New member variable.
2365         (length): Make it package private.
2366         (fd): Make it package private.
2367         (buf): Make it package private.
2368         (file_obj): Make it package private.
2369         (FileChannelImpl): New constructor.
2370         (nio_mmap_file): Use RawData instead of long.
2371         (nio_munmap_file): Use RawData instead of long.
2372         (nio_msync): Use RawData instead of long.
2373         (implCloseChannel): New implementation using map_address.
2374         (read): Reformated.
2375         (map): Implemented.
2376         (create_direct_mapped_buffer): Implemented, use RawData, throws
2377         IOException.
2378         (force): Use map_address instead of address.
2379         * gnu/java/nio/MappedByteFileBuffer.java
2380         (address): Removed.
2381         (map_address): New member variable.
2382         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2383         (several methods): Use map_address instead of address, replaced long
2384         with RawData where appropriate.
2385         * gnu/java/nio/natFileChannelImpl.cc
2386         (nio_mmap_file): Replaced long with RawData.
2387         (nio_munmap_file): Replaced long with RawData.
2388         (nio_msync): Replaced long with RawData.
2389         * gnu/java/nio/natMappedByteFileBuffer.cc
2390         (several methods): Replaced long with RawData where appropriate.
2391
2392 2003-03-20  Michael Koch  <konqueror@gmx.de>
2393
2394         * java/net/InetAddress.java,
2395         java/net/JarURLConnection.java,
2396         java/net/PlainDatagramSocketImpl.java,
2397         java/net/PlainSocketImpl.java,
2398         java/net/URLConnection.java:
2399         Merged copyright statements with classpath for easier merging.
2400
2401 2003-03-20  Michael Koch  <konqueror@gmx.de>
2402
2403         * java/io/FileInputStream.java
2404         (getChannel): New implementation.
2405         * java/io/FileOutputStream.java
2406         (ch): New member variable.
2407         (getChannel): Implemented.
2408         * java/io/RandomAccessFile.java
2409         (RandomAccessFile): Throws FileNotFoundException instead of
2410         IOException.
2411         (getChannel): New method.
2412         (ch): New member variable.
2413
2414 2003-03-20  Michael Koch  <konqueror@gmx.de>
2415
2416         * java/io/DataOutputStream.java,
2417         java/io/File.java,
2418         java/io/FileInputStream.java,
2419         java/io/FileOutputStream.java,
2420         java/io/InputStreamReader.java,
2421         java/io/LineNumberReader.java,
2422         java/io/OutputStreamWriter.java,
2423         java/io/PrintStream.java,
2424         java/io/RandomAccessFile.java:
2425         Merged copyright statements with classpath for easier merging.
2426
2427 2003-03-19  Michael Koch  <konqueror@gmx.de>
2428
2429         * java/lang/Process.java:
2430         Merged from classpath.
2431
2432 2003-03-19  Michael Koch  <konqueror@gmx.de>
2433
2434         * java/io/FileOutputStream.java
2435         (FileOutputStream): New constructor, merged from classpath.
2436         * java/io/FileWriter.java
2437         (FileWriter): New constructor, merged from classpath.
2438
2439 2003-03-18  Michael Koch  <konqueror@gmx.de>
2440
2441         * java/awt/ScrollPane.java
2442         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2443         (getViewportSize): Likewise.
2444         (addNotify): Likewise.
2445         (removeNotify): Likewise.
2446         * java/awt/ScrollPaneAdjustable.java
2447         (ScrollPaneAdjustable): No longer extends Scrollbar.
2448         * java/beans/beancontext/BeanContextServices.java:
2449         Reformated.
2450         (getService): Added throws TooManyListenersException;
2451         * java/beans/beancontext/BeanContextServicesSupport.java:
2452         Reformated.
2453
2454 2003-03-18  Michael Koch  <konqueror@gmx.de>
2455
2456         * java/io/BufferedOutputStream.java,
2457         java/io/DataInput.java,
2458         java/io/DataInputStream.java,
2459         java/io/DataOutput.java,
2460         java/io/Externalizable.java:
2461         More merges from classpath.
2462
2463 2003-03-18  Michael Koch  <konqueror@gmx.de>
2464
2465         * configure.in: Fixed links to platform dependant java.net files.
2466         * configure: Regenerated.
2467         * java/net/natInetAddress.cc,
2468         java/net/natNetworkInterface.cc,
2469         java/net/natPlainDatagramSocketImpl.cc,
2470         java/net/natPlainSocketImpl.cc:
2471         Removed.
2472
2473 2003-03-18  Michael Koch  <konqueror@gmx.de>
2474
2475         * configure.in: Create links to architecture dependent files,
2476         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2477         * configure: Regenerated.
2478         * java/net/natInetAddressNoNet.cc,
2479         java/net/natInetAddressPosix.cc,
2480         java/net/natInetAddressWin32.cc,
2481         java/net/natNetworkInterfaceNoNet.cc,
2482         java/net/natNetworkInterfacePosix.cc,
2483         java/net/natNetworkInterfaceWin32.cc,
2484         java/net/natPlainDatagramSocketImplNoNet.cc,
2485         java/net/natPlainDatagramSocketImplPosix.cc,
2486         java/net/natPlainDatagramSocketImplWin32.cc,
2487         java/net/natPlainSocketImplNoNet.cc,
2488         java/net/natPlainSocketImplPosix.cc,
2489         java/net/natPlainSocketImplWin32.cc: New files.
2490
2491 2003-03-18  Michael Koch  <konqueror@gmx.de>
2492
2493         * java/io/BufferedReader.java,
2494         java/io/BufferedWriter.java,
2495         java/io/ByteArrayOutputStream.java,
2496         java/io/FileFilter.java,
2497         java/io/FilePermission.java,
2498         java/io/FileReader.java,
2499         java/io/FileWriter.java,
2500         java/io/FilenameFilter.java,
2501         java/io/FilterInputStream.java,
2502         java/io/FilterOutputStream.java,
2503         java/io/FilterReader.java,
2504         java/io/FilterWriter.java,
2505         java/io/ObjectInput.java,
2506         java/io/ObjectInputValidation.java,
2507         java/io/ObjectOutput.java,
2508         java/io/ObjectStreamField.java,
2509         java/io/PipedInputStream.java,
2510         java/io/PipedReader.java,
2511         java/io/PrintWriter.java,
2512         java/io/PushbackReader.java,
2513         java/io/Reader.java,
2514         java/io/SerializablePermission.java,
2515         java/io/StringReader.java,
2516         java/io/Writer.java:
2517         Merged from classpath.
2518
2519 2003-03-17  Michael Koch  <konqueror@gmx.de>
2520
2521         * java/awt/ScrollPaneAdjustable.java:
2522         Compile fixes.
2523         
2524 2003-03-17  Michael Koch  <konqueror@gmx.de>
2525
2526         * java/net/DatagramSocket.java
2527         (connect): Fixed comment.
2528         * java/nio/ByteBuffer.java
2529         (hasArray): Fixed comment.
2530
2531 2003-03-17  Michael Koch  <konqueror@gmx.de>
2532
2533         * java/beans/Beans.java:
2534         Explicitely import classes not packages.
2535         * java/beans/FeatureDescriptor.java
2536         (preferred): New member variable.
2537         (isPreferred): New method.
2538         (setPreferred): New method.
2539         * java/beans/PropertyEditorManager.java:
2540         Explicitely import used classes.
2541         * java/beans/beancontext/BeanContextChild.java:
2542         Added line wrapping.
2543         * java/beans/beancontext/BeanContextChildSupport.java:
2544         Reindented.
2545         * java/beans/beancontext/BeanContextEvent.java:
2546         Reindented.
2547
2548 2003-03-17  Michael Koch  <konqueror@gmx.de>
2549
2550         * java/awt/Dialog.java
2551         (Dialog): New constructor, changed implementations, added
2552         documentation.
2553         * java/awt/ScrollPaneAdjustable.java
2554         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2555         Serializable.
2556         (serialVersionUID): New member variable.
2557         (sp): New member variable.
2558         (orientation): New member variable.
2559         (value): New member variable.
2560         (minimum): New member variable.
2561         (maximum): New member variable.
2562         (visibleAmount): New member variable.
2563         (unitIncrement): New member variable.
2564         (blockIncrement): New member variable.
2565         (AdjustmentListener): New member variable.
2566         (ScrollPaneAdjustable): New implementation.
2567         (addAdjustmentListener): New method.
2568         (removeAdjustmentListener): New method.
2569         (getAdjustmentListeners): New method.
2570         (getBlockIncrement): New method.
2571         (getMaximum): New method.
2572         (getMinimum): New method.
2573         (getOrientation): New method.
2574         (getUnitIncrement): New method.
2575         (getValue): New method.
2576         (getVisibleAmount): New method.
2577         (setBlockIncrement): New method.
2578         (setMaximum): Implemented.
2579         (setMinimum): Implemented.
2580         (setUnitIncrement): New method.
2581         (setValue): New method.
2582         (setVisibleAmount): Implemented. 
2583         (paramString): New stubbed method.
2584         * java/awt/Window.java
2585         (show): Call setVisible().
2586         (hide): Call setVisible().
2587         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2588         and WINDOW_STATE_CHANGED.
2589         (processWindowFocusEvent): New method.
2590         (processWindowStateEvent): New method.
2591         (postEvent): Deprecated.
2592         (applyResourceBundle): Deprecated.
2593         * java/awt/datatransfer/DataFlavor.java
2594         (DataFlavor): Doesn't thow ClassNotFoundException.
2595
2596 2003-03-17  Michael Koch
2597
2598         * javax/print/attribute/Attribute.java,
2599         javax/print/attribute/AttributeSet.java,
2600         javax/print/attribute/PrintRequestAttributeSet.java:
2601         New files.
2602         * Makefile.am
2603         (javax_source_files): Added new files:
2604         javax/print/attribute/Attribute.java
2605         javax/print/attribute/AttributeSet.java
2606         javax/print/attribute/PrintRequestAttributeSet.java
2607         * Makefile.in: Regenerated.
2608
2609 2003-03-17  Michael Koch
2610
2611         * javax/print/attribute/Attribute.java,
2612         javax/print/attribute/AttributeSet.java,
2613         javax/print/attribute/PrintRequestAttributeSet.java:
2614         New files.
2615         * Makefile.am
2616         (awt_java_source_files): Added new files:
2617         javax/print/attribute/Attribute.java
2618         javax/print/attribute/AttributeSet.java
2619         javax/print/attribute/PrintRequestAttributeSet.java
2620         * Makefile.in: Regenerated.
2621
2622 2003-03-16  Tom Tromey  <tromey@redhat.com>
2623
2624         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2625         Include platform.h.
2626         * java/lang/natRuntime.cc (insertSystemProperties): Use
2627         _Jv_platform_path_separator.
2628         (nativeGetLibname): Use _Jv_platform_file_separator.
2629         (_load): Use _Jv_platform_onload_names.
2630         (onload_names): New global.
2631         * include/win32.h (_Jv_platform_file_separator): New define.
2632         (_Jv_platform_path_separator): Likewise.
2633         (_Jv_platform_onload_names): Likewise.
2634         (_Jv_platform_ffi_abi): Likewise.
2635         * include/posix.h (_Jv_platform_file_separator): New define.
2636         (_Jv_platform_path_separator): Likewise.
2637         (_Jv_platform_onload_names): Likewise.
2638         (_Jv_platform_ffi_abi): Likewise.
2639
2640 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2641
2642         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2643
2644 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2645
2646         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2647         hierarchy loop.
2648         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2649         list to Object,ObjectStreamClass, moved callReadMethod code up into
2650         readObject and added Class argument to all setXxxField calls.
2651         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2652         consistent with ObjectOutputStream and to facilitate caching the
2653         Method in the future.
2654         (setBooleanField): Added Class argument.
2655         (setByteField): Likewise.
2656         (setCharField): Likewise.
2657         (setDoubleField): Likewise.
2658         (setFloatField): Likewise.
2659         (setIntField): Likewise.
2660         (setLongField): Likewise.
2661         (setShortField): Likewise.
2662         (setObjectField): Likewise.
2663         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2664         class hierarchy loop.
2665         (defaultWriteObject): Call writeFields with new argument list.
2666         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2667         list to Object,ObjectStreamClass, moved callWriteMethod up into
2668         writeObject and added Class argument to all getXxxField calls.
2669         (callWriteMethod): Added ObjectStreamClass argument to be able to
2670         get the proper class to call getMethod on (each class can have (or
2671         not have) its own writeObject method).
2672         (getBooleanField): Added Class argument.
2673         (getByteField): Likewise.
2674         (getCharField): Likewise.
2675         (getDoubleField): Likewise.
2676         (getFloatField): Likewise.
2677         (getIntField): Likewise.
2678         (getLongField): Likewise.
2679         (getShortField): Likewise.
2680         (getObjectField): Likewise.
2681         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2682         facilitate caching the Method object in the future.
2683
2684 2003-03-12  Andreas Schwab  <schwab@suse.de>
2685
2686         * configure.in: Avoid trailing /. in toolexeclibdir.
2687         * configure: Rebuilt.
2688
2689 2003-03-11  Michael Koch  <konqueror@gmx.de>
2690
2691         * gnu/java/nio/ByteBufferImpl.java
2692         (putInt): Use limit() instead of limit.
2693         * gnu/java/nio/CharBufferImpl.java
2694         (slice): Fixed implementation.
2695         (subSequence): Better bounds checking.
2696         * gnu/java/nio/MappedByteFileBuffer.java:
2697         Import all needed classes directly.
2698         * java/nio/ByteBuffer.java
2699         (hashCode): New dummy method.
2700         * java/nio/CharBuffer.java
2701         (array_offset): New member variable.
2702         (hasArray): Fixed documentation.
2703         (arrayOffset): Return array_offset.
2704
2705 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2706
2707         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2708         setter; made return value of getter const char* instead of char*
2709         * prims.cc: removed all references to _Jv_ThisExecutable().
2710         These are in the platform-specific sections now.
2711         * posix.cc: define platform-specific _Jv_ThisExecutable().
2712         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2713         * win32.cc: define platform-specific _Jv_ThisExecutable()
2714         using GetModuleFilename()
2715         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2716         to argv[0] instead of _Jv_ThisExecutable()
2717
2718 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2719
2720         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2721         that is set if we are using addr2name.awk instead of addr2line.
2722         (NameFinder): Set usingAddr2name if using addr2name.awk.
2723         (getExternalLabel): New native method to convert a method 
2724         name to an external label.
2725         (lookup): Convert name given by addr2line to an external label
2726         before demangling.
2727
2728         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2729         constant representing the prefix attached to method names to
2730         convert them to an external label.
2731         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2732         using LABEL_PREFIX.
2733
2734 2003-03-10  Tom Tromey  <tromey@redhat.com>
2735
2736         * Makefile.in: Rebuilt.
2737         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2738         (JC1FLAGS): Removed -Wno-deprecated.
2739
2740 2003-03-10  Michael Koch  <konqueror@gmx.de>
2741
2742         * java/nio/ByteOrder.java
2743         (nativeOrder): Working implementation, added documentation.
2744         (toString): Added documentation.
2745
2746 2003-03-10  Michael Koch  <konqueror@gmx.de>
2747
2748         * java/net/DatagramSocket.java,
2749         java/net/MulticastSocket.java,
2750         java/net/Socket.java,
2751         java/net/URL.java,
2752         java/net/URLConnection.java:
2753         Fixed some documentation tags to make javadoc and friends happy.
2754
2755 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2756
2757         * java/beans/beancontext/BeanContextServicesSupport.java,
2758         java/beans/beancontext/BeanContextSupport.java: New files.
2759         * Makefile.am
2760         (awt_source_files): Added new files.
2761         * Makefile.in: Regenerated.
2762
2763 2003-03-10  Michael Koch  <konqueror@gmx.de>
2764
2765         * java/awt/FocusTraversalPolicy.java
2766         (FocusTraversalPolicy): Documentation added.
2767         (getComponentAfter): Documentation added.
2768         (getComponentBefore): Documentation added.
2769         (getFirstComponent): Documentation added.
2770         (getLastComponent): Documentation added.
2771         (getDefaultComponent): Documentation added.
2772         (getInitialComponent): Documentation added.
2773         * java/awt/ScrollPaneAdjustable.java
2774         (sp): New member variable.
2775         (orientation): New member variable.
2776         (value): New member variable.
2777         (minimum): New member variable.
2778         (maximum): New member variable.
2779         (visibleAmount): New member variable.
2780         (unitIncrement): New member variable.
2781         (blockIncrement): New member variable.
2782         (adjustmentListener): New member variable.
2783         (ScrollPaneAdjustable): Rewrote.
2784         (addAdjustmentListener): New method.
2785         (removeAdjustmentListener): New method.
2786         (getAdjustmentListeners): New method.
2787         (getBlockIncrement): New method.
2788         (getMaximum): New method.
2789         (getMinimum): New method.
2790         (getOrientation): New method.
2791         (getUnitIncrement): New method.
2792         (getValue): New method.
2793         (getVisibleAmount): New method.
2794         (setBlockIncrement): New method.
2795         (setUnitIncrement): New method.
2796         (setMaximum): Implemented.
2797         (setMinimum): Implemented.
2798         (setValue): New method.
2799         (setVisibleAmount): Implemented.
2800         (paramString): New method.
2801         * java/awt/Window.java
2802         (show): Use setVisible(true) instead of super.show().
2803         (hide): Use sevVisible(false) instead of super.hide().
2804         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2805         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2806         (postEvent): Deprecated.
2807         (applyResourceBundle): Deprecated.
2808         (processWindowFocusEvent): New method.
2809         (processWindowStateEvent): New method.
2810         * java/awt/datatransfer/DataFlavor.java: Reindented.
2811         * java/awt/font/TextHitInfo.java
2812         (charIndex): New member variable.
2813         (leadingEdge): New member variable.
2814         (TextHitInfo): New constructor.
2815         (getCharIndex): Implemented.
2816         (isLeadingEdge): Implemented.
2817         (getInsertionIndex): Implemented.
2818         (hashCode): Access charIndex directly.
2819         (equals): Reformated.
2820         (leading): Implemented.
2821         (trailing): Implemented.
2822         (beforeOffset): Implemented.
2823         (afterOffset): Implemented.
2824         (getOtherHit): Implemented.
2825         (getOffsetHit): Implemented.
2826         (toString): Implemented.
2827         * java/awt/image/BufferedImage.java
2828         (BufferedImage): Implements WritableRenderedImage.
2829         (observers): New member variable.
2830         (addTileObserver): New method.
2831         (removeTileObserver): New method.
2832
2833 2003-03-09  Tom Tromey  <tromey@redhat.com>
2834
2835         PR libgcj/9934:
2836         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2837         to lseek.  Return 0 if we can't compute the value.
2838
2839 2003-03-03  Michael Koch  <konqueror@gmx.de>
2840
2841         * java/net/NetworkInterface.java: Merged with classpath.
2842
2843 2003-03-03  Tom Tromey  <tromey@redhat.com>
2844
2845         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2846         of bytecode.
2847         (handle_ret_insn): Fail if returning to jsr that appears at end of
2848         bytecode.
2849
2850 2003-03-03  Michael Koch  <konqueror@gmx.de>
2851
2852         * Makefile.am
2853         (ordinary_java_source_files):
2854         Added gnu/java/nio/MappedByteFileBuffer.java.
2855         (nat_source_files):
2856         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2857         * Makefile.in: Regenerated.
2858
2859 2003-03-03  Michael Koch  <konqueror@gmx.de>
2860
2861         * java/net/DatagramSocket.java
2862         (connect): Merged comment from classpath.
2863         (receive): Merged documentation from classpath.
2864         * java/net/Socket.java
2865         (setSoTimeout): Clarified documentation.
2866         * java/net/URL.java
2867         (getPath): Merged from classpath.
2868         (getUserInfo): Merged from classpath.
2869         (getQuery): Merged from classpath.
2870         * java/net/URLStreamHandler.java
2871         (toExternalForm): Merged from classpath.
2872
2873 2003-03-02  Mark Wielaard  <mark@klomp.org>
2874
2875         * java/util/Properties.java (load): Only skip line if the first
2876         character is a comment, whitespaces don't count.
2877
2878 2003-03-02  Michael Koch  <konqueror@gmx.de>
2879
2880         * java/net/NetPermission.java:
2881         Merged copyright with classpath.
2882
2883 2003-03-02  Michael Koch  <konqueror@gmx.de>
2884
2885         * java/lang/Package.java:
2886         Remerged from classpath.
2887
2888 2003-03-02  Michael Koch  <konqueror@gmx.de>
2889
2890         * java/net/HttpURLConnection.java
2891         (HTTP_SERVER_ERROR): Deprecated.
2892         * java/net/MulticastSocket.java
2893         (send): Replaced checkMulticast with appropriate checkPermission call,
2894         deprecated.
2895         * java/net/URLDecoder.java
2896         (decode): Deprecated.
2897         * java/net/URLEncoder.java
2898         (encode): Deprecated.
2899
2900 2003-03-02  Michael Koch  <konqueror@gmx.de>
2901
2902         * javax/swing/text/Caret.java
2903         (getMagicCaretPosition): Fixed typo in method name.
2904         * javax/swing/text/DefaultCaret.java
2905         (getMagicCaretPosition): Fixed typo in method name.
2906
2907 2003-03-02  Michael Koch  <konqueror@gmx.de>
2908
2909         * java/awt/List.java
2910         (setMultipleSelections): Deprecated.
2911         (delItem): Deprecated.
2912         * java/awt/MenuComponent.java
2913         (getPeer): Deprecated.
2914         * java/awt/ScrollPane.java
2915         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2916         * java/awt/dnd/MouseDragGestureRecognizer.java
2917         (mouseClicked): Added comment.
2918         (mousePressed): Added comment.
2919         (mouseReleased): Added comment.
2920         (mouseEntered): Added comment.
2921         (mouseExited): Added comment.
2922         (mouseDragged): Added comment.
2923         (mouseMoved): Added comment.
2924         * java/awt/event/KeyEvent.java
2925         (KeyEvent): Deprecated.
2926         (setModifiers): Deprecated.
2927         
2928 2003-03-02  Michael Koch  <konqueror@gmx.de>
2929
2930         * gnu/java/nio/FileChannelImpl.java
2931         (fd): Type FileDescriptor instead of int.
2932         (lengthInternal): Removed.
2933         (FileChannelImpl): Fixed arguments, check type of file object.
2934         (size): Made it native.
2935         (implPosition): New native method.
2936         (implTruncate): New native method.
2937         (position): Implemented.
2938         (truncate): Implemented.
2939         (nio_mmap_file): Changed arguments.
2940         (nio_munmap_file): Changed arguments.
2941         (nio_msync): Changed arguments.
2942         * gnu/java/nio/natFileChannelImpl.cc
2943         (lengthInternal): Removed.
2944         (size): New method.
2945         (implPosition): New method.
2946         (implTruncate): New method.
2947         (nio_mmap_file): Changed arguments.
2948         (nio_munmap_file): Changed arguments.
2949         (nio_msync): Changed arguments.
2950
2951 2003-03-02  Michael Koch  <konqueror@gmx.de>
2952
2953         * java/awt/dnd/DropTargetContext.java:
2954         Compile fix: Forgot to commit import.
2955         
2956 2003-03-02  Michael Koch  <konqueror@gmx.de>
2957
2958         * java/awt/Component.java,
2959         java/awt/ScrollPane.java:
2960         Fixed typos.
2961
2962 2003-03-02  Michael Koch  <konqueror@gmx.de>
2963
2964         * java/awt/dnd/DnDEventMulticaster.java: New file.
2965         * java/awt/dnd/DragSource.java
2966         (flavorMap): New member variable.
2967         (dragSourceListener): New member variable.
2968         (dragSourceMotionListener): New member variable.
2969         (getFlavorMap): Implemented.
2970         (createDragGestureRecognizer): Implemented.
2971         (addDragSourceListener): Implemented.
2972         (removeDragSourceListener): Implemented.
2973         (getDragSourceListeners): Implemented.
2974         (addDragSourceMotionListener): Implemented.
2975         (removeDragSourceMotionListener): Implemented.
2976         (getDragSourceMotionListeners): Implemented.
2977         (getListeners): Implemented.
2978         * java/awt/dnd/DragSourceContext.java
2979         (peer): New member variable.
2980         (cursor): New member variable.
2981         (transferable): New member variable.
2982         (trigger): New member variable.
2983         (dragSourceListener): New member variable.
2984         (image): New member variable.
2985         (offset): New member variable.
2986         (DragSourceContext): Implemented.
2987         (getDragSource): Implemented.
2988         (getComponent): Implemented.
2989         (getTrigger): Implemented.
2990         (getSourceActions): Implemented.
2991         (setCursor): Implemented.
2992         (getCursor): Implemented.
2993         (addDragSourceListener): Implemented.
2994         (removeDragSourceListener): Implemented.
2995         (getTransferable): Implemented.
2996         * java/awt/dnd/DropTarget.java
2997         (DropTargetAutoScroller.component): New member variable.
2998         (DropTargetAutoScroller.point): New member variable.
2999         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3000         (DropTargetAutoScroller.updateLocation): Implemented.
3001         (active): Renamed from isActive, defaults to true now.
3002         (component): New member variable.
3003         (flavorMap): New member variable.
3004         (actions): New member variable.
3005         (dropTargetContext): New member variable.
3006         (dropTargetListener): New member variable.
3007         (DropTarget): Implemented.
3008         (getComponent): Implemented.
3009         (setComponent): Implemented.
3010         (setDefaultActions): Implemented.
3011         (getDefaultActions): Implemented.
3012         (setActive): Use active instead of isActive.
3013         (isActive): Use active instead of isActive.
3014         (addDropTargetListener): Implemented.
3015         (removeDropTargetListener): Implemented.
3016         (getFlavorMap): Implemented.
3017         (setFlavorMap): Implemented.
3018         (getDropTargetContext): Implemented.
3019         (createDropTargetContext): Implemented.
3020         (createDropTargetAutoScroller): Implemented.
3021         * java/awt/dnd/DropTargetContext.java
3022         (TransferableProxy.getTransferDataFlavors): Implemented.
3023         (TransferableProxy.isDataFlavorSupported): Implemented.
3024         (TransferableProxy.getTransferData): Implemented.
3025         (dropTarget):  New member variable.
3026         (dtcp): New member variable.
3027         (DropTargetContext): New package private constructor.
3028         (getDropTarget): Implemented.
3029         (getComponent): Implemented.
3030         (addNotify): Implemented.
3031         (removeNotify): Implemented.
3032         (getCurrentDataFlavorsAsList): Implemented.
3033         (isDataFlavorSupported): Implemented.
3034         * java/awt/dnd/MouseDragGestureRecognizer.java
3035         (registerListeners): Implemented.
3036         (unregisterListeners): Implemented.
3037         * Makefile.am
3038         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3039         * Makefile.in: Regenerated.
3040
3041 2003-03-02  Michael Koch  <konqueror@gmx.de>
3042
3043         * java/awt/Component.java
3044         (eventTypeEnabled): New method.
3045         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3046         * java/awt/Container.java
3047         (changeSupport): New member variable.
3048         (addPropertyChangeListener): New methods.
3049         * java/awt/ContainerOrderFocusTraversalPolicy.java
3050         (ContainerOrderFocusTraversalPolicy): Added comment.
3051         (getComponentAfter): Throw exception, documentation added.
3052         (getComponentBefore): Throw exception, documentation added.
3053         (getFirstComponent): Throw exception, documentation added.
3054         (getLastComponent): Throw exception, documentation added.
3055         (getDefaultComponent): Throw exception, documentation added.
3056         * java/awt/EventQueue.java: Reindented.
3057         * java/awt/FocusTraversalPolicy.java:
3058         (FocusTraversalPolicy): Added comment.
3059         (getComponentAfter): Documentation added.
3060         (getComponentBefore): Documentation added.
3061         (getFirstComponent): Documentation added.
3062         (getLastComponent): Documentation added.
3063         (getDefaultComponent): Documentation added.
3064         (getInitialComponent): Documentation added.
3065         * java/awt/ScrollPane.java
3066         (wheelScrollingEnabled): New member variable.
3067         (ScrollPane): Initialize wheelScollingEnabled.
3068         (eventTypeEnabled): New method.
3069         (isWheelScrollingEnabled): New method.
3070         (setWheelScrollingEnabled): New method.
3071
3072 2003-03-02  Michael Koch  <konqueror@gmx.de>
3073
3074         * java/net/DatagramSocket.java
3075         (closed): New member variable.
3076         (close): Use closed variable.
3077         (getInetAddress): No need to call isConnected().
3078         (getPort): No need to call isConnected().
3079         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3080         (isClosed): Reimplemented.
3081         
3082 2003-03-02  Michael Koch  <konqueror@gmx.de>
3083
3084         * configure.in: Added check for memory mapping of files.
3085         * configure: Regenerated.
3086         * config.h.in: Regenerated.
3087
3088 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3089
3090         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3091         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3092
3093 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3094
3095         * java/io/File.java (normalizePath): Remove trailing separator
3096         on Windows only if path is not of the form "x:\".
3097
3098         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3099         (java::io::File::attr): Change formatting a bit and use
3100         WIN32_EPOCH_MILLIS instead of magic numbers.
3101         (java::io::File::isAbsolute): Path must have at least 3 
3102         characters for a UNC network path.
3103         (java::io::File::init_native): Define.
3104         (java::io::File::performCreate): Likewise.
3105         (java::io::File::performSetReadOnly): Likewise.
3106         (java::io::File::performSetLastModified): Likewise.
3107         (java::io::File::performListRoots): Likewise.
3108
3109 2003-03-01  Tom Tromey  <tromey@redhat.com>
3110
3111         * java/lang/natObject.cc: Don't include assert.h.
3112         (heavy_lock_obj_finalization_proc): Use JvAssert.
3113         (remove_all_heavy): Likewise.
3114         (_Jv_MonitorEnter): Likewise.
3115         (_Jv_MonitorExit): Likewise.
3116         (wait): Likewise.
3117
3118 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3119
3120         * java/io/File (getAbsolutePath): Prefix drive specifier on
3121         Windows for paths starting with a '\'.
3122         (toURL): Make URL more consistent with what Sun's JDK returns.
3123
3124         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3125         true only if the path is a UNC network path or it starts with a
3126         drive specifier.
3127
3128         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3129         Be prepared to handle either '/' or '\\' in the file path for
3130         Windows if using the "file" protocol.
3131         Canonicalise the file path if using a relative path in the given
3132         context and the "file" protocol.
3133
3134 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3135
3136         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3137         program array element passed to CreateProcess.
3138
3139 2003-03-01  Tom Tromey  <tromey@redhat.com>
3140
3141         * java/rmi/registry/RegistryHandler.java: Deprecate.
3142
3143 2003-03-01  Tom Tromey  <tromey@redhat.com>
3144
3145         * javax/accessibility/AccessibleEditableText.java,
3146         javax/accessibility/AccessibleHyperlink.java: New versions from
3147         Classpath.
3148
3149         * gnu/java/locale/LocaleInformation_af_ZA.java,
3150         gnu/java/locale/LocaleInformation_ar_AE.java,
3151         gnu/java/locale/LocaleInformation_ar_BH.java,
3152         gnu/java/locale/LocaleInformation_ar_DZ.java,
3153         gnu/java/locale/LocaleInformation_ar_EG.java,
3154         gnu/java/locale/LocaleInformation_ar_IN.java,
3155         gnu/java/locale/LocaleInformation_ar_IQ.java,
3156         gnu/java/locale/LocaleInformation_ar_JO.java,
3157         gnu/java/locale/LocaleInformation_ar_KW.java,
3158         gnu/java/locale/LocaleInformation_ar_LB.java,
3159         gnu/java/locale/LocaleInformation_ar_LY.java,
3160         gnu/java/locale/LocaleInformation_ar_MA.java,
3161         gnu/java/locale/LocaleInformation_ar_OM.java,
3162         gnu/java/locale/LocaleInformation_ar_QA.java,
3163         gnu/java/locale/LocaleInformation_ar_SD.java,
3164         gnu/java/locale/LocaleInformation_ar_SY.java,
3165         gnu/java/locale/LocaleInformation_ar_TN.java,
3166         gnu/java/locale/LocaleInformation_ar_YE.java,
3167         gnu/java/locale/LocaleInformation_be_BY.java,
3168         gnu/java/locale/LocaleInformation_bn_IN.java,
3169         gnu/java/locale/LocaleInformation_br_FR.java,
3170         gnu/java/locale/LocaleInformation_bs_BA.java,
3171         gnu/java/locale/LocaleInformation_ca_ES.java,
3172         gnu/java/locale/LocaleInformation_cs_CZ.java,
3173         gnu/java/locale/LocaleInformation_cy_GB.java,
3174         gnu/java/locale/LocaleInformation_da_DK.java,
3175         gnu/java/locale/LocaleInformation_de_AT.java,
3176         gnu/java/locale/LocaleInformation_de_BE.java,
3177         gnu/java/locale/LocaleInformation_de_CH.java,
3178         gnu/java/locale/LocaleInformation_de_DE.java,
3179         gnu/java/locale/LocaleInformation_de_LU.java,
3180         gnu/java/locale/LocaleInformation_el_GR.java,
3181         gnu/java/locale/LocaleInformation_en_AU.java,
3182         gnu/java/locale/LocaleInformation_en_BW.java,
3183         gnu/java/locale/LocaleInformation_en_CA.java,
3184         gnu/java/locale/LocaleInformation_en_DK.java,
3185         gnu/java/locale/LocaleInformation_en_GB.java,
3186         gnu/java/locale/LocaleInformation_en_HK.java,
3187         gnu/java/locale/LocaleInformation_en_IE.java,
3188         gnu/java/locale/LocaleInformation_en_IN.java,
3189         gnu/java/locale/LocaleInformation_en_NZ.java,
3190         gnu/java/locale/LocaleInformation_en_PH.java,
3191         gnu/java/locale/LocaleInformation_en_SG.java,
3192         gnu/java/locale/LocaleInformation_en_US.java,
3193         gnu/java/locale/LocaleInformation_en_ZA.java,
3194         gnu/java/locale/LocaleInformation_en_ZW.java,
3195         gnu/java/locale/LocaleInformation_es_AR.java,
3196         gnu/java/locale/LocaleInformation_es_BO.java,
3197         gnu/java/locale/LocaleInformation_es_CL.java,
3198         gnu/java/locale/LocaleInformation_es_CO.java,
3199         gnu/java/locale/LocaleInformation_es_CR.java,
3200         gnu/java/locale/LocaleInformation_es_DO.java,
3201         gnu/java/locale/LocaleInformation_es_EC.java,
3202         gnu/java/locale/LocaleInformation_es_ES.java,
3203         gnu/java/locale/LocaleInformation_es_GT.java,
3204         gnu/java/locale/LocaleInformation_es_HN.java,
3205         gnu/java/locale/LocaleInformation_es_MX.java,
3206         gnu/java/locale/LocaleInformation_es_NI.java,
3207         gnu/java/locale/LocaleInformation_es_PA.java,
3208         gnu/java/locale/LocaleInformation_es_PE.java,
3209         gnu/java/locale/LocaleInformation_es_PR.java,
3210         gnu/java/locale/LocaleInformation_es_PY.java,
3211         gnu/java/locale/LocaleInformation_es_SV.java,
3212         gnu/java/locale/LocaleInformation_es_US.java,
3213         gnu/java/locale/LocaleInformation_es_UY.java,
3214         gnu/java/locale/LocaleInformation_es_VE.java,
3215         gnu/java/locale/LocaleInformation_et_EE.java,
3216         gnu/java/locale/LocaleInformation_eu_ES.java,
3217         gnu/java/locale/LocaleInformation_fa_IR.java,
3218         gnu/java/locale/LocaleInformation_fi_FI.java,
3219         gnu/java/locale/LocaleInformation_fo_FO.java,
3220         gnu/java/locale/LocaleInformation_fr_BE.java,
3221         gnu/java/locale/LocaleInformation_fr_CA.java,
3222         gnu/java/locale/LocaleInformation_fr_CH.java,
3223         gnu/java/locale/LocaleInformation_fr_FR.java,
3224         gnu/java/locale/LocaleInformation_fr_LU.java,
3225         gnu/java/locale/LocaleInformation_ga_IE.java,
3226         gnu/java/locale/LocaleInformation_gd_GB.java,
3227         gnu/java/locale/LocaleInformation_gl_ES.java,
3228         gnu/java/locale/LocaleInformation_gv_GB.java,
3229         gnu/java/locale/LocaleInformation_he_IL.java,
3230         gnu/java/locale/LocaleInformation_hi_IN.java,
3231         gnu/java/locale/LocaleInformation_hr_HR.java,
3232         gnu/java/locale/LocaleInformation_hu_HU.java,
3233         gnu/java/locale/LocaleInformation_id_ID.java,
3234         gnu/java/locale/LocaleInformation_it_CH.java,
3235         gnu/java/locale/LocaleInformation_it_IT.java,
3236         gnu/java/locale/LocaleInformation_iw_IL.java,
3237         gnu/java/locale/LocaleInformation_ja_JP.java,
3238         gnu/java/locale/LocaleInformation_ka_GE.java,
3239         gnu/java/locale/LocaleInformation_kl_GL.java,
3240         gnu/java/locale/LocaleInformation_ko_KR.java,
3241         gnu/java/locale/LocaleInformation_kw_GB.java,
3242         gnu/java/locale/LocaleInformation_lt_LT.java,
3243         gnu/java/locale/LocaleInformation_lv_LV.java,
3244         gnu/java/locale/LocaleInformation_mi_NZ.java,
3245         gnu/java/locale/LocaleInformation_mk_MK.java,
3246         gnu/java/locale/LocaleInformation_mr_IN.java,
3247         gnu/java/locale/LocaleInformation_mt_MT.java,
3248         gnu/java/locale/LocaleInformation_nl_BE.java,
3249         gnu/java/locale/LocaleInformation_nl_NL.java,
3250         gnu/java/locale/LocaleInformation_nn_NO.java,
3251         gnu/java/locale/LocaleInformation_no_NO.java,
3252         gnu/java/locale/LocaleInformation_oc_FR.java,
3253         gnu/java/locale/LocaleInformation_pl_PL.java,
3254         gnu/java/locale/LocaleInformation_pt_BR.java,
3255         gnu/java/locale/LocaleInformation_pt_PT.java,
3256         gnu/java/locale/LocaleInformation_ro_RO.java,
3257         gnu/java/locale/LocaleInformation_ru_RU.java,
3258         gnu/java/locale/LocaleInformation_ru_UA.java,
3259         gnu/java/locale/LocaleInformation_se_NO.java,
3260         gnu/java/locale/LocaleInformation_sk_SK.java,
3261         gnu/java/locale/LocaleInformation_sl_SI.java,
3262         gnu/java/locale/LocaleInformation_sq_AL.java,
3263         gnu/java/locale/LocaleInformation_sr_YU.java,
3264         gnu/java/locale/LocaleInformation_sv_FI.java,
3265         gnu/java/locale/LocaleInformation_sv_SE.java,
3266         gnu/java/locale/LocaleInformation_ta_IN.java,
3267         gnu/java/locale/LocaleInformation_te_IN.java,
3268         gnu/java/locale/LocaleInformation_tg_TJ.java,
3269         gnu/java/locale/LocaleInformation_tl_PH.java,
3270         gnu/java/locale/LocaleInformation_tr_TR.java,
3271         gnu/java/locale/LocaleInformation_uk_UA.java,
3272         gnu/java/locale/LocaleInformation_ur_PK.java,
3273         gnu/java/locale/LocaleInformation_uz_UZ.java,
3274         gnu/java/locale/LocaleInformation_vi_VN.java,
3275         gnu/java/locale/LocaleInformation_yi_US.java,
3276         gnu/java/locale/LocaleInformation_zh_CN.java,
3277         gnu/java/locale/LocaleInformation_zh_HK.java,
3278         gnu/java/locale/LocaleInformation_zh_SG.java,
3279         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3280         info; from Classpath.
3281
3282         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3283         isPaintPending): New methods.
3284         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3285         setMaximizedBounds): New methods.
3286         (beginLayout, endLayout, isPaintPending): Likewise.
3287         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3288         (requestFocus): Likewise.
3289         (isObscured): Likewise.
3290         (canDetermineObscurity): Likewise.
3291         (coalescePaintEvent): Likewise.
3292         (updateCursorImmediately): Likewise.
3293         (createVolatileImage): Likewise.
3294         (handlesWheelScrolling): Likewise.
3295         (createBuffers): Likewise.
3296         (getBackBuffer): Likewise.
3297         (flip): Likewise.
3298         (destroyBuffers): Likewise.
3299
3300         * Makefile.in: Rebuilt.
3301         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3302         RobotPeer.java.
3303         * gnu/java/awt/GLightweightPeer.java,
3304         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3305         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3306         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3307         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3308         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3309         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3310         java/awt/dnd/peer/DragSourceContextPeer.java,
3311         java/awt/dnd/peer/DropTargetContextPeer.java,
3312         java/awt/peer/ButtonPeer.java,
3313         java/awt/peer/CheckboxMenuItemPeer.java,
3314         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3315         java/awt/peer/ComponentPeer.java,
3316         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3317         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3318         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3319         java/awt/peer/MenuBarPeer.java,
3320         java/awt/peer/MenuComponentPeer.java,
3321         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3322         java/awt/peer/PopupMenuPeer.java,
3323         java/awt/peer/ScrollPanePeer.java,
3324         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3325         java/awt/peer/TextComponentPeer.java,
3326         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3327         New versions from Classpath.
3328         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3329         * java/awt/peer/RobotPeer.java: Likewise.
3330
3331 2003-03-01  Mark Wielaard  <mark@klomp.org>
3332
3333         * java/io/ObjectInputStream.java: Reindent.
3334         * java/io/ObjectOutputStream.java: Likewise.
3335
3336 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3337
3338         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3339         jvalue for each argument. Simplify.
3340         * testsuite/libjava.jni/calls.c (docall),
3341         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3342         misalignment.
3343
3344 2003-02-28  Mark Wielaard  <mark@klomp.org>
3345
3346         * Makefile.am (nat_source_files): Remove
3347         java/io/natObjectOutputStream.cc.
3348         * Makefile.in: Regenerated.
3349         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3350         * java/io/ObjectStreamField.java (typename): New field.
3351         (ObjectStreamField(String, Class)): Initialize new field.
3352         (ObjectStreamField(String, String)): New Constructor.
3353         (getTypeCode): Use new field.
3354         (getTypeString): Use new field.
3355         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3356         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3357         Handle reading of Proxy classes. Never drain(), just write
3358         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3359         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3360         (flush): Call flush(), not just drain().
3361         (writeBoolean): Always use blockDataOutput.
3362         (writeByte): Likewise.
3363         (writeShort): Likewise.
3364         (writeChar): Likewise.
3365         (writeInt): Likewise.
3366         (writeLong): Likewise.
3367         (writeFloat): Likewise.
3368         (writeDouble): Likewise.
3369         (writeBytes): Likewise.
3370         (putfield (put(String,Object))): Throw IllegalArgumentException if
3371         field cannot be found.
3372         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3373         (writeArraySizeAndElements): Write byte[] in one go.
3374         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3375         set BlockDataMode to false.
3376         (annotateProxyClass): New method.
3377         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3378         (getField): No longer native.
3379         (getMethod): Likewise.
3380         (setBlockDataMode): Always drain() on switch, return old mode.
3381         (static): New static code block.
3382         * java/io/natObjectOutputStream.cc: Removed.
3383         * java/io/ObjectInputStream.java (getField): No longer native.
3384         (getMethod): Likewise.
3385         (readObject): Remember and reset old BlockDataMode. Track whether
3386         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3387         TC_LONGSTRING.
3388         (defaultReadObject): Set BlockDataMode to false during readFields.
3389         (resolveClass): Create new SecurityManager if necessary.
3390         Use Class.forName() if null ClassLoader found.
3391         (read(byte[],int,int): Copy remaining bytes to data before calling
3392         readNextBlock().
3393         (readFields): Set and reset BlockDataMode on call_read_method.
3394         Catch NoSuchFieldErrors.
3395         (setBlockDataMode): Return old mode.
3396         (static): New static code block.
3397         * java/io/natObjectInputStream.cc (getField): Removed.
3398         (getMethod): Likewise.
3399
3400 2003-02-27  Michael Koch  <konqueror@gmx.de>
3401
3402         * java/beans/Beans.java,
3403         java/beans/FeatureDescriptor.java
3404         java/beans/PropertyEditorManager.java:
3405         Reformated to GNU style.
3406
3407 2003-02-25  Michael Koch  <konqueror@gmx.de>
3408
3409         * gnu/java/nio/MappedByteFileBuffer.java,
3410         gnu/java/nio/natMappedByteFileBuffer.cc:
3411         New files, both are not compiled yet to get not noncompiling CVS.
3412
3413 2003-02-24  Tom Tromey  <tromey@redhat.com>
3414
3415         * java/util/prefs/AbstractPreferences.java (isUserNode):
3416         Implemented.
3417
3418 2003-02-24  Tom Tromey  <tromey@redhat.com>
3419
3420         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3421         Deprecate.
3422         * java/lang/Thread.java (resume): Deprecate.
3423         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3424         in @deprecated.
3425
3426 2003-02-23  Tom Tromey  <tromey@redhat.com>
3427
3428         * Makefile.in: Rebuilt.
3429         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3430
3431 2003-02-23  Tom Tromey  <tromey@redhat.com>
3432
3433         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3434         libraries): Removed.
3435         (add_library): Removed.
3436         (_load): Don't call add_library.
3437         (loadLibraryInternal): Likewise.
3438         (init): Likewise.
3439         (lookup_data): New struct.
3440         (find_symbol): New function.
3441         (_Jv_FindSymbolInExecutable): Use it.
3442
3443 2002-02-21  Anthony Green  <green@redhat.com>
3444
3445         * java/lang/Thread.java (Thread): New constructor taking stack
3446         size parameter (ignored for now).
3447         * Many methods: Merged GNU Classpath documentation.
3448
3449         * java/lang/Class.java (finalize): throws a Throwable.
3450
3451 2003-02-21  Mark Wielaard  <mark@klomp.org>
3452
3453         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3454         argument is null.
3455
3456 2003-02-21  Mark Wielaard  <mark@klomp.org>
3457
3458         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3459         then 65535 chars throw IllegalArgumentException.
3460
3461 2003-02-21  Mark Wielaard  <mark@klomp.org>
3462
3463         * java/util/zip/ZipFile.java (finalize): New method.
3464
3465 2003-02-21  Michael Koch  <konqueror@gmx.de>
3466
3467         * gnu/java/nio/natSocketChannelImpl.cc:
3468         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3469         <cato@df.lth.se> for pointing to it.
3470
3471 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3472
3473         * java/math/BigInteger.java (euclidInv): Take result array as an
3474         argument.  Updated all callers.
3475         (modInverse): Removed unused variables.
3476
3477 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3478
3479         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3480         config.status.
3481         * configure: Rebuilt.
3482
3483 2003-02-19  Michael Koch  <konqueror@gmx.de>
3484
3485         * gnu/java/nio/natSocketChannelImpl.cc:
3486         Added support for platforms without network support.
3487
3488 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3489
3490         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3491         after config.h.  Use <> for consistency.
3492         * java/lang/natObject.cc: Likewise.
3493         * java/lang/natRuntime.cc: Likewise.
3494         * java/lang/natSystem.cc: Likewise.
3495         * java/util/natTimeZone.cc: Likewise.
3496         * win32.cc: Likewise.
3497         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3498         listen, write, read): Undef to avoid interference from OS macros.
3499
3500 2003-02-19  Michael Koch  <konqueror@gmx.de>
3501
3502         * gnu/java/nio/ByteBufferImpl.java
3503         (ByteBufferImpl): Renamed two variables.
3504         * gnu/java/nio/CharBufferImpl.java
3505         (CharBufferImpl): Renamed two variables.
3506         * gnu/java/nio/DoubleBufferImpl.java
3507         (DoubleBufferImpl): Renamed two variables.
3508         * gnu/java/nio/FloatBufferImpl.java
3509         (FloatBufferImpl): Renamed two variables.
3510         * gnu/java/nio/IntBufferImpl.java
3511         (IntBufferImpl): Renamed two variables.
3512         * gnu/java/nio/LongBufferImpl.java
3513         (LongBufferImpl): Renamed two variables.
3514         * gnu/java/nio/ShortBufferImpl.java
3515         (ShortBufferImpl): Renamed two variables.
3516         * java/nio/CharBuffer.java
3517         (wrap): Fixed arguments to CharBufferImpl constructor.
3518         (hasArray): Only not read-only buffers have backing arrays.
3519         (length): Documentation added.
3520         (subSequence): Documentation added.
3521         * java/nio/DoubleBuffer.java
3522         (hasArray): Only not read-only buffers have backing arrays.
3523         * java/nio/FloatBuffer.java
3524         (hasArray): Only not read-only buffers have backing arrays.
3525         * java/nio/IntBuffer.java
3526         (hasArray): Only not read-only buffers have backing arrays.
3527         * java/nio/LongBuffer.java
3528         (hasArray): Only not read-only buffers have backing arrays.
3529         * java/nio/ShortBuffer.java
3530         (hasArray): Only not read-only buffers have backing arrays.
3531         
3532 2003-02-19  Michael Koch  <konqueror@gmx.de>
3533
3534         * javax/accessibility/AccessibleContext.java
3535         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3536
3537 2003-02-19  Michael Koch  <konqueror@gmx.de>
3538
3539         * java/awt/ScrollPaneAdjustable.java: Reformated.
3540
3541 2003-02-19  Michael Koch <konqueror@gmx.de>
3542
3543         * gnu/awt/j2d/Graphics2DImpl.java
3544         (getFontRenderContext): New method.
3545         (drawGlyphVector): New method.
3546         * java/awt/Graphics2D.java
3547         (getFontRenderContext): New abstract method.
3548         (drawGlyphVector): New abstract method.
3549         
3550 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3551
3552         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3553         if necessary.
3554         
3555         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3556         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3557         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3558         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3559         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3561         (setFont, gtkSetFont): add.
3562         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3563         Propagate font to peer.  (setFont): add FIXME comment.
3564
3565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3566         (gtkTextGetSize): fix height, width computation.
3567
3568         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3569         Make X font name a bit less bogus.
3570
3571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3572         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3573
3574         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3575         (processAdjustmentEvent): Adjust value.
3576
3577         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3578         logic errors.
3579
3580         * java/awt/Component.java (setVisible, show, hide): Call show and
3581         hide methods in subclasses.
3582         (getPreferredSize): don't set prefSize before we have peer.
3583
3584         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3585         Guess (0,0) if we don't have peer.
3586
3587
3588 2003-02-18  Michael Koch  <konqueror@gmx.de>
3589
3590         * java/nio/channels/FileChannel.java
3591         (toString): New implementation, added documentation.
3592         (map): Added exception documentation.
3593         (size): Added exception documentation.
3594         (write): New methods, documentation work.
3595         (read): New methods, documentation work.
3596         (implCloseChannel): Rewrote exception documentation.
3597         (force): Throws IOException, added documentation.
3598         (lock): New methods.
3599         (tryLock): New methods.
3600         (position): New methods.
3601         (transferTo): New method.
3602         (transferFrom): New method.
3603         (truncate): New method.
3604         * java/nio/channels/spi/SelectorProvider.java
3605         (provider): Implemented.
3606         * Makefile.am
3607         (ordinary_java_source_files): Added the following files:
3608         gnu/java/nio/DatagramChannelImpl.java
3609         gnu/java/nio/FileChannelImpl.java
3610         gnu/java/nio/PipeImpl.java
3611         gnu/java/nio/SelectionKeyImpl.java
3612         gnu/java/nio/SelectorImpl.java
3613         gnu/java/nio/SelectorProviderImpl.java
3614         gnu/java/nio/ServerSocketChannelImpl.java
3615         gnu/java/nio/SocketChannelImpl.java
3616         java/nio/channels/FileLock.java
3617         (nat_java_source_files): Added the following files:
3618         gnu/java/nio/natFileChannelImpl.cc
3619         gnu/java/nio/natSelectorImpl.cc
3620         gnu/java/nio/natSocketChannelImpl.cc
3621         * Makefile.in: Regenerated.
3622
3623 2003-02-17  Tom Tromey  <tromey@redhat.com>
3624
3625         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3626         * java/awt/image/ImageFilter.java: Likewise.
3627
3628 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3629
3630         * java/math/BigInteger.java (euclidInv): Return array of
3631         `BigInteger's.  Changed all callers.
3632
3633 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3634
3635         * java/util/Properties.java (store): Move the code formerly in
3636         list(), into this method.
3637         (list (PrintStream)): Just call list (PrintWriter) with a 
3638         PrintWriter object constructed from the given PrintStream object.
3639         (list (PrintWriter)): Emulate the output of Properties.list()
3640         as found in JDK 1.3/1.4.
3641
3642 2003-02-17  Michael Koch  <konqueror@gmx.de>
3643
3644         * java/net/DatagramSocket.java
3645         (connect): Merged with classpath.
3646         (disconnect): Merged documentation with classpath.
3647         (receice): Merged documentation with classpath.
3648         (send): Merged documentation with classpath.
3649         
3650 2003-02-17  Michael Koch  <konqueror@gmx.de>
3651
3652         * java/awt/dnd/DragSourceContext.java
3653         (addDragSourceListener): Added documentation.
3654         * java/awt/dnd/DragSourceDragEvent.java
3655         (serialVersionUID): New member variable.
3656         (getDropAction): Reformated.
3657         * java/awt/dnd/DragSourceDropEvent.java
3658         (serialVersionUID): New member variable.
3659         (dropSuccess): Renamed from success for serialization issues.
3660         * java/awt/dnd/DragSourceEvent.java
3661         (serialVersionUID): New member variable.
3662         * java/awt/dnd/DropTarget.java
3663         (serialVersionUID): New member variable.
3664         (DropTarget): Implemented, documentation reworked.
3665         (setComponent): Documentation added.
3666         (getComponent): Documentation added.
3667         (setDefaultActions): Documentation added.
3668         (getDefaultActions): Documentation added.
3669         (addDropTargetListener): Documentation added.
3670         * java/awt/dnd/DropTargetContext.java
3671         (DropTargetContext): Documentation added.
3672         (TransferableProxy.TransferableProxy): New method.
3673         (dropComplete): Fixed documentation.
3674         (getTransferable): Fixed documentation.
3675         (createTransferableProxy): Implemented.
3676         * java/awt/dnd/DropTargetDragEvent.java
3677         (DropTargetDragEvent): Documentation added.
3678         (serialVersionUID): New member variable.
3679         (DropTargetDragEvent): Throw exceptions, documentation added.
3680         (acceptDrag): Implemented.
3681         (getCurrentDataFlavors): Implemented.3yy
3682         (getCurrentDataFlavorsAsList): Implemented.
3683         (isDataFlavorSupported): Implemented.
3684         (rejectDrag): Implemented.
3685         * java/awt/dnd/DropTargetDropEvent.java
3686         (DropTargetDropEvent): Documentation added.
3687         (serialVersionUID): New member variable.
3688         (actions): Renamed from srcActions for serialization issues.
3689         (isLocalTx): Renamed from isLocalTx for serialization issues.
3690         (DropTargetDropEvent): New implementation, throw exceptions,
3691         documentation added.
3692         (getCurrentDataFlavors): Implemented.
3693         (getCurrentDataFlavorsAsList): Implemented.
3694         (isDataFlavorSupported): Implemented.
3695         (getSourceActions): Implemented.
3696         (getDropAction): Implemented.
3697         (getTransferable): Implemented.
3698         (acceptDrop): Implemented.
3699         (rejectDrop): Implemented.
3700         * java/awt/dnd/DropTargetListener.java
3701         (drop): Fixed documentation.
3702         * java/awt/dnd/MouseDragGestureRecognizer.java
3703         (MouseDragGestureRecognizer): Documentation added.
3704
3705 2003-02-17  Michael Koch  <konqueror@gmx.de>
3706
3707         * java/awt/font/FontRenderContext.java,
3708         java/awt/font/ShapeGraphicAttribute.java,
3709         java/awt/font/MultipleMaster.java,
3710         java/awt/font/TransformAttribute.java,
3711         java/awt/font/GlyphJustificationInfo.java,
3712         java/awt/font/LineBreakMeasurer.java,
3713         java/awt/font/TextMeasurer.java,
3714         java/awt/font/TextLayout.java,
3715         java/awt/font/LineMetrics.java,
3716         java/awt/font/TextAttribute.java,
3717         java/awt/font/GlyphMetrics.java,
3718         java/awt/font/OpenType.java,
3719         java/awt/font/GlyphVector.java,
3720         java/awt/font/GraphicAttribute.java,
3721         java/awt/font/ImageGraphicAttribute.java,
3722         java/awt/font/NumericShaper.java: New files.
3723         * Makefile.am
3724         (awt_java_source_files): Added the following files:
3725         java/awt/font/FontRenderContext.java
3726         java/awt/font/ShapeGraphicAttribute.java
3727         java/awt/font/MultipleMaster.java
3728         java/awt/font/TransformAttribute.java
3729         java/awt/font/GlyphJustificationInfo.java
3730         java/awt/font/LineBreakMeasurer.java
3731         java/awt/font/TextMeasurer.java
3732         java/awt/font/TextLayout.java
3733         java/awt/font/LineMetrics.java
3734         java/awt/font/TextAttribute.java
3735         java/awt/font/GlyphMetrics.java
3736         java/awt/font/OpenType.java
3737         java/awt/font/GlyphVector.java
3738         java/awt/font/GraphicAttribute.java
3739         java/awt/font/ImageGraphicAttribute.java
3740         java/awt/font/NumericShaper.java
3741         * Makefile.in: Regenerated.
3742
3743 2003-02-17  Michael Koch  <konqueror@gmx.de>
3744
3745         * java/awt/print/Paper.java
3746         (Paper): Implements Cloneable.
3747         * java/awt/print/PrinterJob.java
3748         (setJobName): Return value must be void.
3749         (print): Throws PrinterException.
3750         
3751 2003-02-16  Tom Tromey  <tromey@redhat.com>
3752
3753         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3754         variable.
3755
3756 2003-02-15  Michael Koch  <konqueror@gmx.de>
3757
3758         * java/awt/datatransfer/DataFlavor.java
3759         (isRepresentationClassByteBuffer): Removed try-catch block.
3760         (isRepresentationClassCharBuffer): Removed try-catch block.
3761         (isRepresentationClassReader): Removed try-catch block.
3762
3763 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3764
3765         * java/nio/charset/Charset.java
3766         (isRegistered): Fixed method args and implementation.
3767         * java/nio/charset/CharsetEncoder.java
3768         (unmappableCharacterAction): New method.
3769
3770 2003-02-15  Michael Koch  <konqueror@gmx.de>
3771
3772         * java/awt/CheckboxMenuItem.java
3773         (CheckBoxMenuItem): Dont implement Serializable.
3774         (getListeners): New method,
3775         (getItemListeners): New method.
3776         * java/awt/Choice.java
3777         (getListeners): New method,
3778         (getItemListeners): New method.
3779         * java/awt/Container.java
3780         (getListeners): Added exception documentation.
3781         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3782         (getFocusTraversalKeys): Added documentation.
3783         (areFocusTraversalKeysSet): Added documentation.
3784         (applyComponentOrientation): Added documentation.
3785         * java/awt/ContainerOrderFocusTraversalPolicy.java
3786         (implicitDownCycleTraversal): Renamed from downCycle for
3787         serialization.
3788         (ContainerOrderFocusTraversalPolicy): Added documentation.
3789         (accept): Reformated.
3790         * java/awt/Dialog.java
3791         (Dialog): Dont implement Serializable.
3792         (Dialog): Added documentation.
3793         * java/awt/Font.java
3794         (Font): Dont use absolute class name.
3795         * java/awt/Frame.java
3796         (Frame): Font implement Serializable.
3797         * java/awt/List.java
3798         (getListeners): New method,
3799         (getActionListeners): New method.       
3800         (getItemListeners): New method.
3801         * java/awt/Menu.java
3802         (countItems): New deprecated method.
3803         * java/awt/Scrollbar.java
3804         (getListeners): New method,
3805         (getAdjustmentListeners): New method,
3806         * java/awt/TextComponent.java
3807         (getListeners): New method,
3808         (getTextListeners): New method,
3809         * java/awt/TextField.java
3810         (getListeners): New method,
3811         (getActionListeners): New method.       
3812         * java/awt/Window.java
3813         (windowFocusListener): New member variable.
3814         (windowStateListener): New member variable.
3815         (getWindowFocusListeners): New method.
3816         (getWindowStateListeners): New method.
3817         (addWindowFocusListener): New method.
3818         (addWindowStateListener): New method.
3819         (removeWindowFocusListener): New method.
3820         (removeWindowStateListener): New method.
3821         * java/awt/datatransfer/DataFlavor.java
3822         (isRepresentationClassByteBuffer): New method.
3823         (isRepresentationClassCharBuffer): New method.
3824         (isRepresentationClassReader): New method.
3825
3826 2003-02-14  Mark Wielaard  <mark@klomp.org>
3827
3828         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3829         zero when there is an exponent and the significant is zero.
3830         (divide): Always set scale to newScale even in special ZERO case.
3831
3832 2003-02-14  Tom Tromey  <tromey@redhat.com>
3833
3834         * java/lang/System.java (properties): Use Properties.clone.
3835         (setProperties): Likewise.
3836
3837 2003-02-14  Michael Koch  <konqueror@gmx.de>
3838
3839         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3840         * gnu/java/nio/ServerSocketChannelImpl.java
3841         (SocketAccept): Removed.
3842         (accept): Commented out use of SocketAccept.
3843
3844 2003-02-13  Tom Tromey  <tromey@redhat.com>
3845
3846         * verify.cc (state::seen_subrs): New field.
3847         (state::state): Initialize it.
3848         (state::clean_subrs): New method.
3849         (state::~state): Call it.
3850         (state::copy): Copy subroutine list.
3851         (state::add_subr): New method.
3852         (state::merge): Only register a change if the current subroutine
3853         hasn't yet been noted.
3854
3855 2003-02-13  Mark Wielaard  <mark@klomp.org>
3856
3857         * java/io/InputStreamReader.java (getEncoding): Return null when
3858         closed.
3859         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3860
3861 2003-02-13  Mark Wielaard  <mark@klomp.org>
3862  
3863         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3864         is zero.
3865
3866 2003-02-13  Mark Wielaard  <mark@klomp.org>
3867
3868         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3869         next byte cannot be buffered.
3870
3871 2003-02-13  Michael Koch  <konqueror@gmx.de>
3872  
3873         * java/awt/Label.java
3874         (Label): Don't implement Serializable directly.
3875         (addNotify): Fixed typo in documentation.
3876         * java/awt/List.java
3877         (List): Don't implement Serializable directly.
3878         * java/awt/PopupMenu.java
3879         (PopupMenu): Don't implement Serializable directly.
3880         * java/awt/ScrollPane.java
3881         (ScrollPane): Don't implement Serializable directly.
3882         * java/awt/Scrollbar.java
3883         (Scrollbar): Don't implement Serializable directly.
3884         * java/awt/TextArea.java
3885         (preferredSize): Fixed method arguments.
3886         * java/awt/TextField.java
3887         (TextField): Don't implement Serializable directly.
3888         * java/awt/color/ICC_ColorSpace.java
3889         (fromCIOXYZ): Documentation added.
3890         (getMinValue): Documentation added.
3891         (getMaxValue): Documentation added.
3892         * java/awt/datatransfer/DataFlavor.java
3893         (isMimeTypeEqual): May not be final.
3894         (clone): Throws CloneNotSupportedException.
3895         (getReaderForText): Don't throws UnsupportedEncodingException.
3896
3897 2003-02-13  Michael Koch  <konqueror@gmx.de>
3898  
3899         * gnu/java/awt/peer/gtk/GdkGraphics.java
3900         (drawString): New stubbed method.
3901         * java/awt/Graphics.java
3902         (drawString): New method.
3903
3904 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3905
3906         PR libgcj/9271:
3907         * java/security/SecureRandom.java (next): Avoid bias in results.
3908
3909 2003-02-13  Michael  <konqueror@gmx.de>
3910
3911         * gnu/java/nio/FileChannelImpl.java
3912         (lengthInternal): Must be native.
3913         (size): Check if channel is already closed.
3914         (implCloseChannel): Reformated.
3915         (read): w was unused, removed it.
3916         (read): Removed.
3917         (read): New method.
3918         (write): New method.
3919         (map): Check arguments.
3920         (force): Throws IOException, check if channel is closed.
3921         (transferTo): New method.
3922         (transferFrom): New method.
3923         (lock): New method.
3924         (tryLock): New method.
3925         (position): New method.
3926         (truncate): New method.
3927         (nio_mmap_file): Uncommented.
3928         (nio_munmap_file): Uncommented.
3929         (nio_msync): Uncommented.
3930         * gnu/java/nio/natFileChannelImpl.cc: New file.
3931         
3932 2003-02-13  Michael Koch  <konqueror@gmx.de>
3933
3934         * java/nio/ByteBuffer.java
3935         (endian): New member variable.
3936         (get): New methods.
3937         (equals): New method.
3938         (compareTo): New method.
3939         (order): New methods.
3940         (compact): New method.
3941         (isDirect): New method.
3942         (slice): New method.
3943         (duplicate): New method.
3944         (asReadOnlyBuffer): New method.
3945         (asCharBuffer): New method.
3946         (asDoubleBuffer): New method.
3947         (asFloatBuffer): New method.
3948         (asIntBuffer): New method.
3949         (asLongBuffer): New method.
3950         (asShortBuffer): New method.
3951         (get*): New methods.
3952         (put*): New methods.
3953         (toString): New method.
3954         * java/nio/CharBuffer.java
3955         (CharBuffer): Implement Comparable instead of Cloneable.
3956         (get): May not be final.
3957         (put): May not be final.
3958         
3959 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
3960
3961         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
3962         lastIndexOf( ) instead of indexOf( ) to find the colon before
3963         the line number, because Win32 file names might contain a 
3964         drive letter and a colon at the start of an absolute path.
3965
3966 2003-02-13  Michael Koch  <konqueror@gmx.de>
3967
3968         * gnu/java/nio/natSocketChannelImpl.cc
3969         (SocketConnect): This is not implemented yet.
3970         (SocketBind): This is not implemented yet.
3971
3972 2003-02-13  Michael Koch  <konqueror@gmx.de>
3973
3974         * gnu/java/nio/natByteBufferImpl.cc,
3975         gnu/java/nio/natCharBufferImpl.cc,
3976         gnu/java/nio/natDoubleBufferImpl.cc,
3977         gnu/java/nio/natFloatBufferImpl.cc,
3978         gnu/java/nio/natIntBufferImpl.cc,
3979         gnu/java/nio/natLongBufferImpl.cc,
3980         gnu/java/nio/natShortBufferImpl.cc:
3981         Added copyright and license.
3982         * java/nio/DoubleBuffer.java,
3983         java/nio/FloatBuffer.java,
3984         java/nio/IntBuffer.java,
3985         java/nio/LongBuffer.java,
3986         java/nio/ShortBuffer.java
3987         (array): Throw exceptions.
3988         (arrayOffset): Throw exceptions.
3989
3990 2003-02-13  Michael Koch  <konqueror@gmx.de>
3991  
3992         * gnu/java/util/prefs/FileBasedFactory.java,
3993         gnu/java/util/prefs/MemmoryBasedFactory.java,
3994         gnu/java/util/prefs/MemoryBasedPreferences.java,
3995         gnu/java/util/prefs/NodeReader.java,
3996         gnu/java/util/prefs/NodeWriter.java,
3997         java/util/prefs/AbstractPreferences.java,
3998         java/util/prefs/BackingStoreException.java,
3999         java/util/prefs/InvalidPreferencesFormatException.java,
4000         java/util/prefs/NodeChangeEvent.java,
4001         java/util/prefs/NodeChangeListener.java,
4002         java/util/prefs/PreferenceChangeEvent.java,
4003         java/util/prefs/PreferenceChangeListener.java,
4004         java/util/prefs/Preferences.java,
4005         java/util/prefs/PreferencesFactory.java:
4006         New files, all merged from classpath.
4007         * Makefile.am
4008         (ordinary_java_source_files): Added the following files:
4009         gnu/java/util/prefs/FileBasedFactory.java,
4010         gnu/java/util/prefs/MemmoryBasedFactory.java,
4011         gnu/java/util/prefs/MemoryBasedPreferences.java,
4012         gnu/java/util/prefs/NodeReader.java,
4013         gnu/java/util/prefs/NodeWriter.java,
4014         (core_java_source_files): Added the following files:
4015         java/util/prefs/AbstractPreferences.java,
4016         java/util/prefs/BackingStoreException.java,
4017         java/util/prefs/InvalidPreferencesFormatException.java,
4018         java/util/prefs/NodeChangeEvent.java,
4019         java/util/prefs/NodeChangeListener.java,
4020         java/util/prefs/PreferenceChangeEvent.java,
4021         java/util/prefs/PreferenceChangeListener.java,
4022         java/util/prefs/Preferences.java,
4023         java/util/prefs/PreferencesFactory.java
4024         * Makefile.in: Regenerated.
4025  
4026 2003-02-13  Michael Koch  <konqueror@gmx.de>
4027
4028         * java/net/NetPermission.java
4029         (NetPermission): Make doucmentation match the method declaration.
4030         * java/net/NetworkInterface.java
4031         (equals): Reformated for GNU coding style.
4032         * java/net/ServerSocket.java: Merged with classpath.
4033         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4034         * java/net/SocketImpl.java
4035         (localPort): Merged with classpath (initialize with -1).
4036         * java/net/SocketPermission.java: Merged with classpath (reindented).
4037         * java/net/URLDecoder.java: Merged with classpath (reindented).
4038
4039 2003-02-13  Michael Koch  <konqueror@gmx.de>
4040
4041         * java/awt/GridBagConstraints.java
4042         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4043         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4044         * java/awt/KeyboardFocusManager.java
4045         (setGlobalCurrentFocusCycleRoot): Must be public.
4046         * java/awt/MenuComponent.java
4047         (MenuComponent): Must be public.
4048         * java/awt/Toolkit.java:
4049         Added some empty lines to make documentation more readable.
4050         (getFontPeer): Added @deprecated.
4051         (getColorModel): Added exception documentation.
4052         (getProperty): Fixed documentation.
4053  
4054 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4055
4056         * configure.host (alpha*-*): Default to -mieee.
4057         * configure.in (IEEESPEC): New.
4058         * libgcj.spec.in (jc1): Add IEEESPEC.
4059         * configure: Rebuild.
4060
4061 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4062
4063         * include/win32.h: Include ws2tcpip.h instead of
4064         winsock.h to obtain definition of the socklen_t type.
4065         Remove IP_TOS definition - not needed with ws2tcpip.h
4066         (_Jv_connect): Correct slight formatting error.
4067
4068 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4069
4070         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4071         size of the arguments for a JNI function. For Win32,
4072         modify to search for all forms of possible exported
4073         names of an stdcall JNI function.
4074         (_Jv_JNIMethod::call): Modify to calculate the size
4075         of the arguments passed to a JNI function and pass
4076         it to _Jv_LookupJNIMethod.
4077
4078 2003-02-12  Michael Koch  <konqueror@gmx.de>
4079
4080         * java/nio/channels/Channels.java: New file.
4081         * Makefile.am
4082         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4083         * Makefile.in: Regenerated.
4084
4085 2003-02-12  Michael Koch  <konqueror@gmx.de>
4086
4087         * java/nio/ByteBuffer.java
4088         (allocate): Implemented.
4089         (wrap): Implemented.
4090         * java/nio/CharBuffer.java:
4091         Some documentation added and reworked.
4092         (endian): Removed.
4093         (allocate): Implemented.
4094         (wrap): Implemented.
4095         (array): Throw exceptions.
4096         (arrayOffset): Throw exceptions.
4097         (toString): Implemented.
4098         (length): Implemented.
4099         (put): Implemented.
4100         (charAt): Implemented.
4101
4102 2003-02-11  John Leuner  <jewel@debian.org>
4103
4104         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4105         reads from end of file.
4106
4107 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4108
4109         * java/io/natFileDescriptorWin32.cc 
4110         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4111         returns with Win32 error code ERROR_BROKEN_PIPE.
4112
4113 2003-02-11  Michael Koch  <konqueror@gmx.de>
4114
4115         * Makefile.in
4116         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4117
4118 2003-02-11  Michael Koch  <konqueror@gmx.de>
4119
4120         * gnu/java/nio/ByteBufferImpl.java:
4121         Reformated and removed some code.
4122         (backing_buffer): Removed.      
4123         (array_offset): Removed.
4124         (ro): Renamed to readOnly.
4125         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4126         * gnu/java/nio/CharBufferImpl.java:
4127         Reformated and removed some code.
4128         (array_offset): Removed.
4129         (ro): Renamed to readOnly.
4130         (CharBufferImpl): Use parent constructor, initialize readOnly.
4131         (inc_pos): Removed.
4132         (order): New method.
4133         * gnu/java/nio/DoubleBufferImpl.java:
4134         Reformated and removed some code.
4135         (array_offset): Removed.
4136         (ro): Renamed to readOnly.
4137         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4138         (inc_pos): Removed.
4139         (order): New method.
4140         * gnu/java/nio/FloatBufferImpl.java:
4141         Reformated and removed some code.
4142         (array_offset): Removed.
4143         (ro): Renamed to readOnly.
4144         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4145         (inc_pos): Removed.
4146         (order): New method.
4147         * gnu/java/nio/IntBufferImpl.java:
4148         Reformated and removed some code.
4149         (array_offset): Removed.
4150         (ro): Renamed to readOnly.
4151         (IntBufferImpl): Use parent constructor, initialize readOnly.
4152         (inc_pos): Removed.
4153         (order): New method.
4154         * gnu/java/nio/LongBufferImpl.java:
4155         Reformated and removed some code.
4156         (array_offset): Removed.
4157         (ro): Renamed to readOnly.
4158         (LongBufferImpl): Use parent constructor, initialize readOnly.
4159         (inc_pos): Removed.
4160         (order): New method.
4161         * gnu/java/nio/ShortBufferImpl.java:
4162         Reformated and removed some code.
4163         (array_offset): Removed.
4164         (ro): Renamed to readOnly.
4165         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4166         (inc_pos): Removed.
4167         (order): New method.
4168         * Makefile.am
4169         (ordinary_java_source_files): Added the following files:
4170         gnu/java/nio/ByteBufferImpl.java
4171         gnu/java/nio/CharBufferImpl.java
4172         gnu/java/nio/DoubleBufferImpl.java
4173         gnu/java/nio/FloatBufferImpl.java
4174         gnu/java/nio/IntBufferImpl.java
4175         gnu/java/nio/LongBufferImpl.java
4176         gnu/java/nio/ShortBufferImpl.java
4177         java/nio/DoubleBuffer.java
4178         java/nio/FloatBuffer.java
4179         java/nio/IntBuffer.java
4180         java/nio/LongBuffer.java
4181         java/nio/ShortBuffer.java
4182         (nat_source_files): Added the following files:
4183         gnu/java/nio/natByteBufferImpl.cc
4184         gnu/java/nio/natCharBufferImpl.cc
4185         gnu/java/nio/natDoubleBufferImpl.cc
4186         gnu/java/nio/natFloatBufferImpl.cc
4187         gnu/java/nio/natIntBufferImpl.cc
4188         gnu/java/nio/natLongBufferImpl.cc
4189         gnu/java/nio/natShortBufferImpl.cc
4190         * Makefile.in: Regenerated.
4191
4192 2003-02-11  Michael Koch  <konqueror@gmx.de>
4193
4194         * gnu/java/nio/natCharBufferImpl.cc
4195         (nio_cast): Removed.
4196         (nio_put_*): Removed.
4197         (nio_get_*): Removed.
4198         * gnu/java/nio/natDoubleBufferImpl.cc
4199         (nio_cast): Removed.
4200         (nio_put_*): Removed.
4201         (nio_get_*): Removed.
4202         * gnu/java/nio/natFloatBufferImpl.cc
4203         (nio_cast): Removed.
4204         (nio_put_*): Removed.
4205         (nio_get_*): Removed.
4206         * gnu/java/nio/natIntBufferImpl.cc
4207         (nio_cast): Removed.
4208         (nio_put_*): Removed.
4209         (nio_get_*): Removed.
4210         * gnu/java/nio/natLongBufferImpl.cc
4211         (nio_cast): Removed.
4212         (nio_put_*): Removed.
4213         (nio_get_*): Removed.
4214         * gnu/java/nio/natShortBufferImpl.cc
4215         (nio_cast): Removed.
4216         (nio_put_*): Removed.
4217         (nio_get_*): Removed.
4218         * gnu/java/nio/SelectorProviderImpl.java
4219         (openDatagramChannel): Throws IOException.
4220         (openPipe): Throws IOException.
4221         (openSelector): Throws IOException.
4222         (openServerSocketChannel): Throws IOException.
4223         (openSocketChannel): Throws IOException.
4224         * gnu/java/nio/ServerSocketChannelImpl.java
4225         (ServerSocketChannelImpl): Throws IOException.
4226         (implCloseSelectableChannel): Throws IOException.
4227         (implConfigureBlocking): Throws IOException.
4228         * java/nio/ByteBuffer.java
4229         (readOnly): Removed.
4230         (hasArray): Use isReadOnly() instead of readOnly.
4231         (array): Use isReadOnly() instead of readOnly.
4232         (arrayOffset): Use isReadOnly() instead of readOnly.
4233         * java/nio/CharBuffer.java
4234         (CharBuffer): Implements Cloneable and CharSequence.
4235
4236 2003-02-11  Michael Koch  <konqueror@gmx.de>
4237
4238         * java/nio/DoubleBuffer.java
4239         (DoubleBuffer): Implements Comparable.
4240         (endian): Removed.
4241         (array_offset): New member variable.
4242         (DoubleBuffer): New constuctor.
4243         (get): May not be final.
4244         (put): May not be final.
4245         (arrayOffset): Implemented.
4246         (order): Made abstract.
4247         (order): Removed.
4248         (as*Buffer): Removed.
4249         (get*): Removed.
4250         (put*): Removed.
4251         * java/nio/FloatBuffer.java
4252         (FloatBuffer): Implements Comparable.
4253         (endian): Removed.
4254         (array_offset): New member variable.
4255         (FloatBuffer): New constuctor.
4256         (get): May not be final.
4257         (put): May not be final.
4258         (arrayOffset): Implemented.
4259         (order): Made abstract.
4260         (order): Removed.
4261         (as*Buffer): Removed.
4262         (get*): Removed.
4263         (put*): Removed.
4264         * java/nio/IntBuffer.java
4265         (IntBuffer): Implements Comparable.
4266         (endian): Removed.
4267         (array_offset): New member variable.
4268         (IntBuffer): New constuctor.
4269         (get): May not be final.
4270         (put): May not be final.
4271         (arrayOffset): Implemented.
4272         (order): Made abstract.
4273         (order): Removed.
4274         (as*Buffer): Removed.
4275         (get*): Removed.
4276         (put*): Removed.
4277         * java/nio/LongBuffer.java
4278         (LongBuffer): Implements Comparable.
4279         (endian): Removed.
4280         (array_offset): New member variable.
4281         (LongBuffer): New constuctor.
4282         (get): May not be final.
4283         (put): May not be final.
4284         (arrayOffset): Implemented.
4285         (order): Made abstract.
4286         (order): Removed.
4287         (as*Buffer): Removed.
4288         (get*): Removed.
4289         (put*): Removed.
4290         * java/nio/ShortBuffer.java
4291         (ShortBuffer): Implements Comparable.
4292         (endian): Removed.
4293         (array_offset): New member variable.
4294         (ShortBuffer): New constuctor.
4295         (get): May not be final.
4296         (put): May not be final.
4297         (arrayOffset): Implemented.
4298         (order): Made abstract.
4299         (order): Removed.
4300         (as*Buffer): Removed.
4301         (get*): Removed.
4302         (put*): Removed.
4303
4304 2003-02-11   Michael Koch  <konqueror@gmx.de>
4305
4306         * java/nio/channels/SelectionKey.java
4307         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4308         values.
4309
4310 2003-02-11  Michael Koch  <konqueror@gmx.de>
4311
4312         * java/nio/channels/DatagramChannel.java
4313         (write): Throws IOException.
4314         (connect): Throws IOException.
4315         (disconnect): Throws IOException.
4316         (read): Throws IOException.
4317         (receive): Throws IOException.
4318         (send): Throws IOException.
4319         * java/nio/channels/Pipe.java
4320         (open): Throws IOException.
4321         * java/nio/channels/SelectableChannel.java
4322         (configureBlocking): Throws IOException.
4323         * java/nio/channels/ServerSocketChannel.java
4324         (accept): Throws IOException.
4325         * java/nio/channels/SocketChannel.java
4326         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4327         GatheringByteChannel.
4328         (read): Throws IOException.
4329         (write): Throws IOException.
4330         (finishConnect): Throws IOException.
4331         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4332         (end): Throws AsynchronousCloseException.
4333         * java/nio/channels/spi/AbstractSelectableChannel.java
4334         (configureBlocking): Throws IOException.
4335         (implCloseChannel): Throws IOException.
4336         (implCloseSelectableChannel): Throws IOException.
4337         (implConfigureBlocking): Throws IOException.
4338         * java/nio/channels/spi/SelectorProvider.java
4339         (openDatagramChannel): Throws IOException.
4340         (openPipe): Throws IOException.
4341         (openSelector): Throws IOException.
4342         (openServerSocketChannel): Throws IOException.
4343         (openSocketChannel): Throws IOException.
4344
4345 2003-02-11  Michael Koch  <konqueror@gmx.de>
4346
4347         * gnu/java/nio/FileLockImpl.java,
4348         java/nio/channels/FileLock.java: New files.
4349
4350 2003-02-11  Michael Koch  <konqueror@gmx.de>
4351
4352         * java/nio/charset/IllegalCharsetNameException.java
4353         (serialVersionUID): New member variable.
4354         (charsetName): New member variable.
4355         (IllegalCharsetException): New implementation.
4356         (getCharsetName): New implementation.
4357         * java/nio/charset/UnsupportedCharsetException.java
4358         (serialVersionUID): New member variable.
4359         (charsetName): New member variable.
4360         (UnsupportedCharsetException): New implementation.
4361         (getCharsetName): New implementation.
4362
4363 2003-02-10  Tom Tromey  <tromey@redhat.com>
4364
4365         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4366         (ex): Renamed from sqlException.
4367
4368 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4369
4370         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4371         method used to ensure seeding has occurred and that a specific 
4372         seed can be set and used.
4373
4374 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4375
4376         * java/lang/Win32Process.java (destroy): Declare as native.
4377         (hasExited): New native method.
4378         (exitValue): Define.
4379         (getErrorStream): Likewise.
4380         (getInputStream): Likewise.
4381         (getOutputStream): Likewise.
4382         (waitFor): Declare as native.
4383         (startProcess): New native method.
4384         (cleanup): Likewise.
4385         (ConcreteProcess): Define.
4386         (outputStream, inputStream, errorStream): New members.
4387         (procHandle, exitCode): Likewise.
4388
4389         * java/lang/natWin32Process.cc
4390         (java::lang::ConcreteProcess::cleanup): Define.
4391         (java::lang::ConcreteProcess::destroy): Likewise.
4392         (java::lang::ConcreteProcess::hasExited): Likewise.
4393         (java::lang::ConcreteProcess::waitFor): Likewise.
4394         (new_string): Likewise.
4395         (java::lang::ConcreteProcess::startProcess): Likewise.
4396
4397 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4398
4399         * java/math/BigInteger.java:
4400         Updated notice to include years 2002 and 3.
4401         Added 2 private (int) arrays with values from the HAC (Handbook of
4402         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4403         and t[] that contains nbr. of tests --used in isProbablePrime().
4404
4405         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4406
4407         * java/math/BigInteger.java (make(int[],int), add(int,int),
4408         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4409         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4410         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4411         make(long).
4412
4413         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4414         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4415         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4416         BIs and returns void.
4417         (modInverse(BI)): Use new signatures of euclidInv().
4418
4419         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4420         static small primes instead of remainder().
4421         Use pre-computed max nbr of trials based on bitlength of BI to test.
4422         Use pre-computed small primes for the trial tests instead of random
4423         numbers.
4424
4425         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4426         not used.
4427
4428         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4429         invoacation of MPN.chars_per_word().  not used.
4430
4431         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4432         local var and used where needed.
4433
4434         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4435         Combined declaration with initialisation of locals.
4436         Removed unused var.
4437
4438         * java/math/BigInteger.java: Style changes
4439         (pow(int)): Removed 'else' keyword.
4440         (toString(int)): idem.
4441         (doubleValue()): idem.
4442         (bitLength()): idem.
4443         (equals(Object)): Use static methods name in same class w/o prepending
4444         class name.
4445         (doubleValue()): idem.
4446         (setNegative(BI)): idem.
4447         (negate()): idem.
4448         (and(BI,int)): idem.
4449         (and(BI)): idem.
4450         (gcd(BI)): idem.
4451         (byteArrayToIntArray()): Removed casting to (int). this is
4452         std. behaviour.
4453         (canonicalize()): idem.
4454         (alloc(int)): Always instantiate a new BI.
4455
4456 2003-02-10  Tom Tromey  <tromey@redhat.com>
4457
4458         * java/sql/Timestamp.java (compareTo(Object)): New method.
4459         (compareTo(Timestamp)): Likewise.
4460         (serialVersionUID): Updated.
4461
4462 2003-02-07  Mark Wielaard  <mark@klomp.org>
4463
4464         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4465         when verify is true.
4466         (JarFile(File, boolean)): Likewise.
4467         (manifestRead): Set manifestRead field correctly.
4468
4469 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4470
4471         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4472         tests; see patch #1016 on Savannah.
4473
4474 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4475
4476         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4477         (toString): do not return Strings starting with . and - erroneously.
4478         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4479         DiagBigDecimal.
4480
4481 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4482
4483         * java/beans/PropertyDescriptor.java
4484         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4485         methods.
4486         (PropertyDescriptor(String, Class, String, String)): Likewise.
4487         (PropertyDescriptor(String, Method, Method): Factor out getter and
4488         setter method sanity checks into new method.
4489         (findMethods): Don't do parameter sanity checking of get method here.
4490         (checkMethods): New method.
4491
4492 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4493
4494         * java/beans/PropertyDescriptor.java: Reformat.
4495
4496 2003-02-04  Tom Tromey  <tromey@redhat.com>
4497
4498         * java/io/PipedOutputStream.java (flush): Declare as throwing
4499         IOException.
4500         (close): Likewise.
4501         * java/io/PipedWriter.java (close): Declare as throwing
4502         IOException.
4503         * java/io/StringWriter.java (close): Declare as throwing
4504         IOException.
4505
4506 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4507
4508         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4509         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4510         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4511         "_JNI_OnLoad@8" (MSVC).
4512
4513 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4514
4515         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4516         convention on Win32 to invoke native JNI methods.
4517
4518 2003-02-03  Andrew Haley  <aph@redhat.com>
4519
4520         * configure.host (x86_64): Enable interpreter.
4521
4522 2003-02-03  Andrew Haley  <aph@redhat.com>
4523
4524         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4525         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4526         * configure.in (BACKTRACESPEC): New.
4527         * configure: Regenerate.
4528
4529 2003-02-02  Tom Tromey  <tromey@redhat.com>
4530
4531         * configure: Rebuilt.
4532         * configure.in (TOOLKIT) [xlib]: Set correctly.
4533
4534         * Makefile.in: Rebuilt.
4535         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4536         libstdc++.
4537
4538 2003-01-31  Mark WIelaard  <mark@klomp.org>
4539
4540         * Makefile.in: Rebuilt.
4541         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4542
4543 2003-01-31  Tom Tromey  <tromey@redhat.com>
4544
4545         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4546         cast to element type.
4547         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4548         (_Jv_JNI_GetObjectArrayElement): Likewise.
4549
4550         * Makefile.in: Rebuilt.
4551         * Makefile.am (cond_x_ltlibrary): Renamed library to
4552         lib-gnu-awt-xlib.la.
4553         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4554         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4555         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4556         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4557         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4558         (lib_gnu_awt_xlib_la_LINK): Likewise.
4559         (install-exec-hook): Removed.
4560         (lib-gnu-awt-xlib.la): Renamed.
4561
4562 2003-01-31  Tom Tromey  <tromey@redhat.com>
4563
4564         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4565         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4566         aclocal.m4 and lost in some merge.
4567
4568         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4569         Don't try to find graphics configuration.
4570         * java/awt/Toolkit.java (default_toolkit_name): Use new
4571         Configuration entry.
4572         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4573         New global.
4574         * configure: Rebuilt.
4575         * configure.in (TOOLKIT): New subst.
4576         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4577         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4578         directory.  Make output directories for .c files.
4579         * Makefile.in: Rebuilt.
4580         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4581         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4582         (all_java_source_files): Added new sources.
4583         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4584         (gtk_c_files): New macro.
4585         (gtk_c_source_files): New macro.
4586         (cond_gtk_ltlibrary): New macro.
4587         ($(gtk_c_files)): New target.
4588         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4589         (gtk_awt_peer_sources): New macro.
4590         (gtk_c_headers): New macro.
4591         ($(gtk_c_headers)): New target.
4592         (ACLOCAL_AMFLAGS): New macro.
4593         * gtk.m4, glib.m4, libart.m4: New files.
4594         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4595         gnu/java/awt/peer/gtk/GdkGraphics.java,
4596         gnu/java/awt/peer/gtk/GtkArg.java,
4597         gnu/java/awt/peer/gtk/GtkArgList.java,
4598         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4599         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4600         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4601         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4602         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4603         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4604         gnu/java/awt/peer/gtk/GtkClipboard.java,
4605         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4606         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4607         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4608         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4609         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4610         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4611         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4612         gnu/java/awt/peer/gtk/GtkImage.java,
4613         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4614         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4615         gnu/java/awt/peer/gtk/GtkListPeer.java,
4616         gnu/java/awt/peer/gtk/GtkMainThread.java,
4617         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4618         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4619         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4620         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4621         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4622         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4623         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4624         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4625         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4626         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4627         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4628         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4629         gnu/java/awt/peer/gtk/GtkToolkit.java,
4630         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4631         gnu/java/awt/peer/gtk/TestAWT.java,
4632         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4633         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4634         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4635         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4636         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4637         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4638         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4639         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4640         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4641         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4642         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4643         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4644         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4645         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4647         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4648         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4649         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4650         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4652         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4653         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4660         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4661         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4662         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4663         jni/classpath/native_state.c, jni/classpath/native_state.h,
4664         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4665
4666 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4667
4668         * java/util/Properties.java (load): Ignore backslash before EOF.
4669
4670 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4671
4672         * java/lang/natClass.cc (initializeClass): Check tables when
4673         (state == JV_STATE_IN_PROGRESS).
4674         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4675         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4676         interpreted classes.
4677         (linkClass0): Use _Jv_WaitForState.
4678
4679 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4680
4681         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4682         object when finished.
4683
4684 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4685
4686         * libjava/configure.host: Disable can_unwind_signal on darwin.
4687
4688 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4689
4690         Fixes PR java/9254:
4691         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4692         additionally containing id of the owner thread as well as
4693         the number of nested times the thread has acquired the mutex.
4694         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4695         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4696         (_Jv_MutexUnlock): Check if really the owner thread, reset
4697         owner thread id to 0 before leaving, if leaving for the last
4698         time.
4699         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4700         refcount.
4701         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4702         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4703         the passed mutex.
4704         Pass handle of the broadcast event, instead of a pointer to it
4705         in Win32 ResetEvent( ) call.
4706         Remove incorrect return values.
4707         (_Jv_CondDestroy): Close both event handles and delete
4708         critical section.
4709         (_Jv_CondNotify): Check if really the owner thread.
4710         (_Jv_CondNotifyAll): Check if really the owner thread.
4711         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4712         (really_start): Use SetEvent( ) to signal daemon_cond.
4713         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4714         WaitForSingleObject( ) instead to wait for daemon_cond to be
4715         signalled.
4716
4717 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4718
4719         * configure.in: Specifically define HAVE_BACKTRACE if building
4720         for MinGW.
4721         * include/win32.h: Remove HAVE_BACKTRACE definition.
4722         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4723         * configure: Rebuilt.
4724
4725 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4726
4727         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4728         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4729         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4730         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4731         * Makefile.in, configure: Rebuilt.
4732
4733 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4734
4735         Fixes PR java/9253:
4736         * java/io/natFileWin32.cc (performList): Append only "*.*"
4737         if the canonical file path already has a "\" at the end.
4738
4739 2003-01-24  Tom Tromey  <tromey@redhat.com>
4740
4741         * defineclass.cc (handleMethodsEnd): Precompute code for static
4742         method.
4743         (handleCodeAttribute): Likewise.
4744         * resolve.cc (ncode): Use run_class for unsynchronized static
4745         methods.
4746         * include/java-interp.h (class _Jv_InterpMethod): Declare
4747         run_class.
4748         * interpret.cc (run_synch_class): Initialize class.
4749         (run) [insn_invokestatic]: Don't initialize class.
4750         [insn_anewarray]: Likewise.
4751         [insn_multianewarray]: Likewise.
4752         (run_class): New function.
4753
4754 2003-01-24  Tom Tromey  <tromey@redhat.com>
4755
4756         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4757         comment.
4758
4759 2003-01-22  Andrew Haley  <aph@redhat.com>
4760
4761         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4762         * configure.host (CHECKREFSPEC): Define for x86_64.
4763
4764 2003-01-21  Tom Tromey  <tromey@redhat.com>
4765
4766         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4767         search at 2, not 3.
4768
4769 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4770
4771         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4772         looking at any characters.
4773         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4774         be used.
4775         (isAbsolute): Check path's length as well.
4776
4777 2003-01-17  Mark Wielaard  <mark@klomp.org>
4778
4779         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4780         (nat_source_files): Add natVMObjectStreamClass.cc.
4781         * Makefile.in: Regenerated.
4782         * gcj/javaprims.h (namespace java): Regenerated.
4783         * java/io/ObjectStreamClass.java (getClassUID): Call
4784         VMObjectStreamClass.hasClassInitializer().
4785         (hasClassInitializer): Removed.
4786         * java/io/VMObjectStreamClass.java: New class.
4787         * java/io/natVMObjectStreamClass.cc: New file.
4788         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4789
4790 2003-01-16  Mark Wielaard  <mark@klomp.org>
4791
4792         * java/net/SocketImpl.java (toString): Don't explicitly call
4793         toString() on possible null address.
4794
4795 2003-01-16  Michael Koch  <konqueror@gmx.de>
4796
4797         * java/net/MulticastSocket.java
4798         (setInterface): Reindented.
4799
4800 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4801
4802         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4803         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4804         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4805         translateY arguments.  Implement.
4806         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4807         down translation arguments.
4808         (drawPolyline, drawPolygon): Fix incorrect tests.
4809         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4810         translateX and translateY arguments.
4811
4812 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4813
4814         * Makefile.in: Rebuilt.
4815         * Makefile.am (xlib_includes): New macro.
4816         (INCLUDES): Use it.
4817
4818 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4819
4820         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4821         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4822         16-bit display mode.
4823
4824 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4825
4826         * java/awt/CardLayout.java (show): Rewrote.
4827         (gotoComponent): Removed `target' argument.  Simplified code.
4828         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4829         Changed all callers.
4830         (NONE): Removed.
4831         
4832 2003-01-14  Michael Koch  <konqueror@gmx.de>
4833
4834         * java/net/InetSocketAddress.java
4835         (serialVersionUID): New member variable.
4836         * java/net/NetPermission.java
4837         (NetPermission): Dont implement java.io.Serialization directly.
4838         * java/net/SocketAddress.java:
4839         (serialVersionUID): Documentation added.
4840         
4841 2003-01-14  Michael Koch  <konqueror@gmx.de>
4842
4843         * java/awt/Label.java
4844         (Label): Implements javax.accessibility.Accessible;
4845         * java/awt/List.java
4846         (List): Implements javax.accessibility.Accessible;
4847         * java/awt/ScrollPane.java
4848         (ScrollPane): Implements javax.accessibility.Accessible;
4849         * java/awt/Scrollbar.java
4850         (Scrollbar): Implements javax.accessibility.Accessible;
4851         * java/awt/TextComponent.java
4852         (setCaretPosition): Throw exception, documentation added.
4853         * java/awt/Toolkit.java:
4854         Added some newlines in method documentations.
4855         (createButton): Exception documentation added.
4856         (createTextField): Exception documentation added.
4857         (createLabel): Exception documentation added.
4858         (createList): Exception documentation added.
4859         (createCheckbox): Exception documentation added.
4860         (createScrollbar): Exception documentation added.
4861         (createScrollPane): Exception documentation added.
4862         (createTextArea): Exception documentation added.
4863         (createChoice): Exception documentation added.
4864         (createFrame): Exception documentation added.
4865         (createWindow): Exception documentation added.
4866         (createDialog): Exception documentation added.
4867         (createMenuBar): Exception documentation added.
4868         (createMenu): Exception documentation added.
4869         (createMenuItem): Exception documentation added.
4870         (createFileDialog): Exception documentation added.
4871         (createCheckboxMenuItem): Exception documentation added.
4872         (loadSystemColors): Exception documentation added.
4873         (setDynamicLayout): Exception documentation added.
4874         (isDynamicLayoutSet): Exception documentation added.
4875         (isDynamicLayoutActive): Exception documentation added.
4876         (getScreenSize): Exception documentation added.
4877         (getScreenResolution): Exception documentation added.
4878         (getScreenInsets): Exception documentation added.
4879         (getColorModel): Exception documentation added.
4880         (getSystemClipboard): Exception documentation added.
4881         (getSystemSelection): Exception documentation added.
4882         (getMenuShortcutKeyMask): Exception documentation added.
4883         (getSystemEventQueue): Exception documentation added.
4884         * java/awt/Window.java:
4885         Reindented some code.
4886         (Window): Centralized implementation, documentation added.
4887         (finalize): Documentation added.
4888         (hide): Fixed typo in comment.
4889         (getWindowListeners): Documentation added.
4890         * java/awt/color/ColorSpace.java
4891         (toRGB): Documentation added.
4892         * java/awt/color/ICC_ColorSpace.java
4893         (ICC_ColorSpace): Documentation added.
4894         (toRGB): Throw exception, documentation added.
4895         (fromRGB): Throw exception, documentation added.
4896         (toCIEXYZ): Documentation added.
4897         (fromCIEXYZ): Documentation added.
4898         (getMinValue): Documentation added.
4899         (getMaxValue): Documentation added.
4900         * java/awt/geom/Dimension2D.java
4901         (clone): Documentation added.
4902         * java/awt/geom/GeneralPath.java
4903         (clone): Documentation added.
4904         * java/awt/geom/Line2D.java
4905         (clone): Documentation added.
4906         * java/awt/geom/QuadCurve2D.java
4907         (clone): Documentation added.
4908         * java/awt/image/ColorModel.java
4909         (ColorModel): Throw exception, documentation added.
4910         * java/awt/image/ImageFilter.java
4911         (clone): Doesnt throw CloneNotSupportedException.
4912
4913 2003-01-14  Andrew Haley  <aph@redhat.com>
4914
4915         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4916         in a try block.
4917
4918 2003-01-10  Andrew Haley  <aph@redhat.com>
4919
4920         * include/dwarf2-signal.h: Remove x86_64.
4921         * configure.host (x86_64 DIVIDESPEC): Remove.
4922         * include/x86_64-signal.h: New file.
4923         * configure.in: Regenerate.
4924
4925 2003-01-10  Michael Koch  <konqueror@gmx.de>
4926
4927         * java/net/DatagramSocket.java
4928         (ch): Description added.
4929         (remotePort): Initialize with -1.
4930         (connect): Doesnt throws SocketException.
4931         * java/net/MulticastSocket.java
4932         (setInterface): Merge with Classpath.
4933         * java/net/ServerSocket.java
4934         (closed): New member variable.
4935         (bind): Check if socket is closed.
4936         (close): Close an associated channel too, set new value to closed.
4937         (isBound): Reindented.
4938         (isClosed): Implemented.
4939         * java/net/Socket.java
4940         (closed): New member variable.
4941         (bind): Check if socket is closed.
4942         (connect): Check if socket is closed.
4943         (close): Close an associated channel too, set new value to closed.
4944         (isClosed): Implemented.
4945
4946 2003-01-10  Michael Koch  <konqueror@gmx.de>
4947
4948         * java/awt/DisplayMode.java
4949         (equals): Fixed argument type and implementation.
4950
4951 2003-01-07  Tom Tromey  <tromey@redhat.com>
4952
4953         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
4954         JV_HASH_SYNCHRONIZATION.
4955         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
4956         JV_HASH_SYNCHRONIZATION.
4957
4958 2003-01-07  Michael Koch  <konqueror@gmx.de>
4959  
4960         * java/net/DatagramSocket.java:
4961         Added classpath license info.
4962         (DatagramSocket): Merged description with classpath.
4963         (close): Merged description with classpath.
4964         (getChannel): Merged description with classpath.
4965         (getInetAddress): Merged description with classpath.
4966         (getPort): Merged description with classpath.
4967         (getLocalAddress): Merged description with classpath.
4968         (getLocalPort): Merged description with classpath.
4969         (getSoTimeout): Merged description with classpath.
4970         (setSoTimeout): Merged description with classpath.
4971         (getSendBufferSize): Merged description with classpath.
4972         (setSendBufferSize): Merged description with classpath.
4973         (getReceiveBufferSize): Merged description with classpath.
4974         (setReceiveBufferSize): Merged description with classpath.
4975         
4976 2003-01-04  Tom Tromey  <tromey@redhat.com>
4977
4978         * java/awt/List.java: Merged with Classpath.
4979
4980 2003-01-03  Mark Wielaard  <mark@klomp.org>
4981
4982         * java/io/FileDescriptor.java (position): New private field.
4983         * java/io/natFileDescriptorPosix.cc (write): Up position.
4984         (setLength): Use and set position.
4985         (seek): Set position.
4986         (getFilePointer): Return position.
4987         (read): Up position.
4988
4989 2003-01-03  Mark Wielaard  <mark@klomp.org>
4990
4991         Merge with Classpath:
4992         * java/io/ObjectStreamClass.java (lookup): Split method and call
4993         lookupForClassObject().
4994         (lookupForClassObject): New method.
4995         (isProxyClass): New field.
4996         (setClass): Set isProxyClass, add object to classLookupTable, set
4997         superClass and calculateOffsets.
4998         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
4999         and not a proxy class.
5000         (setFields): Set accessible true for serialPersistentFields.
5001         (getClassUID): Same for suid. And check if suid is of type long.
5002         (hasClassInitializer): Don't throw NoSuchMethodError.
5003
5004 2003-01-03  Mark Wielaard  <mark@klomp.org>
5005
5006         * java/io/FileInputStream.java (finalize): Don't explicitly
5007         finalize FileDescriptor.
5008
5009 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5010
5011         * configure.host (sparc*-*): Enable bytecode interpreter.
5012
5013 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5014
5015         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5016         Don't throw RemoteException.
5017         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5018         throw RemoteException.
5019
5020 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5021
5022         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5023         proxyHost): New static fields.
5024         (<clinit>): Initialize new fields.
5025         (connect): Use proxy if necessary.
5026         (usingProxy): Implement.
5027
5028 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5029
5030         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5031         (TreeIterator.remove): Prefer IllegalStateException over
5032         ConcurrentModificationException, to match Sun.
5033
5034 2002-12-22  Anthony Green  <green@redhat.com>
5035
5036         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5037
5038 2003-01-02  Mark Wielaard  <mark@klomp.org>
5039
5040         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5041         public.
5042         (HTTP_USE_PROXY): Add field.
5043         (getResponseVals): Only set responseCode when not yet explicitly
5044         set by subclass.
5045
5046 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5047             Mark Wielaard  <mark@klomp.org>
5048
5049         * java/util/zip/ZipFile.java (entries): Now HashMap.
5050         (readLeShort(DataInput, byte[])): Read from given byte array.
5051         (readLeInt(DataInput, byte[]): Likewise.
5052         (readLeShort(byte[] b, int off)): New method.
5053         (readLeInt(byte[] b, int off)): Likewise.
5054         (readEntries): Use byte arrays to read info in bigger chunks.
5055         (getEntries): Return HashMap.
5056         (getEntry): Use HashMap.
5057         (locBuf): New private field.
5058         (checkLocalHeader): Use locBuf to read info in one chunk.
5059         (getInputStream): Use entries HashMap, wrap PartialInputStream
5060         in BufferedInputStream.
5061         (ZipEntryEnumeration): Use HashMap and Interator.
5062
5063 2003-01-02  Mark Wielaard  <mark@klomp.org>
5064             Jeroen Frijters  <jeroen@sumatra.nl>
5065
5066         * java/net/URLClassLoader.java (Resource.getCodeSource):
5067         Fix check certs == null.
5068         (getCanonicalFileURL): Removed method.
5069         (JarURLLoader): Don't call removed method.
5070         (FileURLLoader): Likewise.
5071         (FileURLLoader.getResource): Don't canonicalize file name.
5072
5073 2003-01-01  Tom Tromey  <tromey@redhat.com>
5074
5075         * Makefile.in: Rebuilt.
5076         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5077         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5078         java/awt/BufferCapabilities.java, java/awt/Button.java,
5079         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5080         java/awt/Container.java, java/awt/Cursor.java,
5081         java/awt/EventQueue.java, java/awt/FileDialog.java,
5082         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5083         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5084         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5085         java/awt/Scrollbar.java, java/awt/TextArea.java,
5086         java/awt/TextField.java, java/awt/color/CMMException.java,
5087         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5088         java/awt/color/ProfileDataException.java,
5089         java/awt/datatransfer/Clipboard.java,
5090         java/awt/datatransfer/DataFlavor.java,
5091         java/awt/datatransfer/FlavorMap.java,
5092         java/awt/datatransfer/SystemFlavorMap.java,
5093         java/awt/dnd/DragGestureEvent.java,
5094         java/awt/dnd/DragGestureRecognizer.java,
5095         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5096         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5097         java/awt/im/InputMethodHighlight.java,
5098         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5099         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5100
5101         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5102         `op' to BufferedImageOp.
5103
5104 2002-12-31  Tom Tromey  <tromey@redhat.com>
5105
5106         Fix for PR libgcj/7416:
5107         * javax/naming/InitialContext.java (init): Use
5108         gnu.classpath.home.url.
5109         * java/security/Security.java: Use new properties.
5110         (loadProviders): Accept base url; use it.
5111         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5112         gnu.classpath.home.url.
5113         (gnu.classpath.home.url): Define.
5114         (gnu.classpath.vm.shortname): Likewise.
5115
5116 2002-12-31  Tom Tromey  <tromey@redhat.com>
5117             Ranjit Mathew  <rmathew@hotmail.com>
5118
5119         Fix for PR libgcj/8997:
5120         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5121         Include platform.h.
5122         * include/posix.h (_Jv_platform_usleep): New function.
5123         * include/win32.h (_Jv_platform_usleep): New function.
5124
5125 2002-12-29  Tom Tromey  <tromey@redhat.com>
5126
5127         * gcj/javaprims.h: Updated.
5128         * scripts/classes.pl (scan): Removed stray semicolon.
5129
5130 2002-12-30  Mark Wielaard  <mark@klomp.org>
5131
5132         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5133         if zero or smaller.
5134
5135 2002-12-30  Mark Wielaard  <mark@klomp.org>
5136
5137         * java/util/Properties (formatForOutput): Don't fall through to
5138         default case after escaping character.
5139
5140 2002-12-30  Mark Wielaard  <mark@klomp.org>
5141
5142         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5143         against count.
5144
5145 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5146
5147         * boehm.cc: Remove stray semicolon.
5148         * interpret.cc: Likewise.
5149         * prims.cc: Likewise.
5150         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5151         earlier to ensure default arguments are processed.
5152         * gcj/array.h (JArray): Add forward declaration.
5153         (elements): Likewise.
5154         * gcj/javaprim.h: Remove stray semicolons.
5155         * include/bohm-gc.h: Likewise.
5156         * include/jni.h: Likewise.
5157         * include/jvm.h: Likewise.
5158         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5159         
5160 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5161
5162         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5163         of catch_type.
5164         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5165         idt tables after initializing superclass.
5166         * java/lang/natClassLoader.cc (uaddr): New typedef.
5167         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5168         if they are constant pool indicies.  Don't link vtable, otable yet.
5169
5170 2002-12-21  Anthony Green  <green@redhat.com>
5171
5172         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5173         libraries.
5174         * Makefile.in: Rebuilt.
5175
5176 2002-12-19  Anthony Green  <green@redhat.com>
5177
5178         * Makefile.am (ordinary_java_source_files): Add
5179         org/xml/sax/helpers/NewInstance.java.
5180         * Makefile.in: Rebuilt.
5181         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5182         org/xml/sax/helpers/package.html: New files.
5183         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5184         http://www.saxproject.org.
5185
5186 2002-12-19  Andrew Haley  <aph@redhat.com>
5187
5188         * java/util/natResourceBundle.cc: Include
5189         ArrayIndexOutOfBoundsException.h.
5190         (getCallingClassLoader): Don't put upper bound on stack search.
5191         Catch ArrayIndexOutOfBoundsException.
5192
5193 2002-12-19  Tom Tromey  <tromey@redhat.com>
5194
5195         * libtool-version: Increased `current'.
5196
5197 2002-12-19  Tom Tromey  <tromey@redhat.com>
5198
5199         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5200         comment.
5201         * java/lang/ClassLoader.java (defineClass): Use chained
5202         exception when rethrowing.
5203         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5204         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5205         constants.
5206         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5207         (_Jv_PrepareClass): Use it.
5208         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5209         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5210         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5211         (Class): _Jv_PrepareMissingMethods now friend.
5212         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5213         Record `NULL' for system class loader.
5214         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5215         system class loader.
5216         (_Jv_FindClassInCache): Likewise.
5217         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5218         (_Jv_FindClass): Special case system class loader.
5219         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5220         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5221         vtable slots.
5222         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5223         in a final class.
5224         (_getDeclaredMethod): Don't return synthetic methods.
5225         (getDeclaredMethods): Likewise.
5226         (_getMethod): Likewise.
5227         (_getMethods): Likewise.
5228
5229 2002-12-18  Raif Naffah  <raif@fl.net.au>
5230
5231         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5232         canonical form after divide().
5233         (modInverse): Likewise.
5234
5235 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5236             Mark Wielaard  <mark@klomp.org>
5237
5238         * java/security/SecurityRandom (digest): Removed field.
5239         (SecureRandom): Check all providers for case-insensitive SecureRandom
5240         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5241         if necessary.
5242         (getInstance(String,Provider,boolean): New method.
5243         (getInstance(String)): Use new method.
5244         (getInstance(String,String)): Likewise.
5245         (getInstance(String,Provider)): Likewise.
5246
5247 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5248
5249         * java/security/Security.java (loadProviders): Increment i only once.
5250
5251 2002-12-12  Mark Wielaard  <mark@klomp.org>
5252
5253         * java/lang/ClassLoader.java (resolveClass0): Transform
5254         ClassNotFoundException to NoClassDefFoundError. Transform all other
5255         throwables to LinkageError.
5256
5257 2002-12-11  Tom Tromey  <tromey@redhat.com>
5258
5259         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5260
5261         * java/lang/ClassLoader.java (loadedClasses): New field.
5262         (defineClass): Fixed indentation.  Put new class in
5263         loadedClasses.
5264         (findLoadedClass): Implement here.
5265         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5266
5267 2002-12-10  Tom Tromey  <tromey@redhat.com>
5268
5269         * Makefile.in: Rebuilt.
5270         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5271         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5272         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5273         * java/lang/natClassLoader.cc
5274         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5275
5276 2002-12-10  Mark Wielaard  <mark@klomp.org>
5277             Tom Tromey  <tromey@redhat.com>
5278
5279         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5280         (JarURLLoader): Use it.
5281         (FileURLLoader): Likewise.
5282         (JarURLResource.getURL): Use chained exception.
5283         (FileResource.getURL): Likewise.
5284         (FileURLLoader.getResource): Use canonical file name.
5285         (addURL): Indentation fix.
5286
5287 2002-12-10  Tom Tromey  <tromey@redhat.com>
5288
5289         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5290         From Laurent Bardet <l.bardet@magic.fr>.
5291
5292 2002-12-09  Tom Tromey  <tromey@redhat.com>
5293
5294         * include/win32.h (_Jv_platform_solib_prefix): New define.
5295         (_Jv_platform_solib_suffix): Likewise.
5296         * include/posix.h (_Jv_platform_solib_prefix): New define.
5297         (_Jv_platform_solib_suffix): Likewise.
5298         * java/lang/natRuntime.cc: Include StackTrace.h.
5299         (_load): Use findLibrary and new platform defines.
5300         (nativeGetLibname): Use new platform defines.
5301
5302         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5303         `t' won't be null.
5304
5305 2002-12-08  Mark Wielaard  <mark@klomp.org>
5306
5307         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5308         cache remote jar files.
5309         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5310         add File.separator to URL when it is a directory.
5311         * java/lang/ClassLoader.java: Add Classpath javadoc.
5312         (parent): final.
5313         (getParent): Add (disabled) security check.
5314         (findLibrary): New default method.
5315         * java/net/JarURLConnection.java (getManifest): Implement.
5316         (getInputStream): Only create InputStream when entry exists.
5317         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5318         when they exist.
5319         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5320
5321 2002-12-08  Mark Wielaard  <mark@klomp.org>
5322
5323         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5324         (lastDefaultLocale): New field.
5325         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5326         resourceBundleCache.
5327
5328 2002-12-06  Mark Wielaard  <mark@klomp.org>
5329
5330         * java/net/InetAddress.java (toString): Use hostname when not null,
5331         don't do an explicit reverse getHostName() lookup.
5332         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5333         NullPointerException.
5334
5335 2002-12-06  Tom Tromey  <tromey@redhat.com>
5336
5337         * include/java-interp.h (class _Jv_InterpMethod): Added
5338         JV_MARKOBJ_DECL.
5339         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5340         mark `prepared' field of interpreted method.
5341         * interpret.cc (compile): Use _Jv_AllocBytes.
5342
5343 2002-12-05  Andrew Haley  <aph@redhat.com>
5344
5345         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5346         #ifdef (HAVE_BACKTRACE) around the whole function body.
5347
5348 2002-12-05  Tom Tromey  <tromey@redhat.com>
5349
5350         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5351         * resolve.cc: Don't include AbstractMethodError.h.
5352         (_Jv_abstractMethodError): Removed.
5353         * defineclass.cc (handleMethodsBegin): Initialize method index to
5354         -1.
5355         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5356         method index for "new" final method.
5357         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5358         isVirtualMethod.  Added `flags' argument.
5359         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5360         class.
5361
5362 2002-12-04  Tom Tromey  <tromey@redhat.com>
5363
5364         * java/net/SocketPermission.java (hashCode): Rewrote.
5365
5366 2002-12-04  Tom Tromey  <tromey@redhat.com>
5367
5368         * Makefile.in: Rebuilt.
5369         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5370         natResourceBundle.
5371         * java/util/ResourceBundle.java (Security): Removed.
5372         (getCallingClassLoader): Now native.
5373         * java/util/natResourceBundle.cc: New file.
5374         * java/lang/natVMSecurityManager.cc: New file.
5375         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5376
5377 2002-12-03  Mark Wielaard  <mark@klomp.org>
5378
5379         * java/util/jar/JarFile.java (manifest): Not final.
5380         (manifestRead): New field.
5381         (JarFile): Don't read Manifest in constructor.
5382         (getManifest): New method.
5383         (JarEnumeration.nextElement): Use new method.
5384         (getEntry): Likewise.
5385         * java/util/zip/ZipFile.java (name): Final.
5386         (raf): Likewsie.
5387         (entries): Change type to Hashtable.
5388         (closed): New field.
5389         (ZipFile): Don't read enties in constructor.
5390         (readEntries): Use Hashtable.
5391         (close): Set new close flag and set entries to null inside
5392         synchronized block.
5393         (entries): Contruct enumeration using new getEntries() method and
5394         entries Hashtable.
5395         (getEntryIndex): Removed.
5396         (getEntries): New method.
5397         (getEntry): Use new getEntries() method and entries Hastable.
5398         (getInputStream): Likewise.
5399         (size): Return getEntries().size().
5400         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5401         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5402         (time): Removed
5403         (dostime): New field.
5404         (zipFileIndex): Removed.
5405         (ZipEntry(ZipEntry)): Copy dostime.
5406         (setDOSTime): Now final and doesn't convert dos time.
5407         (getDOSTime): Likewise.
5408         (setTime): Convert dos time.
5409         (getTime): Likewise.
5410         (getCalendar): New method.
5411         (setExtra): Use setTime().
5412         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5413
5414 2002-12-03  Tom Tromey  <tromey@redhat.com>
5415
5416         * java/lang/Character.java (forDigit): Formatting fix.
5417
5418 2002-12-03  Raif Naffah  <raif@fl.net.au>
5419
5420         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5421         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5422         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5423
5424 2002-12-03  Andrew Haley  <aph@redhat.com>
5425
5426         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5427         _Jv_PushClass.
5428         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5429         (_Jv_PopClass): New.
5430         (_Jv_PushClass): New.
5431         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5432         discover the ClassLoader of our caller.
5433         (_Jv_CheckArrayStore): Don't check that a class is assignment
5434         compatible with Object.
5435         * java/lang/natVMTHrowable.cc: Delete.
5436         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5437         java.lang.VMThrowable.
5438         (StackTrace(), StackTrace(int)): New constructors.
5439         (classAt, methodAt, update, methodAtAddress): New methods.
5440         (map): New field.
5441         * java/lang/VMThrowable.java: Use StackTrace instead of
5442         natVMTHrowable.
5443         * java/lang/Class.h (getClassLoaderInternal): New.
5444         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5445         Be friendly with gnu::gcj::runtime::StackTrace.
5446         (Object.chain): New field.
5447         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5448         gnu::gcj::runtime::StackTrace.
5449         * gnu/gcj/runtime/natStackTrace.cc: New file.
5450         * gnu/gcj/runtime/MethodRef.java: New file.
5451         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5452         instead of getClassLoader().
5453         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5454         java::lang::VMThrowable.
5455         * Makefile.am (core_java_source_files): Add MethodRef.java,
5456         StackTrace.java.
5457         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5458         * Makefile.in: Rebuild.
5459
5460 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5461
5462         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5463         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5464         yes also for sh-linux* and sh[34]*-linux*.
5465         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5466         set SIGNAL_HANDLER to use DWARF2 exception for them.
5467         * configure: Regenerate.
5468
5469 2002-12-02  Tom Tromey  <tromey@redhat.com>
5470
5471         * jni.cc: Added `name' argument.
5472         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5473         `const char *' argument.
5474         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5475
5476 2002-12-01  Tom Tromey  <tromey@redhat.com>
5477
5478         Bug compatibility, for PR libgcj/8738:
5479         * java/io/CharArrayWriter.java (close): Do nothing.
5480         (flush): Likewise.
5481         (reset): Don't touch `closed'.
5482         (write(int)): Don't throw IOException.
5483         (write(char[],int,int)): Likewise.
5484         (write(String,int,int)): Likewise.
5485         (closed): Removed.
5486
5487 2002-12-01  Mark Wielaard  <mark@klomp.org>
5488
5489         * java/lang/SecurityManager.java: Remerge comments, indenting and
5490         checkXXX methods with Classpath.
5491
5492 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5493
5494         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5495         getNormalizedComponents): Fix calculation which was using one too
5496         many bits in the unnormalized format.
5497
5498 2002-11-29  Gary Benson  <gbenson@redhat.com>
5499
5500         For PR libgcj/8759:
5501         * java/beans/Introspector.java (flushCaches): New method.
5502         (flushFromCaches): Likewise.
5503
5504 2002-11-29  Michael Koch <konqueror@gmx.de>
5505
5506         * java/nio/channels/DatagramChannel.java
5507         (open): Added exception documentation.
5508         (write): Added exception documentation.
5509         (connect): Added exception documentation.
5510         (disconnect): Added exception documentation.
5511         (isConnected): Added exception documentation.
5512         (read): Added exception documentation.
5513         (receive): Added exception documentation.
5514         (send): Added exception documentation.
5515         (validOps): Added exception documentation.
5516         * java/nio/channels/SocketChannel.java
5517         (open): Added exception documentation.
5518         (read): Added exception documentation.
5519         (write): Added exception documentation.
5520         (connect): Added exception documentation.
5521         (finishConnect): Added exception documentation.
5522
5523 2002-11-29  Michael Koch <konqueror@gmx.de>
5524
5525         * gnu/java/nio/DatagramChannelImpl:
5526         (fd): New member variable to store file descriptor of socket.
5527         * gnu/java/nio/SelectionKeyImpl.java:
5528         (ops): Removed.
5529         (readyOps): New member variable.
5530         (interestOps): New member variable.
5531         (readyOps): Implemented.
5532         (readyOps): New method to set member variable readyOps.
5533         (interestOps): Replaced ops by interestOps.
5534         * gnu/java/nio/SelectorImpl.java:
5535         (SelectorImpl): Initialize key sets.
5536         (select): Call select with -1 instead of Long.MAX_VALUE).
5537         (java_do_select): Make it a native method.
5538         (getFDsAsArray): New helper method.
5539         (select): Remove canceled keys, give only interested file discriptors
5540         to java_do_select, set ready ops.
5541         (add): No need to initialize keys set here.
5542         (add_selected): No need to initialize selected set here.
5543         (deregisterCanceledKeys): New helper method.
5544         (register): Set interest ops, set attachments, added handling of datagram
5545         channels.
5546         * gnu/java/nio/ServerSocketChannelImpl:
5547         (SocketAccept): Renamed from NioSocketAccept.
5548         (implConfigureBlocking): Implemented.
5549         (accept): Use SocketAccept instead of NioSocketAccept.
5550         * gnu/java/nio/SocketChannelImpl:
5551         Reactivate native methods.
5552
5553 2002-11-29  Michael Koch <konqueror@gmx.de>
5554
5555         * gnu/java/nio/natByteBufferImpl.cc,
5556         gnu/java/nio/natCharBufferImpl.cc,
5557         gnu/java/nio/natDoubleBufferImpl.cc,
5558         gnu/java/nio/natFloatBufferImpl.cc,
5559         gnu/java/nio/natIntBufferImpl.cc,
5560         gnu/java/nio/natLongBufferImpl.cc,
5561         gnu/java/nio/natSelectorImpl.cc,
5562         gnu/java/nio/natServerSocketChannelImpl.cc,
5563         gnu/java/nio/natShortBufferImpl.cc,
5564         gnu/java/nio/natSocketChannelImpl.cc:
5565         New files that implement native functionalities.
5566
5567 2002-11-29  Michael Koch <konqueror@gmx.de>
5568
5569         * gnu/java/nio/ByteBufferImpl.java
5570         (ByteBufferImpl): Moved position() after limit.
5571         (nio_*): Use native implementation.
5572         * gnu/java/nio/CharBufferImpl.java:
5573         Reformated.
5574         (endian): New member variable string endianess of buffer.
5575         (CharBufferImpl): Moved position() after limit.
5576         (nio_*): Use native implementation.
5577         (subSequence): Implemented.
5578         * gnu/java/nio/DoubleBufferImpl.java
5579         (DoubleBufferImpl): Moved position() after limit.
5580         (nio_*): Use native implementation.
5581         * gnu/java/nio/FloatBufferImpl.java
5582         Reformated.
5583         (FloatBufferImpl): Moved position() after limit.
5584         (nio_*): Use native implementation.
5585         * gnu/java/nio/IntBufferImpl.java
5586         Added needed imports, Reformated.
5587         (IntBufferImpl): Moved position() after limit.
5588         (nio_*): Use native implementation.
5589         * gnu/java/nio/LongBufferImpl.java
5590         Reformated.
5591         (LongBufferImpl): Moved position() after limit.
5592         (nio_*): Use native implementation.
5593         * gnu/java/nio/ShortBufferImpl.java
5594         Reformated.
5595         (ShortBufferImpl): Moved position() after limit.
5596         (nio_*): Use native implementation.
5597
5598 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5599
5600         * java/util/Locale.java (toString): Improve efficiency if country
5601         and variant are both empty.
5602
5603 2002-11-26  Tom Tromey  <tromey@redhat.com>
5604
5605         * verify.cc (pop_init_ref): New method.
5606         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5607         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5608         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5609         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5610         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5611         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5612         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5613         let `this' argument be uninitialized.  Don't let `null' be passed
5614         as `this' to construtor.
5615
5616 2002-11-26  Mark Wielaard  <mark@klomp.org>
5617
5618         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5619         * javax/transaction/HeuristicMixedException.java: Likewise.
5620         * javax/transaction/HeuristicRollbackException.java: Likewise.
5621         * javax/transaction/InvalidTransactionException.java: Likewise.
5622         * javax/transaction/NotSupportedException.java: Likewise.
5623         * javax/transaction/RollbackException.java: Likewise.
5624         * javax/transaction/Status.java: Likewise.
5625         * javax/transaction/Synchronization.java: Likewise.
5626         * javax/transaction/SystemException.java: Likewise.
5627         * javax/transaction/Transaction.java: Likewise.
5628         * javax/transaction/TransactionManager.java: Likewise.
5629         * javax/transaction/TransactionRequiredException.java: Likewise.
5630         * javax/transaction/TransactionRolledbackException.java: Likewise.
5631         * javax/transaction/UserTransaction.java: Likewise.
5632         * javax/transaction/xa/XAException.java: Likewise.
5633         * javax/transaction/xa/XAResource.java: Likewise.
5634         * javax/transaction/xa/Xid.java: Likewise.
5635
5636 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5637
5638         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5639         define.
5640         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5641         * include/posix.h (socklen_t): Define if not already defined.
5642
5643 2002-11-25  Tom Tromey  <tromey@redhat.com>
5644
5645         * verify.cc (type::compatible): Backed out broken change.
5646
5647         * verify.cc (type::compatible): Check initialization status
5648         first.
5649         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5650         Don't use NULLCHECK.
5651
5652 2002-11-23  H.J. Lu <hjl@gnu.org>
5653
5654         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5655         Include ../config/accross.m4.
5656         * aclocal.m4; Rebuild.
5657         * configure: Likewise.
5658
5659 2002-11-23  Mark Wielaard  <mark@klomp.org>
5660
5661         * javax/naming/AuthenticationException.java: Update copyright header.
5662         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5663         * javax/naming/Binding.java: Likewise.
5664         * javax/naming/CannotProceedException.java: Likewise.
5665         * javax/naming/CommunicationException.java: Likewise.
5666         * javax/naming/CompositeName.java: Likewise.
5667         * javax/naming/CompoundName.java: Likewise.
5668         * javax/naming/ConfigurationException.java: Likewise.
5669         * javax/naming/Context.java: Likewise.
5670         * javax/naming/ContextNotEmptyException.java: Likewise.
5671         * javax/naming/InitialContext.java: Likewise.
5672         * javax/naming/InsufficientResourcesException.java: Likewise.
5673         * javax/naming/InterruptedNamingException.java: Likewise.
5674         * javax/naming/LimitExceededException.java: Likewise.
5675         * javax/naming/LinkException.java: Likewise.
5676         * javax/naming/LinkLoopException.java: Likewise.
5677         * javax/naming/LinkRef.java: Likewise.
5678         * javax/naming/MalformedLinkException.java: Likewise.
5679         * javax/naming/NameAlreadyBoundException.java: Likewise.
5680         * javax/naming/NameClassPair.java: Likewise.
5681         * javax/naming/NameNotFoundException.java: Likewise.
5682         * javax/naming/NameParser.java: Likewise.
5683         * javax/naming/NamingEnumeration.java: Likewise.
5684         * javax/naming/NamingSecurityException.java: Likewise.
5685         * javax/naming/NoInitialContextException.java: Likewise.
5686         * javax/naming/NoPermissionException.java: Likewise.
5687         * javax/naming/NotContextException.java: Likewise.
5688         * javax/naming/OperationNotSupportedException.java: Likewise.
5689         * javax/naming/PartialResultException.java: Likewise.
5690         * javax/naming/Reference.java: Likewise.
5691         * javax/naming/Referenceable.java: Likewise.
5692         * javax/naming/ReferralException.java: Likewise.
5693         * javax/naming/ServiceUnavailableException.java: Likewise.
5694         * javax/naming/SizeLimitExceededException.java: Likewise.
5695         * javax/naming/TimeLimitExceededException.java: Likewise.
5696         * javax/naming/directory/Attribute.java: Likewise.
5697         * javax/naming/directory/AttributeInUseException.java: Likewise.
5698         * javax/naming/directory/AttributeModificationException.java: Likewise.
5699         * javax/naming/directory/Attributes.java: Likewise.
5700         * javax/naming/directory/BasicAttribute.java: Likewise.
5701         * javax/naming/directory/BasicAttributes.java: Likewise.
5702         * javax/naming/directory/DirContext.java: Likewise.
5703         * javax/naming/directory/InitialDirContext.java: Likewise.
5704         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5705         Likewise.
5706         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5707         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5708         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5709         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5710         * javax/naming/directory/ModificationItem.java: Likewise.
5711         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5712         * javax/naming/directory/SchemaViolationException.java: Likewise.
5713         * javax/naming/directory/SearchControls.java: Likewise.
5714         * javax/naming/directory/SearchResult.java: Likewise.
5715         * javax/naming/event/EventContext.java: Likewise.
5716         * javax/naming/event/EventDirContext.java: Likewise.
5717         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5718         * javax/naming/event/NamingEvent.java: Likewise.
5719         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5720         * javax/naming/event/NamingListener.java: Likewise.
5721         * javax/naming/event/ObjectChangeListener.java: Likewise.
5722         * javax/naming/ldap/Control.java: Likewise.
5723         * javax/naming/ldap/ControlFactory.java: Likewise.
5724         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5725         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5726         * javax/naming/ldap/HasControls.java: Likewise.
5727         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5728         * javax/naming/ldap/LdapContext.java: Likewise.
5729         * javax/naming/ldap/LdapReferralException.java: Likewise.
5730         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5731         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5732         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5733         * javax/naming/spi/DirObjectFactory.java: Likewise.
5734         * javax/naming/spi/DirStateFactory.java: Likewise.
5735         * javax/naming/spi/DirectoryManager.java: Likewise.
5736         * javax/naming/spi/InitialContextFactory.java: Likewise.
5737         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5738         * javax/naming/spi/NamingManager.java: Likewise.
5739         * javax/naming/spi/ObjectFactory.java: Likewise.
5740         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5741         * javax/naming/spi/ResolveResult.java: Likewise.
5742         * javax/naming/spi/Resolver.java: Likewise.
5743         * javax/naming/spi/StateFactory.java: Likewise.
5744
5745         * javax/naming/spi/NamingManager.java (ofb): Package private.
5746
5747 2002-11-21  Mark Wielaard  <mark@klomp.org>
5748
5749         * java/net/URL.java: Merge with Classpath (partly).
5750         * java/net/URLStreamHandler: Merge with Classpath.
5751
5752 2002-11-22  Michael Koch <konqueror@gmx.de>
5753
5754         * include/posix.h:
5755         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5756         * include/win32.h:
5757         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5758         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5759
5760 2002-11-21  Michael Koch <konqueror@gmx.de>
5761
5762         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5763         Only the new network functions should be in it.
5764
5765 2002-11-21  Michael Koch <konqueror@gmx.de>
5766
5767         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5768         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5769
5770 2002-11-21  Michael Koch <konqueror@gmx.de>
5771
5772         * java/nio/channels/AsynchronousCloseException.java,
5773         java/nio/channels/CancelledKeyException.java,
5774         java/nio/channels/ClosedByInterruptException.java,
5775         java/nio/channels/ConnectionPendingException.java,
5776         java/nio/channels/FileLockInterruptionException.java,
5777         java/nio/channels/IllegalSelectorException.java,
5778         java/nio/channels/NoConnectionPendingException.java,
5779         java/nio/channels/NonReadableChannelException.java,
5780         java/nio/channels/NonWritableChannelException.java,
5781         java/nio/channels/NotYetBoundException.java,
5782         java/nio/channels/NotYetConnectedException.java,
5783         java/nio/channels/OverlappingFileLockException.java,
5784         java/nio/channels/UnresolvedAddressException.java,
5785         java/nio/channels/UnsupportedAddressTypeException.java:
5786         New files.
5787         * Makefile.am (ordinary_java_source_files): Added new files.
5788         * Makefile.in: Regenerated.
5789
5790 2002-11-21  Michael Koch <konqueror@gmx.de>
5791
5792         * include/posix.h
5793         (_Jv_socket): New method.
5794         (_Jv_connect): New method.
5795         (_Jv_close): New method.
5796         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5797         (_Jv_bind): New method.
5798         (_Jv_listen): New method.
5799         (_Jv_write): New method.
5800         (_Jv_read): New method.
5801         * include/win32.h
5802         (_Jv_socket): New method.
5803         (_Jv_connect): New method.
5804         (_Jv_close): New method.
5805         (_Jv_bind): New method.
5806         (_Jv_listen): New method.
5807         (_Jv_write): New method.
5808         (_Jv_read): New method.
5809         * java/net/natNetworkInterface.cc:
5810         Include platform.h, removed inclusion of socket.h
5811         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5812         ::close() by _Jv_close().
5813         * java/net/natPlainDatagramSocketImpl.cc:
5814         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5815         added some new lines to make code more readable.
5816         (create): Replaced ::socket() by _Jv_socket().
5817         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5818         * java/net/natPlainSocketImpl.cc:
5819         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5820         removed include of socket.h, removed some windows defines
5821         (now in include/win32.h).
5822         (create): Replaced ::socket() by _Jv_socket().
5823         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5824         (write): Replaced ::read by _Jv_write().
5825         (read): Replaced ::read by _Jv_read().
5826
5827 2002-11-20  Michael Koch <konqueror@gmx.de>
5828
5829         * Makefile.am (ordinary_java_source_files):
5830         Added java/nio/channels/FileChannel.java.
5831         * Makefile.in: Regenerated.
5832
5833 2002-11-20  Michael Koch <konqueror@gmx.de>
5834
5835         * java/io/FileInputStream.java
5836         (getChannel): New method.
5837         * java/io/FileOutputStream.java
5838         (getChannel): New method.
5839         * java/net/ServerSocket.java
5840         (bind): Removed duplicate code and called another bind method instead.
5841         * java/nio/channels/SelectionKey.java
5842         (isValid): Removed wrong exception documentation.
5843         * java/nio/channels/ServerSocketChannel.java
5844         (accept): Added exception documentation.
5845         (open): Fixed typo, added exception documentation.
5846         * java/nio/channels/spi/AbstractSelectableChannel.java
5847         (implCloseChannel): Added exception documentation.
5848         (add): Reformated.
5849         (register): Added exception documentation.
5850
5851 2002-11-20  Andreas Jaeger  <aj@suse.de>
5852
5853         * configure: Regenerated with new libtool.m4.
5854
5855 2002-11-19  Tom Tromey  <tromey@redhat.com>
5856
5857         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5858         `referent'.
5859         (finalize_referred_to_object): Don't modify `referent' or `copy'
5860         fields.
5861         (add_to_hash): Correctly set `n->next' when updating list.
5862         * java/lang/ref/Reference.java (enqueue): Return false if already
5863         enqueued.
5864
5865 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5866
5867         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5868         to function and function pointer declarations in accordance with
5869         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5870         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5871         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5872         JNI function definitions.
5873
5874 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5875
5876         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5877         that was causing CoderResults to be cached, not WeakReferences
5878         to CoderResults.
5879
5880 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5881
5882         * java/security/KeyStore.java (getInstance): Fix
5883         comment and throw IllegalArgumentException if
5884         given provider is null.
5885         (getInstance): New method for jdk1.4 compatibility.
5886
5887 2002-11-18  Michael Koch <konqueror@gmx.de>
5888
5889         * java/net/PlainSocketImpl.java: Fix imports.
5890
5891 2002-11-18  Michael Koch <konqueror@gmx.de>
5892
5893         * java/nio/channels/SelectionKey.java
5894         (isValid): Added exception documentation.
5895         * java/nio/channels/Selector.java
5896         (open): Declare "throws IOException".
5897
5898 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5899
5900         * java/nio/charset/Charset.java
5901         (<clinit>): New method.
5902         (encode): Synchronize use of cached encoder object.
5903         (decode): Synchronize use of cached encoder object.
5904
5905 2002-11-18  Michael Koch <konqueror@gmx.de>
5906
5907         * gnu/java/nio/ByteBufferImpl.java,
5908         gnu/java/nio/CharBufferImpl.java,
5909         gnu/java/nio/DatagramChannelImpl.java,
5910         gnu/java/nio/DoubleBufferImpl.java,
5911         gnu/java/nio/FileChannelImpl.java,
5912         gnu/java/nio/FloatBufferImpl.java,
5913         gnu/java/nio/IntBufferImpl.java,
5914         gnu/java/nio/LongBufferImpl.java,
5915         gnu/java/nio/PipeImpl.java,
5916         gnu/java/nio/SelectionKeyImpl.java,
5917         gnu/java/nio/SelectorImpl.java,
5918         gnu/java/nio/SelectorProviderImpl.java,
5919         gnu/java/nio/ServerSocketChannelImpl.java,
5920         gnu/java/nio/ShortBufferImpl.java,
5921         gnu/java/nio/SocketChannelImpl.java,
5922         java/nio/DoubleBuffer.java,
5923         java/nio/FloatBuffer.java,
5924         java/nio/IntBuffer.java,
5925         java/nio/LongBuffer.java,
5926         java/nio/ShortBuffer.java,
5927         java/nio/channels/FileChannel.java: New files.
5928
5929 2002-11-18  Michael Koch <konqueror@gmx.de>
5930
5931         * Makefile.am (ordinary_java_source_files):
5932         Added java/nio/ReadOnlyBufferException.java and
5933         java/nio/channels/ClosedSelectorException.java.
5934         * Makefile.in: Regenerated.
5935
5936 2002-11-18  Michael Koch <konqueror@gmx.de>
5937
5938         * java/net/PlainSocketImpl.java: Reworked imports.
5939         * java/net/ServerSocket.java
5940         (ServerSocket): Create socket.
5941         * java/net/SocketAddress.java: Documentation added.
5942         * java/net/natPlainSocketImpl.cc: Reindented.
5943         * java/nio/ReadOnlyBufferException.java: New file
5944         * java/nio/channels/ClosedChannelException.java: Documentation added.
5945         * java/nio/channels/ClosedSelectorException.java: New file.
5946
5947 2002-11-17  Mark Wielaard  <mark@klomp.org>
5948
5949         * java/net/HttpURLConnection.java ((getPermission): Take port
5950         into consideration.
5951         (getErrorStream): Implement.
5952
5953 2002-11-17  Mark Wielaard  <mark@klomp.org>
5954
5955         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
5956
5957 2002-11-16  Mark Wielaard  <mark@klomp.org>
5958
5959         Integrate work by Raif S. Naffah (raif@fl.net.au)
5960         * java/security/DummyKeyPairGenerator.java (clone): New method.
5961         * java/security/DummyMessageDigest.java (clone): New method.
5962         (engineUpdate): Now public.
5963         (engineReset): Likewise.
5964         (engineDigest): Likewise.
5965         (engineGetDigestLength): New method.
5966         * java/security/DummySignature.java (clone): New method.
5967         * java/security/KeyPairGenerator.java (provider): Now package private.
5968         (getInstance(String)): Use getInstance(String,Provider).
5969         (getInstance(String,String): Use getInstance(String,Provider)
5970         (getInstance(String,Provider): New method.
5971         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
5972         * java/security/KeyPairGeneratorSpi.java (clone): New method.
5973         * java/security/MessageDigest.java (provider): Now package private.
5974         (getInstance(String): Use getInstance(String,Provider).
5975         (getInstance(String,String): Use getInstance(String,Provider)
5976         (getInstance(String,Provider): New method.
5977         * java/security/Provider.java (toCanonicalKey): New method.
5978         (get): New method that uses toCanonicalKey().
5979         (put): Use toCanonicalKey().
5980         (remove): Likewise.
5981         * java/security/Security.java (insertProviderAt): Provider index is one
5982         based, not zero based.
5983         (addProvider): Likewise.
5984         (removeProvider): Likewise.
5985         * java/security/Signature.java (provider): Now package private.
5986         (getInstance(String)): Use getInstance(String,Provider).
5987         (getInstance(String,String): Use getInstance(String,Provider)
5988         (getInstance(String,Provider): New method.
5989         (getInstance(String,String,Provider): Don't cast DummySignature.
5990
5991 2002-11-15  Tom Tromey  <tromey@redhat.com>
5992
5993         For PR libgcj/8593:
5994         * java/util/zip/GZIPInputStream.java (read): Check file size.
5995         Look in inflater for remaining input bytes.
5996         (read4): Added buf and offset arguments.
5997
5998 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
5999
6000         * java/applet/AppletContext.java: Fix typo and remove redundant
6001         modifiers.
6002
6003 2002-11-14  Tom Tromey  <tromey@redhat.com>
6004
6005         * java/lang/natRuntime.cc (insertSystemProperties): Set
6006         gnu.classpath.home.
6007
6008 2002-11-13  Michael Koch <konqueror@gmx.de>
6009
6010         * java/nio/ByteBuffer.java
6011         (allocate): New method.
6012         (wrap): New method.
6013         (put): New method.
6014         (get): New method.
6015
6016 2002-11-13  Michael Koch <konqueror@gmx.de>
6017
6018         * java/nio/channels/AlreadyConnectedException.java:
6019         Removed unneeded import.
6020         (AlreadyConnectedException): Documentation added.
6021         * java/nio/channels/Pipe.java
6022         (SinkChannel.SinkChannel): Documentation added.
6023         (SinkChannel.validOps): New method.
6024         (SourceChannel.SourceChannel): Documentation added.
6025         (SourceChannel.validOps): New method.
6026         (Pipe): Documentation added.
6027         (open): Documentation added.
6028         (SinkChannel.channel): Documentation added.
6029         (SourceChannel.channel): Documentation added.
6030         * java/nio/channel/SelectableChannel.java
6031         (SelectableChannel): Documentation added.
6032         (blockingLock): Documentation added.
6033         (configureBlocking):Documentation added.
6034         (isBlocking):Documentation added.
6035         (isRegistered):Documentation added.
6036         (keyFor):Documentation added.
6037         (provider):Documentation added.
6038         (register): Documentation added.
6039         (validOps): Documentation added.
6040         * jaba/nio/channels/SelectionKey.java
6041         (SelectionKey): Documentation added.
6042         (attach): Documentation added.
6043         (attachment): Documentation added.
6044         (isAcceptable): Documentation added.
6045         (isConnetable): Documentation added.
6046         (isReadable): Documentation added.
6047         (isWritable): Documentation added.
6048         (cancel): Documentation added.
6049         (channel): Documentation added.
6050         (interestOps): Documentation added.
6051         (isValid): Documentation added.
6052         (readyOps): Documentation added.
6053         (selector): Documentation added.
6054         * jaba/nio/channels/Selector.java
6055         (Selector): Documentation added.
6056         (open): Documentation added.
6057         (close): Documentation added.
6058         (isOpen): Documentation added.
6059         (keys): Documentation added.
6060         (provider): Documentation added.
6061         (select): Documentation added.
6062         (selectedKeys): Documentation added.
6063         (selectNow): Documentation added.
6064         (wakeup): Documentation added.
6065         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6066         (AbstractInterruptibleChannel): Documentation added.
6067         (opened): Default to true;
6068         (begin): Documentation added.
6069         (close): Set opened to false, documentation added.
6070         (isOpen): Documentation added.
6071         * java/nio/channels/spi/AbstractSelectionKey.java
6072         (AbstractSelectionKey): Documentation added.
6073         (cancel): Documentation added.
6074         (isValid): Documentation added.
6075         * java/nio/channels/spi/AbstractSelector.java
6076         (AbstractSelector): Documentation added.
6077         (begin): Documentation added.
6078         (close): Documentation added.
6079         (isOpen): Documentation added.
6080         (deregister): Documentation added.
6081         (end): Documentation added.
6082         (provider): Documentation added.
6083         (implCloseSelector): Documentation added.
6084         (register): Documentation added.
6085         * java/nio/channels/spi/SelectorProvider.java
6086         (SelectorProvider): Documentation added.
6087         (openDatagramChannel): Documentation added.
6088         (openPipe): Documentation added.
6089         (openSelector): Documentation added.
6090         (openServerSocketChannel): Documentation added.
6091         (openSocketChannel): Documentation added.
6092         (provider): Documentation added.
6093
6094 2002-11-12  Michael Koch <konqueror@gmx.de>
6095
6096         * java/nio/Buffer.java: Implemented.
6097         * java/nio/CharBuffer.java: New file.
6098         * java/nio/InvalidMarkException.java: New file.
6099         * java/nio/channels/DatagramChannel.java: Implemented.
6100         * java/nio/channels/ServerSocketChannel.java: Implemented.
6101         * java/nio/channels/SocketChannel.java: Implemented.
6102         * java/nio/channels/spi/AbstractChannel.java: Removed.
6103         * java/nio/channels/spi/AbstractSelectableChannel.java:
6104         Implemented.
6105         * java/nio/charset/Charset.java:
6106         Merge from Classpath.
6107         * java/nio/charset/CharsetDecoder.java: New file.
6108         * java/nio/charset/CharsetEncoder.java: New file.
6109         * java/nio/charset/CoderResult.java: New file.
6110         * Makefile.am (ordinary_java_source_files): Added new files.
6111         * Makefile.in: Regenerated.
6112
6113 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6114
6115         * gnu/java/nio/charset/ISO_8859_1.java,
6116         gnu/java/nio/charset/Provider.java,
6117         gnu/java/nio/charset/US_ASCII.java,
6118         gnu/java/nio/charset/UTF_16.java,
6119         gnu/java/nio/charset/UTF_16BE.java,
6120         gnu/java/nio/charset/UTF_16Decoder.java,
6121         gnu/java/nio/charset/UTF_16Encoder.java,
6122         gnu/java/nio/charset/UTF_16LE.java,
6123         gnu/java/nio/charset/UTF_8.java: New files.
6124
6125 2002-11-11  Michael Koch <konqueror@gmx.de>
6126
6127         * java/nio/charset/CharacterCodingException.java:
6128         This class must be public.
6129         * java/nio/charset/CoderMalfunctionError.java:
6130         This class must be public.
6131         * java/nio/charset/CodingErrorAction.java:
6132         This class must be public.
6133         * java/nio/charset/IllegalCharsetNameException.java:
6134         This class must be public, better implementation.
6135         * java/nio/charset/MalformedInputException.java:
6136         This class must be public, better implementation.
6137         * java/nio/charset/UnmappableCharacterException.java:
6138         This class must be public, better implementation.
6139         * java/nio/charset/UnsupportedCharsetException.java:
6140         This class must be public, better implementation.
6141
6142 2002-11-11  Michael Koch <konqueror@gmx.de>
6143
6144         * java/nio/BufferOverflowException.java,
6145         java/nio/BufferUnderflowException.java: New file.
6146         * Makefile.am (ordinary_java_source_files):
6147         Added new files.
6148         * Makefile.in: Regenerated.
6149
6150 2002-11-10  Tom Tromey  <tromey@redhat.com>
6151
6152         * java/awt/Container.java (validate): Use tree lock.
6153         (getComponent): Likewise.
6154         (getComponents): Likewise.
6155         (addImpl): Likewise.
6156         (remove): Likewise.
6157         (removeAll): Likewise.
6158         (processEvent): Fixed indentation.
6159         (getComponentAt): Use tree lock.
6160         (findComponentAt): Likewise.
6161         (removeNotify): Likewise.
6162         (isAncestorOf): Likewise.
6163         (list): Likewise.
6164         (visitChildren): Likewise.
6165         (findNextFocusComponent): Likewise.
6166         (addNotifyContainerChildren): Likewise.
6167         (getAccessibleChildrenCount): Likewise.
6168         (getAccessibleChild): Likewise.
6169
6170         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6171         (getSize): Likewise.
6172         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6173         (getSize): Likewise.
6174         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6175         (calcSize): Likewise.
6176         * java/awt/CardLayout.java (getSize): Use tree lock.
6177         (gotoComponent): Likewise.
6178         (layoutContainer): Likewise.
6179
6180         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6181         count is 0.
6182         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6183         count is 0.
6184
6185         * java/io/Externalizable.java, java/io/FilePermission.java,
6186         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6187         java/io/SerializablePermission.java, java/text/Format.java,
6188         java/util/AbstractMap.java, java/util/HashMap.java,
6189         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6190         versions from Classpath.
6191
6192 2002-11-10  Anthony Green  <green@redhat.com>
6193
6194         * java/util/jar/Attributes.java (Name): Fix name check.
6195
6196 2002-11-10  Mark Wielaard  <mark@klomp.org>
6197
6198         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6199         with getName() as message.
6200         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6201         type as message.
6202
6203         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6204         unused.
6205
6206 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6207
6208         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6209         for Win32. JNICALL has been defined to __stdcall to be compatible
6210         with Sun's JDKs.
6211
6212 2002-11-10  Tom Tromey  <tromey@redhat.com>
6213
6214         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6215         (setRows): Check newRows, not rows.
6216
6217         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6218
6219 2002-11-09  Tom Tromey  <tromey@redhat.com>
6220
6221         * java/applet/Applet.java, java/applet/AppletContext.java,
6222         java/applet/AppletStub.java, java/applet/AudioClip.java,
6223         java/awt/CardLayout.java,
6224         java/awt/ContainerOrderFocusTraversalPolicy.java,
6225         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6226         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6227         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6228         java/awt/color/ICC_ColorSpace.java,
6229         java/awt/color/ICC_Profile.java,
6230         java/awt/color/ICC_ProfileGray.java,
6231         java/awt/color/ICC_ProfileRGB.java,
6232         java/awt/datatransfer/DataFlavor.java,
6233         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6234         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6235         New versions from Classpath.
6236         * Makefile.in: Rebuilt.
6237         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6238         ICC_ProfileRGB.
6239
6240         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6241         display policy.
6242
6243         * java/awt/List.java (processEvent): Added missing `else's.
6244
6245         * java/awt/Window.java (show): validate() before showing.  Make
6246         parent displayable.
6247         (isDisplayable): New method.
6248
6249 2002-11-07  Mark Wielaard  <mark@klomp.org>
6250
6251         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6252         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6253
6254         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6255         annotation.
6256         (loadClass): Take String as codebases.
6257         (getClassAnnotation): Use MyClassLoader annotations.
6258         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6259         call exportObject(this).
6260
6261         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6262         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6263         (setAnnotation): Don't set locBytesStream and locStream.
6264         (replaceObject): Removed.
6265         (flush): Don't test locStream.
6266         (getLocBytes): LikeWise.
6267         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6268         (leaseCache): New field.
6269         (dirty): Use leaseCache.
6270         (LeaseRecord): New inner class.
6271         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6272         explicitly call exportObject().
6273         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6274         false to communicate with Sun JDK130.
6275         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6276         * gnu/java/rmi/server/RMIObjectInputStream.java
6277         (UnicastConnectionManager): Removed field.
6278         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6279         Use UnicastServer.getExportedRef().
6280         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6281         (expireTime): Likewise.
6282         (CONNECTION_TIMEOUT): Likewise.
6283         (disconnect): Call sock.close().
6284         (isExpired): New method.
6285         (resetTime): Likewise.
6286         (run): Use do while loop and catch Exception for discardConnection().
6287         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6288         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6289         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6290         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6291         (exportObject): Use refcache.
6292         (unexportObject): Likewise.
6293         (getExportedRef): New method.
6294         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6295         constructor.
6296         (exportObject): Save manager.serverobj.
6297         (getStub): New method.
6298
6299 2002-11-07  Mark Wielaard  <mark@klomp.org>
6300
6301         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6302         (getByte): Likewise.
6303         (getShort): Likewise.
6304         (getInt): Likewise.
6305         (getLong): Likewise.
6306         (getFloat): Likewise.
6307         (getDouble): Likewise.
6308         (get): Likewise.
6309         (setChar): Likewise.
6310         (setByte): Likewise.
6311         (setShort): Likewise.
6312         (setInt): Likewise.
6313         (setLong): Likewise.
6314         (setFloat): Likewise.
6315         (setDouble): Likewise.
6316
6317 2002-11-07  Michael Koch <konqueror@gmx.de>
6318
6319         * java/awt/Choice.java,
6320         java/awt/Container.java,
6321         java/awt/GridBagLayout.java:
6322         Fixed documentation.
6323         * java/awt/peer/ContainerPeer.java:
6324         Reindented.
6325
6326 2002-11-07  Michael Koch <konqueror@gmx.de>
6327
6328         * java/awt/color/ICC_Profile.java:
6329         Added missing constants.
6330         * java/awt/color/ICC_ColorSpace.java
6331         (getMinValue): Added dummy implementation.
6332         (getMaxValue): Added dummy implementation.
6333         * java/awt/datatransfer/DataFlavor.java
6334         (imageFlavor): Added.
6335         (isMimeTypeEqual): Must be final.
6336         (getDefaultRepresentationClass): Must be non-static.
6337         (getDefaultRepresentationClassAsString): Must be non-static.
6338         * java/awt/dnd/DragSourceContext.java
6339         (dragExit): Corrected argument.
6340         (dragDropEnd): Corrected argument.
6341         * java/awt/dnd/DragSourceListener.java.java
6342         (dragExit): Corrected argument.
6343         (dragDropEnd): Corrected argument.
6344         * java/awt/font/TextHitInfo.java
6345         (toString): Added stubbed implementation.
6346         * java/awt/geom/PathIterator.java:
6347         The constants must be static.
6348         * java/awt/image/VolatileImage.java
6349         (IMAGE_INCOMPATIBLE): Fixed typo.
6350         * java/awt/image/renderable/RenderableImage.java
6351         (HINTS_OBSERVED): Must be static.
6352         * java/beans/BeanInfo.java:
6353         Constants must be final.
6354
6355 2002-11-06  Tom Tromey  <tromey@redhat.com>
6356
6357         From svens@it.uu.se.  For PR libgcj/8481.
6358         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6359
6360 2002-11-06  Tom Tromey  <tromey@redhat.com>
6361
6362         * jni.cc (array_from_valist): Assume that jlong won't be
6363         promoted.
6364
6365 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6366
6367         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6368         Return 20.
6369         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6370         Return 16.
6371
6372 2002-11-03  Tom Tromey  <tromey@redhat.com>
6373
6374         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6375         VMClassLoader, not findClass.
6376
6377 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6378
6379         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6380         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6381         _Jv_DetermineVTableIndex, to determine vtable offset.
6382         (_Jv_DetermineVTableIndex): Remove.
6383         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6384
6385         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6386
6387 2002-11-03  Tom Tromey  <tromey@redhat.com>
6388
6389         * java/nio/channels/AlreadyConnectedException.java: Extend
6390         IllegalStateException, per spec.
6391
6392 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6393
6394         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6395
6396 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6397
6398         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6399         size items.
6400
6401 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6402
6403         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6404         initial estimated size to avoid enlarge buffer frequently.
6405
6406 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6407
6408         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6409         ClassLoader when null.
6410         (ProxyType.hashCode): Loader null check no longer needed.
6411         (ProxyType.sameTypes): New method.
6412         (ProxyType.equals): Use new method.
6413
6414 2002-10-31  Mark Wielaard  <mark@klomp.org>
6415
6416         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6417         length of String.
6418         * java/net/URLEncoder.java (encode): Likewise.
6419
6420 2002-10-31  Mark Wielaard  <mark@klomp.org>
6421
6422         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6423         when stream is closed.
6424         (closeEntry): Likewise.
6425         (read): Likewise.
6426         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6427         ZipException when no entry active.
6428         (closeEntry): Likewise.
6429         (write): Likewise.
6430
6431 2002-11-02  Tom Tromey  <tromey@redhat.com>
6432
6433         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6434         * java/lang/natClass.cc (initializeClass): Don't return just
6435         because self==thread.
6436
6437         For PR java/8415:
6438         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6439         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6440
6441 2002-11-02  Andreas Schwab  <schwab@suse.de>
6442
6443         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6444         pass GCJFLAGS.
6445         (FLAGS_TO_PASS): Define.
6446         * Makefile.in: Regenerated.
6447
6448 2002-11-01  Michael Koch  <konqueror@gmx.de>
6449
6450         * java/nio/ByteOrder.java: New file.
6451         * java/nio/channels/DatagramChannel.java:
6452         (DatagramChannel): New constructor.
6453         * java/nio/channels/Pipe.java: New file.
6454         * java/nio/channels/SelectableChannel.java: New file.
6455         * java/nio/channels/SelectionKey.java: New file.
6456         * java/nio/channels/Selector.java: New file.
6457         * java/nio/channels/ServerSocketChannel.java
6458         (ServerSocketChannel): New constructor.
6459         * java/nio/channels/SocketChannel.java
6460         (SocketChannel): New constructor.
6461         * java/nio/channels/Pipe.java: New file.
6462         * java/nio/channels/spi/AbstractChannel.java: New file.
6463         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6464         * java/nio/channels/spi/AbstractSelectableChannel.java:
6465         License added
6466         (AbstractSelectableChannel): New stubbed method.
6467         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6468         * java/nio/channels/spi/AbstractSelector.java: New file.
6469         * java/nio/channels/spi/SelectorProvider.java: New file.
6470         * java/nio/charset/Charset.java: New file.
6471         * java/nio/charset/CoderMalfunctionError.java: New file.
6472         * java/nio/charset/CodingErrorAction.java: New file.
6473         * java/nio/charset/spi/CharsetProvider.java
6474         (charsetForName): Uncommented.
6475         * Makefile.am (java_native_source_files): Added new files.
6476         * Makefile.in: Regenerated.
6477
6478 2002-11-01  Michael Koch  <konqueror@gmx.de>
6479
6480         * java/net/InetAddress.java:
6481         (isAnyLocalAddress): Implemented.
6482         (isLoopbackAddress): Implemented, comment added.
6483         (isLinkLocalAddress): Implemented, documentation added.
6484         (isSiteLocalAddress): Implemented, documentation added.
6485         (isMCGlobal): Implemented, documentation added.
6486         (isMCNodeLocal): Implemented, documentation added.
6487         (isMCLinkLocal): Implemented, documentation added.
6488         (isMCSiteLocal): Implemented, documentation added.
6489         (isMCOrgLocal): Implemented, documentation added.
6490         (getHostName): Documentation added.
6491         (getCanonicalHostName): Implemented, documentation added.
6492         (getAddress): Documentation added.
6493         (hashCode): Documentation added.
6494         (equals): Documentation added.
6495         (toString): Fixed implementation.
6496         (getByAddress): Use Inet4Address and Inet6Address.
6497         (lookup): New linewrap.
6498         (getByName): SecurityManager check added, support Inet4Address and
6499         Inet6address, comments added.
6500         (getAllByName): SecurityManager check added, comments added.
6501         * java/net/Inet6Address.java:
6502         (Inet6Address): Initialize parent class with addr instead of null.
6503         * java/net/URL.java
6504         (equals): Documentation added.
6505         (getFile): Documentation added.
6506         (hashCode): Documentation added.
6507         * java/net/natInetAddress.cc:
6508         (aton): Fix IPv6 support.
6509         * java/net/natPlainDatagramSocketImpl.cc:
6510         (peek): Throw PortUnreachableException when suitable.
6511         (peekData): Throw PortUnreachableException when suitable.
6512         (send): Throw PortUnreachableException when suitable.
6513         (receive): Throw PortUnreachableException when suitable.
6514
6515 2002-10-27  Mark Wielaard  <mark@klomp.org>
6516
6517         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6518         argument.
6519         (readLeShort): Likewise and use byte[].
6520         (readLeInt): Likewise.
6521         (readEntries): Use new versions of methods and use byte[] for reading
6522         a complete zip entry. Add ZipFile name to exceptions.
6523         (entries): Add ZipFile name to exceptions.
6524         (getEntry): Likewise.
6525         (checkLocalHeader): Use new versions of methods and add ZipFile name
6526         to exceptions.
6527
6528 2002-10-31  Mark Anderson  <mark@panonet.net>
6529
6530         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6531         added
6532
6533 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6534
6535         * configure.in: Disable hash sync when not using threads.
6536         * configure: Regenerated.
6537
6538 2002-10-24  Tom Tromey  <tromey@redhat.com>
6539
6540         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6541         (_Jv_FindSymbolInExecutable): Removed argument name.
6542         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6543         java.library.path is set.
6544
6545         * gij.cc (help): Document --showversion.
6546         (version): Don't exit.
6547         (main): Handle --showversion.  Exit if --version given.
6548
6549 2002-10-23  Tom Tromey  <tromey@redhat.com>
6550
6551         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6552         (array_from_valist): Correctly handle promotion for jint, jlong,
6553         jfloat, and jdouble.
6554
6555 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6556
6557         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6558         GetFileAttributesEx( ) to find file length and modification times,
6559         as the latter is not present on Windows 95.
6560
6561 2002-10-21  Michael Koch  <konqueror@gmx.de>
6562
6563         * java/net/URL.java
6564         (URL): Activate SecurityManager checks.
6565         (equals): Use URLStreamHandler implementation instead of doing it
6566         alone. This allows special protocol stream handlers to change default
6567         behaviour.
6568         (hashCode): Use URLStreamHandler implementation instead of doing it
6569         alone. This allows special protocol stream handlers to change default
6570         behaviour.
6571         * java/net/URLStreamHandler.java
6572         (equals): Implemented default URL equality check.
6573         (hostsEqual): Implemented default URL equality check.
6574         (hashCode): Implemented default URL hashCode algorithm.
6575         * java/net/natPlainDatagramSocketImpl.cc:
6576         No lines longer then 80 characters.
6577
6578 2002-10-20  Adam Megacz <adam@xwt.org>
6579
6580         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6581         * configure.in: enabled hash sync on Win32
6582         * include/win32-threads.h (_Jv_ThreadId_t): added.
6583         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6584         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6585         removed some posix-isms, use Thread::sleep() instead of usleep,
6586         added code to clear bottom three bits if platform has a broken
6587         linker.
6588         * include/win32-threads.h (_Jv_ThreadId_t): added.
6589
6590 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6591
6592         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6593         runtime property "gnu.gcj.progname" containing the name used to
6594         invoke the current Java program (similar to argv[0] for C
6595         programs).
6596
6597 2002-10-15  Tom Tromey  <tromey@redhat.com>
6598
6599         Fix for PR libgcj/8234:
6600         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6601         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6602
6603 2002-10-13  Mark Wielaard  <mark@klomp.org>
6604
6605         * mauve-libgcj: Enable Mauve tests that compile now.
6606
6607 2002-10-11  Mark Wielaard  <mark@klomp.org>
6608
6609         Fix for PR libgcj/8142
6610         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6611         loading native modules.
6612
6613 2002-10-10  Michael Koch  <konqueror@gmx.de>
6614
6615         * javax/swing/AbstractListModel.java
6616         (getListDataListeners): New stubbed method.
6617         javax/swing/DefaultBoundedRangeModel.java
6618         (getChangeListeners): New stubbed method.
6619         javax/swing/DefaultSingleSelectionModel.java
6620         (getChangeListeners): New stubbed method.
6621
6622 2002-10-10  Michael Koch  <konqueror@gmx.de>
6623
6624         * gcj/.cvsignore: New file to ignore files generated during build.
6625         * include/.cvsignore: New file to ignore files generated during build.
6626
6627 2002-10-10  Michael Koch  <konqueror@gmx.de>
6628
6629         * java/net/HttpURLConnection.java
6630         (getPermission): New method.
6631         (getErrorStream): New stub method.
6632         (getHeaderFieldDate): New stub method.
6633         * java/net/Inet4Address.java:
6634         (isLinkLocalAddress): Typo fixed.
6635         * java/net/InetAddress.java:
6636         (readResolve): New stubbed method (for serialization).
6637         (isAnyLocalAddress): New stubbed method.
6638         (isLoopbackAddress): New stubbed method.
6639         (isLinkLocalAddress): New stubbed method.
6640         (isSiteLocalAddress): New stubbed method.
6641         (isMCGlobal): New stubbed method.
6642         (isMCNodeGlobal): New stubbed method.
6643         (isMCLinkLocal): New stubbed method.
6644         (isMCSiteLocal): New stubbed method.
6645         (isMCOrgLocal): New stubbed method.
6646         (getCanonicalHostName): New stubbed method.
6647         (getByAddress): Create instances of Inet4Address/Inet6Address,
6648         instead of InetAddress, documentation added.
6649         * java/net/MulticastSocket.java
6650         (getInterface): Removed FIXME.
6651         (getNetworkInterface): New method.
6652         (setNetworkInterface): New method.
6653         * java/net/NetworkInterface.java:
6654         (toString): Use property "line.separator" instead of "\n".
6655         * java/net/URLConnection.java
6656         (getContent): New stubbed method.
6657         * java/net/URLStreamHandler.java:
6658         (equals): New stubbed method.
6659         (hostsEqual): New stubbed method.
6660         (hashCode): New stubbed method.
6661         * java/net/natNetworkInterface.cc:
6662         (getRealNetworkInterfaces): Create Inet4Address object
6663         instead of InetAddress.
6664
6665 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6666
6667         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6668         unsigned long temporary to implement insn_iushr shifts.
6669
6670 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6671
6672         * configure.host [s390*-*]: Enable Java interpreter.
6673         Enable hash synchronization.  Add sysdeps dir.
6674         * sysdep/s390/locks.h: New file.
6675
6676 2002-10-06  Mark Wielaard  <mark@klomp.org>
6677
6678         * java/lang/Thread.java (setDaemon): Check startable_flag,
6679         not isAlive().
6680
6681 2002-10-07  Michael Koch  <konqueror@gmx.de>
6682
6683         * java/nio/Buffer.java: New stub file.
6684         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6685         of class Charset.
6686         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6687         * Makefile.in: Regenerated.
6688
6689 2002-10-07  Michael Koch  <konqueror@gmx.de>
6690
6691         * java/nio/ByteBuffer.java:
6692         removed import of not commited class.
6693
6694 2002-10-07  Michael Koch  <konqueror@gmx.de>
6695
6696         * java/nio/ByteBuffer.java,
6697         java/nio/MappedByteBuffer.java:
6698         New files, forgot to add these dummies.
6699         * Makefile.am (java_native_source_files): Added new files.
6700         * Makefile.in: Regenerated.
6701
6702 2002-10-07  Michael Koch  <konqueror@gmx.de>
6703
6704         * java/nio/channels/AlreadyConnectedException.java,
6705         java/nio/channels/ClosedChannelException.java,
6706         java/nio/channels/ReadableByteChannel.java,
6707         java/nio/channels/InterruptibleChannel.java,
6708         java/nio/channels/Channel.java,
6709         java/nio/channels/ByteChannel.java,
6710         java/nio/channels/GatheringByteChannel.java,
6711         java/nio/channels/ScatteringByteChannel.java,
6712         java/nio/channels/WritableByteChannel.java,
6713         java/nio/charset/CharacterCodingException.java,
6714         java/nio/charset/IllegalCharsetNameException.java,
6715         java/nio/charset/MalformedInputException.java,
6716         java/nio/charset/UnmappableCharacterException.java,
6717         java/nio/charset/UnsupportedCharsetException.java,
6718         java/nio/charset/spi/CharsetProvider.java: New file.
6719         These files are exceptions or interfaces,
6720         no real or abstract classes.
6721         * Makefile.am (java_native_source_files): Added new files.
6722         * Makefile.in: Regenerated.
6723
6724 2002-10-05  Michael Koch  <konqueror@gmx.de>
6725
6726         * java/net/InetAddress.java
6727         (getByAddress): Fixed documentation.
6728         (getByAddress): New method.
6729         * java/net/Inet4Address.java: New file.
6730         * java/net/URL.java
6731         (URL): Documentation added.
6732         (getContent): Documentation added.
6733         (getContent): New stubbed method.
6734         (getQuery): New method.
6735         (openConnection): Documentation added.
6736         (openStream): Documentation added.
6737         (setURLStreamHandlerFactory): Documentation added.
6738         * java/net/URI.java: New stub file.
6739         * Makefile.am
6740         (java_native_source_files): Added java/net/Inet4Address.java,
6741         java/net/Inet6Address.java and java/net/URI.java.
6742         * Makefile.in: Regenerated.
6743
6744 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6745
6746         * java/lang/ProtectionDomain.java (linesep): Remove field.
6747         (toString): Use System.getProperty("line.separator").
6748
6749 2002-10-04  Michael Koch  <konqueror@gmx.de>
6750
6751         * java/security/Identity.java: Added serialVersionUID.
6752         * java/security/KeyPair.java: Added serialVersionUID.
6753         * java/security/Provider.java: Added serialVersionUID.
6754         * java/security/SecureRandom.java: Added serialVersionUID.
6755         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6756         * java/security/SignedObject.java: Added serialVersionUID.
6757         * java/security/cert/Certificate.java: Added serialVersionUID.
6758
6759 2002-10-04  Mark Wielaard <mark@klomp.org>
6760
6761         * java/security/Security.java: Use java.home or gnu.classpath.home
6762         to load providers.
6763         (loadProviders): Extra dir argument.
6764         (getProvider): Return null when not found.
6765
6766 2002-10-04  Mark Wielaard  <mark@klomp.org>
6767
6768         * java/lang/Throwable.java: Remerge with Classpath.
6769
6770 2002-10-04  Michael Koch  <konqueror@gmx.de>
6771
6772         * java/net/InetAddress.java:
6773         (isMulticastAddress): Added documentation.
6774         (getHostAddress): Added documentation.
6775         (toString): Added documentation.
6776         (getByAddress): Fixed documentation.
6777         (getByName): Added documentation.
6778         (getAllByName): Added documentation.
6779         (getLocalHost): Added documentation.
6780
6781 2002-10-04  Michael Koch  <konqueror@gmx.de>
6782
6783         * java/beans/beancontext/BeanContextChildSupport.java:
6784         Added serialVersionUID.
6785         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6786         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6787         * javax/naming/Name.java: Added serialVersionUID.
6788
6789 2002-10-03  Adam Megacz <adam@xwt.org>
6790
6791         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6792         some functionality that isn't supported yet on WIN32.
6793
6794 2002-10-03  Tom Tromey  <tromey@redhat.com>
6795
6796         * Makefile.in: Rebuilt.
6797         * Makefile.am (awt_java_source_files): Added new files.
6798
6799 2002-10-03  Michael Koch  <konqueror@gmx.de>
6800
6801         * java/net/InetAddress.java
6802         (class InetAddress): Removed final keyword.
6803         (equals): Fixed typo.
6804         (getByAddress): New method.
6805
6806 2002-10-03  Michael Koch  <konqueror@gmx.de>
6807
6808         * java/awt/dnd/Autoscroll.java:
6809         New file, merge from Classpath.
6810         * java/awt/dnd/DragSourceAdapter.java:
6811         (dragExit): Fixed typos in argument type.
6812         (dragDropEnd): Fixed typos in argument type.
6813         * java/awt/dnd/DragSourceDropEvent.java:
6814         New file, merge from Classpath.
6815         * java/awt/dnd/DropTarget.java:
6816         Added stubs, merge from Classpath.
6817         * java/awt/dnd/DropTargetAdapter.java:
6818         New file, merge from Classpath.
6819         * java/awt/dnd/DropTargetContext.java:
6820         New file, merge from Classpath.
6821         * java/awt/dnd/DropTargetDragEvent.java:
6822         New file, merge from Classpath.
6823         * java/awt/dnd/DropTargetDropEvent.java:
6824         New file, merge from Classpath.
6825         * java/awt/dnd/DropTargetEvent.java:
6826         New file, merge from Classpath.
6827         * java/awt/dnd/DropTargetListener.java:
6828         New file, merge from Classpath.
6829         * java/awt/dnd/MouseDragGestureRecognizer.java:
6830         New file, merge from Classpath.
6831         * java/awt/dnd/peer/DropTargetContextPeer.java:
6832         New file, merge from Classpath.
6833
6834 2002-10-03  Michael Koch  <konqueror@gmx.de>
6835
6836         * java/net/DatagramPacket.java
6837         (setLength): Fixed typo and be HTML-aware.
6838         * java/net/InetSocketAddress.java
6839         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6840         (equals): Added comment about equality of InetSocketAddress objects.
6841         * java/net/ServerSocket.java
6842         (accept): Added checks.
6843         (isClosed): New stubbed method.
6844         * java/net/SocketOptions.java: Reindention.
6845         * java/net/SocketPermission
6846         (SocketPermission): Documentation fixed.
6847
6848 2002-10-03  Michael Koch  <konqueror@gmx.de>
6849
6850         * java/net/DatagramSocket.java
6851         (receive): Check with SecurityManager AFTER the packet is received,
6852         check if connected to multicast address, documentation added.
6853         (send): Only check SecurityManager if connected, check address of
6854         packet to send.
6855         (connect): Implemented, documentation added.
6856         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6857         * java/net/InetSocketAddress.java
6858         (whole file): Reindented.
6859         (hostname): New attribute.
6860         (InetSocketAddress): Initialize new attribute.
6861         (getAddress): Documentation added.
6862         (getHostName): Documentation added.
6863         (getPort): Documentation added.
6864         (hashCode): Documentation added.
6865         (isUnresolved): Documentation added.
6866         (toString): Conform to output of JDK 1.4.1, documentation added.
6867         * java/net/MulticastSocket.java
6868         (joinGroup): Removed FIXME, documentation added.
6869         (leaveGroup): Removed FIXME, documentation added.
6870         (send): Documentation added.
6871         * java/net/Socket.java
6872         (inputShutdown): New variable.
6873         (outputShutdown): New variable.
6874         (Socket): Initialize new variables.
6875         (getRemoteSocketAddress): Check if connected.
6876         (shutdownInput): Set new variable.
6877         (shutdownOutput): Set new variable.
6878         (isConnected): New method.
6879         (isClosed): New method.
6880         (isInputShutdown): New method.
6881         (isOutputShutdown): New method.
6882         * java/net/URLStreamHandler.java
6883         (URLStreamHandler): New method.
6884         (openConnection): Added documentation.
6885         (parseURL): Added documentation.
6886         (getHostAddress): New method.
6887         (getDefaultPort): New method.
6888
6889 2002-10-02  Tom Tromey  <tromey@redhat.com>
6890
6891         * java/rmi/activation/ActivationDesc.java,
6892         java/rmi/activation/ActivationGroupDesc.java,
6893         java/rmi/activation/ActivationGroupID.java,
6894         java/rmi/activation/ActivationID.java: New versions from
6895         Classpath.
6896
6897 2002-09-30  Bo Thorsen  <bo@suse.de>
6898
6899         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6900
6901 2002-09-30  Tom Tromey  <tromey@redhat.com>
6902
6903         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6904         from Classpath.
6905         * Makefile.in: Rebuilt.
6906         * Makefile.am (rmi_java_source_files): Added new files.
6907         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6908         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6909         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6910         Classpath.
6911         * gnu/java/rmi/dgc/DGCImpl.java,
6912         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6913         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6914         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6915         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6916         gnu/java/rmi/server/RMIHashes.java,
6917         gnu/java/rmi/server/RMIObjectInputStream.java,
6918         gnu/java/rmi/server/RMIObjectOutputStream.java,
6919         gnu/java/rmi/server/UnicastConnection.java,
6920         gnu/java/rmi/server/UnicastConnectionManager.java,
6921         gnu/java/rmi/server/UnicastRef.java,
6922         gnu/java/rmi/server/UnicastServer.java,
6923         gnu/java/rmi/server/UnicastServerRef.java,
6924         java/rmi/MarshalledObject.java,
6925         java/rmi/server/RMIClassLoader.java,
6926         java/rmi/server/RemoteObject.java,
6927         java/rmi/server/UnicastRemoteObject.java,
6928         java/security/SecureClassLoader.java: Merged from Classpath.
6929
6930 2002-09-29  Anthony Green  <green@redhat.com>
6931
6932         * java/lang/reflect/UndeclaredThrowableException.java: New file.
6933         Imported from GNU Classpath.
6934         * java/lang/reflect/natProxy.cc: New file.
6935         * java/lang/reflect/InvocationHandler.java: New file.  Imported
6936         from GNU Classpath.
6937         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
6938         Classpath.
6939         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
6940         Classpath.
6941         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
6942         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
6943         New statics.
6944         * gcj/javaprims.h ("Java"): Add new classes.
6945         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
6946         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
6947         java/lang/reflect/Proxy$$ProxyType.h): And this.
6948         (inner_nat_headers): Add these new headers.
6949         (ordinary_java_source_files): Add new files.
6950         (nat_source_files): Add new file.
6951         * Makefile.in: Rebuilt.
6952
6953 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
6954
6955         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
6956         a single configuration.
6957
6958 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6959
6960         * java/util/TimeZone.java (getDSTSavings): New method.
6961         Fixes PR libgcj/7786.
6962
6963 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6964
6965         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
6966         to see if `the_method == 0' before looking up vtable index.
6967         Fixes PR libgcj/7709.
6968
6969 2002-09-25  Tom Tromey  <tromey@redhat.com>
6970
6971         * java/lang/natClassLoader.cc:
6972         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
6973         * resolve.cc: Include NoClassDefFoundError.h, not
6974         ClassNotFoundException.h.
6975         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
6976
6977         * defineclass.cc: Don't include ClassNotFoundException.h.
6978
6979         * resolve.cc: Include StringBuffer.
6980         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
6981
6982         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
6983         allocated but not initialized.
6984
6985 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6986
6987         Fix for PR libgcj/7766:
6988         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
6989         (getNextEntry): Set it.
6990         (closeEntry): Likewise.
6991         (read): Likewise.
6992         (close): Likewise.
6993         (available): Use it.
6994
6995 2002-09-25  Michael Koch  <konqueror@gmx.de>
6996
6997         * java/net/DatagramSocket.java
6998         (DatagramSocket): Initialize new instance variables.
6999         (close): Reset new instance variables.
7000         (getLocalAddress): Remove unneeded SecurityManager usage.
7001         (getLocalPort): Check if socket is already bound.
7002         (isConnected): New method.
7003         (getInetAddress): Implemented.
7004         (getPort): Better Implementation, documentation fixed.
7005         (getRemoteSocketAddress): New method.
7006         * java/net/JarURLConnection.java
7007         (element): Typo fixed.
7008         (getMainAttributes): New method.
7009         (getAttributes): New method (stub only).
7010         (getManifest): New method (stub only).
7011         * java/net/NetPermission.java: Added serialVersionsUID.
7012         * java/net/Socket.java
7013         (connect): Check blocking mode of associated channel,
7014         documentation added.
7015         (getLocalSocketAddress): Better implementation.
7016         (getRemoteSocketAddress): Implemented.
7017         (isBound): New method.
7018         (setSendBufferSize): Documentation added.
7019         * java/net/SocketAddress.java: Added serialVersionsUID.
7020         * java/net/SocketPermission.java: Added serialVersionsUID.
7021         * java/net/URL.java
7022         (URL): Wrap for shorter lines, initialize new instance variables,
7023         documentation added.
7024         (equals): Check new instance variables too.
7025         (getContent): Documentation added.
7026         (getPath): Documentation added.
7027         (getAuthority): New method.
7028         (getHost): Documentation added.
7029         (getPort): Documentation added.
7030         (getDefaultPort): New method.
7031         (getProtocol): Documentation added.
7032         (getUserInfo): Documentation added.
7033         (set): Initialize new instance variables, documentation added.
7034         * java/net/URLStreamHandler.java
7035         (setURL): New method.
7036         * java/net/natPlainDatagramSocketImpl.cc
7037         (connect): Fix exception name.
7038         (disconnect): Fix exception name.
7039
7040 2002-09-25  Michael Koch  <konqueror@gmx.de>
7041
7042         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7043         * java/nio/channels/DatagramChannel.java:
7044         extends AbstractSelectableChannel
7045         * java/nio/channels/ServerSocketChannel.java:
7046         extends AbstractSelectableChannel
7047         * java/nio/channels/SocketChannel.java:
7048         extends AbstractSelectableChannel
7049         * Makefile.am (ordinary_java_source_files):
7050         java/nio/channels/spi/AbstractSelectableChannel.java added.
7051         * Makefile.in: Regenerated.
7052
7053 2002-09-25  Michael Koch  <konqueror@gmx.de>
7054
7055         * java/net/DatagramSocket.java
7056         (DatagramSocket): Exception documentation added.
7057         (bind): Exception documentation added, addded SecurityManager check,
7058         added SocketAddress type check.
7059         (getSoTimeout): Check impl.
7060         (receive): Fix SecurityManager check, check impl, documentation added.
7061         (send): Check channel mode, documentation added.
7062         (connect): New method.
7063         (disconnect): Implemented.
7064         (getLocalSocketAddress): New method.
7065         (getReceiveBufferSize): Check impl.
7066         (setReuseAddress): Check impl.
7067         (getReuseAddress): Check impl.
7068         (setBroadcast): Check impl.
7069         (getBroadcast): Check impl.
7070         (setTrafficClass): Check impl, Documentation cleared.
7071         (getTrafficClass): Check impl.
7072         (getSendBufferSize): Check impl.
7073         (setReceiveBufferSize): Check impl, documentation added.
7074         (setSendBufferSize): Documentation added.
7075         (setDatagramSocketImplFactory): New method.
7076         * java/net/HttpURLConnection.java
7077         (HTTP_INTERNAL_ERROR): The correct code is 500.
7078         (HTTP_NOT_IMPLEMENTED): Added new constant.
7079         (setFollowRedirects): Documentation added.
7080         (getInstanceFollowRedirects): New method.
7081         (setInstanceFollowRedirects): New method.
7082         (setRequestMethod): Documentation added.
7083         (getResponseCode): Documentation added.
7084         (getResponseMessage): Documentation added.
7085         * java/net/JarURLConnection.java
7086         (JarURLConnection): protected since JDK 1.4.
7087         (getJarEntry): java.io.IOException to IOException, documentation added.
7088         (getJarFile): Documentation added.
7089         * java/net/ServerSocket.java
7090         (ServerSocket): Private to public, exception added.
7091         (ServerSocket): java.io.IOException to IOException, documentation added.
7092         (bind): Check socket address type, documentation added.
7093         (bind): java.io.IOException to IOException, documentation added.
7094         (accept): Documentation added.
7095         (implAccept): Check ch is not non-blocking, documentation added.
7096         (setSoTimeout): Documentation fixed.
7097         (setReceiveBufferSize): Documentation added.
7098         * java/net/Socket.java
7099         (Socket): Documentation added.
7100         (bind): Documentation added.
7101         (connect): Check socket address type, documentation added.
7102         (getRemoteSocketAddress): New method.
7103         (getLocalSocketAddress): New method.
7104         (setSoLinger): Documentation added.
7105         (getReuseAddress): New method.
7106         (setReuseAddress): New method.
7107         (getTrafficClass): New method.
7108         (setTrafficClass): New method.
7109         * java/net/URLStreamHandler.java
7110         (openConnection): java.io.IOException to IOException.
7111         (parseURL): Documentation added.
7112         (sameFile): public to protected, documentation added.
7113         (setURL): Documentation added.
7114         * java/nio/IllegalBlockingModeException.java: New file.
7115         * Makefile.am (ordinary_java_source_files):
7116         added java/nio/IllegalBlockingModeException.java
7117         * Makefile.in: Regenerated.
7118
7119 2002-09-25  Michael Koch  <konqueror@gmx.de>
7120
7121         * java/net/DatagramPacket
7122         (DatagramPacket): Exception documentation added.
7123         (setData): Likewise.
7124         (setSocketAddress): Likewise.
7125         * java/net/DatagramSocketImpl.java
7126         (peek): Documentation addded.
7127         (peekData): Documentation addded.
7128         (send): Documentation addded.
7129         (receive): Documentation addded.
7130         (connect): New method.
7131         (disconnect): New method.
7132         (joinGroup): New abstract method.
7133         (leaveGroup): New abstract method.
7134         * java/net/InetSocketAddress.java
7135         (InetSocketAddress): Documentation added.
7136         (equals): final keyword added.
7137         (getAddress): final keyword added.
7138         (getHostName): final keyword added.
7139         (getPort): final keyword added.
7140         (hashCode): final keyword added.
7141         (isUnresolved): final keyword added.
7142         * java/net/MulticastSocket.java
7143         (MulticastSocket): Documentation added.
7144         (MulticastSocket): New method.
7145         (joinGroup): Documentation added.
7146         (joinGroup): New method.
7147         (leaveGroup): Documentation added.
7148         (leaveGroup): New method.
7149         (send): Documentation added.
7150         * java/net/NetworkInterface.java
7151         (getByName): Documentation added.
7152         (getByInetAddress): Documentation added.
7153         (getNetworkInterfaces): Documentation added.
7154         * java/net/PlainDatagramSocketImpl.java
7155         (connect): New method.
7156         (disconnect): New method.
7157         * java/net/SocketImpl.java
7158         (create): Documentation added.
7159         (shutdownInput): Convert public to protected, as it always was.
7160         (shutdownOutput): Convert public to protected, as it always was.
7161         * java/net/SocketOptions.java
7162         (whole file): Reintented.
7163         * java/net/URLClassLoader.java
7164         (URLClassLoader): SecurityManager check added, documentation added.
7165         (findResources): Documentation added.
7166         (findClass): Documentation added.
7167         (newInstance): More correct method arguments.
7168         * java/net/URLConnection.java
7169         (connect): Documentation added.
7170         (getContent): Documentation added.
7171         (getPermission): Documentation added.
7172         (getInputStream): Documentation added.
7173         (getOutputStream): Documentation added.
7174         (setDoInput): Throw correct exception, documentation added.
7175         (setDoOutput): Throw correct exception, documentation added.
7176         (setAllowUserInteraction): Throw correct exception, documentation added.
7177         (setUseCaches): Throw correct exception, documentation added.
7178         (setIfModifiedSince): Throw correct exception, documentation added.
7179         (setRequestProperty): Throw exception, documentation added.
7180         (addRequestProperty): Throw exception, documentation added.
7181         (getRequestProperty): Throw exception, documentation added.
7182         (getRequestProperties): Documentation added.
7183         (setContentHandlerFactory): Documentation added.
7184         (guessContentTypeFromName): protected to public.
7185         (setFileNameMap): Documentation added.
7186         * java/net/URLDecoder.java
7187         (URLDecoder): New method.
7188         (decode): Documentation added.
7189         (whole file): Reindented.
7190         * java/net/URLEncoder.java
7191         (encode): Documentation added.
7192         * java/net/natPlainDatagramSocketImpl.cc
7193         (connect): New method.
7194         (disconnect): New method.
7195         * javax/naming/RefAddr:
7196         (addrType): addrType was never final.
7197         (equals): Fix typo in method name.
7198         * javax/naming/BinaryRefAddr:
7199         (equals): Fix typo in method name.
7200
7201 2002-09-22  Tom Tromey  <tromey@redhat.com>
7202
7203         Fix for PR libgcj/6576:
7204         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7205         didn't find a given bundle.
7206         (getBundle): Don't require base bundle.
7207         (setParent): Removed old comment.
7208         (tryLocalBundle): Try components even if preceding components were
7209         empty.
7210
7211 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7212
7213         * Makefile.am (all-multi): Fix multilib parallel build.
7214
7215 2002-09-21  Michael Koch  <konqueror@gmx.de>
7216
7217         * java/net/Socket.java
7218         (sendUrgentData): New method.
7219         (getChannel): New method.
7220         * java/net/ServerSocket.java
7221         (getChannel): New method.
7222         (isBound): New method.
7223         * java/net/DatagramSocket.java
7224         (DatagramSocket): Two new methods.
7225         (bind): New method.
7226         (getChannel): New method.
7227         (isBound): New method.
7228         (send): Added newline to to make shorter lines.
7229         * java/net/PlainDatagramSocketImpl.java
7230         (mcastGrp): Added argument.
7231         (join): Use new mcastGrp.
7232         (leave): Use new mcastGrp.
7233         (joinGroup): New method.
7234         (leaveGroup): New method.
7235         * java/net/natPlainDatagramSocketImpl.cc
7236         (mcastGrp): Added argument, no yet really implemented.
7237         (getOption): Added newline for shorter lines.
7238         * java/net/natPlainSocketImpl.cc
7239         (read, setOption, getOption): Added newline for shorter lines.
7240
7241 2002-09-19  Tom Tromey  <tromey@redhat.com>
7242
7243        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7244        newly-created exception.
7245
7246 2002-09-18  Michael Koch  <konqueror@gmx.de>
7247
7248         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7249         java/util/regex/PatternSyntaxException.java:
7250         Merge with classpath, new files.
7251         * Makefile.am (core_java_source_files):
7252         Added java/util/regex/Matcher.java,
7253         java/util/regex/Pattern.java,
7254         java/util/regex/PatternSyntaxException.java
7255         * Makefile.in: Regenerated.
7256         * include/config.h.in: Added HAVE_NET_IF_H.
7257         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7258         Removed #if 0 ... #endif.
7259
7260 2002-09-17  Michael Koch  <konqueror@gmx.de>
7261
7262         * java/net/natNetworkInterface.cc:
7263         Removed unneed and yet wrong includes.
7264
7265 2002-09-17  Michael Koch  <konqueror@gmx.de>
7266
7267         * java/net/NetworkInterface.java: New file.
7268         * java/net/natNetworkInterface.java: New file.
7269         * configure.in: Added check for net/if.h.
7270         * configure: Regenerated.
7271         * Makefile.am
7272         (ordinary_java_source_files): Added NetworkInterface.java.
7273         (nat_source_files): Added natNetworkInterface.cc.
7274         * Makefile.in: Regenerated.
7275
7276 2002-09-16  Tom Tromey  <tromey@redhat.com>
7277
7278         * java/net/URLClassLoader.java (findClass): Code source for a
7279         class from a jar is not necessarily a jar: URL.
7280
7281 2002-09-16  Michael Koch  <konqueror@gmx.de>
7282
7283         * java/lang/AssertionError.java:
7284         Merge with classpath, fixes HTML.
7285         * java/rmi/server/LogStream.java:
7286         Merge with classpath, fixes some constants.
7287         * java/net/server/RemoteServer.java:
7288         Merge with classpath, adds serialVersionUID.
7289         * javax/naming/BinaryRefAddr.java:
7290         Merge with classpath, s/equal/equals/.
7291         * javax/naming/NamingException.java:
7292         Merge with classpath, fixed typo.
7293         * javax/naming/RefAddr.java:
7294         Merge with classpath, s/equal/equals/.
7295         * java/awt/Toolkit.java:
7296         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7297         and typo fixed.
7298
7299 2002-09-15  Adam Megacz <adam@xwt.org>
7300
7301         * java/net/natPlainSocketImpl.cc: fixed typo.
7302
7303 2002-09-15  Adam Megacz <adam@xwt.org>
7304
7305         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7306         which don't work on Win32 (yet).
7307
7308 2002-09-14  Adam Megacz <adam@xwt.org>
7309
7310         * java/net/natPlainDatagramSocket.cc: removed #include
7311         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7312         * include/win32.h: included definition for IP_TOS to satisfy
7313         natPlainDatagramSocket.cc
7314
7315 2002-09-13  Michael Koch  <konqueror@gmx.de>
7316
7317         * java/net/DatagramPacket.java (DatagramPacket):
7318         Added linebreak for 80 chars per line.
7319         * java/net/JarURLConection.java
7320         (getInputStreami, getJarEntry): Likewise.
7321         * java/net/SocketPErmission.java
7322         (SocketPermission class docu, implies): Likewise.
7323         * java/net/URLClassLoader.java (findResources): Likewise.
7324         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7325
7326 2002-09-13  Michael Koch  <konqueror@gmx.de>
7327
7328         * java/nio/channels/DatagramChannel.java,
7329         java/nio/channels/ServerSocketChannel.java
7330         java/nio/channels/SocketChannel.java:
7331         New dummy files to make java.net fully JDK 1.4 compatible
7332         * Makefile.am (ordinary_java_source_files): Added
7333         java/net/DatagramSocketImplFactory.java (long forgotten),
7334         java/nio/SocketChannel.java,
7335         java/nio/ServerSocketChannel.java,
7336         java/nio/DatagramChannel.java
7337         * Makefile.in: Regenrated.
7338
7339 2002-09-12  Michael Koch  <konqueror@gmx.de>
7340
7341         * java/net/DatagramSocketImpl.java
7342         (peekData): New method.
7343         * java/net/PlainDatagramSocketImpl.java
7344         (peekData): New method.
7345         * java/net/natPlainDatagramSocketImpl.cc
7346         (peekData): New method.
7347         * java/net/URLConnection
7348         (getPermission): New method.
7349         (addRequestProperty): New method.
7350         (getRequestProperties): New method.
7351         (guessContentTypeFromStream): New method, not really implemented.
7352         (URLConnection): Added/updated documentation.
7353         (connect): Added/updated documentation.
7354         (getURL): Added/updated documentation.
7355         (getContentLength): Added/updated documentation.
7356         (getContentType: Added/updated documentation.
7357         (getContentEncoding): Added/updated documentation.
7358         (getExpiration): Added/updated documentation.
7359         (getDate): Added/updated documentation.
7360         (getLastModified): Added/updated documentation.
7361         (getHeaderField): Added/updated documentation.
7362         (getHeaderFields): Added/updated documentation.
7363         (getHeaderFieldInt): Added/updated documentation.
7364         (getHeaderFieldDate): Added/updated documentation.
7365         (getHeaderFieldKey): Added/updated documentation.
7366         (getContent): Added/updated documentation.
7367         (getInputStream): Added/updated documentation.
7368         (getOutputStream): Added/updated documentation.
7369         (toString): Added/updated documentation.
7370         (setDoInput): Added/updated documentation.
7371         (getDoInput): Added/updated documentation.
7372         (setDoOutput): Added/updated documentation.
7373         (getDoOutput): Added/updated documentation.
7374         (setAllowUserInteraction): Added/updated documentation.
7375         (getAllowUserInteraction): Added/updated documentation.
7376         (setDefaultAllowUserInteraction): Added/updated documentation.
7377         (getDefaultAllowUserInteraction): Added/updated documentation.
7378         (setUseCaches): Added/updated documentation.
7379         (getUseCaches): Added/updated documentation.
7380         (setIfModifiedSince): Added/updated documentation.
7381         (getIfModifiedSince): Added/updated documentation.
7382         (getDefaultUseCaches): Added/updated documentation.
7383         (setDefaultUseCaches): Added/updated documentation.
7384         (setRequestProperty): Added/updated documentation.
7385         (getRequestProperty): Added/updated documentation.
7386         (setDefaultRequestProperty): Added/updated documentation.
7387         (getDefaultRequestProperty): Added/updated documentation.
7388         (setContentHandlerFactory): Added/updated documentation.
7389         (guessContentTypeFromName): Added/updated documentation.
7390         (getFileNameMap): Added/updated documentation.
7391         (setFileNameMap): Added/updated documentation.
7392
7393 2002-09-11  Michael Koch  <konqueror@gmx.de>
7394
7395         * java/net/Socket.java
7396         (Socket): protected to public (since JDK 1.4). Added @specnote.
7397         (bind): New method.
7398         (connect): Two new methods.
7399         (getKeepalive): Get correct socket option.
7400         (setKeepalive): Set correct socket option.
7401         (getOOBInline): New method.
7402         (setOOBInline): New method.
7403         * java/net/ServerSocket.java
7404         (bind): Two new methods.
7405         (getInetAddress): Reimplemented, catch exception.
7406         (getLocalSocketAddress): New method.
7407         (setReuseAddress): New method.
7408         (getReuseAdress): New method.
7409         (setReceiveBufferSize): New method.
7410         (getReceiveBufferSize): New method.
7411         (toString): Made string JDK 1.4 compliant.
7412
7413 2002-09-10  Michael Koch  <konqueror@gmx.de>
7414
7415         * java/net/SocketImpl.java
7416         (connect): New method.
7417         (supportsUrgentData): New method.
7418         (sendUrgentData): New method.
7419         * java/net/PlainSocketImpl.java
7420         (connect): One new method and two new implementation.
7421         (sendUrgentData): New method.
7422         * java/natPlainSocketImpl.cc
7423         (connect): Arguments changed, added support for timeouts.
7424         (getOption): Another __java_boolean to jboolean.
7425
7426 2002-09-07  Adam Megacz <adam@xwt.org>
7427
7428         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7429         definition of IP_TOS.
7430
7431 2002-09-04  Michael Koch  <konqueror@gmx.de>
7432
7433         * java/net/DatagramSocket.java
7434         (DatagramSocket): Added documentation.
7435         (close): Likewise.
7436         (getLocalAddress): Likewise.
7437         (getLocalPort): Likewise.
7438         (receive): Likewise.
7439         (send): Likewise.
7440         (setSoTimeout): Likewise.
7441         (connect): New method.
7442         (disconnect): New method.
7443         (getInetAddress): New method (FIXME)
7444         (getPort): New method.
7445         (setReuseAddress): New method.
7446         (getReuseAddress): New method.
7447         (setBroadcast): New method.
7448         (getBroadcast): New method.
7449         (setTrafficClass): New method.
7450         (getTrafficClass): New method.
7451         * java/net/MulticastSocket.java):
7452         (getTTL): Added @see in documentation.
7453         (setTTL): Added @see in documentation.
7454         (setLoopbackMode): New method.
7455         (getLoopbackMode): New method.
7456         * java/net/PlainSocketImpl.java:
7457         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7458         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7459         * java/net/PlainDatagramSocketImpl.java
7460         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7461         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7462         * java/net/natPlainSocketImpl.cc
7463         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7464         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7465         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7466         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7467         This should also fix SO_KEEPALIVE
7468         * java/net/natPlainDatagramSocketImpl.cc
7469         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7470         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7471         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7472         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7473
7474 2002-09-04  Michael Koch  <konqueror@gmx.de>
7475
7476         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7477         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7478         IP_MULTICAST_LOOP, IP_TOS
7479
7480 2002-09-03  Tom Tromey  <tromey@redhat.com>
7481
7482         * java/lang/Class.h (_getDeclaredMethod): Declare.
7483         (_getMethod): Now private.
7484         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7485         getDeclaredMethod.  Now returns NULL on failure.
7486         * java/lang/Class.java (_getDeclaredMethod): Declare.
7487         (getDeclaredMethod): No longer native; implements access checks.
7488
7489 2002-09-01  Mark Wielaard  <mark@klomp.org>
7490
7491         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7492         (sanitizeStack): Correctly reset unknown and interpreter counters,
7493         detect interpreter runtime frames.
7494         (demangleInterpreterMethod): New method.
7495         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7496         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7497         filling in addrs[].
7498
7499 2002-09-02  Michael Koch  <konqueror@gmx.de>
7500
7501         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7502         re-indented documentation.
7503
7504 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7505
7506         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7507         public, per 1.4 spec.  Fixes PR libgcj/7785.
7508
7509 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7510
7511         * Makefile.in: Rebuilt.
7512         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7513
7514 2002-08-29  Tom Tromey  <tromey@redhat.com>
7515
7516         * java/net/JarURLConnection.java (getCertificates): New method
7517         from Classpath.
7518         * java/net/URLClassLoader.java (URLClassLoader): Extends
7519         SecureClassLoader.
7520         (definePackage): New method from Classpath.
7521         (getPermissions): Likewise.
7522         (newInstance): Likewise.
7523         (findClass): Construct CodeSource for new class (from Classpath).
7524         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7525         methods.
7526         * java/net/URL.java (getUserInfo): New method.
7527         (set(String,String,int,String,String,String,String,String)): New
7528         method.
7529         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7530         (shutdownInput, shutdownOutput): Declare.
7531         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7532         Define.
7533         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7534         (getOption): Likewise.
7535         (shutdownInput): New method.
7536         (shutdownOutput): Likewise.
7537         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7538         keepalive.
7539         (getOption): Likewise.
7540         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7541         * java/net/Socket.java (setKeepAlive): New method.
7542         (getKeepAlive): Likewise.
7543         (shutdownInput, shutdownOutput): New methods.
7544
7545 2002-08-29  Michael Koch  <konqueror@gmx.de>
7546
7547         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7548         new methods are:
7549         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7550           address),
7551         DatagramPacket(byte[] buf, int length, SocketAddress address),
7552         void setSocketAddress(SocketAddress address)
7553         public SocketAddress getSocketAddress()
7554
7555 2002-08-29  Tom Tromey  <tromey@redhat.com>
7556
7557         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7558         ftruncate is missing.
7559         * configure, include/config.h.in: Rebuilt.
7560         * acconfig.h (HAVE_FTRUNCATE): Mention.
7561         * configure.in: Check for ftruncate.
7562
7563 2002-08-29  Tom Tromey  <tromey@redhat.com>
7564
7565         * include/jvm.h (struct _Jv_frame_info): New structure.
7566         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7567         java-interp.h.
7568         (lookupInterp): New method.
7569         (getAddrAsString): Use _Jv_frame_info.
7570         (dladdrLookup): Likewise.
7571         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7572         interpreted frame.
7573         (lookupInterp): Declare.
7574         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7575         (fillInStackTrace): Collect information on interpreted frames.
7576         Use _Jv_frame_info.
7577         * interpret.cc: Include Thread.h.
7578         (run): Create and push _Jv_MethodChain object.
7579         (_Jv_EndOfInterpreter): New global.
7580         * java/lang/Thread.java (interp_frame): New field.
7581         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7582         Include NameFinder.h.
7583
7584 2002-08-28  Tom Tromey  <tromey@redhat.com>
7585
7586         * java/lang/Class.h: Include Package.h.
7587         (Class::getProtectionDomain): Declare.
7588         (Class::getPackage): Declare.
7589
7590 2002-08-28  Michael Koch <konqueror@gmx.de>
7591
7592         * java/net/InetSocketAddress.java: Added some documentation and argument
7593         checks for the port numbers.
7594         * java/net/DatagramSocketImplFactory.java: New file.
7595
7596 2002-08-28  Michael Koch <konqueror@gmx.de>
7597
7598         * java/net/Authenticator.java: added some documentation.
7599
7600 2002-08-27  Tom Tromey  <tromey@redhat.com>
7601
7602         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7603         class.
7604         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7605
7606 2002-08-27  Michael Koch <konqueror@gmx.de>
7607
7608         * java/net/BindException.java,
7609         java/net/JarURLConnection.java,
7610         java/net/FileNameMap.java,
7611         java/net/HttpURLConnection.java,
7612         java/net/InetSocketAddress.java,
7613         java/net/DatagramPacket.java,
7614         java/net/DatagramSocket.java,
7615         java/net/DatagramSocketImpl.java,
7616         java/net/MulticastSocket.java,
7617         java/net/PasswordAuthentication.java,
7618         java/net/ServerSocket.java,
7619         java/net/Socket.java,
7620         java/net/URLClassLoader.java,
7621         java/net/URLConnection.java: add/update of some @since/@deprecated
7622
7623 2002-08-27  Tony Kimball <alk@pobox.com>
7624             Tom Tromey  <tromey@redhat.com>
7625
7626         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7627         define.
7628         (::close): Removed.
7629         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7630         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7631         (::close): Removed.
7632         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7633         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7634
7635 2002-08-25  Adam Megacz <adam@xwt.org>
7636
7637         * include/win32.h (getcwd): copied function declaration as
7638         temporary fix for header confusion.
7639
7640 2002-08-24  Mark Wielaard <mark@klomp.org>
7641
7642         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7643         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7644         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7645         and natNameFinder.cc.
7646         * Makefile.in: Regenerate.
7647         * prims.cc: Use trace_enabled from VMThrowable.
7648         * name-finder.cc: Removed.
7649         * gcj/javaprims.h: Add class VMThrowable.
7650         * gnu/gcj/runtime/NameFinder.java: New file.
7651         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7652         * include/name-finder.h: Removed.
7653         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7654         method stackTraceString().
7655         (printStackTrace (PrintWriter)): Likewise.
7656         (stackTraceString): Complete rewrite of old printStackTrace using
7657         StringBuffer.
7658         (stackTraceStringBuffer): New helper method for stackTraceString().
7659         (fillInStackTrace): Delegate to VMTrowable.
7660         (getStackTrace): Likewise.
7661         (getStackTrace0): Removed.
7662         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7663         (setStackTrace): Copy given array.
7664         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7665         * java/lang/VMThrowable.java: New class.
7666         * java/lang/natVMThrowable.cc: New file.
7667
7668 2003-08-23  Michael Koch  <konqueror@gmx.de>
7669
7670         * java/net/URLConnection.java,
7671         java/netJarURLConnection.java,
7672         gnu/gcj/protocol/core/Connection.java,
7673         gnu/gcj/protocol/file/Connection.java,
7674         gnu/gcj/protocol/http/Connection.java: Added implementation of
7675         getHeaderFields().
7676
7677 2002-08-22  Tom Tromey  <tromey@redhat.com>
7678
7679         * gij.cc (help): Document -cp and -classpath.
7680         (main): Handle -classpath.
7681
7682 2002-08-21  Tom Tromey  <tromey@redhat.com>
7683
7684         * Makefile.in: Rebuilt.
7685         * Makefile.am (ordinary_java_source_files): Added
7686         SocketAddress.java, InetSocketAddress.java.
7687         * java/net/PortUnreachableException.java: Merged with Classpath.
7688         * java/net/SocketTimeoutException.java: Likewise.
7689         * java/net/URISyntaxException.java: Likewise.
7690         * java/net/SocketAddress.java: New class from Classpath.
7691         * java/net/InetSocketAddress.java: Likewise.
7692
7693 2003-08-21  Michael Koch  <konqueror@gmx.de>
7694
7695         * java/net/Authenticator.java: updated JDK 1.4
7696         * java/net/ContentHandler.java: updated JDK 1.4
7697
7698 2002-08-20  Michael Koch  <konqueror@gmx.de>
7699
7700         * java/net/URISyntaxException.java: New file.
7701         * java/net/SocketTimeoutException.java: New file.
7702         * java/net/PortUnreachableException.java: New file.
7703         * Makefile.am: Updated.
7704         * Makefile.in: Rebuilt.
7705
7706 2002-08-18  Mark Wielaard  <mark@klomp.org>
7707
7708         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7709         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7710         MessageDigestSpi (fixes Classpath bug #783).
7711
7712 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7713
7714         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7715         (startProcess): Allocate path for chdir in async-signal-safe way.
7716
7717 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7718
7719         Fix for PR libgcj/7570 and PR libgcj/7578:
7720         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7721         (startProcess): Handle new `dir' argument.
7722         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7723         argument.
7724         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7725         argument.
7726         (startProcess): Likewise.
7727         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7728         argument.
7729         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7730         (exec): Don't create new environment if ENV==null.  Pass DIR to
7731         execInternal.
7732         * java/lang/natRuntime.cc: Include java/io/File.h.
7733         (execInternal): Added `dir' argument.
7734
7735 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7736
7737         * java/io/RandomAccessFile.java (skipBytes): Return number of
7738         bytes skipped.
7739
7740 2002-08-01  Mark Wielaard  <mark@klomp.org>
7741
7742         Reenable patch since shared library troubles on powerpc are solved:
7743         * gnu/java/security/provider/Gnu.java: Reference all implementation
7744         classes by using Class.getName().
7745         * gnu/java/security/der/DEREncodingException.java,
7746         gnu/java/security/provider/DERReader.java,
7747         gnu/java/security/provider/DERWriter.java,
7748         gnu/java/security/provider/DSAKeyPairGenerator.java,
7749         gnu/java/security/provider/DSAParameterGenerator.java,
7750         gnu/java/security/provider/DSAParameters.java,
7751         gnu/java/security/provider/DSASignature.java,
7752         gnu/java/security/provider/GnuDSAPrivateKey.java,
7753         gnu/java/security/provider/GnuDSAPublicKey.java,
7754         gnu/java/security/provider/MD5.java,
7755         gnu/java/security/util/Prime.java: New classes
7756         * Makefile.am (ordinary_java_source_files): Add above files.
7757         * Makefile.in: Regenerate.
7758         * gnu/java/security/provider/DefaultPolicy.java
7759         (getPermissions): Don't maintain static class variable of Permissions.
7760         * gnu/java/security/provider/SHA.java
7761         (engineUpdate): algorithm change.
7762         (engineDigest): algorithm change.
7763
7764 2002-08-09  Mark Wielaard  <mark@klomp.org>
7765
7766         * java/awt/image/MemoryImageSource.java: Change constructor to take
7767         int[] not byte[].
7768         * java/awt/Graphics2D.java: Uncomment methods that can now be
7769         compiled.
7770         * java/awt/GridBagLayout.java: New stub implementation.
7771         * javax/swing/text/html/HTML.java: Stub implementation.
7772         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7773         implementation.
7774
7775         * Makefile.am: Add new files.
7776         * Makefile.in: Rebuilt.
7777
7778 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7779
7780         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7781         methods in Graphics2D.
7782
7783 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7784
7785         AWT/Swing merge from GNU Classpath.
7786
7787         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7788         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7789         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7790         java/awt/color/ProfileDataException.java,
7791         java/awt/CompositeContext.java, java/awt/Composite.java,
7792         java/awt/ContainerOrderFocusTraversalPolicy.java,
7793         java/awt/datatransfer/FlavorTable.java,
7794         java/awt/DefaultFocusTraversalPolicy.java,
7795         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7796         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7797         java/awt/dnd/DragGestureListener.java,
7798         java/awt/dnd/DragGestureRecognizer.java,
7799         java/awt/dnd/DragSourceAdapter.java,
7800         java/awt/dnd/DragSourceContext.java,
7801         java/awt/dnd/DragSourceDragEvent.java,
7802         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7803         java/awt/dnd/DragSourceListener.java,
7804         java/awt/dnd/DragSourceMotionListener.java,
7805         java/awt/dnd/DropTarget.java,
7806         java/awt/dnd/InvalidDnDOperationException.java,
7807         java/awt/dnd/peer/DragSourceContextPeer.java,
7808         java/awt/event/AWTEventListenerProxy.java,
7809         java/awt/event/MouseWheelEvent.java,
7810         java/awt/event/MouseWheelListener.java,
7811         java/awt/event/WindowFocusListener.java,
7812         java/awt/event/WindowStateListener.java,
7813         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7814         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7815         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7816         java/awt/geom/FlatteningPathIterator.java,
7817         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7818         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7819         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7820         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7821         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7822         java/awt/image/ImagingOpException.java,
7823         java/awt/image/RasterFormatException.java,
7824         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7825         java/awt/image/VolatileImage.java,
7826         java/awt/image/WritableRenderedImage.java,
7827         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7828         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7829         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7830         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7831         java/awt/PageAttributes.java, java/awt/print/Book.java,
7832         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7833         java/awt/print/Paper.java, java/awt/print/Printable.java,
7834         java/awt/print/PrinterAbortException.java,
7835         java/awt/print/PrinterException.java,
7836         java/awt/print/PrinterGraphics.java,
7837         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7838         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7839         java/awt/Stroke.java, java/awt/TexturePaint.java,
7840         javax/accessibility/AccessibleAction.java,
7841         javax/accessibility/AccessibleBundle.java,
7842         javax/accessibility/AccessibleComponent.java,
7843         javax/accessibility/AccessibleContext.java,
7844         javax/accessibility/AccessibleEditableText.java,
7845         javax/accessibility/AccessibleExtendedComponent.java,
7846         javax/accessibility/AccessibleExtendedTable.java,
7847         javax/accessibility/AccessibleHyperlink.java,
7848         javax/accessibility/AccessibleHypertext.java,
7849         javax/accessibility/AccessibleIcon.java,
7850         javax/accessibility/Accessible.java,
7851         javax/accessibility/AccessibleKeyBinding.java,
7852         javax/accessibility/AccessibleRelation.java,
7853         javax/accessibility/AccessibleRelationSet.java,
7854         javax/accessibility/AccessibleResourceBundle.java,
7855         javax/accessibility/AccessibleRole.java,
7856         javax/accessibility/AccessibleSelection.java,
7857         javax/accessibility/AccessibleState.java,
7858         javax/accessibility/AccessibleStateSet.java,
7859         javax/accessibility/AccessibleTable.java,
7860         javax/accessibility/AccessibleTableModelChange.java,
7861         javax/accessibility/AccessibleText.java,
7862         javax/accessibility/AccessibleValue.java,
7863         javax/swing/AbstractAction.java,
7864         javax/swing/AbstractButton.java,
7865         javax/swing/AbstractCellEditor.java,
7866         javax/swing/AbstractListModel.java,
7867         javax/swing/AbstractSet.java, javax/swing/Action.java,
7868         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7869         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7870         javax/swing/border/CompoundBorder.java,
7871         javax/swing/border/EmptyBorder.java,
7872         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7873         javax/swing/border/LineBorder.java,
7874         javax/swing/border/MatteBorder.java,
7875         javax/swing/border/TitledBorder.java,
7876         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7877         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7878         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7879         javax/swing/CellRendererPane.java,
7880         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7881         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7882         javax/swing/colorchooser/ColorSelectionModel.java,
7883         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7884         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7885         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7886         javax/swing/DefaultBoundedRangeModel.java,
7887         javax/swing/DefaultButtonModel.java,
7888         javax/swing/DefaultCellEditor.java,
7889         javax/swing/DefaultCellRenderer.java,
7890         javax/swing/DefaultComboBoxModel.java,
7891         javax/swing/DefaultDesktopManager.java,
7892         javax/swing/DefaultFocusManager.java,
7893         javax/swing/DefaultListCellRenderer.java,
7894         javax/swing/DefaultListModel.java,
7895         javax/swing/DefaultListSelectionModel.java,
7896         javax/swing/DefaultSingleSelectionModel.java,
7897         javax/swing/DesktopManager.java,
7898         javax/swing/event/AncestorEvent.java,
7899         javax/swing/event/AncestorListener.java,
7900         javax/swing/event/CaretEvent.java,
7901         javax/swing/event/CaretListener.java,
7902         javax/swing/event/CellEditorListener.java,
7903         javax/swing/event/ChangeEvent.java,
7904         javax/swing/event/ChangeListener.java,
7905         javax/swing/event/DocumentEvent.java,
7906         javax/swing/event/DocumentListener.java,
7907         javax/swing/event/EventListenerList.java,
7908         javax/swing/event/HyperlinkEvent.java,
7909         javax/swing/event/HyperlinkListener.java,
7910         javax/swing/event/InternalFrameAdapter.java,
7911         javax/swing/event/InternalFrameEvent.java,
7912         javax/swing/event/InternalFrameListener.java,
7913         javax/swing/event/ListDataEvent.java,
7914         javax/swing/event/ListDataListener.java,
7915         javax/swing/event/ListSelectionEvent.java,
7916         javax/swing/event/ListSelectionListener.java,
7917         javax/swing/event/MenuDragMouseEvent.java,
7918         javax/swing/event/MenuDragMouseListener.java,
7919         javax/swing/event/MenuEvent.java,
7920         javax/swing/event/MenuKeyEvent.java,
7921         javax/swing/event/MenuKeyListener.java,
7922         javax/swing/event/MenuListener.java,
7923         javax/swing/event/MouseInputAdapter.java,
7924         javax/swing/event/MouseInputListener.java,
7925         javax/swing/event/PopupMenuEvent.java,
7926         javax/swing/event/PopupMenuListener.java,
7927         javax/swing/event/SwingPropertyChangeSupport.java,
7928         javax/swing/event/TableColumnModelEvent.java,
7929         javax/swing/event/TableColumnModelListener.java,
7930         javax/swing/event/TableModelEvent.java,
7931         javax/swing/event/TableModelListener.java,
7932         javax/swing/event/TreeExpansionEvent.java,
7933         javax/swing/event/TreeExpansionListener.java,
7934         javax/swing/event/TreeModelEvent.java,
7935         javax/swing/event/TreeModelListener.java,
7936         javax/swing/event/TreeSelectionEvent.java,
7937         javax/swing/event/TreeSelectionListener.java,
7938         javax/swing/event/TreeWillExpandListener.java,
7939         javax/swing/event/UndoableEditEvent.java,
7940         javax/swing/event/UndoableEditListener.java,
7941         javax/swing/filechooser/FileFilter.java,
7942         javax/swing/filechooser/FileSystemView.java,
7943         javax/swing/filechooser/FileView.java,
7944         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
7945         javax/swing/Icon.java, javax/swing/ImageIcon.java,
7946         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
7947         javax/swing/JApplet.java, javax/swing/JButton.java,
7948         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7949         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7950         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
7951         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
7952         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
7953         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
7954         javax/swing/JLayeredPane.java, javax/swing/JList.java,
7955         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
7956         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
7957         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
7958         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
7959         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
7960         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
7961         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
7962         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
7963         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
7964         javax/swing/JTextField.java, javax/swing/JTextPane.java,
7965         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
7966         javax/swing/JToolTip.java, javax/swing/JTree.java,
7967         javax/swing/JViewport.java, javax/swing/JWindow.java,
7968         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
7969         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
7970         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
7971         javax/swing/MenuSelectionManager.java,
7972         javax/swing/MutableComboBoxModel.java,
7973         javax/swing/OverlayLayout.java,
7974         javax/swing/plaf/ActionMapUIResource.java,
7975         javax/swing/plaf/basic/BasicBorders.java,
7976         javax/swing/plaf/basic/BasicButtonUI.java,
7977         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7978         javax/swing/plaf/basic/BasicDefaults.java,
7979         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7980         javax/swing/plaf/basic/BasicIconFactory.java,
7981         javax/swing/plaf/basic/BasicLabelUI.java,
7982         javax/swing/plaf/basic/BasicListUI.java,
7983         javax/swing/plaf/basic/BasicLookAndFeel.java,
7984         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7985         javax/swing/plaf/basic/BasicPanelUI.java,
7986         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7987         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7988         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7989         javax/swing/plaf/basic/BasicTextUI.java,
7990         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7991         javax/swing/plaf/basic/BasicTreeUI.java,
7992         javax/swing/plaf/basic/BasicViewportUI.java,
7993         javax/swing/plaf/BorderUIResource.java,
7994         javax/swing/plaf/ButtonUI.java,
7995         javax/swing/plaf/ColorChooserUI.java,
7996         javax/swing/plaf/ColorUIResource.java,
7997         javax/swing/plaf/ComboBoxUI.java,
7998         javax/swing/plaf/ComponentInputMapUIResource.java,
7999         javax/swing/plaf/ComponentUI.java,
8000         javax/swing/plaf/DesktopIconUI.java,
8001         javax/swing/plaf/DesktopPaneUI.java,
8002         javax/swing/plaf/DimensionUIResource.java,
8003         javax/swing/plaf/FileChooserUI.java,
8004         javax/swing/plaf/FontUIResource.java,
8005         javax/swing/plaf/IconUIResource.java,
8006         javax/swing/plaf/InputMapUIResource.java,
8007         javax/swing/plaf/InsetsUIResource.java,
8008         javax/swing/plaf/InternalFrameUI.java,
8009         javax/swing/plaf/LabelUI.java,
8010         javax/swing/plaf/ListUI.java,
8011         javax/swing/plaf/MenuBarUI.java,
8012         javax/swing/plaf/MenuItemUI.java,
8013         javax/swing/plaf/OptionPaneUI.java,
8014         javax/swing/plaf/PanelUI.java,
8015         javax/swing/plaf/PopupMenuUI.java,
8016         javax/swing/plaf/ProgressBarUI.java,
8017         javax/swing/plaf/RootPaneUI.java,
8018         javax/swing/plaf/ScrollBarUI.java,
8019         javax/swing/plaf/ScrollPaneUI.java,
8020         javax/swing/plaf/SeparatorUI.java,
8021         javax/swing/plaf/SliderUI.java,
8022         javax/swing/plaf/SplitPaneUI.java,
8023         javax/swing/plaf/TabbedPaneUI.java,
8024         javax/swing/plaf/TableHeaderUI.java,
8025         javax/swing/plaf/TableUI.java,
8026         javax/swing/plaf/TextUI.java,
8027         javax/swing/plaf/ToolBarUI.java,
8028         javax/swing/plaf/ToolTipUI.java,
8029         javax/swing/plaf/TreeUI.java,
8030         javax/swing/plaf/UIResource.java,
8031         javax/swing/plaf/ViewportUI.java,
8032         javax/swing/ProgressMonitorInputStream.java,
8033         javax/swing/ProgressMonitor.java,
8034         javax/swing/Renderer.java,
8035         javax/swing/RepaintManager.java,
8036         javax/swing/RootPaneContainer.java,
8037         javax/swing/Scrollable.java,
8038         javax/swing/ScrollPaneConstants.java,
8039         javax/swing/ScrollPaneLayout.java,
8040         javax/swing/SingleSelectionModel.java,
8041         javax/swing/SizeRequirements.java,
8042         javax/swing/SizeSequence.java,
8043         javax/swing/SwingConstants.java,
8044         javax/swing/SwingUtilities.java,
8045         javax/swing/table/AbstractTableModel.java,
8046         javax/swing/table/DefaultTableCellRenderer.java,
8047         javax/swing/table/DefaultTableColumnModel.java,
8048         javax/swing/table/DefaultTableModel.java,
8049         javax/swing/table/TableCellEditor.java,
8050         javax/swing/table/TableCellRenderer.java,
8051         javax/swing/table/TableColumn.java,
8052         javax/swing/table/TableColumnModel.java,
8053         javax/swing/table/TableModel.java,
8054         javax/swing/text/AbstractDocument.java,
8055         javax/swing/text/AttributeSet.java,
8056         javax/swing/text/BadLocationException.java,
8057         javax/swing/text/Caret.java,
8058         javax/swing/text/CharacterIterator.java,
8059         javax/swing/text/ComponentView.java,
8060         javax/swing/text/DefaultCaret.java,
8061         javax/swing/text/DefaultEditorKit.java,
8062         javax/swing/text/Document.java,
8063         javax/swing/text/EditorKit.java,
8064         javax/swing/text/Element.java,
8065         javax/swing/text/GapContent.java,
8066         javax/swing/text/JTextComponent.java,
8067         javax/swing/text/Keymap.java,
8068         javax/swing/text/MutableAttributeSet.java,
8069         javax/swing/text/PlainDocument.java,
8070         javax/swing/text/PlainEditorKit.java,
8071         javax/swing/text/Position.java,
8072         javax/swing/text/Segment.java,
8073         javax/swing/text/StyledDocument.java,
8074         javax/swing/text/StyledEditorKit.java,
8075         javax/swing/text/Style.java,
8076         javax/swing/text/TextAction.java,
8077         javax/swing/text/ViewFactory.java,
8078         javax/swing/text/View.java,
8079         javax/swing/Timer.java,
8080         javax/swing/ToggleButtonModel.java,
8081         javax/swing/ToolTipManager.java,
8082         javax/swing/tree/AbstractLayoutCache.java,
8083         javax/swing/tree/DefaultMutableTreeNode.java,
8084         javax/swing/tree/DefaultTreeCellEditor.java,
8085         javax/swing/tree/DefaultTreeCellRenderer.java,
8086         javax/swing/tree/DefaultTreeModel.java,
8087         javax/swing/tree/DefaultTreeSelectionModel.java,
8088         javax/swing/tree/ExpandVetoException.java,
8089         javax/swing/tree/FixedHeightLayoutCache.java,
8090         javax/swing/tree/MutableTreeNode.java,
8091         javax/swing/tree/RowMapper.java,
8092         javax/swing/tree/TreeCellEditor.java,
8093         javax/swing/tree/TreeCellRenderer.java,
8094         javax/swing/tree/TreeModel.java,
8095         javax/swing/tree/TreeNode.java,
8096         javax/swing/tree/TreePath.java,
8097         javax/swing/tree/TreeSelectionModel.java,
8098         javax/swing/tree/VariableHeightLayoutCache.java,
8099         javax/swing/UIDefaults.java,
8100         javax/swing/UIManager.java,
8101         javax/swing/undo/AbstractUndoableEdit.java,
8102         javax/swing/undo/CannotRedoException.java,
8103         javax/swing/undo/CannotUndoException.java,
8104         javax/swing/undo/CompoundEdit.java,
8105         javax/swing/undo/StateEditable.java,
8106         javax/swing/undo/StateEdit.java,
8107         javax/swing/undo/UndoableEdit.java,
8108         javax/swing/undo/UndoableEditSupport.java,
8109         javax/swing/undo/UndoManager.java,
8110         javax/swing/UnsupportedLookAndFeelException.java,
8111         javax/swing/ViewportLayout.java,
8112         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8113
8114         * java/awt/ActiveEvent.java,
8115         java/awt/Adjustable.java, java/awt/AWTError.java,
8116         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8117         java/awt/AWTException.java, java/awt/AWTPermission.java,
8118         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8119         java/awt/Color.java, java/awt/Component.java,
8120         java/awt/ComponentOrientation.java, java/awt/Container.java,
8121         java/awt/datatransfer/MimeTypeParseException.java,
8122         java/awt/datatransfer/Transferable.java,
8123         java/awt/datatransfer/UnsupportedFlavorException.java,
8124         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8125         java/awt/event/ActionListener.java,
8126         java/awt/event/AdjustmentEvent.java,
8127         java/awt/event/AdjustmentListener.java,
8128         java/awt/event/AWTEventListener.java,
8129         java/awt/event/ComponentAdapter.java,
8130         java/awt/event/ComponentEvent.java,
8131         java/awt/event/ComponentListener.java,
8132         java/awt/event/ContainerAdapter.java,
8133         java/awt/event/ContainerEvent.java,
8134         java/awt/event/ContainerListener.java,
8135         java/awt/event/FocusAdapter.java,
8136         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8137         java/awt/event/HierarchyBoundsAdapter.java,
8138         java/awt/event/HierarchyBoundsListener.java,
8139         java/awt/event/HierarchyEvent.java,
8140         java/awt/event/HierarchyListener.java,
8141         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8142         java/awt/event/InputMethodListener.java,
8143         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8144         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8145         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8146         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8147         java/awt/event/MouseListener.java,
8148         java/awt/event/MouseMotionAdapter.java,
8149         java/awt/event/MouseMotionListener.java,
8150         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8151         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8152         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8153         java/awt/event/WindowListener.java, java/awt/Font.java,
8154         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8155         java/awt/geom/Ellipse2D.java,
8156         java/awt/geom/IllegalPathStateException.java,
8157         java/awt/geom/Line2D.java,
8158         java/awt/geom/NoninvertibleTransformException.java,
8159         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8160         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8161         java/awt/geom/RoundRectangle2D.java,
8162         java/awt/GraphicsConfiguration.java,
8163         java/awt/IllegalComponentStateException.java,
8164         java/awt/image/IndexColorModel.java,
8165         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8166         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8167         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8168         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8169         java/awt/MenuItem.java, java/awt/PaintContext.java,
8170         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8171         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8172         java/awt/PrintJob.java, java/awt/Rectangle.java,
8173         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8174         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8175         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8176
8177         * java/awt/im/spi/InputMethod.java,
8178         java/awt/im/spi/InputMethodContext.java,
8179         java/awt/im/spi/InputMethodDescriptor.java,
8180         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8181         java/awt/image/renderable/ParameterBlock.java,
8182         java/awt/image/renderable/RenderContext.java,
8183         java/awt/image/renderable/RenderableImage.java,
8184         java/awt/image/renderable/RenderableImageOp.java,
8185         java/awt/image/renderable/RenderableImageProducer.java,
8186         java/awt/image/renderable/RenderedImageFactory.java: New files from
8187         classpath.
8188
8189         * gnu/java/awt/EventModifier.java,
8190         gnu/java/awt/image/ImageDecoder.java,
8191         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8192
8193         * gnu/awt/xlib/XGraphicsConfiguration.java,
8194         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8195         API.
8196
8197         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8198         GNU Classpath.
8199
8200         * Makefile.am: Add new files.
8201         * Makefile.in: Rebuilt.
8202
8203 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8204
8205         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8206         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8207         findResource, getResources, findResources): Add javadoc from classpath.
8208         (getSystemResources): Implemented.
8209
8210 2002-08-01  Mark Wielaard  <mark@klomp.org>
8211
8212         Revert patch that breaks libgcj shared library on powerpc:
8213         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8214         implementation classes by using Class.getName(). Uses Strings again.
8215         * gnu/java/security/der/DEREncodingException.java,
8216         gnu/java/security/provider/DERReader.java,
8217         gnu/java/security/provider/DERWriter.java,
8218         gnu/java/security/provider/DSAKeyPairGenerator.java,
8219         gnu/java/security/provider/DSAParameterGenerator.java,
8220         gnu/java/security/provider/DSAParameters.java,
8221         gnu/java/security/provider/DSASignature.java,
8222         gnu/java/security/provider/GnuDSAPrivateKey.java,
8223         gnu/java/security/provider/GnuDSAPublicKey.java,
8224         gnu/java/security/provider/MD5.java,
8225         gnu/java/security/util/Prime.java: Removed.
8226         * Makefile.am (ordinary_java_source_files): Remove above files.
8227         * Makefile.in: Regenerate.
8228         * gnu/java/security/provider/DefaultPolicy.java
8229         (getPermissions): Revert to maintaining static class variable of
8230         Permissions.
8231         * gnu/java/security/provider/SHA.java
8232         (engineUpdate): Revert algorithm change.
8233         (engineDigest): Revert algorithm change.
8234
8235 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8236
8237         * configure.host: Add SH support.
8238         * sysdep/sh/locks.h: New file.
8239
8240 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8241
8242         * java/awt/Frame.java (Frame): Remove println calls.
8243
8244 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8245
8246         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8247         * configure: Rebuilt.
8248
8249 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8250
8251         * sysdep/powerpc/locks.h: Formatting.
8252         (_LARX): Define.
8253         (_STCX): Define.
8254         (compare_and_swap): Use _LARX and _STCX.
8255         (compare_and_swap_release): Likewise.
8256
8257 2002-07-26  Tom Tromey  <tromey@redhat.com>
8258
8259         * java/net/Authenticator.java: New version from Classpath.
8260         * java/net/DatagramSocketImpl.java: New version from Classpath.
8261
8262 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8263
8264         * configure.host: Add powerpc64*-* entry.
8265
8266 2002-07-26  Tom Tromey  <tromey@redhat.com>
8267
8268         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8269         fcntl.h.
8270
8271 2002-07-24  Tom Tromey  <tromey@redhat.com>
8272
8273         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8274         argument to _load.
8275
8276 2002-07-24  Tom Tromey  <tromey@redhat.com>
8277             Tony Kimball <alk@pobox.com>
8278
8279         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8280         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8281         * java/io/RandomAccessFile.java (setLength): New method.
8282         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8283         * java/io/FileDescriptor.java (setLength): New method.
8284
8285 2002-07-24  Mark Wielaard  <mark@klomp.org>
8286
8287         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8288         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8289         field call setAccessible(true).
8290         (setByteField): Likewise.
8291         (setCharField): Likewise.
8292         (setDoubleField): Likewise.
8293         (setFloatField): Likewise.
8294         (setIntField): Likewise.
8295         (setLongField): Likewise.
8296         (setShortField): Likewise.
8297         (setObjectField): Likewise.
8298
8299 2002-07-24  Tom Tromey  <tromey@redhat.com>
8300
8301         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8302         use toString() to format array element.
8303
8304 2002-07-23  Mark Wielaard  <mark@klomp.org>
8305
8306         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8307         MessageDigestSpi (fixes Classpath bug #783).
8308
8309 2002-07-21  Mark Wielaard  <mark@klomp.org>
8310
8311         * gnu/java/security/provider/Gnu.java: Reference all implementation
8312         classes by using Class.getName().
8313
8314 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8315
8316         * java/lang/ieeefp.h: Add x86-64 support.
8317         * configure.in: Likewise.
8318         * configure.host: Likewise.
8319         * configure: Regenerated.
8320         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8321
8322 2002-07-16  Mark Wielaard  <mark@klomp.org>
8323
8324         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8325         (whitespaceChars): call resetChar().
8326
8327 2002-07-15  Tom Tromey  <tromey@redhat.com>
8328
8329         * Makefile.in: Rebuilt.
8330         * Makefile.am (awt_java_source_files): Added new files.
8331         * java/beans/ExceptionListener.java: Merged with Classpath.
8332         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8333         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8334         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8335         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8336         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8337         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8338         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8339
8340 2002-07-14  Mark Wielaard  <mark@klomp.org>
8341
8342         * gnu/java/security/der/DEREncodingException.java,
8343         gnu/java/security/provider/DERReader.java,
8344         gnu/java/security/provider/DERWriter.java,
8345         gnu/java/security/provider/DSAKeyPairGenerator.java,
8346         gnu/java/security/provider/DSAParameterGenerator.java,
8347         gnu/java/security/provider/DSAParameters.java,
8348         gnu/java/security/provider/DSASignature.java,
8349         gnu/java/security/provider/GnuDSAPrivateKey.java,
8350         gnu/java/security/provider/GnuDSAPublicKey.java,
8351         gnu/java/security/provider/MD5.java,
8352         gnu/java/security/util/Prime.java: New files from Classpath.
8353         * Makefile.am (ordinary_java_source_files): Add new files.
8354         * Makefile.in: Regenerate.
8355
8356 2002-07-14  C. Brian Jones <cbj@gnu.org>
8357
8358         * gnu/java/security/provider/DefaultPolicy.java
8359         (getPermissions): do not maintain static class variable of
8360         Permissions
8361         * gnu/java/security/provider/SHA.java
8362         (engineUpdate): algorithm change
8363         (engineDigest): algorithm change
8364
8365 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8366
8367         For PR libgcj/7292:
8368         * java/lang/Character.java (toString(char)): Now static.
8369
8370 2002-07-12  Mark Wielaard  <mark@klomp.org>
8371
8372         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8373         (getStackTrace0): new method.
8374         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8375         (printStackTrace(PrintWriter)): replace with pure java implementation.
8376         (printRawStackTrace): removed.
8377         (getStackTrace0): new method.
8378         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8379         * gcj/javaprims.h: regenerate class list.
8380         * include/name-finder.h (lookup): new returns StackTraceElement*.
8381         (method_name, file_name): fields removed.
8382         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8383         (~_Jv_name_finder): close new descriptors.
8384         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8385         (createStackTraceElement): new method.
8386         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8387
8388 2002-07-10  Tom Tromey  <tromey@redhat.com>
8389
8390         * configure: Rebuilt.
8391         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8392
8393 2002-07-08  Mark Wielaard  <mark@klomp.org>
8394
8395         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8396         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8397         java.sql.DatabaseMetaData.TestJdbc20
8398
8399 2002-07-05  Tony Kimball  <alk@pobox.com>
8400
8401         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8402
8403 2002-07-04  Tom Tromey  <tromey@redhat.com>
8404             Jeff Sturm  <jsturm@one-point.com>
8405
8406         Fix for PR libgcj/7060:
8407         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8408         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8409         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8410         * java/lang/Class.java (getMethod): New Java implementation;
8411         complies with spec.
8412         (_getMethod): New native method.
8413
8414 2002-07-02  Tom Tromey  <tromey@redhat.com>
8415             David Hovemeyer  <daveho@cs.umd.edu>
8416
8417         * java/text/ChoiceFormat.java
8418         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8419         in check loop.
8420         * java/text/MessageFormat.java
8421         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8422         to MessageFormat.
8423
8424 2002-07-01  Tom Tromey  <tromey@redhat.com>
8425
8426         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8427         StringTokenizer on null string.  For PR libgcj/7180.
8428         From daveho@cs.umd.edu.
8429
8430 2002-06-24  Tom Tromey  <tromey@redhat.com>
8431
8432         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8433         (IntegerClass): Likewise.
8434         * java/lang/natClass.cc (CloneableClass): Removed.
8435         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8436         ConstructorClass): Likewise.
8437         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8438         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8439         SerializableClass): Likewise.
8440         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8441         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8442         LongClass, FloatClass, DoubleClass): Likewise.
8443
8444         * verify.cc (branch_prepass): Updated for change to exception
8445         handler type.
8446         (verify_instructions_0): Likewise.
8447         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8448         (handleExceptionTableEntry): Updated for change to exception
8449         handler type.
8450         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8451         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8452         (union _Jv_InterpPC): New.
8453         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8454         (class _Jv_InterpMethod): Added new `prepared' field.
8455         (class _Jv_InterpMethod): Added `compile' method.  Removed
8456         `continue1' and `find_exception'.  Changed arguments to `run'.
8457         * interpret.cc (union insn_slot): New.
8458         (find_exception): Removed.
8459         (run_normal): Removed most logic.
8460         (run_synch_object): Likewise; also, use JvSynchronize.
8461         (run_synch_class): Likewise.
8462         (run): Removed.
8463         (continue1): Renamed as `run'.  Compile bytecode if required.
8464         Add new code to allow refinement of direct-threaded code at
8465         runtime.  Handle exceptions.
8466         (SAVE_PC): Removed.
8467         (compile): New method.
8468         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8469         (NULLARRAYCHECK): Don't use SAVE_PC.
8470         (pc_t): New typedef.
8471         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8472         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8473
8474 2002-06-23  Tom Tromey  <tromey@redhat.com>
8475
8476         * configure: Rebuilt.
8477         * configure.in (INTERPRETER): New subst.
8478         (AM_RUNTESTFLAGS): Don't subst.
8479
8480         * Makefile.in: Rebuilt.
8481         * Makefile.am ($(srcdir)/java/lang/Object.h,
8482         $(srcdir)/java/lang/Class.h): Added dummy targets.
8483
8484 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8485
8486         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8487
8488         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8489         java/sql/Savepoint.java: New files.
8490         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8491         java/sql/Blob.java, java/sql/CallableStatement.java,
8492         java/sql/Clob.java, java/sql/Connection.java,
8493         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8494         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8495         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8496         java/sql/Ref.java, java/sql/ResultSet.java,
8497         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8498         java/sql/SQLException.java, java/sql/SQLInput.java,
8499         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8500         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8501         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8502         (JDK 1.4) specification.
8503         * javax/sql/ConnectionEvent.java,
8504         javax/sql/ConnectionEventListener.java,
8505         javax/sql/ConnectionPoolDataSource.java,
8506         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8507         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8508         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8509         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8510         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8511         javax/sql/XADataSource.java: New files.
8512         * Makefile.am: Add new files.
8513         * Makefile.in: Rebuilt.
8514
8515 2002-06-20  Tom Tromey  <tromey@redhat.com>
8516
8517         For PR libgcj/7073:
8518         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8519         exists.
8520         * defineclass.cc (handleClassBegin): Superclass for interface is
8521         `null'.
8522
8523 2002-06-18  Tom Tromey  <tromey@redhat.com>
8524
8525         * gcj/javaprims.h: Updated class declaration list.
8526         * Makefile.in: Rebuilt.
8527         * Makefile.am (core_java_source_files): Removed
8528         BasicMapEntry.java.
8529         * java/util/BasicMapEntry.java: Removed.
8530
8531 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8532
8533         * java/net/natPlainDatagramSocketImpl.cc (receive):
8534         Check bounds of argument to FD_SET.
8535         (setOption): Throw exception if socket is closed.
8536
8537         * java/net/natPlainSocketImpl.cc (accept, read):
8538         Check bounds of argument to FD_SET.
8539         (setOption): Throw exception if socket is closed.
8540
8541 2002-06-18  Tom Tromey  <tromey@redhat.com>
8542
8543         * gcj/javaprims.h: Updated class declaration list.
8544         * Makefile.in: Rebuilt.
8545         * Makefile.am (core_java_source_files): Added
8546         PropertyPermissionCollection.java.
8547         * java/lang/Thread.java (group, name): Now package-private.
8548         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8549         * java/util/AbstractList.java: Likewise.
8550         * java/util/AbstractMap.java: Likewise.
8551         * java/util/Calendar.java: Likewise.
8552         * java/util/Collections.java: Likewise.
8553         * java/util/HashMap.java: Likewise.
8554         * java/util/Hashtable.java: Likewise.
8555         * java/util/LinkedHashMap.java: Likewise.
8556         * java/util/LinkedList.java: Likewise.
8557         * java/util/List.java: Likewise.
8558         * java/util/ListResourceBundle.java: Likewise.
8559         * java/util/Map.java: Likewise.
8560         * java/util/Observable.java: Likewise.
8561         * java/util/Properties.java: Likewise.
8562         * java/util/PropertyPermission.java: Likewise.
8563         * java/util/PropertyPermissionCollection.java: Likewise.
8564         * java/util/PropertyResourceBundle.java: Likewise.
8565         * java/util/Random.java: Likewise.
8566         * java/util/SimpleTimeZone.java: Likewise.
8567         * java/util/StringTokenizer.java: Likewise.
8568         * java/util/TimerTask.java: Likewise.
8569         * java/util/TreeMap.java: Likewise.
8570         * java/util/WeakHashMap.java: Likewise.
8571         * java/util/jar/Attributes.java: Likewise.
8572         * java/util/jar/JarException.java: Likewise.
8573         * java/util/jar/Manifest.java: Likewise.
8574
8575 2002-06-17  Tom Tromey  <tromey@redhat.com>
8576
8577         * gcj/javaprims.h: Updated class declaration list.
8578         * Makefile.in: Rebuilt.
8579         * Makefile.am (core_java_source_files): Added new file.
8580         * java/util/EventListenerProxy.java: New file.
8581         * java/util/EventListener.java: Re-merge with Classpath.
8582         * java/util/EventObject.java: Re-merge with Classpath.
8583
8584 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8585
8586         * java/lang/ClassNotFoundException.java: New Classpath version.
8587
8588 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8589
8590         * java/rmi/activation/ActivateFailedException.java: Remerge from
8591         Classpath version.
8592         * java/rmi/activation/ActivationException.java: Ditto.
8593         * java/rmi/activation/UnknownGroupException.java: Ditto.
8594         * java/rmi/activation/UnknownObjectException.java: Ditto.
8595         * java/rmi/server/ExportException: Ditto.
8596         * java/rmi/server/ServerCloneException: Ditto.
8597         * java/rmi/server/ServerNotActiveException: Ditto.
8598         * java/rmi/server/SkeletonMismatchException: Ditto.
8599         * java/rmi/server/SkeletonNotFoundException: Ditto.
8600         * java/rmi/server/SocketSecurityException: Ditto.
8601
8602 2002-06-16  Tom Tromey  <tromey@redhat.com>
8603
8604         * gcj/javaprims.h: Updated class declaration list.
8605
8606         * java/io/LineNumberInputStream.java: Merged with Classpath.
8607
8608         * java/lang/RuntimeException.java: Re-merge with Classpath.
8609         * java/util/ArrayList.java: Likewise.
8610         * java/util/Arrays.java: Likewise.
8611         * java/util/BitSet.java: Likewise.
8612         * java/util/Dictionary.java: Likewise.
8613         * java/util/IdentityHashMap.java: Likewise.
8614         * java/util/MissingResourceException.java: Likewise.
8615         * java/util/Observer.java: Likewise.
8616         * java/util/TooManyListenersException.java: Likewise.
8617         * java/util/zip/DataFormatException.java: Likewise.
8618         * java/util/zip/ZipException.java: Likewise.
8619
8620 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8621
8622         * java/rmi/AccessException.java: Remerge from Classpath.
8623         * java/rmi/AlreadyBoundException.java: Ditto.
8624         * java/rmi/ConnectException.java: Ditto.
8625         * java/rmi/ConnectIOException.java: Ditto.
8626         * java/rmi/MarshalException.java: Ditto.
8627         * java/rmi/NoSuchObjectException.java: Ditto.
8628         * java/rmi/NotBoundException.java: Ditto.
8629         * java/rmi/RemoteException.java: Ditto.
8630         * java/rmi/RMISecurityException.java: Ditto.
8631         * java/rmi/ServerError.java: Ditto.
8632         * java/rmi/ServerException.java: Ditto.
8633         * java/rmi/ServerRuntimeException.java: Ditto.
8634         * java/rmi/StubNotFoundException.java: Ditto.
8635         * java/rmi/UnexpectedExcpetion.java: Ditto.
8636         * java/rmi/UnknownHostException.java: Ditto.
8637         * java/rmi/UnmarshalException.java: Ditto.
8638
8639 2002-06-15  Tom Tromey  <tromey@redhat.com>
8640
8641         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8642         * java/lang/ArithmeticException.java: Likewise.
8643         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8644         * java/lang/ArrayStoreException.java: Likewise.
8645         * java/lang/Byte.java: Likewise.
8646         * java/lang/CharSequence.java: Likewise.
8647         * java/lang/ClassCastException.java: Likewise.
8648         * java/lang/ClassCircularityError.java: Likewise.
8649         * java/lang/ClassFormatError.java: Likewise.
8650         * java/lang/CloneNotSupportedException.java: Likewise.
8651         * java/lang/Cloneable.java: Likewise.
8652         * java/lang/Comparable.java: Likewise.
8653         * java/lang/Compiler.java: Likewise.
8654         * java/lang/Error.java: Likewise.
8655         * java/lang/ExceptionInInitializerError.java: Likewise.
8656         * java/lang/IllegalAccessError.java: Likewise.
8657         * java/lang/IllegalAccessException.java: Likewise.
8658         * java/lang/IllegalArgumentException.java: Likewise.
8659         * java/lang/IllegalMonitorStateException.java: Likewise.
8660         * java/lang/IllegalStateException.java: Likewise.
8661         * java/lang/IllegalThreadStateException.java: Likewise.
8662         * java/lang/IncompatibleClassChangeError.java: Likewise.
8663         * java/lang/IndexOutOfBoundsException.java: Likewise.
8664         * java/lang/InheritableThreadLocal.java: Likewise.
8665         * java/lang/InstantiationError.java: Likewise.
8666         * java/lang/InstantiationException.java: Likewise.
8667         * java/lang/InternalError.java: Likewise.
8668         * java/lang/InterruptedException.java: Likewise.
8669         * java/lang/LinkageError.java: Likewise.
8670         * java/lang/NegativeArraySizeException.java: Likewise.
8671         * java/lang/NoClassDefFoundError.java: Likewise.
8672         * java/lang/NoSuchFieldError.java: Likewise.
8673         * java/lang/NoSuchFieldException.java: Likewise.
8674         * java/lang/NoSuchMethodError.java: Likewise.
8675         * java/lang/NoSuchMethodException.java: Likewise.
8676         * java/lang/NullPointerException.java: Likewise.
8677         * java/lang/NumberFormatException.java: Likewise.
8678         * java/lang/OutOfMemoryError.java: Likewise.
8679         * java/lang/Process.java: Likewise.
8680         * java/lang/Runnable.java: Likewise.
8681         * java/lang/RuntimePermission.java: Likewise.
8682         * java/lang/SecurityException.java: Likewise.
8683         * java/lang/Short.java: Likewise.
8684         * java/lang/StackOverflowError.java: Likewise.
8685         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8686         * java/lang/ThreadDeath.java: Likewise.
8687         * java/lang/ThreadLocal.java: Likewise.
8688         * java/lang/UnknownError.java: Likewise.
8689         * java/lang/UnsatisfiedLinkError.java: Likewise.
8690         * java/lang/UnsupportedClassVersionError.java: Likewise.
8691         * java/lang/UnsupportedOperationException.java: Likewise.
8692         * java/lang/VerifyError.java: Likewise.
8693         * java/lang/VirtualMachineError.java: Likewise.
8694         * java/lang/reflect/InvocationTargetException.java: Likewise.
8695         * java/net/BindException.java: Likewise.
8696         * java/net/ConnectException.java: Likewise.
8697         * java/net/MalformedURLException.java: Likewise.
8698         * java/net/NoRouteToHostException.java: Likewise.
8699         * java/net/ProtocolException.java: Likewise.
8700         * java/net/SocketException.java: Likewise.
8701         * java/net/UnknownHostException.java: Likewise.
8702         * java/net/UnknownServiceException.java: Likewise.
8703
8704         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8705         * java/io/CharConversionException.java: Likewise.
8706         * java/io/EOFException.java: Likewise.
8707         * java/io/FileNotFoundException.java: Likewise.
8708         * java/io/IOException.java: Likewise.
8709         * java/io/InterruptedIOException.java: Likewise.
8710         * java/io/InvalidClassException.java: Likewise.
8711         * java/io/InvalidObjectException.java: Likewise.
8712         * java/io/NotActiveException.java: Likewise.
8713         * java/io/NotSerializableException.java: Likewise.
8714         * java/io/ObjectStreamException.java: Likewise.
8715         * java/io/ObjectStreamConstants.java: Likewise.
8716         * java/io/OptionalDataException.java: Likewise.
8717         * java/io/PipedInputStream.java: Likewise.
8718         * java/io/PushbackInputStream.java: Likewise.
8719         * java/io/StreamCorruptedException.java: Likewise.
8720         * java/io/SyncFailedException.java: Likewise.
8721         * java/io/UTFDataFormatException.java: Likewise.
8722         * java/io/UnsupportedEncodingException.java: Likewise.
8723         * java/io/WriteAbortedException.java: Likewise.
8724
8725 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8726
8727         * java/text/ChoiceFormat.java: Update comments from Classpath.
8728         * java/text/ParseException.java (serialVersionUID): New
8729         field from Classpath.
8730         * java/text/ParseException.java: Update formatting & comments
8731         from Classpath.
8732
8733 2002-06-15  Tom Tromey  <tromey@redhat.com>
8734
8735         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8736         been read but none output by inflater.
8737         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8738         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8739         is_finished.
8740         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8741         version.
8742         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8743         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8744         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8745         version.
8746         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8747
8748 2002-06-13  Tom Tromey  <tromey@redhat.com>
8749
8750         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8751         true and OFFSET!=0.
8752         * java/lang/String.java (String(char[],int,int,boolean): New
8753         constructor.
8754         * java/lang/Long.java: Imported new version from Classpath.
8755         * java/lang/Number.java: Likewise.
8756         * java/lang/Integer.java: Likewise.
8757         * java/lang/Long.java: Likewise.
8758         * java/lang/Float.java: Likewise.
8759         * java/lang/Boolean.java: Likewise.
8760         * java/lang/Double.java: Likewise.
8761         * java/lang/Void.java: Likewise.
8762
8763 2002-06-12  Tom Tromey  <tromey@redhat.com>
8764
8765         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8766         Fixes PR libgcj/6652.
8767
8768 2002-06-10  Tom Tromey  <tromey@redhat.com>
8769
8770         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8771         (Class::getPackagePortion): Likewise.
8772         * java/lang/Class.java (desiredAssertionStatus): New method from
8773         Classpath.
8774         (getPackagePortion): Likewise.
8775         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8776         packageAssertionStatus, classAssertionStatus): New methods from
8777         Classpath.
8778         * java/lang/ClassLoader.java (defaultAssertionStatus,
8779         systemPackageAssertionStatus, packageAssertionStatus,
8780         systemClassAssertionStatus, classAssertionStatus): New fields from
8781         Classpath.
8782         (setDefaultAssertionStatus, setPackageAssertionStatus,
8783         setClassAssertionStatus, clearAssertionStatus): New methods from
8784         Classpath.
8785         * Makefile.in: Rebuilt.
8786         * Makefile.am (core_java_source_files): Added AssertionError.java.
8787         * java/lang/AssertionError.java: New from Classpath.
8788
8789 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8790
8791         * configure.host: Disable hash synchronization and slow_pthread_self
8792         for cygwin.
8793
8794 2002-06-06  Adam Megacz <adam@xwt.org>
8795
8796         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8797         locking, just like the Sun JVM does.
8798
8799 2002-06-05  H.J. Lu  (hjl@gnu.org)
8800
8801         * Makefile.am (libgcj_convenience.la): Revert the last change.
8802         (libgcj.la): Likewise.
8803         * Makefile.in: Regenerated.
8804
8805 2002-06-04  H.J. Lu  (hjl@gnu.org)
8806
8807         * Makefile.am (libgcj_convenience.la): New target.
8808         (libgcj.la): Depend on libgcj_convenience.la.
8809         * Makefile.in: Regenerated.
8810
8811 2002-06-04  H.J. Lu  (hjl@gnu.org)
8812
8813         * configure.in (--with-newlib): New option:
8814         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8815         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8816         Linux.
8817         * configure: Regenerated.
8818
8819 2002-06-04  Tom Tromey  <tromey@redhat.com>
8820
8821         * java/util/natTimeZone.cc: Include <stdio.h>.
8822
8823 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8824
8825         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8826         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8827         Set SIGNAL_HANDLER=include/s390-linux.h.
8828         * configure: Regenerate.
8829         * include/s390-linux.h: New file.
8830
8831 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8832
8833         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8834         not "stackTrace".
8835
8836 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8837
8838         Merge JDK 1.4 java.security changes from classpath.
8839
8840         * java/security/AccessControlException.java: Merge from Classpath.
8841         * java/security/AccessController.java: Likewise.
8842         * java/security/AllPermission.java: Likewise.
8843         * java/security/BasicPermission.java: Likewise.
8844         * java/security/Certificate.java: Likewise.
8845         * java/security/CodeSource.java: Likewise.
8846         * java/security/DigestException.java: Likewise.
8847         * java/security/DigestOutputStream.java: Likewise.
8848         * java/security/DomainCombiner.java: Likewise.
8849         * java/security/GeneralSecurityException.java: Likewise.
8850         * java/security/Guard.java: Likewise.
8851         * java/security/GuardedObject.java: Likewise.
8852         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8853         * java/security/InvalidKeyException.java: Likewise.
8854         * java/security/InvalidParameterException.java: Likewise.
8855         * java/security/Key.java: Likewise.
8856         * java/security/KeyException.java: Likewise.
8857         * java/security/KeyManagementException.java: Likewise.
8858         * java/security/KeyStoreException.java: Likewise.
8859         * java/security/MessageDigest.java: Likewise.
8860         * java/security/NoSuchAlgorithmException.java: Likewise.
8861         * java/security/NoSuchProviderException.java: Likewise.
8862         * java/security/Permission.java: Likewise.
8863         * java/security/PermissionCollection.java: Likewise.
8864         * java/security/Permissions.java: Likewise.
8865         * java/security/Policy.java: Likewise.
8866         * java/security/Principal.java: Likewise.
8867         * java/security/PrivateKey.java: Likewise.
8868         * java/security/PrivilegedAction.java: Likewise.
8869         * java/security/PrivilegedActionException.java: Likewise.
8870         * java/security/PrivilegedExceptionAction.java: Likewise.
8871         * java/security/ProtectionDomain.java: Likewise.
8872         * java/security/ProviderException.java: Likewise.
8873         * java/security/PublicKey.java: Likewise.
8874         * java/security/SecureClassLoader.java: Likewise.
8875         * java/security/SecurityPermission.java: Likewise.
8876         * java/security/SignatureException.java: Likewise.
8877         * java/security/UnrecoverableKeyException.java: Likewise.
8878         * java/security/UnresolvedPermission.java: Likewise.
8879         * java/security/acl/AclNotFoundException.java: Likewise.
8880         * java/security/acl/LastOwnerException.java: Likewise.
8881         * java/security/acl/NotOwnerException.java: Likewise.
8882         * java/security/cert/CRLException.java: Likewise.
8883         * java/security/cert/CertificateEncodingException.java: Likewise.
8884         * java/security/cert/CertificateException.java: Likewise.
8885         * java/security/cert/CertificateExpiredException.java: Likewise.
8886         * java/security/cert/CertificateFactory.java: Likewise.
8887         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8888         * java/security/cert/CertificateParsingException.java: Likewise.
8889         * java/security/spec/InvalidKeySpecException.java: Likewise.
8890         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8891
8892         * java/security/cert/CertPath.java: New file.
8893         * java/security/cert/CertPathBuilderException.java: New file.
8894         * java/security/cert/CertPathValidatorException.java: New file.
8895         * java/security/cert/CertStoreException.java: New file.
8896
8897         * Makefile.am: Add new CertPath classes.
8898         * Makefile.in: Rebuilt.
8899
8900         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8901
8902 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8903
8904         Merge JDK 1.4 exception chaining support from classpath.
8905
8906         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8907         (stackTraceBytes): Rename from stackTrace.
8908         * java/lang/Exception.java: Merge from classpath.
8909         * java/lang/StackTraceElement: New file from classpath.
8910         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8911         * Makefile.am: Add StackTraceElement.
8912         * Makefile.in: Rebuilt.
8913
8914 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8915
8916         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8917         they build first.
8918         * Makefile.in: Rebuilt.
8919
8920 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8921
8922         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
8923         * configure.in: Likewise.
8924         * aclocal.m4: Regenerate.
8925         * configure: Regenerate.
8926
8927 2002-05-13  Tom Tromey  <tromey@redhat.com>
8928
8929         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
8930         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
8931         Include platform.h.
8932
8933         Fixes PR libgcj/6389:
8934         * Makefile.in: Rebuilt.
8935         * Makefile.am (nat_source_files): Added natTimeZone.cc.
8936         * java/util/natTimeZone.cc: New file.
8937         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
8938         * java/lang/System.java: Merged with Classpath.
8939         * java/lang/Runtime.java: Merged with Classpath.
8940         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
8941         security check.
8942         (setIn0): Renamed from setIn; don't run security check.
8943         (setOut0): Renamed from setOut; don't run security check.
8944         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
8945         init_properties): Moved to natRuntime.cc.
8946         Moved many includes to natRuntime.cc.
8947         (isWordsBigEndian): New method.
8948         * java/lang/natRuntime.cc: Include Long.h, also other includes
8949         previously in natSystem.cc.
8950         (maxMemory): New function.
8951         (exitInternal): Renamed from `_exit'.
8952         (exit): Removed.
8953         (init): Don't set finalize_on_exit.
8954         (exitInternal): Use `finalizeOnExit'.
8955         (file_encoding, getpwuid_adaptor): New functions from
8956         natSystem.cc.
8957         (insertSystemProperties): New method, renamed from
8958         System::init_properties.  Don't set user.timezone.
8959         (_load): Don't call checkLink.
8960         (execInternal): New method.
8961         (availableProcessors): Likewise.
8962         (nativeGetLibname): Likewise.
8963
8964 2002-05-11  Mark Wielaard  <mark@klomp.org>
8965
8966         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
8967         space characters.
8968         (previous_internal): Likewise.
8969
8970 2002-05-09  Tom Tromey  <tromey@redhat.com>
8971
8972         * jni.cc (_Jv_JNIFunctions): Fixed typo.
8973
8974         * java/util/ResourceBundle.java: New version from Classpath.
8975         * java/util/Locale.java: Likewise.
8976
8977 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
8978
8979         * testsuite/lib/libjava.exp (libjava_arguments): Append all
8980         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
8981         LD_LIBRARY_PATH.
8982
8983 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
8984
8985         * libjava/Makefile.am (all_java_source_files): New variable.
8986         (all_java_class_files): Likewise.
8987         .java.class: New rule.
8988         (CLEANFILES): Remove tmp-list.
8989         * libjava/Makefile.in: Regenerated.
8990
8991 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
8992
8993         * testsuite/lib/libjava.exp (test_libjava_from_javac):
8994         Append .exe to executable names.  Fix for cygwin.
8995
8996 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
8997
8998         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
8999         script entry, and set LD to it when configuring multilibs.
9000         * configure: Rebuilt.
9001
9002 2002-05-07  Tom Tromey  <tromey@redhat.com>
9003
9004         * java/lang/natString.cc (unintern): Fixed typo.
9005
9006 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9007
9008         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9009         with -no-install on *-*-cygwin*.
9010
9011 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9012
9013         * testsuite/lib/libjava.exp (test_libjava_from_source):
9014         Add comment explaining last patch
9015
9016 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9017
9018         * testsuite/lib/libjava.exp (test_libjava_from_source):
9019         Append .exe to executable names.  If no suffix is present,
9020         then ".exe" is added by default on win32.  Harmless
9021         elsewhere so always do it.
9022
9023 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9024             Tom Tromey  <tromey@redhat.com>
9025
9026         * java/lang/natSystem.cc (getSystemTimeZone): Use
9027         HAVE_UNDERSCORE_TIMEZONE.
9028         * include/config.h.in: Rebuilt.
9029         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9030         * aclocal.m4, configure: Rebuilt.
9031         * acinclude.m4: Run AC_EXEEXT.
9032         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9033         Add test for `_timezone'.
9034
9035 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9036
9037         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9038         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9039         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9040         * Makefile.in: Rebuilt.
9041
9042 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9043
9044         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9045         use sigaction instead of __libc_sigaction.
9046
9047 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9048
9049         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9050         (libjava_init): Use it to find libgcj.spec.
9051         (libjava_arguments): Likewise.
9052
9053 2002-05-02  David S. Miller  <davem@redhat.com>
9054
9055         PR bootstrap/6525
9056         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9057         __libc_sigaction on Sparc.
9058
9059 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9060
9061         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9062         sys/filio.h, if present.
9063
9064 2002-04-30  Tom Tromey  <tromey@redhat.com>
9065
9066         * java/io/BufferedReader.java (fill): Handle case where markPos
9067         point to ignored \n.  Fixes PR libgcj/6301.
9068
9069 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9070
9071         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9072
9073 2002-04-29  Adam King <aking@dreammechanics.com>
9074
9075         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9076         of file in APPEND mode.
9077
9078 2002-04-25  David S. Miller  <davem@redhat.com>
9079
9080         PR target/6422
9081         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9082         program counter to next program counter minus 8.  Update
9083         comments in this macro to explain why.
9084
9085 2002-04-26  Tom Tromey  <tromey@redhat.com>
9086
9087         * verify.cc (construct_primitive_array_type) [void_type]: New
9088         case.
9089         (branch_prepass): Added dummy entries for unused instruction
9090         values.
9091         (verify_instructions_0): Likewise.
9092         * interpret.cc (continue1): Comment fix.
9093         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9094         * Makefile.in: Rebuilt.
9095         * Makefile.am: Added -Wswitch-enum.
9096
9097 2002-04-24  Tom Tromey  <tromey@redhat.com>
9098
9099         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9100         correct length of UTF-8 encoded name.  Strip leading `/'.
9101         (_Jv_RegisterResource): Use _Jv_Malloc.
9102
9103 2002-04-23  Adam Megacz <adam@xwt.org>
9104
9105         * win32.cc, include/win32.cc (backtrace): Added this function
9106         because Win32 does not supply it.
9107
9108 2002-04-21  David S. Miller  <davem@redhat.com>
9109
9110         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9111         magic instruction reading sequence.
9112
9113 2002-04-21  Mark Wielaard  <mark@klomp.org>
9114
9115         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9116
9117 2002-04-19  David S. Miller  <davem@redhat.com>
9118
9119         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9120         arg.
9121         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9122         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9123         on Sparc too.
9124         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9125         for 64-bit sparc.
9126         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9127         * sysdeps/sparc/locks.h: New file.
9128         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9129         on all sparc Solaris configurations.  Set to
9130         include/dwarf2-signal.h on sparc Linux.
9131         * configure: Regenerate
9132         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9133
9134 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9135
9136         * configure: Rebuilt.
9137         * configure.in (backtrace): Function doesn't work on IA-64.
9138
9139 2002-04-17  Adam King <aking@dreammechanics.com>
9140
9141         * java/io/File.java (normalizePath): Add Win32 support for auto
9142         conversion of a '/' path separator to Win32's '\' separator.
9143
9144 2002-04-16  Tom Tromey  <tromey@redhat.com>
9145
9146         Fix for PR libgcj/6081:
9147         * Makefile.in: Rebuilt.
9148         * Makefile.am (install-data-local): Use GNU make trick to avoid
9149         shell limit.
9150
9151 2002-04-16  Adam King <aking@dreammechanics.com>
9152             Tom Tromey  <tromey@redhat.com>
9153
9154         * java/io/natFileWin32.cc (performList): Return the correct array
9155         type.  Don't duplicate the creation of a File since it's already
9156         done earlier in the method and the existing code would cause a
9157         ArrayStoreException.  Don't use fixed-size array.
9158         (_access, _stat, attr, getCanonicalPath, performMkdir,
9159         performRenameTo): Don't use fixed-size array.
9160         (getCanonicalPath): Use throw, not _Jv_Throw.
9161
9162 2002-04-15  DJ Delorie  <dj@redhat.com>
9163
9164         * configure.in: Allow building in $srcdir.
9165         * configure: Regenerated.
9166
9167 2002-04-14  Mark Wielaard <mark@klomp.org>
9168
9169         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9170         * java/net/natSocketImpl.cc (close): Likewise.
9171
9172 2002-04-14  Mark Wielaard <mark@klomp.org>
9173
9174         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9175
9176 2002-04-13  Adam King <aking@dreammechanics.com>
9177
9178         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9179         the f/F/d/D modifiers.
9180
9181 2002-04-12  Anthony Green  <green@redhat.com>
9182
9183         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9184         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9185         * Makefile.in: Rebuilt.
9186         * configure.in: Substitute gcc_version.
9187         * configure: Rebuilt.
9188
9189 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9190
9191         * configure.host: Set can_unwind_signal on hosts which support it.
9192         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9193         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9194         exceptions and can_unwind_signal isn't set.
9195         * configure: Rebuilt.
9196
9197 2002-04-11  Tom Tromey  <tromey@redhat.com>
9198
9199         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9200
9201 2002-04-11  Adam King <aking@dreammechanics.com>
9202             Tom Tromey  <tromey@redhat.com>
9203
9204         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9205         _Jv_ThrowNullPointerException): Mark as noreturn.
9206         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9207         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9208         fixes.
9209
9210 2002-04-10  Tom Tromey  <tromey@redhat.com>
9211
9212         * Makefile.in: Rebuilt.
9213         * Makefile.am (java/lang/Thread.h): Mark
9214         _Jv_AttachCurrentThreadAsDaemon as friend.
9215         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9216         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9217         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9218         function.
9219         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9220         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9221         (_Jv_JNI_InvokeFunctions): Added
9222         _Jv_JNI_AttachCurrentThreadAsDaemon.
9223         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9224         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9225         (JNI_CreateJavaVM): Likewise.
9226         (_Jv_JNI_AttachCurrentThread): Likewise.
9227         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9228         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9229         (_Jv_JNIFunctions): Initialize new fields.
9230         (_Jv_JNI_NewDirectByteBuffer): New function.
9231         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9232         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9233         * include/jni.h (JNI_VERSION_1_4): New macro.
9234         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9235         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9236         (JNINativeInterface::NewDirectByteBuffer): New field.
9237         (JNINativeInterface::GetDirectBufferAddress): New field.
9238         (JNINativeInterface::GetDirectBufferCapacity): New field.
9239         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9240         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9241         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9242
9243 2002-04-09  Tom Tromey  <tromey@redhat.com>
9244
9245         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9246
9247 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9248
9249         Fix for PR libgcj/6187:
9250         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9251         distance.
9252
9253 2002-04-07  Mark Wielaard <mark@klomp.org>
9254
9255         * java/util/AbstractMap.java (putAll): Use entrySet size.
9256         (toString): Explicitly use getKey() and getValue().
9257
9258 2002-04-07  Mark Wielaard <mark@klomp.org>
9259
9260         * java/util/Hashtable.java (contains): Remove NullPointer check.
9261         (containsValue): Add NullPointer check.
9262         (remove): Always throw NullPointerException when key
9263         is null.
9264
9265 2002-04-07  Adam King <aking@dreammechanics.com>
9266
9267         * java/lang/natSystem.cc (init_properties): Call new function
9268         _Jv_platform_initProperties.
9269         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9270         support for the System properties os.name, os.arch, os.version,
9271         user.name, user.home, and user.dir.
9272         * include/posix.h, include/win32.h, posix.cc: New function
9273         _Jv_platform_initProperties.
9274
9275 2002-04-06  Mark Wielaard <mark@klomp.org>
9276
9277         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9278
9279 2002-04-06  Mark Wielaard <mark@klomp.org>
9280
9281         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9282         all of the remaining elements.
9283         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9284         (removeRange): If toIndex == fromIndex do
9285         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9286         (removeAll): Always throw NullPointerException when collection is
9287         null.
9288         (retrainAll): Likewise.
9289
9290 2002-04-05  Mark Wielaard <mark@klomp.org>
9291
9292         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9293         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9294
9295 2002-04-05  Adam Megacz <adam@xwt.org>
9296
9297         * exception.cc (abort): added static modifier
9298
9299 2002-04-04  Adam Megacz <adam@xwt.org>
9300
9301         * include/win32.h (_Jv_platform_close_on_exec): added inline
9302         modifier.
9303
9304 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9305
9306         * configure.host: Add case statement to support generic port
9307         properties.  Add *-*-freebsd* section.
9308
9309 2002-04-04  Mark Wielaard  <mark@klomp.org>
9310
9311         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9312         test.
9313         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9314         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9315         that depend on awt code and BufferedByteOutputStream.interrupt.
9316
9317 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9318
9319         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9320         incorrect "hi" value when count > 40.
9321
9322 2002-04-03  Mark Wielaard  <mark@klomp.org>
9323
9324         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9325         ordering.
9326
9327 2002-04-02  Tom Tromey  <tromey@redhat.com>
9328
9329         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9330         not `0'.
9331
9332 2002-04-02  Mark Wielaard  <mark@klomp.org>
9333
9334         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9335         list of testsuite crashers.
9336
9337 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9338
9339         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9340         when resizing table.
9341
9342 2002-04-01  Mark Wielaard  <mark@klomp.org>
9343
9344         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9345         NegativeArraySizeException
9346         (clear(int)): Use sign extended shift.
9347         (flip(int)): Likewise.
9348         (get(int)): Likewise.
9349         (nextClearBit(int)): Likewise.
9350         (nextSetBit(int)): Likewise.
9351         (set(int)): Likewise.
9352
9353 2002-04-01  Mark Wielaard  <mark@klomp.org>
9354
9355         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9356         that can be compiled now and add testsuite crashers to ignore list.
9357
9358 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9359
9360         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9361
9362         * libgcj.spec.in: Override libgcc, not lib.
9363         * libgcj-test.spec.in: Likewise.
9364
9365 2002-03-29  Tom Tromey  <tromey@redhat.com>
9366
9367         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9368         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9369
9370 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9371
9372         * java/net/PlainDatagramSocketImpl.java
9373         (close): Use native implementation.
9374         (finalize): New method.
9375
9376         * java/net/PlainSocketImpl.java (finalize): New method.
9377
9378         * java/net/natPlainDatagramSocketImpl.cc
9379         (java/io/FileDescriptor.h): Don't include.
9380         (close): Implement method here.
9381         (create): Don't assign fd.
9382
9383         * java/net/natPlainSocketImpl.cc
9384         (java/io/FileDescriptor.h): Don't include.
9385         (create): Don't assign fd.
9386         (accept): Likewise.
9387         (close): Synchronize.
9388
9389 2002-03-27  Richard Henderson  <rth@redhat.com>
9390
9391         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9392
9393 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9394
9395         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9396         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9397         instead of syscall on IA-64.
9398         Add FIXME comment.
9399
9400 2002-03-27  Anthony Green  <green@redhat.com>
9401
9402         * libgcj.spec.in: Add CHECKREFSPEC.
9403         * configure.in: Ditto.
9404         * configure.host: Ditto.  Check references for xscale-elf.
9405         * configure: Rebuilt.
9406
9407 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9408
9409         * include/dwarf2-signal.h: Temporarily back out last change.
9410
9411 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9412
9413         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9414
9415 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9416
9417         * configure.in, configure: enable dwarf2-exception-style
9418         exception handling on IA-64.
9419         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9420         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9421         Add FIXME comment.
9422
9423 2002-03-25  Tom Tromey  <tromey@redhat.com>
9424
9425         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9426         (jv_convert_LDFLAGS): Likewise.
9427         (gij_LDFLAGS): Likewise.
9428         (rmic_LDFLAGS): Likewise.
9429         (rmiregistry_LDFLAGS): Likewise.
9430         * configure.in (THREADLDFLAGS): New subst; set correctly for
9431         *BSD.
9432
9433 2002-03-25  Tom Tromey  <tromey@redhat.com>
9434
9435         For PR libgcj/5303:
9436         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9437         and --version.
9438         (help): New method.
9439         (version): Likewise.
9440         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9441         "GNU".
9442         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9443         "GNU".
9444
9445 2002-03-25  Tom Tromey  <tromey@redhat.com>
9446
9447         * java/awt/Component.java (processEvent): Check ComponentEvent
9448         after KeyEvent.
9449
9450 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9451
9452         * java/io/PushbackReader.java: Reformat.
9453
9454         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9455         calculate correct number of bytes skipped.
9456
9457         Based on patch from Intel's ORP team:
9458         * java/io/PushbackInputStream.java (available): Calculate correct
9459         number of bytes in buffer.
9460         (read): Remove redundant bound check. Return bytes from both the
9461         buffer and the stream.
9462
9463 2002-03-24  Tom Tromey  <tromey@redhat.com>
9464
9465         * java/awt/TextComponent.java (TextComponent): Editable by
9466         default.
9467
9468         * java/awt/MenuItem.java (eventMask): No longer private.
9469         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9470         superclass if we didn't handle event.
9471         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9472         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9473         * java/awt/Choice.java (dispatchEventImpl): New method.
9474         * java/awt/List.java (dispatchEventImpl): New method.
9475         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9476         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9477         * java/awt/TextField.java (dispatchEventImpl): New method.
9478
9479 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9480
9481         * java/beans/IntrospectionException.java: Update to 1.4.
9482         * java/beans/PropertyVetoException.java: Ditto.
9483
9484 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9485
9486         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9487         Arrays.equals instead of ArrayHelper.equalsArray.
9488
9489 2002-03-24  C. Brian Jones <cbj@gnu.org>
9490
9491         * java/beans/Introspector.java: added new static final fields
9492         introduced in 1.2, lots of other updates remain to be done
9493
9494 2002-03-24  C. Brian Jones <cbj@gnu.org>
9495
9496         * java/beans/Introspector.java: reformatting
9497
9498 2002-03-24  C. Brian Jones <cbj@gnu.org>
9499
9500         * java/beans/Introspector.java: default beanInfoSearchPath will
9501         not include sun.beans.infos given we provide no such package and
9502         the API doesn't really require it; gnu.java.beans.info is the
9503         default.
9504
9505 2002-03-24  Mark Wielaard  <mark@klomp.org>
9506
9507         Thanks to Orp developers
9508         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9509         switch TRUE and FALSE return values.
9510
9511 2002-03-23  Tom Tromey  <tromey@redhat.com>
9512
9513         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9514         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9515
9516 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9517
9518         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9519         MONTH entry.  Fixes PR libgcj/6045.
9520
9521 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9522
9523         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9524
9525 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9526
9527         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9528         not release_set.
9529         * sysdep/powerpc/locks.h (write_barrier): New function.
9530         * sysdep/i386/locks.h (write_barrier): New function.
9531
9532 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9533
9534         * include/jni.h Use correct C comments.
9535
9536 2002-03-18  Tom Tromey  <tromey@redhat.com>
9537
9538         * include/jni.h (JNIIMPORT): New macro.
9539         (JNIEXPORT): Likewise.
9540         (JNICALL): Likewise.
9541
9542 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9543
9544         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9545         systems.
9546
9547 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9548
9549         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9550         INIT_SEGV: Use old_i386_kernel_sigaction.
9551         INIT_FP: Likewise.
9552
9553 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9554
9555         * java/lang/natSystem.cc (init_properties): Update VM version
9556         properties.
9557         * configure.in: Set GCJVERSION.
9558         * acconfig.h: Add GCJVERSION.
9559         * configure: Rebuilt.
9560         * include/config.h.in: Rebuilt.
9561
9562 2002-03-17  Anthony Green  <green@redhat.com>
9563
9564         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9565
9566 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9567
9568         Build a single libgcj.so, without separate gc and zlib libraries.
9569         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9570         SYS_ZLIBS if system zlib is used.
9571         * configure: Rebuilt.
9572         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9573         * Makefile.in: Rebuilt.
9574         * libtool-version: Increment .so version number.
9575
9576         * Makefile.am: Escape quotes in echo.
9577         * Makefile.in: Rebuilt.
9578
9579 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9580
9581         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9582         * Makefile.in: Rebuilt.
9583
9584 2002-03-15  Anthony Green  <green@redhat.com>
9585
9586         * configure.host (FILE): New macro for specifing File
9587         implementation.
9588         * configure: Rebuilt.
9589         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9590
9591 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9592
9593         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9594         already implicitly brought in from libgcj.la.
9595         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9596         * Makefile.in: Rebuilt.
9597
9598 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9599
9600         * THANKS: Fix punctuation, alphabetization.
9601
9602 2002-03-15  Tom Tromey  <tromey@redhat.com>
9603             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9604
9605         Fix for PR libgcj/5944.
9606         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9607
9608 2002-03-15  Anthony Green  <green@redhat.com>
9609
9610         * configure.in (tool_include_dir): Define.
9611         * configure: Rebuilt.
9612         * gcj/Makefile.am: Install libgcj-config.h relative to
9613         tool_include_dir.
9614         * gcj/Makefile: Rebuilt.
9615         * gcj/libgcj-config.h: Add warning comment.
9616
9617 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9618
9619         * configure.host (powerpc*-darwin*): Enable interpreter.
9620
9621 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9622
9623         * include/posix.h: Add multiple include header protection.
9624         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9625
9626 2002-03-10  Adam Megacz <adam@xwt.org>
9627
9628         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9629
9630 2002-03-10  Tom Tromey  <tromey@redhat.com>
9631
9632         * java/awt/GridLayout.java (layoutContainer): Handle case where
9633         there are no items in container.
9634
9635         * java/lang/Win32Process.java: Added comment.
9636         * include/posix.h (_Jv_platform_close_on_exec): New function.
9637         Include fcntl.h.
9638         * include/win32.h (_Jv_platform_close_on_exec): New function.
9639         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9640         flag.
9641         (accept): Likewise.
9642         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9643         close-on-exec flag.
9644         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9645         flag.
9646
9647 2002-03-09  Tom Tromey  <tromey@redhat.com>
9648
9649         * verify.cc (state::NO_STACK): New constant.
9650         (state::is_unmerged_ret_state): Handle case where stacktop is
9651         NO_STACK.
9652         (state::merge): Handle NO_STACK merges.
9653         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9654         for instruction following jsr.
9655         (stacktop, stackdepth): Removed unused variables.
9656         (pop_jump): Ignore case where all remaining states are skipped.
9657
9658 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9659
9660         * java/awt/ImageMediaEntry: Removed.
9661         * java/awt/MediaEntry: Removed.
9662
9663 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9664
9665         Hashtable synchronization for PowerPC.
9666         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9667         slow_pthread_self. Set up symlink for sysdeps directory.
9668         * configure: Rebuild.
9669         * configure.host: Document more shell variables. Set sysdeps_dir
9670         for most platforms. Set slow_pthread_self for i686. Set
9671         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9672         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9673         that memory barrier is emitted where required.
9674         * prims.cc: 64-bit align static primitive class instances.
9675         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9676         read_barrier() to enforce ordering of reads.
9677         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9678         primitives for PowerPC.
9679         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9680         moved from natObject.cc.
9681         * sysdep/alpha/locks.h: Likewise.
9682         * sysdep/ia64/locks.h: Likewise.
9683         * sysdep/generic/locks.h: Likewise.
9684         * java/lang/natObject.cc: Move thread synchronization primitives to
9685         system-dependent headers.
9686
9687 2002-03-09  Adam Megacz  <adam@xwt.org>
9688
9689         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9690         bytes read and no failure code returned.
9691
9692 2002-03-09  Adam Megacz  <adam@xwt.org>
9693
9694         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9695         definitions to simulate -mthreads.
9696
9697 2002-03-09  Adam Megacz  <adam@xwt.org>
9698
9699         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9700         avoid precision loss.
9701
9702 2002-03-09  Per Bothner  <per@bothner.com>
9703
9704         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9705         * gnu/gcj/xlib/XImage.java:  Likewise.
9706         * gnu/gcj/xlib/XColor.java:  Likewise.
9707
9708 2002-03-09  Adam Megacz  <adam@xwt.org>
9709
9710         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9711         IOException so that Throwable.printStackTrace fails correctly.
9712
9713 2002-03-08  Adam Megacz  <adam@xwt.org>
9714
9715         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9716         fixed.
9717
9718 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9719
9720         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9721         truncated to int.
9722
9723 2002-03-08  Tom Tromey  <tromey@redhat.com>
9724
9725         * include/jni.h: Include stdio.h.
9726
9727 2002-03-08  Tom Tromey  <tromey@redhat.com>
9728
9729         * posix.cc (internal_gettimeofday): New function.
9730         (_Jv_select): Use it.
9731
9732 2002-03-07  Adam Megacz  <adam@xwt.org>
9733
9734         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9735         WIN32, and added thunks for read(), write(), and close().
9736         * java/net/natPlainSocketImpl.cc (accept, read, read):
9737         Disabled timeouts on WIN32 pending discussion.
9738
9739 2002-03-07  Adam Megacz  <adam@xwt.org>
9740
9741         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9742         returns jlong. Added implementation
9743         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9744         returns jlong.
9745         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9746         returns jlong.
9747         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9748         returns jlong.
9749         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9750         _Jv_platform_gettimeofday signature.
9751
9752 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9753
9754         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9755         (read): Call recv() directly, not _Jv_recv().
9756
9757 2002-03-06  Tom Tromey  <tromey@redhat.com>
9758
9759         * java/io/natFileDescriptorEcos.cc (init): Don't use
9760         GetStdHandle.
9761         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9762         is negative.
9763         (init): Don't use GetStdHandle.
9764
9765         * include/config.h.in: Rebuilt.
9766         * configure: Rebuilt.
9767         * Makefile.in: Rebuilt.
9768
9769 2002-03-06  Adam Megacz  <adam@xwt.org>
9770
9771         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9772         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9773         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9774         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9775
9776 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9777
9778         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9779         the code for generating include/java-chartables.h.
9780         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9781         merge with Classpath.
9782         * scripts/unicode-muncher.pl: Copy from Classpath.
9783         * scritps/MakeCharTables.java: New file.
9784         * gnu/gcj/convert/Blocks-3.txt: New file.
9785         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9786         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9787         * gnu/java/lang/CharData.java: Copy from Classpath.
9788         * Makefile.am (ordinary_java_source_files): Add
9789         gnu/java/lang/CharData.java.
9790         * configure.in: Remove --enable-fast-character option.
9791         * java/lang/Character.java: Merge algorithms and Javadoc with
9792         Classpath.
9793         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9794         efficiently.
9795         * include/java-chardecomp.h: Regenerate.
9796         * include/java-chartables.h: Regenerate.
9797
9798 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9799
9800         * java/awt/MediaTracker.java: Implemented.
9801         * Makefile.am: Add MediaTracker.
9802         * Makefile.in: Rebuilt.
9803
9804 2002-03-05  Tom Tromey  <tromey@redhat.com>
9805
9806         * java/lang/natPosixProcess.cc (fail): Removed.
9807         (startProcess): Simplified error-handling.  Preserve
9808         LD_LIBRARY_PATH across exec.
9809
9810         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9811         AbstractMethodError.
9812
9813 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9814
9815         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9816         * Makefile.in: Rebuilt.
9817
9818 2002-03-03 Mark Wielaard <mark@klomp.org>
9819
9820         * java/util/Timer (TaskQueue.stop): set elements to zero.
9821
9822 2002-02-28  Anthony Green  <green@redhat.com>
9823
9824         * java/lang/reflect/natMethod.cc (result): Add void* element.
9825         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9826         constructor test.
9827
9828 2002-02-27  Adam Megacz <adam@xwt.org>
9829
9830         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9831         '#undef STRICT'.
9832
9833 2002-02-26  Tom Tromey  <tromey@redhat.com>
9834
9835         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9836         * gij.cc (version): Use __VERSION__.
9837         * include/config.h.in: Rebuilt.
9838         * acconfig.h (GCJVERSION): Removed.
9839         * configure: Rebuilt.
9840         * configure.in (GCJVERSION): Removed.
9841
9842 2002-02-26  Andreas Schwab  <schwab@suse.de>
9843
9844         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9845         glibcpp_CXX, since libjava uses even another CXX.
9846         * aclocal.m4, configure: Regenerated.
9847
9848 2002-02-26  Tom Tromey  <tromey@redhat.com>
9849
9850         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9851         `1'.
9852
9853 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9854
9855         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9856         dependency tracking for .java files.
9857         * Makefile.in: Rebuilt.
9858
9859 2002-02-24  Adam Megacz  <adam@xwt.org>
9860
9861         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9862         typo. Sorry.
9863
9864 2002-02-24  Adam Megacz  <adam@xwt.org>
9865
9866         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9867         for Win32, changed #ifdefs to check WIN32 instead of the
9868         (now-obsolete) USE_WINSOCK, and removed support for socket
9869         timeouts on Win32 pending further discussion.
9870
9871 2002-02-24  Adam Megacz  <adam@xwt.org>
9872
9873         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9874         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9875         delete
9876
9877 2002-02-24  Adam Megacz  <adam@xwt.org>
9878
9879         * java/lang/Win32Process.java: Created a dummy class to allow
9880         build process to run to completion.
9881
9882 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9883
9884         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9885         Define ffi_result union for ffi_call result.  Cast
9886         ffi_result members to jvalue.
9887
9888 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9889
9890         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9891         * testsuite/Makefile.in: Likewise.
9892
9893 2002-02-20  Per Bothner  <per@bothner.com>
9894
9895         * java/net/URL.java (getPath):  New JDK 1.3 method.
9896
9897         * java/net/URLStreamHandler.java (parseURL):
9898         It is wrong to prepend '/' to the file part of a relative url.
9899
9900         * java/net/URLStreamHandler.java (parseURL):
9901         Minor optizations - append '/' rather than "/".
9902
9903         * java/net/URLStreamHandler.java (parseURL):
9904         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9905         We probably should canonicalize for a context-relative url, though.
9906         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9907         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9908         (sameFile):  New method.  Uses canonicalizeFilename.
9909
9910 2002-02-22  Tom Tromey  <tromey@redhat.com>
9911
9912         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9913         java.vendor and java.vm.vendor.
9914         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9915         recent copyright date.
9916         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9917         * gij.cc (version): Print `Inc'.
9918
9919 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9920
9921         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9922         * aclocal.m4, configure: Rebuilt.
9923
9924 2002-02-20  Per Bothner  <per@bothner.com>
9925
9926         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
9927         and/or output streams immediately here, instead of using File.exists.
9928         (inputStream, outputStream):  New fields to save open streams.
9929         (getInputStream, getOutputStream):  Use already-opened streams.
9930
9931 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9932
9933         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
9934         Use it.
9935         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
9936         * aclocal.m4, configure, Makefile.in: Rebuilt.
9937
9938 2002-02-19  Tom Tromey  <tromey@redhat.com>
9939
9940         Fix for PR libgcj/5696:
9941         * verify.cc (is_assignable_from_slow): Never call
9942         _Jv_IsAssignableFrom.
9943         (verify_instructions_0): Added new debug statement.
9944         (state::print): Print information about whether local has
9945         changed.
9946         (state::merge): Don't call note_variable when merging locals.
9947         (state::set_exception): Removed old FIXME comment.
9948
9949 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9950
9951         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
9952         enable SO_BROADCAST.
9953
9954 2002-02-18  Jason Merrill  <jason@redhat.com>
9955
9956         * name-finder.cc (toHex): Use word mode, not long long.
9957
9958         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
9959
9960 2002-02-15  Tom Tromey  <tromey@redhat.com>
9961
9962         Fix for PR libgcj/5695:
9963         * verify.cc (is_assignable_from_slow): Check to see if target is
9964         an Object before checking to see if source is an interface.
9965         (verify_instructions_0) [op_invokeinterface]: Handle case where
9966         we're making an interface call on Object.
9967
9968 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9969
9970         * Makefile.in: Rebuilt with Eric's change below.
9971
9972         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
9973         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
9974         Removed functions which are now implemented in Math.java.
9975
9976 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9977
9978         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
9979         * Makefile.am (core_java_source_files): Add
9980         java/lang/StrictMath.java.
9981         * java/lang/Math.java: Merge with Classpath.
9982         * java/lang/StrictMath.java: New file - merge with Classpath.
9983
9984 2002-02-14  Mark Wielaard  <mark@klomp.org>
9985
9986         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
9987         package as a workaround for gcj 3.0.x
9988
9989 2002-02-14  Mark Wielaard <mark@klomp.org>
9990
9991         * java/security/BasicPermission.java: extends with fully qualified
9992         classname as workaround for gcj 3.0.4.
9993
9994 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9995
9996         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
9997         around gcj bug of wrong emitted qualifier for inherited method.
9998         * java/net/SocketImpl.java (setOption, getOption): Ditto.
9999         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10000         constructor to reduce amount of emitted bytecode. While this
10001         happens to work around a jikes 1.15 bug, it is still a useful
10002         patch even for correct compilers.
10003         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10004         * gnu/java/rmi/server/UnicastRemoteCall.java
10005         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10006
10007 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10008
10009         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10010         * java/net/SocketImpl.java: Ditto.
10011         * java/rmi/server/RMIClassLoader.java: Ditto.
10012         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10013
10014 2002-02-14  Mark Wielaard <mark@klomp.org>
10015
10016         Thanks to Takashi Okamoto
10017         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10018         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10019         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10020
10021 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10022
10023         Fix for PR libgcj/5670:
10024         * verify.cc (is_assignable_from_slow): If `source' is interface,
10025         recursively look for merge with `target'.
10026
10027 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10028
10029         * include/jni.h: Fix typo.
10030
10031 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10032
10033         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10034         correctly.
10035
10036 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10037
10038         Fix for PR libgcj/5671:
10039         * verify.cc (state::merge): Handle case where we're merging
10040         against an interface.
10041
10042 2002-02-12  Tom Tromey  <tromey@redhat.com>
10043
10044         * exception.cc (std::abort): Mark as noreturn.
10045
10046 2002-02-12  Adam Megacz <adam@xwt.org>
10047
10048         * java/lang/Win32Process.java: Filled in a placeholder
10049         implementation so Win32 will build.
10050
10051 2002-02-12  Adam Megacz <adam@xwt.org>
10052
10053         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10054         * java/io/natFile.cc: Removed from repository.
10055         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10056
10057 2002-02-12  Adam Megacz <adam@xwt.org>
10058
10059         * win32.cc: Added two #includes to make win32.cc compile.
10060
10061 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10062
10063         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10064         declarations.
10065         (_Jv_InitGC): Don't bother locking, as this is always called from a
10066         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10067
10068 2002-02-11  Adam Megacz <adam@xwt.org>
10069
10070         * include/win32.h: Added _Jv_platform_gettimeofday.
10071         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10072
10073 2002-02-11  Adam Megacz <adam@xwt.org>
10074
10075         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10076         Added #undef STRICT to make windows.h and
10077         java/lang/reflect/Modifier.h cooperate.
10078
10079 2002-02-11  Adam Megacz <adam@xwt.org>
10080
10081         * java/io/natFileWin32.cc: Created a placeholder class with lots
10082         of FIXMEs.
10083
10084 2002-02-11  Adam Megacz <adam@xwt.org>
10085
10086         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10087         std::abort() to simply abort(). Also added "fake" std::abort() so
10088         we can #include unwind-pe.h without having to link against
10089         libstdc++-v3.
10090
10091 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10092
10093         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10094
10095 2002-02-08  Tom Tromey  <tromey@redhat.com>
10096
10097         * interpret.cc (convert): New function.
10098         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10099         convert.
10100         Include Long.h.
10101
10102 2002-02-08  Anthony Green  <green@redhat.com>
10103
10104         * configure.host: Add support for xscale-elf embedded target.
10105
10106 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10107
10108         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10109         dereferenced.
10110         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10111         frame.
10112
10113 2002-02-07  Tom Tromey  <tromey@redhat.com>
10114
10115         * java/io/natFile.cc (_access): Use __builtin_alloca.
10116         (_stat): Likewise.
10117         (attr): Likewise.
10118         (getCanonicalPath): Likewise.
10119         (performList): Likewise.
10120         (performMkdir): Likewise.
10121         (performSetReadOnly): Likewise.
10122         (performRenameTo): Likewise.
10123         (performSetLastModified): Likewise.
10124         (performCreate): Likewise.
10125         (performDelete): Likewise.
10126
10127 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10128
10129         * HACKING: Fix URL for the automake-gcj.
10130
10131 2002-02-07  Tom Tromey  <tromey@redhat.com>
10132
10133         * java/lang/natThrowable.cc: Updated copyright.
10134         * java/io/natFileWin32.cc: Updated copyright.
10135         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10136         * win32-threads.cc: Updated copyright.
10137         * name-finder.cc: Updated copyright.
10138         * include/name-finder.h: Updated copyright.
10139
10140         * include/name-finder.h: Conditionally include sys/wait.h.
10141         * include/config.h.in: Rebuilt.
10142
10143         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10144         Size buffer based on real size of string.
10145         (_stat): Likewise.
10146         (attr): Likewise.
10147         (getCanonicalPath): Likewise.
10148         (performList): Likewise.
10149         (performMkdir): Likewise.
10150         (performSetReadOnly): Likewise.
10151         (unixroot): Removed.
10152         (performRenameTo): Likewise.
10153         (performSetLastModified): Likewise.
10154         (performCreate): Likewise.
10155         (performDelete): Likewise.
10156         (performListRoots): Always return new array.
10157
10158         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10159         * win32.cc (win32_exception_handler): Now static.
10160         * include/win32.h (_Jv_platform_initialize): Declare.
10161         (win32_exception_handler): Don't declare.
10162         * java/lang/natSystem.cc (currentTimeMillis): Use
10163         _Jv_platform_gettimeofday.
10164         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10165         (_Jv_select): Use new name.
10166         (_Jv_platform_initialize): New function.
10167         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10168         _Jv_gettimeofday.
10169         (_Jv_platform_initialize): Declare.
10170
10171         * configure: Rebuilt.
10172         * configure.in: Removed unnecessary parens.
10173
10174 2002-02-06  Adam Megacz <adam@xwt.org>
10175
10176        * configure.in: Changed mingw) to *mingw*).
10177        * win32.cc: Created this file.
10178        * win32.h: Created this file.
10179        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10180        win32_exception_handler from prims.cc to win32.cc, added
10181        header in win32.h.
10182        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10183        longer needed now that we have platform.h
10184
10185 2002-02-06  Adam Megacz <adam@xwt.org>
10186
10187         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10188         use uint<n>_t instead of LONG and BYTE
10189
10190 2002-02-06  Adam Megacz <adam@xwt.org>
10191
10192         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10193
10194 2002-02-06  Anthony Green  <green@redhat.com>
10195
10196         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10197         Implement missing method stubs.
10198         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10199         targets.
10200         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10201         concept of timezones.
10202         (init_properties): Don't refer to _Jv_Environment_Properties
10203         when this feature is not available.
10204         * include/config.h.in: Rebuilt.
10205         * acconfig.h: Add DISABLE_MAIN_ARGS.
10206         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10207         * configure: Rebuilt.
10208         * configure.in: Add --disable-main-args option.  Test for
10209           opendir function.  Replace AC_CHECK_SIZEOF with
10210           AC_COMPILE_CHECK_SIZEOF.
10211         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10212         * aclocal.m4: Rebuilt.
10213         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10214
10215 2002-02-06  Tom Tromey  <tromey@redhat.com>
10216
10217         * verify.cc (require_array_type): If argument is a null array of
10218         references, return null as the element type.
10219
10220 2002-02-06  Mark Wielaard  <mark@klomp.org>
10221
10222         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10223         duplicate of a wide type.
10224
10225 2002-02-06  Tom Tromey  <tromey@redhat.com>
10226
10227         * verify.cc (type::isnull): New method.
10228         (require_array_type): Handle case where array is null.
10229         (verify_instructions_0) [op_arraylength]: Likewise.
10230
10231 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10232
10233         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10234         Symlink PLATFORMH to platform.h.
10235         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10236         PLATFORMOBJS.
10237         * java/lang/natSystem.cc: #include platform.h not posix.h.
10238         * Makefile.in: Rebuilt with libgcj automake.
10239         * configure: Rebuilt.
10240
10241 2002-02-05  Richard Henderson  <rth@redhat.com>
10242
10243         * Makefile.in: Undo munging last change.
10244
10245 2002-02-04  Adam Megacz <adam@xwt.org>
10246
10247         * win32.cc: Created it.
10248         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10249         which is set to posix.cc or win32.cc.
10250         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10251
10252 2002-02-04  Adam Megacz <adam@xwt.org>
10253
10254         * configure.in: Corrected mingw case branches; added * before
10255         and after.
10256
10257 2002-02-04  Adam Megacz <adam@xwt.org>
10258
10259         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10260         if compiling for win32
10261
10262 2002-02-04  Adam Megacz <adam@xwt.org>
10263
10264         * win32-threads.cc: #undef STRICT after gc.h inclusion
10265
10266 2002-02-02  Tom Tromey  <tromey@redhat.com>
10267
10268         * Makefile.in: Rebuilt.
10269
10270 2002-02-02  Jason Merrill  <jason@redhat.com>
10271
10272         * Makefile.am (clean-nat): New target.
10273
10274 2002-02-02  Tom Tromey  <tromey@redhat.com>
10275
10276         * java/io/natFile.cc: Removed old "FIXME" comments.
10277
10278 2002-02-01  Tom Tromey  <tromey@redhat.com>
10279
10280         * java/lang/natPosixProcess.cc (myclose): New function.
10281         (fail): Use it.
10282         (startProcess): Likewise.
10283
10284 2002-02-01  Adam Megacz <adam@xwt.org>
10285
10286         * prims.cc: Added #undef STRICT after #include<windows.h>.
10287
10288 2002-02-01  Adam Megacz <adam@xwt.org>
10289
10290         * prims.cc
10291         (_Jv_CreateJavaVM): We now use WIN32 instead of
10292         USE_WIN32_SIGNALLING and USE_WINSOCK.
10293         (win32_exception_handler): Now throws an exception out of
10294         the signal handler; assumes SJLJ.
10295
10296 2002-02-01  Adam Megacz <adam@xwt.org>
10297
10298         * win32-threads.cc:
10299         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10300         wait() algorithm to make it safe.
10301         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10302         Added lazy creation of Win32 Events for better performance
10303         (really_start): This now uses GC_CreateThread so boehm-gc
10304         knows about new threads even when statically linked.
10305
10306 2002-02-01  Adam Megacz <adam@xwt.org>
10307
10308         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10309         enable safer wait() algorithm.
10310         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10311         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10312         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10313         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10314         instead of mutex.
10315         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10316
10317 2002-02-01  Adam Megacz <adam@xwt.org>
10318
10319         * configure.in: Added support for mingw.
10320         * java/lang/Win32Process.java: Created as empty file.
10321         * java/lang/natWin32Process.cc: Created as empty file.
10322
10323 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10324
10325         PR java/4972
10326         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10327         for libiconv in LIBICONV variable.
10328         * configure: Regenerated.
10329
10330 2002-01-31  Tom Tromey  <tromey@redhat.com>
10331
10332         * verify.cc (state::enter_subroutine): New method.
10333         (handle_jsr_insn): Use it.
10334         (state::merge): When processing a `ret', correctly use
10335         subroutine's state to determine which local variables have
10336         changed.
10337         (push_exception_jump): Don't let stack overflow.
10338
10339 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10340
10341         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10342         --version output.
10343
10344 2002-01-30  Tom Tromey  <tromey@redhat.com>
10345
10346         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10347         parameter for `recv' return type.
10348
10349         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10350         (state::merge): ... not here.
10351         (subr_entry_info): New structure.
10352         (entry_points): New field.
10353         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10354         entry_points.
10355
10356 2002-01-29  Tom Tromey  <tromey@redhat.com>
10357
10358         * java/awt/List.java (addNotify): Correctly check to see if peer
10359         does not exist.
10360
10361         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10362         to compute height of each cell, and number of columns to compute
10363         width of each cell.
10364         * java/awt/Window.java (getOwnedWindows): Don't return null.
10365         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10366         of component.  Increment x using horizontal gap, not vertical
10367         gap.
10368
10369 2002-01-28  Tom Tromey  <tromey@redhat.com>
10370
10371         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10372         `nargs' byte is number of words, not number of arguments.
10373
10374 2002-01-27  Tom Tromey  <tromey@redhat.com>
10375
10376         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10377         (when): Likewise.
10378         * java/awt/event/InputEvent.java (modifiers, when): Now
10379         package-private.
10380
10381         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10382         and to-do list.
10383         (state::merge): Use current class' class loader.
10384         (state::print): Print subroutine.
10385         (state::merge): Don't look at subroutine of unmerged `ret'.
10386
10387 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10388
10389         * nogc.cc: Remove warnings.
10390         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10391         New functions.
10392
10393 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10394
10395         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10396         int, int):  Remove empty "if" statement to work around compiler bug.
10397         (newPixels(int[], ColorModel, int, int): Likewise.
10398
10399 2002-01-25  Per Bothner  <per@bothner.com>
10400
10401         * verify.cc (verify_fail):  Change from being a top-level function
10402         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10403         Pass the current verifier to type: and state: methods as needed,
10404         for better error messages, and for resolve.
10405         (resolve):  Pass current class's loader for Class.forName and
10406         _Jv_FindClassFromSignature, rather than using the default loader.
10407         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10408         (get_type_val_for_signature):  Make non-static.
10409         (various methods):  Pass start_PC implicitly, not explicitly.
10410
10411 2002-01-25  Tom Tromey  <tromey@redhat.com>
10412
10413         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10414         loop termination condition.
10415         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10416         width.
10417
10418 2002-01-24  Tom Tromey  <tromey@redhat.com>
10419
10420         * java/awt/Shape.java: Merged with Classpath.
10421         * java/awt/Scrollbar.java: Merged with Classpath.
10422
10423         * java/awt/Container.java (addNotify): Unconditionally call
10424         addNotifyContainerChildren and superclass addNotify.
10425
10426         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10427         getAlpha, not getBlue.
10428
10429 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10430
10431         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10432
10433         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10434         (grabPixels(long)): Wait to be notified that the ImageProducer has
10435         completed.
10436
10437 2002-01-24  Per Bothner  <per@bothner.com>
10438
10439         * verify.cc (is_assignable_from_slow): If target is an interface,
10440         we must still check the source's superclass before giving up.
10441
10442 2002-01-24  Tom Tromey  <tromey@redhat.com>
10443
10444         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10445
10446 2002-01-23  Tom Tromey  <tromey@redhat.com>
10447
10448         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10449         `else'.
10450
10451         * Makefile.in: Rebuilt.
10452         * Makefile.am (awt_java_source_files): Added new files.
10453         * java/awt/Toolkit.java: Merged with Classpath.
10454         * java/awt/PrintGraphics.java: New file from Classpath.
10455         * java/awt/PrintJob.java: New file from Classpath.
10456         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10457         * java/awt/datatransfer/ClipboardOwner.java: New file from
10458         Classpath.
10459         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10460         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10461         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10462         Classpath.
10463         * java/awt/datatransfer/StringSelection.java: New file from
10464         Classpath.
10465         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10466         Classpath.
10467         * java/awt/datatransfer/Transferable.java: New file from
10468         Classpath.
10469         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10470         from Classpath.
10471
10472         * Makefile.in: Rebuilt.
10473         * Makefile.am (awt_java_source_files): Added new files.
10474         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10475         Classpath.
10476         * java/awt/image/CropImageFilter.java: New file from Classpath.
10477         * java/awt/image/FilteredImageSource.java: New file from
10478         Classpath.
10479         * java/awt/image/ImageFilter.java: New file from Classpath.
10480         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10481         * java/awt/image/PixelGrabber.java: New file from Classpath.
10482         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10483         * java/awt/image/ReplicateScaleFilter.java: New file from
10484         Classpath.
10485         * java/awt/image/ImageProducer.java: Replaced with Classpath
10486         version.
10487         * java/awt/image/ImageObserver.java: Replaced with Classpath
10488         version.
10489         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10490         version.
10491         * java/awt/GridBagConstraints.java (clone): Catch
10492         CloneNotSupportedException.
10493
10494 2002-01-23  Per Bothner  <per@bothner.com>
10495
10496         * java/lang/reflect/natField.cc (setAddr):  New function.
10497         Calls getAddr and then checks that the field isn't final.
10498         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10499         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10500         (set):  Call setAddr before check that new value has right type,
10501         to better match specified semantics.
10502
10503 2002-01-22  Tom Tromey  <tromey@redhat.com>
10504
10505         * java/awt/TextField.java: Replaced with Classpath version.
10506         * java/awt/TextArea.java: Replaced with Classpath version.
10507         * java/awt/TextComponent.java: Replaced with Classpath version.
10508
10509         * java/awt/GridBagConstraints.java: Updated copyright.
10510
10511 2002-01-22  Mark Wielaard <mark@klomp.org>
10512
10513         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10514         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10515         java/awt/Dialog.java java/awt/FileDialog.java
10516         java/awt/Font.java java/awt/FontMetrics.java
10517         java/awt/Image.java java/awt/ImageMediaEntry.java
10518         java/awt/Insets.java java/awt/List.java
10519         java/awt/MediaEntry.java java/awt/MediaTracker.java
10520         java/awt/Menu.java java/awt/MenuBar.java
10521         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10522         java/awt/PaintContext.java java/awt/Panel.java
10523         java/awt/PopupMenu.java java/awt/SystemColor.java
10524         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10525         java/awt/peer/CheckboxMenuItemPeer.java
10526         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10527         java/awt/peer/ComponentPeer.java
10528         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10529         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10530         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10531         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10532         java/awt/peer/MenuBarPeer.java
10533         java/awt/peer/MenuComponentPeer.java
10534         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10535         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10536         java/awt/peer/ScrollPanePeer.java
10537         java/awt/peer/ScrollbarPeer.java
10538         java/awt/peer/TextAreaPeer.java
10539         java/awt/peer/TextComponentPeer.java
10540         java/awt/peer/TextFieldPeer.java
10541         java/awt/peer/WindowPeer.java: Add license clarification.
10542
10543 2002-01-22  Mark Wielaard <mark@klomp.org>
10544
10545         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10546         gnu/gcj/runtime/StringBuffer.java
10547         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10548         gnu/java/awt/ComponentDataBlitOp.java
10549         gnu/java/awt/GLightweightPeer.java
10550         gnu/java/beans/BeanInfoEmbryo.java
10551         gnu/java/beans/EmptyBeanInfo.java
10552         gnu/java/beans/ExplicitBeanInfo.java
10553         gnu/java/beans/IntrospectionIncubator.java
10554         gnu/java/beans/editors/ColorEditor.java
10555         gnu/java/beans/editors/FontEditor.java
10556         gnu/java/beans/editors/NativeBooleanEditor.java
10557         gnu/java/beans/editors/NativeByteEditor.java
10558         gnu/java/beans/editors/NativeDoubleEditor.java
10559         gnu/java/beans/editors/NativeFloatEditor.java
10560         gnu/java/beans/editors/NativeIntEditor.java
10561         gnu/java/beans/editors/NativeLongEditor.java
10562         gnu/java/beans/editors/NativeShortEditor.java
10563         gnu/java/beans/editors/StringEditor.java
10564         gnu/java/beans/info/ComponentBeanInfo.java
10565         gnu/java/io/ClassLoaderObjectInputStream.java
10566         gnu/java/io/NullOutputStream.java
10567         gnu/java/io/ObjectIdentityWrapper.java
10568         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10569         gnu/java/lang/reflect/TypeSignature.java
10570         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10571         gnu/java/locale/Calendar_en.java
10572         gnu/java/locale/Calendar_nl.java
10573         gnu/java/locale/LocaleInformation.java
10574         gnu/java/locale/LocaleInformation_de.java
10575         gnu/java/locale/LocaleInformation_en.java
10576         gnu/java/locale/LocaleInformation_nl.java
10577         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10578         gnu/java/rmi/registry/RegistryImpl.java
10579         gnu/java/rmi/rmic/Compile_gcj.java
10580         gnu/java/rmi/rmic/Compiler.java
10581         gnu/java/rmi/rmic/CompilerProcess.java
10582         gnu/java/rmi/rmic/RMIC.java
10583         gnu/java/rmi/rmic/TabbedWriter.java
10584         gnu/java/rmi/server/ProtocolConstants.java
10585         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10586         gnu/java/rmi/server/RMIHashes.java
10587         gnu/java/rmi/server/RMIObjectInputStream.java
10588         gnu/java/rmi/server/RMIObjectOutputStream.java
10589         gnu/java/rmi/server/UnicastConnection.java
10590         gnu/java/rmi/server/UnicastConnectionManager.java
10591         gnu/java/rmi/server/UnicastRef.java
10592         gnu/java/rmi/server/UnicastRemoteCall.java
10593         gnu/java/rmi/server/UnicastRemoteStub.java
10594         gnu/java/rmi/server/UnicastServer.java
10595         gnu/java/rmi/server/UnicastServerRef.java
10596         gnu/java/security/provider/DefaultPolicy.java
10597         gnu/java/security/provider/Gnu.java
10598         gnu/java/security/provider/SHA.java
10599         gnu/java/security/provider/SHA1PRNG.java
10600         gnu/java/text/BaseBreakIterator.java
10601         gnu/java/text/CharacterBreakIterator.java
10602         gnu/java/text/LineBreakIterator.java
10603         gnu/java/text/SentenceBreakIterator.java
10604         gnu/java/text/WordBreakIterator.java
10605         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10606         java/applet/AppletContext.java java/applet/AppletStub.java
10607         java/applet/AudioClip.java java/awt/AWTError.java
10608         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10609         java/awt/AWTException.java java/awt/AWTPermission.java
10610         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10611         java/awt/Button.java java/awt/Canvas.java
10612         java/awt/CardLayout.java java/awt/Checkbox.java
10613         java/awt/CheckboxGroup.java java/awt/Component.java
10614         java/awt/ComponentOrientation.java java/awt/Container.java
10615         java/awt/Dimension.java java/awt/Event.java
10616         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10617         java/awt/FlowLayout.java java/awt/Frame.java
10618         java/awt/Graphics.java java/awt/Graphics2D.java
10619         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10620         java/awt/IllegalComponentStateException.java
10621         java/awt/ItemSelectable.java java/awt/Label.java
10622         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10623         java/awt/MenuComponent.java java/awt/MenuItem.java
10624         java/awt/Paint.java java/awt/Point.java
10625         java/awt/Rectangle.java java/awt/RenderingHints.java
10626         java/awt/Transparency.java java/awt/Window.java
10627         java/awt/color/ColorSpace.java
10628         java/awt/color/ICC_ColorSpace.java
10629         java/awt/color/ICC_Profile.java
10630         java/awt/event/HierarchyBoundsAdapter.java
10631         java/awt/event/HierarchyBoundsListener.java
10632         java/awt/event/HierarchyEvent.java
10633         java/awt/event/HierarchyListener.java
10634         java/awt/geom/AffineTransform.java
10635         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10636         java/awt/geom/IllegalPathStateException.java
10637         java/awt/geom/Line2D.java
10638         java/awt/geom/NoninvertibleTransformException.java
10639         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10640         java/awt/geom/Rectangle2D.java
10641         java/awt/geom/RectangularShape.java
10642         java/awt/geom/RoundRectangle2D.java
10643         java/awt/image/BufferedImage.java
10644         java/awt/image/ColorModel.java
10645         java/awt/image/ComponentColorModel.java
10646         java/awt/image/ComponentSampleModel.java
10647         java/awt/image/DataBuffer.java
10648         java/awt/image/DataBufferByte.java
10649         java/awt/image/DataBufferInt.java
10650         java/awt/image/DataBufferUShort.java
10651         java/awt/image/DirectColorModel.java
10652         java/awt/image/PackedColorModel.java
10653         java/awt/image/Raster.java java/awt/image/RasterOp.java
10654         java/awt/image/SampleModel.java
10655         java/awt/image/SinglePixelPackedSampleModel.java
10656         java/awt/image/WritableRaster.java
10657         java/beans/AppletInitializer.java
10658         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10659         java/beans/Beans.java java/beans/Customizer.java
10660         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10661         java/beans/FeatureDescriptor.java
10662         java/beans/IndexedPropertyDescriptor.java
10663         java/beans/IntrospectionException.java
10664         java/beans/Introspector.java java/beans/MethodDescriptor.java
10665         java/beans/ParameterDescriptor.java
10666         java/beans/PropertyChangeEvent.java
10667         java/beans/PropertyChangeListener.java
10668         java/beans/PropertyChangeSupport.java
10669         java/beans/PropertyDescriptor.java
10670         java/beans/PropertyEditor.java
10671         java/beans/PropertyEditorManager.java
10672         java/beans/PropertyEditorSupport.java
10673         java/beans/PropertyVetoException.java
10674         java/beans/SimpleBeanInfo.java
10675         java/beans/VetoableChangeListener.java
10676         java/beans/VetoableChangeSupport.java
10677         java/beans/Visibility.java
10678         java/beans/beancontext/BeanContext.java
10679         java/beans/beancontext/BeanContextChild.java
10680         java/beans/beancontext/BeanContextChildComponentProxy.java
10681         java/beans/beancontext/BeanContextChildSupport.java
10682         java/beans/beancontext/BeanContextContainerProxy.java
10683         java/beans/beancontext/BeanContextEvent.java
10684         java/beans/beancontext/BeanContextMembershipEvent.java
10685         java/beans/beancontext/BeanContextMembershipListener.java
10686         java/beans/beancontext/BeanContextProxy.java
10687         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10688         java/beans/beancontext/BeanContextServiceProvider.java
10689         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10690         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10691         java/beans/beancontext/BeanContextServiceRevokedListener.java
10692         java/beans/beancontext/BeanContextServices.java
10693         java/beans/beancontext/BeanContextServicesListener.java
10694         java/io/BufferedInputStream.java
10695         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10696         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10697         java/io/ByteArrayOutputStream.java
10698         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10699         java/io/CharConversionException.java java/io/DataInput.java
10700         java/io/DataInputStream.java java/io/DataOutput.java
10701         java/io/EOFException.java java/io/Externalizable.java
10702         java/io/FileFilter.java java/io/FileNotFoundException.java
10703         java/io/FilePermission.java java/io/FileReader.java
10704         java/io/FileWriter.java java/io/FilenameFilter.java
10705         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10706         java/io/FilterReader.java java/io/FilterWriter.java
10707         java/io/IOException.java java/io/InputStream.java
10708         java/io/InterruptedIOException.java
10709         java/io/InvalidClassException.java
10710         java/io/InvalidObjectException.java
10711         java/io/NotActiveException.java
10712         java/io/NotSerializableException.java java/io/ObjectInput.java
10713         java/io/ObjectInputStream.java
10714         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10715         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10716         java/io/ObjectStreamConstants.java
10717         java/io/ObjectStreamException.java
10718         java/io/ObjectStreamField.java
10719         java/io/OptionalDataException.java java/io/OutputStream.java
10720         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10721         java/io/PipedReader.java java/io/PipedWriter.java
10722         java/io/PrintWriter.java java/io/PushbackInputStream.java
10723         java/io/PushbackReader.java java/io/Reader.java
10724         java/io/SequenceInputStream.java java/io/Serializable.java
10725         java/io/SerializablePermission.java
10726         java/io/StreamCorruptedException.java
10727         java/io/StreamTokenizer.java
10728         java/io/StringBufferInputStream.java java/io/StringReader.java
10729         java/io/StringWriter.java java/io/SyncFailedException.java
10730         java/io/UTFDataFormatException.java
10731         java/io/UnsupportedEncodingException.java
10732         java/io/WriteAbortedException.java java/io/Writer.java
10733         java/lang/AbstractMethodError.java
10734         java/lang/ArithmeticException.java
10735         java/lang/ArrayIndexOutOfBoundsException.java
10736         java/lang/ArrayStoreException.java java/lang/Boolean.java
10737         java/lang/Byte.java java/lang/CharSequence.java
10738         java/lang/ClassCastException.java
10739         java/lang/ClassCircularityError.java
10740         java/lang/ClassFormatError.java
10741         java/lang/ClassNotFoundException.java
10742         java/lang/CloneNotSupportedException.java
10743         java/lang/Cloneable.java java/lang/Comparable.java
10744         java/lang/Compiler.java java/lang/Double.java
10745         java/lang/Error.java java/lang/Exception.java
10746         java/lang/ExceptionInInitializerError.java
10747         java/lang/Float.java java/lang/IllegalAccessError.java
10748         java/lang/IllegalAccessException.java
10749         java/lang/IllegalArgumentException.java
10750         java/lang/IllegalMonitorStateException.java
10751         java/lang/IllegalStateException.java
10752         java/lang/IllegalThreadStateException.java
10753         java/lang/IncompatibleClassChangeError.java
10754         java/lang/IndexOutOfBoundsException.java
10755         java/lang/InheritableThreadLocal.java
10756         java/lang/InstantiationError.java
10757         java/lang/InstantiationException.java java/lang/Integer.java
10758         java/lang/InternalError.java
10759         java/lang/InterruptedException.java
10760         java/lang/LinkageError.java java/lang/Long.java
10761         java/lang/NegativeArraySizeException.java
10762         java/lang/NoClassDefFoundError.java
10763         java/lang/NoSuchFieldError.java
10764         java/lang/NoSuchFieldException.java
10765         java/lang/NoSuchMethodError.java
10766         java/lang/NoSuchMethodException.java
10767         java/lang/NullPointerException.java java/lang/Number.java
10768         java/lang/NumberFormatException.java
10769         java/lang/OutOfMemoryError.java java/lang/Package.java
10770         java/lang/Process.java java/lang/Runnable.java
10771         java/lang/RuntimeException.java
10772         java/lang/RuntimePermission.java
10773         java/lang/SecurityException.java
10774         java/lang/SecurityManager.java java/lang/Short.java
10775         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10776         java/lang/StringIndexOutOfBoundsException.java
10777         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10778         java/lang/ThreadLocal.java java/lang/UnknownError.java
10779         java/lang/UnsatisfiedLinkError.java
10780         java/lang/UnsupportedClassVersionError.java
10781         java/lang/UnsupportedOperationException.java
10782         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10783         java/lang/Void.java java/lang/ref/PhantomReference.java
10784         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10785         java/lang/ref/SoftReference.java
10786         java/lang/ref/WeakReference.java
10787         java/lang/reflect/AccessibleObject.java
10788         java/lang/reflect/InvocationTargetException.java
10789         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10790         java/lang/reflect/ReflectPermission.java
10791         java/math/BigDecimal.java java/math/BigInteger.java
10792         java/net/Authenticator.java java/net/BindException.java
10793         java/net/ConnectException.java java/net/ContentHandler.java
10794         java/net/ContentHandlerFactory.java
10795         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10796         java/net/FileNameMap.java java/net/MalformedURLException.java
10797         java/net/MulticastSocket.java java/net/NetPermission.java
10798         java/net/NoRouteToHostException.java
10799         java/net/PasswordAuthentication.java
10800         java/net/ProtocolException.java java/net/ServerSocket.java
10801         java/net/Socket.java java/net/SocketException.java
10802         java/net/SocketImpl.java java/net/SocketImplFactory.java
10803         java/net/SocketOptions.java java/net/SocketPermission.java
10804         java/net/URLDecoder.java java/net/URLEncoder.java
10805         java/net/URLStreamHandlerFactory.java
10806         java/net/UnknownHostException.java
10807         java/net/UnknownServiceException.java
10808         java/rmi/AccessException.java
10809         java/rmi/AlreadyBoundException.java
10810         java/rmi/ConnectException.java
10811         java/rmi/ConnectIOException.java
10812         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10813         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10814         java/rmi/NotBoundException.java
10815         java/rmi/RMISecurityException.java
10816         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10817         java/rmi/RemoteException.java java/rmi/ServerError.java
10818         java/rmi/ServerException.java
10819         java/rmi/ServerRuntimeException.java
10820         java/rmi/StubNotFoundException.java
10821         java/rmi/UnexpectedException.java
10822         java/rmi/UnknownHostException.java
10823         java/rmi/UnmarshalException.java
10824         java/rmi/activation/Activatable.java
10825         java/rmi/activation/ActivateFailedException.java
10826         java/rmi/activation/ActivationDesc.java
10827         java/rmi/activation/ActivationException.java
10828         java/rmi/activation/ActivationGroup.java
10829         java/rmi/activation/ActivationGroupDesc.java
10830         java/rmi/activation/ActivationGroupID.java
10831         java/rmi/activation/ActivationID.java
10832         java/rmi/activation/ActivationInstantiator.java
10833         java/rmi/activation/ActivationMonitor.java
10834         java/rmi/activation/ActivationSystem.java
10835         java/rmi/activation/Activator.java
10836         java/rmi/activation/UnknownGroupException.java
10837         java/rmi/activation/UnknownObjectException.java
10838         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10839         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10840         java/rmi/registry/Registry.java
10841         java/rmi/registry/RegistryHandler.java
10842         java/rmi/server/ExportException.java
10843         java/rmi/server/LoaderHandler.java
10844         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10845         java/rmi/server/Operation.java
10846         java/rmi/server/RMIClassLoader.java
10847         java/rmi/server/RMIClientSocketFactory.java
10848         java/rmi/server/RMIFailureHandler.java
10849         java/rmi/server/RMIServerSocketFactory.java
10850         java/rmi/server/RMISocketFactory.java
10851         java/rmi/server/RemoteCall.java
10852         java/rmi/server/RemoteObject.java
10853         java/rmi/server/RemoteRef.java
10854         java/rmi/server/RemoteServer.java
10855         java/rmi/server/RemoteStub.java
10856         java/rmi/server/ServerCloneException.java
10857         java/rmi/server/ServerNotActiveException.java
10858         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10859         java/rmi/server/SkeletonMismatchException.java
10860         java/rmi/server/SkeletonNotFoundException.java
10861         java/rmi/server/SocketSecurityException.java
10862         java/rmi/server/UID.java
10863         java/rmi/server/UnicastRemoteObject.java
10864         java/rmi/server/Unreferenced.java
10865         java/security/AccessControlContext.java
10866         java/security/AccessControlException.java
10867         java/security/AccessController.java
10868         java/security/AlgorithmParameterGenerator.java
10869         java/security/AlgorithmParameterGeneratorSpi.java
10870         java/security/AlgorithmParameters.java
10871         java/security/AlgorithmParametersSpi.java
10872         java/security/AllPermission.java
10873         java/security/BasicPermission.java
10874         java/security/Certificate.java java/security/CodeSource.java
10875         java/security/DigestException.java
10876         java/security/DigestInputStream.java
10877         java/security/DigestOutputStream.java
10878         java/security/DomainCombiner.java
10879         java/security/DummyKeyPairGenerator.java
10880         java/security/DummyMessageDigest.java
10881         java/security/DummySignature.java
10882         java/security/GeneralSecurityException.java
10883         java/security/Guard.java java/security/GuardedObject.java
10884         java/security/Identity.java java/security/IdentityScope.java
10885         java/security/InvalidAlgorithmParameterException.java
10886         java/security/InvalidKeyException.java
10887         java/security/InvalidParameterException.java
10888         java/security/Key.java java/security/KeyException.java
10889         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10890         java/security/KeyManagementException.java
10891         java/security/KeyPair.java java/security/KeyPairGenerator.java
10892         java/security/KeyPairGeneratorSpi.java
10893         java/security/KeyStore.java
10894         java/security/KeyStoreException.java
10895         java/security/KeyStoreSpi.java
10896         java/security/MessageDigest.java
10897         java/security/MessageDigestSpi.java
10898         java/security/NoSuchAlgorithmException.java
10899         java/security/NoSuchProviderException.java
10900         java/security/Permission.java
10901         java/security/PermissionCollection.java
10902         java/security/Permissions.java java/security/Policy.java
10903         java/security/Principal.java java/security/PrivateKey.java
10904         java/security/PrivilegedAction.java
10905         java/security/PrivilegedActionException.java
10906         java/security/PrivilegedExceptionAction.java
10907         java/security/ProtectionDomain.java
10908         java/security/Provider.java
10909         java/security/ProviderException.java
10910         java/security/PublicKey.java
10911         java/security/SecureClassLoader.java
10912         java/security/SecureRandom.java
10913         java/security/SecureRandomSpi.java java/security/Security.java
10914         java/security/SecurityPermission.java
10915         java/security/Signature.java
10916         java/security/SignatureException.java
10917         java/security/SignatureSpi.java
10918         java/security/SignedObject.java java/security/Signer.java
10919         java/security/UnrecoverableKeyException.java
10920         java/security/UnresolvedPermission.java
10921         java/security/acl/Acl.java java/security/acl/AclEntry.java
10922         java/security/acl/AclNotFoundException.java
10923         java/security/acl/Group.java
10924         java/security/acl/LastOwnerException.java
10925         java/security/acl/NotOwnerException.java
10926         java/security/acl/Owner.java java/security/acl/Permission.java
10927         java/security/cert/CRL.java
10928         java/security/cert/CRLException.java
10929         java/security/cert/Certificate.java
10930         java/security/cert/CertificateEncodingException.java
10931         java/security/cert/CertificateException.java
10932         java/security/cert/CertificateExpiredException.java
10933         java/security/cert/CertificateFactory.java
10934         java/security/cert/CertificateFactorySpi.java
10935         java/security/cert/CertificateNotYetValidException.java
10936         java/security/cert/CertificateParsingException.java
10937         java/security/cert/X509CRL.java
10938         java/security/cert/X509CRLEntry.java
10939         java/security/cert/X509Certificate.java
10940         java/security/cert/X509Extension.java
10941         java/security/interfaces/DSAKey.java
10942         java/security/interfaces/DSAKeyPairGenerator.java
10943         java/security/interfaces/DSAParams.java
10944         java/security/interfaces/DSAPrivateKey.java
10945         java/security/interfaces/DSAPublicKey.java
10946         java/security/interfaces/RSAKey.java
10947         java/security/interfaces/RSAPrivateCrtKey.java
10948         java/security/interfaces/RSAPrivateKey.java
10949         java/security/interfaces/RSAPublicKey.java
10950         java/security/spec/AlgorithmParameterSpec.java
10951         java/security/spec/DSAParameterSpec.java
10952         java/security/spec/DSAPrivateKeySpec.java
10953         java/security/spec/DSAPublicKeySpec.java
10954         java/security/spec/EncodedKeySpec.java
10955         java/security/spec/InvalidKeySpecException.java
10956         java/security/spec/InvalidParameterSpecException.java
10957         java/security/spec/KeySpec.java
10958         java/security/spec/PKCS8EncodedKeySpec.java
10959         java/security/spec/RSAKeyGenParameterSpec.java
10960         java/security/spec/RSAPrivateCrtKeySpec.java
10961         java/security/spec/RSAPrivateKeySpec.java
10962         java/security/spec/RSAPublicKeySpec.java
10963         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
10964         java/sql/BatchUpdateException.java java/sql/Blob.java
10965         java/sql/CallableStatement.java java/sql/Clob.java
10966         java/sql/Connection.java java/sql/DataTruncation.java
10967         java/sql/DatabaseMetaData.java java/sql/Date.java
10968         java/sql/Driver.java java/sql/DriverManager.java
10969         java/sql/DriverPropertyInfo.java
10970         java/sql/PreparedStatement.java java/sql/Ref.java
10971         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
10972         java/sql/SQLData.java java/sql/SQLException.java
10973         java/sql/SQLInput.java java/sql/SQLOutput.java
10974         java/sql/SQLWarning.java java/sql/Statement.java
10975         java/sql/Struct.java java/sql/Time.java
10976         java/sql/Timestamp.java java/sql/Types.java
10977         java/text/Annotation.java
10978         java/text/AttributedCharacterIterator.java
10979         java/text/AttributedString.java
10980         java/text/AttributedStringIterator.java
10981         java/text/BreakIterator.java java/text/CharacterIterator.java
10982         java/text/ChoiceFormat.java java/text/Collator.java
10983         java/text/DateFormat.java java/text/DateFormatSymbols.java
10984         java/text/DecimalFormat.java
10985         java/text/DecimalFormatSymbols.java
10986         java/text/FieldPosition.java java/text/Format.java
10987         java/text/MessageFormat.java java/text/NumberFormat.java
10988         java/text/ParseException.java java/text/ParsePosition.java
10989         java/text/SimpleDateFormat.java
10990         java/text/StringCharacterIterator.java
10991         java/util/AbstractCollection.java java/util/AbstractList.java
10992         java/util/AbstractMap.java
10993         java/util/AbstractSequentialList.java
10994         java/util/AbstractSet.java java/util/ArrayList.java
10995         java/util/Arrays.java java/util/BasicMapEntry.java
10996         java/util/BitSet.java java/util/Calendar.java
10997         java/util/Collection.java java/util/Collections.java
10998         java/util/Comparator.java
10999         java/util/ConcurrentModificationException.java
11000         java/util/Date.java java/util/Dictionary.java
11001         java/util/EmptyStackException.java java/util/Enumeration.java
11002         java/util/EventListener.java java/util/EventObject.java
11003         java/util/GregorianCalendar.java java/util/HashMap.java
11004         java/util/HashSet.java java/util/Hashtable.java
11005         java/util/IdentityHashMap.java java/util/Iterator.java
11006         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11007         java/util/LinkedList.java java/util/List.java
11008         java/util/ListIterator.java java/util/ListResourceBundle.java
11009         java/util/Locale.java java/util/Map.java
11010         java/util/MissingResourceException.java
11011         java/util/NoSuchElementException.java
11012         java/util/Observable.java java/util/Observer.java
11013         java/util/Properties.java java/util/PropertyPermission.java
11014         java/util/PropertyResourceBundle.java java/util/Random.java
11015         java/util/RandomAccess.java java/util/ResourceBundle.java
11016         java/util/Set.java java/util/SimpleTimeZone.java
11017         java/util/SortedMap.java java/util/SortedSet.java
11018         java/util/Stack.java java/util/StringTokenizer.java
11019         java/util/TimeZone.java java/util/Timer.java
11020         java/util/TimerTask.java
11021         java/util/TooManyListenersException.java
11022         java/util/TreeMap.java java/util/TreeSet.java
11023         java/util/Vector.java java/util/WeakHashMap.java
11024         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11025         java/util/jar/JarException.java java/util/jar/JarFile.java
11026         java/util/jar/JarInputStream.java
11027         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11028         java/util/zip/Adler32.java java/util/zip/CRC32.java
11029         java/util/zip/CheckedInputStream.java
11030         java/util/zip/CheckedOutputStream.java
11031         java/util/zip/Checksum.java
11032         java/util/zip/DataFormatException.java
11033         java/util/zip/Deflater.java
11034         java/util/zip/DeflaterOutputStream.java
11035         java/util/zip/GZIPInputStream.java
11036         java/util/zip/GZIPOutputStream.java
11037         java/util/zip/Inflater.java
11038         java/util/zip/InflaterInputStream.java
11039         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11040         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11041         java/util/zip/ZipInputStream.java
11042         java/util/zip/ZipOutputStream.java
11043         javax/naming/BinaryRefAddr.java
11044         javax/naming/InvalidNameException.java javax/naming/Name.java
11045         javax/naming/NamingException.java javax/naming/RefAddr.java
11046         javax/naming/StringRefAddr.java: Add license clarification.
11047
11048 2002-01-22  Tom Tromey  <tromey@redhat.com>
11049
11050         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11051         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11052         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11053         version.
11054         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11055         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11056         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11057         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11058         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11059         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11060         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11061         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11062         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11063         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11064         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11065         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11066         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11067         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11068         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11069         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11070         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11071         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11072         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11073         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11074         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11075         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11076         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11077         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11078         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11079         (minimumSize, preferredSize, reshape): Likewise.
11080         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11081         getColorModel): New methods.
11082         * java/awt/PopupMenu.java: Merged with Classpath.
11083         * java/awt/MenuBar.java: Merged with Classpath.
11084         * java/awt/SystemColor.java: Replace with Classpath version.
11085         * java/awt/Panel.java: Merged with Classpath.
11086         * java/awt/PaintContext.java: Updated copyright.
11087         * java/awt/MenuShortcut.java: Merged with Classpath.
11088         * java/awt/MenuContainer.java: Merged with Classpath.
11089         * java/awt/Menu.java: Merged with Classpath.
11090         * java/awt/MediaEntry.java: New file from Classpath.
11091         * java/awt/MediaTracker.java: New file from Classpath.
11092         * java/awt/List.java: Merged with Classpath version.
11093         * java/awt/Insets.java: Merged with Classpath version.
11094         * java/awt/ImageMediaEntry.java: New file from Classpath.
11095         * java/awt/Image.java: Replaced with Classpath version.
11096         * java/awt/FontMetrics.java: Merged with Classpath version.
11097         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11098         constant.
11099         * java/awt/Font.java: Merged with Classpath version.
11100         * java/awt/Dialog.java: Merged with Classpath version.
11101         * java/awt/Color.java: Merged with Classpath version.
11102         * java/awt/Choice.java: Merged with Classpath version.
11103         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11104         * java/awt/Adjustable.java: Replace with Classpath version.
11105         * java/awt/MenuItem.java (paramString): Don't include class name
11106         or brackets.  Call superclass paramString.
11107         * java/awt/MenuComponent.java (toString): Call paramString.
11108         (paramString): Compute string; don't call toString.
11109         * java/awt/Label.java (paramString): Don't include class name
11110         or brackets.  Call superclass paramString.
11111         * java/awt/Checkbox.java (paramString): Don't include class name
11112         or brackets.  Call superclass paramString.
11113         * java/awt/Button.java (paramString): Don't include class name or
11114         brackets.  Call superclass paramString.
11115         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11116
11117 2002-01-20  Andreas Schwab  <schwab@suse.de>
11118
11119         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11120         function and of parameter recv_func to ssize_t, as specified by
11121         POSIX.
11122
11123 2002-01-19  Per Bothner  <per@bothner.com>
11124
11125         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11126         uncompressed_size in readiness for next entry.
11127
11128 2002-01-18  Tom Tromey  <tromey@redhat.com>
11129
11130         * java/net/natPlainSocketImpl.cc: Include
11131         IllegalArgumentException.h.
11132         (_Jv_recv): New template function.
11133         (BooleanClass): Removed.
11134         (read): Use _Jv_recv.
11135         (setOption): Use Boolean::class$.  Throw exception if object is
11136         not Boolean or Integer.
11137
11138 2002-01-17  Tom Tromey  <tromey@redhat.com>
11139
11140         * java/awt/MenuComponent.java: Merged with Classpath.
11141         * java/awt/MenuItem.java: Merged with Classpath.
11142         * java/awt/Button.java: Merged with Classpath.
11143
11144         * java/awt/ActiveEvent.java: Updated copyright.
11145
11146         * java/awt/AWTError.java: Replaced with Classpath version.
11147         * java/awt/AWTException.java: Replaced with Classpath version.
11148         * java/awt/IllegalComponentStateException.java: Replaced with
11149         Classpath version.
11150
11151 2002-01-16  Tom Tromey  <tromey@redhat.com>
11152
11153         * java/awt/Canvas.java (serialVersionUID): New constant.
11154         Updated copyright.  Added javadoc from Classpath.
11155         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11156
11157         * java/awt/CheckboxGroup.java: Merged with Classpath.
11158         * java/awt/Checkbox.java: Merged with Classpath.
11159
11160         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11161         Classpath.
11162         * java/awt/Point.java: Updated copyright.
11163
11164         * java/awt/Point.java (toString): Use getClass().getName().
11165         Added javadoc.
11166
11167         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11168         commented code.
11169         (hash): Correctly compute initial value for `h'.
11170
11171         * java/awt/Label.java: Merged with Classpath.
11172
11173 2002-01-15  Tom Tromey  <tromey@redhat.com>
11174
11175         * java/awt/AWTPermission.java: Updated copyright.
11176
11177         * java/awt/LayoutManager2.java: Merged with Classpath.
11178         * java/awt/LayoutManager.java: Merged with Classpath.
11179         * java/awt/GridLayout.java: Updated copyright and javadoc.
11180         (getSize): Use `parent.ncomponents'.  Handle insets.
11181         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11182         there are fewer children than columns.  Correctly compute size of
11183         each cell in the grid.  Handle case where there isn't enough
11184         space.
11185         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11186         all users.
11187         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11188         before calling setVisible() on it.  Last item is `num - 1', not
11189         `num'.
11190         (layoutContainer): Hoist invariants out of loop.
11191
11192         Start of AWT merge with Classpath:
11193         * Makefile.in: Rebuilt.
11194         * Makefile.am (awt_java_source_files): Reference files in
11195         gnu/java/awt, not gnu/gcj/awt.
11196         * java/awt/image/BufferedImage.java: Updated copyright.
11197         * java/awt/image/ComponentColorModel.java: Updated copyright.
11198         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11199         * java/awt/image/DataBuffer.java: Updated copyright.
11200         * java/awt/image/DataBufferByte.java: Updated copyright.
11201         * java/awt/image/DataBufferInt.java: Updated copyright.
11202         * java/awt/image/DataBufferUShort.java: Updated copyright.
11203         * java/awt/image/IndexColorModel.java: Updated copyright.
11204         * java/awt/image/PackedColorModel.java: Updated copyright.
11205         * java/awt/image/Raster.java: Updated copyright.
11206         * java/awt/image/RasterOp.java: Updated copyright.
11207         * java/awt/image/SampleModel.java: Updated copyright.
11208         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11209         * java/awt/image/WritableRaster.java: Updated copyright.
11210         * java/awt/color/ColorSpace.java: Updated copyright.
11211         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11212         * java/awt/color/ICC_Profile.java: Updated copyright.
11213         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11214         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11215         * java/awt/event/HierarchyEvent.java: Updated copyright.
11216         * java/awt/event/HierarchyListener.java: Updated copyright.
11217         * java/awt/geom/AffineTransform.java: Updated copyright.
11218         * java/awt/geom/Dimension2D.java: Updated copyright.
11219         * java/awt/geom/Ellipse2D.java: Updated copyright.
11220         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11221         * java/awt/geom/Line2D.java: Updated copyright.
11222         * java/awt/geom/NoninvertibleTransformException.java: Updated
11223         copyright.
11224         * java/awt/geom/PathIterator.java: Updated copyright.
11225         * java/awt/geom/Point2D.java: Updated copyright.
11226         * java/awt/geom/Rectangle2D.java: Updated copyright.
11227         * java/awt/geom/RectangularShape.java: Updated copyright.
11228         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11229         * java/awt/Toolkit.java: Updated import for file moves.
11230         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11231         Classpath.
11232         (hashCode): New method from Classpath.
11233         * java/awt/Graphics2D.java: Updated copyright.
11234         * java/awt/Transparency.java: Updated copyright.
11235         * java/awt/Paint.java: Updated copyright.
11236         * java/awt/Graphics.java: New version from Classpath.
11237         * java/awt/EventDispatchThread.java: Updated copyright.
11238         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11239         children.
11240         (gotoComponent): Wrap around on next/previous.
11241         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11242         * gnu/gcj/awt/Buffers.java: Removed.
11243         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11244         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11245         * gnu/java/awt/BitMaskExtent.java: Added.
11246         * gnu/java/awt/Buffers.java: Added.
11247         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11248         * gnu/java/awt/GLightweightPeer.java: Added.
11249         * java/awt/geom/Line2D.java (clone): Ignore
11250         CloneNotSupportedException.
11251         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11252         * java/awt/Frame.java: Merged with Classpath.
11253         * java/awt/RenderingHints.java: Copyright update.
11254         * java/awt/Paint.java: Copyright update.
11255         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11256         * java/awt/image/ColorModel.java: Merged with Classpath.
11257         * java/awt/Window.java (show): New Implementation from Classpath.
11258         (isShowing): Use super.isShowing().
11259         * java/awt/EventQueue.java: Merged with Classpath.
11260         * java/awt/AWTEventMulticaster.java (save): Throw
11261         RuntimeException.
11262         (saveInternal): Likewise.
11263         * java/awt/AWTEvent.java: Now implements Serializable.
11264         * java/awt/Event.java: Copyright update.
11265         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11266         * java/awt/image/BufferedImage.java: Copyright update.
11267         * java/awt/GraphicsConfiguration.java: Copyright update.
11268         * java/awt/Component.java: (addNotify): Don't call
11269         addNotifyContainerChildren().
11270         (addNotifyContainerChildren): Removed.
11271         (setPeer): New method from Classpath.
11272         (setTreeLock): Likewise.
11273         (setVisible): Rewrote.
11274         (show): Use it.
11275         (hide): Likewise.
11276         (validate): Set `valid'.
11277         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11278         (createImage(ImageProducer)): Likewise.
11279         (prepareImage): Likewise.
11280         * java/awt/Container.java (addImpl): Handle case where constraint
11281         is not a String.  Post event via system event queue.
11282         (remove): Post event via system event queue.
11283         (validateTree): Only validate child if it is invalid.
11284         (getAlignmentX): Call super method as default.
11285         (getAlignmentY): Likewise.
11286         (addContainerListener): Now synchronized.
11287         (removeContainerListener): Likewise.
11288         (addNotifyContainerChildren): Now private.
11289         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11290         @author.
11291         * java/awt/FlowLayout.java (serialVersionUID): New field.
11292         (setAlignment): Better exception message.
11293         (layoutContainer): Don't compute component's preferred size unless
11294         we're going to use it.
11295         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11296         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11297         (firstLine, lastLine, firstItem, lastItem): New fields.
11298         (addLayoutComponent): Handle case where constraints is null.
11299         Also, handle relative locations.
11300         (removeLayoutComponent): Handle relative locations.
11301         (MIN, MAX, PREF): New constants.
11302         (calcCompSize): New method.
11303         (calcSize): New method.
11304         (minimumLayoutSize): Use it.
11305         (preferredLayoutSize): Likewise.
11306         (maximumLayoutSize): Likewise.
11307         (toString): Include more information.
11308         (setBounds): New method.
11309         (layoutContainer): Use libgcj implementation; extended to handle
11310         relative locations.
11311
11312 2002-01-15  Tom Tromey  <tromey@redhat.com>
11313
11314         * java/lang/Float.java (equals): Preserve old code.
11315         * java/lang/Double.java (equals): Preserve old code.
11316
11317 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11318
11319         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11320         * java/lang/Float.java (equals, compare): Ditto.
11321
11322 2002-01-13  Mark Wielaard  <mark@klomp.org>
11323
11324         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11325         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11326         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11327         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11328
11329 2002-01-11  Mark Wielaard  <mark@klomp.org>
11330
11331         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11332         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11333         InetAddress.
11334         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11335         * java/net/Socket.java: Merge with Classpath.
11336         * java/net/ServerSocket.java: Likewise.
11337
11338 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11339
11340         * interpret.cc (NULLARRAYCHECK): New macro.
11341         (SAVE_PC): Just store `pc'.
11342         (find_exception): Subtract one from `pc' here.
11343         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11344         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11345         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11346         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11347         don't call SAVE_PC.
11348         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11349         call SAVE_PC.
11350
11351 2002-01-11  Tom Tromey  <tromey@redhat.com>
11352
11353         * java/lang/natSystem.cc (init_properties): Only look for default
11354         locale if LC_MESSAGES is defined.
11355         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11356         * configure.in: Call AM_LC_MESSAGES.
11357         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11358
11359 2002-01-10  Tom Tromey  <tromey@redhat.com>
11360
11361         For PR libgcj/5303:
11362         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11363         --version.  Recognize GNU-style long options.  Print GNU-style
11364         error messages.
11365         (usage): Print GNU-style help.  Exit with status 0.
11366         (error): New method.
11367         (run): Print error message if no class names found.
11368         (main): Don't print usage on error.
11369
11370 2002-01-09  Tom Tromey  <tromey@redhat.com>
11371
11372         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11373         property.
11374         (help, version): Use println(), not println("").
11375
11376         For PR libgcj/5303:
11377         * gnu/gcj/convert/Convert.java (error): Program is called
11378         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11379         -1.
11380         (main): Handle --help and --version.
11381         (help): New method.
11382         (version): Likewise.
11383
11384 2002-01-08  Tom Tromey  <tromey@redhat.com>
11385
11386         * Makefile.in: Rebuilt.
11387         * Makefile.am (ordinary_java_source_files): Added new files.
11388         * gnu/java/locale/LocaleInformation.java: Extend
11389         LocaleInformation_en.
11390         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11391         and time/date formats.
11392         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11393         generated.
11394         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11395         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11396         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11397         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11398         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11399         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11400         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11401         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11402         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11403         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11404         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11405         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11406         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11407         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11408         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11409         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11410         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11411         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11412         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11413         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11414         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11415         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11416         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11417         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11418         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11419         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11420         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11421         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11422         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11423         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11424         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11425         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11426         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11427         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11428         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11429         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11430         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11431         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11432         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11433         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11434         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11435         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11436         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11437         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11438         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11439         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11440         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11441         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11442         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11443         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11444         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11445         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11446         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11447         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11448         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11449         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11450         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11451         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11452         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11453         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11454         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11455         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11456         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11457         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11458         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11459         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11460         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11461         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11462         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11463         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11464         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11465         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11466         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11467         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11468         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11469         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11470         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11471         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11472         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11473         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11474         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11475         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11476         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11477         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11478         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11479         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11480         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11481         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11482         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11483         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11484         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11485         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11486         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11487         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11488         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11489         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11490         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11491         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11492         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11493         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11494         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11495         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11496         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11497         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11498         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11499         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11500         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11501         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11502         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11503         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11504         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11505         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11506         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11507         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11508         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11509         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11510         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11511         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11512         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11513         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11514         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11515         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11516         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11517         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11518         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11519         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11520         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11521         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11522         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11523         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11524
11525         For PR libgcj/5031:
11526         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11527         choose default locale.
11528
11529         * Makefile.in: Rebuilt.
11530         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11531
11532 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11533
11534         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11535         sockets.
11536         (close): New function closes the socket.
11537         (write): New functions for output to socket.
11538         (read): New functions for reading from socket.
11539         * java/net/PlainSocketImpl.java: Glue for new timeout
11540         implementation.
11541         (write): Call the native impl.
11542         (read): Likewise.
11543         (getInputStream): Get a stream to read from the socket.
11544         (getOutputStream): Get a stream to write to the socket.
11545
11546 2002-01-08  Tom Tromey  <tromey@redhat.com>
11547
11548         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11549
11550 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11551
11552         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11553         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11554
11555 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11556
11557         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11558         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11559         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11560         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11561         insn_bastore, insn_castore, insn_sastore]: Use it.
11562         (continue1) [insn_arraylength]: Check for null array.
11563
11564 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11565
11566         * configure, include/config.h.in: Rebuilt.
11567         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11568         * configure.in: Call AC_STRUCT_TIMEZONE.
11569
11570 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11571
11572         * configure.host: Disable the interpreter for Darwin.
11573
11574 2002-01-04  Tom Tromey  <tromey@redhat.com>
11575
11576         * java/lang/Thread.java (stop): No longer synchronized.
11577         (start): Likewise.
11578
11579 2002-01-02  Tom Tromey  <tromey@redhat.com>
11580
11581         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11582         patch.
11583
11584 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11585
11586         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11587         PPC Darwin, not for all of Darwin.