ClassLoader.java (loadClass): Not deprecated.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-11  Tom Tromey  <tromey@redhat.com>
2
3         * java/lang/ClassLoader.java (loadClass): Not deprecated.
4         * java/io/PrintStream.java: Not deprecated.
5
6 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
7
8         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
9         (fillOval): implemented
10         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
11         (fillArc): implemented.
12         * gnu/gcj/xlib/GC.java (drawArc): added native method.
13         (fillArc): added native method.
14         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
15         (fillArc): added native method.
16
17 2003-06-11  Michael Koch  <konqueror@gmx.de>
18
19         * java/awt/im/InputSubset.java:
20         New version from classpath.
21
22 2003-06-11  Michael Koch  <konqueror@gmx.de>
23
24         * javax/swing/AbstractAction.java,
25         javax/swing/AbstractButton.java,
26         javax/swing/AbstractCellEditor.java,
27         javax/swing/AbstractListModel.java,
28         javax/swing/BorderFactory.java,
29         javax/swing/Box.java,
30         javax/swing/BoxLayout.java,
31         javax/swing/ButtonGroup.java,
32         javax/swing/DefaultButtonModel.java,
33         javax/swing/DefaultListModel.java,
34         javax/swing/DefaultListSelectionModel.java,
35         javax/swing/FocusManager.java,
36         javax/swing/ImageIcon.java,
37         javax/swing/InputMap.java,
38         javax/swing/JApplet.java,
39         javax/swing/JButton.java,
40         javax/swing/JCheckBox.java,
41         javax/swing/JCheckBoxMenuItem.java,
42         javax/swing/JColorChooser.java,
43         javax/swing/JComboBox.java,
44         javax/swing/JComponent.java,
45         javax/swing/JDesktopPane.java,
46         javax/swing/JDialog.java,
47         javax/swing/JEditorPane.java,
48         javax/swing/JFileChooser.java,
49         javax/swing/JFormattedTextField.java,
50         javax/swing/JFrame.java,
51         javax/swing/JLabel.java,
52         javax/swing/JLayeredPane.java,
53         javax/swing/JList.java,
54         javax/swing/JMenuBar.java,
55         javax/swing/JMenuItem.java,
56         javax/swing/JOptionPane.java,
57         javax/swing/JPanel.java,
58         javax/swing/JPasswordField.java,
59         javax/swing/JPopupMenu.java,
60         javax/swing/JProgressBar.java,
61         javax/swing/JRadioButton.java,
62         javax/swing/JRadioButtonMenuItem.java,
63         javax/swing/JRootPane.java,
64         javax/swing/JScrollBar.java,
65         javax/swing/JScrollPane.java,
66         javax/swing/JSeparator.java,
67         javax/swing/JSlider.java,
68         javax/swing/JTabbedPane.java,
69         javax/swing/JTable.java,
70         javax/swing/JTextField.java,
71         javax/swing/JToggleButton.java,
72         javax/swing/JToolBar.java,
73         javax/swing/JToolTip.java,
74         javax/swing/JTree.java,
75         javax/swing/JViewport.java,
76         javax/swing/JWindow.java,
77         javax/swing/KeyStroke.java,
78         javax/swing/ListSelectionModel.java,
79         javax/swing/LookAndFeel.java,
80         javax/swing/RepaintManager.java,
81         javax/swing/ScrollPaneLayout.java,
82         javax/swing/SizeRequirements.java,
83         javax/swing/SwingConstants.java,
84         javax/swing/Timer.java,
85         javax/swing/UIDefaults.java,
86         javax/swing/UIManager.java,
87         javax/swing/border/AbstractBorder.java,
88         javax/swing/border/CompoundBorder.java,
89         javax/swing/colorchooser/AbstractColorChooserPanel.java,
90         javax/swing/colorchooser/ColorChooserComponentFactory.java,
91         javax/swing/colorchooser/ColorSelectionModel.java,
92         javax/swing/colorchooser/DefaultColorSelectionModel.java,
93         javax/swing/event/AncestorEvent.java,
94         javax/swing/event/HyperlinkEvent.java,
95         javax/swing/event/InternalFrameAdapter.java,
96         javax/swing/event/InternalFrameEvent.java,
97         javax/swing/event/ListDataEvent.java,
98         javax/swing/event/MouseInputAdapter.java,
99         javax/swing/event/SwingPropertyChangeSupport.java,
100         javax/swing/event/TableModelEvent.java,
101         javax/swing/event/TreeWillExpandListener.java,
102         javax/swing/event/UndoableEditEvent.java,
103         javax/swing/filechooser/FileFilter.java,
104         javax/swing/filechooser/FileSystemView.java,
105         javax/swing/filechooser/FileView.java,
106         javax/swing/plaf/BorderUIResource.java,
107         javax/swing/plaf/basic/BasicDefaults.java,
108         javax/swing/table/AbstractTableModel.java,
109         javax/swing/table/DefaultTableCellRenderer.java,
110         javax/swing/table/DefaultTableColumnModel.java,
111         javax/swing/table/DefaultTableModel.java,
112         javax/swing/table/TableColumn.java,
113         javax/swing/text/JTextComponent.java,
114         javax/swing/tree/AbstractLayoutCache.java,
115         javax/swing/tree/DefaultMutableTreeNode.java,
116         javax/swing/tree/DefaultTreeCellEditor.java,
117         javax/swing/tree/DefaultTreeCellRenderer.java,
118         javax/swing/tree/DefaultTreeModel.java,
119         javax/swing/tree/DefaultTreeSelectionModel.java,
120         javax/swing/tree/FixedHeightLayoutCache.java,
121         javax/swing/tree/TreeCellEditor.java,
122         javax/swing/tree/TreeModel.java,
123         javax/swing/tree/TreeNode.java,
124         javax/swing/tree/TreePath.java,
125         javax/swing/tree/TreeSelectionModel.java,
126         javax/swing/tree/VariableHeightLayoutCache.java,
127         javax/swing/undo/AbstractUndoableEdit.java,
128         javax/swing/undo/CompoundEdit.java,
129         javax/swing/undo/StateEdit.java,
130         javax/swing/undo/UndoManager.java,
131         javax/swing/undo/UndoableEditSupport.java:
132         New versions from classpath.
133         * javax/swing/table/JTableHeader.java:
134         New file from classpath.
135         * Makefile.am
136         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
137         * Makefile.in: Regenerated.
138
139 2003-06-11  Michael Koch  <konqueror@gmx.de>
140
141         * java/nio/MappedByteBuffer.java,
142         java/nio/channels/Channels.java,
143         java/nio/channels/ServerSocketChannel.java,
144         java/nio/channels/spi/AbstractSelector.java:
145         Removed unneeded imports.
146
147 2003-06-11  Michael Koch  <konqueror@gmx.de>
148
149         * java/net/DatagramSocket.java:
150         Partly merged with classpath.
151
152 2003-06-11  Michael Koch  <konqueror@gmx.de>
153
154         * java/awt/Frame.java,
155         java/awt/Graphics.java,
156         java/awt/Menu.java,
157         java/awt/Robot.java,
158         java/awt/image/ColorModel.java:
159         New versions from classpath.
160
161 2003-06-10  Michael Koch  <konqueror@gmx.de>
162
163         * java/io/PrintStream.java:
164         Merged version from classpath.
165         (close): Removed sychronized keyword. This class is not garantied to
166         be thread-safe.
167         (write): Likewise.
168
169 2003-06-09  Tom Tromey  <tromey@redhat.com>
170
171         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
172         field.
173         (getDescent): Likewise, for "descent".
174
175 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
176
177         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
178         (getMaxDescent): adjusted return value.
179         (getAscent): modified to use metrics for 'O'.
180         (getDescent): modified to use metrics for 'y'.
181
182 2003-06-08  Anthony Green  <green@redhat.com>
183
184         * java/net/URLStreamHandler.java (sameFile): Fix port value
185         comparison.
186         * java/net/URL.java (handler): Make package private.
187         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
188
189 2003-06-07  Tom Tromey  <tromey@redhat.com>
190
191         For PR libgcj/11085:
192         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
193         Limit number of characters in numeric field when required.
194         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
195         Respect maximumIntegerDigits.
196
197 2003-06-08  Michael Koch  <konqueror@gmx.de>
198
199         * java/net/Socket.java
200         (Socket): Dont initialize inputShutdown and outputShutdown twice,
201         call bind() and connect() to actually do the bind and connect tasks.
202         (bind): Connect to canonical address if bindpoint is null, create
203         socket and bind it to bindpoint.
204         (connect): Check for exceptions.
205
206 2003-06-08  Michael Koch  <konqueror@gmx.de>
207
208         * java/net/DatagramSocket.java
209         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
210         into the Multicast constructors.
211         * java/net/DatagramSocketImpl.java
212         (getOption): Removed.
213         (setOption): Removed.
214         * java/net/MulticastSocket.java
215         (MulticastSocket): Call setReuseAddress (true).
216         * java/net/SocketImpl.java
217         (getOption): Removed.
218         (setOption): Removed.
219
220 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
221
222         PR libgcj/10886:
223         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
224         Test for empty vector.
225
226 2003-06-06  Mark Wielaard  <mark@klomp.org>
227
228         * java/security/Security.java (secprops): Initialize.
229         (loadProviders): Return boolean.
230         (static): Check result of loadProvider calls. If necessary
231         display WARNING and fallback to Gnu provider.
232
233 2002-06-06  James Clark  <jjc@jclark.com>
234
235         Fix for PR libgcj/8738:
236         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
237         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
238         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
239         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
240         (write): Always decrease avail when count is increased.
241         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
242         and whether output buffer is full before increasing size.
243
244 2002-06-06  Mark Wielaard  <mark@klomp dot org>
245
246         * java/io/PrintStream.java (writeChars(char[],int, int)):
247         Check converter.havePendingBytes().
248         (writeChars(String,int,int)): Likewise.
249         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
250         Check converter.havePendingBytes() and flush buffer when stalled.
251
252 2003-06-07  Michael Koch  <konqueror@gmx.de>
253
254         * include/posix.h
255         (O_DSYNC): Define O_DSYNC on platforms not
256         supporting O_FSYNC (newlib).
257
258 2003-06-06  Mark Wielaard  <mark@klomp.org>
259
260         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
261         AWTError.
262
263 2003-06-06  Michael Koch  <konqueror@gmx.de>
264
265         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
266         More compile fixes from my stupid work yesterday.
267
268 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
269
270         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
271         if _IEEE_LIBM is undefined.
272
273 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
274
275         * libjava/include/posix.h (O_SYNC): Define if not available
276         and a reasonable, perhaps more conservative, replacement exists.
277         (O_DSYNC): Likewise.
278         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
279
280 2003-06-05  Michael Koch  <konqueror@gmx.de>
281
282         * javax/swing/plaf/BorderUIResource.java,
283         javax/swing/plaf/basic/BasicDefaults.java,
284         javax/swing/plaf/basic/BasicOptionPaneUI.java:
285         More compile fixes for latest Border commit. I should not commit
286         something in this heat here ...
287
288 2003-06-05  Michael Koch  <konqueror@gmx.de>
289
290         * javax/swing/border/BevelBorder.java
291         (BevelBorder): Removed.
292         * javax/swing/border/EmptyBorder.java:
293         Reformatted.
294         (EmptyBorder): Removed.
295         (getBorderInsets): Dont use l, r, t and b.
296         * javax/swing/border/EtchedBorder.java
297         (EtchedBorder): Removed.
298         * javax/swing/border/LineBorder.java
299         (LineBorder): Removed.
300         * javax/swing/border/MatteBorder.java
301         (MatteBorder): Removed.
302         * javax/swing/border/TitledBorder.java
303         (defaultBorder): Use other default for now.
304         (defaultFont): Likewise.
305         (defaultColor): Likewise.
306
307 2003-06-05  Michael Koch  <konqueror@gmx.de>
308
309         * javax/swing/border/Border.java:
310         New version from classpath.
311
312 2003-06-05  Michael Koch  <konqueror@gmx.de>
313
314         * javax/swing/border/AbstractBorder.java,
315         javax/swing/border/BevelBorder.java,
316         javax/swing/border/CompoundBorder.java,
317         javax/swing/border/EmptyBorder.java,
318         javax/swing/border/EtchedBorder.java,
319         javax/swing/border/LineBorder.java,
320         javax/swing/border/MatteBorder.java,
321         javax/swing/border/TitledBorder.java:
322         New versions from Classpath.
323
324 2003-06-05  Michael Koch  <konqueror@gmx.de>
325
326         * java/awt/Button.java,
327         java/awt/Checkbox.java,
328         java/awt/CheckboxMenuItem.java,
329         java/awt/Choice.java,
330         java/awt/Container.java,
331         java/awt/Dialog.java,
332         java/awt/EventQueue.java,
333         java/awt/FileDialog.java,
334         java/awt/Frame.java,
335         java/awt/Label.java,
336         java/awt/List.java,
337         java/awt/Menu.java,
338         java/awt/MenuItem.java,
339         java/awt/Panel.java,
340         java/awt/PopupMenu.java,
341         java/awt/Rectangle.java,
342         java/awt/ScrollPane.java,
343         java/awt/Scrollbar.java,
344         java/awt/TextArea.java,
345         java/awt/TextField.java,
346         java/awt/Window.java,
347         java/awt/datatransfer/DataFlavor.java,
348         java/awt/dnd/DragSource.java,
349         java/awt/dnd/DragSourceContext.java,
350         java/awt/event/HierarchyEvent.java,
351         java/awt/event/MouseWheelEvent.java,
352         java/awt/im/InputContext.java,
353         java/awt/image/BufferedImage.java,
354         java/awt/image/ComponentColorModel.java,
355         java/awt/image/Raster.java,
356         java/awt/image/WritableRaster.java,
357         java/awt/peer/ComponentPeer.java,
358         java/awt/print/PageFormat.java,
359         java/awt/print/PrinterJob.java:
360         New versions from Classpath.
361
362 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
363
364         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
365         numberFormat.setParseIntegerOnly(true).
366
367 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
368
369         * include/posix-threads.h: Include <machine/pal.h> on OSF.
370
371 2003-06-03  Andrew Haley  <aph@redhat.com>
372
373         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
374         stack volatile to prevent optimization from removing it.
375
376 2003-05-27  Michael Koch  <konqueror@gmx.de>
377
378         * java/util/zip/Deflater.java
379         (FILTERED): Merged documentation from classpath.
380         * java/util/zip/DeflaterOutputStream.java
381         (DeflaterOutputStream): Merged documentation and argument validity
382         check from classpath.
383         (deflate): Merged documentation from classpath.
384         (finish): Likewise.
385         * java/util/zip/Inflater.java
386         (Inflater): Merged class documentation from classpath.
387         (zstream): Reordered.
388         (is_finished): Reordered.
389         (dict_needed): Reordered.
390         (Inflater): Reordered, merged documentation from classpath.
391         (end): Likewise.
392         (finalize): Merged documentation from classpath.
393         (finished): Likewise.
394         (getAdler): Likewise.
395         (getRemaining): Likewise.
396         (getTotalIn): Likewise.
397         (getTotalOut): Likewise.
398         (inflate): Likewise.
399         (needsDictionary): Likewise.
400         (needsInput): Likewise.
401         (reset): Likewise.
402         (setDictionary): Likewise.
403         (setInput): Likewise.
404
405 2003-05-27  Michael Koch  <konqueror@gmx.de>
406
407         * java/net/URLConnection.java
408         (getHeaderFieldInt): Merged with classpath.
409
410 2003-05-27  Michael Koch  <konqueror@gmx.de>
411
412         * java/io/PrintStream.java
413         (PrintStream): Reformatted.
414         (PrintStream): New method, merged from classpath.
415         (write): Reformatted.
416
417 2003-05-27  Michael Koch  <konqueror@gmx.de>
418
419         * java/lang/System.java:
420         Explicitely import needed classes.
421
422 2003-05-26  Michael Koch  <konqueror@gmx.de>
423
424         * java/net/NetPermission.java,
425         java/net/NetworkInterface.java,
426         java/net/PasswordAuthentication.java,
427         java/net/SocketPermission.java:
428         New versions from classpath.
429
430 2003-05-25  Michael Koch  <konqueror@gmx.de>
431
432         * java/io/PushbackInputStream.java,
433         java/net/Authenticator.java,
434         java/net/ContentHandler.java,
435         java/net/ContentHandlerFactory.java,
436         java/net/DatagramSocket.java,
437         java/net/DatagramSocketImpl.java,
438         java/net/DatagramSocketImplFactory.java,
439         java/net/FileNameMap.java,
440         java/net/SocketImplFactory.java,
441         java/net/SocketOptions.java,
442         java/net/URLStreamHandlerFactory.java:
443         Merged new versions from classpath.
444
445 2003-05-25  Michael Koch  <konqueror@gmx.de>
446
447         * java/awt/Checkbox.java,
448         java/awt/Dialog.java,
449         java/awt/Font.java,
450         java/awt/Frame.java,
451         java/awt/ScrollPaneAdjustable.java,
452         java/awt/Scrollbar.java,
453         java/awt/Window.java:
454         New versions from classpath.
455
456 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
457
458         PR libgcj/10838:
459         * java/io/ObjectInputStream (enableResolveObject):
460         Fixed spelling of permission name.
461
462 2003-05-20  Michael Koch  <konqueror@gmx.de>
463
464         * java/io/DataInputStream.java
465         (convertFromUTF): Merged comment from classpath.
466         * java/io/PrintStream.java
467         (error_occured): Renamed from error, merged comment from classpath.
468         (PrintStream): No need to initialized error.
469         (checkError): Replace error with error_occurred.
470         (setError): Likewise.
471
472 2003-05-20  Michael Koch  <konqueror@gmx.de>
473
474         * java/io/DataInputStream.java:
475         Reformatted, Replaced < and & with html entitites in documentation.
476         * java/io/File.java:
477         Reformatted.
478         * java/io/PrintWriter.java:
479         Moved class documentation.
480
481 2003-05-20  Michael Koch  <konqueror@gmx.de>
482
483         * gnu/java/nio/ByteBufferImpl.java,
484         gnu/java/nio/CharBufferImpl.java,
485         gnu/java/nio/CharViewBufferImpl.java,
486         gnu/java/nio/DirectByteBufferImpl.java,
487         gnu/java/nio/DoubleBufferImpl.java,
488         gnu/java/nio/DoubleViewBufferImpl.java,
489         gnu/java/nio/FloatBufferImpl.java,
490         gnu/java/nio/FloatViewBufferImpl.java,
491         gnu/java/nio/IntBufferImpl.java,
492         gnu/java/nio/IntViewBufferImpl.java,
493         gnu/java/nio/LongBufferImpl.java,
494         gnu/java/nio/LongViewBufferImpl.java,
495         gnu/java/nio/natDirectByteBufferImpl.cc,
496         gnu/java/nio/ShortBufferImpl.java,
497         gnu/java/nio/ShortViewBufferImpl.java:
498         Moved files to java/nio.
499         * gnu/java/nio/SocketChannelImpl.java
500         
501         * java/nio/ByteBuffer.java,
502         java/nio/CharBuffer.java,
503         java/nio/DoubleBuffer.java,
504         java/nio/FloatBuffer.java,
505         java/nio/IntBuffer.java,
506         java/nio/LongBuffer.java,
507         java/nio/ShortBuffer.java:
508         Dont import anything.
509         * java/nio/ByteBufferImpl.java,
510         java/nio/CharBufferImpl.java,
511         java/nio/CharViewBufferImpl.java,
512         java/nio/DirectByteBufferImpl.java,
513         java/nio/DoubleBufferImpl.java,
514         java/nio/DoubleViewBufferImpl.java,
515         java/nio/FloatBufferImpl.java,
516         java/nio/FloatViewBufferImpl.java,
517         java/nio/IntBufferImpl.java,
518         java/nio/IntViewBufferImpl.java,
519         java/nio/LongBufferImpl.java,
520         java/nio/LongViewBufferImpl.java,
521         java/nio/natDirectByteBufferImpl.cc,
522         java/nio/ShortBufferImpl.java,
523         java/nio/ShortViewBufferImpl.java:
524         Moved from gnu/java/nio.
525         * Makefile.am
526         (ordinary_java_source_files): Moved files from gnu/java/nio to
527         java/nio.
528         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
529         to java/nio.
530         * Makefile.in: Regenerated.
531
532 2003-05-19  Michael Koch  <konqueror@gmx.de>
533
534         * java/util/Calendar.java
535         (get): Not final anymore since JDK 1.4
536         (set): Likewise.
537
538 2003-05-19  Michael Koch  <konqueror@gmx.de>
539
540         * java/text/CollationKey.java:
541         Merged copyright and dat from classpath.
542         * java/text/RuleBasedCollator.java:
543         Merged class documentation from classpath.
544
545 2003-05-19  Michael Koch  <konqueror@gmx.de>
546
547         * java/nio/CharBuffer.java
548         (toString): Compile fix.
549
550 2003-05-19  Michael Koch  <konqueror@gmx.de>
551
552         * gnu/java/nio/ByteBufferImpl.java
553         (putLong): Fixed conversion to bytes.
554         (putDouble): Fixed conversion to bytes.
555         * gnu/java/nio/DirectByteBufferImpl.java
556         (putLong): Fixed conversion to bytes.
557         (putDouble): Fixed conversion to bytes.
558         * gnu/java/nio/FileLockImpl.java
559         (isValid): Reformatted.
560         * java/nio/Buffer.java
561         (Buffer): Fixed off-by-one bug in handling mark.
562         * java/nio/ByteBuffer.java:
563         Added newline.
564         * java/nio/CharBuffer.java
565         (toString): Don't use relative get to get string data.
566
567 2003-05-16  Michael Koch  <konqueror@gmx.de>
568
569         * java/io/natFileDescriptorPosix.cc
570         (open): Commented out the O_SYNC and O_DSYNC usage until its better
571         tested.
572
573 2003-05-14  Michael Koch  <konqueror@gmx.de>
574
575         * gnu/java/nio/FileLockImpl.java
576         (released): New member variable.
577         (FileLockImpl): Initialize released.
578         (releaseImpl): New native method.
579         (release): Implemented.
580         * gnu/java/nio/SelectorImpl.java: Reformatted.
581         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
582         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
583         (accept): Throws IOException.
584         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
585         (implConfigureBlocking): Throws IOException.
586         (connect): Likewise.
587         (read): Likewise.
588         (write): Likewise.
589         * gnu/java/nio/natFileLockImpl.cc: New file.
590         * java/nio/channels/FileLock.java: Reformatted.
591         * Makefile.am:
592         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
593         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
594         * Makefile.in: Regenerated.
595
596 2003-05-13  Michael Koch  <konqueror@gmx.de>
597
598         * gnu/java/nio/CharViewBufferImpl.java
599         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
600         (get): Shift bits to the right direction.
601         (put): Likewise.
602         * gnu/java/nio/DoubleViewBufferImpl.java
603         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
604         (get): Shift bits to the right direction.
605         (put): Likewise.
606         * gnu/java/nio/FloatViewBufferImpl.java
607         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
608         (get): Shift bits to the right direction.
609         (put): Likewise.
610         * gnu/java/nio/IntViewBufferImpl.java
611         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
612         (get): Shift bits to the right direction.
613         (put): Likewise.
614         * gnu/java/nio/LongViewBufferImpl.java
615         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
616         (get): Shift bits to the right direction.
617         (put): Likewise.
618         * gnu/java/nio/ShortViewBufferImpl.java
619         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
620         (get): Shift bits to the right direction.
621         (put): Likewise.
622
623 2003-05-13  Michael Koch  <konqueror@gmx.de>
624
625         * gnu/java/nio/natDirectByteBufferImpl.cc
626         (allocateImpl): jlong -> RawData*.
627         (freeImpl): Likewise.
628
629 2003-05-13  Michael Koch  <konqueror@gmx.de>
630
631         * java/nio/channels/FileChannel.java
632         (MapMode.m): Made it package-private to match JDK 1.4.
633         * java/nio/charset/Charset.java
634         (decode): Made it final to match JDK 1.4.
635
636 2003-05-13  Michael Koch  <konqueror@gmx.de>
637
638        * java/io/FileDescriptor.java
639        (SYNC): New constant.
640        (DSYNC): Likewise.
641        (getLength): Renamed from lenght() to match classpath's
642        FileDescriptor.java.
643        * java/io/RandomAccessFile.java
644        (RandomAccessFile): Removed unneeded mode check, implemented mode
645        "rws" and "rwd", merged documentation from classpath.
646        (setLength): Reformatted.
647        (length): Use new getLength() of FileDescriptor.
648        * java/io/natFileDescriptorEcos.cc
649        (getLength): Renamed from length().
650        * java/io/natFileDescriptorPosix.cc
651        (open): Implemented support for SYNC and DSYNC.
652        (seek): Use getLength() instead of length().
653        (getLength): Renamed from length().
654        * java/io/natFileDescriptorWin32.cc
655        (getLength): Renamed from length().
656        (seek): Use getLength() instead of length().
657        (available): Likewise.
658        * gnu/java/nio/natFileChannelImpl.cc
659        (size): Use getLength() instead of length().
660
661 2003-05-13  Michael Koch  <konqueror@gmx.de>
662
663         * gnu/java/nio/ByteBufferImpl.java
664         (ByteBufferImpl): All constructors revised.
665         (slice): Reimplemented.
666         (duplicate): Reimplemented.
667         (asReadOnlyBuffer): Reimplemented.
668         * java/nio/ByteBuffer.java:
669         Reformatted.
670         (array_offset): Renamed from "offset" to match all other buffer
671         classes.
672         (ByteBuffer): All constructors revised.
673         (allocateDirect): Implemented.
674         (allocate): New implementation, documentation reworked.
675         (wrap): Likewise.
676         (get): Documentation reworked.
677         (put): New implementation, documentation reworked.
678         (hasArray): Documentation reworked.
679         (arrayOffset): Likewise.
680         (hashCode): Likewise.
681         (equals): Likewise.
682         (compareTo): Likewise.
683         (order): Likewise.
684         (compact): Likewise.
685         (isDirect): Likewise.
686         (slice): Likewise.
687         (duplicate): Likewise.
688         (asReadOnlyBuffer): Likewise.
689         * Makefile.am
690         (ordinary_java_source_files):
691         Added gnu/java/nio/DirectByteBufferImpl.java.
692         (nat_source_files):
693         Added gnu/java/nio/natDirectByteBufferImpl.cc.
694         * Makefile.in: Regenerated.
695
696 2003-05-12  Michael Koch  <konqueror@gmx.de>
697
698         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
699         (nio_get_*): Removed.
700         (nio_put_*): Removed.
701         (as*Buffer): Implemented.
702         (compact): Implemented.
703         (get): Documentation added.
704         (put): Documentation added.
705         (get*): Newly implemented.
706         (put*): Newly implemented.
707         * gnu/java/nio/CharBufferImpl.java: Reformatted.
708         (CharBufferImpl): Revised.
709         (slice): New implementation.
710         (duplicate): New implementation.
711         (compact): New implementation.
712         (asReadOnlyBuffer): New implementation.
713         (get): Documentation revised.
714         (order): Return native byte order.
715         * gnu/java/nio/DirectByteBufferImpl.java
716         (allocateDirect): objects can be null not 0.
717         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
718         (DoubleBufferImpl): Revised.
719         (slice): New implementation.
720         (duplicate): New implementation.
721         (compact): New implementation.
722         (asReadOnlyBuffer): New implementation.
723         (get): Documentation revised.
724         (order): Return native byte order.
725         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
726         (FloatBufferImpl): Revised.
727         (slice): New implementation.
728         (duplicate): New implementation.
729         (compact): New implementation.
730         (asReadOnlyBuffer): New implementation.
731         (get): Documentation revised.
732         (order): Return native byte order.
733         * gnu/java/nio/IntBufferImpl.java: Reformatted.
734         (IntBufferImpl): Revised.
735         (slice): New implementation.
736         (duplicate): New implementation.
737         (compact): New implementation.
738         (asReadOnlyBuffer): New implementation.
739         (get): Documentation revised.
740         (order): Return native byte order.
741         * gnu/java/nio/LongBufferImpl.java: Reformatted.
742         (LongBufferImpl): Revised.
743         (slice): New implementation.
744         (duplicate): New implementation.
745         (compact): New implementation.
746         (asReadOnlyBuffer): New implementation.
747         (get): Documentation revised.
748         (order): Return native byte order.
749         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
750         (ShortBufferImpl): Revised.
751         (slice): New implementation.
752         (duplicate): New implementation.
753         (compact): New implementation.
754         (asReadOnlyBuffer): New implementation.
755         (get): Documentation revised.
756         (order): Return native byte order.
757         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
758         (CharBuffer): Revised.
759         (order): Removed.
760         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
761         (DoubleBuffer): Revised.
762         (allocateDirect): Removed.
763         (order): Removed.
764         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
765         (FloatBuffer): Revised.
766         (allocateDirect): Removed.
767         (order): Removed.
768         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
769         (IntBuffer): Revised.
770         (allocateDirect): Removed.
771         (order): Removed.
772         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
773         (LongBuffer): Revised.
774         (allocateDirect): Removed.
775         (order): Removed.
776         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
777         (ShortBuffer): Revised.
778         (allocateDirect): Removed.
779         (order): Removed.
780         * gnu/java/nio/natByteBufferImpl.cc: Removed.
781         * gnu/java/nio/natCharBufferImpl.cc: Removed.
782         * Makefile.am
783         (ordinary_java_source_files): Added the following files:
784         gnu/java/nio/CharViewBufferImpl.java,
785         gnu/java/nio/DoubleViewBufferImpl.java,
786         gnu/java/nio/FloatViewBufferImpl.java,
787         gnu/java/nio/IntViewBufferImpl.java,
788         gnu/java/nio/LongViewBufferImpl.java,
789         gnu/java/nio/ShortViewBufferImpl.java
790         (nat_source_files): Removed the following files:
791         gnu/java/nio/natByteBufferImpl.cc,
792         gnu/java/nio/natCharBufferImpl.cc
793         * Makefile.in: Regenerated.
794
795 2003-05-12  Michael Koch  <konqueror@gmx.de>
796
797         * gnu/java/nio/CharViewBufferImpl.java,
798         gnu/java/nio/DirectByteBufferImpl.java,
799         gnu/java/nio/DoubleViewBufferImpl.java,
800         gnu/java/nio/FloatViewBufferImpl.java,
801         gnu/java/nio/IntViewBufferImpl.java,
802         gnu/java/nio/LongViewBufferImpl.java,
803         gnu/java/nio/ShortViewBufferImpl.java,
804         gnu/java/nio/natDirectByteBufferImpl.cc:
805         New files, not yet to be compiled.
806
807 2003-05-10  Michael Koch  <konqueror@gmx.de>
808
809         * javax/swing/plaf/ButtonUI.java,
810         javax/swing/plaf/ColorUIResource.java,
811         javax/swing/plaf/ComponentUI.java,
812         javax/swing/plaf/DimensionUIResource.java,
813         javax/swing/plaf/FontUIResource.java,
814         javax/swing/plaf/IconUIResource.java,
815         javax/swing/plaf/InsetsUIResource.java,
816         javax/swing/plaf/LabelUI.java,
817         javax/swing/plaf/ListUI.java,
818         javax/swing/plaf/OptionPaneUI.java,
819         javax/swing/plaf/PanelUI.java,
820         javax/swing/plaf/TabbedPaneUI.java,
821         javax/swing/plaf/TextUI.java,
822         javax/swing/plaf/TreeUI.java,
823         javax/swing/plaf/ViewportUI.java,
824         javax/swing/plaf/basic/BasicBorders.java,
825         javax/swing/plaf/basic/BasicButtonUI.java,
826         javax/swing/plaf/basic/BasicCheckBoxUI.java,
827         javax/swing/plaf/basic/BasicDefaults.java,
828         javax/swing/plaf/basic/BasicGraphicsUtils.java,
829         javax/swing/plaf/basic/BasicIconFactory.java,
830         javax/swing/plaf/basic/BasicLabelUI.java,
831         javax/swing/plaf/basic/BasicListUI.java,
832         javax/swing/plaf/basic/BasicOptionPaneUI.java,
833         javax/swing/plaf/basic/BasicPanelUI.java,
834         javax/swing/plaf/basic/BasicRadioButtonUI.java,
835         javax/swing/plaf/basic/BasicScrollPaneUI.java,
836         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
837         javax/swing/plaf/basic/BasicTextUI.java,
838         javax/swing/plaf/basic/BasicToggleButtonUI.java,
839         javax/swing/plaf/basic/BasicTreeUI.java,
840         javax/swing/plaf/basic/BasicViewportUI.java,
841         javax/swing/plaf/metal/MetalLookAndFeel.java:
842         New versions from classpath. This adds copyrights to all files and
843         some serialVersionUIDs.
844
845 2003-05-10  Michael Koch  <konqueror@gmx.de>
846
847         * java/nio/CharBuffer.java
848         (offset): Make it package-private.
849         (backing_buffer): Likewise.
850         * java/nio/DoubleBuffer.java
851         (offset): Make it package-private.
852         (backing_buffer): Likewise.
853         (put): Reformatted.
854         * java/nio/FloatBuffer.java
855         (offset): Make it package-private.
856         (backing_buffer): Likewise.
857         * java/nio/IntBuffer.java
858         (offset): Make it package-private.
859         (backing_buffer): Likewise.
860         * java/nio/LongBuffer.java
861         (offset): Make it package-private.
862         (backing_buffer): Likewise.
863         * java/nio/ShortBuffer.java
864         (offset): Make it package-private.
865         (backing_buffer): Likewise.
866
867 2003-05-10  Michael Koch  <konqueror@gmx.de>
868
869         * java/nio/CharBuffer.java
870         (put): Fixed precondtion check.
871         (toString): Make it work without backing array.
872         (put): Skip one level of method calling.
873
874 2003-05-10  Michael Koch  <konqueror@gmx.de>
875
876         * java/security/Identity.java,
877         java/security/IdentityScope.java,
878         java/security/Key.java,
879         java/security/KeyPair.java,
880         java/security/PrivateKey.java,
881         java/security/Provider.java,
882         java/security/PublicKey.java,
883         java/security/SecureRandom.java,
884         java/security/SecureRandomSpi.java,
885         java/security/SignedObject.java,
886         java/security/Signer.java,
887         java/security/cert/Certificate.java,
888         java/security/cert/PKIXCertPathBuilderResult.java,
889         java/security/cert/X509Certificate.java:
890         New versions from classpath.
891
892 2003-05-09  Tom Tromey  <tromey@redhat.com>
893
894         * Makefile.in: Rebuilt.
895         * Makefile.am (nat_source_files): Removed old files.
896         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
897         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
898         * gnu/java/nio/natIntBufferImpl.cc: Removed.
899         * gnu/java/nio/natLongBufferImpl.cc: Removed.
900         * gnu/java/nio/natShortBufferImpl.cc: Removed.
901
902 2003-05-09  Michael Koch  <konqueror@gmx.de>
903
904         * gnu/java/nio/ByteBufferImpl.java
905         (nio_cast): Removed.
906         (ByteBufferImpl): Removed.
907         (nio_get_Byte): Removed.
908         (nio_put_Byte): Removed.
909         (asByteBuffer): Removed.
910         (asCharBuffer): Removed implementation and throw exception.
911         (asShortBuffer): Likewise.
912         (asIntBuffer): Likewise.
913         (asLongBuffer): Likewise.
914         (asFloatBuffer): Likewise.
915         (asDoubleBuffer): Likewise.
916         * gnu/java/nio/CharBufferImpl.java
917         (CharBufferImpl): Removed.
918         (nio_get_Byte): Removed.
919         (nio_put_Byte): Removed.
920         (asByteBuffer): Removed.
921         * gnu/java/nio/DoubleBufferImpl.java
922         (DoubleBufferImpl): Removed.
923         (nio_get_Byte): Removed.
924         (nio_put_Byte): Removed.
925         (asByteBuffer): Removed.
926         * gnu/java/nio/FloatBufferImpl.java
927         (FloatBufferImpl): Removed.
928         (nio_get_Byte): Removed.
929         (nio_put_Byte): Removed.
930         (asByteBuffer): Removed.
931         * gnu/java/nio/IntBufferImpl.java
932         (IntBufferImpl): Removed.
933         (nio_get_Byte): Removed.
934         (nio_put_Byte): Removed.
935         (asByteBuffer): Removed.
936         * gnu/java/nio/LongBufferImpl.java
937         (LongBufferImpl): Removed.
938         (nio_get_Byte): Removed.
939         (nio_put_Byte): Removed.
940         (asByteBuffer): Removed.
941         * gnu/java/nio/ShortBufferImpl.java
942         (ShortBufferImpl): Removed.
943         (nio_get_Byte): Removed.
944         (nio_put_Byte): Removed.
945         (asByteBuffer): Removed.
946         * gnu/java/nio/natByteBufferImpl.cc
947         (nio_cast): Removed.
948         (nio_get_Byte): Removed.
949         (nio_put_Byte): Removed.
950         * gnu/java/nio/natCharBufferImpl.cc
951         (nio_get_Byte): Removed.
952         (nio_put_Byte): Removed.
953
954 2003-05-09  Michael Koch  <konqueror@gmx.de>
955
956         * java/net/JarURLConnection.java
957         (getJarEntry): Merged documentation from classpath.
958         (getJarFile): Likewise.
959         (getMainAttributes): Likewise.
960         (getAttributes): Likewise.
961         (getManifest): Likewise.
962         (getCertificates): Reformatted.
963         * java/net/URLConnection.java:
964         Little classpath merge.
965
966 2003-05-09  Michael Koch  <konqueror@gmx.de>
967
968         * java/io/DataOutputStream.java
969         (writeShort): Made it synchronized.
970         (writeChar): Likewise.
971         (writeInt): Likewise.
972         (writeLong): Liekwise.
973         (writeUTF): Made it synchronized, renamed argument to match classpath.
974         * java/io/InputStreamReader.java
975         (converter): Added documentation.
976         (read): Merged documentation from classpath.
977         * java/io/OutputStreamWriter.java
978         (OutputStreamWriter): Merged documentation from classpath.
979         (close): Reformatted.
980         (getEncoding): Likewise.
981         (flush): Likewise.
982         (write): Merged documentation from classpath, reformatted.
983
984 2003-05-08  Tom Tromey  <tromey@redhat.com>
985
986         * configure.host <powerpc64*-*>: Set with_libffi_default and
987         libgcj_interpreter to "yes".
988
989 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
990
991         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
992         
993 2003-05-06  Tom Tromey  <tromey@redhat.com>
994
995         * verify.cc: Reverted previous patch.
996
997 2003-05-06  Michael Koch  <konqueror@gmx.de>
998
999         * java/io/DataOutputStream.java
1000         (write): Renamed argument to "value", merged documentation from
1001         classpath.
1002         (writeBoolean): Likewise.
1003         (writeByte): Likewise.
1004         (writeShort): Likewise.
1005         (writeChar): Likewise.
1006         (writeInt): Likewise.
1007         (writeLong): Likewise.
1008         (writeFloat): Likewise.
1009         (writeDouble): Likewise.
1010         (writeBytes): Likewise.
1011         (writeChars): Likewise.
1012         (writeUTF): Likewise.
1013         * java/io/File.java
1014         (performDelete): Added documentation.
1015         (performList): Likewise.
1016         (performMkdir): Likewise.
1017         (performSetReadOnly): Likewise.
1018         (performRenameTo): Likewise.
1019         (performSetLastModified): Likewise.
1020         (delete): Made it sychronized.
1021         (renameTo): Made it sychronized.
1022         (equals): Reformatted.
1023         (isHidden): Likewise.
1024         (listFiles): Likewise.
1025         (setReadOnly): Likewise.
1026         (listRoots): Likewise.
1027         (setLastModified): Likewise.
1028         (checkRead): Likewise.
1029         (checkWrite): Likewise.
1030         * java/io/FileInputStream.java
1031         (skip): Made it sychronized, merged from classpath.
1032         * java/io/FileOutputStream.java
1033         (write): Merged from classpath.
1034         * java/io/InputStreamReader.java:
1035         (InputStreamReader): Merged documentation from classpath.
1036
1037 2003-05-05  Michael Koch  <konqueror@gmx.de>
1038
1039         * java/net/NetworkInterface.java
1040         (networkInterfaces): Removed.
1041         (getByName): Use getRealNetworkInterfaces() instead of
1042         networkInterfaces.
1043         (getByInetAddress): Likewise.
1044         (getNetworkInterfaces): Likewise.
1045         (toString): Fix output of addresses of an interface.
1046
1047 2003-05-05  Michael Koch  <konqueror@gmx.de>
1048
1049         * java/io/DataInputStream.java:
1050         Merged new documentation from classpath.
1051
1052 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1053
1054         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1055         "version".
1056         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1057         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1058         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1059         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1060         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1061         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1062         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1063         * java/security/Key.java: Likewise.
1064         * java/security/PrivateKey.java: Likewise.
1065         * java/security/Provider.java: Likewise.
1066         * java/security/PublicKey.java: Likewise.
1067
1068 2003-05-02  Michael Koch  <konqueror@gmx.de>
1069
1070         * java/net/URI.java
1071         (create): Doesnt throws any exceptions.
1072         * java/net/URLConnection.java
1073         (URLConnection): Commend added.
1074         (getExpiration): The header field is called "expires" not
1075         "expiration".
1076         (getHeaderField): Merged documentation with classpath.
1077         (getHeaderFieldInt): Likewise.
1078         (getHeaderFieldDate): Likewise.
1079         (getHeaderFieldKey): Likewise.
1080         (getPermission): Likewise.
1081         (setDefaultUseCaches): Likewise.
1082         (setRequestProperty): Likewise.
1083         (addRequestProperty): Likewise.
1084         (getRequestProperty): Likewise.
1085         (getRequestProperties): Likewise.
1086         (setDefaultRequestProperty): Likewise.
1087         (getDefaultRequestProperty): Likewise.
1088         (guessContentTypeFromStream): Likewise.
1089         (getFileNameMap): Likewise.
1090         (setFileNameMap): Likewise.
1091         (setDoInput): Merged implementation and documentation with classpath.
1092         (setDoOutput): Likewise.
1093         (setAllowUserInteraction): Likewise.
1094         (setDefaultAllowUserInteraction): Likewise.
1095         (setContentHandlerFactory): Made it synchronized, merged documentation
1096         with classpath.
1097         (guessContentTypeFromName): Renamed argument fname to filename to
1098         match classpath, merged documentation with classpath.
1099
1100 2003-05-02  Michael Koch  <konqueror@gmx.de>
1101
1102         * java/net/JarURLConnection.java
1103         (JarURLConnection): Class documentation merged with classpath.
1104         (getJarFileURL): Moved and documentation merged with classpath.
1105         (getEntryName): Likewise.
1106         (JarURLConnection): Documentation merged with classpath.
1107         (getJarEntry): Likewise.
1108         (getJarFile): Likewise.
1109         * java/net/PlainDatagramSocketImpl.java:
1110         Class documentation moved.
1111         * java/net/URLConnection.java
1112         (fileNameMap): Moved and documentation merged with classpath.
1113         (factory): Likewise.
1114         (defaultAllowUserInteraction): Likewis.
1115         (defaultUseCaches): Likewise.
1116         (allowUserInteraction): Likewise.
1117         (connected): Likewise.
1118         (url): Likewise.
1119         (connect): Documentation merged with classpath.
1120         (getURL): Likewise.
1121         (getContentLength): Likewise.
1122         (getContentType): Likewise.
1123         (getContentEncoding): Likewise.
1124         (getExpiration): Likewise.
1125         (getDate): Likewise.
1126         (getLastModified): Likewise.
1127         (getHeaderField): Likewise.
1128         (getContent): Likewise.
1129         (getPermission): Likewise.
1130         (getInputStream): Likewise.
1131         (getOutputStream): Likewise.
1132         (toString): Likewise.
1133         (getDoInput): Likewise.
1134         (getDoOutput): Likewise.
1135         (setAllowUserInteraction): Likewise.
1136         (getAllowUserInteraction): Likewise.
1137         (setDefaultAllowUserInteraction): Likewise.
1138         (getDefaultAllowUserInteraction): Likewise.
1139         (setUseCaches): Likewise.
1140         (getUseCaches): Likewise.
1141         (setIfModifiedSince): Likewise.
1142         (getIfModifiedSince): Likewise.
1143         (setDefaultRequestProperty): Likewise.
1144         (getDefaultRequestProperty): Likewise.
1145         (setContentHandlerFactory): Likewise.
1146         (setFileNameMap): Likewise.
1147
1148 2003-05-02  Michael Koch  <konqueror@gmx.de>
1149
1150         * java/net/InetAddress.java:
1151         Merged class documentation with classpath.
1152         * java/net/JarURLConnection.java:
1153         Explicitely import all used classes.
1154         * java/net/URL.java:
1155         Reformatting.
1156         * java/net/ServerSocket.java,
1157         java/net/Socket.java:
1158         New versions from classpath.
1159
1160 2003-05-02  Michael Koch  <konqueror@gmx.de>
1161
1162         * gnu/java/nio/FileChannelImpl.java
1163         (read): New implementation.
1164         (implRead): New methods.
1165         (write): New implementation, call other write insteal of read method.
1166         (implWrite): New methods.
1167         (map): Added comment.
1168         (transferFrom): Implemented.
1169         (transferTo): Implemented.
1170         (lock): Added checks to throw exceptions.
1171         (truncate): Added check to throw exception.
1172         * gnu/java/nio/natFileChannelImpl.cc
1173         (implRead): New method.
1174         (implWrite): New method.
1175         * java/nio/ByteBuffer.java
1176         (hashCode): Fixed comment.
1177         (get): Fixed exception documentation.
1178         (put): Fixed exception documentation.
1179         * java/nio/CharBuffer.java:
1180         Added comment for later optimizations.
1181
1182 2003-04-30  Tom Tromey  <tromey@redhat.com>
1183
1184         PR libgcj/10582:
1185         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1186         Removed.
1187         (type::compatible): Use _Jv_IsAssignableFrom.
1188         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1189         (_Jv_IsAssignableFrom): Work even when source or target class is
1190         not prepared.
1191
1192 2003-04-30  Michael Koch  <konqueror@gmx.de>
1193
1194         * java/text/BreakIterator.java
1195         (clone): New method.
1196
1197 2003-04-30  Michael Koch  <konqueror@gmx.de>
1198
1199         * java/text/CollationElementIterator.java,
1200         java/text/CollationKey.java,
1201         java/text/RuleBasedCollator.java:
1202         Merged copyright and documentation from classpath and
1203         rearranged some code. No code changes done.
1204
1205 2003-04-30  Michael Koch  <konqueror@gmx.de>
1206
1207         * java/util/regex/Matcher.java
1208         (pattern): New member variable.
1209         (appendReplacement): New method.
1210         (appendTail): New method.
1211         (end): New method.
1212         (find): New method.
1213         (group): New method.
1214         (replaceFirst): Added documentation.
1215         (replaceAll): Added documentation.
1216         (groupCount): New method.
1217         (lookingAt): New method.
1218         (matches): New method.
1219         (reset): New method.
1220         (start): New method.
1221         * java/util/regex/Pattern.java
1222         (serialVersionUID): New constant.
1223         (CANON_EQ): New constant.
1224         (CASE_INSENSITIVE): New constant.
1225         (COMMENTS): New constant.
1226         (DOTALL): New constant.
1227         (MULTILINE): New constant.
1228         (UNICODE_CASE): New constant.
1229         (UNIX_LINES): New constant.
1230         (regex): New member variable.
1231         (flags): New member variable.
1232         (Pattern): New method.
1233         (compile): Documentation added.
1234         (flags): New method.
1235         (matches): Documentation added.
1236         (matcher): Documentation added.
1237         (split): Documentation added.
1238         (pattern): New method.
1239
1240 2003-04-30  Michael Koch  <konqueror@gmx.de>
1241
1242         * gnu/java/security/Engine.java,
1243         gnu/java/security/OID.java,
1244         gnu/java/security/der/BitString.java,
1245         gnu/java/security/der/DER.java,
1246         gnu/java/security/der/DERReader.java,
1247         gnu/java/security/der/DERValue.java,
1248         gnu/java/security/der/DERWriter.java,
1249         gnu/java/security/provider/DSAKeyFactory.java,
1250         gnu/java/security/provider/X509CertificateFactory.java,
1251         gnu/java/security/x509/X500DistinguishedName.java,
1252         gnu/java/security/x509/X509CRL.java,
1253         gnu/java/security/x509/X509CRLEntry.java,
1254         gnu/java/security/x509/X509Certificate.java,
1255         java/security/cert/CRLSelector.java,
1256         java/security/cert/CertPathBuilder.java,
1257         java/security/cert/CertPathBuilderResult.java,
1258         java/security/cert/CertPathBuilderSpi.java,
1259         java/security/cert/CertPathParameters.java,
1260         java/security/cert/CertPathValidator.java,
1261         java/security/cert/CertPathValidatorResult.java,
1262         java/security/cert/CertPathValidatorSpi.java,
1263         java/security/cert/CertSelector.java,
1264         java/security/cert/CertStore.java,
1265         java/security/cert/CertStoreParameters.java,
1266         java/security/cert/CertStoreSpi.java,
1267         java/security/cert/CollectionCertStoreParameters.java,
1268         java/security/cert/LDAPCertStoreParameters.java,
1269         java/security/cert/PKIXBuilderParameters.java,
1270         java/security/cert/PKIXCertPathBuilderResult.java,
1271         java/security/cert/PKIXCertPathChecker.java,
1272         java/security/cert/PKIXCertPathValidatorResult.java,
1273         java/security/cert/PKIXParameters.java,
1274         java/security/cert/PolicyNode.java,
1275         java/security/cert/PolicyQualifierInfo.java,
1276         java/security/cert/TrustAnchor.java,
1277         javax/security/auth/x500/X500Principal.java:
1278         New files from classpath.
1279         * gnu/java/io/ASN1ParsingException.java,
1280         gnu/java/io/Base64InputStream.java,
1281         gnu/java/security/der/DEREncodingException.java,
1282         gnu/java/security/provider/DSAParameters.java,
1283         gnu/java/security/provider/DSASignature.java,
1284         gnu/java/security/provider/Gnu.java,
1285         gnu/java/security/provider/GnuDSAPrivateKey.java,
1286         gnu/java/security/provider/GnuDSAPublicKey.java,
1287         java/security/AlgorithmParameterGenerator.java,
1288         java/security/AlgorithmParameters.java,
1289         java/security/KeyFactory.java,
1290         java/security/KeyPairGenerator.java,
1291         java/security/KeyStore.java,
1292         java/security/MessageDigest.java,
1293         java/security/SecureClassLoader.java,
1294         java/security/SecureRandom.java,
1295         java/security/Security.java,
1296         java/security/Signature.java,
1297         java/security/cert/Certificate.java,
1298         java/security/cert/CertificateFactory.java,
1299         java/security/cert/CertificateFactorySpi.java,
1300         java/security/cert/X509CRL.java,
1301         java/security/cert/X509Certificate.java,
1302         java/security/spec/DSAPublicKeySpec.java:
1303         New versions from classpath.
1304         * gnu/java/security/provider/DERReader.java,
1305         gnu/java/security/provider/DERWriter.java,
1306         java/security/Engine.java: Removed.
1307         * Makefile.am
1308         (java_source_files, javax_source_files): Added new files.
1309         * Makefile.in: Regenerated.
1310
1311 2003-04-29  Michael Koch  <konqueror@gmx.de>
1312
1313         * javax/swing/JTable.java
1314         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1315         (AUTO_RESIZE_LAST_COLUMN): New constant.
1316         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1317         (AUTO_RESIZE_OFF): New constant.
1318         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1319         (JTable): New method.
1320         (columnAdded): New method.
1321         (columnMarginChanged): New method.
1322         (columnMoved): New method.
1323         (columnRemoved): New method.
1324         (columnSelectionChanged): New method.
1325         (editingCanceled): New method.
1326         (editingStopped): New method.
1327         (getColumnModel): New method.
1328         (getPreferredScrollableViewportSize): New method.
1329         (getScrollableBlockIncrement): New method.
1330         (getScrollableTracksViewportHeight): New method.
1331         (getScrollableTracksViewportWidth): New method.
1332         (getScrollableUnitIncrement): New method.
1333         (getSelectedRow): New method.
1334         (getSelectionModel): New method.
1335         (tableChanged): New method.
1336         (setModel): New method.
1337         (setSelectionMode): New method.
1338         (setSelectionModel): New method.
1339         (setShowGrid): New method.
1340         (valueChanged): New method.
1341         * javax/swing/text/DefaultEditorKit.java
1342         (backwardAction): New constant.
1343         (beepAction): New constant.
1344         (beginAction): New constant.
1345         (beginLineAction): New constant.
1346         (beginParagraphAction): New constant.
1347         (beginWordAction): New constant.
1348         (copyAction): New constant.
1349         (cutAction): New constant.
1350         (defaultKeyTypedAction): New constant.
1351         (deleteNextCharAction): New constant.
1352         (deletePrevCharAction): New constant.
1353         (downAction): New constant.
1354         (endAction): New constant.
1355         (endLineAction): New constant.
1356         (endOfLineStringProperty): New constant.
1357         (endParagraphAction): New constant.
1358         (endWordAction): New constant.
1359         (forwardAction): New constant.
1360         (insertBreakAction): New constant.
1361         (insertContentAction): New constant.
1362         (insertTabAction): New constant.
1363         (nextWordAction): New constant.
1364         (pageDownAction): New constant.
1365         (pageUpAction): New constant.
1366         (pasteAction): New constant.
1367         (previousWordAction): New constant.
1368         (readOnlyAction): New constant.
1369         (selectAllAction): New constant.
1370         (selectionBackwardAction): New constant.
1371         (selectionBeginAction): New constant.
1372         (selectionBeginLineAction): New constant.
1373         (selectionBeginParagraphAction): New constant.
1374         (selectionBeginWordAction): New constant.
1375         (selectionDownAction): New constant.
1376         (selectionEndAction): New constant.
1377         (selectionEndLineAction): New constant.
1378         (selectionEndParagraphAction): New constant.
1379         (selectionEndWordAction): New constant.
1380         (selectionForwardAction): New constant.
1381         (selectionNextWordAction): New constant.
1382         (selectionPreviousWordAction): New constant.
1383         (selectionUpAction): New constant.
1384         (selectLineAction): New constant.
1385         (selectParagraphAction): New constant.
1386         (selectWordAction): New constant.
1387         (upAction): New constant.
1388         (writableAction): New constant.
1389
1390 2003-04-29  Michael Koch  <konqueror@gmx.de>
1391
1392         * java/util/PropertyPermission.java:
1393         New version from classpath
1394         * java/util/ResourceBundle.java:
1395         Partly merged from classpath
1396         (getObject): Reformated.
1397         (tryBundle): Set foundBundle = null if no bundle found.
1398
1399 2003-04-29  Michael Koch  <konqueror@gmx.de>
1400
1401         * javax/swing/AbstractListModel.java,
1402         javax/swing/DefaultBoundedRangeModel.java,
1403         javax/swing/DefaultSingleSelectionModel.java:
1404         New Versions from classpath.
1405
1406 2003-04-29  Michael Koch  <konqueror@gmx.de>
1407
1408         * java/awt/Window.java
1409         (show): Call super.show() instead of setVisible() to avoid endless
1410         loop.
1411         (hide): Call super.hide() instead of setVisible() to avoid endless
1412         loop.
1413
1414 2003-04-29  Michael Koch  <konqueror@gmx.de>
1415
1416         * java/util/zip/Deflater.java,
1417         java/util/zip/DeflaterOutputStream.java:
1418         Partly merged with classpath.
1419
1420 2003-04-27  Tom Tromey  <tromey@redhat.com>
1421
1422         * java/lang/natString.cc (_Jv_AllocString): Initialize
1423         cachedHashCode.
1424         (init): Likewise.
1425         (_Jv_NewStringUtf8Const): Likewise.
1426
1427 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1428
1429         * include/jvm.h: (_Jv_GetNbArgs) added
1430         (_Jv_GetSafeArg) added
1431         (_Jv_SetArgs) added
1432         * prims.cc: (_Jv_GetNbArgs) implemented
1433         (_Jv_GetSafeArg) implemented
1434         (_Jv_SetArgs) implemented
1435         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1436         setting _Jv_argc and _Jv_argv
1437         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1438         instead of _Jv_argv
1439         * java/lang/natRuntime.cc: (insertSystemProperties) use
1440         _Jv_GetSafeArg() instead of _Jv_argv
1441
1442 2003-04-23  Tom Tromey  <tromey@redhat.com>
1443
1444         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1445         required by this object.  Search superclasses to find required
1446         alignment.
1447         (get_alignment_from_class): Use alignment of type as it appears
1448         in a struct.
1449         (ALIGNOF): New macro.
1450         (struct aligner): New helper structure.
1451
1452 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1453
1454         * java/awt/Container.java (addImpl): Enable paint events if adding
1455         a lightweight to a heavyweight.
1456         (addNotify): Ensure that peer is created before
1457         addNotifyContainerChildren.
1458         (addNotifyContainerChildren): Enable paint events if a heavyweight
1459         container contains a lightweight.
1460
1461 2003-04-20  Tom Tromey  <tromey@redhat.com>
1462
1463         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1464         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1465         Classpath.
1466
1467 2003-04-19  Tom Tromey  <tromey@redhat.com>
1468
1469         * java/sql/Date.java, java/sql/DriverManager.java,
1470         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1471         Classpath.
1472
1473         * Makefile.in: Rebuilt.
1474         * Makefile.am (ordinary_java_source_files): Added new files.
1475         * java/security/AlgorithmParameterGenerator.java,
1476         java/security/AlgorithmParameters.java, java/security/Engine.java,
1477         java/security/Identity.java, java/security/IdentityScope.java,
1478         java/security/KeyFactory.java,
1479         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1480         java/security/MessageDigest.java, java/security/Policy.java,
1481         java/security/ProtectionDomain.java,
1482         java/security/SecureRandom.java, java/security/Security.java,
1483         java/security/Signature.java, java/security/SignatureSpi.java,
1484         java/security/SignedObject.java, java/security/Signer.java,
1485         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1486         java/security/spec/PSSParameterSpec.java,
1487         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1488         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1489         Classpath.
1490
1491 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1492
1493         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1494         (dispose): Null metrics.
1495         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1496         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1497         finalize.
1498         (finalize): Call dispose.
1499         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1500         (gcCachedCount): New field.
1501         (finalize): New method.
1502         (putGCInCache): New method.
1503         (getGCFromCache): New method.
1504         * gnu/gcj/xlib/GC.java (GC): Make protected.
1505         (clone): Get new GC from cache if possible.
1506         (create): New static method.
1507         (dispose): Save old GC in cache.
1508         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1509         deleting.
1510         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1511         is null.
1512         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1513         * java/awt/Container.java (visitChild): Dispose gfx2 when
1514         finished.
1515
1516 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1517
1518         * java/math/BigInteger.java (probablePrime): New.
1519         * java/math/BigDecimal.java (unscaledValue): New.
1520
1521 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1522
1523         * java/io/File.java (getAbsolutePath): On Windows, take care
1524         of paths like "C:", "G:foo\bar", etc.
1525         (getName): Make it work correctly on Windows.
1526         (getParent): Make it work correctly on Windows. For UNIX,
1527         fix bug that causes "/" to be returned as the parent of "/",
1528         instead of null as returned by Sun's JRE.
1529
1530         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1531
1532 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1533
1534         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1535         inner class.
1536         (CACHE_SIZE_PER_DISPLAY): New field
1537         (fontMetricsCache): New field
1538         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1539         loading ISO10646-1 fonts.
1540
1541 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1542
1543         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1544         characters.
1545         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1546         characters.
1547
1548 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1549
1550         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1551         floating point.
1552
1553 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1554
1555         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1556         installed libpthread is either linuxthreads with floating stacks or
1557         NPTL.
1558
1559 2003-04-14  Tom Tromey  <tromey@redhat.com>
1560
1561         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1562         of alignment.
1563
1564 2003-04-10  Tom Tromey  <tromey@redhat.com>
1565
1566         * verify.cc (pop64): Removed.
1567         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1568         exception if top-of-stack is narrow.
1569         (initialize_stack): Check to ensure that <init> is not static and
1570         <clinit> is.
1571
1572 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1573
1574         * java/io/ObjectStreamException
1575         * java/io/FileFilter
1576         * java/io/FilenameFilter
1577         * java/io/ObjectInput
1578         * java/io/ObjectOutput
1579         * java/io/ObjectStreamConstants
1580         Minor doc fixes, format fixes, spelling corrections, etc.
1581         * java/io/DataInput
1582         Corrected code samples in Javadocs to match reality
1583         * java/io/DataOutput
1584         * java/io/ObjectInputValidation
1585         Major documentation fixes - all Javadocs re-written or updated
1586
1587 2003-04-06  Michael Koch  <konqueror@gmx.de>
1588
1589         * java/net/URLConnection.java:
1590         Import classes directly.
1591         (URLConnection): Merged class documentation with classpath.
1592         (url): Moved, documentation from classpath added.
1593         (doInput): Moved, documentation from classpath added.
1594         (doOutput): Moved, documentation from classpath added.
1595         (allowUserInteraction): Moved.
1596         (useCaches): Moved, documentation from classpath added.
1597         (ifModifiedSince): Moved, documentation from classpath added.
1598         (connected): Moved, documentation from classpath added.
1599
1600 2003-04-06  Michael Koch  <konqueror@gmx.de>
1601
1602         * java/io/FileInputStream.java
1603         (skip): Renamed some variables to match classpath, added
1604         checks from classpath.
1605
1606 2003-03-31  Michael Koch  <konqueror@gmx.de>
1607
1608         * javax/swing/AbstractAction.java
1609         (AbstractAction): Reformatted.
1610         (serialVersionUID): New private member variable.
1611         * javax/swing/plaf/BorderUIResource.java
1612         (serialVersionUID): New private member variable.
1613         * javax/swing/plaf/basic/BasicLookAndFeel.java
1614         (serialVersionUID): New private member variable.
1615
1616 2003-03-31  Michael Koch  <konqueror@gmx.de>
1617
1618         * java/sql/Date.java
1619         (valueOf): Deprecated, reformatted.
1620         (toString): Deprecated, reformatted.
1621         * java/sql/Time.java
1622         (valueOf): Deprecated, reformatted.
1623         (toString): Deprecated, reformatted.
1624
1625 2003-03-31  Michael Koch  <konqueror@gmx.de>
1626
1627         * java/rmi/dgc/VMID.java
1628         (isUnique): Deprecated.
1629
1630 2003-03-31  Michael Koch  <konqueror@gmx.de>
1631
1632         * java/io/File.java
1633         (separator): Merged documentation from classpath.
1634         (separatorChar): Merged documentation from classpath.
1635         (pathSeparator): Merged documentation from classpath.
1636         (pathSeparatorChar): Merged documentation from classpath.
1637         (path): Merged documentation from classpath.
1638         (canRead): Merged documentation from classpath.
1639         (canWrite): Merged documentation from classpath.
1640         (createNewFile): Merged documentation from classpath.
1641         (delete): Merged documentation from classpath.
1642         (equals): Merged documentation from classpath.
1643         (exists): Merged documentation from classpath.
1644         (File): Renamed p to name to match classpath, merged documentation
1645         from classpath.
1646         (getAbsolutePath): Merged documentation from classpath.
1647         (getCanonicalPath): Merged documentation from classpath.
1648         (getCanonicalFile): Merged documentation from classpath.
1649         (getName): Merged documentation from classpath.
1650         (getParent): Merged documentation from classpath.
1651         (getParentFile): Merged documentation from classpath.
1652         (getPath): Merged documentation from classpath.
1653         (hashCode): Merged documentation from classpath.
1654         (isAbsolute): Merged documentation from classpath.
1655         (isDirectory): Merged documentation from classpath.
1656         (isFile): Merged documentation from classpath.
1657         (isHidden): Merged documentation from classpath.
1658         (lastModified): Merged documentation from classpath.
1659         (length): Merged documentation from classpath.
1660         (list): Merged documentation from classpath.
1661         (listFiles): Merged documentation from classpath.
1662         (toString): Merged documentation from classpath.
1663         (toURL): Merged documentation from classpath.
1664         (mkdir): Merged documentation from classpath.
1665         (mkdirs): Merged documentation from classpath.
1666         (createTempFile): Merged documentation from classpath.
1667         (setReadOnly): Merged documentation from classpath.
1668         (listRoots): Merged documentation from classpath.
1669         (compareTo): Merged documentation from classpath.
1670         (renameTo): Merged documentation from classpath.
1671         (setLastModified): Merged documentation from classpath.
1672         * java/io/PrintStream.java
1673         (auto_flush): Merged documentation from classpath.
1674         (PrintStream): Merged documentation from classpath.
1675         (checkError): Merged documentation from classpath.
1676         (setError): Merged documentation from classpath.
1677         (close): Merged documentation from classpath.
1678         (flush): Merged documentation from classpath.
1679         (print): Merged documentation from classpath.
1680         (println):  Merged documentation from classpath.
1681         (write): Renamed count to len to match classpath,
1682         merged documentation from classpath.
1683         * java/io/RandomAccessFile.java
1684         (readShort): Merged documentation from classpath.
1685         (readUnsignedByte): Merged documentation from classpath.
1686         (readUnsignedShort): Merged documentation from classpath.
1687         (readUTF): Merged documentation from classpath.
1688         (seek): Reformatted, merged documentation from classpath.
1689         (skipBytes): Renamed some variables to match classpath, reformatted,
1690         merged documentation from classpath.
1691         (write): Merged documentation from classpath.
1692         (writeBoolean): Merged documentation from classpath.
1693         (writeByte): Merged documentation from classpath.
1694         (writeShort): Merged documentation from classpath.
1695         (writeChar): Merged documentation from classpath.
1696         (writeInt): Merged documentation from classpath.
1697         (writeLong): Merged documentation from classpath.
1698         (writeFloat): Merged documentation from classpath.
1699         (writeDouble): Merged documentation from classpath.
1700         (writeBytes): Merged documentation from classpath.
1701         (writeChars): Merged documentation from classpath.
1702         (writeUTF): Reformatted.
1703         (getChannel): Reformatted.
1704
1705 2003-03-31  Michael Koch  <konqueror@gmx.de>
1706
1707         * java/awt/font/TextAttribute.java
1708         (readResolve): Throws java.io.InvalidObjectException.
1709
1710 2003-03-31  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/rmi/server/LoaderHandler.java
1713         (loadClass): Deprecated.
1714         (getSecurityContext): Deprecated.
1715         * java/rmi/server/LogStream.java
1716         (getDefaultStream): Deprecated.
1717         (setDefaultStream): Deprecated.
1718         (getOutputStream): Deprecated.
1719         (setOutputStream): Deprecated.
1720         (write): Deprecated.
1721         (toString): Deprecated.
1722         (parseLevel): Deprecated.
1723         * java/rmi/server/Operation.java
1724         (Operation): Deprecated.
1725         (getOperation): Deprecated.
1726         (toString): Deprecated.
1727         * java/rmi/server/RemoteCall.java
1728         (getOutputStream): Deprecated.
1729         (releaseOutputStream): Deprecated.
1730         (getInputStream): Deprecated.
1731         (releaseInputStream): Deprecated.
1732         (getResultStream): Deprecated.
1733         (executeCall): Deprecated.
1734         (done): Deprecated.
1735         * java/rmi/server/RemoteRef.java
1736         (invoke): Deprecated.
1737         (newCall): Deprecated.
1738         (done): Deprecated.
1739         * java/rmi/server/RemoteStub.java
1740         (setRef): Deprecated.
1741         * java/rmi/server/Skeleton.java:
1742         No need to import java.lang.Exception explicitly.
1743         (dispatch): Deprecated.
1744         (getOperations): Deprecated.
1745
1746 2003-03-31  Michael Koch  <konqueror@gmx.de>
1747
1748         * java/rmi/dgc/VMID.java,
1749         java/rmi/registry/RegistryHandler.java,
1750         java/rmi/server/LogStream.java,
1751         java/rmi/server/Operation.java,
1752         java/rmi/server/RemoteCall.java,
1753         java/rmi/server/RemoteRef.java,
1754         java/rmi/server/RemoteStub.java:
1755         Reformatted.
1756
1757 2003-03-31  Michael Koch  <konqueror@gmx.de>
1758
1759         * javax/swing/AbstractCellEditor.java,
1760         javax/swing/AbstractListModel.java,
1761         javax/swing/ActionMap.java,
1762         javax/swing/BorderFactory.java,
1763         javax/swing/ButtonGroup.java,
1764         javax/swing/DefaultBoundedRangeModel.java,
1765         javax/swing/DefaultButtonModel.java,
1766         javax/swing/DefaultCellEditor.java,
1767         javax/swing/DefaultComboBoxModel.java,
1768         javax/swing/DefaultDesktopManager.java,
1769         javax/swing/DefaultListCellRenderer.java,
1770         javax/swing/DefaultSingleSelectionModel.java,
1771         javax/swing/InputMap.java,
1772         javax/swing/JComponent.java,
1773         javax/swing/JMenu.java,
1774         javax/swing/JSlider.java,
1775         javax/swing/KeyStroke.java,
1776         javax/swing/OverlayLayout.java,
1777         javax/swing/ScrollPaneLayout.java,
1778         javax/swing/SizeRequirements.java,
1779         javax/swing/UIManager.java,
1780         javax/swing/ViewportLayout.java,
1781         javax/swing/border/AbstractBorder.java,
1782         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1783         javax/swing/event/EventListenerList.java,
1784         javax/swing/table/AbstractTableModel.java,
1785         javax/swing/table/DefaultTableCellRenderer.java,
1786         javax/swing/table/DefaultTableColumnModel.java,
1787         javax/swing/table/DefaultTableModel.java,
1788         javax/swing/table/TableColumn.java,
1789         javax/swing/text/StyledEditorKit.java,
1790         javax/swing/tree/DefaultMutableTreeNode.java,
1791         javax/swing/tree/DefaultTreeModel.java,
1792         javax/swing/tree/DefaultTreeSelectionModel.java,
1793         javax/swing/tree/TreePath.java,
1794         javax/swing/undo/AbstractUndoableEdit.java,
1795         javax/swing/undo/StateEdit.java,
1796         javax/swing/undo/StateEditable.java,
1797         javax/swing/undo/UndoableEditSupport.java:
1798         Merges from classpath.
1799
1800 2003-03-30  Tom Tromey  <tromey@redhat.com>
1801
1802         * java/lang/String.java (data, boffset, count): Documented.
1803         (String(byte[],String)): Reformatted.
1804         (String(byte[])): Likewise.
1805         (lastIndexOf(int)): Likewise.
1806         (lastIndexOf(String)): Likewise.
1807         (substring(int)): Renamed argument to match Classpath.
1808         (String(StringBuffer)): Don't share buffer if it is nearly empty.
1809
1810         * java/lang/String.java: Miscellaneous minor formatting changes
1811         to match Classpath more closely.
1812
1813 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
1814             Tom Tromey  <tromey@redhat.com>
1815
1816         * java/lang/natString.cc (hashCode): Use cachedHashCode.
1817         (init()): Removed.
1818         (charAt): Put index in exception.
1819         (contentEquals): New method.
1820         Include StringBuffer.h.
1821         * java/lang/String.java (cachedHashCode): New field.
1822         (String()): Follow classpath implementation.
1823         (init()): Removed.
1824         (contentEquals): Declare.
1825         (subSequence): Don't declare IndexOutIfBoundsException in throws
1826         clause.
1827         (matches, replaceFirst, replaceAll, split): New methods from
1828         Classpath.
1829
1830 2003-03-29  Tom Tromey  <tromey@redhat.com>
1831
1832         * java/lang/String.java: Reordered to follow Classpath; merged in
1833         javadoc.
1834
1835         * java/text/MessageFormat.java: Removed some whitespace.
1836
1837         * Makefile.in: Rebuilt.
1838         * Makefile.am (awt_java_source_files): Added new files.
1839         * gnu/javax/rmi/PortableServer.java,
1840         gnu/javax/rmi/CORBA/DelegateFactory.java,
1841         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
1842         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
1843         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
1844         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
1845         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
1846         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
1847         javax/rmi/PortableRemoteObject.java,
1848         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
1849         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
1850         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
1851         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
1852         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
1853         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
1854
1855         * java/lang/natClass.cc (newInstance): Put method name in
1856         exception.
1857         (getConstructor): Likewise.
1858         (getDeclaredConstructor): Likewise.
1859         (getPrivateMethod): Likewise.
1860
1861 2003-03-28  Tom Tromey  <tromey@redhat.com>
1862
1863         * java/lang/reflect/Proxy.java: New version from Classpath.
1864         * java/lang/Package.java: New version from Classpath.
1865
1866 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
1867
1868         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
1869         * configure: Regenerate.
1870
1871 2003-03-28  Michael Koch  <konqueror@gmx.de>
1872
1873         * java/io/File.java:
1874         Import needed classes instead of whole packages, merged class
1875         documentation with classpath, moved constants and variables to top of
1876         class.
1877         * java/io/PrintStream.java:
1878         Merged class documentation with classpath, moved constants and
1879         variables to top of class.
1880         * java/io/RandomAccessFile.java
1881         (RandomAccessFile): Merged with classpath.
1882         (read): Merged with classpath).
1883         (read*): Reformatted.
1884
1885 2003-03-28  Michael Koch  <konqueror@gmx.de>
1886
1887         * java/io/FileDescriptor.java
1888         (finalize): Throws Throwable, not IOException.
1889         * java/io/ObjectOutputStream.java
1890         (PutField.put): Doesnt throws anything.
1891
1892 2003­03-28  Michael Koch  <konqueror@gmx.de>
1893
1894         * java/io/FileOutputStream.java:
1895         Merged class documentation and authors with classpath.
1896         (FileOutputStream): Partly merged with classpath.
1897         (write): Merged with classpath.
1898         (getChannel): Make it synchronized instead of explicit block in this
1899         method.
1900         * java/io/RandomAccessFile.java:
1901         Merged class documentation and authors with classpath.
1902
1903 2003-03-26  Tom Tromey  <tromey@redhat.com>
1904
1905         * java/lang/natRuntime.cc (insertSystemProperties): Set
1906         gnu.classpath.home.url.
1907         * Makefile.in: Rebuilt.
1908         * Makefile.am: Define LIBDIR.
1909
1910 2003-03-25  Michael Koch  <konqueror@gmx.de>
1911
1912         * java/io/FileInputStream.java
1913         (read): Renamed b to buf and off to offset.
1914         * java/io/FileOutputStream.java
1915         (ch): Documentation added.
1916         (FileOutputStream): Documentation added.
1917         (getFD): Documentation added.
1918         (write): Documentation added.
1919         (close): Documentation added.
1920         (getChannel): Documentation added.
1921
1922 2003-03-24  Michael Koch  <konqueror@gmx.de>
1923
1924         * java/io/DataOutputStream.java
1925         (write): Merged from classpath.
1926         * java/io/File.java:
1927         Merged copyrigth with classpath.
1928         * java/io/FileInputStream.java
1929         (getChannel): Made it synchronized instead of using a synchronized
1930         block.
1931         * java/io/FileOutputStream.java: Reformatted.
1932         * java/io/InputStreamReader.java
1933         (InputStreamReader): Renamed enc to encoding_name.
1934         (close): Merged documentation from classpath.
1935         (getEncoding): Merged documentation from classpath.
1936         (ready): Merged documentation from classpath.
1937         (read): Merged documentation from classpath.
1938         * java/io/LineNumberReader.java
1939         (lineNumber): Made it private.
1940         (LineNumberReader): Use Constant instead of a direct value.
1941         * java/io/OutputStreamWriter.java
1942         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
1943         documentation from classpath.
1944         (close): Merged documentation from classpath.
1945         (flush): Merged documentation from classpath.
1946         (write): Merged documentation from classpath.
1947         * java/io/PrintStream.java: Reformatted.
1948
1949 2003-03-24  Michael Koch  <konqueror@gmx.de>
1950
1951         * javax/swing/text/ComponentView.java
1952         (getComponent): Must be final.
1953         * javax/swing/tree/DefaultTreeCellRenderer.java:
1954         Reformatted.
1955         * javax/swing/undo/StateEditable.java:
1956         Reformatted.
1957
1958 2003-03-24  Michael Koch  <konqueror@gmx.de>
1959
1960         * java/rmi/activation/ActivationInstantiator.java:
1961         Reformatted.
1962         * java/rmi/activation/Activator.java:
1963         Reformatted.
1964         * java/rmi/registry/RegistryHandler.java:
1965         Remerged from classpath.
1966
1967 2003-03-24  Michael Koch  <konqueror@gmx.de>
1968
1969         * java/util/Date.java:
1970         Fixed documentation starting tag to make javadoc happy.
1971         * java/util/regex/Pattern.java
1972         (Pattern): Implements Serializable.
1973         * java/util/PatternSyntaxException.java
1974         (serialVersionUID): New member variable.
1975
1976 2003-03-24  Michael Koch  <koqnueror@gmx.de>
1977
1978         * java/awt/ContainerOrderFocusTraversalPolicy.java
1979         (getFirstComponent): Implemented.
1980         (getLastComponent): Implemented.
1981         (getDefaultComponent): Implemented.
1982         (setImplicitDownCycleTraversal): Fixed implementation.
1983         * java/awt/Robot.java
1984         (Robot): Added documentation.
1985         * java/awt/Toolkit.java
1986         (getFontList): Deprecated.
1987         (getFontMetrics): Deprecated.
1988         (getPrintJob): Added documentation.
1989         (getSystemSelection): Added documentation.
1990         (getLockingKeyState): Added documentation.
1991         (setLockingKeyState): Added documentation.
1992         (createCustomCursor): Added documentation.
1993         (getBestCursorSize): Added documentation.
1994         (getMaximumCursorColors): Added documentation.
1995         (isFrameStateSupported): Added documentation.
1996
1997 2003-03-24  Michael Koch  <konqueror@gmx.de>
1998
1999         * java/io/RandomAccessFile.java:
2000         More little merges with classpath. No code changes.
2001
2002 2003-03-24  Michael Koch  <konqueror@gmx.de>
2003
2004         * java/net/natInetAddressNoNet.cc:
2005         Include stddef.h.
2006         * java/net/natPlainDatagramSocketImplNoNet.cc:
2007         Fixed inlcude of java/net/DatagramPacket.h.
2008         * java/net/natPlainSocketImplNoNet.cc:
2009         Include some missing classes.
2010
2011 2003-03-24  Michael Koch  <konqueror@gmx.de>
2012
2013         * java/awt/dnd/DropTarget.java
2014         (DropTargetAutoScroller): According to the online documentation, this
2015         is protected, but in reality it is public.
2016         * java/awt/dnd/DropTargetContext.java
2017         (TransferableProxy): According to the online documentation, this
2018         is protected, but in reality it is public.
2019
2020 2003-03-24  Michael Koch  <konqueror@gmx.de>
2021
2022         * java/io/DataInputStream.java
2023         (): Wrapped documentation line.
2024         (): Fixed @return tag.
2025         * java/io/DataOutputStream.java
2026         (written): Moved to top of class.
2027         (all methods): Merged documentation from classpath.
2028         * java/io/File.java:
2029         Merged copyright year with classpath.
2030         * java/io/FileInputStream.java
2031         (all methods): Merged documentation from classpath.
2032         * java/io/LineNumberReader.java
2033         (getLineNumber): Fixed @return tag.
2034         * java/io/ObjectInputStream.java.
2035         Reformatted.
2036         * java/io/ObjectOutputStream.java:
2037         Reformatted, fixed some @see tags.
2038         * java/io/OutputStreamWriter.java:
2039         Deleted empty line.
2040         * java/io/Writer.java:
2041         Reformatted.
2042
2043 2003-03-24  Michael Koch  <konqueror@gmx.de>
2044
2045         * java/awt/Frame.java
2046         (DEFAULT_CURSOR): Fixed @deprecated tag.
2047         (setCursor): Fixed @deprecated tag.
2048
2049 2003-03-24  Michael Koch  <konqueror@gmx.de>
2050
2051         * java/beans/beancontext/BeanContextEvent.java:
2052         Reformated.
2053
2054 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2055
2056         * java/lang/natStringBuffer.cc (regionMatches): New function.
2057         * java/lang/String.java (count): Now package-private.
2058         * java/lang/StringBuffer.java: Merged with Classpath.
2059
2060 2003-03-23  Michael Koch  <konqueror@gmx.de>
2061
2062         * java/io/BufferedOutputStream.java:
2063         Reformated.
2064         * java/io/BufferedReader.java:
2065         Reformated.
2066         * java/io/ByteArrayOutputStream.java
2067         (size): Fixed @see tag.
2068         * java/io/CharArrayWriter.java
2069         (size): Fixed @see tag.
2070         * java/io/DataInput.java:
2071         Reformated.
2072         * java/io/DataOutput.java:
2073         Reformated.
2074         * java/io/DataOutputStream.java:
2075         Merged copyright years with classpath.
2076         * java/io/Externalizable.java:
2077         Reformated.
2078         * java/io/FileFilter.java:
2079         Reformated.
2080         * java/io/FileInputStream.java:
2081         Merged copyright years with classpath.
2082         * java/io/FileOutputStream.java:
2083         Merged copyright years with classpath.
2084         * java/io/FilePermission.java
2085         (FilePermission): Replaced @XXX with FIXME:.
2086         * java/io/FileWriter.java:
2087         Reformated.
2088         * java/io/FilenameFilter.java:
2089         Reformated.
2090         * java/io/FilterInputStream.java:
2091         Reformated.
2092         * java/io/FilterOutputStream.java:
2093         Reformated.
2094         * java/io/FilterReader.java:
2095         Reformated.
2096         * java/io/FilterWriter.java:
2097         Reformated.
2098         * java/io/LineNumberInputStream.java
2099         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2100         happy.
2101         (getLineNumber): Fixed @return tag.
2102         * java/io/ObjectInput.java:
2103         Reformated.
2104         * java/io/ObjectOutput.java:
2105         Reformated.
2106         * java/io/ObjectStreamClass.java:
2107         Reformated.
2108         * java/io/PrintStream.java:
2109         Merged copyright years with classpath.
2110         * java/io/PushbackReader.java
2111         (PushbackReader): Replaced @code with @param.
2112         * java/io/SerializablePermission.java:
2113         Reformated.
2114         * java/io/StreamTokenizer.java
2115         (resetSyntax): Fixed @see tag.
2116
2117 2003-03-22  Richard Henderson  <rth@redhat.com>
2118
2119         * sysdep/ia64/locks.h: Include ia64intrin.h.
2120         (compare_and_swap): Use __sync_bool_compare_and_swap.
2121         (compare_and_swap_release): Expose ar.ccv assignment.
2122
2123 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2124
2125         * include/posix.h: Add suffix for darwin dynamic libraries.
2126
2127 2003-03-21  Michael Koch  <konqueror@gmx.de>
2128
2129         * javax/swing/Action.java
2130         (ACCELERATOR_KEY): New constant.
2131         (ACTION_COMMAND_KEY): Likewise.
2132         (MNEMONIC_KEY): Likewise.
2133         * javax/swing/UnsupportedLookAndFeelException.java
2134         (UnsupportedLookAndFeelException): Must be public.
2135         * javax/swing/WindowConstants.java
2136         (EXIT_ON_CLOSE): New constant.
2137         * javax/swing/text/BadLocationException.java
2138         (offset): New member variable.
2139         (BadLocationException): New implementation, documentation added.
2140         (offsetRequested): New method.
2141         * javax/swing/text/Caret.java:
2142         Reformated.
2143         * javax/swing/text/Document.java:
2144         Reformated.
2145
2146 2003-03-21  Michael Koch  <konqueror@gmx.de>
2147
2148         * java/rmi/activation/Activatable.java
2149         (serialVersionUID): New member variable.
2150         * java/rmi/activation/ActivationGroup.java
2151         (serialVersionUID): New member variable.
2152         * java/rmi/activation/ActivationGroupDesc.java
2153         (serialVersionUID): New member variable.
2154         * java/rmi/registry/Registry.java:
2155         Reformated.
2156         (Registry): Deprecated.
2157         * java/rmi/server/LoaderHandler.java
2158         Reformated.
2159         (LoaderHandler): Deprecated.
2160         * java/rmi/server/LogStream.java
2161         Reformated.
2162         (LogStream): Deprecated.
2163         * java/rmi/server/Operation.java
2164         (Operation): Deprecated.
2165         * java/rmi/server/RMIFailureHandler.java:
2166         Reformated.
2167         * java/rmi/server/RMISocketFactory.java:
2168         Reformated.
2169         * java/rmi/server/RemoteCall.java
2170         (RemoteCall): Deprecated.
2171         * java/rmi/server/RemoteStub.java:
2172         Reformated.
2173         * java/rmi/server/Skeleton.java
2174         Reformated.
2175         (Skeleton): Deprecated.
2176
2177 2003-03-21  Michael Koch  <konqueror@gmx.de>
2178
2179         * java/io/LineNumberReader.java
2180         (LineNumberReader): Merged documentation with classpath.
2181         (getLineNumber): Likewise.
2182         (setLineNumber): Likewise.
2183         (mark): Likewise.
2184         (reset): Likewise.
2185         (read): Likewise.
2186         (readLine): Likewise.
2187         (skip): Likewise.
2188
2189 2003-03-21  Michael Koch  <konqueror@gmx.de>
2190
2191         * java/rmi/RMISecurityManager.java
2192         (checkAccept): Removed.
2193         (checkAccess): Likewise.
2194         (checkAccess): Likewise.
2195         (checkAwtEventQueueAccess): Likewise.
2196         (checkConnect): Likewise.
2197         (checkCreateClassLoader): Likewise.
2198         (checkDelete): Likewise.
2199         (checkExec): Likewise.
2200         (checkExit): Likewise.
2201         (checkLink): Likewise.
2202         (checkListen): Likewise.
2203         (checkMemberAccess): Likewise.
2204         (checkMulticast): Likewise.
2205         (checkPackageAccess): Likewise.
2206         (checkPackageDefinition): Likewise.
2207         (checkPermission): Likewise.
2208         (checkPrintJobAccess): Likewise.
2209         (checkPropertiesAccess): Likewise.
2210         (checkPropertyAccess): Likewise.
2211         (checkRead): Likewise.
2212         (checkSecurityAccess): Likewise.
2213         (checkSetFactory): Likewise.
2214         (checkSystemClipboardAccess): Likewise.
2215         (checkTopLevelWindow): Likewise.
2216         (checkWrite): Likewise.
2217
2218 2003-03-20  Michael Koch  <konqueror@gmx.de>
2219
2220         * gnu/java/nio/FileChannelImpl.java
2221         (address): Removed.
2222         (map_address): New member variable.
2223         (length): Make it package private.
2224         (fd): Make it package private.
2225         (buf): Make it package private.
2226         (file_obj): Make it package private.
2227         (FileChannelImpl): New constructor.
2228         (nio_mmap_file): Use RawData instead of long.
2229         (nio_munmap_file): Use RawData instead of long.
2230         (nio_msync): Use RawData instead of long.
2231         (implCloseChannel): New implementation using map_address.
2232         (read): Reformated.
2233         (map): Implemented.
2234         (create_direct_mapped_buffer): Implemented, use RawData, throws
2235         IOException.
2236         (force): Use map_address instead of address.
2237         * gnu/java/nio/MappedByteFileBuffer.java
2238         (address): Removed.
2239         (map_address): New member variable.
2240         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2241         (several methods): Use map_address instead of address, replaced long
2242         with RawData where appropriate.
2243         * gnu/java/nio/natFileChannelImpl.cc
2244         (nio_mmap_file): Replaced long with RawData.
2245         (nio_munmap_file): Replaced long with RawData.
2246         (nio_msync): Replaced long with RawData.
2247         * gnu/java/nio/natMappedByteFileBuffer.cc
2248         (several methods): Replaced long with RawData where appropriate.
2249
2250 2003-03-20  Michael Koch  <konqueror@gmx.de>
2251
2252         * java/net/InetAddress.java,
2253         java/net/JarURLConnection.java,
2254         java/net/PlainDatagramSocketImpl.java,
2255         java/net/PlainSocketImpl.java,
2256         java/net/URLConnection.java:
2257         Merged copyright statements with classpath for easier merging.
2258
2259 2003-03-20  Michael Koch  <konqueror@gmx.de>
2260
2261         * java/io/FileInputStream.java
2262         (getChannel): New implementation.
2263         * java/io/FileOutputStream.java
2264         (ch): New member variable.
2265         (getChannel): Implemented.
2266         * java/io/RandomAccessFile.java
2267         (RandomAccessFile): Throws FileNotFoundException instead of
2268         IOException.
2269         (getChannel): New method.
2270         (ch): New member variable.
2271
2272 2003-03-20  Michael Koch  <konqueror@gmx.de>
2273
2274         * java/io/DataOutputStream.java,
2275         java/io/File.java,
2276         java/io/FileInputStream.java,
2277         java/io/FileOutputStream.java,
2278         java/io/InputStreamReader.java,
2279         java/io/LineNumberReader.java,
2280         java/io/OutputStreamWriter.java,
2281         java/io/PrintStream.java,
2282         java/io/RandomAccessFile.java:
2283         Merged copyright statements with classpath for easier merging.
2284
2285 2003-03-19  Michael Koch  <konqueror@gmx.de>
2286
2287         * java/lang/Process.java:
2288         Merged from classpath.
2289
2290 2003-03-19  Michael Koch  <konqueror@gmx.de>
2291
2292         * java/io/FileOutputStream.java
2293         (FileOutputStream): New constructor, merged from classpath.
2294         * java/io/FileWriter.java
2295         (FileWriter): New constructor, merged from classpath.
2296
2297 2003-03-18  Michael Koch  <konqueror@gmx.de>
2298
2299         * java/awt/ScrollPane.java
2300         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2301         (getViewportSize): Likewise.
2302         (addNotify): Likewise.
2303         (removeNotify): Likewise.
2304         * java/awt/ScrollPaneAdjustable.java
2305         (ScrollPaneAdjustable): No longer extends Scrollbar.
2306         * java/beans/beancontext/BeanContextServices.java:
2307         Reformated.
2308         (getService): Added throws TooManyListenersException;
2309         * java/beans/beancontext/BeanContextServicesSupport.java:
2310         Reformated.
2311
2312 2003-03-18  Michael Koch  <konqueror@gmx.de>
2313
2314         * java/io/BufferedOutputStream.java,
2315         java/io/DataInput.java,
2316         java/io/DataInputStream.java,
2317         java/io/DataOutput.java,
2318         java/io/Externalizable.java:
2319         More merges from classpath.
2320
2321 2003-03-18  Michael Koch  <konqueror@gmx.de>
2322
2323         * configure.in: Fixed links to platform dependant java.net files.
2324         * configure: Regenerated.
2325         * java/net/natInetAddress.cc,
2326         java/net/natNetworkInterface.cc,
2327         java/net/natPlainDatagramSocketImpl.cc,
2328         java/net/natPlainSocketImpl.cc:
2329         Removed.
2330
2331 2003-03-18  Michael Koch  <konqueror@gmx.de>
2332
2333         * configure.in: Create links to architecture dependent files,
2334         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2335         * configure: Regenerated.
2336         * java/net/natInetAddressNoNet.cc,
2337         java/net/natInetAddressPosix.cc,
2338         java/net/natInetAddressWin32.cc,
2339         java/net/natNetworkInterfaceNoNet.cc,
2340         java/net/natNetworkInterfacePosix.cc,
2341         java/net/natNetworkInterfaceWin32.cc,
2342         java/net/natPlainDatagramSocketImplNoNet.cc,
2343         java/net/natPlainDatagramSocketImplPosix.cc,
2344         java/net/natPlainDatagramSocketImplWin32.cc,
2345         java/net/natPlainSocketImplNoNet.cc,
2346         java/net/natPlainSocketImplPosix.cc,
2347         java/net/natPlainSocketImplWin32.cc: New files.
2348
2349 2003-03-18  Michael Koch  <konqueror@gmx.de>
2350
2351         * java/io/BufferedReader.java,
2352         java/io/BufferedWriter.java,
2353         java/io/ByteArrayOutputStream.java,
2354         java/io/FileFilter.java,
2355         java/io/FilePermission.java,
2356         java/io/FileReader.java,
2357         java/io/FileWriter.java,
2358         java/io/FilenameFilter.java,
2359         java/io/FilterInputStream.java,
2360         java/io/FilterOutputStream.java,
2361         java/io/FilterReader.java,
2362         java/io/FilterWriter.java,
2363         java/io/ObjectInput.java,
2364         java/io/ObjectInputValidation.java,
2365         java/io/ObjectOutput.java,
2366         java/io/ObjectStreamField.java,
2367         java/io/PipedInputStream.java,
2368         java/io/PipedReader.java,
2369         java/io/PrintWriter.java,
2370         java/io/PushbackReader.java,
2371         java/io/Reader.java,
2372         java/io/SerializablePermission.java,
2373         java/io/StringReader.java,
2374         java/io/Writer.java:
2375         Merged from classpath.
2376
2377 2003-03-17  Michael Koch  <konqueror@gmx.de>
2378
2379         * java/awt/ScrollPaneAdjustable.java:
2380         Compile fixes.
2381         
2382 2003-03-17  Michael Koch  <konqueror@gmx.de>
2383
2384         * java/net/DatagramSocket.java
2385         (connect): Fixed comment.
2386         * java/nio/ByteBuffer.java
2387         (hasArray): Fixed comment.
2388
2389 2003-03-17  Michael Koch  <konqueror@gmx.de>
2390
2391         * java/beans/Beans.java:
2392         Explicitely import classes not packages.
2393         * java/beans/FeatureDescriptor.java
2394         (preferred): New member variable.
2395         (isPreferred): New method.
2396         (setPreferred): New method.
2397         * java/beans/PropertyEditorManager.java:
2398         Explicitely import used classes.
2399         * java/beans/beancontext/BeanContextChild.java:
2400         Added line wrapping.
2401         * java/beans/beancontext/BeanContextChildSupport.java:
2402         Reindented.
2403         * java/beans/beancontext/BeanContextEvent.java:
2404         Reindented.
2405
2406 2003-03-17  Michael Koch  <konqueror@gmx.de>
2407
2408         * java/awt/Dialog.java
2409         (Dialog): New constructor, changed implementations, added
2410         documentation.
2411         * java/awt/ScrollPaneAdjustable.java
2412         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2413         Serializable.
2414         (serialVersionUID): New member variable.
2415         (sp): New member variable.
2416         (orientation): New member variable.
2417         (value): New member variable.
2418         (minimum): New member variable.
2419         (maximum): New member variable.
2420         (visibleAmount): New member variable.
2421         (unitIncrement): New member variable.
2422         (blockIncrement): New member variable.
2423         (AdjustmentListener): New member variable.
2424         (ScrollPaneAdjustable): New implementation.
2425         (addAdjustmentListener): New method.
2426         (removeAdjustmentListener): New method.
2427         (getAdjustmentListeners): New method.
2428         (getBlockIncrement): New method.
2429         (getMaximum): New method.
2430         (getMinimum): New method.
2431         (getOrientation): New method.
2432         (getUnitIncrement): New method.
2433         (getValue): New method.
2434         (getVisibleAmount): New method.
2435         (setBlockIncrement): New method.
2436         (setMaximum): Implemented.
2437         (setMinimum): Implemented.
2438         (setUnitIncrement): New method.
2439         (setValue): New method.
2440         (setVisibleAmount): Implemented. 
2441         (paramString): New stubbed method.
2442         * java/awt/Window.java
2443         (show): Call setVisible().
2444         (hide): Call setVisible().
2445         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2446         and WINDOW_STATE_CHANGED.
2447         (processWindowFocusEvent): New method.
2448         (processWindowStateEvent): New method.
2449         (postEvent): Deprecated.
2450         (applyResourceBundle): Deprecated.
2451         * java/awt/datatransfer/DataFlavor.java
2452         (DataFlavor): Doesn't thow ClassNotFoundException.
2453
2454 2003-03-17  Michael Koch
2455
2456         * javax/print/attribute/Attribute.java,
2457         javax/print/attribute/AttributeSet.java,
2458         javax/print/attribute/PrintRequestAttributeSet.java:
2459         New files.
2460         * Makefile.am
2461         (javax_source_files): Added new files:
2462         javax/print/attribute/Attribute.java
2463         javax/print/attribute/AttributeSet.java
2464         javax/print/attribute/PrintRequestAttributeSet.java
2465         * Makefile.in: Regenerated.
2466
2467 2003-03-17  Michael Koch
2468
2469         * javax/print/attribute/Attribute.java,
2470         javax/print/attribute/AttributeSet.java,
2471         javax/print/attribute/PrintRequestAttributeSet.java:
2472         New files.
2473         * Makefile.am
2474         (awt_java_source_files): Added new files:
2475         javax/print/attribute/Attribute.java
2476         javax/print/attribute/AttributeSet.java
2477         javax/print/attribute/PrintRequestAttributeSet.java
2478         * Makefile.in: Regenerated.
2479
2480 2003-03-16  Tom Tromey  <tromey@redhat.com>
2481
2482         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2483         Include platform.h.
2484         * java/lang/natRuntime.cc (insertSystemProperties): Use
2485         _Jv_platform_path_separator.
2486         (nativeGetLibname): Use _Jv_platform_file_separator.
2487         (_load): Use _Jv_platform_onload_names.
2488         (onload_names): New global.
2489         * include/win32.h (_Jv_platform_file_separator): New define.
2490         (_Jv_platform_path_separator): Likewise.
2491         (_Jv_platform_onload_names): Likewise.
2492         (_Jv_platform_ffi_abi): Likewise.
2493         * include/posix.h (_Jv_platform_file_separator): New define.
2494         (_Jv_platform_path_separator): Likewise.
2495         (_Jv_platform_onload_names): Likewise.
2496         (_Jv_platform_ffi_abi): Likewise.
2497
2498 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2499
2500         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2501
2502 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2503
2504         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2505         hierarchy loop.
2506         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2507         list to Object,ObjectStreamClass, moved callReadMethod code up into
2508         readObject and added Class argument to all setXxxField calls.
2509         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2510         consistent with ObjectOutputStream and to facilitate caching the
2511         Method in the future.
2512         (setBooleanField): Added Class argument.
2513         (setByteField): Likewise.
2514         (setCharField): Likewise.
2515         (setDoubleField): Likewise.
2516         (setFloatField): Likewise.
2517         (setIntField): Likewise.
2518         (setLongField): Likewise.
2519         (setShortField): Likewise.
2520         (setObjectField): Likewise.
2521         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2522         class hierarchy loop.
2523         (defaultWriteObject): Call writeFields with new argument list.
2524         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2525         list to Object,ObjectStreamClass, moved callWriteMethod up into
2526         writeObject and added Class argument to all getXxxField calls.
2527         (callWriteMethod): Added ObjectStreamClass argument to be able to
2528         get the proper class to call getMethod on (each class can have (or
2529         not have) its own writeObject method).
2530         (getBooleanField): Added Class argument.
2531         (getByteField): Likewise.
2532         (getCharField): Likewise.
2533         (getDoubleField): Likewise.
2534         (getFloatField): Likewise.
2535         (getIntField): Likewise.
2536         (getLongField): Likewise.
2537         (getShortField): Likewise.
2538         (getObjectField): Likewise.
2539         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2540         facilitate caching the Method object in the future.
2541
2542 2003-03-12  Andreas Schwab  <schwab@suse.de>
2543
2544         * configure.in: Avoid trailing /. in toolexeclibdir.
2545         * configure: Rebuilt.
2546
2547 2003-03-11  Michael Koch  <konqueror@gmx.de>
2548
2549         * gnu/java/nio/ByteBufferImpl.java
2550         (putInt): Use limit() instead of limit.
2551         * gnu/java/nio/CharBufferImpl.java
2552         (slice): Fixed implementation.
2553         (subSequence): Better bounds checking.
2554         * gnu/java/nio/MappedByteFileBuffer.java:
2555         Import all needed classes directly.
2556         * java/nio/ByteBuffer.java
2557         (hashCode): New dummy method.
2558         * java/nio/CharBuffer.java
2559         (array_offset): New member variable.
2560         (hasArray): Fixed documentation.
2561         (arrayOffset): Return array_offset.
2562
2563 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2564
2565         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2566         setter; made return value of getter const char* instead of char*
2567         * prims.cc: removed all references to _Jv_ThisExecutable().
2568         These are in the platform-specific sections now.
2569         * posix.cc: define platform-specific _Jv_ThisExecutable().
2570         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2571         * win32.cc: define platform-specific _Jv_ThisExecutable()
2572         using GetModuleFilename()
2573         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2574         to argv[0] instead of _Jv_ThisExecutable()
2575
2576 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2577
2578         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2579         that is set if we are using addr2name.awk instead of addr2line.
2580         (NameFinder): Set usingAddr2name if using addr2name.awk.
2581         (getExternalLabel): New native method to convert a method 
2582         name to an external label.
2583         (lookup): Convert name given by addr2line to an external label
2584         before demangling.
2585
2586         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2587         constant representing the prefix attached to method names to
2588         convert them to an external label.
2589         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2590         using LABEL_PREFIX.
2591
2592 2003-03-10  Tom Tromey  <tromey@redhat.com>
2593
2594         * Makefile.in: Rebuilt.
2595         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2596         (JC1FLAGS): Removed -Wno-deprecated.
2597
2598 2003-03-10  Michael Koch  <konqueror@gmx.de>
2599
2600         * java/nio/ByteOrder.java
2601         (nativeOrder): Working implementation, added documentation.
2602         (toString): Added documentation.
2603
2604 2003-03-10  Michael Koch  <konqueror@gmx.de>
2605
2606         * java/net/DatagramSocket.java,
2607         java/net/MulticastSocket.java,
2608         java/net/Socket.java,
2609         java/net/URL.java,
2610         java/net/URLConnection.java:
2611         Fixed some documentation tags to make javadoc and friends happy.
2612
2613 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2614
2615         * java/beans/beancontext/BeanContextServicesSupport.java,
2616         java/beans/beancontext/BeanContextSupport.java: New files.
2617         * Makefile.am
2618         (awt_source_files): Added new files.
2619         * Makefile.in: Regenerated.
2620
2621 2003-03-10  Michael Koch  <konqueror@gmx.de>
2622
2623         * java/awt/FocusTraversalPolicy.java
2624         (FocusTraversalPolicy): Documentation added.
2625         (getComponentAfter): Documentation added.
2626         (getComponentBefore): Documentation added.
2627         (getFirstComponent): Documentation added.
2628         (getLastComponent): Documentation added.
2629         (getDefaultComponent): Documentation added.
2630         (getInitialComponent): Documentation added.
2631         * java/awt/ScrollPaneAdjustable.java
2632         (sp): New member variable.
2633         (orientation): New member variable.
2634         (value): New member variable.
2635         (minimum): New member variable.
2636         (maximum): New member variable.
2637         (visibleAmount): New member variable.
2638         (unitIncrement): New member variable.
2639         (blockIncrement): New member variable.
2640         (adjustmentListener): New member variable.
2641         (ScrollPaneAdjustable): Rewrote.
2642         (addAdjustmentListener): New method.
2643         (removeAdjustmentListener): New method.
2644         (getAdjustmentListeners): New method.
2645         (getBlockIncrement): New method.
2646         (getMaximum): New method.
2647         (getMinimum): New method.
2648         (getOrientation): New method.
2649         (getUnitIncrement): New method.
2650         (getValue): New method.
2651         (getVisibleAmount): New method.
2652         (setBlockIncrement): New method.
2653         (setUnitIncrement): New method.
2654         (setMaximum): Implemented.
2655         (setMinimum): Implemented.
2656         (setValue): New method.
2657         (setVisibleAmount): Implemented.
2658         (paramString): New method.
2659         * java/awt/Window.java
2660         (show): Use setVisible(true) instead of super.show().
2661         (hide): Use sevVisible(false) instead of super.hide().
2662         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2663         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2664         (postEvent): Deprecated.
2665         (applyResourceBundle): Deprecated.
2666         (processWindowFocusEvent): New method.
2667         (processWindowStateEvent): New method.
2668         * java/awt/datatransfer/DataFlavor.java: Reindented.
2669         * java/awt/font/TextHitInfo.java
2670         (charIndex): New member variable.
2671         (leadingEdge): New member variable.
2672         (TextHitInfo): New constructor.
2673         (getCharIndex): Implemented.
2674         (isLeadingEdge): Implemented.
2675         (getInsertionIndex): Implemented.
2676         (hashCode): Access charIndex directly.
2677         (equals): Reformated.
2678         (leading): Implemented.
2679         (trailing): Implemented.
2680         (beforeOffset): Implemented.
2681         (afterOffset): Implemented.
2682         (getOtherHit): Implemented.
2683         (getOffsetHit): Implemented.
2684         (toString): Implemented.
2685         * java/awt/image/BufferedImage.java
2686         (BufferedImage): Implements WritableRenderedImage.
2687         (observers): New member variable.
2688         (addTileObserver): New method.
2689         (removeTileObserver): New method.
2690
2691 2003-03-09  Tom Tromey  <tromey@redhat.com>
2692
2693         PR libgcj/9934:
2694         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2695         to lseek.  Return 0 if we can't compute the value.
2696
2697 2003-03-03  Michael Koch  <konqueror@gmx.de>
2698
2699         * java/net/NetworkInterface.java: Merged with classpath.
2700
2701 2003-03-03  Tom Tromey  <tromey@redhat.com>
2702
2703         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2704         of bytecode.
2705         (handle_ret_insn): Fail if returning to jsr that appears at end of
2706         bytecode.
2707
2708 2003-03-03  Michael Koch  <konqueror@gmx.de>
2709
2710         * Makefile.am
2711         (ordinary_java_source_files):
2712         Added gnu/java/nio/MappedByteFileBuffer.java.
2713         (nat_source_files):
2714         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2715         * Makefile.in: Regenerated.
2716
2717 2003-03-03  Michael Koch  <konqueror@gmx.de>
2718
2719         * java/net/DatagramSocket.java
2720         (connect): Merged comment from classpath.
2721         (receive): Merged documentation from classpath.
2722         * java/net/Socket.java
2723         (setSoTimeout): Clarified documentation.
2724         * java/net/URL.java
2725         (getPath): Merged from classpath.
2726         (getUserInfo): Merged from classpath.
2727         (getQuery): Merged from classpath.
2728         * java/net/URLStreamHandler.java
2729         (toExternalForm): Merged from classpath.
2730
2731 2003-03-02  Mark Wielaard  <mark@klomp.org>
2732
2733         * java/util/Properties.java (load): Only skip line if the first
2734         character is a comment, whitespaces don't count.
2735
2736 2003-03-02  Michael Koch  <konqueror@gmx.de>
2737
2738         * java/net/NetPermission.java:
2739         Merged copyright with classpath.
2740
2741 2003-03-02  Michael Koch  <konqueror@gmx.de>
2742
2743         * java/lang/Package.java:
2744         Remerged from classpath.
2745
2746 2003-03-02  Michael Koch  <konqueror@gmx.de>
2747
2748         * java/net/HttpURLConnection.java
2749         (HTTP_SERVER_ERROR): Deprecated.
2750         * java/net/MulticastSocket.java
2751         (send): Replaced checkMulticast with appropriate checkPermission call,
2752         deprecated.
2753         * java/net/URLDecoder.java
2754         (decode): Deprecated.
2755         * java/net/URLEncoder.java
2756         (encode): Deprecated.
2757
2758 2003-03-02  Michael Koch  <konqueror@gmx.de>
2759
2760         * javax/swing/text/Caret.java
2761         (getMagicCaretPosition): Fixed typo in method name.
2762         * javax/swing/text/DefaultCaret.java
2763         (getMagicCaretPosition): Fixed typo in method name.
2764
2765 2003-03-02  Michael Koch  <konqueror@gmx.de>
2766
2767         * java/awt/List.java
2768         (setMultipleSelections): Deprecated.
2769         (delItem): Deprecated.
2770         * java/awt/MenuComponent.java
2771         (getPeer): Deprecated.
2772         * java/awt/ScrollPane.java
2773         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2774         * java/awt/dnd/MouseDragGestureRecognizer.java
2775         (mouseClicked): Added comment.
2776         (mousePressed): Added comment.
2777         (mouseReleased): Added comment.
2778         (mouseEntered): Added comment.
2779         (mouseExited): Added comment.
2780         (mouseDragged): Added comment.
2781         (mouseMoved): Added comment.
2782         * java/awt/event/KeyEvent.java
2783         (KeyEvent): Deprecated.
2784         (setModifiers): Deprecated.
2785         
2786 2003-03-02  Michael Koch  <konqueror@gmx.de>
2787
2788         * gnu/java/nio/FileChannelImpl.java
2789         (fd): Type FileDescriptor instead of int.
2790         (lengthInternal): Removed.
2791         (FileChannelImpl): Fixed arguments, check type of file object.
2792         (size): Made it native.
2793         (implPosition): New native method.
2794         (implTruncate): New native method.
2795         (position): Implemented.
2796         (truncate): Implemented.
2797         (nio_mmap_file): Changed arguments.
2798         (nio_munmap_file): Changed arguments.
2799         (nio_msync): Changed arguments.
2800         * gnu/java/nio/natFileChannelImpl.cc
2801         (lengthInternal): Removed.
2802         (size): New method.
2803         (implPosition): New method.
2804         (implTruncate): New method.
2805         (nio_mmap_file): Changed arguments.
2806         (nio_munmap_file): Changed arguments.
2807         (nio_msync): Changed arguments.
2808
2809 2003-03-02  Michael Koch  <konqueror@gmx.de>
2810
2811         * java/awt/dnd/DropTargetContext.java:
2812         Compile fix: Forgot to commit import.
2813         
2814 2003-03-02  Michael Koch  <konqueror@gmx.de>
2815
2816         * java/awt/Component.java,
2817         java/awt/ScrollPane.java:
2818         Fixed typos.
2819
2820 2003-03-02  Michael Koch  <konqueror@gmx.de>
2821
2822         * java/awt/dnd/DnDEventMulticaster.java: New file.
2823         * java/awt/dnd/DragSource.java
2824         (flavorMap): New member variable.
2825         (dragSourceListener): New member variable.
2826         (dragSourceMotionListener): New member variable.
2827         (getFlavorMap): Implemented.
2828         (createDragGestureRecognizer): Implemented.
2829         (addDragSourceListener): Implemented.
2830         (removeDragSourceListener): Implemented.
2831         (getDragSourceListeners): Implemented.
2832         (addDragSourceMotionListener): Implemented.
2833         (removeDragSourceMotionListener): Implemented.
2834         (getDragSourceMotionListeners): Implemented.
2835         (getListeners): Implemented.
2836         * java/awt/dnd/DragSourceContext.java
2837         (peer): New member variable.
2838         (cursor): New member variable.
2839         (transferable): New member variable.
2840         (trigger): New member variable.
2841         (dragSourceListener): New member variable.
2842         (image): New member variable.
2843         (offset): New member variable.
2844         (DragSourceContext): Implemented.
2845         (getDragSource): Implemented.
2846         (getComponent): Implemented.
2847         (getTrigger): Implemented.
2848         (getSourceActions): Implemented.
2849         (setCursor): Implemented.
2850         (getCursor): Implemented.
2851         (addDragSourceListener): Implemented.
2852         (removeDragSourceListener): Implemented.
2853         (getTransferable): Implemented.
2854         * java/awt/dnd/DropTarget.java
2855         (DropTargetAutoScroller.component): New member variable.
2856         (DropTargetAutoScroller.point): New member variable.
2857         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
2858         (DropTargetAutoScroller.updateLocation): Implemented.
2859         (active): Renamed from isActive, defaults to true now.
2860         (component): New member variable.
2861         (flavorMap): New member variable.
2862         (actions): New member variable.
2863         (dropTargetContext): New member variable.
2864         (dropTargetListener): New member variable.
2865         (DropTarget): Implemented.
2866         (getComponent): Implemented.
2867         (setComponent): Implemented.
2868         (setDefaultActions): Implemented.
2869         (getDefaultActions): Implemented.
2870         (setActive): Use active instead of isActive.
2871         (isActive): Use active instead of isActive.
2872         (addDropTargetListener): Implemented.
2873         (removeDropTargetListener): Implemented.
2874         (getFlavorMap): Implemented.
2875         (setFlavorMap): Implemented.
2876         (getDropTargetContext): Implemented.
2877         (createDropTargetContext): Implemented.
2878         (createDropTargetAutoScroller): Implemented.
2879         * java/awt/dnd/DropTargetContext.java
2880         (TransferableProxy.getTransferDataFlavors): Implemented.
2881         (TransferableProxy.isDataFlavorSupported): Implemented.
2882         (TransferableProxy.getTransferData): Implemented.
2883         (dropTarget):  New member variable.
2884         (dtcp): New member variable.
2885         (DropTargetContext): New package private constructor.
2886         (getDropTarget): Implemented.
2887         (getComponent): Implemented.
2888         (addNotify): Implemented.
2889         (removeNotify): Implemented.
2890         (getCurrentDataFlavorsAsList): Implemented.
2891         (isDataFlavorSupported): Implemented.
2892         * java/awt/dnd/MouseDragGestureRecognizer.java
2893         (registerListeners): Implemented.
2894         (unregisterListeners): Implemented.
2895         * Makefile.am
2896         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
2897         * Makefile.in: Regenerated.
2898
2899 2003-03-02  Michael Koch  <konqueror@gmx.de>
2900
2901         * java/awt/Component.java
2902         (eventTypeEnabled): New method.
2903         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
2904         * java/awt/Container.java
2905         (changeSupport): New member variable.
2906         (addPropertyChangeListener): New methods.
2907         * java/awt/ContainerOrderFocusTraversalPolicy.java
2908         (ContainerOrderFocusTraversalPolicy): Added comment.
2909         (getComponentAfter): Throw exception, documentation added.
2910         (getComponentBefore): Throw exception, documentation added.
2911         (getFirstComponent): Throw exception, documentation added.
2912         (getLastComponent): Throw exception, documentation added.
2913         (getDefaultComponent): Throw exception, documentation added.
2914         * java/awt/EventQueue.java: Reindented.
2915         * java/awt/FocusTraversalPolicy.java:
2916         (FocusTraversalPolicy): Added comment.
2917         (getComponentAfter): Documentation added.
2918         (getComponentBefore): Documentation added.
2919         (getFirstComponent): Documentation added.
2920         (getLastComponent): Documentation added.
2921         (getDefaultComponent): Documentation added.
2922         (getInitialComponent): Documentation added.
2923         * java/awt/ScrollPane.java
2924         (wheelScrollingEnabled): New member variable.
2925         (ScrollPane): Initialize wheelScollingEnabled.
2926         (eventTypeEnabled): New method.
2927         (isWheelScrollingEnabled): New method.
2928         (setWheelScrollingEnabled): New method.
2929
2930 2003-03-02  Michael Koch  <konqueror@gmx.de>
2931
2932         * java/net/DatagramSocket.java
2933         (closed): New member variable.
2934         (close): Use closed variable.
2935         (getInetAddress): No need to call isConnected().
2936         (getPort): No need to call isConnected().
2937         (disconnect): Reset remoteAddress and remotePort, fixed typo.
2938         (isClosed): Reimplemented.
2939         
2940 2003-03-02  Michael Koch  <konqueror@gmx.de>
2941
2942         * configure.in: Added check for memory mapping of files.
2943         * configure: Regenerated.
2944         * config.h.in: Regenerated.
2945
2946 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
2947
2948         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
2949         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
2950
2951 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
2952
2953         * java/io/File.java (normalizePath): Remove trailing separator
2954         on Windows only if path is not of the form "x:\".
2955
2956         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
2957         (java::io::File::attr): Change formatting a bit and use
2958         WIN32_EPOCH_MILLIS instead of magic numbers.
2959         (java::io::File::isAbsolute): Path must have at least 3 
2960         characters for a UNC network path.
2961         (java::io::File::init_native): Define.
2962         (java::io::File::performCreate): Likewise.
2963         (java::io::File::performSetReadOnly): Likewise.
2964         (java::io::File::performSetLastModified): Likewise.
2965         (java::io::File::performListRoots): Likewise.
2966
2967 2003-03-01  Tom Tromey  <tromey@redhat.com>
2968
2969         * java/lang/natObject.cc: Don't include assert.h.
2970         (heavy_lock_obj_finalization_proc): Use JvAssert.
2971         (remove_all_heavy): Likewise.
2972         (_Jv_MonitorEnter): Likewise.
2973         (_Jv_MonitorExit): Likewise.
2974         (wait): Likewise.
2975
2976 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
2977
2978         * java/io/File (getAbsolutePath): Prefix drive specifier on
2979         Windows for paths starting with a '\'.
2980         (toURL): Make URL more consistent with what Sun's JDK returns.
2981
2982         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
2983         true only if the path is a UNC network path or it starts with a
2984         drive specifier.
2985
2986         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
2987         Be prepared to handle either '/' or '\\' in the file path for
2988         Windows if using the "file" protocol.
2989         Canonicalise the file path if using a relative path in the given
2990         context and the "file" protocol.
2991
2992 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
2993
2994         * java/lang/natWin32Process.cc (startProcess): Double-quote each
2995         program array element passed to CreateProcess.
2996
2997 2003-03-01  Tom Tromey  <tromey@redhat.com>
2998
2999         * java/rmi/registry/RegistryHandler.java: Deprecate.
3000
3001 2003-03-01  Tom Tromey  <tromey@redhat.com>
3002
3003         * javax/accessibility/AccessibleEditableText.java,
3004         javax/accessibility/AccessibleHyperlink.java: New versions from
3005         Classpath.
3006
3007         * gnu/java/locale/LocaleInformation_af_ZA.java,
3008         gnu/java/locale/LocaleInformation_ar_AE.java,
3009         gnu/java/locale/LocaleInformation_ar_BH.java,
3010         gnu/java/locale/LocaleInformation_ar_DZ.java,
3011         gnu/java/locale/LocaleInformation_ar_EG.java,
3012         gnu/java/locale/LocaleInformation_ar_IN.java,
3013         gnu/java/locale/LocaleInformation_ar_IQ.java,
3014         gnu/java/locale/LocaleInformation_ar_JO.java,
3015         gnu/java/locale/LocaleInformation_ar_KW.java,
3016         gnu/java/locale/LocaleInformation_ar_LB.java,
3017         gnu/java/locale/LocaleInformation_ar_LY.java,
3018         gnu/java/locale/LocaleInformation_ar_MA.java,
3019         gnu/java/locale/LocaleInformation_ar_OM.java,
3020         gnu/java/locale/LocaleInformation_ar_QA.java,
3021         gnu/java/locale/LocaleInformation_ar_SD.java,
3022         gnu/java/locale/LocaleInformation_ar_SY.java,
3023         gnu/java/locale/LocaleInformation_ar_TN.java,
3024         gnu/java/locale/LocaleInformation_ar_YE.java,
3025         gnu/java/locale/LocaleInformation_be_BY.java,
3026         gnu/java/locale/LocaleInformation_bn_IN.java,
3027         gnu/java/locale/LocaleInformation_br_FR.java,
3028         gnu/java/locale/LocaleInformation_bs_BA.java,
3029         gnu/java/locale/LocaleInformation_ca_ES.java,
3030         gnu/java/locale/LocaleInformation_cs_CZ.java,
3031         gnu/java/locale/LocaleInformation_cy_GB.java,
3032         gnu/java/locale/LocaleInformation_da_DK.java,
3033         gnu/java/locale/LocaleInformation_de_AT.java,
3034         gnu/java/locale/LocaleInformation_de_BE.java,
3035         gnu/java/locale/LocaleInformation_de_CH.java,
3036         gnu/java/locale/LocaleInformation_de_DE.java,
3037         gnu/java/locale/LocaleInformation_de_LU.java,
3038         gnu/java/locale/LocaleInformation_el_GR.java,
3039         gnu/java/locale/LocaleInformation_en_AU.java,
3040         gnu/java/locale/LocaleInformation_en_BW.java,
3041         gnu/java/locale/LocaleInformation_en_CA.java,
3042         gnu/java/locale/LocaleInformation_en_DK.java,
3043         gnu/java/locale/LocaleInformation_en_GB.java,
3044         gnu/java/locale/LocaleInformation_en_HK.java,
3045         gnu/java/locale/LocaleInformation_en_IE.java,
3046         gnu/java/locale/LocaleInformation_en_IN.java,
3047         gnu/java/locale/LocaleInformation_en_NZ.java,
3048         gnu/java/locale/LocaleInformation_en_PH.java,
3049         gnu/java/locale/LocaleInformation_en_SG.java,
3050         gnu/java/locale/LocaleInformation_en_US.java,
3051         gnu/java/locale/LocaleInformation_en_ZA.java,
3052         gnu/java/locale/LocaleInformation_en_ZW.java,
3053         gnu/java/locale/LocaleInformation_es_AR.java,
3054         gnu/java/locale/LocaleInformation_es_BO.java,
3055         gnu/java/locale/LocaleInformation_es_CL.java,
3056         gnu/java/locale/LocaleInformation_es_CO.java,
3057         gnu/java/locale/LocaleInformation_es_CR.java,
3058         gnu/java/locale/LocaleInformation_es_DO.java,
3059         gnu/java/locale/LocaleInformation_es_EC.java,
3060         gnu/java/locale/LocaleInformation_es_ES.java,
3061         gnu/java/locale/LocaleInformation_es_GT.java,
3062         gnu/java/locale/LocaleInformation_es_HN.java,
3063         gnu/java/locale/LocaleInformation_es_MX.java,
3064         gnu/java/locale/LocaleInformation_es_NI.java,
3065         gnu/java/locale/LocaleInformation_es_PA.java,
3066         gnu/java/locale/LocaleInformation_es_PE.java,
3067         gnu/java/locale/LocaleInformation_es_PR.java,
3068         gnu/java/locale/LocaleInformation_es_PY.java,
3069         gnu/java/locale/LocaleInformation_es_SV.java,
3070         gnu/java/locale/LocaleInformation_es_US.java,
3071         gnu/java/locale/LocaleInformation_es_UY.java,
3072         gnu/java/locale/LocaleInformation_es_VE.java,
3073         gnu/java/locale/LocaleInformation_et_EE.java,
3074         gnu/java/locale/LocaleInformation_eu_ES.java,
3075         gnu/java/locale/LocaleInformation_fa_IR.java,
3076         gnu/java/locale/LocaleInformation_fi_FI.java,
3077         gnu/java/locale/LocaleInformation_fo_FO.java,
3078         gnu/java/locale/LocaleInformation_fr_BE.java,
3079         gnu/java/locale/LocaleInformation_fr_CA.java,
3080         gnu/java/locale/LocaleInformation_fr_CH.java,
3081         gnu/java/locale/LocaleInformation_fr_FR.java,
3082         gnu/java/locale/LocaleInformation_fr_LU.java,
3083         gnu/java/locale/LocaleInformation_ga_IE.java,
3084         gnu/java/locale/LocaleInformation_gd_GB.java,
3085         gnu/java/locale/LocaleInformation_gl_ES.java,
3086         gnu/java/locale/LocaleInformation_gv_GB.java,
3087         gnu/java/locale/LocaleInformation_he_IL.java,
3088         gnu/java/locale/LocaleInformation_hi_IN.java,
3089         gnu/java/locale/LocaleInformation_hr_HR.java,
3090         gnu/java/locale/LocaleInformation_hu_HU.java,
3091         gnu/java/locale/LocaleInformation_id_ID.java,
3092         gnu/java/locale/LocaleInformation_it_CH.java,
3093         gnu/java/locale/LocaleInformation_it_IT.java,
3094         gnu/java/locale/LocaleInformation_iw_IL.java,
3095         gnu/java/locale/LocaleInformation_ja_JP.java,
3096         gnu/java/locale/LocaleInformation_ka_GE.java,
3097         gnu/java/locale/LocaleInformation_kl_GL.java,
3098         gnu/java/locale/LocaleInformation_ko_KR.java,
3099         gnu/java/locale/LocaleInformation_kw_GB.java,
3100         gnu/java/locale/LocaleInformation_lt_LT.java,
3101         gnu/java/locale/LocaleInformation_lv_LV.java,
3102         gnu/java/locale/LocaleInformation_mi_NZ.java,
3103         gnu/java/locale/LocaleInformation_mk_MK.java,
3104         gnu/java/locale/LocaleInformation_mr_IN.java,
3105         gnu/java/locale/LocaleInformation_mt_MT.java,
3106         gnu/java/locale/LocaleInformation_nl_BE.java,
3107         gnu/java/locale/LocaleInformation_nl_NL.java,
3108         gnu/java/locale/LocaleInformation_nn_NO.java,
3109         gnu/java/locale/LocaleInformation_no_NO.java,
3110         gnu/java/locale/LocaleInformation_oc_FR.java,
3111         gnu/java/locale/LocaleInformation_pl_PL.java,
3112         gnu/java/locale/LocaleInformation_pt_BR.java,
3113         gnu/java/locale/LocaleInformation_pt_PT.java,
3114         gnu/java/locale/LocaleInformation_ro_RO.java,
3115         gnu/java/locale/LocaleInformation_ru_RU.java,
3116         gnu/java/locale/LocaleInformation_ru_UA.java,
3117         gnu/java/locale/LocaleInformation_se_NO.java,
3118         gnu/java/locale/LocaleInformation_sk_SK.java,
3119         gnu/java/locale/LocaleInformation_sl_SI.java,
3120         gnu/java/locale/LocaleInformation_sq_AL.java,
3121         gnu/java/locale/LocaleInformation_sr_YU.java,
3122         gnu/java/locale/LocaleInformation_sv_FI.java,
3123         gnu/java/locale/LocaleInformation_sv_SE.java,
3124         gnu/java/locale/LocaleInformation_ta_IN.java,
3125         gnu/java/locale/LocaleInformation_te_IN.java,
3126         gnu/java/locale/LocaleInformation_tg_TJ.java,
3127         gnu/java/locale/LocaleInformation_tl_PH.java,
3128         gnu/java/locale/LocaleInformation_tr_TR.java,
3129         gnu/java/locale/LocaleInformation_uk_UA.java,
3130         gnu/java/locale/LocaleInformation_ur_PK.java,
3131         gnu/java/locale/LocaleInformation_uz_UZ.java,
3132         gnu/java/locale/LocaleInformation_vi_VN.java,
3133         gnu/java/locale/LocaleInformation_yi_US.java,
3134         gnu/java/locale/LocaleInformation_zh_CN.java,
3135         gnu/java/locale/LocaleInformation_zh_HK.java,
3136         gnu/java/locale/LocaleInformation_zh_SG.java,
3137         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3138         info; from Classpath.
3139
3140         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3141         isPaintPending): New methods.
3142         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3143         setMaximizedBounds): New methods.
3144         (beginLayout, endLayout, isPaintPending): Likewise.
3145         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3146         (requestFocus): Likewise.
3147         (isObscured): Likewise.
3148         (canDetermineObscurity): Likewise.
3149         (coalescePaintEvent): Likewise.
3150         (updateCursorImmediately): Likewise.
3151         (createVolatileImage): Likewise.
3152         (handlesWheelScrolling): Likewise.
3153         (createBuffers): Likewise.
3154         (getBackBuffer): Likewise.
3155         (flip): Likewise.
3156         (destroyBuffers): Likewise.
3157
3158         * Makefile.in: Rebuilt.
3159         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3160         RobotPeer.java.
3161         * gnu/java/awt/GLightweightPeer.java,
3162         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3163         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3164         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3165         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3166         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3167         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3168         java/awt/dnd/peer/DragSourceContextPeer.java,
3169         java/awt/dnd/peer/DropTargetContextPeer.java,
3170         java/awt/peer/ButtonPeer.java,
3171         java/awt/peer/CheckboxMenuItemPeer.java,
3172         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3173         java/awt/peer/ComponentPeer.java,
3174         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3175         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3176         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3177         java/awt/peer/MenuBarPeer.java,
3178         java/awt/peer/MenuComponentPeer.java,
3179         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3180         java/awt/peer/PopupMenuPeer.java,
3181         java/awt/peer/ScrollPanePeer.java,
3182         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3183         java/awt/peer/TextComponentPeer.java,
3184         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3185         New versions from Classpath.
3186         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3187         * java/awt/peer/RobotPeer.java: Likewise.
3188
3189 2003-03-01  Mark Wielaard  <mark@klomp.org>
3190
3191         * java/io/ObjectInputStream.java: Reindent.
3192         * java/io/ObjectOutputStream.java: Likewise.
3193
3194 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3195
3196         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3197         jvalue for each argument. Simplify.
3198         * testsuite/libjava.jni/calls.c (docall),
3199         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3200         misalignment.
3201
3202 2003-02-28  Mark Wielaard  <mark@klomp.org>
3203
3204         * Makefile.am (nat_source_files): Remove
3205         java/io/natObjectOutputStream.cc.
3206         * Makefile.in: Regenerated.
3207         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3208         * java/io/ObjectStreamField.java (typename): New field.
3209         (ObjectStreamField(String, Class)): Initialize new field.
3210         (ObjectStreamField(String, String)): New Constructor.
3211         (getTypeCode): Use new field.
3212         (getTypeString): Use new field.
3213         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3214         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3215         Handle reading of Proxy classes. Never drain(), just write
3216         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3217         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3218         (flush): Call flush(), not just drain().
3219         (writeBoolean): Always use blockDataOutput.
3220         (writeByte): Likewise.
3221         (writeShort): Likewise.
3222         (writeChar): Likewise.
3223         (writeInt): Likewise.
3224         (writeLong): Likewise.
3225         (writeFloat): Likewise.
3226         (writeDouble): Likewise.
3227         (writeBytes): Likewise.
3228         (putfield (put(String,Object))): Throw IllegalArgumentException if
3229         field cannot be found.
3230         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3231         (writeArraySizeAndElements): Write byte[] in one go.
3232         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3233         set BlockDataMode to false.
3234         (annotateProxyClass): New method.
3235         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3236         (getField): No longer native.
3237         (getMethod): Likewise.
3238         (setBlockDataMode): Always drain() on switch, return old mode.
3239         (static): New static code block.
3240         * java/io/natObjectOutputStream.cc: Removed.
3241         * java/io/ObjectInputStream.java (getField): No longer native.
3242         (getMethod): Likewise.
3243         (readObject): Remember and reset old BlockDataMode. Track whether
3244         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3245         TC_LONGSTRING.
3246         (defaultReadObject): Set BlockDataMode to false during readFields.
3247         (resolveClass): Create new SecurityManager if necessary.
3248         Use Class.forName() if null ClassLoader found.
3249         (read(byte[],int,int): Copy remaining bytes to data before calling
3250         readNextBlock().
3251         (readFields): Set and reset BlockDataMode on call_read_method.
3252         Catch NoSuchFieldErrors.
3253         (setBlockDataMode): Return old mode.
3254         (static): New static code block.
3255         * java/io/natObjectInputStream.cc (getField): Removed.
3256         (getMethod): Likewise.
3257
3258 2003-02-27  Michael Koch  <konqueror@gmx.de>
3259
3260         * java/beans/Beans.java,
3261         java/beans/FeatureDescriptor.java
3262         java/beans/PropertyEditorManager.java:
3263         Reformated to GNU style.
3264
3265 2003-02-25  Michael Koch  <konqueror@gmx.de>
3266
3267         * gnu/java/nio/MappedByteFileBuffer.java,
3268         gnu/java/nio/natMappedByteFileBuffer.cc:
3269         New files, both are not compiled yet to get not noncompiling CVS.
3270
3271 2003-02-24  Tom Tromey  <tromey@redhat.com>
3272
3273         * java/util/prefs/AbstractPreferences.java (isUserNode):
3274         Implemented.
3275
3276 2003-02-24  Tom Tromey  <tromey@redhat.com>
3277
3278         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3279         Deprecate.
3280         * java/lang/Thread.java (resume): Deprecate.
3281         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3282         in @deprecated.
3283
3284 2003-02-23  Tom Tromey  <tromey@redhat.com>
3285
3286         * Makefile.in: Rebuilt.
3287         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3288
3289 2003-02-23  Tom Tromey  <tromey@redhat.com>
3290
3291         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3292         libraries): Removed.
3293         (add_library): Removed.
3294         (_load): Don't call add_library.
3295         (loadLibraryInternal): Likewise.
3296         (init): Likewise.
3297         (lookup_data): New struct.
3298         (find_symbol): New function.
3299         (_Jv_FindSymbolInExecutable): Use it.
3300
3301 2002-02-21  Anthony Green  <green@redhat.com>
3302
3303         * java/lang/Thread.java (Thread): New constructor taking stack
3304         size parameter (ignored for now).
3305         * Many methods: Merged GNU Classpath documentation.
3306
3307         * java/lang/Class.java (finalize): throws a Throwable.
3308
3309 2003-02-21  Mark Wielaard  <mark@klomp.org>
3310
3311         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3312         argument is null.
3313
3314 2003-02-21  Mark Wielaard  <mark@klomp.org>
3315
3316         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3317         then 65535 chars throw IllegalArgumentException.
3318
3319 2003-02-21  Mark Wielaard  <mark@klomp.org>
3320
3321         * java/util/zip/ZipFile.java (finalize): New method.
3322
3323 2003-02-21  Michael Koch  <konqueror@gmx.de>
3324
3325         * gnu/java/nio/natSocketChannelImpl.cc:
3326         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3327         <cato@df.lth.se> for pointing to it.
3328
3329 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3330
3331         * java/math/BigInteger.java (euclidInv): Take result array as an
3332         argument.  Updated all callers.
3333         (modInverse): Removed unused variables.
3334
3335 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3336
3337         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3338         config.status.
3339         * configure: Rebuilt.
3340
3341 2003-02-19  Michael Koch  <konqueror@gmx.de>
3342
3343         * gnu/java/nio/natSocketChannelImpl.cc:
3344         Added support for platforms without network support.
3345
3346 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3347
3348         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3349         after config.h.  Use <> for consistency.
3350         * java/lang/natObject.cc: Likewise.
3351         * java/lang/natRuntime.cc: Likewise.
3352         * java/lang/natSystem.cc: Likewise.
3353         * java/util/natTimeZone.cc: Likewise.
3354         * win32.cc: Likewise.
3355         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3356         listen, write, read): Undef to avoid interference from OS macros.
3357
3358 2003-02-19  Michael Koch  <konqueror@gmx.de>
3359
3360         * gnu/java/nio/ByteBufferImpl.java
3361         (ByteBufferImpl): Renamed two variables.
3362         * gnu/java/nio/CharBufferImpl.java
3363         (CharBufferImpl): Renamed two variables.
3364         * gnu/java/nio/DoubleBufferImpl.java
3365         (DoubleBufferImpl): Renamed two variables.
3366         * gnu/java/nio/FloatBufferImpl.java
3367         (FloatBufferImpl): Renamed two variables.
3368         * gnu/java/nio/IntBufferImpl.java
3369         (IntBufferImpl): Renamed two variables.
3370         * gnu/java/nio/LongBufferImpl.java
3371         (LongBufferImpl): Renamed two variables.
3372         * gnu/java/nio/ShortBufferImpl.java
3373         (ShortBufferImpl): Renamed two variables.
3374         * java/nio/CharBuffer.java
3375         (wrap): Fixed arguments to CharBufferImpl constructor.
3376         (hasArray): Only not read-only buffers have backing arrays.
3377         (length): Documentation added.
3378         (subSequence): Documentation added.
3379         * java/nio/DoubleBuffer.java
3380         (hasArray): Only not read-only buffers have backing arrays.
3381         * java/nio/FloatBuffer.java
3382         (hasArray): Only not read-only buffers have backing arrays.
3383         * java/nio/IntBuffer.java
3384         (hasArray): Only not read-only buffers have backing arrays.
3385         * java/nio/LongBuffer.java
3386         (hasArray): Only not read-only buffers have backing arrays.
3387         * java/nio/ShortBuffer.java
3388         (hasArray): Only not read-only buffers have backing arrays.
3389         
3390 2003-02-19  Michael Koch  <konqueror@gmx.de>
3391
3392         * javax/accessibility/AccessibleContext.java
3393         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3394
3395 2003-02-19  Michael Koch  <konqueror@gmx.de>
3396
3397         * java/awt/ScrollPaneAdjustable.java: Reformated.
3398
3399 2003-02-19  Michael Koch <konqueror@gmx.de>
3400
3401         * gnu/awt/j2d/Graphics2DImpl.java
3402         (getFontRenderContext): New method.
3403         (drawGlyphVector): New method.
3404         * java/awt/Graphics2D.java
3405         (getFontRenderContext): New abstract method.
3406         (drawGlyphVector): New abstract method.
3407         
3408 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3409
3410         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3411         if necessary.
3412         
3413         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3414         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3415         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3419         (setFont, gtkSetFont): add.
3420         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3421         Propagate font to peer.  (setFont): add FIXME comment.
3422
3423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3424         (gtkTextGetSize): fix height, width computation.
3425
3426         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3427         Make X font name a bit less bogus.
3428
3429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3430         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3431
3432         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3433         (processAdjustmentEvent): Adjust value.
3434
3435         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3436         logic errors.
3437
3438         * java/awt/Component.java (setVisible, show, hide): Call show and
3439         hide methods in subclasses.
3440         (getPreferredSize): don't set prefSize before we have peer.
3441
3442         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3443         Guess (0,0) if we don't have peer.
3444
3445
3446 2003-02-18  Michael Koch  <konqueror@gmx.de>
3447
3448         * java/nio/channels/FileChannel.java
3449         (toString): New implementation, added documentation.
3450         (map): Added exception documentation.
3451         (size): Added exception documentation.
3452         (write): New methods, documentation work.
3453         (read): New methods, documentation work.
3454         (implCloseChannel): Rewrote exception documentation.
3455         (force): Throws IOException, added documentation.
3456         (lock): New methods.
3457         (tryLock): New methods.
3458         (position): New methods.
3459         (transferTo): New method.
3460         (transferFrom): New method.
3461         (truncate): New method.
3462         * java/nio/channels/spi/SelectorProvider.java
3463         (provider): Implemented.
3464         * Makefile.am
3465         (ordinary_java_source_files): Added the following files:
3466         gnu/java/nio/DatagramChannelImpl.java
3467         gnu/java/nio/FileChannelImpl.java
3468         gnu/java/nio/PipeImpl.java
3469         gnu/java/nio/SelectionKeyImpl.java
3470         gnu/java/nio/SelectorImpl.java
3471         gnu/java/nio/SelectorProviderImpl.java
3472         gnu/java/nio/ServerSocketChannelImpl.java
3473         gnu/java/nio/SocketChannelImpl.java
3474         java/nio/channels/FileLock.java
3475         (nat_java_source_files): Added the following files:
3476         gnu/java/nio/natFileChannelImpl.cc
3477         gnu/java/nio/natSelectorImpl.cc
3478         gnu/java/nio/natSocketChannelImpl.cc
3479         * Makefile.in: Regenerated.
3480
3481 2003-02-17  Tom Tromey  <tromey@redhat.com>
3482
3483         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3484         * java/awt/image/ImageFilter.java: Likewise.
3485
3486 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3487
3488         * java/math/BigInteger.java (euclidInv): Return array of
3489         `BigInteger's.  Changed all callers.
3490
3491 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3492
3493         * java/util/Properties.java (store): Move the code formerly in
3494         list(), into this method.
3495         (list (PrintStream)): Just call list (PrintWriter) with a 
3496         PrintWriter object constructed from the given PrintStream object.
3497         (list (PrintWriter)): Emulate the output of Properties.list()
3498         as found in JDK 1.3/1.4.
3499
3500 2003-02-17  Michael Koch  <konqueror@gmx.de>
3501
3502         * java/net/DatagramSocket.java
3503         (connect): Merged with classpath.
3504         (disconnect): Merged documentation with classpath.
3505         (receice): Merged documentation with classpath.
3506         (send): Merged documentation with classpath.
3507         
3508 2003-02-17  Michael Koch  <konqueror@gmx.de>
3509
3510         * java/awt/dnd/DragSourceContext.java
3511         (addDragSourceListener): Added documentation.
3512         * java/awt/dnd/DragSourceDragEvent.java
3513         (serialVersionUID): New member variable.
3514         (getDropAction): Reformated.
3515         * java/awt/dnd/DragSourceDropEvent.java
3516         (serialVersionUID): New member variable.
3517         (dropSuccess): Renamed from success for serialization issues.
3518         * java/awt/dnd/DragSourceEvent.java
3519         (serialVersionUID): New member variable.
3520         * java/awt/dnd/DropTarget.java
3521         (serialVersionUID): New member variable.
3522         (DropTarget): Implemented, documentation reworked.
3523         (setComponent): Documentation added.
3524         (getComponent): Documentation added.
3525         (setDefaultActions): Documentation added.
3526         (getDefaultActions): Documentation added.
3527         (addDropTargetListener): Documentation added.
3528         * java/awt/dnd/DropTargetContext.java
3529         (DropTargetContext): Documentation added.
3530         (TransferableProxy.TransferableProxy): New method.
3531         (dropComplete): Fixed documentation.
3532         (getTransferable): Fixed documentation.
3533         (createTransferableProxy): Implemented.
3534         * java/awt/dnd/DropTargetDragEvent.java
3535         (DropTargetDragEvent): Documentation added.
3536         (serialVersionUID): New member variable.
3537         (DropTargetDragEvent): Throw exceptions, documentation added.
3538         (acceptDrag): Implemented.
3539         (getCurrentDataFlavors): Implemented.3yy
3540         (getCurrentDataFlavorsAsList): Implemented.
3541         (isDataFlavorSupported): Implemented.
3542         (rejectDrag): Implemented.
3543         * java/awt/dnd/DropTargetDropEvent.java
3544         (DropTargetDropEvent): Documentation added.
3545         (serialVersionUID): New member variable.
3546         (actions): Renamed from srcActions for serialization issues.
3547         (isLocalTx): Renamed from isLocalTx for serialization issues.
3548         (DropTargetDropEvent): New implementation, throw exceptions,
3549         documentation added.
3550         (getCurrentDataFlavors): Implemented.
3551         (getCurrentDataFlavorsAsList): Implemented.
3552         (isDataFlavorSupported): Implemented.
3553         (getSourceActions): Implemented.
3554         (getDropAction): Implemented.
3555         (getTransferable): Implemented.
3556         (acceptDrop): Implemented.
3557         (rejectDrop): Implemented.
3558         * java/awt/dnd/DropTargetListener.java
3559         (drop): Fixed documentation.
3560         * java/awt/dnd/MouseDragGestureRecognizer.java
3561         (MouseDragGestureRecognizer): Documentation added.
3562
3563 2003-02-17  Michael Koch  <konqueror@gmx.de>
3564
3565         * java/awt/font/FontRenderContext.java,
3566         java/awt/font/ShapeGraphicAttribute.java,
3567         java/awt/font/MultipleMaster.java,
3568         java/awt/font/TransformAttribute.java,
3569         java/awt/font/GlyphJustificationInfo.java,
3570         java/awt/font/LineBreakMeasurer.java,
3571         java/awt/font/TextMeasurer.java,
3572         java/awt/font/TextLayout.java,
3573         java/awt/font/LineMetrics.java,
3574         java/awt/font/TextAttribute.java,
3575         java/awt/font/GlyphMetrics.java,
3576         java/awt/font/OpenType.java,
3577         java/awt/font/GlyphVector.java,
3578         java/awt/font/GraphicAttribute.java,
3579         java/awt/font/ImageGraphicAttribute.java,
3580         java/awt/font/NumericShaper.java: New files.
3581         * Makefile.am
3582         (awt_java_source_files): Added the following files:
3583         java/awt/font/FontRenderContext.java
3584         java/awt/font/ShapeGraphicAttribute.java
3585         java/awt/font/MultipleMaster.java
3586         java/awt/font/TransformAttribute.java
3587         java/awt/font/GlyphJustificationInfo.java
3588         java/awt/font/LineBreakMeasurer.java
3589         java/awt/font/TextMeasurer.java
3590         java/awt/font/TextLayout.java
3591         java/awt/font/LineMetrics.java
3592         java/awt/font/TextAttribute.java
3593         java/awt/font/GlyphMetrics.java
3594         java/awt/font/OpenType.java
3595         java/awt/font/GlyphVector.java
3596         java/awt/font/GraphicAttribute.java
3597         java/awt/font/ImageGraphicAttribute.java
3598         java/awt/font/NumericShaper.java
3599         * Makefile.in: Regenerated.
3600
3601 2003-02-17  Michael Koch  <konqueror@gmx.de>
3602
3603         * java/awt/print/Paper.java
3604         (Paper): Implements Cloneable.
3605         * java/awt/print/PrinterJob.java
3606         (setJobName): Return value must be void.
3607         (print): Throws PrinterException.
3608         
3609 2003-02-16  Tom Tromey  <tromey@redhat.com>
3610
3611         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3612         variable.
3613
3614 2003-02-15  Michael Koch  <konqueror@gmx.de>
3615
3616         * java/awt/datatransfer/DataFlavor.java
3617         (isRepresentationClassByteBuffer): Removed try-catch block.
3618         (isRepresentationClassCharBuffer): Removed try-catch block.
3619         (isRepresentationClassReader): Removed try-catch block.
3620
3621 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3622
3623         * java/nio/charset/Charset.java
3624         (isRegistered): Fixed method args and implementation.
3625         * java/nio/charset/CharsetEncoder.java
3626         (unmappableCharacterAction): New method.
3627
3628 2003-02-15  Michael Koch  <konqueror@gmx.de>
3629
3630         * java/awt/CheckboxMenuItem.java
3631         (CheckBoxMenuItem): Dont implement Serializable.
3632         (getListeners): New method,
3633         (getItemListeners): New method.
3634         * java/awt/Choice.java
3635         (getListeners): New method,
3636         (getItemListeners): New method.
3637         * java/awt/Container.java
3638         (getListeners): Added exception documentation.
3639         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3640         (getFocusTraversalKeys): Added documentation.
3641         (areFocusTraversalKeysSet): Added documentation.
3642         (applyComponentOrientation): Added documentation.
3643         * java/awt/ContainerOrderFocusTraversalPolicy.java
3644         (implicitDownCycleTraversal): Renamed from downCycle for
3645         serialization.
3646         (ContainerOrderFocusTraversalPolicy): Added documentation.
3647         (accept): Reformated.
3648         * java/awt/Dialog.java
3649         (Dialog): Dont implement Serializable.
3650         (Dialog): Added documentation.
3651         * java/awt/Font.java
3652         (Font): Dont use absolute class name.
3653         * java/awt/Frame.java
3654         (Frame): Font implement Serializable.
3655         * java/awt/List.java
3656         (getListeners): New method,
3657         (getActionListeners): New method.       
3658         (getItemListeners): New method.
3659         * java/awt/Menu.java
3660         (countItems): New deprecated method.
3661         * java/awt/Scrollbar.java
3662         (getListeners): New method,
3663         (getAdjustmentListeners): New method,
3664         * java/awt/TextComponent.java
3665         (getListeners): New method,
3666         (getTextListeners): New method,
3667         * java/awt/TextField.java
3668         (getListeners): New method,
3669         (getActionListeners): New method.       
3670         * java/awt/Window.java
3671         (windowFocusListener): New member variable.
3672         (windowStateListener): New member variable.
3673         (getWindowFocusListeners): New method.
3674         (getWindowStateListeners): New method.
3675         (addWindowFocusListener): New method.
3676         (addWindowStateListener): New method.
3677         (removeWindowFocusListener): New method.
3678         (removeWindowStateListener): New method.
3679         * java/awt/datatransfer/DataFlavor.java
3680         (isRepresentationClassByteBuffer): New method.
3681         (isRepresentationClassCharBuffer): New method.
3682         (isRepresentationClassReader): New method.
3683
3684 2003-02-14  Mark Wielaard  <mark@klomp.org>
3685
3686         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3687         zero when there is an exponent and the significant is zero.
3688         (divide): Always set scale to newScale even in special ZERO case.
3689
3690 2003-02-14  Tom Tromey  <tromey@redhat.com>
3691
3692         * java/lang/System.java (properties): Use Properties.clone.
3693         (setProperties): Likewise.
3694
3695 2003-02-14  Michael Koch  <konqueror@gmx.de>
3696
3697         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3698         * gnu/java/nio/ServerSocketChannelImpl.java
3699         (SocketAccept): Removed.
3700         (accept): Commented out use of SocketAccept.
3701
3702 2003-02-13  Tom Tromey  <tromey@redhat.com>
3703
3704         * verify.cc (state::seen_subrs): New field.
3705         (state::state): Initialize it.
3706         (state::clean_subrs): New method.
3707         (state::~state): Call it.
3708         (state::copy): Copy subroutine list.
3709         (state::add_subr): New method.
3710         (state::merge): Only register a change if the current subroutine
3711         hasn't yet been noted.
3712
3713 2003-02-13  Mark Wielaard  <mark@klomp.org>
3714
3715         * java/io/InputStreamReader.java (getEncoding): Return null when
3716         closed.
3717         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3718
3719 2003-02-13  Mark Wielaard  <mark@klomp.org>
3720  
3721         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3722         is zero.
3723
3724 2003-02-13  Mark Wielaard  <mark@klomp.org>
3725
3726         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3727         next byte cannot be buffered.
3728
3729 2003-02-13  Michael Koch  <konqueror@gmx.de>
3730  
3731         * java/awt/Label.java
3732         (Label): Don't implement Serializable directly.
3733         (addNotify): Fixed typo in documentation.
3734         * java/awt/List.java
3735         (List): Don't implement Serializable directly.
3736         * java/awt/PopupMenu.java
3737         (PopupMenu): Don't implement Serializable directly.
3738         * java/awt/ScrollPane.java
3739         (ScrollPane): Don't implement Serializable directly.
3740         * java/awt/Scrollbar.java
3741         (Scrollbar): Don't implement Serializable directly.
3742         * java/awt/TextArea.java
3743         (preferredSize): Fixed method arguments.
3744         * java/awt/TextField.java
3745         (TextField): Don't implement Serializable directly.
3746         * java/awt/color/ICC_ColorSpace.java
3747         (fromCIOXYZ): Documentation added.
3748         (getMinValue): Documentation added.
3749         (getMaxValue): Documentation added.
3750         * java/awt/datatransfer/DataFlavor.java
3751         (isMimeTypeEqual): May not be final.
3752         (clone): Throws CloneNotSupportedException.
3753         (getReaderForText): Don't throws UnsupportedEncodingException.
3754
3755 2003-02-13  Michael Koch  <konqueror@gmx.de>
3756  
3757         * gnu/java/awt/peer/gtk/GdkGraphics.java
3758         (drawString): New stubbed method.
3759         * java/awt/Graphics.java
3760         (drawString): New method.
3761
3762 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3763
3764         PR libgcj/9271:
3765         * java/security/SecureRandom.java (next): Avoid bias in results.
3766
3767 2003-02-13  Michael  <konqueror@gmx.de>
3768
3769         * gnu/java/nio/FileChannelImpl.java
3770         (lengthInternal): Must be native.
3771         (size): Check if channel is already closed.
3772         (implCloseChannel): Reformated.
3773         (read): w was unused, removed it.
3774         (read): Removed.
3775         (read): New method.
3776         (write): New method.
3777         (map): Check arguments.
3778         (force): Throws IOException, check if channel is closed.
3779         (transferTo): New method.
3780         (transferFrom): New method.
3781         (lock): New method.
3782         (tryLock): New method.
3783         (position): New method.
3784         (truncate): New method.
3785         (nio_mmap_file): Uncommented.
3786         (nio_munmap_file): Uncommented.
3787         (nio_msync): Uncommented.
3788         * gnu/java/nio/natFileChannelImpl.cc: New file.
3789         
3790 2003-02-13  Michael Koch  <konqueror@gmx.de>
3791
3792         * java/nio/ByteBuffer.java
3793         (endian): New member variable.
3794         (get): New methods.
3795         (equals): New method.
3796         (compareTo): New method.
3797         (order): New methods.
3798         (compact): New method.
3799         (isDirect): New method.
3800         (slice): New method.
3801         (duplicate): New method.
3802         (asReadOnlyBuffer): New method.
3803         (asCharBuffer): New method.
3804         (asDoubleBuffer): New method.
3805         (asFloatBuffer): New method.
3806         (asIntBuffer): New method.
3807         (asLongBuffer): New method.
3808         (asShortBuffer): New method.
3809         (get*): New methods.
3810         (put*): New methods.
3811         (toString): New method.
3812         * java/nio/CharBuffer.java
3813         (CharBuffer): Implement Comparable instead of Cloneable.
3814         (get): May not be final.
3815         (put): May not be final.
3816         
3817 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
3818
3819         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
3820         lastIndexOf( ) instead of indexOf( ) to find the colon before
3821         the line number, because Win32 file names might contain a 
3822         drive letter and a colon at the start of an absolute path.
3823
3824 2003-02-13  Michael Koch  <konqueror@gmx.de>
3825
3826         * gnu/java/nio/natSocketChannelImpl.cc
3827         (SocketConnect): This is not implemented yet.
3828         (SocketBind): This is not implemented yet.
3829
3830 2003-02-13  Michael Koch  <konqueror@gmx.de>
3831
3832         * gnu/java/nio/natByteBufferImpl.cc,
3833         gnu/java/nio/natCharBufferImpl.cc,
3834         gnu/java/nio/natDoubleBufferImpl.cc,
3835         gnu/java/nio/natFloatBufferImpl.cc,
3836         gnu/java/nio/natIntBufferImpl.cc,
3837         gnu/java/nio/natLongBufferImpl.cc,
3838         gnu/java/nio/natShortBufferImpl.cc:
3839         Added copyright and license.
3840         * java/nio/DoubleBuffer.java,
3841         java/nio/FloatBuffer.java,
3842         java/nio/IntBuffer.java,
3843         java/nio/LongBuffer.java,
3844         java/nio/ShortBuffer.java
3845         (array): Throw exceptions.
3846         (arrayOffset): Throw exceptions.
3847
3848 2003-02-13  Michael Koch  <konqueror@gmx.de>
3849  
3850         * gnu/java/util/prefs/FileBasedFactory.java,
3851         gnu/java/util/prefs/MemmoryBasedFactory.java,
3852         gnu/java/util/prefs/MemoryBasedPreferences.java,
3853         gnu/java/util/prefs/NodeReader.java,
3854         gnu/java/util/prefs/NodeWriter.java,
3855         java/util/prefs/AbstractPreferences.java,
3856         java/util/prefs/BackingStoreException.java,
3857         java/util/prefs/InvalidPreferencesFormatException.java,
3858         java/util/prefs/NodeChangeEvent.java,
3859         java/util/prefs/NodeChangeListener.java,
3860         java/util/prefs/PreferenceChangeEvent.java,
3861         java/util/prefs/PreferenceChangeListener.java,
3862         java/util/prefs/Preferences.java,
3863         java/util/prefs/PreferencesFactory.java:
3864         New files, all merged from classpath.
3865         * Makefile.am
3866         (ordinary_java_source_files): Added the following files:
3867         gnu/java/util/prefs/FileBasedFactory.java,
3868         gnu/java/util/prefs/MemmoryBasedFactory.java,
3869         gnu/java/util/prefs/MemoryBasedPreferences.java,
3870         gnu/java/util/prefs/NodeReader.java,
3871         gnu/java/util/prefs/NodeWriter.java,
3872         (core_java_source_files): Added the following files:
3873         java/util/prefs/AbstractPreferences.java,
3874         java/util/prefs/BackingStoreException.java,
3875         java/util/prefs/InvalidPreferencesFormatException.java,
3876         java/util/prefs/NodeChangeEvent.java,
3877         java/util/prefs/NodeChangeListener.java,
3878         java/util/prefs/PreferenceChangeEvent.java,
3879         java/util/prefs/PreferenceChangeListener.java,
3880         java/util/prefs/Preferences.java,
3881         java/util/prefs/PreferencesFactory.java
3882         * Makefile.in: Regenerated.
3883  
3884 2003-02-13  Michael Koch  <konqueror@gmx.de>
3885
3886         * java/net/NetPermission.java
3887         (NetPermission): Make doucmentation match the method declaration.
3888         * java/net/NetworkInterface.java
3889         (equals): Reformated for GNU coding style.
3890         * java/net/ServerSocket.java: Merged with classpath.
3891         * java/net/Socket.java: Partly merged with classpath (Added some @since).
3892         * java/net/SocketImpl.java
3893         (localPort): Merged with classpath (initialize with -1).
3894         * java/net/SocketPermission.java: Merged with classpath (reindented).
3895         * java/net/URLDecoder.java: Merged with classpath (reindented).
3896
3897 2003-02-13  Michael Koch  <konqueror@gmx.de>
3898
3899         * java/awt/GridBagConstraints.java
3900         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
3901         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
3902         * java/awt/KeyboardFocusManager.java
3903         (setGlobalCurrentFocusCycleRoot): Must be public.
3904         * java/awt/MenuComponent.java
3905         (MenuComponent): Must be public.
3906         * java/awt/Toolkit.java:
3907         Added some empty lines to make documentation more readable.
3908         (getFontPeer): Added @deprecated.
3909         (getColorModel): Added exception documentation.
3910         (getProperty): Fixed documentation.
3911  
3912 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
3913
3914         * configure.host (alpha*-*): Default to -mieee.
3915         * configure.in (IEEESPEC): New.
3916         * libgcj.spec.in (jc1): Add IEEESPEC.
3917         * configure: Rebuild.
3918
3919 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
3920
3921         * include/win32.h: Include ws2tcpip.h instead of
3922         winsock.h to obtain definition of the socklen_t type.
3923         Remove IP_TOS definition - not needed with ws2tcpip.h
3924         (_Jv_connect): Correct slight formatting error.
3925
3926 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
3927
3928         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
3929         size of the arguments for a JNI function. For Win32,
3930         modify to search for all forms of possible exported
3931         names of an stdcall JNI function.
3932         (_Jv_JNIMethod::call): Modify to calculate the size
3933         of the arguments passed to a JNI function and pass
3934         it to _Jv_LookupJNIMethod.
3935
3936 2003-02-12  Michael Koch  <konqueror@gmx.de>
3937
3938         * java/nio/channels/Channels.java: New file.
3939         * Makefile.am
3940         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
3941         * Makefile.in: Regenerated.
3942
3943 2003-02-12  Michael Koch  <konqueror@gmx.de>
3944
3945         * java/nio/ByteBuffer.java
3946         (allocate): Implemented.
3947         (wrap): Implemented.
3948         * java/nio/CharBuffer.java:
3949         Some documentation added and reworked.
3950         (endian): Removed.
3951         (allocate): Implemented.
3952         (wrap): Implemented.
3953         (array): Throw exceptions.
3954         (arrayOffset): Throw exceptions.
3955         (toString): Implemented.
3956         (length): Implemented.
3957         (put): Implemented.
3958         (charAt): Implemented.
3959
3960 2003-02-11  John Leuner  <jewel@debian.org>
3961
3962         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
3963         reads from end of file.
3964
3965 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
3966
3967         * java/io/natFileDescriptorWin32.cc 
3968         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
3969         returns with Win32 error code ERROR_BROKEN_PIPE.
3970
3971 2003-02-11  Michael Koch  <konqueror@gmx.de>
3972
3973         * Makefile.in
3974         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
3975
3976 2003-02-11  Michael Koch  <konqueror@gmx.de>
3977
3978         * gnu/java/nio/ByteBufferImpl.java:
3979         Reformated and removed some code.
3980         (backing_buffer): Removed.      
3981         (array_offset): Removed.
3982         (ro): Renamed to readOnly.
3983         (ByteBufferImpl): Use parent constructor, initialize readOnly.
3984         * gnu/java/nio/CharBufferImpl.java:
3985         Reformated and removed some code.
3986         (array_offset): Removed.
3987         (ro): Renamed to readOnly.
3988         (CharBufferImpl): Use parent constructor, initialize readOnly.
3989         (inc_pos): Removed.
3990         (order): New method.
3991         * gnu/java/nio/DoubleBufferImpl.java:
3992         Reformated and removed some code.
3993         (array_offset): Removed.
3994         (ro): Renamed to readOnly.
3995         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
3996         (inc_pos): Removed.
3997         (order): New method.
3998         * gnu/java/nio/FloatBufferImpl.java:
3999         Reformated and removed some code.
4000         (array_offset): Removed.
4001         (ro): Renamed to readOnly.
4002         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4003         (inc_pos): Removed.
4004         (order): New method.
4005         * gnu/java/nio/IntBufferImpl.java:
4006         Reformated and removed some code.
4007         (array_offset): Removed.
4008         (ro): Renamed to readOnly.
4009         (IntBufferImpl): Use parent constructor, initialize readOnly.
4010         (inc_pos): Removed.
4011         (order): New method.
4012         * gnu/java/nio/LongBufferImpl.java:
4013         Reformated and removed some code.
4014         (array_offset): Removed.
4015         (ro): Renamed to readOnly.
4016         (LongBufferImpl): Use parent constructor, initialize readOnly.
4017         (inc_pos): Removed.
4018         (order): New method.
4019         * gnu/java/nio/ShortBufferImpl.java:
4020         Reformated and removed some code.
4021         (array_offset): Removed.
4022         (ro): Renamed to readOnly.
4023         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4024         (inc_pos): Removed.
4025         (order): New method.
4026         * Makefile.am
4027         (ordinary_java_source_files): Added the following files:
4028         gnu/java/nio/ByteBufferImpl.java
4029         gnu/java/nio/CharBufferImpl.java
4030         gnu/java/nio/DoubleBufferImpl.java
4031         gnu/java/nio/FloatBufferImpl.java
4032         gnu/java/nio/IntBufferImpl.java
4033         gnu/java/nio/LongBufferImpl.java
4034         gnu/java/nio/ShortBufferImpl.java
4035         java/nio/DoubleBuffer.java
4036         java/nio/FloatBuffer.java
4037         java/nio/IntBuffer.java
4038         java/nio/LongBuffer.java
4039         java/nio/ShortBuffer.java
4040         (nat_source_files): Added the following files:
4041         gnu/java/nio/natByteBufferImpl.cc
4042         gnu/java/nio/natCharBufferImpl.cc
4043         gnu/java/nio/natDoubleBufferImpl.cc
4044         gnu/java/nio/natFloatBufferImpl.cc
4045         gnu/java/nio/natIntBufferImpl.cc
4046         gnu/java/nio/natLongBufferImpl.cc
4047         gnu/java/nio/natShortBufferImpl.cc
4048         * Makefile.in: Regenerated.
4049
4050 2003-02-11  Michael Koch  <konqueror@gmx.de>
4051
4052         * gnu/java/nio/natCharBufferImpl.cc
4053         (nio_cast): Removed.
4054         (nio_put_*): Removed.
4055         (nio_get_*): Removed.
4056         * gnu/java/nio/natDoubleBufferImpl.cc
4057         (nio_cast): Removed.
4058         (nio_put_*): Removed.
4059         (nio_get_*): Removed.
4060         * gnu/java/nio/natFloatBufferImpl.cc
4061         (nio_cast): Removed.
4062         (nio_put_*): Removed.
4063         (nio_get_*): Removed.
4064         * gnu/java/nio/natIntBufferImpl.cc
4065         (nio_cast): Removed.
4066         (nio_put_*): Removed.
4067         (nio_get_*): Removed.
4068         * gnu/java/nio/natLongBufferImpl.cc
4069         (nio_cast): Removed.
4070         (nio_put_*): Removed.
4071         (nio_get_*): Removed.
4072         * gnu/java/nio/natShortBufferImpl.cc
4073         (nio_cast): Removed.
4074         (nio_put_*): Removed.
4075         (nio_get_*): Removed.
4076         * gnu/java/nio/SelectorProviderImpl.java
4077         (openDatagramChannel): Throws IOException.
4078         (openPipe): Throws IOException.
4079         (openSelector): Throws IOException.
4080         (openServerSocketChannel): Throws IOException.
4081         (openSocketChannel): Throws IOException.
4082         * gnu/java/nio/ServerSocketChannelImpl.java
4083         (ServerSocketChannelImpl): Throws IOException.
4084         (implCloseSelectableChannel): Throws IOException.
4085         (implConfigureBlocking): Throws IOException.
4086         * java/nio/ByteBuffer.java
4087         (readOnly): Removed.
4088         (hasArray): Use isReadOnly() instead of readOnly.
4089         (array): Use isReadOnly() instead of readOnly.
4090         (arrayOffset): Use isReadOnly() instead of readOnly.
4091         * java/nio/CharBuffer.java
4092         (CharBuffer): Implements Cloneable and CharSequence.
4093
4094 2003-02-11  Michael Koch  <konqueror@gmx.de>
4095
4096         * java/nio/DoubleBuffer.java
4097         (DoubleBuffer): Implements Comparable.
4098         (endian): Removed.
4099         (array_offset): New member variable.
4100         (DoubleBuffer): New constuctor.
4101         (get): May not be final.
4102         (put): May not be final.
4103         (arrayOffset): Implemented.
4104         (order): Made abstract.
4105         (order): Removed.
4106         (as*Buffer): Removed.
4107         (get*): Removed.
4108         (put*): Removed.
4109         * java/nio/FloatBuffer.java
4110         (FloatBuffer): Implements Comparable.
4111         (endian): Removed.
4112         (array_offset): New member variable.
4113         (FloatBuffer): New constuctor.
4114         (get): May not be final.
4115         (put): May not be final.
4116         (arrayOffset): Implemented.
4117         (order): Made abstract.
4118         (order): Removed.
4119         (as*Buffer): Removed.
4120         (get*): Removed.
4121         (put*): Removed.
4122         * java/nio/IntBuffer.java
4123         (IntBuffer): Implements Comparable.
4124         (endian): Removed.
4125         (array_offset): New member variable.
4126         (IntBuffer): New constuctor.
4127         (get): May not be final.
4128         (put): May not be final.
4129         (arrayOffset): Implemented.
4130         (order): Made abstract.
4131         (order): Removed.
4132         (as*Buffer): Removed.
4133         (get*): Removed.
4134         (put*): Removed.
4135         * java/nio/LongBuffer.java
4136         (LongBuffer): Implements Comparable.
4137         (endian): Removed.
4138         (array_offset): New member variable.
4139         (LongBuffer): New constuctor.
4140         (get): May not be final.
4141         (put): May not be final.
4142         (arrayOffset): Implemented.
4143         (order): Made abstract.
4144         (order): Removed.
4145         (as*Buffer): Removed.
4146         (get*): Removed.
4147         (put*): Removed.
4148         * java/nio/ShortBuffer.java
4149         (ShortBuffer): Implements Comparable.
4150         (endian): Removed.
4151         (array_offset): New member variable.
4152         (ShortBuffer): New constuctor.
4153         (get): May not be final.
4154         (put): May not be final.
4155         (arrayOffset): Implemented.
4156         (order): Made abstract.
4157         (order): Removed.
4158         (as*Buffer): Removed.
4159         (get*): Removed.
4160         (put*): Removed.
4161
4162 2003-02-11   Michael Koch  <konqueror@gmx.de>
4163
4164         * java/nio/channels/SelectionKey.java
4165         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4166         values.
4167
4168 2003-02-11  Michael Koch  <konqueror@gmx.de>
4169
4170         * java/nio/channels/DatagramChannel.java
4171         (write): Throws IOException.
4172         (connect): Throws IOException.
4173         (disconnect): Throws IOException.
4174         (read): Throws IOException.
4175         (receive): Throws IOException.
4176         (send): Throws IOException.
4177         * java/nio/channels/Pipe.java
4178         (open): Throws IOException.
4179         * java/nio/channels/SelectableChannel.java
4180         (configureBlocking): Throws IOException.
4181         * java/nio/channels/ServerSocketChannel.java
4182         (accept): Throws IOException.
4183         * java/nio/channels/SocketChannel.java
4184         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4185         GatheringByteChannel.
4186         (read): Throws IOException.
4187         (write): Throws IOException.
4188         (finishConnect): Throws IOException.
4189         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4190         (end): Throws AsynchronousCloseException.
4191         * java/nio/channels/spi/AbstractSelectableChannel.java
4192         (configureBlocking): Throws IOException.
4193         (implCloseChannel): Throws IOException.
4194         (implCloseSelectableChannel): Throws IOException.
4195         (implConfigureBlocking): Throws IOException.
4196         * java/nio/channels/spi/SelectorProvider.java
4197         (openDatagramChannel): Throws IOException.
4198         (openPipe): Throws IOException.
4199         (openSelector): Throws IOException.
4200         (openServerSocketChannel): Throws IOException.
4201         (openSocketChannel): Throws IOException.
4202
4203 2003-02-11  Michael Koch  <konqueror@gmx.de>
4204
4205         * gnu/java/nio/FileLockImpl.java,
4206         java/nio/channels/FileLock.java: New files.
4207
4208 2003-02-11  Michael Koch  <konqueror@gmx.de>
4209
4210         * java/nio/charset/IllegalCharsetNameException.java
4211         (serialVersionUID): New member variable.
4212         (charsetName): New member variable.
4213         (IllegalCharsetException): New implementation.
4214         (getCharsetName): New implementation.
4215         * java/nio/charset/UnsupportedCharsetException.java
4216         (serialVersionUID): New member variable.
4217         (charsetName): New member variable.
4218         (UnsupportedCharsetException): New implementation.
4219         (getCharsetName): New implementation.
4220
4221 2003-02-10  Tom Tromey  <tromey@redhat.com>
4222
4223         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4224         (ex): Renamed from sqlException.
4225
4226 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4227
4228         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4229         method used to ensure seeding has occurred and that a specific 
4230         seed can be set and used.
4231
4232 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4233
4234         * java/lang/Win32Process.java (destroy): Declare as native.
4235         (hasExited): New native method.
4236         (exitValue): Define.
4237         (getErrorStream): Likewise.
4238         (getInputStream): Likewise.
4239         (getOutputStream): Likewise.
4240         (waitFor): Declare as native.
4241         (startProcess): New native method.
4242         (cleanup): Likewise.
4243         (ConcreteProcess): Define.
4244         (outputStream, inputStream, errorStream): New members.
4245         (procHandle, exitCode): Likewise.
4246
4247         * java/lang/natWin32Process.cc
4248         (java::lang::ConcreteProcess::cleanup): Define.
4249         (java::lang::ConcreteProcess::destroy): Likewise.
4250         (java::lang::ConcreteProcess::hasExited): Likewise.
4251         (java::lang::ConcreteProcess::waitFor): Likewise.
4252         (new_string): Likewise.
4253         (java::lang::ConcreteProcess::startProcess): Likewise.
4254
4255 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4256
4257         * java/math/BigInteger.java:
4258         Updated notice to include years 2002 and 3.
4259         Added 2 private (int) arrays with values from the HAC (Handbook of
4260         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4261         and t[] that contains nbr. of tests --used in isProbablePrime().
4262
4263         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4264
4265         * java/math/BigInteger.java (make(int[],int), add(int,int),
4266         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4267         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4268         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4269         make(long).
4270
4271         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4272         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4273         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4274         BIs and returns void.
4275         (modInverse(BI)): Use new signatures of euclidInv().
4276
4277         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4278         static small primes instead of remainder().
4279         Use pre-computed max nbr of trials based on bitlength of BI to test.
4280         Use pre-computed small primes for the trial tests instead of random
4281         numbers.
4282
4283         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4284         not used.
4285
4286         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4287         invoacation of MPN.chars_per_word().  not used.
4288
4289         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4290         local var and used where needed.
4291
4292         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4293         Combined declaration with initialisation of locals.
4294         Removed unused var.
4295
4296         * java/math/BigInteger.java: Style changes
4297         (pow(int)): Removed 'else' keyword.
4298         (toString(int)): idem.
4299         (doubleValue()): idem.
4300         (bitLength()): idem.
4301         (equals(Object)): Use static methods name in same class w/o prepending
4302         class name.
4303         (doubleValue()): idem.
4304         (setNegative(BI)): idem.
4305         (negate()): idem.
4306         (and(BI,int)): idem.
4307         (and(BI)): idem.
4308         (gcd(BI)): idem.
4309         (byteArrayToIntArray()): Removed casting to (int). this is
4310         std. behaviour.
4311         (canonicalize()): idem.
4312         (alloc(int)): Always instantiate a new BI.
4313
4314 2003-02-10  Tom Tromey  <tromey@redhat.com>
4315
4316         * java/sql/Timestamp.java (compareTo(Object)): New method.
4317         (compareTo(Timestamp)): Likewise.
4318         (serialVersionUID): Updated.
4319
4320 2003-02-07  Mark Wielaard  <mark@klomp.org>
4321
4322         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4323         when verify is true.
4324         (JarFile(File, boolean)): Likewise.
4325         (manifestRead): Set manifestRead field correctly.
4326
4327 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4328
4329         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4330         tests; see patch #1016 on Savannah.
4331
4332 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4333
4334         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4335         (toString): do not return Strings starting with . and - erroneously.
4336         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4337         DiagBigDecimal.
4338
4339 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4340
4341         * java/beans/PropertyDescriptor.java
4342         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4343         methods.
4344         (PropertyDescriptor(String, Class, String, String)): Likewise.
4345         (PropertyDescriptor(String, Method, Method): Factor out getter and
4346         setter method sanity checks into new method.
4347         (findMethods): Don't do parameter sanity checking of get method here.
4348         (checkMethods): New method.
4349
4350 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4351
4352         * java/beans/PropertyDescriptor.java: Reformat.
4353
4354 2003-02-04  Tom Tromey  <tromey@redhat.com>
4355
4356         * java/io/PipedOutputStream.java (flush): Declare as throwing
4357         IOException.
4358         (close): Likewise.
4359         * java/io/PipedWriter.java (close): Declare as throwing
4360         IOException.
4361         * java/io/StringWriter.java (close): Declare as throwing
4362         IOException.
4363
4364 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4365
4366         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4367         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4368         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4369         "_JNI_OnLoad@8" (MSVC).
4370
4371 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4372
4373         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4374         convention on Win32 to invoke native JNI methods.
4375
4376 2003-02-03  Andrew Haley  <aph@redhat.com>
4377
4378         * configure.host (x86_64): Enable interpreter.
4379
4380 2003-02-03  Andrew Haley  <aph@redhat.com>
4381
4382         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4383         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4384         * configure.in (BACKTRACESPEC): New.
4385         * configure: Regenerate.
4386
4387 2003-02-02  Tom Tromey  <tromey@redhat.com>
4388
4389         * configure: Rebuilt.
4390         * configure.in (TOOLKIT) [xlib]: Set correctly.
4391
4392         * Makefile.in: Rebuilt.
4393         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4394         libstdc++.
4395
4396 2003-01-31  Mark WIelaard  <mark@klomp.org>
4397
4398         * Makefile.in: Rebuilt.
4399         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4400
4401 2003-01-31  Tom Tromey  <tromey@redhat.com>
4402
4403         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4404         cast to element type.
4405         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4406         (_Jv_JNI_GetObjectArrayElement): Likewise.
4407
4408         * Makefile.in: Rebuilt.
4409         * Makefile.am (cond_x_ltlibrary): Renamed library to
4410         lib-gnu-awt-xlib.la.
4411         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4412         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4413         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4414         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4415         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4416         (lib_gnu_awt_xlib_la_LINK): Likewise.
4417         (install-exec-hook): Removed.
4418         (lib-gnu-awt-xlib.la): Renamed.
4419
4420 2003-01-31  Tom Tromey  <tromey@redhat.com>
4421
4422         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4423         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4424         aclocal.m4 and lost in some merge.
4425
4426         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4427         Don't try to find graphics configuration.
4428         * java/awt/Toolkit.java (default_toolkit_name): Use new
4429         Configuration entry.
4430         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4431         New global.
4432         * configure: Rebuilt.
4433         * configure.in (TOOLKIT): New subst.
4434         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4435         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4436         directory.  Make output directories for .c files.
4437         * Makefile.in: Rebuilt.
4438         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4439         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4440         (all_java_source_files): Added new sources.
4441         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4442         (gtk_c_files): New macro.
4443         (gtk_c_source_files): New macro.
4444         (cond_gtk_ltlibrary): New macro.
4445         ($(gtk_c_files)): New target.
4446         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4447         (gtk_awt_peer_sources): New macro.
4448         (gtk_c_headers): New macro.
4449         ($(gtk_c_headers)): New target.
4450         (ACLOCAL_AMFLAGS): New macro.
4451         * gtk.m4, glib.m4, libart.m4: New files.
4452         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4453         gnu/java/awt/peer/gtk/GdkGraphics.java,
4454         gnu/java/awt/peer/gtk/GtkArg.java,
4455         gnu/java/awt/peer/gtk/GtkArgList.java,
4456         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4457         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4458         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4459         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4460         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4461         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4462         gnu/java/awt/peer/gtk/GtkClipboard.java,
4463         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4464         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4465         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4466         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4467         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4468         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4469         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4470         gnu/java/awt/peer/gtk/GtkImage.java,
4471         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4472         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4473         gnu/java/awt/peer/gtk/GtkListPeer.java,
4474         gnu/java/awt/peer/gtk/GtkMainThread.java,
4475         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4476         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4477         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4478         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4479         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4480         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4481         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4482         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4483         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4484         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4485         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4486         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4487         gnu/java/awt/peer/gtk/GtkToolkit.java,
4488         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4489         gnu/java/awt/peer/gtk/TestAWT.java,
4490         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4492         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4493         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4494         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4495         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4496         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4499         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4500         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4503         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4504         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4508         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4509         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4510         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4513         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4514         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4515         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4516         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4517         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4518         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4519         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4520         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4521         jni/classpath/native_state.c, jni/classpath/native_state.h,
4522         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4523
4524 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4525
4526         * java/util/Properties.java (load): Ignore backslash before EOF.
4527
4528 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4529
4530         * java/lang/natClass.cc (initializeClass): Check tables when
4531         (state == JV_STATE_IN_PROGRESS).
4532         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4533         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4534         interpreted classes.
4535         (linkClass0): Use _Jv_WaitForState.
4536
4537 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4538
4539         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4540         object when finished.
4541
4542 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4543
4544         * libjava/configure.host: Disable can_unwind_signal on darwin.
4545
4546 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4547
4548         Fixes PR java/9254:
4549         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4550         additionally containing id of the owner thread as well as
4551         the number of nested times the thread has acquired the mutex.
4552         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4553         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4554         (_Jv_MutexUnlock): Check if really the owner thread, reset
4555         owner thread id to 0 before leaving, if leaving for the last
4556         time.
4557         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4558         refcount.
4559         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4560         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4561         the passed mutex.
4562         Pass handle of the broadcast event, instead of a pointer to it
4563         in Win32 ResetEvent( ) call.
4564         Remove incorrect return values.
4565         (_Jv_CondDestroy): Close both event handles and delete
4566         critical section.
4567         (_Jv_CondNotify): Check if really the owner thread.
4568         (_Jv_CondNotifyAll): Check if really the owner thread.
4569         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4570         (really_start): Use SetEvent( ) to signal daemon_cond.
4571         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4572         WaitForSingleObject( ) instead to wait for daemon_cond to be
4573         signalled.
4574
4575 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4576
4577         * configure.in: Specifically define HAVE_BACKTRACE if building
4578         for MinGW.
4579         * include/win32.h: Remove HAVE_BACKTRACE definition.
4580         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4581         * configure: Rebuilt.
4582
4583 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4584
4585         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4586         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4587         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4588         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4589         * Makefile.in, configure: Rebuilt.
4590
4591 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4592
4593         Fixes PR java/9253:
4594         * java/io/natFileWin32.cc (performList): Append only "*.*"
4595         if the canonical file path already has a "\" at the end.
4596
4597 2003-01-24  Tom Tromey  <tromey@redhat.com>
4598
4599         * defineclass.cc (handleMethodsEnd): Precompute code for static
4600         method.
4601         (handleCodeAttribute): Likewise.
4602         * resolve.cc (ncode): Use run_class for unsynchronized static
4603         methods.
4604         * include/java-interp.h (class _Jv_InterpMethod): Declare
4605         run_class.
4606         * interpret.cc (run_synch_class): Initialize class.
4607         (run) [insn_invokestatic]: Don't initialize class.
4608         [insn_anewarray]: Likewise.
4609         [insn_multianewarray]: Likewise.
4610         (run_class): New function.
4611
4612 2003-01-24  Tom Tromey  <tromey@redhat.com>
4613
4614         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4615         comment.
4616
4617 2003-01-22  Andrew Haley  <aph@redhat.com>
4618
4619         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4620         * configure.host (CHECKREFSPEC): Define for x86_64.
4621
4622 2003-01-21  Tom Tromey  <tromey@redhat.com>
4623
4624         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4625         search at 2, not 3.
4626
4627 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4628
4629         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4630         looking at any characters.
4631         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4632         be used.
4633         (isAbsolute): Check path's length as well.
4634
4635 2003-01-17  Mark Wielaard  <mark@klomp.org>
4636
4637         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4638         (nat_source_files): Add natVMObjectStreamClass.cc.
4639         * Makefile.in: Regenerated.
4640         * gcj/javaprims.h (namespace java): Regenerated.
4641         * java/io/ObjectStreamClass.java (getClassUID): Call
4642         VMObjectStreamClass.hasClassInitializer().
4643         (hasClassInitializer): Removed.
4644         * java/io/VMObjectStreamClass.java: New class.
4645         * java/io/natVMObjectStreamClass.cc: New file.
4646         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4647
4648 2003-01-16  Mark Wielaard  <mark@klomp.org>
4649
4650         * java/net/SocketImpl.java (toString): Don't explicitly call
4651         toString() on possible null address.
4652
4653 2003-01-16  Michael Koch  <konqueror@gmx.de>
4654
4655         * java/net/MulticastSocket.java
4656         (setInterface): Reindented.
4657
4658 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4659
4660         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4661         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4662         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4663         translateY arguments.  Implement.
4664         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4665         down translation arguments.
4666         (drawPolyline, drawPolygon): Fix incorrect tests.
4667         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4668         translateX and translateY arguments.
4669
4670 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4671
4672         * Makefile.in: Rebuilt.
4673         * Makefile.am (xlib_includes): New macro.
4674         (INCLUDES): Use it.
4675
4676 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4677
4678         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4679         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4680         16-bit display mode.
4681
4682 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4683
4684         * java/awt/CardLayout.java (show): Rewrote.
4685         (gotoComponent): Removed `target' argument.  Simplified code.
4686         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4687         Changed all callers.
4688         (NONE): Removed.
4689         
4690 2003-01-14  Michael Koch  <konqueror@gmx.de>
4691
4692         * java/net/InetSocketAddress.java
4693         (serialVersionUID): New member variable.
4694         * java/net/NetPermission.java
4695         (NetPermission): Dont implement java.io.Serialization directly.
4696         * java/net/SocketAddress.java:
4697         (serialVersionUID): Documentation added.
4698         
4699 2003-01-14  Michael Koch  <konqueror@gmx.de>
4700
4701         * java/awt/Label.java
4702         (Label): Implements javax.accessibility.Accessible;
4703         * java/awt/List.java
4704         (List): Implements javax.accessibility.Accessible;
4705         * java/awt/ScrollPane.java
4706         (ScrollPane): Implements javax.accessibility.Accessible;
4707         * java/awt/Scrollbar.java
4708         (Scrollbar): Implements javax.accessibility.Accessible;
4709         * java/awt/TextComponent.java
4710         (setCaretPosition): Throw exception, documentation added.
4711         * java/awt/Toolkit.java:
4712         Added some newlines in method documentations.
4713         (createButton): Exception documentation added.
4714         (createTextField): Exception documentation added.
4715         (createLabel): Exception documentation added.
4716         (createList): Exception documentation added.
4717         (createCheckbox): Exception documentation added.
4718         (createScrollbar): Exception documentation added.
4719         (createScrollPane): Exception documentation added.
4720         (createTextArea): Exception documentation added.
4721         (createChoice): Exception documentation added.
4722         (createFrame): Exception documentation added.
4723         (createWindow): Exception documentation added.
4724         (createDialog): Exception documentation added.
4725         (createMenuBar): Exception documentation added.
4726         (createMenu): Exception documentation added.
4727         (createMenuItem): Exception documentation added.
4728         (createFileDialog): Exception documentation added.
4729         (createCheckboxMenuItem): Exception documentation added.
4730         (loadSystemColors): Exception documentation added.
4731         (setDynamicLayout): Exception documentation added.
4732         (isDynamicLayoutSet): Exception documentation added.
4733         (isDynamicLayoutActive): Exception documentation added.
4734         (getScreenSize): Exception documentation added.
4735         (getScreenResolution): Exception documentation added.
4736         (getScreenInsets): Exception documentation added.
4737         (getColorModel): Exception documentation added.
4738         (getSystemClipboard): Exception documentation added.
4739         (getSystemSelection): Exception documentation added.
4740         (getMenuShortcutKeyMask): Exception documentation added.
4741         (getSystemEventQueue): Exception documentation added.
4742         * java/awt/Window.java:
4743         Reindented some code.
4744         (Window): Centralized implementation, documentation added.
4745         (finalize): Documentation added.
4746         (hide): Fixed typo in comment.
4747         (getWindowListeners): Documentation added.
4748         * java/awt/color/ColorSpace.java
4749         (toRGB): Documentation added.
4750         * java/awt/color/ICC_ColorSpace.java
4751         (ICC_ColorSpace): Documentation added.
4752         (toRGB): Throw exception, documentation added.
4753         (fromRGB): Throw exception, documentation added.
4754         (toCIEXYZ): Documentation added.
4755         (fromCIEXYZ): Documentation added.
4756         (getMinValue): Documentation added.
4757         (getMaxValue): Documentation added.
4758         * java/awt/geom/Dimension2D.java
4759         (clone): Documentation added.
4760         * java/awt/geom/GeneralPath.java
4761         (clone): Documentation added.
4762         * java/awt/geom/Line2D.java
4763         (clone): Documentation added.
4764         * java/awt/geom/QuadCurve2D.java
4765         (clone): Documentation added.
4766         * java/awt/image/ColorModel.java
4767         (ColorModel): Throw exception, documentation added.
4768         * java/awt/image/ImageFilter.java
4769         (clone): Doesnt throw CloneNotSupportedException.
4770
4771 2003-01-14  Andrew Haley  <aph@redhat.com>
4772
4773         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4774         in a try block.
4775
4776 2003-01-10  Andrew Haley  <aph@redhat.com>
4777
4778         * include/dwarf2-signal.h: Remove x86_64.
4779         * configure.host (x86_64 DIVIDESPEC): Remove.
4780         * include/x86_64-signal.h: New file.
4781         * configure.in: Regenerate.
4782
4783 2003-01-10  Michael Koch  <konqueror@gmx.de>
4784
4785         * java/net/DatagramSocket.java
4786         (ch): Description added.
4787         (remotePort): Initialize with -1.
4788         (connect): Doesnt throws SocketException.
4789         * java/net/MulticastSocket.java
4790         (setInterface): Merge with Classpath.
4791         * java/net/ServerSocket.java
4792         (closed): New member variable.
4793         (bind): Check if socket is closed.
4794         (close): Close an associated channel too, set new value to closed.
4795         (isBound): Reindented.
4796         (isClosed): Implemented.
4797         * java/net/Socket.java
4798         (closed): New member variable.
4799         (bind): Check if socket is closed.
4800         (connect): Check if socket is closed.
4801         (close): Close an associated channel too, set new value to closed.
4802         (isClosed): Implemented.
4803
4804 2003-01-10  Michael Koch  <konqueror@gmx.de>
4805
4806         * java/awt/DisplayMode.java
4807         (equals): Fixed argument type and implementation.
4808
4809 2003-01-07  Tom Tromey  <tromey@redhat.com>
4810
4811         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
4812         JV_HASH_SYNCHRONIZATION.
4813         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
4814         JV_HASH_SYNCHRONIZATION.
4815
4816 2003-01-07  Michael Koch  <konqueror@gmx.de>
4817  
4818         * java/net/DatagramSocket.java:
4819         Added classpath license info.
4820         (DatagramSocket): Merged description with classpath.
4821         (close): Merged description with classpath.
4822         (getChannel): Merged description with classpath.
4823         (getInetAddress): Merged description with classpath.
4824         (getPort): Merged description with classpath.
4825         (getLocalAddress): Merged description with classpath.
4826         (getLocalPort): Merged description with classpath.
4827         (getSoTimeout): Merged description with classpath.
4828         (setSoTimeout): Merged description with classpath.
4829         (getSendBufferSize): Merged description with classpath.
4830         (setSendBufferSize): Merged description with classpath.
4831         (getReceiveBufferSize): Merged description with classpath.
4832         (setReceiveBufferSize): Merged description with classpath.
4833         
4834 2003-01-04  Tom Tromey  <tromey@redhat.com>
4835
4836         * java/awt/List.java: Merged with Classpath.
4837
4838 2003-01-03  Mark Wielaard  <mark@klomp.org>
4839
4840         * java/io/FileDescriptor.java (position): New private field.
4841         * java/io/natFileDescriptorPosix.cc (write): Up position.
4842         (setLength): Use and set position.
4843         (seek): Set position.
4844         (getFilePointer): Return position.
4845         (read): Up position.
4846
4847 2003-01-03  Mark Wielaard  <mark@klomp.org>
4848
4849         Merge with Classpath:
4850         * java/io/ObjectStreamClass.java (lookup): Split method and call
4851         lookupForClassObject().
4852         (lookupForClassObject): New method.
4853         (isProxyClass): New field.
4854         (setClass): Set isProxyClass, add object to classLookupTable, set
4855         superClass and calculateOffsets.
4856         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
4857         and not a proxy class.
4858         (setFields): Set accessible true for serialPersistentFields.
4859         (getClassUID): Same for suid. And check if suid is of type long.
4860         (hasClassInitializer): Don't throw NoSuchMethodError.
4861
4862 2003-01-03  Mark Wielaard  <mark@klomp.org>
4863
4864         * java/io/FileInputStream.java (finalize): Don't explicitly
4865         finalize FileDescriptor.
4866
4867 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
4868
4869         * configure.host (sparc*-*): Enable bytecode interpreter.
4870
4871 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
4872
4873         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
4874         Don't throw RemoteException.
4875         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
4876         throw RemoteException.
4877
4878 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
4879
4880         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
4881         proxyHost): New static fields.
4882         (<clinit>): Initialize new fields.
4883         (connect): Use proxy if necessary.
4884         (usingProxy): Implement.
4885
4886 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
4887
4888         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
4889         (TreeIterator.remove): Prefer IllegalStateException over
4890         ConcurrentModificationException, to match Sun.
4891
4892 2002-12-22  Anthony Green  <green@redhat.com>
4893
4894         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
4895
4896 2003-01-02  Mark Wielaard  <mark@klomp.org>
4897
4898         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
4899         public.
4900         (HTTP_USE_PROXY): Add field.
4901         (getResponseVals): Only set responseCode when not yet explicitly
4902         set by subclass.
4903
4904 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
4905             Mark Wielaard  <mark@klomp.org>
4906
4907         * java/util/zip/ZipFile.java (entries): Now HashMap.
4908         (readLeShort(DataInput, byte[])): Read from given byte array.
4909         (readLeInt(DataInput, byte[]): Likewise.
4910         (readLeShort(byte[] b, int off)): New method.
4911         (readLeInt(byte[] b, int off)): Likewise.
4912         (readEntries): Use byte arrays to read info in bigger chunks.
4913         (getEntries): Return HashMap.
4914         (getEntry): Use HashMap.
4915         (locBuf): New private field.
4916         (checkLocalHeader): Use locBuf to read info in one chunk.
4917         (getInputStream): Use entries HashMap, wrap PartialInputStream
4918         in BufferedInputStream.
4919         (ZipEntryEnumeration): Use HashMap and Interator.
4920
4921 2003-01-02  Mark Wielaard  <mark@klomp.org>
4922             Jeroen Frijters  <jeroen@sumatra.nl>
4923
4924         * java/net/URLClassLoader.java (Resource.getCodeSource):
4925         Fix check certs == null.
4926         (getCanonicalFileURL): Removed method.
4927         (JarURLLoader): Don't call removed method.
4928         (FileURLLoader): Likewise.
4929         (FileURLLoader.getResource): Don't canonicalize file name.
4930
4931 2003-01-01  Tom Tromey  <tromey@redhat.com>
4932
4933         * Makefile.in: Rebuilt.
4934         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
4935         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
4936         java/awt/BufferCapabilities.java, java/awt/Button.java,
4937         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
4938         java/awt/Container.java, java/awt/Cursor.java,
4939         java/awt/EventQueue.java, java/awt/FileDialog.java,
4940         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
4941         java/awt/MenuBar.java, java/awt/MenuComponent.java,
4942         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
4943         java/awt/Scrollbar.java, java/awt/TextArea.java,
4944         java/awt/TextField.java, java/awt/color/CMMException.java,
4945         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
4946         java/awt/color/ProfileDataException.java,
4947         java/awt/datatransfer/Clipboard.java,
4948         java/awt/datatransfer/DataFlavor.java,
4949         java/awt/datatransfer/FlavorMap.java,
4950         java/awt/datatransfer/SystemFlavorMap.java,
4951         java/awt/dnd/DragGestureEvent.java,
4952         java/awt/dnd/DragGestureRecognizer.java,
4953         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
4954         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
4955         java/awt/im/InputMethodHighlight.java,
4956         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
4957         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
4958
4959         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
4960         `op' to BufferedImageOp.
4961
4962 2002-12-31  Tom Tromey  <tromey@redhat.com>
4963
4964         Fix for PR libgcj/7416:
4965         * javax/naming/InitialContext.java (init): Use
4966         gnu.classpath.home.url.
4967         * java/security/Security.java: Use new properties.
4968         (loadProviders): Accept base url; use it.
4969         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
4970         gnu.classpath.home.url.
4971         (gnu.classpath.home.url): Define.
4972         (gnu.classpath.vm.shortname): Likewise.
4973
4974 2002-12-31  Tom Tromey  <tromey@redhat.com>
4975             Ranjit Mathew  <rmathew@hotmail.com>
4976
4977         Fix for PR libgcj/8997:
4978         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
4979         Include platform.h.
4980         * include/posix.h (_Jv_platform_usleep): New function.
4981         * include/win32.h (_Jv_platform_usleep): New function.
4982
4983 2002-12-29  Tom Tromey  <tromey@redhat.com>
4984
4985         * gcj/javaprims.h: Updated.
4986         * scripts/classes.pl (scan): Removed stray semicolon.
4987
4988 2002-12-30  Mark Wielaard  <mark@klomp.org>
4989
4990         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
4991         if zero or smaller.
4992
4993 2002-12-30  Mark Wielaard  <mark@klomp.org>
4994
4995         * java/util/Properties (formatForOutput): Don't fall through to
4996         default case after escaping character.
4997
4998 2002-12-30  Mark Wielaard  <mark@klomp.org>
4999
5000         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5001         against count.
5002
5003 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5004
5005         * boehm.cc: Remove stray semicolon.
5006         * interpret.cc: Likewise.
5007         * prims.cc: Likewise.
5008         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5009         earlier to ensure default arguments are processed.
5010         * gcj/array.h (JArray): Add forward declaration.
5011         (elements): Likewise.
5012         * gcj/javaprim.h: Remove stray semicolons.
5013         * include/bohm-gc.h: Likewise.
5014         * include/jni.h: Likewise.
5015         * include/jvm.h: Likewise.
5016         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5017         
5018 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5019
5020         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5021         of catch_type.
5022         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5023         idt tables after initializing superclass.
5024         * java/lang/natClassLoader.cc (uaddr): New typedef.
5025         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5026         if they are constant pool indicies.  Don't link vtable, otable yet.
5027
5028 2002-12-21  Anthony Green  <green@redhat.com>
5029
5030         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5031         libraries.
5032         * Makefile.in: Rebuilt.
5033
5034 2002-12-19  Anthony Green  <green@redhat.com>
5035
5036         * Makefile.am (ordinary_java_source_files): Add
5037         org/xml/sax/helpers/NewInstance.java.
5038         * Makefile.in: Rebuilt.
5039         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5040         org/xml/sax/helpers/package.html: New files.
5041         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5042         http://www.saxproject.org.
5043
5044 2002-12-19  Andrew Haley  <aph@redhat.com>
5045
5046         * java/util/natResourceBundle.cc: Include
5047         ArrayIndexOutOfBoundsException.h.
5048         (getCallingClassLoader): Don't put upper bound on stack search.
5049         Catch ArrayIndexOutOfBoundsException.
5050
5051 2002-12-19  Tom Tromey  <tromey@redhat.com>
5052
5053         * libtool-version: Increased `current'.
5054
5055 2002-12-19  Tom Tromey  <tromey@redhat.com>
5056
5057         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5058         comment.
5059         * java/lang/ClassLoader.java (defineClass): Use chained
5060         exception when rethrowing.
5061         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5062         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5063         constants.
5064         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5065         (_Jv_PrepareClass): Use it.
5066         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5067         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5068         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5069         (Class): _Jv_PrepareMissingMethods now friend.
5070         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5071         Record `NULL' for system class loader.
5072         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5073         system class loader.
5074         (_Jv_FindClassInCache): Likewise.
5075         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5076         (_Jv_FindClass): Special case system class loader.
5077         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5078         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5079         vtable slots.
5080         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5081         in a final class.
5082         (_getDeclaredMethod): Don't return synthetic methods.
5083         (getDeclaredMethods): Likewise.
5084         (_getMethod): Likewise.
5085         (_getMethods): Likewise.
5086
5087 2002-12-18  Raif Naffah  <raif@fl.net.au>
5088
5089         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5090         canonical form after divide().
5091         (modInverse): Likewise.
5092
5093 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5094             Mark Wielaard  <mark@klomp.org>
5095
5096         * java/security/SecurityRandom (digest): Removed field.
5097         (SecureRandom): Check all providers for case-insensitive SecureRandom
5098         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5099         if necessary.
5100         (getInstance(String,Provider,boolean): New method.
5101         (getInstance(String)): Use new method.
5102         (getInstance(String,String)): Likewise.
5103         (getInstance(String,Provider)): Likewise.
5104
5105 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5106
5107         * java/security/Security.java (loadProviders): Increment i only once.
5108
5109 2002-12-12  Mark Wielaard  <mark@klomp.org>
5110
5111         * java/lang/ClassLoader.java (resolveClass0): Transform
5112         ClassNotFoundException to NoClassDefFoundError. Transform all other
5113         throwables to LinkageError.
5114
5115 2002-12-11  Tom Tromey  <tromey@redhat.com>
5116
5117         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5118
5119         * java/lang/ClassLoader.java (loadedClasses): New field.
5120         (defineClass): Fixed indentation.  Put new class in
5121         loadedClasses.
5122         (findLoadedClass): Implement here.
5123         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5124
5125 2002-12-10  Tom Tromey  <tromey@redhat.com>
5126
5127         * Makefile.in: Rebuilt.
5128         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5129         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5130         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5131         * java/lang/natClassLoader.cc
5132         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5133
5134 2002-12-10  Mark Wielaard  <mark@klomp.org>
5135             Tom Tromey  <tromey@redhat.com>
5136
5137         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5138         (JarURLLoader): Use it.
5139         (FileURLLoader): Likewise.
5140         (JarURLResource.getURL): Use chained exception.
5141         (FileResource.getURL): Likewise.
5142         (FileURLLoader.getResource): Use canonical file name.
5143         (addURL): Indentation fix.
5144
5145 2002-12-10  Tom Tromey  <tromey@redhat.com>
5146
5147         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5148         From Laurent Bardet <l.bardet@magic.fr>.
5149
5150 2002-12-09  Tom Tromey  <tromey@redhat.com>
5151
5152         * include/win32.h (_Jv_platform_solib_prefix): New define.
5153         (_Jv_platform_solib_suffix): Likewise.
5154         * include/posix.h (_Jv_platform_solib_prefix): New define.
5155         (_Jv_platform_solib_suffix): Likewise.
5156         * java/lang/natRuntime.cc: Include StackTrace.h.
5157         (_load): Use findLibrary and new platform defines.
5158         (nativeGetLibname): Use new platform defines.
5159
5160         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5161         `t' won't be null.
5162
5163 2002-12-08  Mark Wielaard  <mark@klomp.org>
5164
5165         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5166         cache remote jar files.
5167         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5168         add File.separator to URL when it is a directory.
5169         * java/lang/ClassLoader.java: Add Classpath javadoc.
5170         (parent): final.
5171         (getParent): Add (disabled) security check.
5172         (findLibrary): New default method.
5173         * java/net/JarURLConnection.java (getManifest): Implement.
5174         (getInputStream): Only create InputStream when entry exists.
5175         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5176         when they exist.
5177         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5178
5179 2002-12-08  Mark Wielaard  <mark@klomp.org>
5180
5181         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5182         (lastDefaultLocale): New field.
5183         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5184         resourceBundleCache.
5185
5186 2002-12-06  Mark Wielaard  <mark@klomp.org>
5187
5188         * java/net/InetAddress.java (toString): Use hostname when not null,
5189         don't do an explicit reverse getHostName() lookup.
5190         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5191         NullPointerException.
5192
5193 2002-12-06  Tom Tromey  <tromey@redhat.com>
5194
5195         * include/java-interp.h (class _Jv_InterpMethod): Added
5196         JV_MARKOBJ_DECL.
5197         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5198         mark `prepared' field of interpreted method.
5199         * interpret.cc (compile): Use _Jv_AllocBytes.
5200
5201 2002-12-05  Andrew Haley  <aph@redhat.com>
5202
5203         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5204         #ifdef (HAVE_BACKTRACE) around the whole function body.
5205
5206 2002-12-05  Tom Tromey  <tromey@redhat.com>
5207
5208         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5209         * resolve.cc: Don't include AbstractMethodError.h.
5210         (_Jv_abstractMethodError): Removed.
5211         * defineclass.cc (handleMethodsBegin): Initialize method index to
5212         -1.
5213         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5214         method index for "new" final method.
5215         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5216         isVirtualMethod.  Added `flags' argument.
5217         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5218         class.
5219
5220 2002-12-04  Tom Tromey  <tromey@redhat.com>
5221
5222         * java/net/SocketPermission.java (hashCode): Rewrote.
5223
5224 2002-12-04  Tom Tromey  <tromey@redhat.com>
5225
5226         * Makefile.in: Rebuilt.
5227         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5228         natResourceBundle.
5229         * java/util/ResourceBundle.java (Security): Removed.
5230         (getCallingClassLoader): Now native.
5231         * java/util/natResourceBundle.cc: New file.
5232         * java/lang/natVMSecurityManager.cc: New file.
5233         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5234
5235 2002-12-03  Mark Wielaard  <mark@klomp.org>
5236
5237         * java/util/jar/JarFile.java (manifest): Not final.
5238         (manifestRead): New field.
5239         (JarFile): Don't read Manifest in constructor.
5240         (getManifest): New method.
5241         (JarEnumeration.nextElement): Use new method.
5242         (getEntry): Likewise.
5243         * java/util/zip/ZipFile.java (name): Final.
5244         (raf): Likewsie.
5245         (entries): Change type to Hashtable.
5246         (closed): New field.
5247         (ZipFile): Don't read enties in constructor.
5248         (readEntries): Use Hashtable.
5249         (close): Set new close flag and set entries to null inside
5250         synchronized block.
5251         (entries): Contruct enumeration using new getEntries() method and
5252         entries Hashtable.
5253         (getEntryIndex): Removed.
5254         (getEntries): New method.
5255         (getEntry): Use new getEntries() method and entries Hastable.
5256         (getInputStream): Likewise.
5257         (size): Return getEntries().size().
5258         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5259         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5260         (time): Removed
5261         (dostime): New field.
5262         (zipFileIndex): Removed.
5263         (ZipEntry(ZipEntry)): Copy dostime.
5264         (setDOSTime): Now final and doesn't convert dos time.
5265         (getDOSTime): Likewise.
5266         (setTime): Convert dos time.
5267         (getTime): Likewise.
5268         (getCalendar): New method.
5269         (setExtra): Use setTime().
5270         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5271
5272 2002-12-03  Tom Tromey  <tromey@redhat.com>
5273
5274         * java/lang/Character.java (forDigit): Formatting fix.
5275
5276 2002-12-03  Raif Naffah  <raif@fl.net.au>
5277
5278         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5279         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5280         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5281
5282 2002-12-03  Andrew Haley  <aph@redhat.com>
5283
5284         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5285         _Jv_PushClass.
5286         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5287         (_Jv_PopClass): New.
5288         (_Jv_PushClass): New.
5289         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5290         discover the ClassLoader of our caller.
5291         (_Jv_CheckArrayStore): Don't check that a class is assignment
5292         compatible with Object.
5293         * java/lang/natVMTHrowable.cc: Delete.
5294         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5295         java.lang.VMThrowable.
5296         (StackTrace(), StackTrace(int)): New constructors.
5297         (classAt, methodAt, update, methodAtAddress): New methods.
5298         (map): New field.
5299         * java/lang/VMThrowable.java: Use StackTrace instead of
5300         natVMTHrowable.
5301         * java/lang/Class.h (getClassLoaderInternal): New.
5302         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5303         Be friendly with gnu::gcj::runtime::StackTrace.
5304         (Object.chain): New field.
5305         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5306         gnu::gcj::runtime::StackTrace.
5307         * gnu/gcj/runtime/natStackTrace.cc: New file.
5308         * gnu/gcj/runtime/MethodRef.java: New file.
5309         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5310         instead of getClassLoader().
5311         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5312         java::lang::VMThrowable.
5313         * Makefile.am (core_java_source_files): Add MethodRef.java,
5314         StackTrace.java.
5315         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5316         * Makefile.in: Rebuild.
5317
5318 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5319
5320         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5321         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5322         yes also for sh-linux* and sh[34]*-linux*.
5323         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5324         set SIGNAL_HANDLER to use DWARF2 exception for them.
5325         * configure: Regenerate.
5326
5327 2002-12-02  Tom Tromey  <tromey@redhat.com>
5328
5329         * jni.cc: Added `name' argument.
5330         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5331         `const char *' argument.
5332         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5333
5334 2002-12-01  Tom Tromey  <tromey@redhat.com>
5335
5336         Bug compatibility, for PR libgcj/8738:
5337         * java/io/CharArrayWriter.java (close): Do nothing.
5338         (flush): Likewise.
5339         (reset): Don't touch `closed'.
5340         (write(int)): Don't throw IOException.
5341         (write(char[],int,int)): Likewise.
5342         (write(String,int,int)): Likewise.
5343         (closed): Removed.
5344
5345 2002-12-01  Mark Wielaard  <mark@klomp.org>
5346
5347         * java/lang/SecurityManager.java: Remerge comments, indenting and
5348         checkXXX methods with Classpath.
5349
5350 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5351
5352         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5353         getNormalizedComponents): Fix calculation which was using one too
5354         many bits in the unnormalized format.
5355
5356 2002-11-29  Gary Benson  <gbenson@redhat.com>
5357
5358         For PR libgcj/8759:
5359         * java/beans/Introspector.java (flushCaches): New method.
5360         (flushFromCaches): Likewise.
5361
5362 2002-11-29  Michael Koch <konqueror@gmx.de>
5363
5364         * java/nio/channels/DatagramChannel.java
5365         (open): Added exception documentation.
5366         (write): Added exception documentation.
5367         (connect): Added exception documentation.
5368         (disconnect): Added exception documentation.
5369         (isConnected): Added exception documentation.
5370         (read): Added exception documentation.
5371         (receive): Added exception documentation.
5372         (send): Added exception documentation.
5373         (validOps): Added exception documentation.
5374         * java/nio/channels/SocketChannel.java
5375         (open): Added exception documentation.
5376         (read): Added exception documentation.
5377         (write): Added exception documentation.
5378         (connect): Added exception documentation.
5379         (finishConnect): Added exception documentation.
5380
5381 2002-11-29  Michael Koch <konqueror@gmx.de>
5382
5383         * gnu/java/nio/DatagramChannelImpl:
5384         (fd): New member variable to store file descriptor of socket.
5385         * gnu/java/nio/SelectionKeyImpl.java:
5386         (ops): Removed.
5387         (readyOps): New member variable.
5388         (interestOps): New member variable.
5389         (readyOps): Implemented.
5390         (readyOps): New method to set member variable readyOps.
5391         (interestOps): Replaced ops by interestOps.
5392         * gnu/java/nio/SelectorImpl.java:
5393         (SelectorImpl): Initialize key sets.
5394         (select): Call select with -1 instead of Long.MAX_VALUE).
5395         (java_do_select): Make it a native method.
5396         (getFDsAsArray): New helper method.
5397         (select): Remove canceled keys, give only interested file discriptors
5398         to java_do_select, set ready ops.
5399         (add): No need to initialize keys set here.
5400         (add_selected): No need to initialize selected set here.
5401         (deregisterCanceledKeys): New helper method.
5402         (register): Set interest ops, set attachments, added handling of datagram
5403         channels.
5404         * gnu/java/nio/ServerSocketChannelImpl:
5405         (SocketAccept): Renamed from NioSocketAccept.
5406         (implConfigureBlocking): Implemented.
5407         (accept): Use SocketAccept instead of NioSocketAccept.
5408         * gnu/java/nio/SocketChannelImpl:
5409         Reactivate native methods.
5410
5411 2002-11-29  Michael Koch <konqueror@gmx.de>
5412
5413         * gnu/java/nio/natByteBufferImpl.cc,
5414         gnu/java/nio/natCharBufferImpl.cc,
5415         gnu/java/nio/natDoubleBufferImpl.cc,
5416         gnu/java/nio/natFloatBufferImpl.cc,
5417         gnu/java/nio/natIntBufferImpl.cc,
5418         gnu/java/nio/natLongBufferImpl.cc,
5419         gnu/java/nio/natSelectorImpl.cc,
5420         gnu/java/nio/natServerSocketChannelImpl.cc,
5421         gnu/java/nio/natShortBufferImpl.cc,
5422         gnu/java/nio/natSocketChannelImpl.cc:
5423         New files that implement native functionalities.
5424
5425 2002-11-29  Michael Koch <konqueror@gmx.de>
5426
5427         * gnu/java/nio/ByteBufferImpl.java
5428         (ByteBufferImpl): Moved position() after limit.
5429         (nio_*): Use native implementation.
5430         * gnu/java/nio/CharBufferImpl.java:
5431         Reformated.
5432         (endian): New member variable string endianess of buffer.
5433         (CharBufferImpl): Moved position() after limit.
5434         (nio_*): Use native implementation.
5435         (subSequence): Implemented.
5436         * gnu/java/nio/DoubleBufferImpl.java
5437         (DoubleBufferImpl): Moved position() after limit.
5438         (nio_*): Use native implementation.
5439         * gnu/java/nio/FloatBufferImpl.java
5440         Reformated.
5441         (FloatBufferImpl): Moved position() after limit.
5442         (nio_*): Use native implementation.
5443         * gnu/java/nio/IntBufferImpl.java
5444         Added needed imports, Reformated.
5445         (IntBufferImpl): Moved position() after limit.
5446         (nio_*): Use native implementation.
5447         * gnu/java/nio/LongBufferImpl.java
5448         Reformated.
5449         (LongBufferImpl): Moved position() after limit.
5450         (nio_*): Use native implementation.
5451         * gnu/java/nio/ShortBufferImpl.java
5452         Reformated.
5453         (ShortBufferImpl): Moved position() after limit.
5454         (nio_*): Use native implementation.
5455
5456 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5457
5458         * java/util/Locale.java (toString): Improve efficiency if country
5459         and variant are both empty.
5460
5461 2002-11-26  Tom Tromey  <tromey@redhat.com>
5462
5463         * verify.cc (pop_init_ref): New method.
5464         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5465         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5466         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5467         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5468         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5469         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5470         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5471         let `this' argument be uninitialized.  Don't let `null' be passed
5472         as `this' to construtor.
5473
5474 2002-11-26  Mark Wielaard  <mark@klomp.org>
5475
5476         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5477         * javax/transaction/HeuristicMixedException.java: Likewise.
5478         * javax/transaction/HeuristicRollbackException.java: Likewise.
5479         * javax/transaction/InvalidTransactionException.java: Likewise.
5480         * javax/transaction/NotSupportedException.java: Likewise.
5481         * javax/transaction/RollbackException.java: Likewise.
5482         * javax/transaction/Status.java: Likewise.
5483         * javax/transaction/Synchronization.java: Likewise.
5484         * javax/transaction/SystemException.java: Likewise.
5485         * javax/transaction/Transaction.java: Likewise.
5486         * javax/transaction/TransactionManager.java: Likewise.
5487         * javax/transaction/TransactionRequiredException.java: Likewise.
5488         * javax/transaction/TransactionRolledbackException.java: Likewise.
5489         * javax/transaction/UserTransaction.java: Likewise.
5490         * javax/transaction/xa/XAException.java: Likewise.
5491         * javax/transaction/xa/XAResource.java: Likewise.
5492         * javax/transaction/xa/Xid.java: Likewise.
5493
5494 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5495
5496         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5497         define.
5498         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5499         * include/posix.h (socklen_t): Define if not already defined.
5500
5501 2002-11-25  Tom Tromey  <tromey@redhat.com>
5502
5503         * verify.cc (type::compatible): Backed out broken change.
5504
5505         * verify.cc (type::compatible): Check initialization status
5506         first.
5507         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5508         Don't use NULLCHECK.
5509
5510 2002-11-23  H.J. Lu <hjl@gnu.org>
5511
5512         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5513         Include ../config/accross.m4.
5514         * aclocal.m4; Rebuild.
5515         * configure: Likewise.
5516
5517 2002-11-23  Mark Wielaard  <mark@klomp.org>
5518
5519         * javax/naming/AuthenticationException.java: Update copyright header.
5520         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5521         * javax/naming/Binding.java: Likewise.
5522         * javax/naming/CannotProceedException.java: Likewise.
5523         * javax/naming/CommunicationException.java: Likewise.
5524         * javax/naming/CompositeName.java: Likewise.
5525         * javax/naming/CompoundName.java: Likewise.
5526         * javax/naming/ConfigurationException.java: Likewise.
5527         * javax/naming/Context.java: Likewise.
5528         * javax/naming/ContextNotEmptyException.java: Likewise.
5529         * javax/naming/InitialContext.java: Likewise.
5530         * javax/naming/InsufficientResourcesException.java: Likewise.
5531         * javax/naming/InterruptedNamingException.java: Likewise.
5532         * javax/naming/LimitExceededException.java: Likewise.
5533         * javax/naming/LinkException.java: Likewise.
5534         * javax/naming/LinkLoopException.java: Likewise.
5535         * javax/naming/LinkRef.java: Likewise.
5536         * javax/naming/MalformedLinkException.java: Likewise.
5537         * javax/naming/NameAlreadyBoundException.java: Likewise.
5538         * javax/naming/NameClassPair.java: Likewise.
5539         * javax/naming/NameNotFoundException.java: Likewise.
5540         * javax/naming/NameParser.java: Likewise.
5541         * javax/naming/NamingEnumeration.java: Likewise.
5542         * javax/naming/NamingSecurityException.java: Likewise.
5543         * javax/naming/NoInitialContextException.java: Likewise.
5544         * javax/naming/NoPermissionException.java: Likewise.
5545         * javax/naming/NotContextException.java: Likewise.
5546         * javax/naming/OperationNotSupportedException.java: Likewise.
5547         * javax/naming/PartialResultException.java: Likewise.
5548         * javax/naming/Reference.java: Likewise.
5549         * javax/naming/Referenceable.java: Likewise.
5550         * javax/naming/ReferralException.java: Likewise.
5551         * javax/naming/ServiceUnavailableException.java: Likewise.
5552         * javax/naming/SizeLimitExceededException.java: Likewise.
5553         * javax/naming/TimeLimitExceededException.java: Likewise.
5554         * javax/naming/directory/Attribute.java: Likewise.
5555         * javax/naming/directory/AttributeInUseException.java: Likewise.
5556         * javax/naming/directory/AttributeModificationException.java: Likewise.
5557         * javax/naming/directory/Attributes.java: Likewise.
5558         * javax/naming/directory/BasicAttribute.java: Likewise.
5559         * javax/naming/directory/BasicAttributes.java: Likewise.
5560         * javax/naming/directory/DirContext.java: Likewise.
5561         * javax/naming/directory/InitialDirContext.java: Likewise.
5562         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5563         Likewise.
5564         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5565         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5566         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5567         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5568         * javax/naming/directory/ModificationItem.java: Likewise.
5569         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5570         * javax/naming/directory/SchemaViolationException.java: Likewise.
5571         * javax/naming/directory/SearchControls.java: Likewise.
5572         * javax/naming/directory/SearchResult.java: Likewise.
5573         * javax/naming/event/EventContext.java: Likewise.
5574         * javax/naming/event/EventDirContext.java: Likewise.
5575         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5576         * javax/naming/event/NamingEvent.java: Likewise.
5577         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5578         * javax/naming/event/NamingListener.java: Likewise.
5579         * javax/naming/event/ObjectChangeListener.java: Likewise.
5580         * javax/naming/ldap/Control.java: Likewise.
5581         * javax/naming/ldap/ControlFactory.java: Likewise.
5582         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5583         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5584         * javax/naming/ldap/HasControls.java: Likewise.
5585         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5586         * javax/naming/ldap/LdapContext.java: Likewise.
5587         * javax/naming/ldap/LdapReferralException.java: Likewise.
5588         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5589         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5590         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5591         * javax/naming/spi/DirObjectFactory.java: Likewise.
5592         * javax/naming/spi/DirStateFactory.java: Likewise.
5593         * javax/naming/spi/DirectoryManager.java: Likewise.
5594         * javax/naming/spi/InitialContextFactory.java: Likewise.
5595         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5596         * javax/naming/spi/NamingManager.java: Likewise.
5597         * javax/naming/spi/ObjectFactory.java: Likewise.
5598         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5599         * javax/naming/spi/ResolveResult.java: Likewise.
5600         * javax/naming/spi/Resolver.java: Likewise.
5601         * javax/naming/spi/StateFactory.java: Likewise.
5602
5603         * javax/naming/spi/NamingManager.java (ofb): Package private.
5604
5605 2002-11-21  Mark Wielaard  <mark@klomp.org>
5606
5607         * java/net/URL.java: Merge with Classpath (partly).
5608         * java/net/URLStreamHandler: Merge with Classpath.
5609
5610 2002-11-22  Michael Koch <konqueror@gmx.de>
5611
5612         * include/posix.h:
5613         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5614         * include/win32.h:
5615         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5616         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5617
5618 2002-11-21  Michael Koch <konqueror@gmx.de>
5619
5620         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5621         Only the new network functions should be in it.
5622
5623 2002-11-21  Michael Koch <konqueror@gmx.de>
5624
5625         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5626         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5627
5628 2002-11-21  Michael Koch <konqueror@gmx.de>
5629
5630         * java/nio/channels/AsynchronousCloseException.java,
5631         java/nio/channels/CancelledKeyException.java,
5632         java/nio/channels/ClosedByInterruptException.java,
5633         java/nio/channels/ConnectionPendingException.java,
5634         java/nio/channels/FileLockInterruptionException.java,
5635         java/nio/channels/IllegalSelectorException.java,
5636         java/nio/channels/NoConnectionPendingException.java,
5637         java/nio/channels/NonReadableChannelException.java,
5638         java/nio/channels/NonWritableChannelException.java,
5639         java/nio/channels/NotYetBoundException.java,
5640         java/nio/channels/NotYetConnectedException.java,
5641         java/nio/channels/OverlappingFileLockException.java,
5642         java/nio/channels/UnresolvedAddressException.java,
5643         java/nio/channels/UnsupportedAddressTypeException.java:
5644         New files.
5645         * Makefile.am (ordinary_java_source_files): Added new files.
5646         * Makefile.in: Regenerated.
5647
5648 2002-11-21  Michael Koch <konqueror@gmx.de>
5649
5650         * include/posix.h
5651         (_Jv_socket): New method.
5652         (_Jv_connect): New method.
5653         (_Jv_close): New method.
5654         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5655         (_Jv_bind): New method.
5656         (_Jv_listen): New method.
5657         (_Jv_write): New method.
5658         (_Jv_read): New method.
5659         * include/win32.h
5660         (_Jv_socket): New method.
5661         (_Jv_connect): New method.
5662         (_Jv_close): New method.
5663         (_Jv_bind): New method.
5664         (_Jv_listen): New method.
5665         (_Jv_write): New method.
5666         (_Jv_read): New method.
5667         * java/net/natNetworkInterface.cc:
5668         Include platform.h, removed inclusion of socket.h
5669         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5670         ::close() by _Jv_close().
5671         * java/net/natPlainDatagramSocketImpl.cc:
5672         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5673         added some new lines to make code more readable.
5674         (create): Replaced ::socket() by _Jv_socket().
5675         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5676         * java/net/natPlainSocketImpl.cc:
5677         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5678         removed include of socket.h, removed some windows defines
5679         (now in include/win32.h).
5680         (create): Replaced ::socket() by _Jv_socket().
5681         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5682         (write): Replaced ::read by _Jv_write().
5683         (read): Replaced ::read by _Jv_read().
5684
5685 2002-11-20  Michael Koch <konqueror@gmx.de>
5686
5687         * Makefile.am (ordinary_java_source_files):
5688         Added java/nio/channels/FileChannel.java.
5689         * Makefile.in: Regenerated.
5690
5691 2002-11-20  Michael Koch <konqueror@gmx.de>
5692
5693         * java/io/FileInputStream.java
5694         (getChannel): New method.
5695         * java/io/FileOutputStream.java
5696         (getChannel): New method.
5697         * java/net/ServerSocket.java
5698         (bind): Removed duplicate code and called another bind method instead.
5699         * java/nio/channels/SelectionKey.java
5700         (isValid): Removed wrong exception documentation.
5701         * java/nio/channels/ServerSocketChannel.java
5702         (accept): Added exception documentation.
5703         (open): Fixed typo, added exception documentation.
5704         * java/nio/channels/spi/AbstractSelectableChannel.java
5705         (implCloseChannel): Added exception documentation.
5706         (add): Reformated.
5707         (register): Added exception documentation.
5708
5709 2002-11-20  Andreas Jaeger  <aj@suse.de>
5710
5711         * configure: Regenerated with new libtool.m4.
5712
5713 2002-11-19  Tom Tromey  <tromey@redhat.com>
5714
5715         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5716         `referent'.
5717         (finalize_referred_to_object): Don't modify `referent' or `copy'
5718         fields.
5719         (add_to_hash): Correctly set `n->next' when updating list.
5720         * java/lang/ref/Reference.java (enqueue): Return false if already
5721         enqueued.
5722
5723 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5724
5725         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5726         to function and function pointer declarations in accordance with
5727         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5728         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5729         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5730         JNI function definitions.
5731
5732 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5733
5734         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5735         that was causing CoderResults to be cached, not WeakReferences
5736         to CoderResults.
5737
5738 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5739
5740         * java/security/KeyStore.java (getInstance): Fix
5741         comment and throw IllegalArgumentException if
5742         given provider is null.
5743         (getInstance): New method for jdk1.4 compatibility.
5744
5745 2002-11-18  Michael Koch <konqueror@gmx.de>
5746
5747         * java/net/PlainSocketImpl.java: Fix imports.
5748
5749 2002-11-18  Michael Koch <konqueror@gmx.de>
5750
5751         * java/nio/channels/SelectionKey.java
5752         (isValid): Added exception documentation.
5753         * java/nio/channels/Selector.java
5754         (open): Declare "throws IOException".
5755
5756 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5757
5758         * java/nio/charset/Charset.java
5759         (<clinit>): New method.
5760         (encode): Synchronize use of cached encoder object.
5761         (decode): Synchronize use of cached encoder object.
5762
5763 2002-11-18  Michael Koch <konqueror@gmx.de>
5764
5765         * gnu/java/nio/ByteBufferImpl.java,
5766         gnu/java/nio/CharBufferImpl.java,
5767         gnu/java/nio/DatagramChannelImpl.java,
5768         gnu/java/nio/DoubleBufferImpl.java,
5769         gnu/java/nio/FileChannelImpl.java,
5770         gnu/java/nio/FloatBufferImpl.java,
5771         gnu/java/nio/IntBufferImpl.java,
5772         gnu/java/nio/LongBufferImpl.java,
5773         gnu/java/nio/PipeImpl.java,
5774         gnu/java/nio/SelectionKeyImpl.java,
5775         gnu/java/nio/SelectorImpl.java,
5776         gnu/java/nio/SelectorProviderImpl.java,
5777         gnu/java/nio/ServerSocketChannelImpl.java,
5778         gnu/java/nio/ShortBufferImpl.java,
5779         gnu/java/nio/SocketChannelImpl.java,
5780         java/nio/DoubleBuffer.java,
5781         java/nio/FloatBuffer.java,
5782         java/nio/IntBuffer.java,
5783         java/nio/LongBuffer.java,
5784         java/nio/ShortBuffer.java,
5785         java/nio/channels/FileChannel.java: New files.
5786
5787 2002-11-18  Michael Koch <konqueror@gmx.de>
5788
5789         * Makefile.am (ordinary_java_source_files):
5790         Added java/nio/ReadOnlyBufferException.java and
5791         java/nio/channels/ClosedSelectorException.java.
5792         * Makefile.in: Regenerated.
5793
5794 2002-11-18  Michael Koch <konqueror@gmx.de>
5795
5796         * java/net/PlainSocketImpl.java: Reworked imports.
5797         * java/net/ServerSocket.java
5798         (ServerSocket): Create socket.
5799         * java/net/SocketAddress.java: Documentation added.
5800         * java/net/natPlainSocketImpl.cc: Reindented.
5801         * java/nio/ReadOnlyBufferException.java: New file
5802         * java/nio/channels/ClosedChannelException.java: Documentation added.
5803         * java/nio/channels/ClosedSelectorException.java: New file.
5804
5805 2002-11-17  Mark Wielaard  <mark@klomp.org>
5806
5807         * java/net/HttpURLConnection.java ((getPermission): Take port
5808         into consideration.
5809         (getErrorStream): Implement.
5810
5811 2002-11-17  Mark Wielaard  <mark@klomp.org>
5812
5813         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
5814
5815 2002-11-16  Mark Wielaard  <mark@klomp.org>
5816
5817         Integrate work by Raif S. Naffah (raif@fl.net.au)
5818         * java/security/DummyKeyPairGenerator.java (clone): New method.
5819         * java/security/DummyMessageDigest.java (clone): New method.
5820         (engineUpdate): Now public.
5821         (engineReset): Likewise.
5822         (engineDigest): Likewise.
5823         (engineGetDigestLength): New method.
5824         * java/security/DummySignature.java (clone): New method.
5825         * java/security/KeyPairGenerator.java (provider): Now package private.
5826         (getInstance(String)): Use getInstance(String,Provider).
5827         (getInstance(String,String): Use getInstance(String,Provider)
5828         (getInstance(String,Provider): New method.
5829         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
5830         * java/security/KeyPairGeneratorSpi.java (clone): New method.
5831         * java/security/MessageDigest.java (provider): Now package private.
5832         (getInstance(String): Use getInstance(String,Provider).
5833         (getInstance(String,String): Use getInstance(String,Provider)
5834         (getInstance(String,Provider): New method.
5835         * java/security/Provider.java (toCanonicalKey): New method.
5836         (get): New method that uses toCanonicalKey().
5837         (put): Use toCanonicalKey().
5838         (remove): Likewise.
5839         * java/security/Security.java (insertProviderAt): Provider index is one
5840         based, not zero based.
5841         (addProvider): Likewise.
5842         (removeProvider): Likewise.
5843         * java/security/Signature.java (provider): Now package private.
5844         (getInstance(String)): Use getInstance(String,Provider).
5845         (getInstance(String,String): Use getInstance(String,Provider)
5846         (getInstance(String,Provider): New method.
5847         (getInstance(String,String,Provider): Don't cast DummySignature.
5848
5849 2002-11-15  Tom Tromey  <tromey@redhat.com>
5850
5851         For PR libgcj/8593:
5852         * java/util/zip/GZIPInputStream.java (read): Check file size.
5853         Look in inflater for remaining input bytes.
5854         (read4): Added buf and offset arguments.
5855
5856 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
5857
5858         * java/applet/AppletContext.java: Fix typo and remove redundant
5859         modifiers.
5860
5861 2002-11-14  Tom Tromey  <tromey@redhat.com>
5862
5863         * java/lang/natRuntime.cc (insertSystemProperties): Set
5864         gnu.classpath.home.
5865
5866 2002-11-13  Michael Koch <konqueror@gmx.de>
5867
5868         * java/nio/ByteBuffer.java
5869         (allocate): New method.
5870         (wrap): New method.
5871         (put): New method.
5872         (get): New method.
5873
5874 2002-11-13  Michael Koch <konqueror@gmx.de>
5875
5876         * java/nio/channels/AlreadyConnectedException.java:
5877         Removed unneeded import.
5878         (AlreadyConnectedException): Documentation added.
5879         * java/nio/channels/Pipe.java
5880         (SinkChannel.SinkChannel): Documentation added.
5881         (SinkChannel.validOps): New method.
5882         (SourceChannel.SourceChannel): Documentation added.
5883         (SourceChannel.validOps): New method.
5884         (Pipe): Documentation added.
5885         (open): Documentation added.
5886         (SinkChannel.channel): Documentation added.
5887         (SourceChannel.channel): Documentation added.
5888         * java/nio/channel/SelectableChannel.java
5889         (SelectableChannel): Documentation added.
5890         (blockingLock): Documentation added.
5891         (configureBlocking):Documentation added.
5892         (isBlocking):Documentation added.
5893         (isRegistered):Documentation added.
5894         (keyFor):Documentation added.
5895         (provider):Documentation added.
5896         (register): Documentation added.
5897         (validOps): Documentation added.
5898         * jaba/nio/channels/SelectionKey.java
5899         (SelectionKey): Documentation added.
5900         (attach): Documentation added.
5901         (attachment): Documentation added.
5902         (isAcceptable): Documentation added.
5903         (isConnetable): Documentation added.
5904         (isReadable): Documentation added.
5905         (isWritable): Documentation added.
5906         (cancel): Documentation added.
5907         (channel): Documentation added.
5908         (interestOps): Documentation added.
5909         (isValid): Documentation added.
5910         (readyOps): Documentation added.
5911         (selector): Documentation added.
5912         * jaba/nio/channels/Selector.java
5913         (Selector): Documentation added.
5914         (open): Documentation added.
5915         (close): Documentation added.
5916         (isOpen): Documentation added.
5917         (keys): Documentation added.
5918         (provider): Documentation added.
5919         (select): Documentation added.
5920         (selectedKeys): Documentation added.
5921         (selectNow): Documentation added.
5922         (wakeup): Documentation added.
5923         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5924         (AbstractInterruptibleChannel): Documentation added.
5925         (opened): Default to true;
5926         (begin): Documentation added.
5927         (close): Set opened to false, documentation added.
5928         (isOpen): Documentation added.
5929         * java/nio/channels/spi/AbstractSelectionKey.java
5930         (AbstractSelectionKey): Documentation added.
5931         (cancel): Documentation added.
5932         (isValid): Documentation added.
5933         * java/nio/channels/spi/AbstractSelector.java
5934         (AbstractSelector): Documentation added.
5935         (begin): Documentation added.
5936         (close): Documentation added.
5937         (isOpen): Documentation added.
5938         (deregister): Documentation added.
5939         (end): Documentation added.
5940         (provider): Documentation added.
5941         (implCloseSelector): Documentation added.
5942         (register): Documentation added.
5943         * java/nio/channels/spi/SelectorProvider.java
5944         (SelectorProvider): Documentation added.
5945         (openDatagramChannel): Documentation added.
5946         (openPipe): Documentation added.
5947         (openSelector): Documentation added.
5948         (openServerSocketChannel): Documentation added.
5949         (openSocketChannel): Documentation added.
5950         (provider): Documentation added.
5951
5952 2002-11-12  Michael Koch <konqueror@gmx.de>
5953
5954         * java/nio/Buffer.java: Implemented.
5955         * java/nio/CharBuffer.java: New file.
5956         * java/nio/InvalidMarkException.java: New file.
5957         * java/nio/channels/DatagramChannel.java: Implemented.
5958         * java/nio/channels/ServerSocketChannel.java: Implemented.
5959         * java/nio/channels/SocketChannel.java: Implemented.
5960         * java/nio/channels/spi/AbstractChannel.java: Removed.
5961         * java/nio/channels/spi/AbstractSelectableChannel.java:
5962         Implemented.
5963         * java/nio/charset/Charset.java:
5964         Merge from Classpath.
5965         * java/nio/charset/CharsetDecoder.java: New file.
5966         * java/nio/charset/CharsetEncoder.java: New file.
5967         * java/nio/charset/CoderResult.java: New file.
5968         * Makefile.am (ordinary_java_source_files): Added new files.
5969         * Makefile.in: Regenerated.
5970
5971 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5972
5973         * gnu/java/nio/charset/ISO_8859_1.java,
5974         gnu/java/nio/charset/Provider.java,
5975         gnu/java/nio/charset/US_ASCII.java,
5976         gnu/java/nio/charset/UTF_16.java,
5977         gnu/java/nio/charset/UTF_16BE.java,
5978         gnu/java/nio/charset/UTF_16Decoder.java,
5979         gnu/java/nio/charset/UTF_16Encoder.java,
5980         gnu/java/nio/charset/UTF_16LE.java,
5981         gnu/java/nio/charset/UTF_8.java: New files.
5982
5983 2002-11-11  Michael Koch <konqueror@gmx.de>
5984
5985         * java/nio/charset/CharacterCodingException.java:
5986         This class must be public.
5987         * java/nio/charset/CoderMalfunctionError.java:
5988         This class must be public.
5989         * java/nio/charset/CodingErrorAction.java:
5990         This class must be public.
5991         * java/nio/charset/IllegalCharsetNameException.java:
5992         This class must be public, better implementation.
5993         * java/nio/charset/MalformedInputException.java:
5994         This class must be public, better implementation.
5995         * java/nio/charset/UnmappableCharacterException.java:
5996         This class must be public, better implementation.
5997         * java/nio/charset/UnsupportedCharsetException.java:
5998         This class must be public, better implementation.
5999
6000 2002-11-11  Michael Koch <konqueror@gmx.de>
6001
6002         * java/nio/BufferOverflowException.java,
6003         java/nio/BufferUnderflowException.java: New file.
6004         * Makefile.am (ordinary_java_source_files):
6005         Added new files.
6006         * Makefile.in: Regenerated.
6007
6008 2002-11-10  Tom Tromey  <tromey@redhat.com>
6009
6010         * java/awt/Container.java (validate): Use tree lock.
6011         (getComponent): Likewise.
6012         (getComponents): Likewise.
6013         (addImpl): Likewise.
6014         (remove): Likewise.
6015         (removeAll): Likewise.
6016         (processEvent): Fixed indentation.
6017         (getComponentAt): Use tree lock.
6018         (findComponentAt): Likewise.
6019         (removeNotify): Likewise.
6020         (isAncestorOf): Likewise.
6021         (list): Likewise.
6022         (visitChildren): Likewise.
6023         (findNextFocusComponent): Likewise.
6024         (addNotifyContainerChildren): Likewise.
6025         (getAccessibleChildrenCount): Likewise.
6026         (getAccessibleChild): Likewise.
6027
6028         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6029         (getSize): Likewise.
6030         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6031         (getSize): Likewise.
6032         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6033         (calcSize): Likewise.
6034         * java/awt/CardLayout.java (getSize): Use tree lock.
6035         (gotoComponent): Likewise.
6036         (layoutContainer): Likewise.
6037
6038         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6039         count is 0.
6040         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6041         count is 0.
6042
6043         * java/io/Externalizable.java, java/io/FilePermission.java,
6044         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6045         java/io/SerializablePermission.java, java/text/Format.java,
6046         java/util/AbstractMap.java, java/util/HashMap.java,
6047         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6048         versions from Classpath.
6049
6050 2002-11-10  Anthony Green  <green@redhat.com>
6051
6052         * java/util/jar/Attributes.java (Name): Fix name check.
6053
6054 2002-11-10  Mark Wielaard  <mark@klomp.org>
6055
6056         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6057         with getName() as message.
6058         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6059         type as message.
6060
6061         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6062         unused.
6063
6064 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6065
6066         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6067         for Win32. JNICALL has been defined to __stdcall to be compatible
6068         with Sun's JDKs.
6069
6070 2002-11-10  Tom Tromey  <tromey@redhat.com>
6071
6072         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6073         (setRows): Check newRows, not rows.
6074
6075         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6076
6077 2002-11-09  Tom Tromey  <tromey@redhat.com>
6078
6079         * java/applet/Applet.java, java/applet/AppletContext.java,
6080         java/applet/AppletStub.java, java/applet/AudioClip.java,
6081         java/awt/CardLayout.java,
6082         java/awt/ContainerOrderFocusTraversalPolicy.java,
6083         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6084         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6085         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6086         java/awt/color/ICC_ColorSpace.java,
6087         java/awt/color/ICC_Profile.java,
6088         java/awt/color/ICC_ProfileGray.java,
6089         java/awt/color/ICC_ProfileRGB.java,
6090         java/awt/datatransfer/DataFlavor.java,
6091         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6092         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6093         New versions from Classpath.
6094         * Makefile.in: Rebuilt.
6095         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6096         ICC_ProfileRGB.
6097
6098         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6099         display policy.
6100
6101         * java/awt/List.java (processEvent): Added missing `else's.
6102
6103         * java/awt/Window.java (show): validate() before showing.  Make
6104         parent displayable.
6105         (isDisplayable): New method.
6106
6107 2002-11-07  Mark Wielaard  <mark@klomp.org>
6108
6109         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6110         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6111
6112         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6113         annotation.
6114         (loadClass): Take String as codebases.
6115         (getClassAnnotation): Use MyClassLoader annotations.
6116         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6117         call exportObject(this).
6118
6119         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6120         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6121         (setAnnotation): Don't set locBytesStream and locStream.
6122         (replaceObject): Removed.
6123         (flush): Don't test locStream.
6124         (getLocBytes): LikeWise.
6125         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6126         (leaseCache): New field.
6127         (dirty): Use leaseCache.
6128         (LeaseRecord): New inner class.
6129         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6130         explicitly call exportObject().
6131         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6132         false to communicate with Sun JDK130.
6133         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6134         * gnu/java/rmi/server/RMIObjectInputStream.java
6135         (UnicastConnectionManager): Removed field.
6136         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6137         Use UnicastServer.getExportedRef().
6138         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6139         (expireTime): Likewise.
6140         (CONNECTION_TIMEOUT): Likewise.
6141         (disconnect): Call sock.close().
6142         (isExpired): New method.
6143         (resetTime): Likewise.
6144         (run): Use do while loop and catch Exception for discardConnection().
6145         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6146         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6147         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6148         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6149         (exportObject): Use refcache.
6150         (unexportObject): Likewise.
6151         (getExportedRef): New method.
6152         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6153         constructor.
6154         (exportObject): Save manager.serverobj.
6155         (getStub): New method.
6156
6157 2002-11-07  Mark Wielaard  <mark@klomp.org>
6158
6159         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6160         (getByte): Likewise.
6161         (getShort): Likewise.
6162         (getInt): Likewise.
6163         (getLong): Likewise.
6164         (getFloat): Likewise.
6165         (getDouble): Likewise.
6166         (get): Likewise.
6167         (setChar): Likewise.
6168         (setByte): Likewise.
6169         (setShort): Likewise.
6170         (setInt): Likewise.
6171         (setLong): Likewise.
6172         (setFloat): Likewise.
6173         (setDouble): Likewise.
6174
6175 2002-11-07  Michael Koch <konqueror@gmx.de>
6176
6177         * java/awt/Choice.java,
6178         java/awt/Container.java,
6179         java/awt/GridBagLayout.java:
6180         Fixed documentation.
6181         * java/awt/peer/ContainerPeer.java:
6182         Reindented.
6183
6184 2002-11-07  Michael Koch <konqueror@gmx.de>
6185
6186         * java/awt/color/ICC_Profile.java:
6187         Added missing constants.
6188         * java/awt/color/ICC_ColorSpace.java
6189         (getMinValue): Added dummy implementation.
6190         (getMaxValue): Added dummy implementation.
6191         * java/awt/datatransfer/DataFlavor.java
6192         (imageFlavor): Added.
6193         (isMimeTypeEqual): Must be final.
6194         (getDefaultRepresentationClass): Must be non-static.
6195         (getDefaultRepresentationClassAsString): Must be non-static.
6196         * java/awt/dnd/DragSourceContext.java
6197         (dragExit): Corrected argument.
6198         (dragDropEnd): Corrected argument.
6199         * java/awt/dnd/DragSourceListener.java.java
6200         (dragExit): Corrected argument.
6201         (dragDropEnd): Corrected argument.
6202         * java/awt/font/TextHitInfo.java
6203         (toString): Added stubbed implementation.
6204         * java/awt/geom/PathIterator.java:
6205         The constants must be static.
6206         * java/awt/image/VolatileImage.java
6207         (IMAGE_INCOMPATIBLE): Fixed typo.
6208         * java/awt/image/renderable/RenderableImage.java
6209         (HINTS_OBSERVED): Must be static.
6210         * java/beans/BeanInfo.java:
6211         Constants must be final.
6212
6213 2002-11-06  Tom Tromey  <tromey@redhat.com>
6214
6215         From svens@it.uu.se.  For PR libgcj/8481.
6216         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6217
6218 2002-11-06  Tom Tromey  <tromey@redhat.com>
6219
6220         * jni.cc (array_from_valist): Assume that jlong won't be
6221         promoted.
6222
6223 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6224
6225         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6226         Return 20.
6227         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6228         Return 16.
6229
6230 2002-11-03  Tom Tromey  <tromey@redhat.com>
6231
6232         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6233         VMClassLoader, not findClass.
6234
6235 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6236
6237         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6238         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6239         _Jv_DetermineVTableIndex, to determine vtable offset.
6240         (_Jv_DetermineVTableIndex): Remove.
6241         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6242
6243         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6244
6245 2002-11-03  Tom Tromey  <tromey@redhat.com>
6246
6247         * java/nio/channels/AlreadyConnectedException.java: Extend
6248         IllegalStateException, per spec.
6249
6250 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6251
6252         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6253
6254 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6255
6256         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6257         size items.
6258
6259 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6260
6261         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6262         initial estimated size to avoid enlarge buffer frequently.
6263
6264 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6265
6266         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6267         ClassLoader when null.
6268         (ProxyType.hashCode): Loader null check no longer needed.
6269         (ProxyType.sameTypes): New method.
6270         (ProxyType.equals): Use new method.
6271
6272 2002-10-31  Mark Wielaard  <mark@klomp.org>
6273
6274         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6275         length of String.
6276         * java/net/URLEncoder.java (encode): Likewise.
6277
6278 2002-10-31  Mark Wielaard  <mark@klomp.org>
6279
6280         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6281         when stream is closed.
6282         (closeEntry): Likewise.
6283         (read): Likewise.
6284         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6285         ZipException when no entry active.
6286         (closeEntry): Likewise.
6287         (write): Likewise.
6288
6289 2002-11-02  Tom Tromey  <tromey@redhat.com>
6290
6291         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6292         * java/lang/natClass.cc (initializeClass): Don't return just
6293         because self==thread.
6294
6295         For PR java/8415:
6296         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6297         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6298
6299 2002-11-02  Andreas Schwab  <schwab@suse.de>
6300
6301         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6302         pass GCJFLAGS.
6303         (FLAGS_TO_PASS): Define.
6304         * Makefile.in: Regenerated.
6305
6306 2002-11-01  Michael Koch  <konqueror@gmx.de>
6307
6308         * java/nio/ByteOrder.java: New file.
6309         * java/nio/channels/DatagramChannel.java:
6310         (DatagramChannel): New constructor.
6311         * java/nio/channels/Pipe.java: New file.
6312         * java/nio/channels/SelectableChannel.java: New file.
6313         * java/nio/channels/SelectionKey.java: New file.
6314         * java/nio/channels/Selector.java: New file.
6315         * java/nio/channels/ServerSocketChannel.java
6316         (ServerSocketChannel): New constructor.
6317         * java/nio/channels/SocketChannel.java
6318         (SocketChannel): New constructor.
6319         * java/nio/channels/Pipe.java: New file.
6320         * java/nio/channels/spi/AbstractChannel.java: New file.
6321         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6322         * java/nio/channels/spi/AbstractSelectableChannel.java:
6323         License added
6324         (AbstractSelectableChannel): New stubbed method.
6325         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6326         * java/nio/channels/spi/AbstractSelector.java: New file.
6327         * java/nio/channels/spi/SelectorProvider.java: New file.
6328         * java/nio/charset/Charset.java: New file.
6329         * java/nio/charset/CoderMalfunctionError.java: New file.
6330         * java/nio/charset/CodingErrorAction.java: New file.
6331         * java/nio/charset/spi/CharsetProvider.java
6332         (charsetForName): Uncommented.
6333         * Makefile.am (java_native_source_files): Added new files.
6334         * Makefile.in: Regenerated.
6335
6336 2002-11-01  Michael Koch  <konqueror@gmx.de>
6337
6338         * java/net/InetAddress.java:
6339         (isAnyLocalAddress): Implemented.
6340         (isLoopbackAddress): Implemented, comment added.
6341         (isLinkLocalAddress): Implemented, documentation added.
6342         (isSiteLocalAddress): Implemented, documentation added.
6343         (isMCGlobal): Implemented, documentation added.
6344         (isMCNodeLocal): Implemented, documentation added.
6345         (isMCLinkLocal): Implemented, documentation added.
6346         (isMCSiteLocal): Implemented, documentation added.
6347         (isMCOrgLocal): Implemented, documentation added.
6348         (getHostName): Documentation added.
6349         (getCanonicalHostName): Implemented, documentation added.
6350         (getAddress): Documentation added.
6351         (hashCode): Documentation added.
6352         (equals): Documentation added.
6353         (toString): Fixed implementation.
6354         (getByAddress): Use Inet4Address and Inet6Address.
6355         (lookup): New linewrap.
6356         (getByName): SecurityManager check added, support Inet4Address and
6357         Inet6address, comments added.
6358         (getAllByName): SecurityManager check added, comments added.
6359         * java/net/Inet6Address.java:
6360         (Inet6Address): Initialize parent class with addr instead of null.
6361         * java/net/URL.java
6362         (equals): Documentation added.
6363         (getFile): Documentation added.
6364         (hashCode): Documentation added.
6365         * java/net/natInetAddress.cc:
6366         (aton): Fix IPv6 support.
6367         * java/net/natPlainDatagramSocketImpl.cc:
6368         (peek): Throw PortUnreachableException when suitable.
6369         (peekData): Throw PortUnreachableException when suitable.
6370         (send): Throw PortUnreachableException when suitable.
6371         (receive): Throw PortUnreachableException when suitable.
6372
6373 2002-10-27  Mark Wielaard  <mark@klomp.org>
6374
6375         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6376         argument.
6377         (readLeShort): Likewise and use byte[].
6378         (readLeInt): Likewise.
6379         (readEntries): Use new versions of methods and use byte[] for reading
6380         a complete zip entry. Add ZipFile name to exceptions.
6381         (entries): Add ZipFile name to exceptions.
6382         (getEntry): Likewise.
6383         (checkLocalHeader): Use new versions of methods and add ZipFile name
6384         to exceptions.
6385
6386 2002-10-31  Mark Anderson  <mark@panonet.net>
6387
6388         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6389         added
6390
6391 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6392
6393         * configure.in: Disable hash sync when not using threads.
6394         * configure: Regenerated.
6395
6396 2002-10-24  Tom Tromey  <tromey@redhat.com>
6397
6398         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6399         (_Jv_FindSymbolInExecutable): Removed argument name.
6400         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6401         java.library.path is set.
6402
6403         * gij.cc (help): Document --showversion.
6404         (version): Don't exit.
6405         (main): Handle --showversion.  Exit if --version given.
6406
6407 2002-10-23  Tom Tromey  <tromey@redhat.com>
6408
6409         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6410         (array_from_valist): Correctly handle promotion for jint, jlong,
6411         jfloat, and jdouble.
6412
6413 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6414
6415         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6416         GetFileAttributesEx( ) to find file length and modification times,
6417         as the latter is not present on Windows 95.
6418
6419 2002-10-21  Michael Koch  <konqueror@gmx.de>
6420
6421         * java/net/URL.java
6422         (URL): Activate SecurityManager checks.
6423         (equals): Use URLStreamHandler implementation instead of doing it
6424         alone. This allows special protocol stream handlers to change default
6425         behaviour.
6426         (hashCode): Use URLStreamHandler implementation instead of doing it
6427         alone. This allows special protocol stream handlers to change default
6428         behaviour.
6429         * java/net/URLStreamHandler.java
6430         (equals): Implemented default URL equality check.
6431         (hostsEqual): Implemented default URL equality check.
6432         (hashCode): Implemented default URL hashCode algorithm.
6433         * java/net/natPlainDatagramSocketImpl.cc:
6434         No lines longer then 80 characters.
6435
6436 2002-10-20  Adam Megacz <adam@xwt.org>
6437
6438         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6439         * configure.in: enabled hash sync on Win32
6440         * include/win32-threads.h (_Jv_ThreadId_t): added.
6441         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6442         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6443         removed some posix-isms, use Thread::sleep() instead of usleep,
6444         added code to clear bottom three bits if platform has a broken
6445         linker.
6446         * include/win32-threads.h (_Jv_ThreadId_t): added.
6447
6448 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6449
6450         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6451         runtime property "gnu.gcj.progname" containing the name used to
6452         invoke the current Java program (similar to argv[0] for C
6453         programs).
6454
6455 2002-10-15  Tom Tromey  <tromey@redhat.com>
6456
6457         Fix for PR libgcj/8234:
6458         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6459         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6460
6461 2002-10-13  Mark Wielaard  <mark@klomp.org>
6462
6463         * mauve-libgcj: Enable Mauve tests that compile now.
6464
6465 2002-10-11  Mark Wielaard  <mark@klomp.org>
6466
6467         Fix for PR libgcj/8142
6468         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6469         loading native modules.
6470
6471 2002-10-10  Michael Koch  <konqueror@gmx.de>
6472
6473         * javax/swing/AbstractListModel.java
6474         (getListDataListeners): New stubbed method.
6475         javax/swing/DefaultBoundedRangeModel.java
6476         (getChangeListeners): New stubbed method.
6477         javax/swing/DefaultSingleSelectionModel.java
6478         (getChangeListeners): New stubbed method.
6479
6480 2002-10-10  Michael Koch  <konqueror@gmx.de>
6481
6482         * gcj/.cvsignore: New file to ignore files generated during build.
6483         * include/.cvsignore: New file to ignore files generated during build.
6484
6485 2002-10-10  Michael Koch  <konqueror@gmx.de>
6486
6487         * java/net/HttpURLConnection.java
6488         (getPermission): New method.
6489         (getErrorStream): New stub method.
6490         (getHeaderFieldDate): New stub method.
6491         * java/net/Inet4Address.java:
6492         (isLinkLocalAddress): Typo fixed.
6493         * java/net/InetAddress.java:
6494         (readResolve): New stubbed method (for serialization).
6495         (isAnyLocalAddress): New stubbed method.
6496         (isLoopbackAddress): New stubbed method.
6497         (isLinkLocalAddress): New stubbed method.
6498         (isSiteLocalAddress): New stubbed method.
6499         (isMCGlobal): New stubbed method.
6500         (isMCNodeGlobal): New stubbed method.
6501         (isMCLinkLocal): New stubbed method.
6502         (isMCSiteLocal): New stubbed method.
6503         (isMCOrgLocal): New stubbed method.
6504         (getCanonicalHostName): New stubbed method.
6505         (getByAddress): Create instances of Inet4Address/Inet6Address,
6506         instead of InetAddress, documentation added.
6507         * java/net/MulticastSocket.java
6508         (getInterface): Removed FIXME.
6509         (getNetworkInterface): New method.
6510         (setNetworkInterface): New method.
6511         * java/net/NetworkInterface.java:
6512         (toString): Use property "line.separator" instead of "\n".
6513         * java/net/URLConnection.java
6514         (getContent): New stubbed method.
6515         * java/net/URLStreamHandler.java:
6516         (equals): New stubbed method.
6517         (hostsEqual): New stubbed method.
6518         (hashCode): New stubbed method.
6519         * java/net/natNetworkInterface.cc:
6520         (getRealNetworkInterfaces): Create Inet4Address object
6521         instead of InetAddress.
6522
6523 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6524
6525         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6526         unsigned long temporary to implement insn_iushr shifts.
6527
6528 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6529
6530         * configure.host [s390*-*]: Enable Java interpreter.
6531         Enable hash synchronization.  Add sysdeps dir.
6532         * sysdep/s390/locks.h: New file.
6533
6534 2002-10-06  Mark Wielaard  <mark@klomp.org>
6535
6536         * java/lang/Thread.java (setDaemon): Check startable_flag,
6537         not isAlive().
6538
6539 2002-10-07  Michael Koch  <konqueror@gmx.de>
6540
6541         * java/nio/Buffer.java: New stub file.
6542         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6543         of class Charset.
6544         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6545         * Makefile.in: Regenerated.
6546
6547 2002-10-07  Michael Koch  <konqueror@gmx.de>
6548
6549         * java/nio/ByteBuffer.java:
6550         removed import of not commited class.
6551
6552 2002-10-07  Michael Koch  <konqueror@gmx.de>
6553
6554         * java/nio/ByteBuffer.java,
6555         java/nio/MappedByteBuffer.java:
6556         New files, forgot to add these dummies.
6557         * Makefile.am (java_native_source_files): Added new files.
6558         * Makefile.in: Regenerated.
6559
6560 2002-10-07  Michael Koch  <konqueror@gmx.de>
6561
6562         * java/nio/channels/AlreadyConnectedException.java,
6563         java/nio/channels/ClosedChannelException.java,
6564         java/nio/channels/ReadableByteChannel.java,
6565         java/nio/channels/InterruptibleChannel.java,
6566         java/nio/channels/Channel.java,
6567         java/nio/channels/ByteChannel.java,
6568         java/nio/channels/GatheringByteChannel.java,
6569         java/nio/channels/ScatteringByteChannel.java,
6570         java/nio/channels/WritableByteChannel.java,
6571         java/nio/charset/CharacterCodingException.java,
6572         java/nio/charset/IllegalCharsetNameException.java,
6573         java/nio/charset/MalformedInputException.java,
6574         java/nio/charset/UnmappableCharacterException.java,
6575         java/nio/charset/UnsupportedCharsetException.java,
6576         java/nio/charset/spi/CharsetProvider.java: New file.
6577         These files are exceptions or interfaces,
6578         no real or abstract classes.
6579         * Makefile.am (java_native_source_files): Added new files.
6580         * Makefile.in: Regenerated.
6581
6582 2002-10-05  Michael Koch  <konqueror@gmx.de>
6583
6584         * java/net/InetAddress.java
6585         (getByAddress): Fixed documentation.
6586         (getByAddress): New method.
6587         * java/net/Inet4Address.java: New file.
6588         * java/net/URL.java
6589         (URL): Documentation added.
6590         (getContent): Documentation added.
6591         (getContent): New stubbed method.
6592         (getQuery): New method.
6593         (openConnection): Documentation added.
6594         (openStream): Documentation added.
6595         (setURLStreamHandlerFactory): Documentation added.
6596         * java/net/URI.java: New stub file.
6597         * Makefile.am
6598         (java_native_source_files): Added java/net/Inet4Address.java,
6599         java/net/Inet6Address.java and java/net/URI.java.
6600         * Makefile.in: Regenerated.
6601
6602 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6603
6604         * java/lang/ProtectionDomain.java (linesep): Remove field.
6605         (toString): Use System.getProperty("line.separator").
6606
6607 2002-10-04  Michael Koch  <konqueror@gmx.de>
6608
6609         * java/security/Identity.java: Added serialVersionUID.
6610         * java/security/KeyPair.java: Added serialVersionUID.
6611         * java/security/Provider.java: Added serialVersionUID.
6612         * java/security/SecureRandom.java: Added serialVersionUID.
6613         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6614         * java/security/SignedObject.java: Added serialVersionUID.
6615         * java/security/cert/Certificate.java: Added serialVersionUID.
6616
6617 2002-10-04  Mark Wielaard <mark@klomp.org>
6618
6619         * java/security/Security.java: Use java.home or gnu.classpath.home
6620         to load providers.
6621         (loadProviders): Extra dir argument.
6622         (getProvider): Return null when not found.
6623
6624 2002-10-04  Mark Wielaard  <mark@klomp.org>
6625
6626         * java/lang/Throwable.java: Remerge with Classpath.
6627
6628 2002-10-04  Michael Koch  <konqueror@gmx.de>
6629
6630         * java/net/InetAddress.java:
6631         (isMulticastAddress): Added documentation.
6632         (getHostAddress): Added documentation.
6633         (toString): Added documentation.
6634         (getByAddress): Fixed documentation.
6635         (getByName): Added documentation.
6636         (getAllByName): Added documentation.
6637         (getLocalHost): Added documentation.
6638
6639 2002-10-04  Michael Koch  <konqueror@gmx.de>
6640
6641         * java/beans/beancontext/BeanContextChildSupport.java:
6642         Added serialVersionUID.
6643         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6644         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6645         * javax/naming/Name.java: Added serialVersionUID.
6646
6647 2002-10-03  Adam Megacz <adam@xwt.org>
6648
6649         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6650         some functionality that isn't supported yet on WIN32.
6651
6652 2002-10-03  Tom Tromey  <tromey@redhat.com>
6653
6654         * Makefile.in: Rebuilt.
6655         * Makefile.am (awt_java_source_files): Added new files.
6656
6657 2002-10-03  Michael Koch  <konqueror@gmx.de>
6658
6659         * java/net/InetAddress.java
6660         (class InetAddress): Removed final keyword.
6661         (equals): Fixed typo.
6662         (getByAddress): New method.
6663
6664 2002-10-03  Michael Koch  <konqueror@gmx.de>
6665
6666         * java/awt/dnd/Autoscroll.java:
6667         New file, merge from Classpath.
6668         * java/awt/dnd/DragSourceAdapter.java:
6669         (dragExit): Fixed typos in argument type.
6670         (dragDropEnd): Fixed typos in argument type.
6671         * java/awt/dnd/DragSourceDropEvent.java:
6672         New file, merge from Classpath.
6673         * java/awt/dnd/DropTarget.java:
6674         Added stubs, merge from Classpath.
6675         * java/awt/dnd/DropTargetAdapter.java:
6676         New file, merge from Classpath.
6677         * java/awt/dnd/DropTargetContext.java:
6678         New file, merge from Classpath.
6679         * java/awt/dnd/DropTargetDragEvent.java:
6680         New file, merge from Classpath.
6681         * java/awt/dnd/DropTargetDropEvent.java:
6682         New file, merge from Classpath.
6683         * java/awt/dnd/DropTargetEvent.java:
6684         New file, merge from Classpath.
6685         * java/awt/dnd/DropTargetListener.java:
6686         New file, merge from Classpath.
6687         * java/awt/dnd/MouseDragGestureRecognizer.java:
6688         New file, merge from Classpath.
6689         * java/awt/dnd/peer/DropTargetContextPeer.java:
6690         New file, merge from Classpath.
6691
6692 2002-10-03  Michael Koch  <konqueror@gmx.de>
6693
6694         * java/net/DatagramPacket.java
6695         (setLength): Fixed typo and be HTML-aware.
6696         * java/net/InetSocketAddress.java
6697         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6698         (equals): Added comment about equality of InetSocketAddress objects.
6699         * java/net/ServerSocket.java
6700         (accept): Added checks.
6701         (isClosed): New stubbed method.
6702         * java/net/SocketOptions.java: Reindention.
6703         * java/net/SocketPermission
6704         (SocketPermission): Documentation fixed.
6705
6706 2002-10-03  Michael Koch  <konqueror@gmx.de>
6707
6708         * java/net/DatagramSocket.java
6709         (receive): Check with SecurityManager AFTER the packet is received,
6710         check if connected to multicast address, documentation added.
6711         (send): Only check SecurityManager if connected, check address of
6712         packet to send.
6713         (connect): Implemented, documentation added.
6714         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6715         * java/net/InetSocketAddress.java
6716         (whole file): Reindented.
6717         (hostname): New attribute.
6718         (InetSocketAddress): Initialize new attribute.
6719         (getAddress): Documentation added.
6720         (getHostName): Documentation added.
6721         (getPort): Documentation added.
6722         (hashCode): Documentation added.
6723         (isUnresolved): Documentation added.
6724         (toString): Conform to output of JDK 1.4.1, documentation added.
6725         * java/net/MulticastSocket.java
6726         (joinGroup): Removed FIXME, documentation added.
6727         (leaveGroup): Removed FIXME, documentation added.
6728         (send): Documentation added.
6729         * java/net/Socket.java
6730         (inputShutdown): New variable.
6731         (outputShutdown): New variable.
6732         (Socket): Initialize new variables.
6733         (getRemoteSocketAddress): Check if connected.
6734         (shutdownInput): Set new variable.
6735         (shutdownOutput): Set new variable.
6736         (isConnected): New method.
6737         (isClosed): New method.
6738         (isInputShutdown): New method.
6739         (isOutputShutdown): New method.
6740         * java/net/URLStreamHandler.java
6741         (URLStreamHandler): New method.
6742         (openConnection): Added documentation.
6743         (parseURL): Added documentation.
6744         (getHostAddress): New method.
6745         (getDefaultPort): New method.
6746
6747 2002-10-02  Tom Tromey  <tromey@redhat.com>
6748
6749         * java/rmi/activation/ActivationDesc.java,
6750         java/rmi/activation/ActivationGroupDesc.java,
6751         java/rmi/activation/ActivationGroupID.java,
6752         java/rmi/activation/ActivationID.java: New versions from
6753         Classpath.
6754
6755 2002-09-30  Bo Thorsen  <bo@suse.de>
6756
6757         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6758
6759 2002-09-30  Tom Tromey  <tromey@redhat.com>
6760
6761         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6762         from Classpath.
6763         * Makefile.in: Rebuilt.
6764         * Makefile.am (rmi_java_source_files): Added new files.
6765         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6766         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6767         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6768         Classpath.
6769         * gnu/java/rmi/dgc/DGCImpl.java,
6770         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6771         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6772         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6773         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6774         gnu/java/rmi/server/RMIHashes.java,
6775         gnu/java/rmi/server/RMIObjectInputStream.java,
6776         gnu/java/rmi/server/RMIObjectOutputStream.java,
6777         gnu/java/rmi/server/UnicastConnection.java,
6778         gnu/java/rmi/server/UnicastConnectionManager.java,
6779         gnu/java/rmi/server/UnicastRef.java,
6780         gnu/java/rmi/server/UnicastServer.java,
6781         gnu/java/rmi/server/UnicastServerRef.java,
6782         java/rmi/MarshalledObject.java,
6783         java/rmi/server/RMIClassLoader.java,
6784         java/rmi/server/RemoteObject.java,
6785         java/rmi/server/UnicastRemoteObject.java,
6786         java/security/SecureClassLoader.java: Merged from Classpath.
6787
6788 2002-09-29  Anthony Green  <green@redhat.com>
6789
6790         * java/lang/reflect/UndeclaredThrowableException.java: New file.
6791         Imported from GNU Classpath.
6792         * java/lang/reflect/natProxy.cc: New file.
6793         * java/lang/reflect/InvocationHandler.java: New file.  Imported
6794         from GNU Classpath.
6795         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
6796         Classpath.
6797         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
6798         Classpath.
6799         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
6800         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
6801         New statics.
6802         * gcj/javaprims.h ("Java"): Add new classes.
6803         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
6804         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
6805         java/lang/reflect/Proxy$$ProxyType.h): And this.
6806         (inner_nat_headers): Add these new headers.
6807         (ordinary_java_source_files): Add new files.
6808         (nat_source_files): Add new file.
6809         * Makefile.in: Rebuilt.
6810
6811 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
6812
6813         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
6814         a single configuration.
6815
6816 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6817
6818         * java/util/TimeZone.java (getDSTSavings): New method.
6819         Fixes PR libgcj/7786.
6820
6821 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6822
6823         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
6824         to see if `the_method == 0' before looking up vtable index.
6825         Fixes PR libgcj/7709.
6826
6827 2002-09-25  Tom Tromey  <tromey@redhat.com>
6828
6829         * java/lang/natClassLoader.cc:
6830         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
6831         * resolve.cc: Include NoClassDefFoundError.h, not
6832         ClassNotFoundException.h.
6833         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
6834
6835         * defineclass.cc: Don't include ClassNotFoundException.h.
6836
6837         * resolve.cc: Include StringBuffer.
6838         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
6839
6840         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
6841         allocated but not initialized.
6842
6843 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6844
6845         Fix for PR libgcj/7766:
6846         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
6847         (getNextEntry): Set it.
6848         (closeEntry): Likewise.
6849         (read): Likewise.
6850         (close): Likewise.
6851         (available): Use it.
6852
6853 2002-09-25  Michael Koch  <konqueror@gmx.de>
6854
6855         * java/net/DatagramSocket.java
6856         (DatagramSocket): Initialize new instance variables.
6857         (close): Reset new instance variables.
6858         (getLocalAddress): Remove unneeded SecurityManager usage.
6859         (getLocalPort): Check if socket is already bound.
6860         (isConnected): New method.
6861         (getInetAddress): Implemented.
6862         (getPort): Better Implementation, documentation fixed.
6863         (getRemoteSocketAddress): New method.
6864         * java/net/JarURLConnection.java
6865         (element): Typo fixed.
6866         (getMainAttributes): New method.
6867         (getAttributes): New method (stub only).
6868         (getManifest): New method (stub only).
6869         * java/net/NetPermission.java: Added serialVersionsUID.
6870         * java/net/Socket.java
6871         (connect): Check blocking mode of associated channel,
6872         documentation added.
6873         (getLocalSocketAddress): Better implementation.
6874         (getRemoteSocketAddress): Implemented.
6875         (isBound): New method.
6876         (setSendBufferSize): Documentation added.
6877         * java/net/SocketAddress.java: Added serialVersionsUID.
6878         * java/net/SocketPermission.java: Added serialVersionsUID.
6879         * java/net/URL.java
6880         (URL): Wrap for shorter lines, initialize new instance variables,
6881         documentation added.
6882         (equals): Check new instance variables too.
6883         (getContent): Documentation added.
6884         (getPath): Documentation added.
6885         (getAuthority): New method.
6886         (getHost): Documentation added.
6887         (getPort): Documentation added.
6888         (getDefaultPort): New method.
6889         (getProtocol): Documentation added.
6890         (getUserInfo): Documentation added.
6891         (set): Initialize new instance variables, documentation added.
6892         * java/net/URLStreamHandler.java
6893         (setURL): New method.
6894         * java/net/natPlainDatagramSocketImpl.cc
6895         (connect): Fix exception name.
6896         (disconnect): Fix exception name.
6897
6898 2002-09-25  Michael Koch  <konqueror@gmx.de>
6899
6900         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
6901         * java/nio/channels/DatagramChannel.java:
6902         extends AbstractSelectableChannel
6903         * java/nio/channels/ServerSocketChannel.java:
6904         extends AbstractSelectableChannel
6905         * java/nio/channels/SocketChannel.java:
6906         extends AbstractSelectableChannel
6907         * Makefile.am (ordinary_java_source_files):
6908         java/nio/channels/spi/AbstractSelectableChannel.java added.
6909         * Makefile.in: Regenerated.
6910
6911 2002-09-25  Michael Koch  <konqueror@gmx.de>
6912
6913         * java/net/DatagramSocket.java
6914         (DatagramSocket): Exception documentation added.
6915         (bind): Exception documentation added, addded SecurityManager check,
6916         added SocketAddress type check.
6917         (getSoTimeout): Check impl.
6918         (receive): Fix SecurityManager check, check impl, documentation added.
6919         (send): Check channel mode, documentation added.
6920         (connect): New method.
6921         (disconnect): Implemented.
6922         (getLocalSocketAddress): New method.
6923         (getReceiveBufferSize): Check impl.
6924         (setReuseAddress): Check impl.
6925         (getReuseAddress): Check impl.
6926         (setBroadcast): Check impl.
6927         (getBroadcast): Check impl.
6928         (setTrafficClass): Check impl, Documentation cleared.
6929         (getTrafficClass): Check impl.
6930         (getSendBufferSize): Check impl.
6931         (setReceiveBufferSize): Check impl, documentation added.
6932         (setSendBufferSize): Documentation added.
6933         (setDatagramSocketImplFactory): New method.
6934         * java/net/HttpURLConnection.java
6935         (HTTP_INTERNAL_ERROR): The correct code is 500.
6936         (HTTP_NOT_IMPLEMENTED): Added new constant.
6937         (setFollowRedirects): Documentation added.
6938         (getInstanceFollowRedirects): New method.
6939         (setInstanceFollowRedirects): New method.
6940         (setRequestMethod): Documentation added.
6941         (getResponseCode): Documentation added.
6942         (getResponseMessage): Documentation added.
6943         * java/net/JarURLConnection.java
6944         (JarURLConnection): protected since JDK 1.4.
6945         (getJarEntry): java.io.IOException to IOException, documentation added.
6946         (getJarFile): Documentation added.
6947         * java/net/ServerSocket.java
6948         (ServerSocket): Private to public, exception added.
6949         (ServerSocket): java.io.IOException to IOException, documentation added.
6950         (bind): Check socket address type, documentation added.
6951         (bind): java.io.IOException to IOException, documentation added.
6952         (accept): Documentation added.
6953         (implAccept): Check ch is not non-blocking, documentation added.
6954         (setSoTimeout): Documentation fixed.
6955         (setReceiveBufferSize): Documentation added.
6956         * java/net/Socket.java
6957         (Socket): Documentation added.
6958         (bind): Documentation added.
6959         (connect): Check socket address type, documentation added.
6960         (getRemoteSocketAddress): New method.
6961         (getLocalSocketAddress): New method.
6962         (setSoLinger): Documentation added.
6963         (getReuseAddress): New method.
6964         (setReuseAddress): New method.
6965         (getTrafficClass): New method.
6966         (setTrafficClass): New method.
6967         * java/net/URLStreamHandler.java
6968         (openConnection): java.io.IOException to IOException.
6969         (parseURL): Documentation added.
6970         (sameFile): public to protected, documentation added.
6971         (setURL): Documentation added.
6972         * java/nio/IllegalBlockingModeException.java: New file.
6973         * Makefile.am (ordinary_java_source_files):
6974         added java/nio/IllegalBlockingModeException.java
6975         * Makefile.in: Regenerated.
6976
6977 2002-09-25  Michael Koch  <konqueror@gmx.de>
6978
6979         * java/net/DatagramPacket
6980         (DatagramPacket): Exception documentation added.
6981         (setData): Likewise.
6982         (setSocketAddress): Likewise.
6983         * java/net/DatagramSocketImpl.java
6984         (peek): Documentation addded.
6985         (peekData): Documentation addded.
6986         (send): Documentation addded.
6987         (receive): Documentation addded.
6988         (connect): New method.
6989         (disconnect): New method.
6990         (joinGroup): New abstract method.
6991         (leaveGroup): New abstract method.
6992         * java/net/InetSocketAddress.java
6993         (InetSocketAddress): Documentation added.
6994         (equals): final keyword added.
6995         (getAddress): final keyword added.
6996         (getHostName): final keyword added.
6997         (getPort): final keyword added.
6998         (hashCode): final keyword added.
6999         (isUnresolved): final keyword added.
7000         * java/net/MulticastSocket.java
7001         (MulticastSocket): Documentation added.
7002         (MulticastSocket): New method.
7003         (joinGroup): Documentation added.
7004         (joinGroup): New method.
7005         (leaveGroup): Documentation added.
7006         (leaveGroup): New method.
7007         (send): Documentation added.
7008         * java/net/NetworkInterface.java
7009         (getByName): Documentation added.
7010         (getByInetAddress): Documentation added.
7011         (getNetworkInterfaces): Documentation added.
7012         * java/net/PlainDatagramSocketImpl.java
7013         (connect): New method.
7014         (disconnect): New method.
7015         * java/net/SocketImpl.java
7016         (create): Documentation added.
7017         (shutdownInput): Convert public to protected, as it always was.
7018         (shutdownOutput): Convert public to protected, as it always was.
7019         * java/net/SocketOptions.java
7020         (whole file): Reintented.
7021         * java/net/URLClassLoader.java
7022         (URLClassLoader): SecurityManager check added, documentation added.
7023         (findResources): Documentation added.
7024         (findClass): Documentation added.
7025         (newInstance): More correct method arguments.
7026         * java/net/URLConnection.java
7027         (connect): Documentation added.
7028         (getContent): Documentation added.
7029         (getPermission): Documentation added.
7030         (getInputStream): Documentation added.
7031         (getOutputStream): Documentation added.
7032         (setDoInput): Throw correct exception, documentation added.
7033         (setDoOutput): Throw correct exception, documentation added.
7034         (setAllowUserInteraction): Throw correct exception, documentation added.
7035         (setUseCaches): Throw correct exception, documentation added.
7036         (setIfModifiedSince): Throw correct exception, documentation added.
7037         (setRequestProperty): Throw exception, documentation added.
7038         (addRequestProperty): Throw exception, documentation added.
7039         (getRequestProperty): Throw exception, documentation added.
7040         (getRequestProperties): Documentation added.
7041         (setContentHandlerFactory): Documentation added.
7042         (guessContentTypeFromName): protected to public.
7043         (setFileNameMap): Documentation added.
7044         * java/net/URLDecoder.java
7045         (URLDecoder): New method.
7046         (decode): Documentation added.
7047         (whole file): Reindented.
7048         * java/net/URLEncoder.java
7049         (encode): Documentation added.
7050         * java/net/natPlainDatagramSocketImpl.cc
7051         (connect): New method.
7052         (disconnect): New method.
7053         * javax/naming/RefAddr:
7054         (addrType): addrType was never final.
7055         (equals): Fix typo in method name.
7056         * javax/naming/BinaryRefAddr:
7057         (equals): Fix typo in method name.
7058
7059 2002-09-22  Tom Tromey  <tromey@redhat.com>
7060
7061         Fix for PR libgcj/6576:
7062         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7063         didn't find a given bundle.
7064         (getBundle): Don't require base bundle.
7065         (setParent): Removed old comment.
7066         (tryLocalBundle): Try components even if preceding components were
7067         empty.
7068
7069 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7070
7071         * Makefile.am (all-multi): Fix multilib parallel build.
7072
7073 2002-09-21  Michael Koch  <konqueror@gmx.de>
7074
7075         * java/net/Socket.java
7076         (sendUrgentData): New method.
7077         (getChannel): New method.
7078         * java/net/ServerSocket.java
7079         (getChannel): New method.
7080         (isBound): New method.
7081         * java/net/DatagramSocket.java
7082         (DatagramSocket): Two new methods.
7083         (bind): New method.
7084         (getChannel): New method.
7085         (isBound): New method.
7086         (send): Added newline to to make shorter lines.
7087         * java/net/PlainDatagramSocketImpl.java
7088         (mcastGrp): Added argument.
7089         (join): Use new mcastGrp.
7090         (leave): Use new mcastGrp.
7091         (joinGroup): New method.
7092         (leaveGroup): New method.
7093         * java/net/natPlainDatagramSocketImpl.cc
7094         (mcastGrp): Added argument, no yet really implemented.
7095         (getOption): Added newline for shorter lines.
7096         * java/net/natPlainSocketImpl.cc
7097         (read, setOption, getOption): Added newline for shorter lines.
7098
7099 2002-09-19  Tom Tromey  <tromey@redhat.com>
7100
7101        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7102        newly-created exception.
7103
7104 2002-09-18  Michael Koch  <konqueror@gmx.de>
7105
7106         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7107         java/util/regex/PatternSyntaxException.java:
7108         Merge with classpath, new files.
7109         * Makefile.am (core_java_source_files):
7110         Added java/util/regex/Matcher.java,
7111         java/util/regex/Pattern.java,
7112         java/util/regex/PatternSyntaxException.java
7113         * Makefile.in: Regenerated.
7114         * include/config.h.in: Added HAVE_NET_IF_H.
7115         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7116         Removed #if 0 ... #endif.
7117
7118 2002-09-17  Michael Koch  <konqueror@gmx.de>
7119
7120         * java/net/natNetworkInterface.cc:
7121         Removed unneed and yet wrong includes.
7122
7123 2002-09-17  Michael Koch  <konqueror@gmx.de>
7124
7125         * java/net/NetworkInterface.java: New file.
7126         * java/net/natNetworkInterface.java: New file.
7127         * configure.in: Added check for net/if.h.
7128         * configure: Regenerated.
7129         * Makefile.am
7130         (ordinary_java_source_files): Added NetworkInterface.java.
7131         (nat_source_files): Added natNetworkInterface.cc.
7132         * Makefile.in: Regenerated.
7133
7134 2002-09-16  Tom Tromey  <tromey@redhat.com>
7135
7136         * java/net/URLClassLoader.java (findClass): Code source for a
7137         class from a jar is not necessarily a jar: URL.
7138
7139 2002-09-16  Michael Koch  <konqueror@gmx.de>
7140
7141         * java/lang/AssertionError.java:
7142         Merge with classpath, fixes HTML.
7143         * java/rmi/server/LogStream.java:
7144         Merge with classpath, fixes some constants.
7145         * java/net/server/RemoteServer.java:
7146         Merge with classpath, adds serialVersionUID.
7147         * javax/naming/BinaryRefAddr.java:
7148         Merge with classpath, s/equal/equals/.
7149         * javax/naming/NamingException.java:
7150         Merge with classpath, fixed typo.
7151         * javax/naming/RefAddr.java:
7152         Merge with classpath, s/equal/equals/.
7153         * java/awt/Toolkit.java:
7154         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7155         and typo fixed.
7156
7157 2002-09-15  Adam Megacz <adam@xwt.org>
7158
7159         * java/net/natPlainSocketImpl.cc: fixed typo.
7160
7161 2002-09-15  Adam Megacz <adam@xwt.org>
7162
7163         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7164         which don't work on Win32 (yet).
7165
7166 2002-09-14  Adam Megacz <adam@xwt.org>
7167
7168         * java/net/natPlainDatagramSocket.cc: removed #include
7169         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7170         * include/win32.h: included definition for IP_TOS to satisfy
7171         natPlainDatagramSocket.cc
7172
7173 2002-09-13  Michael Koch  <konqueror@gmx.de>
7174
7175         * java/net/DatagramPacket.java (DatagramPacket):
7176         Added linebreak for 80 chars per line.
7177         * java/net/JarURLConection.java
7178         (getInputStreami, getJarEntry): Likewise.
7179         * java/net/SocketPErmission.java
7180         (SocketPermission class docu, implies): Likewise.
7181         * java/net/URLClassLoader.java (findResources): Likewise.
7182         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7183
7184 2002-09-13  Michael Koch  <konqueror@gmx.de>
7185
7186         * java/nio/channels/DatagramChannel.java,
7187         java/nio/channels/ServerSocketChannel.java
7188         java/nio/channels/SocketChannel.java:
7189         New dummy files to make java.net fully JDK 1.4 compatible
7190         * Makefile.am (ordinary_java_source_files): Added
7191         java/net/DatagramSocketImplFactory.java (long forgotten),
7192         java/nio/SocketChannel.java,
7193         java/nio/ServerSocketChannel.java,
7194         java/nio/DatagramChannel.java
7195         * Makefile.in: Regenrated.
7196
7197 2002-09-12  Michael Koch  <konqueror@gmx.de>
7198
7199         * java/net/DatagramSocketImpl.java
7200         (peekData): New method.
7201         * java/net/PlainDatagramSocketImpl.java
7202         (peekData): New method.
7203         * java/net/natPlainDatagramSocketImpl.cc
7204         (peekData): New method.
7205         * java/net/URLConnection
7206         (getPermission): New method.
7207         (addRequestProperty): New method.
7208         (getRequestProperties): New method.
7209         (guessContentTypeFromStream): New method, not really implemented.
7210         (URLConnection): Added/updated documentation.
7211         (connect): Added/updated documentation.
7212         (getURL): Added/updated documentation.
7213         (getContentLength): Added/updated documentation.
7214         (getContentType: Added/updated documentation.
7215         (getContentEncoding): Added/updated documentation.
7216         (getExpiration): Added/updated documentation.
7217         (getDate): Added/updated documentation.
7218         (getLastModified): Added/updated documentation.
7219         (getHeaderField): Added/updated documentation.
7220         (getHeaderFields): Added/updated documentation.
7221         (getHeaderFieldInt): Added/updated documentation.
7222         (getHeaderFieldDate): Added/updated documentation.
7223         (getHeaderFieldKey): Added/updated documentation.
7224         (getContent): Added/updated documentation.
7225         (getInputStream): Added/updated documentation.
7226         (getOutputStream): Added/updated documentation.
7227         (toString): Added/updated documentation.
7228         (setDoInput): Added/updated documentation.
7229         (getDoInput): Added/updated documentation.
7230         (setDoOutput): Added/updated documentation.
7231         (getDoOutput): Added/updated documentation.
7232         (setAllowUserInteraction): Added/updated documentation.
7233         (getAllowUserInteraction): Added/updated documentation.
7234         (setDefaultAllowUserInteraction): Added/updated documentation.
7235         (getDefaultAllowUserInteraction): Added/updated documentation.
7236         (setUseCaches): Added/updated documentation.
7237         (getUseCaches): Added/updated documentation.
7238         (setIfModifiedSince): Added/updated documentation.
7239         (getIfModifiedSince): Added/updated documentation.
7240         (getDefaultUseCaches): Added/updated documentation.
7241         (setDefaultUseCaches): Added/updated documentation.
7242         (setRequestProperty): Added/updated documentation.
7243         (getRequestProperty): Added/updated documentation.
7244         (setDefaultRequestProperty): Added/updated documentation.
7245         (getDefaultRequestProperty): Added/updated documentation.
7246         (setContentHandlerFactory): Added/updated documentation.
7247         (guessContentTypeFromName): Added/updated documentation.
7248         (getFileNameMap): Added/updated documentation.
7249         (setFileNameMap): Added/updated documentation.
7250
7251 2002-09-11  Michael Koch  <konqueror@gmx.de>
7252
7253         * java/net/Socket.java
7254         (Socket): protected to public (since JDK 1.4). Added @specnote.
7255         (bind): New method.
7256         (connect): Two new methods.
7257         (getKeepalive): Get correct socket option.
7258         (setKeepalive): Set correct socket option.
7259         (getOOBInline): New method.
7260         (setOOBInline): New method.
7261         * java/net/ServerSocket.java
7262         (bind): Two new methods.
7263         (getInetAddress): Reimplemented, catch exception.
7264         (getLocalSocketAddress): New method.
7265         (setReuseAddress): New method.
7266         (getReuseAdress): New method.
7267         (setReceiveBufferSize): New method.
7268         (getReceiveBufferSize): New method.
7269         (toString): Made string JDK 1.4 compliant.
7270
7271 2002-09-10  Michael Koch  <konqueror@gmx.de>
7272
7273         * java/net/SocketImpl.java
7274         (connect): New method.
7275         (supportsUrgentData): New method.
7276         (sendUrgentData): New method.
7277         * java/net/PlainSocketImpl.java
7278         (connect): One new method and two new implementation.
7279         (sendUrgentData): New method.
7280         * java/natPlainSocketImpl.cc
7281         (connect): Arguments changed, added support for timeouts.
7282         (getOption): Another __java_boolean to jboolean.
7283
7284 2002-09-07  Adam Megacz <adam@xwt.org>
7285
7286         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7287         definition of IP_TOS.
7288
7289 2002-09-04  Michael Koch  <konqueror@gmx.de>
7290
7291         * java/net/DatagramSocket.java
7292         (DatagramSocket): Added documentation.
7293         (close): Likewise.
7294         (getLocalAddress): Likewise.
7295         (getLocalPort): Likewise.
7296         (receive): Likewise.
7297         (send): Likewise.
7298         (setSoTimeout): Likewise.
7299         (connect): New method.
7300         (disconnect): New method.
7301         (getInetAddress): New method (FIXME)
7302         (getPort): New method.
7303         (setReuseAddress): New method.
7304         (getReuseAddress): New method.
7305         (setBroadcast): New method.
7306         (getBroadcast): New method.
7307         (setTrafficClass): New method.
7308         (getTrafficClass): New method.
7309         * java/net/MulticastSocket.java):
7310         (getTTL): Added @see in documentation.
7311         (setTTL): Added @see in documentation.
7312         (setLoopbackMode): New method.
7313         (getLoopbackMode): New method.
7314         * java/net/PlainSocketImpl.java:
7315         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7316         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7317         * java/net/PlainDatagramSocketImpl.java
7318         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7319         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7320         * java/net/natPlainSocketImpl.cc
7321         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7322         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7323         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7324         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7325         This should also fix SO_KEEPALIVE
7326         * java/net/natPlainDatagramSocketImpl.cc
7327         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7328         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7329         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7330         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7331
7332 2002-09-04  Michael Koch  <konqueror@gmx.de>
7333
7334         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7335         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7336         IP_MULTICAST_LOOP, IP_TOS
7337
7338 2002-09-03  Tom Tromey  <tromey@redhat.com>
7339
7340         * java/lang/Class.h (_getDeclaredMethod): Declare.
7341         (_getMethod): Now private.
7342         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7343         getDeclaredMethod.  Now returns NULL on failure.
7344         * java/lang/Class.java (_getDeclaredMethod): Declare.
7345         (getDeclaredMethod): No longer native; implements access checks.
7346
7347 2002-09-01  Mark Wielaard  <mark@klomp.org>
7348
7349         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7350         (sanitizeStack): Correctly reset unknown and interpreter counters,
7351         detect interpreter runtime frames.
7352         (demangleInterpreterMethod): New method.
7353         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7354         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7355         filling in addrs[].
7356
7357 2002-09-02  Michael Koch  <konqueror@gmx.de>
7358
7359         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7360         re-indented documentation.
7361
7362 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7363
7364         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7365         public, per 1.4 spec.  Fixes PR libgcj/7785.
7366
7367 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7368
7369         * Makefile.in: Rebuilt.
7370         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7371
7372 2002-08-29  Tom Tromey  <tromey@redhat.com>
7373
7374         * java/net/JarURLConnection.java (getCertificates): New method
7375         from Classpath.
7376         * java/net/URLClassLoader.java (URLClassLoader): Extends
7377         SecureClassLoader.
7378         (definePackage): New method from Classpath.
7379         (getPermissions): Likewise.
7380         (newInstance): Likewise.
7381         (findClass): Construct CodeSource for new class (from Classpath).
7382         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7383         methods.
7384         * java/net/URL.java (getUserInfo): New method.
7385         (set(String,String,int,String,String,String,String,String)): New
7386         method.
7387         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7388         (shutdownInput, shutdownOutput): Declare.
7389         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7390         Define.
7391         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7392         (getOption): Likewise.
7393         (shutdownInput): New method.
7394         (shutdownOutput): Likewise.
7395         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7396         keepalive.
7397         (getOption): Likewise.
7398         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7399         * java/net/Socket.java (setKeepAlive): New method.
7400         (getKeepAlive): Likewise.
7401         (shutdownInput, shutdownOutput): New methods.
7402
7403 2002-08-29  Michael Koch  <konqueror@gmx.de>
7404
7405         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7406         new methods are:
7407         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7408           address),
7409         DatagramPacket(byte[] buf, int length, SocketAddress address),
7410         void setSocketAddress(SocketAddress address)
7411         public SocketAddress getSocketAddress()
7412
7413 2002-08-29  Tom Tromey  <tromey@redhat.com>
7414
7415         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7416         ftruncate is missing.
7417         * configure, include/config.h.in: Rebuilt.
7418         * acconfig.h (HAVE_FTRUNCATE): Mention.
7419         * configure.in: Check for ftruncate.
7420
7421 2002-08-29  Tom Tromey  <tromey@redhat.com>
7422
7423         * include/jvm.h (struct _Jv_frame_info): New structure.
7424         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7425         java-interp.h.
7426         (lookupInterp): New method.
7427         (getAddrAsString): Use _Jv_frame_info.
7428         (dladdrLookup): Likewise.
7429         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7430         interpreted frame.
7431         (lookupInterp): Declare.
7432         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7433         (fillInStackTrace): Collect information on interpreted frames.
7434         Use _Jv_frame_info.
7435         * interpret.cc: Include Thread.h.
7436         (run): Create and push _Jv_MethodChain object.
7437         (_Jv_EndOfInterpreter): New global.
7438         * java/lang/Thread.java (interp_frame): New field.
7439         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7440         Include NameFinder.h.
7441
7442 2002-08-28  Tom Tromey  <tromey@redhat.com>
7443
7444         * java/lang/Class.h: Include Package.h.
7445         (Class::getProtectionDomain): Declare.
7446         (Class::getPackage): Declare.
7447
7448 2002-08-28  Michael Koch <konqueror@gmx.de>
7449
7450         * java/net/InetSocketAddress.java: Added some documentation and argument
7451         checks for the port numbers.
7452         * java/net/DatagramSocketImplFactory.java: New file.
7453
7454 2002-08-28  Michael Koch <konqueror@gmx.de>
7455
7456         * java/net/Authenticator.java: added some documentation.
7457
7458 2002-08-27  Tom Tromey  <tromey@redhat.com>
7459
7460         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7461         class.
7462         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7463
7464 2002-08-27  Michael Koch <konqueror@gmx.de>
7465
7466         * java/net/BindException.java,
7467         java/net/JarURLConnection.java,
7468         java/net/FileNameMap.java,
7469         java/net/HttpURLConnection.java,
7470         java/net/InetSocketAddress.java,
7471         java/net/DatagramPacket.java,
7472         java/net/DatagramSocket.java,
7473         java/net/DatagramSocketImpl.java,
7474         java/net/MulticastSocket.java,
7475         java/net/PasswordAuthentication.java,
7476         java/net/ServerSocket.java,
7477         java/net/Socket.java,
7478         java/net/URLClassLoader.java,
7479         java/net/URLConnection.java: add/update of some @since/@deprecated
7480
7481 2002-08-27  Tony Kimball <alk@pobox.com>
7482             Tom Tromey  <tromey@redhat.com>
7483
7484         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7485         define.
7486         (::close): Removed.
7487         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7488         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7489         (::close): Removed.
7490         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7491         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7492
7493 2002-08-25  Adam Megacz <adam@xwt.org>
7494
7495         * include/win32.h (getcwd): copied function declaration as
7496         temporary fix for header confusion.
7497
7498 2002-08-24  Mark Wielaard <mark@klomp.org>
7499
7500         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7501         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7502         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7503         and natNameFinder.cc.
7504         * Makefile.in: Regenerate.
7505         * prims.cc: Use trace_enabled from VMThrowable.
7506         * name-finder.cc: Removed.
7507         * gcj/javaprims.h: Add class VMThrowable.
7508         * gnu/gcj/runtime/NameFinder.java: New file.
7509         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7510         * include/name-finder.h: Removed.
7511         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7512         method stackTraceString().
7513         (printStackTrace (PrintWriter)): Likewise.
7514         (stackTraceString): Complete rewrite of old printStackTrace using
7515         StringBuffer.
7516         (stackTraceStringBuffer): New helper method for stackTraceString().
7517         (fillInStackTrace): Delegate to VMTrowable.
7518         (getStackTrace): Likewise.
7519         (getStackTrace0): Removed.
7520         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7521         (setStackTrace): Copy given array.
7522         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7523         * java/lang/VMThrowable.java: New class.
7524         * java/lang/natVMThrowable.cc: New file.
7525
7526 2003-08-23  Michael Koch  <konqueror@gmx.de>
7527
7528         * java/net/URLConnection.java,
7529         java/netJarURLConnection.java,
7530         gnu/gcj/protocol/core/Connection.java,
7531         gnu/gcj/protocol/file/Connection.java,
7532         gnu/gcj/protocol/http/Connection.java: Added implementation of
7533         getHeaderFields().
7534
7535 2002-08-22  Tom Tromey  <tromey@redhat.com>
7536
7537         * gij.cc (help): Document -cp and -classpath.
7538         (main): Handle -classpath.
7539
7540 2002-08-21  Tom Tromey  <tromey@redhat.com>
7541
7542         * Makefile.in: Rebuilt.
7543         * Makefile.am (ordinary_java_source_files): Added
7544         SocketAddress.java, InetSocketAddress.java.
7545         * java/net/PortUnreachableException.java: Merged with Classpath.
7546         * java/net/SocketTimeoutException.java: Likewise.
7547         * java/net/URISyntaxException.java: Likewise.
7548         * java/net/SocketAddress.java: New class from Classpath.
7549         * java/net/InetSocketAddress.java: Likewise.
7550
7551 2003-08-21  Michael Koch  <konqueror@gmx.de>
7552
7553         * java/net/Authenticator.java: updated JDK 1.4
7554         * java/net/ContentHandler.java: updated JDK 1.4
7555
7556 2002-08-20  Michael Koch  <konqueror@gmx.de>
7557
7558         * java/net/URISyntaxException.java: New file.
7559         * java/net/SocketTimeoutException.java: New file.
7560         * java/net/PortUnreachableException.java: New file.
7561         * Makefile.am: Updated.
7562         * Makefile.in: Rebuilt.
7563
7564 2002-08-18  Mark Wielaard  <mark@klomp.org>
7565
7566         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7567         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7568         MessageDigestSpi (fixes Classpath bug #783).
7569
7570 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7571
7572         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7573         (startProcess): Allocate path for chdir in async-signal-safe way.
7574
7575 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7576
7577         Fix for PR libgcj/7570 and PR libgcj/7578:
7578         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7579         (startProcess): Handle new `dir' argument.
7580         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7581         argument.
7582         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7583         argument.
7584         (startProcess): Likewise.
7585         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7586         argument.
7587         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7588         (exec): Don't create new environment if ENV==null.  Pass DIR to
7589         execInternal.
7590         * java/lang/natRuntime.cc: Include java/io/File.h.
7591         (execInternal): Added `dir' argument.
7592
7593 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7594
7595         * java/io/RandomAccessFile.java (skipBytes): Return number of
7596         bytes skipped.
7597
7598 2002-08-01  Mark Wielaard  <mark@klomp.org>
7599
7600         Reenable patch since shared library troubles on powerpc are solved:
7601         * gnu/java/security/provider/Gnu.java: Reference all implementation
7602         classes by using Class.getName().
7603         * gnu/java/security/der/DEREncodingException.java,
7604         gnu/java/security/provider/DERReader.java,
7605         gnu/java/security/provider/DERWriter.java,
7606         gnu/java/security/provider/DSAKeyPairGenerator.java,
7607         gnu/java/security/provider/DSAParameterGenerator.java,
7608         gnu/java/security/provider/DSAParameters.java,
7609         gnu/java/security/provider/DSASignature.java,
7610         gnu/java/security/provider/GnuDSAPrivateKey.java,
7611         gnu/java/security/provider/GnuDSAPublicKey.java,
7612         gnu/java/security/provider/MD5.java,
7613         gnu/java/security/util/Prime.java: New classes
7614         * Makefile.am (ordinary_java_source_files): Add above files.
7615         * Makefile.in: Regenerate.
7616         * gnu/java/security/provider/DefaultPolicy.java
7617         (getPermissions): Don't maintain static class variable of Permissions.
7618         * gnu/java/security/provider/SHA.java
7619         (engineUpdate): algorithm change.
7620         (engineDigest): algorithm change.
7621
7622 2002-08-09  Mark Wielaard  <mark@klomp.org>
7623
7624         * java/awt/image/MemoryImageSource.java: Change constructor to take
7625         int[] not byte[].
7626         * java/awt/Graphics2D.java: Uncomment methods that can now be
7627         compiled.
7628         * java/awt/GridBagLayout.java: New stub implementation.
7629         * javax/swing/text/html/HTML.java: Stub implementation.
7630         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7631         implementation.
7632
7633         * Makefile.am: Add new files.
7634         * Makefile.in: Rebuilt.
7635
7636 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7637
7638         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7639         methods in Graphics2D.
7640
7641 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7642
7643         AWT/Swing merge from GNU Classpath.
7644
7645         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7646         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7647         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7648         java/awt/color/ProfileDataException.java,
7649         java/awt/CompositeContext.java, java/awt/Composite.java,
7650         java/awt/ContainerOrderFocusTraversalPolicy.java,
7651         java/awt/datatransfer/FlavorTable.java,
7652         java/awt/DefaultFocusTraversalPolicy.java,
7653         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7654         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7655         java/awt/dnd/DragGestureListener.java,
7656         java/awt/dnd/DragGestureRecognizer.java,
7657         java/awt/dnd/DragSourceAdapter.java,
7658         java/awt/dnd/DragSourceContext.java,
7659         java/awt/dnd/DragSourceDragEvent.java,
7660         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7661         java/awt/dnd/DragSourceListener.java,
7662         java/awt/dnd/DragSourceMotionListener.java,
7663         java/awt/dnd/DropTarget.java,
7664         java/awt/dnd/InvalidDnDOperationException.java,
7665         java/awt/dnd/peer/DragSourceContextPeer.java,
7666         java/awt/event/AWTEventListenerProxy.java,
7667         java/awt/event/MouseWheelEvent.java,
7668         java/awt/event/MouseWheelListener.java,
7669         java/awt/event/WindowFocusListener.java,
7670         java/awt/event/WindowStateListener.java,
7671         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7672         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7673         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7674         java/awt/geom/FlatteningPathIterator.java,
7675         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7676         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7677         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7678         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7679         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7680         java/awt/image/ImagingOpException.java,
7681         java/awt/image/RasterFormatException.java,
7682         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7683         java/awt/image/VolatileImage.java,
7684         java/awt/image/WritableRenderedImage.java,
7685         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7686         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7687         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7688         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7689         java/awt/PageAttributes.java, java/awt/print/Book.java,
7690         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7691         java/awt/print/Paper.java, java/awt/print/Printable.java,
7692         java/awt/print/PrinterAbortException.java,
7693         java/awt/print/PrinterException.java,
7694         java/awt/print/PrinterGraphics.java,
7695         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7696         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7697         java/awt/Stroke.java, java/awt/TexturePaint.java,
7698         javax/accessibility/AccessibleAction.java,
7699         javax/accessibility/AccessibleBundle.java,
7700         javax/accessibility/AccessibleComponent.java,
7701         javax/accessibility/AccessibleContext.java,
7702         javax/accessibility/AccessibleEditableText.java,
7703         javax/accessibility/AccessibleExtendedComponent.java,
7704         javax/accessibility/AccessibleExtendedTable.java,
7705         javax/accessibility/AccessibleHyperlink.java,
7706         javax/accessibility/AccessibleHypertext.java,
7707         javax/accessibility/AccessibleIcon.java,
7708         javax/accessibility/Accessible.java,
7709         javax/accessibility/AccessibleKeyBinding.java,
7710         javax/accessibility/AccessibleRelation.java,
7711         javax/accessibility/AccessibleRelationSet.java,
7712         javax/accessibility/AccessibleResourceBundle.java,
7713         javax/accessibility/AccessibleRole.java,
7714         javax/accessibility/AccessibleSelection.java,
7715         javax/accessibility/AccessibleState.java,
7716         javax/accessibility/AccessibleStateSet.java,
7717         javax/accessibility/AccessibleTable.java,
7718         javax/accessibility/AccessibleTableModelChange.java,
7719         javax/accessibility/AccessibleText.java,
7720         javax/accessibility/AccessibleValue.java,
7721         javax/swing/AbstractAction.java,
7722         javax/swing/AbstractButton.java,
7723         javax/swing/AbstractCellEditor.java,
7724         javax/swing/AbstractListModel.java,
7725         javax/swing/AbstractSet.java, javax/swing/Action.java,
7726         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7727         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7728         javax/swing/border/CompoundBorder.java,
7729         javax/swing/border/EmptyBorder.java,
7730         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7731         javax/swing/border/LineBorder.java,
7732         javax/swing/border/MatteBorder.java,
7733         javax/swing/border/TitledBorder.java,
7734         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7735         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7736         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7737         javax/swing/CellRendererPane.java,
7738         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7739         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7740         javax/swing/colorchooser/ColorSelectionModel.java,
7741         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7742         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7743         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7744         javax/swing/DefaultBoundedRangeModel.java,
7745         javax/swing/DefaultButtonModel.java,
7746         javax/swing/DefaultCellEditor.java,
7747         javax/swing/DefaultCellRenderer.java,
7748         javax/swing/DefaultComboBoxModel.java,
7749         javax/swing/DefaultDesktopManager.java,
7750         javax/swing/DefaultFocusManager.java,
7751         javax/swing/DefaultListCellRenderer.java,
7752         javax/swing/DefaultListModel.java,
7753         javax/swing/DefaultListSelectionModel.java,
7754         javax/swing/DefaultSingleSelectionModel.java,
7755         javax/swing/DesktopManager.java,
7756         javax/swing/event/AncestorEvent.java,
7757         javax/swing/event/AncestorListener.java,
7758         javax/swing/event/CaretEvent.java,
7759         javax/swing/event/CaretListener.java,
7760         javax/swing/event/CellEditorListener.java,
7761         javax/swing/event/ChangeEvent.java,
7762         javax/swing/event/ChangeListener.java,
7763         javax/swing/event/DocumentEvent.java,
7764         javax/swing/event/DocumentListener.java,
7765         javax/swing/event/EventListenerList.java,
7766         javax/swing/event/HyperlinkEvent.java,
7767         javax/swing/event/HyperlinkListener.java,
7768         javax/swing/event/InternalFrameAdapter.java,
7769         javax/swing/event/InternalFrameEvent.java,
7770         javax/swing/event/InternalFrameListener.java,
7771         javax/swing/event/ListDataEvent.java,
7772         javax/swing/event/ListDataListener.java,
7773         javax/swing/event/ListSelectionEvent.java,
7774         javax/swing/event/ListSelectionListener.java,
7775         javax/swing/event/MenuDragMouseEvent.java,
7776         javax/swing/event/MenuDragMouseListener.java,
7777         javax/swing/event/MenuEvent.java,
7778         javax/swing/event/MenuKeyEvent.java,
7779         javax/swing/event/MenuKeyListener.java,
7780         javax/swing/event/MenuListener.java,
7781         javax/swing/event/MouseInputAdapter.java,
7782         javax/swing/event/MouseInputListener.java,
7783         javax/swing/event/PopupMenuEvent.java,
7784         javax/swing/event/PopupMenuListener.java,
7785         javax/swing/event/SwingPropertyChangeSupport.java,
7786         javax/swing/event/TableColumnModelEvent.java,
7787         javax/swing/event/TableColumnModelListener.java,
7788         javax/swing/event/TableModelEvent.java,
7789         javax/swing/event/TableModelListener.java,
7790         javax/swing/event/TreeExpansionEvent.java,
7791         javax/swing/event/TreeExpansionListener.java,
7792         javax/swing/event/TreeModelEvent.java,
7793         javax/swing/event/TreeModelListener.java,
7794         javax/swing/event/TreeSelectionEvent.java,
7795         javax/swing/event/TreeSelectionListener.java,
7796         javax/swing/event/TreeWillExpandListener.java,
7797         javax/swing/event/UndoableEditEvent.java,
7798         javax/swing/event/UndoableEditListener.java,
7799         javax/swing/filechooser/FileFilter.java,
7800         javax/swing/filechooser/FileSystemView.java,
7801         javax/swing/filechooser/FileView.java,
7802         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
7803         javax/swing/Icon.java, javax/swing/ImageIcon.java,
7804         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
7805         javax/swing/JApplet.java, javax/swing/JButton.java,
7806         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7807         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7808         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
7809         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
7810         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
7811         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
7812         javax/swing/JLayeredPane.java, javax/swing/JList.java,
7813         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
7814         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
7815         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
7816         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
7817         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
7818         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
7819         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
7820         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
7821         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
7822         javax/swing/JTextField.java, javax/swing/JTextPane.java,
7823         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
7824         javax/swing/JToolTip.java, javax/swing/JTree.java,
7825         javax/swing/JViewport.java, javax/swing/JWindow.java,
7826         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
7827         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
7828         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
7829         javax/swing/MenuSelectionManager.java,
7830         javax/swing/MutableComboBoxModel.java,
7831         javax/swing/OverlayLayout.java,
7832         javax/swing/plaf/ActionMapUIResource.java,
7833         javax/swing/plaf/basic/BasicBorders.java,
7834         javax/swing/plaf/basic/BasicButtonUI.java,
7835         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7836         javax/swing/plaf/basic/BasicDefaults.java,
7837         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7838         javax/swing/plaf/basic/BasicIconFactory.java,
7839         javax/swing/plaf/basic/BasicLabelUI.java,
7840         javax/swing/plaf/basic/BasicListUI.java,
7841         javax/swing/plaf/basic/BasicLookAndFeel.java,
7842         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7843         javax/swing/plaf/basic/BasicPanelUI.java,
7844         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7845         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7846         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7847         javax/swing/plaf/basic/BasicTextUI.java,
7848         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7849         javax/swing/plaf/basic/BasicTreeUI.java,
7850         javax/swing/plaf/basic/BasicViewportUI.java,
7851         javax/swing/plaf/BorderUIResource.java,
7852         javax/swing/plaf/ButtonUI.java,
7853         javax/swing/plaf/ColorChooserUI.java,
7854         javax/swing/plaf/ColorUIResource.java,
7855         javax/swing/plaf/ComboBoxUI.java,
7856         javax/swing/plaf/ComponentInputMapUIResource.java,
7857         javax/swing/plaf/ComponentUI.java,
7858         javax/swing/plaf/DesktopIconUI.java,
7859         javax/swing/plaf/DesktopPaneUI.java,
7860         javax/swing/plaf/DimensionUIResource.java,
7861         javax/swing/plaf/FileChooserUI.java,
7862         javax/swing/plaf/FontUIResource.java,
7863         javax/swing/plaf/IconUIResource.java,
7864         javax/swing/plaf/InputMapUIResource.java,
7865         javax/swing/plaf/InsetsUIResource.java,
7866         javax/swing/plaf/InternalFrameUI.java,
7867         javax/swing/plaf/LabelUI.java,
7868         javax/swing/plaf/ListUI.java,
7869         javax/swing/plaf/MenuBarUI.java,
7870         javax/swing/plaf/MenuItemUI.java,
7871         javax/swing/plaf/OptionPaneUI.java,
7872         javax/swing/plaf/PanelUI.java,
7873         javax/swing/plaf/PopupMenuUI.java,
7874         javax/swing/plaf/ProgressBarUI.java,
7875         javax/swing/plaf/RootPaneUI.java,
7876         javax/swing/plaf/ScrollBarUI.java,
7877         javax/swing/plaf/ScrollPaneUI.java,
7878         javax/swing/plaf/SeparatorUI.java,
7879         javax/swing/plaf/SliderUI.java,
7880         javax/swing/plaf/SplitPaneUI.java,
7881         javax/swing/plaf/TabbedPaneUI.java,
7882         javax/swing/plaf/TableHeaderUI.java,
7883         javax/swing/plaf/TableUI.java,
7884         javax/swing/plaf/TextUI.java,
7885         javax/swing/plaf/ToolBarUI.java,
7886         javax/swing/plaf/ToolTipUI.java,
7887         javax/swing/plaf/TreeUI.java,
7888         javax/swing/plaf/UIResource.java,
7889         javax/swing/plaf/ViewportUI.java,
7890         javax/swing/ProgressMonitorInputStream.java,
7891         javax/swing/ProgressMonitor.java,
7892         javax/swing/Renderer.java,
7893         javax/swing/RepaintManager.java,
7894         javax/swing/RootPaneContainer.java,
7895         javax/swing/Scrollable.java,
7896         javax/swing/ScrollPaneConstants.java,
7897         javax/swing/ScrollPaneLayout.java,
7898         javax/swing/SingleSelectionModel.java,
7899         javax/swing/SizeRequirements.java,
7900         javax/swing/SizeSequence.java,
7901         javax/swing/SwingConstants.java,
7902         javax/swing/SwingUtilities.java,
7903         javax/swing/table/AbstractTableModel.java,
7904         javax/swing/table/DefaultTableCellRenderer.java,
7905         javax/swing/table/DefaultTableColumnModel.java,
7906         javax/swing/table/DefaultTableModel.java,
7907         javax/swing/table/TableCellEditor.java,
7908         javax/swing/table/TableCellRenderer.java,
7909         javax/swing/table/TableColumn.java,
7910         javax/swing/table/TableColumnModel.java,
7911         javax/swing/table/TableModel.java,
7912         javax/swing/text/AbstractDocument.java,
7913         javax/swing/text/AttributeSet.java,
7914         javax/swing/text/BadLocationException.java,
7915         javax/swing/text/Caret.java,
7916         javax/swing/text/CharacterIterator.java,
7917         javax/swing/text/ComponentView.java,
7918         javax/swing/text/DefaultCaret.java,
7919         javax/swing/text/DefaultEditorKit.java,
7920         javax/swing/text/Document.java,
7921         javax/swing/text/EditorKit.java,
7922         javax/swing/text/Element.java,
7923         javax/swing/text/GapContent.java,
7924         javax/swing/text/JTextComponent.java,
7925         javax/swing/text/Keymap.java,
7926         javax/swing/text/MutableAttributeSet.java,
7927         javax/swing/text/PlainDocument.java,
7928         javax/swing/text/PlainEditorKit.java,
7929         javax/swing/text/Position.java,
7930         javax/swing/text/Segment.java,
7931         javax/swing/text/StyledDocument.java,
7932         javax/swing/text/StyledEditorKit.java,
7933         javax/swing/text/Style.java,
7934         javax/swing/text/TextAction.java,
7935         javax/swing/text/ViewFactory.java,
7936         javax/swing/text/View.java,
7937         javax/swing/Timer.java,
7938         javax/swing/ToggleButtonModel.java,
7939         javax/swing/ToolTipManager.java,
7940         javax/swing/tree/AbstractLayoutCache.java,
7941         javax/swing/tree/DefaultMutableTreeNode.java,
7942         javax/swing/tree/DefaultTreeCellEditor.java,
7943         javax/swing/tree/DefaultTreeCellRenderer.java,
7944         javax/swing/tree/DefaultTreeModel.java,
7945         javax/swing/tree/DefaultTreeSelectionModel.java,
7946         javax/swing/tree/ExpandVetoException.java,
7947         javax/swing/tree/FixedHeightLayoutCache.java,
7948         javax/swing/tree/MutableTreeNode.java,
7949         javax/swing/tree/RowMapper.java,
7950         javax/swing/tree/TreeCellEditor.java,
7951         javax/swing/tree/TreeCellRenderer.java,
7952         javax/swing/tree/TreeModel.java,
7953         javax/swing/tree/TreeNode.java,
7954         javax/swing/tree/TreePath.java,
7955         javax/swing/tree/TreeSelectionModel.java,
7956         javax/swing/tree/VariableHeightLayoutCache.java,
7957         javax/swing/UIDefaults.java,
7958         javax/swing/UIManager.java,
7959         javax/swing/undo/AbstractUndoableEdit.java,
7960         javax/swing/undo/CannotRedoException.java,
7961         javax/swing/undo/CannotUndoException.java,
7962         javax/swing/undo/CompoundEdit.java,
7963         javax/swing/undo/StateEditable.java,
7964         javax/swing/undo/StateEdit.java,
7965         javax/swing/undo/UndoableEdit.java,
7966         javax/swing/undo/UndoableEditSupport.java,
7967         javax/swing/undo/UndoManager.java,
7968         javax/swing/UnsupportedLookAndFeelException.java,
7969         javax/swing/ViewportLayout.java,
7970         javax/swing/WindowConstants.java: New files, from GNU Classpath.
7971
7972         * java/awt/ActiveEvent.java,
7973         java/awt/Adjustable.java, java/awt/AWTError.java,
7974         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
7975         java/awt/AWTException.java, java/awt/AWTPermission.java,
7976         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
7977         java/awt/Color.java, java/awt/Component.java,
7978         java/awt/ComponentOrientation.java, java/awt/Container.java,
7979         java/awt/datatransfer/MimeTypeParseException.java,
7980         java/awt/datatransfer/Transferable.java,
7981         java/awt/datatransfer/UnsupportedFlavorException.java,
7982         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
7983         java/awt/event/ActionListener.java,
7984         java/awt/event/AdjustmentEvent.java,
7985         java/awt/event/AdjustmentListener.java,
7986         java/awt/event/AWTEventListener.java,
7987         java/awt/event/ComponentAdapter.java,
7988         java/awt/event/ComponentEvent.java,
7989         java/awt/event/ComponentListener.java,
7990         java/awt/event/ContainerAdapter.java,
7991         java/awt/event/ContainerEvent.java,
7992         java/awt/event/ContainerListener.java,
7993         java/awt/event/FocusAdapter.java,
7994         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
7995         java/awt/event/HierarchyBoundsAdapter.java,
7996         java/awt/event/HierarchyBoundsListener.java,
7997         java/awt/event/HierarchyEvent.java,
7998         java/awt/event/HierarchyListener.java,
7999         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8000         java/awt/event/InputMethodListener.java,
8001         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8002         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8003         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8004         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8005         java/awt/event/MouseListener.java,
8006         java/awt/event/MouseMotionAdapter.java,
8007         java/awt/event/MouseMotionListener.java,
8008         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8009         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8010         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8011         java/awt/event/WindowListener.java, java/awt/Font.java,
8012         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8013         java/awt/geom/Ellipse2D.java,
8014         java/awt/geom/IllegalPathStateException.java,
8015         java/awt/geom/Line2D.java,
8016         java/awt/geom/NoninvertibleTransformException.java,
8017         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8018         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8019         java/awt/geom/RoundRectangle2D.java,
8020         java/awt/GraphicsConfiguration.java,
8021         java/awt/IllegalComponentStateException.java,
8022         java/awt/image/IndexColorModel.java,
8023         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8024         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8025         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8026         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8027         java/awt/MenuItem.java, java/awt/PaintContext.java,
8028         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8029         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8030         java/awt/PrintJob.java, java/awt/Rectangle.java,
8031         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8032         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8033         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8034
8035         * java/awt/im/spi/InputMethod.java,
8036         java/awt/im/spi/InputMethodContext.java,
8037         java/awt/im/spi/InputMethodDescriptor.java,
8038         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8039         java/awt/image/renderable/ParameterBlock.java,
8040         java/awt/image/renderable/RenderContext.java,
8041         java/awt/image/renderable/RenderableImage.java,
8042         java/awt/image/renderable/RenderableImageOp.java,
8043         java/awt/image/renderable/RenderableImageProducer.java,
8044         java/awt/image/renderable/RenderedImageFactory.java: New files from
8045         classpath.
8046
8047         * gnu/java/awt/EventModifier.java,
8048         gnu/java/awt/image/ImageDecoder.java,
8049         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8050
8051         * gnu/awt/xlib/XGraphicsConfiguration.java,
8052         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8053         API.
8054
8055         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8056         GNU Classpath.
8057
8058         * Makefile.am: Add new files.
8059         * Makefile.in: Rebuilt.
8060
8061 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8062
8063         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8064         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8065         findResource, getResources, findResources): Add javadoc from classpath.
8066         (getSystemResources): Implemented.
8067
8068 2002-08-01  Mark Wielaard  <mark@klomp.org>
8069
8070         Revert patch that breaks libgcj shared library on powerpc:
8071         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8072         implementation classes by using Class.getName(). Uses Strings again.
8073         * gnu/java/security/der/DEREncodingException.java,
8074         gnu/java/security/provider/DERReader.java,
8075         gnu/java/security/provider/DERWriter.java,
8076         gnu/java/security/provider/DSAKeyPairGenerator.java,
8077         gnu/java/security/provider/DSAParameterGenerator.java,
8078         gnu/java/security/provider/DSAParameters.java,
8079         gnu/java/security/provider/DSASignature.java,
8080         gnu/java/security/provider/GnuDSAPrivateKey.java,
8081         gnu/java/security/provider/GnuDSAPublicKey.java,
8082         gnu/java/security/provider/MD5.java,
8083         gnu/java/security/util/Prime.java: Removed.
8084         * Makefile.am (ordinary_java_source_files): Remove above files.
8085         * Makefile.in: Regenerate.
8086         * gnu/java/security/provider/DefaultPolicy.java
8087         (getPermissions): Revert to maintaining static class variable of
8088         Permissions.
8089         * gnu/java/security/provider/SHA.java
8090         (engineUpdate): Revert algorithm change.
8091         (engineDigest): Revert algorithm change.
8092
8093 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8094
8095         * configure.host: Add SH support.
8096         * sysdep/sh/locks.h: New file.
8097
8098 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8099
8100         * java/awt/Frame.java (Frame): Remove println calls.
8101
8102 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8103
8104         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8105         * configure: Rebuilt.
8106
8107 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8108
8109         * sysdep/powerpc/locks.h: Formatting.
8110         (_LARX): Define.
8111         (_STCX): Define.
8112         (compare_and_swap): Use _LARX and _STCX.
8113         (compare_and_swap_release): Likewise.
8114
8115 2002-07-26  Tom Tromey  <tromey@redhat.com>
8116
8117         * java/net/Authenticator.java: New version from Classpath.
8118         * java/net/DatagramSocketImpl.java: New version from Classpath.
8119
8120 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8121
8122         * configure.host: Add powerpc64*-* entry.
8123
8124 2002-07-26  Tom Tromey  <tromey@redhat.com>
8125
8126         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8127         fcntl.h.
8128
8129 2002-07-24  Tom Tromey  <tromey@redhat.com>
8130
8131         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8132         argument to _load.
8133
8134 2002-07-24  Tom Tromey  <tromey@redhat.com>
8135             Tony Kimball <alk@pobox.com>
8136
8137         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8138         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8139         * java/io/RandomAccessFile.java (setLength): New method.
8140         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8141         * java/io/FileDescriptor.java (setLength): New method.
8142
8143 2002-07-24  Mark Wielaard  <mark@klomp.org>
8144
8145         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8146         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8147         field call setAccessible(true).
8148         (setByteField): Likewise.
8149         (setCharField): Likewise.
8150         (setDoubleField): Likewise.
8151         (setFloatField): Likewise.
8152         (setIntField): Likewise.
8153         (setLongField): Likewise.
8154         (setShortField): Likewise.
8155         (setObjectField): Likewise.
8156
8157 2002-07-24  Tom Tromey  <tromey@redhat.com>
8158
8159         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8160         use toString() to format array element.
8161
8162 2002-07-23  Mark Wielaard  <mark@klomp.org>
8163
8164         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8165         MessageDigestSpi (fixes Classpath bug #783).
8166
8167 2002-07-21  Mark Wielaard  <mark@klomp.org>
8168
8169         * gnu/java/security/provider/Gnu.java: Reference all implementation
8170         classes by using Class.getName().
8171
8172 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8173
8174         * java/lang/ieeefp.h: Add x86-64 support.
8175         * configure.in: Likewise.
8176         * configure.host: Likewise.
8177         * configure: Regenerated.
8178         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8179
8180 2002-07-16  Mark Wielaard  <mark@klomp.org>
8181
8182         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8183         (whitespaceChars): call resetChar().
8184
8185 2002-07-15  Tom Tromey  <tromey@redhat.com>
8186
8187         * Makefile.in: Rebuilt.
8188         * Makefile.am (awt_java_source_files): Added new files.
8189         * java/beans/ExceptionListener.java: Merged with Classpath.
8190         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8191         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8192         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8193         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8194         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8195         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8196         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8197
8198 2002-07-14  Mark Wielaard  <mark@klomp.org>
8199
8200         * gnu/java/security/der/DEREncodingException.java,
8201         gnu/java/security/provider/DERReader.java,
8202         gnu/java/security/provider/DERWriter.java,
8203         gnu/java/security/provider/DSAKeyPairGenerator.java,
8204         gnu/java/security/provider/DSAParameterGenerator.java,
8205         gnu/java/security/provider/DSAParameters.java,
8206         gnu/java/security/provider/DSASignature.java,
8207         gnu/java/security/provider/GnuDSAPrivateKey.java,
8208         gnu/java/security/provider/GnuDSAPublicKey.java,
8209         gnu/java/security/provider/MD5.java,
8210         gnu/java/security/util/Prime.java: New files from Classpath.
8211         * Makefile.am (ordinary_java_source_files): Add new files.
8212         * Makefile.in: Regenerate.
8213
8214 2002-07-14  C. Brian Jones <cbj@gnu.org>
8215
8216         * gnu/java/security/provider/DefaultPolicy.java
8217         (getPermissions): do not maintain static class variable of
8218         Permissions
8219         * gnu/java/security/provider/SHA.java
8220         (engineUpdate): algorithm change
8221         (engineDigest): algorithm change
8222
8223 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8224
8225         For PR libgcj/7292:
8226         * java/lang/Character.java (toString(char)): Now static.
8227
8228 2002-07-12  Mark Wielaard  <mark@klomp.org>
8229
8230         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8231         (getStackTrace0): new method.
8232         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8233         (printStackTrace(PrintWriter)): replace with pure java implementation.
8234         (printRawStackTrace): removed.
8235         (getStackTrace0): new method.
8236         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8237         * gcj/javaprims.h: regenerate class list.
8238         * include/name-finder.h (lookup): new returns StackTraceElement*.
8239         (method_name, file_name): fields removed.
8240         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8241         (~_Jv_name_finder): close new descriptors.
8242         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8243         (createStackTraceElement): new method.
8244         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8245
8246 2002-07-10  Tom Tromey  <tromey@redhat.com>
8247
8248         * configure: Rebuilt.
8249         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8250
8251 2002-07-08  Mark Wielaard  <mark@klomp.org>
8252
8253         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8254         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8255         java.sql.DatabaseMetaData.TestJdbc20
8256
8257 2002-07-05  Tony Kimball  <alk@pobox.com>
8258
8259         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8260
8261 2002-07-04  Tom Tromey  <tromey@redhat.com>
8262             Jeff Sturm  <jsturm@one-point.com>
8263
8264         Fix for PR libgcj/7060:
8265         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8266         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8267         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8268         * java/lang/Class.java (getMethod): New Java implementation;
8269         complies with spec.
8270         (_getMethod): New native method.
8271
8272 2002-07-02  Tom Tromey  <tromey@redhat.com>
8273             David Hovemeyer  <daveho@cs.umd.edu>
8274
8275         * java/text/ChoiceFormat.java
8276         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8277         in check loop.
8278         * java/text/MessageFormat.java
8279         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8280         to MessageFormat.
8281
8282 2002-07-01  Tom Tromey  <tromey@redhat.com>
8283
8284         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8285         StringTokenizer on null string.  For PR libgcj/7180.
8286         From daveho@cs.umd.edu.
8287
8288 2002-06-24  Tom Tromey  <tromey@redhat.com>
8289
8290         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8291         (IntegerClass): Likewise.
8292         * java/lang/natClass.cc (CloneableClass): Removed.
8293         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8294         ConstructorClass): Likewise.
8295         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8296         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8297         SerializableClass): Likewise.
8298         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8299         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8300         LongClass, FloatClass, DoubleClass): Likewise.
8301
8302         * verify.cc (branch_prepass): Updated for change to exception
8303         handler type.
8304         (verify_instructions_0): Likewise.
8305         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8306         (handleExceptionTableEntry): Updated for change to exception
8307         handler type.
8308         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8309         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8310         (union _Jv_InterpPC): New.
8311         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8312         (class _Jv_InterpMethod): Added new `prepared' field.
8313         (class _Jv_InterpMethod): Added `compile' method.  Removed
8314         `continue1' and `find_exception'.  Changed arguments to `run'.
8315         * interpret.cc (union insn_slot): New.
8316         (find_exception): Removed.
8317         (run_normal): Removed most logic.
8318         (run_synch_object): Likewise; also, use JvSynchronize.
8319         (run_synch_class): Likewise.
8320         (run): Removed.
8321         (continue1): Renamed as `run'.  Compile bytecode if required.
8322         Add new code to allow refinement of direct-threaded code at
8323         runtime.  Handle exceptions.
8324         (SAVE_PC): Removed.
8325         (compile): New method.
8326         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8327         (NULLARRAYCHECK): Don't use SAVE_PC.
8328         (pc_t): New typedef.
8329         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8330         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8331
8332 2002-06-23  Tom Tromey  <tromey@redhat.com>
8333
8334         * configure: Rebuilt.
8335         * configure.in (INTERPRETER): New subst.
8336         (AM_RUNTESTFLAGS): Don't subst.
8337
8338         * Makefile.in: Rebuilt.
8339         * Makefile.am ($(srcdir)/java/lang/Object.h,
8340         $(srcdir)/java/lang/Class.h): Added dummy targets.
8341
8342 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8343
8344         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8345
8346         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8347         java/sql/Savepoint.java: New files.
8348         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8349         java/sql/Blob.java, java/sql/CallableStatement.java,
8350         java/sql/Clob.java, java/sql/Connection.java,
8351         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8352         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8353         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8354         java/sql/Ref.java, java/sql/ResultSet.java,
8355         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8356         java/sql/SQLException.java, java/sql/SQLInput.java,
8357         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8358         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8359         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8360         (JDK 1.4) specification.
8361         * javax/sql/ConnectionEvent.java,
8362         javax/sql/ConnectionEventListener.java,
8363         javax/sql/ConnectionPoolDataSource.java,
8364         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8365         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8366         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8367         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8368         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8369         javax/sql/XADataSource.java: New files.
8370         * Makefile.am: Add new files.
8371         * Makefile.in: Rebuilt.
8372
8373 2002-06-20  Tom Tromey  <tromey@redhat.com>
8374
8375         For PR libgcj/7073:
8376         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8377         exists.
8378         * defineclass.cc (handleClassBegin): Superclass for interface is
8379         `null'.
8380
8381 2002-06-18  Tom Tromey  <tromey@redhat.com>
8382
8383         * gcj/javaprims.h: Updated class declaration list.
8384         * Makefile.in: Rebuilt.
8385         * Makefile.am (core_java_source_files): Removed
8386         BasicMapEntry.java.
8387         * java/util/BasicMapEntry.java: Removed.
8388
8389 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8390
8391         * java/net/natPlainDatagramSocketImpl.cc (receive):
8392         Check bounds of argument to FD_SET.
8393         (setOption): Throw exception if socket is closed.
8394
8395         * java/net/natPlainSocketImpl.cc (accept, read):
8396         Check bounds of argument to FD_SET.
8397         (setOption): Throw exception if socket is closed.
8398
8399 2002-06-18  Tom Tromey  <tromey@redhat.com>
8400
8401         * gcj/javaprims.h: Updated class declaration list.
8402         * Makefile.in: Rebuilt.
8403         * Makefile.am (core_java_source_files): Added
8404         PropertyPermissionCollection.java.
8405         * java/lang/Thread.java (group, name): Now package-private.
8406         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8407         * java/util/AbstractList.java: Likewise.
8408         * java/util/AbstractMap.java: Likewise.
8409         * java/util/Calendar.java: Likewise.
8410         * java/util/Collections.java: Likewise.
8411         * java/util/HashMap.java: Likewise.
8412         * java/util/Hashtable.java: Likewise.
8413         * java/util/LinkedHashMap.java: Likewise.
8414         * java/util/LinkedList.java: Likewise.
8415         * java/util/List.java: Likewise.
8416         * java/util/ListResourceBundle.java: Likewise.
8417         * java/util/Map.java: Likewise.
8418         * java/util/Observable.java: Likewise.
8419         * java/util/Properties.java: Likewise.
8420         * java/util/PropertyPermission.java: Likewise.
8421         * java/util/PropertyPermissionCollection.java: Likewise.
8422         * java/util/PropertyResourceBundle.java: Likewise.
8423         * java/util/Random.java: Likewise.
8424         * java/util/SimpleTimeZone.java: Likewise.
8425         * java/util/StringTokenizer.java: Likewise.
8426         * java/util/TimerTask.java: Likewise.
8427         * java/util/TreeMap.java: Likewise.
8428         * java/util/WeakHashMap.java: Likewise.
8429         * java/util/jar/Attributes.java: Likewise.
8430         * java/util/jar/JarException.java: Likewise.
8431         * java/util/jar/Manifest.java: Likewise.
8432
8433 2002-06-17  Tom Tromey  <tromey@redhat.com>
8434
8435         * gcj/javaprims.h: Updated class declaration list.
8436         * Makefile.in: Rebuilt.
8437         * Makefile.am (core_java_source_files): Added new file.
8438         * java/util/EventListenerProxy.java: New file.
8439         * java/util/EventListener.java: Re-merge with Classpath.
8440         * java/util/EventObject.java: Re-merge with Classpath.
8441
8442 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8443
8444         * java/lang/ClassNotFoundException.java: New Classpath version.
8445
8446 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8447
8448         * java/rmi/activation/ActivateFailedException.java: Remerge from
8449         Classpath version.
8450         * java/rmi/activation/ActivationException.java: Ditto.
8451         * java/rmi/activation/UnknownGroupException.java: Ditto.
8452         * java/rmi/activation/UnknownObjectException.java: Ditto.
8453         * java/rmi/server/ExportException: Ditto.
8454         * java/rmi/server/ServerCloneException: Ditto.
8455         * java/rmi/server/ServerNotActiveException: Ditto.
8456         * java/rmi/server/SkeletonMismatchException: Ditto.
8457         * java/rmi/server/SkeletonNotFoundException: Ditto.
8458         * java/rmi/server/SocketSecurityException: Ditto.
8459
8460 2002-06-16  Tom Tromey  <tromey@redhat.com>
8461
8462         * gcj/javaprims.h: Updated class declaration list.
8463
8464         * java/io/LineNumberInputStream.java: Merged with Classpath.
8465
8466         * java/lang/RuntimeException.java: Re-merge with Classpath.
8467         * java/util/ArrayList.java: Likewise.
8468         * java/util/Arrays.java: Likewise.
8469         * java/util/BitSet.java: Likewise.
8470         * java/util/Dictionary.java: Likewise.
8471         * java/util/IdentityHashMap.java: Likewise.
8472         * java/util/MissingResourceException.java: Likewise.
8473         * java/util/Observer.java: Likewise.
8474         * java/util/TooManyListenersException.java: Likewise.
8475         * java/util/zip/DataFormatException.java: Likewise.
8476         * java/util/zip/ZipException.java: Likewise.
8477
8478 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8479
8480         * java/rmi/AccessException.java: Remerge from Classpath.
8481         * java/rmi/AlreadyBoundException.java: Ditto.
8482         * java/rmi/ConnectException.java: Ditto.
8483         * java/rmi/ConnectIOException.java: Ditto.
8484         * java/rmi/MarshalException.java: Ditto.
8485         * java/rmi/NoSuchObjectException.java: Ditto.
8486         * java/rmi/NotBoundException.java: Ditto.
8487         * java/rmi/RemoteException.java: Ditto.
8488         * java/rmi/RMISecurityException.java: Ditto.
8489         * java/rmi/ServerError.java: Ditto.
8490         * java/rmi/ServerException.java: Ditto.
8491         * java/rmi/ServerRuntimeException.java: Ditto.
8492         * java/rmi/StubNotFoundException.java: Ditto.
8493         * java/rmi/UnexpectedExcpetion.java: Ditto.
8494         * java/rmi/UnknownHostException.java: Ditto.
8495         * java/rmi/UnmarshalException.java: Ditto.
8496
8497 2002-06-15  Tom Tromey  <tromey@redhat.com>
8498
8499         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8500         * java/lang/ArithmeticException.java: Likewise.
8501         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8502         * java/lang/ArrayStoreException.java: Likewise.
8503         * java/lang/Byte.java: Likewise.
8504         * java/lang/CharSequence.java: Likewise.
8505         * java/lang/ClassCastException.java: Likewise.
8506         * java/lang/ClassCircularityError.java: Likewise.
8507         * java/lang/ClassFormatError.java: Likewise.
8508         * java/lang/CloneNotSupportedException.java: Likewise.
8509         * java/lang/Cloneable.java: Likewise.
8510         * java/lang/Comparable.java: Likewise.
8511         * java/lang/Compiler.java: Likewise.
8512         * java/lang/Error.java: Likewise.
8513         * java/lang/ExceptionInInitializerError.java: Likewise.
8514         * java/lang/IllegalAccessError.java: Likewise.
8515         * java/lang/IllegalAccessException.java: Likewise.
8516         * java/lang/IllegalArgumentException.java: Likewise.
8517         * java/lang/IllegalMonitorStateException.java: Likewise.
8518         * java/lang/IllegalStateException.java: Likewise.
8519         * java/lang/IllegalThreadStateException.java: Likewise.
8520         * java/lang/IncompatibleClassChangeError.java: Likewise.
8521         * java/lang/IndexOutOfBoundsException.java: Likewise.
8522         * java/lang/InheritableThreadLocal.java: Likewise.
8523         * java/lang/InstantiationError.java: Likewise.
8524         * java/lang/InstantiationException.java: Likewise.
8525         * java/lang/InternalError.java: Likewise.
8526         * java/lang/InterruptedException.java: Likewise.
8527         * java/lang/LinkageError.java: Likewise.
8528         * java/lang/NegativeArraySizeException.java: Likewise.
8529         * java/lang/NoClassDefFoundError.java: Likewise.
8530         * java/lang/NoSuchFieldError.java: Likewise.
8531         * java/lang/NoSuchFieldException.java: Likewise.
8532         * java/lang/NoSuchMethodError.java: Likewise.
8533         * java/lang/NoSuchMethodException.java: Likewise.
8534         * java/lang/NullPointerException.java: Likewise.
8535         * java/lang/NumberFormatException.java: Likewise.
8536         * java/lang/OutOfMemoryError.java: Likewise.
8537         * java/lang/Process.java: Likewise.
8538         * java/lang/Runnable.java: Likewise.
8539         * java/lang/RuntimePermission.java: Likewise.
8540         * java/lang/SecurityException.java: Likewise.
8541         * java/lang/Short.java: Likewise.
8542         * java/lang/StackOverflowError.java: Likewise.
8543         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8544         * java/lang/ThreadDeath.java: Likewise.
8545         * java/lang/ThreadLocal.java: Likewise.
8546         * java/lang/UnknownError.java: Likewise.
8547         * java/lang/UnsatisfiedLinkError.java: Likewise.
8548         * java/lang/UnsupportedClassVersionError.java: Likewise.
8549         * java/lang/UnsupportedOperationException.java: Likewise.
8550         * java/lang/VerifyError.java: Likewise.
8551         * java/lang/VirtualMachineError.java: Likewise.
8552         * java/lang/reflect/InvocationTargetException.java: Likewise.
8553         * java/net/BindException.java: Likewise.
8554         * java/net/ConnectException.java: Likewise.
8555         * java/net/MalformedURLException.java: Likewise.
8556         * java/net/NoRouteToHostException.java: Likewise.
8557         * java/net/ProtocolException.java: Likewise.
8558         * java/net/SocketException.java: Likewise.
8559         * java/net/UnknownHostException.java: Likewise.
8560         * java/net/UnknownServiceException.java: Likewise.
8561
8562         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8563         * java/io/CharConversionException.java: Likewise.
8564         * java/io/EOFException.java: Likewise.
8565         * java/io/FileNotFoundException.java: Likewise.
8566         * java/io/IOException.java: Likewise.
8567         * java/io/InterruptedIOException.java: Likewise.
8568         * java/io/InvalidClassException.java: Likewise.
8569         * java/io/InvalidObjectException.java: Likewise.
8570         * java/io/NotActiveException.java: Likewise.
8571         * java/io/NotSerializableException.java: Likewise.
8572         * java/io/ObjectStreamException.java: Likewise.
8573         * java/io/ObjectStreamConstants.java: Likewise.
8574         * java/io/OptionalDataException.java: Likewise.
8575         * java/io/PipedInputStream.java: Likewise.
8576         * java/io/PushbackInputStream.java: Likewise.
8577         * java/io/StreamCorruptedException.java: Likewise.
8578         * java/io/SyncFailedException.java: Likewise.
8579         * java/io/UTFDataFormatException.java: Likewise.
8580         * java/io/UnsupportedEncodingException.java: Likewise.
8581         * java/io/WriteAbortedException.java: Likewise.
8582
8583 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8584
8585         * java/text/ChoiceFormat.java: Update comments from Classpath.
8586         * java/text/ParseException.java (serialVersionUID): New
8587         field from Classpath.
8588         * java/text/ParseException.java: Update formatting & comments
8589         from Classpath.
8590
8591 2002-06-15  Tom Tromey  <tromey@redhat.com>
8592
8593         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8594         been read but none output by inflater.
8595         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8596         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8597         is_finished.
8598         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8599         version.
8600         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8601         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8602         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8603         version.
8604         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8605
8606 2002-06-13  Tom Tromey  <tromey@redhat.com>
8607
8608         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8609         true and OFFSET!=0.
8610         * java/lang/String.java (String(char[],int,int,boolean): New
8611         constructor.
8612         * java/lang/Long.java: Imported new version from Classpath.
8613         * java/lang/Number.java: Likewise.
8614         * java/lang/Integer.java: Likewise.
8615         * java/lang/Long.java: Likewise.
8616         * java/lang/Float.java: Likewise.
8617         * java/lang/Boolean.java: Likewise.
8618         * java/lang/Double.java: Likewise.
8619         * java/lang/Void.java: Likewise.
8620
8621 2002-06-12  Tom Tromey  <tromey@redhat.com>
8622
8623         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8624         Fixes PR libgcj/6652.
8625
8626 2002-06-10  Tom Tromey  <tromey@redhat.com>
8627
8628         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8629         (Class::getPackagePortion): Likewise.
8630         * java/lang/Class.java (desiredAssertionStatus): New method from
8631         Classpath.
8632         (getPackagePortion): Likewise.
8633         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8634         packageAssertionStatus, classAssertionStatus): New methods from
8635         Classpath.
8636         * java/lang/ClassLoader.java (defaultAssertionStatus,
8637         systemPackageAssertionStatus, packageAssertionStatus,
8638         systemClassAssertionStatus, classAssertionStatus): New fields from
8639         Classpath.
8640         (setDefaultAssertionStatus, setPackageAssertionStatus,
8641         setClassAssertionStatus, clearAssertionStatus): New methods from
8642         Classpath.
8643         * Makefile.in: Rebuilt.
8644         * Makefile.am (core_java_source_files): Added AssertionError.java.
8645         * java/lang/AssertionError.java: New from Classpath.
8646
8647 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8648
8649         * configure.host: Disable hash synchronization and slow_pthread_self
8650         for cygwin.
8651
8652 2002-06-06  Adam Megacz <adam@xwt.org>
8653
8654         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8655         locking, just like the Sun JVM does.
8656
8657 2002-06-05  H.J. Lu  (hjl@gnu.org)
8658
8659         * Makefile.am (libgcj_convenience.la): Revert the last change.
8660         (libgcj.la): Likewise.
8661         * Makefile.in: Regenerated.
8662
8663 2002-06-04  H.J. Lu  (hjl@gnu.org)
8664
8665         * Makefile.am (libgcj_convenience.la): New target.
8666         (libgcj.la): Depend on libgcj_convenience.la.
8667         * Makefile.in: Regenerated.
8668
8669 2002-06-04  H.J. Lu  (hjl@gnu.org)
8670
8671         * configure.in (--with-newlib): New option:
8672         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8673         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8674         Linux.
8675         * configure: Regenerated.
8676
8677 2002-06-04  Tom Tromey  <tromey@redhat.com>
8678
8679         * java/util/natTimeZone.cc: Include <stdio.h>.
8680
8681 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8682
8683         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8684         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8685         Set SIGNAL_HANDLER=include/s390-linux.h.
8686         * configure: Regenerate.
8687         * include/s390-linux.h: New file.
8688
8689 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8690
8691         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8692         not "stackTrace".
8693
8694 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8695
8696         Merge JDK 1.4 java.security changes from classpath.
8697
8698         * java/security/AccessControlException.java: Merge from Classpath.
8699         * java/security/AccessController.java: Likewise.
8700         * java/security/AllPermission.java: Likewise.
8701         * java/security/BasicPermission.java: Likewise.
8702         * java/security/Certificate.java: Likewise.
8703         * java/security/CodeSource.java: Likewise.
8704         * java/security/DigestException.java: Likewise.
8705         * java/security/DigestOutputStream.java: Likewise.
8706         * java/security/DomainCombiner.java: Likewise.
8707         * java/security/GeneralSecurityException.java: Likewise.
8708         * java/security/Guard.java: Likewise.
8709         * java/security/GuardedObject.java: Likewise.
8710         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8711         * java/security/InvalidKeyException.java: Likewise.
8712         * java/security/InvalidParameterException.java: Likewise.
8713         * java/security/Key.java: Likewise.
8714         * java/security/KeyException.java: Likewise.
8715         * java/security/KeyManagementException.java: Likewise.
8716         * java/security/KeyStoreException.java: Likewise.
8717         * java/security/MessageDigest.java: Likewise.
8718         * java/security/NoSuchAlgorithmException.java: Likewise.
8719         * java/security/NoSuchProviderException.java: Likewise.
8720         * java/security/Permission.java: Likewise.
8721         * java/security/PermissionCollection.java: Likewise.
8722         * java/security/Permissions.java: Likewise.
8723         * java/security/Policy.java: Likewise.
8724         * java/security/Principal.java: Likewise.
8725         * java/security/PrivateKey.java: Likewise.
8726         * java/security/PrivilegedAction.java: Likewise.
8727         * java/security/PrivilegedActionException.java: Likewise.
8728         * java/security/PrivilegedExceptionAction.java: Likewise.
8729         * java/security/ProtectionDomain.java: Likewise.
8730         * java/security/ProviderException.java: Likewise.
8731         * java/security/PublicKey.java: Likewise.
8732         * java/security/SecureClassLoader.java: Likewise.
8733         * java/security/SecurityPermission.java: Likewise.
8734         * java/security/SignatureException.java: Likewise.
8735         * java/security/UnrecoverableKeyException.java: Likewise.
8736         * java/security/UnresolvedPermission.java: Likewise.
8737         * java/security/acl/AclNotFoundException.java: Likewise.
8738         * java/security/acl/LastOwnerException.java: Likewise.
8739         * java/security/acl/NotOwnerException.java: Likewise.
8740         * java/security/cert/CRLException.java: Likewise.
8741         * java/security/cert/CertificateEncodingException.java: Likewise.
8742         * java/security/cert/CertificateException.java: Likewise.
8743         * java/security/cert/CertificateExpiredException.java: Likewise.
8744         * java/security/cert/CertificateFactory.java: Likewise.
8745         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8746         * java/security/cert/CertificateParsingException.java: Likewise.
8747         * java/security/spec/InvalidKeySpecException.java: Likewise.
8748         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8749
8750         * java/security/cert/CertPath.java: New file.
8751         * java/security/cert/CertPathBuilderException.java: New file.
8752         * java/security/cert/CertPathValidatorException.java: New file.
8753         * java/security/cert/CertStoreException.java: New file.
8754
8755         * Makefile.am: Add new CertPath classes.
8756         * Makefile.in: Rebuilt.
8757
8758         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8759
8760 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8761
8762         Merge JDK 1.4 exception chaining support from classpath.
8763
8764         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8765         (stackTraceBytes): Rename from stackTrace.
8766         * java/lang/Exception.java: Merge from classpath.
8767         * java/lang/StackTraceElement: New file from classpath.
8768         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8769         * Makefile.am: Add StackTraceElement.
8770         * Makefile.in: Rebuilt.
8771
8772 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8773
8774         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8775         they build first.
8776         * Makefile.in: Rebuilt.
8777
8778 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8779
8780         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
8781         * configure.in: Likewise.
8782         * aclocal.m4: Regenerate.
8783         * configure: Regenerate.
8784
8785 2002-05-13  Tom Tromey  <tromey@redhat.com>
8786
8787         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
8788         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
8789         Include platform.h.
8790
8791         Fixes PR libgcj/6389:
8792         * Makefile.in: Rebuilt.
8793         * Makefile.am (nat_source_files): Added natTimeZone.cc.
8794         * java/util/natTimeZone.cc: New file.
8795         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
8796         * java/lang/System.java: Merged with Classpath.
8797         * java/lang/Runtime.java: Merged with Classpath.
8798         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
8799         security check.
8800         (setIn0): Renamed from setIn; don't run security check.
8801         (setOut0): Renamed from setOut; don't run security check.
8802         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
8803         init_properties): Moved to natRuntime.cc.
8804         Moved many includes to natRuntime.cc.
8805         (isWordsBigEndian): New method.
8806         * java/lang/natRuntime.cc: Include Long.h, also other includes
8807         previously in natSystem.cc.
8808         (maxMemory): New function.
8809         (exitInternal): Renamed from `_exit'.
8810         (exit): Removed.
8811         (init): Don't set finalize_on_exit.
8812         (exitInternal): Use `finalizeOnExit'.
8813         (file_encoding, getpwuid_adaptor): New functions from
8814         natSystem.cc.
8815         (insertSystemProperties): New method, renamed from
8816         System::init_properties.  Don't set user.timezone.
8817         (_load): Don't call checkLink.
8818         (execInternal): New method.
8819         (availableProcessors): Likewise.
8820         (nativeGetLibname): Likewise.
8821
8822 2002-05-11  Mark Wielaard  <mark@klomp.org>
8823
8824         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
8825         space characters.
8826         (previous_internal): Likewise.
8827
8828 2002-05-09  Tom Tromey  <tromey@redhat.com>
8829
8830         * jni.cc (_Jv_JNIFunctions): Fixed typo.
8831
8832         * java/util/ResourceBundle.java: New version from Classpath.
8833         * java/util/Locale.java: Likewise.
8834
8835 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
8836
8837         * testsuite/lib/libjava.exp (libjava_arguments): Append all
8838         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
8839         LD_LIBRARY_PATH.
8840
8841 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
8842
8843         * libjava/Makefile.am (all_java_source_files): New variable.
8844         (all_java_class_files): Likewise.
8845         .java.class: New rule.
8846         (CLEANFILES): Remove tmp-list.
8847         * libjava/Makefile.in: Regenerated.
8848
8849 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
8850
8851         * testsuite/lib/libjava.exp (test_libjava_from_javac):
8852         Append .exe to executable names.  Fix for cygwin.
8853
8854 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
8855
8856         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
8857         script entry, and set LD to it when configuring multilibs.
8858         * configure: Rebuilt.
8859
8860 2002-05-07  Tom Tromey  <tromey@redhat.com>
8861
8862         * java/lang/natString.cc (unintern): Fixed typo.
8863
8864 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8865
8866         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
8867         with -no-install on *-*-cygwin*.
8868
8869 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8870
8871         * testsuite/lib/libjava.exp (test_libjava_from_source):
8872         Add comment explaining last patch
8873
8874 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
8875
8876         * testsuite/lib/libjava.exp (test_libjava_from_source):
8877         Append .exe to executable names.  If no suffix is present,
8878         then ".exe" is added by default on win32.  Harmless
8879         elsewhere so always do it.
8880
8881 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
8882             Tom Tromey  <tromey@redhat.com>
8883
8884         * java/lang/natSystem.cc (getSystemTimeZone): Use
8885         HAVE_UNDERSCORE_TIMEZONE.
8886         * include/config.h.in: Rebuilt.
8887         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
8888         * aclocal.m4, configure: Rebuilt.
8889         * acinclude.m4: Run AC_EXEEXT.
8890         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
8891         Add test for `_timezone'.
8892
8893 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
8894
8895         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8896         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
8897         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
8898         * Makefile.in: Rebuilt.
8899
8900 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
8901
8902         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
8903         use sigaction instead of __libc_sigaction.
8904
8905 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8906
8907         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
8908         (libjava_init): Use it to find libgcj.spec.
8909         (libjava_arguments): Likewise.
8910
8911 2002-05-02  David S. Miller  <davem@redhat.com>
8912
8913         PR bootstrap/6525
8914         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
8915         __libc_sigaction on Sparc.
8916
8917 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
8918
8919         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
8920         sys/filio.h, if present.
8921
8922 2002-04-30  Tom Tromey  <tromey@redhat.com>
8923
8924         * java/io/BufferedReader.java (fill): Handle case where markPos
8925         point to ignored \n.  Fixes PR libgcj/6301.
8926
8927 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
8928
8929         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
8930
8931 2002-04-29  Adam King <aking@dreammechanics.com>
8932
8933         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
8934         of file in APPEND mode.
8935
8936 2002-04-25  David S. Miller  <davem@redhat.com>
8937
8938         PR target/6422
8939         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
8940         program counter to next program counter minus 8.  Update
8941         comments in this macro to explain why.
8942
8943 2002-04-26  Tom Tromey  <tromey@redhat.com>
8944
8945         * verify.cc (construct_primitive_array_type) [void_type]: New
8946         case.
8947         (branch_prepass): Added dummy entries for unused instruction
8948         values.
8949         (verify_instructions_0): Likewise.
8950         * interpret.cc (continue1): Comment fix.
8951         * include/java-insns.h (op_xxxunusedxxx1): Removed.
8952         * Makefile.in: Rebuilt.
8953         * Makefile.am: Added -Wswitch-enum.
8954
8955 2002-04-24  Tom Tromey  <tromey@redhat.com>
8956
8957         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
8958         correct length of UTF-8 encoded name.  Strip leading `/'.
8959         (_Jv_RegisterResource): Use _Jv_Malloc.
8960
8961 2002-04-23  Adam Megacz <adam@xwt.org>
8962
8963         * win32.cc, include/win32.cc (backtrace): Added this function
8964         because Win32 does not supply it.
8965
8966 2002-04-21  David S. Miller  <davem@redhat.com>
8967
8968         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
8969         magic instruction reading sequence.
8970
8971 2002-04-21  Mark Wielaard  <mark@klomp.org>
8972
8973         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
8974
8975 2002-04-19  David S. Miller  <davem@redhat.com>
8976
8977         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
8978         arg.
8979         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
8980         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
8981         on Sparc too.
8982         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
8983         for 64-bit sparc.
8984         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
8985         * sysdeps/sparc/locks.h: New file.
8986         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
8987         on all sparc Solaris configurations.  Set to
8988         include/dwarf2-signal.h on sparc Linux.
8989         * configure: Regenerate
8990         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
8991
8992 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
8993
8994         * configure: Rebuilt.
8995         * configure.in (backtrace): Function doesn't work on IA-64.
8996
8997 2002-04-17  Adam King <aking@dreammechanics.com>
8998
8999         * java/io/File.java (normalizePath): Add Win32 support for auto
9000         conversion of a '/' path separator to Win32's '\' separator.
9001
9002 2002-04-16  Tom Tromey  <tromey@redhat.com>
9003
9004         Fix for PR libgcj/6081:
9005         * Makefile.in: Rebuilt.
9006         * Makefile.am (install-data-local): Use GNU make trick to avoid
9007         shell limit.
9008
9009 2002-04-16  Adam King <aking@dreammechanics.com>
9010             Tom Tromey  <tromey@redhat.com>
9011
9012         * java/io/natFileWin32.cc (performList): Return the correct array
9013         type.  Don't duplicate the creation of a File since it's already
9014         done earlier in the method and the existing code would cause a
9015         ArrayStoreException.  Don't use fixed-size array.
9016         (_access, _stat, attr, getCanonicalPath, performMkdir,
9017         performRenameTo): Don't use fixed-size array.
9018         (getCanonicalPath): Use throw, not _Jv_Throw.
9019
9020 2002-04-15  DJ Delorie  <dj@redhat.com>
9021
9022         * configure.in: Allow building in $srcdir.
9023         * configure: Regenerated.
9024
9025 2002-04-14  Mark Wielaard <mark@klomp.org>
9026
9027         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9028         * java/net/natSocketImpl.cc (close): Likewise.
9029
9030 2002-04-14  Mark Wielaard <mark@klomp.org>
9031
9032         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9033
9034 2002-04-13  Adam King <aking@dreammechanics.com>
9035
9036         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9037         the f/F/d/D modifiers.
9038
9039 2002-04-12  Anthony Green  <green@redhat.com>
9040
9041         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9042         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9043         * Makefile.in: Rebuilt.
9044         * configure.in: Substitute gcc_version.
9045         * configure: Rebuilt.
9046
9047 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9048
9049         * configure.host: Set can_unwind_signal on hosts which support it.
9050         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9051         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9052         exceptions and can_unwind_signal isn't set.
9053         * configure: Rebuilt.
9054
9055 2002-04-11  Tom Tromey  <tromey@redhat.com>
9056
9057         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9058
9059 2002-04-11  Adam King <aking@dreammechanics.com>
9060             Tom Tromey  <tromey@redhat.com>
9061
9062         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9063         _Jv_ThrowNullPointerException): Mark as noreturn.
9064         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9065         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9066         fixes.
9067
9068 2002-04-10  Tom Tromey  <tromey@redhat.com>
9069
9070         * Makefile.in: Rebuilt.
9071         * Makefile.am (java/lang/Thread.h): Mark
9072         _Jv_AttachCurrentThreadAsDaemon as friend.
9073         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9074         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9075         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9076         function.
9077         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9078         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9079         (_Jv_JNI_InvokeFunctions): Added
9080         _Jv_JNI_AttachCurrentThreadAsDaemon.
9081         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9082         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9083         (JNI_CreateJavaVM): Likewise.
9084         (_Jv_JNI_AttachCurrentThread): Likewise.
9085         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9086         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9087         (_Jv_JNIFunctions): Initialize new fields.
9088         (_Jv_JNI_NewDirectByteBuffer): New function.
9089         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9090         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9091         * include/jni.h (JNI_VERSION_1_4): New macro.
9092         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9093         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9094         (JNINativeInterface::NewDirectByteBuffer): New field.
9095         (JNINativeInterface::GetDirectBufferAddress): New field.
9096         (JNINativeInterface::GetDirectBufferCapacity): New field.
9097         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9098         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9099         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9100
9101 2002-04-09  Tom Tromey  <tromey@redhat.com>
9102
9103         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9104
9105 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9106
9107         Fix for PR libgcj/6187:
9108         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9109         distance.
9110
9111 2002-04-07  Mark Wielaard <mark@klomp.org>
9112
9113         * java/util/AbstractMap.java (putAll): Use entrySet size.
9114         (toString): Explicitly use getKey() and getValue().
9115
9116 2002-04-07  Mark Wielaard <mark@klomp.org>
9117
9118         * java/util/Hashtable.java (contains): Remove NullPointer check.
9119         (containsValue): Add NullPointer check.
9120         (remove): Always throw NullPointerException when key
9121         is null.
9122
9123 2002-04-07  Adam King <aking@dreammechanics.com>
9124
9125         * java/lang/natSystem.cc (init_properties): Call new function
9126         _Jv_platform_initProperties.
9127         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9128         support for the System properties os.name, os.arch, os.version,
9129         user.name, user.home, and user.dir.
9130         * include/posix.h, include/win32.h, posix.cc: New function
9131         _Jv_platform_initProperties.
9132
9133 2002-04-06  Mark Wielaard <mark@klomp.org>
9134
9135         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9136
9137 2002-04-06  Mark Wielaard <mark@klomp.org>
9138
9139         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9140         all of the remaining elements.
9141         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9142         (removeRange): If toIndex == fromIndex do
9143         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9144         (removeAll): Always throw NullPointerException when collection is
9145         null.
9146         (retrainAll): Likewise.
9147
9148 2002-04-05  Mark Wielaard <mark@klomp.org>
9149
9150         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9151         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9152
9153 2002-04-05  Adam Megacz <adam@xwt.org>
9154
9155         * exception.cc (abort): added static modifier
9156
9157 2002-04-04  Adam Megacz <adam@xwt.org>
9158
9159         * include/win32.h (_Jv_platform_close_on_exec): added inline
9160         modifier.
9161
9162 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9163
9164         * configure.host: Add case statement to support generic port
9165         properties.  Add *-*-freebsd* section.
9166
9167 2002-04-04  Mark Wielaard  <mark@klomp.org>
9168
9169         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9170         test.
9171         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9172         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9173         that depend on awt code and BufferedByteOutputStream.interrupt.
9174
9175 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9176
9177         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9178         incorrect "hi" value when count > 40.
9179
9180 2002-04-03  Mark Wielaard  <mark@klomp.org>
9181
9182         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9183         ordering.
9184
9185 2002-04-02  Tom Tromey  <tromey@redhat.com>
9186
9187         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9188         not `0'.
9189
9190 2002-04-02  Mark Wielaard  <mark@klomp.org>
9191
9192         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9193         list of testsuite crashers.
9194
9195 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9196
9197         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9198         when resizing table.
9199
9200 2002-04-01  Mark Wielaard  <mark@klomp.org>
9201
9202         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9203         NegativeArraySizeException
9204         (clear(int)): Use sign extended shift.
9205         (flip(int)): Likewise.
9206         (get(int)): Likewise.
9207         (nextClearBit(int)): Likewise.
9208         (nextSetBit(int)): Likewise.
9209         (set(int)): Likewise.
9210
9211 2002-04-01  Mark Wielaard  <mark@klomp.org>
9212
9213         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9214         that can be compiled now and add testsuite crashers to ignore list.
9215
9216 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9217
9218         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9219
9220         * libgcj.spec.in: Override libgcc, not lib.
9221         * libgcj-test.spec.in: Likewise.
9222
9223 2002-03-29  Tom Tromey  <tromey@redhat.com>
9224
9225         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9226         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9227
9228 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9229
9230         * java/net/PlainDatagramSocketImpl.java
9231         (close): Use native implementation.
9232         (finalize): New method.
9233
9234         * java/net/PlainSocketImpl.java (finalize): New method.
9235
9236         * java/net/natPlainDatagramSocketImpl.cc
9237         (java/io/FileDescriptor.h): Don't include.
9238         (close): Implement method here.
9239         (create): Don't assign fd.
9240
9241         * java/net/natPlainSocketImpl.cc
9242         (java/io/FileDescriptor.h): Don't include.
9243         (create): Don't assign fd.
9244         (accept): Likewise.
9245         (close): Synchronize.
9246
9247 2002-03-27  Richard Henderson  <rth@redhat.com>
9248
9249         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9250
9251 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9252
9253         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9254         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9255         instead of syscall on IA-64.
9256         Add FIXME comment.
9257
9258 2002-03-27  Anthony Green  <green@redhat.com>
9259
9260         * libgcj.spec.in: Add CHECKREFSPEC.
9261         * configure.in: Ditto.
9262         * configure.host: Ditto.  Check references for xscale-elf.
9263         * configure: Rebuilt.
9264
9265 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9266
9267         * include/dwarf2-signal.h: Temporarily back out last change.
9268
9269 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9270
9271         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9272
9273 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9274
9275         * configure.in, configure: enable dwarf2-exception-style
9276         exception handling on IA-64.
9277         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9278         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9279         Add FIXME comment.
9280
9281 2002-03-25  Tom Tromey  <tromey@redhat.com>
9282
9283         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9284         (jv_convert_LDFLAGS): Likewise.
9285         (gij_LDFLAGS): Likewise.
9286         (rmic_LDFLAGS): Likewise.
9287         (rmiregistry_LDFLAGS): Likewise.
9288         * configure.in (THREADLDFLAGS): New subst; set correctly for
9289         *BSD.
9290
9291 2002-03-25  Tom Tromey  <tromey@redhat.com>
9292
9293         For PR libgcj/5303:
9294         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9295         and --version.
9296         (help): New method.
9297         (version): Likewise.
9298         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9299         "GNU".
9300         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9301         "GNU".
9302
9303 2002-03-25  Tom Tromey  <tromey@redhat.com>
9304
9305         * java/awt/Component.java (processEvent): Check ComponentEvent
9306         after KeyEvent.
9307
9308 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9309
9310         * java/io/PushbackReader.java: Reformat.
9311
9312         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9313         calculate correct number of bytes skipped.
9314
9315         Based on patch from Intel's ORP team:
9316         * java/io/PushbackInputStream.java (available): Calculate correct
9317         number of bytes in buffer.
9318         (read): Remove redundant bound check. Return bytes from both the
9319         buffer and the stream.
9320
9321 2002-03-24  Tom Tromey  <tromey@redhat.com>
9322
9323         * java/awt/TextComponent.java (TextComponent): Editable by
9324         default.
9325
9326         * java/awt/MenuItem.java (eventMask): No longer private.
9327         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9328         superclass if we didn't handle event.
9329         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9330         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9331         * java/awt/Choice.java (dispatchEventImpl): New method.
9332         * java/awt/List.java (dispatchEventImpl): New method.
9333         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9334         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9335         * java/awt/TextField.java (dispatchEventImpl): New method.
9336
9337 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9338
9339         * java/beans/IntrospectionException.java: Update to 1.4.
9340         * java/beans/PropertyVetoException.java: Ditto.
9341
9342 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9343
9344         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9345         Arrays.equals instead of ArrayHelper.equalsArray.
9346
9347 2002-03-24  C. Brian Jones <cbj@gnu.org>
9348
9349         * java/beans/Introspector.java: added new static final fields
9350         introduced in 1.2, lots of other updates remain to be done
9351
9352 2002-03-24  C. Brian Jones <cbj@gnu.org>
9353
9354         * java/beans/Introspector.java: reformatting
9355
9356 2002-03-24  C. Brian Jones <cbj@gnu.org>
9357
9358         * java/beans/Introspector.java: default beanInfoSearchPath will
9359         not include sun.beans.infos given we provide no such package and
9360         the API doesn't really require it; gnu.java.beans.info is the
9361         default.
9362
9363 2002-03-24  Mark Wielaard  <mark@klomp.org>
9364
9365         Thanks to Orp developers
9366         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9367         switch TRUE and FALSE return values.
9368
9369 2002-03-23  Tom Tromey  <tromey@redhat.com>
9370
9371         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9372         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9373
9374 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9375
9376         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9377         MONTH entry.  Fixes PR libgcj/6045.
9378
9379 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9380
9381         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9382
9383 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9384
9385         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9386         not release_set.
9387         * sysdep/powerpc/locks.h (write_barrier): New function.
9388         * sysdep/i386/locks.h (write_barrier): New function.
9389
9390 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9391
9392         * include/jni.h Use correct C comments.
9393
9394 2002-03-18  Tom Tromey  <tromey@redhat.com>
9395
9396         * include/jni.h (JNIIMPORT): New macro.
9397         (JNIEXPORT): Likewise.
9398         (JNICALL): Likewise.
9399
9400 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9401
9402         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9403         systems.
9404
9405 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9406
9407         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9408         INIT_SEGV: Use old_i386_kernel_sigaction.
9409         INIT_FP: Likewise.
9410
9411 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9412
9413         * java/lang/natSystem.cc (init_properties): Update VM version
9414         properties.
9415         * configure.in: Set GCJVERSION.
9416         * acconfig.h: Add GCJVERSION.
9417         * configure: Rebuilt.
9418         * include/config.h.in: Rebuilt.
9419
9420 2002-03-17  Anthony Green  <green@redhat.com>
9421
9422         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9423
9424 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9425
9426         Build a single libgcj.so, without separate gc and zlib libraries.
9427         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9428         SYS_ZLIBS if system zlib is used.
9429         * configure: Rebuilt.
9430         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9431         * Makefile.in: Rebuilt.
9432         * libtool-version: Increment .so version number.
9433
9434         * Makefile.am: Escape quotes in echo.
9435         * Makefile.in: Rebuilt.
9436
9437 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9438
9439         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9440         * Makefile.in: Rebuilt.
9441
9442 2002-03-15  Anthony Green  <green@redhat.com>
9443
9444         * configure.host (FILE): New macro for specifing File
9445         implementation.
9446         * configure: Rebuilt.
9447         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9448
9449 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9450
9451         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9452         already implicitly brought in from libgcj.la.
9453         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9454         * Makefile.in: Rebuilt.
9455
9456 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9457
9458         * THANKS: Fix punctuation, alphabetization.
9459
9460 2002-03-15  Tom Tromey  <tromey@redhat.com>
9461             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9462
9463         Fix for PR libgcj/5944.
9464         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9465
9466 2002-03-15  Anthony Green  <green@redhat.com>
9467
9468         * configure.in (tool_include_dir): Define.
9469         * configure: Rebuilt.
9470         * gcj/Makefile.am: Install libgcj-config.h relative to
9471         tool_include_dir.
9472         * gcj/Makefile: Rebuilt.
9473         * gcj/libgcj-config.h: Add warning comment.
9474
9475 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9476
9477         * configure.host (powerpc*-darwin*): Enable interpreter.
9478
9479 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9480
9481         * include/posix.h: Add multiple include header protection.
9482         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9483
9484 2002-03-10  Adam Megacz <adam@xwt.org>
9485
9486         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9487
9488 2002-03-10  Tom Tromey  <tromey@redhat.com>
9489
9490         * java/awt/GridLayout.java (layoutContainer): Handle case where
9491         there are no items in container.
9492
9493         * java/lang/Win32Process.java: Added comment.
9494         * include/posix.h (_Jv_platform_close_on_exec): New function.
9495         Include fcntl.h.
9496         * include/win32.h (_Jv_platform_close_on_exec): New function.
9497         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9498         flag.
9499         (accept): Likewise.
9500         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9501         close-on-exec flag.
9502         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9503         flag.
9504
9505 2002-03-09  Tom Tromey  <tromey@redhat.com>
9506
9507         * verify.cc (state::NO_STACK): New constant.
9508         (state::is_unmerged_ret_state): Handle case where stacktop is
9509         NO_STACK.
9510         (state::merge): Handle NO_STACK merges.
9511         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9512         for instruction following jsr.
9513         (stacktop, stackdepth): Removed unused variables.
9514         (pop_jump): Ignore case where all remaining states are skipped.
9515
9516 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9517
9518         * java/awt/ImageMediaEntry: Removed.
9519         * java/awt/MediaEntry: Removed.
9520
9521 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9522
9523         Hashtable synchronization for PowerPC.
9524         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9525         slow_pthread_self. Set up symlink for sysdeps directory.
9526         * configure: Rebuild.
9527         * configure.host: Document more shell variables. Set sysdeps_dir
9528         for most platforms. Set slow_pthread_self for i686. Set
9529         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9530         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9531         that memory barrier is emitted where required.
9532         * prims.cc: 64-bit align static primitive class instances.
9533         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9534         read_barrier() to enforce ordering of reads.
9535         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9536         primitives for PowerPC.
9537         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9538         moved from natObject.cc.
9539         * sysdep/alpha/locks.h: Likewise.
9540         * sysdep/ia64/locks.h: Likewise.
9541         * sysdep/generic/locks.h: Likewise.
9542         * java/lang/natObject.cc: Move thread synchronization primitives to
9543         system-dependent headers.
9544
9545 2002-03-09  Adam Megacz  <adam@xwt.org>
9546
9547         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9548         bytes read and no failure code returned.
9549
9550 2002-03-09  Adam Megacz  <adam@xwt.org>
9551
9552         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9553         definitions to simulate -mthreads.
9554
9555 2002-03-09  Adam Megacz  <adam@xwt.org>
9556
9557         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9558         avoid precision loss.
9559
9560 2002-03-09  Per Bothner  <per@bothner.com>
9561
9562         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9563         * gnu/gcj/xlib/XImage.java:  Likewise.
9564         * gnu/gcj/xlib/XColor.java:  Likewise.
9565
9566 2002-03-09  Adam Megacz  <adam@xwt.org>
9567
9568         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9569         IOException so that Throwable.printStackTrace fails correctly.
9570
9571 2002-03-08  Adam Megacz  <adam@xwt.org>
9572
9573         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9574         fixed.
9575
9576 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9577
9578         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9579         truncated to int.
9580
9581 2002-03-08  Tom Tromey  <tromey@redhat.com>
9582
9583         * include/jni.h: Include stdio.h.
9584
9585 2002-03-08  Tom Tromey  <tromey@redhat.com>
9586
9587         * posix.cc (internal_gettimeofday): New function.
9588         (_Jv_select): Use it.
9589
9590 2002-03-07  Adam Megacz  <adam@xwt.org>
9591
9592         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9593         WIN32, and added thunks for read(), write(), and close().
9594         * java/net/natPlainSocketImpl.cc (accept, read, read):
9595         Disabled timeouts on WIN32 pending discussion.
9596
9597 2002-03-07  Adam Megacz  <adam@xwt.org>
9598
9599         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9600         returns jlong. Added implementation
9601         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9602         returns jlong.
9603         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9604         returns jlong.
9605         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9606         returns jlong.
9607         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9608         _Jv_platform_gettimeofday signature.
9609
9610 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9611
9612         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9613         (read): Call recv() directly, not _Jv_recv().
9614
9615 2002-03-06  Tom Tromey  <tromey@redhat.com>
9616
9617         * java/io/natFileDescriptorEcos.cc (init): Don't use
9618         GetStdHandle.
9619         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9620         is negative.
9621         (init): Don't use GetStdHandle.
9622
9623         * include/config.h.in: Rebuilt.
9624         * configure: Rebuilt.
9625         * Makefile.in: Rebuilt.
9626
9627 2002-03-06  Adam Megacz  <adam@xwt.org>
9628
9629         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9630         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9631         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9632         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9633
9634 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9635
9636         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9637         the code for generating include/java-chartables.h.
9638         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9639         merge with Classpath.
9640         * scripts/unicode-muncher.pl: Copy from Classpath.
9641         * scritps/MakeCharTables.java: New file.
9642         * gnu/gcj/convert/Blocks-3.txt: New file.
9643         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9644         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9645         * gnu/java/lang/CharData.java: Copy from Classpath.
9646         * Makefile.am (ordinary_java_source_files): Add
9647         gnu/java/lang/CharData.java.
9648         * configure.in: Remove --enable-fast-character option.
9649         * java/lang/Character.java: Merge algorithms and Javadoc with
9650         Classpath.
9651         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9652         efficiently.
9653         * include/java-chardecomp.h: Regenerate.
9654         * include/java-chartables.h: Regenerate.
9655
9656 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9657
9658         * java/awt/MediaTracker.java: Implemented.
9659         * Makefile.am: Add MediaTracker.
9660         * Makefile.in: Rebuilt.
9661
9662 2002-03-05  Tom Tromey  <tromey@redhat.com>
9663
9664         * java/lang/natPosixProcess.cc (fail): Removed.
9665         (startProcess): Simplified error-handling.  Preserve
9666         LD_LIBRARY_PATH across exec.
9667
9668         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9669         AbstractMethodError.
9670
9671 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9672
9673         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9674         * Makefile.in: Rebuilt.
9675
9676 2002-03-03 Mark Wielaard <mark@klomp.org>
9677
9678         * java/util/Timer (TaskQueue.stop): set elements to zero.
9679
9680 2002-02-28  Anthony Green  <green@redhat.com>
9681
9682         * java/lang/reflect/natMethod.cc (result): Add void* element.
9683         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9684         constructor test.
9685
9686 2002-02-27  Adam Megacz <adam@xwt.org>
9687
9688         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9689         '#undef STRICT'.
9690
9691 2002-02-26  Tom Tromey  <tromey@redhat.com>
9692
9693         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9694         * gij.cc (version): Use __VERSION__.
9695         * include/config.h.in: Rebuilt.
9696         * acconfig.h (GCJVERSION): Removed.
9697         * configure: Rebuilt.
9698         * configure.in (GCJVERSION): Removed.
9699
9700 2002-02-26  Andreas Schwab  <schwab@suse.de>
9701
9702         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9703         glibcpp_CXX, since libjava uses even another CXX.
9704         * aclocal.m4, configure: Regenerated.
9705
9706 2002-02-26  Tom Tromey  <tromey@redhat.com>
9707
9708         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9709         `1'.
9710
9711 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9712
9713         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9714         dependency tracking for .java files.
9715         * Makefile.in: Rebuilt.
9716
9717 2002-02-24  Adam Megacz  <adam@xwt.org>
9718
9719         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9720         typo. Sorry.
9721
9722 2002-02-24  Adam Megacz  <adam@xwt.org>
9723
9724         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9725         for Win32, changed #ifdefs to check WIN32 instead of the
9726         (now-obsolete) USE_WINSOCK, and removed support for socket
9727         timeouts on Win32 pending further discussion.
9728
9729 2002-02-24  Adam Megacz  <adam@xwt.org>
9730
9731         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9732         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9733         delete
9734
9735 2002-02-24  Adam Megacz  <adam@xwt.org>
9736
9737         * java/lang/Win32Process.java: Created a dummy class to allow
9738         build process to run to completion.
9739
9740 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9741
9742         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9743         Define ffi_result union for ffi_call result.  Cast
9744         ffi_result members to jvalue.
9745
9746 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9747
9748         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9749         * testsuite/Makefile.in: Likewise.
9750
9751 2002-02-20  Per Bothner  <per@bothner.com>
9752
9753         * java/net/URL.java (getPath):  New JDK 1.3 method.
9754
9755         * java/net/URLStreamHandler.java (parseURL):
9756         It is wrong to prepend '/' to the file part of a relative url.
9757
9758         * java/net/URLStreamHandler.java (parseURL):
9759         Minor optizations - append '/' rather than "/".
9760
9761         * java/net/URLStreamHandler.java (parseURL):
9762         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9763         We probably should canonicalize for a context-relative url, though.
9764         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9765         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9766         (sameFile):  New method.  Uses canonicalizeFilename.
9767
9768 2002-02-22  Tom Tromey  <tromey@redhat.com>
9769
9770         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9771         java.vendor and java.vm.vendor.
9772         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9773         recent copyright date.
9774         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9775         * gij.cc (version): Print `Inc'.
9776
9777 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9778
9779         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9780         * aclocal.m4, configure: Rebuilt.
9781
9782 2002-02-20  Per Bothner  <per@bothner.com>
9783
9784         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
9785         and/or output streams immediately here, instead of using File.exists.
9786         (inputStream, outputStream):  New fields to save open streams.
9787         (getInputStream, getOutputStream):  Use already-opened streams.
9788
9789 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9790
9791         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
9792         Use it.
9793         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
9794         * aclocal.m4, configure, Makefile.in: Rebuilt.
9795
9796 2002-02-19  Tom Tromey  <tromey@redhat.com>
9797
9798         Fix for PR libgcj/5696:
9799         * verify.cc (is_assignable_from_slow): Never call
9800         _Jv_IsAssignableFrom.
9801         (verify_instructions_0): Added new debug statement.
9802         (state::print): Print information about whether local has
9803         changed.
9804         (state::merge): Don't call note_variable when merging locals.
9805         (state::set_exception): Removed old FIXME comment.
9806
9807 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9808
9809         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
9810         enable SO_BROADCAST.
9811
9812 2002-02-18  Jason Merrill  <jason@redhat.com>
9813
9814         * name-finder.cc (toHex): Use word mode, not long long.
9815
9816         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
9817
9818 2002-02-15  Tom Tromey  <tromey@redhat.com>
9819
9820         Fix for PR libgcj/5695:
9821         * verify.cc (is_assignable_from_slow): Check to see if target is
9822         an Object before checking to see if source is an interface.
9823         (verify_instructions_0) [op_invokeinterface]: Handle case where
9824         we're making an interface call on Object.
9825
9826 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9827
9828         * Makefile.in: Rebuilt with Eric's change below.
9829
9830         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
9831         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
9832         Removed functions which are now implemented in Math.java.
9833
9834 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9835
9836         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
9837         * Makefile.am (core_java_source_files): Add
9838         java/lang/StrictMath.java.
9839         * java/lang/Math.java: Merge with Classpath.
9840         * java/lang/StrictMath.java: New file - merge with Classpath.
9841
9842 2002-02-14  Mark Wielaard  <mark@klomp.org>
9843
9844         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
9845         package as a workaround for gcj 3.0.x
9846
9847 2002-02-14  Mark Wielaard <mark@klomp.org>
9848
9849         * java/security/BasicPermission.java: extends with fully qualified
9850         classname as workaround for gcj 3.0.4.
9851
9852 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9853
9854         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
9855         around gcj bug of wrong emitted qualifier for inherited method.
9856         * java/net/SocketImpl.java (setOption, getOption): Ditto.
9857         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
9858         constructor to reduce amount of emitted bytecode. While this
9859         happens to work around a jikes 1.15 bug, it is still a useful
9860         patch even for correct compilers.
9861         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
9862         * gnu/java/rmi/server/UnicastRemoteCall.java
9863         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
9864
9865 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9866
9867         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
9868         * java/net/SocketImpl.java: Ditto.
9869         * java/rmi/server/RMIClassLoader.java: Ditto.
9870         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
9871
9872 2002-02-14  Mark Wielaard <mark@klomp.org>
9873
9874         Thanks to Takashi Okamoto
9875         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
9876         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
9877         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
9878
9879 2002-02-13  Todd Stock  <toddastock@yahoo.com>
9880
9881         Fix for PR libgcj/5670:
9882         * verify.cc (is_assignable_from_slow): If `source' is interface,
9883         recursively look for merge with `target'.
9884
9885 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
9886
9887         * include/jni.h: Fix typo.
9888
9889 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
9890
9891         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
9892         correctly.
9893
9894 2002-02-13  Todd Stock  <toddastock@yahoo.com>
9895
9896         Fix for PR libgcj/5671:
9897         * verify.cc (state::merge): Handle case where we're merging
9898         against an interface.
9899
9900 2002-02-12  Tom Tromey  <tromey@redhat.com>
9901
9902         * exception.cc (std::abort): Mark as noreturn.
9903
9904 2002-02-12  Adam Megacz <adam@xwt.org>
9905
9906         * java/lang/Win32Process.java: Filled in a placeholder
9907         implementation so Win32 will build.
9908
9909 2002-02-12  Adam Megacz <adam@xwt.org>
9910
9911         * java/io/natFilePosix.cc: Copied this from natFile.cc.
9912         * java/io/natFile.cc: Removed from repository.
9913         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
9914
9915 2002-02-12  Adam Megacz <adam@xwt.org>
9916
9917         * win32.cc: Added two #includes to make win32.cc compile.
9918
9919 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9920
9921         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
9922         declarations.
9923         (_Jv_InitGC): Don't bother locking, as this is always called from a
9924         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
9925
9926 2002-02-11  Adam Megacz <adam@xwt.org>
9927
9928         * include/win32.h: Added _Jv_platform_gettimeofday.
9929         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
9930
9931 2002-02-11  Adam Megacz <adam@xwt.org>
9932
9933         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
9934         Added #undef STRICT to make windows.h and
9935         java/lang/reflect/Modifier.h cooperate.
9936
9937 2002-02-11  Adam Megacz <adam@xwt.org>
9938
9939         * java/io/natFileWin32.cc: Created a placeholder class with lots
9940         of FIXMEs.
9941
9942 2002-02-11  Adam Megacz <adam@xwt.org>
9943
9944         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
9945         std::abort() to simply abort(). Also added "fake" std::abort() so
9946         we can #include unwind-pe.h without having to link against
9947         libstdc++-v3.
9948
9949 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
9950
9951         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
9952
9953 2002-02-08  Tom Tromey  <tromey@redhat.com>
9954
9955         * interpret.cc (convert): New function.
9956         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
9957         convert.
9958         Include Long.h.
9959
9960 2002-02-08  Anthony Green  <green@redhat.com>
9961
9962         * configure.host: Add support for xscale-elf embedded target.
9963
9964 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
9965
9966         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
9967         dereferenced.
9968         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
9969         frame.
9970
9971 2002-02-07  Tom Tromey  <tromey@redhat.com>
9972
9973         * java/io/natFile.cc (_access): Use __builtin_alloca.
9974         (_stat): Likewise.
9975         (attr): Likewise.
9976         (getCanonicalPath): Likewise.
9977         (performList): Likewise.
9978         (performMkdir): Likewise.
9979         (performSetReadOnly): Likewise.
9980         (performRenameTo): Likewise.
9981         (performSetLastModified): Likewise.
9982         (performCreate): Likewise.
9983         (performDelete): Likewise.
9984
9985 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9986
9987         * HACKING: Fix URL for the automake-gcj.
9988
9989 2002-02-07  Tom Tromey  <tromey@redhat.com>
9990
9991         * java/lang/natThrowable.cc: Updated copyright.
9992         * java/io/natFileWin32.cc: Updated copyright.
9993         * java/io/natFileDescriptorWin32.cc: Updated copyright.
9994         * win32-threads.cc: Updated copyright.
9995         * name-finder.cc: Updated copyright.
9996         * include/name-finder.h: Updated copyright.
9997
9998         * include/name-finder.h: Conditionally include sys/wait.h.
9999         * include/config.h.in: Rebuilt.
10000
10001         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10002         Size buffer based on real size of string.
10003         (_stat): Likewise.
10004         (attr): Likewise.
10005         (getCanonicalPath): Likewise.
10006         (performList): Likewise.
10007         (performMkdir): Likewise.
10008         (performSetReadOnly): Likewise.
10009         (unixroot): Removed.
10010         (performRenameTo): Likewise.
10011         (performSetLastModified): Likewise.
10012         (performCreate): Likewise.
10013         (performDelete): Likewise.
10014         (performListRoots): Always return new array.
10015
10016         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10017         * win32.cc (win32_exception_handler): Now static.
10018         * include/win32.h (_Jv_platform_initialize): Declare.
10019         (win32_exception_handler): Don't declare.
10020         * java/lang/natSystem.cc (currentTimeMillis): Use
10021         _Jv_platform_gettimeofday.
10022         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10023         (_Jv_select): Use new name.
10024         (_Jv_platform_initialize): New function.
10025         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10026         _Jv_gettimeofday.
10027         (_Jv_platform_initialize): Declare.
10028
10029         * configure: Rebuilt.
10030         * configure.in: Removed unnecessary parens.
10031
10032 2002-02-06  Adam Megacz <adam@xwt.org>
10033
10034        * configure.in: Changed mingw) to *mingw*).
10035        * win32.cc: Created this file.
10036        * win32.h: Created this file.
10037        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10038        win32_exception_handler from prims.cc to win32.cc, added
10039        header in win32.h.
10040        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10041        longer needed now that we have platform.h
10042
10043 2002-02-06  Adam Megacz <adam@xwt.org>
10044
10045         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10046         use uint<n>_t instead of LONG and BYTE
10047
10048 2002-02-06  Adam Megacz <adam@xwt.org>
10049
10050         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10051
10052 2002-02-06  Anthony Green  <green@redhat.com>
10053
10054         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10055         Implement missing method stubs.
10056         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10057         targets.
10058         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10059         concept of timezones.
10060         (init_properties): Don't refer to _Jv_Environment_Properties
10061         when this feature is not available.
10062         * include/config.h.in: Rebuilt.
10063         * acconfig.h: Add DISABLE_MAIN_ARGS.
10064         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10065         * configure: Rebuilt.
10066         * configure.in: Add --disable-main-args option.  Test for
10067           opendir function.  Replace AC_CHECK_SIZEOF with
10068           AC_COMPILE_CHECK_SIZEOF.
10069         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10070         * aclocal.m4: Rebuilt.
10071         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10072
10073 2002-02-06  Tom Tromey  <tromey@redhat.com>
10074
10075         * verify.cc (require_array_type): If argument is a null array of
10076         references, return null as the element type.
10077
10078 2002-02-06  Mark Wielaard  <mark@klomp.org>
10079
10080         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10081         duplicate of a wide type.
10082
10083 2002-02-06  Tom Tromey  <tromey@redhat.com>
10084
10085         * verify.cc (type::isnull): New method.
10086         (require_array_type): Handle case where array is null.
10087         (verify_instructions_0) [op_arraylength]: Likewise.
10088
10089 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10090
10091         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10092         Symlink PLATFORMH to platform.h.
10093         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10094         PLATFORMOBJS.
10095         * java/lang/natSystem.cc: #include platform.h not posix.h.
10096         * Makefile.in: Rebuilt with libgcj automake.
10097         * configure: Rebuilt.
10098
10099 2002-02-05  Richard Henderson  <rth@redhat.com>
10100
10101         * Makefile.in: Undo munging last change.
10102
10103 2002-02-04  Adam Megacz <adam@xwt.org>
10104
10105         * win32.cc: Created it.
10106         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10107         which is set to posix.cc or win32.cc.
10108         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10109
10110 2002-02-04  Adam Megacz <adam@xwt.org>
10111
10112         * configure.in: Corrected mingw case branches; added * before
10113         and after.
10114
10115 2002-02-04  Adam Megacz <adam@xwt.org>
10116
10117         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10118         if compiling for win32
10119
10120 2002-02-04  Adam Megacz <adam@xwt.org>
10121
10122         * win32-threads.cc: #undef STRICT after gc.h inclusion
10123
10124 2002-02-02  Tom Tromey  <tromey@redhat.com>
10125
10126         * Makefile.in: Rebuilt.
10127
10128 2002-02-02  Jason Merrill  <jason@redhat.com>
10129
10130         * Makefile.am (clean-nat): New target.
10131
10132 2002-02-02  Tom Tromey  <tromey@redhat.com>
10133
10134         * java/io/natFile.cc: Removed old "FIXME" comments.
10135
10136 2002-02-01  Tom Tromey  <tromey@redhat.com>
10137
10138         * java/lang/natPosixProcess.cc (myclose): New function.
10139         (fail): Use it.
10140         (startProcess): Likewise.
10141
10142 2002-02-01  Adam Megacz <adam@xwt.org>
10143
10144         * prims.cc: Added #undef STRICT after #include<windows.h>.
10145
10146 2002-02-01  Adam Megacz <adam@xwt.org>
10147
10148         * prims.cc
10149         (_Jv_CreateJavaVM): We now use WIN32 instead of
10150         USE_WIN32_SIGNALLING and USE_WINSOCK.
10151         (win32_exception_handler): Now throws an exception out of
10152         the signal handler; assumes SJLJ.
10153
10154 2002-02-01  Adam Megacz <adam@xwt.org>
10155
10156         * win32-threads.cc:
10157         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10158         wait() algorithm to make it safe.
10159         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10160         Added lazy creation of Win32 Events for better performance
10161         (really_start): This now uses GC_CreateThread so boehm-gc
10162         knows about new threads even when statically linked.
10163
10164 2002-02-01  Adam Megacz <adam@xwt.org>
10165
10166         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10167         enable safer wait() algorithm.
10168         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10169         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10170         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10171         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10172         instead of mutex.
10173         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10174
10175 2002-02-01  Adam Megacz <adam@xwt.org>
10176
10177         * configure.in: Added support for mingw.
10178         * java/lang/Win32Process.java: Created as empty file.
10179         * java/lang/natWin32Process.cc: Created as empty file.
10180
10181 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10182
10183         PR java/4972
10184         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10185         for libiconv in LIBICONV variable.
10186         * configure: Regenerated.
10187
10188 2002-01-31  Tom Tromey  <tromey@redhat.com>
10189
10190         * verify.cc (state::enter_subroutine): New method.
10191         (handle_jsr_insn): Use it.
10192         (state::merge): When processing a `ret', correctly use
10193         subroutine's state to determine which local variables have
10194         changed.
10195         (push_exception_jump): Don't let stack overflow.
10196
10197 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10198
10199         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10200         --version output.
10201
10202 2002-01-30  Tom Tromey  <tromey@redhat.com>
10203
10204         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10205         parameter for `recv' return type.
10206
10207         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10208         (state::merge): ... not here.
10209         (subr_entry_info): New structure.
10210         (entry_points): New field.
10211         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10212         entry_points.
10213
10214 2002-01-29  Tom Tromey  <tromey@redhat.com>
10215
10216         * java/awt/List.java (addNotify): Correctly check to see if peer
10217         does not exist.
10218
10219         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10220         to compute height of each cell, and number of columns to compute
10221         width of each cell.
10222         * java/awt/Window.java (getOwnedWindows): Don't return null.
10223         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10224         of component.  Increment x using horizontal gap, not vertical
10225         gap.
10226
10227 2002-01-28  Tom Tromey  <tromey@redhat.com>
10228
10229         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10230         `nargs' byte is number of words, not number of arguments.
10231
10232 2002-01-27  Tom Tromey  <tromey@redhat.com>
10233
10234         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10235         (when): Likewise.
10236         * java/awt/event/InputEvent.java (modifiers, when): Now
10237         package-private.
10238
10239         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10240         and to-do list.
10241         (state::merge): Use current class' class loader.
10242         (state::print): Print subroutine.
10243         (state::merge): Don't look at subroutine of unmerged `ret'.
10244
10245 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10246
10247         * nogc.cc: Remove warnings.
10248         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10249         New functions.
10250
10251 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10252
10253         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10254         int, int):  Remove empty "if" statement to work around compiler bug.
10255         (newPixels(int[], ColorModel, int, int): Likewise.
10256
10257 2002-01-25  Per Bothner  <per@bothner.com>
10258
10259         * verify.cc (verify_fail):  Change from being a top-level function
10260         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10261         Pass the current verifier to type: and state: methods as needed,
10262         for better error messages, and for resolve.
10263         (resolve):  Pass current class's loader for Class.forName and
10264         _Jv_FindClassFromSignature, rather than using the default loader.
10265         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10266         (get_type_val_for_signature):  Make non-static.
10267         (various methods):  Pass start_PC implicitly, not explicitly.
10268
10269 2002-01-25  Tom Tromey  <tromey@redhat.com>
10270
10271         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10272         loop termination condition.
10273         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10274         width.
10275
10276 2002-01-24  Tom Tromey  <tromey@redhat.com>
10277
10278         * java/awt/Shape.java: Merged with Classpath.
10279         * java/awt/Scrollbar.java: Merged with Classpath.
10280
10281         * java/awt/Container.java (addNotify): Unconditionally call
10282         addNotifyContainerChildren and superclass addNotify.
10283
10284         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10285         getAlpha, not getBlue.
10286
10287 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10288
10289         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10290
10291         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10292         (grabPixels(long)): Wait to be notified that the ImageProducer has
10293         completed.
10294
10295 2002-01-24  Per Bothner  <per@bothner.com>
10296
10297         * verify.cc (is_assignable_from_slow): If target is an interface,
10298         we must still check the source's superclass before giving up.
10299
10300 2002-01-24  Tom Tromey  <tromey@redhat.com>
10301
10302         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10303
10304 2002-01-23  Tom Tromey  <tromey@redhat.com>
10305
10306         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10307         `else'.
10308
10309         * Makefile.in: Rebuilt.
10310         * Makefile.am (awt_java_source_files): Added new files.
10311         * java/awt/Toolkit.java: Merged with Classpath.
10312         * java/awt/PrintGraphics.java: New file from Classpath.
10313         * java/awt/PrintJob.java: New file from Classpath.
10314         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10315         * java/awt/datatransfer/ClipboardOwner.java: New file from
10316         Classpath.
10317         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10318         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10319         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10320         Classpath.
10321         * java/awt/datatransfer/StringSelection.java: New file from
10322         Classpath.
10323         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10324         Classpath.
10325         * java/awt/datatransfer/Transferable.java: New file from
10326         Classpath.
10327         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10328         from Classpath.
10329
10330         * Makefile.in: Rebuilt.
10331         * Makefile.am (awt_java_source_files): Added new files.
10332         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10333         Classpath.
10334         * java/awt/image/CropImageFilter.java: New file from Classpath.
10335         * java/awt/image/FilteredImageSource.java: New file from
10336         Classpath.
10337         * java/awt/image/ImageFilter.java: New file from Classpath.
10338         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10339         * java/awt/image/PixelGrabber.java: New file from Classpath.
10340         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10341         * java/awt/image/ReplicateScaleFilter.java: New file from
10342         Classpath.
10343         * java/awt/image/ImageProducer.java: Replaced with Classpath
10344         version.
10345         * java/awt/image/ImageObserver.java: Replaced with Classpath
10346         version.
10347         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10348         version.
10349         * java/awt/GridBagConstraints.java (clone): Catch
10350         CloneNotSupportedException.
10351
10352 2002-01-23  Per Bothner  <per@bothner.com>
10353
10354         * java/lang/reflect/natField.cc (setAddr):  New function.
10355         Calls getAddr and then checks that the field isn't final.
10356         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10357         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10358         (set):  Call setAddr before check that new value has right type,
10359         to better match specified semantics.
10360
10361 2002-01-22  Tom Tromey  <tromey@redhat.com>
10362
10363         * java/awt/TextField.java: Replaced with Classpath version.
10364         * java/awt/TextArea.java: Replaced with Classpath version.
10365         * java/awt/TextComponent.java: Replaced with Classpath version.
10366
10367         * java/awt/GridBagConstraints.java: Updated copyright.
10368
10369 2002-01-22  Mark Wielaard <mark@klomp.org>
10370
10371         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10372         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10373         java/awt/Dialog.java java/awt/FileDialog.java
10374         java/awt/Font.java java/awt/FontMetrics.java
10375         java/awt/Image.java java/awt/ImageMediaEntry.java
10376         java/awt/Insets.java java/awt/List.java
10377         java/awt/MediaEntry.java java/awt/MediaTracker.java
10378         java/awt/Menu.java java/awt/MenuBar.java
10379         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10380         java/awt/PaintContext.java java/awt/Panel.java
10381         java/awt/PopupMenu.java java/awt/SystemColor.java
10382         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10383         java/awt/peer/CheckboxMenuItemPeer.java
10384         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10385         java/awt/peer/ComponentPeer.java
10386         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10387         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10388         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10389         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10390         java/awt/peer/MenuBarPeer.java
10391         java/awt/peer/MenuComponentPeer.java
10392         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10393         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10394         java/awt/peer/ScrollPanePeer.java
10395         java/awt/peer/ScrollbarPeer.java
10396         java/awt/peer/TextAreaPeer.java
10397         java/awt/peer/TextComponentPeer.java
10398         java/awt/peer/TextFieldPeer.java
10399         java/awt/peer/WindowPeer.java: Add license clarification.
10400
10401 2002-01-22  Mark Wielaard <mark@klomp.org>
10402
10403         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10404         gnu/gcj/runtime/StringBuffer.java
10405         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10406         gnu/java/awt/ComponentDataBlitOp.java
10407         gnu/java/awt/GLightweightPeer.java
10408         gnu/java/beans/BeanInfoEmbryo.java
10409         gnu/java/beans/EmptyBeanInfo.java
10410         gnu/java/beans/ExplicitBeanInfo.java
10411         gnu/java/beans/IntrospectionIncubator.java
10412         gnu/java/beans/editors/ColorEditor.java
10413         gnu/java/beans/editors/FontEditor.java
10414         gnu/java/beans/editors/NativeBooleanEditor.java
10415         gnu/java/beans/editors/NativeByteEditor.java
10416         gnu/java/beans/editors/NativeDoubleEditor.java
10417         gnu/java/beans/editors/NativeFloatEditor.java
10418         gnu/java/beans/editors/NativeIntEditor.java
10419         gnu/java/beans/editors/NativeLongEditor.java
10420         gnu/java/beans/editors/NativeShortEditor.java
10421         gnu/java/beans/editors/StringEditor.java
10422         gnu/java/beans/info/ComponentBeanInfo.java
10423         gnu/java/io/ClassLoaderObjectInputStream.java
10424         gnu/java/io/NullOutputStream.java
10425         gnu/java/io/ObjectIdentityWrapper.java
10426         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10427         gnu/java/lang/reflect/TypeSignature.java
10428         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10429         gnu/java/locale/Calendar_en.java
10430         gnu/java/locale/Calendar_nl.java
10431         gnu/java/locale/LocaleInformation.java
10432         gnu/java/locale/LocaleInformation_de.java
10433         gnu/java/locale/LocaleInformation_en.java
10434         gnu/java/locale/LocaleInformation_nl.java
10435         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10436         gnu/java/rmi/registry/RegistryImpl.java
10437         gnu/java/rmi/rmic/Compile_gcj.java
10438         gnu/java/rmi/rmic/Compiler.java
10439         gnu/java/rmi/rmic/CompilerProcess.java
10440         gnu/java/rmi/rmic/RMIC.java
10441         gnu/java/rmi/rmic/TabbedWriter.java
10442         gnu/java/rmi/server/ProtocolConstants.java
10443         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10444         gnu/java/rmi/server/RMIHashes.java
10445         gnu/java/rmi/server/RMIObjectInputStream.java
10446         gnu/java/rmi/server/RMIObjectOutputStream.java
10447         gnu/java/rmi/server/UnicastConnection.java
10448         gnu/java/rmi/server/UnicastConnectionManager.java
10449         gnu/java/rmi/server/UnicastRef.java
10450         gnu/java/rmi/server/UnicastRemoteCall.java
10451         gnu/java/rmi/server/UnicastRemoteStub.java
10452         gnu/java/rmi/server/UnicastServer.java
10453         gnu/java/rmi/server/UnicastServerRef.java
10454         gnu/java/security/provider/DefaultPolicy.java
10455         gnu/java/security/provider/Gnu.java
10456         gnu/java/security/provider/SHA.java
10457         gnu/java/security/provider/SHA1PRNG.java
10458         gnu/java/text/BaseBreakIterator.java
10459         gnu/java/text/CharacterBreakIterator.java
10460         gnu/java/text/LineBreakIterator.java
10461         gnu/java/text/SentenceBreakIterator.java
10462         gnu/java/text/WordBreakIterator.java
10463         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10464         java/applet/AppletContext.java java/applet/AppletStub.java
10465         java/applet/AudioClip.java java/awt/AWTError.java
10466         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10467         java/awt/AWTException.java java/awt/AWTPermission.java
10468         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10469         java/awt/Button.java java/awt/Canvas.java
10470         java/awt/CardLayout.java java/awt/Checkbox.java
10471         java/awt/CheckboxGroup.java java/awt/Component.java
10472         java/awt/ComponentOrientation.java java/awt/Container.java
10473         java/awt/Dimension.java java/awt/Event.java
10474         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10475         java/awt/FlowLayout.java java/awt/Frame.java
10476         java/awt/Graphics.java java/awt/Graphics2D.java
10477         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10478         java/awt/IllegalComponentStateException.java
10479         java/awt/ItemSelectable.java java/awt/Label.java
10480         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10481         java/awt/MenuComponent.java java/awt/MenuItem.java
10482         java/awt/Paint.java java/awt/Point.java
10483         java/awt/Rectangle.java java/awt/RenderingHints.java
10484         java/awt/Transparency.java java/awt/Window.java
10485         java/awt/color/ColorSpace.java
10486         java/awt/color/ICC_ColorSpace.java
10487         java/awt/color/ICC_Profile.java
10488         java/awt/event/HierarchyBoundsAdapter.java
10489         java/awt/event/HierarchyBoundsListener.java
10490         java/awt/event/HierarchyEvent.java
10491         java/awt/event/HierarchyListener.java
10492         java/awt/geom/AffineTransform.java
10493         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10494         java/awt/geom/IllegalPathStateException.java
10495         java/awt/geom/Line2D.java
10496         java/awt/geom/NoninvertibleTransformException.java
10497         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10498         java/awt/geom/Rectangle2D.java
10499         java/awt/geom/RectangularShape.java
10500         java/awt/geom/RoundRectangle2D.java
10501         java/awt/image/BufferedImage.java
10502         java/awt/image/ColorModel.java
10503         java/awt/image/ComponentColorModel.java
10504         java/awt/image/ComponentSampleModel.java
10505         java/awt/image/DataBuffer.java
10506         java/awt/image/DataBufferByte.java
10507         java/awt/image/DataBufferInt.java
10508         java/awt/image/DataBufferUShort.java
10509         java/awt/image/DirectColorModel.java
10510         java/awt/image/PackedColorModel.java
10511         java/awt/image/Raster.java java/awt/image/RasterOp.java
10512         java/awt/image/SampleModel.java
10513         java/awt/image/SinglePixelPackedSampleModel.java
10514         java/awt/image/WritableRaster.java
10515         java/beans/AppletInitializer.java
10516         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10517         java/beans/Beans.java java/beans/Customizer.java
10518         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10519         java/beans/FeatureDescriptor.java
10520         java/beans/IndexedPropertyDescriptor.java
10521         java/beans/IntrospectionException.java
10522         java/beans/Introspector.java java/beans/MethodDescriptor.java
10523         java/beans/ParameterDescriptor.java
10524         java/beans/PropertyChangeEvent.java
10525         java/beans/PropertyChangeListener.java
10526         java/beans/PropertyChangeSupport.java
10527         java/beans/PropertyDescriptor.java
10528         java/beans/PropertyEditor.java
10529         java/beans/PropertyEditorManager.java
10530         java/beans/PropertyEditorSupport.java
10531         java/beans/PropertyVetoException.java
10532         java/beans/SimpleBeanInfo.java
10533         java/beans/VetoableChangeListener.java
10534         java/beans/VetoableChangeSupport.java
10535         java/beans/Visibility.java
10536         java/beans/beancontext/BeanContext.java
10537         java/beans/beancontext/BeanContextChild.java
10538         java/beans/beancontext/BeanContextChildComponentProxy.java
10539         java/beans/beancontext/BeanContextChildSupport.java
10540         java/beans/beancontext/BeanContextContainerProxy.java
10541         java/beans/beancontext/BeanContextEvent.java
10542         java/beans/beancontext/BeanContextMembershipEvent.java
10543         java/beans/beancontext/BeanContextMembershipListener.java
10544         java/beans/beancontext/BeanContextProxy.java
10545         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10546         java/beans/beancontext/BeanContextServiceProvider.java
10547         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10548         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10549         java/beans/beancontext/BeanContextServiceRevokedListener.java
10550         java/beans/beancontext/BeanContextServices.java
10551         java/beans/beancontext/BeanContextServicesListener.java
10552         java/io/BufferedInputStream.java
10553         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10554         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10555         java/io/ByteArrayOutputStream.java
10556         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10557         java/io/CharConversionException.java java/io/DataInput.java
10558         java/io/DataInputStream.java java/io/DataOutput.java
10559         java/io/EOFException.java java/io/Externalizable.java
10560         java/io/FileFilter.java java/io/FileNotFoundException.java
10561         java/io/FilePermission.java java/io/FileReader.java
10562         java/io/FileWriter.java java/io/FilenameFilter.java
10563         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10564         java/io/FilterReader.java java/io/FilterWriter.java
10565         java/io/IOException.java java/io/InputStream.java
10566         java/io/InterruptedIOException.java
10567         java/io/InvalidClassException.java
10568         java/io/InvalidObjectException.java
10569         java/io/NotActiveException.java
10570         java/io/NotSerializableException.java java/io/ObjectInput.java
10571         java/io/ObjectInputStream.java
10572         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10573         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10574         java/io/ObjectStreamConstants.java
10575         java/io/ObjectStreamException.java
10576         java/io/ObjectStreamField.java
10577         java/io/OptionalDataException.java java/io/OutputStream.java
10578         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10579         java/io/PipedReader.java java/io/PipedWriter.java
10580         java/io/PrintWriter.java java/io/PushbackInputStream.java
10581         java/io/PushbackReader.java java/io/Reader.java
10582         java/io/SequenceInputStream.java java/io/Serializable.java
10583         java/io/SerializablePermission.java
10584         java/io/StreamCorruptedException.java
10585         java/io/StreamTokenizer.java
10586         java/io/StringBufferInputStream.java java/io/StringReader.java
10587         java/io/StringWriter.java java/io/SyncFailedException.java
10588         java/io/UTFDataFormatException.java
10589         java/io/UnsupportedEncodingException.java
10590         java/io/WriteAbortedException.java java/io/Writer.java
10591         java/lang/AbstractMethodError.java
10592         java/lang/ArithmeticException.java
10593         java/lang/ArrayIndexOutOfBoundsException.java
10594         java/lang/ArrayStoreException.java java/lang/Boolean.java
10595         java/lang/Byte.java java/lang/CharSequence.java
10596         java/lang/ClassCastException.java
10597         java/lang/ClassCircularityError.java
10598         java/lang/ClassFormatError.java
10599         java/lang/ClassNotFoundException.java
10600         java/lang/CloneNotSupportedException.java
10601         java/lang/Cloneable.java java/lang/Comparable.java
10602         java/lang/Compiler.java java/lang/Double.java
10603         java/lang/Error.java java/lang/Exception.java
10604         java/lang/ExceptionInInitializerError.java
10605         java/lang/Float.java java/lang/IllegalAccessError.java
10606         java/lang/IllegalAccessException.java
10607         java/lang/IllegalArgumentException.java
10608         java/lang/IllegalMonitorStateException.java
10609         java/lang/IllegalStateException.java
10610         java/lang/IllegalThreadStateException.java
10611         java/lang/IncompatibleClassChangeError.java
10612         java/lang/IndexOutOfBoundsException.java
10613         java/lang/InheritableThreadLocal.java
10614         java/lang/InstantiationError.java
10615         java/lang/InstantiationException.java java/lang/Integer.java
10616         java/lang/InternalError.java
10617         java/lang/InterruptedException.java
10618         java/lang/LinkageError.java java/lang/Long.java
10619         java/lang/NegativeArraySizeException.java
10620         java/lang/NoClassDefFoundError.java
10621         java/lang/NoSuchFieldError.java
10622         java/lang/NoSuchFieldException.java
10623         java/lang/NoSuchMethodError.java
10624         java/lang/NoSuchMethodException.java
10625         java/lang/NullPointerException.java java/lang/Number.java
10626         java/lang/NumberFormatException.java
10627         java/lang/OutOfMemoryError.java java/lang/Package.java
10628         java/lang/Process.java java/lang/Runnable.java
10629         java/lang/RuntimeException.java
10630         java/lang/RuntimePermission.java
10631         java/lang/SecurityException.java
10632         java/lang/SecurityManager.java java/lang/Short.java
10633         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10634         java/lang/StringIndexOutOfBoundsException.java
10635         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10636         java/lang/ThreadLocal.java java/lang/UnknownError.java
10637         java/lang/UnsatisfiedLinkError.java
10638         java/lang/UnsupportedClassVersionError.java
10639         java/lang/UnsupportedOperationException.java
10640         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10641         java/lang/Void.java java/lang/ref/PhantomReference.java
10642         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10643         java/lang/ref/SoftReference.java
10644         java/lang/ref/WeakReference.java
10645         java/lang/reflect/AccessibleObject.java
10646         java/lang/reflect/InvocationTargetException.java
10647         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10648         java/lang/reflect/ReflectPermission.java
10649         java/math/BigDecimal.java java/math/BigInteger.java
10650         java/net/Authenticator.java java/net/BindException.java
10651         java/net/ConnectException.java java/net/ContentHandler.java
10652         java/net/ContentHandlerFactory.java
10653         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10654         java/net/FileNameMap.java java/net/MalformedURLException.java
10655         java/net/MulticastSocket.java java/net/NetPermission.java
10656         java/net/NoRouteToHostException.java
10657         java/net/PasswordAuthentication.java
10658         java/net/ProtocolException.java java/net/ServerSocket.java
10659         java/net/Socket.java java/net/SocketException.java
10660         java/net/SocketImpl.java java/net/SocketImplFactory.java
10661         java/net/SocketOptions.java java/net/SocketPermission.java
10662         java/net/URLDecoder.java java/net/URLEncoder.java
10663         java/net/URLStreamHandlerFactory.java
10664         java/net/UnknownHostException.java
10665         java/net/UnknownServiceException.java
10666         java/rmi/AccessException.java
10667         java/rmi/AlreadyBoundException.java
10668         java/rmi/ConnectException.java
10669         java/rmi/ConnectIOException.java
10670         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10671         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10672         java/rmi/NotBoundException.java
10673         java/rmi/RMISecurityException.java
10674         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10675         java/rmi/RemoteException.java java/rmi/ServerError.java
10676         java/rmi/ServerException.java
10677         java/rmi/ServerRuntimeException.java
10678         java/rmi/StubNotFoundException.java
10679         java/rmi/UnexpectedException.java
10680         java/rmi/UnknownHostException.java
10681         java/rmi/UnmarshalException.java
10682         java/rmi/activation/Activatable.java
10683         java/rmi/activation/ActivateFailedException.java
10684         java/rmi/activation/ActivationDesc.java
10685         java/rmi/activation/ActivationException.java
10686         java/rmi/activation/ActivationGroup.java
10687         java/rmi/activation/ActivationGroupDesc.java
10688         java/rmi/activation/ActivationGroupID.java
10689         java/rmi/activation/ActivationID.java
10690         java/rmi/activation/ActivationInstantiator.java
10691         java/rmi/activation/ActivationMonitor.java
10692         java/rmi/activation/ActivationSystem.java
10693         java/rmi/activation/Activator.java
10694         java/rmi/activation/UnknownGroupException.java
10695         java/rmi/activation/UnknownObjectException.java
10696         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10697         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10698         java/rmi/registry/Registry.java
10699         java/rmi/registry/RegistryHandler.java
10700         java/rmi/server/ExportException.java
10701         java/rmi/server/LoaderHandler.java
10702         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10703         java/rmi/server/Operation.java
10704         java/rmi/server/RMIClassLoader.java
10705         java/rmi/server/RMIClientSocketFactory.java
10706         java/rmi/server/RMIFailureHandler.java
10707         java/rmi/server/RMIServerSocketFactory.java
10708         java/rmi/server/RMISocketFactory.java
10709         java/rmi/server/RemoteCall.java
10710         java/rmi/server/RemoteObject.java
10711         java/rmi/server/RemoteRef.java
10712         java/rmi/server/RemoteServer.java
10713         java/rmi/server/RemoteStub.java
10714         java/rmi/server/ServerCloneException.java
10715         java/rmi/server/ServerNotActiveException.java
10716         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10717         java/rmi/server/SkeletonMismatchException.java
10718         java/rmi/server/SkeletonNotFoundException.java
10719         java/rmi/server/SocketSecurityException.java
10720         java/rmi/server/UID.java
10721         java/rmi/server/UnicastRemoteObject.java
10722         java/rmi/server/Unreferenced.java
10723         java/security/AccessControlContext.java
10724         java/security/AccessControlException.java
10725         java/security/AccessController.java
10726         java/security/AlgorithmParameterGenerator.java
10727         java/security/AlgorithmParameterGeneratorSpi.java
10728         java/security/AlgorithmParameters.java
10729         java/security/AlgorithmParametersSpi.java
10730         java/security/AllPermission.java
10731         java/security/BasicPermission.java
10732         java/security/Certificate.java java/security/CodeSource.java
10733         java/security/DigestException.java
10734         java/security/DigestInputStream.java
10735         java/security/DigestOutputStream.java
10736         java/security/DomainCombiner.java
10737         java/security/DummyKeyPairGenerator.java
10738         java/security/DummyMessageDigest.java
10739         java/security/DummySignature.java
10740         java/security/GeneralSecurityException.java
10741         java/security/Guard.java java/security/GuardedObject.java
10742         java/security/Identity.java java/security/IdentityScope.java
10743         java/security/InvalidAlgorithmParameterException.java
10744         java/security/InvalidKeyException.java
10745         java/security/InvalidParameterException.java
10746         java/security/Key.java java/security/KeyException.java
10747         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10748         java/security/KeyManagementException.java
10749         java/security/KeyPair.java java/security/KeyPairGenerator.java
10750         java/security/KeyPairGeneratorSpi.java
10751         java/security/KeyStore.java
10752         java/security/KeyStoreException.java
10753         java/security/KeyStoreSpi.java
10754         java/security/MessageDigest.java
10755         java/security/MessageDigestSpi.java
10756         java/security/NoSuchAlgorithmException.java
10757         java/security/NoSuchProviderException.java
10758         java/security/Permission.java
10759         java/security/PermissionCollection.java
10760         java/security/Permissions.java java/security/Policy.java
10761         java/security/Principal.java java/security/PrivateKey.java
10762         java/security/PrivilegedAction.java
10763         java/security/PrivilegedActionException.java
10764         java/security/PrivilegedExceptionAction.java
10765         java/security/ProtectionDomain.java
10766         java/security/Provider.java
10767         java/security/ProviderException.java
10768         java/security/PublicKey.java
10769         java/security/SecureClassLoader.java
10770         java/security/SecureRandom.java
10771         java/security/SecureRandomSpi.java java/security/Security.java
10772         java/security/SecurityPermission.java
10773         java/security/Signature.java
10774         java/security/SignatureException.java
10775         java/security/SignatureSpi.java
10776         java/security/SignedObject.java java/security/Signer.java
10777         java/security/UnrecoverableKeyException.java
10778         java/security/UnresolvedPermission.java
10779         java/security/acl/Acl.java java/security/acl/AclEntry.java
10780         java/security/acl/AclNotFoundException.java
10781         java/security/acl/Group.java
10782         java/security/acl/LastOwnerException.java
10783         java/security/acl/NotOwnerException.java
10784         java/security/acl/Owner.java java/security/acl/Permission.java
10785         java/security/cert/CRL.java
10786         java/security/cert/CRLException.java
10787         java/security/cert/Certificate.java
10788         java/security/cert/CertificateEncodingException.java
10789         java/security/cert/CertificateException.java
10790         java/security/cert/CertificateExpiredException.java
10791         java/security/cert/CertificateFactory.java
10792         java/security/cert/CertificateFactorySpi.java
10793         java/security/cert/CertificateNotYetValidException.java
10794         java/security/cert/CertificateParsingException.java
10795         java/security/cert/X509CRL.java
10796         java/security/cert/X509CRLEntry.java
10797         java/security/cert/X509Certificate.java
10798         java/security/cert/X509Extension.java
10799         java/security/interfaces/DSAKey.java
10800         java/security/interfaces/DSAKeyPairGenerator.java
10801         java/security/interfaces/DSAParams.java
10802         java/security/interfaces/DSAPrivateKey.java
10803         java/security/interfaces/DSAPublicKey.java
10804         java/security/interfaces/RSAKey.java
10805         java/security/interfaces/RSAPrivateCrtKey.java
10806         java/security/interfaces/RSAPrivateKey.java
10807         java/security/interfaces/RSAPublicKey.java
10808         java/security/spec/AlgorithmParameterSpec.java
10809         java/security/spec/DSAParameterSpec.java
10810         java/security/spec/DSAPrivateKeySpec.java
10811         java/security/spec/DSAPublicKeySpec.java
10812         java/security/spec/EncodedKeySpec.java
10813         java/security/spec/InvalidKeySpecException.java
10814         java/security/spec/InvalidParameterSpecException.java
10815         java/security/spec/KeySpec.java
10816         java/security/spec/PKCS8EncodedKeySpec.java
10817         java/security/spec/RSAKeyGenParameterSpec.java
10818         java/security/spec/RSAPrivateCrtKeySpec.java
10819         java/security/spec/RSAPrivateKeySpec.java
10820         java/security/spec/RSAPublicKeySpec.java
10821         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
10822         java/sql/BatchUpdateException.java java/sql/Blob.java
10823         java/sql/CallableStatement.java java/sql/Clob.java
10824         java/sql/Connection.java java/sql/DataTruncation.java
10825         java/sql/DatabaseMetaData.java java/sql/Date.java
10826         java/sql/Driver.java java/sql/DriverManager.java
10827         java/sql/DriverPropertyInfo.java
10828         java/sql/PreparedStatement.java java/sql/Ref.java
10829         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
10830         java/sql/SQLData.java java/sql/SQLException.java
10831         java/sql/SQLInput.java java/sql/SQLOutput.java
10832         java/sql/SQLWarning.java java/sql/Statement.java
10833         java/sql/Struct.java java/sql/Time.java
10834         java/sql/Timestamp.java java/sql/Types.java
10835         java/text/Annotation.java
10836         java/text/AttributedCharacterIterator.java
10837         java/text/AttributedString.java
10838         java/text/AttributedStringIterator.java
10839         java/text/BreakIterator.java java/text/CharacterIterator.java
10840         java/text/ChoiceFormat.java java/text/Collator.java
10841         java/text/DateFormat.java java/text/DateFormatSymbols.java
10842         java/text/DecimalFormat.java
10843         java/text/DecimalFormatSymbols.java
10844         java/text/FieldPosition.java java/text/Format.java
10845         java/text/MessageFormat.java java/text/NumberFormat.java
10846         java/text/ParseException.java java/text/ParsePosition.java
10847         java/text/SimpleDateFormat.java
10848         java/text/StringCharacterIterator.java
10849         java/util/AbstractCollection.java java/util/AbstractList.java
10850         java/util/AbstractMap.java
10851         java/util/AbstractSequentialList.java
10852         java/util/AbstractSet.java java/util/ArrayList.java
10853         java/util/Arrays.java java/util/BasicMapEntry.java
10854         java/util/BitSet.java java/util/Calendar.java
10855         java/util/Collection.java java/util/Collections.java
10856         java/util/Comparator.java
10857         java/util/ConcurrentModificationException.java
10858         java/util/Date.java java/util/Dictionary.java
10859         java/util/EmptyStackException.java java/util/Enumeration.java
10860         java/util/EventListener.java java/util/EventObject.java
10861         java/util/GregorianCalendar.java java/util/HashMap.java
10862         java/util/HashSet.java java/util/Hashtable.java
10863         java/util/IdentityHashMap.java java/util/Iterator.java
10864         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
10865         java/util/LinkedList.java java/util/List.java
10866         java/util/ListIterator.java java/util/ListResourceBundle.java
10867         java/util/Locale.java java/util/Map.java
10868         java/util/MissingResourceException.java
10869         java/util/NoSuchElementException.java
10870         java/util/Observable.java java/util/Observer.java
10871         java/util/Properties.java java/util/PropertyPermission.java
10872         java/util/PropertyResourceBundle.java java/util/Random.java
10873         java/util/RandomAccess.java java/util/ResourceBundle.java
10874         java/util/Set.java java/util/SimpleTimeZone.java
10875         java/util/SortedMap.java java/util/SortedSet.java
10876         java/util/Stack.java java/util/StringTokenizer.java
10877         java/util/TimeZone.java java/util/Timer.java
10878         java/util/TimerTask.java
10879         java/util/TooManyListenersException.java
10880         java/util/TreeMap.java java/util/TreeSet.java
10881         java/util/Vector.java java/util/WeakHashMap.java
10882         java/util/jar/Attributes.java java/util/jar/JarEntry.java
10883         java/util/jar/JarException.java java/util/jar/JarFile.java
10884         java/util/jar/JarInputStream.java
10885         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
10886         java/util/zip/Adler32.java java/util/zip/CRC32.java
10887         java/util/zip/CheckedInputStream.java
10888         java/util/zip/CheckedOutputStream.java
10889         java/util/zip/Checksum.java
10890         java/util/zip/DataFormatException.java
10891         java/util/zip/Deflater.java
10892         java/util/zip/DeflaterOutputStream.java
10893         java/util/zip/GZIPInputStream.java
10894         java/util/zip/GZIPOutputStream.java
10895         java/util/zip/Inflater.java
10896         java/util/zip/InflaterInputStream.java
10897         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
10898         java/util/zip/ZipException.java java/util/zip/ZipFile.java
10899         java/util/zip/ZipInputStream.java
10900         java/util/zip/ZipOutputStream.java
10901         javax/naming/BinaryRefAddr.java
10902         javax/naming/InvalidNameException.java javax/naming/Name.java
10903         javax/naming/NamingException.java javax/naming/RefAddr.java
10904         javax/naming/StringRefAddr.java: Add license clarification.
10905
10906 2002-01-22  Tom Tromey  <tromey@redhat.com>
10907
10908         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
10909         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
10910         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
10911         version.
10912         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
10913         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
10914         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
10915         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
10916         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
10917         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
10918         * java/awt/peer/FontPeer.java: Replace with Classpath version.
10919         * java/awt/peer/FramePeer.java: Replace with Classpath version.
10920         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
10921         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
10922         * java/awt/peer/ListPeer.java: Replace with Classpath version.
10923         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
10924         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
10925         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
10926         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
10927         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
10928         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
10929         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
10930         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
10931         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
10932         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
10933         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
10934         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
10935         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
10936         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
10937         (minimumSize, preferredSize, reshape): Likewise.
10938         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
10939         getColorModel): New methods.
10940         * java/awt/PopupMenu.java: Merged with Classpath.
10941         * java/awt/MenuBar.java: Merged with Classpath.
10942         * java/awt/SystemColor.java: Replace with Classpath version.
10943         * java/awt/Panel.java: Merged with Classpath.
10944         * java/awt/PaintContext.java: Updated copyright.
10945         * java/awt/MenuShortcut.java: Merged with Classpath.
10946         * java/awt/MenuContainer.java: Merged with Classpath.
10947         * java/awt/Menu.java: Merged with Classpath.
10948         * java/awt/MediaEntry.java: New file from Classpath.
10949         * java/awt/MediaTracker.java: New file from Classpath.
10950         * java/awt/List.java: Merged with Classpath version.
10951         * java/awt/Insets.java: Merged with Classpath version.
10952         * java/awt/ImageMediaEntry.java: New file from Classpath.
10953         * java/awt/Image.java: Replaced with Classpath version.
10954         * java/awt/FontMetrics.java: Merged with Classpath version.
10955         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
10956         constant.
10957         * java/awt/Font.java: Merged with Classpath version.
10958         * java/awt/Dialog.java: Merged with Classpath version.
10959         * java/awt/Color.java: Merged with Classpath version.
10960         * java/awt/Choice.java: Merged with Classpath version.
10961         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
10962         * java/awt/Adjustable.java: Replace with Classpath version.
10963         * java/awt/MenuItem.java (paramString): Don't include class name
10964         or brackets.  Call superclass paramString.
10965         * java/awt/MenuComponent.java (toString): Call paramString.
10966         (paramString): Compute string; don't call toString.
10967         * java/awt/Label.java (paramString): Don't include class name
10968         or brackets.  Call superclass paramString.
10969         * java/awt/Checkbox.java (paramString): Don't include class name
10970         or brackets.  Call superclass paramString.
10971         * java/awt/Button.java (paramString): Don't include class name or
10972         brackets.  Call superclass paramString.
10973         * java/awt/MenuComponent.java (getTreeLock): Now protected.
10974
10975 2002-01-20  Andreas Schwab  <schwab@suse.de>
10976
10977         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
10978         function and of parameter recv_func to ssize_t, as specified by
10979         POSIX.
10980
10981 2002-01-19  Per Bothner  <per@bothner.com>
10982
10983         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
10984         uncompressed_size in readiness for next entry.
10985
10986 2002-01-18  Tom Tromey  <tromey@redhat.com>
10987
10988         * java/net/natPlainSocketImpl.cc: Include
10989         IllegalArgumentException.h.
10990         (_Jv_recv): New template function.
10991         (BooleanClass): Removed.
10992         (read): Use _Jv_recv.
10993         (setOption): Use Boolean::class$.  Throw exception if object is
10994         not Boolean or Integer.
10995
10996 2002-01-17  Tom Tromey  <tromey@redhat.com>
10997
10998         * java/awt/MenuComponent.java: Merged with Classpath.
10999         * java/awt/MenuItem.java: Merged with Classpath.
11000         * java/awt/Button.java: Merged with Classpath.
11001
11002         * java/awt/ActiveEvent.java: Updated copyright.
11003
11004         * java/awt/AWTError.java: Replaced with Classpath version.
11005         * java/awt/AWTException.java: Replaced with Classpath version.
11006         * java/awt/IllegalComponentStateException.java: Replaced with
11007         Classpath version.
11008
11009 2002-01-16  Tom Tromey  <tromey@redhat.com>
11010
11011         * java/awt/Canvas.java (serialVersionUID): New constant.
11012         Updated copyright.  Added javadoc from Classpath.
11013         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11014
11015         * java/awt/CheckboxGroup.java: Merged with Classpath.
11016         * java/awt/Checkbox.java: Merged with Classpath.
11017
11018         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11019         Classpath.
11020         * java/awt/Point.java: Updated copyright.
11021
11022         * java/awt/Point.java (toString): Use getClass().getName().
11023         Added javadoc.
11024
11025         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11026         commented code.
11027         (hash): Correctly compute initial value for `h'.
11028
11029         * java/awt/Label.java: Merged with Classpath.
11030
11031 2002-01-15  Tom Tromey  <tromey@redhat.com>
11032
11033         * java/awt/AWTPermission.java: Updated copyright.
11034
11035         * java/awt/LayoutManager2.java: Merged with Classpath.
11036         * java/awt/LayoutManager.java: Merged with Classpath.
11037         * java/awt/GridLayout.java: Updated copyright and javadoc.
11038         (getSize): Use `parent.ncomponents'.  Handle insets.
11039         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11040         there are fewer children than columns.  Correctly compute size of
11041         each cell in the grid.  Handle case where there isn't enough
11042         space.
11043         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11044         all users.
11045         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11046         before calling setVisible() on it.  Last item is `num - 1', not
11047         `num'.
11048         (layoutContainer): Hoist invariants out of loop.
11049
11050         Start of AWT merge with Classpath:
11051         * Makefile.in: Rebuilt.
11052         * Makefile.am (awt_java_source_files): Reference files in
11053         gnu/java/awt, not gnu/gcj/awt.
11054         * java/awt/image/BufferedImage.java: Updated copyright.
11055         * java/awt/image/ComponentColorModel.java: Updated copyright.
11056         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11057         * java/awt/image/DataBuffer.java: Updated copyright.
11058         * java/awt/image/DataBufferByte.java: Updated copyright.
11059         * java/awt/image/DataBufferInt.java: Updated copyright.
11060         * java/awt/image/DataBufferUShort.java: Updated copyright.
11061         * java/awt/image/IndexColorModel.java: Updated copyright.
11062         * java/awt/image/PackedColorModel.java: Updated copyright.
11063         * java/awt/image/Raster.java: Updated copyright.
11064         * java/awt/image/RasterOp.java: Updated copyright.
11065         * java/awt/image/SampleModel.java: Updated copyright.
11066         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11067         * java/awt/image/WritableRaster.java: Updated copyright.
11068         * java/awt/color/ColorSpace.java: Updated copyright.
11069         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11070         * java/awt/color/ICC_Profile.java: Updated copyright.
11071         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11072         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11073         * java/awt/event/HierarchyEvent.java: Updated copyright.
11074         * java/awt/event/HierarchyListener.java: Updated copyright.
11075         * java/awt/geom/AffineTransform.java: Updated copyright.
11076         * java/awt/geom/Dimension2D.java: Updated copyright.
11077         * java/awt/geom/Ellipse2D.java: Updated copyright.
11078         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11079         * java/awt/geom/Line2D.java: Updated copyright.
11080         * java/awt/geom/NoninvertibleTransformException.java: Updated
11081         copyright.
11082         * java/awt/geom/PathIterator.java: Updated copyright.
11083         * java/awt/geom/Point2D.java: Updated copyright.
11084         * java/awt/geom/Rectangle2D.java: Updated copyright.
11085         * java/awt/geom/RectangularShape.java: Updated copyright.
11086         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11087         * java/awt/Toolkit.java: Updated import for file moves.
11088         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11089         Classpath.
11090         (hashCode): New method from Classpath.
11091         * java/awt/Graphics2D.java: Updated copyright.
11092         * java/awt/Transparency.java: Updated copyright.
11093         * java/awt/Paint.java: Updated copyright.
11094         * java/awt/Graphics.java: New version from Classpath.
11095         * java/awt/EventDispatchThread.java: Updated copyright.
11096         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11097         children.
11098         (gotoComponent): Wrap around on next/previous.
11099         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11100         * gnu/gcj/awt/Buffers.java: Removed.
11101         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11102         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11103         * gnu/java/awt/BitMaskExtent.java: Added.
11104         * gnu/java/awt/Buffers.java: Added.
11105         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11106         * gnu/java/awt/GLightweightPeer.java: Added.
11107         * java/awt/geom/Line2D.java (clone): Ignore
11108         CloneNotSupportedException.
11109         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11110         * java/awt/Frame.java: Merged with Classpath.
11111         * java/awt/RenderingHints.java: Copyright update.
11112         * java/awt/Paint.java: Copyright update.
11113         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11114         * java/awt/image/ColorModel.java: Merged with Classpath.
11115         * java/awt/Window.java (show): New Implementation from Classpath.
11116         (isShowing): Use super.isShowing().
11117         * java/awt/EventQueue.java: Merged with Classpath.
11118         * java/awt/AWTEventMulticaster.java (save): Throw
11119         RuntimeException.
11120         (saveInternal): Likewise.
11121         * java/awt/AWTEvent.java: Now implements Serializable.
11122         * java/awt/Event.java: Copyright update.
11123         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11124         * java/awt/image/BufferedImage.java: Copyright update.
11125         * java/awt/GraphicsConfiguration.java: Copyright update.
11126         * java/awt/Component.java: (addNotify): Don't call
11127         addNotifyContainerChildren().
11128         (addNotifyContainerChildren): Removed.
11129         (setPeer): New method from Classpath.
11130         (setTreeLock): Likewise.
11131         (setVisible): Rewrote.
11132         (show): Use it.
11133         (hide): Likewise.
11134         (validate): Set `valid'.
11135         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11136         (createImage(ImageProducer)): Likewise.
11137         (prepareImage): Likewise.
11138         * java/awt/Container.java (addImpl): Handle case where constraint
11139         is not a String.  Post event via system event queue.
11140         (remove): Post event via system event queue.
11141         (validateTree): Only validate child if it is invalid.
11142         (getAlignmentX): Call super method as default.
11143         (getAlignmentY): Likewise.
11144         (addContainerListener): Now synchronized.
11145         (removeContainerListener): Likewise.
11146         (addNotifyContainerChildren): Now private.
11147         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11148         @author.
11149         * java/awt/FlowLayout.java (serialVersionUID): New field.
11150         (setAlignment): Better exception message.
11151         (layoutContainer): Don't compute component's preferred size unless
11152         we're going to use it.
11153         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11154         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11155         (firstLine, lastLine, firstItem, lastItem): New fields.
11156         (addLayoutComponent): Handle case where constraints is null.
11157         Also, handle relative locations.
11158         (removeLayoutComponent): Handle relative locations.
11159         (MIN, MAX, PREF): New constants.
11160         (calcCompSize): New method.
11161         (calcSize): New method.
11162         (minimumLayoutSize): Use it.
11163         (preferredLayoutSize): Likewise.
11164         (maximumLayoutSize): Likewise.
11165         (toString): Include more information.
11166         (setBounds): New method.
11167         (layoutContainer): Use libgcj implementation; extended to handle
11168         relative locations.
11169
11170 2002-01-15  Tom Tromey  <tromey@redhat.com>
11171
11172         * java/lang/Float.java (equals): Preserve old code.
11173         * java/lang/Double.java (equals): Preserve old code.
11174
11175 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11176
11177         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11178         * java/lang/Float.java (equals, compare): Ditto.
11179
11180 2002-01-13  Mark Wielaard  <mark@klomp.org>
11181
11182         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11183         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11184         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11185         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11186
11187 2002-01-11  Mark Wielaard  <mark@klomp.org>
11188
11189         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11190         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11191         InetAddress.
11192         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11193         * java/net/Socket.java: Merge with Classpath.
11194         * java/net/ServerSocket.java: Likewise.
11195
11196 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11197
11198         * interpret.cc (NULLARRAYCHECK): New macro.
11199         (SAVE_PC): Just store `pc'.
11200         (find_exception): Subtract one from `pc' here.
11201         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11202         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11203         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11204         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11205         don't call SAVE_PC.
11206         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11207         call SAVE_PC.
11208
11209 2002-01-11  Tom Tromey  <tromey@redhat.com>
11210
11211         * java/lang/natSystem.cc (init_properties): Only look for default
11212         locale if LC_MESSAGES is defined.
11213         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11214         * configure.in: Call AM_LC_MESSAGES.
11215         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11216
11217 2002-01-10  Tom Tromey  <tromey@redhat.com>
11218
11219         For PR libgcj/5303:
11220         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11221         --version.  Recognize GNU-style long options.  Print GNU-style
11222         error messages.
11223         (usage): Print GNU-style help.  Exit with status 0.
11224         (error): New method.
11225         (run): Print error message if no class names found.
11226         (main): Don't print usage on error.
11227
11228 2002-01-09  Tom Tromey  <tromey@redhat.com>
11229
11230         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11231         property.
11232         (help, version): Use println(), not println("").
11233
11234         For PR libgcj/5303:
11235         * gnu/gcj/convert/Convert.java (error): Program is called
11236         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11237         -1.
11238         (main): Handle --help and --version.
11239         (help): New method.
11240         (version): Likewise.
11241
11242 2002-01-08  Tom Tromey  <tromey@redhat.com>
11243
11244         * Makefile.in: Rebuilt.
11245         * Makefile.am (ordinary_java_source_files): Added new files.
11246         * gnu/java/locale/LocaleInformation.java: Extend
11247         LocaleInformation_en.
11248         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11249         and time/date formats.
11250         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11251         generated.
11252         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11253         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11254         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11255         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11256         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11257         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11258         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11259         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11260         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11261         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11262         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11263         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11264         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11265         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11266         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11267         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11268         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11269         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11270         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11271         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11272         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11273         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11274         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11275         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11276         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11277         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11278         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11279         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11280         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11281         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11282         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11283         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11284         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11285         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11286         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11287         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11288         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11289         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11290         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11291         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11292         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11293         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11294         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11295         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11296         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11297         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11298         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11299         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11300         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11301         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11302         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11303         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11304         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11305         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11306         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11307         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11308         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11309         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11310         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11311         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11312         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11313         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11314         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11315         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11316         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11317         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11318         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11319         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11320         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11321         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11322         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11323         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11324         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11325         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11326         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11327         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11328         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11329         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11330         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11331         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11332         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11333         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11334         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11335         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11336         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11337         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11338         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11339         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11340         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11341         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11342         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11343         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11344         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11345         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11346         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11347         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11348         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11349         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11350         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11351         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11352         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11353         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11354         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11355         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11356         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11357         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11358         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11359         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11360         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11361         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11362         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11363         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11364         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11365         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11366         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11367         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11368         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11369         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11370         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11371         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11372         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11373         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11374         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11375         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11376         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11377         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11378         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11379         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11380         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11381         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11382
11383         For PR libgcj/5031:
11384         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11385         choose default locale.
11386
11387         * Makefile.in: Rebuilt.
11388         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11389
11390 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11391
11392         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11393         sockets.
11394         (close): New function closes the socket.
11395         (write): New functions for output to socket.
11396         (read): New functions for reading from socket.
11397         * java/net/PlainSocketImpl.java: Glue for new timeout
11398         implementation.
11399         (write): Call the native impl.
11400         (read): Likewise.
11401         (getInputStream): Get a stream to read from the socket.
11402         (getOutputStream): Get a stream to write to the socket.
11403
11404 2002-01-08  Tom Tromey  <tromey@redhat.com>
11405
11406         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11407
11408 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11409
11410         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11411         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11412
11413 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11414
11415         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11416         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11417         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11418         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11419         insn_bastore, insn_castore, insn_sastore]: Use it.
11420         (continue1) [insn_arraylength]: Check for null array.
11421
11422 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11423
11424         * configure, include/config.h.in: Rebuilt.
11425         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11426         * configure.in: Call AC_STRUCT_TIMEZONE.
11427
11428 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11429
11430         * configure.host: Disable the interpreter for Darwin.
11431
11432 2002-01-04  Tom Tromey  <tromey@redhat.com>
11433
11434         * java/lang/Thread.java (stop): No longer synchronized.
11435         (start): Likewise.
11436
11437 2002-01-02  Tom Tromey  <tromey@redhat.com>
11438
11439         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11440         patch.
11441
11442 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11443
11444         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11445         PPC Darwin, not for all of Darwin.