2003-06-17 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-17  Michael Koch  <konqueror@gmx.de>
2
3         * java/nio/DirectByteBufferImpl.java
4         (address): Made package private.
5         (DirectByteBufferImpl): New constructor.
6         * java/nio/natDirectByteBufferImpl.cc
7         (allocateImpl): Moved to java.nio namespace, implemented.
8         (freeImpl): Likewise.
9         (getImpl): Likewise.
10         (putImpl): Likewise.
11         * jni.cc
12         (_Jv_JNI_NewDirectByteBuffer): Implemented.
13         (_Jv_JNI_GetDirectBufferAddress): Implemented.
14         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
15
16 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17
18         * include/powerpc-signal.h: New File.
19         * configure.in: Use it.
20         * configure: Regenerated.
21
22 2003-06-17  Michael Koch  <konqueror@gmx.de>
23
24         * java/util/Locale.java
25         (getDisplayLanguage): Made it final.
26         (getDisplayCountry): Likewise.
27         (getDisplayVariant): Likewise.
28         (getDisplayName): Likewise.
29
30 2003-06-17  Michael Koch  <konqueror@gmx.de>
31
32         * java/util/PropertyResourceBundle.java:
33         Removed unneeded import.
34
35 2003-06-17  Michael Koch  <konqueror@gmx.de>
36
37         * java/util/prefs/AbstractPreferences.java,
38         java/util/prefs/PreferencesFactory.java:
39         Reworked imports, removed unused imports.
40         * java/util/prefs/Preferences.java
41         (systemNodeForPackage): Method takes a Class not an Object.
42         (userNodeForPackage): Likewise.
43         (nodeForPackage): Likewise.
44
45 2003-06-17  Michael Koch  <konqueror@gmx.de>
46
47         * gnu/java/security/x509/X509Certificate.java:
48         Explicitely import used classes.
49
50 2003-06-17  Michael Koch  <konqueror@gmx.de>
51
52         * java/util/zip/ZipEntry.java,
53         java/util/zip/ZipFile.java,
54         java/util/zip/ZipInputStream.java,
55         java/util/zip/ZipOutputStream.java:
56         Reworked imports, only import used classes.
57
58 2003-06-17  Michael Koch  <konqueror@gmx.de>
59
60         * gnu/java/lang/ArrayHelper.java,
61         gnu/java/lang/ClassHelper.java:
62         Reformatted to match classpath's versions.
63
64 2003-06-14  Michael Koch  <konqueror@gmx.de>
65
66         * gnu/java/nio/FileChannelImpl.java
67         (map_address): Removed incorrect comment.        
68         * gnu/java/nio/SelectorImpl.java
69         (register): Remove code duplication and code for file channel handling.        
70         * gnu/java/nio/ServerSocketChannelImpl.java
71         (serverSocket): Renamed from sock_object.
72         (ServerSocketChannel): Initialize serverSocket.
73         (socket): Return serverSocket.
74         * gnu/java/nio/SocketChannelImpl.java
75         (socket): Renamed from sock_object.
76         (isConnectionPenging): Simplified.
77         (socket): Return socket.
78 2003-06-14  Michael Koch  <konqueror@gmx.de>
79
80         * java/security/BasicPermission.java:
81         New version from classpath.
82
83 2003-06-14  Michael Koch  <konqueror@gmx.de>
84
85         * javax/naming/directory/Attribute.java:
86         New version from classpath.
87
88 2003-06-14  Michael Koch  <konqueror@gmx.de>
89
90         * java/io/BufferedReader.java,
91         java/io/FileOutputStream.java:
92         New versions from classpath.
93
94 2003-06-12  Andrew Haley  <aph@redhat.com>
95
96         * prims.cc (catch_segv): Create exception in handler.
97         (catch_fpe): Likewise.  
98         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
99         (_Jv_ThrowSignal): Remove.
100
101         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
102         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
103         to nullp and arithexception.
104         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
105         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
106         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
107         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
108         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
109
110 2003-06-11  Andrew Haley  <aph@redhat.com>
111
112         * jni.cc (_Jv_JNI_check_types): New.
113         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
114         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
115         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
116         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
117         
118         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
119         infinite loop.
120
121 2003-06-11  Tom Tromey  <tromey@redhat.com>
122
123         * java/lang/ClassLoader.java (loadClass): Not deprecated.
124         * java/io/PrintStream.java: Not deprecated.
125
126 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
127
128         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
129         (fillOval): implemented
130         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
131         (fillArc): implemented.
132         * gnu/gcj/xlib/GC.java (drawArc): added native method.
133         (fillArc): added native method.
134         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
135         (fillArc): added native method.
136
137 2003-06-11  Michael Koch  <konqueror@gmx.de>
138
139         * java/awt/im/InputSubset.java:
140         New version from classpath.
141
142 2003-06-11  Michael Koch  <konqueror@gmx.de>
143
144         * javax/swing/AbstractAction.java,
145         javax/swing/AbstractButton.java,
146         javax/swing/AbstractCellEditor.java,
147         javax/swing/AbstractListModel.java,
148         javax/swing/BorderFactory.java,
149         javax/swing/Box.java,
150         javax/swing/BoxLayout.java,
151         javax/swing/ButtonGroup.java,
152         javax/swing/DefaultButtonModel.java,
153         javax/swing/DefaultListModel.java,
154         javax/swing/DefaultListSelectionModel.java,
155         javax/swing/FocusManager.java,
156         javax/swing/ImageIcon.java,
157         javax/swing/InputMap.java,
158         javax/swing/JApplet.java,
159         javax/swing/JButton.java,
160         javax/swing/JCheckBox.java,
161         javax/swing/JCheckBoxMenuItem.java,
162         javax/swing/JColorChooser.java,
163         javax/swing/JComboBox.java,
164         javax/swing/JComponent.java,
165         javax/swing/JDesktopPane.java,
166         javax/swing/JDialog.java,
167         javax/swing/JEditorPane.java,
168         javax/swing/JFileChooser.java,
169         javax/swing/JFormattedTextField.java,
170         javax/swing/JFrame.java,
171         javax/swing/JLabel.java,
172         javax/swing/JLayeredPane.java,
173         javax/swing/JList.java,
174         javax/swing/JMenuBar.java,
175         javax/swing/JMenuItem.java,
176         javax/swing/JOptionPane.java,
177         javax/swing/JPanel.java,
178         javax/swing/JPasswordField.java,
179         javax/swing/JPopupMenu.java,
180         javax/swing/JProgressBar.java,
181         javax/swing/JRadioButton.java,
182         javax/swing/JRadioButtonMenuItem.java,
183         javax/swing/JRootPane.java,
184         javax/swing/JScrollBar.java,
185         javax/swing/JScrollPane.java,
186         javax/swing/JSeparator.java,
187         javax/swing/JSlider.java,
188         javax/swing/JTabbedPane.java,
189         javax/swing/JTable.java,
190         javax/swing/JTextField.java,
191         javax/swing/JToggleButton.java,
192         javax/swing/JToolBar.java,
193         javax/swing/JToolTip.java,
194         javax/swing/JTree.java,
195         javax/swing/JViewport.java,
196         javax/swing/JWindow.java,
197         javax/swing/KeyStroke.java,
198         javax/swing/ListSelectionModel.java,
199         javax/swing/LookAndFeel.java,
200         javax/swing/RepaintManager.java,
201         javax/swing/ScrollPaneLayout.java,
202         javax/swing/SizeRequirements.java,
203         javax/swing/SwingConstants.java,
204         javax/swing/Timer.java,
205         javax/swing/UIDefaults.java,
206         javax/swing/UIManager.java,
207         javax/swing/border/AbstractBorder.java,
208         javax/swing/border/CompoundBorder.java,
209         javax/swing/colorchooser/AbstractColorChooserPanel.java,
210         javax/swing/colorchooser/ColorChooserComponentFactory.java,
211         javax/swing/colorchooser/ColorSelectionModel.java,
212         javax/swing/colorchooser/DefaultColorSelectionModel.java,
213         javax/swing/event/AncestorEvent.java,
214         javax/swing/event/HyperlinkEvent.java,
215         javax/swing/event/InternalFrameAdapter.java,
216         javax/swing/event/InternalFrameEvent.java,
217         javax/swing/event/ListDataEvent.java,
218         javax/swing/event/MouseInputAdapter.java,
219         javax/swing/event/SwingPropertyChangeSupport.java,
220         javax/swing/event/TableModelEvent.java,
221         javax/swing/event/TreeWillExpandListener.java,
222         javax/swing/event/UndoableEditEvent.java,
223         javax/swing/filechooser/FileFilter.java,
224         javax/swing/filechooser/FileSystemView.java,
225         javax/swing/filechooser/FileView.java,
226         javax/swing/plaf/BorderUIResource.java,
227         javax/swing/plaf/basic/BasicDefaults.java,
228         javax/swing/table/AbstractTableModel.java,
229         javax/swing/table/DefaultTableCellRenderer.java,
230         javax/swing/table/DefaultTableColumnModel.java,
231         javax/swing/table/DefaultTableModel.java,
232         javax/swing/table/TableColumn.java,
233         javax/swing/text/JTextComponent.java,
234         javax/swing/tree/AbstractLayoutCache.java,
235         javax/swing/tree/DefaultMutableTreeNode.java,
236         javax/swing/tree/DefaultTreeCellEditor.java,
237         javax/swing/tree/DefaultTreeCellRenderer.java,
238         javax/swing/tree/DefaultTreeModel.java,
239         javax/swing/tree/DefaultTreeSelectionModel.java,
240         javax/swing/tree/FixedHeightLayoutCache.java,
241         javax/swing/tree/TreeCellEditor.java,
242         javax/swing/tree/TreeModel.java,
243         javax/swing/tree/TreeNode.java,
244         javax/swing/tree/TreePath.java,
245         javax/swing/tree/TreeSelectionModel.java,
246         javax/swing/tree/VariableHeightLayoutCache.java,
247         javax/swing/undo/AbstractUndoableEdit.java,
248         javax/swing/undo/CompoundEdit.java,
249         javax/swing/undo/StateEdit.java,
250         javax/swing/undo/UndoManager.java,
251         javax/swing/undo/UndoableEditSupport.java:
252         New versions from classpath.
253         * javax/swing/table/JTableHeader.java:
254         New file from classpath.
255         * Makefile.am
256         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
257         * Makefile.in: Regenerated.
258
259 2003-06-11  Michael Koch  <konqueror@gmx.de>
260
261         * java/nio/MappedByteBuffer.java,
262         java/nio/channels/Channels.java,
263         java/nio/channels/ServerSocketChannel.java,
264         java/nio/channels/spi/AbstractSelector.java:
265         Removed unneeded imports.
266
267 2003-06-11  Michael Koch  <konqueror@gmx.de>
268
269         * java/net/DatagramSocket.java:
270         Partly merged with classpath.
271
272 2003-06-11  Michael Koch  <konqueror@gmx.de>
273
274         * java/awt/Frame.java,
275         java/awt/Graphics.java,
276         java/awt/Menu.java,
277         java/awt/Robot.java,
278         java/awt/image/ColorModel.java:
279         New versions from classpath.
280
281 2003-06-10  Michael Koch  <konqueror@gmx.de>
282
283         * java/io/PrintStream.java:
284         Merged version from classpath.
285         (close): Removed sychronized keyword. This class is not garantied to
286         be thread-safe.
287         (write): Likewise.
288
289 2003-06-09  Tom Tromey  <tromey@redhat.com>
290
291         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
292         field.
293         (getDescent): Likewise, for "descent".
294
295 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
296
297         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
298         (getMaxDescent): adjusted return value.
299         (getAscent): modified to use metrics for 'O'.
300         (getDescent): modified to use metrics for 'y'.
301
302 2003-06-08  Anthony Green  <green@redhat.com>
303
304         * java/net/URLStreamHandler.java (sameFile): Fix port value
305         comparison.
306         * java/net/URL.java (handler): Make package private.
307         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
308
309 2003-06-07  Tom Tromey  <tromey@redhat.com>
310
311         For PR libgcj/11085:
312         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
313         Limit number of characters in numeric field when required.
314         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
315         Respect maximumIntegerDigits.
316
317 2003-06-08  Michael Koch  <konqueror@gmx.de>
318
319         * java/net/Socket.java
320         (Socket): Dont initialize inputShutdown and outputShutdown twice,
321         call bind() and connect() to actually do the bind and connect tasks.
322         (bind): Connect to canonical address if bindpoint is null, create
323         socket and bind it to bindpoint.
324         (connect): Check for exceptions.
325
326 2003-06-08  Michael Koch  <konqueror@gmx.de>
327
328         * java/net/DatagramSocket.java
329         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
330         into the Multicast constructors.
331         * java/net/DatagramSocketImpl.java
332         (getOption): Removed.
333         (setOption): Removed.
334         * java/net/MulticastSocket.java
335         (MulticastSocket): Call setReuseAddress (true).
336         * java/net/SocketImpl.java
337         (getOption): Removed.
338         (setOption): Removed.
339
340 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
341
342         PR libgcj/10886:
343         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
344         Test for empty vector.
345
346 2003-06-06  Mark Wielaard  <mark@klomp.org>
347
348         * java/security/Security.java (secprops): Initialize.
349         (loadProviders): Return boolean.
350         (static): Check result of loadProvider calls. If necessary
351         display WARNING and fallback to Gnu provider.
352
353 2002-06-06  James Clark  <jjc@jclark.com>
354
355         Fix for PR libgcj/8738:
356         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
357         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
358         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
359         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
360         (write): Always decrease avail when count is increased.
361         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
362         and whether output buffer is full before increasing size.
363
364 2002-06-06  Mark Wielaard  <mark@klomp dot org>
365
366         * java/io/PrintStream.java (writeChars(char[],int, int)):
367         Check converter.havePendingBytes().
368         (writeChars(String,int,int)): Likewise.
369         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
370         Check converter.havePendingBytes() and flush buffer when stalled.
371
372 2003-06-07  Michael Koch  <konqueror@gmx.de>
373
374         * include/posix.h
375         (O_DSYNC): Define O_DSYNC on platforms not
376         supporting O_FSYNC (newlib).
377
378 2003-06-06  Mark Wielaard  <mark@klomp.org>
379
380         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
381         AWTError.
382
383 2003-06-06  Michael Koch  <konqueror@gmx.de>
384
385         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
386         More compile fixes from my stupid work yesterday.
387
388 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
389
390         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
391         if _IEEE_LIBM is undefined.
392
393 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
394
395         * libjava/include/posix.h (O_SYNC): Define if not available
396         and a reasonable, perhaps more conservative, replacement exists.
397         (O_DSYNC): Likewise.
398         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
399
400 2003-06-05  Michael Koch  <konqueror@gmx.de>
401
402         * javax/swing/plaf/BorderUIResource.java,
403         javax/swing/plaf/basic/BasicDefaults.java,
404         javax/swing/plaf/basic/BasicOptionPaneUI.java:
405         More compile fixes for latest Border commit. I should not commit
406         something in this heat here ...
407
408 2003-06-05  Michael Koch  <konqueror@gmx.de>
409
410         * javax/swing/border/BevelBorder.java
411         (BevelBorder): Removed.
412         * javax/swing/border/EmptyBorder.java:
413         Reformatted.
414         (EmptyBorder): Removed.
415         (getBorderInsets): Dont use l, r, t and b.
416         * javax/swing/border/EtchedBorder.java
417         (EtchedBorder): Removed.
418         * javax/swing/border/LineBorder.java
419         (LineBorder): Removed.
420         * javax/swing/border/MatteBorder.java
421         (MatteBorder): Removed.
422         * javax/swing/border/TitledBorder.java
423         (defaultBorder): Use other default for now.
424         (defaultFont): Likewise.
425         (defaultColor): Likewise.
426
427 2003-06-05  Michael Koch  <konqueror@gmx.de>
428
429         * javax/swing/border/Border.java:
430         New version from classpath.
431
432 2003-06-05  Michael Koch  <konqueror@gmx.de>
433
434         * javax/swing/border/AbstractBorder.java,
435         javax/swing/border/BevelBorder.java,
436         javax/swing/border/CompoundBorder.java,
437         javax/swing/border/EmptyBorder.java,
438         javax/swing/border/EtchedBorder.java,
439         javax/swing/border/LineBorder.java,
440         javax/swing/border/MatteBorder.java,
441         javax/swing/border/TitledBorder.java:
442         New versions from Classpath.
443
444 2003-06-05  Michael Koch  <konqueror@gmx.de>
445
446         * java/awt/Button.java,
447         java/awt/Checkbox.java,
448         java/awt/CheckboxMenuItem.java,
449         java/awt/Choice.java,
450         java/awt/Container.java,
451         java/awt/Dialog.java,
452         java/awt/EventQueue.java,
453         java/awt/FileDialog.java,
454         java/awt/Frame.java,
455         java/awt/Label.java,
456         java/awt/List.java,
457         java/awt/Menu.java,
458         java/awt/MenuItem.java,
459         java/awt/Panel.java,
460         java/awt/PopupMenu.java,
461         java/awt/Rectangle.java,
462         java/awt/ScrollPane.java,
463         java/awt/Scrollbar.java,
464         java/awt/TextArea.java,
465         java/awt/TextField.java,
466         java/awt/Window.java,
467         java/awt/datatransfer/DataFlavor.java,
468         java/awt/dnd/DragSource.java,
469         java/awt/dnd/DragSourceContext.java,
470         java/awt/event/HierarchyEvent.java,
471         java/awt/event/MouseWheelEvent.java,
472         java/awt/im/InputContext.java,
473         java/awt/image/BufferedImage.java,
474         java/awt/image/ComponentColorModel.java,
475         java/awt/image/Raster.java,
476         java/awt/image/WritableRaster.java,
477         java/awt/peer/ComponentPeer.java,
478         java/awt/print/PageFormat.java,
479         java/awt/print/PrinterJob.java:
480         New versions from Classpath.
481
482 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
483
484         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
485         numberFormat.setParseIntegerOnly(true).
486
487 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
488
489         * include/posix-threads.h: Include <machine/pal.h> on OSF.
490
491 2003-06-03  Andrew Haley  <aph@redhat.com>
492
493         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
494         stack volatile to prevent optimization from removing it.
495
496 2003-05-27  Michael Koch  <konqueror@gmx.de>
497
498         * java/util/zip/Deflater.java
499         (FILTERED): Merged documentation from classpath.
500         * java/util/zip/DeflaterOutputStream.java
501         (DeflaterOutputStream): Merged documentation and argument validity
502         check from classpath.
503         (deflate): Merged documentation from classpath.
504         (finish): Likewise.
505         * java/util/zip/Inflater.java
506         (Inflater): Merged class documentation from classpath.
507         (zstream): Reordered.
508         (is_finished): Reordered.
509         (dict_needed): Reordered.
510         (Inflater): Reordered, merged documentation from classpath.
511         (end): Likewise.
512         (finalize): Merged documentation from classpath.
513         (finished): Likewise.
514         (getAdler): Likewise.
515         (getRemaining): Likewise.
516         (getTotalIn): Likewise.
517         (getTotalOut): Likewise.
518         (inflate): Likewise.
519         (needsDictionary): Likewise.
520         (needsInput): Likewise.
521         (reset): Likewise.
522         (setDictionary): Likewise.
523         (setInput): Likewise.
524
525 2003-05-27  Michael Koch  <konqueror@gmx.de>
526
527         * java/net/URLConnection.java
528         (getHeaderFieldInt): Merged with classpath.
529
530 2003-05-27  Michael Koch  <konqueror@gmx.de>
531
532         * java/io/PrintStream.java
533         (PrintStream): Reformatted.
534         (PrintStream): New method, merged from classpath.
535         (write): Reformatted.
536
537 2003-05-27  Michael Koch  <konqueror@gmx.de>
538
539         * java/lang/System.java:
540         Explicitely import needed classes.
541
542 2003-05-26  Michael Koch  <konqueror@gmx.de>
543
544         * java/net/NetPermission.java,
545         java/net/NetworkInterface.java,
546         java/net/PasswordAuthentication.java,
547         java/net/SocketPermission.java:
548         New versions from classpath.
549
550 2003-05-25  Michael Koch  <konqueror@gmx.de>
551
552         * java/io/PushbackInputStream.java,
553         java/net/Authenticator.java,
554         java/net/ContentHandler.java,
555         java/net/ContentHandlerFactory.java,
556         java/net/DatagramSocket.java,
557         java/net/DatagramSocketImpl.java,
558         java/net/DatagramSocketImplFactory.java,
559         java/net/FileNameMap.java,
560         java/net/SocketImplFactory.java,
561         java/net/SocketOptions.java,
562         java/net/URLStreamHandlerFactory.java:
563         Merged new versions from classpath.
564
565 2003-05-25  Michael Koch  <konqueror@gmx.de>
566
567         * java/awt/Checkbox.java,
568         java/awt/Dialog.java,
569         java/awt/Font.java,
570         java/awt/Frame.java,
571         java/awt/ScrollPaneAdjustable.java,
572         java/awt/Scrollbar.java,
573         java/awt/Window.java:
574         New versions from classpath.
575
576 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
577
578         PR libgcj/10838:
579         * java/io/ObjectInputStream (enableResolveObject):
580         Fixed spelling of permission name.
581
582 2003-05-20  Michael Koch  <konqueror@gmx.de>
583
584         * java/io/DataInputStream.java
585         (convertFromUTF): Merged comment from classpath.
586         * java/io/PrintStream.java
587         (error_occured): Renamed from error, merged comment from classpath.
588         (PrintStream): No need to initialized error.
589         (checkError): Replace error with error_occurred.
590         (setError): Likewise.
591
592 2003-05-20  Michael Koch  <konqueror@gmx.de>
593
594         * java/io/DataInputStream.java:
595         Reformatted, Replaced < and & with html entitites in documentation.
596         * java/io/File.java:
597         Reformatted.
598         * java/io/PrintWriter.java:
599         Moved class documentation.
600
601 2003-05-20  Michael Koch  <konqueror@gmx.de>
602
603         * gnu/java/nio/ByteBufferImpl.java,
604         gnu/java/nio/CharBufferImpl.java,
605         gnu/java/nio/CharViewBufferImpl.java,
606         gnu/java/nio/DirectByteBufferImpl.java,
607         gnu/java/nio/DoubleBufferImpl.java,
608         gnu/java/nio/DoubleViewBufferImpl.java,
609         gnu/java/nio/FloatBufferImpl.java,
610         gnu/java/nio/FloatViewBufferImpl.java,
611         gnu/java/nio/IntBufferImpl.java,
612         gnu/java/nio/IntViewBufferImpl.java,
613         gnu/java/nio/LongBufferImpl.java,
614         gnu/java/nio/LongViewBufferImpl.java,
615         gnu/java/nio/natDirectByteBufferImpl.cc,
616         gnu/java/nio/ShortBufferImpl.java,
617         gnu/java/nio/ShortViewBufferImpl.java:
618         Moved files to java/nio.
619         * gnu/java/nio/SocketChannelImpl.java
620         
621         * java/nio/ByteBuffer.java,
622         java/nio/CharBuffer.java,
623         java/nio/DoubleBuffer.java,
624         java/nio/FloatBuffer.java,
625         java/nio/IntBuffer.java,
626         java/nio/LongBuffer.java,
627         java/nio/ShortBuffer.java:
628         Dont import anything.
629         * java/nio/ByteBufferImpl.java,
630         java/nio/CharBufferImpl.java,
631         java/nio/CharViewBufferImpl.java,
632         java/nio/DirectByteBufferImpl.java,
633         java/nio/DoubleBufferImpl.java,
634         java/nio/DoubleViewBufferImpl.java,
635         java/nio/FloatBufferImpl.java,
636         java/nio/FloatViewBufferImpl.java,
637         java/nio/IntBufferImpl.java,
638         java/nio/IntViewBufferImpl.java,
639         java/nio/LongBufferImpl.java,
640         java/nio/LongViewBufferImpl.java,
641         java/nio/natDirectByteBufferImpl.cc,
642         java/nio/ShortBufferImpl.java,
643         java/nio/ShortViewBufferImpl.java:
644         Moved from gnu/java/nio.
645         * Makefile.am
646         (ordinary_java_source_files): Moved files from gnu/java/nio to
647         java/nio.
648         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
649         to java/nio.
650         * Makefile.in: Regenerated.
651
652 2003-05-19  Michael Koch  <konqueror@gmx.de>
653
654         * java/util/Calendar.java
655         (get): Not final anymore since JDK 1.4
656         (set): Likewise.
657
658 2003-05-19  Michael Koch  <konqueror@gmx.de>
659
660         * java/text/CollationKey.java:
661         Merged copyright and dat from classpath.
662         * java/text/RuleBasedCollator.java:
663         Merged class documentation from classpath.
664
665 2003-05-19  Michael Koch  <konqueror@gmx.de>
666
667         * java/nio/CharBuffer.java
668         (toString): Compile fix.
669
670 2003-05-19  Michael Koch  <konqueror@gmx.de>
671
672         * gnu/java/nio/ByteBufferImpl.java
673         (putLong): Fixed conversion to bytes.
674         (putDouble): Fixed conversion to bytes.
675         * gnu/java/nio/DirectByteBufferImpl.java
676         (putLong): Fixed conversion to bytes.
677         (putDouble): Fixed conversion to bytes.
678         * gnu/java/nio/FileLockImpl.java
679         (isValid): Reformatted.
680         * java/nio/Buffer.java
681         (Buffer): Fixed off-by-one bug in handling mark.
682         * java/nio/ByteBuffer.java:
683         Added newline.
684         * java/nio/CharBuffer.java
685         (toString): Don't use relative get to get string data.
686
687 2003-05-16  Michael Koch  <konqueror@gmx.de>
688
689         * java/io/natFileDescriptorPosix.cc
690         (open): Commented out the O_SYNC and O_DSYNC usage until its better
691         tested.
692
693 2003-05-14  Michael Koch  <konqueror@gmx.de>
694
695         * gnu/java/nio/FileLockImpl.java
696         (released): New member variable.
697         (FileLockImpl): Initialize released.
698         (releaseImpl): New native method.
699         (release): Implemented.
700         * gnu/java/nio/SelectorImpl.java: Reformatted.
701         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
702         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
703         (accept): Throws IOException.
704         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
705         (implConfigureBlocking): Throws IOException.
706         (connect): Likewise.
707         (read): Likewise.
708         (write): Likewise.
709         * gnu/java/nio/natFileLockImpl.cc: New file.
710         * java/nio/channels/FileLock.java: Reformatted.
711         * Makefile.am:
712         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
713         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
714         * Makefile.in: Regenerated.
715
716 2003-05-13  Michael Koch  <konqueror@gmx.de>
717
718         * gnu/java/nio/CharViewBufferImpl.java
719         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
720         (get): Shift bits to the right direction.
721         (put): Likewise.
722         * gnu/java/nio/DoubleViewBufferImpl.java
723         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
724         (get): Shift bits to the right direction.
725         (put): Likewise.
726         * gnu/java/nio/FloatViewBufferImpl.java
727         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
728         (get): Shift bits to the right direction.
729         (put): Likewise.
730         * gnu/java/nio/IntViewBufferImpl.java
731         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
732         (get): Shift bits to the right direction.
733         (put): Likewise.
734         * gnu/java/nio/LongViewBufferImpl.java
735         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
736         (get): Shift bits to the right direction.
737         (put): Likewise.
738         * gnu/java/nio/ShortViewBufferImpl.java
739         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
740         (get): Shift bits to the right direction.
741         (put): Likewise.
742
743 2003-05-13  Michael Koch  <konqueror@gmx.de>
744
745         * gnu/java/nio/natDirectByteBufferImpl.cc
746         (allocateImpl): jlong -> RawData*.
747         (freeImpl): Likewise.
748
749 2003-05-13  Michael Koch  <konqueror@gmx.de>
750
751         * java/nio/channels/FileChannel.java
752         (MapMode.m): Made it package-private to match JDK 1.4.
753         * java/nio/charset/Charset.java
754         (decode): Made it final to match JDK 1.4.
755
756 2003-05-13  Michael Koch  <konqueror@gmx.de>
757
758        * java/io/FileDescriptor.java
759        (SYNC): New constant.
760        (DSYNC): Likewise.
761        (getLength): Renamed from lenght() to match classpath's
762        FileDescriptor.java.
763        * java/io/RandomAccessFile.java
764        (RandomAccessFile): Removed unneeded mode check, implemented mode
765        "rws" and "rwd", merged documentation from classpath.
766        (setLength): Reformatted.
767        (length): Use new getLength() of FileDescriptor.
768        * java/io/natFileDescriptorEcos.cc
769        (getLength): Renamed from length().
770        * java/io/natFileDescriptorPosix.cc
771        (open): Implemented support for SYNC and DSYNC.
772        (seek): Use getLength() instead of length().
773        (getLength): Renamed from length().
774        * java/io/natFileDescriptorWin32.cc
775        (getLength): Renamed from length().
776        (seek): Use getLength() instead of length().
777        (available): Likewise.
778        * gnu/java/nio/natFileChannelImpl.cc
779        (size): Use getLength() instead of length().
780
781 2003-05-13  Michael Koch  <konqueror@gmx.de>
782
783         * gnu/java/nio/ByteBufferImpl.java
784         (ByteBufferImpl): All constructors revised.
785         (slice): Reimplemented.
786         (duplicate): Reimplemented.
787         (asReadOnlyBuffer): Reimplemented.
788         * java/nio/ByteBuffer.java:
789         Reformatted.
790         (array_offset): Renamed from "offset" to match all other buffer
791         classes.
792         (ByteBuffer): All constructors revised.
793         (allocateDirect): Implemented.
794         (allocate): New implementation, documentation reworked.
795         (wrap): Likewise.
796         (get): Documentation reworked.
797         (put): New implementation, documentation reworked.
798         (hasArray): Documentation reworked.
799         (arrayOffset): Likewise.
800         (hashCode): Likewise.
801         (equals): Likewise.
802         (compareTo): Likewise.
803         (order): Likewise.
804         (compact): Likewise.
805         (isDirect): Likewise.
806         (slice): Likewise.
807         (duplicate): Likewise.
808         (asReadOnlyBuffer): Likewise.
809         * Makefile.am
810         (ordinary_java_source_files):
811         Added gnu/java/nio/DirectByteBufferImpl.java.
812         (nat_source_files):
813         Added gnu/java/nio/natDirectByteBufferImpl.cc.
814         * Makefile.in: Regenerated.
815
816 2003-05-12  Michael Koch  <konqueror@gmx.de>
817
818         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
819         (nio_get_*): Removed.
820         (nio_put_*): Removed.
821         (as*Buffer): Implemented.
822         (compact): Implemented.
823         (get): Documentation added.
824         (put): Documentation added.
825         (get*): Newly implemented.
826         (put*): Newly implemented.
827         * gnu/java/nio/CharBufferImpl.java: Reformatted.
828         (CharBufferImpl): Revised.
829         (slice): New implementation.
830         (duplicate): New implementation.
831         (compact): New implementation.
832         (asReadOnlyBuffer): New implementation.
833         (get): Documentation revised.
834         (order): Return native byte order.
835         * gnu/java/nio/DirectByteBufferImpl.java
836         (allocateDirect): objects can be null not 0.
837         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
838         (DoubleBufferImpl): Revised.
839         (slice): New implementation.
840         (duplicate): New implementation.
841         (compact): New implementation.
842         (asReadOnlyBuffer): New implementation.
843         (get): Documentation revised.
844         (order): Return native byte order.
845         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
846         (FloatBufferImpl): Revised.
847         (slice): New implementation.
848         (duplicate): New implementation.
849         (compact): New implementation.
850         (asReadOnlyBuffer): New implementation.
851         (get): Documentation revised.
852         (order): Return native byte order.
853         * gnu/java/nio/IntBufferImpl.java: Reformatted.
854         (IntBufferImpl): Revised.
855         (slice): New implementation.
856         (duplicate): New implementation.
857         (compact): New implementation.
858         (asReadOnlyBuffer): New implementation.
859         (get): Documentation revised.
860         (order): Return native byte order.
861         * gnu/java/nio/LongBufferImpl.java: Reformatted.
862         (LongBufferImpl): Revised.
863         (slice): New implementation.
864         (duplicate): New implementation.
865         (compact): New implementation.
866         (asReadOnlyBuffer): New implementation.
867         (get): Documentation revised.
868         (order): Return native byte order.
869         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
870         (ShortBufferImpl): Revised.
871         (slice): New implementation.
872         (duplicate): New implementation.
873         (compact): New implementation.
874         (asReadOnlyBuffer): New implementation.
875         (get): Documentation revised.
876         (order): Return native byte order.
877         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
878         (CharBuffer): Revised.
879         (order): Removed.
880         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
881         (DoubleBuffer): Revised.
882         (allocateDirect): Removed.
883         (order): Removed.
884         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
885         (FloatBuffer): Revised.
886         (allocateDirect): Removed.
887         (order): Removed.
888         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
889         (IntBuffer): Revised.
890         (allocateDirect): Removed.
891         (order): Removed.
892         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
893         (LongBuffer): Revised.
894         (allocateDirect): Removed.
895         (order): Removed.
896         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
897         (ShortBuffer): Revised.
898         (allocateDirect): Removed.
899         (order): Removed.
900         * gnu/java/nio/natByteBufferImpl.cc: Removed.
901         * gnu/java/nio/natCharBufferImpl.cc: Removed.
902         * Makefile.am
903         (ordinary_java_source_files): Added the following files:
904         gnu/java/nio/CharViewBufferImpl.java,
905         gnu/java/nio/DoubleViewBufferImpl.java,
906         gnu/java/nio/FloatViewBufferImpl.java,
907         gnu/java/nio/IntViewBufferImpl.java,
908         gnu/java/nio/LongViewBufferImpl.java,
909         gnu/java/nio/ShortViewBufferImpl.java
910         (nat_source_files): Removed the following files:
911         gnu/java/nio/natByteBufferImpl.cc,
912         gnu/java/nio/natCharBufferImpl.cc
913         * Makefile.in: Regenerated.
914
915 2003-05-12  Michael Koch  <konqueror@gmx.de>
916
917         * gnu/java/nio/CharViewBufferImpl.java,
918         gnu/java/nio/DirectByteBufferImpl.java,
919         gnu/java/nio/DoubleViewBufferImpl.java,
920         gnu/java/nio/FloatViewBufferImpl.java,
921         gnu/java/nio/IntViewBufferImpl.java,
922         gnu/java/nio/LongViewBufferImpl.java,
923         gnu/java/nio/ShortViewBufferImpl.java,
924         gnu/java/nio/natDirectByteBufferImpl.cc:
925         New files, not yet to be compiled.
926
927 2003-05-10  Michael Koch  <konqueror@gmx.de>
928
929         * javax/swing/plaf/ButtonUI.java,
930         javax/swing/plaf/ColorUIResource.java,
931         javax/swing/plaf/ComponentUI.java,
932         javax/swing/plaf/DimensionUIResource.java,
933         javax/swing/plaf/FontUIResource.java,
934         javax/swing/plaf/IconUIResource.java,
935         javax/swing/plaf/InsetsUIResource.java,
936         javax/swing/plaf/LabelUI.java,
937         javax/swing/plaf/ListUI.java,
938         javax/swing/plaf/OptionPaneUI.java,
939         javax/swing/plaf/PanelUI.java,
940         javax/swing/plaf/TabbedPaneUI.java,
941         javax/swing/plaf/TextUI.java,
942         javax/swing/plaf/TreeUI.java,
943         javax/swing/plaf/ViewportUI.java,
944         javax/swing/plaf/basic/BasicBorders.java,
945         javax/swing/plaf/basic/BasicButtonUI.java,
946         javax/swing/plaf/basic/BasicCheckBoxUI.java,
947         javax/swing/plaf/basic/BasicDefaults.java,
948         javax/swing/plaf/basic/BasicGraphicsUtils.java,
949         javax/swing/plaf/basic/BasicIconFactory.java,
950         javax/swing/plaf/basic/BasicLabelUI.java,
951         javax/swing/plaf/basic/BasicListUI.java,
952         javax/swing/plaf/basic/BasicOptionPaneUI.java,
953         javax/swing/plaf/basic/BasicPanelUI.java,
954         javax/swing/plaf/basic/BasicRadioButtonUI.java,
955         javax/swing/plaf/basic/BasicScrollPaneUI.java,
956         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
957         javax/swing/plaf/basic/BasicTextUI.java,
958         javax/swing/plaf/basic/BasicToggleButtonUI.java,
959         javax/swing/plaf/basic/BasicTreeUI.java,
960         javax/swing/plaf/basic/BasicViewportUI.java,
961         javax/swing/plaf/metal/MetalLookAndFeel.java:
962         New versions from classpath. This adds copyrights to all files and
963         some serialVersionUIDs.
964
965 2003-05-10  Michael Koch  <konqueror@gmx.de>
966
967         * java/nio/CharBuffer.java
968         (offset): Make it package-private.
969         (backing_buffer): Likewise.
970         * java/nio/DoubleBuffer.java
971         (offset): Make it package-private.
972         (backing_buffer): Likewise.
973         (put): Reformatted.
974         * java/nio/FloatBuffer.java
975         (offset): Make it package-private.
976         (backing_buffer): Likewise.
977         * java/nio/IntBuffer.java
978         (offset): Make it package-private.
979         (backing_buffer): Likewise.
980         * java/nio/LongBuffer.java
981         (offset): Make it package-private.
982         (backing_buffer): Likewise.
983         * java/nio/ShortBuffer.java
984         (offset): Make it package-private.
985         (backing_buffer): Likewise.
986
987 2003-05-10  Michael Koch  <konqueror@gmx.de>
988
989         * java/nio/CharBuffer.java
990         (put): Fixed precondtion check.
991         (toString): Make it work without backing array.
992         (put): Skip one level of method calling.
993
994 2003-05-10  Michael Koch  <konqueror@gmx.de>
995
996         * java/security/Identity.java,
997         java/security/IdentityScope.java,
998         java/security/Key.java,
999         java/security/KeyPair.java,
1000         java/security/PrivateKey.java,
1001         java/security/Provider.java,
1002         java/security/PublicKey.java,
1003         java/security/SecureRandom.java,
1004         java/security/SecureRandomSpi.java,
1005         java/security/SignedObject.java,
1006         java/security/Signer.java,
1007         java/security/cert/Certificate.java,
1008         java/security/cert/PKIXCertPathBuilderResult.java,
1009         java/security/cert/X509Certificate.java:
1010         New versions from classpath.
1011
1012 2003-05-09  Tom Tromey  <tromey@redhat.com>
1013
1014         * Makefile.in: Rebuilt.
1015         * Makefile.am (nat_source_files): Removed old files.
1016         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1017         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1018         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1019         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1020         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1021
1022 2003-05-09  Michael Koch  <konqueror@gmx.de>
1023
1024         * gnu/java/nio/ByteBufferImpl.java
1025         (nio_cast): Removed.
1026         (ByteBufferImpl): Removed.
1027         (nio_get_Byte): Removed.
1028         (nio_put_Byte): Removed.
1029         (asByteBuffer): Removed.
1030         (asCharBuffer): Removed implementation and throw exception.
1031         (asShortBuffer): Likewise.
1032         (asIntBuffer): Likewise.
1033         (asLongBuffer): Likewise.
1034         (asFloatBuffer): Likewise.
1035         (asDoubleBuffer): Likewise.
1036         * gnu/java/nio/CharBufferImpl.java
1037         (CharBufferImpl): Removed.
1038         (nio_get_Byte): Removed.
1039         (nio_put_Byte): Removed.
1040         (asByteBuffer): Removed.
1041         * gnu/java/nio/DoubleBufferImpl.java
1042         (DoubleBufferImpl): Removed.
1043         (nio_get_Byte): Removed.
1044         (nio_put_Byte): Removed.
1045         (asByteBuffer): Removed.
1046         * gnu/java/nio/FloatBufferImpl.java
1047         (FloatBufferImpl): Removed.
1048         (nio_get_Byte): Removed.
1049         (nio_put_Byte): Removed.
1050         (asByteBuffer): Removed.
1051         * gnu/java/nio/IntBufferImpl.java
1052         (IntBufferImpl): Removed.
1053         (nio_get_Byte): Removed.
1054         (nio_put_Byte): Removed.
1055         (asByteBuffer): Removed.
1056         * gnu/java/nio/LongBufferImpl.java
1057         (LongBufferImpl): Removed.
1058         (nio_get_Byte): Removed.
1059         (nio_put_Byte): Removed.
1060         (asByteBuffer): Removed.
1061         * gnu/java/nio/ShortBufferImpl.java
1062         (ShortBufferImpl): Removed.
1063         (nio_get_Byte): Removed.
1064         (nio_put_Byte): Removed.
1065         (asByteBuffer): Removed.
1066         * gnu/java/nio/natByteBufferImpl.cc
1067         (nio_cast): Removed.
1068         (nio_get_Byte): Removed.
1069         (nio_put_Byte): Removed.
1070         * gnu/java/nio/natCharBufferImpl.cc
1071         (nio_get_Byte): Removed.
1072         (nio_put_Byte): Removed.
1073
1074 2003-05-09  Michael Koch  <konqueror@gmx.de>
1075
1076         * java/net/JarURLConnection.java
1077         (getJarEntry): Merged documentation from classpath.
1078         (getJarFile): Likewise.
1079         (getMainAttributes): Likewise.
1080         (getAttributes): Likewise.
1081         (getManifest): Likewise.
1082         (getCertificates): Reformatted.
1083         * java/net/URLConnection.java:
1084         Little classpath merge.
1085
1086 2003-05-09  Michael Koch  <konqueror@gmx.de>
1087
1088         * java/io/DataOutputStream.java
1089         (writeShort): Made it synchronized.
1090         (writeChar): Likewise.
1091         (writeInt): Likewise.
1092         (writeLong): Liekwise.
1093         (writeUTF): Made it synchronized, renamed argument to match classpath.
1094         * java/io/InputStreamReader.java
1095         (converter): Added documentation.
1096         (read): Merged documentation from classpath.
1097         * java/io/OutputStreamWriter.java
1098         (OutputStreamWriter): Merged documentation from classpath.
1099         (close): Reformatted.
1100         (getEncoding): Likewise.
1101         (flush): Likewise.
1102         (write): Merged documentation from classpath, reformatted.
1103
1104 2003-05-08  Tom Tromey  <tromey@redhat.com>
1105
1106         * configure.host <powerpc64*-*>: Set with_libffi_default and
1107         libgcj_interpreter to "yes".
1108
1109 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1110
1111         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1112         
1113 2003-05-06  Tom Tromey  <tromey@redhat.com>
1114
1115         * verify.cc: Reverted previous patch.
1116
1117 2003-05-06  Michael Koch  <konqueror@gmx.de>
1118
1119         * java/io/DataOutputStream.java
1120         (write): Renamed argument to "value", merged documentation from
1121         classpath.
1122         (writeBoolean): Likewise.
1123         (writeByte): Likewise.
1124         (writeShort): Likewise.
1125         (writeChar): Likewise.
1126         (writeInt): Likewise.
1127         (writeLong): Likewise.
1128         (writeFloat): Likewise.
1129         (writeDouble): Likewise.
1130         (writeBytes): Likewise.
1131         (writeChars): Likewise.
1132         (writeUTF): Likewise.
1133         * java/io/File.java
1134         (performDelete): Added documentation.
1135         (performList): Likewise.
1136         (performMkdir): Likewise.
1137         (performSetReadOnly): Likewise.
1138         (performRenameTo): Likewise.
1139         (performSetLastModified): Likewise.
1140         (delete): Made it sychronized.
1141         (renameTo): Made it sychronized.
1142         (equals): Reformatted.
1143         (isHidden): Likewise.
1144         (listFiles): Likewise.
1145         (setReadOnly): Likewise.
1146         (listRoots): Likewise.
1147         (setLastModified): Likewise.
1148         (checkRead): Likewise.
1149         (checkWrite): Likewise.
1150         * java/io/FileInputStream.java
1151         (skip): Made it sychronized, merged from classpath.
1152         * java/io/FileOutputStream.java
1153         (write): Merged from classpath.
1154         * java/io/InputStreamReader.java:
1155         (InputStreamReader): Merged documentation from classpath.
1156
1157 2003-05-05  Michael Koch  <konqueror@gmx.de>
1158
1159         * java/net/NetworkInterface.java
1160         (networkInterfaces): Removed.
1161         (getByName): Use getRealNetworkInterfaces() instead of
1162         networkInterfaces.
1163         (getByInetAddress): Likewise.
1164         (getNetworkInterfaces): Likewise.
1165         (toString): Fix output of addresses of an interface.
1166
1167 2003-05-05  Michael Koch  <konqueror@gmx.de>
1168
1169         * java/io/DataInputStream.java:
1170         Merged new documentation from classpath.
1171
1172 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1173
1174         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1175         "version".
1176         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1177         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1178         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1179         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1180         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1181         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1182         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1183         * java/security/Key.java: Likewise.
1184         * java/security/PrivateKey.java: Likewise.
1185         * java/security/Provider.java: Likewise.
1186         * java/security/PublicKey.java: Likewise.
1187
1188 2003-05-02  Michael Koch  <konqueror@gmx.de>
1189
1190         * java/net/URI.java
1191         (create): Doesnt throws any exceptions.
1192         * java/net/URLConnection.java
1193         (URLConnection): Commend added.
1194         (getExpiration): The header field is called "expires" not
1195         "expiration".
1196         (getHeaderField): Merged documentation with classpath.
1197         (getHeaderFieldInt): Likewise.
1198         (getHeaderFieldDate): Likewise.
1199         (getHeaderFieldKey): Likewise.
1200         (getPermission): Likewise.
1201         (setDefaultUseCaches): Likewise.
1202         (setRequestProperty): Likewise.
1203         (addRequestProperty): Likewise.
1204         (getRequestProperty): Likewise.
1205         (getRequestProperties): Likewise.
1206         (setDefaultRequestProperty): Likewise.
1207         (getDefaultRequestProperty): Likewise.
1208         (guessContentTypeFromStream): Likewise.
1209         (getFileNameMap): Likewise.
1210         (setFileNameMap): Likewise.
1211         (setDoInput): Merged implementation and documentation with classpath.
1212         (setDoOutput): Likewise.
1213         (setAllowUserInteraction): Likewise.
1214         (setDefaultAllowUserInteraction): Likewise.
1215         (setContentHandlerFactory): Made it synchronized, merged documentation
1216         with classpath.
1217         (guessContentTypeFromName): Renamed argument fname to filename to
1218         match classpath, merged documentation with classpath.
1219
1220 2003-05-02  Michael Koch  <konqueror@gmx.de>
1221
1222         * java/net/JarURLConnection.java
1223         (JarURLConnection): Class documentation merged with classpath.
1224         (getJarFileURL): Moved and documentation merged with classpath.
1225         (getEntryName): Likewise.
1226         (JarURLConnection): Documentation merged with classpath.
1227         (getJarEntry): Likewise.
1228         (getJarFile): Likewise.
1229         * java/net/PlainDatagramSocketImpl.java:
1230         Class documentation moved.
1231         * java/net/URLConnection.java
1232         (fileNameMap): Moved and documentation merged with classpath.
1233         (factory): Likewise.
1234         (defaultAllowUserInteraction): Likewis.
1235         (defaultUseCaches): Likewise.
1236         (allowUserInteraction): Likewise.
1237         (connected): Likewise.
1238         (url): Likewise.
1239         (connect): Documentation merged with classpath.
1240         (getURL): Likewise.
1241         (getContentLength): Likewise.
1242         (getContentType): Likewise.
1243         (getContentEncoding): Likewise.
1244         (getExpiration): Likewise.
1245         (getDate): Likewise.
1246         (getLastModified): Likewise.
1247         (getHeaderField): Likewise.
1248         (getContent): Likewise.
1249         (getPermission): Likewise.
1250         (getInputStream): Likewise.
1251         (getOutputStream): Likewise.
1252         (toString): Likewise.
1253         (getDoInput): Likewise.
1254         (getDoOutput): Likewise.
1255         (setAllowUserInteraction): Likewise.
1256         (getAllowUserInteraction): Likewise.
1257         (setDefaultAllowUserInteraction): Likewise.
1258         (getDefaultAllowUserInteraction): Likewise.
1259         (setUseCaches): Likewise.
1260         (getUseCaches): Likewise.
1261         (setIfModifiedSince): Likewise.
1262         (getIfModifiedSince): Likewise.
1263         (setDefaultRequestProperty): Likewise.
1264         (getDefaultRequestProperty): Likewise.
1265         (setContentHandlerFactory): Likewise.
1266         (setFileNameMap): Likewise.
1267
1268 2003-05-02  Michael Koch  <konqueror@gmx.de>
1269
1270         * java/net/InetAddress.java:
1271         Merged class documentation with classpath.
1272         * java/net/JarURLConnection.java:
1273         Explicitely import all used classes.
1274         * java/net/URL.java:
1275         Reformatting.
1276         * java/net/ServerSocket.java,
1277         java/net/Socket.java:
1278         New versions from classpath.
1279
1280 2003-05-02  Michael Koch  <konqueror@gmx.de>
1281
1282         * gnu/java/nio/FileChannelImpl.java
1283         (read): New implementation.
1284         (implRead): New methods.
1285         (write): New implementation, call other write insteal of read method.
1286         (implWrite): New methods.
1287         (map): Added comment.
1288         (transferFrom): Implemented.
1289         (transferTo): Implemented.
1290         (lock): Added checks to throw exceptions.
1291         (truncate): Added check to throw exception.
1292         * gnu/java/nio/natFileChannelImpl.cc
1293         (implRead): New method.
1294         (implWrite): New method.
1295         * java/nio/ByteBuffer.java
1296         (hashCode): Fixed comment.
1297         (get): Fixed exception documentation.
1298         (put): Fixed exception documentation.
1299         * java/nio/CharBuffer.java:
1300         Added comment for later optimizations.
1301
1302 2003-04-30  Tom Tromey  <tromey@redhat.com>
1303
1304         PR libgcj/10582:
1305         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1306         Removed.
1307         (type::compatible): Use _Jv_IsAssignableFrom.
1308         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1309         (_Jv_IsAssignableFrom): Work even when source or target class is
1310         not prepared.
1311
1312 2003-04-30  Michael Koch  <konqueror@gmx.de>
1313
1314         * java/text/BreakIterator.java
1315         (clone): New method.
1316
1317 2003-04-30  Michael Koch  <konqueror@gmx.de>
1318
1319         * java/text/CollationElementIterator.java,
1320         java/text/CollationKey.java,
1321         java/text/RuleBasedCollator.java:
1322         Merged copyright and documentation from classpath and
1323         rearranged some code. No code changes done.
1324
1325 2003-04-30  Michael Koch  <konqueror@gmx.de>
1326
1327         * java/util/regex/Matcher.java
1328         (pattern): New member variable.
1329         (appendReplacement): New method.
1330         (appendTail): New method.
1331         (end): New method.
1332         (find): New method.
1333         (group): New method.
1334         (replaceFirst): Added documentation.
1335         (replaceAll): Added documentation.
1336         (groupCount): New method.
1337         (lookingAt): New method.
1338         (matches): New method.
1339         (reset): New method.
1340         (start): New method.
1341         * java/util/regex/Pattern.java
1342         (serialVersionUID): New constant.
1343         (CANON_EQ): New constant.
1344         (CASE_INSENSITIVE): New constant.
1345         (COMMENTS): New constant.
1346         (DOTALL): New constant.
1347         (MULTILINE): New constant.
1348         (UNICODE_CASE): New constant.
1349         (UNIX_LINES): New constant.
1350         (regex): New member variable.
1351         (flags): New member variable.
1352         (Pattern): New method.
1353         (compile): Documentation added.
1354         (flags): New method.
1355         (matches): Documentation added.
1356         (matcher): Documentation added.
1357         (split): Documentation added.
1358         (pattern): New method.
1359
1360 2003-04-30  Michael Koch  <konqueror@gmx.de>
1361
1362         * gnu/java/security/Engine.java,
1363         gnu/java/security/OID.java,
1364         gnu/java/security/der/BitString.java,
1365         gnu/java/security/der/DER.java,
1366         gnu/java/security/der/DERReader.java,
1367         gnu/java/security/der/DERValue.java,
1368         gnu/java/security/der/DERWriter.java,
1369         gnu/java/security/provider/DSAKeyFactory.java,
1370         gnu/java/security/provider/X509CertificateFactory.java,
1371         gnu/java/security/x509/X500DistinguishedName.java,
1372         gnu/java/security/x509/X509CRL.java,
1373         gnu/java/security/x509/X509CRLEntry.java,
1374         gnu/java/security/x509/X509Certificate.java,
1375         java/security/cert/CRLSelector.java,
1376         java/security/cert/CertPathBuilder.java,
1377         java/security/cert/CertPathBuilderResult.java,
1378         java/security/cert/CertPathBuilderSpi.java,
1379         java/security/cert/CertPathParameters.java,
1380         java/security/cert/CertPathValidator.java,
1381         java/security/cert/CertPathValidatorResult.java,
1382         java/security/cert/CertPathValidatorSpi.java,
1383         java/security/cert/CertSelector.java,
1384         java/security/cert/CertStore.java,
1385         java/security/cert/CertStoreParameters.java,
1386         java/security/cert/CertStoreSpi.java,
1387         java/security/cert/CollectionCertStoreParameters.java,
1388         java/security/cert/LDAPCertStoreParameters.java,
1389         java/security/cert/PKIXBuilderParameters.java,
1390         java/security/cert/PKIXCertPathBuilderResult.java,
1391         java/security/cert/PKIXCertPathChecker.java,
1392         java/security/cert/PKIXCertPathValidatorResult.java,
1393         java/security/cert/PKIXParameters.java,
1394         java/security/cert/PolicyNode.java,
1395         java/security/cert/PolicyQualifierInfo.java,
1396         java/security/cert/TrustAnchor.java,
1397         javax/security/auth/x500/X500Principal.java:
1398         New files from classpath.
1399         * gnu/java/io/ASN1ParsingException.java,
1400         gnu/java/io/Base64InputStream.java,
1401         gnu/java/security/der/DEREncodingException.java,
1402         gnu/java/security/provider/DSAParameters.java,
1403         gnu/java/security/provider/DSASignature.java,
1404         gnu/java/security/provider/Gnu.java,
1405         gnu/java/security/provider/GnuDSAPrivateKey.java,
1406         gnu/java/security/provider/GnuDSAPublicKey.java,
1407         java/security/AlgorithmParameterGenerator.java,
1408         java/security/AlgorithmParameters.java,
1409         java/security/KeyFactory.java,
1410         java/security/KeyPairGenerator.java,
1411         java/security/KeyStore.java,
1412         java/security/MessageDigest.java,
1413         java/security/SecureClassLoader.java,
1414         java/security/SecureRandom.java,
1415         java/security/Security.java,
1416         java/security/Signature.java,
1417         java/security/cert/Certificate.java,
1418         java/security/cert/CertificateFactory.java,
1419         java/security/cert/CertificateFactorySpi.java,
1420         java/security/cert/X509CRL.java,
1421         java/security/cert/X509Certificate.java,
1422         java/security/spec/DSAPublicKeySpec.java:
1423         New versions from classpath.
1424         * gnu/java/security/provider/DERReader.java,
1425         gnu/java/security/provider/DERWriter.java,
1426         java/security/Engine.java: Removed.
1427         * Makefile.am
1428         (java_source_files, javax_source_files): Added new files.
1429         * Makefile.in: Regenerated.
1430
1431 2003-04-29  Michael Koch  <konqueror@gmx.de>
1432
1433         * javax/swing/JTable.java
1434         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1435         (AUTO_RESIZE_LAST_COLUMN): New constant.
1436         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1437         (AUTO_RESIZE_OFF): New constant.
1438         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1439         (JTable): New method.
1440         (columnAdded): New method.
1441         (columnMarginChanged): New method.
1442         (columnMoved): New method.
1443         (columnRemoved): New method.
1444         (columnSelectionChanged): New method.
1445         (editingCanceled): New method.
1446         (editingStopped): New method.
1447         (getColumnModel): New method.
1448         (getPreferredScrollableViewportSize): New method.
1449         (getScrollableBlockIncrement): New method.
1450         (getScrollableTracksViewportHeight): New method.
1451         (getScrollableTracksViewportWidth): New method.
1452         (getScrollableUnitIncrement): New method.
1453         (getSelectedRow): New method.
1454         (getSelectionModel): New method.
1455         (tableChanged): New method.
1456         (setModel): New method.
1457         (setSelectionMode): New method.
1458         (setSelectionModel): New method.
1459         (setShowGrid): New method.
1460         (valueChanged): New method.
1461         * javax/swing/text/DefaultEditorKit.java
1462         (backwardAction): New constant.
1463         (beepAction): New constant.
1464         (beginAction): New constant.
1465         (beginLineAction): New constant.
1466         (beginParagraphAction): New constant.
1467         (beginWordAction): New constant.
1468         (copyAction): New constant.
1469         (cutAction): New constant.
1470         (defaultKeyTypedAction): New constant.
1471         (deleteNextCharAction): New constant.
1472         (deletePrevCharAction): New constant.
1473         (downAction): New constant.
1474         (endAction): New constant.
1475         (endLineAction): New constant.
1476         (endOfLineStringProperty): New constant.
1477         (endParagraphAction): New constant.
1478         (endWordAction): New constant.
1479         (forwardAction): New constant.
1480         (insertBreakAction): New constant.
1481         (insertContentAction): New constant.
1482         (insertTabAction): New constant.
1483         (nextWordAction): New constant.
1484         (pageDownAction): New constant.
1485         (pageUpAction): New constant.
1486         (pasteAction): New constant.
1487         (previousWordAction): New constant.
1488         (readOnlyAction): New constant.
1489         (selectAllAction): New constant.
1490         (selectionBackwardAction): New constant.
1491         (selectionBeginAction): New constant.
1492         (selectionBeginLineAction): New constant.
1493         (selectionBeginParagraphAction): New constant.
1494         (selectionBeginWordAction): New constant.
1495         (selectionDownAction): New constant.
1496         (selectionEndAction): New constant.
1497         (selectionEndLineAction): New constant.
1498         (selectionEndParagraphAction): New constant.
1499         (selectionEndWordAction): New constant.
1500         (selectionForwardAction): New constant.
1501         (selectionNextWordAction): New constant.
1502         (selectionPreviousWordAction): New constant.
1503         (selectionUpAction): New constant.
1504         (selectLineAction): New constant.
1505         (selectParagraphAction): New constant.
1506         (selectWordAction): New constant.
1507         (upAction): New constant.
1508         (writableAction): New constant.
1509
1510 2003-04-29  Michael Koch  <konqueror@gmx.de>
1511
1512         * java/util/PropertyPermission.java:
1513         New version from classpath
1514         * java/util/ResourceBundle.java:
1515         Partly merged from classpath
1516         (getObject): Reformated.
1517         (tryBundle): Set foundBundle = null if no bundle found.
1518
1519 2003-04-29  Michael Koch  <konqueror@gmx.de>
1520
1521         * javax/swing/AbstractListModel.java,
1522         javax/swing/DefaultBoundedRangeModel.java,
1523         javax/swing/DefaultSingleSelectionModel.java:
1524         New Versions from classpath.
1525
1526 2003-04-29  Michael Koch  <konqueror@gmx.de>
1527
1528         * java/awt/Window.java
1529         (show): Call super.show() instead of setVisible() to avoid endless
1530         loop.
1531         (hide): Call super.hide() instead of setVisible() to avoid endless
1532         loop.
1533
1534 2003-04-29  Michael Koch  <konqueror@gmx.de>
1535
1536         * java/util/zip/Deflater.java,
1537         java/util/zip/DeflaterOutputStream.java:
1538         Partly merged with classpath.
1539
1540 2003-04-27  Tom Tromey  <tromey@redhat.com>
1541
1542         * java/lang/natString.cc (_Jv_AllocString): Initialize
1543         cachedHashCode.
1544         (init): Likewise.
1545         (_Jv_NewStringUtf8Const): Likewise.
1546
1547 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1548
1549         * include/jvm.h: (_Jv_GetNbArgs) added
1550         (_Jv_GetSafeArg) added
1551         (_Jv_SetArgs) added
1552         * prims.cc: (_Jv_GetNbArgs) implemented
1553         (_Jv_GetSafeArg) implemented
1554         (_Jv_SetArgs) implemented
1555         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1556         setting _Jv_argc and _Jv_argv
1557         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1558         instead of _Jv_argv
1559         * java/lang/natRuntime.cc: (insertSystemProperties) use
1560         _Jv_GetSafeArg() instead of _Jv_argv
1561
1562 2003-04-23  Tom Tromey  <tromey@redhat.com>
1563
1564         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1565         required by this object.  Search superclasses to find required
1566         alignment.
1567         (get_alignment_from_class): Use alignment of type as it appears
1568         in a struct.
1569         (ALIGNOF): New macro.
1570         (struct aligner): New helper structure.
1571
1572 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1573
1574         * java/awt/Container.java (addImpl): Enable paint events if adding
1575         a lightweight to a heavyweight.
1576         (addNotify): Ensure that peer is created before
1577         addNotifyContainerChildren.
1578         (addNotifyContainerChildren): Enable paint events if a heavyweight
1579         container contains a lightweight.
1580
1581 2003-04-20  Tom Tromey  <tromey@redhat.com>
1582
1583         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1584         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1585         Classpath.
1586
1587 2003-04-19  Tom Tromey  <tromey@redhat.com>
1588
1589         * java/sql/Date.java, java/sql/DriverManager.java,
1590         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1591         Classpath.
1592
1593         * Makefile.in: Rebuilt.
1594         * Makefile.am (ordinary_java_source_files): Added new files.
1595         * java/security/AlgorithmParameterGenerator.java,
1596         java/security/AlgorithmParameters.java, java/security/Engine.java,
1597         java/security/Identity.java, java/security/IdentityScope.java,
1598         java/security/KeyFactory.java,
1599         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1600         java/security/MessageDigest.java, java/security/Policy.java,
1601         java/security/ProtectionDomain.java,
1602         java/security/SecureRandom.java, java/security/Security.java,
1603         java/security/Signature.java, java/security/SignatureSpi.java,
1604         java/security/SignedObject.java, java/security/Signer.java,
1605         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1606         java/security/spec/PSSParameterSpec.java,
1607         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1608         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1609         Classpath.
1610
1611 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1612
1613         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1614         (dispose): Null metrics.
1615         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1616         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1617         finalize.
1618         (finalize): Call dispose.
1619         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1620         (gcCachedCount): New field.
1621         (finalize): New method.
1622         (putGCInCache): New method.
1623         (getGCFromCache): New method.
1624         * gnu/gcj/xlib/GC.java (GC): Make protected.
1625         (clone): Get new GC from cache if possible.
1626         (create): New static method.
1627         (dispose): Save old GC in cache.
1628         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1629         deleting.
1630         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1631         is null.
1632         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1633         * java/awt/Container.java (visitChild): Dispose gfx2 when
1634         finished.
1635
1636 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1637
1638         * java/math/BigInteger.java (probablePrime): New.
1639         * java/math/BigDecimal.java (unscaledValue): New.
1640
1641 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1642
1643         * java/io/File.java (getAbsolutePath): On Windows, take care
1644         of paths like "C:", "G:foo\bar", etc.
1645         (getName): Make it work correctly on Windows.
1646         (getParent): Make it work correctly on Windows. For UNIX,
1647         fix bug that causes "/" to be returned as the parent of "/",
1648         instead of null as returned by Sun's JRE.
1649
1650         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1651
1652 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1653
1654         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1655         inner class.
1656         (CACHE_SIZE_PER_DISPLAY): New field
1657         (fontMetricsCache): New field
1658         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1659         loading ISO10646-1 fonts.
1660
1661 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1662
1663         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1664         characters.
1665         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1666         characters.
1667
1668 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1669
1670         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1671         floating point.
1672
1673 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1674
1675         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1676         installed libpthread is either linuxthreads with floating stacks or
1677         NPTL.
1678
1679 2003-04-14  Tom Tromey  <tromey@redhat.com>
1680
1681         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1682         of alignment.
1683
1684 2003-04-10  Tom Tromey  <tromey@redhat.com>
1685
1686         * verify.cc (pop64): Removed.
1687         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1688         exception if top-of-stack is narrow.
1689         (initialize_stack): Check to ensure that <init> is not static and
1690         <clinit> is.
1691
1692 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1693
1694         * java/io/ObjectStreamException
1695         * java/io/FileFilter
1696         * java/io/FilenameFilter
1697         * java/io/ObjectInput
1698         * java/io/ObjectOutput
1699         * java/io/ObjectStreamConstants
1700         Minor doc fixes, format fixes, spelling corrections, etc.
1701         * java/io/DataInput
1702         Corrected code samples in Javadocs to match reality
1703         * java/io/DataOutput
1704         * java/io/ObjectInputValidation
1705         Major documentation fixes - all Javadocs re-written or updated
1706
1707 2003-04-06  Michael Koch  <konqueror@gmx.de>
1708
1709         * java/net/URLConnection.java:
1710         Import classes directly.
1711         (URLConnection): Merged class documentation with classpath.
1712         (url): Moved, documentation from classpath added.
1713         (doInput): Moved, documentation from classpath added.
1714         (doOutput): Moved, documentation from classpath added.
1715         (allowUserInteraction): Moved.
1716         (useCaches): Moved, documentation from classpath added.
1717         (ifModifiedSince): Moved, documentation from classpath added.
1718         (connected): Moved, documentation from classpath added.
1719
1720 2003-04-06  Michael Koch  <konqueror@gmx.de>
1721
1722         * java/io/FileInputStream.java
1723         (skip): Renamed some variables to match classpath, added
1724         checks from classpath.
1725
1726 2003-03-31  Michael Koch  <konqueror@gmx.de>
1727
1728         * javax/swing/AbstractAction.java
1729         (AbstractAction): Reformatted.
1730         (serialVersionUID): New private member variable.
1731         * javax/swing/plaf/BorderUIResource.java
1732         (serialVersionUID): New private member variable.
1733         * javax/swing/plaf/basic/BasicLookAndFeel.java
1734         (serialVersionUID): New private member variable.
1735
1736 2003-03-31  Michael Koch  <konqueror@gmx.de>
1737
1738         * java/sql/Date.java
1739         (valueOf): Deprecated, reformatted.
1740         (toString): Deprecated, reformatted.
1741         * java/sql/Time.java
1742         (valueOf): Deprecated, reformatted.
1743         (toString): Deprecated, reformatted.
1744
1745 2003-03-31  Michael Koch  <konqueror@gmx.de>
1746
1747         * java/rmi/dgc/VMID.java
1748         (isUnique): Deprecated.
1749
1750 2003-03-31  Michael Koch  <konqueror@gmx.de>
1751
1752         * java/io/File.java
1753         (separator): Merged documentation from classpath.
1754         (separatorChar): Merged documentation from classpath.
1755         (pathSeparator): Merged documentation from classpath.
1756         (pathSeparatorChar): Merged documentation from classpath.
1757         (path): Merged documentation from classpath.
1758         (canRead): Merged documentation from classpath.
1759         (canWrite): Merged documentation from classpath.
1760         (createNewFile): Merged documentation from classpath.
1761         (delete): Merged documentation from classpath.
1762         (equals): Merged documentation from classpath.
1763         (exists): Merged documentation from classpath.
1764         (File): Renamed p to name to match classpath, merged documentation
1765         from classpath.
1766         (getAbsolutePath): Merged documentation from classpath.
1767         (getCanonicalPath): Merged documentation from classpath.
1768         (getCanonicalFile): Merged documentation from classpath.
1769         (getName): Merged documentation from classpath.
1770         (getParent): Merged documentation from classpath.
1771         (getParentFile): Merged documentation from classpath.
1772         (getPath): Merged documentation from classpath.
1773         (hashCode): Merged documentation from classpath.
1774         (isAbsolute): Merged documentation from classpath.
1775         (isDirectory): Merged documentation from classpath.
1776         (isFile): Merged documentation from classpath.
1777         (isHidden): Merged documentation from classpath.
1778         (lastModified): Merged documentation from classpath.
1779         (length): Merged documentation from classpath.
1780         (list): Merged documentation from classpath.
1781         (listFiles): Merged documentation from classpath.
1782         (toString): Merged documentation from classpath.
1783         (toURL): Merged documentation from classpath.
1784         (mkdir): Merged documentation from classpath.
1785         (mkdirs): Merged documentation from classpath.
1786         (createTempFile): Merged documentation from classpath.
1787         (setReadOnly): Merged documentation from classpath.
1788         (listRoots): Merged documentation from classpath.
1789         (compareTo): Merged documentation from classpath.
1790         (renameTo): Merged documentation from classpath.
1791         (setLastModified): Merged documentation from classpath.
1792         * java/io/PrintStream.java
1793         (auto_flush): Merged documentation from classpath.
1794         (PrintStream): Merged documentation from classpath.
1795         (checkError): Merged documentation from classpath.
1796         (setError): Merged documentation from classpath.
1797         (close): Merged documentation from classpath.
1798         (flush): Merged documentation from classpath.
1799         (print): Merged documentation from classpath.
1800         (println):  Merged documentation from classpath.
1801         (write): Renamed count to len to match classpath,
1802         merged documentation from classpath.
1803         * java/io/RandomAccessFile.java
1804         (readShort): Merged documentation from classpath.
1805         (readUnsignedByte): Merged documentation from classpath.
1806         (readUnsignedShort): Merged documentation from classpath.
1807         (readUTF): Merged documentation from classpath.
1808         (seek): Reformatted, merged documentation from classpath.
1809         (skipBytes): Renamed some variables to match classpath, reformatted,
1810         merged documentation from classpath.
1811         (write): Merged documentation from classpath.
1812         (writeBoolean): Merged documentation from classpath.
1813         (writeByte): Merged documentation from classpath.
1814         (writeShort): Merged documentation from classpath.
1815         (writeChar): Merged documentation from classpath.
1816         (writeInt): Merged documentation from classpath.
1817         (writeLong): Merged documentation from classpath.
1818         (writeFloat): Merged documentation from classpath.
1819         (writeDouble): Merged documentation from classpath.
1820         (writeBytes): Merged documentation from classpath.
1821         (writeChars): Merged documentation from classpath.
1822         (writeUTF): Reformatted.
1823         (getChannel): Reformatted.
1824
1825 2003-03-31  Michael Koch  <konqueror@gmx.de>
1826
1827         * java/awt/font/TextAttribute.java
1828         (readResolve): Throws java.io.InvalidObjectException.
1829
1830 2003-03-31  Michael Koch  <konqueror@gmx.de>
1831
1832         * java/rmi/server/LoaderHandler.java
1833         (loadClass): Deprecated.
1834         (getSecurityContext): Deprecated.
1835         * java/rmi/server/LogStream.java
1836         (getDefaultStream): Deprecated.
1837         (setDefaultStream): Deprecated.
1838         (getOutputStream): Deprecated.
1839         (setOutputStream): Deprecated.
1840         (write): Deprecated.
1841         (toString): Deprecated.
1842         (parseLevel): Deprecated.
1843         * java/rmi/server/Operation.java
1844         (Operation): Deprecated.
1845         (getOperation): Deprecated.
1846         (toString): Deprecated.
1847         * java/rmi/server/RemoteCall.java
1848         (getOutputStream): Deprecated.
1849         (releaseOutputStream): Deprecated.
1850         (getInputStream): Deprecated.
1851         (releaseInputStream): Deprecated.
1852         (getResultStream): Deprecated.
1853         (executeCall): Deprecated.
1854         (done): Deprecated.
1855         * java/rmi/server/RemoteRef.java
1856         (invoke): Deprecated.
1857         (newCall): Deprecated.
1858         (done): Deprecated.
1859         * java/rmi/server/RemoteStub.java
1860         (setRef): Deprecated.
1861         * java/rmi/server/Skeleton.java:
1862         No need to import java.lang.Exception explicitly.
1863         (dispatch): Deprecated.
1864         (getOperations): Deprecated.
1865
1866 2003-03-31  Michael Koch  <konqueror@gmx.de>
1867
1868         * java/rmi/dgc/VMID.java,
1869         java/rmi/registry/RegistryHandler.java,
1870         java/rmi/server/LogStream.java,
1871         java/rmi/server/Operation.java,
1872         java/rmi/server/RemoteCall.java,
1873         java/rmi/server/RemoteRef.java,
1874         java/rmi/server/RemoteStub.java:
1875         Reformatted.
1876
1877 2003-03-31  Michael Koch  <konqueror@gmx.de>
1878
1879         * javax/swing/AbstractCellEditor.java,
1880         javax/swing/AbstractListModel.java,
1881         javax/swing/ActionMap.java,
1882         javax/swing/BorderFactory.java,
1883         javax/swing/ButtonGroup.java,
1884         javax/swing/DefaultBoundedRangeModel.java,
1885         javax/swing/DefaultButtonModel.java,
1886         javax/swing/DefaultCellEditor.java,
1887         javax/swing/DefaultComboBoxModel.java,
1888         javax/swing/DefaultDesktopManager.java,
1889         javax/swing/DefaultListCellRenderer.java,
1890         javax/swing/DefaultSingleSelectionModel.java,
1891         javax/swing/InputMap.java,
1892         javax/swing/JComponent.java,
1893         javax/swing/JMenu.java,
1894         javax/swing/JSlider.java,
1895         javax/swing/KeyStroke.java,
1896         javax/swing/OverlayLayout.java,
1897         javax/swing/ScrollPaneLayout.java,
1898         javax/swing/SizeRequirements.java,
1899         javax/swing/UIManager.java,
1900         javax/swing/ViewportLayout.java,
1901         javax/swing/border/AbstractBorder.java,
1902         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1903         javax/swing/event/EventListenerList.java,
1904         javax/swing/table/AbstractTableModel.java,
1905         javax/swing/table/DefaultTableCellRenderer.java,
1906         javax/swing/table/DefaultTableColumnModel.java,
1907         javax/swing/table/DefaultTableModel.java,
1908         javax/swing/table/TableColumn.java,
1909         javax/swing/text/StyledEditorKit.java,
1910         javax/swing/tree/DefaultMutableTreeNode.java,
1911         javax/swing/tree/DefaultTreeModel.java,
1912         javax/swing/tree/DefaultTreeSelectionModel.java,
1913         javax/swing/tree/TreePath.java,
1914         javax/swing/undo/AbstractUndoableEdit.java,
1915         javax/swing/undo/StateEdit.java,
1916         javax/swing/undo/StateEditable.java,
1917         javax/swing/undo/UndoableEditSupport.java:
1918         Merges from classpath.
1919
1920 2003-03-30  Tom Tromey  <tromey@redhat.com>
1921
1922         * java/lang/String.java (data, boffset, count): Documented.
1923         (String(byte[],String)): Reformatted.
1924         (String(byte[])): Likewise.
1925         (lastIndexOf(int)): Likewise.
1926         (lastIndexOf(String)): Likewise.
1927         (substring(int)): Renamed argument to match Classpath.
1928         (String(StringBuffer)): Don't share buffer if it is nearly empty.
1929
1930         * java/lang/String.java: Miscellaneous minor formatting changes
1931         to match Classpath more closely.
1932
1933 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
1934             Tom Tromey  <tromey@redhat.com>
1935
1936         * java/lang/natString.cc (hashCode): Use cachedHashCode.
1937         (init()): Removed.
1938         (charAt): Put index in exception.
1939         (contentEquals): New method.
1940         Include StringBuffer.h.
1941         * java/lang/String.java (cachedHashCode): New field.
1942         (String()): Follow classpath implementation.
1943         (init()): Removed.
1944         (contentEquals): Declare.
1945         (subSequence): Don't declare IndexOutIfBoundsException in throws
1946         clause.
1947         (matches, replaceFirst, replaceAll, split): New methods from
1948         Classpath.
1949
1950 2003-03-29  Tom Tromey  <tromey@redhat.com>
1951
1952         * java/lang/String.java: Reordered to follow Classpath; merged in
1953         javadoc.
1954
1955         * java/text/MessageFormat.java: Removed some whitespace.
1956
1957         * Makefile.in: Rebuilt.
1958         * Makefile.am (awt_java_source_files): Added new files.
1959         * gnu/javax/rmi/PortableServer.java,
1960         gnu/javax/rmi/CORBA/DelegateFactory.java,
1961         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
1962         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
1963         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
1964         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
1965         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
1966         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
1967         javax/rmi/PortableRemoteObject.java,
1968         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
1969         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
1970         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
1971         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
1972         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
1973         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
1974
1975         * java/lang/natClass.cc (newInstance): Put method name in
1976         exception.
1977         (getConstructor): Likewise.
1978         (getDeclaredConstructor): Likewise.
1979         (getPrivateMethod): Likewise.
1980
1981 2003-03-28  Tom Tromey  <tromey@redhat.com>
1982
1983         * java/lang/reflect/Proxy.java: New version from Classpath.
1984         * java/lang/Package.java: New version from Classpath.
1985
1986 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
1987
1988         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
1989         * configure: Regenerate.
1990
1991 2003-03-28  Michael Koch  <konqueror@gmx.de>
1992
1993         * java/io/File.java:
1994         Import needed classes instead of whole packages, merged class
1995         documentation with classpath, moved constants and variables to top of
1996         class.
1997         * java/io/PrintStream.java:
1998         Merged class documentation with classpath, moved constants and
1999         variables to top of class.
2000         * java/io/RandomAccessFile.java
2001         (RandomAccessFile): Merged with classpath.
2002         (read): Merged with classpath).
2003         (read*): Reformatted.
2004
2005 2003-03-28  Michael Koch  <konqueror@gmx.de>
2006
2007         * java/io/FileDescriptor.java
2008         (finalize): Throws Throwable, not IOException.
2009         * java/io/ObjectOutputStream.java
2010         (PutField.put): Doesnt throws anything.
2011
2012 2003­03-28  Michael Koch  <konqueror@gmx.de>
2013
2014         * java/io/FileOutputStream.java:
2015         Merged class documentation and authors with classpath.
2016         (FileOutputStream): Partly merged with classpath.
2017         (write): Merged with classpath.
2018         (getChannel): Make it synchronized instead of explicit block in this
2019         method.
2020         * java/io/RandomAccessFile.java:
2021         Merged class documentation and authors with classpath.
2022
2023 2003-03-26  Tom Tromey  <tromey@redhat.com>
2024
2025         * java/lang/natRuntime.cc (insertSystemProperties): Set
2026         gnu.classpath.home.url.
2027         * Makefile.in: Rebuilt.
2028         * Makefile.am: Define LIBDIR.
2029
2030 2003-03-25  Michael Koch  <konqueror@gmx.de>
2031
2032         * java/io/FileInputStream.java
2033         (read): Renamed b to buf and off to offset.
2034         * java/io/FileOutputStream.java
2035         (ch): Documentation added.
2036         (FileOutputStream): Documentation added.
2037         (getFD): Documentation added.
2038         (write): Documentation added.
2039         (close): Documentation added.
2040         (getChannel): Documentation added.
2041
2042 2003-03-24  Michael Koch  <konqueror@gmx.de>
2043
2044         * java/io/DataOutputStream.java
2045         (write): Merged from classpath.
2046         * java/io/File.java:
2047         Merged copyrigth with classpath.
2048         * java/io/FileInputStream.java
2049         (getChannel): Made it synchronized instead of using a synchronized
2050         block.
2051         * java/io/FileOutputStream.java: Reformatted.
2052         * java/io/InputStreamReader.java
2053         (InputStreamReader): Renamed enc to encoding_name.
2054         (close): Merged documentation from classpath.
2055         (getEncoding): Merged documentation from classpath.
2056         (ready): Merged documentation from classpath.
2057         (read): Merged documentation from classpath.
2058         * java/io/LineNumberReader.java
2059         (lineNumber): Made it private.
2060         (LineNumberReader): Use Constant instead of a direct value.
2061         * java/io/OutputStreamWriter.java
2062         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2063         documentation from classpath.
2064         (close): Merged documentation from classpath.
2065         (flush): Merged documentation from classpath.
2066         (write): Merged documentation from classpath.
2067         * java/io/PrintStream.java: Reformatted.
2068
2069 2003-03-24  Michael Koch  <konqueror@gmx.de>
2070
2071         * javax/swing/text/ComponentView.java
2072         (getComponent): Must be final.
2073         * javax/swing/tree/DefaultTreeCellRenderer.java:
2074         Reformatted.
2075         * javax/swing/undo/StateEditable.java:
2076         Reformatted.
2077
2078 2003-03-24  Michael Koch  <konqueror@gmx.de>
2079
2080         * java/rmi/activation/ActivationInstantiator.java:
2081         Reformatted.
2082         * java/rmi/activation/Activator.java:
2083         Reformatted.
2084         * java/rmi/registry/RegistryHandler.java:
2085         Remerged from classpath.
2086
2087 2003-03-24  Michael Koch  <konqueror@gmx.de>
2088
2089         * java/util/Date.java:
2090         Fixed documentation starting tag to make javadoc happy.
2091         * java/util/regex/Pattern.java
2092         (Pattern): Implements Serializable.
2093         * java/util/PatternSyntaxException.java
2094         (serialVersionUID): New member variable.
2095
2096 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2097
2098         * java/awt/ContainerOrderFocusTraversalPolicy.java
2099         (getFirstComponent): Implemented.
2100         (getLastComponent): Implemented.
2101         (getDefaultComponent): Implemented.
2102         (setImplicitDownCycleTraversal): Fixed implementation.
2103         * java/awt/Robot.java
2104         (Robot): Added documentation.
2105         * java/awt/Toolkit.java
2106         (getFontList): Deprecated.
2107         (getFontMetrics): Deprecated.
2108         (getPrintJob): Added documentation.
2109         (getSystemSelection): Added documentation.
2110         (getLockingKeyState): Added documentation.
2111         (setLockingKeyState): Added documentation.
2112         (createCustomCursor): Added documentation.
2113         (getBestCursorSize): Added documentation.
2114         (getMaximumCursorColors): Added documentation.
2115         (isFrameStateSupported): Added documentation.
2116
2117 2003-03-24  Michael Koch  <konqueror@gmx.de>
2118
2119         * java/io/RandomAccessFile.java:
2120         More little merges with classpath. No code changes.
2121
2122 2003-03-24  Michael Koch  <konqueror@gmx.de>
2123
2124         * java/net/natInetAddressNoNet.cc:
2125         Include stddef.h.
2126         * java/net/natPlainDatagramSocketImplNoNet.cc:
2127         Fixed inlcude of java/net/DatagramPacket.h.
2128         * java/net/natPlainSocketImplNoNet.cc:
2129         Include some missing classes.
2130
2131 2003-03-24  Michael Koch  <konqueror@gmx.de>
2132
2133         * java/awt/dnd/DropTarget.java
2134         (DropTargetAutoScroller): According to the online documentation, this
2135         is protected, but in reality it is public.
2136         * java/awt/dnd/DropTargetContext.java
2137         (TransferableProxy): According to the online documentation, this
2138         is protected, but in reality it is public.
2139
2140 2003-03-24  Michael Koch  <konqueror@gmx.de>
2141
2142         * java/io/DataInputStream.java
2143         (): Wrapped documentation line.
2144         (): Fixed @return tag.
2145         * java/io/DataOutputStream.java
2146         (written): Moved to top of class.
2147         (all methods): Merged documentation from classpath.
2148         * java/io/File.java:
2149         Merged copyright year with classpath.
2150         * java/io/FileInputStream.java
2151         (all methods): Merged documentation from classpath.
2152         * java/io/LineNumberReader.java
2153         (getLineNumber): Fixed @return tag.
2154         * java/io/ObjectInputStream.java.
2155         Reformatted.
2156         * java/io/ObjectOutputStream.java:
2157         Reformatted, fixed some @see tags.
2158         * java/io/OutputStreamWriter.java:
2159         Deleted empty line.
2160         * java/io/Writer.java:
2161         Reformatted.
2162
2163 2003-03-24  Michael Koch  <konqueror@gmx.de>
2164
2165         * java/awt/Frame.java
2166         (DEFAULT_CURSOR): Fixed @deprecated tag.
2167         (setCursor): Fixed @deprecated tag.
2168
2169 2003-03-24  Michael Koch  <konqueror@gmx.de>
2170
2171         * java/beans/beancontext/BeanContextEvent.java:
2172         Reformated.
2173
2174 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2175
2176         * java/lang/natStringBuffer.cc (regionMatches): New function.
2177         * java/lang/String.java (count): Now package-private.
2178         * java/lang/StringBuffer.java: Merged with Classpath.
2179
2180 2003-03-23  Michael Koch  <konqueror@gmx.de>
2181
2182         * java/io/BufferedOutputStream.java:
2183         Reformated.
2184         * java/io/BufferedReader.java:
2185         Reformated.
2186         * java/io/ByteArrayOutputStream.java
2187         (size): Fixed @see tag.
2188         * java/io/CharArrayWriter.java
2189         (size): Fixed @see tag.
2190         * java/io/DataInput.java:
2191         Reformated.
2192         * java/io/DataOutput.java:
2193         Reformated.
2194         * java/io/DataOutputStream.java:
2195         Merged copyright years with classpath.
2196         * java/io/Externalizable.java:
2197         Reformated.
2198         * java/io/FileFilter.java:
2199         Reformated.
2200         * java/io/FileInputStream.java:
2201         Merged copyright years with classpath.
2202         * java/io/FileOutputStream.java:
2203         Merged copyright years with classpath.
2204         * java/io/FilePermission.java
2205         (FilePermission): Replaced @XXX with FIXME:.
2206         * java/io/FileWriter.java:
2207         Reformated.
2208         * java/io/FilenameFilter.java:
2209         Reformated.
2210         * java/io/FilterInputStream.java:
2211         Reformated.
2212         * java/io/FilterOutputStream.java:
2213         Reformated.
2214         * java/io/FilterReader.java:
2215         Reformated.
2216         * java/io/FilterWriter.java:
2217         Reformated.
2218         * java/io/LineNumberInputStream.java
2219         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2220         happy.
2221         (getLineNumber): Fixed @return tag.
2222         * java/io/ObjectInput.java:
2223         Reformated.
2224         * java/io/ObjectOutput.java:
2225         Reformated.
2226         * java/io/ObjectStreamClass.java:
2227         Reformated.
2228         * java/io/PrintStream.java:
2229         Merged copyright years with classpath.
2230         * java/io/PushbackReader.java
2231         (PushbackReader): Replaced @code with @param.
2232         * java/io/SerializablePermission.java:
2233         Reformated.
2234         * java/io/StreamTokenizer.java
2235         (resetSyntax): Fixed @see tag.
2236
2237 2003-03-22  Richard Henderson  <rth@redhat.com>
2238
2239         * sysdep/ia64/locks.h: Include ia64intrin.h.
2240         (compare_and_swap): Use __sync_bool_compare_and_swap.
2241         (compare_and_swap_release): Expose ar.ccv assignment.
2242
2243 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2244
2245         * include/posix.h: Add suffix for darwin dynamic libraries.
2246
2247 2003-03-21  Michael Koch  <konqueror@gmx.de>
2248
2249         * javax/swing/Action.java
2250         (ACCELERATOR_KEY): New constant.
2251         (ACTION_COMMAND_KEY): Likewise.
2252         (MNEMONIC_KEY): Likewise.
2253         * javax/swing/UnsupportedLookAndFeelException.java
2254         (UnsupportedLookAndFeelException): Must be public.
2255         * javax/swing/WindowConstants.java
2256         (EXIT_ON_CLOSE): New constant.
2257         * javax/swing/text/BadLocationException.java
2258         (offset): New member variable.
2259         (BadLocationException): New implementation, documentation added.
2260         (offsetRequested): New method.
2261         * javax/swing/text/Caret.java:
2262         Reformated.
2263         * javax/swing/text/Document.java:
2264         Reformated.
2265
2266 2003-03-21  Michael Koch  <konqueror@gmx.de>
2267
2268         * java/rmi/activation/Activatable.java
2269         (serialVersionUID): New member variable.
2270         * java/rmi/activation/ActivationGroup.java
2271         (serialVersionUID): New member variable.
2272         * java/rmi/activation/ActivationGroupDesc.java
2273         (serialVersionUID): New member variable.
2274         * java/rmi/registry/Registry.java:
2275         Reformated.
2276         (Registry): Deprecated.
2277         * java/rmi/server/LoaderHandler.java
2278         Reformated.
2279         (LoaderHandler): Deprecated.
2280         * java/rmi/server/LogStream.java
2281         Reformated.
2282         (LogStream): Deprecated.
2283         * java/rmi/server/Operation.java
2284         (Operation): Deprecated.
2285         * java/rmi/server/RMIFailureHandler.java:
2286         Reformated.
2287         * java/rmi/server/RMISocketFactory.java:
2288         Reformated.
2289         * java/rmi/server/RemoteCall.java
2290         (RemoteCall): Deprecated.
2291         * java/rmi/server/RemoteStub.java:
2292         Reformated.
2293         * java/rmi/server/Skeleton.java
2294         Reformated.
2295         (Skeleton): Deprecated.
2296
2297 2003-03-21  Michael Koch  <konqueror@gmx.de>
2298
2299         * java/io/LineNumberReader.java
2300         (LineNumberReader): Merged documentation with classpath.
2301         (getLineNumber): Likewise.
2302         (setLineNumber): Likewise.
2303         (mark): Likewise.
2304         (reset): Likewise.
2305         (read): Likewise.
2306         (readLine): Likewise.
2307         (skip): Likewise.
2308
2309 2003-03-21  Michael Koch  <konqueror@gmx.de>
2310
2311         * java/rmi/RMISecurityManager.java
2312         (checkAccept): Removed.
2313         (checkAccess): Likewise.
2314         (checkAccess): Likewise.
2315         (checkAwtEventQueueAccess): Likewise.
2316         (checkConnect): Likewise.
2317         (checkCreateClassLoader): Likewise.
2318         (checkDelete): Likewise.
2319         (checkExec): Likewise.
2320         (checkExit): Likewise.
2321         (checkLink): Likewise.
2322         (checkListen): Likewise.
2323         (checkMemberAccess): Likewise.
2324         (checkMulticast): Likewise.
2325         (checkPackageAccess): Likewise.
2326         (checkPackageDefinition): Likewise.
2327         (checkPermission): Likewise.
2328         (checkPrintJobAccess): Likewise.
2329         (checkPropertiesAccess): Likewise.
2330         (checkPropertyAccess): Likewise.
2331         (checkRead): Likewise.
2332         (checkSecurityAccess): Likewise.
2333         (checkSetFactory): Likewise.
2334         (checkSystemClipboardAccess): Likewise.
2335         (checkTopLevelWindow): Likewise.
2336         (checkWrite): Likewise.
2337
2338 2003-03-20  Michael Koch  <konqueror@gmx.de>
2339
2340         * gnu/java/nio/FileChannelImpl.java
2341         (address): Removed.
2342         (map_address): New member variable.
2343         (length): Make it package private.
2344         (fd): Make it package private.
2345         (buf): Make it package private.
2346         (file_obj): Make it package private.
2347         (FileChannelImpl): New constructor.
2348         (nio_mmap_file): Use RawData instead of long.
2349         (nio_munmap_file): Use RawData instead of long.
2350         (nio_msync): Use RawData instead of long.
2351         (implCloseChannel): New implementation using map_address.
2352         (read): Reformated.
2353         (map): Implemented.
2354         (create_direct_mapped_buffer): Implemented, use RawData, throws
2355         IOException.
2356         (force): Use map_address instead of address.
2357         * gnu/java/nio/MappedByteFileBuffer.java
2358         (address): Removed.
2359         (map_address): New member variable.
2360         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2361         (several methods): Use map_address instead of address, replaced long
2362         with RawData where appropriate.
2363         * gnu/java/nio/natFileChannelImpl.cc
2364         (nio_mmap_file): Replaced long with RawData.
2365         (nio_munmap_file): Replaced long with RawData.
2366         (nio_msync): Replaced long with RawData.
2367         * gnu/java/nio/natMappedByteFileBuffer.cc
2368         (several methods): Replaced long with RawData where appropriate.
2369
2370 2003-03-20  Michael Koch  <konqueror@gmx.de>
2371
2372         * java/net/InetAddress.java,
2373         java/net/JarURLConnection.java,
2374         java/net/PlainDatagramSocketImpl.java,
2375         java/net/PlainSocketImpl.java,
2376         java/net/URLConnection.java:
2377         Merged copyright statements with classpath for easier merging.
2378
2379 2003-03-20  Michael Koch  <konqueror@gmx.de>
2380
2381         * java/io/FileInputStream.java
2382         (getChannel): New implementation.
2383         * java/io/FileOutputStream.java
2384         (ch): New member variable.
2385         (getChannel): Implemented.
2386         * java/io/RandomAccessFile.java
2387         (RandomAccessFile): Throws FileNotFoundException instead of
2388         IOException.
2389         (getChannel): New method.
2390         (ch): New member variable.
2391
2392 2003-03-20  Michael Koch  <konqueror@gmx.de>
2393
2394         * java/io/DataOutputStream.java,
2395         java/io/File.java,
2396         java/io/FileInputStream.java,
2397         java/io/FileOutputStream.java,
2398         java/io/InputStreamReader.java,
2399         java/io/LineNumberReader.java,
2400         java/io/OutputStreamWriter.java,
2401         java/io/PrintStream.java,
2402         java/io/RandomAccessFile.java:
2403         Merged copyright statements with classpath for easier merging.
2404
2405 2003-03-19  Michael Koch  <konqueror@gmx.de>
2406
2407         * java/lang/Process.java:
2408         Merged from classpath.
2409
2410 2003-03-19  Michael Koch  <konqueror@gmx.de>
2411
2412         * java/io/FileOutputStream.java
2413         (FileOutputStream): New constructor, merged from classpath.
2414         * java/io/FileWriter.java
2415         (FileWriter): New constructor, merged from classpath.
2416
2417 2003-03-18  Michael Koch  <konqueror@gmx.de>
2418
2419         * java/awt/ScrollPane.java
2420         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2421         (getViewportSize): Likewise.
2422         (addNotify): Likewise.
2423         (removeNotify): Likewise.
2424         * java/awt/ScrollPaneAdjustable.java
2425         (ScrollPaneAdjustable): No longer extends Scrollbar.
2426         * java/beans/beancontext/BeanContextServices.java:
2427         Reformated.
2428         (getService): Added throws TooManyListenersException;
2429         * java/beans/beancontext/BeanContextServicesSupport.java:
2430         Reformated.
2431
2432 2003-03-18  Michael Koch  <konqueror@gmx.de>
2433
2434         * java/io/BufferedOutputStream.java,
2435         java/io/DataInput.java,
2436         java/io/DataInputStream.java,
2437         java/io/DataOutput.java,
2438         java/io/Externalizable.java:
2439         More merges from classpath.
2440
2441 2003-03-18  Michael Koch  <konqueror@gmx.de>
2442
2443         * configure.in: Fixed links to platform dependant java.net files.
2444         * configure: Regenerated.
2445         * java/net/natInetAddress.cc,
2446         java/net/natNetworkInterface.cc,
2447         java/net/natPlainDatagramSocketImpl.cc,
2448         java/net/natPlainSocketImpl.cc:
2449         Removed.
2450
2451 2003-03-18  Michael Koch  <konqueror@gmx.de>
2452
2453         * configure.in: Create links to architecture dependent files,
2454         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2455         * configure: Regenerated.
2456         * java/net/natInetAddressNoNet.cc,
2457         java/net/natInetAddressPosix.cc,
2458         java/net/natInetAddressWin32.cc,
2459         java/net/natNetworkInterfaceNoNet.cc,
2460         java/net/natNetworkInterfacePosix.cc,
2461         java/net/natNetworkInterfaceWin32.cc,
2462         java/net/natPlainDatagramSocketImplNoNet.cc,
2463         java/net/natPlainDatagramSocketImplPosix.cc,
2464         java/net/natPlainDatagramSocketImplWin32.cc,
2465         java/net/natPlainSocketImplNoNet.cc,
2466         java/net/natPlainSocketImplPosix.cc,
2467         java/net/natPlainSocketImplWin32.cc: New files.
2468
2469 2003-03-18  Michael Koch  <konqueror@gmx.de>
2470
2471         * java/io/BufferedReader.java,
2472         java/io/BufferedWriter.java,
2473         java/io/ByteArrayOutputStream.java,
2474         java/io/FileFilter.java,
2475         java/io/FilePermission.java,
2476         java/io/FileReader.java,
2477         java/io/FileWriter.java,
2478         java/io/FilenameFilter.java,
2479         java/io/FilterInputStream.java,
2480         java/io/FilterOutputStream.java,
2481         java/io/FilterReader.java,
2482         java/io/FilterWriter.java,
2483         java/io/ObjectInput.java,
2484         java/io/ObjectInputValidation.java,
2485         java/io/ObjectOutput.java,
2486         java/io/ObjectStreamField.java,
2487         java/io/PipedInputStream.java,
2488         java/io/PipedReader.java,
2489         java/io/PrintWriter.java,
2490         java/io/PushbackReader.java,
2491         java/io/Reader.java,
2492         java/io/SerializablePermission.java,
2493         java/io/StringReader.java,
2494         java/io/Writer.java:
2495         Merged from classpath.
2496
2497 2003-03-17  Michael Koch  <konqueror@gmx.de>
2498
2499         * java/awt/ScrollPaneAdjustable.java:
2500         Compile fixes.
2501         
2502 2003-03-17  Michael Koch  <konqueror@gmx.de>
2503
2504         * java/net/DatagramSocket.java
2505         (connect): Fixed comment.
2506         * java/nio/ByteBuffer.java
2507         (hasArray): Fixed comment.
2508
2509 2003-03-17  Michael Koch  <konqueror@gmx.de>
2510
2511         * java/beans/Beans.java:
2512         Explicitely import classes not packages.
2513         * java/beans/FeatureDescriptor.java
2514         (preferred): New member variable.
2515         (isPreferred): New method.
2516         (setPreferred): New method.
2517         * java/beans/PropertyEditorManager.java:
2518         Explicitely import used classes.
2519         * java/beans/beancontext/BeanContextChild.java:
2520         Added line wrapping.
2521         * java/beans/beancontext/BeanContextChildSupport.java:
2522         Reindented.
2523         * java/beans/beancontext/BeanContextEvent.java:
2524         Reindented.
2525
2526 2003-03-17  Michael Koch  <konqueror@gmx.de>
2527
2528         * java/awt/Dialog.java
2529         (Dialog): New constructor, changed implementations, added
2530         documentation.
2531         * java/awt/ScrollPaneAdjustable.java
2532         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2533         Serializable.
2534         (serialVersionUID): New member variable.
2535         (sp): New member variable.
2536         (orientation): New member variable.
2537         (value): New member variable.
2538         (minimum): New member variable.
2539         (maximum): New member variable.
2540         (visibleAmount): New member variable.
2541         (unitIncrement): New member variable.
2542         (blockIncrement): New member variable.
2543         (AdjustmentListener): New member variable.
2544         (ScrollPaneAdjustable): New implementation.
2545         (addAdjustmentListener): New method.
2546         (removeAdjustmentListener): New method.
2547         (getAdjustmentListeners): New method.
2548         (getBlockIncrement): New method.
2549         (getMaximum): New method.
2550         (getMinimum): New method.
2551         (getOrientation): New method.
2552         (getUnitIncrement): New method.
2553         (getValue): New method.
2554         (getVisibleAmount): New method.
2555         (setBlockIncrement): New method.
2556         (setMaximum): Implemented.
2557         (setMinimum): Implemented.
2558         (setUnitIncrement): New method.
2559         (setValue): New method.
2560         (setVisibleAmount): Implemented. 
2561         (paramString): New stubbed method.
2562         * java/awt/Window.java
2563         (show): Call setVisible().
2564         (hide): Call setVisible().
2565         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2566         and WINDOW_STATE_CHANGED.
2567         (processWindowFocusEvent): New method.
2568         (processWindowStateEvent): New method.
2569         (postEvent): Deprecated.
2570         (applyResourceBundle): Deprecated.
2571         * java/awt/datatransfer/DataFlavor.java
2572         (DataFlavor): Doesn't thow ClassNotFoundException.
2573
2574 2003-03-17  Michael Koch
2575
2576         * javax/print/attribute/Attribute.java,
2577         javax/print/attribute/AttributeSet.java,
2578         javax/print/attribute/PrintRequestAttributeSet.java:
2579         New files.
2580         * Makefile.am
2581         (javax_source_files): Added new files:
2582         javax/print/attribute/Attribute.java
2583         javax/print/attribute/AttributeSet.java
2584         javax/print/attribute/PrintRequestAttributeSet.java
2585         * Makefile.in: Regenerated.
2586
2587 2003-03-17  Michael Koch
2588
2589         * javax/print/attribute/Attribute.java,
2590         javax/print/attribute/AttributeSet.java,
2591         javax/print/attribute/PrintRequestAttributeSet.java:
2592         New files.
2593         * Makefile.am
2594         (awt_java_source_files): Added new files:
2595         javax/print/attribute/Attribute.java
2596         javax/print/attribute/AttributeSet.java
2597         javax/print/attribute/PrintRequestAttributeSet.java
2598         * Makefile.in: Regenerated.
2599
2600 2003-03-16  Tom Tromey  <tromey@redhat.com>
2601
2602         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2603         Include platform.h.
2604         * java/lang/natRuntime.cc (insertSystemProperties): Use
2605         _Jv_platform_path_separator.
2606         (nativeGetLibname): Use _Jv_platform_file_separator.
2607         (_load): Use _Jv_platform_onload_names.
2608         (onload_names): New global.
2609         * include/win32.h (_Jv_platform_file_separator): New define.
2610         (_Jv_platform_path_separator): Likewise.
2611         (_Jv_platform_onload_names): Likewise.
2612         (_Jv_platform_ffi_abi): Likewise.
2613         * include/posix.h (_Jv_platform_file_separator): New define.
2614         (_Jv_platform_path_separator): Likewise.
2615         (_Jv_platform_onload_names): Likewise.
2616         (_Jv_platform_ffi_abi): Likewise.
2617
2618 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2619
2620         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2621
2622 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2623
2624         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2625         hierarchy loop.
2626         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2627         list to Object,ObjectStreamClass, moved callReadMethod code up into
2628         readObject and added Class argument to all setXxxField calls.
2629         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2630         consistent with ObjectOutputStream and to facilitate caching the
2631         Method in the future.
2632         (setBooleanField): Added Class argument.
2633         (setByteField): Likewise.
2634         (setCharField): Likewise.
2635         (setDoubleField): Likewise.
2636         (setFloatField): Likewise.
2637         (setIntField): Likewise.
2638         (setLongField): Likewise.
2639         (setShortField): Likewise.
2640         (setObjectField): Likewise.
2641         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2642         class hierarchy loop.
2643         (defaultWriteObject): Call writeFields with new argument list.
2644         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2645         list to Object,ObjectStreamClass, moved callWriteMethod up into
2646         writeObject and added Class argument to all getXxxField calls.
2647         (callWriteMethod): Added ObjectStreamClass argument to be able to
2648         get the proper class to call getMethod on (each class can have (or
2649         not have) its own writeObject method).
2650         (getBooleanField): Added Class argument.
2651         (getByteField): Likewise.
2652         (getCharField): Likewise.
2653         (getDoubleField): Likewise.
2654         (getFloatField): Likewise.
2655         (getIntField): Likewise.
2656         (getLongField): Likewise.
2657         (getShortField): Likewise.
2658         (getObjectField): Likewise.
2659         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2660         facilitate caching the Method object in the future.
2661
2662 2003-03-12  Andreas Schwab  <schwab@suse.de>
2663
2664         * configure.in: Avoid trailing /. in toolexeclibdir.
2665         * configure: Rebuilt.
2666
2667 2003-03-11  Michael Koch  <konqueror@gmx.de>
2668
2669         * gnu/java/nio/ByteBufferImpl.java
2670         (putInt): Use limit() instead of limit.
2671         * gnu/java/nio/CharBufferImpl.java
2672         (slice): Fixed implementation.
2673         (subSequence): Better bounds checking.
2674         * gnu/java/nio/MappedByteFileBuffer.java:
2675         Import all needed classes directly.
2676         * java/nio/ByteBuffer.java
2677         (hashCode): New dummy method.
2678         * java/nio/CharBuffer.java
2679         (array_offset): New member variable.
2680         (hasArray): Fixed documentation.
2681         (arrayOffset): Return array_offset.
2682
2683 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2684
2685         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2686         setter; made return value of getter const char* instead of char*
2687         * prims.cc: removed all references to _Jv_ThisExecutable().
2688         These are in the platform-specific sections now.
2689         * posix.cc: define platform-specific _Jv_ThisExecutable().
2690         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2691         * win32.cc: define platform-specific _Jv_ThisExecutable()
2692         using GetModuleFilename()
2693         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2694         to argv[0] instead of _Jv_ThisExecutable()
2695
2696 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2697
2698         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2699         that is set if we are using addr2name.awk instead of addr2line.
2700         (NameFinder): Set usingAddr2name if using addr2name.awk.
2701         (getExternalLabel): New native method to convert a method 
2702         name to an external label.
2703         (lookup): Convert name given by addr2line to an external label
2704         before demangling.
2705
2706         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2707         constant representing the prefix attached to method names to
2708         convert them to an external label.
2709         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2710         using LABEL_PREFIX.
2711
2712 2003-03-10  Tom Tromey  <tromey@redhat.com>
2713
2714         * Makefile.in: Rebuilt.
2715         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2716         (JC1FLAGS): Removed -Wno-deprecated.
2717
2718 2003-03-10  Michael Koch  <konqueror@gmx.de>
2719
2720         * java/nio/ByteOrder.java
2721         (nativeOrder): Working implementation, added documentation.
2722         (toString): Added documentation.
2723
2724 2003-03-10  Michael Koch  <konqueror@gmx.de>
2725
2726         * java/net/DatagramSocket.java,
2727         java/net/MulticastSocket.java,
2728         java/net/Socket.java,
2729         java/net/URL.java,
2730         java/net/URLConnection.java:
2731         Fixed some documentation tags to make javadoc and friends happy.
2732
2733 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2734
2735         * java/beans/beancontext/BeanContextServicesSupport.java,
2736         java/beans/beancontext/BeanContextSupport.java: New files.
2737         * Makefile.am
2738         (awt_source_files): Added new files.
2739         * Makefile.in: Regenerated.
2740
2741 2003-03-10  Michael Koch  <konqueror@gmx.de>
2742
2743         * java/awt/FocusTraversalPolicy.java
2744         (FocusTraversalPolicy): Documentation added.
2745         (getComponentAfter): Documentation added.
2746         (getComponentBefore): Documentation added.
2747         (getFirstComponent): Documentation added.
2748         (getLastComponent): Documentation added.
2749         (getDefaultComponent): Documentation added.
2750         (getInitialComponent): Documentation added.
2751         * java/awt/ScrollPaneAdjustable.java
2752         (sp): New member variable.
2753         (orientation): New member variable.
2754         (value): New member variable.
2755         (minimum): New member variable.
2756         (maximum): New member variable.
2757         (visibleAmount): New member variable.
2758         (unitIncrement): New member variable.
2759         (blockIncrement): New member variable.
2760         (adjustmentListener): New member variable.
2761         (ScrollPaneAdjustable): Rewrote.
2762         (addAdjustmentListener): New method.
2763         (removeAdjustmentListener): New method.
2764         (getAdjustmentListeners): New method.
2765         (getBlockIncrement): New method.
2766         (getMaximum): New method.
2767         (getMinimum): New method.
2768         (getOrientation): New method.
2769         (getUnitIncrement): New method.
2770         (getValue): New method.
2771         (getVisibleAmount): New method.
2772         (setBlockIncrement): New method.
2773         (setUnitIncrement): New method.
2774         (setMaximum): Implemented.
2775         (setMinimum): Implemented.
2776         (setValue): New method.
2777         (setVisibleAmount): Implemented.
2778         (paramString): New method.
2779         * java/awt/Window.java
2780         (show): Use setVisible(true) instead of super.show().
2781         (hide): Use sevVisible(false) instead of super.hide().
2782         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2783         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2784         (postEvent): Deprecated.
2785         (applyResourceBundle): Deprecated.
2786         (processWindowFocusEvent): New method.
2787         (processWindowStateEvent): New method.
2788         * java/awt/datatransfer/DataFlavor.java: Reindented.
2789         * java/awt/font/TextHitInfo.java
2790         (charIndex): New member variable.
2791         (leadingEdge): New member variable.
2792         (TextHitInfo): New constructor.
2793         (getCharIndex): Implemented.
2794         (isLeadingEdge): Implemented.
2795         (getInsertionIndex): Implemented.
2796         (hashCode): Access charIndex directly.
2797         (equals): Reformated.
2798         (leading): Implemented.
2799         (trailing): Implemented.
2800         (beforeOffset): Implemented.
2801         (afterOffset): Implemented.
2802         (getOtherHit): Implemented.
2803         (getOffsetHit): Implemented.
2804         (toString): Implemented.
2805         * java/awt/image/BufferedImage.java
2806         (BufferedImage): Implements WritableRenderedImage.
2807         (observers): New member variable.
2808         (addTileObserver): New method.
2809         (removeTileObserver): New method.
2810
2811 2003-03-09  Tom Tromey  <tromey@redhat.com>
2812
2813         PR libgcj/9934:
2814         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2815         to lseek.  Return 0 if we can't compute the value.
2816
2817 2003-03-03  Michael Koch  <konqueror@gmx.de>
2818
2819         * java/net/NetworkInterface.java: Merged with classpath.
2820
2821 2003-03-03  Tom Tromey  <tromey@redhat.com>
2822
2823         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2824         of bytecode.
2825         (handle_ret_insn): Fail if returning to jsr that appears at end of
2826         bytecode.
2827
2828 2003-03-03  Michael Koch  <konqueror@gmx.de>
2829
2830         * Makefile.am
2831         (ordinary_java_source_files):
2832         Added gnu/java/nio/MappedByteFileBuffer.java.
2833         (nat_source_files):
2834         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2835         * Makefile.in: Regenerated.
2836
2837 2003-03-03  Michael Koch  <konqueror@gmx.de>
2838
2839         * java/net/DatagramSocket.java
2840         (connect): Merged comment from classpath.
2841         (receive): Merged documentation from classpath.
2842         * java/net/Socket.java
2843         (setSoTimeout): Clarified documentation.
2844         * java/net/URL.java
2845         (getPath): Merged from classpath.
2846         (getUserInfo): Merged from classpath.
2847         (getQuery): Merged from classpath.
2848         * java/net/URLStreamHandler.java
2849         (toExternalForm): Merged from classpath.
2850
2851 2003-03-02  Mark Wielaard  <mark@klomp.org>
2852
2853         * java/util/Properties.java (load): Only skip line if the first
2854         character is a comment, whitespaces don't count.
2855
2856 2003-03-02  Michael Koch  <konqueror@gmx.de>
2857
2858         * java/net/NetPermission.java:
2859         Merged copyright with classpath.
2860
2861 2003-03-02  Michael Koch  <konqueror@gmx.de>
2862
2863         * java/lang/Package.java:
2864         Remerged from classpath.
2865
2866 2003-03-02  Michael Koch  <konqueror@gmx.de>
2867
2868         * java/net/HttpURLConnection.java
2869         (HTTP_SERVER_ERROR): Deprecated.
2870         * java/net/MulticastSocket.java
2871         (send): Replaced checkMulticast with appropriate checkPermission call,
2872         deprecated.
2873         * java/net/URLDecoder.java
2874         (decode): Deprecated.
2875         * java/net/URLEncoder.java
2876         (encode): Deprecated.
2877
2878 2003-03-02  Michael Koch  <konqueror@gmx.de>
2879
2880         * javax/swing/text/Caret.java
2881         (getMagicCaretPosition): Fixed typo in method name.
2882         * javax/swing/text/DefaultCaret.java
2883         (getMagicCaretPosition): Fixed typo in method name.
2884
2885 2003-03-02  Michael Koch  <konqueror@gmx.de>
2886
2887         * java/awt/List.java
2888         (setMultipleSelections): Deprecated.
2889         (delItem): Deprecated.
2890         * java/awt/MenuComponent.java
2891         (getPeer): Deprecated.
2892         * java/awt/ScrollPane.java
2893         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2894         * java/awt/dnd/MouseDragGestureRecognizer.java
2895         (mouseClicked): Added comment.
2896         (mousePressed): Added comment.
2897         (mouseReleased): Added comment.
2898         (mouseEntered): Added comment.
2899         (mouseExited): Added comment.
2900         (mouseDragged): Added comment.
2901         (mouseMoved): Added comment.
2902         * java/awt/event/KeyEvent.java
2903         (KeyEvent): Deprecated.
2904         (setModifiers): Deprecated.
2905         
2906 2003-03-02  Michael Koch  <konqueror@gmx.de>
2907
2908         * gnu/java/nio/FileChannelImpl.java
2909         (fd): Type FileDescriptor instead of int.
2910         (lengthInternal): Removed.
2911         (FileChannelImpl): Fixed arguments, check type of file object.
2912         (size): Made it native.
2913         (implPosition): New native method.
2914         (implTruncate): New native method.
2915         (position): Implemented.
2916         (truncate): Implemented.
2917         (nio_mmap_file): Changed arguments.
2918         (nio_munmap_file): Changed arguments.
2919         (nio_msync): Changed arguments.
2920         * gnu/java/nio/natFileChannelImpl.cc
2921         (lengthInternal): Removed.
2922         (size): New method.
2923         (implPosition): New method.
2924         (implTruncate): New method.
2925         (nio_mmap_file): Changed arguments.
2926         (nio_munmap_file): Changed arguments.
2927         (nio_msync): Changed arguments.
2928
2929 2003-03-02  Michael Koch  <konqueror@gmx.de>
2930
2931         * java/awt/dnd/DropTargetContext.java:
2932         Compile fix: Forgot to commit import.
2933         
2934 2003-03-02  Michael Koch  <konqueror@gmx.de>
2935
2936         * java/awt/Component.java,
2937         java/awt/ScrollPane.java:
2938         Fixed typos.
2939
2940 2003-03-02  Michael Koch  <konqueror@gmx.de>
2941
2942         * java/awt/dnd/DnDEventMulticaster.java: New file.
2943         * java/awt/dnd/DragSource.java
2944         (flavorMap): New member variable.
2945         (dragSourceListener): New member variable.
2946         (dragSourceMotionListener): New member variable.
2947         (getFlavorMap): Implemented.
2948         (createDragGestureRecognizer): Implemented.
2949         (addDragSourceListener): Implemented.
2950         (removeDragSourceListener): Implemented.
2951         (getDragSourceListeners): Implemented.
2952         (addDragSourceMotionListener): Implemented.
2953         (removeDragSourceMotionListener): Implemented.
2954         (getDragSourceMotionListeners): Implemented.
2955         (getListeners): Implemented.
2956         * java/awt/dnd/DragSourceContext.java
2957         (peer): New member variable.
2958         (cursor): New member variable.
2959         (transferable): New member variable.
2960         (trigger): New member variable.
2961         (dragSourceListener): New member variable.
2962         (image): New member variable.
2963         (offset): New member variable.
2964         (DragSourceContext): Implemented.
2965         (getDragSource): Implemented.
2966         (getComponent): Implemented.
2967         (getTrigger): Implemented.
2968         (getSourceActions): Implemented.
2969         (setCursor): Implemented.
2970         (getCursor): Implemented.
2971         (addDragSourceListener): Implemented.
2972         (removeDragSourceListener): Implemented.
2973         (getTransferable): Implemented.
2974         * java/awt/dnd/DropTarget.java
2975         (DropTargetAutoScroller.component): New member variable.
2976         (DropTargetAutoScroller.point): New member variable.
2977         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
2978         (DropTargetAutoScroller.updateLocation): Implemented.
2979         (active): Renamed from isActive, defaults to true now.
2980         (component): New member variable.
2981         (flavorMap): New member variable.
2982         (actions): New member variable.
2983         (dropTargetContext): New member variable.
2984         (dropTargetListener): New member variable.
2985         (DropTarget): Implemented.
2986         (getComponent): Implemented.
2987         (setComponent): Implemented.
2988         (setDefaultActions): Implemented.
2989         (getDefaultActions): Implemented.
2990         (setActive): Use active instead of isActive.
2991         (isActive): Use active instead of isActive.
2992         (addDropTargetListener): Implemented.
2993         (removeDropTargetListener): Implemented.
2994         (getFlavorMap): Implemented.
2995         (setFlavorMap): Implemented.
2996         (getDropTargetContext): Implemented.
2997         (createDropTargetContext): Implemented.
2998         (createDropTargetAutoScroller): Implemented.
2999         * java/awt/dnd/DropTargetContext.java
3000         (TransferableProxy.getTransferDataFlavors): Implemented.
3001         (TransferableProxy.isDataFlavorSupported): Implemented.
3002         (TransferableProxy.getTransferData): Implemented.
3003         (dropTarget):  New member variable.
3004         (dtcp): New member variable.
3005         (DropTargetContext): New package private constructor.
3006         (getDropTarget): Implemented.
3007         (getComponent): Implemented.
3008         (addNotify): Implemented.
3009         (removeNotify): Implemented.
3010         (getCurrentDataFlavorsAsList): Implemented.
3011         (isDataFlavorSupported): Implemented.
3012         * java/awt/dnd/MouseDragGestureRecognizer.java
3013         (registerListeners): Implemented.
3014         (unregisterListeners): Implemented.
3015         * Makefile.am
3016         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3017         * Makefile.in: Regenerated.
3018
3019 2003-03-02  Michael Koch  <konqueror@gmx.de>
3020
3021         * java/awt/Component.java
3022         (eventTypeEnabled): New method.
3023         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3024         * java/awt/Container.java
3025         (changeSupport): New member variable.
3026         (addPropertyChangeListener): New methods.
3027         * java/awt/ContainerOrderFocusTraversalPolicy.java
3028         (ContainerOrderFocusTraversalPolicy): Added comment.
3029         (getComponentAfter): Throw exception, documentation added.
3030         (getComponentBefore): Throw exception, documentation added.
3031         (getFirstComponent): Throw exception, documentation added.
3032         (getLastComponent): Throw exception, documentation added.
3033         (getDefaultComponent): Throw exception, documentation added.
3034         * java/awt/EventQueue.java: Reindented.
3035         * java/awt/FocusTraversalPolicy.java:
3036         (FocusTraversalPolicy): Added comment.
3037         (getComponentAfter): Documentation added.
3038         (getComponentBefore): Documentation added.
3039         (getFirstComponent): Documentation added.
3040         (getLastComponent): Documentation added.
3041         (getDefaultComponent): Documentation added.
3042         (getInitialComponent): Documentation added.
3043         * java/awt/ScrollPane.java
3044         (wheelScrollingEnabled): New member variable.
3045         (ScrollPane): Initialize wheelScollingEnabled.
3046         (eventTypeEnabled): New method.
3047         (isWheelScrollingEnabled): New method.
3048         (setWheelScrollingEnabled): New method.
3049
3050 2003-03-02  Michael Koch  <konqueror@gmx.de>
3051
3052         * java/net/DatagramSocket.java
3053         (closed): New member variable.
3054         (close): Use closed variable.
3055         (getInetAddress): No need to call isConnected().
3056         (getPort): No need to call isConnected().
3057         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3058         (isClosed): Reimplemented.
3059         
3060 2003-03-02  Michael Koch  <konqueror@gmx.de>
3061
3062         * configure.in: Added check for memory mapping of files.
3063         * configure: Regenerated.
3064         * config.h.in: Regenerated.
3065
3066 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3067
3068         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3069         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3070
3071 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3072
3073         * java/io/File.java (normalizePath): Remove trailing separator
3074         on Windows only if path is not of the form "x:\".
3075
3076         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3077         (java::io::File::attr): Change formatting a bit and use
3078         WIN32_EPOCH_MILLIS instead of magic numbers.
3079         (java::io::File::isAbsolute): Path must have at least 3 
3080         characters for a UNC network path.
3081         (java::io::File::init_native): Define.
3082         (java::io::File::performCreate): Likewise.
3083         (java::io::File::performSetReadOnly): Likewise.
3084         (java::io::File::performSetLastModified): Likewise.
3085         (java::io::File::performListRoots): Likewise.
3086
3087 2003-03-01  Tom Tromey  <tromey@redhat.com>
3088
3089         * java/lang/natObject.cc: Don't include assert.h.
3090         (heavy_lock_obj_finalization_proc): Use JvAssert.
3091         (remove_all_heavy): Likewise.
3092         (_Jv_MonitorEnter): Likewise.
3093         (_Jv_MonitorExit): Likewise.
3094         (wait): Likewise.
3095
3096 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3097
3098         * java/io/File (getAbsolutePath): Prefix drive specifier on
3099         Windows for paths starting with a '\'.
3100         (toURL): Make URL more consistent with what Sun's JDK returns.
3101
3102         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3103         true only if the path is a UNC network path or it starts with a
3104         drive specifier.
3105
3106         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3107         Be prepared to handle either '/' or '\\' in the file path for
3108         Windows if using the "file" protocol.
3109         Canonicalise the file path if using a relative path in the given
3110         context and the "file" protocol.
3111
3112 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3113
3114         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3115         program array element passed to CreateProcess.
3116
3117 2003-03-01  Tom Tromey  <tromey@redhat.com>
3118
3119         * java/rmi/registry/RegistryHandler.java: Deprecate.
3120
3121 2003-03-01  Tom Tromey  <tromey@redhat.com>
3122
3123         * javax/accessibility/AccessibleEditableText.java,
3124         javax/accessibility/AccessibleHyperlink.java: New versions from
3125         Classpath.
3126
3127         * gnu/java/locale/LocaleInformation_af_ZA.java,
3128         gnu/java/locale/LocaleInformation_ar_AE.java,
3129         gnu/java/locale/LocaleInformation_ar_BH.java,
3130         gnu/java/locale/LocaleInformation_ar_DZ.java,
3131         gnu/java/locale/LocaleInformation_ar_EG.java,
3132         gnu/java/locale/LocaleInformation_ar_IN.java,
3133         gnu/java/locale/LocaleInformation_ar_IQ.java,
3134         gnu/java/locale/LocaleInformation_ar_JO.java,
3135         gnu/java/locale/LocaleInformation_ar_KW.java,
3136         gnu/java/locale/LocaleInformation_ar_LB.java,
3137         gnu/java/locale/LocaleInformation_ar_LY.java,
3138         gnu/java/locale/LocaleInformation_ar_MA.java,
3139         gnu/java/locale/LocaleInformation_ar_OM.java,
3140         gnu/java/locale/LocaleInformation_ar_QA.java,
3141         gnu/java/locale/LocaleInformation_ar_SD.java,
3142         gnu/java/locale/LocaleInformation_ar_SY.java,
3143         gnu/java/locale/LocaleInformation_ar_TN.java,
3144         gnu/java/locale/LocaleInformation_ar_YE.java,
3145         gnu/java/locale/LocaleInformation_be_BY.java,
3146         gnu/java/locale/LocaleInformation_bn_IN.java,
3147         gnu/java/locale/LocaleInformation_br_FR.java,
3148         gnu/java/locale/LocaleInformation_bs_BA.java,
3149         gnu/java/locale/LocaleInformation_ca_ES.java,
3150         gnu/java/locale/LocaleInformation_cs_CZ.java,
3151         gnu/java/locale/LocaleInformation_cy_GB.java,
3152         gnu/java/locale/LocaleInformation_da_DK.java,
3153         gnu/java/locale/LocaleInformation_de_AT.java,
3154         gnu/java/locale/LocaleInformation_de_BE.java,
3155         gnu/java/locale/LocaleInformation_de_CH.java,
3156         gnu/java/locale/LocaleInformation_de_DE.java,
3157         gnu/java/locale/LocaleInformation_de_LU.java,
3158         gnu/java/locale/LocaleInformation_el_GR.java,
3159         gnu/java/locale/LocaleInformation_en_AU.java,
3160         gnu/java/locale/LocaleInformation_en_BW.java,
3161         gnu/java/locale/LocaleInformation_en_CA.java,
3162         gnu/java/locale/LocaleInformation_en_DK.java,
3163         gnu/java/locale/LocaleInformation_en_GB.java,
3164         gnu/java/locale/LocaleInformation_en_HK.java,
3165         gnu/java/locale/LocaleInformation_en_IE.java,
3166         gnu/java/locale/LocaleInformation_en_IN.java,
3167         gnu/java/locale/LocaleInformation_en_NZ.java,
3168         gnu/java/locale/LocaleInformation_en_PH.java,
3169         gnu/java/locale/LocaleInformation_en_SG.java,
3170         gnu/java/locale/LocaleInformation_en_US.java,
3171         gnu/java/locale/LocaleInformation_en_ZA.java,
3172         gnu/java/locale/LocaleInformation_en_ZW.java,
3173         gnu/java/locale/LocaleInformation_es_AR.java,
3174         gnu/java/locale/LocaleInformation_es_BO.java,
3175         gnu/java/locale/LocaleInformation_es_CL.java,
3176         gnu/java/locale/LocaleInformation_es_CO.java,
3177         gnu/java/locale/LocaleInformation_es_CR.java,
3178         gnu/java/locale/LocaleInformation_es_DO.java,
3179         gnu/java/locale/LocaleInformation_es_EC.java,
3180         gnu/java/locale/LocaleInformation_es_ES.java,
3181         gnu/java/locale/LocaleInformation_es_GT.java,
3182         gnu/java/locale/LocaleInformation_es_HN.java,
3183         gnu/java/locale/LocaleInformation_es_MX.java,
3184         gnu/java/locale/LocaleInformation_es_NI.java,
3185         gnu/java/locale/LocaleInformation_es_PA.java,
3186         gnu/java/locale/LocaleInformation_es_PE.java,
3187         gnu/java/locale/LocaleInformation_es_PR.java,
3188         gnu/java/locale/LocaleInformation_es_PY.java,
3189         gnu/java/locale/LocaleInformation_es_SV.java,
3190         gnu/java/locale/LocaleInformation_es_US.java,
3191         gnu/java/locale/LocaleInformation_es_UY.java,
3192         gnu/java/locale/LocaleInformation_es_VE.java,
3193         gnu/java/locale/LocaleInformation_et_EE.java,
3194         gnu/java/locale/LocaleInformation_eu_ES.java,
3195         gnu/java/locale/LocaleInformation_fa_IR.java,
3196         gnu/java/locale/LocaleInformation_fi_FI.java,
3197         gnu/java/locale/LocaleInformation_fo_FO.java,
3198         gnu/java/locale/LocaleInformation_fr_BE.java,
3199         gnu/java/locale/LocaleInformation_fr_CA.java,
3200         gnu/java/locale/LocaleInformation_fr_CH.java,
3201         gnu/java/locale/LocaleInformation_fr_FR.java,
3202         gnu/java/locale/LocaleInformation_fr_LU.java,
3203         gnu/java/locale/LocaleInformation_ga_IE.java,
3204         gnu/java/locale/LocaleInformation_gd_GB.java,
3205         gnu/java/locale/LocaleInformation_gl_ES.java,
3206         gnu/java/locale/LocaleInformation_gv_GB.java,
3207         gnu/java/locale/LocaleInformation_he_IL.java,
3208         gnu/java/locale/LocaleInformation_hi_IN.java,
3209         gnu/java/locale/LocaleInformation_hr_HR.java,
3210         gnu/java/locale/LocaleInformation_hu_HU.java,
3211         gnu/java/locale/LocaleInformation_id_ID.java,
3212         gnu/java/locale/LocaleInformation_it_CH.java,
3213         gnu/java/locale/LocaleInformation_it_IT.java,
3214         gnu/java/locale/LocaleInformation_iw_IL.java,
3215         gnu/java/locale/LocaleInformation_ja_JP.java,
3216         gnu/java/locale/LocaleInformation_ka_GE.java,
3217         gnu/java/locale/LocaleInformation_kl_GL.java,
3218         gnu/java/locale/LocaleInformation_ko_KR.java,
3219         gnu/java/locale/LocaleInformation_kw_GB.java,
3220         gnu/java/locale/LocaleInformation_lt_LT.java,
3221         gnu/java/locale/LocaleInformation_lv_LV.java,
3222         gnu/java/locale/LocaleInformation_mi_NZ.java,
3223         gnu/java/locale/LocaleInformation_mk_MK.java,
3224         gnu/java/locale/LocaleInformation_mr_IN.java,
3225         gnu/java/locale/LocaleInformation_mt_MT.java,
3226         gnu/java/locale/LocaleInformation_nl_BE.java,
3227         gnu/java/locale/LocaleInformation_nl_NL.java,
3228         gnu/java/locale/LocaleInformation_nn_NO.java,
3229         gnu/java/locale/LocaleInformation_no_NO.java,
3230         gnu/java/locale/LocaleInformation_oc_FR.java,
3231         gnu/java/locale/LocaleInformation_pl_PL.java,
3232         gnu/java/locale/LocaleInformation_pt_BR.java,
3233         gnu/java/locale/LocaleInformation_pt_PT.java,
3234         gnu/java/locale/LocaleInformation_ro_RO.java,
3235         gnu/java/locale/LocaleInformation_ru_RU.java,
3236         gnu/java/locale/LocaleInformation_ru_UA.java,
3237         gnu/java/locale/LocaleInformation_se_NO.java,
3238         gnu/java/locale/LocaleInformation_sk_SK.java,
3239         gnu/java/locale/LocaleInformation_sl_SI.java,
3240         gnu/java/locale/LocaleInformation_sq_AL.java,
3241         gnu/java/locale/LocaleInformation_sr_YU.java,
3242         gnu/java/locale/LocaleInformation_sv_FI.java,
3243         gnu/java/locale/LocaleInformation_sv_SE.java,
3244         gnu/java/locale/LocaleInformation_ta_IN.java,
3245         gnu/java/locale/LocaleInformation_te_IN.java,
3246         gnu/java/locale/LocaleInformation_tg_TJ.java,
3247         gnu/java/locale/LocaleInformation_tl_PH.java,
3248         gnu/java/locale/LocaleInformation_tr_TR.java,
3249         gnu/java/locale/LocaleInformation_uk_UA.java,
3250         gnu/java/locale/LocaleInformation_ur_PK.java,
3251         gnu/java/locale/LocaleInformation_uz_UZ.java,
3252         gnu/java/locale/LocaleInformation_vi_VN.java,
3253         gnu/java/locale/LocaleInformation_yi_US.java,
3254         gnu/java/locale/LocaleInformation_zh_CN.java,
3255         gnu/java/locale/LocaleInformation_zh_HK.java,
3256         gnu/java/locale/LocaleInformation_zh_SG.java,
3257         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3258         info; from Classpath.
3259
3260         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3261         isPaintPending): New methods.
3262         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3263         setMaximizedBounds): New methods.
3264         (beginLayout, endLayout, isPaintPending): Likewise.
3265         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3266         (requestFocus): Likewise.
3267         (isObscured): Likewise.
3268         (canDetermineObscurity): Likewise.
3269         (coalescePaintEvent): Likewise.
3270         (updateCursorImmediately): Likewise.
3271         (createVolatileImage): Likewise.
3272         (handlesWheelScrolling): Likewise.
3273         (createBuffers): Likewise.
3274         (getBackBuffer): Likewise.
3275         (flip): Likewise.
3276         (destroyBuffers): Likewise.
3277
3278         * Makefile.in: Rebuilt.
3279         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3280         RobotPeer.java.
3281         * gnu/java/awt/GLightweightPeer.java,
3282         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3283         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3284         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3285         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3286         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3287         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3288         java/awt/dnd/peer/DragSourceContextPeer.java,
3289         java/awt/dnd/peer/DropTargetContextPeer.java,
3290         java/awt/peer/ButtonPeer.java,
3291         java/awt/peer/CheckboxMenuItemPeer.java,
3292         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3293         java/awt/peer/ComponentPeer.java,
3294         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3295         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3296         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3297         java/awt/peer/MenuBarPeer.java,
3298         java/awt/peer/MenuComponentPeer.java,
3299         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3300         java/awt/peer/PopupMenuPeer.java,
3301         java/awt/peer/ScrollPanePeer.java,
3302         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3303         java/awt/peer/TextComponentPeer.java,
3304         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3305         New versions from Classpath.
3306         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3307         * java/awt/peer/RobotPeer.java: Likewise.
3308
3309 2003-03-01  Mark Wielaard  <mark@klomp.org>
3310
3311         * java/io/ObjectInputStream.java: Reindent.
3312         * java/io/ObjectOutputStream.java: Likewise.
3313
3314 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3315
3316         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3317         jvalue for each argument. Simplify.
3318         * testsuite/libjava.jni/calls.c (docall),
3319         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3320         misalignment.
3321
3322 2003-02-28  Mark Wielaard  <mark@klomp.org>
3323
3324         * Makefile.am (nat_source_files): Remove
3325         java/io/natObjectOutputStream.cc.
3326         * Makefile.in: Regenerated.
3327         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3328         * java/io/ObjectStreamField.java (typename): New field.
3329         (ObjectStreamField(String, Class)): Initialize new field.
3330         (ObjectStreamField(String, String)): New Constructor.
3331         (getTypeCode): Use new field.
3332         (getTypeString): Use new field.
3333         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3334         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3335         Handle reading of Proxy classes. Never drain(), just write
3336         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3337         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3338         (flush): Call flush(), not just drain().
3339         (writeBoolean): Always use blockDataOutput.
3340         (writeByte): Likewise.
3341         (writeShort): Likewise.
3342         (writeChar): Likewise.
3343         (writeInt): Likewise.
3344         (writeLong): Likewise.
3345         (writeFloat): Likewise.
3346         (writeDouble): Likewise.
3347         (writeBytes): Likewise.
3348         (putfield (put(String,Object))): Throw IllegalArgumentException if
3349         field cannot be found.
3350         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3351         (writeArraySizeAndElements): Write byte[] in one go.
3352         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3353         set BlockDataMode to false.
3354         (annotateProxyClass): New method.
3355         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3356         (getField): No longer native.
3357         (getMethod): Likewise.
3358         (setBlockDataMode): Always drain() on switch, return old mode.
3359         (static): New static code block.
3360         * java/io/natObjectOutputStream.cc: Removed.
3361         * java/io/ObjectInputStream.java (getField): No longer native.
3362         (getMethod): Likewise.
3363         (readObject): Remember and reset old BlockDataMode. Track whether
3364         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3365         TC_LONGSTRING.
3366         (defaultReadObject): Set BlockDataMode to false during readFields.
3367         (resolveClass): Create new SecurityManager if necessary.
3368         Use Class.forName() if null ClassLoader found.
3369         (read(byte[],int,int): Copy remaining bytes to data before calling
3370         readNextBlock().
3371         (readFields): Set and reset BlockDataMode on call_read_method.
3372         Catch NoSuchFieldErrors.
3373         (setBlockDataMode): Return old mode.
3374         (static): New static code block.
3375         * java/io/natObjectInputStream.cc (getField): Removed.
3376         (getMethod): Likewise.
3377
3378 2003-02-27  Michael Koch  <konqueror@gmx.de>
3379
3380         * java/beans/Beans.java,
3381         java/beans/FeatureDescriptor.java
3382         java/beans/PropertyEditorManager.java:
3383         Reformated to GNU style.
3384
3385 2003-02-25  Michael Koch  <konqueror@gmx.de>
3386
3387         * gnu/java/nio/MappedByteFileBuffer.java,
3388         gnu/java/nio/natMappedByteFileBuffer.cc:
3389         New files, both are not compiled yet to get not noncompiling CVS.
3390
3391 2003-02-24  Tom Tromey  <tromey@redhat.com>
3392
3393         * java/util/prefs/AbstractPreferences.java (isUserNode):
3394         Implemented.
3395
3396 2003-02-24  Tom Tromey  <tromey@redhat.com>
3397
3398         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3399         Deprecate.
3400         * java/lang/Thread.java (resume): Deprecate.
3401         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3402         in @deprecated.
3403
3404 2003-02-23  Tom Tromey  <tromey@redhat.com>
3405
3406         * Makefile.in: Rebuilt.
3407         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3408
3409 2003-02-23  Tom Tromey  <tromey@redhat.com>
3410
3411         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3412         libraries): Removed.
3413         (add_library): Removed.
3414         (_load): Don't call add_library.
3415         (loadLibraryInternal): Likewise.
3416         (init): Likewise.
3417         (lookup_data): New struct.
3418         (find_symbol): New function.
3419         (_Jv_FindSymbolInExecutable): Use it.
3420
3421 2002-02-21  Anthony Green  <green@redhat.com>
3422
3423         * java/lang/Thread.java (Thread): New constructor taking stack
3424         size parameter (ignored for now).
3425         * Many methods: Merged GNU Classpath documentation.
3426
3427         * java/lang/Class.java (finalize): throws a Throwable.
3428
3429 2003-02-21  Mark Wielaard  <mark@klomp.org>
3430
3431         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3432         argument is null.
3433
3434 2003-02-21  Mark Wielaard  <mark@klomp.org>
3435
3436         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3437         then 65535 chars throw IllegalArgumentException.
3438
3439 2003-02-21  Mark Wielaard  <mark@klomp.org>
3440
3441         * java/util/zip/ZipFile.java (finalize): New method.
3442
3443 2003-02-21  Michael Koch  <konqueror@gmx.de>
3444
3445         * gnu/java/nio/natSocketChannelImpl.cc:
3446         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3447         <cato@df.lth.se> for pointing to it.
3448
3449 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3450
3451         * java/math/BigInteger.java (euclidInv): Take result array as an
3452         argument.  Updated all callers.
3453         (modInverse): Removed unused variables.
3454
3455 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3456
3457         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3458         config.status.
3459         * configure: Rebuilt.
3460
3461 2003-02-19  Michael Koch  <konqueror@gmx.de>
3462
3463         * gnu/java/nio/natSocketChannelImpl.cc:
3464         Added support for platforms without network support.
3465
3466 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3467
3468         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3469         after config.h.  Use <> for consistency.
3470         * java/lang/natObject.cc: Likewise.
3471         * java/lang/natRuntime.cc: Likewise.
3472         * java/lang/natSystem.cc: Likewise.
3473         * java/util/natTimeZone.cc: Likewise.
3474         * win32.cc: Likewise.
3475         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3476         listen, write, read): Undef to avoid interference from OS macros.
3477
3478 2003-02-19  Michael Koch  <konqueror@gmx.de>
3479
3480         * gnu/java/nio/ByteBufferImpl.java
3481         (ByteBufferImpl): Renamed two variables.
3482         * gnu/java/nio/CharBufferImpl.java
3483         (CharBufferImpl): Renamed two variables.
3484         * gnu/java/nio/DoubleBufferImpl.java
3485         (DoubleBufferImpl): Renamed two variables.
3486         * gnu/java/nio/FloatBufferImpl.java
3487         (FloatBufferImpl): Renamed two variables.
3488         * gnu/java/nio/IntBufferImpl.java
3489         (IntBufferImpl): Renamed two variables.
3490         * gnu/java/nio/LongBufferImpl.java
3491         (LongBufferImpl): Renamed two variables.
3492         * gnu/java/nio/ShortBufferImpl.java
3493         (ShortBufferImpl): Renamed two variables.
3494         * java/nio/CharBuffer.java
3495         (wrap): Fixed arguments to CharBufferImpl constructor.
3496         (hasArray): Only not read-only buffers have backing arrays.
3497         (length): Documentation added.
3498         (subSequence): Documentation added.
3499         * java/nio/DoubleBuffer.java
3500         (hasArray): Only not read-only buffers have backing arrays.
3501         * java/nio/FloatBuffer.java
3502         (hasArray): Only not read-only buffers have backing arrays.
3503         * java/nio/IntBuffer.java
3504         (hasArray): Only not read-only buffers have backing arrays.
3505         * java/nio/LongBuffer.java
3506         (hasArray): Only not read-only buffers have backing arrays.
3507         * java/nio/ShortBuffer.java
3508         (hasArray): Only not read-only buffers have backing arrays.
3509         
3510 2003-02-19  Michael Koch  <konqueror@gmx.de>
3511
3512         * javax/accessibility/AccessibleContext.java
3513         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3514
3515 2003-02-19  Michael Koch  <konqueror@gmx.de>
3516
3517         * java/awt/ScrollPaneAdjustable.java: Reformated.
3518
3519 2003-02-19  Michael Koch <konqueror@gmx.de>
3520
3521         * gnu/awt/j2d/Graphics2DImpl.java
3522         (getFontRenderContext): New method.
3523         (drawGlyphVector): New method.
3524         * java/awt/Graphics2D.java
3525         (getFontRenderContext): New abstract method.
3526         (drawGlyphVector): New abstract method.
3527         
3528 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3529
3530         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3531         if necessary.
3532         
3533         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3534         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3535         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3539         (setFont, gtkSetFont): add.
3540         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3541         Propagate font to peer.  (setFont): add FIXME comment.
3542
3543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3544         (gtkTextGetSize): fix height, width computation.
3545
3546         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3547         Make X font name a bit less bogus.
3548
3549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3550         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3551
3552         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3553         (processAdjustmentEvent): Adjust value.
3554
3555         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3556         logic errors.
3557
3558         * java/awt/Component.java (setVisible, show, hide): Call show and
3559         hide methods in subclasses.
3560         (getPreferredSize): don't set prefSize before we have peer.
3561
3562         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3563         Guess (0,0) if we don't have peer.
3564
3565
3566 2003-02-18  Michael Koch  <konqueror@gmx.de>
3567
3568         * java/nio/channels/FileChannel.java
3569         (toString): New implementation, added documentation.
3570         (map): Added exception documentation.
3571         (size): Added exception documentation.
3572         (write): New methods, documentation work.
3573         (read): New methods, documentation work.
3574         (implCloseChannel): Rewrote exception documentation.
3575         (force): Throws IOException, added documentation.
3576         (lock): New methods.
3577         (tryLock): New methods.
3578         (position): New methods.
3579         (transferTo): New method.
3580         (transferFrom): New method.
3581         (truncate): New method.
3582         * java/nio/channels/spi/SelectorProvider.java
3583         (provider): Implemented.
3584         * Makefile.am
3585         (ordinary_java_source_files): Added the following files:
3586         gnu/java/nio/DatagramChannelImpl.java
3587         gnu/java/nio/FileChannelImpl.java
3588         gnu/java/nio/PipeImpl.java
3589         gnu/java/nio/SelectionKeyImpl.java
3590         gnu/java/nio/SelectorImpl.java
3591         gnu/java/nio/SelectorProviderImpl.java
3592         gnu/java/nio/ServerSocketChannelImpl.java
3593         gnu/java/nio/SocketChannelImpl.java
3594         java/nio/channels/FileLock.java
3595         (nat_java_source_files): Added the following files:
3596         gnu/java/nio/natFileChannelImpl.cc
3597         gnu/java/nio/natSelectorImpl.cc
3598         gnu/java/nio/natSocketChannelImpl.cc
3599         * Makefile.in: Regenerated.
3600
3601 2003-02-17  Tom Tromey  <tromey@redhat.com>
3602
3603         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3604         * java/awt/image/ImageFilter.java: Likewise.
3605
3606 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3607
3608         * java/math/BigInteger.java (euclidInv): Return array of
3609         `BigInteger's.  Changed all callers.
3610
3611 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3612
3613         * java/util/Properties.java (store): Move the code formerly in
3614         list(), into this method.
3615         (list (PrintStream)): Just call list (PrintWriter) with a 
3616         PrintWriter object constructed from the given PrintStream object.
3617         (list (PrintWriter)): Emulate the output of Properties.list()
3618         as found in JDK 1.3/1.4.
3619
3620 2003-02-17  Michael Koch  <konqueror@gmx.de>
3621
3622         * java/net/DatagramSocket.java
3623         (connect): Merged with classpath.
3624         (disconnect): Merged documentation with classpath.
3625         (receice): Merged documentation with classpath.
3626         (send): Merged documentation with classpath.
3627         
3628 2003-02-17  Michael Koch  <konqueror@gmx.de>
3629
3630         * java/awt/dnd/DragSourceContext.java
3631         (addDragSourceListener): Added documentation.
3632         * java/awt/dnd/DragSourceDragEvent.java
3633         (serialVersionUID): New member variable.
3634         (getDropAction): Reformated.
3635         * java/awt/dnd/DragSourceDropEvent.java
3636         (serialVersionUID): New member variable.
3637         (dropSuccess): Renamed from success for serialization issues.
3638         * java/awt/dnd/DragSourceEvent.java
3639         (serialVersionUID): New member variable.
3640         * java/awt/dnd/DropTarget.java
3641         (serialVersionUID): New member variable.
3642         (DropTarget): Implemented, documentation reworked.
3643         (setComponent): Documentation added.
3644         (getComponent): Documentation added.
3645         (setDefaultActions): Documentation added.
3646         (getDefaultActions): Documentation added.
3647         (addDropTargetListener): Documentation added.
3648         * java/awt/dnd/DropTargetContext.java
3649         (DropTargetContext): Documentation added.
3650         (TransferableProxy.TransferableProxy): New method.
3651         (dropComplete): Fixed documentation.
3652         (getTransferable): Fixed documentation.
3653         (createTransferableProxy): Implemented.
3654         * java/awt/dnd/DropTargetDragEvent.java
3655         (DropTargetDragEvent): Documentation added.
3656         (serialVersionUID): New member variable.
3657         (DropTargetDragEvent): Throw exceptions, documentation added.
3658         (acceptDrag): Implemented.
3659         (getCurrentDataFlavors): Implemented.3yy
3660         (getCurrentDataFlavorsAsList): Implemented.
3661         (isDataFlavorSupported): Implemented.
3662         (rejectDrag): Implemented.
3663         * java/awt/dnd/DropTargetDropEvent.java
3664         (DropTargetDropEvent): Documentation added.
3665         (serialVersionUID): New member variable.
3666         (actions): Renamed from srcActions for serialization issues.
3667         (isLocalTx): Renamed from isLocalTx for serialization issues.
3668         (DropTargetDropEvent): New implementation, throw exceptions,
3669         documentation added.
3670         (getCurrentDataFlavors): Implemented.
3671         (getCurrentDataFlavorsAsList): Implemented.
3672         (isDataFlavorSupported): Implemented.
3673         (getSourceActions): Implemented.
3674         (getDropAction): Implemented.
3675         (getTransferable): Implemented.
3676         (acceptDrop): Implemented.
3677         (rejectDrop): Implemented.
3678         * java/awt/dnd/DropTargetListener.java
3679         (drop): Fixed documentation.
3680         * java/awt/dnd/MouseDragGestureRecognizer.java
3681         (MouseDragGestureRecognizer): Documentation added.
3682
3683 2003-02-17  Michael Koch  <konqueror@gmx.de>
3684
3685         * java/awt/font/FontRenderContext.java,
3686         java/awt/font/ShapeGraphicAttribute.java,
3687         java/awt/font/MultipleMaster.java,
3688         java/awt/font/TransformAttribute.java,
3689         java/awt/font/GlyphJustificationInfo.java,
3690         java/awt/font/LineBreakMeasurer.java,
3691         java/awt/font/TextMeasurer.java,
3692         java/awt/font/TextLayout.java,
3693         java/awt/font/LineMetrics.java,
3694         java/awt/font/TextAttribute.java,
3695         java/awt/font/GlyphMetrics.java,
3696         java/awt/font/OpenType.java,
3697         java/awt/font/GlyphVector.java,
3698         java/awt/font/GraphicAttribute.java,
3699         java/awt/font/ImageGraphicAttribute.java,
3700         java/awt/font/NumericShaper.java: New files.
3701         * Makefile.am
3702         (awt_java_source_files): Added the following files:
3703         java/awt/font/FontRenderContext.java
3704         java/awt/font/ShapeGraphicAttribute.java
3705         java/awt/font/MultipleMaster.java
3706         java/awt/font/TransformAttribute.java
3707         java/awt/font/GlyphJustificationInfo.java
3708         java/awt/font/LineBreakMeasurer.java
3709         java/awt/font/TextMeasurer.java
3710         java/awt/font/TextLayout.java
3711         java/awt/font/LineMetrics.java
3712         java/awt/font/TextAttribute.java
3713         java/awt/font/GlyphMetrics.java
3714         java/awt/font/OpenType.java
3715         java/awt/font/GlyphVector.java
3716         java/awt/font/GraphicAttribute.java
3717         java/awt/font/ImageGraphicAttribute.java
3718         java/awt/font/NumericShaper.java
3719         * Makefile.in: Regenerated.
3720
3721 2003-02-17  Michael Koch  <konqueror@gmx.de>
3722
3723         * java/awt/print/Paper.java
3724         (Paper): Implements Cloneable.
3725         * java/awt/print/PrinterJob.java
3726         (setJobName): Return value must be void.
3727         (print): Throws PrinterException.
3728         
3729 2003-02-16  Tom Tromey  <tromey@redhat.com>
3730
3731         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3732         variable.
3733
3734 2003-02-15  Michael Koch  <konqueror@gmx.de>
3735
3736         * java/awt/datatransfer/DataFlavor.java
3737         (isRepresentationClassByteBuffer): Removed try-catch block.
3738         (isRepresentationClassCharBuffer): Removed try-catch block.
3739         (isRepresentationClassReader): Removed try-catch block.
3740
3741 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3742
3743         * java/nio/charset/Charset.java
3744         (isRegistered): Fixed method args and implementation.
3745         * java/nio/charset/CharsetEncoder.java
3746         (unmappableCharacterAction): New method.
3747
3748 2003-02-15  Michael Koch  <konqueror@gmx.de>
3749
3750         * java/awt/CheckboxMenuItem.java
3751         (CheckBoxMenuItem): Dont implement Serializable.
3752         (getListeners): New method,
3753         (getItemListeners): New method.
3754         * java/awt/Choice.java
3755         (getListeners): New method,
3756         (getItemListeners): New method.
3757         * java/awt/Container.java
3758         (getListeners): Added exception documentation.
3759         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3760         (getFocusTraversalKeys): Added documentation.
3761         (areFocusTraversalKeysSet): Added documentation.
3762         (applyComponentOrientation): Added documentation.
3763         * java/awt/ContainerOrderFocusTraversalPolicy.java
3764         (implicitDownCycleTraversal): Renamed from downCycle for
3765         serialization.
3766         (ContainerOrderFocusTraversalPolicy): Added documentation.
3767         (accept): Reformated.
3768         * java/awt/Dialog.java
3769         (Dialog): Dont implement Serializable.
3770         (Dialog): Added documentation.
3771         * java/awt/Font.java
3772         (Font): Dont use absolute class name.
3773         * java/awt/Frame.java
3774         (Frame): Font implement Serializable.
3775         * java/awt/List.java
3776         (getListeners): New method,
3777         (getActionListeners): New method.       
3778         (getItemListeners): New method.
3779         * java/awt/Menu.java
3780         (countItems): New deprecated method.
3781         * java/awt/Scrollbar.java
3782         (getListeners): New method,
3783         (getAdjustmentListeners): New method,
3784         * java/awt/TextComponent.java
3785         (getListeners): New method,
3786         (getTextListeners): New method,
3787         * java/awt/TextField.java
3788         (getListeners): New method,
3789         (getActionListeners): New method.       
3790         * java/awt/Window.java
3791         (windowFocusListener): New member variable.
3792         (windowStateListener): New member variable.
3793         (getWindowFocusListeners): New method.
3794         (getWindowStateListeners): New method.
3795         (addWindowFocusListener): New method.
3796         (addWindowStateListener): New method.
3797         (removeWindowFocusListener): New method.
3798         (removeWindowStateListener): New method.
3799         * java/awt/datatransfer/DataFlavor.java
3800         (isRepresentationClassByteBuffer): New method.
3801         (isRepresentationClassCharBuffer): New method.
3802         (isRepresentationClassReader): New method.
3803
3804 2003-02-14  Mark Wielaard  <mark@klomp.org>
3805
3806         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3807         zero when there is an exponent and the significant is zero.
3808         (divide): Always set scale to newScale even in special ZERO case.
3809
3810 2003-02-14  Tom Tromey  <tromey@redhat.com>
3811
3812         * java/lang/System.java (properties): Use Properties.clone.
3813         (setProperties): Likewise.
3814
3815 2003-02-14  Michael Koch  <konqueror@gmx.de>
3816
3817         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3818         * gnu/java/nio/ServerSocketChannelImpl.java
3819         (SocketAccept): Removed.
3820         (accept): Commented out use of SocketAccept.
3821
3822 2003-02-13  Tom Tromey  <tromey@redhat.com>
3823
3824         * verify.cc (state::seen_subrs): New field.
3825         (state::state): Initialize it.
3826         (state::clean_subrs): New method.
3827         (state::~state): Call it.
3828         (state::copy): Copy subroutine list.
3829         (state::add_subr): New method.
3830         (state::merge): Only register a change if the current subroutine
3831         hasn't yet been noted.
3832
3833 2003-02-13  Mark Wielaard  <mark@klomp.org>
3834
3835         * java/io/InputStreamReader.java (getEncoding): Return null when
3836         closed.
3837         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3838
3839 2003-02-13  Mark Wielaard  <mark@klomp.org>
3840  
3841         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3842         is zero.
3843
3844 2003-02-13  Mark Wielaard  <mark@klomp.org>
3845
3846         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3847         next byte cannot be buffered.
3848
3849 2003-02-13  Michael Koch  <konqueror@gmx.de>
3850  
3851         * java/awt/Label.java
3852         (Label): Don't implement Serializable directly.
3853         (addNotify): Fixed typo in documentation.
3854         * java/awt/List.java
3855         (List): Don't implement Serializable directly.
3856         * java/awt/PopupMenu.java
3857         (PopupMenu): Don't implement Serializable directly.
3858         * java/awt/ScrollPane.java
3859         (ScrollPane): Don't implement Serializable directly.
3860         * java/awt/Scrollbar.java
3861         (Scrollbar): Don't implement Serializable directly.
3862         * java/awt/TextArea.java
3863         (preferredSize): Fixed method arguments.
3864         * java/awt/TextField.java
3865         (TextField): Don't implement Serializable directly.
3866         * java/awt/color/ICC_ColorSpace.java
3867         (fromCIOXYZ): Documentation added.
3868         (getMinValue): Documentation added.
3869         (getMaxValue): Documentation added.
3870         * java/awt/datatransfer/DataFlavor.java
3871         (isMimeTypeEqual): May not be final.
3872         (clone): Throws CloneNotSupportedException.
3873         (getReaderForText): Don't throws UnsupportedEncodingException.
3874
3875 2003-02-13  Michael Koch  <konqueror@gmx.de>
3876  
3877         * gnu/java/awt/peer/gtk/GdkGraphics.java
3878         (drawString): New stubbed method.
3879         * java/awt/Graphics.java
3880         (drawString): New method.
3881
3882 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3883
3884         PR libgcj/9271:
3885         * java/security/SecureRandom.java (next): Avoid bias in results.
3886
3887 2003-02-13  Michael  <konqueror@gmx.de>
3888
3889         * gnu/java/nio/FileChannelImpl.java
3890         (lengthInternal): Must be native.
3891         (size): Check if channel is already closed.
3892         (implCloseChannel): Reformated.
3893         (read): w was unused, removed it.
3894         (read): Removed.
3895         (read): New method.
3896         (write): New method.
3897         (map): Check arguments.
3898         (force): Throws IOException, check if channel is closed.
3899         (transferTo): New method.
3900         (transferFrom): New method.
3901         (lock): New method.
3902         (tryLock): New method.
3903         (position): New method.
3904         (truncate): New method.
3905         (nio_mmap_file): Uncommented.
3906         (nio_munmap_file): Uncommented.
3907         (nio_msync): Uncommented.
3908         * gnu/java/nio/natFileChannelImpl.cc: New file.
3909         
3910 2003-02-13  Michael Koch  <konqueror@gmx.de>
3911
3912         * java/nio/ByteBuffer.java
3913         (endian): New member variable.
3914         (get): New methods.
3915         (equals): New method.
3916         (compareTo): New method.
3917         (order): New methods.
3918         (compact): New method.
3919         (isDirect): New method.
3920         (slice): New method.
3921         (duplicate): New method.
3922         (asReadOnlyBuffer): New method.
3923         (asCharBuffer): New method.
3924         (asDoubleBuffer): New method.
3925         (asFloatBuffer): New method.
3926         (asIntBuffer): New method.
3927         (asLongBuffer): New method.
3928         (asShortBuffer): New method.
3929         (get*): New methods.
3930         (put*): New methods.
3931         (toString): New method.
3932         * java/nio/CharBuffer.java
3933         (CharBuffer): Implement Comparable instead of Cloneable.
3934         (get): May not be final.
3935         (put): May not be final.
3936         
3937 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
3938
3939         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
3940         lastIndexOf( ) instead of indexOf( ) to find the colon before
3941         the line number, because Win32 file names might contain a 
3942         drive letter and a colon at the start of an absolute path.
3943
3944 2003-02-13  Michael Koch  <konqueror@gmx.de>
3945
3946         * gnu/java/nio/natSocketChannelImpl.cc
3947         (SocketConnect): This is not implemented yet.
3948         (SocketBind): This is not implemented yet.
3949
3950 2003-02-13  Michael Koch  <konqueror@gmx.de>
3951
3952         * gnu/java/nio/natByteBufferImpl.cc,
3953         gnu/java/nio/natCharBufferImpl.cc,
3954         gnu/java/nio/natDoubleBufferImpl.cc,
3955         gnu/java/nio/natFloatBufferImpl.cc,
3956         gnu/java/nio/natIntBufferImpl.cc,
3957         gnu/java/nio/natLongBufferImpl.cc,
3958         gnu/java/nio/natShortBufferImpl.cc:
3959         Added copyright and license.
3960         * java/nio/DoubleBuffer.java,
3961         java/nio/FloatBuffer.java,
3962         java/nio/IntBuffer.java,
3963         java/nio/LongBuffer.java,
3964         java/nio/ShortBuffer.java
3965         (array): Throw exceptions.
3966         (arrayOffset): Throw exceptions.
3967
3968 2003-02-13  Michael Koch  <konqueror@gmx.de>
3969  
3970         * gnu/java/util/prefs/FileBasedFactory.java,
3971         gnu/java/util/prefs/MemmoryBasedFactory.java,
3972         gnu/java/util/prefs/MemoryBasedPreferences.java,
3973         gnu/java/util/prefs/NodeReader.java,
3974         gnu/java/util/prefs/NodeWriter.java,
3975         java/util/prefs/AbstractPreferences.java,
3976         java/util/prefs/BackingStoreException.java,
3977         java/util/prefs/InvalidPreferencesFormatException.java,
3978         java/util/prefs/NodeChangeEvent.java,
3979         java/util/prefs/NodeChangeListener.java,
3980         java/util/prefs/PreferenceChangeEvent.java,
3981         java/util/prefs/PreferenceChangeListener.java,
3982         java/util/prefs/Preferences.java,
3983         java/util/prefs/PreferencesFactory.java:
3984         New files, all merged from classpath.
3985         * Makefile.am
3986         (ordinary_java_source_files): Added the following files:
3987         gnu/java/util/prefs/FileBasedFactory.java,
3988         gnu/java/util/prefs/MemmoryBasedFactory.java,
3989         gnu/java/util/prefs/MemoryBasedPreferences.java,
3990         gnu/java/util/prefs/NodeReader.java,
3991         gnu/java/util/prefs/NodeWriter.java,
3992         (core_java_source_files): Added the following files:
3993         java/util/prefs/AbstractPreferences.java,
3994         java/util/prefs/BackingStoreException.java,
3995         java/util/prefs/InvalidPreferencesFormatException.java,
3996         java/util/prefs/NodeChangeEvent.java,
3997         java/util/prefs/NodeChangeListener.java,
3998         java/util/prefs/PreferenceChangeEvent.java,
3999         java/util/prefs/PreferenceChangeListener.java,
4000         java/util/prefs/Preferences.java,
4001         java/util/prefs/PreferencesFactory.java
4002         * Makefile.in: Regenerated.
4003  
4004 2003-02-13  Michael Koch  <konqueror@gmx.de>
4005
4006         * java/net/NetPermission.java
4007         (NetPermission): Make doucmentation match the method declaration.
4008         * java/net/NetworkInterface.java
4009         (equals): Reformated for GNU coding style.
4010         * java/net/ServerSocket.java: Merged with classpath.
4011         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4012         * java/net/SocketImpl.java
4013         (localPort): Merged with classpath (initialize with -1).
4014         * java/net/SocketPermission.java: Merged with classpath (reindented).
4015         * java/net/URLDecoder.java: Merged with classpath (reindented).
4016
4017 2003-02-13  Michael Koch  <konqueror@gmx.de>
4018
4019         * java/awt/GridBagConstraints.java
4020         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4021         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4022         * java/awt/KeyboardFocusManager.java
4023         (setGlobalCurrentFocusCycleRoot): Must be public.
4024         * java/awt/MenuComponent.java
4025         (MenuComponent): Must be public.
4026         * java/awt/Toolkit.java:
4027         Added some empty lines to make documentation more readable.
4028         (getFontPeer): Added @deprecated.
4029         (getColorModel): Added exception documentation.
4030         (getProperty): Fixed documentation.
4031  
4032 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4033
4034         * configure.host (alpha*-*): Default to -mieee.
4035         * configure.in (IEEESPEC): New.
4036         * libgcj.spec.in (jc1): Add IEEESPEC.
4037         * configure: Rebuild.
4038
4039 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4040
4041         * include/win32.h: Include ws2tcpip.h instead of
4042         winsock.h to obtain definition of the socklen_t type.
4043         Remove IP_TOS definition - not needed with ws2tcpip.h
4044         (_Jv_connect): Correct slight formatting error.
4045
4046 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4047
4048         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4049         size of the arguments for a JNI function. For Win32,
4050         modify to search for all forms of possible exported
4051         names of an stdcall JNI function.
4052         (_Jv_JNIMethod::call): Modify to calculate the size
4053         of the arguments passed to a JNI function and pass
4054         it to _Jv_LookupJNIMethod.
4055
4056 2003-02-12  Michael Koch  <konqueror@gmx.de>
4057
4058         * java/nio/channels/Channels.java: New file.
4059         * Makefile.am
4060         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4061         * Makefile.in: Regenerated.
4062
4063 2003-02-12  Michael Koch  <konqueror@gmx.de>
4064
4065         * java/nio/ByteBuffer.java
4066         (allocate): Implemented.
4067         (wrap): Implemented.
4068         * java/nio/CharBuffer.java:
4069         Some documentation added and reworked.
4070         (endian): Removed.
4071         (allocate): Implemented.
4072         (wrap): Implemented.
4073         (array): Throw exceptions.
4074         (arrayOffset): Throw exceptions.
4075         (toString): Implemented.
4076         (length): Implemented.
4077         (put): Implemented.
4078         (charAt): Implemented.
4079
4080 2003-02-11  John Leuner  <jewel@debian.org>
4081
4082         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4083         reads from end of file.
4084
4085 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4086
4087         * java/io/natFileDescriptorWin32.cc 
4088         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4089         returns with Win32 error code ERROR_BROKEN_PIPE.
4090
4091 2003-02-11  Michael Koch  <konqueror@gmx.de>
4092
4093         * Makefile.in
4094         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4095
4096 2003-02-11  Michael Koch  <konqueror@gmx.de>
4097
4098         * gnu/java/nio/ByteBufferImpl.java:
4099         Reformated and removed some code.
4100         (backing_buffer): Removed.      
4101         (array_offset): Removed.
4102         (ro): Renamed to readOnly.
4103         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4104         * gnu/java/nio/CharBufferImpl.java:
4105         Reformated and removed some code.
4106         (array_offset): Removed.
4107         (ro): Renamed to readOnly.
4108         (CharBufferImpl): Use parent constructor, initialize readOnly.
4109         (inc_pos): Removed.
4110         (order): New method.
4111         * gnu/java/nio/DoubleBufferImpl.java:
4112         Reformated and removed some code.
4113         (array_offset): Removed.
4114         (ro): Renamed to readOnly.
4115         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4116         (inc_pos): Removed.
4117         (order): New method.
4118         * gnu/java/nio/FloatBufferImpl.java:
4119         Reformated and removed some code.
4120         (array_offset): Removed.
4121         (ro): Renamed to readOnly.
4122         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4123         (inc_pos): Removed.
4124         (order): New method.
4125         * gnu/java/nio/IntBufferImpl.java:
4126         Reformated and removed some code.
4127         (array_offset): Removed.
4128         (ro): Renamed to readOnly.
4129         (IntBufferImpl): Use parent constructor, initialize readOnly.
4130         (inc_pos): Removed.
4131         (order): New method.
4132         * gnu/java/nio/LongBufferImpl.java:
4133         Reformated and removed some code.
4134         (array_offset): Removed.
4135         (ro): Renamed to readOnly.
4136         (LongBufferImpl): Use parent constructor, initialize readOnly.
4137         (inc_pos): Removed.
4138         (order): New method.
4139         * gnu/java/nio/ShortBufferImpl.java:
4140         Reformated and removed some code.
4141         (array_offset): Removed.
4142         (ro): Renamed to readOnly.
4143         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4144         (inc_pos): Removed.
4145         (order): New method.
4146         * Makefile.am
4147         (ordinary_java_source_files): Added the following files:
4148         gnu/java/nio/ByteBufferImpl.java
4149         gnu/java/nio/CharBufferImpl.java
4150         gnu/java/nio/DoubleBufferImpl.java
4151         gnu/java/nio/FloatBufferImpl.java
4152         gnu/java/nio/IntBufferImpl.java
4153         gnu/java/nio/LongBufferImpl.java
4154         gnu/java/nio/ShortBufferImpl.java
4155         java/nio/DoubleBuffer.java
4156         java/nio/FloatBuffer.java
4157         java/nio/IntBuffer.java
4158         java/nio/LongBuffer.java
4159         java/nio/ShortBuffer.java
4160         (nat_source_files): Added the following files:
4161         gnu/java/nio/natByteBufferImpl.cc
4162         gnu/java/nio/natCharBufferImpl.cc
4163         gnu/java/nio/natDoubleBufferImpl.cc
4164         gnu/java/nio/natFloatBufferImpl.cc
4165         gnu/java/nio/natIntBufferImpl.cc
4166         gnu/java/nio/natLongBufferImpl.cc
4167         gnu/java/nio/natShortBufferImpl.cc
4168         * Makefile.in: Regenerated.
4169
4170 2003-02-11  Michael Koch  <konqueror@gmx.de>
4171
4172         * gnu/java/nio/natCharBufferImpl.cc
4173         (nio_cast): Removed.
4174         (nio_put_*): Removed.
4175         (nio_get_*): Removed.
4176         * gnu/java/nio/natDoubleBufferImpl.cc
4177         (nio_cast): Removed.
4178         (nio_put_*): Removed.
4179         (nio_get_*): Removed.
4180         * gnu/java/nio/natFloatBufferImpl.cc
4181         (nio_cast): Removed.
4182         (nio_put_*): Removed.
4183         (nio_get_*): Removed.
4184         * gnu/java/nio/natIntBufferImpl.cc
4185         (nio_cast): Removed.
4186         (nio_put_*): Removed.
4187         (nio_get_*): Removed.
4188         * gnu/java/nio/natLongBufferImpl.cc
4189         (nio_cast): Removed.
4190         (nio_put_*): Removed.
4191         (nio_get_*): Removed.
4192         * gnu/java/nio/natShortBufferImpl.cc
4193         (nio_cast): Removed.
4194         (nio_put_*): Removed.
4195         (nio_get_*): Removed.
4196         * gnu/java/nio/SelectorProviderImpl.java
4197         (openDatagramChannel): Throws IOException.
4198         (openPipe): Throws IOException.
4199         (openSelector): Throws IOException.
4200         (openServerSocketChannel): Throws IOException.
4201         (openSocketChannel): Throws IOException.
4202         * gnu/java/nio/ServerSocketChannelImpl.java
4203         (ServerSocketChannelImpl): Throws IOException.
4204         (implCloseSelectableChannel): Throws IOException.
4205         (implConfigureBlocking): Throws IOException.
4206         * java/nio/ByteBuffer.java
4207         (readOnly): Removed.
4208         (hasArray): Use isReadOnly() instead of readOnly.
4209         (array): Use isReadOnly() instead of readOnly.
4210         (arrayOffset): Use isReadOnly() instead of readOnly.
4211         * java/nio/CharBuffer.java
4212         (CharBuffer): Implements Cloneable and CharSequence.
4213
4214 2003-02-11  Michael Koch  <konqueror@gmx.de>
4215
4216         * java/nio/DoubleBuffer.java
4217         (DoubleBuffer): Implements Comparable.
4218         (endian): Removed.
4219         (array_offset): New member variable.
4220         (DoubleBuffer): New constuctor.
4221         (get): May not be final.
4222         (put): May not be final.
4223         (arrayOffset): Implemented.
4224         (order): Made abstract.
4225         (order): Removed.
4226         (as*Buffer): Removed.
4227         (get*): Removed.
4228         (put*): Removed.
4229         * java/nio/FloatBuffer.java
4230         (FloatBuffer): Implements Comparable.
4231         (endian): Removed.
4232         (array_offset): New member variable.
4233         (FloatBuffer): New constuctor.
4234         (get): May not be final.
4235         (put): May not be final.
4236         (arrayOffset): Implemented.
4237         (order): Made abstract.
4238         (order): Removed.
4239         (as*Buffer): Removed.
4240         (get*): Removed.
4241         (put*): Removed.
4242         * java/nio/IntBuffer.java
4243         (IntBuffer): Implements Comparable.
4244         (endian): Removed.
4245         (array_offset): New member variable.
4246         (IntBuffer): New constuctor.
4247         (get): May not be final.
4248         (put): May not be final.
4249         (arrayOffset): Implemented.
4250         (order): Made abstract.
4251         (order): Removed.
4252         (as*Buffer): Removed.
4253         (get*): Removed.
4254         (put*): Removed.
4255         * java/nio/LongBuffer.java
4256         (LongBuffer): Implements Comparable.
4257         (endian): Removed.
4258         (array_offset): New member variable.
4259         (LongBuffer): New constuctor.
4260         (get): May not be final.
4261         (put): May not be final.
4262         (arrayOffset): Implemented.
4263         (order): Made abstract.
4264         (order): Removed.
4265         (as*Buffer): Removed.
4266         (get*): Removed.
4267         (put*): Removed.
4268         * java/nio/ShortBuffer.java
4269         (ShortBuffer): Implements Comparable.
4270         (endian): Removed.
4271         (array_offset): New member variable.
4272         (ShortBuffer): New constuctor.
4273         (get): May not be final.
4274         (put): May not be final.
4275         (arrayOffset): Implemented.
4276         (order): Made abstract.
4277         (order): Removed.
4278         (as*Buffer): Removed.
4279         (get*): Removed.
4280         (put*): Removed.
4281
4282 2003-02-11   Michael Koch  <konqueror@gmx.de>
4283
4284         * java/nio/channels/SelectionKey.java
4285         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4286         values.
4287
4288 2003-02-11  Michael Koch  <konqueror@gmx.de>
4289
4290         * java/nio/channels/DatagramChannel.java
4291         (write): Throws IOException.
4292         (connect): Throws IOException.
4293         (disconnect): Throws IOException.
4294         (read): Throws IOException.
4295         (receive): Throws IOException.
4296         (send): Throws IOException.
4297         * java/nio/channels/Pipe.java
4298         (open): Throws IOException.
4299         * java/nio/channels/SelectableChannel.java
4300         (configureBlocking): Throws IOException.
4301         * java/nio/channels/ServerSocketChannel.java
4302         (accept): Throws IOException.
4303         * java/nio/channels/SocketChannel.java
4304         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4305         GatheringByteChannel.
4306         (read): Throws IOException.
4307         (write): Throws IOException.
4308         (finishConnect): Throws IOException.
4309         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4310         (end): Throws AsynchronousCloseException.
4311         * java/nio/channels/spi/AbstractSelectableChannel.java
4312         (configureBlocking): Throws IOException.
4313         (implCloseChannel): Throws IOException.
4314         (implCloseSelectableChannel): Throws IOException.
4315         (implConfigureBlocking): Throws IOException.
4316         * java/nio/channels/spi/SelectorProvider.java
4317         (openDatagramChannel): Throws IOException.
4318         (openPipe): Throws IOException.
4319         (openSelector): Throws IOException.
4320         (openServerSocketChannel): Throws IOException.
4321         (openSocketChannel): Throws IOException.
4322
4323 2003-02-11  Michael Koch  <konqueror@gmx.de>
4324
4325         * gnu/java/nio/FileLockImpl.java,
4326         java/nio/channels/FileLock.java: New files.
4327
4328 2003-02-11  Michael Koch  <konqueror@gmx.de>
4329
4330         * java/nio/charset/IllegalCharsetNameException.java
4331         (serialVersionUID): New member variable.
4332         (charsetName): New member variable.
4333         (IllegalCharsetException): New implementation.
4334         (getCharsetName): New implementation.
4335         * java/nio/charset/UnsupportedCharsetException.java
4336         (serialVersionUID): New member variable.
4337         (charsetName): New member variable.
4338         (UnsupportedCharsetException): New implementation.
4339         (getCharsetName): New implementation.
4340
4341 2003-02-10  Tom Tromey  <tromey@redhat.com>
4342
4343         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4344         (ex): Renamed from sqlException.
4345
4346 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4347
4348         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4349         method used to ensure seeding has occurred and that a specific 
4350         seed can be set and used.
4351
4352 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4353
4354         * java/lang/Win32Process.java (destroy): Declare as native.
4355         (hasExited): New native method.
4356         (exitValue): Define.
4357         (getErrorStream): Likewise.
4358         (getInputStream): Likewise.
4359         (getOutputStream): Likewise.
4360         (waitFor): Declare as native.
4361         (startProcess): New native method.
4362         (cleanup): Likewise.
4363         (ConcreteProcess): Define.
4364         (outputStream, inputStream, errorStream): New members.
4365         (procHandle, exitCode): Likewise.
4366
4367         * java/lang/natWin32Process.cc
4368         (java::lang::ConcreteProcess::cleanup): Define.
4369         (java::lang::ConcreteProcess::destroy): Likewise.
4370         (java::lang::ConcreteProcess::hasExited): Likewise.
4371         (java::lang::ConcreteProcess::waitFor): Likewise.
4372         (new_string): Likewise.
4373         (java::lang::ConcreteProcess::startProcess): Likewise.
4374
4375 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4376
4377         * java/math/BigInteger.java:
4378         Updated notice to include years 2002 and 3.
4379         Added 2 private (int) arrays with values from the HAC (Handbook of
4380         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4381         and t[] that contains nbr. of tests --used in isProbablePrime().
4382
4383         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4384
4385         * java/math/BigInteger.java (make(int[],int), add(int,int),
4386         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4387         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4388         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4389         make(long).
4390
4391         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4392         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4393         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4394         BIs and returns void.
4395         (modInverse(BI)): Use new signatures of euclidInv().
4396
4397         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4398         static small primes instead of remainder().
4399         Use pre-computed max nbr of trials based on bitlength of BI to test.
4400         Use pre-computed small primes for the trial tests instead of random
4401         numbers.
4402
4403         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4404         not used.
4405
4406         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4407         invoacation of MPN.chars_per_word().  not used.
4408
4409         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4410         local var and used where needed.
4411
4412         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4413         Combined declaration with initialisation of locals.
4414         Removed unused var.
4415
4416         * java/math/BigInteger.java: Style changes
4417         (pow(int)): Removed 'else' keyword.
4418         (toString(int)): idem.
4419         (doubleValue()): idem.
4420         (bitLength()): idem.
4421         (equals(Object)): Use static methods name in same class w/o prepending
4422         class name.
4423         (doubleValue()): idem.
4424         (setNegative(BI)): idem.
4425         (negate()): idem.
4426         (and(BI,int)): idem.
4427         (and(BI)): idem.
4428         (gcd(BI)): idem.
4429         (byteArrayToIntArray()): Removed casting to (int). this is
4430         std. behaviour.
4431         (canonicalize()): idem.
4432         (alloc(int)): Always instantiate a new BI.
4433
4434 2003-02-10  Tom Tromey  <tromey@redhat.com>
4435
4436         * java/sql/Timestamp.java (compareTo(Object)): New method.
4437         (compareTo(Timestamp)): Likewise.
4438         (serialVersionUID): Updated.
4439
4440 2003-02-07  Mark Wielaard  <mark@klomp.org>
4441
4442         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4443         when verify is true.
4444         (JarFile(File, boolean)): Likewise.
4445         (manifestRead): Set manifestRead field correctly.
4446
4447 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4448
4449         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4450         tests; see patch #1016 on Savannah.
4451
4452 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4453
4454         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4455         (toString): do not return Strings starting with . and - erroneously.
4456         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4457         DiagBigDecimal.
4458
4459 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4460
4461         * java/beans/PropertyDescriptor.java
4462         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4463         methods.
4464         (PropertyDescriptor(String, Class, String, String)): Likewise.
4465         (PropertyDescriptor(String, Method, Method): Factor out getter and
4466         setter method sanity checks into new method.
4467         (findMethods): Don't do parameter sanity checking of get method here.
4468         (checkMethods): New method.
4469
4470 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4471
4472         * java/beans/PropertyDescriptor.java: Reformat.
4473
4474 2003-02-04  Tom Tromey  <tromey@redhat.com>
4475
4476         * java/io/PipedOutputStream.java (flush): Declare as throwing
4477         IOException.
4478         (close): Likewise.
4479         * java/io/PipedWriter.java (close): Declare as throwing
4480         IOException.
4481         * java/io/StringWriter.java (close): Declare as throwing
4482         IOException.
4483
4484 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4485
4486         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4487         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4488         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4489         "_JNI_OnLoad@8" (MSVC).
4490
4491 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4492
4493         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4494         convention on Win32 to invoke native JNI methods.
4495
4496 2003-02-03  Andrew Haley  <aph@redhat.com>
4497
4498         * configure.host (x86_64): Enable interpreter.
4499
4500 2003-02-03  Andrew Haley  <aph@redhat.com>
4501
4502         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4503         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4504         * configure.in (BACKTRACESPEC): New.
4505         * configure: Regenerate.
4506
4507 2003-02-02  Tom Tromey  <tromey@redhat.com>
4508
4509         * configure: Rebuilt.
4510         * configure.in (TOOLKIT) [xlib]: Set correctly.
4511
4512         * Makefile.in: Rebuilt.
4513         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4514         libstdc++.
4515
4516 2003-01-31  Mark WIelaard  <mark@klomp.org>
4517
4518         * Makefile.in: Rebuilt.
4519         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4520
4521 2003-01-31  Tom Tromey  <tromey@redhat.com>
4522
4523         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4524         cast to element type.
4525         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4526         (_Jv_JNI_GetObjectArrayElement): Likewise.
4527
4528         * Makefile.in: Rebuilt.
4529         * Makefile.am (cond_x_ltlibrary): Renamed library to
4530         lib-gnu-awt-xlib.la.
4531         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4532         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4533         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4534         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4535         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4536         (lib_gnu_awt_xlib_la_LINK): Likewise.
4537         (install-exec-hook): Removed.
4538         (lib-gnu-awt-xlib.la): Renamed.
4539
4540 2003-01-31  Tom Tromey  <tromey@redhat.com>
4541
4542         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4543         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4544         aclocal.m4 and lost in some merge.
4545
4546         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4547         Don't try to find graphics configuration.
4548         * java/awt/Toolkit.java (default_toolkit_name): Use new
4549         Configuration entry.
4550         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4551         New global.
4552         * configure: Rebuilt.
4553         * configure.in (TOOLKIT): New subst.
4554         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4555         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4556         directory.  Make output directories for .c files.
4557         * Makefile.in: Rebuilt.
4558         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4559         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4560         (all_java_source_files): Added new sources.
4561         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4562         (gtk_c_files): New macro.
4563         (gtk_c_source_files): New macro.
4564         (cond_gtk_ltlibrary): New macro.
4565         ($(gtk_c_files)): New target.
4566         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4567         (gtk_awt_peer_sources): New macro.
4568         (gtk_c_headers): New macro.
4569         ($(gtk_c_headers)): New target.
4570         (ACLOCAL_AMFLAGS): New macro.
4571         * gtk.m4, glib.m4, libart.m4: New files.
4572         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4573         gnu/java/awt/peer/gtk/GdkGraphics.java,
4574         gnu/java/awt/peer/gtk/GtkArg.java,
4575         gnu/java/awt/peer/gtk/GtkArgList.java,
4576         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4577         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4578         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4579         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4580         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4581         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4582         gnu/java/awt/peer/gtk/GtkClipboard.java,
4583         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4584         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4585         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4586         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4587         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4588         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4589         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4590         gnu/java/awt/peer/gtk/GtkImage.java,
4591         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4592         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4593         gnu/java/awt/peer/gtk/GtkListPeer.java,
4594         gnu/java/awt/peer/gtk/GtkMainThread.java,
4595         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4596         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4597         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4598         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4599         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4600         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4601         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4602         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4603         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4604         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4605         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4606         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4607         gnu/java/awt/peer/gtk/GtkToolkit.java,
4608         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4609         gnu/java/awt/peer/gtk/TestAWT.java,
4610         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4612         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4613         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4614         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4615         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4617         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4618         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4619         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4620         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4621         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4622         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4623         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4624         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4625         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4626         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4627         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4628         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4629         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4630         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4631         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4632         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4633         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4634         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4635         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4636         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4637         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4638         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4639         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4640         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4641         jni/classpath/native_state.c, jni/classpath/native_state.h,
4642         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4643
4644 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4645
4646         * java/util/Properties.java (load): Ignore backslash before EOF.
4647
4648 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4649
4650         * java/lang/natClass.cc (initializeClass): Check tables when
4651         (state == JV_STATE_IN_PROGRESS).
4652         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4653         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4654         interpreted classes.
4655         (linkClass0): Use _Jv_WaitForState.
4656
4657 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4658
4659         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4660         object when finished.
4661
4662 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4663
4664         * libjava/configure.host: Disable can_unwind_signal on darwin.
4665
4666 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4667
4668         Fixes PR java/9254:
4669         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4670         additionally containing id of the owner thread as well as
4671         the number of nested times the thread has acquired the mutex.
4672         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4673         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4674         (_Jv_MutexUnlock): Check if really the owner thread, reset
4675         owner thread id to 0 before leaving, if leaving for the last
4676         time.
4677         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4678         refcount.
4679         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4680         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4681         the passed mutex.
4682         Pass handle of the broadcast event, instead of a pointer to it
4683         in Win32 ResetEvent( ) call.
4684         Remove incorrect return values.
4685         (_Jv_CondDestroy): Close both event handles and delete
4686         critical section.
4687         (_Jv_CondNotify): Check if really the owner thread.
4688         (_Jv_CondNotifyAll): Check if really the owner thread.
4689         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4690         (really_start): Use SetEvent( ) to signal daemon_cond.
4691         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4692         WaitForSingleObject( ) instead to wait for daemon_cond to be
4693         signalled.
4694
4695 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4696
4697         * configure.in: Specifically define HAVE_BACKTRACE if building
4698         for MinGW.
4699         * include/win32.h: Remove HAVE_BACKTRACE definition.
4700         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4701         * configure: Rebuilt.
4702
4703 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4704
4705         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4706         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4707         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4708         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4709         * Makefile.in, configure: Rebuilt.
4710
4711 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4712
4713         Fixes PR java/9253:
4714         * java/io/natFileWin32.cc (performList): Append only "*.*"
4715         if the canonical file path already has a "\" at the end.
4716
4717 2003-01-24  Tom Tromey  <tromey@redhat.com>
4718
4719         * defineclass.cc (handleMethodsEnd): Precompute code for static
4720         method.
4721         (handleCodeAttribute): Likewise.
4722         * resolve.cc (ncode): Use run_class for unsynchronized static
4723         methods.
4724         * include/java-interp.h (class _Jv_InterpMethod): Declare
4725         run_class.
4726         * interpret.cc (run_synch_class): Initialize class.
4727         (run) [insn_invokestatic]: Don't initialize class.
4728         [insn_anewarray]: Likewise.
4729         [insn_multianewarray]: Likewise.
4730         (run_class): New function.
4731
4732 2003-01-24  Tom Tromey  <tromey@redhat.com>
4733
4734         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4735         comment.
4736
4737 2003-01-22  Andrew Haley  <aph@redhat.com>
4738
4739         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4740         * configure.host (CHECKREFSPEC): Define for x86_64.
4741
4742 2003-01-21  Tom Tromey  <tromey@redhat.com>
4743
4744         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4745         search at 2, not 3.
4746
4747 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4748
4749         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4750         looking at any characters.
4751         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4752         be used.
4753         (isAbsolute): Check path's length as well.
4754
4755 2003-01-17  Mark Wielaard  <mark@klomp.org>
4756
4757         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4758         (nat_source_files): Add natVMObjectStreamClass.cc.
4759         * Makefile.in: Regenerated.
4760         * gcj/javaprims.h (namespace java): Regenerated.
4761         * java/io/ObjectStreamClass.java (getClassUID): Call
4762         VMObjectStreamClass.hasClassInitializer().
4763         (hasClassInitializer): Removed.
4764         * java/io/VMObjectStreamClass.java: New class.
4765         * java/io/natVMObjectStreamClass.cc: New file.
4766         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4767
4768 2003-01-16  Mark Wielaard  <mark@klomp.org>
4769
4770         * java/net/SocketImpl.java (toString): Don't explicitly call
4771         toString() on possible null address.
4772
4773 2003-01-16  Michael Koch  <konqueror@gmx.de>
4774
4775         * java/net/MulticastSocket.java
4776         (setInterface): Reindented.
4777
4778 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4779
4780         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4781         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4782         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4783         translateY arguments.  Implement.
4784         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4785         down translation arguments.
4786         (drawPolyline, drawPolygon): Fix incorrect tests.
4787         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4788         translateX and translateY arguments.
4789
4790 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4791
4792         * Makefile.in: Rebuilt.
4793         * Makefile.am (xlib_includes): New macro.
4794         (INCLUDES): Use it.
4795
4796 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4797
4798         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4799         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4800         16-bit display mode.
4801
4802 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4803
4804         * java/awt/CardLayout.java (show): Rewrote.
4805         (gotoComponent): Removed `target' argument.  Simplified code.
4806         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4807         Changed all callers.
4808         (NONE): Removed.
4809         
4810 2003-01-14  Michael Koch  <konqueror@gmx.de>
4811
4812         * java/net/InetSocketAddress.java
4813         (serialVersionUID): New member variable.
4814         * java/net/NetPermission.java
4815         (NetPermission): Dont implement java.io.Serialization directly.
4816         * java/net/SocketAddress.java:
4817         (serialVersionUID): Documentation added.
4818         
4819 2003-01-14  Michael Koch  <konqueror@gmx.de>
4820
4821         * java/awt/Label.java
4822         (Label): Implements javax.accessibility.Accessible;
4823         * java/awt/List.java
4824         (List): Implements javax.accessibility.Accessible;
4825         * java/awt/ScrollPane.java
4826         (ScrollPane): Implements javax.accessibility.Accessible;
4827         * java/awt/Scrollbar.java
4828         (Scrollbar): Implements javax.accessibility.Accessible;
4829         * java/awt/TextComponent.java
4830         (setCaretPosition): Throw exception, documentation added.
4831         * java/awt/Toolkit.java:
4832         Added some newlines in method documentations.
4833         (createButton): Exception documentation added.
4834         (createTextField): Exception documentation added.
4835         (createLabel): Exception documentation added.
4836         (createList): Exception documentation added.
4837         (createCheckbox): Exception documentation added.
4838         (createScrollbar): Exception documentation added.
4839         (createScrollPane): Exception documentation added.
4840         (createTextArea): Exception documentation added.
4841         (createChoice): Exception documentation added.
4842         (createFrame): Exception documentation added.
4843         (createWindow): Exception documentation added.
4844         (createDialog): Exception documentation added.
4845         (createMenuBar): Exception documentation added.
4846         (createMenu): Exception documentation added.
4847         (createMenuItem): Exception documentation added.
4848         (createFileDialog): Exception documentation added.
4849         (createCheckboxMenuItem): Exception documentation added.
4850         (loadSystemColors): Exception documentation added.
4851         (setDynamicLayout): Exception documentation added.
4852         (isDynamicLayoutSet): Exception documentation added.
4853         (isDynamicLayoutActive): Exception documentation added.
4854         (getScreenSize): Exception documentation added.
4855         (getScreenResolution): Exception documentation added.
4856         (getScreenInsets): Exception documentation added.
4857         (getColorModel): Exception documentation added.
4858         (getSystemClipboard): Exception documentation added.
4859         (getSystemSelection): Exception documentation added.
4860         (getMenuShortcutKeyMask): Exception documentation added.
4861         (getSystemEventQueue): Exception documentation added.
4862         * java/awt/Window.java:
4863         Reindented some code.
4864         (Window): Centralized implementation, documentation added.
4865         (finalize): Documentation added.
4866         (hide): Fixed typo in comment.
4867         (getWindowListeners): Documentation added.
4868         * java/awt/color/ColorSpace.java
4869         (toRGB): Documentation added.
4870         * java/awt/color/ICC_ColorSpace.java
4871         (ICC_ColorSpace): Documentation added.
4872         (toRGB): Throw exception, documentation added.
4873         (fromRGB): Throw exception, documentation added.
4874         (toCIEXYZ): Documentation added.
4875         (fromCIEXYZ): Documentation added.
4876         (getMinValue): Documentation added.
4877         (getMaxValue): Documentation added.
4878         * java/awt/geom/Dimension2D.java
4879         (clone): Documentation added.
4880         * java/awt/geom/GeneralPath.java
4881         (clone): Documentation added.
4882         * java/awt/geom/Line2D.java
4883         (clone): Documentation added.
4884         * java/awt/geom/QuadCurve2D.java
4885         (clone): Documentation added.
4886         * java/awt/image/ColorModel.java
4887         (ColorModel): Throw exception, documentation added.
4888         * java/awt/image/ImageFilter.java
4889         (clone): Doesnt throw CloneNotSupportedException.
4890
4891 2003-01-14  Andrew Haley  <aph@redhat.com>
4892
4893         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4894         in a try block.
4895
4896 2003-01-10  Andrew Haley  <aph@redhat.com>
4897
4898         * include/dwarf2-signal.h: Remove x86_64.
4899         * configure.host (x86_64 DIVIDESPEC): Remove.
4900         * include/x86_64-signal.h: New file.
4901         * configure.in: Regenerate.
4902
4903 2003-01-10  Michael Koch  <konqueror@gmx.de>
4904
4905         * java/net/DatagramSocket.java
4906         (ch): Description added.
4907         (remotePort): Initialize with -1.
4908         (connect): Doesnt throws SocketException.
4909         * java/net/MulticastSocket.java
4910         (setInterface): Merge with Classpath.
4911         * java/net/ServerSocket.java
4912         (closed): New member variable.
4913         (bind): Check if socket is closed.
4914         (close): Close an associated channel too, set new value to closed.
4915         (isBound): Reindented.
4916         (isClosed): Implemented.
4917         * java/net/Socket.java
4918         (closed): New member variable.
4919         (bind): Check if socket is closed.
4920         (connect): Check if socket is closed.
4921         (close): Close an associated channel too, set new value to closed.
4922         (isClosed): Implemented.
4923
4924 2003-01-10  Michael Koch  <konqueror@gmx.de>
4925
4926         * java/awt/DisplayMode.java
4927         (equals): Fixed argument type and implementation.
4928
4929 2003-01-07  Tom Tromey  <tromey@redhat.com>
4930
4931         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
4932         JV_HASH_SYNCHRONIZATION.
4933         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
4934         JV_HASH_SYNCHRONIZATION.
4935
4936 2003-01-07  Michael Koch  <konqueror@gmx.de>
4937  
4938         * java/net/DatagramSocket.java:
4939         Added classpath license info.
4940         (DatagramSocket): Merged description with classpath.
4941         (close): Merged description with classpath.
4942         (getChannel): Merged description with classpath.
4943         (getInetAddress): Merged description with classpath.
4944         (getPort): Merged description with classpath.
4945         (getLocalAddress): Merged description with classpath.
4946         (getLocalPort): Merged description with classpath.
4947         (getSoTimeout): Merged description with classpath.
4948         (setSoTimeout): Merged description with classpath.
4949         (getSendBufferSize): Merged description with classpath.
4950         (setSendBufferSize): Merged description with classpath.
4951         (getReceiveBufferSize): Merged description with classpath.
4952         (setReceiveBufferSize): Merged description with classpath.
4953         
4954 2003-01-04  Tom Tromey  <tromey@redhat.com>
4955
4956         * java/awt/List.java: Merged with Classpath.
4957
4958 2003-01-03  Mark Wielaard  <mark@klomp.org>
4959
4960         * java/io/FileDescriptor.java (position): New private field.
4961         * java/io/natFileDescriptorPosix.cc (write): Up position.
4962         (setLength): Use and set position.
4963         (seek): Set position.
4964         (getFilePointer): Return position.
4965         (read): Up position.
4966
4967 2003-01-03  Mark Wielaard  <mark@klomp.org>
4968
4969         Merge with Classpath:
4970         * java/io/ObjectStreamClass.java (lookup): Split method and call
4971         lookupForClassObject().
4972         (lookupForClassObject): New method.
4973         (isProxyClass): New field.
4974         (setClass): Set isProxyClass, add object to classLookupTable, set
4975         superClass and calculateOffsets.
4976         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
4977         and not a proxy class.
4978         (setFields): Set accessible true for serialPersistentFields.
4979         (getClassUID): Same for suid. And check if suid is of type long.
4980         (hasClassInitializer): Don't throw NoSuchMethodError.
4981
4982 2003-01-03  Mark Wielaard  <mark@klomp.org>
4983
4984         * java/io/FileInputStream.java (finalize): Don't explicitly
4985         finalize FileDescriptor.
4986
4987 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
4988
4989         * configure.host (sparc*-*): Enable bytecode interpreter.
4990
4991 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
4992
4993         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
4994         Don't throw RemoteException.
4995         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
4996         throw RemoteException.
4997
4998 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
4999
5000         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5001         proxyHost): New static fields.
5002         (<clinit>): Initialize new fields.
5003         (connect): Use proxy if necessary.
5004         (usingProxy): Implement.
5005
5006 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5007
5008         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5009         (TreeIterator.remove): Prefer IllegalStateException over
5010         ConcurrentModificationException, to match Sun.
5011
5012 2002-12-22  Anthony Green  <green@redhat.com>
5013
5014         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5015
5016 2003-01-02  Mark Wielaard  <mark@klomp.org>
5017
5018         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5019         public.
5020         (HTTP_USE_PROXY): Add field.
5021         (getResponseVals): Only set responseCode when not yet explicitly
5022         set by subclass.
5023
5024 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5025             Mark Wielaard  <mark@klomp.org>
5026
5027         * java/util/zip/ZipFile.java (entries): Now HashMap.
5028         (readLeShort(DataInput, byte[])): Read from given byte array.
5029         (readLeInt(DataInput, byte[]): Likewise.
5030         (readLeShort(byte[] b, int off)): New method.
5031         (readLeInt(byte[] b, int off)): Likewise.
5032         (readEntries): Use byte arrays to read info in bigger chunks.
5033         (getEntries): Return HashMap.
5034         (getEntry): Use HashMap.
5035         (locBuf): New private field.
5036         (checkLocalHeader): Use locBuf to read info in one chunk.
5037         (getInputStream): Use entries HashMap, wrap PartialInputStream
5038         in BufferedInputStream.
5039         (ZipEntryEnumeration): Use HashMap and Interator.
5040
5041 2003-01-02  Mark Wielaard  <mark@klomp.org>
5042             Jeroen Frijters  <jeroen@sumatra.nl>
5043
5044         * java/net/URLClassLoader.java (Resource.getCodeSource):
5045         Fix check certs == null.
5046         (getCanonicalFileURL): Removed method.
5047         (JarURLLoader): Don't call removed method.
5048         (FileURLLoader): Likewise.
5049         (FileURLLoader.getResource): Don't canonicalize file name.
5050
5051 2003-01-01  Tom Tromey  <tromey@redhat.com>
5052
5053         * Makefile.in: Rebuilt.
5054         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5055         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5056         java/awt/BufferCapabilities.java, java/awt/Button.java,
5057         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5058         java/awt/Container.java, java/awt/Cursor.java,
5059         java/awt/EventQueue.java, java/awt/FileDialog.java,
5060         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5061         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5062         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5063         java/awt/Scrollbar.java, java/awt/TextArea.java,
5064         java/awt/TextField.java, java/awt/color/CMMException.java,
5065         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5066         java/awt/color/ProfileDataException.java,
5067         java/awt/datatransfer/Clipboard.java,
5068         java/awt/datatransfer/DataFlavor.java,
5069         java/awt/datatransfer/FlavorMap.java,
5070         java/awt/datatransfer/SystemFlavorMap.java,
5071         java/awt/dnd/DragGestureEvent.java,
5072         java/awt/dnd/DragGestureRecognizer.java,
5073         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5074         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5075         java/awt/im/InputMethodHighlight.java,
5076         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5077         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5078
5079         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5080         `op' to BufferedImageOp.
5081
5082 2002-12-31  Tom Tromey  <tromey@redhat.com>
5083
5084         Fix for PR libgcj/7416:
5085         * javax/naming/InitialContext.java (init): Use
5086         gnu.classpath.home.url.
5087         * java/security/Security.java: Use new properties.
5088         (loadProviders): Accept base url; use it.
5089         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5090         gnu.classpath.home.url.
5091         (gnu.classpath.home.url): Define.
5092         (gnu.classpath.vm.shortname): Likewise.
5093
5094 2002-12-31  Tom Tromey  <tromey@redhat.com>
5095             Ranjit Mathew  <rmathew@hotmail.com>
5096
5097         Fix for PR libgcj/8997:
5098         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5099         Include platform.h.
5100         * include/posix.h (_Jv_platform_usleep): New function.
5101         * include/win32.h (_Jv_platform_usleep): New function.
5102
5103 2002-12-29  Tom Tromey  <tromey@redhat.com>
5104
5105         * gcj/javaprims.h: Updated.
5106         * scripts/classes.pl (scan): Removed stray semicolon.
5107
5108 2002-12-30  Mark Wielaard  <mark@klomp.org>
5109
5110         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5111         if zero or smaller.
5112
5113 2002-12-30  Mark Wielaard  <mark@klomp.org>
5114
5115         * java/util/Properties (formatForOutput): Don't fall through to
5116         default case after escaping character.
5117
5118 2002-12-30  Mark Wielaard  <mark@klomp.org>
5119
5120         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5121         against count.
5122
5123 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5124
5125         * boehm.cc: Remove stray semicolon.
5126         * interpret.cc: Likewise.
5127         * prims.cc: Likewise.
5128         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5129         earlier to ensure default arguments are processed.
5130         * gcj/array.h (JArray): Add forward declaration.
5131         (elements): Likewise.
5132         * gcj/javaprim.h: Remove stray semicolons.
5133         * include/bohm-gc.h: Likewise.
5134         * include/jni.h: Likewise.
5135         * include/jvm.h: Likewise.
5136         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5137         
5138 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5139
5140         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5141         of catch_type.
5142         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5143         idt tables after initializing superclass.
5144         * java/lang/natClassLoader.cc (uaddr): New typedef.
5145         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5146         if they are constant pool indicies.  Don't link vtable, otable yet.
5147
5148 2002-12-21  Anthony Green  <green@redhat.com>
5149
5150         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5151         libraries.
5152         * Makefile.in: Rebuilt.
5153
5154 2002-12-19  Anthony Green  <green@redhat.com>
5155
5156         * Makefile.am (ordinary_java_source_files): Add
5157         org/xml/sax/helpers/NewInstance.java.
5158         * Makefile.in: Rebuilt.
5159         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5160         org/xml/sax/helpers/package.html: New files.
5161         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5162         http://www.saxproject.org.
5163
5164 2002-12-19  Andrew Haley  <aph@redhat.com>
5165
5166         * java/util/natResourceBundle.cc: Include
5167         ArrayIndexOutOfBoundsException.h.
5168         (getCallingClassLoader): Don't put upper bound on stack search.
5169         Catch ArrayIndexOutOfBoundsException.
5170
5171 2002-12-19  Tom Tromey  <tromey@redhat.com>
5172
5173         * libtool-version: Increased `current'.
5174
5175 2002-12-19  Tom Tromey  <tromey@redhat.com>
5176
5177         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5178         comment.
5179         * java/lang/ClassLoader.java (defineClass): Use chained
5180         exception when rethrowing.
5181         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5182         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5183         constants.
5184         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5185         (_Jv_PrepareClass): Use it.
5186         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5187         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5188         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5189         (Class): _Jv_PrepareMissingMethods now friend.
5190         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5191         Record `NULL' for system class loader.
5192         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5193         system class loader.
5194         (_Jv_FindClassInCache): Likewise.
5195         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5196         (_Jv_FindClass): Special case system class loader.
5197         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5198         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5199         vtable slots.
5200         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5201         in a final class.
5202         (_getDeclaredMethod): Don't return synthetic methods.
5203         (getDeclaredMethods): Likewise.
5204         (_getMethod): Likewise.
5205         (_getMethods): Likewise.
5206
5207 2002-12-18  Raif Naffah  <raif@fl.net.au>
5208
5209         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5210         canonical form after divide().
5211         (modInverse): Likewise.
5212
5213 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5214             Mark Wielaard  <mark@klomp.org>
5215
5216         * java/security/SecurityRandom (digest): Removed field.
5217         (SecureRandom): Check all providers for case-insensitive SecureRandom
5218         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5219         if necessary.
5220         (getInstance(String,Provider,boolean): New method.
5221         (getInstance(String)): Use new method.
5222         (getInstance(String,String)): Likewise.
5223         (getInstance(String,Provider)): Likewise.
5224
5225 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5226
5227         * java/security/Security.java (loadProviders): Increment i only once.
5228
5229 2002-12-12  Mark Wielaard  <mark@klomp.org>
5230
5231         * java/lang/ClassLoader.java (resolveClass0): Transform
5232         ClassNotFoundException to NoClassDefFoundError. Transform all other
5233         throwables to LinkageError.
5234
5235 2002-12-11  Tom Tromey  <tromey@redhat.com>
5236
5237         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5238
5239         * java/lang/ClassLoader.java (loadedClasses): New field.
5240         (defineClass): Fixed indentation.  Put new class in
5241         loadedClasses.
5242         (findLoadedClass): Implement here.
5243         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5244
5245 2002-12-10  Tom Tromey  <tromey@redhat.com>
5246
5247         * Makefile.in: Rebuilt.
5248         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5249         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5250         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5251         * java/lang/natClassLoader.cc
5252         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5253
5254 2002-12-10  Mark Wielaard  <mark@klomp.org>
5255             Tom Tromey  <tromey@redhat.com>
5256
5257         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5258         (JarURLLoader): Use it.
5259         (FileURLLoader): Likewise.
5260         (JarURLResource.getURL): Use chained exception.
5261         (FileResource.getURL): Likewise.
5262         (FileURLLoader.getResource): Use canonical file name.
5263         (addURL): Indentation fix.
5264
5265 2002-12-10  Tom Tromey  <tromey@redhat.com>
5266
5267         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5268         From Laurent Bardet <l.bardet@magic.fr>.
5269
5270 2002-12-09  Tom Tromey  <tromey@redhat.com>
5271
5272         * include/win32.h (_Jv_platform_solib_prefix): New define.
5273         (_Jv_platform_solib_suffix): Likewise.
5274         * include/posix.h (_Jv_platform_solib_prefix): New define.
5275         (_Jv_platform_solib_suffix): Likewise.
5276         * java/lang/natRuntime.cc: Include StackTrace.h.
5277         (_load): Use findLibrary and new platform defines.
5278         (nativeGetLibname): Use new platform defines.
5279
5280         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5281         `t' won't be null.
5282
5283 2002-12-08  Mark Wielaard  <mark@klomp.org>
5284
5285         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5286         cache remote jar files.
5287         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5288         add File.separator to URL when it is a directory.
5289         * java/lang/ClassLoader.java: Add Classpath javadoc.
5290         (parent): final.
5291         (getParent): Add (disabled) security check.
5292         (findLibrary): New default method.
5293         * java/net/JarURLConnection.java (getManifest): Implement.
5294         (getInputStream): Only create InputStream when entry exists.
5295         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5296         when they exist.
5297         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5298
5299 2002-12-08  Mark Wielaard  <mark@klomp.org>
5300
5301         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5302         (lastDefaultLocale): New field.
5303         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5304         resourceBundleCache.
5305
5306 2002-12-06  Mark Wielaard  <mark@klomp.org>
5307
5308         * java/net/InetAddress.java (toString): Use hostname when not null,
5309         don't do an explicit reverse getHostName() lookup.
5310         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5311         NullPointerException.
5312
5313 2002-12-06  Tom Tromey  <tromey@redhat.com>
5314
5315         * include/java-interp.h (class _Jv_InterpMethod): Added
5316         JV_MARKOBJ_DECL.
5317         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5318         mark `prepared' field of interpreted method.
5319         * interpret.cc (compile): Use _Jv_AllocBytes.
5320
5321 2002-12-05  Andrew Haley  <aph@redhat.com>
5322
5323         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5324         #ifdef (HAVE_BACKTRACE) around the whole function body.
5325
5326 2002-12-05  Tom Tromey  <tromey@redhat.com>
5327
5328         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5329         * resolve.cc: Don't include AbstractMethodError.h.
5330         (_Jv_abstractMethodError): Removed.
5331         * defineclass.cc (handleMethodsBegin): Initialize method index to
5332         -1.
5333         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5334         method index for "new" final method.
5335         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5336         isVirtualMethod.  Added `flags' argument.
5337         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5338         class.
5339
5340 2002-12-04  Tom Tromey  <tromey@redhat.com>
5341
5342         * java/net/SocketPermission.java (hashCode): Rewrote.
5343
5344 2002-12-04  Tom Tromey  <tromey@redhat.com>
5345
5346         * Makefile.in: Rebuilt.
5347         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5348         natResourceBundle.
5349         * java/util/ResourceBundle.java (Security): Removed.
5350         (getCallingClassLoader): Now native.
5351         * java/util/natResourceBundle.cc: New file.
5352         * java/lang/natVMSecurityManager.cc: New file.
5353         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5354
5355 2002-12-03  Mark Wielaard  <mark@klomp.org>
5356
5357         * java/util/jar/JarFile.java (manifest): Not final.
5358         (manifestRead): New field.
5359         (JarFile): Don't read Manifest in constructor.
5360         (getManifest): New method.
5361         (JarEnumeration.nextElement): Use new method.
5362         (getEntry): Likewise.
5363         * java/util/zip/ZipFile.java (name): Final.
5364         (raf): Likewsie.
5365         (entries): Change type to Hashtable.
5366         (closed): New field.
5367         (ZipFile): Don't read enties in constructor.
5368         (readEntries): Use Hashtable.
5369         (close): Set new close flag and set entries to null inside
5370         synchronized block.
5371         (entries): Contruct enumeration using new getEntries() method and
5372         entries Hashtable.
5373         (getEntryIndex): Removed.
5374         (getEntries): New method.
5375         (getEntry): Use new getEntries() method and entries Hastable.
5376         (getInputStream): Likewise.
5377         (size): Return getEntries().size().
5378         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5379         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5380         (time): Removed
5381         (dostime): New field.
5382         (zipFileIndex): Removed.
5383         (ZipEntry(ZipEntry)): Copy dostime.
5384         (setDOSTime): Now final and doesn't convert dos time.
5385         (getDOSTime): Likewise.
5386         (setTime): Convert dos time.
5387         (getTime): Likewise.
5388         (getCalendar): New method.
5389         (setExtra): Use setTime().
5390         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5391
5392 2002-12-03  Tom Tromey  <tromey@redhat.com>
5393
5394         * java/lang/Character.java (forDigit): Formatting fix.
5395
5396 2002-12-03  Raif Naffah  <raif@fl.net.au>
5397
5398         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5399         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5400         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5401
5402 2002-12-03  Andrew Haley  <aph@redhat.com>
5403
5404         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5405         _Jv_PushClass.
5406         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5407         (_Jv_PopClass): New.
5408         (_Jv_PushClass): New.
5409         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5410         discover the ClassLoader of our caller.
5411         (_Jv_CheckArrayStore): Don't check that a class is assignment
5412         compatible with Object.
5413         * java/lang/natVMTHrowable.cc: Delete.
5414         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5415         java.lang.VMThrowable.
5416         (StackTrace(), StackTrace(int)): New constructors.
5417         (classAt, methodAt, update, methodAtAddress): New methods.
5418         (map): New field.
5419         * java/lang/VMThrowable.java: Use StackTrace instead of
5420         natVMTHrowable.
5421         * java/lang/Class.h (getClassLoaderInternal): New.
5422         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5423         Be friendly with gnu::gcj::runtime::StackTrace.
5424         (Object.chain): New field.
5425         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5426         gnu::gcj::runtime::StackTrace.
5427         * gnu/gcj/runtime/natStackTrace.cc: New file.
5428         * gnu/gcj/runtime/MethodRef.java: New file.
5429         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5430         instead of getClassLoader().
5431         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5432         java::lang::VMThrowable.
5433         * Makefile.am (core_java_source_files): Add MethodRef.java,
5434         StackTrace.java.
5435         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5436         * Makefile.in: Rebuild.
5437
5438 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5439
5440         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5441         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5442         yes also for sh-linux* and sh[34]*-linux*.
5443         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5444         set SIGNAL_HANDLER to use DWARF2 exception for them.
5445         * configure: Regenerate.
5446
5447 2002-12-02  Tom Tromey  <tromey@redhat.com>
5448
5449         * jni.cc: Added `name' argument.
5450         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5451         `const char *' argument.
5452         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5453
5454 2002-12-01  Tom Tromey  <tromey@redhat.com>
5455
5456         Bug compatibility, for PR libgcj/8738:
5457         * java/io/CharArrayWriter.java (close): Do nothing.
5458         (flush): Likewise.
5459         (reset): Don't touch `closed'.
5460         (write(int)): Don't throw IOException.
5461         (write(char[],int,int)): Likewise.
5462         (write(String,int,int)): Likewise.
5463         (closed): Removed.
5464
5465 2002-12-01  Mark Wielaard  <mark@klomp.org>
5466
5467         * java/lang/SecurityManager.java: Remerge comments, indenting and
5468         checkXXX methods with Classpath.
5469
5470 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5471
5472         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5473         getNormalizedComponents): Fix calculation which was using one too
5474         many bits in the unnormalized format.
5475
5476 2002-11-29  Gary Benson  <gbenson@redhat.com>
5477
5478         For PR libgcj/8759:
5479         * java/beans/Introspector.java (flushCaches): New method.
5480         (flushFromCaches): Likewise.
5481
5482 2002-11-29  Michael Koch <konqueror@gmx.de>
5483
5484         * java/nio/channels/DatagramChannel.java
5485         (open): Added exception documentation.
5486         (write): Added exception documentation.
5487         (connect): Added exception documentation.
5488         (disconnect): Added exception documentation.
5489         (isConnected): Added exception documentation.
5490         (read): Added exception documentation.
5491         (receive): Added exception documentation.
5492         (send): Added exception documentation.
5493         (validOps): Added exception documentation.
5494         * java/nio/channels/SocketChannel.java
5495         (open): Added exception documentation.
5496         (read): Added exception documentation.
5497         (write): Added exception documentation.
5498         (connect): Added exception documentation.
5499         (finishConnect): Added exception documentation.
5500
5501 2002-11-29  Michael Koch <konqueror@gmx.de>
5502
5503         * gnu/java/nio/DatagramChannelImpl:
5504         (fd): New member variable to store file descriptor of socket.
5505         * gnu/java/nio/SelectionKeyImpl.java:
5506         (ops): Removed.
5507         (readyOps): New member variable.
5508         (interestOps): New member variable.
5509         (readyOps): Implemented.
5510         (readyOps): New method to set member variable readyOps.
5511         (interestOps): Replaced ops by interestOps.
5512         * gnu/java/nio/SelectorImpl.java:
5513         (SelectorImpl): Initialize key sets.
5514         (select): Call select with -1 instead of Long.MAX_VALUE).
5515         (java_do_select): Make it a native method.
5516         (getFDsAsArray): New helper method.
5517         (select): Remove canceled keys, give only interested file discriptors
5518         to java_do_select, set ready ops.
5519         (add): No need to initialize keys set here.
5520         (add_selected): No need to initialize selected set here.
5521         (deregisterCanceledKeys): New helper method.
5522         (register): Set interest ops, set attachments, added handling of datagram
5523         channels.
5524         * gnu/java/nio/ServerSocketChannelImpl:
5525         (SocketAccept): Renamed from NioSocketAccept.
5526         (implConfigureBlocking): Implemented.
5527         (accept): Use SocketAccept instead of NioSocketAccept.
5528         * gnu/java/nio/SocketChannelImpl:
5529         Reactivate native methods.
5530
5531 2002-11-29  Michael Koch <konqueror@gmx.de>
5532
5533         * gnu/java/nio/natByteBufferImpl.cc,
5534         gnu/java/nio/natCharBufferImpl.cc,
5535         gnu/java/nio/natDoubleBufferImpl.cc,
5536         gnu/java/nio/natFloatBufferImpl.cc,
5537         gnu/java/nio/natIntBufferImpl.cc,
5538         gnu/java/nio/natLongBufferImpl.cc,
5539         gnu/java/nio/natSelectorImpl.cc,
5540         gnu/java/nio/natServerSocketChannelImpl.cc,
5541         gnu/java/nio/natShortBufferImpl.cc,
5542         gnu/java/nio/natSocketChannelImpl.cc:
5543         New files that implement native functionalities.
5544
5545 2002-11-29  Michael Koch <konqueror@gmx.de>
5546
5547         * gnu/java/nio/ByteBufferImpl.java
5548         (ByteBufferImpl): Moved position() after limit.
5549         (nio_*): Use native implementation.
5550         * gnu/java/nio/CharBufferImpl.java:
5551         Reformated.
5552         (endian): New member variable string endianess of buffer.
5553         (CharBufferImpl): Moved position() after limit.
5554         (nio_*): Use native implementation.
5555         (subSequence): Implemented.
5556         * gnu/java/nio/DoubleBufferImpl.java
5557         (DoubleBufferImpl): Moved position() after limit.
5558         (nio_*): Use native implementation.
5559         * gnu/java/nio/FloatBufferImpl.java
5560         Reformated.
5561         (FloatBufferImpl): Moved position() after limit.
5562         (nio_*): Use native implementation.
5563         * gnu/java/nio/IntBufferImpl.java
5564         Added needed imports, Reformated.
5565         (IntBufferImpl): Moved position() after limit.
5566         (nio_*): Use native implementation.
5567         * gnu/java/nio/LongBufferImpl.java
5568         Reformated.
5569         (LongBufferImpl): Moved position() after limit.
5570         (nio_*): Use native implementation.
5571         * gnu/java/nio/ShortBufferImpl.java
5572         Reformated.
5573         (ShortBufferImpl): Moved position() after limit.
5574         (nio_*): Use native implementation.
5575
5576 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5577
5578         * java/util/Locale.java (toString): Improve efficiency if country
5579         and variant are both empty.
5580
5581 2002-11-26  Tom Tromey  <tromey@redhat.com>
5582
5583         * verify.cc (pop_init_ref): New method.
5584         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5585         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5586         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5587         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5588         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5589         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5590         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5591         let `this' argument be uninitialized.  Don't let `null' be passed
5592         as `this' to construtor.
5593
5594 2002-11-26  Mark Wielaard  <mark@klomp.org>
5595
5596         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5597         * javax/transaction/HeuristicMixedException.java: Likewise.
5598         * javax/transaction/HeuristicRollbackException.java: Likewise.
5599         * javax/transaction/InvalidTransactionException.java: Likewise.
5600         * javax/transaction/NotSupportedException.java: Likewise.
5601         * javax/transaction/RollbackException.java: Likewise.
5602         * javax/transaction/Status.java: Likewise.
5603         * javax/transaction/Synchronization.java: Likewise.
5604         * javax/transaction/SystemException.java: Likewise.
5605         * javax/transaction/Transaction.java: Likewise.
5606         * javax/transaction/TransactionManager.java: Likewise.
5607         * javax/transaction/TransactionRequiredException.java: Likewise.
5608         * javax/transaction/TransactionRolledbackException.java: Likewise.
5609         * javax/transaction/UserTransaction.java: Likewise.
5610         * javax/transaction/xa/XAException.java: Likewise.
5611         * javax/transaction/xa/XAResource.java: Likewise.
5612         * javax/transaction/xa/Xid.java: Likewise.
5613
5614 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5615
5616         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5617         define.
5618         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5619         * include/posix.h (socklen_t): Define if not already defined.
5620
5621 2002-11-25  Tom Tromey  <tromey@redhat.com>
5622
5623         * verify.cc (type::compatible): Backed out broken change.
5624
5625         * verify.cc (type::compatible): Check initialization status
5626         first.
5627         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5628         Don't use NULLCHECK.
5629
5630 2002-11-23  H.J. Lu <hjl@gnu.org>
5631
5632         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5633         Include ../config/accross.m4.
5634         * aclocal.m4; Rebuild.
5635         * configure: Likewise.
5636
5637 2002-11-23  Mark Wielaard  <mark@klomp.org>
5638
5639         * javax/naming/AuthenticationException.java: Update copyright header.
5640         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5641         * javax/naming/Binding.java: Likewise.
5642         * javax/naming/CannotProceedException.java: Likewise.
5643         * javax/naming/CommunicationException.java: Likewise.
5644         * javax/naming/CompositeName.java: Likewise.
5645         * javax/naming/CompoundName.java: Likewise.
5646         * javax/naming/ConfigurationException.java: Likewise.
5647         * javax/naming/Context.java: Likewise.
5648         * javax/naming/ContextNotEmptyException.java: Likewise.
5649         * javax/naming/InitialContext.java: Likewise.
5650         * javax/naming/InsufficientResourcesException.java: Likewise.
5651         * javax/naming/InterruptedNamingException.java: Likewise.
5652         * javax/naming/LimitExceededException.java: Likewise.
5653         * javax/naming/LinkException.java: Likewise.
5654         * javax/naming/LinkLoopException.java: Likewise.
5655         * javax/naming/LinkRef.java: Likewise.
5656         * javax/naming/MalformedLinkException.java: Likewise.
5657         * javax/naming/NameAlreadyBoundException.java: Likewise.
5658         * javax/naming/NameClassPair.java: Likewise.
5659         * javax/naming/NameNotFoundException.java: Likewise.
5660         * javax/naming/NameParser.java: Likewise.
5661         * javax/naming/NamingEnumeration.java: Likewise.
5662         * javax/naming/NamingSecurityException.java: Likewise.
5663         * javax/naming/NoInitialContextException.java: Likewise.
5664         * javax/naming/NoPermissionException.java: Likewise.
5665         * javax/naming/NotContextException.java: Likewise.
5666         * javax/naming/OperationNotSupportedException.java: Likewise.
5667         * javax/naming/PartialResultException.java: Likewise.
5668         * javax/naming/Reference.java: Likewise.
5669         * javax/naming/Referenceable.java: Likewise.
5670         * javax/naming/ReferralException.java: Likewise.
5671         * javax/naming/ServiceUnavailableException.java: Likewise.
5672         * javax/naming/SizeLimitExceededException.java: Likewise.
5673         * javax/naming/TimeLimitExceededException.java: Likewise.
5674         * javax/naming/directory/Attribute.java: Likewise.
5675         * javax/naming/directory/AttributeInUseException.java: Likewise.
5676         * javax/naming/directory/AttributeModificationException.java: Likewise.
5677         * javax/naming/directory/Attributes.java: Likewise.
5678         * javax/naming/directory/BasicAttribute.java: Likewise.
5679         * javax/naming/directory/BasicAttributes.java: Likewise.
5680         * javax/naming/directory/DirContext.java: Likewise.
5681         * javax/naming/directory/InitialDirContext.java: Likewise.
5682         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5683         Likewise.
5684         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5685         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5686         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5687         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5688         * javax/naming/directory/ModificationItem.java: Likewise.
5689         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5690         * javax/naming/directory/SchemaViolationException.java: Likewise.
5691         * javax/naming/directory/SearchControls.java: Likewise.
5692         * javax/naming/directory/SearchResult.java: Likewise.
5693         * javax/naming/event/EventContext.java: Likewise.
5694         * javax/naming/event/EventDirContext.java: Likewise.
5695         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5696         * javax/naming/event/NamingEvent.java: Likewise.
5697         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5698         * javax/naming/event/NamingListener.java: Likewise.
5699         * javax/naming/event/ObjectChangeListener.java: Likewise.
5700         * javax/naming/ldap/Control.java: Likewise.
5701         * javax/naming/ldap/ControlFactory.java: Likewise.
5702         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5703         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5704         * javax/naming/ldap/HasControls.java: Likewise.
5705         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5706         * javax/naming/ldap/LdapContext.java: Likewise.
5707         * javax/naming/ldap/LdapReferralException.java: Likewise.
5708         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5709         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5710         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5711         * javax/naming/spi/DirObjectFactory.java: Likewise.
5712         * javax/naming/spi/DirStateFactory.java: Likewise.
5713         * javax/naming/spi/DirectoryManager.java: Likewise.
5714         * javax/naming/spi/InitialContextFactory.java: Likewise.
5715         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5716         * javax/naming/spi/NamingManager.java: Likewise.
5717         * javax/naming/spi/ObjectFactory.java: Likewise.
5718         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5719         * javax/naming/spi/ResolveResult.java: Likewise.
5720         * javax/naming/spi/Resolver.java: Likewise.
5721         * javax/naming/spi/StateFactory.java: Likewise.
5722
5723         * javax/naming/spi/NamingManager.java (ofb): Package private.
5724
5725 2002-11-21  Mark Wielaard  <mark@klomp.org>
5726
5727         * java/net/URL.java: Merge with Classpath (partly).
5728         * java/net/URLStreamHandler: Merge with Classpath.
5729
5730 2002-11-22  Michael Koch <konqueror@gmx.de>
5731
5732         * include/posix.h:
5733         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5734         * include/win32.h:
5735         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5736         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5737
5738 2002-11-21  Michael Koch <konqueror@gmx.de>
5739
5740         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5741         Only the new network functions should be in it.
5742
5743 2002-11-21  Michael Koch <konqueror@gmx.de>
5744
5745         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5746         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5747
5748 2002-11-21  Michael Koch <konqueror@gmx.de>
5749
5750         * java/nio/channels/AsynchronousCloseException.java,
5751         java/nio/channels/CancelledKeyException.java,
5752         java/nio/channels/ClosedByInterruptException.java,
5753         java/nio/channels/ConnectionPendingException.java,
5754         java/nio/channels/FileLockInterruptionException.java,
5755         java/nio/channels/IllegalSelectorException.java,
5756         java/nio/channels/NoConnectionPendingException.java,
5757         java/nio/channels/NonReadableChannelException.java,
5758         java/nio/channels/NonWritableChannelException.java,
5759         java/nio/channels/NotYetBoundException.java,
5760         java/nio/channels/NotYetConnectedException.java,
5761         java/nio/channels/OverlappingFileLockException.java,
5762         java/nio/channels/UnresolvedAddressException.java,
5763         java/nio/channels/UnsupportedAddressTypeException.java:
5764         New files.
5765         * Makefile.am (ordinary_java_source_files): Added new files.
5766         * Makefile.in: Regenerated.
5767
5768 2002-11-21  Michael Koch <konqueror@gmx.de>
5769
5770         * include/posix.h
5771         (_Jv_socket): New method.
5772         (_Jv_connect): New method.
5773         (_Jv_close): New method.
5774         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5775         (_Jv_bind): New method.
5776         (_Jv_listen): New method.
5777         (_Jv_write): New method.
5778         (_Jv_read): New method.
5779         * include/win32.h
5780         (_Jv_socket): New method.
5781         (_Jv_connect): New method.
5782         (_Jv_close): New method.
5783         (_Jv_bind): New method.
5784         (_Jv_listen): New method.
5785         (_Jv_write): New method.
5786         (_Jv_read): New method.
5787         * java/net/natNetworkInterface.cc:
5788         Include platform.h, removed inclusion of socket.h
5789         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5790         ::close() by _Jv_close().
5791         * java/net/natPlainDatagramSocketImpl.cc:
5792         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5793         added some new lines to make code more readable.
5794         (create): Replaced ::socket() by _Jv_socket().
5795         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5796         * java/net/natPlainSocketImpl.cc:
5797         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5798         removed include of socket.h, removed some windows defines
5799         (now in include/win32.h).
5800         (create): Replaced ::socket() by _Jv_socket().
5801         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5802         (write): Replaced ::read by _Jv_write().
5803         (read): Replaced ::read by _Jv_read().
5804
5805 2002-11-20  Michael Koch <konqueror@gmx.de>
5806
5807         * Makefile.am (ordinary_java_source_files):
5808         Added java/nio/channels/FileChannel.java.
5809         * Makefile.in: Regenerated.
5810
5811 2002-11-20  Michael Koch <konqueror@gmx.de>
5812
5813         * java/io/FileInputStream.java
5814         (getChannel): New method.
5815         * java/io/FileOutputStream.java
5816         (getChannel): New method.
5817         * java/net/ServerSocket.java
5818         (bind): Removed duplicate code and called another bind method instead.
5819         * java/nio/channels/SelectionKey.java
5820         (isValid): Removed wrong exception documentation.
5821         * java/nio/channels/ServerSocketChannel.java
5822         (accept): Added exception documentation.
5823         (open): Fixed typo, added exception documentation.
5824         * java/nio/channels/spi/AbstractSelectableChannel.java
5825         (implCloseChannel): Added exception documentation.
5826         (add): Reformated.
5827         (register): Added exception documentation.
5828
5829 2002-11-20  Andreas Jaeger  <aj@suse.de>
5830
5831         * configure: Regenerated with new libtool.m4.
5832
5833 2002-11-19  Tom Tromey  <tromey@redhat.com>
5834
5835         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5836         `referent'.
5837         (finalize_referred_to_object): Don't modify `referent' or `copy'
5838         fields.
5839         (add_to_hash): Correctly set `n->next' when updating list.
5840         * java/lang/ref/Reference.java (enqueue): Return false if already
5841         enqueued.
5842
5843 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5844
5845         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5846         to function and function pointer declarations in accordance with
5847         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5848         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5849         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5850         JNI function definitions.
5851
5852 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5853
5854         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5855         that was causing CoderResults to be cached, not WeakReferences
5856         to CoderResults.
5857
5858 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5859
5860         * java/security/KeyStore.java (getInstance): Fix
5861         comment and throw IllegalArgumentException if
5862         given provider is null.
5863         (getInstance): New method for jdk1.4 compatibility.
5864
5865 2002-11-18  Michael Koch <konqueror@gmx.de>
5866
5867         * java/net/PlainSocketImpl.java: Fix imports.
5868
5869 2002-11-18  Michael Koch <konqueror@gmx.de>
5870
5871         * java/nio/channels/SelectionKey.java
5872         (isValid): Added exception documentation.
5873         * java/nio/channels/Selector.java
5874         (open): Declare "throws IOException".
5875
5876 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5877
5878         * java/nio/charset/Charset.java
5879         (<clinit>): New method.
5880         (encode): Synchronize use of cached encoder object.
5881         (decode): Synchronize use of cached encoder object.
5882
5883 2002-11-18  Michael Koch <konqueror@gmx.de>
5884
5885         * gnu/java/nio/ByteBufferImpl.java,
5886         gnu/java/nio/CharBufferImpl.java,
5887         gnu/java/nio/DatagramChannelImpl.java,
5888         gnu/java/nio/DoubleBufferImpl.java,
5889         gnu/java/nio/FileChannelImpl.java,
5890         gnu/java/nio/FloatBufferImpl.java,
5891         gnu/java/nio/IntBufferImpl.java,
5892         gnu/java/nio/LongBufferImpl.java,
5893         gnu/java/nio/PipeImpl.java,
5894         gnu/java/nio/SelectionKeyImpl.java,
5895         gnu/java/nio/SelectorImpl.java,
5896         gnu/java/nio/SelectorProviderImpl.java,
5897         gnu/java/nio/ServerSocketChannelImpl.java,
5898         gnu/java/nio/ShortBufferImpl.java,
5899         gnu/java/nio/SocketChannelImpl.java,
5900         java/nio/DoubleBuffer.java,
5901         java/nio/FloatBuffer.java,
5902         java/nio/IntBuffer.java,
5903         java/nio/LongBuffer.java,
5904         java/nio/ShortBuffer.java,
5905         java/nio/channels/FileChannel.java: New files.
5906
5907 2002-11-18  Michael Koch <konqueror@gmx.de>
5908
5909         * Makefile.am (ordinary_java_source_files):
5910         Added java/nio/ReadOnlyBufferException.java and
5911         java/nio/channels/ClosedSelectorException.java.
5912         * Makefile.in: Regenerated.
5913
5914 2002-11-18  Michael Koch <konqueror@gmx.de>
5915
5916         * java/net/PlainSocketImpl.java: Reworked imports.
5917         * java/net/ServerSocket.java
5918         (ServerSocket): Create socket.
5919         * java/net/SocketAddress.java: Documentation added.
5920         * java/net/natPlainSocketImpl.cc: Reindented.
5921         * java/nio/ReadOnlyBufferException.java: New file
5922         * java/nio/channels/ClosedChannelException.java: Documentation added.
5923         * java/nio/channels/ClosedSelectorException.java: New file.
5924
5925 2002-11-17  Mark Wielaard  <mark@klomp.org>
5926
5927         * java/net/HttpURLConnection.java ((getPermission): Take port
5928         into consideration.
5929         (getErrorStream): Implement.
5930
5931 2002-11-17  Mark Wielaard  <mark@klomp.org>
5932
5933         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
5934
5935 2002-11-16  Mark Wielaard  <mark@klomp.org>
5936
5937         Integrate work by Raif S. Naffah (raif@fl.net.au)
5938         * java/security/DummyKeyPairGenerator.java (clone): New method.
5939         * java/security/DummyMessageDigest.java (clone): New method.
5940         (engineUpdate): Now public.
5941         (engineReset): Likewise.
5942         (engineDigest): Likewise.
5943         (engineGetDigestLength): New method.
5944         * java/security/DummySignature.java (clone): New method.
5945         * java/security/KeyPairGenerator.java (provider): Now package private.
5946         (getInstance(String)): Use getInstance(String,Provider).
5947         (getInstance(String,String): Use getInstance(String,Provider)
5948         (getInstance(String,Provider): New method.
5949         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
5950         * java/security/KeyPairGeneratorSpi.java (clone): New method.
5951         * java/security/MessageDigest.java (provider): Now package private.
5952         (getInstance(String): Use getInstance(String,Provider).
5953         (getInstance(String,String): Use getInstance(String,Provider)
5954         (getInstance(String,Provider): New method.
5955         * java/security/Provider.java (toCanonicalKey): New method.
5956         (get): New method that uses toCanonicalKey().
5957         (put): Use toCanonicalKey().
5958         (remove): Likewise.
5959         * java/security/Security.java (insertProviderAt): Provider index is one
5960         based, not zero based.
5961         (addProvider): Likewise.
5962         (removeProvider): Likewise.
5963         * java/security/Signature.java (provider): Now package private.
5964         (getInstance(String)): Use getInstance(String,Provider).
5965         (getInstance(String,String): Use getInstance(String,Provider)
5966         (getInstance(String,Provider): New method.
5967         (getInstance(String,String,Provider): Don't cast DummySignature.
5968
5969 2002-11-15  Tom Tromey  <tromey@redhat.com>
5970
5971         For PR libgcj/8593:
5972         * java/util/zip/GZIPInputStream.java (read): Check file size.
5973         Look in inflater for remaining input bytes.
5974         (read4): Added buf and offset arguments.
5975
5976 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
5977
5978         * java/applet/AppletContext.java: Fix typo and remove redundant
5979         modifiers.
5980
5981 2002-11-14  Tom Tromey  <tromey@redhat.com>
5982
5983         * java/lang/natRuntime.cc (insertSystemProperties): Set
5984         gnu.classpath.home.
5985
5986 2002-11-13  Michael Koch <konqueror@gmx.de>
5987
5988         * java/nio/ByteBuffer.java
5989         (allocate): New method.
5990         (wrap): New method.
5991         (put): New method.
5992         (get): New method.
5993
5994 2002-11-13  Michael Koch <konqueror@gmx.de>
5995
5996         * java/nio/channels/AlreadyConnectedException.java:
5997         Removed unneeded import.
5998         (AlreadyConnectedException): Documentation added.
5999         * java/nio/channels/Pipe.java
6000         (SinkChannel.SinkChannel): Documentation added.
6001         (SinkChannel.validOps): New method.
6002         (SourceChannel.SourceChannel): Documentation added.
6003         (SourceChannel.validOps): New method.
6004         (Pipe): Documentation added.
6005         (open): Documentation added.
6006         (SinkChannel.channel): Documentation added.
6007         (SourceChannel.channel): Documentation added.
6008         * java/nio/channel/SelectableChannel.java
6009         (SelectableChannel): Documentation added.
6010         (blockingLock): Documentation added.
6011         (configureBlocking):Documentation added.
6012         (isBlocking):Documentation added.
6013         (isRegistered):Documentation added.
6014         (keyFor):Documentation added.
6015         (provider):Documentation added.
6016         (register): Documentation added.
6017         (validOps): Documentation added.
6018         * jaba/nio/channels/SelectionKey.java
6019         (SelectionKey): Documentation added.
6020         (attach): Documentation added.
6021         (attachment): Documentation added.
6022         (isAcceptable): Documentation added.
6023         (isConnetable): Documentation added.
6024         (isReadable): Documentation added.
6025         (isWritable): Documentation added.
6026         (cancel): Documentation added.
6027         (channel): Documentation added.
6028         (interestOps): Documentation added.
6029         (isValid): Documentation added.
6030         (readyOps): Documentation added.
6031         (selector): Documentation added.
6032         * jaba/nio/channels/Selector.java
6033         (Selector): Documentation added.
6034         (open): Documentation added.
6035         (close): Documentation added.
6036         (isOpen): Documentation added.
6037         (keys): Documentation added.
6038         (provider): Documentation added.
6039         (select): Documentation added.
6040         (selectedKeys): Documentation added.
6041         (selectNow): Documentation added.
6042         (wakeup): Documentation added.
6043         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6044         (AbstractInterruptibleChannel): Documentation added.
6045         (opened): Default to true;
6046         (begin): Documentation added.
6047         (close): Set opened to false, documentation added.
6048         (isOpen): Documentation added.
6049         * java/nio/channels/spi/AbstractSelectionKey.java
6050         (AbstractSelectionKey): Documentation added.
6051         (cancel): Documentation added.
6052         (isValid): Documentation added.
6053         * java/nio/channels/spi/AbstractSelector.java
6054         (AbstractSelector): Documentation added.
6055         (begin): Documentation added.
6056         (close): Documentation added.
6057         (isOpen): Documentation added.
6058         (deregister): Documentation added.
6059         (end): Documentation added.
6060         (provider): Documentation added.
6061         (implCloseSelector): Documentation added.
6062         (register): Documentation added.
6063         * java/nio/channels/spi/SelectorProvider.java
6064         (SelectorProvider): Documentation added.
6065         (openDatagramChannel): Documentation added.
6066         (openPipe): Documentation added.
6067         (openSelector): Documentation added.
6068         (openServerSocketChannel): Documentation added.
6069         (openSocketChannel): Documentation added.
6070         (provider): Documentation added.
6071
6072 2002-11-12  Michael Koch <konqueror@gmx.de>
6073
6074         * java/nio/Buffer.java: Implemented.
6075         * java/nio/CharBuffer.java: New file.
6076         * java/nio/InvalidMarkException.java: New file.
6077         * java/nio/channels/DatagramChannel.java: Implemented.
6078         * java/nio/channels/ServerSocketChannel.java: Implemented.
6079         * java/nio/channels/SocketChannel.java: Implemented.
6080         * java/nio/channels/spi/AbstractChannel.java: Removed.
6081         * java/nio/channels/spi/AbstractSelectableChannel.java:
6082         Implemented.
6083         * java/nio/charset/Charset.java:
6084         Merge from Classpath.
6085         * java/nio/charset/CharsetDecoder.java: New file.
6086         * java/nio/charset/CharsetEncoder.java: New file.
6087         * java/nio/charset/CoderResult.java: New file.
6088         * Makefile.am (ordinary_java_source_files): Added new files.
6089         * Makefile.in: Regenerated.
6090
6091 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6092
6093         * gnu/java/nio/charset/ISO_8859_1.java,
6094         gnu/java/nio/charset/Provider.java,
6095         gnu/java/nio/charset/US_ASCII.java,
6096         gnu/java/nio/charset/UTF_16.java,
6097         gnu/java/nio/charset/UTF_16BE.java,
6098         gnu/java/nio/charset/UTF_16Decoder.java,
6099         gnu/java/nio/charset/UTF_16Encoder.java,
6100         gnu/java/nio/charset/UTF_16LE.java,
6101         gnu/java/nio/charset/UTF_8.java: New files.
6102
6103 2002-11-11  Michael Koch <konqueror@gmx.de>
6104
6105         * java/nio/charset/CharacterCodingException.java:
6106         This class must be public.
6107         * java/nio/charset/CoderMalfunctionError.java:
6108         This class must be public.
6109         * java/nio/charset/CodingErrorAction.java:
6110         This class must be public.
6111         * java/nio/charset/IllegalCharsetNameException.java:
6112         This class must be public, better implementation.
6113         * java/nio/charset/MalformedInputException.java:
6114         This class must be public, better implementation.
6115         * java/nio/charset/UnmappableCharacterException.java:
6116         This class must be public, better implementation.
6117         * java/nio/charset/UnsupportedCharsetException.java:
6118         This class must be public, better implementation.
6119
6120 2002-11-11  Michael Koch <konqueror@gmx.de>
6121
6122         * java/nio/BufferOverflowException.java,
6123         java/nio/BufferUnderflowException.java: New file.
6124         * Makefile.am (ordinary_java_source_files):
6125         Added new files.
6126         * Makefile.in: Regenerated.
6127
6128 2002-11-10  Tom Tromey  <tromey@redhat.com>
6129
6130         * java/awt/Container.java (validate): Use tree lock.
6131         (getComponent): Likewise.
6132         (getComponents): Likewise.
6133         (addImpl): Likewise.
6134         (remove): Likewise.
6135         (removeAll): Likewise.
6136         (processEvent): Fixed indentation.
6137         (getComponentAt): Use tree lock.
6138         (findComponentAt): Likewise.
6139         (removeNotify): Likewise.
6140         (isAncestorOf): Likewise.
6141         (list): Likewise.
6142         (visitChildren): Likewise.
6143         (findNextFocusComponent): Likewise.
6144         (addNotifyContainerChildren): Likewise.
6145         (getAccessibleChildrenCount): Likewise.
6146         (getAccessibleChild): Likewise.
6147
6148         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6149         (getSize): Likewise.
6150         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6151         (getSize): Likewise.
6152         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6153         (calcSize): Likewise.
6154         * java/awt/CardLayout.java (getSize): Use tree lock.
6155         (gotoComponent): Likewise.
6156         (layoutContainer): Likewise.
6157
6158         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6159         count is 0.
6160         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6161         count is 0.
6162
6163         * java/io/Externalizable.java, java/io/FilePermission.java,
6164         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6165         java/io/SerializablePermission.java, java/text/Format.java,
6166         java/util/AbstractMap.java, java/util/HashMap.java,
6167         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6168         versions from Classpath.
6169
6170 2002-11-10  Anthony Green  <green@redhat.com>
6171
6172         * java/util/jar/Attributes.java (Name): Fix name check.
6173
6174 2002-11-10  Mark Wielaard  <mark@klomp.org>
6175
6176         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6177         with getName() as message.
6178         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6179         type as message.
6180
6181         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6182         unused.
6183
6184 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6185
6186         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6187         for Win32. JNICALL has been defined to __stdcall to be compatible
6188         with Sun's JDKs.
6189
6190 2002-11-10  Tom Tromey  <tromey@redhat.com>
6191
6192         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6193         (setRows): Check newRows, not rows.
6194
6195         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6196
6197 2002-11-09  Tom Tromey  <tromey@redhat.com>
6198
6199         * java/applet/Applet.java, java/applet/AppletContext.java,
6200         java/applet/AppletStub.java, java/applet/AudioClip.java,
6201         java/awt/CardLayout.java,
6202         java/awt/ContainerOrderFocusTraversalPolicy.java,
6203         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6204         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6205         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6206         java/awt/color/ICC_ColorSpace.java,
6207         java/awt/color/ICC_Profile.java,
6208         java/awt/color/ICC_ProfileGray.java,
6209         java/awt/color/ICC_ProfileRGB.java,
6210         java/awt/datatransfer/DataFlavor.java,
6211         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6212         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6213         New versions from Classpath.
6214         * Makefile.in: Rebuilt.
6215         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6216         ICC_ProfileRGB.
6217
6218         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6219         display policy.
6220
6221         * java/awt/List.java (processEvent): Added missing `else's.
6222
6223         * java/awt/Window.java (show): validate() before showing.  Make
6224         parent displayable.
6225         (isDisplayable): New method.
6226
6227 2002-11-07  Mark Wielaard  <mark@klomp.org>
6228
6229         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6230         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6231
6232         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6233         annotation.
6234         (loadClass): Take String as codebases.
6235         (getClassAnnotation): Use MyClassLoader annotations.
6236         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6237         call exportObject(this).
6238
6239         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6240         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6241         (setAnnotation): Don't set locBytesStream and locStream.
6242         (replaceObject): Removed.
6243         (flush): Don't test locStream.
6244         (getLocBytes): LikeWise.
6245         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6246         (leaseCache): New field.
6247         (dirty): Use leaseCache.
6248         (LeaseRecord): New inner class.
6249         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6250         explicitly call exportObject().
6251         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6252         false to communicate with Sun JDK130.
6253         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6254         * gnu/java/rmi/server/RMIObjectInputStream.java
6255         (UnicastConnectionManager): Removed field.
6256         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6257         Use UnicastServer.getExportedRef().
6258         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6259         (expireTime): Likewise.
6260         (CONNECTION_TIMEOUT): Likewise.
6261         (disconnect): Call sock.close().
6262         (isExpired): New method.
6263         (resetTime): Likewise.
6264         (run): Use do while loop and catch Exception for discardConnection().
6265         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6266         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6267         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6268         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6269         (exportObject): Use refcache.
6270         (unexportObject): Likewise.
6271         (getExportedRef): New method.
6272         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6273         constructor.
6274         (exportObject): Save manager.serverobj.
6275         (getStub): New method.
6276
6277 2002-11-07  Mark Wielaard  <mark@klomp.org>
6278
6279         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6280         (getByte): Likewise.
6281         (getShort): Likewise.
6282         (getInt): Likewise.
6283         (getLong): Likewise.
6284         (getFloat): Likewise.
6285         (getDouble): Likewise.
6286         (get): Likewise.
6287         (setChar): Likewise.
6288         (setByte): Likewise.
6289         (setShort): Likewise.
6290         (setInt): Likewise.
6291         (setLong): Likewise.
6292         (setFloat): Likewise.
6293         (setDouble): Likewise.
6294
6295 2002-11-07  Michael Koch <konqueror@gmx.de>
6296
6297         * java/awt/Choice.java,
6298         java/awt/Container.java,
6299         java/awt/GridBagLayout.java:
6300         Fixed documentation.
6301         * java/awt/peer/ContainerPeer.java:
6302         Reindented.
6303
6304 2002-11-07  Michael Koch <konqueror@gmx.de>
6305
6306         * java/awt/color/ICC_Profile.java:
6307         Added missing constants.
6308         * java/awt/color/ICC_ColorSpace.java
6309         (getMinValue): Added dummy implementation.
6310         (getMaxValue): Added dummy implementation.
6311         * java/awt/datatransfer/DataFlavor.java
6312         (imageFlavor): Added.
6313         (isMimeTypeEqual): Must be final.
6314         (getDefaultRepresentationClass): Must be non-static.
6315         (getDefaultRepresentationClassAsString): Must be non-static.
6316         * java/awt/dnd/DragSourceContext.java
6317         (dragExit): Corrected argument.
6318         (dragDropEnd): Corrected argument.
6319         * java/awt/dnd/DragSourceListener.java.java
6320         (dragExit): Corrected argument.
6321         (dragDropEnd): Corrected argument.
6322         * java/awt/font/TextHitInfo.java
6323         (toString): Added stubbed implementation.
6324         * java/awt/geom/PathIterator.java:
6325         The constants must be static.
6326         * java/awt/image/VolatileImage.java
6327         (IMAGE_INCOMPATIBLE): Fixed typo.
6328         * java/awt/image/renderable/RenderableImage.java
6329         (HINTS_OBSERVED): Must be static.
6330         * java/beans/BeanInfo.java:
6331         Constants must be final.
6332
6333 2002-11-06  Tom Tromey  <tromey@redhat.com>
6334
6335         From svens@it.uu.se.  For PR libgcj/8481.
6336         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6337
6338 2002-11-06  Tom Tromey  <tromey@redhat.com>
6339
6340         * jni.cc (array_from_valist): Assume that jlong won't be
6341         promoted.
6342
6343 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6344
6345         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6346         Return 20.
6347         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6348         Return 16.
6349
6350 2002-11-03  Tom Tromey  <tromey@redhat.com>
6351
6352         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6353         VMClassLoader, not findClass.
6354
6355 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6356
6357         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6358         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6359         _Jv_DetermineVTableIndex, to determine vtable offset.
6360         (_Jv_DetermineVTableIndex): Remove.
6361         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6362
6363         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6364
6365 2002-11-03  Tom Tromey  <tromey@redhat.com>
6366
6367         * java/nio/channels/AlreadyConnectedException.java: Extend
6368         IllegalStateException, per spec.
6369
6370 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6371
6372         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6373
6374 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6375
6376         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6377         size items.
6378
6379 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6380
6381         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6382         initial estimated size to avoid enlarge buffer frequently.
6383
6384 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6385
6386         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6387         ClassLoader when null.
6388         (ProxyType.hashCode): Loader null check no longer needed.
6389         (ProxyType.sameTypes): New method.
6390         (ProxyType.equals): Use new method.
6391
6392 2002-10-31  Mark Wielaard  <mark@klomp.org>
6393
6394         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6395         length of String.
6396         * java/net/URLEncoder.java (encode): Likewise.
6397
6398 2002-10-31  Mark Wielaard  <mark@klomp.org>
6399
6400         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6401         when stream is closed.
6402         (closeEntry): Likewise.
6403         (read): Likewise.
6404         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6405         ZipException when no entry active.
6406         (closeEntry): Likewise.
6407         (write): Likewise.
6408
6409 2002-11-02  Tom Tromey  <tromey@redhat.com>
6410
6411         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6412         * java/lang/natClass.cc (initializeClass): Don't return just
6413         because self==thread.
6414
6415         For PR java/8415:
6416         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6417         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6418
6419 2002-11-02  Andreas Schwab  <schwab@suse.de>
6420
6421         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6422         pass GCJFLAGS.
6423         (FLAGS_TO_PASS): Define.
6424         * Makefile.in: Regenerated.
6425
6426 2002-11-01  Michael Koch  <konqueror@gmx.de>
6427
6428         * java/nio/ByteOrder.java: New file.
6429         * java/nio/channels/DatagramChannel.java:
6430         (DatagramChannel): New constructor.
6431         * java/nio/channels/Pipe.java: New file.
6432         * java/nio/channels/SelectableChannel.java: New file.
6433         * java/nio/channels/SelectionKey.java: New file.
6434         * java/nio/channels/Selector.java: New file.
6435         * java/nio/channels/ServerSocketChannel.java
6436         (ServerSocketChannel): New constructor.
6437         * java/nio/channels/SocketChannel.java
6438         (SocketChannel): New constructor.
6439         * java/nio/channels/Pipe.java: New file.
6440         * java/nio/channels/spi/AbstractChannel.java: New file.
6441         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6442         * java/nio/channels/spi/AbstractSelectableChannel.java:
6443         License added
6444         (AbstractSelectableChannel): New stubbed method.
6445         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6446         * java/nio/channels/spi/AbstractSelector.java: New file.
6447         * java/nio/channels/spi/SelectorProvider.java: New file.
6448         * java/nio/charset/Charset.java: New file.
6449         * java/nio/charset/CoderMalfunctionError.java: New file.
6450         * java/nio/charset/CodingErrorAction.java: New file.
6451         * java/nio/charset/spi/CharsetProvider.java
6452         (charsetForName): Uncommented.
6453         * Makefile.am (java_native_source_files): Added new files.
6454         * Makefile.in: Regenerated.
6455
6456 2002-11-01  Michael Koch  <konqueror@gmx.de>
6457
6458         * java/net/InetAddress.java:
6459         (isAnyLocalAddress): Implemented.
6460         (isLoopbackAddress): Implemented, comment added.
6461         (isLinkLocalAddress): Implemented, documentation added.
6462         (isSiteLocalAddress): Implemented, documentation added.
6463         (isMCGlobal): Implemented, documentation added.
6464         (isMCNodeLocal): Implemented, documentation added.
6465         (isMCLinkLocal): Implemented, documentation added.
6466         (isMCSiteLocal): Implemented, documentation added.
6467         (isMCOrgLocal): Implemented, documentation added.
6468         (getHostName): Documentation added.
6469         (getCanonicalHostName): Implemented, documentation added.
6470         (getAddress): Documentation added.
6471         (hashCode): Documentation added.
6472         (equals): Documentation added.
6473         (toString): Fixed implementation.
6474         (getByAddress): Use Inet4Address and Inet6Address.
6475         (lookup): New linewrap.
6476         (getByName): SecurityManager check added, support Inet4Address and
6477         Inet6address, comments added.
6478         (getAllByName): SecurityManager check added, comments added.
6479         * java/net/Inet6Address.java:
6480         (Inet6Address): Initialize parent class with addr instead of null.
6481         * java/net/URL.java
6482         (equals): Documentation added.
6483         (getFile): Documentation added.
6484         (hashCode): Documentation added.
6485         * java/net/natInetAddress.cc:
6486         (aton): Fix IPv6 support.
6487         * java/net/natPlainDatagramSocketImpl.cc:
6488         (peek): Throw PortUnreachableException when suitable.
6489         (peekData): Throw PortUnreachableException when suitable.
6490         (send): Throw PortUnreachableException when suitable.
6491         (receive): Throw PortUnreachableException when suitable.
6492
6493 2002-10-27  Mark Wielaard  <mark@klomp.org>
6494
6495         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6496         argument.
6497         (readLeShort): Likewise and use byte[].
6498         (readLeInt): Likewise.
6499         (readEntries): Use new versions of methods and use byte[] for reading
6500         a complete zip entry. Add ZipFile name to exceptions.
6501         (entries): Add ZipFile name to exceptions.
6502         (getEntry): Likewise.
6503         (checkLocalHeader): Use new versions of methods and add ZipFile name
6504         to exceptions.
6505
6506 2002-10-31  Mark Anderson  <mark@panonet.net>
6507
6508         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6509         added
6510
6511 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6512
6513         * configure.in: Disable hash sync when not using threads.
6514         * configure: Regenerated.
6515
6516 2002-10-24  Tom Tromey  <tromey@redhat.com>
6517
6518         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6519         (_Jv_FindSymbolInExecutable): Removed argument name.
6520         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6521         java.library.path is set.
6522
6523         * gij.cc (help): Document --showversion.
6524         (version): Don't exit.
6525         (main): Handle --showversion.  Exit if --version given.
6526
6527 2002-10-23  Tom Tromey  <tromey@redhat.com>
6528
6529         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6530         (array_from_valist): Correctly handle promotion for jint, jlong,
6531         jfloat, and jdouble.
6532
6533 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6534
6535         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6536         GetFileAttributesEx( ) to find file length and modification times,
6537         as the latter is not present on Windows 95.
6538
6539 2002-10-21  Michael Koch  <konqueror@gmx.de>
6540
6541         * java/net/URL.java
6542         (URL): Activate SecurityManager checks.
6543         (equals): Use URLStreamHandler implementation instead of doing it
6544         alone. This allows special protocol stream handlers to change default
6545         behaviour.
6546         (hashCode): Use URLStreamHandler implementation instead of doing it
6547         alone. This allows special protocol stream handlers to change default
6548         behaviour.
6549         * java/net/URLStreamHandler.java
6550         (equals): Implemented default URL equality check.
6551         (hostsEqual): Implemented default URL equality check.
6552         (hashCode): Implemented default URL hashCode algorithm.
6553         * java/net/natPlainDatagramSocketImpl.cc:
6554         No lines longer then 80 characters.
6555
6556 2002-10-20  Adam Megacz <adam@xwt.org>
6557
6558         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6559         * configure.in: enabled hash sync on Win32
6560         * include/win32-threads.h (_Jv_ThreadId_t): added.
6561         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6562         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6563         removed some posix-isms, use Thread::sleep() instead of usleep,
6564         added code to clear bottom three bits if platform has a broken
6565         linker.
6566         * include/win32-threads.h (_Jv_ThreadId_t): added.
6567
6568 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6569
6570         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6571         runtime property "gnu.gcj.progname" containing the name used to
6572         invoke the current Java program (similar to argv[0] for C
6573         programs).
6574
6575 2002-10-15  Tom Tromey  <tromey@redhat.com>
6576
6577         Fix for PR libgcj/8234:
6578         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6579         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6580
6581 2002-10-13  Mark Wielaard  <mark@klomp.org>
6582
6583         * mauve-libgcj: Enable Mauve tests that compile now.
6584
6585 2002-10-11  Mark Wielaard  <mark@klomp.org>
6586
6587         Fix for PR libgcj/8142
6588         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6589         loading native modules.
6590
6591 2002-10-10  Michael Koch  <konqueror@gmx.de>
6592
6593         * javax/swing/AbstractListModel.java
6594         (getListDataListeners): New stubbed method.
6595         javax/swing/DefaultBoundedRangeModel.java
6596         (getChangeListeners): New stubbed method.
6597         javax/swing/DefaultSingleSelectionModel.java
6598         (getChangeListeners): New stubbed method.
6599
6600 2002-10-10  Michael Koch  <konqueror@gmx.de>
6601
6602         * gcj/.cvsignore: New file to ignore files generated during build.
6603         * include/.cvsignore: New file to ignore files generated during build.
6604
6605 2002-10-10  Michael Koch  <konqueror@gmx.de>
6606
6607         * java/net/HttpURLConnection.java
6608         (getPermission): New method.
6609         (getErrorStream): New stub method.
6610         (getHeaderFieldDate): New stub method.
6611         * java/net/Inet4Address.java:
6612         (isLinkLocalAddress): Typo fixed.
6613         * java/net/InetAddress.java:
6614         (readResolve): New stubbed method (for serialization).
6615         (isAnyLocalAddress): New stubbed method.
6616         (isLoopbackAddress): New stubbed method.
6617         (isLinkLocalAddress): New stubbed method.
6618         (isSiteLocalAddress): New stubbed method.
6619         (isMCGlobal): New stubbed method.
6620         (isMCNodeGlobal): New stubbed method.
6621         (isMCLinkLocal): New stubbed method.
6622         (isMCSiteLocal): New stubbed method.
6623         (isMCOrgLocal): New stubbed method.
6624         (getCanonicalHostName): New stubbed method.
6625         (getByAddress): Create instances of Inet4Address/Inet6Address,
6626         instead of InetAddress, documentation added.
6627         * java/net/MulticastSocket.java
6628         (getInterface): Removed FIXME.
6629         (getNetworkInterface): New method.
6630         (setNetworkInterface): New method.
6631         * java/net/NetworkInterface.java:
6632         (toString): Use property "line.separator" instead of "\n".
6633         * java/net/URLConnection.java
6634         (getContent): New stubbed method.
6635         * java/net/URLStreamHandler.java:
6636         (equals): New stubbed method.
6637         (hostsEqual): New stubbed method.
6638         (hashCode): New stubbed method.
6639         * java/net/natNetworkInterface.cc:
6640         (getRealNetworkInterfaces): Create Inet4Address object
6641         instead of InetAddress.
6642
6643 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6644
6645         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6646         unsigned long temporary to implement insn_iushr shifts.
6647
6648 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6649
6650         * configure.host [s390*-*]: Enable Java interpreter.
6651         Enable hash synchronization.  Add sysdeps dir.
6652         * sysdep/s390/locks.h: New file.
6653
6654 2002-10-06  Mark Wielaard  <mark@klomp.org>
6655
6656         * java/lang/Thread.java (setDaemon): Check startable_flag,
6657         not isAlive().
6658
6659 2002-10-07  Michael Koch  <konqueror@gmx.de>
6660
6661         * java/nio/Buffer.java: New stub file.
6662         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6663         of class Charset.
6664         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6665         * Makefile.in: Regenerated.
6666
6667 2002-10-07  Michael Koch  <konqueror@gmx.de>
6668
6669         * java/nio/ByteBuffer.java:
6670         removed import of not commited class.
6671
6672 2002-10-07  Michael Koch  <konqueror@gmx.de>
6673
6674         * java/nio/ByteBuffer.java,
6675         java/nio/MappedByteBuffer.java:
6676         New files, forgot to add these dummies.
6677         * Makefile.am (java_native_source_files): Added new files.
6678         * Makefile.in: Regenerated.
6679
6680 2002-10-07  Michael Koch  <konqueror@gmx.de>
6681
6682         * java/nio/channels/AlreadyConnectedException.java,
6683         java/nio/channels/ClosedChannelException.java,
6684         java/nio/channels/ReadableByteChannel.java,
6685         java/nio/channels/InterruptibleChannel.java,
6686         java/nio/channels/Channel.java,
6687         java/nio/channels/ByteChannel.java,
6688         java/nio/channels/GatheringByteChannel.java,
6689         java/nio/channels/ScatteringByteChannel.java,
6690         java/nio/channels/WritableByteChannel.java,
6691         java/nio/charset/CharacterCodingException.java,
6692         java/nio/charset/IllegalCharsetNameException.java,
6693         java/nio/charset/MalformedInputException.java,
6694         java/nio/charset/UnmappableCharacterException.java,
6695         java/nio/charset/UnsupportedCharsetException.java,
6696         java/nio/charset/spi/CharsetProvider.java: New file.
6697         These files are exceptions or interfaces,
6698         no real or abstract classes.
6699         * Makefile.am (java_native_source_files): Added new files.
6700         * Makefile.in: Regenerated.
6701
6702 2002-10-05  Michael Koch  <konqueror@gmx.de>
6703
6704         * java/net/InetAddress.java
6705         (getByAddress): Fixed documentation.
6706         (getByAddress): New method.
6707         * java/net/Inet4Address.java: New file.
6708         * java/net/URL.java
6709         (URL): Documentation added.
6710         (getContent): Documentation added.
6711         (getContent): New stubbed method.
6712         (getQuery): New method.
6713         (openConnection): Documentation added.
6714         (openStream): Documentation added.
6715         (setURLStreamHandlerFactory): Documentation added.
6716         * java/net/URI.java: New stub file.
6717         * Makefile.am
6718         (java_native_source_files): Added java/net/Inet4Address.java,
6719         java/net/Inet6Address.java and java/net/URI.java.
6720         * Makefile.in: Regenerated.
6721
6722 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6723
6724         * java/lang/ProtectionDomain.java (linesep): Remove field.
6725         (toString): Use System.getProperty("line.separator").
6726
6727 2002-10-04  Michael Koch  <konqueror@gmx.de>
6728
6729         * java/security/Identity.java: Added serialVersionUID.
6730         * java/security/KeyPair.java: Added serialVersionUID.
6731         * java/security/Provider.java: Added serialVersionUID.
6732         * java/security/SecureRandom.java: Added serialVersionUID.
6733         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6734         * java/security/SignedObject.java: Added serialVersionUID.
6735         * java/security/cert/Certificate.java: Added serialVersionUID.
6736
6737 2002-10-04  Mark Wielaard <mark@klomp.org>
6738
6739         * java/security/Security.java: Use java.home or gnu.classpath.home
6740         to load providers.
6741         (loadProviders): Extra dir argument.
6742         (getProvider): Return null when not found.
6743
6744 2002-10-04  Mark Wielaard  <mark@klomp.org>
6745
6746         * java/lang/Throwable.java: Remerge with Classpath.
6747
6748 2002-10-04  Michael Koch  <konqueror@gmx.de>
6749
6750         * java/net/InetAddress.java:
6751         (isMulticastAddress): Added documentation.
6752         (getHostAddress): Added documentation.
6753         (toString): Added documentation.
6754         (getByAddress): Fixed documentation.
6755         (getByName): Added documentation.
6756         (getAllByName): Added documentation.
6757         (getLocalHost): Added documentation.
6758
6759 2002-10-04  Michael Koch  <konqueror@gmx.de>
6760
6761         * java/beans/beancontext/BeanContextChildSupport.java:
6762         Added serialVersionUID.
6763         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6764         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6765         * javax/naming/Name.java: Added serialVersionUID.
6766
6767 2002-10-03  Adam Megacz <adam@xwt.org>
6768
6769         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6770         some functionality that isn't supported yet on WIN32.
6771
6772 2002-10-03  Tom Tromey  <tromey@redhat.com>
6773
6774         * Makefile.in: Rebuilt.
6775         * Makefile.am (awt_java_source_files): Added new files.
6776
6777 2002-10-03  Michael Koch  <konqueror@gmx.de>
6778
6779         * java/net/InetAddress.java
6780         (class InetAddress): Removed final keyword.
6781         (equals): Fixed typo.
6782         (getByAddress): New method.
6783
6784 2002-10-03  Michael Koch  <konqueror@gmx.de>
6785
6786         * java/awt/dnd/Autoscroll.java:
6787         New file, merge from Classpath.
6788         * java/awt/dnd/DragSourceAdapter.java:
6789         (dragExit): Fixed typos in argument type.
6790         (dragDropEnd): Fixed typos in argument type.
6791         * java/awt/dnd/DragSourceDropEvent.java:
6792         New file, merge from Classpath.
6793         * java/awt/dnd/DropTarget.java:
6794         Added stubs, merge from Classpath.
6795         * java/awt/dnd/DropTargetAdapter.java:
6796         New file, merge from Classpath.
6797         * java/awt/dnd/DropTargetContext.java:
6798         New file, merge from Classpath.
6799         * java/awt/dnd/DropTargetDragEvent.java:
6800         New file, merge from Classpath.
6801         * java/awt/dnd/DropTargetDropEvent.java:
6802         New file, merge from Classpath.
6803         * java/awt/dnd/DropTargetEvent.java:
6804         New file, merge from Classpath.
6805         * java/awt/dnd/DropTargetListener.java:
6806         New file, merge from Classpath.
6807         * java/awt/dnd/MouseDragGestureRecognizer.java:
6808         New file, merge from Classpath.
6809         * java/awt/dnd/peer/DropTargetContextPeer.java:
6810         New file, merge from Classpath.
6811
6812 2002-10-03  Michael Koch  <konqueror@gmx.de>
6813
6814         * java/net/DatagramPacket.java
6815         (setLength): Fixed typo and be HTML-aware.
6816         * java/net/InetSocketAddress.java
6817         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6818         (equals): Added comment about equality of InetSocketAddress objects.
6819         * java/net/ServerSocket.java
6820         (accept): Added checks.
6821         (isClosed): New stubbed method.
6822         * java/net/SocketOptions.java: Reindention.
6823         * java/net/SocketPermission
6824         (SocketPermission): Documentation fixed.
6825
6826 2002-10-03  Michael Koch  <konqueror@gmx.de>
6827
6828         * java/net/DatagramSocket.java
6829         (receive): Check with SecurityManager AFTER the packet is received,
6830         check if connected to multicast address, documentation added.
6831         (send): Only check SecurityManager if connected, check address of
6832         packet to send.
6833         (connect): Implemented, documentation added.
6834         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6835         * java/net/InetSocketAddress.java
6836         (whole file): Reindented.
6837         (hostname): New attribute.
6838         (InetSocketAddress): Initialize new attribute.
6839         (getAddress): Documentation added.
6840         (getHostName): Documentation added.
6841         (getPort): Documentation added.
6842         (hashCode): Documentation added.
6843         (isUnresolved): Documentation added.
6844         (toString): Conform to output of JDK 1.4.1, documentation added.
6845         * java/net/MulticastSocket.java
6846         (joinGroup): Removed FIXME, documentation added.
6847         (leaveGroup): Removed FIXME, documentation added.
6848         (send): Documentation added.
6849         * java/net/Socket.java
6850         (inputShutdown): New variable.
6851         (outputShutdown): New variable.
6852         (Socket): Initialize new variables.
6853         (getRemoteSocketAddress): Check if connected.
6854         (shutdownInput): Set new variable.
6855         (shutdownOutput): Set new variable.
6856         (isConnected): New method.
6857         (isClosed): New method.
6858         (isInputShutdown): New method.
6859         (isOutputShutdown): New method.
6860         * java/net/URLStreamHandler.java
6861         (URLStreamHandler): New method.
6862         (openConnection): Added documentation.
6863         (parseURL): Added documentation.
6864         (getHostAddress): New method.
6865         (getDefaultPort): New method.
6866
6867 2002-10-02  Tom Tromey  <tromey@redhat.com>
6868
6869         * java/rmi/activation/ActivationDesc.java,
6870         java/rmi/activation/ActivationGroupDesc.java,
6871         java/rmi/activation/ActivationGroupID.java,
6872         java/rmi/activation/ActivationID.java: New versions from
6873         Classpath.
6874
6875 2002-09-30  Bo Thorsen  <bo@suse.de>
6876
6877         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6878
6879 2002-09-30  Tom Tromey  <tromey@redhat.com>
6880
6881         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6882         from Classpath.
6883         * Makefile.in: Rebuilt.
6884         * Makefile.am (rmi_java_source_files): Added new files.
6885         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6886         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6887         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6888         Classpath.
6889         * gnu/java/rmi/dgc/DGCImpl.java,
6890         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6891         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6892         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6893         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6894         gnu/java/rmi/server/RMIHashes.java,
6895         gnu/java/rmi/server/RMIObjectInputStream.java,
6896         gnu/java/rmi/server/RMIObjectOutputStream.java,
6897         gnu/java/rmi/server/UnicastConnection.java,
6898         gnu/java/rmi/server/UnicastConnectionManager.java,
6899         gnu/java/rmi/server/UnicastRef.java,
6900         gnu/java/rmi/server/UnicastServer.java,
6901         gnu/java/rmi/server/UnicastServerRef.java,
6902         java/rmi/MarshalledObject.java,
6903         java/rmi/server/RMIClassLoader.java,
6904         java/rmi/server/RemoteObject.java,
6905         java/rmi/server/UnicastRemoteObject.java,
6906         java/security/SecureClassLoader.java: Merged from Classpath.
6907
6908 2002-09-29  Anthony Green  <green@redhat.com>
6909
6910         * java/lang/reflect/UndeclaredThrowableException.java: New file.
6911         Imported from GNU Classpath.
6912         * java/lang/reflect/natProxy.cc: New file.
6913         * java/lang/reflect/InvocationHandler.java: New file.  Imported
6914         from GNU Classpath.
6915         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
6916         Classpath.
6917         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
6918         Classpath.
6919         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
6920         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
6921         New statics.
6922         * gcj/javaprims.h ("Java"): Add new classes.
6923         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
6924         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
6925         java/lang/reflect/Proxy$$ProxyType.h): And this.
6926         (inner_nat_headers): Add these new headers.
6927         (ordinary_java_source_files): Add new files.
6928         (nat_source_files): Add new file.
6929         * Makefile.in: Rebuilt.
6930
6931 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
6932
6933         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
6934         a single configuration.
6935
6936 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6937
6938         * java/util/TimeZone.java (getDSTSavings): New method.
6939         Fixes PR libgcj/7786.
6940
6941 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6942
6943         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
6944         to see if `the_method == 0' before looking up vtable index.
6945         Fixes PR libgcj/7709.
6946
6947 2002-09-25  Tom Tromey  <tromey@redhat.com>
6948
6949         * java/lang/natClassLoader.cc:
6950         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
6951         * resolve.cc: Include NoClassDefFoundError.h, not
6952         ClassNotFoundException.h.
6953         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
6954
6955         * defineclass.cc: Don't include ClassNotFoundException.h.
6956
6957         * resolve.cc: Include StringBuffer.
6958         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
6959
6960         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
6961         allocated but not initialized.
6962
6963 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6964
6965         Fix for PR libgcj/7766:
6966         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
6967         (getNextEntry): Set it.
6968         (closeEntry): Likewise.
6969         (read): Likewise.
6970         (close): Likewise.
6971         (available): Use it.
6972
6973 2002-09-25  Michael Koch  <konqueror@gmx.de>
6974
6975         * java/net/DatagramSocket.java
6976         (DatagramSocket): Initialize new instance variables.
6977         (close): Reset new instance variables.
6978         (getLocalAddress): Remove unneeded SecurityManager usage.
6979         (getLocalPort): Check if socket is already bound.
6980         (isConnected): New method.
6981         (getInetAddress): Implemented.
6982         (getPort): Better Implementation, documentation fixed.
6983         (getRemoteSocketAddress): New method.
6984         * java/net/JarURLConnection.java
6985         (element): Typo fixed.
6986         (getMainAttributes): New method.
6987         (getAttributes): New method (stub only).
6988         (getManifest): New method (stub only).
6989         * java/net/NetPermission.java: Added serialVersionsUID.
6990         * java/net/Socket.java
6991         (connect): Check blocking mode of associated channel,
6992         documentation added.
6993         (getLocalSocketAddress): Better implementation.
6994         (getRemoteSocketAddress): Implemented.
6995         (isBound): New method.
6996         (setSendBufferSize): Documentation added.
6997         * java/net/SocketAddress.java: Added serialVersionsUID.
6998         * java/net/SocketPermission.java: Added serialVersionsUID.
6999         * java/net/URL.java
7000         (URL): Wrap for shorter lines, initialize new instance variables,
7001         documentation added.
7002         (equals): Check new instance variables too.
7003         (getContent): Documentation added.
7004         (getPath): Documentation added.
7005         (getAuthority): New method.
7006         (getHost): Documentation added.
7007         (getPort): Documentation added.
7008         (getDefaultPort): New method.
7009         (getProtocol): Documentation added.
7010         (getUserInfo): Documentation added.
7011         (set): Initialize new instance variables, documentation added.
7012         * java/net/URLStreamHandler.java
7013         (setURL): New method.
7014         * java/net/natPlainDatagramSocketImpl.cc
7015         (connect): Fix exception name.
7016         (disconnect): Fix exception name.
7017
7018 2002-09-25  Michael Koch  <konqueror@gmx.de>
7019
7020         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7021         * java/nio/channels/DatagramChannel.java:
7022         extends AbstractSelectableChannel
7023         * java/nio/channels/ServerSocketChannel.java:
7024         extends AbstractSelectableChannel
7025         * java/nio/channels/SocketChannel.java:
7026         extends AbstractSelectableChannel
7027         * Makefile.am (ordinary_java_source_files):
7028         java/nio/channels/spi/AbstractSelectableChannel.java added.
7029         * Makefile.in: Regenerated.
7030
7031 2002-09-25  Michael Koch  <konqueror@gmx.de>
7032
7033         * java/net/DatagramSocket.java
7034         (DatagramSocket): Exception documentation added.
7035         (bind): Exception documentation added, addded SecurityManager check,
7036         added SocketAddress type check.
7037         (getSoTimeout): Check impl.
7038         (receive): Fix SecurityManager check, check impl, documentation added.
7039         (send): Check channel mode, documentation added.
7040         (connect): New method.
7041         (disconnect): Implemented.
7042         (getLocalSocketAddress): New method.
7043         (getReceiveBufferSize): Check impl.
7044         (setReuseAddress): Check impl.
7045         (getReuseAddress): Check impl.
7046         (setBroadcast): Check impl.
7047         (getBroadcast): Check impl.
7048         (setTrafficClass): Check impl, Documentation cleared.
7049         (getTrafficClass): Check impl.
7050         (getSendBufferSize): Check impl.
7051         (setReceiveBufferSize): Check impl, documentation added.
7052         (setSendBufferSize): Documentation added.
7053         (setDatagramSocketImplFactory): New method.
7054         * java/net/HttpURLConnection.java
7055         (HTTP_INTERNAL_ERROR): The correct code is 500.
7056         (HTTP_NOT_IMPLEMENTED): Added new constant.
7057         (setFollowRedirects): Documentation added.
7058         (getInstanceFollowRedirects): New method.
7059         (setInstanceFollowRedirects): New method.
7060         (setRequestMethod): Documentation added.
7061         (getResponseCode): Documentation added.
7062         (getResponseMessage): Documentation added.
7063         * java/net/JarURLConnection.java
7064         (JarURLConnection): protected since JDK 1.4.
7065         (getJarEntry): java.io.IOException to IOException, documentation added.
7066         (getJarFile): Documentation added.
7067         * java/net/ServerSocket.java
7068         (ServerSocket): Private to public, exception added.
7069         (ServerSocket): java.io.IOException to IOException, documentation added.
7070         (bind): Check socket address type, documentation added.
7071         (bind): java.io.IOException to IOException, documentation added.
7072         (accept): Documentation added.
7073         (implAccept): Check ch is not non-blocking, documentation added.
7074         (setSoTimeout): Documentation fixed.
7075         (setReceiveBufferSize): Documentation added.
7076         * java/net/Socket.java
7077         (Socket): Documentation added.
7078         (bind): Documentation added.
7079         (connect): Check socket address type, documentation added.
7080         (getRemoteSocketAddress): New method.
7081         (getLocalSocketAddress): New method.
7082         (setSoLinger): Documentation added.
7083         (getReuseAddress): New method.
7084         (setReuseAddress): New method.
7085         (getTrafficClass): New method.
7086         (setTrafficClass): New method.
7087         * java/net/URLStreamHandler.java
7088         (openConnection): java.io.IOException to IOException.
7089         (parseURL): Documentation added.
7090         (sameFile): public to protected, documentation added.
7091         (setURL): Documentation added.
7092         * java/nio/IllegalBlockingModeException.java: New file.
7093         * Makefile.am (ordinary_java_source_files):
7094         added java/nio/IllegalBlockingModeException.java
7095         * Makefile.in: Regenerated.
7096
7097 2002-09-25  Michael Koch  <konqueror@gmx.de>
7098
7099         * java/net/DatagramPacket
7100         (DatagramPacket): Exception documentation added.
7101         (setData): Likewise.
7102         (setSocketAddress): Likewise.
7103         * java/net/DatagramSocketImpl.java
7104         (peek): Documentation addded.
7105         (peekData): Documentation addded.
7106         (send): Documentation addded.
7107         (receive): Documentation addded.
7108         (connect): New method.
7109         (disconnect): New method.
7110         (joinGroup): New abstract method.
7111         (leaveGroup): New abstract method.
7112         * java/net/InetSocketAddress.java
7113         (InetSocketAddress): Documentation added.
7114         (equals): final keyword added.
7115         (getAddress): final keyword added.
7116         (getHostName): final keyword added.
7117         (getPort): final keyword added.
7118         (hashCode): final keyword added.
7119         (isUnresolved): final keyword added.
7120         * java/net/MulticastSocket.java
7121         (MulticastSocket): Documentation added.
7122         (MulticastSocket): New method.
7123         (joinGroup): Documentation added.
7124         (joinGroup): New method.
7125         (leaveGroup): Documentation added.
7126         (leaveGroup): New method.
7127         (send): Documentation added.
7128         * java/net/NetworkInterface.java
7129         (getByName): Documentation added.
7130         (getByInetAddress): Documentation added.
7131         (getNetworkInterfaces): Documentation added.
7132         * java/net/PlainDatagramSocketImpl.java
7133         (connect): New method.
7134         (disconnect): New method.
7135         * java/net/SocketImpl.java
7136         (create): Documentation added.
7137         (shutdownInput): Convert public to protected, as it always was.
7138         (shutdownOutput): Convert public to protected, as it always was.
7139         * java/net/SocketOptions.java
7140         (whole file): Reintented.
7141         * java/net/URLClassLoader.java
7142         (URLClassLoader): SecurityManager check added, documentation added.
7143         (findResources): Documentation added.
7144         (findClass): Documentation added.
7145         (newInstance): More correct method arguments.
7146         * java/net/URLConnection.java
7147         (connect): Documentation added.
7148         (getContent): Documentation added.
7149         (getPermission): Documentation added.
7150         (getInputStream): Documentation added.
7151         (getOutputStream): Documentation added.
7152         (setDoInput): Throw correct exception, documentation added.
7153         (setDoOutput): Throw correct exception, documentation added.
7154         (setAllowUserInteraction): Throw correct exception, documentation added.
7155         (setUseCaches): Throw correct exception, documentation added.
7156         (setIfModifiedSince): Throw correct exception, documentation added.
7157         (setRequestProperty): Throw exception, documentation added.
7158         (addRequestProperty): Throw exception, documentation added.
7159         (getRequestProperty): Throw exception, documentation added.
7160         (getRequestProperties): Documentation added.
7161         (setContentHandlerFactory): Documentation added.
7162         (guessContentTypeFromName): protected to public.
7163         (setFileNameMap): Documentation added.
7164         * java/net/URLDecoder.java
7165         (URLDecoder): New method.
7166         (decode): Documentation added.
7167         (whole file): Reindented.
7168         * java/net/URLEncoder.java
7169         (encode): Documentation added.
7170         * java/net/natPlainDatagramSocketImpl.cc
7171         (connect): New method.
7172         (disconnect): New method.
7173         * javax/naming/RefAddr:
7174         (addrType): addrType was never final.
7175         (equals): Fix typo in method name.
7176         * javax/naming/BinaryRefAddr:
7177         (equals): Fix typo in method name.
7178
7179 2002-09-22  Tom Tromey  <tromey@redhat.com>
7180
7181         Fix for PR libgcj/6576:
7182         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7183         didn't find a given bundle.
7184         (getBundle): Don't require base bundle.
7185         (setParent): Removed old comment.
7186         (tryLocalBundle): Try components even if preceding components were
7187         empty.
7188
7189 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7190
7191         * Makefile.am (all-multi): Fix multilib parallel build.
7192
7193 2002-09-21  Michael Koch  <konqueror@gmx.de>
7194
7195         * java/net/Socket.java
7196         (sendUrgentData): New method.
7197         (getChannel): New method.
7198         * java/net/ServerSocket.java
7199         (getChannel): New method.
7200         (isBound): New method.
7201         * java/net/DatagramSocket.java
7202         (DatagramSocket): Two new methods.
7203         (bind): New method.
7204         (getChannel): New method.
7205         (isBound): New method.
7206         (send): Added newline to to make shorter lines.
7207         * java/net/PlainDatagramSocketImpl.java
7208         (mcastGrp): Added argument.
7209         (join): Use new mcastGrp.
7210         (leave): Use new mcastGrp.
7211         (joinGroup): New method.
7212         (leaveGroup): New method.
7213         * java/net/natPlainDatagramSocketImpl.cc
7214         (mcastGrp): Added argument, no yet really implemented.
7215         (getOption): Added newline for shorter lines.
7216         * java/net/natPlainSocketImpl.cc
7217         (read, setOption, getOption): Added newline for shorter lines.
7218
7219 2002-09-19  Tom Tromey  <tromey@redhat.com>
7220
7221        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7222        newly-created exception.
7223
7224 2002-09-18  Michael Koch  <konqueror@gmx.de>
7225
7226         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7227         java/util/regex/PatternSyntaxException.java:
7228         Merge with classpath, new files.
7229         * Makefile.am (core_java_source_files):
7230         Added java/util/regex/Matcher.java,
7231         java/util/regex/Pattern.java,
7232         java/util/regex/PatternSyntaxException.java
7233         * Makefile.in: Regenerated.
7234         * include/config.h.in: Added HAVE_NET_IF_H.
7235         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7236         Removed #if 0 ... #endif.
7237
7238 2002-09-17  Michael Koch  <konqueror@gmx.de>
7239
7240         * java/net/natNetworkInterface.cc:
7241         Removed unneed and yet wrong includes.
7242
7243 2002-09-17  Michael Koch  <konqueror@gmx.de>
7244
7245         * java/net/NetworkInterface.java: New file.
7246         * java/net/natNetworkInterface.java: New file.
7247         * configure.in: Added check for net/if.h.
7248         * configure: Regenerated.
7249         * Makefile.am
7250         (ordinary_java_source_files): Added NetworkInterface.java.
7251         (nat_source_files): Added natNetworkInterface.cc.
7252         * Makefile.in: Regenerated.
7253
7254 2002-09-16  Tom Tromey  <tromey@redhat.com>
7255
7256         * java/net/URLClassLoader.java (findClass): Code source for a
7257         class from a jar is not necessarily a jar: URL.
7258
7259 2002-09-16  Michael Koch  <konqueror@gmx.de>
7260
7261         * java/lang/AssertionError.java:
7262         Merge with classpath, fixes HTML.
7263         * java/rmi/server/LogStream.java:
7264         Merge with classpath, fixes some constants.
7265         * java/net/server/RemoteServer.java:
7266         Merge with classpath, adds serialVersionUID.
7267         * javax/naming/BinaryRefAddr.java:
7268         Merge with classpath, s/equal/equals/.
7269         * javax/naming/NamingException.java:
7270         Merge with classpath, fixed typo.
7271         * javax/naming/RefAddr.java:
7272         Merge with classpath, s/equal/equals/.
7273         * java/awt/Toolkit.java:
7274         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7275         and typo fixed.
7276
7277 2002-09-15  Adam Megacz <adam@xwt.org>
7278
7279         * java/net/natPlainSocketImpl.cc: fixed typo.
7280
7281 2002-09-15  Adam Megacz <adam@xwt.org>
7282
7283         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7284         which don't work on Win32 (yet).
7285
7286 2002-09-14  Adam Megacz <adam@xwt.org>
7287
7288         * java/net/natPlainDatagramSocket.cc: removed #include
7289         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7290         * include/win32.h: included definition for IP_TOS to satisfy
7291         natPlainDatagramSocket.cc
7292
7293 2002-09-13  Michael Koch  <konqueror@gmx.de>
7294
7295         * java/net/DatagramPacket.java (DatagramPacket):
7296         Added linebreak for 80 chars per line.
7297         * java/net/JarURLConection.java
7298         (getInputStreami, getJarEntry): Likewise.
7299         * java/net/SocketPErmission.java
7300         (SocketPermission class docu, implies): Likewise.
7301         * java/net/URLClassLoader.java (findResources): Likewise.
7302         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7303
7304 2002-09-13  Michael Koch  <konqueror@gmx.de>
7305
7306         * java/nio/channels/DatagramChannel.java,
7307         java/nio/channels/ServerSocketChannel.java
7308         java/nio/channels/SocketChannel.java:
7309         New dummy files to make java.net fully JDK 1.4 compatible
7310         * Makefile.am (ordinary_java_source_files): Added
7311         java/net/DatagramSocketImplFactory.java (long forgotten),
7312         java/nio/SocketChannel.java,
7313         java/nio/ServerSocketChannel.java,
7314         java/nio/DatagramChannel.java
7315         * Makefile.in: Regenrated.
7316
7317 2002-09-12  Michael Koch  <konqueror@gmx.de>
7318
7319         * java/net/DatagramSocketImpl.java
7320         (peekData): New method.
7321         * java/net/PlainDatagramSocketImpl.java
7322         (peekData): New method.
7323         * java/net/natPlainDatagramSocketImpl.cc
7324         (peekData): New method.
7325         * java/net/URLConnection
7326         (getPermission): New method.
7327         (addRequestProperty): New method.
7328         (getRequestProperties): New method.
7329         (guessContentTypeFromStream): New method, not really implemented.
7330         (URLConnection): Added/updated documentation.
7331         (connect): Added/updated documentation.
7332         (getURL): Added/updated documentation.
7333         (getContentLength): Added/updated documentation.
7334         (getContentType: Added/updated documentation.
7335         (getContentEncoding): Added/updated documentation.
7336         (getExpiration): Added/updated documentation.
7337         (getDate): Added/updated documentation.
7338         (getLastModified): Added/updated documentation.
7339         (getHeaderField): Added/updated documentation.
7340         (getHeaderFields): Added/updated documentation.
7341         (getHeaderFieldInt): Added/updated documentation.
7342         (getHeaderFieldDate): Added/updated documentation.
7343         (getHeaderFieldKey): Added/updated documentation.
7344         (getContent): Added/updated documentation.
7345         (getInputStream): Added/updated documentation.
7346         (getOutputStream): Added/updated documentation.
7347         (toString): Added/updated documentation.
7348         (setDoInput): Added/updated documentation.
7349         (getDoInput): Added/updated documentation.
7350         (setDoOutput): Added/updated documentation.
7351         (getDoOutput): Added/updated documentation.
7352         (setAllowUserInteraction): Added/updated documentation.
7353         (getAllowUserInteraction): Added/updated documentation.
7354         (setDefaultAllowUserInteraction): Added/updated documentation.
7355         (getDefaultAllowUserInteraction): Added/updated documentation.
7356         (setUseCaches): Added/updated documentation.
7357         (getUseCaches): Added/updated documentation.
7358         (setIfModifiedSince): Added/updated documentation.
7359         (getIfModifiedSince): Added/updated documentation.
7360         (getDefaultUseCaches): Added/updated documentation.
7361         (setDefaultUseCaches): Added/updated documentation.
7362         (setRequestProperty): Added/updated documentation.
7363         (getRequestProperty): Added/updated documentation.
7364         (setDefaultRequestProperty): Added/updated documentation.
7365         (getDefaultRequestProperty): Added/updated documentation.
7366         (setContentHandlerFactory): Added/updated documentation.
7367         (guessContentTypeFromName): Added/updated documentation.
7368         (getFileNameMap): Added/updated documentation.
7369         (setFileNameMap): Added/updated documentation.
7370
7371 2002-09-11  Michael Koch  <konqueror@gmx.de>
7372
7373         * java/net/Socket.java
7374         (Socket): protected to public (since JDK 1.4). Added @specnote.
7375         (bind): New method.
7376         (connect): Two new methods.
7377         (getKeepalive): Get correct socket option.
7378         (setKeepalive): Set correct socket option.
7379         (getOOBInline): New method.
7380         (setOOBInline): New method.
7381         * java/net/ServerSocket.java
7382         (bind): Two new methods.
7383         (getInetAddress): Reimplemented, catch exception.
7384         (getLocalSocketAddress): New method.
7385         (setReuseAddress): New method.
7386         (getReuseAdress): New method.
7387         (setReceiveBufferSize): New method.
7388         (getReceiveBufferSize): New method.
7389         (toString): Made string JDK 1.4 compliant.
7390
7391 2002-09-10  Michael Koch  <konqueror@gmx.de>
7392
7393         * java/net/SocketImpl.java
7394         (connect): New method.
7395         (supportsUrgentData): New method.
7396         (sendUrgentData): New method.
7397         * java/net/PlainSocketImpl.java
7398         (connect): One new method and two new implementation.
7399         (sendUrgentData): New method.
7400         * java/natPlainSocketImpl.cc
7401         (connect): Arguments changed, added support for timeouts.
7402         (getOption): Another __java_boolean to jboolean.
7403
7404 2002-09-07  Adam Megacz <adam@xwt.org>
7405
7406         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7407         definition of IP_TOS.
7408
7409 2002-09-04  Michael Koch  <konqueror@gmx.de>
7410
7411         * java/net/DatagramSocket.java
7412         (DatagramSocket): Added documentation.
7413         (close): Likewise.
7414         (getLocalAddress): Likewise.
7415         (getLocalPort): Likewise.
7416         (receive): Likewise.
7417         (send): Likewise.
7418         (setSoTimeout): Likewise.
7419         (connect): New method.
7420         (disconnect): New method.
7421         (getInetAddress): New method (FIXME)
7422         (getPort): New method.
7423         (setReuseAddress): New method.
7424         (getReuseAddress): New method.
7425         (setBroadcast): New method.
7426         (getBroadcast): New method.
7427         (setTrafficClass): New method.
7428         (getTrafficClass): New method.
7429         * java/net/MulticastSocket.java):
7430         (getTTL): Added @see in documentation.
7431         (setTTL): Added @see in documentation.
7432         (setLoopbackMode): New method.
7433         (getLoopbackMode): New method.
7434         * java/net/PlainSocketImpl.java:
7435         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7436         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7437         * java/net/PlainDatagramSocketImpl.java
7438         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7439         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7440         * java/net/natPlainSocketImpl.cc
7441         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7442         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7443         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7444         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7445         This should also fix SO_KEEPALIVE
7446         * java/net/natPlainDatagramSocketImpl.cc
7447         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7448         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7449         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7450         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7451
7452 2002-09-04  Michael Koch  <konqueror@gmx.de>
7453
7454         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7455         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7456         IP_MULTICAST_LOOP, IP_TOS
7457
7458 2002-09-03  Tom Tromey  <tromey@redhat.com>
7459
7460         * java/lang/Class.h (_getDeclaredMethod): Declare.
7461         (_getMethod): Now private.
7462         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7463         getDeclaredMethod.  Now returns NULL on failure.
7464         * java/lang/Class.java (_getDeclaredMethod): Declare.
7465         (getDeclaredMethod): No longer native; implements access checks.
7466
7467 2002-09-01  Mark Wielaard  <mark@klomp.org>
7468
7469         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7470         (sanitizeStack): Correctly reset unknown and interpreter counters,
7471         detect interpreter runtime frames.
7472         (demangleInterpreterMethod): New method.
7473         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7474         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7475         filling in addrs[].
7476
7477 2002-09-02  Michael Koch  <konqueror@gmx.de>
7478
7479         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7480         re-indented documentation.
7481
7482 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7483
7484         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7485         public, per 1.4 spec.  Fixes PR libgcj/7785.
7486
7487 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7488
7489         * Makefile.in: Rebuilt.
7490         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7491
7492 2002-08-29  Tom Tromey  <tromey@redhat.com>
7493
7494         * java/net/JarURLConnection.java (getCertificates): New method
7495         from Classpath.
7496         * java/net/URLClassLoader.java (URLClassLoader): Extends
7497         SecureClassLoader.
7498         (definePackage): New method from Classpath.
7499         (getPermissions): Likewise.
7500         (newInstance): Likewise.
7501         (findClass): Construct CodeSource for new class (from Classpath).
7502         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7503         methods.
7504         * java/net/URL.java (getUserInfo): New method.
7505         (set(String,String,int,String,String,String,String,String)): New
7506         method.
7507         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7508         (shutdownInput, shutdownOutput): Declare.
7509         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7510         Define.
7511         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7512         (getOption): Likewise.
7513         (shutdownInput): New method.
7514         (shutdownOutput): Likewise.
7515         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7516         keepalive.
7517         (getOption): Likewise.
7518         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7519         * java/net/Socket.java (setKeepAlive): New method.
7520         (getKeepAlive): Likewise.
7521         (shutdownInput, shutdownOutput): New methods.
7522
7523 2002-08-29  Michael Koch  <konqueror@gmx.de>
7524
7525         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7526         new methods are:
7527         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7528           address),
7529         DatagramPacket(byte[] buf, int length, SocketAddress address),
7530         void setSocketAddress(SocketAddress address)
7531         public SocketAddress getSocketAddress()
7532
7533 2002-08-29  Tom Tromey  <tromey@redhat.com>
7534
7535         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7536         ftruncate is missing.
7537         * configure, include/config.h.in: Rebuilt.
7538         * acconfig.h (HAVE_FTRUNCATE): Mention.
7539         * configure.in: Check for ftruncate.
7540
7541 2002-08-29  Tom Tromey  <tromey@redhat.com>
7542
7543         * include/jvm.h (struct _Jv_frame_info): New structure.
7544         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7545         java-interp.h.
7546         (lookupInterp): New method.
7547         (getAddrAsString): Use _Jv_frame_info.
7548         (dladdrLookup): Likewise.
7549         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7550         interpreted frame.
7551         (lookupInterp): Declare.
7552         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7553         (fillInStackTrace): Collect information on interpreted frames.
7554         Use _Jv_frame_info.
7555         * interpret.cc: Include Thread.h.
7556         (run): Create and push _Jv_MethodChain object.
7557         (_Jv_EndOfInterpreter): New global.
7558         * java/lang/Thread.java (interp_frame): New field.
7559         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7560         Include NameFinder.h.
7561
7562 2002-08-28  Tom Tromey  <tromey@redhat.com>
7563
7564         * java/lang/Class.h: Include Package.h.
7565         (Class::getProtectionDomain): Declare.
7566         (Class::getPackage): Declare.
7567
7568 2002-08-28  Michael Koch <konqueror@gmx.de>
7569
7570         * java/net/InetSocketAddress.java: Added some documentation and argument
7571         checks for the port numbers.
7572         * java/net/DatagramSocketImplFactory.java: New file.
7573
7574 2002-08-28  Michael Koch <konqueror@gmx.de>
7575
7576         * java/net/Authenticator.java: added some documentation.
7577
7578 2002-08-27  Tom Tromey  <tromey@redhat.com>
7579
7580         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7581         class.
7582         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7583
7584 2002-08-27  Michael Koch <konqueror@gmx.de>
7585
7586         * java/net/BindException.java,
7587         java/net/JarURLConnection.java,
7588         java/net/FileNameMap.java,
7589         java/net/HttpURLConnection.java,
7590         java/net/InetSocketAddress.java,
7591         java/net/DatagramPacket.java,
7592         java/net/DatagramSocket.java,
7593         java/net/DatagramSocketImpl.java,
7594         java/net/MulticastSocket.java,
7595         java/net/PasswordAuthentication.java,
7596         java/net/ServerSocket.java,
7597         java/net/Socket.java,
7598         java/net/URLClassLoader.java,
7599         java/net/URLConnection.java: add/update of some @since/@deprecated
7600
7601 2002-08-27  Tony Kimball <alk@pobox.com>
7602             Tom Tromey  <tromey@redhat.com>
7603
7604         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7605         define.
7606         (::close): Removed.
7607         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7608         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7609         (::close): Removed.
7610         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7611         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7612
7613 2002-08-25  Adam Megacz <adam@xwt.org>
7614
7615         * include/win32.h (getcwd): copied function declaration as
7616         temporary fix for header confusion.
7617
7618 2002-08-24  Mark Wielaard <mark@klomp.org>
7619
7620         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7621         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7622         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7623         and natNameFinder.cc.
7624         * Makefile.in: Regenerate.
7625         * prims.cc: Use trace_enabled from VMThrowable.
7626         * name-finder.cc: Removed.
7627         * gcj/javaprims.h: Add class VMThrowable.
7628         * gnu/gcj/runtime/NameFinder.java: New file.
7629         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7630         * include/name-finder.h: Removed.
7631         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7632         method stackTraceString().
7633         (printStackTrace (PrintWriter)): Likewise.
7634         (stackTraceString): Complete rewrite of old printStackTrace using
7635         StringBuffer.
7636         (stackTraceStringBuffer): New helper method for stackTraceString().
7637         (fillInStackTrace): Delegate to VMTrowable.
7638         (getStackTrace): Likewise.
7639         (getStackTrace0): Removed.
7640         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7641         (setStackTrace): Copy given array.
7642         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7643         * java/lang/VMThrowable.java: New class.
7644         * java/lang/natVMThrowable.cc: New file.
7645
7646 2003-08-23  Michael Koch  <konqueror@gmx.de>
7647
7648         * java/net/URLConnection.java,
7649         java/netJarURLConnection.java,
7650         gnu/gcj/protocol/core/Connection.java,
7651         gnu/gcj/protocol/file/Connection.java,
7652         gnu/gcj/protocol/http/Connection.java: Added implementation of
7653         getHeaderFields().
7654
7655 2002-08-22  Tom Tromey  <tromey@redhat.com>
7656
7657         * gij.cc (help): Document -cp and -classpath.
7658         (main): Handle -classpath.
7659
7660 2002-08-21  Tom Tromey  <tromey@redhat.com>
7661
7662         * Makefile.in: Rebuilt.
7663         * Makefile.am (ordinary_java_source_files): Added
7664         SocketAddress.java, InetSocketAddress.java.
7665         * java/net/PortUnreachableException.java: Merged with Classpath.
7666         * java/net/SocketTimeoutException.java: Likewise.
7667         * java/net/URISyntaxException.java: Likewise.
7668         * java/net/SocketAddress.java: New class from Classpath.
7669         * java/net/InetSocketAddress.java: Likewise.
7670
7671 2003-08-21  Michael Koch  <konqueror@gmx.de>
7672
7673         * java/net/Authenticator.java: updated JDK 1.4
7674         * java/net/ContentHandler.java: updated JDK 1.4
7675
7676 2002-08-20  Michael Koch  <konqueror@gmx.de>
7677
7678         * java/net/URISyntaxException.java: New file.
7679         * java/net/SocketTimeoutException.java: New file.
7680         * java/net/PortUnreachableException.java: New file.
7681         * Makefile.am: Updated.
7682         * Makefile.in: Rebuilt.
7683
7684 2002-08-18  Mark Wielaard  <mark@klomp.org>
7685
7686         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7687         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7688         MessageDigestSpi (fixes Classpath bug #783).
7689
7690 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7691
7692         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7693         (startProcess): Allocate path for chdir in async-signal-safe way.
7694
7695 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7696
7697         Fix for PR libgcj/7570 and PR libgcj/7578:
7698         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7699         (startProcess): Handle new `dir' argument.
7700         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7701         argument.
7702         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7703         argument.
7704         (startProcess): Likewise.
7705         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7706         argument.
7707         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7708         (exec): Don't create new environment if ENV==null.  Pass DIR to
7709         execInternal.
7710         * java/lang/natRuntime.cc: Include java/io/File.h.
7711         (execInternal): Added `dir' argument.
7712
7713 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7714
7715         * java/io/RandomAccessFile.java (skipBytes): Return number of
7716         bytes skipped.
7717
7718 2002-08-01  Mark Wielaard  <mark@klomp.org>
7719
7720         Reenable patch since shared library troubles on powerpc are solved:
7721         * gnu/java/security/provider/Gnu.java: Reference all implementation
7722         classes by using Class.getName().
7723         * gnu/java/security/der/DEREncodingException.java,
7724         gnu/java/security/provider/DERReader.java,
7725         gnu/java/security/provider/DERWriter.java,
7726         gnu/java/security/provider/DSAKeyPairGenerator.java,
7727         gnu/java/security/provider/DSAParameterGenerator.java,
7728         gnu/java/security/provider/DSAParameters.java,
7729         gnu/java/security/provider/DSASignature.java,
7730         gnu/java/security/provider/GnuDSAPrivateKey.java,
7731         gnu/java/security/provider/GnuDSAPublicKey.java,
7732         gnu/java/security/provider/MD5.java,
7733         gnu/java/security/util/Prime.java: New classes
7734         * Makefile.am (ordinary_java_source_files): Add above files.
7735         * Makefile.in: Regenerate.
7736         * gnu/java/security/provider/DefaultPolicy.java
7737         (getPermissions): Don't maintain static class variable of Permissions.
7738         * gnu/java/security/provider/SHA.java
7739         (engineUpdate): algorithm change.
7740         (engineDigest): algorithm change.
7741
7742 2002-08-09  Mark Wielaard  <mark@klomp.org>
7743
7744         * java/awt/image/MemoryImageSource.java: Change constructor to take
7745         int[] not byte[].
7746         * java/awt/Graphics2D.java: Uncomment methods that can now be
7747         compiled.
7748         * java/awt/GridBagLayout.java: New stub implementation.
7749         * javax/swing/text/html/HTML.java: Stub implementation.
7750         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7751         implementation.
7752
7753         * Makefile.am: Add new files.
7754         * Makefile.in: Rebuilt.
7755
7756 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7757
7758         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7759         methods in Graphics2D.
7760
7761 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7762
7763         AWT/Swing merge from GNU Classpath.
7764
7765         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7766         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7767         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7768         java/awt/color/ProfileDataException.java,
7769         java/awt/CompositeContext.java, java/awt/Composite.java,
7770         java/awt/ContainerOrderFocusTraversalPolicy.java,
7771         java/awt/datatransfer/FlavorTable.java,
7772         java/awt/DefaultFocusTraversalPolicy.java,
7773         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7774         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7775         java/awt/dnd/DragGestureListener.java,
7776         java/awt/dnd/DragGestureRecognizer.java,
7777         java/awt/dnd/DragSourceAdapter.java,
7778         java/awt/dnd/DragSourceContext.java,
7779         java/awt/dnd/DragSourceDragEvent.java,
7780         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7781         java/awt/dnd/DragSourceListener.java,
7782         java/awt/dnd/DragSourceMotionListener.java,
7783         java/awt/dnd/DropTarget.java,
7784         java/awt/dnd/InvalidDnDOperationException.java,
7785         java/awt/dnd/peer/DragSourceContextPeer.java,
7786         java/awt/event/AWTEventListenerProxy.java,
7787         java/awt/event/MouseWheelEvent.java,
7788         java/awt/event/MouseWheelListener.java,
7789         java/awt/event/WindowFocusListener.java,
7790         java/awt/event/WindowStateListener.java,
7791         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7792         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7793         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7794         java/awt/geom/FlatteningPathIterator.java,
7795         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7796         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7797         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7798         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7799         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7800         java/awt/image/ImagingOpException.java,
7801         java/awt/image/RasterFormatException.java,
7802         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7803         java/awt/image/VolatileImage.java,
7804         java/awt/image/WritableRenderedImage.java,
7805         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7806         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7807         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7808         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7809         java/awt/PageAttributes.java, java/awt/print/Book.java,
7810         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7811         java/awt/print/Paper.java, java/awt/print/Printable.java,
7812         java/awt/print/PrinterAbortException.java,
7813         java/awt/print/PrinterException.java,
7814         java/awt/print/PrinterGraphics.java,
7815         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7816         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7817         java/awt/Stroke.java, java/awt/TexturePaint.java,
7818         javax/accessibility/AccessibleAction.java,
7819         javax/accessibility/AccessibleBundle.java,
7820         javax/accessibility/AccessibleComponent.java,
7821         javax/accessibility/AccessibleContext.java,
7822         javax/accessibility/AccessibleEditableText.java,
7823         javax/accessibility/AccessibleExtendedComponent.java,
7824         javax/accessibility/AccessibleExtendedTable.java,
7825         javax/accessibility/AccessibleHyperlink.java,
7826         javax/accessibility/AccessibleHypertext.java,
7827         javax/accessibility/AccessibleIcon.java,
7828         javax/accessibility/Accessible.java,
7829         javax/accessibility/AccessibleKeyBinding.java,
7830         javax/accessibility/AccessibleRelation.java,
7831         javax/accessibility/AccessibleRelationSet.java,
7832         javax/accessibility/AccessibleResourceBundle.java,
7833         javax/accessibility/AccessibleRole.java,
7834         javax/accessibility/AccessibleSelection.java,
7835         javax/accessibility/AccessibleState.java,
7836         javax/accessibility/AccessibleStateSet.java,
7837         javax/accessibility/AccessibleTable.java,
7838         javax/accessibility/AccessibleTableModelChange.java,
7839         javax/accessibility/AccessibleText.java,
7840         javax/accessibility/AccessibleValue.java,
7841         javax/swing/AbstractAction.java,
7842         javax/swing/AbstractButton.java,
7843         javax/swing/AbstractCellEditor.java,
7844         javax/swing/AbstractListModel.java,
7845         javax/swing/AbstractSet.java, javax/swing/Action.java,
7846         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7847         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7848         javax/swing/border/CompoundBorder.java,
7849         javax/swing/border/EmptyBorder.java,
7850         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7851         javax/swing/border/LineBorder.java,
7852         javax/swing/border/MatteBorder.java,
7853         javax/swing/border/TitledBorder.java,
7854         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7855         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7856         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7857         javax/swing/CellRendererPane.java,
7858         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7859         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7860         javax/swing/colorchooser/ColorSelectionModel.java,
7861         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7862         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7863         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7864         javax/swing/DefaultBoundedRangeModel.java,
7865         javax/swing/DefaultButtonModel.java,
7866         javax/swing/DefaultCellEditor.java,
7867         javax/swing/DefaultCellRenderer.java,
7868         javax/swing/DefaultComboBoxModel.java,
7869         javax/swing/DefaultDesktopManager.java,
7870         javax/swing/DefaultFocusManager.java,
7871         javax/swing/DefaultListCellRenderer.java,
7872         javax/swing/DefaultListModel.java,
7873         javax/swing/DefaultListSelectionModel.java,
7874         javax/swing/DefaultSingleSelectionModel.java,
7875         javax/swing/DesktopManager.java,
7876         javax/swing/event/AncestorEvent.java,
7877         javax/swing/event/AncestorListener.java,
7878         javax/swing/event/CaretEvent.java,
7879         javax/swing/event/CaretListener.java,
7880         javax/swing/event/CellEditorListener.java,
7881         javax/swing/event/ChangeEvent.java,
7882         javax/swing/event/ChangeListener.java,
7883         javax/swing/event/DocumentEvent.java,
7884         javax/swing/event/DocumentListener.java,
7885         javax/swing/event/EventListenerList.java,
7886         javax/swing/event/HyperlinkEvent.java,
7887         javax/swing/event/HyperlinkListener.java,
7888         javax/swing/event/InternalFrameAdapter.java,
7889         javax/swing/event/InternalFrameEvent.java,
7890         javax/swing/event/InternalFrameListener.java,
7891         javax/swing/event/ListDataEvent.java,
7892         javax/swing/event/ListDataListener.java,
7893         javax/swing/event/ListSelectionEvent.java,
7894         javax/swing/event/ListSelectionListener.java,
7895         javax/swing/event/MenuDragMouseEvent.java,
7896         javax/swing/event/MenuDragMouseListener.java,
7897         javax/swing/event/MenuEvent.java,
7898         javax/swing/event/MenuKeyEvent.java,
7899         javax/swing/event/MenuKeyListener.java,
7900         javax/swing/event/MenuListener.java,
7901         javax/swing/event/MouseInputAdapter.java,
7902         javax/swing/event/MouseInputListener.java,
7903         javax/swing/event/PopupMenuEvent.java,
7904         javax/swing/event/PopupMenuListener.java,
7905         javax/swing/event/SwingPropertyChangeSupport.java,
7906         javax/swing/event/TableColumnModelEvent.java,
7907         javax/swing/event/TableColumnModelListener.java,
7908         javax/swing/event/TableModelEvent.java,
7909         javax/swing/event/TableModelListener.java,
7910         javax/swing/event/TreeExpansionEvent.java,
7911         javax/swing/event/TreeExpansionListener.java,
7912         javax/swing/event/TreeModelEvent.java,
7913         javax/swing/event/TreeModelListener.java,
7914         javax/swing/event/TreeSelectionEvent.java,
7915         javax/swing/event/TreeSelectionListener.java,
7916         javax/swing/event/TreeWillExpandListener.java,
7917         javax/swing/event/UndoableEditEvent.java,
7918         javax/swing/event/UndoableEditListener.java,
7919         javax/swing/filechooser/FileFilter.java,
7920         javax/swing/filechooser/FileSystemView.java,
7921         javax/swing/filechooser/FileView.java,
7922         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
7923         javax/swing/Icon.java, javax/swing/ImageIcon.java,
7924         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
7925         javax/swing/JApplet.java, javax/swing/JButton.java,
7926         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7927         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7928         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
7929         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
7930         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
7931         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
7932         javax/swing/JLayeredPane.java, javax/swing/JList.java,
7933         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
7934         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
7935         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
7936         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
7937         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
7938         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
7939         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
7940         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
7941         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
7942         javax/swing/JTextField.java, javax/swing/JTextPane.java,
7943         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
7944         javax/swing/JToolTip.java, javax/swing/JTree.java,
7945         javax/swing/JViewport.java, javax/swing/JWindow.java,
7946         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
7947         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
7948         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
7949         javax/swing/MenuSelectionManager.java,
7950         javax/swing/MutableComboBoxModel.java,
7951         javax/swing/OverlayLayout.java,
7952         javax/swing/plaf/ActionMapUIResource.java,
7953         javax/swing/plaf/basic/BasicBorders.java,
7954         javax/swing/plaf/basic/BasicButtonUI.java,
7955         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7956         javax/swing/plaf/basic/BasicDefaults.java,
7957         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7958         javax/swing/plaf/basic/BasicIconFactory.java,
7959         javax/swing/plaf/basic/BasicLabelUI.java,
7960         javax/swing/plaf/basic/BasicListUI.java,
7961         javax/swing/plaf/basic/BasicLookAndFeel.java,
7962         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7963         javax/swing/plaf/basic/BasicPanelUI.java,
7964         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7965         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7966         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7967         javax/swing/plaf/basic/BasicTextUI.java,
7968         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7969         javax/swing/plaf/basic/BasicTreeUI.java,
7970         javax/swing/plaf/basic/BasicViewportUI.java,
7971         javax/swing/plaf/BorderUIResource.java,
7972         javax/swing/plaf/ButtonUI.java,
7973         javax/swing/plaf/ColorChooserUI.java,
7974         javax/swing/plaf/ColorUIResource.java,
7975         javax/swing/plaf/ComboBoxUI.java,
7976         javax/swing/plaf/ComponentInputMapUIResource.java,
7977         javax/swing/plaf/ComponentUI.java,
7978         javax/swing/plaf/DesktopIconUI.java,
7979         javax/swing/plaf/DesktopPaneUI.java,
7980         javax/swing/plaf/DimensionUIResource.java,
7981         javax/swing/plaf/FileChooserUI.java,
7982         javax/swing/plaf/FontUIResource.java,
7983         javax/swing/plaf/IconUIResource.java,
7984         javax/swing/plaf/InputMapUIResource.java,
7985         javax/swing/plaf/InsetsUIResource.java,
7986         javax/swing/plaf/InternalFrameUI.java,
7987         javax/swing/plaf/LabelUI.java,
7988         javax/swing/plaf/ListUI.java,
7989         javax/swing/plaf/MenuBarUI.java,
7990         javax/swing/plaf/MenuItemUI.java,
7991         javax/swing/plaf/OptionPaneUI.java,
7992         javax/swing/plaf/PanelUI.java,
7993         javax/swing/plaf/PopupMenuUI.java,
7994         javax/swing/plaf/ProgressBarUI.java,
7995         javax/swing/plaf/RootPaneUI.java,
7996         javax/swing/plaf/ScrollBarUI.java,
7997         javax/swing/plaf/ScrollPaneUI.java,
7998         javax/swing/plaf/SeparatorUI.java,
7999         javax/swing/plaf/SliderUI.java,
8000         javax/swing/plaf/SplitPaneUI.java,
8001         javax/swing/plaf/TabbedPaneUI.java,
8002         javax/swing/plaf/TableHeaderUI.java,
8003         javax/swing/plaf/TableUI.java,
8004         javax/swing/plaf/TextUI.java,
8005         javax/swing/plaf/ToolBarUI.java,
8006         javax/swing/plaf/ToolTipUI.java,
8007         javax/swing/plaf/TreeUI.java,
8008         javax/swing/plaf/UIResource.java,
8009         javax/swing/plaf/ViewportUI.java,
8010         javax/swing/ProgressMonitorInputStream.java,
8011         javax/swing/ProgressMonitor.java,
8012         javax/swing/Renderer.java,
8013         javax/swing/RepaintManager.java,
8014         javax/swing/RootPaneContainer.java,
8015         javax/swing/Scrollable.java,
8016         javax/swing/ScrollPaneConstants.java,
8017         javax/swing/ScrollPaneLayout.java,
8018         javax/swing/SingleSelectionModel.java,
8019         javax/swing/SizeRequirements.java,
8020         javax/swing/SizeSequence.java,
8021         javax/swing/SwingConstants.java,
8022         javax/swing/SwingUtilities.java,
8023         javax/swing/table/AbstractTableModel.java,
8024         javax/swing/table/DefaultTableCellRenderer.java,
8025         javax/swing/table/DefaultTableColumnModel.java,
8026         javax/swing/table/DefaultTableModel.java,
8027         javax/swing/table/TableCellEditor.java,
8028         javax/swing/table/TableCellRenderer.java,
8029         javax/swing/table/TableColumn.java,
8030         javax/swing/table/TableColumnModel.java,
8031         javax/swing/table/TableModel.java,
8032         javax/swing/text/AbstractDocument.java,
8033         javax/swing/text/AttributeSet.java,
8034         javax/swing/text/BadLocationException.java,
8035         javax/swing/text/Caret.java,
8036         javax/swing/text/CharacterIterator.java,
8037         javax/swing/text/ComponentView.java,
8038         javax/swing/text/DefaultCaret.java,
8039         javax/swing/text/DefaultEditorKit.java,
8040         javax/swing/text/Document.java,
8041         javax/swing/text/EditorKit.java,
8042         javax/swing/text/Element.java,
8043         javax/swing/text/GapContent.java,
8044         javax/swing/text/JTextComponent.java,
8045         javax/swing/text/Keymap.java,
8046         javax/swing/text/MutableAttributeSet.java,
8047         javax/swing/text/PlainDocument.java,
8048         javax/swing/text/PlainEditorKit.java,
8049         javax/swing/text/Position.java,
8050         javax/swing/text/Segment.java,
8051         javax/swing/text/StyledDocument.java,
8052         javax/swing/text/StyledEditorKit.java,
8053         javax/swing/text/Style.java,
8054         javax/swing/text/TextAction.java,
8055         javax/swing/text/ViewFactory.java,
8056         javax/swing/text/View.java,
8057         javax/swing/Timer.java,
8058         javax/swing/ToggleButtonModel.java,
8059         javax/swing/ToolTipManager.java,
8060         javax/swing/tree/AbstractLayoutCache.java,
8061         javax/swing/tree/DefaultMutableTreeNode.java,
8062         javax/swing/tree/DefaultTreeCellEditor.java,
8063         javax/swing/tree/DefaultTreeCellRenderer.java,
8064         javax/swing/tree/DefaultTreeModel.java,
8065         javax/swing/tree/DefaultTreeSelectionModel.java,
8066         javax/swing/tree/ExpandVetoException.java,
8067         javax/swing/tree/FixedHeightLayoutCache.java,
8068         javax/swing/tree/MutableTreeNode.java,
8069         javax/swing/tree/RowMapper.java,
8070         javax/swing/tree/TreeCellEditor.java,
8071         javax/swing/tree/TreeCellRenderer.java,
8072         javax/swing/tree/TreeModel.java,
8073         javax/swing/tree/TreeNode.java,
8074         javax/swing/tree/TreePath.java,
8075         javax/swing/tree/TreeSelectionModel.java,
8076         javax/swing/tree/VariableHeightLayoutCache.java,
8077         javax/swing/UIDefaults.java,
8078         javax/swing/UIManager.java,
8079         javax/swing/undo/AbstractUndoableEdit.java,
8080         javax/swing/undo/CannotRedoException.java,
8081         javax/swing/undo/CannotUndoException.java,
8082         javax/swing/undo/CompoundEdit.java,
8083         javax/swing/undo/StateEditable.java,
8084         javax/swing/undo/StateEdit.java,
8085         javax/swing/undo/UndoableEdit.java,
8086         javax/swing/undo/UndoableEditSupport.java,
8087         javax/swing/undo/UndoManager.java,
8088         javax/swing/UnsupportedLookAndFeelException.java,
8089         javax/swing/ViewportLayout.java,
8090         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8091
8092         * java/awt/ActiveEvent.java,
8093         java/awt/Adjustable.java, java/awt/AWTError.java,
8094         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8095         java/awt/AWTException.java, java/awt/AWTPermission.java,
8096         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8097         java/awt/Color.java, java/awt/Component.java,
8098         java/awt/ComponentOrientation.java, java/awt/Container.java,
8099         java/awt/datatransfer/MimeTypeParseException.java,
8100         java/awt/datatransfer/Transferable.java,
8101         java/awt/datatransfer/UnsupportedFlavorException.java,
8102         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8103         java/awt/event/ActionListener.java,
8104         java/awt/event/AdjustmentEvent.java,
8105         java/awt/event/AdjustmentListener.java,
8106         java/awt/event/AWTEventListener.java,
8107         java/awt/event/ComponentAdapter.java,
8108         java/awt/event/ComponentEvent.java,
8109         java/awt/event/ComponentListener.java,
8110         java/awt/event/ContainerAdapter.java,
8111         java/awt/event/ContainerEvent.java,
8112         java/awt/event/ContainerListener.java,
8113         java/awt/event/FocusAdapter.java,
8114         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8115         java/awt/event/HierarchyBoundsAdapter.java,
8116         java/awt/event/HierarchyBoundsListener.java,
8117         java/awt/event/HierarchyEvent.java,
8118         java/awt/event/HierarchyListener.java,
8119         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8120         java/awt/event/InputMethodListener.java,
8121         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8122         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8123         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8124         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8125         java/awt/event/MouseListener.java,
8126         java/awt/event/MouseMotionAdapter.java,
8127         java/awt/event/MouseMotionListener.java,
8128         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8129         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8130         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8131         java/awt/event/WindowListener.java, java/awt/Font.java,
8132         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8133         java/awt/geom/Ellipse2D.java,
8134         java/awt/geom/IllegalPathStateException.java,
8135         java/awt/geom/Line2D.java,
8136         java/awt/geom/NoninvertibleTransformException.java,
8137         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8138         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8139         java/awt/geom/RoundRectangle2D.java,
8140         java/awt/GraphicsConfiguration.java,
8141         java/awt/IllegalComponentStateException.java,
8142         java/awt/image/IndexColorModel.java,
8143         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8144         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8145         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8146         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8147         java/awt/MenuItem.java, java/awt/PaintContext.java,
8148         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8149         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8150         java/awt/PrintJob.java, java/awt/Rectangle.java,
8151         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8152         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8153         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8154
8155         * java/awt/im/spi/InputMethod.java,
8156         java/awt/im/spi/InputMethodContext.java,
8157         java/awt/im/spi/InputMethodDescriptor.java,
8158         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8159         java/awt/image/renderable/ParameterBlock.java,
8160         java/awt/image/renderable/RenderContext.java,
8161         java/awt/image/renderable/RenderableImage.java,
8162         java/awt/image/renderable/RenderableImageOp.java,
8163         java/awt/image/renderable/RenderableImageProducer.java,
8164         java/awt/image/renderable/RenderedImageFactory.java: New files from
8165         classpath.
8166
8167         * gnu/java/awt/EventModifier.java,
8168         gnu/java/awt/image/ImageDecoder.java,
8169         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8170
8171         * gnu/awt/xlib/XGraphicsConfiguration.java,
8172         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8173         API.
8174
8175         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8176         GNU Classpath.
8177
8178         * Makefile.am: Add new files.
8179         * Makefile.in: Rebuilt.
8180
8181 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8182
8183         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8184         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8185         findResource, getResources, findResources): Add javadoc from classpath.
8186         (getSystemResources): Implemented.
8187
8188 2002-08-01  Mark Wielaard  <mark@klomp.org>
8189
8190         Revert patch that breaks libgcj shared library on powerpc:
8191         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8192         implementation classes by using Class.getName(). Uses Strings again.
8193         * gnu/java/security/der/DEREncodingException.java,
8194         gnu/java/security/provider/DERReader.java,
8195         gnu/java/security/provider/DERWriter.java,
8196         gnu/java/security/provider/DSAKeyPairGenerator.java,
8197         gnu/java/security/provider/DSAParameterGenerator.java,
8198         gnu/java/security/provider/DSAParameters.java,
8199         gnu/java/security/provider/DSASignature.java,
8200         gnu/java/security/provider/GnuDSAPrivateKey.java,
8201         gnu/java/security/provider/GnuDSAPublicKey.java,
8202         gnu/java/security/provider/MD5.java,
8203         gnu/java/security/util/Prime.java: Removed.
8204         * Makefile.am (ordinary_java_source_files): Remove above files.
8205         * Makefile.in: Regenerate.
8206         * gnu/java/security/provider/DefaultPolicy.java
8207         (getPermissions): Revert to maintaining static class variable of
8208         Permissions.
8209         * gnu/java/security/provider/SHA.java
8210         (engineUpdate): Revert algorithm change.
8211         (engineDigest): Revert algorithm change.
8212
8213 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8214
8215         * configure.host: Add SH support.
8216         * sysdep/sh/locks.h: New file.
8217
8218 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8219
8220         * java/awt/Frame.java (Frame): Remove println calls.
8221
8222 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8223
8224         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8225         * configure: Rebuilt.
8226
8227 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8228
8229         * sysdep/powerpc/locks.h: Formatting.
8230         (_LARX): Define.
8231         (_STCX): Define.
8232         (compare_and_swap): Use _LARX and _STCX.
8233         (compare_and_swap_release): Likewise.
8234
8235 2002-07-26  Tom Tromey  <tromey@redhat.com>
8236
8237         * java/net/Authenticator.java: New version from Classpath.
8238         * java/net/DatagramSocketImpl.java: New version from Classpath.
8239
8240 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8241
8242         * configure.host: Add powerpc64*-* entry.
8243
8244 2002-07-26  Tom Tromey  <tromey@redhat.com>
8245
8246         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8247         fcntl.h.
8248
8249 2002-07-24  Tom Tromey  <tromey@redhat.com>
8250
8251         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8252         argument to _load.
8253
8254 2002-07-24  Tom Tromey  <tromey@redhat.com>
8255             Tony Kimball <alk@pobox.com>
8256
8257         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8258         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8259         * java/io/RandomAccessFile.java (setLength): New method.
8260         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8261         * java/io/FileDescriptor.java (setLength): New method.
8262
8263 2002-07-24  Mark Wielaard  <mark@klomp.org>
8264
8265         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8266         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8267         field call setAccessible(true).
8268         (setByteField): Likewise.
8269         (setCharField): Likewise.
8270         (setDoubleField): Likewise.
8271         (setFloatField): Likewise.
8272         (setIntField): Likewise.
8273         (setLongField): Likewise.
8274         (setShortField): Likewise.
8275         (setObjectField): Likewise.
8276
8277 2002-07-24  Tom Tromey  <tromey@redhat.com>
8278
8279         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8280         use toString() to format array element.
8281
8282 2002-07-23  Mark Wielaard  <mark@klomp.org>
8283
8284         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8285         MessageDigestSpi (fixes Classpath bug #783).
8286
8287 2002-07-21  Mark Wielaard  <mark@klomp.org>
8288
8289         * gnu/java/security/provider/Gnu.java: Reference all implementation
8290         classes by using Class.getName().
8291
8292 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8293
8294         * java/lang/ieeefp.h: Add x86-64 support.
8295         * configure.in: Likewise.
8296         * configure.host: Likewise.
8297         * configure: Regenerated.
8298         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8299
8300 2002-07-16  Mark Wielaard  <mark@klomp.org>
8301
8302         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8303         (whitespaceChars): call resetChar().
8304
8305 2002-07-15  Tom Tromey  <tromey@redhat.com>
8306
8307         * Makefile.in: Rebuilt.
8308         * Makefile.am (awt_java_source_files): Added new files.
8309         * java/beans/ExceptionListener.java: Merged with Classpath.
8310         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8311         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8312         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8313         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8314         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8315         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8316         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8317
8318 2002-07-14  Mark Wielaard  <mark@klomp.org>
8319
8320         * gnu/java/security/der/DEREncodingException.java,
8321         gnu/java/security/provider/DERReader.java,
8322         gnu/java/security/provider/DERWriter.java,
8323         gnu/java/security/provider/DSAKeyPairGenerator.java,
8324         gnu/java/security/provider/DSAParameterGenerator.java,
8325         gnu/java/security/provider/DSAParameters.java,
8326         gnu/java/security/provider/DSASignature.java,
8327         gnu/java/security/provider/GnuDSAPrivateKey.java,
8328         gnu/java/security/provider/GnuDSAPublicKey.java,
8329         gnu/java/security/provider/MD5.java,
8330         gnu/java/security/util/Prime.java: New files from Classpath.
8331         * Makefile.am (ordinary_java_source_files): Add new files.
8332         * Makefile.in: Regenerate.
8333
8334 2002-07-14  C. Brian Jones <cbj@gnu.org>
8335
8336         * gnu/java/security/provider/DefaultPolicy.java
8337         (getPermissions): do not maintain static class variable of
8338         Permissions
8339         * gnu/java/security/provider/SHA.java
8340         (engineUpdate): algorithm change
8341         (engineDigest): algorithm change
8342
8343 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8344
8345         For PR libgcj/7292:
8346         * java/lang/Character.java (toString(char)): Now static.
8347
8348 2002-07-12  Mark Wielaard  <mark@klomp.org>
8349
8350         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8351         (getStackTrace0): new method.
8352         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8353         (printStackTrace(PrintWriter)): replace with pure java implementation.
8354         (printRawStackTrace): removed.
8355         (getStackTrace0): new method.
8356         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8357         * gcj/javaprims.h: regenerate class list.
8358         * include/name-finder.h (lookup): new returns StackTraceElement*.
8359         (method_name, file_name): fields removed.
8360         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8361         (~_Jv_name_finder): close new descriptors.
8362         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8363         (createStackTraceElement): new method.
8364         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8365
8366 2002-07-10  Tom Tromey  <tromey@redhat.com>
8367
8368         * configure: Rebuilt.
8369         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8370
8371 2002-07-08  Mark Wielaard  <mark@klomp.org>
8372
8373         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8374         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8375         java.sql.DatabaseMetaData.TestJdbc20
8376
8377 2002-07-05  Tony Kimball  <alk@pobox.com>
8378
8379         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8380
8381 2002-07-04  Tom Tromey  <tromey@redhat.com>
8382             Jeff Sturm  <jsturm@one-point.com>
8383
8384         Fix for PR libgcj/7060:
8385         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8386         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8387         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8388         * java/lang/Class.java (getMethod): New Java implementation;
8389         complies with spec.
8390         (_getMethod): New native method.
8391
8392 2002-07-02  Tom Tromey  <tromey@redhat.com>
8393             David Hovemeyer  <daveho@cs.umd.edu>
8394
8395         * java/text/ChoiceFormat.java
8396         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8397         in check loop.
8398         * java/text/MessageFormat.java
8399         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8400         to MessageFormat.
8401
8402 2002-07-01  Tom Tromey  <tromey@redhat.com>
8403
8404         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8405         StringTokenizer on null string.  For PR libgcj/7180.
8406         From daveho@cs.umd.edu.
8407
8408 2002-06-24  Tom Tromey  <tromey@redhat.com>
8409
8410         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8411         (IntegerClass): Likewise.
8412         * java/lang/natClass.cc (CloneableClass): Removed.
8413         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8414         ConstructorClass): Likewise.
8415         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8416         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8417         SerializableClass): Likewise.
8418         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8419         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8420         LongClass, FloatClass, DoubleClass): Likewise.
8421
8422         * verify.cc (branch_prepass): Updated for change to exception
8423         handler type.
8424         (verify_instructions_0): Likewise.
8425         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8426         (handleExceptionTableEntry): Updated for change to exception
8427         handler type.
8428         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8429         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8430         (union _Jv_InterpPC): New.
8431         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8432         (class _Jv_InterpMethod): Added new `prepared' field.
8433         (class _Jv_InterpMethod): Added `compile' method.  Removed
8434         `continue1' and `find_exception'.  Changed arguments to `run'.
8435         * interpret.cc (union insn_slot): New.
8436         (find_exception): Removed.
8437         (run_normal): Removed most logic.
8438         (run_synch_object): Likewise; also, use JvSynchronize.
8439         (run_synch_class): Likewise.
8440         (run): Removed.
8441         (continue1): Renamed as `run'.  Compile bytecode if required.
8442         Add new code to allow refinement of direct-threaded code at
8443         runtime.  Handle exceptions.
8444         (SAVE_PC): Removed.
8445         (compile): New method.
8446         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8447         (NULLARRAYCHECK): Don't use SAVE_PC.
8448         (pc_t): New typedef.
8449         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8450         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8451
8452 2002-06-23  Tom Tromey  <tromey@redhat.com>
8453
8454         * configure: Rebuilt.
8455         * configure.in (INTERPRETER): New subst.
8456         (AM_RUNTESTFLAGS): Don't subst.
8457
8458         * Makefile.in: Rebuilt.
8459         * Makefile.am ($(srcdir)/java/lang/Object.h,
8460         $(srcdir)/java/lang/Class.h): Added dummy targets.
8461
8462 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8463
8464         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8465
8466         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8467         java/sql/Savepoint.java: New files.
8468         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8469         java/sql/Blob.java, java/sql/CallableStatement.java,
8470         java/sql/Clob.java, java/sql/Connection.java,
8471         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8472         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8473         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8474         java/sql/Ref.java, java/sql/ResultSet.java,
8475         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8476         java/sql/SQLException.java, java/sql/SQLInput.java,
8477         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8478         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8479         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8480         (JDK 1.4) specification.
8481         * javax/sql/ConnectionEvent.java,
8482         javax/sql/ConnectionEventListener.java,
8483         javax/sql/ConnectionPoolDataSource.java,
8484         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8485         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8486         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8487         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8488         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8489         javax/sql/XADataSource.java: New files.
8490         * Makefile.am: Add new files.
8491         * Makefile.in: Rebuilt.
8492
8493 2002-06-20  Tom Tromey  <tromey@redhat.com>
8494
8495         For PR libgcj/7073:
8496         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8497         exists.
8498         * defineclass.cc (handleClassBegin): Superclass for interface is
8499         `null'.
8500
8501 2002-06-18  Tom Tromey  <tromey@redhat.com>
8502
8503         * gcj/javaprims.h: Updated class declaration list.
8504         * Makefile.in: Rebuilt.
8505         * Makefile.am (core_java_source_files): Removed
8506         BasicMapEntry.java.
8507         * java/util/BasicMapEntry.java: Removed.
8508
8509 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8510
8511         * java/net/natPlainDatagramSocketImpl.cc (receive):
8512         Check bounds of argument to FD_SET.
8513         (setOption): Throw exception if socket is closed.
8514
8515         * java/net/natPlainSocketImpl.cc (accept, read):
8516         Check bounds of argument to FD_SET.
8517         (setOption): Throw exception if socket is closed.
8518
8519 2002-06-18  Tom Tromey  <tromey@redhat.com>
8520
8521         * gcj/javaprims.h: Updated class declaration list.
8522         * Makefile.in: Rebuilt.
8523         * Makefile.am (core_java_source_files): Added
8524         PropertyPermissionCollection.java.
8525         * java/lang/Thread.java (group, name): Now package-private.
8526         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8527         * java/util/AbstractList.java: Likewise.
8528         * java/util/AbstractMap.java: Likewise.
8529         * java/util/Calendar.java: Likewise.
8530         * java/util/Collections.java: Likewise.
8531         * java/util/HashMap.java: Likewise.
8532         * java/util/Hashtable.java: Likewise.
8533         * java/util/LinkedHashMap.java: Likewise.
8534         * java/util/LinkedList.java: Likewise.
8535         * java/util/List.java: Likewise.
8536         * java/util/ListResourceBundle.java: Likewise.
8537         * java/util/Map.java: Likewise.
8538         * java/util/Observable.java: Likewise.
8539         * java/util/Properties.java: Likewise.
8540         * java/util/PropertyPermission.java: Likewise.
8541         * java/util/PropertyPermissionCollection.java: Likewise.
8542         * java/util/PropertyResourceBundle.java: Likewise.
8543         * java/util/Random.java: Likewise.
8544         * java/util/SimpleTimeZone.java: Likewise.
8545         * java/util/StringTokenizer.java: Likewise.
8546         * java/util/TimerTask.java: Likewise.
8547         * java/util/TreeMap.java: Likewise.
8548         * java/util/WeakHashMap.java: Likewise.
8549         * java/util/jar/Attributes.java: Likewise.
8550         * java/util/jar/JarException.java: Likewise.
8551         * java/util/jar/Manifest.java: Likewise.
8552
8553 2002-06-17  Tom Tromey  <tromey@redhat.com>
8554
8555         * gcj/javaprims.h: Updated class declaration list.
8556         * Makefile.in: Rebuilt.
8557         * Makefile.am (core_java_source_files): Added new file.
8558         * java/util/EventListenerProxy.java: New file.
8559         * java/util/EventListener.java: Re-merge with Classpath.
8560         * java/util/EventObject.java: Re-merge with Classpath.
8561
8562 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8563
8564         * java/lang/ClassNotFoundException.java: New Classpath version.
8565
8566 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8567
8568         * java/rmi/activation/ActivateFailedException.java: Remerge from
8569         Classpath version.
8570         * java/rmi/activation/ActivationException.java: Ditto.
8571         * java/rmi/activation/UnknownGroupException.java: Ditto.
8572         * java/rmi/activation/UnknownObjectException.java: Ditto.
8573         * java/rmi/server/ExportException: Ditto.
8574         * java/rmi/server/ServerCloneException: Ditto.
8575         * java/rmi/server/ServerNotActiveException: Ditto.
8576         * java/rmi/server/SkeletonMismatchException: Ditto.
8577         * java/rmi/server/SkeletonNotFoundException: Ditto.
8578         * java/rmi/server/SocketSecurityException: Ditto.
8579
8580 2002-06-16  Tom Tromey  <tromey@redhat.com>
8581
8582         * gcj/javaprims.h: Updated class declaration list.
8583
8584         * java/io/LineNumberInputStream.java: Merged with Classpath.
8585
8586         * java/lang/RuntimeException.java: Re-merge with Classpath.
8587         * java/util/ArrayList.java: Likewise.
8588         * java/util/Arrays.java: Likewise.
8589         * java/util/BitSet.java: Likewise.
8590         * java/util/Dictionary.java: Likewise.
8591         * java/util/IdentityHashMap.java: Likewise.
8592         * java/util/MissingResourceException.java: Likewise.
8593         * java/util/Observer.java: Likewise.
8594         * java/util/TooManyListenersException.java: Likewise.
8595         * java/util/zip/DataFormatException.java: Likewise.
8596         * java/util/zip/ZipException.java: Likewise.
8597
8598 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8599
8600         * java/rmi/AccessException.java: Remerge from Classpath.
8601         * java/rmi/AlreadyBoundException.java: Ditto.
8602         * java/rmi/ConnectException.java: Ditto.
8603         * java/rmi/ConnectIOException.java: Ditto.
8604         * java/rmi/MarshalException.java: Ditto.
8605         * java/rmi/NoSuchObjectException.java: Ditto.
8606         * java/rmi/NotBoundException.java: Ditto.
8607         * java/rmi/RemoteException.java: Ditto.
8608         * java/rmi/RMISecurityException.java: Ditto.
8609         * java/rmi/ServerError.java: Ditto.
8610         * java/rmi/ServerException.java: Ditto.
8611         * java/rmi/ServerRuntimeException.java: Ditto.
8612         * java/rmi/StubNotFoundException.java: Ditto.
8613         * java/rmi/UnexpectedExcpetion.java: Ditto.
8614         * java/rmi/UnknownHostException.java: Ditto.
8615         * java/rmi/UnmarshalException.java: Ditto.
8616
8617 2002-06-15  Tom Tromey  <tromey@redhat.com>
8618
8619         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8620         * java/lang/ArithmeticException.java: Likewise.
8621         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8622         * java/lang/ArrayStoreException.java: Likewise.
8623         * java/lang/Byte.java: Likewise.
8624         * java/lang/CharSequence.java: Likewise.
8625         * java/lang/ClassCastException.java: Likewise.
8626         * java/lang/ClassCircularityError.java: Likewise.
8627         * java/lang/ClassFormatError.java: Likewise.
8628         * java/lang/CloneNotSupportedException.java: Likewise.
8629         * java/lang/Cloneable.java: Likewise.
8630         * java/lang/Comparable.java: Likewise.
8631         * java/lang/Compiler.java: Likewise.
8632         * java/lang/Error.java: Likewise.
8633         * java/lang/ExceptionInInitializerError.java: Likewise.
8634         * java/lang/IllegalAccessError.java: Likewise.
8635         * java/lang/IllegalAccessException.java: Likewise.
8636         * java/lang/IllegalArgumentException.java: Likewise.
8637         * java/lang/IllegalMonitorStateException.java: Likewise.
8638         * java/lang/IllegalStateException.java: Likewise.
8639         * java/lang/IllegalThreadStateException.java: Likewise.
8640         * java/lang/IncompatibleClassChangeError.java: Likewise.
8641         * java/lang/IndexOutOfBoundsException.java: Likewise.
8642         * java/lang/InheritableThreadLocal.java: Likewise.
8643         * java/lang/InstantiationError.java: Likewise.
8644         * java/lang/InstantiationException.java: Likewise.
8645         * java/lang/InternalError.java: Likewise.
8646         * java/lang/InterruptedException.java: Likewise.
8647         * java/lang/LinkageError.java: Likewise.
8648         * java/lang/NegativeArraySizeException.java: Likewise.
8649         * java/lang/NoClassDefFoundError.java: Likewise.
8650         * java/lang/NoSuchFieldError.java: Likewise.
8651         * java/lang/NoSuchFieldException.java: Likewise.
8652         * java/lang/NoSuchMethodError.java: Likewise.
8653         * java/lang/NoSuchMethodException.java: Likewise.
8654         * java/lang/NullPointerException.java: Likewise.
8655         * java/lang/NumberFormatException.java: Likewise.
8656         * java/lang/OutOfMemoryError.java: Likewise.
8657         * java/lang/Process.java: Likewise.
8658         * java/lang/Runnable.java: Likewise.
8659         * java/lang/RuntimePermission.java: Likewise.
8660         * java/lang/SecurityException.java: Likewise.
8661         * java/lang/Short.java: Likewise.
8662         * java/lang/StackOverflowError.java: Likewise.
8663         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8664         * java/lang/ThreadDeath.java: Likewise.
8665         * java/lang/ThreadLocal.java: Likewise.
8666         * java/lang/UnknownError.java: Likewise.
8667         * java/lang/UnsatisfiedLinkError.java: Likewise.
8668         * java/lang/UnsupportedClassVersionError.java: Likewise.
8669         * java/lang/UnsupportedOperationException.java: Likewise.
8670         * java/lang/VerifyError.java: Likewise.
8671         * java/lang/VirtualMachineError.java: Likewise.
8672         * java/lang/reflect/InvocationTargetException.java: Likewise.
8673         * java/net/BindException.java: Likewise.
8674         * java/net/ConnectException.java: Likewise.
8675         * java/net/MalformedURLException.java: Likewise.
8676         * java/net/NoRouteToHostException.java: Likewise.
8677         * java/net/ProtocolException.java: Likewise.
8678         * java/net/SocketException.java: Likewise.
8679         * java/net/UnknownHostException.java: Likewise.
8680         * java/net/UnknownServiceException.java: Likewise.
8681
8682         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8683         * java/io/CharConversionException.java: Likewise.
8684         * java/io/EOFException.java: Likewise.
8685         * java/io/FileNotFoundException.java: Likewise.
8686         * java/io/IOException.java: Likewise.
8687         * java/io/InterruptedIOException.java: Likewise.
8688         * java/io/InvalidClassException.java: Likewise.
8689         * java/io/InvalidObjectException.java: Likewise.
8690         * java/io/NotActiveException.java: Likewise.
8691         * java/io/NotSerializableException.java: Likewise.
8692         * java/io/ObjectStreamException.java: Likewise.
8693         * java/io/ObjectStreamConstants.java: Likewise.
8694         * java/io/OptionalDataException.java: Likewise.
8695         * java/io/PipedInputStream.java: Likewise.
8696         * java/io/PushbackInputStream.java: Likewise.
8697         * java/io/StreamCorruptedException.java: Likewise.
8698         * java/io/SyncFailedException.java: Likewise.
8699         * java/io/UTFDataFormatException.java: Likewise.
8700         * java/io/UnsupportedEncodingException.java: Likewise.
8701         * java/io/WriteAbortedException.java: Likewise.
8702
8703 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8704
8705         * java/text/ChoiceFormat.java: Update comments from Classpath.
8706         * java/text/ParseException.java (serialVersionUID): New
8707         field from Classpath.
8708         * java/text/ParseException.java: Update formatting & comments
8709         from Classpath.
8710
8711 2002-06-15  Tom Tromey  <tromey@redhat.com>
8712
8713         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8714         been read but none output by inflater.
8715         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8716         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8717         is_finished.
8718         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8719         version.
8720         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8721         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8722         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8723         version.
8724         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8725
8726 2002-06-13  Tom Tromey  <tromey@redhat.com>
8727
8728         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8729         true and OFFSET!=0.
8730         * java/lang/String.java (String(char[],int,int,boolean): New
8731         constructor.
8732         * java/lang/Long.java: Imported new version from Classpath.
8733         * java/lang/Number.java: Likewise.
8734         * java/lang/Integer.java: Likewise.
8735         * java/lang/Long.java: Likewise.
8736         * java/lang/Float.java: Likewise.
8737         * java/lang/Boolean.java: Likewise.
8738         * java/lang/Double.java: Likewise.
8739         * java/lang/Void.java: Likewise.
8740
8741 2002-06-12  Tom Tromey  <tromey@redhat.com>
8742
8743         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8744         Fixes PR libgcj/6652.
8745
8746 2002-06-10  Tom Tromey  <tromey@redhat.com>
8747
8748         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8749         (Class::getPackagePortion): Likewise.
8750         * java/lang/Class.java (desiredAssertionStatus): New method from
8751         Classpath.
8752         (getPackagePortion): Likewise.
8753         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8754         packageAssertionStatus, classAssertionStatus): New methods from
8755         Classpath.
8756         * java/lang/ClassLoader.java (defaultAssertionStatus,
8757         systemPackageAssertionStatus, packageAssertionStatus,
8758         systemClassAssertionStatus, classAssertionStatus): New fields from
8759         Classpath.
8760         (setDefaultAssertionStatus, setPackageAssertionStatus,
8761         setClassAssertionStatus, clearAssertionStatus): New methods from
8762         Classpath.
8763         * Makefile.in: Rebuilt.
8764         * Makefile.am (core_java_source_files): Added AssertionError.java.
8765         * java/lang/AssertionError.java: New from Classpath.
8766
8767 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8768
8769         * configure.host: Disable hash synchronization and slow_pthread_self
8770         for cygwin.
8771
8772 2002-06-06  Adam Megacz <adam@xwt.org>
8773
8774         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8775         locking, just like the Sun JVM does.
8776
8777 2002-06-05  H.J. Lu  (hjl@gnu.org)
8778
8779         * Makefile.am (libgcj_convenience.la): Revert the last change.
8780         (libgcj.la): Likewise.
8781         * Makefile.in: Regenerated.
8782
8783 2002-06-04  H.J. Lu  (hjl@gnu.org)
8784
8785         * Makefile.am (libgcj_convenience.la): New target.
8786         (libgcj.la): Depend on libgcj_convenience.la.
8787         * Makefile.in: Regenerated.
8788
8789 2002-06-04  H.J. Lu  (hjl@gnu.org)
8790
8791         * configure.in (--with-newlib): New option:
8792         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8793         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8794         Linux.
8795         * configure: Regenerated.
8796
8797 2002-06-04  Tom Tromey  <tromey@redhat.com>
8798
8799         * java/util/natTimeZone.cc: Include <stdio.h>.
8800
8801 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8802
8803         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8804         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8805         Set SIGNAL_HANDLER=include/s390-linux.h.
8806         * configure: Regenerate.
8807         * include/s390-linux.h: New file.
8808
8809 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8810
8811         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8812         not "stackTrace".
8813
8814 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8815
8816         Merge JDK 1.4 java.security changes from classpath.
8817
8818         * java/security/AccessControlException.java: Merge from Classpath.
8819         * java/security/AccessController.java: Likewise.
8820         * java/security/AllPermission.java: Likewise.
8821         * java/security/BasicPermission.java: Likewise.
8822         * java/security/Certificate.java: Likewise.
8823         * java/security/CodeSource.java: Likewise.
8824         * java/security/DigestException.java: Likewise.
8825         * java/security/DigestOutputStream.java: Likewise.
8826         * java/security/DomainCombiner.java: Likewise.
8827         * java/security/GeneralSecurityException.java: Likewise.
8828         * java/security/Guard.java: Likewise.
8829         * java/security/GuardedObject.java: Likewise.
8830         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8831         * java/security/InvalidKeyException.java: Likewise.
8832         * java/security/InvalidParameterException.java: Likewise.
8833         * java/security/Key.java: Likewise.
8834         * java/security/KeyException.java: Likewise.
8835         * java/security/KeyManagementException.java: Likewise.
8836         * java/security/KeyStoreException.java: Likewise.
8837         * java/security/MessageDigest.java: Likewise.
8838         * java/security/NoSuchAlgorithmException.java: Likewise.
8839         * java/security/NoSuchProviderException.java: Likewise.
8840         * java/security/Permission.java: Likewise.
8841         * java/security/PermissionCollection.java: Likewise.
8842         * java/security/Permissions.java: Likewise.
8843         * java/security/Policy.java: Likewise.
8844         * java/security/Principal.java: Likewise.
8845         * java/security/PrivateKey.java: Likewise.
8846         * java/security/PrivilegedAction.java: Likewise.
8847         * java/security/PrivilegedActionException.java: Likewise.
8848         * java/security/PrivilegedExceptionAction.java: Likewise.
8849         * java/security/ProtectionDomain.java: Likewise.
8850         * java/security/ProviderException.java: Likewise.
8851         * java/security/PublicKey.java: Likewise.
8852         * java/security/SecureClassLoader.java: Likewise.
8853         * java/security/SecurityPermission.java: Likewise.
8854         * java/security/SignatureException.java: Likewise.
8855         * java/security/UnrecoverableKeyException.java: Likewise.
8856         * java/security/UnresolvedPermission.java: Likewise.
8857         * java/security/acl/AclNotFoundException.java: Likewise.
8858         * java/security/acl/LastOwnerException.java: Likewise.
8859         * java/security/acl/NotOwnerException.java: Likewise.
8860         * java/security/cert/CRLException.java: Likewise.
8861         * java/security/cert/CertificateEncodingException.java: Likewise.
8862         * java/security/cert/CertificateException.java: Likewise.
8863         * java/security/cert/CertificateExpiredException.java: Likewise.
8864         * java/security/cert/CertificateFactory.java: Likewise.
8865         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8866         * java/security/cert/CertificateParsingException.java: Likewise.
8867         * java/security/spec/InvalidKeySpecException.java: Likewise.
8868         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8869
8870         * java/security/cert/CertPath.java: New file.
8871         * java/security/cert/CertPathBuilderException.java: New file.
8872         * java/security/cert/CertPathValidatorException.java: New file.
8873         * java/security/cert/CertStoreException.java: New file.
8874
8875         * Makefile.am: Add new CertPath classes.
8876         * Makefile.in: Rebuilt.
8877
8878         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8879
8880 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8881
8882         Merge JDK 1.4 exception chaining support from classpath.
8883
8884         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8885         (stackTraceBytes): Rename from stackTrace.
8886         * java/lang/Exception.java: Merge from classpath.
8887         * java/lang/StackTraceElement: New file from classpath.
8888         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8889         * Makefile.am: Add StackTraceElement.
8890         * Makefile.in: Rebuilt.
8891
8892 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8893
8894         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8895         they build first.
8896         * Makefile.in: Rebuilt.
8897
8898 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8899
8900         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
8901         * configure.in: Likewise.
8902         * aclocal.m4: Regenerate.
8903         * configure: Regenerate.
8904
8905 2002-05-13  Tom Tromey  <tromey@redhat.com>
8906
8907         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
8908         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
8909         Include platform.h.
8910
8911         Fixes PR libgcj/6389:
8912         * Makefile.in: Rebuilt.
8913         * Makefile.am (nat_source_files): Added natTimeZone.cc.
8914         * java/util/natTimeZone.cc: New file.
8915         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
8916         * java/lang/System.java: Merged with Classpath.
8917         * java/lang/Runtime.java: Merged with Classpath.
8918         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
8919         security check.
8920         (setIn0): Renamed from setIn; don't run security check.
8921         (setOut0): Renamed from setOut; don't run security check.
8922         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
8923         init_properties): Moved to natRuntime.cc.
8924         Moved many includes to natRuntime.cc.
8925         (isWordsBigEndian): New method.
8926         * java/lang/natRuntime.cc: Include Long.h, also other includes
8927         previously in natSystem.cc.
8928         (maxMemory): New function.
8929         (exitInternal): Renamed from `_exit'.
8930         (exit): Removed.
8931         (init): Don't set finalize_on_exit.
8932         (exitInternal): Use `finalizeOnExit'.
8933         (file_encoding, getpwuid_adaptor): New functions from
8934         natSystem.cc.
8935         (insertSystemProperties): New method, renamed from
8936         System::init_properties.  Don't set user.timezone.
8937         (_load): Don't call checkLink.
8938         (execInternal): New method.
8939         (availableProcessors): Likewise.
8940         (nativeGetLibname): Likewise.
8941
8942 2002-05-11  Mark Wielaard  <mark@klomp.org>
8943
8944         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
8945         space characters.
8946         (previous_internal): Likewise.
8947
8948 2002-05-09  Tom Tromey  <tromey@redhat.com>
8949
8950         * jni.cc (_Jv_JNIFunctions): Fixed typo.
8951
8952         * java/util/ResourceBundle.java: New version from Classpath.
8953         * java/util/Locale.java: Likewise.
8954
8955 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
8956
8957         * testsuite/lib/libjava.exp (libjava_arguments): Append all
8958         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
8959         LD_LIBRARY_PATH.
8960
8961 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
8962
8963         * libjava/Makefile.am (all_java_source_files): New variable.
8964         (all_java_class_files): Likewise.
8965         .java.class: New rule.
8966         (CLEANFILES): Remove tmp-list.
8967         * libjava/Makefile.in: Regenerated.
8968
8969 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
8970
8971         * testsuite/lib/libjava.exp (test_libjava_from_javac):
8972         Append .exe to executable names.  Fix for cygwin.
8973
8974 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
8975
8976         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
8977         script entry, and set LD to it when configuring multilibs.
8978         * configure: Rebuilt.
8979
8980 2002-05-07  Tom Tromey  <tromey@redhat.com>
8981
8982         * java/lang/natString.cc (unintern): Fixed typo.
8983
8984 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8985
8986         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
8987         with -no-install on *-*-cygwin*.
8988
8989 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8990
8991         * testsuite/lib/libjava.exp (test_libjava_from_source):
8992         Add comment explaining last patch
8993
8994 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
8995
8996         * testsuite/lib/libjava.exp (test_libjava_from_source):
8997         Append .exe to executable names.  If no suffix is present,
8998         then ".exe" is added by default on win32.  Harmless
8999         elsewhere so always do it.
9000
9001 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9002             Tom Tromey  <tromey@redhat.com>
9003
9004         * java/lang/natSystem.cc (getSystemTimeZone): Use
9005         HAVE_UNDERSCORE_TIMEZONE.
9006         * include/config.h.in: Rebuilt.
9007         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9008         * aclocal.m4, configure: Rebuilt.
9009         * acinclude.m4: Run AC_EXEEXT.
9010         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9011         Add test for `_timezone'.
9012
9013 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9014
9015         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9016         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9017         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9018         * Makefile.in: Rebuilt.
9019
9020 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9021
9022         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9023         use sigaction instead of __libc_sigaction.
9024
9025 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9026
9027         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9028         (libjava_init): Use it to find libgcj.spec.
9029         (libjava_arguments): Likewise.
9030
9031 2002-05-02  David S. Miller  <davem@redhat.com>
9032
9033         PR bootstrap/6525
9034         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9035         __libc_sigaction on Sparc.
9036
9037 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9038
9039         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9040         sys/filio.h, if present.
9041
9042 2002-04-30  Tom Tromey  <tromey@redhat.com>
9043
9044         * java/io/BufferedReader.java (fill): Handle case where markPos
9045         point to ignored \n.  Fixes PR libgcj/6301.
9046
9047 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9048
9049         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9050
9051 2002-04-29  Adam King <aking@dreammechanics.com>
9052
9053         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9054         of file in APPEND mode.
9055
9056 2002-04-25  David S. Miller  <davem@redhat.com>
9057
9058         PR target/6422
9059         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9060         program counter to next program counter minus 8.  Update
9061         comments in this macro to explain why.
9062
9063 2002-04-26  Tom Tromey  <tromey@redhat.com>
9064
9065         * verify.cc (construct_primitive_array_type) [void_type]: New
9066         case.
9067         (branch_prepass): Added dummy entries for unused instruction
9068         values.
9069         (verify_instructions_0): Likewise.
9070         * interpret.cc (continue1): Comment fix.
9071         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9072         * Makefile.in: Rebuilt.
9073         * Makefile.am: Added -Wswitch-enum.
9074
9075 2002-04-24  Tom Tromey  <tromey@redhat.com>
9076
9077         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9078         correct length of UTF-8 encoded name.  Strip leading `/'.
9079         (_Jv_RegisterResource): Use _Jv_Malloc.
9080
9081 2002-04-23  Adam Megacz <adam@xwt.org>
9082
9083         * win32.cc, include/win32.cc (backtrace): Added this function
9084         because Win32 does not supply it.
9085
9086 2002-04-21  David S. Miller  <davem@redhat.com>
9087
9088         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9089         magic instruction reading sequence.
9090
9091 2002-04-21  Mark Wielaard  <mark@klomp.org>
9092
9093         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9094
9095 2002-04-19  David S. Miller  <davem@redhat.com>
9096
9097         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9098         arg.
9099         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9100         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9101         on Sparc too.
9102         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9103         for 64-bit sparc.
9104         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9105         * sysdeps/sparc/locks.h: New file.
9106         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9107         on all sparc Solaris configurations.  Set to
9108         include/dwarf2-signal.h on sparc Linux.
9109         * configure: Regenerate
9110         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9111
9112 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9113
9114         * configure: Rebuilt.
9115         * configure.in (backtrace): Function doesn't work on IA-64.
9116
9117 2002-04-17  Adam King <aking@dreammechanics.com>
9118
9119         * java/io/File.java (normalizePath): Add Win32 support for auto
9120         conversion of a '/' path separator to Win32's '\' separator.
9121
9122 2002-04-16  Tom Tromey  <tromey@redhat.com>
9123
9124         Fix for PR libgcj/6081:
9125         * Makefile.in: Rebuilt.
9126         * Makefile.am (install-data-local): Use GNU make trick to avoid
9127         shell limit.
9128
9129 2002-04-16  Adam King <aking@dreammechanics.com>
9130             Tom Tromey  <tromey@redhat.com>
9131
9132         * java/io/natFileWin32.cc (performList): Return the correct array
9133         type.  Don't duplicate the creation of a File since it's already
9134         done earlier in the method and the existing code would cause a
9135         ArrayStoreException.  Don't use fixed-size array.
9136         (_access, _stat, attr, getCanonicalPath, performMkdir,
9137         performRenameTo): Don't use fixed-size array.
9138         (getCanonicalPath): Use throw, not _Jv_Throw.
9139
9140 2002-04-15  DJ Delorie  <dj@redhat.com>
9141
9142         * configure.in: Allow building in $srcdir.
9143         * configure: Regenerated.
9144
9145 2002-04-14  Mark Wielaard <mark@klomp.org>
9146
9147         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9148         * java/net/natSocketImpl.cc (close): Likewise.
9149
9150 2002-04-14  Mark Wielaard <mark@klomp.org>
9151
9152         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9153
9154 2002-04-13  Adam King <aking@dreammechanics.com>
9155
9156         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9157         the f/F/d/D modifiers.
9158
9159 2002-04-12  Anthony Green  <green@redhat.com>
9160
9161         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9162         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9163         * Makefile.in: Rebuilt.
9164         * configure.in: Substitute gcc_version.
9165         * configure: Rebuilt.
9166
9167 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9168
9169         * configure.host: Set can_unwind_signal on hosts which support it.
9170         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9171         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9172         exceptions and can_unwind_signal isn't set.
9173         * configure: Rebuilt.
9174
9175 2002-04-11  Tom Tromey  <tromey@redhat.com>
9176
9177         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9178
9179 2002-04-11  Adam King <aking@dreammechanics.com>
9180             Tom Tromey  <tromey@redhat.com>
9181
9182         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9183         _Jv_ThrowNullPointerException): Mark as noreturn.
9184         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9185         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9186         fixes.
9187
9188 2002-04-10  Tom Tromey  <tromey@redhat.com>
9189
9190         * Makefile.in: Rebuilt.
9191         * Makefile.am (java/lang/Thread.h): Mark
9192         _Jv_AttachCurrentThreadAsDaemon as friend.
9193         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9194         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9195         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9196         function.
9197         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9198         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9199         (_Jv_JNI_InvokeFunctions): Added
9200         _Jv_JNI_AttachCurrentThreadAsDaemon.
9201         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9202         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9203         (JNI_CreateJavaVM): Likewise.
9204         (_Jv_JNI_AttachCurrentThread): Likewise.
9205         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9206         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9207         (_Jv_JNIFunctions): Initialize new fields.
9208         (_Jv_JNI_NewDirectByteBuffer): New function.
9209         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9210         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9211         * include/jni.h (JNI_VERSION_1_4): New macro.
9212         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9213         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9214         (JNINativeInterface::NewDirectByteBuffer): New field.
9215         (JNINativeInterface::GetDirectBufferAddress): New field.
9216         (JNINativeInterface::GetDirectBufferCapacity): New field.
9217         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9218         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9219         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9220
9221 2002-04-09  Tom Tromey  <tromey@redhat.com>
9222
9223         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9224
9225 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9226
9227         Fix for PR libgcj/6187:
9228         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9229         distance.
9230
9231 2002-04-07  Mark Wielaard <mark@klomp.org>
9232
9233         * java/util/AbstractMap.java (putAll): Use entrySet size.
9234         (toString): Explicitly use getKey() and getValue().
9235
9236 2002-04-07  Mark Wielaard <mark@klomp.org>
9237
9238         * java/util/Hashtable.java (contains): Remove NullPointer check.
9239         (containsValue): Add NullPointer check.
9240         (remove): Always throw NullPointerException when key
9241         is null.
9242
9243 2002-04-07  Adam King <aking@dreammechanics.com>
9244
9245         * java/lang/natSystem.cc (init_properties): Call new function
9246         _Jv_platform_initProperties.
9247         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9248         support for the System properties os.name, os.arch, os.version,
9249         user.name, user.home, and user.dir.
9250         * include/posix.h, include/win32.h, posix.cc: New function
9251         _Jv_platform_initProperties.
9252
9253 2002-04-06  Mark Wielaard <mark@klomp.org>
9254
9255         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9256
9257 2002-04-06  Mark Wielaard <mark@klomp.org>
9258
9259         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9260         all of the remaining elements.
9261         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9262         (removeRange): If toIndex == fromIndex do
9263         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9264         (removeAll): Always throw NullPointerException when collection is
9265         null.
9266         (retrainAll): Likewise.
9267
9268 2002-04-05  Mark Wielaard <mark@klomp.org>
9269
9270         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9271         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9272
9273 2002-04-05  Adam Megacz <adam@xwt.org>
9274
9275         * exception.cc (abort): added static modifier
9276
9277 2002-04-04  Adam Megacz <adam@xwt.org>
9278
9279         * include/win32.h (_Jv_platform_close_on_exec): added inline
9280         modifier.
9281
9282 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9283
9284         * configure.host: Add case statement to support generic port
9285         properties.  Add *-*-freebsd* section.
9286
9287 2002-04-04  Mark Wielaard  <mark@klomp.org>
9288
9289         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9290         test.
9291         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9292         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9293         that depend on awt code and BufferedByteOutputStream.interrupt.
9294
9295 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9296
9297         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9298         incorrect "hi" value when count > 40.
9299
9300 2002-04-03  Mark Wielaard  <mark@klomp.org>
9301
9302         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9303         ordering.
9304
9305 2002-04-02  Tom Tromey  <tromey@redhat.com>
9306
9307         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9308         not `0'.
9309
9310 2002-04-02  Mark Wielaard  <mark@klomp.org>
9311
9312         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9313         list of testsuite crashers.
9314
9315 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9316
9317         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9318         when resizing table.
9319
9320 2002-04-01  Mark Wielaard  <mark@klomp.org>
9321
9322         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9323         NegativeArraySizeException
9324         (clear(int)): Use sign extended shift.
9325         (flip(int)): Likewise.
9326         (get(int)): Likewise.
9327         (nextClearBit(int)): Likewise.
9328         (nextSetBit(int)): Likewise.
9329         (set(int)): Likewise.
9330
9331 2002-04-01  Mark Wielaard  <mark@klomp.org>
9332
9333         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9334         that can be compiled now and add testsuite crashers to ignore list.
9335
9336 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9337
9338         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9339
9340         * libgcj.spec.in: Override libgcc, not lib.
9341         * libgcj-test.spec.in: Likewise.
9342
9343 2002-03-29  Tom Tromey  <tromey@redhat.com>
9344
9345         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9346         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9347
9348 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9349
9350         * java/net/PlainDatagramSocketImpl.java
9351         (close): Use native implementation.
9352         (finalize): New method.
9353
9354         * java/net/PlainSocketImpl.java (finalize): New method.
9355
9356         * java/net/natPlainDatagramSocketImpl.cc
9357         (java/io/FileDescriptor.h): Don't include.
9358         (close): Implement method here.
9359         (create): Don't assign fd.
9360
9361         * java/net/natPlainSocketImpl.cc
9362         (java/io/FileDescriptor.h): Don't include.
9363         (create): Don't assign fd.
9364         (accept): Likewise.
9365         (close): Synchronize.
9366
9367 2002-03-27  Richard Henderson  <rth@redhat.com>
9368
9369         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9370
9371 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9372
9373         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9374         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9375         instead of syscall on IA-64.
9376         Add FIXME comment.
9377
9378 2002-03-27  Anthony Green  <green@redhat.com>
9379
9380         * libgcj.spec.in: Add CHECKREFSPEC.
9381         * configure.in: Ditto.
9382         * configure.host: Ditto.  Check references for xscale-elf.
9383         * configure: Rebuilt.
9384
9385 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9386
9387         * include/dwarf2-signal.h: Temporarily back out last change.
9388
9389 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9390
9391         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9392
9393 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9394
9395         * configure.in, configure: enable dwarf2-exception-style
9396         exception handling on IA-64.
9397         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9398         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9399         Add FIXME comment.
9400
9401 2002-03-25  Tom Tromey  <tromey@redhat.com>
9402
9403         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9404         (jv_convert_LDFLAGS): Likewise.
9405         (gij_LDFLAGS): Likewise.
9406         (rmic_LDFLAGS): Likewise.
9407         (rmiregistry_LDFLAGS): Likewise.
9408         * configure.in (THREADLDFLAGS): New subst; set correctly for
9409         *BSD.
9410
9411 2002-03-25  Tom Tromey  <tromey@redhat.com>
9412
9413         For PR libgcj/5303:
9414         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9415         and --version.
9416         (help): New method.
9417         (version): Likewise.
9418         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9419         "GNU".
9420         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9421         "GNU".
9422
9423 2002-03-25  Tom Tromey  <tromey@redhat.com>
9424
9425         * java/awt/Component.java (processEvent): Check ComponentEvent
9426         after KeyEvent.
9427
9428 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9429
9430         * java/io/PushbackReader.java: Reformat.
9431
9432         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9433         calculate correct number of bytes skipped.
9434
9435         Based on patch from Intel's ORP team:
9436         * java/io/PushbackInputStream.java (available): Calculate correct
9437         number of bytes in buffer.
9438         (read): Remove redundant bound check. Return bytes from both the
9439         buffer and the stream.
9440
9441 2002-03-24  Tom Tromey  <tromey@redhat.com>
9442
9443         * java/awt/TextComponent.java (TextComponent): Editable by
9444         default.
9445
9446         * java/awt/MenuItem.java (eventMask): No longer private.
9447         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9448         superclass if we didn't handle event.
9449         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9450         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9451         * java/awt/Choice.java (dispatchEventImpl): New method.
9452         * java/awt/List.java (dispatchEventImpl): New method.
9453         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9454         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9455         * java/awt/TextField.java (dispatchEventImpl): New method.
9456
9457 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9458
9459         * java/beans/IntrospectionException.java: Update to 1.4.
9460         * java/beans/PropertyVetoException.java: Ditto.
9461
9462 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9463
9464         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9465         Arrays.equals instead of ArrayHelper.equalsArray.
9466
9467 2002-03-24  C. Brian Jones <cbj@gnu.org>
9468
9469         * java/beans/Introspector.java: added new static final fields
9470         introduced in 1.2, lots of other updates remain to be done
9471
9472 2002-03-24  C. Brian Jones <cbj@gnu.org>
9473
9474         * java/beans/Introspector.java: reformatting
9475
9476 2002-03-24  C. Brian Jones <cbj@gnu.org>
9477
9478         * java/beans/Introspector.java: default beanInfoSearchPath will
9479         not include sun.beans.infos given we provide no such package and
9480         the API doesn't really require it; gnu.java.beans.info is the
9481         default.
9482
9483 2002-03-24  Mark Wielaard  <mark@klomp.org>
9484
9485         Thanks to Orp developers
9486         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9487         switch TRUE and FALSE return values.
9488
9489 2002-03-23  Tom Tromey  <tromey@redhat.com>
9490
9491         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9492         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9493
9494 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9495
9496         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9497         MONTH entry.  Fixes PR libgcj/6045.
9498
9499 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9500
9501         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9502
9503 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9504
9505         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9506         not release_set.
9507         * sysdep/powerpc/locks.h (write_barrier): New function.
9508         * sysdep/i386/locks.h (write_barrier): New function.
9509
9510 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9511
9512         * include/jni.h Use correct C comments.
9513
9514 2002-03-18  Tom Tromey  <tromey@redhat.com>
9515
9516         * include/jni.h (JNIIMPORT): New macro.
9517         (JNIEXPORT): Likewise.
9518         (JNICALL): Likewise.
9519
9520 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9521
9522         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9523         systems.
9524
9525 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9526
9527         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9528         INIT_SEGV: Use old_i386_kernel_sigaction.
9529         INIT_FP: Likewise.
9530
9531 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9532
9533         * java/lang/natSystem.cc (init_properties): Update VM version
9534         properties.
9535         * configure.in: Set GCJVERSION.
9536         * acconfig.h: Add GCJVERSION.
9537         * configure: Rebuilt.
9538         * include/config.h.in: Rebuilt.
9539
9540 2002-03-17  Anthony Green  <green@redhat.com>
9541
9542         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9543
9544 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9545
9546         Build a single libgcj.so, without separate gc and zlib libraries.
9547         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9548         SYS_ZLIBS if system zlib is used.
9549         * configure: Rebuilt.
9550         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9551         * Makefile.in: Rebuilt.
9552         * libtool-version: Increment .so version number.
9553
9554         * Makefile.am: Escape quotes in echo.
9555         * Makefile.in: Rebuilt.
9556
9557 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9558
9559         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9560         * Makefile.in: Rebuilt.
9561
9562 2002-03-15  Anthony Green  <green@redhat.com>
9563
9564         * configure.host (FILE): New macro for specifing File
9565         implementation.
9566         * configure: Rebuilt.
9567         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9568
9569 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9570
9571         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9572         already implicitly brought in from libgcj.la.
9573         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9574         * Makefile.in: Rebuilt.
9575
9576 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9577
9578         * THANKS: Fix punctuation, alphabetization.
9579
9580 2002-03-15  Tom Tromey  <tromey@redhat.com>
9581             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9582
9583         Fix for PR libgcj/5944.
9584         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9585
9586 2002-03-15  Anthony Green  <green@redhat.com>
9587
9588         * configure.in (tool_include_dir): Define.
9589         * configure: Rebuilt.
9590         * gcj/Makefile.am: Install libgcj-config.h relative to
9591         tool_include_dir.
9592         * gcj/Makefile: Rebuilt.
9593         * gcj/libgcj-config.h: Add warning comment.
9594
9595 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9596
9597         * configure.host (powerpc*-darwin*): Enable interpreter.
9598
9599 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9600
9601         * include/posix.h: Add multiple include header protection.
9602         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9603
9604 2002-03-10  Adam Megacz <adam@xwt.org>
9605
9606         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9607
9608 2002-03-10  Tom Tromey  <tromey@redhat.com>
9609
9610         * java/awt/GridLayout.java (layoutContainer): Handle case where
9611         there are no items in container.
9612
9613         * java/lang/Win32Process.java: Added comment.
9614         * include/posix.h (_Jv_platform_close_on_exec): New function.
9615         Include fcntl.h.
9616         * include/win32.h (_Jv_platform_close_on_exec): New function.
9617         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9618         flag.
9619         (accept): Likewise.
9620         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9621         close-on-exec flag.
9622         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9623         flag.
9624
9625 2002-03-09  Tom Tromey  <tromey@redhat.com>
9626
9627         * verify.cc (state::NO_STACK): New constant.
9628         (state::is_unmerged_ret_state): Handle case where stacktop is
9629         NO_STACK.
9630         (state::merge): Handle NO_STACK merges.
9631         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9632         for instruction following jsr.
9633         (stacktop, stackdepth): Removed unused variables.
9634         (pop_jump): Ignore case where all remaining states are skipped.
9635
9636 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9637
9638         * java/awt/ImageMediaEntry: Removed.
9639         * java/awt/MediaEntry: Removed.
9640
9641 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9642
9643         Hashtable synchronization for PowerPC.
9644         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9645         slow_pthread_self. Set up symlink for sysdeps directory.
9646         * configure: Rebuild.
9647         * configure.host: Document more shell variables. Set sysdeps_dir
9648         for most platforms. Set slow_pthread_self for i686. Set
9649         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9650         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9651         that memory barrier is emitted where required.
9652         * prims.cc: 64-bit align static primitive class instances.
9653         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9654         read_barrier() to enforce ordering of reads.
9655         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9656         primitives for PowerPC.
9657         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9658         moved from natObject.cc.
9659         * sysdep/alpha/locks.h: Likewise.
9660         * sysdep/ia64/locks.h: Likewise.
9661         * sysdep/generic/locks.h: Likewise.
9662         * java/lang/natObject.cc: Move thread synchronization primitives to
9663         system-dependent headers.
9664
9665 2002-03-09  Adam Megacz  <adam@xwt.org>
9666
9667         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9668         bytes read and no failure code returned.
9669
9670 2002-03-09  Adam Megacz  <adam@xwt.org>
9671
9672         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9673         definitions to simulate -mthreads.
9674
9675 2002-03-09  Adam Megacz  <adam@xwt.org>
9676
9677         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9678         avoid precision loss.
9679
9680 2002-03-09  Per Bothner  <per@bothner.com>
9681
9682         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9683         * gnu/gcj/xlib/XImage.java:  Likewise.
9684         * gnu/gcj/xlib/XColor.java:  Likewise.
9685
9686 2002-03-09  Adam Megacz  <adam@xwt.org>
9687
9688         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9689         IOException so that Throwable.printStackTrace fails correctly.
9690
9691 2002-03-08  Adam Megacz  <adam@xwt.org>
9692
9693         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9694         fixed.
9695
9696 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9697
9698         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9699         truncated to int.
9700
9701 2002-03-08  Tom Tromey  <tromey@redhat.com>
9702
9703         * include/jni.h: Include stdio.h.
9704
9705 2002-03-08  Tom Tromey  <tromey@redhat.com>
9706
9707         * posix.cc (internal_gettimeofday): New function.
9708         (_Jv_select): Use it.
9709
9710 2002-03-07  Adam Megacz  <adam@xwt.org>
9711
9712         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9713         WIN32, and added thunks for read(), write(), and close().
9714         * java/net/natPlainSocketImpl.cc (accept, read, read):
9715         Disabled timeouts on WIN32 pending discussion.
9716
9717 2002-03-07  Adam Megacz  <adam@xwt.org>
9718
9719         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9720         returns jlong. Added implementation
9721         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9722         returns jlong.
9723         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9724         returns jlong.
9725         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9726         returns jlong.
9727         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9728         _Jv_platform_gettimeofday signature.
9729
9730 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9731
9732         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9733         (read): Call recv() directly, not _Jv_recv().
9734
9735 2002-03-06  Tom Tromey  <tromey@redhat.com>
9736
9737         * java/io/natFileDescriptorEcos.cc (init): Don't use
9738         GetStdHandle.
9739         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9740         is negative.
9741         (init): Don't use GetStdHandle.
9742
9743         * include/config.h.in: Rebuilt.
9744         * configure: Rebuilt.
9745         * Makefile.in: Rebuilt.
9746
9747 2002-03-06  Adam Megacz  <adam@xwt.org>
9748
9749         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9750         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9751         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9752         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9753
9754 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9755
9756         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9757         the code for generating include/java-chartables.h.
9758         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9759         merge with Classpath.
9760         * scripts/unicode-muncher.pl: Copy from Classpath.
9761         * scritps/MakeCharTables.java: New file.
9762         * gnu/gcj/convert/Blocks-3.txt: New file.
9763         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9764         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9765         * gnu/java/lang/CharData.java: Copy from Classpath.
9766         * Makefile.am (ordinary_java_source_files): Add
9767         gnu/java/lang/CharData.java.
9768         * configure.in: Remove --enable-fast-character option.
9769         * java/lang/Character.java: Merge algorithms and Javadoc with
9770         Classpath.
9771         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9772         efficiently.
9773         * include/java-chardecomp.h: Regenerate.
9774         * include/java-chartables.h: Regenerate.
9775
9776 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9777
9778         * java/awt/MediaTracker.java: Implemented.
9779         * Makefile.am: Add MediaTracker.
9780         * Makefile.in: Rebuilt.
9781
9782 2002-03-05  Tom Tromey  <tromey@redhat.com>
9783
9784         * java/lang/natPosixProcess.cc (fail): Removed.
9785         (startProcess): Simplified error-handling.  Preserve
9786         LD_LIBRARY_PATH across exec.
9787
9788         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9789         AbstractMethodError.
9790
9791 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9792
9793         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9794         * Makefile.in: Rebuilt.
9795
9796 2002-03-03 Mark Wielaard <mark@klomp.org>
9797
9798         * java/util/Timer (TaskQueue.stop): set elements to zero.
9799
9800 2002-02-28  Anthony Green  <green@redhat.com>
9801
9802         * java/lang/reflect/natMethod.cc (result): Add void* element.
9803         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9804         constructor test.
9805
9806 2002-02-27  Adam Megacz <adam@xwt.org>
9807
9808         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9809         '#undef STRICT'.
9810
9811 2002-02-26  Tom Tromey  <tromey@redhat.com>
9812
9813         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9814         * gij.cc (version): Use __VERSION__.
9815         * include/config.h.in: Rebuilt.
9816         * acconfig.h (GCJVERSION): Removed.
9817         * configure: Rebuilt.
9818         * configure.in (GCJVERSION): Removed.
9819
9820 2002-02-26  Andreas Schwab  <schwab@suse.de>
9821
9822         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9823         glibcpp_CXX, since libjava uses even another CXX.
9824         * aclocal.m4, configure: Regenerated.
9825
9826 2002-02-26  Tom Tromey  <tromey@redhat.com>
9827
9828         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9829         `1'.
9830
9831 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9832
9833         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9834         dependency tracking for .java files.
9835         * Makefile.in: Rebuilt.
9836
9837 2002-02-24  Adam Megacz  <adam@xwt.org>
9838
9839         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9840         typo. Sorry.
9841
9842 2002-02-24  Adam Megacz  <adam@xwt.org>
9843
9844         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9845         for Win32, changed #ifdefs to check WIN32 instead of the
9846         (now-obsolete) USE_WINSOCK, and removed support for socket
9847         timeouts on Win32 pending further discussion.
9848
9849 2002-02-24  Adam Megacz  <adam@xwt.org>
9850
9851         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9852         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9853         delete
9854
9855 2002-02-24  Adam Megacz  <adam@xwt.org>
9856
9857         * java/lang/Win32Process.java: Created a dummy class to allow
9858         build process to run to completion.
9859
9860 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9861
9862         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9863         Define ffi_result union for ffi_call result.  Cast
9864         ffi_result members to jvalue.
9865
9866 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9867
9868         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9869         * testsuite/Makefile.in: Likewise.
9870
9871 2002-02-20  Per Bothner  <per@bothner.com>
9872
9873         * java/net/URL.java (getPath):  New JDK 1.3 method.
9874
9875         * java/net/URLStreamHandler.java (parseURL):
9876         It is wrong to prepend '/' to the file part of a relative url.
9877
9878         * java/net/URLStreamHandler.java (parseURL):
9879         Minor optizations - append '/' rather than "/".
9880
9881         * java/net/URLStreamHandler.java (parseURL):
9882         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9883         We probably should canonicalize for a context-relative url, though.
9884         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9885         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9886         (sameFile):  New method.  Uses canonicalizeFilename.
9887
9888 2002-02-22  Tom Tromey  <tromey@redhat.com>
9889
9890         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9891         java.vendor and java.vm.vendor.
9892         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9893         recent copyright date.
9894         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9895         * gij.cc (version): Print `Inc'.
9896
9897 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9898
9899         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9900         * aclocal.m4, configure: Rebuilt.
9901
9902 2002-02-20  Per Bothner  <per@bothner.com>
9903
9904         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
9905         and/or output streams immediately here, instead of using File.exists.
9906         (inputStream, outputStream):  New fields to save open streams.
9907         (getInputStream, getOutputStream):  Use already-opened streams.
9908
9909 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9910
9911         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
9912         Use it.
9913         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
9914         * aclocal.m4, configure, Makefile.in: Rebuilt.
9915
9916 2002-02-19  Tom Tromey  <tromey@redhat.com>
9917
9918         Fix for PR libgcj/5696:
9919         * verify.cc (is_assignable_from_slow): Never call
9920         _Jv_IsAssignableFrom.
9921         (verify_instructions_0): Added new debug statement.
9922         (state::print): Print information about whether local has
9923         changed.
9924         (state::merge): Don't call note_variable when merging locals.
9925         (state::set_exception): Removed old FIXME comment.
9926
9927 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9928
9929         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
9930         enable SO_BROADCAST.
9931
9932 2002-02-18  Jason Merrill  <jason@redhat.com>
9933
9934         * name-finder.cc (toHex): Use word mode, not long long.
9935
9936         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
9937
9938 2002-02-15  Tom Tromey  <tromey@redhat.com>
9939
9940         Fix for PR libgcj/5695:
9941         * verify.cc (is_assignable_from_slow): Check to see if target is
9942         an Object before checking to see if source is an interface.
9943         (verify_instructions_0) [op_invokeinterface]: Handle case where
9944         we're making an interface call on Object.
9945
9946 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9947
9948         * Makefile.in: Rebuilt with Eric's change below.
9949
9950         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
9951         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
9952         Removed functions which are now implemented in Math.java.
9953
9954 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9955
9956         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
9957         * Makefile.am (core_java_source_files): Add
9958         java/lang/StrictMath.java.
9959         * java/lang/Math.java: Merge with Classpath.
9960         * java/lang/StrictMath.java: New file - merge with Classpath.
9961
9962 2002-02-14  Mark Wielaard  <mark@klomp.org>
9963
9964         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
9965         package as a workaround for gcj 3.0.x
9966
9967 2002-02-14  Mark Wielaard <mark@klomp.org>
9968
9969         * java/security/BasicPermission.java: extends with fully qualified
9970         classname as workaround for gcj 3.0.4.
9971
9972 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9973
9974         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
9975         around gcj bug of wrong emitted qualifier for inherited method.
9976         * java/net/SocketImpl.java (setOption, getOption): Ditto.
9977         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
9978         constructor to reduce amount of emitted bytecode. While this
9979         happens to work around a jikes 1.15 bug, it is still a useful
9980         patch even for correct compilers.
9981         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
9982         * gnu/java/rmi/server/UnicastRemoteCall.java
9983         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
9984
9985 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9986
9987         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
9988         * java/net/SocketImpl.java: Ditto.
9989         * java/rmi/server/RMIClassLoader.java: Ditto.
9990         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
9991
9992 2002-02-14  Mark Wielaard <mark@klomp.org>
9993
9994         Thanks to Takashi Okamoto
9995         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
9996         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
9997         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
9998
9999 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10000
10001         Fix for PR libgcj/5670:
10002         * verify.cc (is_assignable_from_slow): If `source' is interface,
10003         recursively look for merge with `target'.
10004
10005 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10006
10007         * include/jni.h: Fix typo.
10008
10009 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10010
10011         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10012         correctly.
10013
10014 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10015
10016         Fix for PR libgcj/5671:
10017         * verify.cc (state::merge): Handle case where we're merging
10018         against an interface.
10019
10020 2002-02-12  Tom Tromey  <tromey@redhat.com>
10021
10022         * exception.cc (std::abort): Mark as noreturn.
10023
10024 2002-02-12  Adam Megacz <adam@xwt.org>
10025
10026         * java/lang/Win32Process.java: Filled in a placeholder
10027         implementation so Win32 will build.
10028
10029 2002-02-12  Adam Megacz <adam@xwt.org>
10030
10031         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10032         * java/io/natFile.cc: Removed from repository.
10033         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10034
10035 2002-02-12  Adam Megacz <adam@xwt.org>
10036
10037         * win32.cc: Added two #includes to make win32.cc compile.
10038
10039 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10040
10041         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10042         declarations.
10043         (_Jv_InitGC): Don't bother locking, as this is always called from a
10044         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10045
10046 2002-02-11  Adam Megacz <adam@xwt.org>
10047
10048         * include/win32.h: Added _Jv_platform_gettimeofday.
10049         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10050
10051 2002-02-11  Adam Megacz <adam@xwt.org>
10052
10053         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10054         Added #undef STRICT to make windows.h and
10055         java/lang/reflect/Modifier.h cooperate.
10056
10057 2002-02-11  Adam Megacz <adam@xwt.org>
10058
10059         * java/io/natFileWin32.cc: Created a placeholder class with lots
10060         of FIXMEs.
10061
10062 2002-02-11  Adam Megacz <adam@xwt.org>
10063
10064         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10065         std::abort() to simply abort(). Also added "fake" std::abort() so
10066         we can #include unwind-pe.h without having to link against
10067         libstdc++-v3.
10068
10069 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10070
10071         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10072
10073 2002-02-08  Tom Tromey  <tromey@redhat.com>
10074
10075         * interpret.cc (convert): New function.
10076         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10077         convert.
10078         Include Long.h.
10079
10080 2002-02-08  Anthony Green  <green@redhat.com>
10081
10082         * configure.host: Add support for xscale-elf embedded target.
10083
10084 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10085
10086         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10087         dereferenced.
10088         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10089         frame.
10090
10091 2002-02-07  Tom Tromey  <tromey@redhat.com>
10092
10093         * java/io/natFile.cc (_access): Use __builtin_alloca.
10094         (_stat): Likewise.
10095         (attr): Likewise.
10096         (getCanonicalPath): Likewise.
10097         (performList): Likewise.
10098         (performMkdir): Likewise.
10099         (performSetReadOnly): Likewise.
10100         (performRenameTo): Likewise.
10101         (performSetLastModified): Likewise.
10102         (performCreate): Likewise.
10103         (performDelete): Likewise.
10104
10105 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10106
10107         * HACKING: Fix URL for the automake-gcj.
10108
10109 2002-02-07  Tom Tromey  <tromey@redhat.com>
10110
10111         * java/lang/natThrowable.cc: Updated copyright.
10112         * java/io/natFileWin32.cc: Updated copyright.
10113         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10114         * win32-threads.cc: Updated copyright.
10115         * name-finder.cc: Updated copyright.
10116         * include/name-finder.h: Updated copyright.
10117
10118         * include/name-finder.h: Conditionally include sys/wait.h.
10119         * include/config.h.in: Rebuilt.
10120
10121         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10122         Size buffer based on real size of string.
10123         (_stat): Likewise.
10124         (attr): Likewise.
10125         (getCanonicalPath): Likewise.
10126         (performList): Likewise.
10127         (performMkdir): Likewise.
10128         (performSetReadOnly): Likewise.
10129         (unixroot): Removed.
10130         (performRenameTo): Likewise.
10131         (performSetLastModified): Likewise.
10132         (performCreate): Likewise.
10133         (performDelete): Likewise.
10134         (performListRoots): Always return new array.
10135
10136         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10137         * win32.cc (win32_exception_handler): Now static.
10138         * include/win32.h (_Jv_platform_initialize): Declare.
10139         (win32_exception_handler): Don't declare.
10140         * java/lang/natSystem.cc (currentTimeMillis): Use
10141         _Jv_platform_gettimeofday.
10142         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10143         (_Jv_select): Use new name.
10144         (_Jv_platform_initialize): New function.
10145         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10146         _Jv_gettimeofday.
10147         (_Jv_platform_initialize): Declare.
10148
10149         * configure: Rebuilt.
10150         * configure.in: Removed unnecessary parens.
10151
10152 2002-02-06  Adam Megacz <adam@xwt.org>
10153
10154        * configure.in: Changed mingw) to *mingw*).
10155        * win32.cc: Created this file.
10156        * win32.h: Created this file.
10157        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10158        win32_exception_handler from prims.cc to win32.cc, added
10159        header in win32.h.
10160        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10161        longer needed now that we have platform.h
10162
10163 2002-02-06  Adam Megacz <adam@xwt.org>
10164
10165         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10166         use uint<n>_t instead of LONG and BYTE
10167
10168 2002-02-06  Adam Megacz <adam@xwt.org>
10169
10170         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10171
10172 2002-02-06  Anthony Green  <green@redhat.com>
10173
10174         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10175         Implement missing method stubs.
10176         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10177         targets.
10178         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10179         concept of timezones.
10180         (init_properties): Don't refer to _Jv_Environment_Properties
10181         when this feature is not available.
10182         * include/config.h.in: Rebuilt.
10183         * acconfig.h: Add DISABLE_MAIN_ARGS.
10184         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10185         * configure: Rebuilt.
10186         * configure.in: Add --disable-main-args option.  Test for
10187           opendir function.  Replace AC_CHECK_SIZEOF with
10188           AC_COMPILE_CHECK_SIZEOF.
10189         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10190         * aclocal.m4: Rebuilt.
10191         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10192
10193 2002-02-06  Tom Tromey  <tromey@redhat.com>
10194
10195         * verify.cc (require_array_type): If argument is a null array of
10196         references, return null as the element type.
10197
10198 2002-02-06  Mark Wielaard  <mark@klomp.org>
10199
10200         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10201         duplicate of a wide type.
10202
10203 2002-02-06  Tom Tromey  <tromey@redhat.com>
10204
10205         * verify.cc (type::isnull): New method.
10206         (require_array_type): Handle case where array is null.
10207         (verify_instructions_0) [op_arraylength]: Likewise.
10208
10209 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10210
10211         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10212         Symlink PLATFORMH to platform.h.
10213         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10214         PLATFORMOBJS.
10215         * java/lang/natSystem.cc: #include platform.h not posix.h.
10216         * Makefile.in: Rebuilt with libgcj automake.
10217         * configure: Rebuilt.
10218
10219 2002-02-05  Richard Henderson  <rth@redhat.com>
10220
10221         * Makefile.in: Undo munging last change.
10222
10223 2002-02-04  Adam Megacz <adam@xwt.org>
10224
10225         * win32.cc: Created it.
10226         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10227         which is set to posix.cc or win32.cc.
10228         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10229
10230 2002-02-04  Adam Megacz <adam@xwt.org>
10231
10232         * configure.in: Corrected mingw case branches; added * before
10233         and after.
10234
10235 2002-02-04  Adam Megacz <adam@xwt.org>
10236
10237         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10238         if compiling for win32
10239
10240 2002-02-04  Adam Megacz <adam@xwt.org>
10241
10242         * win32-threads.cc: #undef STRICT after gc.h inclusion
10243
10244 2002-02-02  Tom Tromey  <tromey@redhat.com>
10245
10246         * Makefile.in: Rebuilt.
10247
10248 2002-02-02  Jason Merrill  <jason@redhat.com>
10249
10250         * Makefile.am (clean-nat): New target.
10251
10252 2002-02-02  Tom Tromey  <tromey@redhat.com>
10253
10254         * java/io/natFile.cc: Removed old "FIXME" comments.
10255
10256 2002-02-01  Tom Tromey  <tromey@redhat.com>
10257
10258         * java/lang/natPosixProcess.cc (myclose): New function.
10259         (fail): Use it.
10260         (startProcess): Likewise.
10261
10262 2002-02-01  Adam Megacz <adam@xwt.org>
10263
10264         * prims.cc: Added #undef STRICT after #include<windows.h>.
10265
10266 2002-02-01  Adam Megacz <adam@xwt.org>
10267
10268         * prims.cc
10269         (_Jv_CreateJavaVM): We now use WIN32 instead of
10270         USE_WIN32_SIGNALLING and USE_WINSOCK.
10271         (win32_exception_handler): Now throws an exception out of
10272         the signal handler; assumes SJLJ.
10273
10274 2002-02-01  Adam Megacz <adam@xwt.org>
10275
10276         * win32-threads.cc:
10277         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10278         wait() algorithm to make it safe.
10279         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10280         Added lazy creation of Win32 Events for better performance
10281         (really_start): This now uses GC_CreateThread so boehm-gc
10282         knows about new threads even when statically linked.
10283
10284 2002-02-01  Adam Megacz <adam@xwt.org>
10285
10286         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10287         enable safer wait() algorithm.
10288         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10289         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10290         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10291         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10292         instead of mutex.
10293         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10294
10295 2002-02-01  Adam Megacz <adam@xwt.org>
10296
10297         * configure.in: Added support for mingw.
10298         * java/lang/Win32Process.java: Created as empty file.
10299         * java/lang/natWin32Process.cc: Created as empty file.
10300
10301 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10302
10303         PR java/4972
10304         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10305         for libiconv in LIBICONV variable.
10306         * configure: Regenerated.
10307
10308 2002-01-31  Tom Tromey  <tromey@redhat.com>
10309
10310         * verify.cc (state::enter_subroutine): New method.
10311         (handle_jsr_insn): Use it.
10312         (state::merge): When processing a `ret', correctly use
10313         subroutine's state to determine which local variables have
10314         changed.
10315         (push_exception_jump): Don't let stack overflow.
10316
10317 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10318
10319         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10320         --version output.
10321
10322 2002-01-30  Tom Tromey  <tromey@redhat.com>
10323
10324         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10325         parameter for `recv' return type.
10326
10327         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10328         (state::merge): ... not here.
10329         (subr_entry_info): New structure.
10330         (entry_points): New field.
10331         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10332         entry_points.
10333
10334 2002-01-29  Tom Tromey  <tromey@redhat.com>
10335
10336         * java/awt/List.java (addNotify): Correctly check to see if peer
10337         does not exist.
10338
10339         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10340         to compute height of each cell, and number of columns to compute
10341         width of each cell.
10342         * java/awt/Window.java (getOwnedWindows): Don't return null.
10343         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10344         of component.  Increment x using horizontal gap, not vertical
10345         gap.
10346
10347 2002-01-28  Tom Tromey  <tromey@redhat.com>
10348
10349         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10350         `nargs' byte is number of words, not number of arguments.
10351
10352 2002-01-27  Tom Tromey  <tromey@redhat.com>
10353
10354         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10355         (when): Likewise.
10356         * java/awt/event/InputEvent.java (modifiers, when): Now
10357         package-private.
10358
10359         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10360         and to-do list.
10361         (state::merge): Use current class' class loader.
10362         (state::print): Print subroutine.
10363         (state::merge): Don't look at subroutine of unmerged `ret'.
10364
10365 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10366
10367         * nogc.cc: Remove warnings.
10368         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10369         New functions.
10370
10371 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10372
10373         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10374         int, int):  Remove empty "if" statement to work around compiler bug.
10375         (newPixels(int[], ColorModel, int, int): Likewise.
10376
10377 2002-01-25  Per Bothner  <per@bothner.com>
10378
10379         * verify.cc (verify_fail):  Change from being a top-level function
10380         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10381         Pass the current verifier to type: and state: methods as needed,
10382         for better error messages, and for resolve.
10383         (resolve):  Pass current class's loader for Class.forName and
10384         _Jv_FindClassFromSignature, rather than using the default loader.
10385         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10386         (get_type_val_for_signature):  Make non-static.
10387         (various methods):  Pass start_PC implicitly, not explicitly.
10388
10389 2002-01-25  Tom Tromey  <tromey@redhat.com>
10390
10391         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10392         loop termination condition.
10393         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10394         width.
10395
10396 2002-01-24  Tom Tromey  <tromey@redhat.com>
10397
10398         * java/awt/Shape.java: Merged with Classpath.
10399         * java/awt/Scrollbar.java: Merged with Classpath.
10400
10401         * java/awt/Container.java (addNotify): Unconditionally call
10402         addNotifyContainerChildren and superclass addNotify.
10403
10404         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10405         getAlpha, not getBlue.
10406
10407 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10408
10409         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10410
10411         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10412         (grabPixels(long)): Wait to be notified that the ImageProducer has
10413         completed.
10414
10415 2002-01-24  Per Bothner  <per@bothner.com>
10416
10417         * verify.cc (is_assignable_from_slow): If target is an interface,
10418         we must still check the source's superclass before giving up.
10419
10420 2002-01-24  Tom Tromey  <tromey@redhat.com>
10421
10422         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10423
10424 2002-01-23  Tom Tromey  <tromey@redhat.com>
10425
10426         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10427         `else'.
10428
10429         * Makefile.in: Rebuilt.
10430         * Makefile.am (awt_java_source_files): Added new files.
10431         * java/awt/Toolkit.java: Merged with Classpath.
10432         * java/awt/PrintGraphics.java: New file from Classpath.
10433         * java/awt/PrintJob.java: New file from Classpath.
10434         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10435         * java/awt/datatransfer/ClipboardOwner.java: New file from
10436         Classpath.
10437         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10438         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10439         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10440         Classpath.
10441         * java/awt/datatransfer/StringSelection.java: New file from
10442         Classpath.
10443         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10444         Classpath.
10445         * java/awt/datatransfer/Transferable.java: New file from
10446         Classpath.
10447         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10448         from Classpath.
10449
10450         * Makefile.in: Rebuilt.
10451         * Makefile.am (awt_java_source_files): Added new files.
10452         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10453         Classpath.
10454         * java/awt/image/CropImageFilter.java: New file from Classpath.
10455         * java/awt/image/FilteredImageSource.java: New file from
10456         Classpath.
10457         * java/awt/image/ImageFilter.java: New file from Classpath.
10458         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10459         * java/awt/image/PixelGrabber.java: New file from Classpath.
10460         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10461         * java/awt/image/ReplicateScaleFilter.java: New file from
10462         Classpath.
10463         * java/awt/image/ImageProducer.java: Replaced with Classpath
10464         version.
10465         * java/awt/image/ImageObserver.java: Replaced with Classpath
10466         version.
10467         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10468         version.
10469         * java/awt/GridBagConstraints.java (clone): Catch
10470         CloneNotSupportedException.
10471
10472 2002-01-23  Per Bothner  <per@bothner.com>
10473
10474         * java/lang/reflect/natField.cc (setAddr):  New function.
10475         Calls getAddr and then checks that the field isn't final.
10476         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10477         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10478         (set):  Call setAddr before check that new value has right type,
10479         to better match specified semantics.
10480
10481 2002-01-22  Tom Tromey  <tromey@redhat.com>
10482
10483         * java/awt/TextField.java: Replaced with Classpath version.
10484         * java/awt/TextArea.java: Replaced with Classpath version.
10485         * java/awt/TextComponent.java: Replaced with Classpath version.
10486
10487         * java/awt/GridBagConstraints.java: Updated copyright.
10488
10489 2002-01-22  Mark Wielaard <mark@klomp.org>
10490
10491         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10492         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10493         java/awt/Dialog.java java/awt/FileDialog.java
10494         java/awt/Font.java java/awt/FontMetrics.java
10495         java/awt/Image.java java/awt/ImageMediaEntry.java
10496         java/awt/Insets.java java/awt/List.java
10497         java/awt/MediaEntry.java java/awt/MediaTracker.java
10498         java/awt/Menu.java java/awt/MenuBar.java
10499         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10500         java/awt/PaintContext.java java/awt/Panel.java
10501         java/awt/PopupMenu.java java/awt/SystemColor.java
10502         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10503         java/awt/peer/CheckboxMenuItemPeer.java
10504         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10505         java/awt/peer/ComponentPeer.java
10506         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10507         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10508         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10509         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10510         java/awt/peer/MenuBarPeer.java
10511         java/awt/peer/MenuComponentPeer.java
10512         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10513         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10514         java/awt/peer/ScrollPanePeer.java
10515         java/awt/peer/ScrollbarPeer.java
10516         java/awt/peer/TextAreaPeer.java
10517         java/awt/peer/TextComponentPeer.java
10518         java/awt/peer/TextFieldPeer.java
10519         java/awt/peer/WindowPeer.java: Add license clarification.
10520
10521 2002-01-22  Mark Wielaard <mark@klomp.org>
10522
10523         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10524         gnu/gcj/runtime/StringBuffer.java
10525         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10526         gnu/java/awt/ComponentDataBlitOp.java
10527         gnu/java/awt/GLightweightPeer.java
10528         gnu/java/beans/BeanInfoEmbryo.java
10529         gnu/java/beans/EmptyBeanInfo.java
10530         gnu/java/beans/ExplicitBeanInfo.java
10531         gnu/java/beans/IntrospectionIncubator.java
10532         gnu/java/beans/editors/ColorEditor.java
10533         gnu/java/beans/editors/FontEditor.java
10534         gnu/java/beans/editors/NativeBooleanEditor.java
10535         gnu/java/beans/editors/NativeByteEditor.java
10536         gnu/java/beans/editors/NativeDoubleEditor.java
10537         gnu/java/beans/editors/NativeFloatEditor.java
10538         gnu/java/beans/editors/NativeIntEditor.java
10539         gnu/java/beans/editors/NativeLongEditor.java
10540         gnu/java/beans/editors/NativeShortEditor.java
10541         gnu/java/beans/editors/StringEditor.java
10542         gnu/java/beans/info/ComponentBeanInfo.java
10543         gnu/java/io/ClassLoaderObjectInputStream.java
10544         gnu/java/io/NullOutputStream.java
10545         gnu/java/io/ObjectIdentityWrapper.java
10546         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10547         gnu/java/lang/reflect/TypeSignature.java
10548         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10549         gnu/java/locale/Calendar_en.java
10550         gnu/java/locale/Calendar_nl.java
10551         gnu/java/locale/LocaleInformation.java
10552         gnu/java/locale/LocaleInformation_de.java
10553         gnu/java/locale/LocaleInformation_en.java
10554         gnu/java/locale/LocaleInformation_nl.java
10555         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10556         gnu/java/rmi/registry/RegistryImpl.java
10557         gnu/java/rmi/rmic/Compile_gcj.java
10558         gnu/java/rmi/rmic/Compiler.java
10559         gnu/java/rmi/rmic/CompilerProcess.java
10560         gnu/java/rmi/rmic/RMIC.java
10561         gnu/java/rmi/rmic/TabbedWriter.java
10562         gnu/java/rmi/server/ProtocolConstants.java
10563         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10564         gnu/java/rmi/server/RMIHashes.java
10565         gnu/java/rmi/server/RMIObjectInputStream.java
10566         gnu/java/rmi/server/RMIObjectOutputStream.java
10567         gnu/java/rmi/server/UnicastConnection.java
10568         gnu/java/rmi/server/UnicastConnectionManager.java
10569         gnu/java/rmi/server/UnicastRef.java
10570         gnu/java/rmi/server/UnicastRemoteCall.java
10571         gnu/java/rmi/server/UnicastRemoteStub.java
10572         gnu/java/rmi/server/UnicastServer.java
10573         gnu/java/rmi/server/UnicastServerRef.java
10574         gnu/java/security/provider/DefaultPolicy.java
10575         gnu/java/security/provider/Gnu.java
10576         gnu/java/security/provider/SHA.java
10577         gnu/java/security/provider/SHA1PRNG.java
10578         gnu/java/text/BaseBreakIterator.java
10579         gnu/java/text/CharacterBreakIterator.java
10580         gnu/java/text/LineBreakIterator.java
10581         gnu/java/text/SentenceBreakIterator.java
10582         gnu/java/text/WordBreakIterator.java
10583         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10584         java/applet/AppletContext.java java/applet/AppletStub.java
10585         java/applet/AudioClip.java java/awt/AWTError.java
10586         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10587         java/awt/AWTException.java java/awt/AWTPermission.java
10588         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10589         java/awt/Button.java java/awt/Canvas.java
10590         java/awt/CardLayout.java java/awt/Checkbox.java
10591         java/awt/CheckboxGroup.java java/awt/Component.java
10592         java/awt/ComponentOrientation.java java/awt/Container.java
10593         java/awt/Dimension.java java/awt/Event.java
10594         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10595         java/awt/FlowLayout.java java/awt/Frame.java
10596         java/awt/Graphics.java java/awt/Graphics2D.java
10597         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10598         java/awt/IllegalComponentStateException.java
10599         java/awt/ItemSelectable.java java/awt/Label.java
10600         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10601         java/awt/MenuComponent.java java/awt/MenuItem.java
10602         java/awt/Paint.java java/awt/Point.java
10603         java/awt/Rectangle.java java/awt/RenderingHints.java
10604         java/awt/Transparency.java java/awt/Window.java
10605         java/awt/color/ColorSpace.java
10606         java/awt/color/ICC_ColorSpace.java
10607         java/awt/color/ICC_Profile.java
10608         java/awt/event/HierarchyBoundsAdapter.java
10609         java/awt/event/HierarchyBoundsListener.java
10610         java/awt/event/HierarchyEvent.java
10611         java/awt/event/HierarchyListener.java
10612         java/awt/geom/AffineTransform.java
10613         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10614         java/awt/geom/IllegalPathStateException.java
10615         java/awt/geom/Line2D.java
10616         java/awt/geom/NoninvertibleTransformException.java
10617         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10618         java/awt/geom/Rectangle2D.java
10619         java/awt/geom/RectangularShape.java
10620         java/awt/geom/RoundRectangle2D.java
10621         java/awt/image/BufferedImage.java
10622         java/awt/image/ColorModel.java
10623         java/awt/image/ComponentColorModel.java
10624         java/awt/image/ComponentSampleModel.java
10625         java/awt/image/DataBuffer.java
10626         java/awt/image/DataBufferByte.java
10627         java/awt/image/DataBufferInt.java
10628         java/awt/image/DataBufferUShort.java
10629         java/awt/image/DirectColorModel.java
10630         java/awt/image/PackedColorModel.java
10631         java/awt/image/Raster.java java/awt/image/RasterOp.java
10632         java/awt/image/SampleModel.java
10633         java/awt/image/SinglePixelPackedSampleModel.java
10634         java/awt/image/WritableRaster.java
10635         java/beans/AppletInitializer.java
10636         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10637         java/beans/Beans.java java/beans/Customizer.java
10638         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10639         java/beans/FeatureDescriptor.java
10640         java/beans/IndexedPropertyDescriptor.java
10641         java/beans/IntrospectionException.java
10642         java/beans/Introspector.java java/beans/MethodDescriptor.java
10643         java/beans/ParameterDescriptor.java
10644         java/beans/PropertyChangeEvent.java
10645         java/beans/PropertyChangeListener.java
10646         java/beans/PropertyChangeSupport.java
10647         java/beans/PropertyDescriptor.java
10648         java/beans/PropertyEditor.java
10649         java/beans/PropertyEditorManager.java
10650         java/beans/PropertyEditorSupport.java
10651         java/beans/PropertyVetoException.java
10652         java/beans/SimpleBeanInfo.java
10653         java/beans/VetoableChangeListener.java
10654         java/beans/VetoableChangeSupport.java
10655         java/beans/Visibility.java
10656         java/beans/beancontext/BeanContext.java
10657         java/beans/beancontext/BeanContextChild.java
10658         java/beans/beancontext/BeanContextChildComponentProxy.java
10659         java/beans/beancontext/BeanContextChildSupport.java
10660         java/beans/beancontext/BeanContextContainerProxy.java
10661         java/beans/beancontext/BeanContextEvent.java
10662         java/beans/beancontext/BeanContextMembershipEvent.java
10663         java/beans/beancontext/BeanContextMembershipListener.java
10664         java/beans/beancontext/BeanContextProxy.java
10665         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10666         java/beans/beancontext/BeanContextServiceProvider.java
10667         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10668         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10669         java/beans/beancontext/BeanContextServiceRevokedListener.java
10670         java/beans/beancontext/BeanContextServices.java
10671         java/beans/beancontext/BeanContextServicesListener.java
10672         java/io/BufferedInputStream.java
10673         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10674         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10675         java/io/ByteArrayOutputStream.java
10676         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10677         java/io/CharConversionException.java java/io/DataInput.java
10678         java/io/DataInputStream.java java/io/DataOutput.java
10679         java/io/EOFException.java java/io/Externalizable.java
10680         java/io/FileFilter.java java/io/FileNotFoundException.java
10681         java/io/FilePermission.java java/io/FileReader.java
10682         java/io/FileWriter.java java/io/FilenameFilter.java
10683         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10684         java/io/FilterReader.java java/io/FilterWriter.java
10685         java/io/IOException.java java/io/InputStream.java
10686         java/io/InterruptedIOException.java
10687         java/io/InvalidClassException.java
10688         java/io/InvalidObjectException.java
10689         java/io/NotActiveException.java
10690         java/io/NotSerializableException.java java/io/ObjectInput.java
10691         java/io/ObjectInputStream.java
10692         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10693         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10694         java/io/ObjectStreamConstants.java
10695         java/io/ObjectStreamException.java
10696         java/io/ObjectStreamField.java
10697         java/io/OptionalDataException.java java/io/OutputStream.java
10698         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10699         java/io/PipedReader.java java/io/PipedWriter.java
10700         java/io/PrintWriter.java java/io/PushbackInputStream.java
10701         java/io/PushbackReader.java java/io/Reader.java
10702         java/io/SequenceInputStream.java java/io/Serializable.java
10703         java/io/SerializablePermission.java
10704         java/io/StreamCorruptedException.java
10705         java/io/StreamTokenizer.java
10706         java/io/StringBufferInputStream.java java/io/StringReader.java
10707         java/io/StringWriter.java java/io/SyncFailedException.java
10708         java/io/UTFDataFormatException.java
10709         java/io/UnsupportedEncodingException.java
10710         java/io/WriteAbortedException.java java/io/Writer.java
10711         java/lang/AbstractMethodError.java
10712         java/lang/ArithmeticException.java
10713         java/lang/ArrayIndexOutOfBoundsException.java
10714         java/lang/ArrayStoreException.java java/lang/Boolean.java
10715         java/lang/Byte.java java/lang/CharSequence.java
10716         java/lang/ClassCastException.java
10717         java/lang/ClassCircularityError.java
10718         java/lang/ClassFormatError.java
10719         java/lang/ClassNotFoundException.java
10720         java/lang/CloneNotSupportedException.java
10721         java/lang/Cloneable.java java/lang/Comparable.java
10722         java/lang/Compiler.java java/lang/Double.java
10723         java/lang/Error.java java/lang/Exception.java
10724         java/lang/ExceptionInInitializerError.java
10725         java/lang/Float.java java/lang/IllegalAccessError.java
10726         java/lang/IllegalAccessException.java
10727         java/lang/IllegalArgumentException.java
10728         java/lang/IllegalMonitorStateException.java
10729         java/lang/IllegalStateException.java
10730         java/lang/IllegalThreadStateException.java
10731         java/lang/IncompatibleClassChangeError.java
10732         java/lang/IndexOutOfBoundsException.java
10733         java/lang/InheritableThreadLocal.java
10734         java/lang/InstantiationError.java
10735         java/lang/InstantiationException.java java/lang/Integer.java
10736         java/lang/InternalError.java
10737         java/lang/InterruptedException.java
10738         java/lang/LinkageError.java java/lang/Long.java
10739         java/lang/NegativeArraySizeException.java
10740         java/lang/NoClassDefFoundError.java
10741         java/lang/NoSuchFieldError.java
10742         java/lang/NoSuchFieldException.java
10743         java/lang/NoSuchMethodError.java
10744         java/lang/NoSuchMethodException.java
10745         java/lang/NullPointerException.java java/lang/Number.java
10746         java/lang/NumberFormatException.java
10747         java/lang/OutOfMemoryError.java java/lang/Package.java
10748         java/lang/Process.java java/lang/Runnable.java
10749         java/lang/RuntimeException.java
10750         java/lang/RuntimePermission.java
10751         java/lang/SecurityException.java
10752         java/lang/SecurityManager.java java/lang/Short.java
10753         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10754         java/lang/StringIndexOutOfBoundsException.java
10755         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10756         java/lang/ThreadLocal.java java/lang/UnknownError.java
10757         java/lang/UnsatisfiedLinkError.java
10758         java/lang/UnsupportedClassVersionError.java
10759         java/lang/UnsupportedOperationException.java
10760         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10761         java/lang/Void.java java/lang/ref/PhantomReference.java
10762         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10763         java/lang/ref/SoftReference.java
10764         java/lang/ref/WeakReference.java
10765         java/lang/reflect/AccessibleObject.java
10766         java/lang/reflect/InvocationTargetException.java
10767         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10768         java/lang/reflect/ReflectPermission.java
10769         java/math/BigDecimal.java java/math/BigInteger.java
10770         java/net/Authenticator.java java/net/BindException.java
10771         java/net/ConnectException.java java/net/ContentHandler.java
10772         java/net/ContentHandlerFactory.java
10773         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10774         java/net/FileNameMap.java java/net/MalformedURLException.java
10775         java/net/MulticastSocket.java java/net/NetPermission.java
10776         java/net/NoRouteToHostException.java
10777         java/net/PasswordAuthentication.java
10778         java/net/ProtocolException.java java/net/ServerSocket.java
10779         java/net/Socket.java java/net/SocketException.java
10780         java/net/SocketImpl.java java/net/SocketImplFactory.java
10781         java/net/SocketOptions.java java/net/SocketPermission.java
10782         java/net/URLDecoder.java java/net/URLEncoder.java
10783         java/net/URLStreamHandlerFactory.java
10784         java/net/UnknownHostException.java
10785         java/net/UnknownServiceException.java
10786         java/rmi/AccessException.java
10787         java/rmi/AlreadyBoundException.java
10788         java/rmi/ConnectException.java
10789         java/rmi/ConnectIOException.java
10790         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10791         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10792         java/rmi/NotBoundException.java
10793         java/rmi/RMISecurityException.java
10794         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10795         java/rmi/RemoteException.java java/rmi/ServerError.java
10796         java/rmi/ServerException.java
10797         java/rmi/ServerRuntimeException.java
10798         java/rmi/StubNotFoundException.java
10799         java/rmi/UnexpectedException.java
10800         java/rmi/UnknownHostException.java
10801         java/rmi/UnmarshalException.java
10802         java/rmi/activation/Activatable.java
10803         java/rmi/activation/ActivateFailedException.java
10804         java/rmi/activation/ActivationDesc.java
10805         java/rmi/activation/ActivationException.java
10806         java/rmi/activation/ActivationGroup.java
10807         java/rmi/activation/ActivationGroupDesc.java
10808         java/rmi/activation/ActivationGroupID.java
10809         java/rmi/activation/ActivationID.java
10810         java/rmi/activation/ActivationInstantiator.java
10811         java/rmi/activation/ActivationMonitor.java
10812         java/rmi/activation/ActivationSystem.java
10813         java/rmi/activation/Activator.java
10814         java/rmi/activation/UnknownGroupException.java
10815         java/rmi/activation/UnknownObjectException.java
10816         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10817         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10818         java/rmi/registry/Registry.java
10819         java/rmi/registry/RegistryHandler.java
10820         java/rmi/server/ExportException.java
10821         java/rmi/server/LoaderHandler.java
10822         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10823         java/rmi/server/Operation.java
10824         java/rmi/server/RMIClassLoader.java
10825         java/rmi/server/RMIClientSocketFactory.java
10826         java/rmi/server/RMIFailureHandler.java
10827         java/rmi/server/RMIServerSocketFactory.java
10828         java/rmi/server/RMISocketFactory.java
10829         java/rmi/server/RemoteCall.java
10830         java/rmi/server/RemoteObject.java
10831         java/rmi/server/RemoteRef.java
10832         java/rmi/server/RemoteServer.java
10833         java/rmi/server/RemoteStub.java
10834         java/rmi/server/ServerCloneException.java
10835         java/rmi/server/ServerNotActiveException.java
10836         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10837         java/rmi/server/SkeletonMismatchException.java
10838         java/rmi/server/SkeletonNotFoundException.java
10839         java/rmi/server/SocketSecurityException.java
10840         java/rmi/server/UID.java
10841         java/rmi/server/UnicastRemoteObject.java
10842         java/rmi/server/Unreferenced.java
10843         java/security/AccessControlContext.java
10844         java/security/AccessControlException.java
10845         java/security/AccessController.java
10846         java/security/AlgorithmParameterGenerator.java
10847         java/security/AlgorithmParameterGeneratorSpi.java
10848         java/security/AlgorithmParameters.java
10849         java/security/AlgorithmParametersSpi.java
10850         java/security/AllPermission.java
10851         java/security/BasicPermission.java
10852         java/security/Certificate.java java/security/CodeSource.java
10853         java/security/DigestException.java
10854         java/security/DigestInputStream.java
10855         java/security/DigestOutputStream.java
10856         java/security/DomainCombiner.java
10857         java/security/DummyKeyPairGenerator.java
10858         java/security/DummyMessageDigest.java
10859         java/security/DummySignature.java
10860         java/security/GeneralSecurityException.java
10861         java/security/Guard.java java/security/GuardedObject.java
10862         java/security/Identity.java java/security/IdentityScope.java
10863         java/security/InvalidAlgorithmParameterException.java
10864         java/security/InvalidKeyException.java
10865         java/security/InvalidParameterException.java
10866         java/security/Key.java java/security/KeyException.java
10867         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10868         java/security/KeyManagementException.java
10869         java/security/KeyPair.java java/security/KeyPairGenerator.java
10870         java/security/KeyPairGeneratorSpi.java
10871         java/security/KeyStore.java
10872         java/security/KeyStoreException.java
10873         java/security/KeyStoreSpi.java
10874         java/security/MessageDigest.java
10875         java/security/MessageDigestSpi.java
10876         java/security/NoSuchAlgorithmException.java
10877         java/security/NoSuchProviderException.java
10878         java/security/Permission.java
10879         java/security/PermissionCollection.java
10880         java/security/Permissions.java java/security/Policy.java
10881         java/security/Principal.java java/security/PrivateKey.java
10882         java/security/PrivilegedAction.java
10883         java/security/PrivilegedActionException.java
10884         java/security/PrivilegedExceptionAction.java
10885         java/security/ProtectionDomain.java
10886         java/security/Provider.java
10887         java/security/ProviderException.java
10888         java/security/PublicKey.java
10889         java/security/SecureClassLoader.java
10890         java/security/SecureRandom.java
10891         java/security/SecureRandomSpi.java java/security/Security.java
10892         java/security/SecurityPermission.java
10893         java/security/Signature.java
10894         java/security/SignatureException.java
10895         java/security/SignatureSpi.java
10896         java/security/SignedObject.java java/security/Signer.java
10897         java/security/UnrecoverableKeyException.java
10898         java/security/UnresolvedPermission.java
10899         java/security/acl/Acl.java java/security/acl/AclEntry.java
10900         java/security/acl/AclNotFoundException.java
10901         java/security/acl/Group.java
10902         java/security/acl/LastOwnerException.java
10903         java/security/acl/NotOwnerException.java
10904         java/security/acl/Owner.java java/security/acl/Permission.java
10905         java/security/cert/CRL.java
10906         java/security/cert/CRLException.java
10907         java/security/cert/Certificate.java
10908         java/security/cert/CertificateEncodingException.java
10909         java/security/cert/CertificateException.java
10910         java/security/cert/CertificateExpiredException.java
10911         java/security/cert/CertificateFactory.java
10912         java/security/cert/CertificateFactorySpi.java
10913         java/security/cert/CertificateNotYetValidException.java
10914         java/security/cert/CertificateParsingException.java
10915         java/security/cert/X509CRL.java
10916         java/security/cert/X509CRLEntry.java
10917         java/security/cert/X509Certificate.java
10918         java/security/cert/X509Extension.java
10919         java/security/interfaces/DSAKey.java
10920         java/security/interfaces/DSAKeyPairGenerator.java
10921         java/security/interfaces/DSAParams.java
10922         java/security/interfaces/DSAPrivateKey.java
10923         java/security/interfaces/DSAPublicKey.java
10924         java/security/interfaces/RSAKey.java
10925         java/security/interfaces/RSAPrivateCrtKey.java
10926         java/security/interfaces/RSAPrivateKey.java
10927         java/security/interfaces/RSAPublicKey.java
10928         java/security/spec/AlgorithmParameterSpec.java
10929         java/security/spec/DSAParameterSpec.java
10930         java/security/spec/DSAPrivateKeySpec.java
10931         java/security/spec/DSAPublicKeySpec.java
10932         java/security/spec/EncodedKeySpec.java
10933         java/security/spec/InvalidKeySpecException.java
10934         java/security/spec/InvalidParameterSpecException.java
10935         java/security/spec/KeySpec.java
10936         java/security/spec/PKCS8EncodedKeySpec.java
10937         java/security/spec/RSAKeyGenParameterSpec.java
10938         java/security/spec/RSAPrivateCrtKeySpec.java
10939         java/security/spec/RSAPrivateKeySpec.java
10940         java/security/spec/RSAPublicKeySpec.java
10941         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
10942         java/sql/BatchUpdateException.java java/sql/Blob.java
10943         java/sql/CallableStatement.java java/sql/Clob.java
10944         java/sql/Connection.java java/sql/DataTruncation.java
10945         java/sql/DatabaseMetaData.java java/sql/Date.java
10946         java/sql/Driver.java java/sql/DriverManager.java
10947         java/sql/DriverPropertyInfo.java
10948         java/sql/PreparedStatement.java java/sql/Ref.java
10949         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
10950         java/sql/SQLData.java java/sql/SQLException.java
10951         java/sql/SQLInput.java java/sql/SQLOutput.java
10952         java/sql/SQLWarning.java java/sql/Statement.java
10953         java/sql/Struct.java java/sql/Time.java
10954         java/sql/Timestamp.java java/sql/Types.java
10955         java/text/Annotation.java
10956         java/text/AttributedCharacterIterator.java
10957         java/text/AttributedString.java
10958         java/text/AttributedStringIterator.java
10959         java/text/BreakIterator.java java/text/CharacterIterator.java
10960         java/text/ChoiceFormat.java java/text/Collator.java
10961         java/text/DateFormat.java java/text/DateFormatSymbols.java
10962         java/text/DecimalFormat.java
10963         java/text/DecimalFormatSymbols.java
10964         java/text/FieldPosition.java java/text/Format.java
10965         java/text/MessageFormat.java java/text/NumberFormat.java
10966         java/text/ParseException.java java/text/ParsePosition.java
10967         java/text/SimpleDateFormat.java
10968         java/text/StringCharacterIterator.java
10969         java/util/AbstractCollection.java java/util/AbstractList.java
10970         java/util/AbstractMap.java
10971         java/util/AbstractSequentialList.java
10972         java/util/AbstractSet.java java/util/ArrayList.java
10973         java/util/Arrays.java java/util/BasicMapEntry.java
10974         java/util/BitSet.java java/util/Calendar.java
10975         java/util/Collection.java java/util/Collections.java
10976         java/util/Comparator.java
10977         java/util/ConcurrentModificationException.java
10978         java/util/Date.java java/util/Dictionary.java
10979         java/util/EmptyStackException.java java/util/Enumeration.java
10980         java/util/EventListener.java java/util/EventObject.java
10981         java/util/GregorianCalendar.java java/util/HashMap.java
10982         java/util/HashSet.java java/util/Hashtable.java
10983         java/util/IdentityHashMap.java java/util/Iterator.java
10984         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
10985         java/util/LinkedList.java java/util/List.java
10986         java/util/ListIterator.java java/util/ListResourceBundle.java
10987         java/util/Locale.java java/util/Map.java
10988         java/util/MissingResourceException.java
10989         java/util/NoSuchElementException.java
10990         java/util/Observable.java java/util/Observer.java
10991         java/util/Properties.java java/util/PropertyPermission.java
10992         java/util/PropertyResourceBundle.java java/util/Random.java
10993         java/util/RandomAccess.java java/util/ResourceBundle.java
10994         java/util/Set.java java/util/SimpleTimeZone.java
10995         java/util/SortedMap.java java/util/SortedSet.java
10996         java/util/Stack.java java/util/StringTokenizer.java
10997         java/util/TimeZone.java java/util/Timer.java
10998         java/util/TimerTask.java
10999         java/util/TooManyListenersException.java
11000         java/util/TreeMap.java java/util/TreeSet.java
11001         java/util/Vector.java java/util/WeakHashMap.java
11002         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11003         java/util/jar/JarException.java java/util/jar/JarFile.java
11004         java/util/jar/JarInputStream.java
11005         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11006         java/util/zip/Adler32.java java/util/zip/CRC32.java
11007         java/util/zip/CheckedInputStream.java
11008         java/util/zip/CheckedOutputStream.java
11009         java/util/zip/Checksum.java
11010         java/util/zip/DataFormatException.java
11011         java/util/zip/Deflater.java
11012         java/util/zip/DeflaterOutputStream.java
11013         java/util/zip/GZIPInputStream.java
11014         java/util/zip/GZIPOutputStream.java
11015         java/util/zip/Inflater.java
11016         java/util/zip/InflaterInputStream.java
11017         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11018         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11019         java/util/zip/ZipInputStream.java
11020         java/util/zip/ZipOutputStream.java
11021         javax/naming/BinaryRefAddr.java
11022         javax/naming/InvalidNameException.java javax/naming/Name.java
11023         javax/naming/NamingException.java javax/naming/RefAddr.java
11024         javax/naming/StringRefAddr.java: Add license clarification.
11025
11026 2002-01-22  Tom Tromey  <tromey@redhat.com>
11027
11028         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11029         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11030         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11031         version.
11032         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11033         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11034         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11035         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11036         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11037         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11038         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11039         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11040         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11041         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11042         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11043         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11044         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11045         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11046         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11047         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11048         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11049         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11050         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11051         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11052         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11053         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11054         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11055         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11056         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11057         (minimumSize, preferredSize, reshape): Likewise.
11058         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11059         getColorModel): New methods.
11060         * java/awt/PopupMenu.java: Merged with Classpath.
11061         * java/awt/MenuBar.java: Merged with Classpath.
11062         * java/awt/SystemColor.java: Replace with Classpath version.
11063         * java/awt/Panel.java: Merged with Classpath.
11064         * java/awt/PaintContext.java: Updated copyright.
11065         * java/awt/MenuShortcut.java: Merged with Classpath.
11066         * java/awt/MenuContainer.java: Merged with Classpath.
11067         * java/awt/Menu.java: Merged with Classpath.
11068         * java/awt/MediaEntry.java: New file from Classpath.
11069         * java/awt/MediaTracker.java: New file from Classpath.
11070         * java/awt/List.java: Merged with Classpath version.
11071         * java/awt/Insets.java: Merged with Classpath version.
11072         * java/awt/ImageMediaEntry.java: New file from Classpath.
11073         * java/awt/Image.java: Replaced with Classpath version.
11074         * java/awt/FontMetrics.java: Merged with Classpath version.
11075         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11076         constant.
11077         * java/awt/Font.java: Merged with Classpath version.
11078         * java/awt/Dialog.java: Merged with Classpath version.
11079         * java/awt/Color.java: Merged with Classpath version.
11080         * java/awt/Choice.java: Merged with Classpath version.
11081         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11082         * java/awt/Adjustable.java: Replace with Classpath version.
11083         * java/awt/MenuItem.java (paramString): Don't include class name
11084         or brackets.  Call superclass paramString.
11085         * java/awt/MenuComponent.java (toString): Call paramString.
11086         (paramString): Compute string; don't call toString.
11087         * java/awt/Label.java (paramString): Don't include class name
11088         or brackets.  Call superclass paramString.
11089         * java/awt/Checkbox.java (paramString): Don't include class name
11090         or brackets.  Call superclass paramString.
11091         * java/awt/Button.java (paramString): Don't include class name or
11092         brackets.  Call superclass paramString.
11093         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11094
11095 2002-01-20  Andreas Schwab  <schwab@suse.de>
11096
11097         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11098         function and of parameter recv_func to ssize_t, as specified by
11099         POSIX.
11100
11101 2002-01-19  Per Bothner  <per@bothner.com>
11102
11103         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11104         uncompressed_size in readiness for next entry.
11105
11106 2002-01-18  Tom Tromey  <tromey@redhat.com>
11107
11108         * java/net/natPlainSocketImpl.cc: Include
11109         IllegalArgumentException.h.
11110         (_Jv_recv): New template function.
11111         (BooleanClass): Removed.
11112         (read): Use _Jv_recv.
11113         (setOption): Use Boolean::class$.  Throw exception if object is
11114         not Boolean or Integer.
11115
11116 2002-01-17  Tom Tromey  <tromey@redhat.com>
11117
11118         * java/awt/MenuComponent.java: Merged with Classpath.
11119         * java/awt/MenuItem.java: Merged with Classpath.
11120         * java/awt/Button.java: Merged with Classpath.
11121
11122         * java/awt/ActiveEvent.java: Updated copyright.
11123
11124         * java/awt/AWTError.java: Replaced with Classpath version.
11125         * java/awt/AWTException.java: Replaced with Classpath version.
11126         * java/awt/IllegalComponentStateException.java: Replaced with
11127         Classpath version.
11128
11129 2002-01-16  Tom Tromey  <tromey@redhat.com>
11130
11131         * java/awt/Canvas.java (serialVersionUID): New constant.
11132         Updated copyright.  Added javadoc from Classpath.
11133         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11134
11135         * java/awt/CheckboxGroup.java: Merged with Classpath.
11136         * java/awt/Checkbox.java: Merged with Classpath.
11137
11138         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11139         Classpath.
11140         * java/awt/Point.java: Updated copyright.
11141
11142         * java/awt/Point.java (toString): Use getClass().getName().
11143         Added javadoc.
11144
11145         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11146         commented code.
11147         (hash): Correctly compute initial value for `h'.
11148
11149         * java/awt/Label.java: Merged with Classpath.
11150
11151 2002-01-15  Tom Tromey  <tromey@redhat.com>
11152
11153         * java/awt/AWTPermission.java: Updated copyright.
11154
11155         * java/awt/LayoutManager2.java: Merged with Classpath.
11156         * java/awt/LayoutManager.java: Merged with Classpath.
11157         * java/awt/GridLayout.java: Updated copyright and javadoc.
11158         (getSize): Use `parent.ncomponents'.  Handle insets.
11159         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11160         there are fewer children than columns.  Correctly compute size of
11161         each cell in the grid.  Handle case where there isn't enough
11162         space.
11163         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11164         all users.
11165         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11166         before calling setVisible() on it.  Last item is `num - 1', not
11167         `num'.
11168         (layoutContainer): Hoist invariants out of loop.
11169
11170         Start of AWT merge with Classpath:
11171         * Makefile.in: Rebuilt.
11172         * Makefile.am (awt_java_source_files): Reference files in
11173         gnu/java/awt, not gnu/gcj/awt.
11174         * java/awt/image/BufferedImage.java: Updated copyright.
11175         * java/awt/image/ComponentColorModel.java: Updated copyright.
11176         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11177         * java/awt/image/DataBuffer.java: Updated copyright.
11178         * java/awt/image/DataBufferByte.java: Updated copyright.
11179         * java/awt/image/DataBufferInt.java: Updated copyright.
11180         * java/awt/image/DataBufferUShort.java: Updated copyright.
11181         * java/awt/image/IndexColorModel.java: Updated copyright.
11182         * java/awt/image/PackedColorModel.java: Updated copyright.
11183         * java/awt/image/Raster.java: Updated copyright.
11184         * java/awt/image/RasterOp.java: Updated copyright.
11185         * java/awt/image/SampleModel.java: Updated copyright.
11186         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11187         * java/awt/image/WritableRaster.java: Updated copyright.
11188         * java/awt/color/ColorSpace.java: Updated copyright.
11189         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11190         * java/awt/color/ICC_Profile.java: Updated copyright.
11191         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11192         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11193         * java/awt/event/HierarchyEvent.java: Updated copyright.
11194         * java/awt/event/HierarchyListener.java: Updated copyright.
11195         * java/awt/geom/AffineTransform.java: Updated copyright.
11196         * java/awt/geom/Dimension2D.java: Updated copyright.
11197         * java/awt/geom/Ellipse2D.java: Updated copyright.
11198         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11199         * java/awt/geom/Line2D.java: Updated copyright.
11200         * java/awt/geom/NoninvertibleTransformException.java: Updated
11201         copyright.
11202         * java/awt/geom/PathIterator.java: Updated copyright.
11203         * java/awt/geom/Point2D.java: Updated copyright.
11204         * java/awt/geom/Rectangle2D.java: Updated copyright.
11205         * java/awt/geom/RectangularShape.java: Updated copyright.
11206         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11207         * java/awt/Toolkit.java: Updated import for file moves.
11208         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11209         Classpath.
11210         (hashCode): New method from Classpath.
11211         * java/awt/Graphics2D.java: Updated copyright.
11212         * java/awt/Transparency.java: Updated copyright.
11213         * java/awt/Paint.java: Updated copyright.
11214         * java/awt/Graphics.java: New version from Classpath.
11215         * java/awt/EventDispatchThread.java: Updated copyright.
11216         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11217         children.
11218         (gotoComponent): Wrap around on next/previous.
11219         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11220         * gnu/gcj/awt/Buffers.java: Removed.
11221         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11222         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11223         * gnu/java/awt/BitMaskExtent.java: Added.
11224         * gnu/java/awt/Buffers.java: Added.
11225         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11226         * gnu/java/awt/GLightweightPeer.java: Added.
11227         * java/awt/geom/Line2D.java (clone): Ignore
11228         CloneNotSupportedException.
11229         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11230         * java/awt/Frame.java: Merged with Classpath.
11231         * java/awt/RenderingHints.java: Copyright update.
11232         * java/awt/Paint.java: Copyright update.
11233         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11234         * java/awt/image/ColorModel.java: Merged with Classpath.
11235         * java/awt/Window.java (show): New Implementation from Classpath.
11236         (isShowing): Use super.isShowing().
11237         * java/awt/EventQueue.java: Merged with Classpath.
11238         * java/awt/AWTEventMulticaster.java (save): Throw
11239         RuntimeException.
11240         (saveInternal): Likewise.
11241         * java/awt/AWTEvent.java: Now implements Serializable.
11242         * java/awt/Event.java: Copyright update.
11243         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11244         * java/awt/image/BufferedImage.java: Copyright update.
11245         * java/awt/GraphicsConfiguration.java: Copyright update.
11246         * java/awt/Component.java: (addNotify): Don't call
11247         addNotifyContainerChildren().
11248         (addNotifyContainerChildren): Removed.
11249         (setPeer): New method from Classpath.
11250         (setTreeLock): Likewise.
11251         (setVisible): Rewrote.
11252         (show): Use it.
11253         (hide): Likewise.
11254         (validate): Set `valid'.
11255         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11256         (createImage(ImageProducer)): Likewise.
11257         (prepareImage): Likewise.
11258         * java/awt/Container.java (addImpl): Handle case where constraint
11259         is not a String.  Post event via system event queue.
11260         (remove): Post event via system event queue.
11261         (validateTree): Only validate child if it is invalid.
11262         (getAlignmentX): Call super method as default.
11263         (getAlignmentY): Likewise.
11264         (addContainerListener): Now synchronized.
11265         (removeContainerListener): Likewise.
11266         (addNotifyContainerChildren): Now private.
11267         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11268         @author.
11269         * java/awt/FlowLayout.java (serialVersionUID): New field.
11270         (setAlignment): Better exception message.
11271         (layoutContainer): Don't compute component's preferred size unless
11272         we're going to use it.
11273         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11274         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11275         (firstLine, lastLine, firstItem, lastItem): New fields.
11276         (addLayoutComponent): Handle case where constraints is null.
11277         Also, handle relative locations.
11278         (removeLayoutComponent): Handle relative locations.
11279         (MIN, MAX, PREF): New constants.
11280         (calcCompSize): New method.
11281         (calcSize): New method.
11282         (minimumLayoutSize): Use it.
11283         (preferredLayoutSize): Likewise.
11284         (maximumLayoutSize): Likewise.
11285         (toString): Include more information.
11286         (setBounds): New method.
11287         (layoutContainer): Use libgcj implementation; extended to handle
11288         relative locations.
11289
11290 2002-01-15  Tom Tromey  <tromey@redhat.com>
11291
11292         * java/lang/Float.java (equals): Preserve old code.
11293         * java/lang/Double.java (equals): Preserve old code.
11294
11295 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11296
11297         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11298         * java/lang/Float.java (equals, compare): Ditto.
11299
11300 2002-01-13  Mark Wielaard  <mark@klomp.org>
11301
11302         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11303         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11304         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11305         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11306
11307 2002-01-11  Mark Wielaard  <mark@klomp.org>
11308
11309         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11310         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11311         InetAddress.
11312         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11313         * java/net/Socket.java: Merge with Classpath.
11314         * java/net/ServerSocket.java: Likewise.
11315
11316 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11317
11318         * interpret.cc (NULLARRAYCHECK): New macro.
11319         (SAVE_PC): Just store `pc'.
11320         (find_exception): Subtract one from `pc' here.
11321         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11322         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11323         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11324         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11325         don't call SAVE_PC.
11326         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11327         call SAVE_PC.
11328
11329 2002-01-11  Tom Tromey  <tromey@redhat.com>
11330
11331         * java/lang/natSystem.cc (init_properties): Only look for default
11332         locale if LC_MESSAGES is defined.
11333         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11334         * configure.in: Call AM_LC_MESSAGES.
11335         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11336
11337 2002-01-10  Tom Tromey  <tromey@redhat.com>
11338
11339         For PR libgcj/5303:
11340         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11341         --version.  Recognize GNU-style long options.  Print GNU-style
11342         error messages.
11343         (usage): Print GNU-style help.  Exit with status 0.
11344         (error): New method.
11345         (run): Print error message if no class names found.
11346         (main): Don't print usage on error.
11347
11348 2002-01-09  Tom Tromey  <tromey@redhat.com>
11349
11350         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11351         property.
11352         (help, version): Use println(), not println("").
11353
11354         For PR libgcj/5303:
11355         * gnu/gcj/convert/Convert.java (error): Program is called
11356         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11357         -1.
11358         (main): Handle --help and --version.
11359         (help): New method.
11360         (version): Likewise.
11361
11362 2002-01-08  Tom Tromey  <tromey@redhat.com>
11363
11364         * Makefile.in: Rebuilt.
11365         * Makefile.am (ordinary_java_source_files): Added new files.
11366         * gnu/java/locale/LocaleInformation.java: Extend
11367         LocaleInformation_en.
11368         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11369         and time/date formats.
11370         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11371         generated.
11372         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11373         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11374         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11375         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11376         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11377         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11378         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11379         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11380         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11381         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11382         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11383         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11384         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11385         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11386         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11387         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11388         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11389         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11390         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11391         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11392         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11393         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11394         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11395         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11396         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11397         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11398         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11399         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11400         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11401         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11402         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11403         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11404         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11405         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11406         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11407         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11408         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11409         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11410         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11411         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11412         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11413         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11414         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11415         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11416         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11417         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11418         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11419         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11420         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11421         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11422         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11423         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11424         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11425         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11426         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11427         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11428         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11429         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11430         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11431         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11432         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11433         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11434         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11435         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11436         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11437         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11438         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11439         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11440         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11441         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11442         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11443         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11444         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11445         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11446         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11447         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11448         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11449         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11450         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11451         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11452         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11453         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11454         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11455         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11456         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11457         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11458         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11459         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11460         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11461         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11462         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11463         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11464         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11465         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11466         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11467         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11468         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11469         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11470         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11471         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11472         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11473         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11474         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11475         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11476         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11477         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11478         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11479         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11480         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11481         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11482         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11483         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11484         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11485         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11486         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11487         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11488         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11489         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11490         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11491         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11492         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11493         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11494         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11495         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11496         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11497         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11498         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11499         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11500         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11501         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11502
11503         For PR libgcj/5031:
11504         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11505         choose default locale.
11506
11507         * Makefile.in: Rebuilt.
11508         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11509
11510 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11511
11512         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11513         sockets.
11514         (close): New function closes the socket.
11515         (write): New functions for output to socket.
11516         (read): New functions for reading from socket.
11517         * java/net/PlainSocketImpl.java: Glue for new timeout
11518         implementation.
11519         (write): Call the native impl.
11520         (read): Likewise.
11521         (getInputStream): Get a stream to read from the socket.
11522         (getOutputStream): Get a stream to write to the socket.
11523
11524 2002-01-08  Tom Tromey  <tromey@redhat.com>
11525
11526         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11527
11528 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11529
11530         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11531         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11532
11533 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11534
11535         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11536         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11537         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11538         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11539         insn_bastore, insn_castore, insn_sastore]: Use it.
11540         (continue1) [insn_arraylength]: Check for null array.
11541
11542 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11543
11544         * configure, include/config.h.in: Rebuilt.
11545         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11546         * configure.in: Call AC_STRUCT_TIMEZONE.
11547
11548 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11549
11550         * configure.host: Disable the interpreter for Darwin.
11551
11552 2002-01-04  Tom Tromey  <tromey@redhat.com>
11553
11554         * java/lang/Thread.java (stop): No longer synchronized.
11555         (start): Likewise.
11556
11557 2002-01-02  Tom Tromey  <tromey@redhat.com>
11558
11559         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11560         patch.
11561
11562 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11563
11564         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11565         PPC Darwin, not for all of Darwin.