OSDN Git Service

d6ec0a21fca29dd91ada7f9a4018e40988137034
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-06-14  Michael Koch  <konqueror@gmx.de>
2
3         * javax/naming/directory/Attribute.java:
4         New version from classpath.
5
6 2003-06-14  Michael Koch  <konqueror@gmx.de>
7
8         * java/io/BufferedReader.java,
9         java/io/FileOutputStream.java:
10         New versions from classpath.
11
12 2003-06-12  Andrew Haley  <aph@redhat.com>
13
14         * prims.cc (catch_segv): Create exception in handler.
15         (catch_fpe): Likewise.  
16         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
17         (_Jv_ThrowSignal): Remove.
18
19         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
20         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
21         to nullp and arithexception.
22         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
23         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
24         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
25         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
26         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
27
28 2003-06-11  Andrew Haley  <aph@redhat.com>
29
30         * jni.cc (_Jv_JNI_check_types): New.
31         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
32         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
33         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
34         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
35         
36         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
37         infinite loop.
38
39 2003-06-11  Tom Tromey  <tromey@redhat.com>
40
41         * java/lang/ClassLoader.java (loadClass): Not deprecated.
42         * java/io/PrintStream.java: Not deprecated.
43
44 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
45
46         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
47         (fillOval): implemented
48         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
49         (fillArc): implemented.
50         * gnu/gcj/xlib/GC.java (drawArc): added native method.
51         (fillArc): added native method.
52         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
53         (fillArc): added native method.
54
55 2003-06-11  Michael Koch  <konqueror@gmx.de>
56
57         * java/awt/im/InputSubset.java:
58         New version from classpath.
59
60 2003-06-11  Michael Koch  <konqueror@gmx.de>
61
62         * javax/swing/AbstractAction.java,
63         javax/swing/AbstractButton.java,
64         javax/swing/AbstractCellEditor.java,
65         javax/swing/AbstractListModel.java,
66         javax/swing/BorderFactory.java,
67         javax/swing/Box.java,
68         javax/swing/BoxLayout.java,
69         javax/swing/ButtonGroup.java,
70         javax/swing/DefaultButtonModel.java,
71         javax/swing/DefaultListModel.java,
72         javax/swing/DefaultListSelectionModel.java,
73         javax/swing/FocusManager.java,
74         javax/swing/ImageIcon.java,
75         javax/swing/InputMap.java,
76         javax/swing/JApplet.java,
77         javax/swing/JButton.java,
78         javax/swing/JCheckBox.java,
79         javax/swing/JCheckBoxMenuItem.java,
80         javax/swing/JColorChooser.java,
81         javax/swing/JComboBox.java,
82         javax/swing/JComponent.java,
83         javax/swing/JDesktopPane.java,
84         javax/swing/JDialog.java,
85         javax/swing/JEditorPane.java,
86         javax/swing/JFileChooser.java,
87         javax/swing/JFormattedTextField.java,
88         javax/swing/JFrame.java,
89         javax/swing/JLabel.java,
90         javax/swing/JLayeredPane.java,
91         javax/swing/JList.java,
92         javax/swing/JMenuBar.java,
93         javax/swing/JMenuItem.java,
94         javax/swing/JOptionPane.java,
95         javax/swing/JPanel.java,
96         javax/swing/JPasswordField.java,
97         javax/swing/JPopupMenu.java,
98         javax/swing/JProgressBar.java,
99         javax/swing/JRadioButton.java,
100         javax/swing/JRadioButtonMenuItem.java,
101         javax/swing/JRootPane.java,
102         javax/swing/JScrollBar.java,
103         javax/swing/JScrollPane.java,
104         javax/swing/JSeparator.java,
105         javax/swing/JSlider.java,
106         javax/swing/JTabbedPane.java,
107         javax/swing/JTable.java,
108         javax/swing/JTextField.java,
109         javax/swing/JToggleButton.java,
110         javax/swing/JToolBar.java,
111         javax/swing/JToolTip.java,
112         javax/swing/JTree.java,
113         javax/swing/JViewport.java,
114         javax/swing/JWindow.java,
115         javax/swing/KeyStroke.java,
116         javax/swing/ListSelectionModel.java,
117         javax/swing/LookAndFeel.java,
118         javax/swing/RepaintManager.java,
119         javax/swing/ScrollPaneLayout.java,
120         javax/swing/SizeRequirements.java,
121         javax/swing/SwingConstants.java,
122         javax/swing/Timer.java,
123         javax/swing/UIDefaults.java,
124         javax/swing/UIManager.java,
125         javax/swing/border/AbstractBorder.java,
126         javax/swing/border/CompoundBorder.java,
127         javax/swing/colorchooser/AbstractColorChooserPanel.java,
128         javax/swing/colorchooser/ColorChooserComponentFactory.java,
129         javax/swing/colorchooser/ColorSelectionModel.java,
130         javax/swing/colorchooser/DefaultColorSelectionModel.java,
131         javax/swing/event/AncestorEvent.java,
132         javax/swing/event/HyperlinkEvent.java,
133         javax/swing/event/InternalFrameAdapter.java,
134         javax/swing/event/InternalFrameEvent.java,
135         javax/swing/event/ListDataEvent.java,
136         javax/swing/event/MouseInputAdapter.java,
137         javax/swing/event/SwingPropertyChangeSupport.java,
138         javax/swing/event/TableModelEvent.java,
139         javax/swing/event/TreeWillExpandListener.java,
140         javax/swing/event/UndoableEditEvent.java,
141         javax/swing/filechooser/FileFilter.java,
142         javax/swing/filechooser/FileSystemView.java,
143         javax/swing/filechooser/FileView.java,
144         javax/swing/plaf/BorderUIResource.java,
145         javax/swing/plaf/basic/BasicDefaults.java,
146         javax/swing/table/AbstractTableModel.java,
147         javax/swing/table/DefaultTableCellRenderer.java,
148         javax/swing/table/DefaultTableColumnModel.java,
149         javax/swing/table/DefaultTableModel.java,
150         javax/swing/table/TableColumn.java,
151         javax/swing/text/JTextComponent.java,
152         javax/swing/tree/AbstractLayoutCache.java,
153         javax/swing/tree/DefaultMutableTreeNode.java,
154         javax/swing/tree/DefaultTreeCellEditor.java,
155         javax/swing/tree/DefaultTreeCellRenderer.java,
156         javax/swing/tree/DefaultTreeModel.java,
157         javax/swing/tree/DefaultTreeSelectionModel.java,
158         javax/swing/tree/FixedHeightLayoutCache.java,
159         javax/swing/tree/TreeCellEditor.java,
160         javax/swing/tree/TreeModel.java,
161         javax/swing/tree/TreeNode.java,
162         javax/swing/tree/TreePath.java,
163         javax/swing/tree/TreeSelectionModel.java,
164         javax/swing/tree/VariableHeightLayoutCache.java,
165         javax/swing/undo/AbstractUndoableEdit.java,
166         javax/swing/undo/CompoundEdit.java,
167         javax/swing/undo/StateEdit.java,
168         javax/swing/undo/UndoManager.java,
169         javax/swing/undo/UndoableEditSupport.java:
170         New versions from classpath.
171         * javax/swing/table/JTableHeader.java:
172         New file from classpath.
173         * Makefile.am
174         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
175         * Makefile.in: Regenerated.
176
177 2003-06-11  Michael Koch  <konqueror@gmx.de>
178
179         * java/nio/MappedByteBuffer.java,
180         java/nio/channels/Channels.java,
181         java/nio/channels/ServerSocketChannel.java,
182         java/nio/channels/spi/AbstractSelector.java:
183         Removed unneeded imports.
184
185 2003-06-11  Michael Koch  <konqueror@gmx.de>
186
187         * java/net/DatagramSocket.java:
188         Partly merged with classpath.
189
190 2003-06-11  Michael Koch  <konqueror@gmx.de>
191
192         * java/awt/Frame.java,
193         java/awt/Graphics.java,
194         java/awt/Menu.java,
195         java/awt/Robot.java,
196         java/awt/image/ColorModel.java:
197         New versions from classpath.
198
199 2003-06-10  Michael Koch  <konqueror@gmx.de>
200
201         * java/io/PrintStream.java:
202         Merged version from classpath.
203         (close): Removed sychronized keyword. This class is not garantied to
204         be thread-safe.
205         (write): Likewise.
206
207 2003-06-09  Tom Tromey  <tromey@redhat.com>
208
209         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
210         field.
211         (getDescent): Likewise, for "descent".
212
213 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
214
215         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
216         (getMaxDescent): adjusted return value.
217         (getAscent): modified to use metrics for 'O'.
218         (getDescent): modified to use metrics for 'y'.
219
220 2003-06-08  Anthony Green  <green@redhat.com>
221
222         * java/net/URLStreamHandler.java (sameFile): Fix port value
223         comparison.
224         * java/net/URL.java (handler): Make package private.
225         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
226
227 2003-06-07  Tom Tromey  <tromey@redhat.com>
228
229         For PR libgcj/11085:
230         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
231         Limit number of characters in numeric field when required.
232         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
233         Respect maximumIntegerDigits.
234
235 2003-06-08  Michael Koch  <konqueror@gmx.de>
236
237         * java/net/Socket.java
238         (Socket): Dont initialize inputShutdown and outputShutdown twice,
239         call bind() and connect() to actually do the bind and connect tasks.
240         (bind): Connect to canonical address if bindpoint is null, create
241         socket and bind it to bindpoint.
242         (connect): Check for exceptions.
243
244 2003-06-08  Michael Koch  <konqueror@gmx.de>
245
246         * java/net/DatagramSocket.java
247         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
248         into the Multicast constructors.
249         * java/net/DatagramSocketImpl.java
250         (getOption): Removed.
251         (setOption): Removed.
252         * java/net/MulticastSocket.java
253         (MulticastSocket): Call setReuseAddress (true).
254         * java/net/SocketImpl.java
255         (getOption): Removed.
256         (setOption): Removed.
257
258 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
259
260         PR libgcj/10886:
261         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
262         Test for empty vector.
263
264 2003-06-06  Mark Wielaard  <mark@klomp.org>
265
266         * java/security/Security.java (secprops): Initialize.
267         (loadProviders): Return boolean.
268         (static): Check result of loadProvider calls. If necessary
269         display WARNING and fallback to Gnu provider.
270
271 2002-06-06  James Clark  <jjc@jclark.com>
272
273         Fix for PR libgcj/8738:
274         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
275         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
276         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
277         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
278         (write): Always decrease avail when count is increased.
279         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
280         and whether output buffer is full before increasing size.
281
282 2002-06-06  Mark Wielaard  <mark@klomp dot org>
283
284         * java/io/PrintStream.java (writeChars(char[],int, int)):
285         Check converter.havePendingBytes().
286         (writeChars(String,int,int)): Likewise.
287         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
288         Check converter.havePendingBytes() and flush buffer when stalled.
289
290 2003-06-07  Michael Koch  <konqueror@gmx.de>
291
292         * include/posix.h
293         (O_DSYNC): Define O_DSYNC on platforms not
294         supporting O_FSYNC (newlib).
295
296 2003-06-06  Mark Wielaard  <mark@klomp.org>
297
298         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
299         AWTError.
300
301 2003-06-06  Michael Koch  <konqueror@gmx.de>
302
303         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
304         More compile fixes from my stupid work yesterday.
305
306 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
307
308         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
309         if _IEEE_LIBM is undefined.
310
311 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
312
313         * libjava/include/posix.h (O_SYNC): Define if not available
314         and a reasonable, perhaps more conservative, replacement exists.
315         (O_DSYNC): Likewise.
316         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
317
318 2003-06-05  Michael Koch  <konqueror@gmx.de>
319
320         * javax/swing/plaf/BorderUIResource.java,
321         javax/swing/plaf/basic/BasicDefaults.java,
322         javax/swing/plaf/basic/BasicOptionPaneUI.java:
323         More compile fixes for latest Border commit. I should not commit
324         something in this heat here ...
325
326 2003-06-05  Michael Koch  <konqueror@gmx.de>
327
328         * javax/swing/border/BevelBorder.java
329         (BevelBorder): Removed.
330         * javax/swing/border/EmptyBorder.java:
331         Reformatted.
332         (EmptyBorder): Removed.
333         (getBorderInsets): Dont use l, r, t and b.
334         * javax/swing/border/EtchedBorder.java
335         (EtchedBorder): Removed.
336         * javax/swing/border/LineBorder.java
337         (LineBorder): Removed.
338         * javax/swing/border/MatteBorder.java
339         (MatteBorder): Removed.
340         * javax/swing/border/TitledBorder.java
341         (defaultBorder): Use other default for now.
342         (defaultFont): Likewise.
343         (defaultColor): Likewise.
344
345 2003-06-05  Michael Koch  <konqueror@gmx.de>
346
347         * javax/swing/border/Border.java:
348         New version from classpath.
349
350 2003-06-05  Michael Koch  <konqueror@gmx.de>
351
352         * javax/swing/border/AbstractBorder.java,
353         javax/swing/border/BevelBorder.java,
354         javax/swing/border/CompoundBorder.java,
355         javax/swing/border/EmptyBorder.java,
356         javax/swing/border/EtchedBorder.java,
357         javax/swing/border/LineBorder.java,
358         javax/swing/border/MatteBorder.java,
359         javax/swing/border/TitledBorder.java:
360         New versions from Classpath.
361
362 2003-06-05  Michael Koch  <konqueror@gmx.de>
363
364         * java/awt/Button.java,
365         java/awt/Checkbox.java,
366         java/awt/CheckboxMenuItem.java,
367         java/awt/Choice.java,
368         java/awt/Container.java,
369         java/awt/Dialog.java,
370         java/awt/EventQueue.java,
371         java/awt/FileDialog.java,
372         java/awt/Frame.java,
373         java/awt/Label.java,
374         java/awt/List.java,
375         java/awt/Menu.java,
376         java/awt/MenuItem.java,
377         java/awt/Panel.java,
378         java/awt/PopupMenu.java,
379         java/awt/Rectangle.java,
380         java/awt/ScrollPane.java,
381         java/awt/Scrollbar.java,
382         java/awt/TextArea.java,
383         java/awt/TextField.java,
384         java/awt/Window.java,
385         java/awt/datatransfer/DataFlavor.java,
386         java/awt/dnd/DragSource.java,
387         java/awt/dnd/DragSourceContext.java,
388         java/awt/event/HierarchyEvent.java,
389         java/awt/event/MouseWheelEvent.java,
390         java/awt/im/InputContext.java,
391         java/awt/image/BufferedImage.java,
392         java/awt/image/ComponentColorModel.java,
393         java/awt/image/Raster.java,
394         java/awt/image/WritableRaster.java,
395         java/awt/peer/ComponentPeer.java,
396         java/awt/print/PageFormat.java,
397         java/awt/print/PrinterJob.java:
398         New versions from Classpath.
399
400 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
401
402         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
403         numberFormat.setParseIntegerOnly(true).
404
405 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
406
407         * include/posix-threads.h: Include <machine/pal.h> on OSF.
408
409 2003-06-03  Andrew Haley  <aph@redhat.com>
410
411         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
412         stack volatile to prevent optimization from removing it.
413
414 2003-05-27  Michael Koch  <konqueror@gmx.de>
415
416         * java/util/zip/Deflater.java
417         (FILTERED): Merged documentation from classpath.
418         * java/util/zip/DeflaterOutputStream.java
419         (DeflaterOutputStream): Merged documentation and argument validity
420         check from classpath.
421         (deflate): Merged documentation from classpath.
422         (finish): Likewise.
423         * java/util/zip/Inflater.java
424         (Inflater): Merged class documentation from classpath.
425         (zstream): Reordered.
426         (is_finished): Reordered.
427         (dict_needed): Reordered.
428         (Inflater): Reordered, merged documentation from classpath.
429         (end): Likewise.
430         (finalize): Merged documentation from classpath.
431         (finished): Likewise.
432         (getAdler): Likewise.
433         (getRemaining): Likewise.
434         (getTotalIn): Likewise.
435         (getTotalOut): Likewise.
436         (inflate): Likewise.
437         (needsDictionary): Likewise.
438         (needsInput): Likewise.
439         (reset): Likewise.
440         (setDictionary): Likewise.
441         (setInput): Likewise.
442
443 2003-05-27  Michael Koch  <konqueror@gmx.de>
444
445         * java/net/URLConnection.java
446         (getHeaderFieldInt): Merged with classpath.
447
448 2003-05-27  Michael Koch  <konqueror@gmx.de>
449
450         * java/io/PrintStream.java
451         (PrintStream): Reformatted.
452         (PrintStream): New method, merged from classpath.
453         (write): Reformatted.
454
455 2003-05-27  Michael Koch  <konqueror@gmx.de>
456
457         * java/lang/System.java:
458         Explicitely import needed classes.
459
460 2003-05-26  Michael Koch  <konqueror@gmx.de>
461
462         * java/net/NetPermission.java,
463         java/net/NetworkInterface.java,
464         java/net/PasswordAuthentication.java,
465         java/net/SocketPermission.java:
466         New versions from classpath.
467
468 2003-05-25  Michael Koch  <konqueror@gmx.de>
469
470         * java/io/PushbackInputStream.java,
471         java/net/Authenticator.java,
472         java/net/ContentHandler.java,
473         java/net/ContentHandlerFactory.java,
474         java/net/DatagramSocket.java,
475         java/net/DatagramSocketImpl.java,
476         java/net/DatagramSocketImplFactory.java,
477         java/net/FileNameMap.java,
478         java/net/SocketImplFactory.java,
479         java/net/SocketOptions.java,
480         java/net/URLStreamHandlerFactory.java:
481         Merged new versions from classpath.
482
483 2003-05-25  Michael Koch  <konqueror@gmx.de>
484
485         * java/awt/Checkbox.java,
486         java/awt/Dialog.java,
487         java/awt/Font.java,
488         java/awt/Frame.java,
489         java/awt/ScrollPaneAdjustable.java,
490         java/awt/Scrollbar.java,
491         java/awt/Window.java:
492         New versions from classpath.
493
494 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
495
496         PR libgcj/10838:
497         * java/io/ObjectInputStream (enableResolveObject):
498         Fixed spelling of permission name.
499
500 2003-05-20  Michael Koch  <konqueror@gmx.de>
501
502         * java/io/DataInputStream.java
503         (convertFromUTF): Merged comment from classpath.
504         * java/io/PrintStream.java
505         (error_occured): Renamed from error, merged comment from classpath.
506         (PrintStream): No need to initialized error.
507         (checkError): Replace error with error_occurred.
508         (setError): Likewise.
509
510 2003-05-20  Michael Koch  <konqueror@gmx.de>
511
512         * java/io/DataInputStream.java:
513         Reformatted, Replaced < and & with html entitites in documentation.
514         * java/io/File.java:
515         Reformatted.
516         * java/io/PrintWriter.java:
517         Moved class documentation.
518
519 2003-05-20  Michael Koch  <konqueror@gmx.de>
520
521         * gnu/java/nio/ByteBufferImpl.java,
522         gnu/java/nio/CharBufferImpl.java,
523         gnu/java/nio/CharViewBufferImpl.java,
524         gnu/java/nio/DirectByteBufferImpl.java,
525         gnu/java/nio/DoubleBufferImpl.java,
526         gnu/java/nio/DoubleViewBufferImpl.java,
527         gnu/java/nio/FloatBufferImpl.java,
528         gnu/java/nio/FloatViewBufferImpl.java,
529         gnu/java/nio/IntBufferImpl.java,
530         gnu/java/nio/IntViewBufferImpl.java,
531         gnu/java/nio/LongBufferImpl.java,
532         gnu/java/nio/LongViewBufferImpl.java,
533         gnu/java/nio/natDirectByteBufferImpl.cc,
534         gnu/java/nio/ShortBufferImpl.java,
535         gnu/java/nio/ShortViewBufferImpl.java:
536         Moved files to java/nio.
537         * gnu/java/nio/SocketChannelImpl.java
538         
539         * java/nio/ByteBuffer.java,
540         java/nio/CharBuffer.java,
541         java/nio/DoubleBuffer.java,
542         java/nio/FloatBuffer.java,
543         java/nio/IntBuffer.java,
544         java/nio/LongBuffer.java,
545         java/nio/ShortBuffer.java:
546         Dont import anything.
547         * java/nio/ByteBufferImpl.java,
548         java/nio/CharBufferImpl.java,
549         java/nio/CharViewBufferImpl.java,
550         java/nio/DirectByteBufferImpl.java,
551         java/nio/DoubleBufferImpl.java,
552         java/nio/DoubleViewBufferImpl.java,
553         java/nio/FloatBufferImpl.java,
554         java/nio/FloatViewBufferImpl.java,
555         java/nio/IntBufferImpl.java,
556         java/nio/IntViewBufferImpl.java,
557         java/nio/LongBufferImpl.java,
558         java/nio/LongViewBufferImpl.java,
559         java/nio/natDirectByteBufferImpl.cc,
560         java/nio/ShortBufferImpl.java,
561         java/nio/ShortViewBufferImpl.java:
562         Moved from gnu/java/nio.
563         * Makefile.am
564         (ordinary_java_source_files): Moved files from gnu/java/nio to
565         java/nio.
566         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
567         to java/nio.
568         * Makefile.in: Regenerated.
569
570 2003-05-19  Michael Koch  <konqueror@gmx.de>
571
572         * java/util/Calendar.java
573         (get): Not final anymore since JDK 1.4
574         (set): Likewise.
575
576 2003-05-19  Michael Koch  <konqueror@gmx.de>
577
578         * java/text/CollationKey.java:
579         Merged copyright and dat from classpath.
580         * java/text/RuleBasedCollator.java:
581         Merged class documentation from classpath.
582
583 2003-05-19  Michael Koch  <konqueror@gmx.de>
584
585         * java/nio/CharBuffer.java
586         (toString): Compile fix.
587
588 2003-05-19  Michael Koch  <konqueror@gmx.de>
589
590         * gnu/java/nio/ByteBufferImpl.java
591         (putLong): Fixed conversion to bytes.
592         (putDouble): Fixed conversion to bytes.
593         * gnu/java/nio/DirectByteBufferImpl.java
594         (putLong): Fixed conversion to bytes.
595         (putDouble): Fixed conversion to bytes.
596         * gnu/java/nio/FileLockImpl.java
597         (isValid): Reformatted.
598         * java/nio/Buffer.java
599         (Buffer): Fixed off-by-one bug in handling mark.
600         * java/nio/ByteBuffer.java:
601         Added newline.
602         * java/nio/CharBuffer.java
603         (toString): Don't use relative get to get string data.
604
605 2003-05-16  Michael Koch  <konqueror@gmx.de>
606
607         * java/io/natFileDescriptorPosix.cc
608         (open): Commented out the O_SYNC and O_DSYNC usage until its better
609         tested.
610
611 2003-05-14  Michael Koch  <konqueror@gmx.de>
612
613         * gnu/java/nio/FileLockImpl.java
614         (released): New member variable.
615         (FileLockImpl): Initialize released.
616         (releaseImpl): New native method.
617         (release): Implemented.
618         * gnu/java/nio/SelectorImpl.java: Reformatted.
619         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
620         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
621         (accept): Throws IOException.
622         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
623         (implConfigureBlocking): Throws IOException.
624         (connect): Likewise.
625         (read): Likewise.
626         (write): Likewise.
627         * gnu/java/nio/natFileLockImpl.cc: New file.
628         * java/nio/channels/FileLock.java: Reformatted.
629         * Makefile.am:
630         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
631         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
632         * Makefile.in: Regenerated.
633
634 2003-05-13  Michael Koch  <konqueror@gmx.de>
635
636         * gnu/java/nio/CharViewBufferImpl.java
637         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
638         (get): Shift bits to the right direction.
639         (put): Likewise.
640         * gnu/java/nio/DoubleViewBufferImpl.java
641         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
642         (get): Shift bits to the right direction.
643         (put): Likewise.
644         * gnu/java/nio/FloatViewBufferImpl.java
645         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
646         (get): Shift bits to the right direction.
647         (put): Likewise.
648         * gnu/java/nio/IntViewBufferImpl.java
649         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
650         (get): Shift bits to the right direction.
651         (put): Likewise.
652         * gnu/java/nio/LongViewBufferImpl.java
653         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
654         (get): Shift bits to the right direction.
655         (put): Likewise.
656         * gnu/java/nio/ShortViewBufferImpl.java
657         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
658         (get): Shift bits to the right direction.
659         (put): Likewise.
660
661 2003-05-13  Michael Koch  <konqueror@gmx.de>
662
663         * gnu/java/nio/natDirectByteBufferImpl.cc
664         (allocateImpl): jlong -> RawData*.
665         (freeImpl): Likewise.
666
667 2003-05-13  Michael Koch  <konqueror@gmx.de>
668
669         * java/nio/channels/FileChannel.java
670         (MapMode.m): Made it package-private to match JDK 1.4.
671         * java/nio/charset/Charset.java
672         (decode): Made it final to match JDK 1.4.
673
674 2003-05-13  Michael Koch  <konqueror@gmx.de>
675
676        * java/io/FileDescriptor.java
677        (SYNC): New constant.
678        (DSYNC): Likewise.
679        (getLength): Renamed from lenght() to match classpath's
680        FileDescriptor.java.
681        * java/io/RandomAccessFile.java
682        (RandomAccessFile): Removed unneeded mode check, implemented mode
683        "rws" and "rwd", merged documentation from classpath.
684        (setLength): Reformatted.
685        (length): Use new getLength() of FileDescriptor.
686        * java/io/natFileDescriptorEcos.cc
687        (getLength): Renamed from length().
688        * java/io/natFileDescriptorPosix.cc
689        (open): Implemented support for SYNC and DSYNC.
690        (seek): Use getLength() instead of length().
691        (getLength): Renamed from length().
692        * java/io/natFileDescriptorWin32.cc
693        (getLength): Renamed from length().
694        (seek): Use getLength() instead of length().
695        (available): Likewise.
696        * gnu/java/nio/natFileChannelImpl.cc
697        (size): Use getLength() instead of length().
698
699 2003-05-13  Michael Koch  <konqueror@gmx.de>
700
701         * gnu/java/nio/ByteBufferImpl.java
702         (ByteBufferImpl): All constructors revised.
703         (slice): Reimplemented.
704         (duplicate): Reimplemented.
705         (asReadOnlyBuffer): Reimplemented.
706         * java/nio/ByteBuffer.java:
707         Reformatted.
708         (array_offset): Renamed from "offset" to match all other buffer
709         classes.
710         (ByteBuffer): All constructors revised.
711         (allocateDirect): Implemented.
712         (allocate): New implementation, documentation reworked.
713         (wrap): Likewise.
714         (get): Documentation reworked.
715         (put): New implementation, documentation reworked.
716         (hasArray): Documentation reworked.
717         (arrayOffset): Likewise.
718         (hashCode): Likewise.
719         (equals): Likewise.
720         (compareTo): Likewise.
721         (order): Likewise.
722         (compact): Likewise.
723         (isDirect): Likewise.
724         (slice): Likewise.
725         (duplicate): Likewise.
726         (asReadOnlyBuffer): Likewise.
727         * Makefile.am
728         (ordinary_java_source_files):
729         Added gnu/java/nio/DirectByteBufferImpl.java.
730         (nat_source_files):
731         Added gnu/java/nio/natDirectByteBufferImpl.cc.
732         * Makefile.in: Regenerated.
733
734 2003-05-12  Michael Koch  <konqueror@gmx.de>
735
736         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
737         (nio_get_*): Removed.
738         (nio_put_*): Removed.
739         (as*Buffer): Implemented.
740         (compact): Implemented.
741         (get): Documentation added.
742         (put): Documentation added.
743         (get*): Newly implemented.
744         (put*): Newly implemented.
745         * gnu/java/nio/CharBufferImpl.java: Reformatted.
746         (CharBufferImpl): Revised.
747         (slice): New implementation.
748         (duplicate): New implementation.
749         (compact): New implementation.
750         (asReadOnlyBuffer): New implementation.
751         (get): Documentation revised.
752         (order): Return native byte order.
753         * gnu/java/nio/DirectByteBufferImpl.java
754         (allocateDirect): objects can be null not 0.
755         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
756         (DoubleBufferImpl): Revised.
757         (slice): New implementation.
758         (duplicate): New implementation.
759         (compact): New implementation.
760         (asReadOnlyBuffer): New implementation.
761         (get): Documentation revised.
762         (order): Return native byte order.
763         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
764         (FloatBufferImpl): Revised.
765         (slice): New implementation.
766         (duplicate): New implementation.
767         (compact): New implementation.
768         (asReadOnlyBuffer): New implementation.
769         (get): Documentation revised.
770         (order): Return native byte order.
771         * gnu/java/nio/IntBufferImpl.java: Reformatted.
772         (IntBufferImpl): Revised.
773         (slice): New implementation.
774         (duplicate): New implementation.
775         (compact): New implementation.
776         (asReadOnlyBuffer): New implementation.
777         (get): Documentation revised.
778         (order): Return native byte order.
779         * gnu/java/nio/LongBufferImpl.java: Reformatted.
780         (LongBufferImpl): Revised.
781         (slice): New implementation.
782         (duplicate): New implementation.
783         (compact): New implementation.
784         (asReadOnlyBuffer): New implementation.
785         (get): Documentation revised.
786         (order): Return native byte order.
787         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
788         (ShortBufferImpl): Revised.
789         (slice): New implementation.
790         (duplicate): New implementation.
791         (compact): New implementation.
792         (asReadOnlyBuffer): New implementation.
793         (get): Documentation revised.
794         (order): Return native byte order.
795         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
796         (CharBuffer): Revised.
797         (order): Removed.
798         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
799         (DoubleBuffer): Revised.
800         (allocateDirect): Removed.
801         (order): Removed.
802         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
803         (FloatBuffer): Revised.
804         (allocateDirect): Removed.
805         (order): Removed.
806         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
807         (IntBuffer): Revised.
808         (allocateDirect): Removed.
809         (order): Removed.
810         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
811         (LongBuffer): Revised.
812         (allocateDirect): Removed.
813         (order): Removed.
814         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
815         (ShortBuffer): Revised.
816         (allocateDirect): Removed.
817         (order): Removed.
818         * gnu/java/nio/natByteBufferImpl.cc: Removed.
819         * gnu/java/nio/natCharBufferImpl.cc: Removed.
820         * Makefile.am
821         (ordinary_java_source_files): Added the following files:
822         gnu/java/nio/CharViewBufferImpl.java,
823         gnu/java/nio/DoubleViewBufferImpl.java,
824         gnu/java/nio/FloatViewBufferImpl.java,
825         gnu/java/nio/IntViewBufferImpl.java,
826         gnu/java/nio/LongViewBufferImpl.java,
827         gnu/java/nio/ShortViewBufferImpl.java
828         (nat_source_files): Removed the following files:
829         gnu/java/nio/natByteBufferImpl.cc,
830         gnu/java/nio/natCharBufferImpl.cc
831         * Makefile.in: Regenerated.
832
833 2003-05-12  Michael Koch  <konqueror@gmx.de>
834
835         * gnu/java/nio/CharViewBufferImpl.java,
836         gnu/java/nio/DirectByteBufferImpl.java,
837         gnu/java/nio/DoubleViewBufferImpl.java,
838         gnu/java/nio/FloatViewBufferImpl.java,
839         gnu/java/nio/IntViewBufferImpl.java,
840         gnu/java/nio/LongViewBufferImpl.java,
841         gnu/java/nio/ShortViewBufferImpl.java,
842         gnu/java/nio/natDirectByteBufferImpl.cc:
843         New files, not yet to be compiled.
844
845 2003-05-10  Michael Koch  <konqueror@gmx.de>
846
847         * javax/swing/plaf/ButtonUI.java,
848         javax/swing/plaf/ColorUIResource.java,
849         javax/swing/plaf/ComponentUI.java,
850         javax/swing/plaf/DimensionUIResource.java,
851         javax/swing/plaf/FontUIResource.java,
852         javax/swing/plaf/IconUIResource.java,
853         javax/swing/plaf/InsetsUIResource.java,
854         javax/swing/plaf/LabelUI.java,
855         javax/swing/plaf/ListUI.java,
856         javax/swing/plaf/OptionPaneUI.java,
857         javax/swing/plaf/PanelUI.java,
858         javax/swing/plaf/TabbedPaneUI.java,
859         javax/swing/plaf/TextUI.java,
860         javax/swing/plaf/TreeUI.java,
861         javax/swing/plaf/ViewportUI.java,
862         javax/swing/plaf/basic/BasicBorders.java,
863         javax/swing/plaf/basic/BasicButtonUI.java,
864         javax/swing/plaf/basic/BasicCheckBoxUI.java,
865         javax/swing/plaf/basic/BasicDefaults.java,
866         javax/swing/plaf/basic/BasicGraphicsUtils.java,
867         javax/swing/plaf/basic/BasicIconFactory.java,
868         javax/swing/plaf/basic/BasicLabelUI.java,
869         javax/swing/plaf/basic/BasicListUI.java,
870         javax/swing/plaf/basic/BasicOptionPaneUI.java,
871         javax/swing/plaf/basic/BasicPanelUI.java,
872         javax/swing/plaf/basic/BasicRadioButtonUI.java,
873         javax/swing/plaf/basic/BasicScrollPaneUI.java,
874         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
875         javax/swing/plaf/basic/BasicTextUI.java,
876         javax/swing/plaf/basic/BasicToggleButtonUI.java,
877         javax/swing/plaf/basic/BasicTreeUI.java,
878         javax/swing/plaf/basic/BasicViewportUI.java,
879         javax/swing/plaf/metal/MetalLookAndFeel.java:
880         New versions from classpath. This adds copyrights to all files and
881         some serialVersionUIDs.
882
883 2003-05-10  Michael Koch  <konqueror@gmx.de>
884
885         * java/nio/CharBuffer.java
886         (offset): Make it package-private.
887         (backing_buffer): Likewise.
888         * java/nio/DoubleBuffer.java
889         (offset): Make it package-private.
890         (backing_buffer): Likewise.
891         (put): Reformatted.
892         * java/nio/FloatBuffer.java
893         (offset): Make it package-private.
894         (backing_buffer): Likewise.
895         * java/nio/IntBuffer.java
896         (offset): Make it package-private.
897         (backing_buffer): Likewise.
898         * java/nio/LongBuffer.java
899         (offset): Make it package-private.
900         (backing_buffer): Likewise.
901         * java/nio/ShortBuffer.java
902         (offset): Make it package-private.
903         (backing_buffer): Likewise.
904
905 2003-05-10  Michael Koch  <konqueror@gmx.de>
906
907         * java/nio/CharBuffer.java
908         (put): Fixed precondtion check.
909         (toString): Make it work without backing array.
910         (put): Skip one level of method calling.
911
912 2003-05-10  Michael Koch  <konqueror@gmx.de>
913
914         * java/security/Identity.java,
915         java/security/IdentityScope.java,
916         java/security/Key.java,
917         java/security/KeyPair.java,
918         java/security/PrivateKey.java,
919         java/security/Provider.java,
920         java/security/PublicKey.java,
921         java/security/SecureRandom.java,
922         java/security/SecureRandomSpi.java,
923         java/security/SignedObject.java,
924         java/security/Signer.java,
925         java/security/cert/Certificate.java,
926         java/security/cert/PKIXCertPathBuilderResult.java,
927         java/security/cert/X509Certificate.java:
928         New versions from classpath.
929
930 2003-05-09  Tom Tromey  <tromey@redhat.com>
931
932         * Makefile.in: Rebuilt.
933         * Makefile.am (nat_source_files): Removed old files.
934         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
935         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
936         * gnu/java/nio/natIntBufferImpl.cc: Removed.
937         * gnu/java/nio/natLongBufferImpl.cc: Removed.
938         * gnu/java/nio/natShortBufferImpl.cc: Removed.
939
940 2003-05-09  Michael Koch  <konqueror@gmx.de>
941
942         * gnu/java/nio/ByteBufferImpl.java
943         (nio_cast): Removed.
944         (ByteBufferImpl): Removed.
945         (nio_get_Byte): Removed.
946         (nio_put_Byte): Removed.
947         (asByteBuffer): Removed.
948         (asCharBuffer): Removed implementation and throw exception.
949         (asShortBuffer): Likewise.
950         (asIntBuffer): Likewise.
951         (asLongBuffer): Likewise.
952         (asFloatBuffer): Likewise.
953         (asDoubleBuffer): Likewise.
954         * gnu/java/nio/CharBufferImpl.java
955         (CharBufferImpl): Removed.
956         (nio_get_Byte): Removed.
957         (nio_put_Byte): Removed.
958         (asByteBuffer): Removed.
959         * gnu/java/nio/DoubleBufferImpl.java
960         (DoubleBufferImpl): Removed.
961         (nio_get_Byte): Removed.
962         (nio_put_Byte): Removed.
963         (asByteBuffer): Removed.
964         * gnu/java/nio/FloatBufferImpl.java
965         (FloatBufferImpl): Removed.
966         (nio_get_Byte): Removed.
967         (nio_put_Byte): Removed.
968         (asByteBuffer): Removed.
969         * gnu/java/nio/IntBufferImpl.java
970         (IntBufferImpl): Removed.
971         (nio_get_Byte): Removed.
972         (nio_put_Byte): Removed.
973         (asByteBuffer): Removed.
974         * gnu/java/nio/LongBufferImpl.java
975         (LongBufferImpl): Removed.
976         (nio_get_Byte): Removed.
977         (nio_put_Byte): Removed.
978         (asByteBuffer): Removed.
979         * gnu/java/nio/ShortBufferImpl.java
980         (ShortBufferImpl): Removed.
981         (nio_get_Byte): Removed.
982         (nio_put_Byte): Removed.
983         (asByteBuffer): Removed.
984         * gnu/java/nio/natByteBufferImpl.cc
985         (nio_cast): Removed.
986         (nio_get_Byte): Removed.
987         (nio_put_Byte): Removed.
988         * gnu/java/nio/natCharBufferImpl.cc
989         (nio_get_Byte): Removed.
990         (nio_put_Byte): Removed.
991
992 2003-05-09  Michael Koch  <konqueror@gmx.de>
993
994         * java/net/JarURLConnection.java
995         (getJarEntry): Merged documentation from classpath.
996         (getJarFile): Likewise.
997         (getMainAttributes): Likewise.
998         (getAttributes): Likewise.
999         (getManifest): Likewise.
1000         (getCertificates): Reformatted.
1001         * java/net/URLConnection.java:
1002         Little classpath merge.
1003
1004 2003-05-09  Michael Koch  <konqueror@gmx.de>
1005
1006         * java/io/DataOutputStream.java
1007         (writeShort): Made it synchronized.
1008         (writeChar): Likewise.
1009         (writeInt): Likewise.
1010         (writeLong): Liekwise.
1011         (writeUTF): Made it synchronized, renamed argument to match classpath.
1012         * java/io/InputStreamReader.java
1013         (converter): Added documentation.
1014         (read): Merged documentation from classpath.
1015         * java/io/OutputStreamWriter.java
1016         (OutputStreamWriter): Merged documentation from classpath.
1017         (close): Reformatted.
1018         (getEncoding): Likewise.
1019         (flush): Likewise.
1020         (write): Merged documentation from classpath, reformatted.
1021
1022 2003-05-08  Tom Tromey  <tromey@redhat.com>
1023
1024         * configure.host <powerpc64*-*>: Set with_libffi_default and
1025         libgcj_interpreter to "yes".
1026
1027 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1028
1029         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1030         
1031 2003-05-06  Tom Tromey  <tromey@redhat.com>
1032
1033         * verify.cc: Reverted previous patch.
1034
1035 2003-05-06  Michael Koch  <konqueror@gmx.de>
1036
1037         * java/io/DataOutputStream.java
1038         (write): Renamed argument to "value", merged documentation from
1039         classpath.
1040         (writeBoolean): Likewise.
1041         (writeByte): Likewise.
1042         (writeShort): Likewise.
1043         (writeChar): Likewise.
1044         (writeInt): Likewise.
1045         (writeLong): Likewise.
1046         (writeFloat): Likewise.
1047         (writeDouble): Likewise.
1048         (writeBytes): Likewise.
1049         (writeChars): Likewise.
1050         (writeUTF): Likewise.
1051         * java/io/File.java
1052         (performDelete): Added documentation.
1053         (performList): Likewise.
1054         (performMkdir): Likewise.
1055         (performSetReadOnly): Likewise.
1056         (performRenameTo): Likewise.
1057         (performSetLastModified): Likewise.
1058         (delete): Made it sychronized.
1059         (renameTo): Made it sychronized.
1060         (equals): Reformatted.
1061         (isHidden): Likewise.
1062         (listFiles): Likewise.
1063         (setReadOnly): Likewise.
1064         (listRoots): Likewise.
1065         (setLastModified): Likewise.
1066         (checkRead): Likewise.
1067         (checkWrite): Likewise.
1068         * java/io/FileInputStream.java
1069         (skip): Made it sychronized, merged from classpath.
1070         * java/io/FileOutputStream.java
1071         (write): Merged from classpath.
1072         * java/io/InputStreamReader.java:
1073         (InputStreamReader): Merged documentation from classpath.
1074
1075 2003-05-05  Michael Koch  <konqueror@gmx.de>
1076
1077         * java/net/NetworkInterface.java
1078         (networkInterfaces): Removed.
1079         (getByName): Use getRealNetworkInterfaces() instead of
1080         networkInterfaces.
1081         (getByInetAddress): Likewise.
1082         (getNetworkInterfaces): Likewise.
1083         (toString): Fix output of addresses of an interface.
1084
1085 2003-05-05  Michael Koch  <konqueror@gmx.de>
1086
1087         * java/io/DataInputStream.java:
1088         Merged new documentation from classpath.
1089
1090 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1091
1092         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1093         "version".
1094         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1095         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1096         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1097         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1098         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1099         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1100         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1101         * java/security/Key.java: Likewise.
1102         * java/security/PrivateKey.java: Likewise.
1103         * java/security/Provider.java: Likewise.
1104         * java/security/PublicKey.java: Likewise.
1105
1106 2003-05-02  Michael Koch  <konqueror@gmx.de>
1107
1108         * java/net/URI.java
1109         (create): Doesnt throws any exceptions.
1110         * java/net/URLConnection.java
1111         (URLConnection): Commend added.
1112         (getExpiration): The header field is called "expires" not
1113         "expiration".
1114         (getHeaderField): Merged documentation with classpath.
1115         (getHeaderFieldInt): Likewise.
1116         (getHeaderFieldDate): Likewise.
1117         (getHeaderFieldKey): Likewise.
1118         (getPermission): Likewise.
1119         (setDefaultUseCaches): Likewise.
1120         (setRequestProperty): Likewise.
1121         (addRequestProperty): Likewise.
1122         (getRequestProperty): Likewise.
1123         (getRequestProperties): Likewise.
1124         (setDefaultRequestProperty): Likewise.
1125         (getDefaultRequestProperty): Likewise.
1126         (guessContentTypeFromStream): Likewise.
1127         (getFileNameMap): Likewise.
1128         (setFileNameMap): Likewise.
1129         (setDoInput): Merged implementation and documentation with classpath.
1130         (setDoOutput): Likewise.
1131         (setAllowUserInteraction): Likewise.
1132         (setDefaultAllowUserInteraction): Likewise.
1133         (setContentHandlerFactory): Made it synchronized, merged documentation
1134         with classpath.
1135         (guessContentTypeFromName): Renamed argument fname to filename to
1136         match classpath, merged documentation with classpath.
1137
1138 2003-05-02  Michael Koch  <konqueror@gmx.de>
1139
1140         * java/net/JarURLConnection.java
1141         (JarURLConnection): Class documentation merged with classpath.
1142         (getJarFileURL): Moved and documentation merged with classpath.
1143         (getEntryName): Likewise.
1144         (JarURLConnection): Documentation merged with classpath.
1145         (getJarEntry): Likewise.
1146         (getJarFile): Likewise.
1147         * java/net/PlainDatagramSocketImpl.java:
1148         Class documentation moved.
1149         * java/net/URLConnection.java
1150         (fileNameMap): Moved and documentation merged with classpath.
1151         (factory): Likewise.
1152         (defaultAllowUserInteraction): Likewis.
1153         (defaultUseCaches): Likewise.
1154         (allowUserInteraction): Likewise.
1155         (connected): Likewise.
1156         (url): Likewise.
1157         (connect): Documentation merged with classpath.
1158         (getURL): Likewise.
1159         (getContentLength): Likewise.
1160         (getContentType): Likewise.
1161         (getContentEncoding): Likewise.
1162         (getExpiration): Likewise.
1163         (getDate): Likewise.
1164         (getLastModified): Likewise.
1165         (getHeaderField): Likewise.
1166         (getContent): Likewise.
1167         (getPermission): Likewise.
1168         (getInputStream): Likewise.
1169         (getOutputStream): Likewise.
1170         (toString): Likewise.
1171         (getDoInput): Likewise.
1172         (getDoOutput): Likewise.
1173         (setAllowUserInteraction): Likewise.
1174         (getAllowUserInteraction): Likewise.
1175         (setDefaultAllowUserInteraction): Likewise.
1176         (getDefaultAllowUserInteraction): Likewise.
1177         (setUseCaches): Likewise.
1178         (getUseCaches): Likewise.
1179         (setIfModifiedSince): Likewise.
1180         (getIfModifiedSince): Likewise.
1181         (setDefaultRequestProperty): Likewise.
1182         (getDefaultRequestProperty): Likewise.
1183         (setContentHandlerFactory): Likewise.
1184         (setFileNameMap): Likewise.
1185
1186 2003-05-02  Michael Koch  <konqueror@gmx.de>
1187
1188         * java/net/InetAddress.java:
1189         Merged class documentation with classpath.
1190         * java/net/JarURLConnection.java:
1191         Explicitely import all used classes.
1192         * java/net/URL.java:
1193         Reformatting.
1194         * java/net/ServerSocket.java,
1195         java/net/Socket.java:
1196         New versions from classpath.
1197
1198 2003-05-02  Michael Koch  <konqueror@gmx.de>
1199
1200         * gnu/java/nio/FileChannelImpl.java
1201         (read): New implementation.
1202         (implRead): New methods.
1203         (write): New implementation, call other write insteal of read method.
1204         (implWrite): New methods.
1205         (map): Added comment.
1206         (transferFrom): Implemented.
1207         (transferTo): Implemented.
1208         (lock): Added checks to throw exceptions.
1209         (truncate): Added check to throw exception.
1210         * gnu/java/nio/natFileChannelImpl.cc
1211         (implRead): New method.
1212         (implWrite): New method.
1213         * java/nio/ByteBuffer.java
1214         (hashCode): Fixed comment.
1215         (get): Fixed exception documentation.
1216         (put): Fixed exception documentation.
1217         * java/nio/CharBuffer.java:
1218         Added comment for later optimizations.
1219
1220 2003-04-30  Tom Tromey  <tromey@redhat.com>
1221
1222         PR libgcj/10582:
1223         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1224         Removed.
1225         (type::compatible): Use _Jv_IsAssignableFrom.
1226         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1227         (_Jv_IsAssignableFrom): Work even when source or target class is
1228         not prepared.
1229
1230 2003-04-30  Michael Koch  <konqueror@gmx.de>
1231
1232         * java/text/BreakIterator.java
1233         (clone): New method.
1234
1235 2003-04-30  Michael Koch  <konqueror@gmx.de>
1236
1237         * java/text/CollationElementIterator.java,
1238         java/text/CollationKey.java,
1239         java/text/RuleBasedCollator.java:
1240         Merged copyright and documentation from classpath and
1241         rearranged some code. No code changes done.
1242
1243 2003-04-30  Michael Koch  <konqueror@gmx.de>
1244
1245         * java/util/regex/Matcher.java
1246         (pattern): New member variable.
1247         (appendReplacement): New method.
1248         (appendTail): New method.
1249         (end): New method.
1250         (find): New method.
1251         (group): New method.
1252         (replaceFirst): Added documentation.
1253         (replaceAll): Added documentation.
1254         (groupCount): New method.
1255         (lookingAt): New method.
1256         (matches): New method.
1257         (reset): New method.
1258         (start): New method.
1259         * java/util/regex/Pattern.java
1260         (serialVersionUID): New constant.
1261         (CANON_EQ): New constant.
1262         (CASE_INSENSITIVE): New constant.
1263         (COMMENTS): New constant.
1264         (DOTALL): New constant.
1265         (MULTILINE): New constant.
1266         (UNICODE_CASE): New constant.
1267         (UNIX_LINES): New constant.
1268         (regex): New member variable.
1269         (flags): New member variable.
1270         (Pattern): New method.
1271         (compile): Documentation added.
1272         (flags): New method.
1273         (matches): Documentation added.
1274         (matcher): Documentation added.
1275         (split): Documentation added.
1276         (pattern): New method.
1277
1278 2003-04-30  Michael Koch  <konqueror@gmx.de>
1279
1280         * gnu/java/security/Engine.java,
1281         gnu/java/security/OID.java,
1282         gnu/java/security/der/BitString.java,
1283         gnu/java/security/der/DER.java,
1284         gnu/java/security/der/DERReader.java,
1285         gnu/java/security/der/DERValue.java,
1286         gnu/java/security/der/DERWriter.java,
1287         gnu/java/security/provider/DSAKeyFactory.java,
1288         gnu/java/security/provider/X509CertificateFactory.java,
1289         gnu/java/security/x509/X500DistinguishedName.java,
1290         gnu/java/security/x509/X509CRL.java,
1291         gnu/java/security/x509/X509CRLEntry.java,
1292         gnu/java/security/x509/X509Certificate.java,
1293         java/security/cert/CRLSelector.java,
1294         java/security/cert/CertPathBuilder.java,
1295         java/security/cert/CertPathBuilderResult.java,
1296         java/security/cert/CertPathBuilderSpi.java,
1297         java/security/cert/CertPathParameters.java,
1298         java/security/cert/CertPathValidator.java,
1299         java/security/cert/CertPathValidatorResult.java,
1300         java/security/cert/CertPathValidatorSpi.java,
1301         java/security/cert/CertSelector.java,
1302         java/security/cert/CertStore.java,
1303         java/security/cert/CertStoreParameters.java,
1304         java/security/cert/CertStoreSpi.java,
1305         java/security/cert/CollectionCertStoreParameters.java,
1306         java/security/cert/LDAPCertStoreParameters.java,
1307         java/security/cert/PKIXBuilderParameters.java,
1308         java/security/cert/PKIXCertPathBuilderResult.java,
1309         java/security/cert/PKIXCertPathChecker.java,
1310         java/security/cert/PKIXCertPathValidatorResult.java,
1311         java/security/cert/PKIXParameters.java,
1312         java/security/cert/PolicyNode.java,
1313         java/security/cert/PolicyQualifierInfo.java,
1314         java/security/cert/TrustAnchor.java,
1315         javax/security/auth/x500/X500Principal.java:
1316         New files from classpath.
1317         * gnu/java/io/ASN1ParsingException.java,
1318         gnu/java/io/Base64InputStream.java,
1319         gnu/java/security/der/DEREncodingException.java,
1320         gnu/java/security/provider/DSAParameters.java,
1321         gnu/java/security/provider/DSASignature.java,
1322         gnu/java/security/provider/Gnu.java,
1323         gnu/java/security/provider/GnuDSAPrivateKey.java,
1324         gnu/java/security/provider/GnuDSAPublicKey.java,
1325         java/security/AlgorithmParameterGenerator.java,
1326         java/security/AlgorithmParameters.java,
1327         java/security/KeyFactory.java,
1328         java/security/KeyPairGenerator.java,
1329         java/security/KeyStore.java,
1330         java/security/MessageDigest.java,
1331         java/security/SecureClassLoader.java,
1332         java/security/SecureRandom.java,
1333         java/security/Security.java,
1334         java/security/Signature.java,
1335         java/security/cert/Certificate.java,
1336         java/security/cert/CertificateFactory.java,
1337         java/security/cert/CertificateFactorySpi.java,
1338         java/security/cert/X509CRL.java,
1339         java/security/cert/X509Certificate.java,
1340         java/security/spec/DSAPublicKeySpec.java:
1341         New versions from classpath.
1342         * gnu/java/security/provider/DERReader.java,
1343         gnu/java/security/provider/DERWriter.java,
1344         java/security/Engine.java: Removed.
1345         * Makefile.am
1346         (java_source_files, javax_source_files): Added new files.
1347         * Makefile.in: Regenerated.
1348
1349 2003-04-29  Michael Koch  <konqueror@gmx.de>
1350
1351         * javax/swing/JTable.java
1352         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1353         (AUTO_RESIZE_LAST_COLUMN): New constant.
1354         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1355         (AUTO_RESIZE_OFF): New constant.
1356         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1357         (JTable): New method.
1358         (columnAdded): New method.
1359         (columnMarginChanged): New method.
1360         (columnMoved): New method.
1361         (columnRemoved): New method.
1362         (columnSelectionChanged): New method.
1363         (editingCanceled): New method.
1364         (editingStopped): New method.
1365         (getColumnModel): New method.
1366         (getPreferredScrollableViewportSize): New method.
1367         (getScrollableBlockIncrement): New method.
1368         (getScrollableTracksViewportHeight): New method.
1369         (getScrollableTracksViewportWidth): New method.
1370         (getScrollableUnitIncrement): New method.
1371         (getSelectedRow): New method.
1372         (getSelectionModel): New method.
1373         (tableChanged): New method.
1374         (setModel): New method.
1375         (setSelectionMode): New method.
1376         (setSelectionModel): New method.
1377         (setShowGrid): New method.
1378         (valueChanged): New method.
1379         * javax/swing/text/DefaultEditorKit.java
1380         (backwardAction): New constant.
1381         (beepAction): New constant.
1382         (beginAction): New constant.
1383         (beginLineAction): New constant.
1384         (beginParagraphAction): New constant.
1385         (beginWordAction): New constant.
1386         (copyAction): New constant.
1387         (cutAction): New constant.
1388         (defaultKeyTypedAction): New constant.
1389         (deleteNextCharAction): New constant.
1390         (deletePrevCharAction): New constant.
1391         (downAction): New constant.
1392         (endAction): New constant.
1393         (endLineAction): New constant.
1394         (endOfLineStringProperty): New constant.
1395         (endParagraphAction): New constant.
1396         (endWordAction): New constant.
1397         (forwardAction): New constant.
1398         (insertBreakAction): New constant.
1399         (insertContentAction): New constant.
1400         (insertTabAction): New constant.
1401         (nextWordAction): New constant.
1402         (pageDownAction): New constant.
1403         (pageUpAction): New constant.
1404         (pasteAction): New constant.
1405         (previousWordAction): New constant.
1406         (readOnlyAction): New constant.
1407         (selectAllAction): New constant.
1408         (selectionBackwardAction): New constant.
1409         (selectionBeginAction): New constant.
1410         (selectionBeginLineAction): New constant.
1411         (selectionBeginParagraphAction): New constant.
1412         (selectionBeginWordAction): New constant.
1413         (selectionDownAction): New constant.
1414         (selectionEndAction): New constant.
1415         (selectionEndLineAction): New constant.
1416         (selectionEndParagraphAction): New constant.
1417         (selectionEndWordAction): New constant.
1418         (selectionForwardAction): New constant.
1419         (selectionNextWordAction): New constant.
1420         (selectionPreviousWordAction): New constant.
1421         (selectionUpAction): New constant.
1422         (selectLineAction): New constant.
1423         (selectParagraphAction): New constant.
1424         (selectWordAction): New constant.
1425         (upAction): New constant.
1426         (writableAction): New constant.
1427
1428 2003-04-29  Michael Koch  <konqueror@gmx.de>
1429
1430         * java/util/PropertyPermission.java:
1431         New version from classpath
1432         * java/util/ResourceBundle.java:
1433         Partly merged from classpath
1434         (getObject): Reformated.
1435         (tryBundle): Set foundBundle = null if no bundle found.
1436
1437 2003-04-29  Michael Koch  <konqueror@gmx.de>
1438
1439         * javax/swing/AbstractListModel.java,
1440         javax/swing/DefaultBoundedRangeModel.java,
1441         javax/swing/DefaultSingleSelectionModel.java:
1442         New Versions from classpath.
1443
1444 2003-04-29  Michael Koch  <konqueror@gmx.de>
1445
1446         * java/awt/Window.java
1447         (show): Call super.show() instead of setVisible() to avoid endless
1448         loop.
1449         (hide): Call super.hide() instead of setVisible() to avoid endless
1450         loop.
1451
1452 2003-04-29  Michael Koch  <konqueror@gmx.de>
1453
1454         * java/util/zip/Deflater.java,
1455         java/util/zip/DeflaterOutputStream.java:
1456         Partly merged with classpath.
1457
1458 2003-04-27  Tom Tromey  <tromey@redhat.com>
1459
1460         * java/lang/natString.cc (_Jv_AllocString): Initialize
1461         cachedHashCode.
1462         (init): Likewise.
1463         (_Jv_NewStringUtf8Const): Likewise.
1464
1465 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1466
1467         * include/jvm.h: (_Jv_GetNbArgs) added
1468         (_Jv_GetSafeArg) added
1469         (_Jv_SetArgs) added
1470         * prims.cc: (_Jv_GetNbArgs) implemented
1471         (_Jv_GetSafeArg) implemented
1472         (_Jv_SetArgs) implemented
1473         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1474         setting _Jv_argc and _Jv_argv
1475         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1476         instead of _Jv_argv
1477         * java/lang/natRuntime.cc: (insertSystemProperties) use
1478         _Jv_GetSafeArg() instead of _Jv_argv
1479
1480 2003-04-23  Tom Tromey  <tromey@redhat.com>
1481
1482         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1483         required by this object.  Search superclasses to find required
1484         alignment.
1485         (get_alignment_from_class): Use alignment of type as it appears
1486         in a struct.
1487         (ALIGNOF): New macro.
1488         (struct aligner): New helper structure.
1489
1490 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1491
1492         * java/awt/Container.java (addImpl): Enable paint events if adding
1493         a lightweight to a heavyweight.
1494         (addNotify): Ensure that peer is created before
1495         addNotifyContainerChildren.
1496         (addNotifyContainerChildren): Enable paint events if a heavyweight
1497         container contains a lightweight.
1498
1499 2003-04-20  Tom Tromey  <tromey@redhat.com>
1500
1501         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1502         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1503         Classpath.
1504
1505 2003-04-19  Tom Tromey  <tromey@redhat.com>
1506
1507         * java/sql/Date.java, java/sql/DriverManager.java,
1508         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1509         Classpath.
1510
1511         * Makefile.in: Rebuilt.
1512         * Makefile.am (ordinary_java_source_files): Added new files.
1513         * java/security/AlgorithmParameterGenerator.java,
1514         java/security/AlgorithmParameters.java, java/security/Engine.java,
1515         java/security/Identity.java, java/security/IdentityScope.java,
1516         java/security/KeyFactory.java,
1517         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1518         java/security/MessageDigest.java, java/security/Policy.java,
1519         java/security/ProtectionDomain.java,
1520         java/security/SecureRandom.java, java/security/Security.java,
1521         java/security/Signature.java, java/security/SignatureSpi.java,
1522         java/security/SignedObject.java, java/security/Signer.java,
1523         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1524         java/security/spec/PSSParameterSpec.java,
1525         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1526         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1527         Classpath.
1528
1529 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1530
1531         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1532         (dispose): Null metrics.
1533         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1534         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1535         finalize.
1536         (finalize): Call dispose.
1537         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1538         (gcCachedCount): New field.
1539         (finalize): New method.
1540         (putGCInCache): New method.
1541         (getGCFromCache): New method.
1542         * gnu/gcj/xlib/GC.java (GC): Make protected.
1543         (clone): Get new GC from cache if possible.
1544         (create): New static method.
1545         (dispose): Save old GC in cache.
1546         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1547         deleting.
1548         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1549         is null.
1550         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1551         * java/awt/Container.java (visitChild): Dispose gfx2 when
1552         finished.
1553
1554 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1555
1556         * java/math/BigInteger.java (probablePrime): New.
1557         * java/math/BigDecimal.java (unscaledValue): New.
1558
1559 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1560
1561         * java/io/File.java (getAbsolutePath): On Windows, take care
1562         of paths like "C:", "G:foo\bar", etc.
1563         (getName): Make it work correctly on Windows.
1564         (getParent): Make it work correctly on Windows. For UNIX,
1565         fix bug that causes "/" to be returned as the parent of "/",
1566         instead of null as returned by Sun's JRE.
1567
1568         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1569
1570 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1571
1572         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1573         inner class.
1574         (CACHE_SIZE_PER_DISPLAY): New field
1575         (fontMetricsCache): New field
1576         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1577         loading ISO10646-1 fonts.
1578
1579 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1580
1581         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1582         characters.
1583         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1584         characters.
1585
1586 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1587
1588         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1589         floating point.
1590
1591 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1592
1593         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1594         installed libpthread is either linuxthreads with floating stacks or
1595         NPTL.
1596
1597 2003-04-14  Tom Tromey  <tromey@redhat.com>
1598
1599         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1600         of alignment.
1601
1602 2003-04-10  Tom Tromey  <tromey@redhat.com>
1603
1604         * verify.cc (pop64): Removed.
1605         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1606         exception if top-of-stack is narrow.
1607         (initialize_stack): Check to ensure that <init> is not static and
1608         <clinit> is.
1609
1610 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1611
1612         * java/io/ObjectStreamException
1613         * java/io/FileFilter
1614         * java/io/FilenameFilter
1615         * java/io/ObjectInput
1616         * java/io/ObjectOutput
1617         * java/io/ObjectStreamConstants
1618         Minor doc fixes, format fixes, spelling corrections, etc.
1619         * java/io/DataInput
1620         Corrected code samples in Javadocs to match reality
1621         * java/io/DataOutput
1622         * java/io/ObjectInputValidation
1623         Major documentation fixes - all Javadocs re-written or updated
1624
1625 2003-04-06  Michael Koch  <konqueror@gmx.de>
1626
1627         * java/net/URLConnection.java:
1628         Import classes directly.
1629         (URLConnection): Merged class documentation with classpath.
1630         (url): Moved, documentation from classpath added.
1631         (doInput): Moved, documentation from classpath added.
1632         (doOutput): Moved, documentation from classpath added.
1633         (allowUserInteraction): Moved.
1634         (useCaches): Moved, documentation from classpath added.
1635         (ifModifiedSince): Moved, documentation from classpath added.
1636         (connected): Moved, documentation from classpath added.
1637
1638 2003-04-06  Michael Koch  <konqueror@gmx.de>
1639
1640         * java/io/FileInputStream.java
1641         (skip): Renamed some variables to match classpath, added
1642         checks from classpath.
1643
1644 2003-03-31  Michael Koch  <konqueror@gmx.de>
1645
1646         * javax/swing/AbstractAction.java
1647         (AbstractAction): Reformatted.
1648         (serialVersionUID): New private member variable.
1649         * javax/swing/plaf/BorderUIResource.java
1650         (serialVersionUID): New private member variable.
1651         * javax/swing/plaf/basic/BasicLookAndFeel.java
1652         (serialVersionUID): New private member variable.
1653
1654 2003-03-31  Michael Koch  <konqueror@gmx.de>
1655
1656         * java/sql/Date.java
1657         (valueOf): Deprecated, reformatted.
1658         (toString): Deprecated, reformatted.
1659         * java/sql/Time.java
1660         (valueOf): Deprecated, reformatted.
1661         (toString): Deprecated, reformatted.
1662
1663 2003-03-31  Michael Koch  <konqueror@gmx.de>
1664
1665         * java/rmi/dgc/VMID.java
1666         (isUnique): Deprecated.
1667
1668 2003-03-31  Michael Koch  <konqueror@gmx.de>
1669
1670         * java/io/File.java
1671         (separator): Merged documentation from classpath.
1672         (separatorChar): Merged documentation from classpath.
1673         (pathSeparator): Merged documentation from classpath.
1674         (pathSeparatorChar): Merged documentation from classpath.
1675         (path): Merged documentation from classpath.
1676         (canRead): Merged documentation from classpath.
1677         (canWrite): Merged documentation from classpath.
1678         (createNewFile): Merged documentation from classpath.
1679         (delete): Merged documentation from classpath.
1680         (equals): Merged documentation from classpath.
1681         (exists): Merged documentation from classpath.
1682         (File): Renamed p to name to match classpath, merged documentation
1683         from classpath.
1684         (getAbsolutePath): Merged documentation from classpath.
1685         (getCanonicalPath): Merged documentation from classpath.
1686         (getCanonicalFile): Merged documentation from classpath.
1687         (getName): Merged documentation from classpath.
1688         (getParent): Merged documentation from classpath.
1689         (getParentFile): Merged documentation from classpath.
1690         (getPath): Merged documentation from classpath.
1691         (hashCode): Merged documentation from classpath.
1692         (isAbsolute): Merged documentation from classpath.
1693         (isDirectory): Merged documentation from classpath.
1694         (isFile): Merged documentation from classpath.
1695         (isHidden): Merged documentation from classpath.
1696         (lastModified): Merged documentation from classpath.
1697         (length): Merged documentation from classpath.
1698         (list): Merged documentation from classpath.
1699         (listFiles): Merged documentation from classpath.
1700         (toString): Merged documentation from classpath.
1701         (toURL): Merged documentation from classpath.
1702         (mkdir): Merged documentation from classpath.
1703         (mkdirs): Merged documentation from classpath.
1704         (createTempFile): Merged documentation from classpath.
1705         (setReadOnly): Merged documentation from classpath.
1706         (listRoots): Merged documentation from classpath.
1707         (compareTo): Merged documentation from classpath.
1708         (renameTo): Merged documentation from classpath.
1709         (setLastModified): Merged documentation from classpath.
1710         * java/io/PrintStream.java
1711         (auto_flush): Merged documentation from classpath.
1712         (PrintStream): Merged documentation from classpath.
1713         (checkError): Merged documentation from classpath.
1714         (setError): Merged documentation from classpath.
1715         (close): Merged documentation from classpath.
1716         (flush): Merged documentation from classpath.
1717         (print): Merged documentation from classpath.
1718         (println):  Merged documentation from classpath.
1719         (write): Renamed count to len to match classpath,
1720         merged documentation from classpath.
1721         * java/io/RandomAccessFile.java
1722         (readShort): Merged documentation from classpath.
1723         (readUnsignedByte): Merged documentation from classpath.
1724         (readUnsignedShort): Merged documentation from classpath.
1725         (readUTF): Merged documentation from classpath.
1726         (seek): Reformatted, merged documentation from classpath.
1727         (skipBytes): Renamed some variables to match classpath, reformatted,
1728         merged documentation from classpath.
1729         (write): Merged documentation from classpath.
1730         (writeBoolean): Merged documentation from classpath.
1731         (writeByte): Merged documentation from classpath.
1732         (writeShort): Merged documentation from classpath.
1733         (writeChar): Merged documentation from classpath.
1734         (writeInt): Merged documentation from classpath.
1735         (writeLong): Merged documentation from classpath.
1736         (writeFloat): Merged documentation from classpath.
1737         (writeDouble): Merged documentation from classpath.
1738         (writeBytes): Merged documentation from classpath.
1739         (writeChars): Merged documentation from classpath.
1740         (writeUTF): Reformatted.
1741         (getChannel): Reformatted.
1742
1743 2003-03-31  Michael Koch  <konqueror@gmx.de>
1744
1745         * java/awt/font/TextAttribute.java
1746         (readResolve): Throws java.io.InvalidObjectException.
1747
1748 2003-03-31  Michael Koch  <konqueror@gmx.de>
1749
1750         * java/rmi/server/LoaderHandler.java
1751         (loadClass): Deprecated.
1752         (getSecurityContext): Deprecated.
1753         * java/rmi/server/LogStream.java
1754         (getDefaultStream): Deprecated.
1755         (setDefaultStream): Deprecated.
1756         (getOutputStream): Deprecated.
1757         (setOutputStream): Deprecated.
1758         (write): Deprecated.
1759         (toString): Deprecated.
1760         (parseLevel): Deprecated.
1761         * java/rmi/server/Operation.java
1762         (Operation): Deprecated.
1763         (getOperation): Deprecated.
1764         (toString): Deprecated.
1765         * java/rmi/server/RemoteCall.java
1766         (getOutputStream): Deprecated.
1767         (releaseOutputStream): Deprecated.
1768         (getInputStream): Deprecated.
1769         (releaseInputStream): Deprecated.
1770         (getResultStream): Deprecated.
1771         (executeCall): Deprecated.
1772         (done): Deprecated.
1773         * java/rmi/server/RemoteRef.java
1774         (invoke): Deprecated.
1775         (newCall): Deprecated.
1776         (done): Deprecated.
1777         * java/rmi/server/RemoteStub.java
1778         (setRef): Deprecated.
1779         * java/rmi/server/Skeleton.java:
1780         No need to import java.lang.Exception explicitly.
1781         (dispatch): Deprecated.
1782         (getOperations): Deprecated.
1783
1784 2003-03-31  Michael Koch  <konqueror@gmx.de>
1785
1786         * java/rmi/dgc/VMID.java,
1787         java/rmi/registry/RegistryHandler.java,
1788         java/rmi/server/LogStream.java,
1789         java/rmi/server/Operation.java,
1790         java/rmi/server/RemoteCall.java,
1791         java/rmi/server/RemoteRef.java,
1792         java/rmi/server/RemoteStub.java:
1793         Reformatted.
1794
1795 2003-03-31  Michael Koch  <konqueror@gmx.de>
1796
1797         * javax/swing/AbstractCellEditor.java,
1798         javax/swing/AbstractListModel.java,
1799         javax/swing/ActionMap.java,
1800         javax/swing/BorderFactory.java,
1801         javax/swing/ButtonGroup.java,
1802         javax/swing/DefaultBoundedRangeModel.java,
1803         javax/swing/DefaultButtonModel.java,
1804         javax/swing/DefaultCellEditor.java,
1805         javax/swing/DefaultComboBoxModel.java,
1806         javax/swing/DefaultDesktopManager.java,
1807         javax/swing/DefaultListCellRenderer.java,
1808         javax/swing/DefaultSingleSelectionModel.java,
1809         javax/swing/InputMap.java,
1810         javax/swing/JComponent.java,
1811         javax/swing/JMenu.java,
1812         javax/swing/JSlider.java,
1813         javax/swing/KeyStroke.java,
1814         javax/swing/OverlayLayout.java,
1815         javax/swing/ScrollPaneLayout.java,
1816         javax/swing/SizeRequirements.java,
1817         javax/swing/UIManager.java,
1818         javax/swing/ViewportLayout.java,
1819         javax/swing/border/AbstractBorder.java,
1820         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1821         javax/swing/event/EventListenerList.java,
1822         javax/swing/table/AbstractTableModel.java,
1823         javax/swing/table/DefaultTableCellRenderer.java,
1824         javax/swing/table/DefaultTableColumnModel.java,
1825         javax/swing/table/DefaultTableModel.java,
1826         javax/swing/table/TableColumn.java,
1827         javax/swing/text/StyledEditorKit.java,
1828         javax/swing/tree/DefaultMutableTreeNode.java,
1829         javax/swing/tree/DefaultTreeModel.java,
1830         javax/swing/tree/DefaultTreeSelectionModel.java,
1831         javax/swing/tree/TreePath.java,
1832         javax/swing/undo/AbstractUndoableEdit.java,
1833         javax/swing/undo/StateEdit.java,
1834         javax/swing/undo/StateEditable.java,
1835         javax/swing/undo/UndoableEditSupport.java:
1836         Merges from classpath.
1837
1838 2003-03-30  Tom Tromey  <tromey@redhat.com>
1839
1840         * java/lang/String.java (data, boffset, count): Documented.
1841         (String(byte[],String)): Reformatted.
1842         (String(byte[])): Likewise.
1843         (lastIndexOf(int)): Likewise.
1844         (lastIndexOf(String)): Likewise.
1845         (substring(int)): Renamed argument to match Classpath.
1846         (String(StringBuffer)): Don't share buffer if it is nearly empty.
1847
1848         * java/lang/String.java: Miscellaneous minor formatting changes
1849         to match Classpath more closely.
1850
1851 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
1852             Tom Tromey  <tromey@redhat.com>
1853
1854         * java/lang/natString.cc (hashCode): Use cachedHashCode.
1855         (init()): Removed.
1856         (charAt): Put index in exception.
1857         (contentEquals): New method.
1858         Include StringBuffer.h.
1859         * java/lang/String.java (cachedHashCode): New field.
1860         (String()): Follow classpath implementation.
1861         (init()): Removed.
1862         (contentEquals): Declare.
1863         (subSequence): Don't declare IndexOutIfBoundsException in throws
1864         clause.
1865         (matches, replaceFirst, replaceAll, split): New methods from
1866         Classpath.
1867
1868 2003-03-29  Tom Tromey  <tromey@redhat.com>
1869
1870         * java/lang/String.java: Reordered to follow Classpath; merged in
1871         javadoc.
1872
1873         * java/text/MessageFormat.java: Removed some whitespace.
1874
1875         * Makefile.in: Rebuilt.
1876         * Makefile.am (awt_java_source_files): Added new files.
1877         * gnu/javax/rmi/PortableServer.java,
1878         gnu/javax/rmi/CORBA/DelegateFactory.java,
1879         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
1880         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
1881         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
1882         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
1883         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
1884         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
1885         javax/rmi/PortableRemoteObject.java,
1886         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
1887         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
1888         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
1889         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
1890         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
1891         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
1892
1893         * java/lang/natClass.cc (newInstance): Put method name in
1894         exception.
1895         (getConstructor): Likewise.
1896         (getDeclaredConstructor): Likewise.
1897         (getPrivateMethod): Likewise.
1898
1899 2003-03-28  Tom Tromey  <tromey@redhat.com>
1900
1901         * java/lang/reflect/Proxy.java: New version from Classpath.
1902         * java/lang/Package.java: New version from Classpath.
1903
1904 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
1905
1906         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
1907         * configure: Regenerate.
1908
1909 2003-03-28  Michael Koch  <konqueror@gmx.de>
1910
1911         * java/io/File.java:
1912         Import needed classes instead of whole packages, merged class
1913         documentation with classpath, moved constants and variables to top of
1914         class.
1915         * java/io/PrintStream.java:
1916         Merged class documentation with classpath, moved constants and
1917         variables to top of class.
1918         * java/io/RandomAccessFile.java
1919         (RandomAccessFile): Merged with classpath.
1920         (read): Merged with classpath).
1921         (read*): Reformatted.
1922
1923 2003-03-28  Michael Koch  <konqueror@gmx.de>
1924
1925         * java/io/FileDescriptor.java
1926         (finalize): Throws Throwable, not IOException.
1927         * java/io/ObjectOutputStream.java
1928         (PutField.put): Doesnt throws anything.
1929
1930 2003­03-28  Michael Koch  <konqueror@gmx.de>
1931
1932         * java/io/FileOutputStream.java:
1933         Merged class documentation and authors with classpath.
1934         (FileOutputStream): Partly merged with classpath.
1935         (write): Merged with classpath.
1936         (getChannel): Make it synchronized instead of explicit block in this
1937         method.
1938         * java/io/RandomAccessFile.java:
1939         Merged class documentation and authors with classpath.
1940
1941 2003-03-26  Tom Tromey  <tromey@redhat.com>
1942
1943         * java/lang/natRuntime.cc (insertSystemProperties): Set
1944         gnu.classpath.home.url.
1945         * Makefile.in: Rebuilt.
1946         * Makefile.am: Define LIBDIR.
1947
1948 2003-03-25  Michael Koch  <konqueror@gmx.de>
1949
1950         * java/io/FileInputStream.java
1951         (read): Renamed b to buf and off to offset.
1952         * java/io/FileOutputStream.java
1953         (ch): Documentation added.
1954         (FileOutputStream): Documentation added.
1955         (getFD): Documentation added.
1956         (write): Documentation added.
1957         (close): Documentation added.
1958         (getChannel): Documentation added.
1959
1960 2003-03-24  Michael Koch  <konqueror@gmx.de>
1961
1962         * java/io/DataOutputStream.java
1963         (write): Merged from classpath.
1964         * java/io/File.java:
1965         Merged copyrigth with classpath.
1966         * java/io/FileInputStream.java
1967         (getChannel): Made it synchronized instead of using a synchronized
1968         block.
1969         * java/io/FileOutputStream.java: Reformatted.
1970         * java/io/InputStreamReader.java
1971         (InputStreamReader): Renamed enc to encoding_name.
1972         (close): Merged documentation from classpath.
1973         (getEncoding): Merged documentation from classpath.
1974         (ready): Merged documentation from classpath.
1975         (read): Merged documentation from classpath.
1976         * java/io/LineNumberReader.java
1977         (lineNumber): Made it private.
1978         (LineNumberReader): Use Constant instead of a direct value.
1979         * java/io/OutputStreamWriter.java
1980         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
1981         documentation from classpath.
1982         (close): Merged documentation from classpath.
1983         (flush): Merged documentation from classpath.
1984         (write): Merged documentation from classpath.
1985         * java/io/PrintStream.java: Reformatted.
1986
1987 2003-03-24  Michael Koch  <konqueror@gmx.de>
1988
1989         * javax/swing/text/ComponentView.java
1990         (getComponent): Must be final.
1991         * javax/swing/tree/DefaultTreeCellRenderer.java:
1992         Reformatted.
1993         * javax/swing/undo/StateEditable.java:
1994         Reformatted.
1995
1996 2003-03-24  Michael Koch  <konqueror@gmx.de>
1997
1998         * java/rmi/activation/ActivationInstantiator.java:
1999         Reformatted.
2000         * java/rmi/activation/Activator.java:
2001         Reformatted.
2002         * java/rmi/registry/RegistryHandler.java:
2003         Remerged from classpath.
2004
2005 2003-03-24  Michael Koch  <konqueror@gmx.de>
2006
2007         * java/util/Date.java:
2008         Fixed documentation starting tag to make javadoc happy.
2009         * java/util/regex/Pattern.java
2010         (Pattern): Implements Serializable.
2011         * java/util/PatternSyntaxException.java
2012         (serialVersionUID): New member variable.
2013
2014 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2015
2016         * java/awt/ContainerOrderFocusTraversalPolicy.java
2017         (getFirstComponent): Implemented.
2018         (getLastComponent): Implemented.
2019         (getDefaultComponent): Implemented.
2020         (setImplicitDownCycleTraversal): Fixed implementation.
2021         * java/awt/Robot.java
2022         (Robot): Added documentation.
2023         * java/awt/Toolkit.java
2024         (getFontList): Deprecated.
2025         (getFontMetrics): Deprecated.
2026         (getPrintJob): Added documentation.
2027         (getSystemSelection): Added documentation.
2028         (getLockingKeyState): Added documentation.
2029         (setLockingKeyState): Added documentation.
2030         (createCustomCursor): Added documentation.
2031         (getBestCursorSize): Added documentation.
2032         (getMaximumCursorColors): Added documentation.
2033         (isFrameStateSupported): Added documentation.
2034
2035 2003-03-24  Michael Koch  <konqueror@gmx.de>
2036
2037         * java/io/RandomAccessFile.java:
2038         More little merges with classpath. No code changes.
2039
2040 2003-03-24  Michael Koch  <konqueror@gmx.de>
2041
2042         * java/net/natInetAddressNoNet.cc:
2043         Include stddef.h.
2044         * java/net/natPlainDatagramSocketImplNoNet.cc:
2045         Fixed inlcude of java/net/DatagramPacket.h.
2046         * java/net/natPlainSocketImplNoNet.cc:
2047         Include some missing classes.
2048
2049 2003-03-24  Michael Koch  <konqueror@gmx.de>
2050
2051         * java/awt/dnd/DropTarget.java
2052         (DropTargetAutoScroller): According to the online documentation, this
2053         is protected, but in reality it is public.
2054         * java/awt/dnd/DropTargetContext.java
2055         (TransferableProxy): According to the online documentation, this
2056         is protected, but in reality it is public.
2057
2058 2003-03-24  Michael Koch  <konqueror@gmx.de>
2059
2060         * java/io/DataInputStream.java
2061         (): Wrapped documentation line.
2062         (): Fixed @return tag.
2063         * java/io/DataOutputStream.java
2064         (written): Moved to top of class.
2065         (all methods): Merged documentation from classpath.
2066         * java/io/File.java:
2067         Merged copyright year with classpath.
2068         * java/io/FileInputStream.java
2069         (all methods): Merged documentation from classpath.
2070         * java/io/LineNumberReader.java
2071         (getLineNumber): Fixed @return tag.
2072         * java/io/ObjectInputStream.java.
2073         Reformatted.
2074         * java/io/ObjectOutputStream.java:
2075         Reformatted, fixed some @see tags.
2076         * java/io/OutputStreamWriter.java:
2077         Deleted empty line.
2078         * java/io/Writer.java:
2079         Reformatted.
2080
2081 2003-03-24  Michael Koch  <konqueror@gmx.de>
2082
2083         * java/awt/Frame.java
2084         (DEFAULT_CURSOR): Fixed @deprecated tag.
2085         (setCursor): Fixed @deprecated tag.
2086
2087 2003-03-24  Michael Koch  <konqueror@gmx.de>
2088
2089         * java/beans/beancontext/BeanContextEvent.java:
2090         Reformated.
2091
2092 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2093
2094         * java/lang/natStringBuffer.cc (regionMatches): New function.
2095         * java/lang/String.java (count): Now package-private.
2096         * java/lang/StringBuffer.java: Merged with Classpath.
2097
2098 2003-03-23  Michael Koch  <konqueror@gmx.de>
2099
2100         * java/io/BufferedOutputStream.java:
2101         Reformated.
2102         * java/io/BufferedReader.java:
2103         Reformated.
2104         * java/io/ByteArrayOutputStream.java
2105         (size): Fixed @see tag.
2106         * java/io/CharArrayWriter.java
2107         (size): Fixed @see tag.
2108         * java/io/DataInput.java:
2109         Reformated.
2110         * java/io/DataOutput.java:
2111         Reformated.
2112         * java/io/DataOutputStream.java:
2113         Merged copyright years with classpath.
2114         * java/io/Externalizable.java:
2115         Reformated.
2116         * java/io/FileFilter.java:
2117         Reformated.
2118         * java/io/FileInputStream.java:
2119         Merged copyright years with classpath.
2120         * java/io/FileOutputStream.java:
2121         Merged copyright years with classpath.
2122         * java/io/FilePermission.java
2123         (FilePermission): Replaced @XXX with FIXME:.
2124         * java/io/FileWriter.java:
2125         Reformated.
2126         * java/io/FilenameFilter.java:
2127         Reformated.
2128         * java/io/FilterInputStream.java:
2129         Reformated.
2130         * java/io/FilterOutputStream.java:
2131         Reformated.
2132         * java/io/FilterReader.java:
2133         Reformated.
2134         * java/io/FilterWriter.java:
2135         Reformated.
2136         * java/io/LineNumberInputStream.java
2137         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2138         happy.
2139         (getLineNumber): Fixed @return tag.
2140         * java/io/ObjectInput.java:
2141         Reformated.
2142         * java/io/ObjectOutput.java:
2143         Reformated.
2144         * java/io/ObjectStreamClass.java:
2145         Reformated.
2146         * java/io/PrintStream.java:
2147         Merged copyright years with classpath.
2148         * java/io/PushbackReader.java
2149         (PushbackReader): Replaced @code with @param.
2150         * java/io/SerializablePermission.java:
2151         Reformated.
2152         * java/io/StreamTokenizer.java
2153         (resetSyntax): Fixed @see tag.
2154
2155 2003-03-22  Richard Henderson  <rth@redhat.com>
2156
2157         * sysdep/ia64/locks.h: Include ia64intrin.h.
2158         (compare_and_swap): Use __sync_bool_compare_and_swap.
2159         (compare_and_swap_release): Expose ar.ccv assignment.
2160
2161 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2162
2163         * include/posix.h: Add suffix for darwin dynamic libraries.
2164
2165 2003-03-21  Michael Koch  <konqueror@gmx.de>
2166
2167         * javax/swing/Action.java
2168         (ACCELERATOR_KEY): New constant.
2169         (ACTION_COMMAND_KEY): Likewise.
2170         (MNEMONIC_KEY): Likewise.
2171         * javax/swing/UnsupportedLookAndFeelException.java
2172         (UnsupportedLookAndFeelException): Must be public.
2173         * javax/swing/WindowConstants.java
2174         (EXIT_ON_CLOSE): New constant.
2175         * javax/swing/text/BadLocationException.java
2176         (offset): New member variable.
2177         (BadLocationException): New implementation, documentation added.
2178         (offsetRequested): New method.
2179         * javax/swing/text/Caret.java:
2180         Reformated.
2181         * javax/swing/text/Document.java:
2182         Reformated.
2183
2184 2003-03-21  Michael Koch  <konqueror@gmx.de>
2185
2186         * java/rmi/activation/Activatable.java
2187         (serialVersionUID): New member variable.
2188         * java/rmi/activation/ActivationGroup.java
2189         (serialVersionUID): New member variable.
2190         * java/rmi/activation/ActivationGroupDesc.java
2191         (serialVersionUID): New member variable.
2192         * java/rmi/registry/Registry.java:
2193         Reformated.
2194         (Registry): Deprecated.
2195         * java/rmi/server/LoaderHandler.java
2196         Reformated.
2197         (LoaderHandler): Deprecated.
2198         * java/rmi/server/LogStream.java
2199         Reformated.
2200         (LogStream): Deprecated.
2201         * java/rmi/server/Operation.java
2202         (Operation): Deprecated.
2203         * java/rmi/server/RMIFailureHandler.java:
2204         Reformated.
2205         * java/rmi/server/RMISocketFactory.java:
2206         Reformated.
2207         * java/rmi/server/RemoteCall.java
2208         (RemoteCall): Deprecated.
2209         * java/rmi/server/RemoteStub.java:
2210         Reformated.
2211         * java/rmi/server/Skeleton.java
2212         Reformated.
2213         (Skeleton): Deprecated.
2214
2215 2003-03-21  Michael Koch  <konqueror@gmx.de>
2216
2217         * java/io/LineNumberReader.java
2218         (LineNumberReader): Merged documentation with classpath.
2219         (getLineNumber): Likewise.
2220         (setLineNumber): Likewise.
2221         (mark): Likewise.
2222         (reset): Likewise.
2223         (read): Likewise.
2224         (readLine): Likewise.
2225         (skip): Likewise.
2226
2227 2003-03-21  Michael Koch  <konqueror@gmx.de>
2228
2229         * java/rmi/RMISecurityManager.java
2230         (checkAccept): Removed.
2231         (checkAccess): Likewise.
2232         (checkAccess): Likewise.
2233         (checkAwtEventQueueAccess): Likewise.
2234         (checkConnect): Likewise.
2235         (checkCreateClassLoader): Likewise.
2236         (checkDelete): Likewise.
2237         (checkExec): Likewise.
2238         (checkExit): Likewise.
2239         (checkLink): Likewise.
2240         (checkListen): Likewise.
2241         (checkMemberAccess): Likewise.
2242         (checkMulticast): Likewise.
2243         (checkPackageAccess): Likewise.
2244         (checkPackageDefinition): Likewise.
2245         (checkPermission): Likewise.
2246         (checkPrintJobAccess): Likewise.
2247         (checkPropertiesAccess): Likewise.
2248         (checkPropertyAccess): Likewise.
2249         (checkRead): Likewise.
2250         (checkSecurityAccess): Likewise.
2251         (checkSetFactory): Likewise.
2252         (checkSystemClipboardAccess): Likewise.
2253         (checkTopLevelWindow): Likewise.
2254         (checkWrite): Likewise.
2255
2256 2003-03-20  Michael Koch  <konqueror@gmx.de>
2257
2258         * gnu/java/nio/FileChannelImpl.java
2259         (address): Removed.
2260         (map_address): New member variable.
2261         (length): Make it package private.
2262         (fd): Make it package private.
2263         (buf): Make it package private.
2264         (file_obj): Make it package private.
2265         (FileChannelImpl): New constructor.
2266         (nio_mmap_file): Use RawData instead of long.
2267         (nio_munmap_file): Use RawData instead of long.
2268         (nio_msync): Use RawData instead of long.
2269         (implCloseChannel): New implementation using map_address.
2270         (read): Reformated.
2271         (map): Implemented.
2272         (create_direct_mapped_buffer): Implemented, use RawData, throws
2273         IOException.
2274         (force): Use map_address instead of address.
2275         * gnu/java/nio/MappedByteFileBuffer.java
2276         (address): Removed.
2277         (map_address): New member variable.
2278         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2279         (several methods): Use map_address instead of address, replaced long
2280         with RawData where appropriate.
2281         * gnu/java/nio/natFileChannelImpl.cc
2282         (nio_mmap_file): Replaced long with RawData.
2283         (nio_munmap_file): Replaced long with RawData.
2284         (nio_msync): Replaced long with RawData.
2285         * gnu/java/nio/natMappedByteFileBuffer.cc
2286         (several methods): Replaced long with RawData where appropriate.
2287
2288 2003-03-20  Michael Koch  <konqueror@gmx.de>
2289
2290         * java/net/InetAddress.java,
2291         java/net/JarURLConnection.java,
2292         java/net/PlainDatagramSocketImpl.java,
2293         java/net/PlainSocketImpl.java,
2294         java/net/URLConnection.java:
2295         Merged copyright statements with classpath for easier merging.
2296
2297 2003-03-20  Michael Koch  <konqueror@gmx.de>
2298
2299         * java/io/FileInputStream.java
2300         (getChannel): New implementation.
2301         * java/io/FileOutputStream.java
2302         (ch): New member variable.
2303         (getChannel): Implemented.
2304         * java/io/RandomAccessFile.java
2305         (RandomAccessFile): Throws FileNotFoundException instead of
2306         IOException.
2307         (getChannel): New method.
2308         (ch): New member variable.
2309
2310 2003-03-20  Michael Koch  <konqueror@gmx.de>
2311
2312         * java/io/DataOutputStream.java,
2313         java/io/File.java,
2314         java/io/FileInputStream.java,
2315         java/io/FileOutputStream.java,
2316         java/io/InputStreamReader.java,
2317         java/io/LineNumberReader.java,
2318         java/io/OutputStreamWriter.java,
2319         java/io/PrintStream.java,
2320         java/io/RandomAccessFile.java:
2321         Merged copyright statements with classpath for easier merging.
2322
2323 2003-03-19  Michael Koch  <konqueror@gmx.de>
2324
2325         * java/lang/Process.java:
2326         Merged from classpath.
2327
2328 2003-03-19  Michael Koch  <konqueror@gmx.de>
2329
2330         * java/io/FileOutputStream.java
2331         (FileOutputStream): New constructor, merged from classpath.
2332         * java/io/FileWriter.java
2333         (FileWriter): New constructor, merged from classpath.
2334
2335 2003-03-18  Michael Koch  <konqueror@gmx.de>
2336
2337         * java/awt/ScrollPane.java
2338         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2339         (getViewportSize): Likewise.
2340         (addNotify): Likewise.
2341         (removeNotify): Likewise.
2342         * java/awt/ScrollPaneAdjustable.java
2343         (ScrollPaneAdjustable): No longer extends Scrollbar.
2344         * java/beans/beancontext/BeanContextServices.java:
2345         Reformated.
2346         (getService): Added throws TooManyListenersException;
2347         * java/beans/beancontext/BeanContextServicesSupport.java:
2348         Reformated.
2349
2350 2003-03-18  Michael Koch  <konqueror@gmx.de>
2351
2352         * java/io/BufferedOutputStream.java,
2353         java/io/DataInput.java,
2354         java/io/DataInputStream.java,
2355         java/io/DataOutput.java,
2356         java/io/Externalizable.java:
2357         More merges from classpath.
2358
2359 2003-03-18  Michael Koch  <konqueror@gmx.de>
2360
2361         * configure.in: Fixed links to platform dependant java.net files.
2362         * configure: Regenerated.
2363         * java/net/natInetAddress.cc,
2364         java/net/natNetworkInterface.cc,
2365         java/net/natPlainDatagramSocketImpl.cc,
2366         java/net/natPlainSocketImpl.cc:
2367         Removed.
2368
2369 2003-03-18  Michael Koch  <konqueror@gmx.de>
2370
2371         * configure.in: Create links to architecture dependent files,
2372         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2373         * configure: Regenerated.
2374         * java/net/natInetAddressNoNet.cc,
2375         java/net/natInetAddressPosix.cc,
2376         java/net/natInetAddressWin32.cc,
2377         java/net/natNetworkInterfaceNoNet.cc,
2378         java/net/natNetworkInterfacePosix.cc,
2379         java/net/natNetworkInterfaceWin32.cc,
2380         java/net/natPlainDatagramSocketImplNoNet.cc,
2381         java/net/natPlainDatagramSocketImplPosix.cc,
2382         java/net/natPlainDatagramSocketImplWin32.cc,
2383         java/net/natPlainSocketImplNoNet.cc,
2384         java/net/natPlainSocketImplPosix.cc,
2385         java/net/natPlainSocketImplWin32.cc: New files.
2386
2387 2003-03-18  Michael Koch  <konqueror@gmx.de>
2388
2389         * java/io/BufferedReader.java,
2390         java/io/BufferedWriter.java,
2391         java/io/ByteArrayOutputStream.java,
2392         java/io/FileFilter.java,
2393         java/io/FilePermission.java,
2394         java/io/FileReader.java,
2395         java/io/FileWriter.java,
2396         java/io/FilenameFilter.java,
2397         java/io/FilterInputStream.java,
2398         java/io/FilterOutputStream.java,
2399         java/io/FilterReader.java,
2400         java/io/FilterWriter.java,
2401         java/io/ObjectInput.java,
2402         java/io/ObjectInputValidation.java,
2403         java/io/ObjectOutput.java,
2404         java/io/ObjectStreamField.java,
2405         java/io/PipedInputStream.java,
2406         java/io/PipedReader.java,
2407         java/io/PrintWriter.java,
2408         java/io/PushbackReader.java,
2409         java/io/Reader.java,
2410         java/io/SerializablePermission.java,
2411         java/io/StringReader.java,
2412         java/io/Writer.java:
2413         Merged from classpath.
2414
2415 2003-03-17  Michael Koch  <konqueror@gmx.de>
2416
2417         * java/awt/ScrollPaneAdjustable.java:
2418         Compile fixes.
2419         
2420 2003-03-17  Michael Koch  <konqueror@gmx.de>
2421
2422         * java/net/DatagramSocket.java
2423         (connect): Fixed comment.
2424         * java/nio/ByteBuffer.java
2425         (hasArray): Fixed comment.
2426
2427 2003-03-17  Michael Koch  <konqueror@gmx.de>
2428
2429         * java/beans/Beans.java:
2430         Explicitely import classes not packages.
2431         * java/beans/FeatureDescriptor.java
2432         (preferred): New member variable.
2433         (isPreferred): New method.
2434         (setPreferred): New method.
2435         * java/beans/PropertyEditorManager.java:
2436         Explicitely import used classes.
2437         * java/beans/beancontext/BeanContextChild.java:
2438         Added line wrapping.
2439         * java/beans/beancontext/BeanContextChildSupport.java:
2440         Reindented.
2441         * java/beans/beancontext/BeanContextEvent.java:
2442         Reindented.
2443
2444 2003-03-17  Michael Koch  <konqueror@gmx.de>
2445
2446         * java/awt/Dialog.java
2447         (Dialog): New constructor, changed implementations, added
2448         documentation.
2449         * java/awt/ScrollPaneAdjustable.java
2450         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2451         Serializable.
2452         (serialVersionUID): New member variable.
2453         (sp): New member variable.
2454         (orientation): New member variable.
2455         (value): New member variable.
2456         (minimum): New member variable.
2457         (maximum): New member variable.
2458         (visibleAmount): New member variable.
2459         (unitIncrement): New member variable.
2460         (blockIncrement): New member variable.
2461         (AdjustmentListener): New member variable.
2462         (ScrollPaneAdjustable): New implementation.
2463         (addAdjustmentListener): New method.
2464         (removeAdjustmentListener): New method.
2465         (getAdjustmentListeners): New method.
2466         (getBlockIncrement): New method.
2467         (getMaximum): New method.
2468         (getMinimum): New method.
2469         (getOrientation): New method.
2470         (getUnitIncrement): New method.
2471         (getValue): New method.
2472         (getVisibleAmount): New method.
2473         (setBlockIncrement): New method.
2474         (setMaximum): Implemented.
2475         (setMinimum): Implemented.
2476         (setUnitIncrement): New method.
2477         (setValue): New method.
2478         (setVisibleAmount): Implemented. 
2479         (paramString): New stubbed method.
2480         * java/awt/Window.java
2481         (show): Call setVisible().
2482         (hide): Call setVisible().
2483         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2484         and WINDOW_STATE_CHANGED.
2485         (processWindowFocusEvent): New method.
2486         (processWindowStateEvent): New method.
2487         (postEvent): Deprecated.
2488         (applyResourceBundle): Deprecated.
2489         * java/awt/datatransfer/DataFlavor.java
2490         (DataFlavor): Doesn't thow ClassNotFoundException.
2491
2492 2003-03-17  Michael Koch
2493
2494         * javax/print/attribute/Attribute.java,
2495         javax/print/attribute/AttributeSet.java,
2496         javax/print/attribute/PrintRequestAttributeSet.java:
2497         New files.
2498         * Makefile.am
2499         (javax_source_files): Added new files:
2500         javax/print/attribute/Attribute.java
2501         javax/print/attribute/AttributeSet.java
2502         javax/print/attribute/PrintRequestAttributeSet.java
2503         * Makefile.in: Regenerated.
2504
2505 2003-03-17  Michael Koch
2506
2507         * javax/print/attribute/Attribute.java,
2508         javax/print/attribute/AttributeSet.java,
2509         javax/print/attribute/PrintRequestAttributeSet.java:
2510         New files.
2511         * Makefile.am
2512         (awt_java_source_files): Added new files:
2513         javax/print/attribute/Attribute.java
2514         javax/print/attribute/AttributeSet.java
2515         javax/print/attribute/PrintRequestAttributeSet.java
2516         * Makefile.in: Regenerated.
2517
2518 2003-03-16  Tom Tromey  <tromey@redhat.com>
2519
2520         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2521         Include platform.h.
2522         * java/lang/natRuntime.cc (insertSystemProperties): Use
2523         _Jv_platform_path_separator.
2524         (nativeGetLibname): Use _Jv_platform_file_separator.
2525         (_load): Use _Jv_platform_onload_names.
2526         (onload_names): New global.
2527         * include/win32.h (_Jv_platform_file_separator): New define.
2528         (_Jv_platform_path_separator): Likewise.
2529         (_Jv_platform_onload_names): Likewise.
2530         (_Jv_platform_ffi_abi): Likewise.
2531         * include/posix.h (_Jv_platform_file_separator): New define.
2532         (_Jv_platform_path_separator): Likewise.
2533         (_Jv_platform_onload_names): Likewise.
2534         (_Jv_platform_ffi_abi): Likewise.
2535
2536 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2537
2538         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2539
2540 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2541
2542         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2543         hierarchy loop.
2544         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2545         list to Object,ObjectStreamClass, moved callReadMethod code up into
2546         readObject and added Class argument to all setXxxField calls.
2547         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2548         consistent with ObjectOutputStream and to facilitate caching the
2549         Method in the future.
2550         (setBooleanField): Added Class argument.
2551         (setByteField): Likewise.
2552         (setCharField): Likewise.
2553         (setDoubleField): Likewise.
2554         (setFloatField): Likewise.
2555         (setIntField): Likewise.
2556         (setLongField): Likewise.
2557         (setShortField): Likewise.
2558         (setObjectField): Likewise.
2559         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2560         class hierarchy loop.
2561         (defaultWriteObject): Call writeFields with new argument list.
2562         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2563         list to Object,ObjectStreamClass, moved callWriteMethod up into
2564         writeObject and added Class argument to all getXxxField calls.
2565         (callWriteMethod): Added ObjectStreamClass argument to be able to
2566         get the proper class to call getMethod on (each class can have (or
2567         not have) its own writeObject method).
2568         (getBooleanField): Added Class argument.
2569         (getByteField): Likewise.
2570         (getCharField): Likewise.
2571         (getDoubleField): Likewise.
2572         (getFloatField): Likewise.
2573         (getIntField): Likewise.
2574         (getLongField): Likewise.
2575         (getShortField): Likewise.
2576         (getObjectField): Likewise.
2577         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2578         facilitate caching the Method object in the future.
2579
2580 2003-03-12  Andreas Schwab  <schwab@suse.de>
2581
2582         * configure.in: Avoid trailing /. in toolexeclibdir.
2583         * configure: Rebuilt.
2584
2585 2003-03-11  Michael Koch  <konqueror@gmx.de>
2586
2587         * gnu/java/nio/ByteBufferImpl.java
2588         (putInt): Use limit() instead of limit.
2589         * gnu/java/nio/CharBufferImpl.java
2590         (slice): Fixed implementation.
2591         (subSequence): Better bounds checking.
2592         * gnu/java/nio/MappedByteFileBuffer.java:
2593         Import all needed classes directly.
2594         * java/nio/ByteBuffer.java
2595         (hashCode): New dummy method.
2596         * java/nio/CharBuffer.java
2597         (array_offset): New member variable.
2598         (hasArray): Fixed documentation.
2599         (arrayOffset): Return array_offset.
2600
2601 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2602
2603         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2604         setter; made return value of getter const char* instead of char*
2605         * prims.cc: removed all references to _Jv_ThisExecutable().
2606         These are in the platform-specific sections now.
2607         * posix.cc: define platform-specific _Jv_ThisExecutable().
2608         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2609         * win32.cc: define platform-specific _Jv_ThisExecutable()
2610         using GetModuleFilename()
2611         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2612         to argv[0] instead of _Jv_ThisExecutable()
2613
2614 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2615
2616         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2617         that is set if we are using addr2name.awk instead of addr2line.
2618         (NameFinder): Set usingAddr2name if using addr2name.awk.
2619         (getExternalLabel): New native method to convert a method 
2620         name to an external label.
2621         (lookup): Convert name given by addr2line to an external label
2622         before demangling.
2623
2624         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2625         constant representing the prefix attached to method names to
2626         convert them to an external label.
2627         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2628         using LABEL_PREFIX.
2629
2630 2003-03-10  Tom Tromey  <tromey@redhat.com>
2631
2632         * Makefile.in: Rebuilt.
2633         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2634         (JC1FLAGS): Removed -Wno-deprecated.
2635
2636 2003-03-10  Michael Koch  <konqueror@gmx.de>
2637
2638         * java/nio/ByteOrder.java
2639         (nativeOrder): Working implementation, added documentation.
2640         (toString): Added documentation.
2641
2642 2003-03-10  Michael Koch  <konqueror@gmx.de>
2643
2644         * java/net/DatagramSocket.java,
2645         java/net/MulticastSocket.java,
2646         java/net/Socket.java,
2647         java/net/URL.java,
2648         java/net/URLConnection.java:
2649         Fixed some documentation tags to make javadoc and friends happy.
2650
2651 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2652
2653         * java/beans/beancontext/BeanContextServicesSupport.java,
2654         java/beans/beancontext/BeanContextSupport.java: New files.
2655         * Makefile.am
2656         (awt_source_files): Added new files.
2657         * Makefile.in: Regenerated.
2658
2659 2003-03-10  Michael Koch  <konqueror@gmx.de>
2660
2661         * java/awt/FocusTraversalPolicy.java
2662         (FocusTraversalPolicy): Documentation added.
2663         (getComponentAfter): Documentation added.
2664         (getComponentBefore): Documentation added.
2665         (getFirstComponent): Documentation added.
2666         (getLastComponent): Documentation added.
2667         (getDefaultComponent): Documentation added.
2668         (getInitialComponent): Documentation added.
2669         * java/awt/ScrollPaneAdjustable.java
2670         (sp): New member variable.
2671         (orientation): New member variable.
2672         (value): New member variable.
2673         (minimum): New member variable.
2674         (maximum): New member variable.
2675         (visibleAmount): New member variable.
2676         (unitIncrement): New member variable.
2677         (blockIncrement): New member variable.
2678         (adjustmentListener): New member variable.
2679         (ScrollPaneAdjustable): Rewrote.
2680         (addAdjustmentListener): New method.
2681         (removeAdjustmentListener): New method.
2682         (getAdjustmentListeners): New method.
2683         (getBlockIncrement): New method.
2684         (getMaximum): New method.
2685         (getMinimum): New method.
2686         (getOrientation): New method.
2687         (getUnitIncrement): New method.
2688         (getValue): New method.
2689         (getVisibleAmount): New method.
2690         (setBlockIncrement): New method.
2691         (setUnitIncrement): New method.
2692         (setMaximum): Implemented.
2693         (setMinimum): Implemented.
2694         (setValue): New method.
2695         (setVisibleAmount): Implemented.
2696         (paramString): New method.
2697         * java/awt/Window.java
2698         (show): Use setVisible(true) instead of super.show().
2699         (hide): Use sevVisible(false) instead of super.hide().
2700         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2701         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2702         (postEvent): Deprecated.
2703         (applyResourceBundle): Deprecated.
2704         (processWindowFocusEvent): New method.
2705         (processWindowStateEvent): New method.
2706         * java/awt/datatransfer/DataFlavor.java: Reindented.
2707         * java/awt/font/TextHitInfo.java
2708         (charIndex): New member variable.
2709         (leadingEdge): New member variable.
2710         (TextHitInfo): New constructor.
2711         (getCharIndex): Implemented.
2712         (isLeadingEdge): Implemented.
2713         (getInsertionIndex): Implemented.
2714         (hashCode): Access charIndex directly.
2715         (equals): Reformated.
2716         (leading): Implemented.
2717         (trailing): Implemented.
2718         (beforeOffset): Implemented.
2719         (afterOffset): Implemented.
2720         (getOtherHit): Implemented.
2721         (getOffsetHit): Implemented.
2722         (toString): Implemented.
2723         * java/awt/image/BufferedImage.java
2724         (BufferedImage): Implements WritableRenderedImage.
2725         (observers): New member variable.
2726         (addTileObserver): New method.
2727         (removeTileObserver): New method.
2728
2729 2003-03-09  Tom Tromey  <tromey@redhat.com>
2730
2731         PR libgcj/9934:
2732         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2733         to lseek.  Return 0 if we can't compute the value.
2734
2735 2003-03-03  Michael Koch  <konqueror@gmx.de>
2736
2737         * java/net/NetworkInterface.java: Merged with classpath.
2738
2739 2003-03-03  Tom Tromey  <tromey@redhat.com>
2740
2741         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2742         of bytecode.
2743         (handle_ret_insn): Fail if returning to jsr that appears at end of
2744         bytecode.
2745
2746 2003-03-03  Michael Koch  <konqueror@gmx.de>
2747
2748         * Makefile.am
2749         (ordinary_java_source_files):
2750         Added gnu/java/nio/MappedByteFileBuffer.java.
2751         (nat_source_files):
2752         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2753         * Makefile.in: Regenerated.
2754
2755 2003-03-03  Michael Koch  <konqueror@gmx.de>
2756
2757         * java/net/DatagramSocket.java
2758         (connect): Merged comment from classpath.
2759         (receive): Merged documentation from classpath.
2760         * java/net/Socket.java
2761         (setSoTimeout): Clarified documentation.
2762         * java/net/URL.java
2763         (getPath): Merged from classpath.
2764         (getUserInfo): Merged from classpath.
2765         (getQuery): Merged from classpath.
2766         * java/net/URLStreamHandler.java
2767         (toExternalForm): Merged from classpath.
2768
2769 2003-03-02  Mark Wielaard  <mark@klomp.org>
2770
2771         * java/util/Properties.java (load): Only skip line if the first
2772         character is a comment, whitespaces don't count.
2773
2774 2003-03-02  Michael Koch  <konqueror@gmx.de>
2775
2776         * java/net/NetPermission.java:
2777         Merged copyright with classpath.
2778
2779 2003-03-02  Michael Koch  <konqueror@gmx.de>
2780
2781         * java/lang/Package.java:
2782         Remerged from classpath.
2783
2784 2003-03-02  Michael Koch  <konqueror@gmx.de>
2785
2786         * java/net/HttpURLConnection.java
2787         (HTTP_SERVER_ERROR): Deprecated.
2788         * java/net/MulticastSocket.java
2789         (send): Replaced checkMulticast with appropriate checkPermission call,
2790         deprecated.
2791         * java/net/URLDecoder.java
2792         (decode): Deprecated.
2793         * java/net/URLEncoder.java
2794         (encode): Deprecated.
2795
2796 2003-03-02  Michael Koch  <konqueror@gmx.de>
2797
2798         * javax/swing/text/Caret.java
2799         (getMagicCaretPosition): Fixed typo in method name.
2800         * javax/swing/text/DefaultCaret.java
2801         (getMagicCaretPosition): Fixed typo in method name.
2802
2803 2003-03-02  Michael Koch  <konqueror@gmx.de>
2804
2805         * java/awt/List.java
2806         (setMultipleSelections): Deprecated.
2807         (delItem): Deprecated.
2808         * java/awt/MenuComponent.java
2809         (getPeer): Deprecated.
2810         * java/awt/ScrollPane.java
2811         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2812         * java/awt/dnd/MouseDragGestureRecognizer.java
2813         (mouseClicked): Added comment.
2814         (mousePressed): Added comment.
2815         (mouseReleased): Added comment.
2816         (mouseEntered): Added comment.
2817         (mouseExited): Added comment.
2818         (mouseDragged): Added comment.
2819         (mouseMoved): Added comment.
2820         * java/awt/event/KeyEvent.java
2821         (KeyEvent): Deprecated.
2822         (setModifiers): Deprecated.
2823         
2824 2003-03-02  Michael Koch  <konqueror@gmx.de>
2825
2826         * gnu/java/nio/FileChannelImpl.java
2827         (fd): Type FileDescriptor instead of int.
2828         (lengthInternal): Removed.
2829         (FileChannelImpl): Fixed arguments, check type of file object.
2830         (size): Made it native.
2831         (implPosition): New native method.
2832         (implTruncate): New native method.
2833         (position): Implemented.
2834         (truncate): Implemented.
2835         (nio_mmap_file): Changed arguments.
2836         (nio_munmap_file): Changed arguments.
2837         (nio_msync): Changed arguments.
2838         * gnu/java/nio/natFileChannelImpl.cc
2839         (lengthInternal): Removed.
2840         (size): New method.
2841         (implPosition): New method.
2842         (implTruncate): New method.
2843         (nio_mmap_file): Changed arguments.
2844         (nio_munmap_file): Changed arguments.
2845         (nio_msync): Changed arguments.
2846
2847 2003-03-02  Michael Koch  <konqueror@gmx.de>
2848
2849         * java/awt/dnd/DropTargetContext.java:
2850         Compile fix: Forgot to commit import.
2851         
2852 2003-03-02  Michael Koch  <konqueror@gmx.de>
2853
2854         * java/awt/Component.java,
2855         java/awt/ScrollPane.java:
2856         Fixed typos.
2857
2858 2003-03-02  Michael Koch  <konqueror@gmx.de>
2859
2860         * java/awt/dnd/DnDEventMulticaster.java: New file.
2861         * java/awt/dnd/DragSource.java
2862         (flavorMap): New member variable.
2863         (dragSourceListener): New member variable.
2864         (dragSourceMotionListener): New member variable.
2865         (getFlavorMap): Implemented.
2866         (createDragGestureRecognizer): Implemented.
2867         (addDragSourceListener): Implemented.
2868         (removeDragSourceListener): Implemented.
2869         (getDragSourceListeners): Implemented.
2870         (addDragSourceMotionListener): Implemented.
2871         (removeDragSourceMotionListener): Implemented.
2872         (getDragSourceMotionListeners): Implemented.
2873         (getListeners): Implemented.
2874         * java/awt/dnd/DragSourceContext.java
2875         (peer): New member variable.
2876         (cursor): New member variable.
2877         (transferable): New member variable.
2878         (trigger): New member variable.
2879         (dragSourceListener): New member variable.
2880         (image): New member variable.
2881         (offset): New member variable.
2882         (DragSourceContext): Implemented.
2883         (getDragSource): Implemented.
2884         (getComponent): Implemented.
2885         (getTrigger): Implemented.
2886         (getSourceActions): Implemented.
2887         (setCursor): Implemented.
2888         (getCursor): Implemented.
2889         (addDragSourceListener): Implemented.
2890         (removeDragSourceListener): Implemented.
2891         (getTransferable): Implemented.
2892         * java/awt/dnd/DropTarget.java
2893         (DropTargetAutoScroller.component): New member variable.
2894         (DropTargetAutoScroller.point): New member variable.
2895         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
2896         (DropTargetAutoScroller.updateLocation): Implemented.
2897         (active): Renamed from isActive, defaults to true now.
2898         (component): New member variable.
2899         (flavorMap): New member variable.
2900         (actions): New member variable.
2901         (dropTargetContext): New member variable.
2902         (dropTargetListener): New member variable.
2903         (DropTarget): Implemented.
2904         (getComponent): Implemented.
2905         (setComponent): Implemented.
2906         (setDefaultActions): Implemented.
2907         (getDefaultActions): Implemented.
2908         (setActive): Use active instead of isActive.
2909         (isActive): Use active instead of isActive.
2910         (addDropTargetListener): Implemented.
2911         (removeDropTargetListener): Implemented.
2912         (getFlavorMap): Implemented.
2913         (setFlavorMap): Implemented.
2914         (getDropTargetContext): Implemented.
2915         (createDropTargetContext): Implemented.
2916         (createDropTargetAutoScroller): Implemented.
2917         * java/awt/dnd/DropTargetContext.java
2918         (TransferableProxy.getTransferDataFlavors): Implemented.
2919         (TransferableProxy.isDataFlavorSupported): Implemented.
2920         (TransferableProxy.getTransferData): Implemented.
2921         (dropTarget):  New member variable.
2922         (dtcp): New member variable.
2923         (DropTargetContext): New package private constructor.
2924         (getDropTarget): Implemented.
2925         (getComponent): Implemented.
2926         (addNotify): Implemented.
2927         (removeNotify): Implemented.
2928         (getCurrentDataFlavorsAsList): Implemented.
2929         (isDataFlavorSupported): Implemented.
2930         * java/awt/dnd/MouseDragGestureRecognizer.java
2931         (registerListeners): Implemented.
2932         (unregisterListeners): Implemented.
2933         * Makefile.am
2934         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
2935         * Makefile.in: Regenerated.
2936
2937 2003-03-02  Michael Koch  <konqueror@gmx.de>
2938
2939         * java/awt/Component.java
2940         (eventTypeEnabled): New method.
2941         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
2942         * java/awt/Container.java
2943         (changeSupport): New member variable.
2944         (addPropertyChangeListener): New methods.
2945         * java/awt/ContainerOrderFocusTraversalPolicy.java
2946         (ContainerOrderFocusTraversalPolicy): Added comment.
2947         (getComponentAfter): Throw exception, documentation added.
2948         (getComponentBefore): Throw exception, documentation added.
2949         (getFirstComponent): Throw exception, documentation added.
2950         (getLastComponent): Throw exception, documentation added.
2951         (getDefaultComponent): Throw exception, documentation added.
2952         * java/awt/EventQueue.java: Reindented.
2953         * java/awt/FocusTraversalPolicy.java:
2954         (FocusTraversalPolicy): Added comment.
2955         (getComponentAfter): Documentation added.
2956         (getComponentBefore): Documentation added.
2957         (getFirstComponent): Documentation added.
2958         (getLastComponent): Documentation added.
2959         (getDefaultComponent): Documentation added.
2960         (getInitialComponent): Documentation added.
2961         * java/awt/ScrollPane.java
2962         (wheelScrollingEnabled): New member variable.
2963         (ScrollPane): Initialize wheelScollingEnabled.
2964         (eventTypeEnabled): New method.
2965         (isWheelScrollingEnabled): New method.
2966         (setWheelScrollingEnabled): New method.
2967
2968 2003-03-02  Michael Koch  <konqueror@gmx.de>
2969
2970         * java/net/DatagramSocket.java
2971         (closed): New member variable.
2972         (close): Use closed variable.
2973         (getInetAddress): No need to call isConnected().
2974         (getPort): No need to call isConnected().
2975         (disconnect): Reset remoteAddress and remotePort, fixed typo.
2976         (isClosed): Reimplemented.
2977         
2978 2003-03-02  Michael Koch  <konqueror@gmx.de>
2979
2980         * configure.in: Added check for memory mapping of files.
2981         * configure: Regenerated.
2982         * config.h.in: Regenerated.
2983
2984 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
2985
2986         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
2987         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
2988
2989 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
2990
2991         * java/io/File.java (normalizePath): Remove trailing separator
2992         on Windows only if path is not of the form "x:\".
2993
2994         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
2995         (java::io::File::attr): Change formatting a bit and use
2996         WIN32_EPOCH_MILLIS instead of magic numbers.
2997         (java::io::File::isAbsolute): Path must have at least 3 
2998         characters for a UNC network path.
2999         (java::io::File::init_native): Define.
3000         (java::io::File::performCreate): Likewise.
3001         (java::io::File::performSetReadOnly): Likewise.
3002         (java::io::File::performSetLastModified): Likewise.
3003         (java::io::File::performListRoots): Likewise.
3004
3005 2003-03-01  Tom Tromey  <tromey@redhat.com>
3006
3007         * java/lang/natObject.cc: Don't include assert.h.
3008         (heavy_lock_obj_finalization_proc): Use JvAssert.
3009         (remove_all_heavy): Likewise.
3010         (_Jv_MonitorEnter): Likewise.
3011         (_Jv_MonitorExit): Likewise.
3012         (wait): Likewise.
3013
3014 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3015
3016         * java/io/File (getAbsolutePath): Prefix drive specifier on
3017         Windows for paths starting with a '\'.
3018         (toURL): Make URL more consistent with what Sun's JDK returns.
3019
3020         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3021         true only if the path is a UNC network path or it starts with a
3022         drive specifier.
3023
3024         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3025         Be prepared to handle either '/' or '\\' in the file path for
3026         Windows if using the "file" protocol.
3027         Canonicalise the file path if using a relative path in the given
3028         context and the "file" protocol.
3029
3030 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3031
3032         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3033         program array element passed to CreateProcess.
3034
3035 2003-03-01  Tom Tromey  <tromey@redhat.com>
3036
3037         * java/rmi/registry/RegistryHandler.java: Deprecate.
3038
3039 2003-03-01  Tom Tromey  <tromey@redhat.com>
3040
3041         * javax/accessibility/AccessibleEditableText.java,
3042         javax/accessibility/AccessibleHyperlink.java: New versions from
3043         Classpath.
3044
3045         * gnu/java/locale/LocaleInformation_af_ZA.java,
3046         gnu/java/locale/LocaleInformation_ar_AE.java,
3047         gnu/java/locale/LocaleInformation_ar_BH.java,
3048         gnu/java/locale/LocaleInformation_ar_DZ.java,
3049         gnu/java/locale/LocaleInformation_ar_EG.java,
3050         gnu/java/locale/LocaleInformation_ar_IN.java,
3051         gnu/java/locale/LocaleInformation_ar_IQ.java,
3052         gnu/java/locale/LocaleInformation_ar_JO.java,
3053         gnu/java/locale/LocaleInformation_ar_KW.java,
3054         gnu/java/locale/LocaleInformation_ar_LB.java,
3055         gnu/java/locale/LocaleInformation_ar_LY.java,
3056         gnu/java/locale/LocaleInformation_ar_MA.java,
3057         gnu/java/locale/LocaleInformation_ar_OM.java,
3058         gnu/java/locale/LocaleInformation_ar_QA.java,
3059         gnu/java/locale/LocaleInformation_ar_SD.java,
3060         gnu/java/locale/LocaleInformation_ar_SY.java,
3061         gnu/java/locale/LocaleInformation_ar_TN.java,
3062         gnu/java/locale/LocaleInformation_ar_YE.java,
3063         gnu/java/locale/LocaleInformation_be_BY.java,
3064         gnu/java/locale/LocaleInformation_bn_IN.java,
3065         gnu/java/locale/LocaleInformation_br_FR.java,
3066         gnu/java/locale/LocaleInformation_bs_BA.java,
3067         gnu/java/locale/LocaleInformation_ca_ES.java,
3068         gnu/java/locale/LocaleInformation_cs_CZ.java,
3069         gnu/java/locale/LocaleInformation_cy_GB.java,
3070         gnu/java/locale/LocaleInformation_da_DK.java,
3071         gnu/java/locale/LocaleInformation_de_AT.java,
3072         gnu/java/locale/LocaleInformation_de_BE.java,
3073         gnu/java/locale/LocaleInformation_de_CH.java,
3074         gnu/java/locale/LocaleInformation_de_DE.java,
3075         gnu/java/locale/LocaleInformation_de_LU.java,
3076         gnu/java/locale/LocaleInformation_el_GR.java,
3077         gnu/java/locale/LocaleInformation_en_AU.java,
3078         gnu/java/locale/LocaleInformation_en_BW.java,
3079         gnu/java/locale/LocaleInformation_en_CA.java,
3080         gnu/java/locale/LocaleInformation_en_DK.java,
3081         gnu/java/locale/LocaleInformation_en_GB.java,
3082         gnu/java/locale/LocaleInformation_en_HK.java,
3083         gnu/java/locale/LocaleInformation_en_IE.java,
3084         gnu/java/locale/LocaleInformation_en_IN.java,
3085         gnu/java/locale/LocaleInformation_en_NZ.java,
3086         gnu/java/locale/LocaleInformation_en_PH.java,
3087         gnu/java/locale/LocaleInformation_en_SG.java,
3088         gnu/java/locale/LocaleInformation_en_US.java,
3089         gnu/java/locale/LocaleInformation_en_ZA.java,
3090         gnu/java/locale/LocaleInformation_en_ZW.java,
3091         gnu/java/locale/LocaleInformation_es_AR.java,
3092         gnu/java/locale/LocaleInformation_es_BO.java,
3093         gnu/java/locale/LocaleInformation_es_CL.java,
3094         gnu/java/locale/LocaleInformation_es_CO.java,
3095         gnu/java/locale/LocaleInformation_es_CR.java,
3096         gnu/java/locale/LocaleInformation_es_DO.java,
3097         gnu/java/locale/LocaleInformation_es_EC.java,
3098         gnu/java/locale/LocaleInformation_es_ES.java,
3099         gnu/java/locale/LocaleInformation_es_GT.java,
3100         gnu/java/locale/LocaleInformation_es_HN.java,
3101         gnu/java/locale/LocaleInformation_es_MX.java,
3102         gnu/java/locale/LocaleInformation_es_NI.java,
3103         gnu/java/locale/LocaleInformation_es_PA.java,
3104         gnu/java/locale/LocaleInformation_es_PE.java,
3105         gnu/java/locale/LocaleInformation_es_PR.java,
3106         gnu/java/locale/LocaleInformation_es_PY.java,
3107         gnu/java/locale/LocaleInformation_es_SV.java,
3108         gnu/java/locale/LocaleInformation_es_US.java,
3109         gnu/java/locale/LocaleInformation_es_UY.java,
3110         gnu/java/locale/LocaleInformation_es_VE.java,
3111         gnu/java/locale/LocaleInformation_et_EE.java,
3112         gnu/java/locale/LocaleInformation_eu_ES.java,
3113         gnu/java/locale/LocaleInformation_fa_IR.java,
3114         gnu/java/locale/LocaleInformation_fi_FI.java,
3115         gnu/java/locale/LocaleInformation_fo_FO.java,
3116         gnu/java/locale/LocaleInformation_fr_BE.java,
3117         gnu/java/locale/LocaleInformation_fr_CA.java,
3118         gnu/java/locale/LocaleInformation_fr_CH.java,
3119         gnu/java/locale/LocaleInformation_fr_FR.java,
3120         gnu/java/locale/LocaleInformation_fr_LU.java,
3121         gnu/java/locale/LocaleInformation_ga_IE.java,
3122         gnu/java/locale/LocaleInformation_gd_GB.java,
3123         gnu/java/locale/LocaleInformation_gl_ES.java,
3124         gnu/java/locale/LocaleInformation_gv_GB.java,
3125         gnu/java/locale/LocaleInformation_he_IL.java,
3126         gnu/java/locale/LocaleInformation_hi_IN.java,
3127         gnu/java/locale/LocaleInformation_hr_HR.java,
3128         gnu/java/locale/LocaleInformation_hu_HU.java,
3129         gnu/java/locale/LocaleInformation_id_ID.java,
3130         gnu/java/locale/LocaleInformation_it_CH.java,
3131         gnu/java/locale/LocaleInformation_it_IT.java,
3132         gnu/java/locale/LocaleInformation_iw_IL.java,
3133         gnu/java/locale/LocaleInformation_ja_JP.java,
3134         gnu/java/locale/LocaleInformation_ka_GE.java,
3135         gnu/java/locale/LocaleInformation_kl_GL.java,
3136         gnu/java/locale/LocaleInformation_ko_KR.java,
3137         gnu/java/locale/LocaleInformation_kw_GB.java,
3138         gnu/java/locale/LocaleInformation_lt_LT.java,
3139         gnu/java/locale/LocaleInformation_lv_LV.java,
3140         gnu/java/locale/LocaleInformation_mi_NZ.java,
3141         gnu/java/locale/LocaleInformation_mk_MK.java,
3142         gnu/java/locale/LocaleInformation_mr_IN.java,
3143         gnu/java/locale/LocaleInformation_mt_MT.java,
3144         gnu/java/locale/LocaleInformation_nl_BE.java,
3145         gnu/java/locale/LocaleInformation_nl_NL.java,
3146         gnu/java/locale/LocaleInformation_nn_NO.java,
3147         gnu/java/locale/LocaleInformation_no_NO.java,
3148         gnu/java/locale/LocaleInformation_oc_FR.java,
3149         gnu/java/locale/LocaleInformation_pl_PL.java,
3150         gnu/java/locale/LocaleInformation_pt_BR.java,
3151         gnu/java/locale/LocaleInformation_pt_PT.java,
3152         gnu/java/locale/LocaleInformation_ro_RO.java,
3153         gnu/java/locale/LocaleInformation_ru_RU.java,
3154         gnu/java/locale/LocaleInformation_ru_UA.java,
3155         gnu/java/locale/LocaleInformation_se_NO.java,
3156         gnu/java/locale/LocaleInformation_sk_SK.java,
3157         gnu/java/locale/LocaleInformation_sl_SI.java,
3158         gnu/java/locale/LocaleInformation_sq_AL.java,
3159         gnu/java/locale/LocaleInformation_sr_YU.java,
3160         gnu/java/locale/LocaleInformation_sv_FI.java,
3161         gnu/java/locale/LocaleInformation_sv_SE.java,
3162         gnu/java/locale/LocaleInformation_ta_IN.java,
3163         gnu/java/locale/LocaleInformation_te_IN.java,
3164         gnu/java/locale/LocaleInformation_tg_TJ.java,
3165         gnu/java/locale/LocaleInformation_tl_PH.java,
3166         gnu/java/locale/LocaleInformation_tr_TR.java,
3167         gnu/java/locale/LocaleInformation_uk_UA.java,
3168         gnu/java/locale/LocaleInformation_ur_PK.java,
3169         gnu/java/locale/LocaleInformation_uz_UZ.java,
3170         gnu/java/locale/LocaleInformation_vi_VN.java,
3171         gnu/java/locale/LocaleInformation_yi_US.java,
3172         gnu/java/locale/LocaleInformation_zh_CN.java,
3173         gnu/java/locale/LocaleInformation_zh_HK.java,
3174         gnu/java/locale/LocaleInformation_zh_SG.java,
3175         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3176         info; from Classpath.
3177
3178         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3179         isPaintPending): New methods.
3180         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3181         setMaximizedBounds): New methods.
3182         (beginLayout, endLayout, isPaintPending): Likewise.
3183         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3184         (requestFocus): Likewise.
3185         (isObscured): Likewise.
3186         (canDetermineObscurity): Likewise.
3187         (coalescePaintEvent): Likewise.
3188         (updateCursorImmediately): Likewise.
3189         (createVolatileImage): Likewise.
3190         (handlesWheelScrolling): Likewise.
3191         (createBuffers): Likewise.
3192         (getBackBuffer): Likewise.
3193         (flip): Likewise.
3194         (destroyBuffers): Likewise.
3195
3196         * Makefile.in: Rebuilt.
3197         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3198         RobotPeer.java.
3199         * gnu/java/awt/GLightweightPeer.java,
3200         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3201         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3202         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3203         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3204         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3205         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3206         java/awt/dnd/peer/DragSourceContextPeer.java,
3207         java/awt/dnd/peer/DropTargetContextPeer.java,
3208         java/awt/peer/ButtonPeer.java,
3209         java/awt/peer/CheckboxMenuItemPeer.java,
3210         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3211         java/awt/peer/ComponentPeer.java,
3212         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3213         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3214         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3215         java/awt/peer/MenuBarPeer.java,
3216         java/awt/peer/MenuComponentPeer.java,
3217         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3218         java/awt/peer/PopupMenuPeer.java,
3219         java/awt/peer/ScrollPanePeer.java,
3220         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3221         java/awt/peer/TextComponentPeer.java,
3222         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3223         New versions from Classpath.
3224         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3225         * java/awt/peer/RobotPeer.java: Likewise.
3226
3227 2003-03-01  Mark Wielaard  <mark@klomp.org>
3228
3229         * java/io/ObjectInputStream.java: Reindent.
3230         * java/io/ObjectOutputStream.java: Likewise.
3231
3232 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3233
3234         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3235         jvalue for each argument. Simplify.
3236         * testsuite/libjava.jni/calls.c (docall),
3237         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3238         misalignment.
3239
3240 2003-02-28  Mark Wielaard  <mark@klomp.org>
3241
3242         * Makefile.am (nat_source_files): Remove
3243         java/io/natObjectOutputStream.cc.
3244         * Makefile.in: Regenerated.
3245         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3246         * java/io/ObjectStreamField.java (typename): New field.
3247         (ObjectStreamField(String, Class)): Initialize new field.
3248         (ObjectStreamField(String, String)): New Constructor.
3249         (getTypeCode): Use new field.
3250         (getTypeString): Use new field.
3251         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3252         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3253         Handle reading of Proxy classes. Never drain(), just write
3254         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3255         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3256         (flush): Call flush(), not just drain().
3257         (writeBoolean): Always use blockDataOutput.
3258         (writeByte): Likewise.
3259         (writeShort): Likewise.
3260         (writeChar): Likewise.
3261         (writeInt): Likewise.
3262         (writeLong): Likewise.
3263         (writeFloat): Likewise.
3264         (writeDouble): Likewise.
3265         (writeBytes): Likewise.
3266         (putfield (put(String,Object))): Throw IllegalArgumentException if
3267         field cannot be found.
3268         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3269         (writeArraySizeAndElements): Write byte[] in one go.
3270         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3271         set BlockDataMode to false.
3272         (annotateProxyClass): New method.
3273         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3274         (getField): No longer native.
3275         (getMethod): Likewise.
3276         (setBlockDataMode): Always drain() on switch, return old mode.
3277         (static): New static code block.
3278         * java/io/natObjectOutputStream.cc: Removed.
3279         * java/io/ObjectInputStream.java (getField): No longer native.
3280         (getMethod): Likewise.
3281         (readObject): Remember and reset old BlockDataMode. Track whether
3282         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3283         TC_LONGSTRING.
3284         (defaultReadObject): Set BlockDataMode to false during readFields.
3285         (resolveClass): Create new SecurityManager if necessary.
3286         Use Class.forName() if null ClassLoader found.
3287         (read(byte[],int,int): Copy remaining bytes to data before calling
3288         readNextBlock().
3289         (readFields): Set and reset BlockDataMode on call_read_method.
3290         Catch NoSuchFieldErrors.
3291         (setBlockDataMode): Return old mode.
3292         (static): New static code block.
3293         * java/io/natObjectInputStream.cc (getField): Removed.
3294         (getMethod): Likewise.
3295
3296 2003-02-27  Michael Koch  <konqueror@gmx.de>
3297
3298         * java/beans/Beans.java,
3299         java/beans/FeatureDescriptor.java
3300         java/beans/PropertyEditorManager.java:
3301         Reformated to GNU style.
3302
3303 2003-02-25  Michael Koch  <konqueror@gmx.de>
3304
3305         * gnu/java/nio/MappedByteFileBuffer.java,
3306         gnu/java/nio/natMappedByteFileBuffer.cc:
3307         New files, both are not compiled yet to get not noncompiling CVS.
3308
3309 2003-02-24  Tom Tromey  <tromey@redhat.com>
3310
3311         * java/util/prefs/AbstractPreferences.java (isUserNode):
3312         Implemented.
3313
3314 2003-02-24  Tom Tromey  <tromey@redhat.com>
3315
3316         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3317         Deprecate.
3318         * java/lang/Thread.java (resume): Deprecate.
3319         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3320         in @deprecated.
3321
3322 2003-02-23  Tom Tromey  <tromey@redhat.com>
3323
3324         * Makefile.in: Rebuilt.
3325         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3326
3327 2003-02-23  Tom Tromey  <tromey@redhat.com>
3328
3329         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3330         libraries): Removed.
3331         (add_library): Removed.
3332         (_load): Don't call add_library.
3333         (loadLibraryInternal): Likewise.
3334         (init): Likewise.
3335         (lookup_data): New struct.
3336         (find_symbol): New function.
3337         (_Jv_FindSymbolInExecutable): Use it.
3338
3339 2002-02-21  Anthony Green  <green@redhat.com>
3340
3341         * java/lang/Thread.java (Thread): New constructor taking stack
3342         size parameter (ignored for now).
3343         * Many methods: Merged GNU Classpath documentation.
3344
3345         * java/lang/Class.java (finalize): throws a Throwable.
3346
3347 2003-02-21  Mark Wielaard  <mark@klomp.org>
3348
3349         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3350         argument is null.
3351
3352 2003-02-21  Mark Wielaard  <mark@klomp.org>
3353
3354         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3355         then 65535 chars throw IllegalArgumentException.
3356
3357 2003-02-21  Mark Wielaard  <mark@klomp.org>
3358
3359         * java/util/zip/ZipFile.java (finalize): New method.
3360
3361 2003-02-21  Michael Koch  <konqueror@gmx.de>
3362
3363         * gnu/java/nio/natSocketChannelImpl.cc:
3364         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3365         <cato@df.lth.se> for pointing to it.
3366
3367 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3368
3369         * java/math/BigInteger.java (euclidInv): Take result array as an
3370         argument.  Updated all callers.
3371         (modInverse): Removed unused variables.
3372
3373 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3374
3375         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3376         config.status.
3377         * configure: Rebuilt.
3378
3379 2003-02-19  Michael Koch  <konqueror@gmx.de>
3380
3381         * gnu/java/nio/natSocketChannelImpl.cc:
3382         Added support for platforms without network support.
3383
3384 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3385
3386         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3387         after config.h.  Use <> for consistency.
3388         * java/lang/natObject.cc: Likewise.
3389         * java/lang/natRuntime.cc: Likewise.
3390         * java/lang/natSystem.cc: Likewise.
3391         * java/util/natTimeZone.cc: Likewise.
3392         * win32.cc: Likewise.
3393         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3394         listen, write, read): Undef to avoid interference from OS macros.
3395
3396 2003-02-19  Michael Koch  <konqueror@gmx.de>
3397
3398         * gnu/java/nio/ByteBufferImpl.java
3399         (ByteBufferImpl): Renamed two variables.
3400         * gnu/java/nio/CharBufferImpl.java
3401         (CharBufferImpl): Renamed two variables.
3402         * gnu/java/nio/DoubleBufferImpl.java
3403         (DoubleBufferImpl): Renamed two variables.
3404         * gnu/java/nio/FloatBufferImpl.java
3405         (FloatBufferImpl): Renamed two variables.
3406         * gnu/java/nio/IntBufferImpl.java
3407         (IntBufferImpl): Renamed two variables.
3408         * gnu/java/nio/LongBufferImpl.java
3409         (LongBufferImpl): Renamed two variables.
3410         * gnu/java/nio/ShortBufferImpl.java
3411         (ShortBufferImpl): Renamed two variables.
3412         * java/nio/CharBuffer.java
3413         (wrap): Fixed arguments to CharBufferImpl constructor.
3414         (hasArray): Only not read-only buffers have backing arrays.
3415         (length): Documentation added.
3416         (subSequence): Documentation added.
3417         * java/nio/DoubleBuffer.java
3418         (hasArray): Only not read-only buffers have backing arrays.
3419         * java/nio/FloatBuffer.java
3420         (hasArray): Only not read-only buffers have backing arrays.
3421         * java/nio/IntBuffer.java
3422         (hasArray): Only not read-only buffers have backing arrays.
3423         * java/nio/LongBuffer.java
3424         (hasArray): Only not read-only buffers have backing arrays.
3425         * java/nio/ShortBuffer.java
3426         (hasArray): Only not read-only buffers have backing arrays.
3427         
3428 2003-02-19  Michael Koch  <konqueror@gmx.de>
3429
3430         * javax/accessibility/AccessibleContext.java
3431         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3432
3433 2003-02-19  Michael Koch  <konqueror@gmx.de>
3434
3435         * java/awt/ScrollPaneAdjustable.java: Reformated.
3436
3437 2003-02-19  Michael Koch <konqueror@gmx.de>
3438
3439         * gnu/awt/j2d/Graphics2DImpl.java
3440         (getFontRenderContext): New method.
3441         (drawGlyphVector): New method.
3442         * java/awt/Graphics2D.java
3443         (getFontRenderContext): New abstract method.
3444         (drawGlyphVector): New abstract method.
3445         
3446 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3447
3448         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3449         if necessary.
3450         
3451         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3452         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3453         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3454         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3455         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3456         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3457         (setFont, gtkSetFont): add.
3458         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3459         Propagate font to peer.  (setFont): add FIXME comment.
3460
3461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3462         (gtkTextGetSize): fix height, width computation.
3463
3464         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3465         Make X font name a bit less bogus.
3466
3467         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3468         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3469
3470         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3471         (processAdjustmentEvent): Adjust value.
3472
3473         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3474         logic errors.
3475
3476         * java/awt/Component.java (setVisible, show, hide): Call show and
3477         hide methods in subclasses.
3478         (getPreferredSize): don't set prefSize before we have peer.
3479
3480         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3481         Guess (0,0) if we don't have peer.
3482
3483
3484 2003-02-18  Michael Koch  <konqueror@gmx.de>
3485
3486         * java/nio/channels/FileChannel.java
3487         (toString): New implementation, added documentation.
3488         (map): Added exception documentation.
3489         (size): Added exception documentation.
3490         (write): New methods, documentation work.
3491         (read): New methods, documentation work.
3492         (implCloseChannel): Rewrote exception documentation.
3493         (force): Throws IOException, added documentation.
3494         (lock): New methods.
3495         (tryLock): New methods.
3496         (position): New methods.
3497         (transferTo): New method.
3498         (transferFrom): New method.
3499         (truncate): New method.
3500         * java/nio/channels/spi/SelectorProvider.java
3501         (provider): Implemented.
3502         * Makefile.am
3503         (ordinary_java_source_files): Added the following files:
3504         gnu/java/nio/DatagramChannelImpl.java
3505         gnu/java/nio/FileChannelImpl.java
3506         gnu/java/nio/PipeImpl.java
3507         gnu/java/nio/SelectionKeyImpl.java
3508         gnu/java/nio/SelectorImpl.java
3509         gnu/java/nio/SelectorProviderImpl.java
3510         gnu/java/nio/ServerSocketChannelImpl.java
3511         gnu/java/nio/SocketChannelImpl.java
3512         java/nio/channels/FileLock.java
3513         (nat_java_source_files): Added the following files:
3514         gnu/java/nio/natFileChannelImpl.cc
3515         gnu/java/nio/natSelectorImpl.cc
3516         gnu/java/nio/natSocketChannelImpl.cc
3517         * Makefile.in: Regenerated.
3518
3519 2003-02-17  Tom Tromey  <tromey@redhat.com>
3520
3521         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3522         * java/awt/image/ImageFilter.java: Likewise.
3523
3524 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3525
3526         * java/math/BigInteger.java (euclidInv): Return array of
3527         `BigInteger's.  Changed all callers.
3528
3529 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3530
3531         * java/util/Properties.java (store): Move the code formerly in
3532         list(), into this method.
3533         (list (PrintStream)): Just call list (PrintWriter) with a 
3534         PrintWriter object constructed from the given PrintStream object.
3535         (list (PrintWriter)): Emulate the output of Properties.list()
3536         as found in JDK 1.3/1.4.
3537
3538 2003-02-17  Michael Koch  <konqueror@gmx.de>
3539
3540         * java/net/DatagramSocket.java
3541         (connect): Merged with classpath.
3542         (disconnect): Merged documentation with classpath.
3543         (receice): Merged documentation with classpath.
3544         (send): Merged documentation with classpath.
3545         
3546 2003-02-17  Michael Koch  <konqueror@gmx.de>
3547
3548         * java/awt/dnd/DragSourceContext.java
3549         (addDragSourceListener): Added documentation.
3550         * java/awt/dnd/DragSourceDragEvent.java
3551         (serialVersionUID): New member variable.
3552         (getDropAction): Reformated.
3553         * java/awt/dnd/DragSourceDropEvent.java
3554         (serialVersionUID): New member variable.
3555         (dropSuccess): Renamed from success for serialization issues.
3556         * java/awt/dnd/DragSourceEvent.java
3557         (serialVersionUID): New member variable.
3558         * java/awt/dnd/DropTarget.java
3559         (serialVersionUID): New member variable.
3560         (DropTarget): Implemented, documentation reworked.
3561         (setComponent): Documentation added.
3562         (getComponent): Documentation added.
3563         (setDefaultActions): Documentation added.
3564         (getDefaultActions): Documentation added.
3565         (addDropTargetListener): Documentation added.
3566         * java/awt/dnd/DropTargetContext.java
3567         (DropTargetContext): Documentation added.
3568         (TransferableProxy.TransferableProxy): New method.
3569         (dropComplete): Fixed documentation.
3570         (getTransferable): Fixed documentation.
3571         (createTransferableProxy): Implemented.
3572         * java/awt/dnd/DropTargetDragEvent.java
3573         (DropTargetDragEvent): Documentation added.
3574         (serialVersionUID): New member variable.
3575         (DropTargetDragEvent): Throw exceptions, documentation added.
3576         (acceptDrag): Implemented.
3577         (getCurrentDataFlavors): Implemented.3yy
3578         (getCurrentDataFlavorsAsList): Implemented.
3579         (isDataFlavorSupported): Implemented.
3580         (rejectDrag): Implemented.
3581         * java/awt/dnd/DropTargetDropEvent.java
3582         (DropTargetDropEvent): Documentation added.
3583         (serialVersionUID): New member variable.
3584         (actions): Renamed from srcActions for serialization issues.
3585         (isLocalTx): Renamed from isLocalTx for serialization issues.
3586         (DropTargetDropEvent): New implementation, throw exceptions,
3587         documentation added.
3588         (getCurrentDataFlavors): Implemented.
3589         (getCurrentDataFlavorsAsList): Implemented.
3590         (isDataFlavorSupported): Implemented.
3591         (getSourceActions): Implemented.
3592         (getDropAction): Implemented.
3593         (getTransferable): Implemented.
3594         (acceptDrop): Implemented.
3595         (rejectDrop): Implemented.
3596         * java/awt/dnd/DropTargetListener.java
3597         (drop): Fixed documentation.
3598         * java/awt/dnd/MouseDragGestureRecognizer.java
3599         (MouseDragGestureRecognizer): Documentation added.
3600
3601 2003-02-17  Michael Koch  <konqueror@gmx.de>
3602
3603         * java/awt/font/FontRenderContext.java,
3604         java/awt/font/ShapeGraphicAttribute.java,
3605         java/awt/font/MultipleMaster.java,
3606         java/awt/font/TransformAttribute.java,
3607         java/awt/font/GlyphJustificationInfo.java,
3608         java/awt/font/LineBreakMeasurer.java,
3609         java/awt/font/TextMeasurer.java,
3610         java/awt/font/TextLayout.java,
3611         java/awt/font/LineMetrics.java,
3612         java/awt/font/TextAttribute.java,
3613         java/awt/font/GlyphMetrics.java,
3614         java/awt/font/OpenType.java,
3615         java/awt/font/GlyphVector.java,
3616         java/awt/font/GraphicAttribute.java,
3617         java/awt/font/ImageGraphicAttribute.java,
3618         java/awt/font/NumericShaper.java: New files.
3619         * Makefile.am
3620         (awt_java_source_files): Added the following files:
3621         java/awt/font/FontRenderContext.java
3622         java/awt/font/ShapeGraphicAttribute.java
3623         java/awt/font/MultipleMaster.java
3624         java/awt/font/TransformAttribute.java
3625         java/awt/font/GlyphJustificationInfo.java
3626         java/awt/font/LineBreakMeasurer.java
3627         java/awt/font/TextMeasurer.java
3628         java/awt/font/TextLayout.java
3629         java/awt/font/LineMetrics.java
3630         java/awt/font/TextAttribute.java
3631         java/awt/font/GlyphMetrics.java
3632         java/awt/font/OpenType.java
3633         java/awt/font/GlyphVector.java
3634         java/awt/font/GraphicAttribute.java
3635         java/awt/font/ImageGraphicAttribute.java
3636         java/awt/font/NumericShaper.java
3637         * Makefile.in: Regenerated.
3638
3639 2003-02-17  Michael Koch  <konqueror@gmx.de>
3640
3641         * java/awt/print/Paper.java
3642         (Paper): Implements Cloneable.
3643         * java/awt/print/PrinterJob.java
3644         (setJobName): Return value must be void.
3645         (print): Throws PrinterException.
3646         
3647 2003-02-16  Tom Tromey  <tromey@redhat.com>
3648
3649         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3650         variable.
3651
3652 2003-02-15  Michael Koch  <konqueror@gmx.de>
3653
3654         * java/awt/datatransfer/DataFlavor.java
3655         (isRepresentationClassByteBuffer): Removed try-catch block.
3656         (isRepresentationClassCharBuffer): Removed try-catch block.
3657         (isRepresentationClassReader): Removed try-catch block.
3658
3659 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3660
3661         * java/nio/charset/Charset.java
3662         (isRegistered): Fixed method args and implementation.
3663         * java/nio/charset/CharsetEncoder.java
3664         (unmappableCharacterAction): New method.
3665
3666 2003-02-15  Michael Koch  <konqueror@gmx.de>
3667
3668         * java/awt/CheckboxMenuItem.java
3669         (CheckBoxMenuItem): Dont implement Serializable.
3670         (getListeners): New method,
3671         (getItemListeners): New method.
3672         * java/awt/Choice.java
3673         (getListeners): New method,
3674         (getItemListeners): New method.
3675         * java/awt/Container.java
3676         (getListeners): Added exception documentation.
3677         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3678         (getFocusTraversalKeys): Added documentation.
3679         (areFocusTraversalKeysSet): Added documentation.
3680         (applyComponentOrientation): Added documentation.
3681         * java/awt/ContainerOrderFocusTraversalPolicy.java
3682         (implicitDownCycleTraversal): Renamed from downCycle for
3683         serialization.
3684         (ContainerOrderFocusTraversalPolicy): Added documentation.
3685         (accept): Reformated.
3686         * java/awt/Dialog.java
3687         (Dialog): Dont implement Serializable.
3688         (Dialog): Added documentation.
3689         * java/awt/Font.java
3690         (Font): Dont use absolute class name.
3691         * java/awt/Frame.java
3692         (Frame): Font implement Serializable.
3693         * java/awt/List.java
3694         (getListeners): New method,
3695         (getActionListeners): New method.       
3696         (getItemListeners): New method.
3697         * java/awt/Menu.java
3698         (countItems): New deprecated method.
3699         * java/awt/Scrollbar.java
3700         (getListeners): New method,
3701         (getAdjustmentListeners): New method,
3702         * java/awt/TextComponent.java
3703         (getListeners): New method,
3704         (getTextListeners): New method,
3705         * java/awt/TextField.java
3706         (getListeners): New method,
3707         (getActionListeners): New method.       
3708         * java/awt/Window.java
3709         (windowFocusListener): New member variable.
3710         (windowStateListener): New member variable.
3711         (getWindowFocusListeners): New method.
3712         (getWindowStateListeners): New method.
3713         (addWindowFocusListener): New method.
3714         (addWindowStateListener): New method.
3715         (removeWindowFocusListener): New method.
3716         (removeWindowStateListener): New method.
3717         * java/awt/datatransfer/DataFlavor.java
3718         (isRepresentationClassByteBuffer): New method.
3719         (isRepresentationClassCharBuffer): New method.
3720         (isRepresentationClassReader): New method.
3721
3722 2003-02-14  Mark Wielaard  <mark@klomp.org>
3723
3724         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3725         zero when there is an exponent and the significant is zero.
3726         (divide): Always set scale to newScale even in special ZERO case.
3727
3728 2003-02-14  Tom Tromey  <tromey@redhat.com>
3729
3730         * java/lang/System.java (properties): Use Properties.clone.
3731         (setProperties): Likewise.
3732
3733 2003-02-14  Michael Koch  <konqueror@gmx.de>
3734
3735         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3736         * gnu/java/nio/ServerSocketChannelImpl.java
3737         (SocketAccept): Removed.
3738         (accept): Commented out use of SocketAccept.
3739
3740 2003-02-13  Tom Tromey  <tromey@redhat.com>
3741
3742         * verify.cc (state::seen_subrs): New field.
3743         (state::state): Initialize it.
3744         (state::clean_subrs): New method.
3745         (state::~state): Call it.
3746         (state::copy): Copy subroutine list.
3747         (state::add_subr): New method.
3748         (state::merge): Only register a change if the current subroutine
3749         hasn't yet been noted.
3750
3751 2003-02-13  Mark Wielaard  <mark@klomp.org>
3752
3753         * java/io/InputStreamReader.java (getEncoding): Return null when
3754         closed.
3755         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3756
3757 2003-02-13  Mark Wielaard  <mark@klomp.org>
3758  
3759         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3760         is zero.
3761
3762 2003-02-13  Mark Wielaard  <mark@klomp.org>
3763
3764         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3765         next byte cannot be buffered.
3766
3767 2003-02-13  Michael Koch  <konqueror@gmx.de>
3768  
3769         * java/awt/Label.java
3770         (Label): Don't implement Serializable directly.
3771         (addNotify): Fixed typo in documentation.
3772         * java/awt/List.java
3773         (List): Don't implement Serializable directly.
3774         * java/awt/PopupMenu.java
3775         (PopupMenu): Don't implement Serializable directly.
3776         * java/awt/ScrollPane.java
3777         (ScrollPane): Don't implement Serializable directly.
3778         * java/awt/Scrollbar.java
3779         (Scrollbar): Don't implement Serializable directly.
3780         * java/awt/TextArea.java
3781         (preferredSize): Fixed method arguments.
3782         * java/awt/TextField.java
3783         (TextField): Don't implement Serializable directly.
3784         * java/awt/color/ICC_ColorSpace.java
3785         (fromCIOXYZ): Documentation added.
3786         (getMinValue): Documentation added.
3787         (getMaxValue): Documentation added.
3788         * java/awt/datatransfer/DataFlavor.java
3789         (isMimeTypeEqual): May not be final.
3790         (clone): Throws CloneNotSupportedException.
3791         (getReaderForText): Don't throws UnsupportedEncodingException.
3792
3793 2003-02-13  Michael Koch  <konqueror@gmx.de>
3794  
3795         * gnu/java/awt/peer/gtk/GdkGraphics.java
3796         (drawString): New stubbed method.
3797         * java/awt/Graphics.java
3798         (drawString): New method.
3799
3800 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3801
3802         PR libgcj/9271:
3803         * java/security/SecureRandom.java (next): Avoid bias in results.
3804
3805 2003-02-13  Michael  <konqueror@gmx.de>
3806
3807         * gnu/java/nio/FileChannelImpl.java
3808         (lengthInternal): Must be native.
3809         (size): Check if channel is already closed.
3810         (implCloseChannel): Reformated.
3811         (read): w was unused, removed it.
3812         (read): Removed.
3813         (read): New method.
3814         (write): New method.
3815         (map): Check arguments.
3816         (force): Throws IOException, check if channel is closed.
3817         (transferTo): New method.
3818         (transferFrom): New method.
3819         (lock): New method.
3820         (tryLock): New method.
3821         (position): New method.
3822         (truncate): New method.
3823         (nio_mmap_file): Uncommented.
3824         (nio_munmap_file): Uncommented.
3825         (nio_msync): Uncommented.
3826         * gnu/java/nio/natFileChannelImpl.cc: New file.
3827         
3828 2003-02-13  Michael Koch  <konqueror@gmx.de>
3829
3830         * java/nio/ByteBuffer.java
3831         (endian): New member variable.
3832         (get): New methods.
3833         (equals): New method.
3834         (compareTo): New method.
3835         (order): New methods.
3836         (compact): New method.
3837         (isDirect): New method.
3838         (slice): New method.
3839         (duplicate): New method.
3840         (asReadOnlyBuffer): New method.
3841         (asCharBuffer): New method.
3842         (asDoubleBuffer): New method.
3843         (asFloatBuffer): New method.
3844         (asIntBuffer): New method.
3845         (asLongBuffer): New method.
3846         (asShortBuffer): New method.
3847         (get*): New methods.
3848         (put*): New methods.
3849         (toString): New method.
3850         * java/nio/CharBuffer.java
3851         (CharBuffer): Implement Comparable instead of Cloneable.
3852         (get): May not be final.
3853         (put): May not be final.
3854         
3855 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
3856
3857         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
3858         lastIndexOf( ) instead of indexOf( ) to find the colon before
3859         the line number, because Win32 file names might contain a 
3860         drive letter and a colon at the start of an absolute path.
3861
3862 2003-02-13  Michael Koch  <konqueror@gmx.de>
3863
3864         * gnu/java/nio/natSocketChannelImpl.cc
3865         (SocketConnect): This is not implemented yet.
3866         (SocketBind): This is not implemented yet.
3867
3868 2003-02-13  Michael Koch  <konqueror@gmx.de>
3869
3870         * gnu/java/nio/natByteBufferImpl.cc,
3871         gnu/java/nio/natCharBufferImpl.cc,
3872         gnu/java/nio/natDoubleBufferImpl.cc,
3873         gnu/java/nio/natFloatBufferImpl.cc,
3874         gnu/java/nio/natIntBufferImpl.cc,
3875         gnu/java/nio/natLongBufferImpl.cc,
3876         gnu/java/nio/natShortBufferImpl.cc:
3877         Added copyright and license.
3878         * java/nio/DoubleBuffer.java,
3879         java/nio/FloatBuffer.java,
3880         java/nio/IntBuffer.java,
3881         java/nio/LongBuffer.java,
3882         java/nio/ShortBuffer.java
3883         (array): Throw exceptions.
3884         (arrayOffset): Throw exceptions.
3885
3886 2003-02-13  Michael Koch  <konqueror@gmx.de>
3887  
3888         * gnu/java/util/prefs/FileBasedFactory.java,
3889         gnu/java/util/prefs/MemmoryBasedFactory.java,
3890         gnu/java/util/prefs/MemoryBasedPreferences.java,
3891         gnu/java/util/prefs/NodeReader.java,
3892         gnu/java/util/prefs/NodeWriter.java,
3893         java/util/prefs/AbstractPreferences.java,
3894         java/util/prefs/BackingStoreException.java,
3895         java/util/prefs/InvalidPreferencesFormatException.java,
3896         java/util/prefs/NodeChangeEvent.java,
3897         java/util/prefs/NodeChangeListener.java,
3898         java/util/prefs/PreferenceChangeEvent.java,
3899         java/util/prefs/PreferenceChangeListener.java,
3900         java/util/prefs/Preferences.java,
3901         java/util/prefs/PreferencesFactory.java:
3902         New files, all merged from classpath.
3903         * Makefile.am
3904         (ordinary_java_source_files): Added the following files:
3905         gnu/java/util/prefs/FileBasedFactory.java,
3906         gnu/java/util/prefs/MemmoryBasedFactory.java,
3907         gnu/java/util/prefs/MemoryBasedPreferences.java,
3908         gnu/java/util/prefs/NodeReader.java,
3909         gnu/java/util/prefs/NodeWriter.java,
3910         (core_java_source_files): Added the following files:
3911         java/util/prefs/AbstractPreferences.java,
3912         java/util/prefs/BackingStoreException.java,
3913         java/util/prefs/InvalidPreferencesFormatException.java,
3914         java/util/prefs/NodeChangeEvent.java,
3915         java/util/prefs/NodeChangeListener.java,
3916         java/util/prefs/PreferenceChangeEvent.java,
3917         java/util/prefs/PreferenceChangeListener.java,
3918         java/util/prefs/Preferences.java,
3919         java/util/prefs/PreferencesFactory.java
3920         * Makefile.in: Regenerated.
3921  
3922 2003-02-13  Michael Koch  <konqueror@gmx.de>
3923
3924         * java/net/NetPermission.java
3925         (NetPermission): Make doucmentation match the method declaration.
3926         * java/net/NetworkInterface.java
3927         (equals): Reformated for GNU coding style.
3928         * java/net/ServerSocket.java: Merged with classpath.
3929         * java/net/Socket.java: Partly merged with classpath (Added some @since).
3930         * java/net/SocketImpl.java
3931         (localPort): Merged with classpath (initialize with -1).
3932         * java/net/SocketPermission.java: Merged with classpath (reindented).
3933         * java/net/URLDecoder.java: Merged with classpath (reindented).
3934
3935 2003-02-13  Michael Koch  <konqueror@gmx.de>
3936
3937         * java/awt/GridBagConstraints.java
3938         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
3939         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
3940         * java/awt/KeyboardFocusManager.java
3941         (setGlobalCurrentFocusCycleRoot): Must be public.
3942         * java/awt/MenuComponent.java
3943         (MenuComponent): Must be public.
3944         * java/awt/Toolkit.java:
3945         Added some empty lines to make documentation more readable.
3946         (getFontPeer): Added @deprecated.
3947         (getColorModel): Added exception documentation.
3948         (getProperty): Fixed documentation.
3949  
3950 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
3951
3952         * configure.host (alpha*-*): Default to -mieee.
3953         * configure.in (IEEESPEC): New.
3954         * libgcj.spec.in (jc1): Add IEEESPEC.
3955         * configure: Rebuild.
3956
3957 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
3958
3959         * include/win32.h: Include ws2tcpip.h instead of
3960         winsock.h to obtain definition of the socklen_t type.
3961         Remove IP_TOS definition - not needed with ws2tcpip.h
3962         (_Jv_connect): Correct slight formatting error.
3963
3964 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
3965
3966         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
3967         size of the arguments for a JNI function. For Win32,
3968         modify to search for all forms of possible exported
3969         names of an stdcall JNI function.
3970         (_Jv_JNIMethod::call): Modify to calculate the size
3971         of the arguments passed to a JNI function and pass
3972         it to _Jv_LookupJNIMethod.
3973
3974 2003-02-12  Michael Koch  <konqueror@gmx.de>
3975
3976         * java/nio/channels/Channels.java: New file.
3977         * Makefile.am
3978         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
3979         * Makefile.in: Regenerated.
3980
3981 2003-02-12  Michael Koch  <konqueror@gmx.de>
3982
3983         * java/nio/ByteBuffer.java
3984         (allocate): Implemented.
3985         (wrap): Implemented.
3986         * java/nio/CharBuffer.java:
3987         Some documentation added and reworked.
3988         (endian): Removed.
3989         (allocate): Implemented.
3990         (wrap): Implemented.
3991         (array): Throw exceptions.
3992         (arrayOffset): Throw exceptions.
3993         (toString): Implemented.
3994         (length): Implemented.
3995         (put): Implemented.
3996         (charAt): Implemented.
3997
3998 2003-02-11  John Leuner  <jewel@debian.org>
3999
4000         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4001         reads from end of file.
4002
4003 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4004
4005         * java/io/natFileDescriptorWin32.cc 
4006         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4007         returns with Win32 error code ERROR_BROKEN_PIPE.
4008
4009 2003-02-11  Michael Koch  <konqueror@gmx.de>
4010
4011         * Makefile.in
4012         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4013
4014 2003-02-11  Michael Koch  <konqueror@gmx.de>
4015
4016         * gnu/java/nio/ByteBufferImpl.java:
4017         Reformated and removed some code.
4018         (backing_buffer): Removed.      
4019         (array_offset): Removed.
4020         (ro): Renamed to readOnly.
4021         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4022         * gnu/java/nio/CharBufferImpl.java:
4023         Reformated and removed some code.
4024         (array_offset): Removed.
4025         (ro): Renamed to readOnly.
4026         (CharBufferImpl): Use parent constructor, initialize readOnly.
4027         (inc_pos): Removed.
4028         (order): New method.
4029         * gnu/java/nio/DoubleBufferImpl.java:
4030         Reformated and removed some code.
4031         (array_offset): Removed.
4032         (ro): Renamed to readOnly.
4033         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4034         (inc_pos): Removed.
4035         (order): New method.
4036         * gnu/java/nio/FloatBufferImpl.java:
4037         Reformated and removed some code.
4038         (array_offset): Removed.
4039         (ro): Renamed to readOnly.
4040         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4041         (inc_pos): Removed.
4042         (order): New method.
4043         * gnu/java/nio/IntBufferImpl.java:
4044         Reformated and removed some code.
4045         (array_offset): Removed.
4046         (ro): Renamed to readOnly.
4047         (IntBufferImpl): Use parent constructor, initialize readOnly.
4048         (inc_pos): Removed.
4049         (order): New method.
4050         * gnu/java/nio/LongBufferImpl.java:
4051         Reformated and removed some code.
4052         (array_offset): Removed.
4053         (ro): Renamed to readOnly.
4054         (LongBufferImpl): Use parent constructor, initialize readOnly.
4055         (inc_pos): Removed.
4056         (order): New method.
4057         * gnu/java/nio/ShortBufferImpl.java:
4058         Reformated and removed some code.
4059         (array_offset): Removed.
4060         (ro): Renamed to readOnly.
4061         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4062         (inc_pos): Removed.
4063         (order): New method.
4064         * Makefile.am
4065         (ordinary_java_source_files): Added the following files:
4066         gnu/java/nio/ByteBufferImpl.java
4067         gnu/java/nio/CharBufferImpl.java
4068         gnu/java/nio/DoubleBufferImpl.java
4069         gnu/java/nio/FloatBufferImpl.java
4070         gnu/java/nio/IntBufferImpl.java
4071         gnu/java/nio/LongBufferImpl.java
4072         gnu/java/nio/ShortBufferImpl.java
4073         java/nio/DoubleBuffer.java
4074         java/nio/FloatBuffer.java
4075         java/nio/IntBuffer.java
4076         java/nio/LongBuffer.java
4077         java/nio/ShortBuffer.java
4078         (nat_source_files): Added the following files:
4079         gnu/java/nio/natByteBufferImpl.cc
4080         gnu/java/nio/natCharBufferImpl.cc
4081         gnu/java/nio/natDoubleBufferImpl.cc
4082         gnu/java/nio/natFloatBufferImpl.cc
4083         gnu/java/nio/natIntBufferImpl.cc
4084         gnu/java/nio/natLongBufferImpl.cc
4085         gnu/java/nio/natShortBufferImpl.cc
4086         * Makefile.in: Regenerated.
4087
4088 2003-02-11  Michael Koch  <konqueror@gmx.de>
4089
4090         * gnu/java/nio/natCharBufferImpl.cc
4091         (nio_cast): Removed.
4092         (nio_put_*): Removed.
4093         (nio_get_*): Removed.
4094         * gnu/java/nio/natDoubleBufferImpl.cc
4095         (nio_cast): Removed.
4096         (nio_put_*): Removed.
4097         (nio_get_*): Removed.
4098         * gnu/java/nio/natFloatBufferImpl.cc
4099         (nio_cast): Removed.
4100         (nio_put_*): Removed.
4101         (nio_get_*): Removed.
4102         * gnu/java/nio/natIntBufferImpl.cc
4103         (nio_cast): Removed.
4104         (nio_put_*): Removed.
4105         (nio_get_*): Removed.
4106         * gnu/java/nio/natLongBufferImpl.cc
4107         (nio_cast): Removed.
4108         (nio_put_*): Removed.
4109         (nio_get_*): Removed.
4110         * gnu/java/nio/natShortBufferImpl.cc
4111         (nio_cast): Removed.
4112         (nio_put_*): Removed.
4113         (nio_get_*): Removed.
4114         * gnu/java/nio/SelectorProviderImpl.java
4115         (openDatagramChannel): Throws IOException.
4116         (openPipe): Throws IOException.
4117         (openSelector): Throws IOException.
4118         (openServerSocketChannel): Throws IOException.
4119         (openSocketChannel): Throws IOException.
4120         * gnu/java/nio/ServerSocketChannelImpl.java
4121         (ServerSocketChannelImpl): Throws IOException.
4122         (implCloseSelectableChannel): Throws IOException.
4123         (implConfigureBlocking): Throws IOException.
4124         * java/nio/ByteBuffer.java
4125         (readOnly): Removed.
4126         (hasArray): Use isReadOnly() instead of readOnly.
4127         (array): Use isReadOnly() instead of readOnly.
4128         (arrayOffset): Use isReadOnly() instead of readOnly.
4129         * java/nio/CharBuffer.java
4130         (CharBuffer): Implements Cloneable and CharSequence.
4131
4132 2003-02-11  Michael Koch  <konqueror@gmx.de>
4133
4134         * java/nio/DoubleBuffer.java
4135         (DoubleBuffer): Implements Comparable.
4136         (endian): Removed.
4137         (array_offset): New member variable.
4138         (DoubleBuffer): New constuctor.
4139         (get): May not be final.
4140         (put): May not be final.
4141         (arrayOffset): Implemented.
4142         (order): Made abstract.
4143         (order): Removed.
4144         (as*Buffer): Removed.
4145         (get*): Removed.
4146         (put*): Removed.
4147         * java/nio/FloatBuffer.java
4148         (FloatBuffer): Implements Comparable.
4149         (endian): Removed.
4150         (array_offset): New member variable.
4151         (FloatBuffer): New constuctor.
4152         (get): May not be final.
4153         (put): May not be final.
4154         (arrayOffset): Implemented.
4155         (order): Made abstract.
4156         (order): Removed.
4157         (as*Buffer): Removed.
4158         (get*): Removed.
4159         (put*): Removed.
4160         * java/nio/IntBuffer.java
4161         (IntBuffer): Implements Comparable.
4162         (endian): Removed.
4163         (array_offset): New member variable.
4164         (IntBuffer): New constuctor.
4165         (get): May not be final.
4166         (put): May not be final.
4167         (arrayOffset): Implemented.
4168         (order): Made abstract.
4169         (order): Removed.
4170         (as*Buffer): Removed.
4171         (get*): Removed.
4172         (put*): Removed.
4173         * java/nio/LongBuffer.java
4174         (LongBuffer): Implements Comparable.
4175         (endian): Removed.
4176         (array_offset): New member variable.
4177         (LongBuffer): New constuctor.
4178         (get): May not be final.
4179         (put): May not be final.
4180         (arrayOffset): Implemented.
4181         (order): Made abstract.
4182         (order): Removed.
4183         (as*Buffer): Removed.
4184         (get*): Removed.
4185         (put*): Removed.
4186         * java/nio/ShortBuffer.java
4187         (ShortBuffer): Implements Comparable.
4188         (endian): Removed.
4189         (array_offset): New member variable.
4190         (ShortBuffer): New constuctor.
4191         (get): May not be final.
4192         (put): May not be final.
4193         (arrayOffset): Implemented.
4194         (order): Made abstract.
4195         (order): Removed.
4196         (as*Buffer): Removed.
4197         (get*): Removed.
4198         (put*): Removed.
4199
4200 2003-02-11   Michael Koch  <konqueror@gmx.de>
4201
4202         * java/nio/channels/SelectionKey.java
4203         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4204         values.
4205
4206 2003-02-11  Michael Koch  <konqueror@gmx.de>
4207
4208         * java/nio/channels/DatagramChannel.java
4209         (write): Throws IOException.
4210         (connect): Throws IOException.
4211         (disconnect): Throws IOException.
4212         (read): Throws IOException.
4213         (receive): Throws IOException.
4214         (send): Throws IOException.
4215         * java/nio/channels/Pipe.java
4216         (open): Throws IOException.
4217         * java/nio/channels/SelectableChannel.java
4218         (configureBlocking): Throws IOException.
4219         * java/nio/channels/ServerSocketChannel.java
4220         (accept): Throws IOException.
4221         * java/nio/channels/SocketChannel.java
4222         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4223         GatheringByteChannel.
4224         (read): Throws IOException.
4225         (write): Throws IOException.
4226         (finishConnect): Throws IOException.
4227         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4228         (end): Throws AsynchronousCloseException.
4229         * java/nio/channels/spi/AbstractSelectableChannel.java
4230         (configureBlocking): Throws IOException.
4231         (implCloseChannel): Throws IOException.
4232         (implCloseSelectableChannel): Throws IOException.
4233         (implConfigureBlocking): Throws IOException.
4234         * java/nio/channels/spi/SelectorProvider.java
4235         (openDatagramChannel): Throws IOException.
4236         (openPipe): Throws IOException.
4237         (openSelector): Throws IOException.
4238         (openServerSocketChannel): Throws IOException.
4239         (openSocketChannel): Throws IOException.
4240
4241 2003-02-11  Michael Koch  <konqueror@gmx.de>
4242
4243         * gnu/java/nio/FileLockImpl.java,
4244         java/nio/channels/FileLock.java: New files.
4245
4246 2003-02-11  Michael Koch  <konqueror@gmx.de>
4247
4248         * java/nio/charset/IllegalCharsetNameException.java
4249         (serialVersionUID): New member variable.
4250         (charsetName): New member variable.
4251         (IllegalCharsetException): New implementation.
4252         (getCharsetName): New implementation.
4253         * java/nio/charset/UnsupportedCharsetException.java
4254         (serialVersionUID): New member variable.
4255         (charsetName): New member variable.
4256         (UnsupportedCharsetException): New implementation.
4257         (getCharsetName): New implementation.
4258
4259 2003-02-10  Tom Tromey  <tromey@redhat.com>
4260
4261         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4262         (ex): Renamed from sqlException.
4263
4264 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4265
4266         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4267         method used to ensure seeding has occurred and that a specific 
4268         seed can be set and used.
4269
4270 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4271
4272         * java/lang/Win32Process.java (destroy): Declare as native.
4273         (hasExited): New native method.
4274         (exitValue): Define.
4275         (getErrorStream): Likewise.
4276         (getInputStream): Likewise.
4277         (getOutputStream): Likewise.
4278         (waitFor): Declare as native.
4279         (startProcess): New native method.
4280         (cleanup): Likewise.
4281         (ConcreteProcess): Define.
4282         (outputStream, inputStream, errorStream): New members.
4283         (procHandle, exitCode): Likewise.
4284
4285         * java/lang/natWin32Process.cc
4286         (java::lang::ConcreteProcess::cleanup): Define.
4287         (java::lang::ConcreteProcess::destroy): Likewise.
4288         (java::lang::ConcreteProcess::hasExited): Likewise.
4289         (java::lang::ConcreteProcess::waitFor): Likewise.
4290         (new_string): Likewise.
4291         (java::lang::ConcreteProcess::startProcess): Likewise.
4292
4293 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4294
4295         * java/math/BigInteger.java:
4296         Updated notice to include years 2002 and 3.
4297         Added 2 private (int) arrays with values from the HAC (Handbook of
4298         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4299         and t[] that contains nbr. of tests --used in isProbablePrime().
4300
4301         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4302
4303         * java/math/BigInteger.java (make(int[],int), add(int,int),
4304         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4305         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4306         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4307         make(long).
4308
4309         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4310         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4311         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4312         BIs and returns void.
4313         (modInverse(BI)): Use new signatures of euclidInv().
4314
4315         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4316         static small primes instead of remainder().
4317         Use pre-computed max nbr of trials based on bitlength of BI to test.
4318         Use pre-computed small primes for the trial tests instead of random
4319         numbers.
4320
4321         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4322         not used.
4323
4324         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4325         invoacation of MPN.chars_per_word().  not used.
4326
4327         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4328         local var and used where needed.
4329
4330         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4331         Combined declaration with initialisation of locals.
4332         Removed unused var.
4333
4334         * java/math/BigInteger.java: Style changes
4335         (pow(int)): Removed 'else' keyword.
4336         (toString(int)): idem.
4337         (doubleValue()): idem.
4338         (bitLength()): idem.
4339         (equals(Object)): Use static methods name in same class w/o prepending
4340         class name.
4341         (doubleValue()): idem.
4342         (setNegative(BI)): idem.
4343         (negate()): idem.
4344         (and(BI,int)): idem.
4345         (and(BI)): idem.
4346         (gcd(BI)): idem.
4347         (byteArrayToIntArray()): Removed casting to (int). this is
4348         std. behaviour.
4349         (canonicalize()): idem.
4350         (alloc(int)): Always instantiate a new BI.
4351
4352 2003-02-10  Tom Tromey  <tromey@redhat.com>
4353
4354         * java/sql/Timestamp.java (compareTo(Object)): New method.
4355         (compareTo(Timestamp)): Likewise.
4356         (serialVersionUID): Updated.
4357
4358 2003-02-07  Mark Wielaard  <mark@klomp.org>
4359
4360         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4361         when verify is true.
4362         (JarFile(File, boolean)): Likewise.
4363         (manifestRead): Set manifestRead field correctly.
4364
4365 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4366
4367         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4368         tests; see patch #1016 on Savannah.
4369
4370 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4371
4372         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4373         (toString): do not return Strings starting with . and - erroneously.
4374         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4375         DiagBigDecimal.
4376
4377 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4378
4379         * java/beans/PropertyDescriptor.java
4380         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4381         methods.
4382         (PropertyDescriptor(String, Class, String, String)): Likewise.
4383         (PropertyDescriptor(String, Method, Method): Factor out getter and
4384         setter method sanity checks into new method.
4385         (findMethods): Don't do parameter sanity checking of get method here.
4386         (checkMethods): New method.
4387
4388 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4389
4390         * java/beans/PropertyDescriptor.java: Reformat.
4391
4392 2003-02-04  Tom Tromey  <tromey@redhat.com>
4393
4394         * java/io/PipedOutputStream.java (flush): Declare as throwing
4395         IOException.
4396         (close): Likewise.
4397         * java/io/PipedWriter.java (close): Declare as throwing
4398         IOException.
4399         * java/io/StringWriter.java (close): Declare as throwing
4400         IOException.
4401
4402 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4403
4404         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4405         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4406         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4407         "_JNI_OnLoad@8" (MSVC).
4408
4409 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4410
4411         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4412         convention on Win32 to invoke native JNI methods.
4413
4414 2003-02-03  Andrew Haley  <aph@redhat.com>
4415
4416         * configure.host (x86_64): Enable interpreter.
4417
4418 2003-02-03  Andrew Haley  <aph@redhat.com>
4419
4420         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4421         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4422         * configure.in (BACKTRACESPEC): New.
4423         * configure: Regenerate.
4424
4425 2003-02-02  Tom Tromey  <tromey@redhat.com>
4426
4427         * configure: Rebuilt.
4428         * configure.in (TOOLKIT) [xlib]: Set correctly.
4429
4430         * Makefile.in: Rebuilt.
4431         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4432         libstdc++.
4433
4434 2003-01-31  Mark WIelaard  <mark@klomp.org>
4435
4436         * Makefile.in: Rebuilt.
4437         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4438
4439 2003-01-31  Tom Tromey  <tromey@redhat.com>
4440
4441         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4442         cast to element type.
4443         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4444         (_Jv_JNI_GetObjectArrayElement): Likewise.
4445
4446         * Makefile.in: Rebuilt.
4447         * Makefile.am (cond_x_ltlibrary): Renamed library to
4448         lib-gnu-awt-xlib.la.
4449         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4450         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4451         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4452         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4453         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4454         (lib_gnu_awt_xlib_la_LINK): Likewise.
4455         (install-exec-hook): Removed.
4456         (lib-gnu-awt-xlib.la): Renamed.
4457
4458 2003-01-31  Tom Tromey  <tromey@redhat.com>
4459
4460         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4461         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4462         aclocal.m4 and lost in some merge.
4463
4464         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4465         Don't try to find graphics configuration.
4466         * java/awt/Toolkit.java (default_toolkit_name): Use new
4467         Configuration entry.
4468         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4469         New global.
4470         * configure: Rebuilt.
4471         * configure.in (TOOLKIT): New subst.
4472         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4473         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4474         directory.  Make output directories for .c files.
4475         * Makefile.in: Rebuilt.
4476         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4477         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4478         (all_java_source_files): Added new sources.
4479         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4480         (gtk_c_files): New macro.
4481         (gtk_c_source_files): New macro.
4482         (cond_gtk_ltlibrary): New macro.
4483         ($(gtk_c_files)): New target.
4484         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4485         (gtk_awt_peer_sources): New macro.
4486         (gtk_c_headers): New macro.
4487         ($(gtk_c_headers)): New target.
4488         (ACLOCAL_AMFLAGS): New macro.
4489         * gtk.m4, glib.m4, libart.m4: New files.
4490         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4491         gnu/java/awt/peer/gtk/GdkGraphics.java,
4492         gnu/java/awt/peer/gtk/GtkArg.java,
4493         gnu/java/awt/peer/gtk/GtkArgList.java,
4494         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4495         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4496         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4497         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4498         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4499         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4500         gnu/java/awt/peer/gtk/GtkClipboard.java,
4501         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4502         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4503         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4504         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4505         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4506         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4507         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4508         gnu/java/awt/peer/gtk/GtkImage.java,
4509         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4510         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4511         gnu/java/awt/peer/gtk/GtkListPeer.java,
4512         gnu/java/awt/peer/gtk/GtkMainThread.java,
4513         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4514         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4515         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4516         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4517         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4518         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4519         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4520         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4521         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4522         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4523         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4524         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4525         gnu/java/awt/peer/gtk/GtkToolkit.java,
4526         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4527         gnu/java/awt/peer/gtk/TestAWT.java,
4528         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4530         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4531         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4532         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4533         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4534         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4535         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4537         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4539         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4541         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4543         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4545         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4546         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4547         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4548         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4549         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4550         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4551         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4552         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4553         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4554         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4555         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4556         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4557         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4558         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4559         jni/classpath/native_state.c, jni/classpath/native_state.h,
4560         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4561
4562 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4563
4564         * java/util/Properties.java (load): Ignore backslash before EOF.
4565
4566 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4567
4568         * java/lang/natClass.cc (initializeClass): Check tables when
4569         (state == JV_STATE_IN_PROGRESS).
4570         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4571         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4572         interpreted classes.
4573         (linkClass0): Use _Jv_WaitForState.
4574
4575 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4576
4577         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4578         object when finished.
4579
4580 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4581
4582         * libjava/configure.host: Disable can_unwind_signal on darwin.
4583
4584 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4585
4586         Fixes PR java/9254:
4587         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4588         additionally containing id of the owner thread as well as
4589         the number of nested times the thread has acquired the mutex.
4590         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4591         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4592         (_Jv_MutexUnlock): Check if really the owner thread, reset
4593         owner thread id to 0 before leaving, if leaving for the last
4594         time.
4595         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4596         refcount.
4597         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4598         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4599         the passed mutex.
4600         Pass handle of the broadcast event, instead of a pointer to it
4601         in Win32 ResetEvent( ) call.
4602         Remove incorrect return values.
4603         (_Jv_CondDestroy): Close both event handles and delete
4604         critical section.
4605         (_Jv_CondNotify): Check if really the owner thread.
4606         (_Jv_CondNotifyAll): Check if really the owner thread.
4607         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4608         (really_start): Use SetEvent( ) to signal daemon_cond.
4609         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4610         WaitForSingleObject( ) instead to wait for daemon_cond to be
4611         signalled.
4612
4613 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4614
4615         * configure.in: Specifically define HAVE_BACKTRACE if building
4616         for MinGW.
4617         * include/win32.h: Remove HAVE_BACKTRACE definition.
4618         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4619         * configure: Rebuilt.
4620
4621 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4622
4623         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4624         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4625         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4626         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4627         * Makefile.in, configure: Rebuilt.
4628
4629 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4630
4631         Fixes PR java/9253:
4632         * java/io/natFileWin32.cc (performList): Append only "*.*"
4633         if the canonical file path already has a "\" at the end.
4634
4635 2003-01-24  Tom Tromey  <tromey@redhat.com>
4636
4637         * defineclass.cc (handleMethodsEnd): Precompute code for static
4638         method.
4639         (handleCodeAttribute): Likewise.
4640         * resolve.cc (ncode): Use run_class for unsynchronized static
4641         methods.
4642         * include/java-interp.h (class _Jv_InterpMethod): Declare
4643         run_class.
4644         * interpret.cc (run_synch_class): Initialize class.
4645         (run) [insn_invokestatic]: Don't initialize class.
4646         [insn_anewarray]: Likewise.
4647         [insn_multianewarray]: Likewise.
4648         (run_class): New function.
4649
4650 2003-01-24  Tom Tromey  <tromey@redhat.com>
4651
4652         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4653         comment.
4654
4655 2003-01-22  Andrew Haley  <aph@redhat.com>
4656
4657         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4658         * configure.host (CHECKREFSPEC): Define for x86_64.
4659
4660 2003-01-21  Tom Tromey  <tromey@redhat.com>
4661
4662         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4663         search at 2, not 3.
4664
4665 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4666
4667         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4668         looking at any characters.
4669         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4670         be used.
4671         (isAbsolute): Check path's length as well.
4672
4673 2003-01-17  Mark Wielaard  <mark@klomp.org>
4674
4675         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4676         (nat_source_files): Add natVMObjectStreamClass.cc.
4677         * Makefile.in: Regenerated.
4678         * gcj/javaprims.h (namespace java): Regenerated.
4679         * java/io/ObjectStreamClass.java (getClassUID): Call
4680         VMObjectStreamClass.hasClassInitializer().
4681         (hasClassInitializer): Removed.
4682         * java/io/VMObjectStreamClass.java: New class.
4683         * java/io/natVMObjectStreamClass.cc: New file.
4684         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4685
4686 2003-01-16  Mark Wielaard  <mark@klomp.org>
4687
4688         * java/net/SocketImpl.java (toString): Don't explicitly call
4689         toString() on possible null address.
4690
4691 2003-01-16  Michael Koch  <konqueror@gmx.de>
4692
4693         * java/net/MulticastSocket.java
4694         (setInterface): Reindented.
4695
4696 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4697
4698         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4699         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4700         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4701         translateY arguments.  Implement.
4702         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4703         down translation arguments.
4704         (drawPolyline, drawPolygon): Fix incorrect tests.
4705         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4706         translateX and translateY arguments.
4707
4708 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4709
4710         * Makefile.in: Rebuilt.
4711         * Makefile.am (xlib_includes): New macro.
4712         (INCLUDES): Use it.
4713
4714 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4715
4716         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4717         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4718         16-bit display mode.
4719
4720 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4721
4722         * java/awt/CardLayout.java (show): Rewrote.
4723         (gotoComponent): Removed `target' argument.  Simplified code.
4724         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4725         Changed all callers.
4726         (NONE): Removed.
4727         
4728 2003-01-14  Michael Koch  <konqueror@gmx.de>
4729
4730         * java/net/InetSocketAddress.java
4731         (serialVersionUID): New member variable.
4732         * java/net/NetPermission.java
4733         (NetPermission): Dont implement java.io.Serialization directly.
4734         * java/net/SocketAddress.java:
4735         (serialVersionUID): Documentation added.
4736         
4737 2003-01-14  Michael Koch  <konqueror@gmx.de>
4738
4739         * java/awt/Label.java
4740         (Label): Implements javax.accessibility.Accessible;
4741         * java/awt/List.java
4742         (List): Implements javax.accessibility.Accessible;
4743         * java/awt/ScrollPane.java
4744         (ScrollPane): Implements javax.accessibility.Accessible;
4745         * java/awt/Scrollbar.java
4746         (Scrollbar): Implements javax.accessibility.Accessible;
4747         * java/awt/TextComponent.java
4748         (setCaretPosition): Throw exception, documentation added.
4749         * java/awt/Toolkit.java:
4750         Added some newlines in method documentations.
4751         (createButton): Exception documentation added.
4752         (createTextField): Exception documentation added.
4753         (createLabel): Exception documentation added.
4754         (createList): Exception documentation added.
4755         (createCheckbox): Exception documentation added.
4756         (createScrollbar): Exception documentation added.
4757         (createScrollPane): Exception documentation added.
4758         (createTextArea): Exception documentation added.
4759         (createChoice): Exception documentation added.
4760         (createFrame): Exception documentation added.
4761         (createWindow): Exception documentation added.
4762         (createDialog): Exception documentation added.
4763         (createMenuBar): Exception documentation added.
4764         (createMenu): Exception documentation added.
4765         (createMenuItem): Exception documentation added.
4766         (createFileDialog): Exception documentation added.
4767         (createCheckboxMenuItem): Exception documentation added.
4768         (loadSystemColors): Exception documentation added.
4769         (setDynamicLayout): Exception documentation added.
4770         (isDynamicLayoutSet): Exception documentation added.
4771         (isDynamicLayoutActive): Exception documentation added.
4772         (getScreenSize): Exception documentation added.
4773         (getScreenResolution): Exception documentation added.
4774         (getScreenInsets): Exception documentation added.
4775         (getColorModel): Exception documentation added.
4776         (getSystemClipboard): Exception documentation added.
4777         (getSystemSelection): Exception documentation added.
4778         (getMenuShortcutKeyMask): Exception documentation added.
4779         (getSystemEventQueue): Exception documentation added.
4780         * java/awt/Window.java:
4781         Reindented some code.
4782         (Window): Centralized implementation, documentation added.
4783         (finalize): Documentation added.
4784         (hide): Fixed typo in comment.
4785         (getWindowListeners): Documentation added.
4786         * java/awt/color/ColorSpace.java
4787         (toRGB): Documentation added.
4788         * java/awt/color/ICC_ColorSpace.java
4789         (ICC_ColorSpace): Documentation added.
4790         (toRGB): Throw exception, documentation added.
4791         (fromRGB): Throw exception, documentation added.
4792         (toCIEXYZ): Documentation added.
4793         (fromCIEXYZ): Documentation added.
4794         (getMinValue): Documentation added.
4795         (getMaxValue): Documentation added.
4796         * java/awt/geom/Dimension2D.java
4797         (clone): Documentation added.
4798         * java/awt/geom/GeneralPath.java
4799         (clone): Documentation added.
4800         * java/awt/geom/Line2D.java
4801         (clone): Documentation added.
4802         * java/awt/geom/QuadCurve2D.java
4803         (clone): Documentation added.
4804         * java/awt/image/ColorModel.java
4805         (ColorModel): Throw exception, documentation added.
4806         * java/awt/image/ImageFilter.java
4807         (clone): Doesnt throw CloneNotSupportedException.
4808
4809 2003-01-14  Andrew Haley  <aph@redhat.com>
4810
4811         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4812         in a try block.
4813
4814 2003-01-10  Andrew Haley  <aph@redhat.com>
4815
4816         * include/dwarf2-signal.h: Remove x86_64.
4817         * configure.host (x86_64 DIVIDESPEC): Remove.
4818         * include/x86_64-signal.h: New file.
4819         * configure.in: Regenerate.
4820
4821 2003-01-10  Michael Koch  <konqueror@gmx.de>
4822
4823         * java/net/DatagramSocket.java
4824         (ch): Description added.
4825         (remotePort): Initialize with -1.
4826         (connect): Doesnt throws SocketException.
4827         * java/net/MulticastSocket.java
4828         (setInterface): Merge with Classpath.
4829         * java/net/ServerSocket.java
4830         (closed): New member variable.
4831         (bind): Check if socket is closed.
4832         (close): Close an associated channel too, set new value to closed.
4833         (isBound): Reindented.
4834         (isClosed): Implemented.
4835         * java/net/Socket.java
4836         (closed): New member variable.
4837         (bind): Check if socket is closed.
4838         (connect): Check if socket is closed.
4839         (close): Close an associated channel too, set new value to closed.
4840         (isClosed): Implemented.
4841
4842 2003-01-10  Michael Koch  <konqueror@gmx.de>
4843
4844         * java/awt/DisplayMode.java
4845         (equals): Fixed argument type and implementation.
4846
4847 2003-01-07  Tom Tromey  <tromey@redhat.com>
4848
4849         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
4850         JV_HASH_SYNCHRONIZATION.
4851         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
4852         JV_HASH_SYNCHRONIZATION.
4853
4854 2003-01-07  Michael Koch  <konqueror@gmx.de>
4855  
4856         * java/net/DatagramSocket.java:
4857         Added classpath license info.
4858         (DatagramSocket): Merged description with classpath.
4859         (close): Merged description with classpath.
4860         (getChannel): Merged description with classpath.
4861         (getInetAddress): Merged description with classpath.
4862         (getPort): Merged description with classpath.
4863         (getLocalAddress): Merged description with classpath.
4864         (getLocalPort): Merged description with classpath.
4865         (getSoTimeout): Merged description with classpath.
4866         (setSoTimeout): Merged description with classpath.
4867         (getSendBufferSize): Merged description with classpath.
4868         (setSendBufferSize): Merged description with classpath.
4869         (getReceiveBufferSize): Merged description with classpath.
4870         (setReceiveBufferSize): Merged description with classpath.
4871         
4872 2003-01-04  Tom Tromey  <tromey@redhat.com>
4873
4874         * java/awt/List.java: Merged with Classpath.
4875
4876 2003-01-03  Mark Wielaard  <mark@klomp.org>
4877
4878         * java/io/FileDescriptor.java (position): New private field.
4879         * java/io/natFileDescriptorPosix.cc (write): Up position.
4880         (setLength): Use and set position.
4881         (seek): Set position.
4882         (getFilePointer): Return position.
4883         (read): Up position.
4884
4885 2003-01-03  Mark Wielaard  <mark@klomp.org>
4886
4887         Merge with Classpath:
4888         * java/io/ObjectStreamClass.java (lookup): Split method and call
4889         lookupForClassObject().
4890         (lookupForClassObject): New method.
4891         (isProxyClass): New field.
4892         (setClass): Set isProxyClass, add object to classLookupTable, set
4893         superClass and calculateOffsets.
4894         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
4895         and not a proxy class.
4896         (setFields): Set accessible true for serialPersistentFields.
4897         (getClassUID): Same for suid. And check if suid is of type long.
4898         (hasClassInitializer): Don't throw NoSuchMethodError.
4899
4900 2003-01-03  Mark Wielaard  <mark@klomp.org>
4901
4902         * java/io/FileInputStream.java (finalize): Don't explicitly
4903         finalize FileDescriptor.
4904
4905 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
4906
4907         * configure.host (sparc*-*): Enable bytecode interpreter.
4908
4909 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
4910
4911         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
4912         Don't throw RemoteException.
4913         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
4914         throw RemoteException.
4915
4916 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
4917
4918         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
4919         proxyHost): New static fields.
4920         (<clinit>): Initialize new fields.
4921         (connect): Use proxy if necessary.
4922         (usingProxy): Implement.
4923
4924 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
4925
4926         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
4927         (TreeIterator.remove): Prefer IllegalStateException over
4928         ConcurrentModificationException, to match Sun.
4929
4930 2002-12-22  Anthony Green  <green@redhat.com>
4931
4932         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
4933
4934 2003-01-02  Mark Wielaard  <mark@klomp.org>
4935
4936         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
4937         public.
4938         (HTTP_USE_PROXY): Add field.
4939         (getResponseVals): Only set responseCode when not yet explicitly
4940         set by subclass.
4941
4942 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
4943             Mark Wielaard  <mark@klomp.org>
4944
4945         * java/util/zip/ZipFile.java (entries): Now HashMap.
4946         (readLeShort(DataInput, byte[])): Read from given byte array.
4947         (readLeInt(DataInput, byte[]): Likewise.
4948         (readLeShort(byte[] b, int off)): New method.
4949         (readLeInt(byte[] b, int off)): Likewise.
4950         (readEntries): Use byte arrays to read info in bigger chunks.
4951         (getEntries): Return HashMap.
4952         (getEntry): Use HashMap.
4953         (locBuf): New private field.
4954         (checkLocalHeader): Use locBuf to read info in one chunk.
4955         (getInputStream): Use entries HashMap, wrap PartialInputStream
4956         in BufferedInputStream.
4957         (ZipEntryEnumeration): Use HashMap and Interator.
4958
4959 2003-01-02  Mark Wielaard  <mark@klomp.org>
4960             Jeroen Frijters  <jeroen@sumatra.nl>
4961
4962         * java/net/URLClassLoader.java (Resource.getCodeSource):
4963         Fix check certs == null.
4964         (getCanonicalFileURL): Removed method.
4965         (JarURLLoader): Don't call removed method.
4966         (FileURLLoader): Likewise.
4967         (FileURLLoader.getResource): Don't canonicalize file name.
4968
4969 2003-01-01  Tom Tromey  <tromey@redhat.com>
4970
4971         * Makefile.in: Rebuilt.
4972         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
4973         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
4974         java/awt/BufferCapabilities.java, java/awt/Button.java,
4975         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
4976         java/awt/Container.java, java/awt/Cursor.java,
4977         java/awt/EventQueue.java, java/awt/FileDialog.java,
4978         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
4979         java/awt/MenuBar.java, java/awt/MenuComponent.java,
4980         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
4981         java/awt/Scrollbar.java, java/awt/TextArea.java,
4982         java/awt/TextField.java, java/awt/color/CMMException.java,
4983         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
4984         java/awt/color/ProfileDataException.java,
4985         java/awt/datatransfer/Clipboard.java,
4986         java/awt/datatransfer/DataFlavor.java,
4987         java/awt/datatransfer/FlavorMap.java,
4988         java/awt/datatransfer/SystemFlavorMap.java,
4989         java/awt/dnd/DragGestureEvent.java,
4990         java/awt/dnd/DragGestureRecognizer.java,
4991         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
4992         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
4993         java/awt/im/InputMethodHighlight.java,
4994         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
4995         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
4996
4997         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
4998         `op' to BufferedImageOp.
4999
5000 2002-12-31  Tom Tromey  <tromey@redhat.com>
5001
5002         Fix for PR libgcj/7416:
5003         * javax/naming/InitialContext.java (init): Use
5004         gnu.classpath.home.url.
5005         * java/security/Security.java: Use new properties.
5006         (loadProviders): Accept base url; use it.
5007         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5008         gnu.classpath.home.url.
5009         (gnu.classpath.home.url): Define.
5010         (gnu.classpath.vm.shortname): Likewise.
5011
5012 2002-12-31  Tom Tromey  <tromey@redhat.com>
5013             Ranjit Mathew  <rmathew@hotmail.com>
5014
5015         Fix for PR libgcj/8997:
5016         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5017         Include platform.h.
5018         * include/posix.h (_Jv_platform_usleep): New function.
5019         * include/win32.h (_Jv_platform_usleep): New function.
5020
5021 2002-12-29  Tom Tromey  <tromey@redhat.com>
5022
5023         * gcj/javaprims.h: Updated.
5024         * scripts/classes.pl (scan): Removed stray semicolon.
5025
5026 2002-12-30  Mark Wielaard  <mark@klomp.org>
5027
5028         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5029         if zero or smaller.
5030
5031 2002-12-30  Mark Wielaard  <mark@klomp.org>
5032
5033         * java/util/Properties (formatForOutput): Don't fall through to
5034         default case after escaping character.
5035
5036 2002-12-30  Mark Wielaard  <mark@klomp.org>
5037
5038         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5039         against count.
5040
5041 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5042
5043         * boehm.cc: Remove stray semicolon.
5044         * interpret.cc: Likewise.
5045         * prims.cc: Likewise.
5046         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5047         earlier to ensure default arguments are processed.
5048         * gcj/array.h (JArray): Add forward declaration.
5049         (elements): Likewise.
5050         * gcj/javaprim.h: Remove stray semicolons.
5051         * include/bohm-gc.h: Likewise.
5052         * include/jni.h: Likewise.
5053         * include/jvm.h: Likewise.
5054         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5055         
5056 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5057
5058         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5059         of catch_type.
5060         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5061         idt tables after initializing superclass.
5062         * java/lang/natClassLoader.cc (uaddr): New typedef.
5063         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5064         if they are constant pool indicies.  Don't link vtable, otable yet.
5065
5066 2002-12-21  Anthony Green  <green@redhat.com>
5067
5068         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5069         libraries.
5070         * Makefile.in: Rebuilt.
5071
5072 2002-12-19  Anthony Green  <green@redhat.com>
5073
5074         * Makefile.am (ordinary_java_source_files): Add
5075         org/xml/sax/helpers/NewInstance.java.
5076         * Makefile.in: Rebuilt.
5077         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5078         org/xml/sax/helpers/package.html: New files.
5079         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5080         http://www.saxproject.org.
5081
5082 2002-12-19  Andrew Haley  <aph@redhat.com>
5083
5084         * java/util/natResourceBundle.cc: Include
5085         ArrayIndexOutOfBoundsException.h.
5086         (getCallingClassLoader): Don't put upper bound on stack search.
5087         Catch ArrayIndexOutOfBoundsException.
5088
5089 2002-12-19  Tom Tromey  <tromey@redhat.com>
5090
5091         * libtool-version: Increased `current'.
5092
5093 2002-12-19  Tom Tromey  <tromey@redhat.com>
5094
5095         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5096         comment.
5097         * java/lang/ClassLoader.java (defineClass): Use chained
5098         exception when rethrowing.
5099         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5100         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5101         constants.
5102         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5103         (_Jv_PrepareClass): Use it.
5104         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5105         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5106         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5107         (Class): _Jv_PrepareMissingMethods now friend.
5108         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5109         Record `NULL' for system class loader.
5110         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5111         system class loader.
5112         (_Jv_FindClassInCache): Likewise.
5113         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5114         (_Jv_FindClass): Special case system class loader.
5115         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5116         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5117         vtable slots.
5118         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5119         in a final class.
5120         (_getDeclaredMethod): Don't return synthetic methods.
5121         (getDeclaredMethods): Likewise.
5122         (_getMethod): Likewise.
5123         (_getMethods): Likewise.
5124
5125 2002-12-18  Raif Naffah  <raif@fl.net.au>
5126
5127         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5128         canonical form after divide().
5129         (modInverse): Likewise.
5130
5131 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5132             Mark Wielaard  <mark@klomp.org>
5133
5134         * java/security/SecurityRandom (digest): Removed field.
5135         (SecureRandom): Check all providers for case-insensitive SecureRandom
5136         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5137         if necessary.
5138         (getInstance(String,Provider,boolean): New method.
5139         (getInstance(String)): Use new method.
5140         (getInstance(String,String)): Likewise.
5141         (getInstance(String,Provider)): Likewise.
5142
5143 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5144
5145         * java/security/Security.java (loadProviders): Increment i only once.
5146
5147 2002-12-12  Mark Wielaard  <mark@klomp.org>
5148
5149         * java/lang/ClassLoader.java (resolveClass0): Transform
5150         ClassNotFoundException to NoClassDefFoundError. Transform all other
5151         throwables to LinkageError.
5152
5153 2002-12-11  Tom Tromey  <tromey@redhat.com>
5154
5155         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5156
5157         * java/lang/ClassLoader.java (loadedClasses): New field.
5158         (defineClass): Fixed indentation.  Put new class in
5159         loadedClasses.
5160         (findLoadedClass): Implement here.
5161         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5162
5163 2002-12-10  Tom Tromey  <tromey@redhat.com>
5164
5165         * Makefile.in: Rebuilt.
5166         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5167         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5168         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5169         * java/lang/natClassLoader.cc
5170         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5171
5172 2002-12-10  Mark Wielaard  <mark@klomp.org>
5173             Tom Tromey  <tromey@redhat.com>
5174
5175         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5176         (JarURLLoader): Use it.
5177         (FileURLLoader): Likewise.
5178         (JarURLResource.getURL): Use chained exception.
5179         (FileResource.getURL): Likewise.
5180         (FileURLLoader.getResource): Use canonical file name.
5181         (addURL): Indentation fix.
5182
5183 2002-12-10  Tom Tromey  <tromey@redhat.com>
5184
5185         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5186         From Laurent Bardet <l.bardet@magic.fr>.
5187
5188 2002-12-09  Tom Tromey  <tromey@redhat.com>
5189
5190         * include/win32.h (_Jv_platform_solib_prefix): New define.
5191         (_Jv_platform_solib_suffix): Likewise.
5192         * include/posix.h (_Jv_platform_solib_prefix): New define.
5193         (_Jv_platform_solib_suffix): Likewise.
5194         * java/lang/natRuntime.cc: Include StackTrace.h.
5195         (_load): Use findLibrary and new platform defines.
5196         (nativeGetLibname): Use new platform defines.
5197
5198         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5199         `t' won't be null.
5200
5201 2002-12-08  Mark Wielaard  <mark@klomp.org>
5202
5203         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5204         cache remote jar files.
5205         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5206         add File.separator to URL when it is a directory.
5207         * java/lang/ClassLoader.java: Add Classpath javadoc.
5208         (parent): final.
5209         (getParent): Add (disabled) security check.
5210         (findLibrary): New default method.
5211         * java/net/JarURLConnection.java (getManifest): Implement.
5212         (getInputStream): Only create InputStream when entry exists.
5213         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5214         when they exist.
5215         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5216
5217 2002-12-08  Mark Wielaard  <mark@klomp.org>
5218
5219         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5220         (lastDefaultLocale): New field.
5221         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5222         resourceBundleCache.
5223
5224 2002-12-06  Mark Wielaard  <mark@klomp.org>
5225
5226         * java/net/InetAddress.java (toString): Use hostname when not null,
5227         don't do an explicit reverse getHostName() lookup.
5228         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5229         NullPointerException.
5230
5231 2002-12-06  Tom Tromey  <tromey@redhat.com>
5232
5233         * include/java-interp.h (class _Jv_InterpMethod): Added
5234         JV_MARKOBJ_DECL.
5235         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5236         mark `prepared' field of interpreted method.
5237         * interpret.cc (compile): Use _Jv_AllocBytes.
5238
5239 2002-12-05  Andrew Haley  <aph@redhat.com>
5240
5241         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5242         #ifdef (HAVE_BACKTRACE) around the whole function body.
5243
5244 2002-12-05  Tom Tromey  <tromey@redhat.com>
5245
5246         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5247         * resolve.cc: Don't include AbstractMethodError.h.
5248         (_Jv_abstractMethodError): Removed.
5249         * defineclass.cc (handleMethodsBegin): Initialize method index to
5250         -1.
5251         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5252         method index for "new" final method.
5253         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5254         isVirtualMethod.  Added `flags' argument.
5255         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5256         class.
5257
5258 2002-12-04  Tom Tromey  <tromey@redhat.com>
5259
5260         * java/net/SocketPermission.java (hashCode): Rewrote.
5261
5262 2002-12-04  Tom Tromey  <tromey@redhat.com>
5263
5264         * Makefile.in: Rebuilt.
5265         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5266         natResourceBundle.
5267         * java/util/ResourceBundle.java (Security): Removed.
5268         (getCallingClassLoader): Now native.
5269         * java/util/natResourceBundle.cc: New file.
5270         * java/lang/natVMSecurityManager.cc: New file.
5271         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5272
5273 2002-12-03  Mark Wielaard  <mark@klomp.org>
5274
5275         * java/util/jar/JarFile.java (manifest): Not final.
5276         (manifestRead): New field.
5277         (JarFile): Don't read Manifest in constructor.
5278         (getManifest): New method.
5279         (JarEnumeration.nextElement): Use new method.
5280         (getEntry): Likewise.
5281         * java/util/zip/ZipFile.java (name): Final.
5282         (raf): Likewsie.
5283         (entries): Change type to Hashtable.
5284         (closed): New field.
5285         (ZipFile): Don't read enties in constructor.
5286         (readEntries): Use Hashtable.
5287         (close): Set new close flag and set entries to null inside
5288         synchronized block.
5289         (entries): Contruct enumeration using new getEntries() method and
5290         entries Hashtable.
5291         (getEntryIndex): Removed.
5292         (getEntries): New method.
5293         (getEntry): Use new getEntries() method and entries Hastable.
5294         (getInputStream): Likewise.
5295         (size): Return getEntries().size().
5296         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5297         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5298         (time): Removed
5299         (dostime): New field.
5300         (zipFileIndex): Removed.
5301         (ZipEntry(ZipEntry)): Copy dostime.
5302         (setDOSTime): Now final and doesn't convert dos time.
5303         (getDOSTime): Likewise.
5304         (setTime): Convert dos time.
5305         (getTime): Likewise.
5306         (getCalendar): New method.
5307         (setExtra): Use setTime().
5308         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5309
5310 2002-12-03  Tom Tromey  <tromey@redhat.com>
5311
5312         * java/lang/Character.java (forDigit): Formatting fix.
5313
5314 2002-12-03  Raif Naffah  <raif@fl.net.au>
5315
5316         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5317         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5318         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5319
5320 2002-12-03  Andrew Haley  <aph@redhat.com>
5321
5322         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5323         _Jv_PushClass.
5324         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5325         (_Jv_PopClass): New.
5326         (_Jv_PushClass): New.
5327         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5328         discover the ClassLoader of our caller.
5329         (_Jv_CheckArrayStore): Don't check that a class is assignment
5330         compatible with Object.
5331         * java/lang/natVMTHrowable.cc: Delete.
5332         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5333         java.lang.VMThrowable.
5334         (StackTrace(), StackTrace(int)): New constructors.
5335         (classAt, methodAt, update, methodAtAddress): New methods.
5336         (map): New field.
5337         * java/lang/VMThrowable.java: Use StackTrace instead of
5338         natVMTHrowable.
5339         * java/lang/Class.h (getClassLoaderInternal): New.
5340         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5341         Be friendly with gnu::gcj::runtime::StackTrace.
5342         (Object.chain): New field.
5343         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5344         gnu::gcj::runtime::StackTrace.
5345         * gnu/gcj/runtime/natStackTrace.cc: New file.
5346         * gnu/gcj/runtime/MethodRef.java: New file.
5347         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5348         instead of getClassLoader().
5349         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5350         java::lang::VMThrowable.
5351         * Makefile.am (core_java_source_files): Add MethodRef.java,
5352         StackTrace.java.
5353         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5354         * Makefile.in: Rebuild.
5355
5356 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5357
5358         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5359         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5360         yes also for sh-linux* and sh[34]*-linux*.
5361         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5362         set SIGNAL_HANDLER to use DWARF2 exception for them.
5363         * configure: Regenerate.
5364
5365 2002-12-02  Tom Tromey  <tromey@redhat.com>
5366
5367         * jni.cc: Added `name' argument.
5368         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5369         `const char *' argument.
5370         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5371
5372 2002-12-01  Tom Tromey  <tromey@redhat.com>
5373
5374         Bug compatibility, for PR libgcj/8738:
5375         * java/io/CharArrayWriter.java (close): Do nothing.
5376         (flush): Likewise.
5377         (reset): Don't touch `closed'.
5378         (write(int)): Don't throw IOException.
5379         (write(char[],int,int)): Likewise.
5380         (write(String,int,int)): Likewise.
5381         (closed): Removed.
5382
5383 2002-12-01  Mark Wielaard  <mark@klomp.org>
5384
5385         * java/lang/SecurityManager.java: Remerge comments, indenting and
5386         checkXXX methods with Classpath.
5387
5388 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5389
5390         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5391         getNormalizedComponents): Fix calculation which was using one too
5392         many bits in the unnormalized format.
5393
5394 2002-11-29  Gary Benson  <gbenson@redhat.com>
5395
5396         For PR libgcj/8759:
5397         * java/beans/Introspector.java (flushCaches): New method.
5398         (flushFromCaches): Likewise.
5399
5400 2002-11-29  Michael Koch <konqueror@gmx.de>
5401
5402         * java/nio/channels/DatagramChannel.java
5403         (open): Added exception documentation.
5404         (write): Added exception documentation.
5405         (connect): Added exception documentation.
5406         (disconnect): Added exception documentation.
5407         (isConnected): Added exception documentation.
5408         (read): Added exception documentation.
5409         (receive): Added exception documentation.
5410         (send): Added exception documentation.
5411         (validOps): Added exception documentation.
5412         * java/nio/channels/SocketChannel.java
5413         (open): Added exception documentation.
5414         (read): Added exception documentation.
5415         (write): Added exception documentation.
5416         (connect): Added exception documentation.
5417         (finishConnect): Added exception documentation.
5418
5419 2002-11-29  Michael Koch <konqueror@gmx.de>
5420
5421         * gnu/java/nio/DatagramChannelImpl:
5422         (fd): New member variable to store file descriptor of socket.
5423         * gnu/java/nio/SelectionKeyImpl.java:
5424         (ops): Removed.
5425         (readyOps): New member variable.
5426         (interestOps): New member variable.
5427         (readyOps): Implemented.
5428         (readyOps): New method to set member variable readyOps.
5429         (interestOps): Replaced ops by interestOps.
5430         * gnu/java/nio/SelectorImpl.java:
5431         (SelectorImpl): Initialize key sets.
5432         (select): Call select with -1 instead of Long.MAX_VALUE).
5433         (java_do_select): Make it a native method.
5434         (getFDsAsArray): New helper method.
5435         (select): Remove canceled keys, give only interested file discriptors
5436         to java_do_select, set ready ops.
5437         (add): No need to initialize keys set here.
5438         (add_selected): No need to initialize selected set here.
5439         (deregisterCanceledKeys): New helper method.
5440         (register): Set interest ops, set attachments, added handling of datagram
5441         channels.
5442         * gnu/java/nio/ServerSocketChannelImpl:
5443         (SocketAccept): Renamed from NioSocketAccept.
5444         (implConfigureBlocking): Implemented.
5445         (accept): Use SocketAccept instead of NioSocketAccept.
5446         * gnu/java/nio/SocketChannelImpl:
5447         Reactivate native methods.
5448
5449 2002-11-29  Michael Koch <konqueror@gmx.de>
5450
5451         * gnu/java/nio/natByteBufferImpl.cc,
5452         gnu/java/nio/natCharBufferImpl.cc,
5453         gnu/java/nio/natDoubleBufferImpl.cc,
5454         gnu/java/nio/natFloatBufferImpl.cc,
5455         gnu/java/nio/natIntBufferImpl.cc,
5456         gnu/java/nio/natLongBufferImpl.cc,
5457         gnu/java/nio/natSelectorImpl.cc,
5458         gnu/java/nio/natServerSocketChannelImpl.cc,
5459         gnu/java/nio/natShortBufferImpl.cc,
5460         gnu/java/nio/natSocketChannelImpl.cc:
5461         New files that implement native functionalities.
5462
5463 2002-11-29  Michael Koch <konqueror@gmx.de>
5464
5465         * gnu/java/nio/ByteBufferImpl.java
5466         (ByteBufferImpl): Moved position() after limit.
5467         (nio_*): Use native implementation.
5468         * gnu/java/nio/CharBufferImpl.java:
5469         Reformated.
5470         (endian): New member variable string endianess of buffer.
5471         (CharBufferImpl): Moved position() after limit.
5472         (nio_*): Use native implementation.
5473         (subSequence): Implemented.
5474         * gnu/java/nio/DoubleBufferImpl.java
5475         (DoubleBufferImpl): Moved position() after limit.
5476         (nio_*): Use native implementation.
5477         * gnu/java/nio/FloatBufferImpl.java
5478         Reformated.
5479         (FloatBufferImpl): Moved position() after limit.
5480         (nio_*): Use native implementation.
5481         * gnu/java/nio/IntBufferImpl.java
5482         Added needed imports, Reformated.
5483         (IntBufferImpl): Moved position() after limit.
5484         (nio_*): Use native implementation.
5485         * gnu/java/nio/LongBufferImpl.java
5486         Reformated.
5487         (LongBufferImpl): Moved position() after limit.
5488         (nio_*): Use native implementation.
5489         * gnu/java/nio/ShortBufferImpl.java
5490         Reformated.
5491         (ShortBufferImpl): Moved position() after limit.
5492         (nio_*): Use native implementation.
5493
5494 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5495
5496         * java/util/Locale.java (toString): Improve efficiency if country
5497         and variant are both empty.
5498
5499 2002-11-26  Tom Tromey  <tromey@redhat.com>
5500
5501         * verify.cc (pop_init_ref): New method.
5502         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5503         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5504         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5505         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5506         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5507         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5508         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5509         let `this' argument be uninitialized.  Don't let `null' be passed
5510         as `this' to construtor.
5511
5512 2002-11-26  Mark Wielaard  <mark@klomp.org>
5513
5514         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5515         * javax/transaction/HeuristicMixedException.java: Likewise.
5516         * javax/transaction/HeuristicRollbackException.java: Likewise.
5517         * javax/transaction/InvalidTransactionException.java: Likewise.
5518         * javax/transaction/NotSupportedException.java: Likewise.
5519         * javax/transaction/RollbackException.java: Likewise.
5520         * javax/transaction/Status.java: Likewise.
5521         * javax/transaction/Synchronization.java: Likewise.
5522         * javax/transaction/SystemException.java: Likewise.
5523         * javax/transaction/Transaction.java: Likewise.
5524         * javax/transaction/TransactionManager.java: Likewise.
5525         * javax/transaction/TransactionRequiredException.java: Likewise.
5526         * javax/transaction/TransactionRolledbackException.java: Likewise.
5527         * javax/transaction/UserTransaction.java: Likewise.
5528         * javax/transaction/xa/XAException.java: Likewise.
5529         * javax/transaction/xa/XAResource.java: Likewise.
5530         * javax/transaction/xa/Xid.java: Likewise.
5531
5532 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5533
5534         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5535         define.
5536         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5537         * include/posix.h (socklen_t): Define if not already defined.
5538
5539 2002-11-25  Tom Tromey  <tromey@redhat.com>
5540
5541         * verify.cc (type::compatible): Backed out broken change.
5542
5543         * verify.cc (type::compatible): Check initialization status
5544         first.
5545         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5546         Don't use NULLCHECK.
5547
5548 2002-11-23  H.J. Lu <hjl@gnu.org>
5549
5550         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5551         Include ../config/accross.m4.
5552         * aclocal.m4; Rebuild.
5553         * configure: Likewise.
5554
5555 2002-11-23  Mark Wielaard  <mark@klomp.org>
5556
5557         * javax/naming/AuthenticationException.java: Update copyright header.
5558         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5559         * javax/naming/Binding.java: Likewise.
5560         * javax/naming/CannotProceedException.java: Likewise.
5561         * javax/naming/CommunicationException.java: Likewise.
5562         * javax/naming/CompositeName.java: Likewise.
5563         * javax/naming/CompoundName.java: Likewise.
5564         * javax/naming/ConfigurationException.java: Likewise.
5565         * javax/naming/Context.java: Likewise.
5566         * javax/naming/ContextNotEmptyException.java: Likewise.
5567         * javax/naming/InitialContext.java: Likewise.
5568         * javax/naming/InsufficientResourcesException.java: Likewise.
5569         * javax/naming/InterruptedNamingException.java: Likewise.
5570         * javax/naming/LimitExceededException.java: Likewise.
5571         * javax/naming/LinkException.java: Likewise.
5572         * javax/naming/LinkLoopException.java: Likewise.
5573         * javax/naming/LinkRef.java: Likewise.
5574         * javax/naming/MalformedLinkException.java: Likewise.
5575         * javax/naming/NameAlreadyBoundException.java: Likewise.
5576         * javax/naming/NameClassPair.java: Likewise.
5577         * javax/naming/NameNotFoundException.java: Likewise.
5578         * javax/naming/NameParser.java: Likewise.
5579         * javax/naming/NamingEnumeration.java: Likewise.
5580         * javax/naming/NamingSecurityException.java: Likewise.
5581         * javax/naming/NoInitialContextException.java: Likewise.
5582         * javax/naming/NoPermissionException.java: Likewise.
5583         * javax/naming/NotContextException.java: Likewise.
5584         * javax/naming/OperationNotSupportedException.java: Likewise.
5585         * javax/naming/PartialResultException.java: Likewise.
5586         * javax/naming/Reference.java: Likewise.
5587         * javax/naming/Referenceable.java: Likewise.
5588         * javax/naming/ReferralException.java: Likewise.
5589         * javax/naming/ServiceUnavailableException.java: Likewise.
5590         * javax/naming/SizeLimitExceededException.java: Likewise.
5591         * javax/naming/TimeLimitExceededException.java: Likewise.
5592         * javax/naming/directory/Attribute.java: Likewise.
5593         * javax/naming/directory/AttributeInUseException.java: Likewise.
5594         * javax/naming/directory/AttributeModificationException.java: Likewise.
5595         * javax/naming/directory/Attributes.java: Likewise.
5596         * javax/naming/directory/BasicAttribute.java: Likewise.
5597         * javax/naming/directory/BasicAttributes.java: Likewise.
5598         * javax/naming/directory/DirContext.java: Likewise.
5599         * javax/naming/directory/InitialDirContext.java: Likewise.
5600         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5601         Likewise.
5602         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5603         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5604         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5605         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5606         * javax/naming/directory/ModificationItem.java: Likewise.
5607         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5608         * javax/naming/directory/SchemaViolationException.java: Likewise.
5609         * javax/naming/directory/SearchControls.java: Likewise.
5610         * javax/naming/directory/SearchResult.java: Likewise.
5611         * javax/naming/event/EventContext.java: Likewise.
5612         * javax/naming/event/EventDirContext.java: Likewise.
5613         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5614         * javax/naming/event/NamingEvent.java: Likewise.
5615         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5616         * javax/naming/event/NamingListener.java: Likewise.
5617         * javax/naming/event/ObjectChangeListener.java: Likewise.
5618         * javax/naming/ldap/Control.java: Likewise.
5619         * javax/naming/ldap/ControlFactory.java: Likewise.
5620         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5621         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5622         * javax/naming/ldap/HasControls.java: Likewise.
5623         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5624         * javax/naming/ldap/LdapContext.java: Likewise.
5625         * javax/naming/ldap/LdapReferralException.java: Likewise.
5626         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5627         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5628         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5629         * javax/naming/spi/DirObjectFactory.java: Likewise.
5630         * javax/naming/spi/DirStateFactory.java: Likewise.
5631         * javax/naming/spi/DirectoryManager.java: Likewise.
5632         * javax/naming/spi/InitialContextFactory.java: Likewise.
5633         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5634         * javax/naming/spi/NamingManager.java: Likewise.
5635         * javax/naming/spi/ObjectFactory.java: Likewise.
5636         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5637         * javax/naming/spi/ResolveResult.java: Likewise.
5638         * javax/naming/spi/Resolver.java: Likewise.
5639         * javax/naming/spi/StateFactory.java: Likewise.
5640
5641         * javax/naming/spi/NamingManager.java (ofb): Package private.
5642
5643 2002-11-21  Mark Wielaard  <mark@klomp.org>
5644
5645         * java/net/URL.java: Merge with Classpath (partly).
5646         * java/net/URLStreamHandler: Merge with Classpath.
5647
5648 2002-11-22  Michael Koch <konqueror@gmx.de>
5649
5650         * include/posix.h:
5651         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5652         * include/win32.h:
5653         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5654         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5655
5656 2002-11-21  Michael Koch <konqueror@gmx.de>
5657
5658         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5659         Only the new network functions should be in it.
5660
5661 2002-11-21  Michael Koch <konqueror@gmx.de>
5662
5663         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5664         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5665
5666 2002-11-21  Michael Koch <konqueror@gmx.de>
5667
5668         * java/nio/channels/AsynchronousCloseException.java,
5669         java/nio/channels/CancelledKeyException.java,
5670         java/nio/channels/ClosedByInterruptException.java,
5671         java/nio/channels/ConnectionPendingException.java,
5672         java/nio/channels/FileLockInterruptionException.java,
5673         java/nio/channels/IllegalSelectorException.java,
5674         java/nio/channels/NoConnectionPendingException.java,
5675         java/nio/channels/NonReadableChannelException.java,
5676         java/nio/channels/NonWritableChannelException.java,
5677         java/nio/channels/NotYetBoundException.java,
5678         java/nio/channels/NotYetConnectedException.java,
5679         java/nio/channels/OverlappingFileLockException.java,
5680         java/nio/channels/UnresolvedAddressException.java,
5681         java/nio/channels/UnsupportedAddressTypeException.java:
5682         New files.
5683         * Makefile.am (ordinary_java_source_files): Added new files.
5684         * Makefile.in: Regenerated.
5685
5686 2002-11-21  Michael Koch <konqueror@gmx.de>
5687
5688         * include/posix.h
5689         (_Jv_socket): New method.
5690         (_Jv_connect): New method.
5691         (_Jv_close): New method.
5692         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5693         (_Jv_bind): New method.
5694         (_Jv_listen): New method.
5695         (_Jv_write): New method.
5696         (_Jv_read): New method.
5697         * include/win32.h
5698         (_Jv_socket): New method.
5699         (_Jv_connect): New method.
5700         (_Jv_close): New method.
5701         (_Jv_bind): New method.
5702         (_Jv_listen): New method.
5703         (_Jv_write): New method.
5704         (_Jv_read): New method.
5705         * java/net/natNetworkInterface.cc:
5706         Include platform.h, removed inclusion of socket.h
5707         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5708         ::close() by _Jv_close().
5709         * java/net/natPlainDatagramSocketImpl.cc:
5710         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5711         added some new lines to make code more readable.
5712         (create): Replaced ::socket() by _Jv_socket().
5713         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5714         * java/net/natPlainSocketImpl.cc:
5715         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5716         removed include of socket.h, removed some windows defines
5717         (now in include/win32.h).
5718         (create): Replaced ::socket() by _Jv_socket().
5719         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5720         (write): Replaced ::read by _Jv_write().
5721         (read): Replaced ::read by _Jv_read().
5722
5723 2002-11-20  Michael Koch <konqueror@gmx.de>
5724
5725         * Makefile.am (ordinary_java_source_files):
5726         Added java/nio/channels/FileChannel.java.
5727         * Makefile.in: Regenerated.
5728
5729 2002-11-20  Michael Koch <konqueror@gmx.de>
5730
5731         * java/io/FileInputStream.java
5732         (getChannel): New method.
5733         * java/io/FileOutputStream.java
5734         (getChannel): New method.
5735         * java/net/ServerSocket.java
5736         (bind): Removed duplicate code and called another bind method instead.
5737         * java/nio/channels/SelectionKey.java
5738         (isValid): Removed wrong exception documentation.
5739         * java/nio/channels/ServerSocketChannel.java
5740         (accept): Added exception documentation.
5741         (open): Fixed typo, added exception documentation.
5742         * java/nio/channels/spi/AbstractSelectableChannel.java
5743         (implCloseChannel): Added exception documentation.
5744         (add): Reformated.
5745         (register): Added exception documentation.
5746
5747 2002-11-20  Andreas Jaeger  <aj@suse.de>
5748
5749         * configure: Regenerated with new libtool.m4.
5750
5751 2002-11-19  Tom Tromey  <tromey@redhat.com>
5752
5753         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5754         `referent'.
5755         (finalize_referred_to_object): Don't modify `referent' or `copy'
5756         fields.
5757         (add_to_hash): Correctly set `n->next' when updating list.
5758         * java/lang/ref/Reference.java (enqueue): Return false if already
5759         enqueued.
5760
5761 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5762
5763         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5764         to function and function pointer declarations in accordance with
5765         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5766         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5767         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5768         JNI function definitions.
5769
5770 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5771
5772         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5773         that was causing CoderResults to be cached, not WeakReferences
5774         to CoderResults.
5775
5776 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5777
5778         * java/security/KeyStore.java (getInstance): Fix
5779         comment and throw IllegalArgumentException if
5780         given provider is null.
5781         (getInstance): New method for jdk1.4 compatibility.
5782
5783 2002-11-18  Michael Koch <konqueror@gmx.de>
5784
5785         * java/net/PlainSocketImpl.java: Fix imports.
5786
5787 2002-11-18  Michael Koch <konqueror@gmx.de>
5788
5789         * java/nio/channels/SelectionKey.java
5790         (isValid): Added exception documentation.
5791         * java/nio/channels/Selector.java
5792         (open): Declare "throws IOException".
5793
5794 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5795
5796         * java/nio/charset/Charset.java
5797         (<clinit>): New method.
5798         (encode): Synchronize use of cached encoder object.
5799         (decode): Synchronize use of cached encoder object.
5800
5801 2002-11-18  Michael Koch <konqueror@gmx.de>
5802
5803         * gnu/java/nio/ByteBufferImpl.java,
5804         gnu/java/nio/CharBufferImpl.java,
5805         gnu/java/nio/DatagramChannelImpl.java,
5806         gnu/java/nio/DoubleBufferImpl.java,
5807         gnu/java/nio/FileChannelImpl.java,
5808         gnu/java/nio/FloatBufferImpl.java,
5809         gnu/java/nio/IntBufferImpl.java,
5810         gnu/java/nio/LongBufferImpl.java,
5811         gnu/java/nio/PipeImpl.java,
5812         gnu/java/nio/SelectionKeyImpl.java,
5813         gnu/java/nio/SelectorImpl.java,
5814         gnu/java/nio/SelectorProviderImpl.java,
5815         gnu/java/nio/ServerSocketChannelImpl.java,
5816         gnu/java/nio/ShortBufferImpl.java,
5817         gnu/java/nio/SocketChannelImpl.java,
5818         java/nio/DoubleBuffer.java,
5819         java/nio/FloatBuffer.java,
5820         java/nio/IntBuffer.java,
5821         java/nio/LongBuffer.java,
5822         java/nio/ShortBuffer.java,
5823         java/nio/channels/FileChannel.java: New files.
5824
5825 2002-11-18  Michael Koch <konqueror@gmx.de>
5826
5827         * Makefile.am (ordinary_java_source_files):
5828         Added java/nio/ReadOnlyBufferException.java and
5829         java/nio/channels/ClosedSelectorException.java.
5830         * Makefile.in: Regenerated.
5831
5832 2002-11-18  Michael Koch <konqueror@gmx.de>
5833
5834         * java/net/PlainSocketImpl.java: Reworked imports.
5835         * java/net/ServerSocket.java
5836         (ServerSocket): Create socket.
5837         * java/net/SocketAddress.java: Documentation added.
5838         * java/net/natPlainSocketImpl.cc: Reindented.
5839         * java/nio/ReadOnlyBufferException.java: New file
5840         * java/nio/channels/ClosedChannelException.java: Documentation added.
5841         * java/nio/channels/ClosedSelectorException.java: New file.
5842
5843 2002-11-17  Mark Wielaard  <mark@klomp.org>
5844
5845         * java/net/HttpURLConnection.java ((getPermission): Take port
5846         into consideration.
5847         (getErrorStream): Implement.
5848
5849 2002-11-17  Mark Wielaard  <mark@klomp.org>
5850
5851         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
5852
5853 2002-11-16  Mark Wielaard  <mark@klomp.org>
5854
5855         Integrate work by Raif S. Naffah (raif@fl.net.au)
5856         * java/security/DummyKeyPairGenerator.java (clone): New method.
5857         * java/security/DummyMessageDigest.java (clone): New method.
5858         (engineUpdate): Now public.
5859         (engineReset): Likewise.
5860         (engineDigest): Likewise.
5861         (engineGetDigestLength): New method.
5862         * java/security/DummySignature.java (clone): New method.
5863         * java/security/KeyPairGenerator.java (provider): Now package private.
5864         (getInstance(String)): Use getInstance(String,Provider).
5865         (getInstance(String,String): Use getInstance(String,Provider)
5866         (getInstance(String,Provider): New method.
5867         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
5868         * java/security/KeyPairGeneratorSpi.java (clone): New method.
5869         * java/security/MessageDigest.java (provider): Now package private.
5870         (getInstance(String): Use getInstance(String,Provider).
5871         (getInstance(String,String): Use getInstance(String,Provider)
5872         (getInstance(String,Provider): New method.
5873         * java/security/Provider.java (toCanonicalKey): New method.
5874         (get): New method that uses toCanonicalKey().
5875         (put): Use toCanonicalKey().
5876         (remove): Likewise.
5877         * java/security/Security.java (insertProviderAt): Provider index is one
5878         based, not zero based.
5879         (addProvider): Likewise.
5880         (removeProvider): Likewise.
5881         * java/security/Signature.java (provider): Now package private.
5882         (getInstance(String)): Use getInstance(String,Provider).
5883         (getInstance(String,String): Use getInstance(String,Provider)
5884         (getInstance(String,Provider): New method.
5885         (getInstance(String,String,Provider): Don't cast DummySignature.
5886
5887 2002-11-15  Tom Tromey  <tromey@redhat.com>
5888
5889         For PR libgcj/8593:
5890         * java/util/zip/GZIPInputStream.java (read): Check file size.
5891         Look in inflater for remaining input bytes.
5892         (read4): Added buf and offset arguments.
5893
5894 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
5895
5896         * java/applet/AppletContext.java: Fix typo and remove redundant
5897         modifiers.
5898
5899 2002-11-14  Tom Tromey  <tromey@redhat.com>
5900
5901         * java/lang/natRuntime.cc (insertSystemProperties): Set
5902         gnu.classpath.home.
5903
5904 2002-11-13  Michael Koch <konqueror@gmx.de>
5905
5906         * java/nio/ByteBuffer.java
5907         (allocate): New method.
5908         (wrap): New method.
5909         (put): New method.
5910         (get): New method.
5911
5912 2002-11-13  Michael Koch <konqueror@gmx.de>
5913
5914         * java/nio/channels/AlreadyConnectedException.java:
5915         Removed unneeded import.
5916         (AlreadyConnectedException): Documentation added.
5917         * java/nio/channels/Pipe.java
5918         (SinkChannel.SinkChannel): Documentation added.
5919         (SinkChannel.validOps): New method.
5920         (SourceChannel.SourceChannel): Documentation added.
5921         (SourceChannel.validOps): New method.
5922         (Pipe): Documentation added.
5923         (open): Documentation added.
5924         (SinkChannel.channel): Documentation added.
5925         (SourceChannel.channel): Documentation added.
5926         * java/nio/channel/SelectableChannel.java
5927         (SelectableChannel): Documentation added.
5928         (blockingLock): Documentation added.
5929         (configureBlocking):Documentation added.
5930         (isBlocking):Documentation added.
5931         (isRegistered):Documentation added.
5932         (keyFor):Documentation added.
5933         (provider):Documentation added.
5934         (register): Documentation added.
5935         (validOps): Documentation added.
5936         * jaba/nio/channels/SelectionKey.java
5937         (SelectionKey): Documentation added.
5938         (attach): Documentation added.
5939         (attachment): Documentation added.
5940         (isAcceptable): Documentation added.
5941         (isConnetable): Documentation added.
5942         (isReadable): Documentation added.
5943         (isWritable): Documentation added.
5944         (cancel): Documentation added.
5945         (channel): Documentation added.
5946         (interestOps): Documentation added.
5947         (isValid): Documentation added.
5948         (readyOps): Documentation added.
5949         (selector): Documentation added.
5950         * jaba/nio/channels/Selector.java
5951         (Selector): Documentation added.
5952         (open): Documentation added.
5953         (close): Documentation added.
5954         (isOpen): Documentation added.
5955         (keys): Documentation added.
5956         (provider): Documentation added.
5957         (select): Documentation added.
5958         (selectedKeys): Documentation added.
5959         (selectNow): Documentation added.
5960         (wakeup): Documentation added.
5961         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5962         (AbstractInterruptibleChannel): Documentation added.
5963         (opened): Default to true;
5964         (begin): Documentation added.
5965         (close): Set opened to false, documentation added.
5966         (isOpen): Documentation added.
5967         * java/nio/channels/spi/AbstractSelectionKey.java
5968         (AbstractSelectionKey): Documentation added.
5969         (cancel): Documentation added.
5970         (isValid): Documentation added.
5971         * java/nio/channels/spi/AbstractSelector.java
5972         (AbstractSelector): Documentation added.
5973         (begin): Documentation added.
5974         (close): Documentation added.
5975         (isOpen): Documentation added.
5976         (deregister): Documentation added.
5977         (end): Documentation added.
5978         (provider): Documentation added.
5979         (implCloseSelector): Documentation added.
5980         (register): Documentation added.
5981         * java/nio/channels/spi/SelectorProvider.java
5982         (SelectorProvider): Documentation added.
5983         (openDatagramChannel): Documentation added.
5984         (openPipe): Documentation added.
5985         (openSelector): Documentation added.
5986         (openServerSocketChannel): Documentation added.
5987         (openSocketChannel): Documentation added.
5988         (provider): Documentation added.
5989
5990 2002-11-12  Michael Koch <konqueror@gmx.de>
5991
5992         * java/nio/Buffer.java: Implemented.
5993         * java/nio/CharBuffer.java: New file.
5994         * java/nio/InvalidMarkException.java: New file.
5995         * java/nio/channels/DatagramChannel.java: Implemented.
5996         * java/nio/channels/ServerSocketChannel.java: Implemented.
5997         * java/nio/channels/SocketChannel.java: Implemented.
5998         * java/nio/channels/spi/AbstractChannel.java: Removed.
5999         * java/nio/channels/spi/AbstractSelectableChannel.java:
6000         Implemented.
6001         * java/nio/charset/Charset.java:
6002         Merge from Classpath.
6003         * java/nio/charset/CharsetDecoder.java: New file.
6004         * java/nio/charset/CharsetEncoder.java: New file.
6005         * java/nio/charset/CoderResult.java: New file.
6006         * Makefile.am (ordinary_java_source_files): Added new files.
6007         * Makefile.in: Regenerated.
6008
6009 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6010
6011         * gnu/java/nio/charset/ISO_8859_1.java,
6012         gnu/java/nio/charset/Provider.java,
6013         gnu/java/nio/charset/US_ASCII.java,
6014         gnu/java/nio/charset/UTF_16.java,
6015         gnu/java/nio/charset/UTF_16BE.java,
6016         gnu/java/nio/charset/UTF_16Decoder.java,
6017         gnu/java/nio/charset/UTF_16Encoder.java,
6018         gnu/java/nio/charset/UTF_16LE.java,
6019         gnu/java/nio/charset/UTF_8.java: New files.
6020
6021 2002-11-11  Michael Koch <konqueror@gmx.de>
6022
6023         * java/nio/charset/CharacterCodingException.java:
6024         This class must be public.
6025         * java/nio/charset/CoderMalfunctionError.java:
6026         This class must be public.
6027         * java/nio/charset/CodingErrorAction.java:
6028         This class must be public.
6029         * java/nio/charset/IllegalCharsetNameException.java:
6030         This class must be public, better implementation.
6031         * java/nio/charset/MalformedInputException.java:
6032         This class must be public, better implementation.
6033         * java/nio/charset/UnmappableCharacterException.java:
6034         This class must be public, better implementation.
6035         * java/nio/charset/UnsupportedCharsetException.java:
6036         This class must be public, better implementation.
6037
6038 2002-11-11  Michael Koch <konqueror@gmx.de>
6039
6040         * java/nio/BufferOverflowException.java,
6041         java/nio/BufferUnderflowException.java: New file.
6042         * Makefile.am (ordinary_java_source_files):
6043         Added new files.
6044         * Makefile.in: Regenerated.
6045
6046 2002-11-10  Tom Tromey  <tromey@redhat.com>
6047
6048         * java/awt/Container.java (validate): Use tree lock.
6049         (getComponent): Likewise.
6050         (getComponents): Likewise.
6051         (addImpl): Likewise.
6052         (remove): Likewise.
6053         (removeAll): Likewise.
6054         (processEvent): Fixed indentation.
6055         (getComponentAt): Use tree lock.
6056         (findComponentAt): Likewise.
6057         (removeNotify): Likewise.
6058         (isAncestorOf): Likewise.
6059         (list): Likewise.
6060         (visitChildren): Likewise.
6061         (findNextFocusComponent): Likewise.
6062         (addNotifyContainerChildren): Likewise.
6063         (getAccessibleChildrenCount): Likewise.
6064         (getAccessibleChild): Likewise.
6065
6066         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6067         (getSize): Likewise.
6068         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6069         (getSize): Likewise.
6070         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6071         (calcSize): Likewise.
6072         * java/awt/CardLayout.java (getSize): Use tree lock.
6073         (gotoComponent): Likewise.
6074         (layoutContainer): Likewise.
6075
6076         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6077         count is 0.
6078         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6079         count is 0.
6080
6081         * java/io/Externalizable.java, java/io/FilePermission.java,
6082         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6083         java/io/SerializablePermission.java, java/text/Format.java,
6084         java/util/AbstractMap.java, java/util/HashMap.java,
6085         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6086         versions from Classpath.
6087
6088 2002-11-10  Anthony Green  <green@redhat.com>
6089
6090         * java/util/jar/Attributes.java (Name): Fix name check.
6091
6092 2002-11-10  Mark Wielaard  <mark@klomp.org>
6093
6094         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6095         with getName() as message.
6096         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6097         type as message.
6098
6099         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6100         unused.
6101
6102 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6103
6104         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6105         for Win32. JNICALL has been defined to __stdcall to be compatible
6106         with Sun's JDKs.
6107
6108 2002-11-10  Tom Tromey  <tromey@redhat.com>
6109
6110         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6111         (setRows): Check newRows, not rows.
6112
6113         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6114
6115 2002-11-09  Tom Tromey  <tromey@redhat.com>
6116
6117         * java/applet/Applet.java, java/applet/AppletContext.java,
6118         java/applet/AppletStub.java, java/applet/AudioClip.java,
6119         java/awt/CardLayout.java,
6120         java/awt/ContainerOrderFocusTraversalPolicy.java,
6121         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6122         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6123         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6124         java/awt/color/ICC_ColorSpace.java,
6125         java/awt/color/ICC_Profile.java,
6126         java/awt/color/ICC_ProfileGray.java,
6127         java/awt/color/ICC_ProfileRGB.java,
6128         java/awt/datatransfer/DataFlavor.java,
6129         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6130         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6131         New versions from Classpath.
6132         * Makefile.in: Rebuilt.
6133         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6134         ICC_ProfileRGB.
6135
6136         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6137         display policy.
6138
6139         * java/awt/List.java (processEvent): Added missing `else's.
6140
6141         * java/awt/Window.java (show): validate() before showing.  Make
6142         parent displayable.
6143         (isDisplayable): New method.
6144
6145 2002-11-07  Mark Wielaard  <mark@klomp.org>
6146
6147         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6148         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6149
6150         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6151         annotation.
6152         (loadClass): Take String as codebases.
6153         (getClassAnnotation): Use MyClassLoader annotations.
6154         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6155         call exportObject(this).
6156
6157         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6158         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6159         (setAnnotation): Don't set locBytesStream and locStream.
6160         (replaceObject): Removed.
6161         (flush): Don't test locStream.
6162         (getLocBytes): LikeWise.
6163         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6164         (leaseCache): New field.
6165         (dirty): Use leaseCache.
6166         (LeaseRecord): New inner class.
6167         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6168         explicitly call exportObject().
6169         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6170         false to communicate with Sun JDK130.
6171         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6172         * gnu/java/rmi/server/RMIObjectInputStream.java
6173         (UnicastConnectionManager): Removed field.
6174         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6175         Use UnicastServer.getExportedRef().
6176         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6177         (expireTime): Likewise.
6178         (CONNECTION_TIMEOUT): Likewise.
6179         (disconnect): Call sock.close().
6180         (isExpired): New method.
6181         (resetTime): Likewise.
6182         (run): Use do while loop and catch Exception for discardConnection().
6183         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6184         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6185         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6186         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6187         (exportObject): Use refcache.
6188         (unexportObject): Likewise.
6189         (getExportedRef): New method.
6190         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6191         constructor.
6192         (exportObject): Save manager.serverobj.
6193         (getStub): New method.
6194
6195 2002-11-07  Mark Wielaard  <mark@klomp.org>
6196
6197         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6198         (getByte): Likewise.
6199         (getShort): Likewise.
6200         (getInt): Likewise.
6201         (getLong): Likewise.
6202         (getFloat): Likewise.
6203         (getDouble): Likewise.
6204         (get): Likewise.
6205         (setChar): Likewise.
6206         (setByte): Likewise.
6207         (setShort): Likewise.
6208         (setInt): Likewise.
6209         (setLong): Likewise.
6210         (setFloat): Likewise.
6211         (setDouble): Likewise.
6212
6213 2002-11-07  Michael Koch <konqueror@gmx.de>
6214
6215         * java/awt/Choice.java,
6216         java/awt/Container.java,
6217         java/awt/GridBagLayout.java:
6218         Fixed documentation.
6219         * java/awt/peer/ContainerPeer.java:
6220         Reindented.
6221
6222 2002-11-07  Michael Koch <konqueror@gmx.de>
6223
6224         * java/awt/color/ICC_Profile.java:
6225         Added missing constants.
6226         * java/awt/color/ICC_ColorSpace.java
6227         (getMinValue): Added dummy implementation.
6228         (getMaxValue): Added dummy implementation.
6229         * java/awt/datatransfer/DataFlavor.java
6230         (imageFlavor): Added.
6231         (isMimeTypeEqual): Must be final.
6232         (getDefaultRepresentationClass): Must be non-static.
6233         (getDefaultRepresentationClassAsString): Must be non-static.
6234         * java/awt/dnd/DragSourceContext.java
6235         (dragExit): Corrected argument.
6236         (dragDropEnd): Corrected argument.
6237         * java/awt/dnd/DragSourceListener.java.java
6238         (dragExit): Corrected argument.
6239         (dragDropEnd): Corrected argument.
6240         * java/awt/font/TextHitInfo.java
6241         (toString): Added stubbed implementation.
6242         * java/awt/geom/PathIterator.java:
6243         The constants must be static.
6244         * java/awt/image/VolatileImage.java
6245         (IMAGE_INCOMPATIBLE): Fixed typo.
6246         * java/awt/image/renderable/RenderableImage.java
6247         (HINTS_OBSERVED): Must be static.
6248         * java/beans/BeanInfo.java:
6249         Constants must be final.
6250
6251 2002-11-06  Tom Tromey  <tromey@redhat.com>
6252
6253         From svens@it.uu.se.  For PR libgcj/8481.
6254         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6255
6256 2002-11-06  Tom Tromey  <tromey@redhat.com>
6257
6258         * jni.cc (array_from_valist): Assume that jlong won't be
6259         promoted.
6260
6261 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6262
6263         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6264         Return 20.
6265         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6266         Return 16.
6267
6268 2002-11-03  Tom Tromey  <tromey@redhat.com>
6269
6270         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6271         VMClassLoader, not findClass.
6272
6273 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6274
6275         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6276         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6277         _Jv_DetermineVTableIndex, to determine vtable offset.
6278         (_Jv_DetermineVTableIndex): Remove.
6279         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6280
6281         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6282
6283 2002-11-03  Tom Tromey  <tromey@redhat.com>
6284
6285         * java/nio/channels/AlreadyConnectedException.java: Extend
6286         IllegalStateException, per spec.
6287
6288 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6289
6290         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6291
6292 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6293
6294         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6295         size items.
6296
6297 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6298
6299         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6300         initial estimated size to avoid enlarge buffer frequently.
6301
6302 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6303
6304         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6305         ClassLoader when null.
6306         (ProxyType.hashCode): Loader null check no longer needed.
6307         (ProxyType.sameTypes): New method.
6308         (ProxyType.equals): Use new method.
6309
6310 2002-10-31  Mark Wielaard  <mark@klomp.org>
6311
6312         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6313         length of String.
6314         * java/net/URLEncoder.java (encode): Likewise.
6315
6316 2002-10-31  Mark Wielaard  <mark@klomp.org>
6317
6318         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6319         when stream is closed.
6320         (closeEntry): Likewise.
6321         (read): Likewise.
6322         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6323         ZipException when no entry active.
6324         (closeEntry): Likewise.
6325         (write): Likewise.
6326
6327 2002-11-02  Tom Tromey  <tromey@redhat.com>
6328
6329         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6330         * java/lang/natClass.cc (initializeClass): Don't return just
6331         because self==thread.
6332
6333         For PR java/8415:
6334         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6335         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6336
6337 2002-11-02  Andreas Schwab  <schwab@suse.de>
6338
6339         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6340         pass GCJFLAGS.
6341         (FLAGS_TO_PASS): Define.
6342         * Makefile.in: Regenerated.
6343
6344 2002-11-01  Michael Koch  <konqueror@gmx.de>
6345
6346         * java/nio/ByteOrder.java: New file.
6347         * java/nio/channels/DatagramChannel.java:
6348         (DatagramChannel): New constructor.
6349         * java/nio/channels/Pipe.java: New file.
6350         * java/nio/channels/SelectableChannel.java: New file.
6351         * java/nio/channels/SelectionKey.java: New file.
6352         * java/nio/channels/Selector.java: New file.
6353         * java/nio/channels/ServerSocketChannel.java
6354         (ServerSocketChannel): New constructor.
6355         * java/nio/channels/SocketChannel.java
6356         (SocketChannel): New constructor.
6357         * java/nio/channels/Pipe.java: New file.
6358         * java/nio/channels/spi/AbstractChannel.java: New file.
6359         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6360         * java/nio/channels/spi/AbstractSelectableChannel.java:
6361         License added
6362         (AbstractSelectableChannel): New stubbed method.
6363         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6364         * java/nio/channels/spi/AbstractSelector.java: New file.
6365         * java/nio/channels/spi/SelectorProvider.java: New file.
6366         * java/nio/charset/Charset.java: New file.
6367         * java/nio/charset/CoderMalfunctionError.java: New file.
6368         * java/nio/charset/CodingErrorAction.java: New file.
6369         * java/nio/charset/spi/CharsetProvider.java
6370         (charsetForName): Uncommented.
6371         * Makefile.am (java_native_source_files): Added new files.
6372         * Makefile.in: Regenerated.
6373
6374 2002-11-01  Michael Koch  <konqueror@gmx.de>
6375
6376         * java/net/InetAddress.java:
6377         (isAnyLocalAddress): Implemented.
6378         (isLoopbackAddress): Implemented, comment added.
6379         (isLinkLocalAddress): Implemented, documentation added.
6380         (isSiteLocalAddress): Implemented, documentation added.
6381         (isMCGlobal): Implemented, documentation added.
6382         (isMCNodeLocal): Implemented, documentation added.
6383         (isMCLinkLocal): Implemented, documentation added.
6384         (isMCSiteLocal): Implemented, documentation added.
6385         (isMCOrgLocal): Implemented, documentation added.
6386         (getHostName): Documentation added.
6387         (getCanonicalHostName): Implemented, documentation added.
6388         (getAddress): Documentation added.
6389         (hashCode): Documentation added.
6390         (equals): Documentation added.
6391         (toString): Fixed implementation.
6392         (getByAddress): Use Inet4Address and Inet6Address.
6393         (lookup): New linewrap.
6394         (getByName): SecurityManager check added, support Inet4Address and
6395         Inet6address, comments added.
6396         (getAllByName): SecurityManager check added, comments added.
6397         * java/net/Inet6Address.java:
6398         (Inet6Address): Initialize parent class with addr instead of null.
6399         * java/net/URL.java
6400         (equals): Documentation added.
6401         (getFile): Documentation added.
6402         (hashCode): Documentation added.
6403         * java/net/natInetAddress.cc:
6404         (aton): Fix IPv6 support.
6405         * java/net/natPlainDatagramSocketImpl.cc:
6406         (peek): Throw PortUnreachableException when suitable.
6407         (peekData): Throw PortUnreachableException when suitable.
6408         (send): Throw PortUnreachableException when suitable.
6409         (receive): Throw PortUnreachableException when suitable.
6410
6411 2002-10-27  Mark Wielaard  <mark@klomp.org>
6412
6413         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6414         argument.
6415         (readLeShort): Likewise and use byte[].
6416         (readLeInt): Likewise.
6417         (readEntries): Use new versions of methods and use byte[] for reading
6418         a complete zip entry. Add ZipFile name to exceptions.
6419         (entries): Add ZipFile name to exceptions.
6420         (getEntry): Likewise.
6421         (checkLocalHeader): Use new versions of methods and add ZipFile name
6422         to exceptions.
6423
6424 2002-10-31  Mark Anderson  <mark@panonet.net>
6425
6426         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6427         added
6428
6429 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6430
6431         * configure.in: Disable hash sync when not using threads.
6432         * configure: Regenerated.
6433
6434 2002-10-24  Tom Tromey  <tromey@redhat.com>
6435
6436         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6437         (_Jv_FindSymbolInExecutable): Removed argument name.
6438         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6439         java.library.path is set.
6440
6441         * gij.cc (help): Document --showversion.
6442         (version): Don't exit.
6443         (main): Handle --showversion.  Exit if --version given.
6444
6445 2002-10-23  Tom Tromey  <tromey@redhat.com>
6446
6447         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6448         (array_from_valist): Correctly handle promotion for jint, jlong,
6449         jfloat, and jdouble.
6450
6451 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6452
6453         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6454         GetFileAttributesEx( ) to find file length and modification times,
6455         as the latter is not present on Windows 95.
6456
6457 2002-10-21  Michael Koch  <konqueror@gmx.de>
6458
6459         * java/net/URL.java
6460         (URL): Activate SecurityManager checks.
6461         (equals): Use URLStreamHandler implementation instead of doing it
6462         alone. This allows special protocol stream handlers to change default
6463         behaviour.
6464         (hashCode): Use URLStreamHandler implementation instead of doing it
6465         alone. This allows special protocol stream handlers to change default
6466         behaviour.
6467         * java/net/URLStreamHandler.java
6468         (equals): Implemented default URL equality check.
6469         (hostsEqual): Implemented default URL equality check.
6470         (hashCode): Implemented default URL hashCode algorithm.
6471         * java/net/natPlainDatagramSocketImpl.cc:
6472         No lines longer then 80 characters.
6473
6474 2002-10-20  Adam Megacz <adam@xwt.org>
6475
6476         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6477         * configure.in: enabled hash sync on Win32
6478         * include/win32-threads.h (_Jv_ThreadId_t): added.
6479         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6480         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6481         removed some posix-isms, use Thread::sleep() instead of usleep,
6482         added code to clear bottom three bits if platform has a broken
6483         linker.
6484         * include/win32-threads.h (_Jv_ThreadId_t): added.
6485
6486 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6487
6488         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6489         runtime property "gnu.gcj.progname" containing the name used to
6490         invoke the current Java program (similar to argv[0] for C
6491         programs).
6492
6493 2002-10-15  Tom Tromey  <tromey@redhat.com>
6494
6495         Fix for PR libgcj/8234:
6496         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6497         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6498
6499 2002-10-13  Mark Wielaard  <mark@klomp.org>
6500
6501         * mauve-libgcj: Enable Mauve tests that compile now.
6502
6503 2002-10-11  Mark Wielaard  <mark@klomp.org>
6504
6505         Fix for PR libgcj/8142
6506         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6507         loading native modules.
6508
6509 2002-10-10  Michael Koch  <konqueror@gmx.de>
6510
6511         * javax/swing/AbstractListModel.java
6512         (getListDataListeners): New stubbed method.
6513         javax/swing/DefaultBoundedRangeModel.java
6514         (getChangeListeners): New stubbed method.
6515         javax/swing/DefaultSingleSelectionModel.java
6516         (getChangeListeners): New stubbed method.
6517
6518 2002-10-10  Michael Koch  <konqueror@gmx.de>
6519
6520         * gcj/.cvsignore: New file to ignore files generated during build.
6521         * include/.cvsignore: New file to ignore files generated during build.
6522
6523 2002-10-10  Michael Koch  <konqueror@gmx.de>
6524
6525         * java/net/HttpURLConnection.java
6526         (getPermission): New method.
6527         (getErrorStream): New stub method.
6528         (getHeaderFieldDate): New stub method.
6529         * java/net/Inet4Address.java:
6530         (isLinkLocalAddress): Typo fixed.
6531         * java/net/InetAddress.java:
6532         (readResolve): New stubbed method (for serialization).
6533         (isAnyLocalAddress): New stubbed method.
6534         (isLoopbackAddress): New stubbed method.
6535         (isLinkLocalAddress): New stubbed method.
6536         (isSiteLocalAddress): New stubbed method.
6537         (isMCGlobal): New stubbed method.
6538         (isMCNodeGlobal): New stubbed method.
6539         (isMCLinkLocal): New stubbed method.
6540         (isMCSiteLocal): New stubbed method.
6541         (isMCOrgLocal): New stubbed method.
6542         (getCanonicalHostName): New stubbed method.
6543         (getByAddress): Create instances of Inet4Address/Inet6Address,
6544         instead of InetAddress, documentation added.
6545         * java/net/MulticastSocket.java
6546         (getInterface): Removed FIXME.
6547         (getNetworkInterface): New method.
6548         (setNetworkInterface): New method.
6549         * java/net/NetworkInterface.java:
6550         (toString): Use property "line.separator" instead of "\n".
6551         * java/net/URLConnection.java
6552         (getContent): New stubbed method.
6553         * java/net/URLStreamHandler.java:
6554         (equals): New stubbed method.
6555         (hostsEqual): New stubbed method.
6556         (hashCode): New stubbed method.
6557         * java/net/natNetworkInterface.cc:
6558         (getRealNetworkInterfaces): Create Inet4Address object
6559         instead of InetAddress.
6560
6561 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6562
6563         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6564         unsigned long temporary to implement insn_iushr shifts.
6565
6566 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6567
6568         * configure.host [s390*-*]: Enable Java interpreter.
6569         Enable hash synchronization.  Add sysdeps dir.
6570         * sysdep/s390/locks.h: New file.
6571
6572 2002-10-06  Mark Wielaard  <mark@klomp.org>
6573
6574         * java/lang/Thread.java (setDaemon): Check startable_flag,
6575         not isAlive().
6576
6577 2002-10-07  Michael Koch  <konqueror@gmx.de>
6578
6579         * java/nio/Buffer.java: New stub file.
6580         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6581         of class Charset.
6582         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6583         * Makefile.in: Regenerated.
6584
6585 2002-10-07  Michael Koch  <konqueror@gmx.de>
6586
6587         * java/nio/ByteBuffer.java:
6588         removed import of not commited class.
6589
6590 2002-10-07  Michael Koch  <konqueror@gmx.de>
6591
6592         * java/nio/ByteBuffer.java,
6593         java/nio/MappedByteBuffer.java:
6594         New files, forgot to add these dummies.
6595         * Makefile.am (java_native_source_files): Added new files.
6596         * Makefile.in: Regenerated.
6597
6598 2002-10-07  Michael Koch  <konqueror@gmx.de>
6599
6600         * java/nio/channels/AlreadyConnectedException.java,
6601         java/nio/channels/ClosedChannelException.java,
6602         java/nio/channels/ReadableByteChannel.java,
6603         java/nio/channels/InterruptibleChannel.java,
6604         java/nio/channels/Channel.java,
6605         java/nio/channels/ByteChannel.java,
6606         java/nio/channels/GatheringByteChannel.java,
6607         java/nio/channels/ScatteringByteChannel.java,
6608         java/nio/channels/WritableByteChannel.java,
6609         java/nio/charset/CharacterCodingException.java,
6610         java/nio/charset/IllegalCharsetNameException.java,
6611         java/nio/charset/MalformedInputException.java,
6612         java/nio/charset/UnmappableCharacterException.java,
6613         java/nio/charset/UnsupportedCharsetException.java,
6614         java/nio/charset/spi/CharsetProvider.java: New file.
6615         These files are exceptions or interfaces,
6616         no real or abstract classes.
6617         * Makefile.am (java_native_source_files): Added new files.
6618         * Makefile.in: Regenerated.
6619
6620 2002-10-05  Michael Koch  <konqueror@gmx.de>
6621
6622         * java/net/InetAddress.java
6623         (getByAddress): Fixed documentation.
6624         (getByAddress): New method.
6625         * java/net/Inet4Address.java: New file.
6626         * java/net/URL.java
6627         (URL): Documentation added.
6628         (getContent): Documentation added.
6629         (getContent): New stubbed method.
6630         (getQuery): New method.
6631         (openConnection): Documentation added.
6632         (openStream): Documentation added.
6633         (setURLStreamHandlerFactory): Documentation added.
6634         * java/net/URI.java: New stub file.
6635         * Makefile.am
6636         (java_native_source_files): Added java/net/Inet4Address.java,
6637         java/net/Inet6Address.java and java/net/URI.java.
6638         * Makefile.in: Regenerated.
6639
6640 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6641
6642         * java/lang/ProtectionDomain.java (linesep): Remove field.
6643         (toString): Use System.getProperty("line.separator").
6644
6645 2002-10-04  Michael Koch  <konqueror@gmx.de>
6646
6647         * java/security/Identity.java: Added serialVersionUID.
6648         * java/security/KeyPair.java: Added serialVersionUID.
6649         * java/security/Provider.java: Added serialVersionUID.
6650         * java/security/SecureRandom.java: Added serialVersionUID.
6651         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6652         * java/security/SignedObject.java: Added serialVersionUID.
6653         * java/security/cert/Certificate.java: Added serialVersionUID.
6654
6655 2002-10-04  Mark Wielaard <mark@klomp.org>
6656
6657         * java/security/Security.java: Use java.home or gnu.classpath.home
6658         to load providers.
6659         (loadProviders): Extra dir argument.
6660         (getProvider): Return null when not found.
6661
6662 2002-10-04  Mark Wielaard  <mark@klomp.org>
6663
6664         * java/lang/Throwable.java: Remerge with Classpath.
6665
6666 2002-10-04  Michael Koch  <konqueror@gmx.de>
6667
6668         * java/net/InetAddress.java:
6669         (isMulticastAddress): Added documentation.
6670         (getHostAddress): Added documentation.
6671         (toString): Added documentation.
6672         (getByAddress): Fixed documentation.
6673         (getByName): Added documentation.
6674         (getAllByName): Added documentation.
6675         (getLocalHost): Added documentation.
6676
6677 2002-10-04  Michael Koch  <konqueror@gmx.de>
6678
6679         * java/beans/beancontext/BeanContextChildSupport.java:
6680         Added serialVersionUID.
6681         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6682         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6683         * javax/naming/Name.java: Added serialVersionUID.
6684
6685 2002-10-03  Adam Megacz <adam@xwt.org>
6686
6687         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6688         some functionality that isn't supported yet on WIN32.
6689
6690 2002-10-03  Tom Tromey  <tromey@redhat.com>
6691
6692         * Makefile.in: Rebuilt.
6693         * Makefile.am (awt_java_source_files): Added new files.
6694
6695 2002-10-03  Michael Koch  <konqueror@gmx.de>
6696
6697         * java/net/InetAddress.java
6698         (class InetAddress): Removed final keyword.
6699         (equals): Fixed typo.
6700         (getByAddress): New method.
6701
6702 2002-10-03  Michael Koch  <konqueror@gmx.de>
6703
6704         * java/awt/dnd/Autoscroll.java:
6705         New file, merge from Classpath.
6706         * java/awt/dnd/DragSourceAdapter.java:
6707         (dragExit): Fixed typos in argument type.
6708         (dragDropEnd): Fixed typos in argument type.
6709         * java/awt/dnd/DragSourceDropEvent.java:
6710         New file, merge from Classpath.
6711         * java/awt/dnd/DropTarget.java:
6712         Added stubs, merge from Classpath.
6713         * java/awt/dnd/DropTargetAdapter.java:
6714         New file, merge from Classpath.
6715         * java/awt/dnd/DropTargetContext.java:
6716         New file, merge from Classpath.
6717         * java/awt/dnd/DropTargetDragEvent.java:
6718         New file, merge from Classpath.
6719         * java/awt/dnd/DropTargetDropEvent.java:
6720         New file, merge from Classpath.
6721         * java/awt/dnd/DropTargetEvent.java:
6722         New file, merge from Classpath.
6723         * java/awt/dnd/DropTargetListener.java:
6724         New file, merge from Classpath.
6725         * java/awt/dnd/MouseDragGestureRecognizer.java:
6726         New file, merge from Classpath.
6727         * java/awt/dnd/peer/DropTargetContextPeer.java:
6728         New file, merge from Classpath.
6729
6730 2002-10-03  Michael Koch  <konqueror@gmx.de>
6731
6732         * java/net/DatagramPacket.java
6733         (setLength): Fixed typo and be HTML-aware.
6734         * java/net/InetSocketAddress.java
6735         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6736         (equals): Added comment about equality of InetSocketAddress objects.
6737         * java/net/ServerSocket.java
6738         (accept): Added checks.
6739         (isClosed): New stubbed method.
6740         * java/net/SocketOptions.java: Reindention.
6741         * java/net/SocketPermission
6742         (SocketPermission): Documentation fixed.
6743
6744 2002-10-03  Michael Koch  <konqueror@gmx.de>
6745
6746         * java/net/DatagramSocket.java
6747         (receive): Check with SecurityManager AFTER the packet is received,
6748         check if connected to multicast address, documentation added.
6749         (send): Only check SecurityManager if connected, check address of
6750         packet to send.
6751         (connect): Implemented, documentation added.
6752         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6753         * java/net/InetSocketAddress.java
6754         (whole file): Reindented.
6755         (hostname): New attribute.
6756         (InetSocketAddress): Initialize new attribute.
6757         (getAddress): Documentation added.
6758         (getHostName): Documentation added.
6759         (getPort): Documentation added.
6760         (hashCode): Documentation added.
6761         (isUnresolved): Documentation added.
6762         (toString): Conform to output of JDK 1.4.1, documentation added.
6763         * java/net/MulticastSocket.java
6764         (joinGroup): Removed FIXME, documentation added.
6765         (leaveGroup): Removed FIXME, documentation added.
6766         (send): Documentation added.
6767         * java/net/Socket.java
6768         (inputShutdown): New variable.
6769         (outputShutdown): New variable.
6770         (Socket): Initialize new variables.
6771         (getRemoteSocketAddress): Check if connected.
6772         (shutdownInput): Set new variable.
6773         (shutdownOutput): Set new variable.
6774         (isConnected): New method.
6775         (isClosed): New method.
6776         (isInputShutdown): New method.
6777         (isOutputShutdown): New method.
6778         * java/net/URLStreamHandler.java
6779         (URLStreamHandler): New method.
6780         (openConnection): Added documentation.
6781         (parseURL): Added documentation.
6782         (getHostAddress): New method.
6783         (getDefaultPort): New method.
6784
6785 2002-10-02  Tom Tromey  <tromey@redhat.com>
6786
6787         * java/rmi/activation/ActivationDesc.java,
6788         java/rmi/activation/ActivationGroupDesc.java,
6789         java/rmi/activation/ActivationGroupID.java,
6790         java/rmi/activation/ActivationID.java: New versions from
6791         Classpath.
6792
6793 2002-09-30  Bo Thorsen  <bo@suse.de>
6794
6795         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6796
6797 2002-09-30  Tom Tromey  <tromey@redhat.com>
6798
6799         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6800         from Classpath.
6801         * Makefile.in: Rebuilt.
6802         * Makefile.am (rmi_java_source_files): Added new files.
6803         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6804         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6805         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6806         Classpath.
6807         * gnu/java/rmi/dgc/DGCImpl.java,
6808         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6809         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6810         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6811         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6812         gnu/java/rmi/server/RMIHashes.java,
6813         gnu/java/rmi/server/RMIObjectInputStream.java,
6814         gnu/java/rmi/server/RMIObjectOutputStream.java,
6815         gnu/java/rmi/server/UnicastConnection.java,
6816         gnu/java/rmi/server/UnicastConnectionManager.java,
6817         gnu/java/rmi/server/UnicastRef.java,
6818         gnu/java/rmi/server/UnicastServer.java,
6819         gnu/java/rmi/server/UnicastServerRef.java,
6820         java/rmi/MarshalledObject.java,
6821         java/rmi/server/RMIClassLoader.java,
6822         java/rmi/server/RemoteObject.java,
6823         java/rmi/server/UnicastRemoteObject.java,
6824         java/security/SecureClassLoader.java: Merged from Classpath.
6825
6826 2002-09-29  Anthony Green  <green@redhat.com>
6827
6828         * java/lang/reflect/UndeclaredThrowableException.java: New file.
6829         Imported from GNU Classpath.
6830         * java/lang/reflect/natProxy.cc: New file.
6831         * java/lang/reflect/InvocationHandler.java: New file.  Imported
6832         from GNU Classpath.
6833         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
6834         Classpath.
6835         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
6836         Classpath.
6837         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
6838         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
6839         New statics.
6840         * gcj/javaprims.h ("Java"): Add new classes.
6841         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
6842         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
6843         java/lang/reflect/Proxy$$ProxyType.h): And this.
6844         (inner_nat_headers): Add these new headers.
6845         (ordinary_java_source_files): Add new files.
6846         (nat_source_files): Add new file.
6847         * Makefile.in: Rebuilt.
6848
6849 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
6850
6851         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
6852         a single configuration.
6853
6854 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6855
6856         * java/util/TimeZone.java (getDSTSavings): New method.
6857         Fixes PR libgcj/7786.
6858
6859 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6860
6861         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
6862         to see if `the_method == 0' before looking up vtable index.
6863         Fixes PR libgcj/7709.
6864
6865 2002-09-25  Tom Tromey  <tromey@redhat.com>
6866
6867         * java/lang/natClassLoader.cc:
6868         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
6869         * resolve.cc: Include NoClassDefFoundError.h, not
6870         ClassNotFoundException.h.
6871         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
6872
6873         * defineclass.cc: Don't include ClassNotFoundException.h.
6874
6875         * resolve.cc: Include StringBuffer.
6876         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
6877
6878         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
6879         allocated but not initialized.
6880
6881 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6882
6883         Fix for PR libgcj/7766:
6884         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
6885         (getNextEntry): Set it.
6886         (closeEntry): Likewise.
6887         (read): Likewise.
6888         (close): Likewise.
6889         (available): Use it.
6890
6891 2002-09-25  Michael Koch  <konqueror@gmx.de>
6892
6893         * java/net/DatagramSocket.java
6894         (DatagramSocket): Initialize new instance variables.
6895         (close): Reset new instance variables.
6896         (getLocalAddress): Remove unneeded SecurityManager usage.
6897         (getLocalPort): Check if socket is already bound.
6898         (isConnected): New method.
6899         (getInetAddress): Implemented.
6900         (getPort): Better Implementation, documentation fixed.
6901         (getRemoteSocketAddress): New method.
6902         * java/net/JarURLConnection.java
6903         (element): Typo fixed.
6904         (getMainAttributes): New method.
6905         (getAttributes): New method (stub only).
6906         (getManifest): New method (stub only).
6907         * java/net/NetPermission.java: Added serialVersionsUID.
6908         * java/net/Socket.java
6909         (connect): Check blocking mode of associated channel,
6910         documentation added.
6911         (getLocalSocketAddress): Better implementation.
6912         (getRemoteSocketAddress): Implemented.
6913         (isBound): New method.
6914         (setSendBufferSize): Documentation added.
6915         * java/net/SocketAddress.java: Added serialVersionsUID.
6916         * java/net/SocketPermission.java: Added serialVersionsUID.
6917         * java/net/URL.java
6918         (URL): Wrap for shorter lines, initialize new instance variables,
6919         documentation added.
6920         (equals): Check new instance variables too.
6921         (getContent): Documentation added.
6922         (getPath): Documentation added.
6923         (getAuthority): New method.
6924         (getHost): Documentation added.
6925         (getPort): Documentation added.
6926         (getDefaultPort): New method.
6927         (getProtocol): Documentation added.
6928         (getUserInfo): Documentation added.
6929         (set): Initialize new instance variables, documentation added.
6930         * java/net/URLStreamHandler.java
6931         (setURL): New method.
6932         * java/net/natPlainDatagramSocketImpl.cc
6933         (connect): Fix exception name.
6934         (disconnect): Fix exception name.
6935
6936 2002-09-25  Michael Koch  <konqueror@gmx.de>
6937
6938         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
6939         * java/nio/channels/DatagramChannel.java:
6940         extends AbstractSelectableChannel
6941         * java/nio/channels/ServerSocketChannel.java:
6942         extends AbstractSelectableChannel
6943         * java/nio/channels/SocketChannel.java:
6944         extends AbstractSelectableChannel
6945         * Makefile.am (ordinary_java_source_files):
6946         java/nio/channels/spi/AbstractSelectableChannel.java added.
6947         * Makefile.in: Regenerated.
6948
6949 2002-09-25  Michael Koch  <konqueror@gmx.de>
6950
6951         * java/net/DatagramSocket.java
6952         (DatagramSocket): Exception documentation added.
6953         (bind): Exception documentation added, addded SecurityManager check,
6954         added SocketAddress type check.
6955         (getSoTimeout): Check impl.
6956         (receive): Fix SecurityManager check, check impl, documentation added.
6957         (send): Check channel mode, documentation added.
6958         (connect): New method.
6959         (disconnect): Implemented.
6960         (getLocalSocketAddress): New method.
6961         (getReceiveBufferSize): Check impl.
6962         (setReuseAddress): Check impl.
6963         (getReuseAddress): Check impl.
6964         (setBroadcast): Check impl.
6965         (getBroadcast): Check impl.
6966         (setTrafficClass): Check impl, Documentation cleared.
6967         (getTrafficClass): Check impl.
6968         (getSendBufferSize): Check impl.
6969         (setReceiveBufferSize): Check impl, documentation added.
6970         (setSendBufferSize): Documentation added.
6971         (setDatagramSocketImplFactory): New method.
6972         * java/net/HttpURLConnection.java
6973         (HTTP_INTERNAL_ERROR): The correct code is 500.
6974         (HTTP_NOT_IMPLEMENTED): Added new constant.
6975         (setFollowRedirects): Documentation added.
6976         (getInstanceFollowRedirects): New method.
6977         (setInstanceFollowRedirects): New method.
6978         (setRequestMethod): Documentation added.
6979         (getResponseCode): Documentation added.
6980         (getResponseMessage): Documentation added.
6981         * java/net/JarURLConnection.java
6982         (JarURLConnection): protected since JDK 1.4.
6983         (getJarEntry): java.io.IOException to IOException, documentation added.
6984         (getJarFile): Documentation added.
6985         * java/net/ServerSocket.java
6986         (ServerSocket): Private to public, exception added.
6987         (ServerSocket): java.io.IOException to IOException, documentation added.
6988         (bind): Check socket address type, documentation added.
6989         (bind): java.io.IOException to IOException, documentation added.
6990         (accept): Documentation added.
6991         (implAccept): Check ch is not non-blocking, documentation added.
6992         (setSoTimeout): Documentation fixed.
6993         (setReceiveBufferSize): Documentation added.
6994         * java/net/Socket.java
6995         (Socket): Documentation added.
6996         (bind): Documentation added.
6997         (connect): Check socket address type, documentation added.
6998         (getRemoteSocketAddress): New method.
6999         (getLocalSocketAddress): New method.
7000         (setSoLinger): Documentation added.
7001         (getReuseAddress): New method.
7002         (setReuseAddress): New method.
7003         (getTrafficClass): New method.
7004         (setTrafficClass): New method.
7005         * java/net/URLStreamHandler.java
7006         (openConnection): java.io.IOException to IOException.
7007         (parseURL): Documentation added.
7008         (sameFile): public to protected, documentation added.
7009         (setURL): Documentation added.
7010         * java/nio/IllegalBlockingModeException.java: New file.
7011         * Makefile.am (ordinary_java_source_files):
7012         added java/nio/IllegalBlockingModeException.java
7013         * Makefile.in: Regenerated.
7014
7015 2002-09-25  Michael Koch  <konqueror@gmx.de>
7016
7017         * java/net/DatagramPacket
7018         (DatagramPacket): Exception documentation added.
7019         (setData): Likewise.
7020         (setSocketAddress): Likewise.
7021         * java/net/DatagramSocketImpl.java
7022         (peek): Documentation addded.
7023         (peekData): Documentation addded.
7024         (send): Documentation addded.
7025         (receive): Documentation addded.
7026         (connect): New method.
7027         (disconnect): New method.
7028         (joinGroup): New abstract method.
7029         (leaveGroup): New abstract method.
7030         * java/net/InetSocketAddress.java
7031         (InetSocketAddress): Documentation added.
7032         (equals): final keyword added.
7033         (getAddress): final keyword added.
7034         (getHostName): final keyword added.
7035         (getPort): final keyword added.
7036         (hashCode): final keyword added.
7037         (isUnresolved): final keyword added.
7038         * java/net/MulticastSocket.java
7039         (MulticastSocket): Documentation added.
7040         (MulticastSocket): New method.
7041         (joinGroup): Documentation added.
7042         (joinGroup): New method.
7043         (leaveGroup): Documentation added.
7044         (leaveGroup): New method.
7045         (send): Documentation added.
7046         * java/net/NetworkInterface.java
7047         (getByName): Documentation added.
7048         (getByInetAddress): Documentation added.
7049         (getNetworkInterfaces): Documentation added.
7050         * java/net/PlainDatagramSocketImpl.java
7051         (connect): New method.
7052         (disconnect): New method.
7053         * java/net/SocketImpl.java
7054         (create): Documentation added.
7055         (shutdownInput): Convert public to protected, as it always was.
7056         (shutdownOutput): Convert public to protected, as it always was.
7057         * java/net/SocketOptions.java
7058         (whole file): Reintented.
7059         * java/net/URLClassLoader.java
7060         (URLClassLoader): SecurityManager check added, documentation added.
7061         (findResources): Documentation added.
7062         (findClass): Documentation added.
7063         (newInstance): More correct method arguments.
7064         * java/net/URLConnection.java
7065         (connect): Documentation added.
7066         (getContent): Documentation added.
7067         (getPermission): Documentation added.
7068         (getInputStream): Documentation added.
7069         (getOutputStream): Documentation added.
7070         (setDoInput): Throw correct exception, documentation added.
7071         (setDoOutput): Throw correct exception, documentation added.
7072         (setAllowUserInteraction): Throw correct exception, documentation added.
7073         (setUseCaches): Throw correct exception, documentation added.
7074         (setIfModifiedSince): Throw correct exception, documentation added.
7075         (setRequestProperty): Throw exception, documentation added.
7076         (addRequestProperty): Throw exception, documentation added.
7077         (getRequestProperty): Throw exception, documentation added.
7078         (getRequestProperties): Documentation added.
7079         (setContentHandlerFactory): Documentation added.
7080         (guessContentTypeFromName): protected to public.
7081         (setFileNameMap): Documentation added.
7082         * java/net/URLDecoder.java
7083         (URLDecoder): New method.
7084         (decode): Documentation added.
7085         (whole file): Reindented.
7086         * java/net/URLEncoder.java
7087         (encode): Documentation added.
7088         * java/net/natPlainDatagramSocketImpl.cc
7089         (connect): New method.
7090         (disconnect): New method.
7091         * javax/naming/RefAddr:
7092         (addrType): addrType was never final.
7093         (equals): Fix typo in method name.
7094         * javax/naming/BinaryRefAddr:
7095         (equals): Fix typo in method name.
7096
7097 2002-09-22  Tom Tromey  <tromey@redhat.com>
7098
7099         Fix for PR libgcj/6576:
7100         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7101         didn't find a given bundle.
7102         (getBundle): Don't require base bundle.
7103         (setParent): Removed old comment.
7104         (tryLocalBundle): Try components even if preceding components were
7105         empty.
7106
7107 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7108
7109         * Makefile.am (all-multi): Fix multilib parallel build.
7110
7111 2002-09-21  Michael Koch  <konqueror@gmx.de>
7112
7113         * java/net/Socket.java
7114         (sendUrgentData): New method.
7115         (getChannel): New method.
7116         * java/net/ServerSocket.java
7117         (getChannel): New method.
7118         (isBound): New method.
7119         * java/net/DatagramSocket.java
7120         (DatagramSocket): Two new methods.
7121         (bind): New method.
7122         (getChannel): New method.
7123         (isBound): New method.
7124         (send): Added newline to to make shorter lines.
7125         * java/net/PlainDatagramSocketImpl.java
7126         (mcastGrp): Added argument.
7127         (join): Use new mcastGrp.
7128         (leave): Use new mcastGrp.
7129         (joinGroup): New method.
7130         (leaveGroup): New method.
7131         * java/net/natPlainDatagramSocketImpl.cc
7132         (mcastGrp): Added argument, no yet really implemented.
7133         (getOption): Added newline for shorter lines.
7134         * java/net/natPlainSocketImpl.cc
7135         (read, setOption, getOption): Added newline for shorter lines.
7136
7137 2002-09-19  Tom Tromey  <tromey@redhat.com>
7138
7139        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7140        newly-created exception.
7141
7142 2002-09-18  Michael Koch  <konqueror@gmx.de>
7143
7144         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7145         java/util/regex/PatternSyntaxException.java:
7146         Merge with classpath, new files.
7147         * Makefile.am (core_java_source_files):
7148         Added java/util/regex/Matcher.java,
7149         java/util/regex/Pattern.java,
7150         java/util/regex/PatternSyntaxException.java
7151         * Makefile.in: Regenerated.
7152         * include/config.h.in: Added HAVE_NET_IF_H.
7153         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7154         Removed #if 0 ... #endif.
7155
7156 2002-09-17  Michael Koch  <konqueror@gmx.de>
7157
7158         * java/net/natNetworkInterface.cc:
7159         Removed unneed and yet wrong includes.
7160
7161 2002-09-17  Michael Koch  <konqueror@gmx.de>
7162
7163         * java/net/NetworkInterface.java: New file.
7164         * java/net/natNetworkInterface.java: New file.
7165         * configure.in: Added check for net/if.h.
7166         * configure: Regenerated.
7167         * Makefile.am
7168         (ordinary_java_source_files): Added NetworkInterface.java.
7169         (nat_source_files): Added natNetworkInterface.cc.
7170         * Makefile.in: Regenerated.
7171
7172 2002-09-16  Tom Tromey  <tromey@redhat.com>
7173
7174         * java/net/URLClassLoader.java (findClass): Code source for a
7175         class from a jar is not necessarily a jar: URL.
7176
7177 2002-09-16  Michael Koch  <konqueror@gmx.de>
7178
7179         * java/lang/AssertionError.java:
7180         Merge with classpath, fixes HTML.
7181         * java/rmi/server/LogStream.java:
7182         Merge with classpath, fixes some constants.
7183         * java/net/server/RemoteServer.java:
7184         Merge with classpath, adds serialVersionUID.
7185         * javax/naming/BinaryRefAddr.java:
7186         Merge with classpath, s/equal/equals/.
7187         * javax/naming/NamingException.java:
7188         Merge with classpath, fixed typo.
7189         * javax/naming/RefAddr.java:
7190         Merge with classpath, s/equal/equals/.
7191         * java/awt/Toolkit.java:
7192         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7193         and typo fixed.
7194
7195 2002-09-15  Adam Megacz <adam@xwt.org>
7196
7197         * java/net/natPlainSocketImpl.cc: fixed typo.
7198
7199 2002-09-15  Adam Megacz <adam@xwt.org>
7200
7201         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7202         which don't work on Win32 (yet).
7203
7204 2002-09-14  Adam Megacz <adam@xwt.org>
7205
7206         * java/net/natPlainDatagramSocket.cc: removed #include
7207         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7208         * include/win32.h: included definition for IP_TOS to satisfy
7209         natPlainDatagramSocket.cc
7210
7211 2002-09-13  Michael Koch  <konqueror@gmx.de>
7212
7213         * java/net/DatagramPacket.java (DatagramPacket):
7214         Added linebreak for 80 chars per line.
7215         * java/net/JarURLConection.java
7216         (getInputStreami, getJarEntry): Likewise.
7217         * java/net/SocketPErmission.java
7218         (SocketPermission class docu, implies): Likewise.
7219         * java/net/URLClassLoader.java (findResources): Likewise.
7220         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7221
7222 2002-09-13  Michael Koch  <konqueror@gmx.de>
7223
7224         * java/nio/channels/DatagramChannel.java,
7225         java/nio/channels/ServerSocketChannel.java
7226         java/nio/channels/SocketChannel.java:
7227         New dummy files to make java.net fully JDK 1.4 compatible
7228         * Makefile.am (ordinary_java_source_files): Added
7229         java/net/DatagramSocketImplFactory.java (long forgotten),
7230         java/nio/SocketChannel.java,
7231         java/nio/ServerSocketChannel.java,
7232         java/nio/DatagramChannel.java
7233         * Makefile.in: Regenrated.
7234
7235 2002-09-12  Michael Koch  <konqueror@gmx.de>
7236
7237         * java/net/DatagramSocketImpl.java
7238         (peekData): New method.
7239         * java/net/PlainDatagramSocketImpl.java
7240         (peekData): New method.
7241         * java/net/natPlainDatagramSocketImpl.cc
7242         (peekData): New method.
7243         * java/net/URLConnection
7244         (getPermission): New method.
7245         (addRequestProperty): New method.
7246         (getRequestProperties): New method.
7247         (guessContentTypeFromStream): New method, not really implemented.
7248         (URLConnection): Added/updated documentation.
7249         (connect): Added/updated documentation.
7250         (getURL): Added/updated documentation.
7251         (getContentLength): Added/updated documentation.
7252         (getContentType: Added/updated documentation.
7253         (getContentEncoding): Added/updated documentation.
7254         (getExpiration): Added/updated documentation.
7255         (getDate): Added/updated documentation.
7256         (getLastModified): Added/updated documentation.
7257         (getHeaderField): Added/updated documentation.
7258         (getHeaderFields): Added/updated documentation.
7259         (getHeaderFieldInt): Added/updated documentation.
7260         (getHeaderFieldDate): Added/updated documentation.
7261         (getHeaderFieldKey): Added/updated documentation.
7262         (getContent): Added/updated documentation.
7263         (getInputStream): Added/updated documentation.
7264         (getOutputStream): Added/updated documentation.
7265         (toString): Added/updated documentation.
7266         (setDoInput): Added/updated documentation.
7267         (getDoInput): Added/updated documentation.
7268         (setDoOutput): Added/updated documentation.
7269         (getDoOutput): Added/updated documentation.
7270         (setAllowUserInteraction): Added/updated documentation.
7271         (getAllowUserInteraction): Added/updated documentation.
7272         (setDefaultAllowUserInteraction): Added/updated documentation.
7273         (getDefaultAllowUserInteraction): Added/updated documentation.
7274         (setUseCaches): Added/updated documentation.
7275         (getUseCaches): Added/updated documentation.
7276         (setIfModifiedSince): Added/updated documentation.
7277         (getIfModifiedSince): Added/updated documentation.
7278         (getDefaultUseCaches): Added/updated documentation.
7279         (setDefaultUseCaches): Added/updated documentation.
7280         (setRequestProperty): Added/updated documentation.
7281         (getRequestProperty): Added/updated documentation.
7282         (setDefaultRequestProperty): Added/updated documentation.
7283         (getDefaultRequestProperty): Added/updated documentation.
7284         (setContentHandlerFactory): Added/updated documentation.
7285         (guessContentTypeFromName): Added/updated documentation.
7286         (getFileNameMap): Added/updated documentation.
7287         (setFileNameMap): Added/updated documentation.
7288
7289 2002-09-11  Michael Koch  <konqueror@gmx.de>
7290
7291         * java/net/Socket.java
7292         (Socket): protected to public (since JDK 1.4). Added @specnote.
7293         (bind): New method.
7294         (connect): Two new methods.
7295         (getKeepalive): Get correct socket option.
7296         (setKeepalive): Set correct socket option.
7297         (getOOBInline): New method.
7298         (setOOBInline): New method.
7299         * java/net/ServerSocket.java
7300         (bind): Two new methods.
7301         (getInetAddress): Reimplemented, catch exception.
7302         (getLocalSocketAddress): New method.
7303         (setReuseAddress): New method.
7304         (getReuseAdress): New method.
7305         (setReceiveBufferSize): New method.
7306         (getReceiveBufferSize): New method.
7307         (toString): Made string JDK 1.4 compliant.
7308
7309 2002-09-10  Michael Koch  <konqueror@gmx.de>
7310
7311         * java/net/SocketImpl.java
7312         (connect): New method.
7313         (supportsUrgentData): New method.
7314         (sendUrgentData): New method.
7315         * java/net/PlainSocketImpl.java
7316         (connect): One new method and two new implementation.
7317         (sendUrgentData): New method.
7318         * java/natPlainSocketImpl.cc
7319         (connect): Arguments changed, added support for timeouts.
7320         (getOption): Another __java_boolean to jboolean.
7321
7322 2002-09-07  Adam Megacz <adam@xwt.org>
7323
7324         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7325         definition of IP_TOS.
7326
7327 2002-09-04  Michael Koch  <konqueror@gmx.de>
7328
7329         * java/net/DatagramSocket.java
7330         (DatagramSocket): Added documentation.
7331         (close): Likewise.
7332         (getLocalAddress): Likewise.
7333         (getLocalPort): Likewise.
7334         (receive): Likewise.
7335         (send): Likewise.
7336         (setSoTimeout): Likewise.
7337         (connect): New method.
7338         (disconnect): New method.
7339         (getInetAddress): New method (FIXME)
7340         (getPort): New method.
7341         (setReuseAddress): New method.
7342         (getReuseAddress): New method.
7343         (setBroadcast): New method.
7344         (getBroadcast): New method.
7345         (setTrafficClass): New method.
7346         (getTrafficClass): New method.
7347         * java/net/MulticastSocket.java):
7348         (getTTL): Added @see in documentation.
7349         (setTTL): Added @see in documentation.
7350         (setLoopbackMode): New method.
7351         (getLoopbackMode): New method.
7352         * java/net/PlainSocketImpl.java:
7353         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7354         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7355         * java/net/PlainDatagramSocketImpl.java
7356         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7357         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7358         * java/net/natPlainSocketImpl.cc
7359         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7360         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7361         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7362         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7363         This should also fix SO_KEEPALIVE
7364         * java/net/natPlainDatagramSocketImpl.cc
7365         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7366         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7367         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7368         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7369
7370 2002-09-04  Michael Koch  <konqueror@gmx.de>
7371
7372         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7373         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7374         IP_MULTICAST_LOOP, IP_TOS
7375
7376 2002-09-03  Tom Tromey  <tromey@redhat.com>
7377
7378         * java/lang/Class.h (_getDeclaredMethod): Declare.
7379         (_getMethod): Now private.
7380         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7381         getDeclaredMethod.  Now returns NULL on failure.
7382         * java/lang/Class.java (_getDeclaredMethod): Declare.
7383         (getDeclaredMethod): No longer native; implements access checks.
7384
7385 2002-09-01  Mark Wielaard  <mark@klomp.org>
7386
7387         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7388         (sanitizeStack): Correctly reset unknown and interpreter counters,
7389         detect interpreter runtime frames.
7390         (demangleInterpreterMethod): New method.
7391         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7392         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7393         filling in addrs[].
7394
7395 2002-09-02  Michael Koch  <konqueror@gmx.de>
7396
7397         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7398         re-indented documentation.
7399
7400 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7401
7402         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7403         public, per 1.4 spec.  Fixes PR libgcj/7785.
7404
7405 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7406
7407         * Makefile.in: Rebuilt.
7408         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7409
7410 2002-08-29  Tom Tromey  <tromey@redhat.com>
7411
7412         * java/net/JarURLConnection.java (getCertificates): New method
7413         from Classpath.
7414         * java/net/URLClassLoader.java (URLClassLoader): Extends
7415         SecureClassLoader.
7416         (definePackage): New method from Classpath.
7417         (getPermissions): Likewise.
7418         (newInstance): Likewise.
7419         (findClass): Construct CodeSource for new class (from Classpath).
7420         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7421         methods.
7422         * java/net/URL.java (getUserInfo): New method.
7423         (set(String,String,int,String,String,String,String,String)): New
7424         method.
7425         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7426         (shutdownInput, shutdownOutput): Declare.
7427         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7428         Define.
7429         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7430         (getOption): Likewise.
7431         (shutdownInput): New method.
7432         (shutdownOutput): Likewise.
7433         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7434         keepalive.
7435         (getOption): Likewise.
7436         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7437         * java/net/Socket.java (setKeepAlive): New method.
7438         (getKeepAlive): Likewise.
7439         (shutdownInput, shutdownOutput): New methods.
7440
7441 2002-08-29  Michael Koch  <konqueror@gmx.de>
7442
7443         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7444         new methods are:
7445         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7446           address),
7447         DatagramPacket(byte[] buf, int length, SocketAddress address),
7448         void setSocketAddress(SocketAddress address)
7449         public SocketAddress getSocketAddress()
7450
7451 2002-08-29  Tom Tromey  <tromey@redhat.com>
7452
7453         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7454         ftruncate is missing.
7455         * configure, include/config.h.in: Rebuilt.
7456         * acconfig.h (HAVE_FTRUNCATE): Mention.
7457         * configure.in: Check for ftruncate.
7458
7459 2002-08-29  Tom Tromey  <tromey@redhat.com>
7460
7461         * include/jvm.h (struct _Jv_frame_info): New structure.
7462         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7463         java-interp.h.
7464         (lookupInterp): New method.
7465         (getAddrAsString): Use _Jv_frame_info.
7466         (dladdrLookup): Likewise.
7467         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7468         interpreted frame.
7469         (lookupInterp): Declare.
7470         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7471         (fillInStackTrace): Collect information on interpreted frames.
7472         Use _Jv_frame_info.
7473         * interpret.cc: Include Thread.h.
7474         (run): Create and push _Jv_MethodChain object.
7475         (_Jv_EndOfInterpreter): New global.
7476         * java/lang/Thread.java (interp_frame): New field.
7477         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7478         Include NameFinder.h.
7479
7480 2002-08-28  Tom Tromey  <tromey@redhat.com>
7481
7482         * java/lang/Class.h: Include Package.h.
7483         (Class::getProtectionDomain): Declare.
7484         (Class::getPackage): Declare.
7485
7486 2002-08-28  Michael Koch <konqueror@gmx.de>
7487
7488         * java/net/InetSocketAddress.java: Added some documentation and argument
7489         checks for the port numbers.
7490         * java/net/DatagramSocketImplFactory.java: New file.
7491
7492 2002-08-28  Michael Koch <konqueror@gmx.de>
7493
7494         * java/net/Authenticator.java: added some documentation.
7495
7496 2002-08-27  Tom Tromey  <tromey@redhat.com>
7497
7498         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7499         class.
7500         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7501
7502 2002-08-27  Michael Koch <konqueror@gmx.de>
7503
7504         * java/net/BindException.java,
7505         java/net/JarURLConnection.java,
7506         java/net/FileNameMap.java,
7507         java/net/HttpURLConnection.java,
7508         java/net/InetSocketAddress.java,
7509         java/net/DatagramPacket.java,
7510         java/net/DatagramSocket.java,
7511         java/net/DatagramSocketImpl.java,
7512         java/net/MulticastSocket.java,
7513         java/net/PasswordAuthentication.java,
7514         java/net/ServerSocket.java,
7515         java/net/Socket.java,
7516         java/net/URLClassLoader.java,
7517         java/net/URLConnection.java: add/update of some @since/@deprecated
7518
7519 2002-08-27  Tony Kimball <alk@pobox.com>
7520             Tom Tromey  <tromey@redhat.com>
7521
7522         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7523         define.
7524         (::close): Removed.
7525         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7526         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7527         (::close): Removed.
7528         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7529         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7530
7531 2002-08-25  Adam Megacz <adam@xwt.org>
7532
7533         * include/win32.h (getcwd): copied function declaration as
7534         temporary fix for header confusion.
7535
7536 2002-08-24  Mark Wielaard <mark@klomp.org>
7537
7538         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7539         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7540         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7541         and natNameFinder.cc.
7542         * Makefile.in: Regenerate.
7543         * prims.cc: Use trace_enabled from VMThrowable.
7544         * name-finder.cc: Removed.
7545         * gcj/javaprims.h: Add class VMThrowable.
7546         * gnu/gcj/runtime/NameFinder.java: New file.
7547         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7548         * include/name-finder.h: Removed.
7549         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7550         method stackTraceString().
7551         (printStackTrace (PrintWriter)): Likewise.
7552         (stackTraceString): Complete rewrite of old printStackTrace using
7553         StringBuffer.
7554         (stackTraceStringBuffer): New helper method for stackTraceString().
7555         (fillInStackTrace): Delegate to VMTrowable.
7556         (getStackTrace): Likewise.
7557         (getStackTrace0): Removed.
7558         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7559         (setStackTrace): Copy given array.
7560         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7561         * java/lang/VMThrowable.java: New class.
7562         * java/lang/natVMThrowable.cc: New file.
7563
7564 2003-08-23  Michael Koch  <konqueror@gmx.de>
7565
7566         * java/net/URLConnection.java,
7567         java/netJarURLConnection.java,
7568         gnu/gcj/protocol/core/Connection.java,
7569         gnu/gcj/protocol/file/Connection.java,
7570         gnu/gcj/protocol/http/Connection.java: Added implementation of
7571         getHeaderFields().
7572
7573 2002-08-22  Tom Tromey  <tromey@redhat.com>
7574
7575         * gij.cc (help): Document -cp and -classpath.
7576         (main): Handle -classpath.
7577
7578 2002-08-21  Tom Tromey  <tromey@redhat.com>
7579
7580         * Makefile.in: Rebuilt.
7581         * Makefile.am (ordinary_java_source_files): Added
7582         SocketAddress.java, InetSocketAddress.java.
7583         * java/net/PortUnreachableException.java: Merged with Classpath.
7584         * java/net/SocketTimeoutException.java: Likewise.
7585         * java/net/URISyntaxException.java: Likewise.
7586         * java/net/SocketAddress.java: New class from Classpath.
7587         * java/net/InetSocketAddress.java: Likewise.
7588
7589 2003-08-21  Michael Koch  <konqueror@gmx.de>
7590
7591         * java/net/Authenticator.java: updated JDK 1.4
7592         * java/net/ContentHandler.java: updated JDK 1.4
7593
7594 2002-08-20  Michael Koch  <konqueror@gmx.de>
7595
7596         * java/net/URISyntaxException.java: New file.
7597         * java/net/SocketTimeoutException.java: New file.
7598         * java/net/PortUnreachableException.java: New file.
7599         * Makefile.am: Updated.
7600         * Makefile.in: Rebuilt.
7601
7602 2002-08-18  Mark Wielaard  <mark@klomp.org>
7603
7604         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7605         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7606         MessageDigestSpi (fixes Classpath bug #783).
7607
7608 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7609
7610         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7611         (startProcess): Allocate path for chdir in async-signal-safe way.
7612
7613 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7614
7615         Fix for PR libgcj/7570 and PR libgcj/7578:
7616         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7617         (startProcess): Handle new `dir' argument.
7618         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7619         argument.
7620         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7621         argument.
7622         (startProcess): Likewise.
7623         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7624         argument.
7625         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7626         (exec): Don't create new environment if ENV==null.  Pass DIR to
7627         execInternal.
7628         * java/lang/natRuntime.cc: Include java/io/File.h.
7629         (execInternal): Added `dir' argument.
7630
7631 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7632
7633         * java/io/RandomAccessFile.java (skipBytes): Return number of
7634         bytes skipped.
7635
7636 2002-08-01  Mark Wielaard  <mark@klomp.org>
7637
7638         Reenable patch since shared library troubles on powerpc are solved:
7639         * gnu/java/security/provider/Gnu.java: Reference all implementation
7640         classes by using Class.getName().
7641         * gnu/java/security/der/DEREncodingException.java,
7642         gnu/java/security/provider/DERReader.java,
7643         gnu/java/security/provider/DERWriter.java,
7644         gnu/java/security/provider/DSAKeyPairGenerator.java,
7645         gnu/java/security/provider/DSAParameterGenerator.java,
7646         gnu/java/security/provider/DSAParameters.java,
7647         gnu/java/security/provider/DSASignature.java,
7648         gnu/java/security/provider/GnuDSAPrivateKey.java,
7649         gnu/java/security/provider/GnuDSAPublicKey.java,
7650         gnu/java/security/provider/MD5.java,
7651         gnu/java/security/util/Prime.java: New classes
7652         * Makefile.am (ordinary_java_source_files): Add above files.
7653         * Makefile.in: Regenerate.
7654         * gnu/java/security/provider/DefaultPolicy.java
7655         (getPermissions): Don't maintain static class variable of Permissions.
7656         * gnu/java/security/provider/SHA.java
7657         (engineUpdate): algorithm change.
7658         (engineDigest): algorithm change.
7659
7660 2002-08-09  Mark Wielaard  <mark@klomp.org>
7661
7662         * java/awt/image/MemoryImageSource.java: Change constructor to take
7663         int[] not byte[].
7664         * java/awt/Graphics2D.java: Uncomment methods that can now be
7665         compiled.
7666         * java/awt/GridBagLayout.java: New stub implementation.
7667         * javax/swing/text/html/HTML.java: Stub implementation.
7668         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7669         implementation.
7670
7671         * Makefile.am: Add new files.
7672         * Makefile.in: Rebuilt.
7673
7674 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7675
7676         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7677         methods in Graphics2D.
7678
7679 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7680
7681         AWT/Swing merge from GNU Classpath.
7682
7683         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7684         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7685         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7686         java/awt/color/ProfileDataException.java,
7687         java/awt/CompositeContext.java, java/awt/Composite.java,
7688         java/awt/ContainerOrderFocusTraversalPolicy.java,
7689         java/awt/datatransfer/FlavorTable.java,
7690         java/awt/DefaultFocusTraversalPolicy.java,
7691         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7692         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7693         java/awt/dnd/DragGestureListener.java,
7694         java/awt/dnd/DragGestureRecognizer.java,
7695         java/awt/dnd/DragSourceAdapter.java,
7696         java/awt/dnd/DragSourceContext.java,
7697         java/awt/dnd/DragSourceDragEvent.java,
7698         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7699         java/awt/dnd/DragSourceListener.java,
7700         java/awt/dnd/DragSourceMotionListener.java,
7701         java/awt/dnd/DropTarget.java,
7702         java/awt/dnd/InvalidDnDOperationException.java,
7703         java/awt/dnd/peer/DragSourceContextPeer.java,
7704         java/awt/event/AWTEventListenerProxy.java,
7705         java/awt/event/MouseWheelEvent.java,
7706         java/awt/event/MouseWheelListener.java,
7707         java/awt/event/WindowFocusListener.java,
7708         java/awt/event/WindowStateListener.java,
7709         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7710         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7711         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7712         java/awt/geom/FlatteningPathIterator.java,
7713         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7714         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7715         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7716         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7717         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7718         java/awt/image/ImagingOpException.java,
7719         java/awt/image/RasterFormatException.java,
7720         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7721         java/awt/image/VolatileImage.java,
7722         java/awt/image/WritableRenderedImage.java,
7723         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7724         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7725         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7726         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7727         java/awt/PageAttributes.java, java/awt/print/Book.java,
7728         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7729         java/awt/print/Paper.java, java/awt/print/Printable.java,
7730         java/awt/print/PrinterAbortException.java,
7731         java/awt/print/PrinterException.java,
7732         java/awt/print/PrinterGraphics.java,
7733         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7734         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7735         java/awt/Stroke.java, java/awt/TexturePaint.java,
7736         javax/accessibility/AccessibleAction.java,
7737         javax/accessibility/AccessibleBundle.java,
7738         javax/accessibility/AccessibleComponent.java,
7739         javax/accessibility/AccessibleContext.java,
7740         javax/accessibility/AccessibleEditableText.java,
7741         javax/accessibility/AccessibleExtendedComponent.java,
7742         javax/accessibility/AccessibleExtendedTable.java,
7743         javax/accessibility/AccessibleHyperlink.java,
7744         javax/accessibility/AccessibleHypertext.java,
7745         javax/accessibility/AccessibleIcon.java,
7746         javax/accessibility/Accessible.java,
7747         javax/accessibility/AccessibleKeyBinding.java,
7748         javax/accessibility/AccessibleRelation.java,
7749         javax/accessibility/AccessibleRelationSet.java,
7750         javax/accessibility/AccessibleResourceBundle.java,
7751         javax/accessibility/AccessibleRole.java,
7752         javax/accessibility/AccessibleSelection.java,
7753         javax/accessibility/AccessibleState.java,
7754         javax/accessibility/AccessibleStateSet.java,
7755         javax/accessibility/AccessibleTable.java,
7756         javax/accessibility/AccessibleTableModelChange.java,
7757         javax/accessibility/AccessibleText.java,
7758         javax/accessibility/AccessibleValue.java,
7759         javax/swing/AbstractAction.java,
7760         javax/swing/AbstractButton.java,
7761         javax/swing/AbstractCellEditor.java,
7762         javax/swing/AbstractListModel.java,
7763         javax/swing/AbstractSet.java, javax/swing/Action.java,
7764         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7765         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7766         javax/swing/border/CompoundBorder.java,
7767         javax/swing/border/EmptyBorder.java,
7768         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7769         javax/swing/border/LineBorder.java,
7770         javax/swing/border/MatteBorder.java,
7771         javax/swing/border/TitledBorder.java,
7772         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7773         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7774         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7775         javax/swing/CellRendererPane.java,
7776         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7777         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7778         javax/swing/colorchooser/ColorSelectionModel.java,
7779         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7780         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7781         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7782         javax/swing/DefaultBoundedRangeModel.java,
7783         javax/swing/DefaultButtonModel.java,
7784         javax/swing/DefaultCellEditor.java,
7785         javax/swing/DefaultCellRenderer.java,
7786         javax/swing/DefaultComboBoxModel.java,
7787         javax/swing/DefaultDesktopManager.java,
7788         javax/swing/DefaultFocusManager.java,
7789         javax/swing/DefaultListCellRenderer.java,
7790         javax/swing/DefaultListModel.java,
7791         javax/swing/DefaultListSelectionModel.java,
7792         javax/swing/DefaultSingleSelectionModel.java,
7793         javax/swing/DesktopManager.java,
7794         javax/swing/event/AncestorEvent.java,
7795         javax/swing/event/AncestorListener.java,
7796         javax/swing/event/CaretEvent.java,
7797         javax/swing/event/CaretListener.java,
7798         javax/swing/event/CellEditorListener.java,
7799         javax/swing/event/ChangeEvent.java,
7800         javax/swing/event/ChangeListener.java,
7801         javax/swing/event/DocumentEvent.java,
7802         javax/swing/event/DocumentListener.java,
7803         javax/swing/event/EventListenerList.java,
7804         javax/swing/event/HyperlinkEvent.java,
7805         javax/swing/event/HyperlinkListener.java,
7806         javax/swing/event/InternalFrameAdapter.java,
7807         javax/swing/event/InternalFrameEvent.java,
7808         javax/swing/event/InternalFrameListener.java,
7809         javax/swing/event/ListDataEvent.java,
7810         javax/swing/event/ListDataListener.java,
7811         javax/swing/event/ListSelectionEvent.java,
7812         javax/swing/event/ListSelectionListener.java,
7813         javax/swing/event/MenuDragMouseEvent.java,
7814         javax/swing/event/MenuDragMouseListener.java,
7815         javax/swing/event/MenuEvent.java,
7816         javax/swing/event/MenuKeyEvent.java,
7817         javax/swing/event/MenuKeyListener.java,
7818         javax/swing/event/MenuListener.java,
7819         javax/swing/event/MouseInputAdapter.java,
7820         javax/swing/event/MouseInputListener.java,
7821         javax/swing/event/PopupMenuEvent.java,
7822         javax/swing/event/PopupMenuListener.java,
7823         javax/swing/event/SwingPropertyChangeSupport.java,
7824         javax/swing/event/TableColumnModelEvent.java,
7825         javax/swing/event/TableColumnModelListener.java,
7826         javax/swing/event/TableModelEvent.java,
7827         javax/swing/event/TableModelListener.java,
7828         javax/swing/event/TreeExpansionEvent.java,
7829         javax/swing/event/TreeExpansionListener.java,
7830         javax/swing/event/TreeModelEvent.java,
7831         javax/swing/event/TreeModelListener.java,
7832         javax/swing/event/TreeSelectionEvent.java,
7833         javax/swing/event/TreeSelectionListener.java,
7834         javax/swing/event/TreeWillExpandListener.java,
7835         javax/swing/event/UndoableEditEvent.java,
7836         javax/swing/event/UndoableEditListener.java,
7837         javax/swing/filechooser/FileFilter.java,
7838         javax/swing/filechooser/FileSystemView.java,
7839         javax/swing/filechooser/FileView.java,
7840         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
7841         javax/swing/Icon.java, javax/swing/ImageIcon.java,
7842         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
7843         javax/swing/JApplet.java, javax/swing/JButton.java,
7844         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7845         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7846         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
7847         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
7848         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
7849         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
7850         javax/swing/JLayeredPane.java, javax/swing/JList.java,
7851         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
7852         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
7853         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
7854         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
7855         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
7856         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
7857         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
7858         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
7859         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
7860         javax/swing/JTextField.java, javax/swing/JTextPane.java,
7861         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
7862         javax/swing/JToolTip.java, javax/swing/JTree.java,
7863         javax/swing/JViewport.java, javax/swing/JWindow.java,
7864         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
7865         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
7866         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
7867         javax/swing/MenuSelectionManager.java,
7868         javax/swing/MutableComboBoxModel.java,
7869         javax/swing/OverlayLayout.java,
7870         javax/swing/plaf/ActionMapUIResource.java,
7871         javax/swing/plaf/basic/BasicBorders.java,
7872         javax/swing/plaf/basic/BasicButtonUI.java,
7873         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7874         javax/swing/plaf/basic/BasicDefaults.java,
7875         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7876         javax/swing/plaf/basic/BasicIconFactory.java,
7877         javax/swing/plaf/basic/BasicLabelUI.java,
7878         javax/swing/plaf/basic/BasicListUI.java,
7879         javax/swing/plaf/basic/BasicLookAndFeel.java,
7880         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7881         javax/swing/plaf/basic/BasicPanelUI.java,
7882         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7883         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7884         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7885         javax/swing/plaf/basic/BasicTextUI.java,
7886         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7887         javax/swing/plaf/basic/BasicTreeUI.java,
7888         javax/swing/plaf/basic/BasicViewportUI.java,
7889         javax/swing/plaf/BorderUIResource.java,
7890         javax/swing/plaf/ButtonUI.java,
7891         javax/swing/plaf/ColorChooserUI.java,
7892         javax/swing/plaf/ColorUIResource.java,
7893         javax/swing/plaf/ComboBoxUI.java,
7894         javax/swing/plaf/ComponentInputMapUIResource.java,
7895         javax/swing/plaf/ComponentUI.java,
7896         javax/swing/plaf/DesktopIconUI.java,
7897         javax/swing/plaf/DesktopPaneUI.java,
7898         javax/swing/plaf/DimensionUIResource.java,
7899         javax/swing/plaf/FileChooserUI.java,
7900         javax/swing/plaf/FontUIResource.java,
7901         javax/swing/plaf/IconUIResource.java,
7902         javax/swing/plaf/InputMapUIResource.java,
7903         javax/swing/plaf/InsetsUIResource.java,
7904         javax/swing/plaf/InternalFrameUI.java,
7905         javax/swing/plaf/LabelUI.java,
7906         javax/swing/plaf/ListUI.java,
7907         javax/swing/plaf/MenuBarUI.java,
7908         javax/swing/plaf/MenuItemUI.java,
7909         javax/swing/plaf/OptionPaneUI.java,
7910         javax/swing/plaf/PanelUI.java,
7911         javax/swing/plaf/PopupMenuUI.java,
7912         javax/swing/plaf/ProgressBarUI.java,
7913         javax/swing/plaf/RootPaneUI.java,
7914         javax/swing/plaf/ScrollBarUI.java,
7915         javax/swing/plaf/ScrollPaneUI.java,
7916         javax/swing/plaf/SeparatorUI.java,
7917         javax/swing/plaf/SliderUI.java,
7918         javax/swing/plaf/SplitPaneUI.java,
7919         javax/swing/plaf/TabbedPaneUI.java,
7920         javax/swing/plaf/TableHeaderUI.java,
7921         javax/swing/plaf/TableUI.java,
7922         javax/swing/plaf/TextUI.java,
7923         javax/swing/plaf/ToolBarUI.java,
7924         javax/swing/plaf/ToolTipUI.java,
7925         javax/swing/plaf/TreeUI.java,
7926         javax/swing/plaf/UIResource.java,
7927         javax/swing/plaf/ViewportUI.java,
7928         javax/swing/ProgressMonitorInputStream.java,
7929         javax/swing/ProgressMonitor.java,
7930         javax/swing/Renderer.java,
7931         javax/swing/RepaintManager.java,
7932         javax/swing/RootPaneContainer.java,
7933         javax/swing/Scrollable.java,
7934         javax/swing/ScrollPaneConstants.java,
7935         javax/swing/ScrollPaneLayout.java,
7936         javax/swing/SingleSelectionModel.java,
7937         javax/swing/SizeRequirements.java,
7938         javax/swing/SizeSequence.java,
7939         javax/swing/SwingConstants.java,
7940         javax/swing/SwingUtilities.java,
7941         javax/swing/table/AbstractTableModel.java,
7942         javax/swing/table/DefaultTableCellRenderer.java,
7943         javax/swing/table/DefaultTableColumnModel.java,
7944         javax/swing/table/DefaultTableModel.java,
7945         javax/swing/table/TableCellEditor.java,
7946         javax/swing/table/TableCellRenderer.java,
7947         javax/swing/table/TableColumn.java,
7948         javax/swing/table/TableColumnModel.java,
7949         javax/swing/table/TableModel.java,
7950         javax/swing/text/AbstractDocument.java,
7951         javax/swing/text/AttributeSet.java,
7952         javax/swing/text/BadLocationException.java,
7953         javax/swing/text/Caret.java,
7954         javax/swing/text/CharacterIterator.java,
7955         javax/swing/text/ComponentView.java,
7956         javax/swing/text/DefaultCaret.java,
7957         javax/swing/text/DefaultEditorKit.java,
7958         javax/swing/text/Document.java,
7959         javax/swing/text/EditorKit.java,
7960         javax/swing/text/Element.java,
7961         javax/swing/text/GapContent.java,
7962         javax/swing/text/JTextComponent.java,
7963         javax/swing/text/Keymap.java,
7964         javax/swing/text/MutableAttributeSet.java,
7965         javax/swing/text/PlainDocument.java,
7966         javax/swing/text/PlainEditorKit.java,
7967         javax/swing/text/Position.java,
7968         javax/swing/text/Segment.java,
7969         javax/swing/text/StyledDocument.java,
7970         javax/swing/text/StyledEditorKit.java,
7971         javax/swing/text/Style.java,
7972         javax/swing/text/TextAction.java,
7973         javax/swing/text/ViewFactory.java,
7974         javax/swing/text/View.java,
7975         javax/swing/Timer.java,
7976         javax/swing/ToggleButtonModel.java,
7977         javax/swing/ToolTipManager.java,
7978         javax/swing/tree/AbstractLayoutCache.java,
7979         javax/swing/tree/DefaultMutableTreeNode.java,
7980         javax/swing/tree/DefaultTreeCellEditor.java,
7981         javax/swing/tree/DefaultTreeCellRenderer.java,
7982         javax/swing/tree/DefaultTreeModel.java,
7983         javax/swing/tree/DefaultTreeSelectionModel.java,
7984         javax/swing/tree/ExpandVetoException.java,
7985         javax/swing/tree/FixedHeightLayoutCache.java,
7986         javax/swing/tree/MutableTreeNode.java,
7987         javax/swing/tree/RowMapper.java,
7988         javax/swing/tree/TreeCellEditor.java,
7989         javax/swing/tree/TreeCellRenderer.java,
7990         javax/swing/tree/TreeModel.java,
7991         javax/swing/tree/TreeNode.java,
7992         javax/swing/tree/TreePath.java,
7993         javax/swing/tree/TreeSelectionModel.java,
7994         javax/swing/tree/VariableHeightLayoutCache.java,
7995         javax/swing/UIDefaults.java,
7996         javax/swing/UIManager.java,
7997         javax/swing/undo/AbstractUndoableEdit.java,
7998         javax/swing/undo/CannotRedoException.java,
7999         javax/swing/undo/CannotUndoException.java,
8000         javax/swing/undo/CompoundEdit.java,
8001         javax/swing/undo/StateEditable.java,
8002         javax/swing/undo/StateEdit.java,
8003         javax/swing/undo/UndoableEdit.java,
8004         javax/swing/undo/UndoableEditSupport.java,
8005         javax/swing/undo/UndoManager.java,
8006         javax/swing/UnsupportedLookAndFeelException.java,
8007         javax/swing/ViewportLayout.java,
8008         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8009
8010         * java/awt/ActiveEvent.java,
8011         java/awt/Adjustable.java, java/awt/AWTError.java,
8012         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8013         java/awt/AWTException.java, java/awt/AWTPermission.java,
8014         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8015         java/awt/Color.java, java/awt/Component.java,
8016         java/awt/ComponentOrientation.java, java/awt/Container.java,
8017         java/awt/datatransfer/MimeTypeParseException.java,
8018         java/awt/datatransfer/Transferable.java,
8019         java/awt/datatransfer/UnsupportedFlavorException.java,
8020         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8021         java/awt/event/ActionListener.java,
8022         java/awt/event/AdjustmentEvent.java,
8023         java/awt/event/AdjustmentListener.java,
8024         java/awt/event/AWTEventListener.java,
8025         java/awt/event/ComponentAdapter.java,
8026         java/awt/event/ComponentEvent.java,
8027         java/awt/event/ComponentListener.java,
8028         java/awt/event/ContainerAdapter.java,
8029         java/awt/event/ContainerEvent.java,
8030         java/awt/event/ContainerListener.java,
8031         java/awt/event/FocusAdapter.java,
8032         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8033         java/awt/event/HierarchyBoundsAdapter.java,
8034         java/awt/event/HierarchyBoundsListener.java,
8035         java/awt/event/HierarchyEvent.java,
8036         java/awt/event/HierarchyListener.java,
8037         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8038         java/awt/event/InputMethodListener.java,
8039         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8040         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8041         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8042         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8043         java/awt/event/MouseListener.java,
8044         java/awt/event/MouseMotionAdapter.java,
8045         java/awt/event/MouseMotionListener.java,
8046         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8047         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8048         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8049         java/awt/event/WindowListener.java, java/awt/Font.java,
8050         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8051         java/awt/geom/Ellipse2D.java,
8052         java/awt/geom/IllegalPathStateException.java,
8053         java/awt/geom/Line2D.java,
8054         java/awt/geom/NoninvertibleTransformException.java,
8055         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8056         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8057         java/awt/geom/RoundRectangle2D.java,
8058         java/awt/GraphicsConfiguration.java,
8059         java/awt/IllegalComponentStateException.java,
8060         java/awt/image/IndexColorModel.java,
8061         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8062         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8063         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8064         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8065         java/awt/MenuItem.java, java/awt/PaintContext.java,
8066         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8067         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8068         java/awt/PrintJob.java, java/awt/Rectangle.java,
8069         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8070         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8071         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8072
8073         * java/awt/im/spi/InputMethod.java,
8074         java/awt/im/spi/InputMethodContext.java,
8075         java/awt/im/spi/InputMethodDescriptor.java,
8076         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8077         java/awt/image/renderable/ParameterBlock.java,
8078         java/awt/image/renderable/RenderContext.java,
8079         java/awt/image/renderable/RenderableImage.java,
8080         java/awt/image/renderable/RenderableImageOp.java,
8081         java/awt/image/renderable/RenderableImageProducer.java,
8082         java/awt/image/renderable/RenderedImageFactory.java: New files from
8083         classpath.
8084
8085         * gnu/java/awt/EventModifier.java,
8086         gnu/java/awt/image/ImageDecoder.java,
8087         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8088
8089         * gnu/awt/xlib/XGraphicsConfiguration.java,
8090         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8091         API.
8092
8093         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8094         GNU Classpath.
8095
8096         * Makefile.am: Add new files.
8097         * Makefile.in: Rebuilt.
8098
8099 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8100
8101         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8102         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8103         findResource, getResources, findResources): Add javadoc from classpath.
8104         (getSystemResources): Implemented.
8105
8106 2002-08-01  Mark Wielaard  <mark@klomp.org>
8107
8108         Revert patch that breaks libgcj shared library on powerpc:
8109         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8110         implementation classes by using Class.getName(). Uses Strings again.
8111         * gnu/java/security/der/DEREncodingException.java,
8112         gnu/java/security/provider/DERReader.java,
8113         gnu/java/security/provider/DERWriter.java,
8114         gnu/java/security/provider/DSAKeyPairGenerator.java,
8115         gnu/java/security/provider/DSAParameterGenerator.java,
8116         gnu/java/security/provider/DSAParameters.java,
8117         gnu/java/security/provider/DSASignature.java,
8118         gnu/java/security/provider/GnuDSAPrivateKey.java,
8119         gnu/java/security/provider/GnuDSAPublicKey.java,
8120         gnu/java/security/provider/MD5.java,
8121         gnu/java/security/util/Prime.java: Removed.
8122         * Makefile.am (ordinary_java_source_files): Remove above files.
8123         * Makefile.in: Regenerate.
8124         * gnu/java/security/provider/DefaultPolicy.java
8125         (getPermissions): Revert to maintaining static class variable of
8126         Permissions.
8127         * gnu/java/security/provider/SHA.java
8128         (engineUpdate): Revert algorithm change.
8129         (engineDigest): Revert algorithm change.
8130
8131 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8132
8133         * configure.host: Add SH support.
8134         * sysdep/sh/locks.h: New file.
8135
8136 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8137
8138         * java/awt/Frame.java (Frame): Remove println calls.
8139
8140 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8141
8142         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8143         * configure: Rebuilt.
8144
8145 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8146
8147         * sysdep/powerpc/locks.h: Formatting.
8148         (_LARX): Define.
8149         (_STCX): Define.
8150         (compare_and_swap): Use _LARX and _STCX.
8151         (compare_and_swap_release): Likewise.
8152
8153 2002-07-26  Tom Tromey  <tromey@redhat.com>
8154
8155         * java/net/Authenticator.java: New version from Classpath.
8156         * java/net/DatagramSocketImpl.java: New version from Classpath.
8157
8158 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8159
8160         * configure.host: Add powerpc64*-* entry.
8161
8162 2002-07-26  Tom Tromey  <tromey@redhat.com>
8163
8164         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8165         fcntl.h.
8166
8167 2002-07-24  Tom Tromey  <tromey@redhat.com>
8168
8169         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8170         argument to _load.
8171
8172 2002-07-24  Tom Tromey  <tromey@redhat.com>
8173             Tony Kimball <alk@pobox.com>
8174
8175         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8176         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8177         * java/io/RandomAccessFile.java (setLength): New method.
8178         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8179         * java/io/FileDescriptor.java (setLength): New method.
8180
8181 2002-07-24  Mark Wielaard  <mark@klomp.org>
8182
8183         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8184         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8185         field call setAccessible(true).
8186         (setByteField): Likewise.
8187         (setCharField): Likewise.
8188         (setDoubleField): Likewise.
8189         (setFloatField): Likewise.
8190         (setIntField): Likewise.
8191         (setLongField): Likewise.
8192         (setShortField): Likewise.
8193         (setObjectField): Likewise.
8194
8195 2002-07-24  Tom Tromey  <tromey@redhat.com>
8196
8197         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8198         use toString() to format array element.
8199
8200 2002-07-23  Mark Wielaard  <mark@klomp.org>
8201
8202         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8203         MessageDigestSpi (fixes Classpath bug #783).
8204
8205 2002-07-21  Mark Wielaard  <mark@klomp.org>
8206
8207         * gnu/java/security/provider/Gnu.java: Reference all implementation
8208         classes by using Class.getName().
8209
8210 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8211
8212         * java/lang/ieeefp.h: Add x86-64 support.
8213         * configure.in: Likewise.
8214         * configure.host: Likewise.
8215         * configure: Regenerated.
8216         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8217
8218 2002-07-16  Mark Wielaard  <mark@klomp.org>
8219
8220         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8221         (whitespaceChars): call resetChar().
8222
8223 2002-07-15  Tom Tromey  <tromey@redhat.com>
8224
8225         * Makefile.in: Rebuilt.
8226         * Makefile.am (awt_java_source_files): Added new files.
8227         * java/beans/ExceptionListener.java: Merged with Classpath.
8228         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8229         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8230         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8231         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8232         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8233         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8234         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8235
8236 2002-07-14  Mark Wielaard  <mark@klomp.org>
8237
8238         * gnu/java/security/der/DEREncodingException.java,
8239         gnu/java/security/provider/DERReader.java,
8240         gnu/java/security/provider/DERWriter.java,
8241         gnu/java/security/provider/DSAKeyPairGenerator.java,
8242         gnu/java/security/provider/DSAParameterGenerator.java,
8243         gnu/java/security/provider/DSAParameters.java,
8244         gnu/java/security/provider/DSASignature.java,
8245         gnu/java/security/provider/GnuDSAPrivateKey.java,
8246         gnu/java/security/provider/GnuDSAPublicKey.java,
8247         gnu/java/security/provider/MD5.java,
8248         gnu/java/security/util/Prime.java: New files from Classpath.
8249         * Makefile.am (ordinary_java_source_files): Add new files.
8250         * Makefile.in: Regenerate.
8251
8252 2002-07-14  C. Brian Jones <cbj@gnu.org>
8253
8254         * gnu/java/security/provider/DefaultPolicy.java
8255         (getPermissions): do not maintain static class variable of
8256         Permissions
8257         * gnu/java/security/provider/SHA.java
8258         (engineUpdate): algorithm change
8259         (engineDigest): algorithm change
8260
8261 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8262
8263         For PR libgcj/7292:
8264         * java/lang/Character.java (toString(char)): Now static.
8265
8266 2002-07-12  Mark Wielaard  <mark@klomp.org>
8267
8268         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8269         (getStackTrace0): new method.
8270         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8271         (printStackTrace(PrintWriter)): replace with pure java implementation.
8272         (printRawStackTrace): removed.
8273         (getStackTrace0): new method.
8274         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8275         * gcj/javaprims.h: regenerate class list.
8276         * include/name-finder.h (lookup): new returns StackTraceElement*.
8277         (method_name, file_name): fields removed.
8278         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8279         (~_Jv_name_finder): close new descriptors.
8280         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8281         (createStackTraceElement): new method.
8282         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8283
8284 2002-07-10  Tom Tromey  <tromey@redhat.com>
8285
8286         * configure: Rebuilt.
8287         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8288
8289 2002-07-08  Mark Wielaard  <mark@klomp.org>
8290
8291         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8292         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8293         java.sql.DatabaseMetaData.TestJdbc20
8294
8295 2002-07-05  Tony Kimball  <alk@pobox.com>
8296
8297         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8298
8299 2002-07-04  Tom Tromey  <tromey@redhat.com>
8300             Jeff Sturm  <jsturm@one-point.com>
8301
8302         Fix for PR libgcj/7060:
8303         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8304         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8305         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8306         * java/lang/Class.java (getMethod): New Java implementation;
8307         complies with spec.
8308         (_getMethod): New native method.
8309
8310 2002-07-02  Tom Tromey  <tromey@redhat.com>
8311             David Hovemeyer  <daveho@cs.umd.edu>
8312
8313         * java/text/ChoiceFormat.java
8314         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8315         in check loop.
8316         * java/text/MessageFormat.java
8317         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8318         to MessageFormat.
8319
8320 2002-07-01  Tom Tromey  <tromey@redhat.com>
8321
8322         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8323         StringTokenizer on null string.  For PR libgcj/7180.
8324         From daveho@cs.umd.edu.
8325
8326 2002-06-24  Tom Tromey  <tromey@redhat.com>
8327
8328         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8329         (IntegerClass): Likewise.
8330         * java/lang/natClass.cc (CloneableClass): Removed.
8331         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8332         ConstructorClass): Likewise.
8333         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8334         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8335         SerializableClass): Likewise.
8336         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8337         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8338         LongClass, FloatClass, DoubleClass): Likewise.
8339
8340         * verify.cc (branch_prepass): Updated for change to exception
8341         handler type.
8342         (verify_instructions_0): Likewise.
8343         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8344         (handleExceptionTableEntry): Updated for change to exception
8345         handler type.
8346         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8347         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8348         (union _Jv_InterpPC): New.
8349         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8350         (class _Jv_InterpMethod): Added new `prepared' field.
8351         (class _Jv_InterpMethod): Added `compile' method.  Removed
8352         `continue1' and `find_exception'.  Changed arguments to `run'.
8353         * interpret.cc (union insn_slot): New.
8354         (find_exception): Removed.
8355         (run_normal): Removed most logic.
8356         (run_synch_object): Likewise; also, use JvSynchronize.
8357         (run_synch_class): Likewise.
8358         (run): Removed.
8359         (continue1): Renamed as `run'.  Compile bytecode if required.
8360         Add new code to allow refinement of direct-threaded code at
8361         runtime.  Handle exceptions.
8362         (SAVE_PC): Removed.
8363         (compile): New method.
8364         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8365         (NULLARRAYCHECK): Don't use SAVE_PC.
8366         (pc_t): New typedef.
8367         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8368         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8369
8370 2002-06-23  Tom Tromey  <tromey@redhat.com>
8371
8372         * configure: Rebuilt.
8373         * configure.in (INTERPRETER): New subst.
8374         (AM_RUNTESTFLAGS): Don't subst.
8375
8376         * Makefile.in: Rebuilt.
8377         * Makefile.am ($(srcdir)/java/lang/Object.h,
8378         $(srcdir)/java/lang/Class.h): Added dummy targets.
8379
8380 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8381
8382         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8383
8384         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8385         java/sql/Savepoint.java: New files.
8386         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8387         java/sql/Blob.java, java/sql/CallableStatement.java,
8388         java/sql/Clob.java, java/sql/Connection.java,
8389         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8390         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8391         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8392         java/sql/Ref.java, java/sql/ResultSet.java,
8393         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8394         java/sql/SQLException.java, java/sql/SQLInput.java,
8395         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8396         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8397         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8398         (JDK 1.4) specification.
8399         * javax/sql/ConnectionEvent.java,
8400         javax/sql/ConnectionEventListener.java,
8401         javax/sql/ConnectionPoolDataSource.java,
8402         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8403         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8404         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8405         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8406         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8407         javax/sql/XADataSource.java: New files.
8408         * Makefile.am: Add new files.
8409         * Makefile.in: Rebuilt.
8410
8411 2002-06-20  Tom Tromey  <tromey@redhat.com>
8412
8413         For PR libgcj/7073:
8414         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8415         exists.
8416         * defineclass.cc (handleClassBegin): Superclass for interface is
8417         `null'.
8418
8419 2002-06-18  Tom Tromey  <tromey@redhat.com>
8420
8421         * gcj/javaprims.h: Updated class declaration list.
8422         * Makefile.in: Rebuilt.
8423         * Makefile.am (core_java_source_files): Removed
8424         BasicMapEntry.java.
8425         * java/util/BasicMapEntry.java: Removed.
8426
8427 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8428
8429         * java/net/natPlainDatagramSocketImpl.cc (receive):
8430         Check bounds of argument to FD_SET.
8431         (setOption): Throw exception if socket is closed.
8432
8433         * java/net/natPlainSocketImpl.cc (accept, read):
8434         Check bounds of argument to FD_SET.
8435         (setOption): Throw exception if socket is closed.
8436
8437 2002-06-18  Tom Tromey  <tromey@redhat.com>
8438
8439         * gcj/javaprims.h: Updated class declaration list.
8440         * Makefile.in: Rebuilt.
8441         * Makefile.am (core_java_source_files): Added
8442         PropertyPermissionCollection.java.
8443         * java/lang/Thread.java (group, name): Now package-private.
8444         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8445         * java/util/AbstractList.java: Likewise.
8446         * java/util/AbstractMap.java: Likewise.
8447         * java/util/Calendar.java: Likewise.
8448         * java/util/Collections.java: Likewise.
8449         * java/util/HashMap.java: Likewise.
8450         * java/util/Hashtable.java: Likewise.
8451         * java/util/LinkedHashMap.java: Likewise.
8452         * java/util/LinkedList.java: Likewise.
8453         * java/util/List.java: Likewise.
8454         * java/util/ListResourceBundle.java: Likewise.
8455         * java/util/Map.java: Likewise.
8456         * java/util/Observable.java: Likewise.
8457         * java/util/Properties.java: Likewise.
8458         * java/util/PropertyPermission.java: Likewise.
8459         * java/util/PropertyPermissionCollection.java: Likewise.
8460         * java/util/PropertyResourceBundle.java: Likewise.
8461         * java/util/Random.java: Likewise.
8462         * java/util/SimpleTimeZone.java: Likewise.
8463         * java/util/StringTokenizer.java: Likewise.
8464         * java/util/TimerTask.java: Likewise.
8465         * java/util/TreeMap.java: Likewise.
8466         * java/util/WeakHashMap.java: Likewise.
8467         * java/util/jar/Attributes.java: Likewise.
8468         * java/util/jar/JarException.java: Likewise.
8469         * java/util/jar/Manifest.java: Likewise.
8470
8471 2002-06-17  Tom Tromey  <tromey@redhat.com>
8472
8473         * gcj/javaprims.h: Updated class declaration list.
8474         * Makefile.in: Rebuilt.
8475         * Makefile.am (core_java_source_files): Added new file.
8476         * java/util/EventListenerProxy.java: New file.
8477         * java/util/EventListener.java: Re-merge with Classpath.
8478         * java/util/EventObject.java: Re-merge with Classpath.
8479
8480 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8481
8482         * java/lang/ClassNotFoundException.java: New Classpath version.
8483
8484 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8485
8486         * java/rmi/activation/ActivateFailedException.java: Remerge from
8487         Classpath version.
8488         * java/rmi/activation/ActivationException.java: Ditto.
8489         * java/rmi/activation/UnknownGroupException.java: Ditto.
8490         * java/rmi/activation/UnknownObjectException.java: Ditto.
8491         * java/rmi/server/ExportException: Ditto.
8492         * java/rmi/server/ServerCloneException: Ditto.
8493         * java/rmi/server/ServerNotActiveException: Ditto.
8494         * java/rmi/server/SkeletonMismatchException: Ditto.
8495         * java/rmi/server/SkeletonNotFoundException: Ditto.
8496         * java/rmi/server/SocketSecurityException: Ditto.
8497
8498 2002-06-16  Tom Tromey  <tromey@redhat.com>
8499
8500         * gcj/javaprims.h: Updated class declaration list.
8501
8502         * java/io/LineNumberInputStream.java: Merged with Classpath.
8503
8504         * java/lang/RuntimeException.java: Re-merge with Classpath.
8505         * java/util/ArrayList.java: Likewise.
8506         * java/util/Arrays.java: Likewise.
8507         * java/util/BitSet.java: Likewise.
8508         * java/util/Dictionary.java: Likewise.
8509         * java/util/IdentityHashMap.java: Likewise.
8510         * java/util/MissingResourceException.java: Likewise.
8511         * java/util/Observer.java: Likewise.
8512         * java/util/TooManyListenersException.java: Likewise.
8513         * java/util/zip/DataFormatException.java: Likewise.
8514         * java/util/zip/ZipException.java: Likewise.
8515
8516 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8517
8518         * java/rmi/AccessException.java: Remerge from Classpath.
8519         * java/rmi/AlreadyBoundException.java: Ditto.
8520         * java/rmi/ConnectException.java: Ditto.
8521         * java/rmi/ConnectIOException.java: Ditto.
8522         * java/rmi/MarshalException.java: Ditto.
8523         * java/rmi/NoSuchObjectException.java: Ditto.
8524         * java/rmi/NotBoundException.java: Ditto.
8525         * java/rmi/RemoteException.java: Ditto.
8526         * java/rmi/RMISecurityException.java: Ditto.
8527         * java/rmi/ServerError.java: Ditto.
8528         * java/rmi/ServerException.java: Ditto.
8529         * java/rmi/ServerRuntimeException.java: Ditto.
8530         * java/rmi/StubNotFoundException.java: Ditto.
8531         * java/rmi/UnexpectedExcpetion.java: Ditto.
8532         * java/rmi/UnknownHostException.java: Ditto.
8533         * java/rmi/UnmarshalException.java: Ditto.
8534
8535 2002-06-15  Tom Tromey  <tromey@redhat.com>
8536
8537         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8538         * java/lang/ArithmeticException.java: Likewise.
8539         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8540         * java/lang/ArrayStoreException.java: Likewise.
8541         * java/lang/Byte.java: Likewise.
8542         * java/lang/CharSequence.java: Likewise.
8543         * java/lang/ClassCastException.java: Likewise.
8544         * java/lang/ClassCircularityError.java: Likewise.
8545         * java/lang/ClassFormatError.java: Likewise.
8546         * java/lang/CloneNotSupportedException.java: Likewise.
8547         * java/lang/Cloneable.java: Likewise.
8548         * java/lang/Comparable.java: Likewise.
8549         * java/lang/Compiler.java: Likewise.
8550         * java/lang/Error.java: Likewise.
8551         * java/lang/ExceptionInInitializerError.java: Likewise.
8552         * java/lang/IllegalAccessError.java: Likewise.
8553         * java/lang/IllegalAccessException.java: Likewise.
8554         * java/lang/IllegalArgumentException.java: Likewise.
8555         * java/lang/IllegalMonitorStateException.java: Likewise.
8556         * java/lang/IllegalStateException.java: Likewise.
8557         * java/lang/IllegalThreadStateException.java: Likewise.
8558         * java/lang/IncompatibleClassChangeError.java: Likewise.
8559         * java/lang/IndexOutOfBoundsException.java: Likewise.
8560         * java/lang/InheritableThreadLocal.java: Likewise.
8561         * java/lang/InstantiationError.java: Likewise.
8562         * java/lang/InstantiationException.java: Likewise.
8563         * java/lang/InternalError.java: Likewise.
8564         * java/lang/InterruptedException.java: Likewise.
8565         * java/lang/LinkageError.java: Likewise.
8566         * java/lang/NegativeArraySizeException.java: Likewise.
8567         * java/lang/NoClassDefFoundError.java: Likewise.
8568         * java/lang/NoSuchFieldError.java: Likewise.
8569         * java/lang/NoSuchFieldException.java: Likewise.
8570         * java/lang/NoSuchMethodError.java: Likewise.
8571         * java/lang/NoSuchMethodException.java: Likewise.
8572         * java/lang/NullPointerException.java: Likewise.
8573         * java/lang/NumberFormatException.java: Likewise.
8574         * java/lang/OutOfMemoryError.java: Likewise.
8575         * java/lang/Process.java: Likewise.
8576         * java/lang/Runnable.java: Likewise.
8577         * java/lang/RuntimePermission.java: Likewise.
8578         * java/lang/SecurityException.java: Likewise.
8579         * java/lang/Short.java: Likewise.
8580         * java/lang/StackOverflowError.java: Likewise.
8581         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8582         * java/lang/ThreadDeath.java: Likewise.
8583         * java/lang/ThreadLocal.java: Likewise.
8584         * java/lang/UnknownError.java: Likewise.
8585         * java/lang/UnsatisfiedLinkError.java: Likewise.
8586         * java/lang/UnsupportedClassVersionError.java: Likewise.
8587         * java/lang/UnsupportedOperationException.java: Likewise.
8588         * java/lang/VerifyError.java: Likewise.
8589         * java/lang/VirtualMachineError.java: Likewise.
8590         * java/lang/reflect/InvocationTargetException.java: Likewise.
8591         * java/net/BindException.java: Likewise.
8592         * java/net/ConnectException.java: Likewise.
8593         * java/net/MalformedURLException.java: Likewise.
8594         * java/net/NoRouteToHostException.java: Likewise.
8595         * java/net/ProtocolException.java: Likewise.
8596         * java/net/SocketException.java: Likewise.
8597         * java/net/UnknownHostException.java: Likewise.
8598         * java/net/UnknownServiceException.java: Likewise.
8599
8600         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8601         * java/io/CharConversionException.java: Likewise.
8602         * java/io/EOFException.java: Likewise.
8603         * java/io/FileNotFoundException.java: Likewise.
8604         * java/io/IOException.java: Likewise.
8605         * java/io/InterruptedIOException.java: Likewise.
8606         * java/io/InvalidClassException.java: Likewise.
8607         * java/io/InvalidObjectException.java: Likewise.
8608         * java/io/NotActiveException.java: Likewise.
8609         * java/io/NotSerializableException.java: Likewise.
8610         * java/io/ObjectStreamException.java: Likewise.
8611         * java/io/ObjectStreamConstants.java: Likewise.
8612         * java/io/OptionalDataException.java: Likewise.
8613         * java/io/PipedInputStream.java: Likewise.
8614         * java/io/PushbackInputStream.java: Likewise.
8615         * java/io/StreamCorruptedException.java: Likewise.
8616         * java/io/SyncFailedException.java: Likewise.
8617         * java/io/UTFDataFormatException.java: Likewise.
8618         * java/io/UnsupportedEncodingException.java: Likewise.
8619         * java/io/WriteAbortedException.java: Likewise.
8620
8621 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8622
8623         * java/text/ChoiceFormat.java: Update comments from Classpath.
8624         * java/text/ParseException.java (serialVersionUID): New
8625         field from Classpath.
8626         * java/text/ParseException.java: Update formatting & comments
8627         from Classpath.
8628
8629 2002-06-15  Tom Tromey  <tromey@redhat.com>
8630
8631         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8632         been read but none output by inflater.
8633         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8634         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8635         is_finished.
8636         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8637         version.
8638         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8639         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8640         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8641         version.
8642         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8643
8644 2002-06-13  Tom Tromey  <tromey@redhat.com>
8645
8646         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8647         true and OFFSET!=0.
8648         * java/lang/String.java (String(char[],int,int,boolean): New
8649         constructor.
8650         * java/lang/Long.java: Imported new version from Classpath.
8651         * java/lang/Number.java: Likewise.
8652         * java/lang/Integer.java: Likewise.
8653         * java/lang/Long.java: Likewise.
8654         * java/lang/Float.java: Likewise.
8655         * java/lang/Boolean.java: Likewise.
8656         * java/lang/Double.java: Likewise.
8657         * java/lang/Void.java: Likewise.
8658
8659 2002-06-12  Tom Tromey  <tromey@redhat.com>
8660
8661         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8662         Fixes PR libgcj/6652.
8663
8664 2002-06-10  Tom Tromey  <tromey@redhat.com>
8665
8666         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8667         (Class::getPackagePortion): Likewise.
8668         * java/lang/Class.java (desiredAssertionStatus): New method from
8669         Classpath.
8670         (getPackagePortion): Likewise.
8671         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8672         packageAssertionStatus, classAssertionStatus): New methods from
8673         Classpath.
8674         * java/lang/ClassLoader.java (defaultAssertionStatus,
8675         systemPackageAssertionStatus, packageAssertionStatus,
8676         systemClassAssertionStatus, classAssertionStatus): New fields from
8677         Classpath.
8678         (setDefaultAssertionStatus, setPackageAssertionStatus,
8679         setClassAssertionStatus, clearAssertionStatus): New methods from
8680         Classpath.
8681         * Makefile.in: Rebuilt.
8682         * Makefile.am (core_java_source_files): Added AssertionError.java.
8683         * java/lang/AssertionError.java: New from Classpath.
8684
8685 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8686
8687         * configure.host: Disable hash synchronization and slow_pthread_self
8688         for cygwin.
8689
8690 2002-06-06  Adam Megacz <adam@xwt.org>
8691
8692         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8693         locking, just like the Sun JVM does.
8694
8695 2002-06-05  H.J. Lu  (hjl@gnu.org)
8696
8697         * Makefile.am (libgcj_convenience.la): Revert the last change.
8698         (libgcj.la): Likewise.
8699         * Makefile.in: Regenerated.
8700
8701 2002-06-04  H.J. Lu  (hjl@gnu.org)
8702
8703         * Makefile.am (libgcj_convenience.la): New target.
8704         (libgcj.la): Depend on libgcj_convenience.la.
8705         * Makefile.in: Regenerated.
8706
8707 2002-06-04  H.J. Lu  (hjl@gnu.org)
8708
8709         * configure.in (--with-newlib): New option:
8710         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8711         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8712         Linux.
8713         * configure: Regenerated.
8714
8715 2002-06-04  Tom Tromey  <tromey@redhat.com>
8716
8717         * java/util/natTimeZone.cc: Include <stdio.h>.
8718
8719 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8720
8721         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8722         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8723         Set SIGNAL_HANDLER=include/s390-linux.h.
8724         * configure: Regenerate.
8725         * include/s390-linux.h: New file.
8726
8727 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8728
8729         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8730         not "stackTrace".
8731
8732 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8733
8734         Merge JDK 1.4 java.security changes from classpath.
8735
8736         * java/security/AccessControlException.java: Merge from Classpath.
8737         * java/security/AccessController.java: Likewise.
8738         * java/security/AllPermission.java: Likewise.
8739         * java/security/BasicPermission.java: Likewise.
8740         * java/security/Certificate.java: Likewise.
8741         * java/security/CodeSource.java: Likewise.
8742         * java/security/DigestException.java: Likewise.
8743         * java/security/DigestOutputStream.java: Likewise.
8744         * java/security/DomainCombiner.java: Likewise.
8745         * java/security/GeneralSecurityException.java: Likewise.
8746         * java/security/Guard.java: Likewise.
8747         * java/security/GuardedObject.java: Likewise.
8748         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8749         * java/security/InvalidKeyException.java: Likewise.
8750         * java/security/InvalidParameterException.java: Likewise.
8751         * java/security/Key.java: Likewise.
8752         * java/security/KeyException.java: Likewise.
8753         * java/security/KeyManagementException.java: Likewise.
8754         * java/security/KeyStoreException.java: Likewise.
8755         * java/security/MessageDigest.java: Likewise.
8756         * java/security/NoSuchAlgorithmException.java: Likewise.
8757         * java/security/NoSuchProviderException.java: Likewise.
8758         * java/security/Permission.java: Likewise.
8759         * java/security/PermissionCollection.java: Likewise.
8760         * java/security/Permissions.java: Likewise.
8761         * java/security/Policy.java: Likewise.
8762         * java/security/Principal.java: Likewise.
8763         * java/security/PrivateKey.java: Likewise.
8764         * java/security/PrivilegedAction.java: Likewise.
8765         * java/security/PrivilegedActionException.java: Likewise.
8766         * java/security/PrivilegedExceptionAction.java: Likewise.
8767         * java/security/ProtectionDomain.java: Likewise.
8768         * java/security/ProviderException.java: Likewise.
8769         * java/security/PublicKey.java: Likewise.
8770         * java/security/SecureClassLoader.java: Likewise.
8771         * java/security/SecurityPermission.java: Likewise.
8772         * java/security/SignatureException.java: Likewise.
8773         * java/security/UnrecoverableKeyException.java: Likewise.
8774         * java/security/UnresolvedPermission.java: Likewise.
8775         * java/security/acl/AclNotFoundException.java: Likewise.
8776         * java/security/acl/LastOwnerException.java: Likewise.
8777         * java/security/acl/NotOwnerException.java: Likewise.
8778         * java/security/cert/CRLException.java: Likewise.
8779         * java/security/cert/CertificateEncodingException.java: Likewise.
8780         * java/security/cert/CertificateException.java: Likewise.
8781         * java/security/cert/CertificateExpiredException.java: Likewise.
8782         * java/security/cert/CertificateFactory.java: Likewise.
8783         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8784         * java/security/cert/CertificateParsingException.java: Likewise.
8785         * java/security/spec/InvalidKeySpecException.java: Likewise.
8786         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8787
8788         * java/security/cert/CertPath.java: New file.
8789         * java/security/cert/CertPathBuilderException.java: New file.
8790         * java/security/cert/CertPathValidatorException.java: New file.
8791         * java/security/cert/CertStoreException.java: New file.
8792
8793         * Makefile.am: Add new CertPath classes.
8794         * Makefile.in: Rebuilt.
8795
8796         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8797
8798 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8799
8800         Merge JDK 1.4 exception chaining support from classpath.
8801
8802         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8803         (stackTraceBytes): Rename from stackTrace.
8804         * java/lang/Exception.java: Merge from classpath.
8805         * java/lang/StackTraceElement: New file from classpath.
8806         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8807         * Makefile.am: Add StackTraceElement.
8808         * Makefile.in: Rebuilt.
8809
8810 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8811
8812         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8813         they build first.
8814         * Makefile.in: Rebuilt.
8815
8816 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8817
8818         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
8819         * configure.in: Likewise.
8820         * aclocal.m4: Regenerate.
8821         * configure: Regenerate.
8822
8823 2002-05-13  Tom Tromey  <tromey@redhat.com>
8824
8825         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
8826         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
8827         Include platform.h.
8828
8829         Fixes PR libgcj/6389:
8830         * Makefile.in: Rebuilt.
8831         * Makefile.am (nat_source_files): Added natTimeZone.cc.
8832         * java/util/natTimeZone.cc: New file.
8833         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
8834         * java/lang/System.java: Merged with Classpath.
8835         * java/lang/Runtime.java: Merged with Classpath.
8836         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
8837         security check.
8838         (setIn0): Renamed from setIn; don't run security check.
8839         (setOut0): Renamed from setOut; don't run security check.
8840         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
8841         init_properties): Moved to natRuntime.cc.
8842         Moved many includes to natRuntime.cc.
8843         (isWordsBigEndian): New method.
8844         * java/lang/natRuntime.cc: Include Long.h, also other includes
8845         previously in natSystem.cc.
8846         (maxMemory): New function.
8847         (exitInternal): Renamed from `_exit'.
8848         (exit): Removed.
8849         (init): Don't set finalize_on_exit.
8850         (exitInternal): Use `finalizeOnExit'.
8851         (file_encoding, getpwuid_adaptor): New functions from
8852         natSystem.cc.
8853         (insertSystemProperties): New method, renamed from
8854         System::init_properties.  Don't set user.timezone.
8855         (_load): Don't call checkLink.
8856         (execInternal): New method.
8857         (availableProcessors): Likewise.
8858         (nativeGetLibname): Likewise.
8859
8860 2002-05-11  Mark Wielaard  <mark@klomp.org>
8861
8862         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
8863         space characters.
8864         (previous_internal): Likewise.
8865
8866 2002-05-09  Tom Tromey  <tromey@redhat.com>
8867
8868         * jni.cc (_Jv_JNIFunctions): Fixed typo.
8869
8870         * java/util/ResourceBundle.java: New version from Classpath.
8871         * java/util/Locale.java: Likewise.
8872
8873 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
8874
8875         * testsuite/lib/libjava.exp (libjava_arguments): Append all
8876         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
8877         LD_LIBRARY_PATH.
8878
8879 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
8880
8881         * libjava/Makefile.am (all_java_source_files): New variable.
8882         (all_java_class_files): Likewise.
8883         .java.class: New rule.
8884         (CLEANFILES): Remove tmp-list.
8885         * libjava/Makefile.in: Regenerated.
8886
8887 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
8888
8889         * testsuite/lib/libjava.exp (test_libjava_from_javac):
8890         Append .exe to executable names.  Fix for cygwin.
8891
8892 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
8893
8894         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
8895         script entry, and set LD to it when configuring multilibs.
8896         * configure: Rebuilt.
8897
8898 2002-05-07  Tom Tromey  <tromey@redhat.com>
8899
8900         * java/lang/natString.cc (unintern): Fixed typo.
8901
8902 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8903
8904         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
8905         with -no-install on *-*-cygwin*.
8906
8907 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8908
8909         * testsuite/lib/libjava.exp (test_libjava_from_source):
8910         Add comment explaining last patch
8911
8912 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
8913
8914         * testsuite/lib/libjava.exp (test_libjava_from_source):
8915         Append .exe to executable names.  If no suffix is present,
8916         then ".exe" is added by default on win32.  Harmless
8917         elsewhere so always do it.
8918
8919 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
8920             Tom Tromey  <tromey@redhat.com>
8921
8922         * java/lang/natSystem.cc (getSystemTimeZone): Use
8923         HAVE_UNDERSCORE_TIMEZONE.
8924         * include/config.h.in: Rebuilt.
8925         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
8926         * aclocal.m4, configure: Rebuilt.
8927         * acinclude.m4: Run AC_EXEEXT.
8928         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
8929         Add test for `_timezone'.
8930
8931 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
8932
8933         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8934         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
8935         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
8936         * Makefile.in: Rebuilt.
8937
8938 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
8939
8940         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
8941         use sigaction instead of __libc_sigaction.
8942
8943 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8944
8945         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
8946         (libjava_init): Use it to find libgcj.spec.
8947         (libjava_arguments): Likewise.
8948
8949 2002-05-02  David S. Miller  <davem@redhat.com>
8950
8951         PR bootstrap/6525
8952         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
8953         __libc_sigaction on Sparc.
8954
8955 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
8956
8957         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
8958         sys/filio.h, if present.
8959
8960 2002-04-30  Tom Tromey  <tromey@redhat.com>
8961
8962         * java/io/BufferedReader.java (fill): Handle case where markPos
8963         point to ignored \n.  Fixes PR libgcj/6301.
8964
8965 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
8966
8967         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
8968
8969 2002-04-29  Adam King <aking@dreammechanics.com>
8970
8971         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
8972         of file in APPEND mode.
8973
8974 2002-04-25  David S. Miller  <davem@redhat.com>
8975
8976         PR target/6422
8977         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
8978         program counter to next program counter minus 8.  Update
8979         comments in this macro to explain why.
8980
8981 2002-04-26  Tom Tromey  <tromey@redhat.com>
8982
8983         * verify.cc (construct_primitive_array_type) [void_type]: New
8984         case.
8985         (branch_prepass): Added dummy entries for unused instruction
8986         values.
8987         (verify_instructions_0): Likewise.
8988         * interpret.cc (continue1): Comment fix.
8989         * include/java-insns.h (op_xxxunusedxxx1): Removed.
8990         * Makefile.in: Rebuilt.
8991         * Makefile.am: Added -Wswitch-enum.
8992
8993 2002-04-24  Tom Tromey  <tromey@redhat.com>
8994
8995         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
8996         correct length of UTF-8 encoded name.  Strip leading `/'.
8997         (_Jv_RegisterResource): Use _Jv_Malloc.
8998
8999 2002-04-23  Adam Megacz <adam@xwt.org>
9000
9001         * win32.cc, include/win32.cc (backtrace): Added this function
9002         because Win32 does not supply it.
9003
9004 2002-04-21  David S. Miller  <davem@redhat.com>
9005
9006         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9007         magic instruction reading sequence.
9008
9009 2002-04-21  Mark Wielaard  <mark@klomp.org>
9010
9011         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9012
9013 2002-04-19  David S. Miller  <davem@redhat.com>
9014
9015         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9016         arg.
9017         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9018         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9019         on Sparc too.
9020         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9021         for 64-bit sparc.
9022         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9023         * sysdeps/sparc/locks.h: New file.
9024         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9025         on all sparc Solaris configurations.  Set to
9026         include/dwarf2-signal.h on sparc Linux.
9027         * configure: Regenerate
9028         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9029
9030 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9031
9032         * configure: Rebuilt.
9033         * configure.in (backtrace): Function doesn't work on IA-64.
9034
9035 2002-04-17  Adam King <aking@dreammechanics.com>
9036
9037         * java/io/File.java (normalizePath): Add Win32 support for auto
9038         conversion of a '/' path separator to Win32's '\' separator.
9039
9040 2002-04-16  Tom Tromey  <tromey@redhat.com>
9041
9042         Fix for PR libgcj/6081:
9043         * Makefile.in: Rebuilt.
9044         * Makefile.am (install-data-local): Use GNU make trick to avoid
9045         shell limit.
9046
9047 2002-04-16  Adam King <aking@dreammechanics.com>
9048             Tom Tromey  <tromey@redhat.com>
9049
9050         * java/io/natFileWin32.cc (performList): Return the correct array
9051         type.  Don't duplicate the creation of a File since it's already
9052         done earlier in the method and the existing code would cause a
9053         ArrayStoreException.  Don't use fixed-size array.
9054         (_access, _stat, attr, getCanonicalPath, performMkdir,
9055         performRenameTo): Don't use fixed-size array.
9056         (getCanonicalPath): Use throw, not _Jv_Throw.
9057
9058 2002-04-15  DJ Delorie  <dj@redhat.com>
9059
9060         * configure.in: Allow building in $srcdir.
9061         * configure: Regenerated.
9062
9063 2002-04-14  Mark Wielaard <mark@klomp.org>
9064
9065         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9066         * java/net/natSocketImpl.cc (close): Likewise.
9067
9068 2002-04-14  Mark Wielaard <mark@klomp.org>
9069
9070         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9071
9072 2002-04-13  Adam King <aking@dreammechanics.com>
9073
9074         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9075         the f/F/d/D modifiers.
9076
9077 2002-04-12  Anthony Green  <green@redhat.com>
9078
9079         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9080         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9081         * Makefile.in: Rebuilt.
9082         * configure.in: Substitute gcc_version.
9083         * configure: Rebuilt.
9084
9085 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9086
9087         * configure.host: Set can_unwind_signal on hosts which support it.
9088         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9089         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9090         exceptions and can_unwind_signal isn't set.
9091         * configure: Rebuilt.
9092
9093 2002-04-11  Tom Tromey  <tromey@redhat.com>
9094
9095         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9096
9097 2002-04-11  Adam King <aking@dreammechanics.com>
9098             Tom Tromey  <tromey@redhat.com>
9099
9100         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9101         _Jv_ThrowNullPointerException): Mark as noreturn.
9102         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9103         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9104         fixes.
9105
9106 2002-04-10  Tom Tromey  <tromey@redhat.com>
9107
9108         * Makefile.in: Rebuilt.
9109         * Makefile.am (java/lang/Thread.h): Mark
9110         _Jv_AttachCurrentThreadAsDaemon as friend.
9111         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9112         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9113         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9114         function.
9115         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9116         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9117         (_Jv_JNI_InvokeFunctions): Added
9118         _Jv_JNI_AttachCurrentThreadAsDaemon.
9119         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9120         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9121         (JNI_CreateJavaVM): Likewise.
9122         (_Jv_JNI_AttachCurrentThread): Likewise.
9123         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9124         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9125         (_Jv_JNIFunctions): Initialize new fields.
9126         (_Jv_JNI_NewDirectByteBuffer): New function.
9127         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9128         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9129         * include/jni.h (JNI_VERSION_1_4): New macro.
9130         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9131         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9132         (JNINativeInterface::NewDirectByteBuffer): New field.
9133         (JNINativeInterface::GetDirectBufferAddress): New field.
9134         (JNINativeInterface::GetDirectBufferCapacity): New field.
9135         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9136         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9137         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9138
9139 2002-04-09  Tom Tromey  <tromey@redhat.com>
9140
9141         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9142
9143 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9144
9145         Fix for PR libgcj/6187:
9146         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9147         distance.
9148
9149 2002-04-07  Mark Wielaard <mark@klomp.org>
9150
9151         * java/util/AbstractMap.java (putAll): Use entrySet size.
9152         (toString): Explicitly use getKey() and getValue().
9153
9154 2002-04-07  Mark Wielaard <mark@klomp.org>
9155
9156         * java/util/Hashtable.java (contains): Remove NullPointer check.
9157         (containsValue): Add NullPointer check.
9158         (remove): Always throw NullPointerException when key
9159         is null.
9160
9161 2002-04-07  Adam King <aking@dreammechanics.com>
9162
9163         * java/lang/natSystem.cc (init_properties): Call new function
9164         _Jv_platform_initProperties.
9165         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9166         support for the System properties os.name, os.arch, os.version,
9167         user.name, user.home, and user.dir.
9168         * include/posix.h, include/win32.h, posix.cc: New function
9169         _Jv_platform_initProperties.
9170
9171 2002-04-06  Mark Wielaard <mark@klomp.org>
9172
9173         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9174
9175 2002-04-06  Mark Wielaard <mark@klomp.org>
9176
9177         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9178         all of the remaining elements.
9179         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9180         (removeRange): If toIndex == fromIndex do
9181         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9182         (removeAll): Always throw NullPointerException when collection is
9183         null.
9184         (retrainAll): Likewise.
9185
9186 2002-04-05  Mark Wielaard <mark@klomp.org>
9187
9188         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9189         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9190
9191 2002-04-05  Adam Megacz <adam@xwt.org>
9192
9193         * exception.cc (abort): added static modifier
9194
9195 2002-04-04  Adam Megacz <adam@xwt.org>
9196
9197         * include/win32.h (_Jv_platform_close_on_exec): added inline
9198         modifier.
9199
9200 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9201
9202         * configure.host: Add case statement to support generic port
9203         properties.  Add *-*-freebsd* section.
9204
9205 2002-04-04  Mark Wielaard  <mark@klomp.org>
9206
9207         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9208         test.
9209         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9210         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9211         that depend on awt code and BufferedByteOutputStream.interrupt.
9212
9213 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9214
9215         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9216         incorrect "hi" value when count > 40.
9217
9218 2002-04-03  Mark Wielaard  <mark@klomp.org>
9219
9220         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9221         ordering.
9222
9223 2002-04-02  Tom Tromey  <tromey@redhat.com>
9224
9225         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9226         not `0'.
9227
9228 2002-04-02  Mark Wielaard  <mark@klomp.org>
9229
9230         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9231         list of testsuite crashers.
9232
9233 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9234
9235         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9236         when resizing table.
9237
9238 2002-04-01  Mark Wielaard  <mark@klomp.org>
9239
9240         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9241         NegativeArraySizeException
9242         (clear(int)): Use sign extended shift.
9243         (flip(int)): Likewise.
9244         (get(int)): Likewise.
9245         (nextClearBit(int)): Likewise.
9246         (nextSetBit(int)): Likewise.
9247         (set(int)): Likewise.
9248
9249 2002-04-01  Mark Wielaard  <mark@klomp.org>
9250
9251         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9252         that can be compiled now and add testsuite crashers to ignore list.
9253
9254 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9255
9256         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9257
9258         * libgcj.spec.in: Override libgcc, not lib.
9259         * libgcj-test.spec.in: Likewise.
9260
9261 2002-03-29  Tom Tromey  <tromey@redhat.com>
9262
9263         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9264         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9265
9266 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9267
9268         * java/net/PlainDatagramSocketImpl.java
9269         (close): Use native implementation.
9270         (finalize): New method.
9271
9272         * java/net/PlainSocketImpl.java (finalize): New method.
9273
9274         * java/net/natPlainDatagramSocketImpl.cc
9275         (java/io/FileDescriptor.h): Don't include.
9276         (close): Implement method here.
9277         (create): Don't assign fd.
9278
9279         * java/net/natPlainSocketImpl.cc
9280         (java/io/FileDescriptor.h): Don't include.
9281         (create): Don't assign fd.
9282         (accept): Likewise.
9283         (close): Synchronize.
9284
9285 2002-03-27  Richard Henderson  <rth@redhat.com>
9286
9287         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9288
9289 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9290
9291         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9292         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9293         instead of syscall on IA-64.
9294         Add FIXME comment.
9295
9296 2002-03-27  Anthony Green  <green@redhat.com>
9297
9298         * libgcj.spec.in: Add CHECKREFSPEC.
9299         * configure.in: Ditto.
9300         * configure.host: Ditto.  Check references for xscale-elf.
9301         * configure: Rebuilt.
9302
9303 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9304
9305         * include/dwarf2-signal.h: Temporarily back out last change.
9306
9307 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9308
9309         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9310
9311 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9312
9313         * configure.in, configure: enable dwarf2-exception-style
9314         exception handling on IA-64.
9315         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9316         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9317         Add FIXME comment.
9318
9319 2002-03-25  Tom Tromey  <tromey@redhat.com>
9320
9321         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9322         (jv_convert_LDFLAGS): Likewise.
9323         (gij_LDFLAGS): Likewise.
9324         (rmic_LDFLAGS): Likewise.
9325         (rmiregistry_LDFLAGS): Likewise.
9326         * configure.in (THREADLDFLAGS): New subst; set correctly for
9327         *BSD.
9328
9329 2002-03-25  Tom Tromey  <tromey@redhat.com>
9330
9331         For PR libgcj/5303:
9332         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9333         and --version.
9334         (help): New method.
9335         (version): Likewise.
9336         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9337         "GNU".
9338         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9339         "GNU".
9340
9341 2002-03-25  Tom Tromey  <tromey@redhat.com>
9342
9343         * java/awt/Component.java (processEvent): Check ComponentEvent
9344         after KeyEvent.
9345
9346 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9347
9348         * java/io/PushbackReader.java: Reformat.
9349
9350         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9351         calculate correct number of bytes skipped.
9352
9353         Based on patch from Intel's ORP team:
9354         * java/io/PushbackInputStream.java (available): Calculate correct
9355         number of bytes in buffer.
9356         (read): Remove redundant bound check. Return bytes from both the
9357         buffer and the stream.
9358
9359 2002-03-24  Tom Tromey  <tromey@redhat.com>
9360
9361         * java/awt/TextComponent.java (TextComponent): Editable by
9362         default.
9363
9364         * java/awt/MenuItem.java (eventMask): No longer private.
9365         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9366         superclass if we didn't handle event.
9367         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9368         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9369         * java/awt/Choice.java (dispatchEventImpl): New method.
9370         * java/awt/List.java (dispatchEventImpl): New method.
9371         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9372         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9373         * java/awt/TextField.java (dispatchEventImpl): New method.
9374
9375 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9376
9377         * java/beans/IntrospectionException.java: Update to 1.4.
9378         * java/beans/PropertyVetoException.java: Ditto.
9379
9380 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9381
9382         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9383         Arrays.equals instead of ArrayHelper.equalsArray.
9384
9385 2002-03-24  C. Brian Jones <cbj@gnu.org>
9386
9387         * java/beans/Introspector.java: added new static final fields
9388         introduced in 1.2, lots of other updates remain to be done
9389
9390 2002-03-24  C. Brian Jones <cbj@gnu.org>
9391
9392         * java/beans/Introspector.java: reformatting
9393
9394 2002-03-24  C. Brian Jones <cbj@gnu.org>
9395
9396         * java/beans/Introspector.java: default beanInfoSearchPath will
9397         not include sun.beans.infos given we provide no such package and
9398         the API doesn't really require it; gnu.java.beans.info is the
9399         default.
9400
9401 2002-03-24  Mark Wielaard  <mark@klomp.org>
9402
9403         Thanks to Orp developers
9404         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9405         switch TRUE and FALSE return values.
9406
9407 2002-03-23  Tom Tromey  <tromey@redhat.com>
9408
9409         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9410         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9411
9412 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9413
9414         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9415         MONTH entry.  Fixes PR libgcj/6045.
9416
9417 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9418
9419         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9420
9421 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9422
9423         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9424         not release_set.
9425         * sysdep/powerpc/locks.h (write_barrier): New function.
9426         * sysdep/i386/locks.h (write_barrier): New function.
9427
9428 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9429
9430         * include/jni.h Use correct C comments.
9431
9432 2002-03-18  Tom Tromey  <tromey@redhat.com>
9433
9434         * include/jni.h (JNIIMPORT): New macro.
9435         (JNIEXPORT): Likewise.
9436         (JNICALL): Likewise.
9437
9438 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9439
9440         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9441         systems.
9442
9443 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9444
9445         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9446         INIT_SEGV: Use old_i386_kernel_sigaction.
9447         INIT_FP: Likewise.
9448
9449 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9450
9451         * java/lang/natSystem.cc (init_properties): Update VM version
9452         properties.
9453         * configure.in: Set GCJVERSION.
9454         * acconfig.h: Add GCJVERSION.
9455         * configure: Rebuilt.
9456         * include/config.h.in: Rebuilt.
9457
9458 2002-03-17  Anthony Green  <green@redhat.com>
9459
9460         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9461
9462 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9463
9464         Build a single libgcj.so, without separate gc and zlib libraries.
9465         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9466         SYS_ZLIBS if system zlib is used.
9467         * configure: Rebuilt.
9468         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9469         * Makefile.in: Rebuilt.
9470         * libtool-version: Increment .so version number.
9471
9472         * Makefile.am: Escape quotes in echo.
9473         * Makefile.in: Rebuilt.
9474
9475 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9476
9477         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9478         * Makefile.in: Rebuilt.
9479
9480 2002-03-15  Anthony Green  <green@redhat.com>
9481
9482         * configure.host (FILE): New macro for specifing File
9483         implementation.
9484         * configure: Rebuilt.
9485         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9486
9487 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9488
9489         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9490         already implicitly brought in from libgcj.la.
9491         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9492         * Makefile.in: Rebuilt.
9493
9494 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9495
9496         * THANKS: Fix punctuation, alphabetization.
9497
9498 2002-03-15  Tom Tromey  <tromey@redhat.com>
9499             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9500
9501         Fix for PR libgcj/5944.
9502         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9503
9504 2002-03-15  Anthony Green  <green@redhat.com>
9505
9506         * configure.in (tool_include_dir): Define.
9507         * configure: Rebuilt.
9508         * gcj/Makefile.am: Install libgcj-config.h relative to
9509         tool_include_dir.
9510         * gcj/Makefile: Rebuilt.
9511         * gcj/libgcj-config.h: Add warning comment.
9512
9513 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9514
9515         * configure.host (powerpc*-darwin*): Enable interpreter.
9516
9517 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9518
9519         * include/posix.h: Add multiple include header protection.
9520         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9521
9522 2002-03-10  Adam Megacz <adam@xwt.org>
9523
9524         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9525
9526 2002-03-10  Tom Tromey  <tromey@redhat.com>
9527
9528         * java/awt/GridLayout.java (layoutContainer): Handle case where
9529         there are no items in container.
9530
9531         * java/lang/Win32Process.java: Added comment.
9532         * include/posix.h (_Jv_platform_close_on_exec): New function.
9533         Include fcntl.h.
9534         * include/win32.h (_Jv_platform_close_on_exec): New function.
9535         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9536         flag.
9537         (accept): Likewise.
9538         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9539         close-on-exec flag.
9540         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9541         flag.
9542
9543 2002-03-09  Tom Tromey  <tromey@redhat.com>
9544
9545         * verify.cc (state::NO_STACK): New constant.
9546         (state::is_unmerged_ret_state): Handle case where stacktop is
9547         NO_STACK.
9548         (state::merge): Handle NO_STACK merges.
9549         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9550         for instruction following jsr.
9551         (stacktop, stackdepth): Removed unused variables.
9552         (pop_jump): Ignore case where all remaining states are skipped.
9553
9554 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9555
9556         * java/awt/ImageMediaEntry: Removed.
9557         * java/awt/MediaEntry: Removed.
9558
9559 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9560
9561         Hashtable synchronization for PowerPC.
9562         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9563         slow_pthread_self. Set up symlink for sysdeps directory.
9564         * configure: Rebuild.
9565         * configure.host: Document more shell variables. Set sysdeps_dir
9566         for most platforms. Set slow_pthread_self for i686. Set
9567         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9568         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9569         that memory barrier is emitted where required.
9570         * prims.cc: 64-bit align static primitive class instances.
9571         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9572         read_barrier() to enforce ordering of reads.
9573         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9574         primitives for PowerPC.
9575         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9576         moved from natObject.cc.
9577         * sysdep/alpha/locks.h: Likewise.
9578         * sysdep/ia64/locks.h: Likewise.
9579         * sysdep/generic/locks.h: Likewise.
9580         * java/lang/natObject.cc: Move thread synchronization primitives to
9581         system-dependent headers.
9582
9583 2002-03-09  Adam Megacz  <adam@xwt.org>
9584
9585         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9586         bytes read and no failure code returned.
9587
9588 2002-03-09  Adam Megacz  <adam@xwt.org>
9589
9590         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9591         definitions to simulate -mthreads.
9592
9593 2002-03-09  Adam Megacz  <adam@xwt.org>
9594
9595         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9596         avoid precision loss.
9597
9598 2002-03-09  Per Bothner  <per@bothner.com>
9599
9600         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9601         * gnu/gcj/xlib/XImage.java:  Likewise.
9602         * gnu/gcj/xlib/XColor.java:  Likewise.
9603
9604 2002-03-09  Adam Megacz  <adam@xwt.org>
9605
9606         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9607         IOException so that Throwable.printStackTrace fails correctly.
9608
9609 2002-03-08  Adam Megacz  <adam@xwt.org>
9610
9611         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9612         fixed.
9613
9614 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9615
9616         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9617         truncated to int.
9618
9619 2002-03-08  Tom Tromey  <tromey@redhat.com>
9620
9621         * include/jni.h: Include stdio.h.
9622
9623 2002-03-08  Tom Tromey  <tromey@redhat.com>
9624
9625         * posix.cc (internal_gettimeofday): New function.
9626         (_Jv_select): Use it.
9627
9628 2002-03-07  Adam Megacz  <adam@xwt.org>
9629
9630         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9631         WIN32, and added thunks for read(), write(), and close().
9632         * java/net/natPlainSocketImpl.cc (accept, read, read):
9633         Disabled timeouts on WIN32 pending discussion.
9634
9635 2002-03-07  Adam Megacz  <adam@xwt.org>
9636
9637         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9638         returns jlong. Added implementation
9639         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9640         returns jlong.
9641         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9642         returns jlong.
9643         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9644         returns jlong.
9645         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9646         _Jv_platform_gettimeofday signature.
9647
9648 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9649
9650         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9651         (read): Call recv() directly, not _Jv_recv().
9652
9653 2002-03-06  Tom Tromey  <tromey@redhat.com>
9654
9655         * java/io/natFileDescriptorEcos.cc (init): Don't use
9656         GetStdHandle.
9657         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9658         is negative.
9659         (init): Don't use GetStdHandle.
9660
9661         * include/config.h.in: Rebuilt.
9662         * configure: Rebuilt.
9663         * Makefile.in: Rebuilt.
9664
9665 2002-03-06  Adam Megacz  <adam@xwt.org>
9666
9667         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9668         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9669         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9670         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9671
9672 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9673
9674         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9675         the code for generating include/java-chartables.h.
9676         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9677         merge with Classpath.
9678         * scripts/unicode-muncher.pl: Copy from Classpath.
9679         * scritps/MakeCharTables.java: New file.
9680         * gnu/gcj/convert/Blocks-3.txt: New file.
9681         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9682         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9683         * gnu/java/lang/CharData.java: Copy from Classpath.
9684         * Makefile.am (ordinary_java_source_files): Add
9685         gnu/java/lang/CharData.java.
9686         * configure.in: Remove --enable-fast-character option.
9687         * java/lang/Character.java: Merge algorithms and Javadoc with
9688         Classpath.
9689         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9690         efficiently.
9691         * include/java-chardecomp.h: Regenerate.
9692         * include/java-chartables.h: Regenerate.
9693
9694 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9695
9696         * java/awt/MediaTracker.java: Implemented.
9697         * Makefile.am: Add MediaTracker.
9698         * Makefile.in: Rebuilt.
9699
9700 2002-03-05  Tom Tromey  <tromey@redhat.com>
9701
9702         * java/lang/natPosixProcess.cc (fail): Removed.
9703         (startProcess): Simplified error-handling.  Preserve
9704         LD_LIBRARY_PATH across exec.
9705
9706         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9707         AbstractMethodError.
9708
9709 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9710
9711         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9712         * Makefile.in: Rebuilt.
9713
9714 2002-03-03 Mark Wielaard <mark@klomp.org>
9715
9716         * java/util/Timer (TaskQueue.stop): set elements to zero.
9717
9718 2002-02-28  Anthony Green  <green@redhat.com>
9719
9720         * java/lang/reflect/natMethod.cc (result): Add void* element.
9721         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9722         constructor test.
9723
9724 2002-02-27  Adam Megacz <adam@xwt.org>
9725
9726         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9727         '#undef STRICT'.
9728
9729 2002-02-26  Tom Tromey  <tromey@redhat.com>
9730
9731         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9732         * gij.cc (version): Use __VERSION__.
9733         * include/config.h.in: Rebuilt.
9734         * acconfig.h (GCJVERSION): Removed.
9735         * configure: Rebuilt.
9736         * configure.in (GCJVERSION): Removed.
9737
9738 2002-02-26  Andreas Schwab  <schwab@suse.de>
9739
9740         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9741         glibcpp_CXX, since libjava uses even another CXX.
9742         * aclocal.m4, configure: Regenerated.
9743
9744 2002-02-26  Tom Tromey  <tromey@redhat.com>
9745
9746         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9747         `1'.
9748
9749 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9750
9751         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9752         dependency tracking for .java files.
9753         * Makefile.in: Rebuilt.
9754
9755 2002-02-24  Adam Megacz  <adam@xwt.org>
9756
9757         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9758         typo. Sorry.
9759
9760 2002-02-24  Adam Megacz  <adam@xwt.org>
9761
9762         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9763         for Win32, changed #ifdefs to check WIN32 instead of the
9764         (now-obsolete) USE_WINSOCK, and removed support for socket
9765         timeouts on Win32 pending further discussion.
9766
9767 2002-02-24  Adam Megacz  <adam@xwt.org>
9768
9769         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9770         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9771         delete
9772
9773 2002-02-24  Adam Megacz  <adam@xwt.org>
9774
9775         * java/lang/Win32Process.java: Created a dummy class to allow
9776         build process to run to completion.
9777
9778 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9779
9780         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9781         Define ffi_result union for ffi_call result.  Cast
9782         ffi_result members to jvalue.
9783
9784 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9785
9786         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9787         * testsuite/Makefile.in: Likewise.
9788
9789 2002-02-20  Per Bothner  <per@bothner.com>
9790
9791         * java/net/URL.java (getPath):  New JDK 1.3 method.
9792
9793         * java/net/URLStreamHandler.java (parseURL):
9794         It is wrong to prepend '/' to the file part of a relative url.
9795
9796         * java/net/URLStreamHandler.java (parseURL):
9797         Minor optizations - append '/' rather than "/".
9798
9799         * java/net/URLStreamHandler.java (parseURL):
9800         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9801         We probably should canonicalize for a context-relative url, though.
9802         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9803         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9804         (sameFile):  New method.  Uses canonicalizeFilename.
9805
9806 2002-02-22  Tom Tromey  <tromey@redhat.com>
9807
9808         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9809         java.vendor and java.vm.vendor.
9810         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9811         recent copyright date.
9812         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9813         * gij.cc (version): Print `Inc'.
9814
9815 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9816
9817         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9818         * aclocal.m4, configure: Rebuilt.
9819
9820 2002-02-20  Per Bothner  <per@bothner.com>
9821
9822         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
9823         and/or output streams immediately here, instead of using File.exists.
9824         (inputStream, outputStream):  New fields to save open streams.
9825         (getInputStream, getOutputStream):  Use already-opened streams.
9826
9827 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9828
9829         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
9830         Use it.
9831         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
9832         * aclocal.m4, configure, Makefile.in: Rebuilt.
9833
9834 2002-02-19  Tom Tromey  <tromey@redhat.com>
9835
9836         Fix for PR libgcj/5696:
9837         * verify.cc (is_assignable_from_slow): Never call
9838         _Jv_IsAssignableFrom.
9839         (verify_instructions_0): Added new debug statement.
9840         (state::print): Print information about whether local has
9841         changed.
9842         (state::merge): Don't call note_variable when merging locals.
9843         (state::set_exception): Removed old FIXME comment.
9844
9845 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9846
9847         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
9848         enable SO_BROADCAST.
9849
9850 2002-02-18  Jason Merrill  <jason@redhat.com>
9851
9852         * name-finder.cc (toHex): Use word mode, not long long.
9853
9854         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
9855
9856 2002-02-15  Tom Tromey  <tromey@redhat.com>
9857
9858         Fix for PR libgcj/5695:
9859         * verify.cc (is_assignable_from_slow): Check to see if target is
9860         an Object before checking to see if source is an interface.
9861         (verify_instructions_0) [op_invokeinterface]: Handle case where
9862         we're making an interface call on Object.
9863
9864 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9865
9866         * Makefile.in: Rebuilt with Eric's change below.
9867
9868         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
9869         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
9870         Removed functions which are now implemented in Math.java.
9871
9872 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9873
9874         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
9875         * Makefile.am (core_java_source_files): Add
9876         java/lang/StrictMath.java.
9877         * java/lang/Math.java: Merge with Classpath.
9878         * java/lang/StrictMath.java: New file - merge with Classpath.
9879
9880 2002-02-14  Mark Wielaard  <mark@klomp.org>
9881
9882         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
9883         package as a workaround for gcj 3.0.x
9884
9885 2002-02-14  Mark Wielaard <mark@klomp.org>
9886
9887         * java/security/BasicPermission.java: extends with fully qualified
9888         classname as workaround for gcj 3.0.4.
9889
9890 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9891
9892         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
9893         around gcj bug of wrong emitted qualifier for inherited method.
9894         * java/net/SocketImpl.java (setOption, getOption): Ditto.
9895         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
9896         constructor to reduce amount of emitted bytecode. While this
9897         happens to work around a jikes 1.15 bug, it is still a useful
9898         patch even for correct compilers.
9899         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
9900         * gnu/java/rmi/server/UnicastRemoteCall.java
9901         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
9902
9903 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9904
9905         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
9906         * java/net/SocketImpl.java: Ditto.
9907         * java/rmi/server/RMIClassLoader.java: Ditto.
9908         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
9909
9910 2002-02-14  Mark Wielaard <mark@klomp.org>
9911
9912         Thanks to Takashi Okamoto
9913         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
9914         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
9915         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
9916
9917 2002-02-13  Todd Stock  <toddastock@yahoo.com>
9918
9919         Fix for PR libgcj/5670:
9920         * verify.cc (is_assignable_from_slow): If `source' is interface,
9921         recursively look for merge with `target'.
9922
9923 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
9924
9925         * include/jni.h: Fix typo.
9926
9927 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
9928
9929         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
9930         correctly.
9931
9932 2002-02-13  Todd Stock  <toddastock@yahoo.com>
9933
9934         Fix for PR libgcj/5671:
9935         * verify.cc (state::merge): Handle case where we're merging
9936         against an interface.
9937
9938 2002-02-12  Tom Tromey  <tromey@redhat.com>
9939
9940         * exception.cc (std::abort): Mark as noreturn.
9941
9942 2002-02-12  Adam Megacz <adam@xwt.org>
9943
9944         * java/lang/Win32Process.java: Filled in a placeholder
9945         implementation so Win32 will build.
9946
9947 2002-02-12  Adam Megacz <adam@xwt.org>
9948
9949         * java/io/natFilePosix.cc: Copied this from natFile.cc.
9950         * java/io/natFile.cc: Removed from repository.
9951         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
9952
9953 2002-02-12  Adam Megacz <adam@xwt.org>
9954
9955         * win32.cc: Added two #includes to make win32.cc compile.
9956
9957 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9958
9959         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
9960         declarations.
9961         (_Jv_InitGC): Don't bother locking, as this is always called from a
9962         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
9963
9964 2002-02-11  Adam Megacz <adam@xwt.org>
9965
9966         * include/win32.h: Added _Jv_platform_gettimeofday.
9967         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
9968
9969 2002-02-11  Adam Megacz <adam@xwt.org>
9970
9971         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
9972         Added #undef STRICT to make windows.h and
9973         java/lang/reflect/Modifier.h cooperate.
9974
9975 2002-02-11  Adam Megacz <adam@xwt.org>
9976
9977         * java/io/natFileWin32.cc: Created a placeholder class with lots
9978         of FIXMEs.
9979
9980 2002-02-11  Adam Megacz <adam@xwt.org>
9981
9982         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
9983         std::abort() to simply abort(). Also added "fake" std::abort() so
9984         we can #include unwind-pe.h without having to link against
9985         libstdc++-v3.
9986
9987 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
9988
9989         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
9990
9991 2002-02-08  Tom Tromey  <tromey@redhat.com>
9992
9993         * interpret.cc (convert): New function.
9994         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
9995         convert.
9996         Include Long.h.
9997
9998 2002-02-08  Anthony Green  <green@redhat.com>
9999
10000         * configure.host: Add support for xscale-elf embedded target.
10001
10002 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10003
10004         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10005         dereferenced.
10006         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10007         frame.
10008
10009 2002-02-07  Tom Tromey  <tromey@redhat.com>
10010
10011         * java/io/natFile.cc (_access): Use __builtin_alloca.
10012         (_stat): Likewise.
10013         (attr): Likewise.
10014         (getCanonicalPath): Likewise.
10015         (performList): Likewise.
10016         (performMkdir): Likewise.
10017         (performSetReadOnly): Likewise.
10018         (performRenameTo): Likewise.
10019         (performSetLastModified): Likewise.
10020         (performCreate): Likewise.
10021         (performDelete): Likewise.
10022
10023 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10024
10025         * HACKING: Fix URL for the automake-gcj.
10026
10027 2002-02-07  Tom Tromey  <tromey@redhat.com>
10028
10029         * java/lang/natThrowable.cc: Updated copyright.
10030         * java/io/natFileWin32.cc: Updated copyright.
10031         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10032         * win32-threads.cc: Updated copyright.
10033         * name-finder.cc: Updated copyright.
10034         * include/name-finder.h: Updated copyright.
10035
10036         * include/name-finder.h: Conditionally include sys/wait.h.
10037         * include/config.h.in: Rebuilt.
10038
10039         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10040         Size buffer based on real size of string.
10041         (_stat): Likewise.
10042         (attr): Likewise.
10043         (getCanonicalPath): Likewise.
10044         (performList): Likewise.
10045         (performMkdir): Likewise.
10046         (performSetReadOnly): Likewise.
10047         (unixroot): Removed.
10048         (performRenameTo): Likewise.
10049         (performSetLastModified): Likewise.
10050         (performCreate): Likewise.
10051         (performDelete): Likewise.
10052         (performListRoots): Always return new array.
10053
10054         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10055         * win32.cc (win32_exception_handler): Now static.
10056         * include/win32.h (_Jv_platform_initialize): Declare.
10057         (win32_exception_handler): Don't declare.
10058         * java/lang/natSystem.cc (currentTimeMillis): Use
10059         _Jv_platform_gettimeofday.
10060         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10061         (_Jv_select): Use new name.
10062         (_Jv_platform_initialize): New function.
10063         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10064         _Jv_gettimeofday.
10065         (_Jv_platform_initialize): Declare.
10066
10067         * configure: Rebuilt.
10068         * configure.in: Removed unnecessary parens.
10069
10070 2002-02-06  Adam Megacz <adam@xwt.org>
10071
10072        * configure.in: Changed mingw) to *mingw*).
10073        * win32.cc: Created this file.
10074        * win32.h: Created this file.
10075        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10076        win32_exception_handler from prims.cc to win32.cc, added
10077        header in win32.h.
10078        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10079        longer needed now that we have platform.h
10080
10081 2002-02-06  Adam Megacz <adam@xwt.org>
10082
10083         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10084         use uint<n>_t instead of LONG and BYTE
10085
10086 2002-02-06  Adam Megacz <adam@xwt.org>
10087
10088         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10089
10090 2002-02-06  Anthony Green  <green@redhat.com>
10091
10092         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10093         Implement missing method stubs.
10094         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10095         targets.
10096         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10097         concept of timezones.
10098         (init_properties): Don't refer to _Jv_Environment_Properties
10099         when this feature is not available.
10100         * include/config.h.in: Rebuilt.
10101         * acconfig.h: Add DISABLE_MAIN_ARGS.
10102         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10103         * configure: Rebuilt.
10104         * configure.in: Add --disable-main-args option.  Test for
10105           opendir function.  Replace AC_CHECK_SIZEOF with
10106           AC_COMPILE_CHECK_SIZEOF.
10107         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10108         * aclocal.m4: Rebuilt.
10109         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10110
10111 2002-02-06  Tom Tromey  <tromey@redhat.com>
10112
10113         * verify.cc (require_array_type): If argument is a null array of
10114         references, return null as the element type.
10115
10116 2002-02-06  Mark Wielaard  <mark@klomp.org>
10117
10118         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10119         duplicate of a wide type.
10120
10121 2002-02-06  Tom Tromey  <tromey@redhat.com>
10122
10123         * verify.cc (type::isnull): New method.
10124         (require_array_type): Handle case where array is null.
10125         (verify_instructions_0) [op_arraylength]: Likewise.
10126
10127 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10128
10129         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10130         Symlink PLATFORMH to platform.h.
10131         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10132         PLATFORMOBJS.
10133         * java/lang/natSystem.cc: #include platform.h not posix.h.
10134         * Makefile.in: Rebuilt with libgcj automake.
10135         * configure: Rebuilt.
10136
10137 2002-02-05  Richard Henderson  <rth@redhat.com>
10138
10139         * Makefile.in: Undo munging last change.
10140
10141 2002-02-04  Adam Megacz <adam@xwt.org>
10142
10143         * win32.cc: Created it.
10144         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10145         which is set to posix.cc or win32.cc.
10146         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10147
10148 2002-02-04  Adam Megacz <adam@xwt.org>
10149
10150         * configure.in: Corrected mingw case branches; added * before
10151         and after.
10152
10153 2002-02-04  Adam Megacz <adam@xwt.org>
10154
10155         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10156         if compiling for win32
10157
10158 2002-02-04  Adam Megacz <adam@xwt.org>
10159
10160         * win32-threads.cc: #undef STRICT after gc.h inclusion
10161
10162 2002-02-02  Tom Tromey  <tromey@redhat.com>
10163
10164         * Makefile.in: Rebuilt.
10165
10166 2002-02-02  Jason Merrill  <jason@redhat.com>
10167
10168         * Makefile.am (clean-nat): New target.
10169
10170 2002-02-02  Tom Tromey  <tromey@redhat.com>
10171
10172         * java/io/natFile.cc: Removed old "FIXME" comments.
10173
10174 2002-02-01  Tom Tromey  <tromey@redhat.com>
10175
10176         * java/lang/natPosixProcess.cc (myclose): New function.
10177         (fail): Use it.
10178         (startProcess): Likewise.
10179
10180 2002-02-01  Adam Megacz <adam@xwt.org>
10181
10182         * prims.cc: Added #undef STRICT after #include<windows.h>.
10183
10184 2002-02-01  Adam Megacz <adam@xwt.org>
10185
10186         * prims.cc
10187         (_Jv_CreateJavaVM): We now use WIN32 instead of
10188         USE_WIN32_SIGNALLING and USE_WINSOCK.
10189         (win32_exception_handler): Now throws an exception out of
10190         the signal handler; assumes SJLJ.
10191
10192 2002-02-01  Adam Megacz <adam@xwt.org>
10193
10194         * win32-threads.cc:
10195         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10196         wait() algorithm to make it safe.
10197         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10198         Added lazy creation of Win32 Events for better performance
10199         (really_start): This now uses GC_CreateThread so boehm-gc
10200         knows about new threads even when statically linked.
10201
10202 2002-02-01  Adam Megacz <adam@xwt.org>
10203
10204         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10205         enable safer wait() algorithm.
10206         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10207         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10208         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10209         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10210         instead of mutex.
10211         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10212
10213 2002-02-01  Adam Megacz <adam@xwt.org>
10214
10215         * configure.in: Added support for mingw.
10216         * java/lang/Win32Process.java: Created as empty file.
10217         * java/lang/natWin32Process.cc: Created as empty file.
10218
10219 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10220
10221         PR java/4972
10222         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10223         for libiconv in LIBICONV variable.
10224         * configure: Regenerated.
10225
10226 2002-01-31  Tom Tromey  <tromey@redhat.com>
10227
10228         * verify.cc (state::enter_subroutine): New method.
10229         (handle_jsr_insn): Use it.
10230         (state::merge): When processing a `ret', correctly use
10231         subroutine's state to determine which local variables have
10232         changed.
10233         (push_exception_jump): Don't let stack overflow.
10234
10235 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10236
10237         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10238         --version output.
10239
10240 2002-01-30  Tom Tromey  <tromey@redhat.com>
10241
10242         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10243         parameter for `recv' return type.
10244
10245         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10246         (state::merge): ... not here.
10247         (subr_entry_info): New structure.
10248         (entry_points): New field.
10249         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10250         entry_points.
10251
10252 2002-01-29  Tom Tromey  <tromey@redhat.com>
10253
10254         * java/awt/List.java (addNotify): Correctly check to see if peer
10255         does not exist.
10256
10257         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10258         to compute height of each cell, and number of columns to compute
10259         width of each cell.
10260         * java/awt/Window.java (getOwnedWindows): Don't return null.
10261         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10262         of component.  Increment x using horizontal gap, not vertical
10263         gap.
10264
10265 2002-01-28  Tom Tromey  <tromey@redhat.com>
10266
10267         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10268         `nargs' byte is number of words, not number of arguments.
10269
10270 2002-01-27  Tom Tromey  <tromey@redhat.com>
10271
10272         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10273         (when): Likewise.
10274         * java/awt/event/InputEvent.java (modifiers, when): Now
10275         package-private.
10276
10277         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10278         and to-do list.
10279         (state::merge): Use current class' class loader.
10280         (state::print): Print subroutine.
10281         (state::merge): Don't look at subroutine of unmerged `ret'.
10282
10283 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10284
10285         * nogc.cc: Remove warnings.
10286         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10287         New functions.
10288
10289 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10290
10291         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10292         int, int):  Remove empty "if" statement to work around compiler bug.
10293         (newPixels(int[], ColorModel, int, int): Likewise.
10294
10295 2002-01-25  Per Bothner  <per@bothner.com>
10296
10297         * verify.cc (verify_fail):  Change from being a top-level function
10298         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10299         Pass the current verifier to type: and state: methods as needed,
10300         for better error messages, and for resolve.
10301         (resolve):  Pass current class's loader for Class.forName and
10302         _Jv_FindClassFromSignature, rather than using the default loader.
10303         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10304         (get_type_val_for_signature):  Make non-static.
10305         (various methods):  Pass start_PC implicitly, not explicitly.
10306
10307 2002-01-25  Tom Tromey  <tromey@redhat.com>
10308
10309         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10310         loop termination condition.
10311         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10312         width.
10313
10314 2002-01-24  Tom Tromey  <tromey@redhat.com>
10315
10316         * java/awt/Shape.java: Merged with Classpath.
10317         * java/awt/Scrollbar.java: Merged with Classpath.
10318
10319         * java/awt/Container.java (addNotify): Unconditionally call
10320         addNotifyContainerChildren and superclass addNotify.
10321
10322         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10323         getAlpha, not getBlue.
10324
10325 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10326
10327         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10328
10329         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10330         (grabPixels(long)): Wait to be notified that the ImageProducer has
10331         completed.
10332
10333 2002-01-24  Per Bothner  <per@bothner.com>
10334
10335         * verify.cc (is_assignable_from_slow): If target is an interface,
10336         we must still check the source's superclass before giving up.
10337
10338 2002-01-24  Tom Tromey  <tromey@redhat.com>
10339
10340         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10341
10342 2002-01-23  Tom Tromey  <tromey@redhat.com>
10343
10344         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10345         `else'.
10346
10347         * Makefile.in: Rebuilt.
10348         * Makefile.am (awt_java_source_files): Added new files.
10349         * java/awt/Toolkit.java: Merged with Classpath.
10350         * java/awt/PrintGraphics.java: New file from Classpath.
10351         * java/awt/PrintJob.java: New file from Classpath.
10352         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10353         * java/awt/datatransfer/ClipboardOwner.java: New file from
10354         Classpath.
10355         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10356         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10357         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10358         Classpath.
10359         * java/awt/datatransfer/StringSelection.java: New file from
10360         Classpath.
10361         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10362         Classpath.
10363         * java/awt/datatransfer/Transferable.java: New file from
10364         Classpath.
10365         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10366         from Classpath.
10367
10368         * Makefile.in: Rebuilt.
10369         * Makefile.am (awt_java_source_files): Added new files.
10370         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10371         Classpath.
10372         * java/awt/image/CropImageFilter.java: New file from Classpath.
10373         * java/awt/image/FilteredImageSource.java: New file from
10374         Classpath.
10375         * java/awt/image/ImageFilter.java: New file from Classpath.
10376         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10377         * java/awt/image/PixelGrabber.java: New file from Classpath.
10378         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10379         * java/awt/image/ReplicateScaleFilter.java: New file from
10380         Classpath.
10381         * java/awt/image/ImageProducer.java: Replaced with Classpath
10382         version.
10383         * java/awt/image/ImageObserver.java: Replaced with Classpath
10384         version.
10385         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10386         version.
10387         * java/awt/GridBagConstraints.java (clone): Catch
10388         CloneNotSupportedException.
10389
10390 2002-01-23  Per Bothner  <per@bothner.com>
10391
10392         * java/lang/reflect/natField.cc (setAddr):  New function.
10393         Calls getAddr and then checks that the field isn't final.
10394         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10395         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10396         (set):  Call setAddr before check that new value has right type,
10397         to better match specified semantics.
10398
10399 2002-01-22  Tom Tromey  <tromey@redhat.com>
10400
10401         * java/awt/TextField.java: Replaced with Classpath version.
10402         * java/awt/TextArea.java: Replaced with Classpath version.
10403         * java/awt/TextComponent.java: Replaced with Classpath version.
10404
10405         * java/awt/GridBagConstraints.java: Updated copyright.
10406
10407 2002-01-22  Mark Wielaard <mark@klomp.org>
10408
10409         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10410         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10411         java/awt/Dialog.java java/awt/FileDialog.java
10412         java/awt/Font.java java/awt/FontMetrics.java
10413         java/awt/Image.java java/awt/ImageMediaEntry.java
10414         java/awt/Insets.java java/awt/List.java
10415         java/awt/MediaEntry.java java/awt/MediaTracker.java
10416         java/awt/Menu.java java/awt/MenuBar.java
10417         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10418         java/awt/PaintContext.java java/awt/Panel.java
10419         java/awt/PopupMenu.java java/awt/SystemColor.java
10420         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10421         java/awt/peer/CheckboxMenuItemPeer.java
10422         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10423         java/awt/peer/ComponentPeer.java
10424         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10425         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10426         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10427         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10428         java/awt/peer/MenuBarPeer.java
10429         java/awt/peer/MenuComponentPeer.java
10430         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10431         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10432         java/awt/peer/ScrollPanePeer.java
10433         java/awt/peer/ScrollbarPeer.java
10434         java/awt/peer/TextAreaPeer.java
10435         java/awt/peer/TextComponentPeer.java
10436         java/awt/peer/TextFieldPeer.java
10437         java/awt/peer/WindowPeer.java: Add license clarification.
10438
10439 2002-01-22  Mark Wielaard <mark@klomp.org>
10440
10441         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10442         gnu/gcj/runtime/StringBuffer.java
10443         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10444         gnu/java/awt/ComponentDataBlitOp.java
10445         gnu/java/awt/GLightweightPeer.java
10446         gnu/java/beans/BeanInfoEmbryo.java
10447         gnu/java/beans/EmptyBeanInfo.java
10448         gnu/java/beans/ExplicitBeanInfo.java
10449         gnu/java/beans/IntrospectionIncubator.java
10450         gnu/java/beans/editors/ColorEditor.java
10451         gnu/java/beans/editors/FontEditor.java
10452         gnu/java/beans/editors/NativeBooleanEditor.java
10453         gnu/java/beans/editors/NativeByteEditor.java
10454         gnu/java/beans/editors/NativeDoubleEditor.java
10455         gnu/java/beans/editors/NativeFloatEditor.java
10456         gnu/java/beans/editors/NativeIntEditor.java
10457         gnu/java/beans/editors/NativeLongEditor.java
10458         gnu/java/beans/editors/NativeShortEditor.java
10459         gnu/java/beans/editors/StringEditor.java
10460         gnu/java/beans/info/ComponentBeanInfo.java
10461         gnu/java/io/ClassLoaderObjectInputStream.java
10462         gnu/java/io/NullOutputStream.java
10463         gnu/java/io/ObjectIdentityWrapper.java
10464         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10465         gnu/java/lang/reflect/TypeSignature.java
10466         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10467         gnu/java/locale/Calendar_en.java
10468         gnu/java/locale/Calendar_nl.java
10469         gnu/java/locale/LocaleInformation.java
10470         gnu/java/locale/LocaleInformation_de.java
10471         gnu/java/locale/LocaleInformation_en.java
10472         gnu/java/locale/LocaleInformation_nl.java
10473         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10474         gnu/java/rmi/registry/RegistryImpl.java
10475         gnu/java/rmi/rmic/Compile_gcj.java
10476         gnu/java/rmi/rmic/Compiler.java
10477         gnu/java/rmi/rmic/CompilerProcess.java
10478         gnu/java/rmi/rmic/RMIC.java
10479         gnu/java/rmi/rmic/TabbedWriter.java
10480         gnu/java/rmi/server/ProtocolConstants.java
10481         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10482         gnu/java/rmi/server/RMIHashes.java
10483         gnu/java/rmi/server/RMIObjectInputStream.java
10484         gnu/java/rmi/server/RMIObjectOutputStream.java
10485         gnu/java/rmi/server/UnicastConnection.java
10486         gnu/java/rmi/server/UnicastConnectionManager.java
10487         gnu/java/rmi/server/UnicastRef.java
10488         gnu/java/rmi/server/UnicastRemoteCall.java
10489         gnu/java/rmi/server/UnicastRemoteStub.java
10490         gnu/java/rmi/server/UnicastServer.java
10491         gnu/java/rmi/server/UnicastServerRef.java
10492         gnu/java/security/provider/DefaultPolicy.java
10493         gnu/java/security/provider/Gnu.java
10494         gnu/java/security/provider/SHA.java
10495         gnu/java/security/provider/SHA1PRNG.java
10496         gnu/java/text/BaseBreakIterator.java
10497         gnu/java/text/CharacterBreakIterator.java
10498         gnu/java/text/LineBreakIterator.java
10499         gnu/java/text/SentenceBreakIterator.java
10500         gnu/java/text/WordBreakIterator.java
10501         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10502         java/applet/AppletContext.java java/applet/AppletStub.java
10503         java/applet/AudioClip.java java/awt/AWTError.java
10504         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10505         java/awt/AWTException.java java/awt/AWTPermission.java
10506         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10507         java/awt/Button.java java/awt/Canvas.java
10508         java/awt/CardLayout.java java/awt/Checkbox.java
10509         java/awt/CheckboxGroup.java java/awt/Component.java
10510         java/awt/ComponentOrientation.java java/awt/Container.java
10511         java/awt/Dimension.java java/awt/Event.java
10512         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10513         java/awt/FlowLayout.java java/awt/Frame.java
10514         java/awt/Graphics.java java/awt/Graphics2D.java
10515         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10516         java/awt/IllegalComponentStateException.java
10517         java/awt/ItemSelectable.java java/awt/Label.java
10518         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10519         java/awt/MenuComponent.java java/awt/MenuItem.java
10520         java/awt/Paint.java java/awt/Point.java
10521         java/awt/Rectangle.java java/awt/RenderingHints.java
10522         java/awt/Transparency.java java/awt/Window.java
10523         java/awt/color/ColorSpace.java
10524         java/awt/color/ICC_ColorSpace.java
10525         java/awt/color/ICC_Profile.java
10526         java/awt/event/HierarchyBoundsAdapter.java
10527         java/awt/event/HierarchyBoundsListener.java
10528         java/awt/event/HierarchyEvent.java
10529         java/awt/event/HierarchyListener.java
10530         java/awt/geom/AffineTransform.java
10531         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10532         java/awt/geom/IllegalPathStateException.java
10533         java/awt/geom/Line2D.java
10534         java/awt/geom/NoninvertibleTransformException.java
10535         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10536         java/awt/geom/Rectangle2D.java
10537         java/awt/geom/RectangularShape.java
10538         java/awt/geom/RoundRectangle2D.java
10539         java/awt/image/BufferedImage.java
10540         java/awt/image/ColorModel.java
10541         java/awt/image/ComponentColorModel.java
10542         java/awt/image/ComponentSampleModel.java
10543         java/awt/image/DataBuffer.java
10544         java/awt/image/DataBufferByte.java
10545         java/awt/image/DataBufferInt.java
10546         java/awt/image/DataBufferUShort.java
10547         java/awt/image/DirectColorModel.java
10548         java/awt/image/PackedColorModel.java
10549         java/awt/image/Raster.java java/awt/image/RasterOp.java
10550         java/awt/image/SampleModel.java
10551         java/awt/image/SinglePixelPackedSampleModel.java
10552         java/awt/image/WritableRaster.java
10553         java/beans/AppletInitializer.java
10554         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10555         java/beans/Beans.java java/beans/Customizer.java
10556         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10557         java/beans/FeatureDescriptor.java
10558         java/beans/IndexedPropertyDescriptor.java
10559         java/beans/IntrospectionException.java
10560         java/beans/Introspector.java java/beans/MethodDescriptor.java
10561         java/beans/ParameterDescriptor.java
10562         java/beans/PropertyChangeEvent.java
10563         java/beans/PropertyChangeListener.java
10564         java/beans/PropertyChangeSupport.java
10565         java/beans/PropertyDescriptor.java
10566         java/beans/PropertyEditor.java
10567         java/beans/PropertyEditorManager.java
10568         java/beans/PropertyEditorSupport.java
10569         java/beans/PropertyVetoException.java
10570         java/beans/SimpleBeanInfo.java
10571         java/beans/VetoableChangeListener.java
10572         java/beans/VetoableChangeSupport.java
10573         java/beans/Visibility.java
10574         java/beans/beancontext/BeanContext.java
10575         java/beans/beancontext/BeanContextChild.java
10576         java/beans/beancontext/BeanContextChildComponentProxy.java
10577         java/beans/beancontext/BeanContextChildSupport.java
10578         java/beans/beancontext/BeanContextContainerProxy.java
10579         java/beans/beancontext/BeanContextEvent.java
10580         java/beans/beancontext/BeanContextMembershipEvent.java
10581         java/beans/beancontext/BeanContextMembershipListener.java
10582         java/beans/beancontext/BeanContextProxy.java
10583         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10584         java/beans/beancontext/BeanContextServiceProvider.java
10585         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10586         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10587         java/beans/beancontext/BeanContextServiceRevokedListener.java
10588         java/beans/beancontext/BeanContextServices.java
10589         java/beans/beancontext/BeanContextServicesListener.java
10590         java/io/BufferedInputStream.java
10591         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10592         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10593         java/io/ByteArrayOutputStream.java
10594         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10595         java/io/CharConversionException.java java/io/DataInput.java
10596         java/io/DataInputStream.java java/io/DataOutput.java
10597         java/io/EOFException.java java/io/Externalizable.java
10598         java/io/FileFilter.java java/io/FileNotFoundException.java
10599         java/io/FilePermission.java java/io/FileReader.java
10600         java/io/FileWriter.java java/io/FilenameFilter.java
10601         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10602         java/io/FilterReader.java java/io/FilterWriter.java
10603         java/io/IOException.java java/io/InputStream.java
10604         java/io/InterruptedIOException.java
10605         java/io/InvalidClassException.java
10606         java/io/InvalidObjectException.java
10607         java/io/NotActiveException.java
10608         java/io/NotSerializableException.java java/io/ObjectInput.java
10609         java/io/ObjectInputStream.java
10610         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10611         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10612         java/io/ObjectStreamConstants.java
10613         java/io/ObjectStreamException.java
10614         java/io/ObjectStreamField.java
10615         java/io/OptionalDataException.java java/io/OutputStream.java
10616         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10617         java/io/PipedReader.java java/io/PipedWriter.java
10618         java/io/PrintWriter.java java/io/PushbackInputStream.java
10619         java/io/PushbackReader.java java/io/Reader.java
10620         java/io/SequenceInputStream.java java/io/Serializable.java
10621         java/io/SerializablePermission.java
10622         java/io/StreamCorruptedException.java
10623         java/io/StreamTokenizer.java
10624         java/io/StringBufferInputStream.java java/io/StringReader.java
10625         java/io/StringWriter.java java/io/SyncFailedException.java
10626         java/io/UTFDataFormatException.java
10627         java/io/UnsupportedEncodingException.java
10628         java/io/WriteAbortedException.java java/io/Writer.java
10629         java/lang/AbstractMethodError.java
10630         java/lang/ArithmeticException.java
10631         java/lang/ArrayIndexOutOfBoundsException.java
10632         java/lang/ArrayStoreException.java java/lang/Boolean.java
10633         java/lang/Byte.java java/lang/CharSequence.java
10634         java/lang/ClassCastException.java
10635         java/lang/ClassCircularityError.java
10636         java/lang/ClassFormatError.java
10637         java/lang/ClassNotFoundException.java
10638         java/lang/CloneNotSupportedException.java
10639         java/lang/Cloneable.java java/lang/Comparable.java
10640         java/lang/Compiler.java java/lang/Double.java
10641         java/lang/Error.java java/lang/Exception.java
10642         java/lang/ExceptionInInitializerError.java
10643         java/lang/Float.java java/lang/IllegalAccessError.java
10644         java/lang/IllegalAccessException.java
10645         java/lang/IllegalArgumentException.java
10646         java/lang/IllegalMonitorStateException.java
10647         java/lang/IllegalStateException.java
10648         java/lang/IllegalThreadStateException.java
10649         java/lang/IncompatibleClassChangeError.java
10650         java/lang/IndexOutOfBoundsException.java
10651         java/lang/InheritableThreadLocal.java
10652         java/lang/InstantiationError.java
10653         java/lang/InstantiationException.java java/lang/Integer.java
10654         java/lang/InternalError.java
10655         java/lang/InterruptedException.java
10656         java/lang/LinkageError.java java/lang/Long.java
10657         java/lang/NegativeArraySizeException.java
10658         java/lang/NoClassDefFoundError.java
10659         java/lang/NoSuchFieldError.java
10660         java/lang/NoSuchFieldException.java
10661         java/lang/NoSuchMethodError.java
10662         java/lang/NoSuchMethodException.java
10663         java/lang/NullPointerException.java java/lang/Number.java
10664         java/lang/NumberFormatException.java
10665         java/lang/OutOfMemoryError.java java/lang/Package.java
10666         java/lang/Process.java java/lang/Runnable.java
10667         java/lang/RuntimeException.java
10668         java/lang/RuntimePermission.java
10669         java/lang/SecurityException.java
10670         java/lang/SecurityManager.java java/lang/Short.java
10671         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10672         java/lang/StringIndexOutOfBoundsException.java
10673         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10674         java/lang/ThreadLocal.java java/lang/UnknownError.java
10675         java/lang/UnsatisfiedLinkError.java
10676         java/lang/UnsupportedClassVersionError.java
10677         java/lang/UnsupportedOperationException.java
10678         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10679         java/lang/Void.java java/lang/ref/PhantomReference.java
10680         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10681         java/lang/ref/SoftReference.java
10682         java/lang/ref/WeakReference.java
10683         java/lang/reflect/AccessibleObject.java
10684         java/lang/reflect/InvocationTargetException.java
10685         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10686         java/lang/reflect/ReflectPermission.java
10687         java/math/BigDecimal.java java/math/BigInteger.java
10688         java/net/Authenticator.java java/net/BindException.java
10689         java/net/ConnectException.java java/net/ContentHandler.java
10690         java/net/ContentHandlerFactory.java
10691         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10692         java/net/FileNameMap.java java/net/MalformedURLException.java
10693         java/net/MulticastSocket.java java/net/NetPermission.java
10694         java/net/NoRouteToHostException.java
10695         java/net/PasswordAuthentication.java
10696         java/net/ProtocolException.java java/net/ServerSocket.java
10697         java/net/Socket.java java/net/SocketException.java
10698         java/net/SocketImpl.java java/net/SocketImplFactory.java
10699         java/net/SocketOptions.java java/net/SocketPermission.java
10700         java/net/URLDecoder.java java/net/URLEncoder.java
10701         java/net/URLStreamHandlerFactory.java
10702         java/net/UnknownHostException.java
10703         java/net/UnknownServiceException.java
10704         java/rmi/AccessException.java
10705         java/rmi/AlreadyBoundException.java
10706         java/rmi/ConnectException.java
10707         java/rmi/ConnectIOException.java
10708         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10709         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10710         java/rmi/NotBoundException.java
10711         java/rmi/RMISecurityException.java
10712         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10713         java/rmi/RemoteException.java java/rmi/ServerError.java
10714         java/rmi/ServerException.java
10715         java/rmi/ServerRuntimeException.java
10716         java/rmi/StubNotFoundException.java
10717         java/rmi/UnexpectedException.java
10718         java/rmi/UnknownHostException.java
10719         java/rmi/UnmarshalException.java
10720         java/rmi/activation/Activatable.java
10721         java/rmi/activation/ActivateFailedException.java
10722         java/rmi/activation/ActivationDesc.java
10723         java/rmi/activation/ActivationException.java
10724         java/rmi/activation/ActivationGroup.java
10725         java/rmi/activation/ActivationGroupDesc.java
10726         java/rmi/activation/ActivationGroupID.java
10727         java/rmi/activation/ActivationID.java
10728         java/rmi/activation/ActivationInstantiator.java
10729         java/rmi/activation/ActivationMonitor.java
10730         java/rmi/activation/ActivationSystem.java
10731         java/rmi/activation/Activator.java
10732         java/rmi/activation/UnknownGroupException.java
10733         java/rmi/activation/UnknownObjectException.java
10734         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10735         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10736         java/rmi/registry/Registry.java
10737         java/rmi/registry/RegistryHandler.java
10738         java/rmi/server/ExportException.java
10739         java/rmi/server/LoaderHandler.java
10740         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10741         java/rmi/server/Operation.java
10742         java/rmi/server/RMIClassLoader.java
10743         java/rmi/server/RMIClientSocketFactory.java
10744         java/rmi/server/RMIFailureHandler.java
10745         java/rmi/server/RMIServerSocketFactory.java
10746         java/rmi/server/RMISocketFactory.java
10747         java/rmi/server/RemoteCall.java
10748         java/rmi/server/RemoteObject.java
10749         java/rmi/server/RemoteRef.java
10750         java/rmi/server/RemoteServer.java
10751         java/rmi/server/RemoteStub.java
10752         java/rmi/server/ServerCloneException.java
10753         java/rmi/server/ServerNotActiveException.java
10754         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10755         java/rmi/server/SkeletonMismatchException.java
10756         java/rmi/server/SkeletonNotFoundException.java
10757         java/rmi/server/SocketSecurityException.java
10758         java/rmi/server/UID.java
10759         java/rmi/server/UnicastRemoteObject.java
10760         java/rmi/server/Unreferenced.java
10761         java/security/AccessControlContext.java
10762         java/security/AccessControlException.java
10763         java/security/AccessController.java
10764         java/security/AlgorithmParameterGenerator.java
10765         java/security/AlgorithmParameterGeneratorSpi.java
10766         java/security/AlgorithmParameters.java
10767         java/security/AlgorithmParametersSpi.java
10768         java/security/AllPermission.java
10769         java/security/BasicPermission.java
10770         java/security/Certificate.java java/security/CodeSource.java
10771         java/security/DigestException.java
10772         java/security/DigestInputStream.java
10773         java/security/DigestOutputStream.java
10774         java/security/DomainCombiner.java
10775         java/security/DummyKeyPairGenerator.java
10776         java/security/DummyMessageDigest.java
10777         java/security/DummySignature.java
10778         java/security/GeneralSecurityException.java
10779         java/security/Guard.java java/security/GuardedObject.java
10780         java/security/Identity.java java/security/IdentityScope.java
10781         java/security/InvalidAlgorithmParameterException.java
10782         java/security/InvalidKeyException.java
10783         java/security/InvalidParameterException.java
10784         java/security/Key.java java/security/KeyException.java
10785         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10786         java/security/KeyManagementException.java
10787         java/security/KeyPair.java java/security/KeyPairGenerator.java
10788         java/security/KeyPairGeneratorSpi.java
10789         java/security/KeyStore.java
10790         java/security/KeyStoreException.java
10791         java/security/KeyStoreSpi.java
10792         java/security/MessageDigest.java
10793         java/security/MessageDigestSpi.java
10794         java/security/NoSuchAlgorithmException.java
10795         java/security/NoSuchProviderException.java
10796         java/security/Permission.java
10797         java/security/PermissionCollection.java
10798         java/security/Permissions.java java/security/Policy.java
10799         java/security/Principal.java java/security/PrivateKey.java
10800         java/security/PrivilegedAction.java
10801         java/security/PrivilegedActionException.java
10802         java/security/PrivilegedExceptionAction.java
10803         java/security/ProtectionDomain.java
10804         java/security/Provider.java
10805         java/security/ProviderException.java
10806         java/security/PublicKey.java
10807         java/security/SecureClassLoader.java
10808         java/security/SecureRandom.java
10809         java/security/SecureRandomSpi.java java/security/Security.java
10810         java/security/SecurityPermission.java
10811         java/security/Signature.java
10812         java/security/SignatureException.java
10813         java/security/SignatureSpi.java
10814         java/security/SignedObject.java java/security/Signer.java
10815         java/security/UnrecoverableKeyException.java
10816         java/security/UnresolvedPermission.java
10817         java/security/acl/Acl.java java/security/acl/AclEntry.java
10818         java/security/acl/AclNotFoundException.java
10819         java/security/acl/Group.java
10820         java/security/acl/LastOwnerException.java
10821         java/security/acl/NotOwnerException.java
10822         java/security/acl/Owner.java java/security/acl/Permission.java
10823         java/security/cert/CRL.java
10824         java/security/cert/CRLException.java
10825         java/security/cert/Certificate.java
10826         java/security/cert/CertificateEncodingException.java
10827         java/security/cert/CertificateException.java
10828         java/security/cert/CertificateExpiredException.java
10829         java/security/cert/CertificateFactory.java
10830         java/security/cert/CertificateFactorySpi.java
10831         java/security/cert/CertificateNotYetValidException.java
10832         java/security/cert/CertificateParsingException.java
10833         java/security/cert/X509CRL.java
10834         java/security/cert/X509CRLEntry.java
10835         java/security/cert/X509Certificate.java
10836         java/security/cert/X509Extension.java
10837         java/security/interfaces/DSAKey.java
10838         java/security/interfaces/DSAKeyPairGenerator.java
10839         java/security/interfaces/DSAParams.java
10840         java/security/interfaces/DSAPrivateKey.java
10841         java/security/interfaces/DSAPublicKey.java
10842         java/security/interfaces/RSAKey.java
10843         java/security/interfaces/RSAPrivateCrtKey.java
10844         java/security/interfaces/RSAPrivateKey.java
10845         java/security/interfaces/RSAPublicKey.java
10846         java/security/spec/AlgorithmParameterSpec.java
10847         java/security/spec/DSAParameterSpec.java
10848         java/security/spec/DSAPrivateKeySpec.java
10849         java/security/spec/DSAPublicKeySpec.java
10850         java/security/spec/EncodedKeySpec.java
10851         java/security/spec/InvalidKeySpecException.java
10852         java/security/spec/InvalidParameterSpecException.java
10853         java/security/spec/KeySpec.java
10854         java/security/spec/PKCS8EncodedKeySpec.java
10855         java/security/spec/RSAKeyGenParameterSpec.java
10856         java/security/spec/RSAPrivateCrtKeySpec.java
10857         java/security/spec/RSAPrivateKeySpec.java
10858         java/security/spec/RSAPublicKeySpec.java
10859         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
10860         java/sql/BatchUpdateException.java java/sql/Blob.java
10861         java/sql/CallableStatement.java java/sql/Clob.java
10862         java/sql/Connection.java java/sql/DataTruncation.java
10863         java/sql/DatabaseMetaData.java java/sql/Date.java
10864         java/sql/Driver.java java/sql/DriverManager.java
10865         java/sql/DriverPropertyInfo.java
10866         java/sql/PreparedStatement.java java/sql/Ref.java
10867         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
10868         java/sql/SQLData.java java/sql/SQLException.java
10869         java/sql/SQLInput.java java/sql/SQLOutput.java
10870         java/sql/SQLWarning.java java/sql/Statement.java
10871         java/sql/Struct.java java/sql/Time.java
10872         java/sql/Timestamp.java java/sql/Types.java
10873         java/text/Annotation.java
10874         java/text/AttributedCharacterIterator.java
10875         java/text/AttributedString.java
10876         java/text/AttributedStringIterator.java
10877         java/text/BreakIterator.java java/text/CharacterIterator.java
10878         java/text/ChoiceFormat.java java/text/Collator.java
10879         java/text/DateFormat.java java/text/DateFormatSymbols.java
10880         java/text/DecimalFormat.java
10881         java/text/DecimalFormatSymbols.java
10882         java/text/FieldPosition.java java/text/Format.java
10883         java/text/MessageFormat.java java/text/NumberFormat.java
10884         java/text/ParseException.java java/text/ParsePosition.java
10885         java/text/SimpleDateFormat.java
10886         java/text/StringCharacterIterator.java
10887         java/util/AbstractCollection.java java/util/AbstractList.java
10888         java/util/AbstractMap.java
10889         java/util/AbstractSequentialList.java
10890         java/util/AbstractSet.java java/util/ArrayList.java
10891         java/util/Arrays.java java/util/BasicMapEntry.java
10892         java/util/BitSet.java java/util/Calendar.java
10893         java/util/Collection.java java/util/Collections.java
10894         java/util/Comparator.java
10895         java/util/ConcurrentModificationException.java
10896         java/util/Date.java java/util/Dictionary.java
10897         java/util/EmptyStackException.java java/util/Enumeration.java
10898         java/util/EventListener.java java/util/EventObject.java
10899         java/util/GregorianCalendar.java java/util/HashMap.java
10900         java/util/HashSet.java java/util/Hashtable.java
10901         java/util/IdentityHashMap.java java/util/Iterator.java
10902         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
10903         java/util/LinkedList.java java/util/List.java
10904         java/util/ListIterator.java java/util/ListResourceBundle.java
10905         java/util/Locale.java java/util/Map.java
10906         java/util/MissingResourceException.java
10907         java/util/NoSuchElementException.java
10908         java/util/Observable.java java/util/Observer.java
10909         java/util/Properties.java java/util/PropertyPermission.java
10910         java/util/PropertyResourceBundle.java java/util/Random.java
10911         java/util/RandomAccess.java java/util/ResourceBundle.java
10912         java/util/Set.java java/util/SimpleTimeZone.java
10913         java/util/SortedMap.java java/util/SortedSet.java
10914         java/util/Stack.java java/util/StringTokenizer.java
10915         java/util/TimeZone.java java/util/Timer.java
10916         java/util/TimerTask.java
10917         java/util/TooManyListenersException.java
10918         java/util/TreeMap.java java/util/TreeSet.java
10919         java/util/Vector.java java/util/WeakHashMap.java
10920         java/util/jar/Attributes.java java/util/jar/JarEntry.java
10921         java/util/jar/JarException.java java/util/jar/JarFile.java
10922         java/util/jar/JarInputStream.java
10923         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
10924         java/util/zip/Adler32.java java/util/zip/CRC32.java
10925         java/util/zip/CheckedInputStream.java
10926         java/util/zip/CheckedOutputStream.java
10927         java/util/zip/Checksum.java
10928         java/util/zip/DataFormatException.java
10929         java/util/zip/Deflater.java
10930         java/util/zip/DeflaterOutputStream.java
10931         java/util/zip/GZIPInputStream.java
10932         java/util/zip/GZIPOutputStream.java
10933         java/util/zip/Inflater.java
10934         java/util/zip/InflaterInputStream.java
10935         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
10936         java/util/zip/ZipException.java java/util/zip/ZipFile.java
10937         java/util/zip/ZipInputStream.java
10938         java/util/zip/ZipOutputStream.java
10939         javax/naming/BinaryRefAddr.java
10940         javax/naming/InvalidNameException.java javax/naming/Name.java
10941         javax/naming/NamingException.java javax/naming/RefAddr.java
10942         javax/naming/StringRefAddr.java: Add license clarification.
10943
10944 2002-01-22  Tom Tromey  <tromey@redhat.com>
10945
10946         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
10947         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
10948         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
10949         version.
10950         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
10951         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
10952         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
10953         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
10954         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
10955         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
10956         * java/awt/peer/FontPeer.java: Replace with Classpath version.
10957         * java/awt/peer/FramePeer.java: Replace with Classpath version.
10958         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
10959         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
10960         * java/awt/peer/ListPeer.java: Replace with Classpath version.
10961         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
10962         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
10963         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
10964         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
10965         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
10966         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
10967         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
10968         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
10969         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
10970         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
10971         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
10972         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
10973         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
10974         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
10975         (minimumSize, preferredSize, reshape): Likewise.
10976         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
10977         getColorModel): New methods.
10978         * java/awt/PopupMenu.java: Merged with Classpath.
10979         * java/awt/MenuBar.java: Merged with Classpath.
10980         * java/awt/SystemColor.java: Replace with Classpath version.
10981         * java/awt/Panel.java: Merged with Classpath.
10982         * java/awt/PaintContext.java: Updated copyright.
10983         * java/awt/MenuShortcut.java: Merged with Classpath.
10984         * java/awt/MenuContainer.java: Merged with Classpath.
10985         * java/awt/Menu.java: Merged with Classpath.
10986         * java/awt/MediaEntry.java: New file from Classpath.
10987         * java/awt/MediaTracker.java: New file from Classpath.
10988         * java/awt/List.java: Merged with Classpath version.
10989         * java/awt/Insets.java: Merged with Classpath version.
10990         * java/awt/ImageMediaEntry.java: New file from Classpath.
10991         * java/awt/Image.java: Replaced with Classpath version.
10992         * java/awt/FontMetrics.java: Merged with Classpath version.
10993         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
10994         constant.
10995         * java/awt/Font.java: Merged with Classpath version.
10996         * java/awt/Dialog.java: Merged with Classpath version.
10997         * java/awt/Color.java: Merged with Classpath version.
10998         * java/awt/Choice.java: Merged with Classpath version.
10999         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11000         * java/awt/Adjustable.java: Replace with Classpath version.
11001         * java/awt/MenuItem.java (paramString): Don't include class name
11002         or brackets.  Call superclass paramString.
11003         * java/awt/MenuComponent.java (toString): Call paramString.
11004         (paramString): Compute string; don't call toString.
11005         * java/awt/Label.java (paramString): Don't include class name
11006         or brackets.  Call superclass paramString.
11007         * java/awt/Checkbox.java (paramString): Don't include class name
11008         or brackets.  Call superclass paramString.
11009         * java/awt/Button.java (paramString): Don't include class name or
11010         brackets.  Call superclass paramString.
11011         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11012
11013 2002-01-20  Andreas Schwab  <schwab@suse.de>
11014
11015         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11016         function and of parameter recv_func to ssize_t, as specified by
11017         POSIX.
11018
11019 2002-01-19  Per Bothner  <per@bothner.com>
11020
11021         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11022         uncompressed_size in readiness for next entry.
11023
11024 2002-01-18  Tom Tromey  <tromey@redhat.com>
11025
11026         * java/net/natPlainSocketImpl.cc: Include
11027         IllegalArgumentException.h.
11028         (_Jv_recv): New template function.
11029         (BooleanClass): Removed.
11030         (read): Use _Jv_recv.
11031         (setOption): Use Boolean::class$.  Throw exception if object is
11032         not Boolean or Integer.
11033
11034 2002-01-17  Tom Tromey  <tromey@redhat.com>
11035
11036         * java/awt/MenuComponent.java: Merged with Classpath.
11037         * java/awt/MenuItem.java: Merged with Classpath.
11038         * java/awt/Button.java: Merged with Classpath.
11039
11040         * java/awt/ActiveEvent.java: Updated copyright.
11041
11042         * java/awt/AWTError.java: Replaced with Classpath version.
11043         * java/awt/AWTException.java: Replaced with Classpath version.
11044         * java/awt/IllegalComponentStateException.java: Replaced with
11045         Classpath version.
11046
11047 2002-01-16  Tom Tromey  <tromey@redhat.com>
11048
11049         * java/awt/Canvas.java (serialVersionUID): New constant.
11050         Updated copyright.  Added javadoc from Classpath.
11051         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11052
11053         * java/awt/CheckboxGroup.java: Merged with Classpath.
11054         * java/awt/Checkbox.java: Merged with Classpath.
11055
11056         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11057         Classpath.
11058         * java/awt/Point.java: Updated copyright.
11059
11060         * java/awt/Point.java (toString): Use getClass().getName().
11061         Added javadoc.
11062
11063         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11064         commented code.
11065         (hash): Correctly compute initial value for `h'.
11066
11067         * java/awt/Label.java: Merged with Classpath.
11068
11069 2002-01-15  Tom Tromey  <tromey@redhat.com>
11070
11071         * java/awt/AWTPermission.java: Updated copyright.
11072
11073         * java/awt/LayoutManager2.java: Merged with Classpath.
11074         * java/awt/LayoutManager.java: Merged with Classpath.
11075         * java/awt/GridLayout.java: Updated copyright and javadoc.
11076         (getSize): Use `parent.ncomponents'.  Handle insets.
11077         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11078         there are fewer children than columns.  Correctly compute size of
11079         each cell in the grid.  Handle case where there isn't enough
11080         space.
11081         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11082         all users.
11083         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11084         before calling setVisible() on it.  Last item is `num - 1', not
11085         `num'.
11086         (layoutContainer): Hoist invariants out of loop.
11087
11088         Start of AWT merge with Classpath:
11089         * Makefile.in: Rebuilt.
11090         * Makefile.am (awt_java_source_files): Reference files in
11091         gnu/java/awt, not gnu/gcj/awt.
11092         * java/awt/image/BufferedImage.java: Updated copyright.
11093         * java/awt/image/ComponentColorModel.java: Updated copyright.
11094         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11095         * java/awt/image/DataBuffer.java: Updated copyright.
11096         * java/awt/image/DataBufferByte.java: Updated copyright.
11097         * java/awt/image/DataBufferInt.java: Updated copyright.
11098         * java/awt/image/DataBufferUShort.java: Updated copyright.
11099         * java/awt/image/IndexColorModel.java: Updated copyright.
11100         * java/awt/image/PackedColorModel.java: Updated copyright.
11101         * java/awt/image/Raster.java: Updated copyright.
11102         * java/awt/image/RasterOp.java: Updated copyright.
11103         * java/awt/image/SampleModel.java: Updated copyright.
11104         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11105         * java/awt/image/WritableRaster.java: Updated copyright.
11106         * java/awt/color/ColorSpace.java: Updated copyright.
11107         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11108         * java/awt/color/ICC_Profile.java: Updated copyright.
11109         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11110         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11111         * java/awt/event/HierarchyEvent.java: Updated copyright.
11112         * java/awt/event/HierarchyListener.java: Updated copyright.
11113         * java/awt/geom/AffineTransform.java: Updated copyright.
11114         * java/awt/geom/Dimension2D.java: Updated copyright.
11115         * java/awt/geom/Ellipse2D.java: Updated copyright.
11116         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11117         * java/awt/geom/Line2D.java: Updated copyright.
11118         * java/awt/geom/NoninvertibleTransformException.java: Updated
11119         copyright.
11120         * java/awt/geom/PathIterator.java: Updated copyright.
11121         * java/awt/geom/Point2D.java: Updated copyright.
11122         * java/awt/geom/Rectangle2D.java: Updated copyright.
11123         * java/awt/geom/RectangularShape.java: Updated copyright.
11124         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11125         * java/awt/Toolkit.java: Updated import for file moves.
11126         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11127         Classpath.
11128         (hashCode): New method from Classpath.
11129         * java/awt/Graphics2D.java: Updated copyright.
11130         * java/awt/Transparency.java: Updated copyright.
11131         * java/awt/Paint.java: Updated copyright.
11132         * java/awt/Graphics.java: New version from Classpath.
11133         * java/awt/EventDispatchThread.java: Updated copyright.
11134         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11135         children.
11136         (gotoComponent): Wrap around on next/previous.
11137         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11138         * gnu/gcj/awt/Buffers.java: Removed.
11139         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11140         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11141         * gnu/java/awt/BitMaskExtent.java: Added.
11142         * gnu/java/awt/Buffers.java: Added.
11143         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11144         * gnu/java/awt/GLightweightPeer.java: Added.
11145         * java/awt/geom/Line2D.java (clone): Ignore
11146         CloneNotSupportedException.
11147         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11148         * java/awt/Frame.java: Merged with Classpath.
11149         * java/awt/RenderingHints.java: Copyright update.
11150         * java/awt/Paint.java: Copyright update.
11151         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11152         * java/awt/image/ColorModel.java: Merged with Classpath.
11153         * java/awt/Window.java (show): New Implementation from Classpath.
11154         (isShowing): Use super.isShowing().
11155         * java/awt/EventQueue.java: Merged with Classpath.
11156         * java/awt/AWTEventMulticaster.java (save): Throw
11157         RuntimeException.
11158         (saveInternal): Likewise.
11159         * java/awt/AWTEvent.java: Now implements Serializable.
11160         * java/awt/Event.java: Copyright update.
11161         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11162         * java/awt/image/BufferedImage.java: Copyright update.
11163         * java/awt/GraphicsConfiguration.java: Copyright update.
11164         * java/awt/Component.java: (addNotify): Don't call
11165         addNotifyContainerChildren().
11166         (addNotifyContainerChildren): Removed.
11167         (setPeer): New method from Classpath.
11168         (setTreeLock): Likewise.
11169         (setVisible): Rewrote.
11170         (show): Use it.
11171         (hide): Likewise.
11172         (validate): Set `valid'.
11173         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11174         (createImage(ImageProducer)): Likewise.
11175         (prepareImage): Likewise.
11176         * java/awt/Container.java (addImpl): Handle case where constraint
11177         is not a String.  Post event via system event queue.
11178         (remove): Post event via system event queue.
11179         (validateTree): Only validate child if it is invalid.
11180         (getAlignmentX): Call super method as default.
11181         (getAlignmentY): Likewise.
11182         (addContainerListener): Now synchronized.
11183         (removeContainerListener): Likewise.
11184         (addNotifyContainerChildren): Now private.
11185         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11186         @author.
11187         * java/awt/FlowLayout.java (serialVersionUID): New field.
11188         (setAlignment): Better exception message.
11189         (layoutContainer): Don't compute component's preferred size unless
11190         we're going to use it.
11191         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11192         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11193         (firstLine, lastLine, firstItem, lastItem): New fields.
11194         (addLayoutComponent): Handle case where constraints is null.
11195         Also, handle relative locations.
11196         (removeLayoutComponent): Handle relative locations.
11197         (MIN, MAX, PREF): New constants.
11198         (calcCompSize): New method.
11199         (calcSize): New method.
11200         (minimumLayoutSize): Use it.
11201         (preferredLayoutSize): Likewise.
11202         (maximumLayoutSize): Likewise.
11203         (toString): Include more information.
11204         (setBounds): New method.
11205         (layoutContainer): Use libgcj implementation; extended to handle
11206         relative locations.
11207
11208 2002-01-15  Tom Tromey  <tromey@redhat.com>
11209
11210         * java/lang/Float.java (equals): Preserve old code.
11211         * java/lang/Double.java (equals): Preserve old code.
11212
11213 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11214
11215         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11216         * java/lang/Float.java (equals, compare): Ditto.
11217
11218 2002-01-13  Mark Wielaard  <mark@klomp.org>
11219
11220         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11221         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11222         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11223         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11224
11225 2002-01-11  Mark Wielaard  <mark@klomp.org>
11226
11227         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11228         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11229         InetAddress.
11230         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11231         * java/net/Socket.java: Merge with Classpath.
11232         * java/net/ServerSocket.java: Likewise.
11233
11234 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11235
11236         * interpret.cc (NULLARRAYCHECK): New macro.
11237         (SAVE_PC): Just store `pc'.
11238         (find_exception): Subtract one from `pc' here.
11239         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11240         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11241         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11242         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11243         don't call SAVE_PC.
11244         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11245         call SAVE_PC.
11246
11247 2002-01-11  Tom Tromey  <tromey@redhat.com>
11248
11249         * java/lang/natSystem.cc (init_properties): Only look for default
11250         locale if LC_MESSAGES is defined.
11251         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11252         * configure.in: Call AM_LC_MESSAGES.
11253         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11254
11255 2002-01-10  Tom Tromey  <tromey@redhat.com>
11256
11257         For PR libgcj/5303:
11258         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11259         --version.  Recognize GNU-style long options.  Print GNU-style
11260         error messages.
11261         (usage): Print GNU-style help.  Exit with status 0.
11262         (error): New method.
11263         (run): Print error message if no class names found.
11264         (main): Don't print usage on error.
11265
11266 2002-01-09  Tom Tromey  <tromey@redhat.com>
11267
11268         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11269         property.
11270         (help, version): Use println(), not println("").
11271
11272         For PR libgcj/5303:
11273         * gnu/gcj/convert/Convert.java (error): Program is called
11274         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11275         -1.
11276         (main): Handle --help and --version.
11277         (help): New method.
11278         (version): Likewise.
11279
11280 2002-01-08  Tom Tromey  <tromey@redhat.com>
11281
11282         * Makefile.in: Rebuilt.
11283         * Makefile.am (ordinary_java_source_files): Added new files.
11284         * gnu/java/locale/LocaleInformation.java: Extend
11285         LocaleInformation_en.
11286         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11287         and time/date formats.
11288         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11289         generated.
11290         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11291         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11292         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11293         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11294         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11295         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11296         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11297         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11298         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11299         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11300         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11301         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11302         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11303         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11304         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11305         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11306         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11307         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11308         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11309         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11310         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11311         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11312         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11313         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11314         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11315         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11316         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11317         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11318         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11319         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11320         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11321         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11322         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11323         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11324         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11325         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11326         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11327         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11328         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11329         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11330         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11331         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11332         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11333         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11334         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11335         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11336         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11337         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11338         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11339         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11340         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11341         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11342         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11343         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11344         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11345         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11346         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11347         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11348         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11349         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11350         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11351         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11352         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11353         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11354         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11355         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11356         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11357         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11358         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11359         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11360         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11361         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11362         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11363         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11364         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11365         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11366         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11367         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11368         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11369         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11370         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11371         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11372         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11373         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11374         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11375         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11376         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11377         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11378         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11379         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11380         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11381         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11382         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11383         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11384         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11385         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11386         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11387         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11388         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11389         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11390         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11391         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11392         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11393         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11394         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11395         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11396         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11397         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11398         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11399         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11400         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11401         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11402         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11403         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11404         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11405         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11406         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11407         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11408         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11409         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11410         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11411         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11412         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11413         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11414         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11415         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11416         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11417         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11418         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11419         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11420
11421         For PR libgcj/5031:
11422         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11423         choose default locale.
11424
11425         * Makefile.in: Rebuilt.
11426         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11427
11428 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11429
11430         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11431         sockets.
11432         (close): New function closes the socket.
11433         (write): New functions for output to socket.
11434         (read): New functions for reading from socket.
11435         * java/net/PlainSocketImpl.java: Glue for new timeout
11436         implementation.
11437         (write): Call the native impl.
11438         (read): Likewise.
11439         (getInputStream): Get a stream to read from the socket.
11440         (getOutputStream): Get a stream to write to the socket.
11441
11442 2002-01-08  Tom Tromey  <tromey@redhat.com>
11443
11444         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11445
11446 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11447
11448         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11449         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11450
11451 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11452
11453         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11454         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11455         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11456         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11457         insn_bastore, insn_castore, insn_sastore]: Use it.
11458         (continue1) [insn_arraylength]: Check for null array.
11459
11460 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11461
11462         * configure, include/config.h.in: Rebuilt.
11463         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11464         * configure.in: Call AC_STRUCT_TIMEZONE.
11465
11466 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11467
11468         * configure.host: Disable the interpreter for Darwin.
11469
11470 2002-01-04  Tom Tromey  <tromey@redhat.com>
11471
11472         * java/lang/Thread.java (stop): No longer synchronized.
11473         (start): Likewise.
11474
11475 2002-01-02  Tom Tromey  <tromey@redhat.com>
11476
11477         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11478         patch.
11479
11480 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11481
11482         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11483         PPC Darwin, not for all of Darwin.