natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
2
3         * java/lang/natVMSecurityManager.cc (getClassContext):
4         Use maxlen instead of len for loop bound.
5
6 2003-06-18  Michael Koch  <konqueror@gmx.de>
7
8         * gnu/java/nio/SelectorImpl.java
9         (register): Use fd with value 0 for now, will be fixed later.
10         * gnu/java/nio/ServerSocketChannelImpl.java
11         (fd): Removed.
12         (local_port): Removed.
13         (InetSocketAddress): Removed.
14         (ServerSocketChannelImpl): Just initialize internal socket object.
15         (implCloseSelectableChannel): Close internal socket object.
16         (implConfigureBlocking): Added comment.
17         (accept): Use jaba.net stuff to accept socket.
18         * gnu/java/nio/SocketChannelImpl.java
19         (fd): Removed.
20         (local_port): Removed.
21         (InetSocketAddress): Removed.
22         (SocketCreate): Removed.
23         (SocketConnect): Removed.
24         (SocketBind): Removed.
25         (SocketListen): Removed.
26         (SocketAvailable): Removed.
27         (SocketClose): Removed.
28         (SocketRead): Removed.
29         (SocketWrite): Removed.
30         (SocketChannelImpl): Just initialize internal socket object.
31         (implCloseSelectableChannel): Close internal socket object.
32         (implConfigureBlocking): Fixed implementation, added comment.
33         (connect): Use internal socket object to connect.
34         (socket): No need for sanity checks.
35         (read): Comment out some stuff, this will be reimplemented in the next
36         commit.
37         (write): Likewise.
38         * gnu/java/nio/natFileChannelImpl.cc
39         (nio_mmap_file): Line wrapped.
40         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
41         * Makefile.am
42         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
43         * Makefile.in: Regenerated.
44
45 2003-06-18  Michael Koch  <konqueror@gmx.de>
46
47         * java/util/Locale.java
48         (equals): Merged from classpath.
49
50 2003-06-18  Michael Koch  <konqueror@gmx.de>
51
52         * java/net/InetAddress.java:
53         Reformatted to better match classpath's version.
54         * java/net/URL.java
55         (equals): Simplified.
56         * java/net/URLConnection.java
57         (setDoInput): Revised documentation.
58         (getDefaultUseCaches): Likewise.
59         (setRequestProperty): Added @since tag.
60
61 2003-06-17  Michael Koch  <konqueror@gmx.de>
62
63         * java/net/InetSocketAddress.java
64         (InetSocketAddress): Use wildcard address if addr is null.
65         (InetSocketAddress): Dont duplicate implementation.
66         (InetSocketAddress): Throw exception when hostname is null.
67         * java/net/Socket.java:
68         Reworked imports.
69         (Socket): Throw exception when raddr is null, handle case when laddr
70         is null.
71
72 2003-06-17  Michael Koch  <konqueror@gmx.de>
73
74         * java/nio/DirectByteBufferImpl.java
75         (address): Made package private.
76         (DirectByteBufferImpl): New constructor.
77         * java/nio/natDirectByteBufferImpl.cc
78         (allocateImpl): Moved to java.nio namespace, implemented.
79         (freeImpl): Likewise.
80         (getImpl): Likewise.
81         (putImpl): Likewise.
82         * jni.cc
83         (_Jv_JNI_NewDirectByteBuffer): Implemented.
84         (_Jv_JNI_GetDirectBufferAddress): Implemented.
85         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
86
87 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
88
89         * include/powerpc-signal.h: New File.
90         * configure.in: Use it.
91         * configure: Regenerated.
92
93 2003-06-17  Michael Koch  <konqueror@gmx.de>
94
95         * java/util/Locale.java
96         (getDisplayLanguage): Made it final.
97         (getDisplayCountry): Likewise.
98         (getDisplayVariant): Likewise.
99         (getDisplayName): Likewise.
100
101 2003-06-17  Michael Koch  <konqueror@gmx.de>
102
103         * java/util/PropertyResourceBundle.java:
104         Removed unneeded import.
105
106 2003-06-17  Michael Koch  <konqueror@gmx.de>
107
108         * java/util/prefs/AbstractPreferences.java,
109         java/util/prefs/PreferencesFactory.java:
110         Reworked imports, removed unused imports.
111         * java/util/prefs/Preferences.java
112         (systemNodeForPackage): Method takes a Class not an Object.
113         (userNodeForPackage): Likewise.
114         (nodeForPackage): Likewise.
115
116 2003-06-17  Michael Koch  <konqueror@gmx.de>
117
118         * gnu/java/security/x509/X509Certificate.java:
119         Explicitely import used classes.
120
121 2003-06-17  Michael Koch  <konqueror@gmx.de>
122
123         * java/util/zip/ZipEntry.java,
124         java/util/zip/ZipFile.java,
125         java/util/zip/ZipInputStream.java,
126         java/util/zip/ZipOutputStream.java:
127         Reworked imports, only import used classes.
128
129 2003-06-17  Michael Koch  <konqueror@gmx.de>
130
131         * gnu/java/lang/ArrayHelper.java,
132         gnu/java/lang/ClassHelper.java:
133         Reformatted to match classpath's versions.
134
135 2003-06-14  Michael Koch  <konqueror@gmx.de>
136
137         * gnu/java/nio/FileChannelImpl.java
138         (map_address): Removed incorrect comment.        
139         * gnu/java/nio/SelectorImpl.java
140         (register): Remove code duplication and code for file channel handling.        
141         * gnu/java/nio/ServerSocketChannelImpl.java
142         (serverSocket): Renamed from sock_object.
143         (ServerSocketChannel): Initialize serverSocket.
144         (socket): Return serverSocket.
145         * gnu/java/nio/SocketChannelImpl.java
146         (socket): Renamed from sock_object.
147         (isConnectionPenging): Simplified.
148         (socket): Return socket.
149 2003-06-14  Michael Koch  <konqueror@gmx.de>
150
151         * java/security/BasicPermission.java:
152         New version from classpath.
153
154 2003-06-14  Michael Koch  <konqueror@gmx.de>
155
156         * javax/naming/directory/Attribute.java:
157         New version from classpath.
158
159 2003-06-14  Michael Koch  <konqueror@gmx.de>
160
161         * java/io/BufferedReader.java,
162         java/io/FileOutputStream.java:
163         New versions from classpath.
164
165 2003-06-12  Andrew Haley  <aph@redhat.com>
166
167         * prims.cc (catch_segv): Create exception in handler.
168         (catch_fpe): Likewise.  
169         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
170         (_Jv_ThrowSignal): Remove.
171
172         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
173         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
174         to nullp and arithexception.
175         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
176         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
177         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
178         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
179         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
180
181 2003-06-11  Andrew Haley  <aph@redhat.com>
182
183         * jni.cc (_Jv_JNI_check_types): New.
184         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
185         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
186         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
187         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
188         
189         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
190         infinite loop.
191
192 2003-06-11  Tom Tromey  <tromey@redhat.com>
193
194         * java/lang/ClassLoader.java (loadClass): Not deprecated.
195         * java/io/PrintStream.java: Not deprecated.
196
197 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
198
199         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
200         (fillOval): implemented
201         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
202         (fillArc): implemented.
203         * gnu/gcj/xlib/GC.java (drawArc): added native method.
204         (fillArc): added native method.
205         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
206         (fillArc): added native method.
207
208 2003-06-11  Michael Koch  <konqueror@gmx.de>
209
210         * java/awt/im/InputSubset.java:
211         New version from classpath.
212
213 2003-06-11  Michael Koch  <konqueror@gmx.de>
214
215         * javax/swing/AbstractAction.java,
216         javax/swing/AbstractButton.java,
217         javax/swing/AbstractCellEditor.java,
218         javax/swing/AbstractListModel.java,
219         javax/swing/BorderFactory.java,
220         javax/swing/Box.java,
221         javax/swing/BoxLayout.java,
222         javax/swing/ButtonGroup.java,
223         javax/swing/DefaultButtonModel.java,
224         javax/swing/DefaultListModel.java,
225         javax/swing/DefaultListSelectionModel.java,
226         javax/swing/FocusManager.java,
227         javax/swing/ImageIcon.java,
228         javax/swing/InputMap.java,
229         javax/swing/JApplet.java,
230         javax/swing/JButton.java,
231         javax/swing/JCheckBox.java,
232         javax/swing/JCheckBoxMenuItem.java,
233         javax/swing/JColorChooser.java,
234         javax/swing/JComboBox.java,
235         javax/swing/JComponent.java,
236         javax/swing/JDesktopPane.java,
237         javax/swing/JDialog.java,
238         javax/swing/JEditorPane.java,
239         javax/swing/JFileChooser.java,
240         javax/swing/JFormattedTextField.java,
241         javax/swing/JFrame.java,
242         javax/swing/JLabel.java,
243         javax/swing/JLayeredPane.java,
244         javax/swing/JList.java,
245         javax/swing/JMenuBar.java,
246         javax/swing/JMenuItem.java,
247         javax/swing/JOptionPane.java,
248         javax/swing/JPanel.java,
249         javax/swing/JPasswordField.java,
250         javax/swing/JPopupMenu.java,
251         javax/swing/JProgressBar.java,
252         javax/swing/JRadioButton.java,
253         javax/swing/JRadioButtonMenuItem.java,
254         javax/swing/JRootPane.java,
255         javax/swing/JScrollBar.java,
256         javax/swing/JScrollPane.java,
257         javax/swing/JSeparator.java,
258         javax/swing/JSlider.java,
259         javax/swing/JTabbedPane.java,
260         javax/swing/JTable.java,
261         javax/swing/JTextField.java,
262         javax/swing/JToggleButton.java,
263         javax/swing/JToolBar.java,
264         javax/swing/JToolTip.java,
265         javax/swing/JTree.java,
266         javax/swing/JViewport.java,
267         javax/swing/JWindow.java,
268         javax/swing/KeyStroke.java,
269         javax/swing/ListSelectionModel.java,
270         javax/swing/LookAndFeel.java,
271         javax/swing/RepaintManager.java,
272         javax/swing/ScrollPaneLayout.java,
273         javax/swing/SizeRequirements.java,
274         javax/swing/SwingConstants.java,
275         javax/swing/Timer.java,
276         javax/swing/UIDefaults.java,
277         javax/swing/UIManager.java,
278         javax/swing/border/AbstractBorder.java,
279         javax/swing/border/CompoundBorder.java,
280         javax/swing/colorchooser/AbstractColorChooserPanel.java,
281         javax/swing/colorchooser/ColorChooserComponentFactory.java,
282         javax/swing/colorchooser/ColorSelectionModel.java,
283         javax/swing/colorchooser/DefaultColorSelectionModel.java,
284         javax/swing/event/AncestorEvent.java,
285         javax/swing/event/HyperlinkEvent.java,
286         javax/swing/event/InternalFrameAdapter.java,
287         javax/swing/event/InternalFrameEvent.java,
288         javax/swing/event/ListDataEvent.java,
289         javax/swing/event/MouseInputAdapter.java,
290         javax/swing/event/SwingPropertyChangeSupport.java,
291         javax/swing/event/TableModelEvent.java,
292         javax/swing/event/TreeWillExpandListener.java,
293         javax/swing/event/UndoableEditEvent.java,
294         javax/swing/filechooser/FileFilter.java,
295         javax/swing/filechooser/FileSystemView.java,
296         javax/swing/filechooser/FileView.java,
297         javax/swing/plaf/BorderUIResource.java,
298         javax/swing/plaf/basic/BasicDefaults.java,
299         javax/swing/table/AbstractTableModel.java,
300         javax/swing/table/DefaultTableCellRenderer.java,
301         javax/swing/table/DefaultTableColumnModel.java,
302         javax/swing/table/DefaultTableModel.java,
303         javax/swing/table/TableColumn.java,
304         javax/swing/text/JTextComponent.java,
305         javax/swing/tree/AbstractLayoutCache.java,
306         javax/swing/tree/DefaultMutableTreeNode.java,
307         javax/swing/tree/DefaultTreeCellEditor.java,
308         javax/swing/tree/DefaultTreeCellRenderer.java,
309         javax/swing/tree/DefaultTreeModel.java,
310         javax/swing/tree/DefaultTreeSelectionModel.java,
311         javax/swing/tree/FixedHeightLayoutCache.java,
312         javax/swing/tree/TreeCellEditor.java,
313         javax/swing/tree/TreeModel.java,
314         javax/swing/tree/TreeNode.java,
315         javax/swing/tree/TreePath.java,
316         javax/swing/tree/TreeSelectionModel.java,
317         javax/swing/tree/VariableHeightLayoutCache.java,
318         javax/swing/undo/AbstractUndoableEdit.java,
319         javax/swing/undo/CompoundEdit.java,
320         javax/swing/undo/StateEdit.java,
321         javax/swing/undo/UndoManager.java,
322         javax/swing/undo/UndoableEditSupport.java:
323         New versions from classpath.
324         * javax/swing/table/JTableHeader.java:
325         New file from classpath.
326         * Makefile.am
327         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
328         * Makefile.in: Regenerated.
329
330 2003-06-11  Michael Koch  <konqueror@gmx.de>
331
332         * java/nio/MappedByteBuffer.java,
333         java/nio/channels/Channels.java,
334         java/nio/channels/ServerSocketChannel.java,
335         java/nio/channels/spi/AbstractSelector.java:
336         Removed unneeded imports.
337
338 2003-06-11  Michael Koch  <konqueror@gmx.de>
339
340         * java/net/DatagramSocket.java:
341         Partly merged with classpath.
342
343 2003-06-11  Michael Koch  <konqueror@gmx.de>
344
345         * java/awt/Frame.java,
346         java/awt/Graphics.java,
347         java/awt/Menu.java,
348         java/awt/Robot.java,
349         java/awt/image/ColorModel.java:
350         New versions from classpath.
351
352 2003-06-10  Michael Koch  <konqueror@gmx.de>
353
354         * java/io/PrintStream.java:
355         Merged version from classpath.
356         (close): Removed sychronized keyword. This class is not garantied to
357         be thread-safe.
358         (write): Likewise.
359
360 2003-06-09  Tom Tromey  <tromey@redhat.com>
361
362         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
363         field.
364         (getDescent): Likewise, for "descent".
365
366 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
367
368         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
369         (getMaxDescent): adjusted return value.
370         (getAscent): modified to use metrics for 'O'.
371         (getDescent): modified to use metrics for 'y'.
372
373 2003-06-08  Anthony Green  <green@redhat.com>
374
375         * java/net/URLStreamHandler.java (sameFile): Fix port value
376         comparison.
377         * java/net/URL.java (handler): Make package private.
378         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
379
380 2003-06-07  Tom Tromey  <tromey@redhat.com>
381
382         For PR libgcj/11085:
383         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
384         Limit number of characters in numeric field when required.
385         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
386         Respect maximumIntegerDigits.
387
388 2003-06-08  Michael Koch  <konqueror@gmx.de>
389
390         * java/net/Socket.java
391         (Socket): Dont initialize inputShutdown and outputShutdown twice,
392         call bind() and connect() to actually do the bind and connect tasks.
393         (bind): Connect to canonical address if bindpoint is null, create
394         socket and bind it to bindpoint.
395         (connect): Check for exceptions.
396
397 2003-06-08  Michael Koch  <konqueror@gmx.de>
398
399         * java/net/DatagramSocket.java
400         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
401         into the Multicast constructors.
402         * java/net/DatagramSocketImpl.java
403         (getOption): Removed.
404         (setOption): Removed.
405         * java/net/MulticastSocket.java
406         (MulticastSocket): Call setReuseAddress (true).
407         * java/net/SocketImpl.java
408         (getOption): Removed.
409         (setOption): Removed.
410
411 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
412
413         PR libgcj/10886:
414         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
415         Test for empty vector.
416
417 2003-06-06  Mark Wielaard  <mark@klomp.org>
418
419         * java/security/Security.java (secprops): Initialize.
420         (loadProviders): Return boolean.
421         (static): Check result of loadProvider calls. If necessary
422         display WARNING and fallback to Gnu provider.
423
424 2002-06-06  James Clark  <jjc@jclark.com>
425
426         Fix for PR libgcj/8738:
427         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
428         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
429         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
430         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
431         (write): Always decrease avail when count is increased.
432         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
433         and whether output buffer is full before increasing size.
434
435 2002-06-06  Mark Wielaard  <mark@klomp dot org>
436
437         * java/io/PrintStream.java (writeChars(char[],int, int)):
438         Check converter.havePendingBytes().
439         (writeChars(String,int,int)): Likewise.
440         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
441         Check converter.havePendingBytes() and flush buffer when stalled.
442
443 2003-06-07  Michael Koch  <konqueror@gmx.de>
444
445         * include/posix.h
446         (O_DSYNC): Define O_DSYNC on platforms not
447         supporting O_FSYNC (newlib).
448
449 2003-06-06  Mark Wielaard  <mark@klomp.org>
450
451         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
452         AWTError.
453
454 2003-06-06  Michael Koch  <konqueror@gmx.de>
455
456         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
457         More compile fixes from my stupid work yesterday.
458
459 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
460
461         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
462         if _IEEE_LIBM is undefined.
463
464 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
465
466         * libjava/include/posix.h (O_SYNC): Define if not available
467         and a reasonable, perhaps more conservative, replacement exists.
468         (O_DSYNC): Likewise.
469         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
470
471 2003-06-05  Michael Koch  <konqueror@gmx.de>
472
473         * javax/swing/plaf/BorderUIResource.java,
474         javax/swing/plaf/basic/BasicDefaults.java,
475         javax/swing/plaf/basic/BasicOptionPaneUI.java:
476         More compile fixes for latest Border commit. I should not commit
477         something in this heat here ...
478
479 2003-06-05  Michael Koch  <konqueror@gmx.de>
480
481         * javax/swing/border/BevelBorder.java
482         (BevelBorder): Removed.
483         * javax/swing/border/EmptyBorder.java:
484         Reformatted.
485         (EmptyBorder): Removed.
486         (getBorderInsets): Dont use l, r, t and b.
487         * javax/swing/border/EtchedBorder.java
488         (EtchedBorder): Removed.
489         * javax/swing/border/LineBorder.java
490         (LineBorder): Removed.
491         * javax/swing/border/MatteBorder.java
492         (MatteBorder): Removed.
493         * javax/swing/border/TitledBorder.java
494         (defaultBorder): Use other default for now.
495         (defaultFont): Likewise.
496         (defaultColor): Likewise.
497
498 2003-06-05  Michael Koch  <konqueror@gmx.de>
499
500         * javax/swing/border/Border.java:
501         New version from classpath.
502
503 2003-06-05  Michael Koch  <konqueror@gmx.de>
504
505         * javax/swing/border/AbstractBorder.java,
506         javax/swing/border/BevelBorder.java,
507         javax/swing/border/CompoundBorder.java,
508         javax/swing/border/EmptyBorder.java,
509         javax/swing/border/EtchedBorder.java,
510         javax/swing/border/LineBorder.java,
511         javax/swing/border/MatteBorder.java,
512         javax/swing/border/TitledBorder.java:
513         New versions from Classpath.
514
515 2003-06-05  Michael Koch  <konqueror@gmx.de>
516
517         * java/awt/Button.java,
518         java/awt/Checkbox.java,
519         java/awt/CheckboxMenuItem.java,
520         java/awt/Choice.java,
521         java/awt/Container.java,
522         java/awt/Dialog.java,
523         java/awt/EventQueue.java,
524         java/awt/FileDialog.java,
525         java/awt/Frame.java,
526         java/awt/Label.java,
527         java/awt/List.java,
528         java/awt/Menu.java,
529         java/awt/MenuItem.java,
530         java/awt/Panel.java,
531         java/awt/PopupMenu.java,
532         java/awt/Rectangle.java,
533         java/awt/ScrollPane.java,
534         java/awt/Scrollbar.java,
535         java/awt/TextArea.java,
536         java/awt/TextField.java,
537         java/awt/Window.java,
538         java/awt/datatransfer/DataFlavor.java,
539         java/awt/dnd/DragSource.java,
540         java/awt/dnd/DragSourceContext.java,
541         java/awt/event/HierarchyEvent.java,
542         java/awt/event/MouseWheelEvent.java,
543         java/awt/im/InputContext.java,
544         java/awt/image/BufferedImage.java,
545         java/awt/image/ComponentColorModel.java,
546         java/awt/image/Raster.java,
547         java/awt/image/WritableRaster.java,
548         java/awt/peer/ComponentPeer.java,
549         java/awt/print/PageFormat.java,
550         java/awt/print/PrinterJob.java:
551         New versions from Classpath.
552
553 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
554
555         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
556         numberFormat.setParseIntegerOnly(true).
557
558 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
559
560         * include/posix-threads.h: Include <machine/pal.h> on OSF.
561
562 2003-06-03  Andrew Haley  <aph@redhat.com>
563
564         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
565         stack volatile to prevent optimization from removing it.
566
567 2003-05-27  Michael Koch  <konqueror@gmx.de>
568
569         * java/util/zip/Deflater.java
570         (FILTERED): Merged documentation from classpath.
571         * java/util/zip/DeflaterOutputStream.java
572         (DeflaterOutputStream): Merged documentation and argument validity
573         check from classpath.
574         (deflate): Merged documentation from classpath.
575         (finish): Likewise.
576         * java/util/zip/Inflater.java
577         (Inflater): Merged class documentation from classpath.
578         (zstream): Reordered.
579         (is_finished): Reordered.
580         (dict_needed): Reordered.
581         (Inflater): Reordered, merged documentation from classpath.
582         (end): Likewise.
583         (finalize): Merged documentation from classpath.
584         (finished): Likewise.
585         (getAdler): Likewise.
586         (getRemaining): Likewise.
587         (getTotalIn): Likewise.
588         (getTotalOut): Likewise.
589         (inflate): Likewise.
590         (needsDictionary): Likewise.
591         (needsInput): Likewise.
592         (reset): Likewise.
593         (setDictionary): Likewise.
594         (setInput): Likewise.
595
596 2003-05-27  Michael Koch  <konqueror@gmx.de>
597
598         * java/net/URLConnection.java
599         (getHeaderFieldInt): Merged with classpath.
600
601 2003-05-27  Michael Koch  <konqueror@gmx.de>
602
603         * java/io/PrintStream.java
604         (PrintStream): Reformatted.
605         (PrintStream): New method, merged from classpath.
606         (write): Reformatted.
607
608 2003-05-27  Michael Koch  <konqueror@gmx.de>
609
610         * java/lang/System.java:
611         Explicitely import needed classes.
612
613 2003-05-26  Michael Koch  <konqueror@gmx.de>
614
615         * java/net/NetPermission.java,
616         java/net/NetworkInterface.java,
617         java/net/PasswordAuthentication.java,
618         java/net/SocketPermission.java:
619         New versions from classpath.
620
621 2003-05-25  Michael Koch  <konqueror@gmx.de>
622
623         * java/io/PushbackInputStream.java,
624         java/net/Authenticator.java,
625         java/net/ContentHandler.java,
626         java/net/ContentHandlerFactory.java,
627         java/net/DatagramSocket.java,
628         java/net/DatagramSocketImpl.java,
629         java/net/DatagramSocketImplFactory.java,
630         java/net/FileNameMap.java,
631         java/net/SocketImplFactory.java,
632         java/net/SocketOptions.java,
633         java/net/URLStreamHandlerFactory.java:
634         Merged new versions from classpath.
635
636 2003-05-25  Michael Koch  <konqueror@gmx.de>
637
638         * java/awt/Checkbox.java,
639         java/awt/Dialog.java,
640         java/awt/Font.java,
641         java/awt/Frame.java,
642         java/awt/ScrollPaneAdjustable.java,
643         java/awt/Scrollbar.java,
644         java/awt/Window.java:
645         New versions from classpath.
646
647 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
648
649         PR libgcj/10838:
650         * java/io/ObjectInputStream (enableResolveObject):
651         Fixed spelling of permission name.
652
653 2003-05-20  Michael Koch  <konqueror@gmx.de>
654
655         * java/io/DataInputStream.java
656         (convertFromUTF): Merged comment from classpath.
657         * java/io/PrintStream.java
658         (error_occured): Renamed from error, merged comment from classpath.
659         (PrintStream): No need to initialized error.
660         (checkError): Replace error with error_occurred.
661         (setError): Likewise.
662
663 2003-05-20  Michael Koch  <konqueror@gmx.de>
664
665         * java/io/DataInputStream.java:
666         Reformatted, Replaced < and & with html entitites in documentation.
667         * java/io/File.java:
668         Reformatted.
669         * java/io/PrintWriter.java:
670         Moved class documentation.
671
672 2003-05-20  Michael Koch  <konqueror@gmx.de>
673
674         * gnu/java/nio/ByteBufferImpl.java,
675         gnu/java/nio/CharBufferImpl.java,
676         gnu/java/nio/CharViewBufferImpl.java,
677         gnu/java/nio/DirectByteBufferImpl.java,
678         gnu/java/nio/DoubleBufferImpl.java,
679         gnu/java/nio/DoubleViewBufferImpl.java,
680         gnu/java/nio/FloatBufferImpl.java,
681         gnu/java/nio/FloatViewBufferImpl.java,
682         gnu/java/nio/IntBufferImpl.java,
683         gnu/java/nio/IntViewBufferImpl.java,
684         gnu/java/nio/LongBufferImpl.java,
685         gnu/java/nio/LongViewBufferImpl.java,
686         gnu/java/nio/natDirectByteBufferImpl.cc,
687         gnu/java/nio/ShortBufferImpl.java,
688         gnu/java/nio/ShortViewBufferImpl.java:
689         Moved files to java/nio.
690         * gnu/java/nio/SocketChannelImpl.java
691         
692         * java/nio/ByteBuffer.java,
693         java/nio/CharBuffer.java,
694         java/nio/DoubleBuffer.java,
695         java/nio/FloatBuffer.java,
696         java/nio/IntBuffer.java,
697         java/nio/LongBuffer.java,
698         java/nio/ShortBuffer.java:
699         Dont import anything.
700         * java/nio/ByteBufferImpl.java,
701         java/nio/CharBufferImpl.java,
702         java/nio/CharViewBufferImpl.java,
703         java/nio/DirectByteBufferImpl.java,
704         java/nio/DoubleBufferImpl.java,
705         java/nio/DoubleViewBufferImpl.java,
706         java/nio/FloatBufferImpl.java,
707         java/nio/FloatViewBufferImpl.java,
708         java/nio/IntBufferImpl.java,
709         java/nio/IntViewBufferImpl.java,
710         java/nio/LongBufferImpl.java,
711         java/nio/LongViewBufferImpl.java,
712         java/nio/natDirectByteBufferImpl.cc,
713         java/nio/ShortBufferImpl.java,
714         java/nio/ShortViewBufferImpl.java:
715         Moved from gnu/java/nio.
716         * Makefile.am
717         (ordinary_java_source_files): Moved files from gnu/java/nio to
718         java/nio.
719         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
720         to java/nio.
721         * Makefile.in: Regenerated.
722
723 2003-05-19  Michael Koch  <konqueror@gmx.de>
724
725         * java/util/Calendar.java
726         (get): Not final anymore since JDK 1.4
727         (set): Likewise.
728
729 2003-05-19  Michael Koch  <konqueror@gmx.de>
730
731         * java/text/CollationKey.java:
732         Merged copyright and dat from classpath.
733         * java/text/RuleBasedCollator.java:
734         Merged class documentation from classpath.
735
736 2003-05-19  Michael Koch  <konqueror@gmx.de>
737
738         * java/nio/CharBuffer.java
739         (toString): Compile fix.
740
741 2003-05-19  Michael Koch  <konqueror@gmx.de>
742
743         * gnu/java/nio/ByteBufferImpl.java
744         (putLong): Fixed conversion to bytes.
745         (putDouble): Fixed conversion to bytes.
746         * gnu/java/nio/DirectByteBufferImpl.java
747         (putLong): Fixed conversion to bytes.
748         (putDouble): Fixed conversion to bytes.
749         * gnu/java/nio/FileLockImpl.java
750         (isValid): Reformatted.
751         * java/nio/Buffer.java
752         (Buffer): Fixed off-by-one bug in handling mark.
753         * java/nio/ByteBuffer.java:
754         Added newline.
755         * java/nio/CharBuffer.java
756         (toString): Don't use relative get to get string data.
757
758 2003-05-16  Michael Koch  <konqueror@gmx.de>
759
760         * java/io/natFileDescriptorPosix.cc
761         (open): Commented out the O_SYNC and O_DSYNC usage until its better
762         tested.
763
764 2003-05-14  Michael Koch  <konqueror@gmx.de>
765
766         * gnu/java/nio/FileLockImpl.java
767         (released): New member variable.
768         (FileLockImpl): Initialize released.
769         (releaseImpl): New native method.
770         (release): Implemented.
771         * gnu/java/nio/SelectorImpl.java: Reformatted.
772         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
773         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
774         (accept): Throws IOException.
775         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
776         (implConfigureBlocking): Throws IOException.
777         (connect): Likewise.
778         (read): Likewise.
779         (write): Likewise.
780         * gnu/java/nio/natFileLockImpl.cc: New file.
781         * java/nio/channels/FileLock.java: Reformatted.
782         * Makefile.am:
783         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
784         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
785         * Makefile.in: Regenerated.
786
787 2003-05-13  Michael Koch  <konqueror@gmx.de>
788
789         * gnu/java/nio/CharViewBufferImpl.java
790         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
791         (get): Shift bits to the right direction.
792         (put): Likewise.
793         * gnu/java/nio/DoubleViewBufferImpl.java
794         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
795         (get): Shift bits to the right direction.
796         (put): Likewise.
797         * gnu/java/nio/FloatViewBufferImpl.java
798         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
799         (get): Shift bits to the right direction.
800         (put): Likewise.
801         * gnu/java/nio/IntViewBufferImpl.java
802         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
803         (get): Shift bits to the right direction.
804         (put): Likewise.
805         * gnu/java/nio/LongViewBufferImpl.java
806         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
807         (get): Shift bits to the right direction.
808         (put): Likewise.
809         * gnu/java/nio/ShortViewBufferImpl.java
810         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
811         (get): Shift bits to the right direction.
812         (put): Likewise.
813
814 2003-05-13  Michael Koch  <konqueror@gmx.de>
815
816         * gnu/java/nio/natDirectByteBufferImpl.cc
817         (allocateImpl): jlong -> RawData*.
818         (freeImpl): Likewise.
819
820 2003-05-13  Michael Koch  <konqueror@gmx.de>
821
822         * java/nio/channels/FileChannel.java
823         (MapMode.m): Made it package-private to match JDK 1.4.
824         * java/nio/charset/Charset.java
825         (decode): Made it final to match JDK 1.4.
826
827 2003-05-13  Michael Koch  <konqueror@gmx.de>
828
829        * java/io/FileDescriptor.java
830        (SYNC): New constant.
831        (DSYNC): Likewise.
832        (getLength): Renamed from lenght() to match classpath's
833        FileDescriptor.java.
834        * java/io/RandomAccessFile.java
835        (RandomAccessFile): Removed unneeded mode check, implemented mode
836        "rws" and "rwd", merged documentation from classpath.
837        (setLength): Reformatted.
838        (length): Use new getLength() of FileDescriptor.
839        * java/io/natFileDescriptorEcos.cc
840        (getLength): Renamed from length().
841        * java/io/natFileDescriptorPosix.cc
842        (open): Implemented support for SYNC and DSYNC.
843        (seek): Use getLength() instead of length().
844        (getLength): Renamed from length().
845        * java/io/natFileDescriptorWin32.cc
846        (getLength): Renamed from length().
847        (seek): Use getLength() instead of length().
848        (available): Likewise.
849        * gnu/java/nio/natFileChannelImpl.cc
850        (size): Use getLength() instead of length().
851
852 2003-05-13  Michael Koch  <konqueror@gmx.de>
853
854         * gnu/java/nio/ByteBufferImpl.java
855         (ByteBufferImpl): All constructors revised.
856         (slice): Reimplemented.
857         (duplicate): Reimplemented.
858         (asReadOnlyBuffer): Reimplemented.
859         * java/nio/ByteBuffer.java:
860         Reformatted.
861         (array_offset): Renamed from "offset" to match all other buffer
862         classes.
863         (ByteBuffer): All constructors revised.
864         (allocateDirect): Implemented.
865         (allocate): New implementation, documentation reworked.
866         (wrap): Likewise.
867         (get): Documentation reworked.
868         (put): New implementation, documentation reworked.
869         (hasArray): Documentation reworked.
870         (arrayOffset): Likewise.
871         (hashCode): Likewise.
872         (equals): Likewise.
873         (compareTo): Likewise.
874         (order): Likewise.
875         (compact): Likewise.
876         (isDirect): Likewise.
877         (slice): Likewise.
878         (duplicate): Likewise.
879         (asReadOnlyBuffer): Likewise.
880         * Makefile.am
881         (ordinary_java_source_files):
882         Added gnu/java/nio/DirectByteBufferImpl.java.
883         (nat_source_files):
884         Added gnu/java/nio/natDirectByteBufferImpl.cc.
885         * Makefile.in: Regenerated.
886
887 2003-05-12  Michael Koch  <konqueror@gmx.de>
888
889         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
890         (nio_get_*): Removed.
891         (nio_put_*): Removed.
892         (as*Buffer): Implemented.
893         (compact): Implemented.
894         (get): Documentation added.
895         (put): Documentation added.
896         (get*): Newly implemented.
897         (put*): Newly implemented.
898         * gnu/java/nio/CharBufferImpl.java: Reformatted.
899         (CharBufferImpl): Revised.
900         (slice): New implementation.
901         (duplicate): New implementation.
902         (compact): New implementation.
903         (asReadOnlyBuffer): New implementation.
904         (get): Documentation revised.
905         (order): Return native byte order.
906         * gnu/java/nio/DirectByteBufferImpl.java
907         (allocateDirect): objects can be null not 0.
908         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
909         (DoubleBufferImpl): Revised.
910         (slice): New implementation.
911         (duplicate): New implementation.
912         (compact): New implementation.
913         (asReadOnlyBuffer): New implementation.
914         (get): Documentation revised.
915         (order): Return native byte order.
916         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
917         (FloatBufferImpl): Revised.
918         (slice): New implementation.
919         (duplicate): New implementation.
920         (compact): New implementation.
921         (asReadOnlyBuffer): New implementation.
922         (get): Documentation revised.
923         (order): Return native byte order.
924         * gnu/java/nio/IntBufferImpl.java: Reformatted.
925         (IntBufferImpl): Revised.
926         (slice): New implementation.
927         (duplicate): New implementation.
928         (compact): New implementation.
929         (asReadOnlyBuffer): New implementation.
930         (get): Documentation revised.
931         (order): Return native byte order.
932         * gnu/java/nio/LongBufferImpl.java: Reformatted.
933         (LongBufferImpl): Revised.
934         (slice): New implementation.
935         (duplicate): New implementation.
936         (compact): New implementation.
937         (asReadOnlyBuffer): New implementation.
938         (get): Documentation revised.
939         (order): Return native byte order.
940         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
941         (ShortBufferImpl): Revised.
942         (slice): New implementation.
943         (duplicate): New implementation.
944         (compact): New implementation.
945         (asReadOnlyBuffer): New implementation.
946         (get): Documentation revised.
947         (order): Return native byte order.
948         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
949         (CharBuffer): Revised.
950         (order): Removed.
951         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
952         (DoubleBuffer): Revised.
953         (allocateDirect): Removed.
954         (order): Removed.
955         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
956         (FloatBuffer): Revised.
957         (allocateDirect): Removed.
958         (order): Removed.
959         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
960         (IntBuffer): Revised.
961         (allocateDirect): Removed.
962         (order): Removed.
963         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
964         (LongBuffer): Revised.
965         (allocateDirect): Removed.
966         (order): Removed.
967         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
968         (ShortBuffer): Revised.
969         (allocateDirect): Removed.
970         (order): Removed.
971         * gnu/java/nio/natByteBufferImpl.cc: Removed.
972         * gnu/java/nio/natCharBufferImpl.cc: Removed.
973         * Makefile.am
974         (ordinary_java_source_files): Added the following files:
975         gnu/java/nio/CharViewBufferImpl.java,
976         gnu/java/nio/DoubleViewBufferImpl.java,
977         gnu/java/nio/FloatViewBufferImpl.java,
978         gnu/java/nio/IntViewBufferImpl.java,
979         gnu/java/nio/LongViewBufferImpl.java,
980         gnu/java/nio/ShortViewBufferImpl.java
981         (nat_source_files): Removed the following files:
982         gnu/java/nio/natByteBufferImpl.cc,
983         gnu/java/nio/natCharBufferImpl.cc
984         * Makefile.in: Regenerated.
985
986 2003-05-12  Michael Koch  <konqueror@gmx.de>
987
988         * gnu/java/nio/CharViewBufferImpl.java,
989         gnu/java/nio/DirectByteBufferImpl.java,
990         gnu/java/nio/DoubleViewBufferImpl.java,
991         gnu/java/nio/FloatViewBufferImpl.java,
992         gnu/java/nio/IntViewBufferImpl.java,
993         gnu/java/nio/LongViewBufferImpl.java,
994         gnu/java/nio/ShortViewBufferImpl.java,
995         gnu/java/nio/natDirectByteBufferImpl.cc:
996         New files, not yet to be compiled.
997
998 2003-05-10  Michael Koch  <konqueror@gmx.de>
999
1000         * javax/swing/plaf/ButtonUI.java,
1001         javax/swing/plaf/ColorUIResource.java,
1002         javax/swing/plaf/ComponentUI.java,
1003         javax/swing/plaf/DimensionUIResource.java,
1004         javax/swing/plaf/FontUIResource.java,
1005         javax/swing/plaf/IconUIResource.java,
1006         javax/swing/plaf/InsetsUIResource.java,
1007         javax/swing/plaf/LabelUI.java,
1008         javax/swing/plaf/ListUI.java,
1009         javax/swing/plaf/OptionPaneUI.java,
1010         javax/swing/plaf/PanelUI.java,
1011         javax/swing/plaf/TabbedPaneUI.java,
1012         javax/swing/plaf/TextUI.java,
1013         javax/swing/plaf/TreeUI.java,
1014         javax/swing/plaf/ViewportUI.java,
1015         javax/swing/plaf/basic/BasicBorders.java,
1016         javax/swing/plaf/basic/BasicButtonUI.java,
1017         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1018         javax/swing/plaf/basic/BasicDefaults.java,
1019         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1020         javax/swing/plaf/basic/BasicIconFactory.java,
1021         javax/swing/plaf/basic/BasicLabelUI.java,
1022         javax/swing/plaf/basic/BasicListUI.java,
1023         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1024         javax/swing/plaf/basic/BasicPanelUI.java,
1025         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1026         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1027         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1028         javax/swing/plaf/basic/BasicTextUI.java,
1029         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1030         javax/swing/plaf/basic/BasicTreeUI.java,
1031         javax/swing/plaf/basic/BasicViewportUI.java,
1032         javax/swing/plaf/metal/MetalLookAndFeel.java:
1033         New versions from classpath. This adds copyrights to all files and
1034         some serialVersionUIDs.
1035
1036 2003-05-10  Michael Koch  <konqueror@gmx.de>
1037
1038         * java/nio/CharBuffer.java
1039         (offset): Make it package-private.
1040         (backing_buffer): Likewise.
1041         * java/nio/DoubleBuffer.java
1042         (offset): Make it package-private.
1043         (backing_buffer): Likewise.
1044         (put): Reformatted.
1045         * java/nio/FloatBuffer.java
1046         (offset): Make it package-private.
1047         (backing_buffer): Likewise.
1048         * java/nio/IntBuffer.java
1049         (offset): Make it package-private.
1050         (backing_buffer): Likewise.
1051         * java/nio/LongBuffer.java
1052         (offset): Make it package-private.
1053         (backing_buffer): Likewise.
1054         * java/nio/ShortBuffer.java
1055         (offset): Make it package-private.
1056         (backing_buffer): Likewise.
1057
1058 2003-05-10  Michael Koch  <konqueror@gmx.de>
1059
1060         * java/nio/CharBuffer.java
1061         (put): Fixed precondtion check.
1062         (toString): Make it work without backing array.
1063         (put): Skip one level of method calling.
1064
1065 2003-05-10  Michael Koch  <konqueror@gmx.de>
1066
1067         * java/security/Identity.java,
1068         java/security/IdentityScope.java,
1069         java/security/Key.java,
1070         java/security/KeyPair.java,
1071         java/security/PrivateKey.java,
1072         java/security/Provider.java,
1073         java/security/PublicKey.java,
1074         java/security/SecureRandom.java,
1075         java/security/SecureRandomSpi.java,
1076         java/security/SignedObject.java,
1077         java/security/Signer.java,
1078         java/security/cert/Certificate.java,
1079         java/security/cert/PKIXCertPathBuilderResult.java,
1080         java/security/cert/X509Certificate.java:
1081         New versions from classpath.
1082
1083 2003-05-09  Tom Tromey  <tromey@redhat.com>
1084
1085         * Makefile.in: Rebuilt.
1086         * Makefile.am (nat_source_files): Removed old files.
1087         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1088         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1089         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1090         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1091         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1092
1093 2003-05-09  Michael Koch  <konqueror@gmx.de>
1094
1095         * gnu/java/nio/ByteBufferImpl.java
1096         (nio_cast): Removed.
1097         (ByteBufferImpl): Removed.
1098         (nio_get_Byte): Removed.
1099         (nio_put_Byte): Removed.
1100         (asByteBuffer): Removed.
1101         (asCharBuffer): Removed implementation and throw exception.
1102         (asShortBuffer): Likewise.
1103         (asIntBuffer): Likewise.
1104         (asLongBuffer): Likewise.
1105         (asFloatBuffer): Likewise.
1106         (asDoubleBuffer): Likewise.
1107         * gnu/java/nio/CharBufferImpl.java
1108         (CharBufferImpl): Removed.
1109         (nio_get_Byte): Removed.
1110         (nio_put_Byte): Removed.
1111         (asByteBuffer): Removed.
1112         * gnu/java/nio/DoubleBufferImpl.java
1113         (DoubleBufferImpl): Removed.
1114         (nio_get_Byte): Removed.
1115         (nio_put_Byte): Removed.
1116         (asByteBuffer): Removed.
1117         * gnu/java/nio/FloatBufferImpl.java
1118         (FloatBufferImpl): Removed.
1119         (nio_get_Byte): Removed.
1120         (nio_put_Byte): Removed.
1121         (asByteBuffer): Removed.
1122         * gnu/java/nio/IntBufferImpl.java
1123         (IntBufferImpl): Removed.
1124         (nio_get_Byte): Removed.
1125         (nio_put_Byte): Removed.
1126         (asByteBuffer): Removed.
1127         * gnu/java/nio/LongBufferImpl.java
1128         (LongBufferImpl): Removed.
1129         (nio_get_Byte): Removed.
1130         (nio_put_Byte): Removed.
1131         (asByteBuffer): Removed.
1132         * gnu/java/nio/ShortBufferImpl.java
1133         (ShortBufferImpl): Removed.
1134         (nio_get_Byte): Removed.
1135         (nio_put_Byte): Removed.
1136         (asByteBuffer): Removed.
1137         * gnu/java/nio/natByteBufferImpl.cc
1138         (nio_cast): Removed.
1139         (nio_get_Byte): Removed.
1140         (nio_put_Byte): Removed.
1141         * gnu/java/nio/natCharBufferImpl.cc
1142         (nio_get_Byte): Removed.
1143         (nio_put_Byte): Removed.
1144
1145 2003-05-09  Michael Koch  <konqueror@gmx.de>
1146
1147         * java/net/JarURLConnection.java
1148         (getJarEntry): Merged documentation from classpath.
1149         (getJarFile): Likewise.
1150         (getMainAttributes): Likewise.
1151         (getAttributes): Likewise.
1152         (getManifest): Likewise.
1153         (getCertificates): Reformatted.
1154         * java/net/URLConnection.java:
1155         Little classpath merge.
1156
1157 2003-05-09  Michael Koch  <konqueror@gmx.de>
1158
1159         * java/io/DataOutputStream.java
1160         (writeShort): Made it synchronized.
1161         (writeChar): Likewise.
1162         (writeInt): Likewise.
1163         (writeLong): Liekwise.
1164         (writeUTF): Made it synchronized, renamed argument to match classpath.
1165         * java/io/InputStreamReader.java
1166         (converter): Added documentation.
1167         (read): Merged documentation from classpath.
1168         * java/io/OutputStreamWriter.java
1169         (OutputStreamWriter): Merged documentation from classpath.
1170         (close): Reformatted.
1171         (getEncoding): Likewise.
1172         (flush): Likewise.
1173         (write): Merged documentation from classpath, reformatted.
1174
1175 2003-05-08  Tom Tromey  <tromey@redhat.com>
1176
1177         * configure.host <powerpc64*-*>: Set with_libffi_default and
1178         libgcj_interpreter to "yes".
1179
1180 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1181
1182         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1183         
1184 2003-05-06  Tom Tromey  <tromey@redhat.com>
1185
1186         * verify.cc: Reverted previous patch.
1187
1188 2003-05-06  Michael Koch  <konqueror@gmx.de>
1189
1190         * java/io/DataOutputStream.java
1191         (write): Renamed argument to "value", merged documentation from
1192         classpath.
1193         (writeBoolean): Likewise.
1194         (writeByte): Likewise.
1195         (writeShort): Likewise.
1196         (writeChar): Likewise.
1197         (writeInt): Likewise.
1198         (writeLong): Likewise.
1199         (writeFloat): Likewise.
1200         (writeDouble): Likewise.
1201         (writeBytes): Likewise.
1202         (writeChars): Likewise.
1203         (writeUTF): Likewise.
1204         * java/io/File.java
1205         (performDelete): Added documentation.
1206         (performList): Likewise.
1207         (performMkdir): Likewise.
1208         (performSetReadOnly): Likewise.
1209         (performRenameTo): Likewise.
1210         (performSetLastModified): Likewise.
1211         (delete): Made it sychronized.
1212         (renameTo): Made it sychronized.
1213         (equals): Reformatted.
1214         (isHidden): Likewise.
1215         (listFiles): Likewise.
1216         (setReadOnly): Likewise.
1217         (listRoots): Likewise.
1218         (setLastModified): Likewise.
1219         (checkRead): Likewise.
1220         (checkWrite): Likewise.
1221         * java/io/FileInputStream.java
1222         (skip): Made it sychronized, merged from classpath.
1223         * java/io/FileOutputStream.java
1224         (write): Merged from classpath.
1225         * java/io/InputStreamReader.java:
1226         (InputStreamReader): Merged documentation from classpath.
1227
1228 2003-05-05  Michael Koch  <konqueror@gmx.de>
1229
1230         * java/net/NetworkInterface.java
1231         (networkInterfaces): Removed.
1232         (getByName): Use getRealNetworkInterfaces() instead of
1233         networkInterfaces.
1234         (getByInetAddress): Likewise.
1235         (getNetworkInterfaces): Likewise.
1236         (toString): Fix output of addresses of an interface.
1237
1238 2003-05-05  Michael Koch  <konqueror@gmx.de>
1239
1240         * java/io/DataInputStream.java:
1241         Merged new documentation from classpath.
1242
1243 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1244
1245         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1246         "version".
1247         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1248         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1249         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1250         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1251         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1252         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1253         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1254         * java/security/Key.java: Likewise.
1255         * java/security/PrivateKey.java: Likewise.
1256         * java/security/Provider.java: Likewise.
1257         * java/security/PublicKey.java: Likewise.
1258
1259 2003-05-02  Michael Koch  <konqueror@gmx.de>
1260
1261         * java/net/URI.java
1262         (create): Doesnt throws any exceptions.
1263         * java/net/URLConnection.java
1264         (URLConnection): Commend added.
1265         (getExpiration): The header field is called "expires" not
1266         "expiration".
1267         (getHeaderField): Merged documentation with classpath.
1268         (getHeaderFieldInt): Likewise.
1269         (getHeaderFieldDate): Likewise.
1270         (getHeaderFieldKey): Likewise.
1271         (getPermission): Likewise.
1272         (setDefaultUseCaches): Likewise.
1273         (setRequestProperty): Likewise.
1274         (addRequestProperty): Likewise.
1275         (getRequestProperty): Likewise.
1276         (getRequestProperties): Likewise.
1277         (setDefaultRequestProperty): Likewise.
1278         (getDefaultRequestProperty): Likewise.
1279         (guessContentTypeFromStream): Likewise.
1280         (getFileNameMap): Likewise.
1281         (setFileNameMap): Likewise.
1282         (setDoInput): Merged implementation and documentation with classpath.
1283         (setDoOutput): Likewise.
1284         (setAllowUserInteraction): Likewise.
1285         (setDefaultAllowUserInteraction): Likewise.
1286         (setContentHandlerFactory): Made it synchronized, merged documentation
1287         with classpath.
1288         (guessContentTypeFromName): Renamed argument fname to filename to
1289         match classpath, merged documentation with classpath.
1290
1291 2003-05-02  Michael Koch  <konqueror@gmx.de>
1292
1293         * java/net/JarURLConnection.java
1294         (JarURLConnection): Class documentation merged with classpath.
1295         (getJarFileURL): Moved and documentation merged with classpath.
1296         (getEntryName): Likewise.
1297         (JarURLConnection): Documentation merged with classpath.
1298         (getJarEntry): Likewise.
1299         (getJarFile): Likewise.
1300         * java/net/PlainDatagramSocketImpl.java:
1301         Class documentation moved.
1302         * java/net/URLConnection.java
1303         (fileNameMap): Moved and documentation merged with classpath.
1304         (factory): Likewise.
1305         (defaultAllowUserInteraction): Likewis.
1306         (defaultUseCaches): Likewise.
1307         (allowUserInteraction): Likewise.
1308         (connected): Likewise.
1309         (url): Likewise.
1310         (connect): Documentation merged with classpath.
1311         (getURL): Likewise.
1312         (getContentLength): Likewise.
1313         (getContentType): Likewise.
1314         (getContentEncoding): Likewise.
1315         (getExpiration): Likewise.
1316         (getDate): Likewise.
1317         (getLastModified): Likewise.
1318         (getHeaderField): Likewise.
1319         (getContent): Likewise.
1320         (getPermission): Likewise.
1321         (getInputStream): Likewise.
1322         (getOutputStream): Likewise.
1323         (toString): Likewise.
1324         (getDoInput): Likewise.
1325         (getDoOutput): Likewise.
1326         (setAllowUserInteraction): Likewise.
1327         (getAllowUserInteraction): Likewise.
1328         (setDefaultAllowUserInteraction): Likewise.
1329         (getDefaultAllowUserInteraction): Likewise.
1330         (setUseCaches): Likewise.
1331         (getUseCaches): Likewise.
1332         (setIfModifiedSince): Likewise.
1333         (getIfModifiedSince): Likewise.
1334         (setDefaultRequestProperty): Likewise.
1335         (getDefaultRequestProperty): Likewise.
1336         (setContentHandlerFactory): Likewise.
1337         (setFileNameMap): Likewise.
1338
1339 2003-05-02  Michael Koch  <konqueror@gmx.de>
1340
1341         * java/net/InetAddress.java:
1342         Merged class documentation with classpath.
1343         * java/net/JarURLConnection.java:
1344         Explicitely import all used classes.
1345         * java/net/URL.java:
1346         Reformatting.
1347         * java/net/ServerSocket.java,
1348         java/net/Socket.java:
1349         New versions from classpath.
1350
1351 2003-05-02  Michael Koch  <konqueror@gmx.de>
1352
1353         * gnu/java/nio/FileChannelImpl.java
1354         (read): New implementation.
1355         (implRead): New methods.
1356         (write): New implementation, call other write insteal of read method.
1357         (implWrite): New methods.
1358         (map): Added comment.
1359         (transferFrom): Implemented.
1360         (transferTo): Implemented.
1361         (lock): Added checks to throw exceptions.
1362         (truncate): Added check to throw exception.
1363         * gnu/java/nio/natFileChannelImpl.cc
1364         (implRead): New method.
1365         (implWrite): New method.
1366         * java/nio/ByteBuffer.java
1367         (hashCode): Fixed comment.
1368         (get): Fixed exception documentation.
1369         (put): Fixed exception documentation.
1370         * java/nio/CharBuffer.java:
1371         Added comment for later optimizations.
1372
1373 2003-04-30  Tom Tromey  <tromey@redhat.com>
1374
1375         PR libgcj/10582:
1376         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1377         Removed.
1378         (type::compatible): Use _Jv_IsAssignableFrom.
1379         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1380         (_Jv_IsAssignableFrom): Work even when source or target class is
1381         not prepared.
1382
1383 2003-04-30  Michael Koch  <konqueror@gmx.de>
1384
1385         * java/text/BreakIterator.java
1386         (clone): New method.
1387
1388 2003-04-30  Michael Koch  <konqueror@gmx.de>
1389
1390         * java/text/CollationElementIterator.java,
1391         java/text/CollationKey.java,
1392         java/text/RuleBasedCollator.java:
1393         Merged copyright and documentation from classpath and
1394         rearranged some code. No code changes done.
1395
1396 2003-04-30  Michael Koch  <konqueror@gmx.de>
1397
1398         * java/util/regex/Matcher.java
1399         (pattern): New member variable.
1400         (appendReplacement): New method.
1401         (appendTail): New method.
1402         (end): New method.
1403         (find): New method.
1404         (group): New method.
1405         (replaceFirst): Added documentation.
1406         (replaceAll): Added documentation.
1407         (groupCount): New method.
1408         (lookingAt): New method.
1409         (matches): New method.
1410         (reset): New method.
1411         (start): New method.
1412         * java/util/regex/Pattern.java
1413         (serialVersionUID): New constant.
1414         (CANON_EQ): New constant.
1415         (CASE_INSENSITIVE): New constant.
1416         (COMMENTS): New constant.
1417         (DOTALL): New constant.
1418         (MULTILINE): New constant.
1419         (UNICODE_CASE): New constant.
1420         (UNIX_LINES): New constant.
1421         (regex): New member variable.
1422         (flags): New member variable.
1423         (Pattern): New method.
1424         (compile): Documentation added.
1425         (flags): New method.
1426         (matches): Documentation added.
1427         (matcher): Documentation added.
1428         (split): Documentation added.
1429         (pattern): New method.
1430
1431 2003-04-30  Michael Koch  <konqueror@gmx.de>
1432
1433         * gnu/java/security/Engine.java,
1434         gnu/java/security/OID.java,
1435         gnu/java/security/der/BitString.java,
1436         gnu/java/security/der/DER.java,
1437         gnu/java/security/der/DERReader.java,
1438         gnu/java/security/der/DERValue.java,
1439         gnu/java/security/der/DERWriter.java,
1440         gnu/java/security/provider/DSAKeyFactory.java,
1441         gnu/java/security/provider/X509CertificateFactory.java,
1442         gnu/java/security/x509/X500DistinguishedName.java,
1443         gnu/java/security/x509/X509CRL.java,
1444         gnu/java/security/x509/X509CRLEntry.java,
1445         gnu/java/security/x509/X509Certificate.java,
1446         java/security/cert/CRLSelector.java,
1447         java/security/cert/CertPathBuilder.java,
1448         java/security/cert/CertPathBuilderResult.java,
1449         java/security/cert/CertPathBuilderSpi.java,
1450         java/security/cert/CertPathParameters.java,
1451         java/security/cert/CertPathValidator.java,
1452         java/security/cert/CertPathValidatorResult.java,
1453         java/security/cert/CertPathValidatorSpi.java,
1454         java/security/cert/CertSelector.java,
1455         java/security/cert/CertStore.java,
1456         java/security/cert/CertStoreParameters.java,
1457         java/security/cert/CertStoreSpi.java,
1458         java/security/cert/CollectionCertStoreParameters.java,
1459         java/security/cert/LDAPCertStoreParameters.java,
1460         java/security/cert/PKIXBuilderParameters.java,
1461         java/security/cert/PKIXCertPathBuilderResult.java,
1462         java/security/cert/PKIXCertPathChecker.java,
1463         java/security/cert/PKIXCertPathValidatorResult.java,
1464         java/security/cert/PKIXParameters.java,
1465         java/security/cert/PolicyNode.java,
1466         java/security/cert/PolicyQualifierInfo.java,
1467         java/security/cert/TrustAnchor.java,
1468         javax/security/auth/x500/X500Principal.java:
1469         New files from classpath.
1470         * gnu/java/io/ASN1ParsingException.java,
1471         gnu/java/io/Base64InputStream.java,
1472         gnu/java/security/der/DEREncodingException.java,
1473         gnu/java/security/provider/DSAParameters.java,
1474         gnu/java/security/provider/DSASignature.java,
1475         gnu/java/security/provider/Gnu.java,
1476         gnu/java/security/provider/GnuDSAPrivateKey.java,
1477         gnu/java/security/provider/GnuDSAPublicKey.java,
1478         java/security/AlgorithmParameterGenerator.java,
1479         java/security/AlgorithmParameters.java,
1480         java/security/KeyFactory.java,
1481         java/security/KeyPairGenerator.java,
1482         java/security/KeyStore.java,
1483         java/security/MessageDigest.java,
1484         java/security/SecureClassLoader.java,
1485         java/security/SecureRandom.java,
1486         java/security/Security.java,
1487         java/security/Signature.java,
1488         java/security/cert/Certificate.java,
1489         java/security/cert/CertificateFactory.java,
1490         java/security/cert/CertificateFactorySpi.java,
1491         java/security/cert/X509CRL.java,
1492         java/security/cert/X509Certificate.java,
1493         java/security/spec/DSAPublicKeySpec.java:
1494         New versions from classpath.
1495         * gnu/java/security/provider/DERReader.java,
1496         gnu/java/security/provider/DERWriter.java,
1497         java/security/Engine.java: Removed.
1498         * Makefile.am
1499         (java_source_files, javax_source_files): Added new files.
1500         * Makefile.in: Regenerated.
1501
1502 2003-04-29  Michael Koch  <konqueror@gmx.de>
1503
1504         * javax/swing/JTable.java
1505         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1506         (AUTO_RESIZE_LAST_COLUMN): New constant.
1507         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1508         (AUTO_RESIZE_OFF): New constant.
1509         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1510         (JTable): New method.
1511         (columnAdded): New method.
1512         (columnMarginChanged): New method.
1513         (columnMoved): New method.
1514         (columnRemoved): New method.
1515         (columnSelectionChanged): New method.
1516         (editingCanceled): New method.
1517         (editingStopped): New method.
1518         (getColumnModel): New method.
1519         (getPreferredScrollableViewportSize): New method.
1520         (getScrollableBlockIncrement): New method.
1521         (getScrollableTracksViewportHeight): New method.
1522         (getScrollableTracksViewportWidth): New method.
1523         (getScrollableUnitIncrement): New method.
1524         (getSelectedRow): New method.
1525         (getSelectionModel): New method.
1526         (tableChanged): New method.
1527         (setModel): New method.
1528         (setSelectionMode): New method.
1529         (setSelectionModel): New method.
1530         (setShowGrid): New method.
1531         (valueChanged): New method.
1532         * javax/swing/text/DefaultEditorKit.java
1533         (backwardAction): New constant.
1534         (beepAction): New constant.
1535         (beginAction): New constant.
1536         (beginLineAction): New constant.
1537         (beginParagraphAction): New constant.
1538         (beginWordAction): New constant.
1539         (copyAction): New constant.
1540         (cutAction): New constant.
1541         (defaultKeyTypedAction): New constant.
1542         (deleteNextCharAction): New constant.
1543         (deletePrevCharAction): New constant.
1544         (downAction): New constant.
1545         (endAction): New constant.
1546         (endLineAction): New constant.
1547         (endOfLineStringProperty): New constant.
1548         (endParagraphAction): New constant.
1549         (endWordAction): New constant.
1550         (forwardAction): New constant.
1551         (insertBreakAction): New constant.
1552         (insertContentAction): New constant.
1553         (insertTabAction): New constant.
1554         (nextWordAction): New constant.
1555         (pageDownAction): New constant.
1556         (pageUpAction): New constant.
1557         (pasteAction): New constant.
1558         (previousWordAction): New constant.
1559         (readOnlyAction): New constant.
1560         (selectAllAction): New constant.
1561         (selectionBackwardAction): New constant.
1562         (selectionBeginAction): New constant.
1563         (selectionBeginLineAction): New constant.
1564         (selectionBeginParagraphAction): New constant.
1565         (selectionBeginWordAction): New constant.
1566         (selectionDownAction): New constant.
1567         (selectionEndAction): New constant.
1568         (selectionEndLineAction): New constant.
1569         (selectionEndParagraphAction): New constant.
1570         (selectionEndWordAction): New constant.
1571         (selectionForwardAction): New constant.
1572         (selectionNextWordAction): New constant.
1573         (selectionPreviousWordAction): New constant.
1574         (selectionUpAction): New constant.
1575         (selectLineAction): New constant.
1576         (selectParagraphAction): New constant.
1577         (selectWordAction): New constant.
1578         (upAction): New constant.
1579         (writableAction): New constant.
1580
1581 2003-04-29  Michael Koch  <konqueror@gmx.de>
1582
1583         * java/util/PropertyPermission.java:
1584         New version from classpath
1585         * java/util/ResourceBundle.java:
1586         Partly merged from classpath
1587         (getObject): Reformated.
1588         (tryBundle): Set foundBundle = null if no bundle found.
1589
1590 2003-04-29  Michael Koch  <konqueror@gmx.de>
1591
1592         * javax/swing/AbstractListModel.java,
1593         javax/swing/DefaultBoundedRangeModel.java,
1594         javax/swing/DefaultSingleSelectionModel.java:
1595         New Versions from classpath.
1596
1597 2003-04-29  Michael Koch  <konqueror@gmx.de>
1598
1599         * java/awt/Window.java
1600         (show): Call super.show() instead of setVisible() to avoid endless
1601         loop.
1602         (hide): Call super.hide() instead of setVisible() to avoid endless
1603         loop.
1604
1605 2003-04-29  Michael Koch  <konqueror@gmx.de>
1606
1607         * java/util/zip/Deflater.java,
1608         java/util/zip/DeflaterOutputStream.java:
1609         Partly merged with classpath.
1610
1611 2003-04-27  Tom Tromey  <tromey@redhat.com>
1612
1613         * java/lang/natString.cc (_Jv_AllocString): Initialize
1614         cachedHashCode.
1615         (init): Likewise.
1616         (_Jv_NewStringUtf8Const): Likewise.
1617
1618 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1619
1620         * include/jvm.h: (_Jv_GetNbArgs) added
1621         (_Jv_GetSafeArg) added
1622         (_Jv_SetArgs) added
1623         * prims.cc: (_Jv_GetNbArgs) implemented
1624         (_Jv_GetSafeArg) implemented
1625         (_Jv_SetArgs) implemented
1626         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1627         setting _Jv_argc and _Jv_argv
1628         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1629         instead of _Jv_argv
1630         * java/lang/natRuntime.cc: (insertSystemProperties) use
1631         _Jv_GetSafeArg() instead of _Jv_argv
1632
1633 2003-04-23  Tom Tromey  <tromey@redhat.com>
1634
1635         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1636         required by this object.  Search superclasses to find required
1637         alignment.
1638         (get_alignment_from_class): Use alignment of type as it appears
1639         in a struct.
1640         (ALIGNOF): New macro.
1641         (struct aligner): New helper structure.
1642
1643 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1644
1645         * java/awt/Container.java (addImpl): Enable paint events if adding
1646         a lightweight to a heavyweight.
1647         (addNotify): Ensure that peer is created before
1648         addNotifyContainerChildren.
1649         (addNotifyContainerChildren): Enable paint events if a heavyweight
1650         container contains a lightweight.
1651
1652 2003-04-20  Tom Tromey  <tromey@redhat.com>
1653
1654         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1655         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1656         Classpath.
1657
1658 2003-04-19  Tom Tromey  <tromey@redhat.com>
1659
1660         * java/sql/Date.java, java/sql/DriverManager.java,
1661         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1662         Classpath.
1663
1664         * Makefile.in: Rebuilt.
1665         * Makefile.am (ordinary_java_source_files): Added new files.
1666         * java/security/AlgorithmParameterGenerator.java,
1667         java/security/AlgorithmParameters.java, java/security/Engine.java,
1668         java/security/Identity.java, java/security/IdentityScope.java,
1669         java/security/KeyFactory.java,
1670         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1671         java/security/MessageDigest.java, java/security/Policy.java,
1672         java/security/ProtectionDomain.java,
1673         java/security/SecureRandom.java, java/security/Security.java,
1674         java/security/Signature.java, java/security/SignatureSpi.java,
1675         java/security/SignedObject.java, java/security/Signer.java,
1676         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1677         java/security/spec/PSSParameterSpec.java,
1678         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1679         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1680         Classpath.
1681
1682 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1683
1684         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1685         (dispose): Null metrics.
1686         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1687         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1688         finalize.
1689         (finalize): Call dispose.
1690         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1691         (gcCachedCount): New field.
1692         (finalize): New method.
1693         (putGCInCache): New method.
1694         (getGCFromCache): New method.
1695         * gnu/gcj/xlib/GC.java (GC): Make protected.
1696         (clone): Get new GC from cache if possible.
1697         (create): New static method.
1698         (dispose): Save old GC in cache.
1699         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1700         deleting.
1701         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1702         is null.
1703         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1704         * java/awt/Container.java (visitChild): Dispose gfx2 when
1705         finished.
1706
1707 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1708
1709         * java/math/BigInteger.java (probablePrime): New.
1710         * java/math/BigDecimal.java (unscaledValue): New.
1711
1712 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1713
1714         * java/io/File.java (getAbsolutePath): On Windows, take care
1715         of paths like "C:", "G:foo\bar", etc.
1716         (getName): Make it work correctly on Windows.
1717         (getParent): Make it work correctly on Windows. For UNIX,
1718         fix bug that causes "/" to be returned as the parent of "/",
1719         instead of null as returned by Sun's JRE.
1720
1721         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1722
1723 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1724
1725         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1726         inner class.
1727         (CACHE_SIZE_PER_DISPLAY): New field
1728         (fontMetricsCache): New field
1729         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1730         loading ISO10646-1 fonts.
1731
1732 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1733
1734         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1735         characters.
1736         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1737         characters.
1738
1739 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1740
1741         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1742         floating point.
1743
1744 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1745
1746         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1747         installed libpthread is either linuxthreads with floating stacks or
1748         NPTL.
1749
1750 2003-04-14  Tom Tromey  <tromey@redhat.com>
1751
1752         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1753         of alignment.
1754
1755 2003-04-10  Tom Tromey  <tromey@redhat.com>
1756
1757         * verify.cc (pop64): Removed.
1758         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1759         exception if top-of-stack is narrow.
1760         (initialize_stack): Check to ensure that <init> is not static and
1761         <clinit> is.
1762
1763 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1764
1765         * java/io/ObjectStreamException
1766         * java/io/FileFilter
1767         * java/io/FilenameFilter
1768         * java/io/ObjectInput
1769         * java/io/ObjectOutput
1770         * java/io/ObjectStreamConstants
1771         Minor doc fixes, format fixes, spelling corrections, etc.
1772         * java/io/DataInput
1773         Corrected code samples in Javadocs to match reality
1774         * java/io/DataOutput
1775         * java/io/ObjectInputValidation
1776         Major documentation fixes - all Javadocs re-written or updated
1777
1778 2003-04-06  Michael Koch  <konqueror@gmx.de>
1779
1780         * java/net/URLConnection.java:
1781         Import classes directly.
1782         (URLConnection): Merged class documentation with classpath.
1783         (url): Moved, documentation from classpath added.
1784         (doInput): Moved, documentation from classpath added.
1785         (doOutput): Moved, documentation from classpath added.
1786         (allowUserInteraction): Moved.
1787         (useCaches): Moved, documentation from classpath added.
1788         (ifModifiedSince): Moved, documentation from classpath added.
1789         (connected): Moved, documentation from classpath added.
1790
1791 2003-04-06  Michael Koch  <konqueror@gmx.de>
1792
1793         * java/io/FileInputStream.java
1794         (skip): Renamed some variables to match classpath, added
1795         checks from classpath.
1796
1797 2003-03-31  Michael Koch  <konqueror@gmx.de>
1798
1799         * javax/swing/AbstractAction.java
1800         (AbstractAction): Reformatted.
1801         (serialVersionUID): New private member variable.
1802         * javax/swing/plaf/BorderUIResource.java
1803         (serialVersionUID): New private member variable.
1804         * javax/swing/plaf/basic/BasicLookAndFeel.java
1805         (serialVersionUID): New private member variable.
1806
1807 2003-03-31  Michael Koch  <konqueror@gmx.de>
1808
1809         * java/sql/Date.java
1810         (valueOf): Deprecated, reformatted.
1811         (toString): Deprecated, reformatted.
1812         * java/sql/Time.java
1813         (valueOf): Deprecated, reformatted.
1814         (toString): Deprecated, reformatted.
1815
1816 2003-03-31  Michael Koch  <konqueror@gmx.de>
1817
1818         * java/rmi/dgc/VMID.java
1819         (isUnique): Deprecated.
1820
1821 2003-03-31  Michael Koch  <konqueror@gmx.de>
1822
1823         * java/io/File.java
1824         (separator): Merged documentation from classpath.
1825         (separatorChar): Merged documentation from classpath.
1826         (pathSeparator): Merged documentation from classpath.
1827         (pathSeparatorChar): Merged documentation from classpath.
1828         (path): Merged documentation from classpath.
1829         (canRead): Merged documentation from classpath.
1830         (canWrite): Merged documentation from classpath.
1831         (createNewFile): Merged documentation from classpath.
1832         (delete): Merged documentation from classpath.
1833         (equals): Merged documentation from classpath.
1834         (exists): Merged documentation from classpath.
1835         (File): Renamed p to name to match classpath, merged documentation
1836         from classpath.
1837         (getAbsolutePath): Merged documentation from classpath.
1838         (getCanonicalPath): Merged documentation from classpath.
1839         (getCanonicalFile): Merged documentation from classpath.
1840         (getName): Merged documentation from classpath.
1841         (getParent): Merged documentation from classpath.
1842         (getParentFile): Merged documentation from classpath.
1843         (getPath): Merged documentation from classpath.
1844         (hashCode): Merged documentation from classpath.
1845         (isAbsolute): Merged documentation from classpath.
1846         (isDirectory): Merged documentation from classpath.
1847         (isFile): Merged documentation from classpath.
1848         (isHidden): Merged documentation from classpath.
1849         (lastModified): Merged documentation from classpath.
1850         (length): Merged documentation from classpath.
1851         (list): Merged documentation from classpath.
1852         (listFiles): Merged documentation from classpath.
1853         (toString): Merged documentation from classpath.
1854         (toURL): Merged documentation from classpath.
1855         (mkdir): Merged documentation from classpath.
1856         (mkdirs): Merged documentation from classpath.
1857         (createTempFile): Merged documentation from classpath.
1858         (setReadOnly): Merged documentation from classpath.
1859         (listRoots): Merged documentation from classpath.
1860         (compareTo): Merged documentation from classpath.
1861         (renameTo): Merged documentation from classpath.
1862         (setLastModified): Merged documentation from classpath.
1863         * java/io/PrintStream.java
1864         (auto_flush): Merged documentation from classpath.
1865         (PrintStream): Merged documentation from classpath.
1866         (checkError): Merged documentation from classpath.
1867         (setError): Merged documentation from classpath.
1868         (close): Merged documentation from classpath.
1869         (flush): Merged documentation from classpath.
1870         (print): Merged documentation from classpath.
1871         (println):  Merged documentation from classpath.
1872         (write): Renamed count to len to match classpath,
1873         merged documentation from classpath.
1874         * java/io/RandomAccessFile.java
1875         (readShort): Merged documentation from classpath.
1876         (readUnsignedByte): Merged documentation from classpath.
1877         (readUnsignedShort): Merged documentation from classpath.
1878         (readUTF): Merged documentation from classpath.
1879         (seek): Reformatted, merged documentation from classpath.
1880         (skipBytes): Renamed some variables to match classpath, reformatted,
1881         merged documentation from classpath.
1882         (write): Merged documentation from classpath.
1883         (writeBoolean): Merged documentation from classpath.
1884         (writeByte): Merged documentation from classpath.
1885         (writeShort): Merged documentation from classpath.
1886         (writeChar): Merged documentation from classpath.
1887         (writeInt): Merged documentation from classpath.
1888         (writeLong): Merged documentation from classpath.
1889         (writeFloat): Merged documentation from classpath.
1890         (writeDouble): Merged documentation from classpath.
1891         (writeBytes): Merged documentation from classpath.
1892         (writeChars): Merged documentation from classpath.
1893         (writeUTF): Reformatted.
1894         (getChannel): Reformatted.
1895
1896 2003-03-31  Michael Koch  <konqueror@gmx.de>
1897
1898         * java/awt/font/TextAttribute.java
1899         (readResolve): Throws java.io.InvalidObjectException.
1900
1901 2003-03-31  Michael Koch  <konqueror@gmx.de>
1902
1903         * java/rmi/server/LoaderHandler.java
1904         (loadClass): Deprecated.
1905         (getSecurityContext): Deprecated.
1906         * java/rmi/server/LogStream.java
1907         (getDefaultStream): Deprecated.
1908         (setDefaultStream): Deprecated.
1909         (getOutputStream): Deprecated.
1910         (setOutputStream): Deprecated.
1911         (write): Deprecated.
1912         (toString): Deprecated.
1913         (parseLevel): Deprecated.
1914         * java/rmi/server/Operation.java
1915         (Operation): Deprecated.
1916         (getOperation): Deprecated.
1917         (toString): Deprecated.
1918         * java/rmi/server/RemoteCall.java
1919         (getOutputStream): Deprecated.
1920         (releaseOutputStream): Deprecated.
1921         (getInputStream): Deprecated.
1922         (releaseInputStream): Deprecated.
1923         (getResultStream): Deprecated.
1924         (executeCall): Deprecated.
1925         (done): Deprecated.
1926         * java/rmi/server/RemoteRef.java
1927         (invoke): Deprecated.
1928         (newCall): Deprecated.
1929         (done): Deprecated.
1930         * java/rmi/server/RemoteStub.java
1931         (setRef): Deprecated.
1932         * java/rmi/server/Skeleton.java:
1933         No need to import java.lang.Exception explicitly.
1934         (dispatch): Deprecated.
1935         (getOperations): Deprecated.
1936
1937 2003-03-31  Michael Koch  <konqueror@gmx.de>
1938
1939         * java/rmi/dgc/VMID.java,
1940         java/rmi/registry/RegistryHandler.java,
1941         java/rmi/server/LogStream.java,
1942         java/rmi/server/Operation.java,
1943         java/rmi/server/RemoteCall.java,
1944         java/rmi/server/RemoteRef.java,
1945         java/rmi/server/RemoteStub.java:
1946         Reformatted.
1947
1948 2003-03-31  Michael Koch  <konqueror@gmx.de>
1949
1950         * javax/swing/AbstractCellEditor.java,
1951         javax/swing/AbstractListModel.java,
1952         javax/swing/ActionMap.java,
1953         javax/swing/BorderFactory.java,
1954         javax/swing/ButtonGroup.java,
1955         javax/swing/DefaultBoundedRangeModel.java,
1956         javax/swing/DefaultButtonModel.java,
1957         javax/swing/DefaultCellEditor.java,
1958         javax/swing/DefaultComboBoxModel.java,
1959         javax/swing/DefaultDesktopManager.java,
1960         javax/swing/DefaultListCellRenderer.java,
1961         javax/swing/DefaultSingleSelectionModel.java,
1962         javax/swing/InputMap.java,
1963         javax/swing/JComponent.java,
1964         javax/swing/JMenu.java,
1965         javax/swing/JSlider.java,
1966         javax/swing/KeyStroke.java,
1967         javax/swing/OverlayLayout.java,
1968         javax/swing/ScrollPaneLayout.java,
1969         javax/swing/SizeRequirements.java,
1970         javax/swing/UIManager.java,
1971         javax/swing/ViewportLayout.java,
1972         javax/swing/border/AbstractBorder.java,
1973         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1974         javax/swing/event/EventListenerList.java,
1975         javax/swing/table/AbstractTableModel.java,
1976         javax/swing/table/DefaultTableCellRenderer.java,
1977         javax/swing/table/DefaultTableColumnModel.java,
1978         javax/swing/table/DefaultTableModel.java,
1979         javax/swing/table/TableColumn.java,
1980         javax/swing/text/StyledEditorKit.java,
1981         javax/swing/tree/DefaultMutableTreeNode.java,
1982         javax/swing/tree/DefaultTreeModel.java,
1983         javax/swing/tree/DefaultTreeSelectionModel.java,
1984         javax/swing/tree/TreePath.java,
1985         javax/swing/undo/AbstractUndoableEdit.java,
1986         javax/swing/undo/StateEdit.java,
1987         javax/swing/undo/StateEditable.java,
1988         javax/swing/undo/UndoableEditSupport.java:
1989         Merges from classpath.
1990
1991 2003-03-30  Tom Tromey  <tromey@redhat.com>
1992
1993         * java/lang/String.java (data, boffset, count): Documented.
1994         (String(byte[],String)): Reformatted.
1995         (String(byte[])): Likewise.
1996         (lastIndexOf(int)): Likewise.
1997         (lastIndexOf(String)): Likewise.
1998         (substring(int)): Renamed argument to match Classpath.
1999         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2000
2001         * java/lang/String.java: Miscellaneous minor formatting changes
2002         to match Classpath more closely.
2003
2004 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2005             Tom Tromey  <tromey@redhat.com>
2006
2007         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2008         (init()): Removed.
2009         (charAt): Put index in exception.
2010         (contentEquals): New method.
2011         Include StringBuffer.h.
2012         * java/lang/String.java (cachedHashCode): New field.
2013         (String()): Follow classpath implementation.
2014         (init()): Removed.
2015         (contentEquals): Declare.
2016         (subSequence): Don't declare IndexOutIfBoundsException in throws
2017         clause.
2018         (matches, replaceFirst, replaceAll, split): New methods from
2019         Classpath.
2020
2021 2003-03-29  Tom Tromey  <tromey@redhat.com>
2022
2023         * java/lang/String.java: Reordered to follow Classpath; merged in
2024         javadoc.
2025
2026         * java/text/MessageFormat.java: Removed some whitespace.
2027
2028         * Makefile.in: Rebuilt.
2029         * Makefile.am (awt_java_source_files): Added new files.
2030         * gnu/javax/rmi/PortableServer.java,
2031         gnu/javax/rmi/CORBA/DelegateFactory.java,
2032         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2033         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2034         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2035         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2036         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2037         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2038         javax/rmi/PortableRemoteObject.java,
2039         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2040         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2041         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2042         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2043         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2044         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2045
2046         * java/lang/natClass.cc (newInstance): Put method name in
2047         exception.
2048         (getConstructor): Likewise.
2049         (getDeclaredConstructor): Likewise.
2050         (getPrivateMethod): Likewise.
2051
2052 2003-03-28  Tom Tromey  <tromey@redhat.com>
2053
2054         * java/lang/reflect/Proxy.java: New version from Classpath.
2055         * java/lang/Package.java: New version from Classpath.
2056
2057 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2058
2059         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2060         * configure: Regenerate.
2061
2062 2003-03-28  Michael Koch  <konqueror@gmx.de>
2063
2064         * java/io/File.java:
2065         Import needed classes instead of whole packages, merged class
2066         documentation with classpath, moved constants and variables to top of
2067         class.
2068         * java/io/PrintStream.java:
2069         Merged class documentation with classpath, moved constants and
2070         variables to top of class.
2071         * java/io/RandomAccessFile.java
2072         (RandomAccessFile): Merged with classpath.
2073         (read): Merged with classpath).
2074         (read*): Reformatted.
2075
2076 2003-03-28  Michael Koch  <konqueror@gmx.de>
2077
2078         * java/io/FileDescriptor.java
2079         (finalize): Throws Throwable, not IOException.
2080         * java/io/ObjectOutputStream.java
2081         (PutField.put): Doesnt throws anything.
2082
2083 2003­03-28  Michael Koch  <konqueror@gmx.de>
2084
2085         * java/io/FileOutputStream.java:
2086         Merged class documentation and authors with classpath.
2087         (FileOutputStream): Partly merged with classpath.
2088         (write): Merged with classpath.
2089         (getChannel): Make it synchronized instead of explicit block in this
2090         method.
2091         * java/io/RandomAccessFile.java:
2092         Merged class documentation and authors with classpath.
2093
2094 2003-03-26  Tom Tromey  <tromey@redhat.com>
2095
2096         * java/lang/natRuntime.cc (insertSystemProperties): Set
2097         gnu.classpath.home.url.
2098         * Makefile.in: Rebuilt.
2099         * Makefile.am: Define LIBDIR.
2100
2101 2003-03-25  Michael Koch  <konqueror@gmx.de>
2102
2103         * java/io/FileInputStream.java
2104         (read): Renamed b to buf and off to offset.
2105         * java/io/FileOutputStream.java
2106         (ch): Documentation added.
2107         (FileOutputStream): Documentation added.
2108         (getFD): Documentation added.
2109         (write): Documentation added.
2110         (close): Documentation added.
2111         (getChannel): Documentation added.
2112
2113 2003-03-24  Michael Koch  <konqueror@gmx.de>
2114
2115         * java/io/DataOutputStream.java
2116         (write): Merged from classpath.
2117         * java/io/File.java:
2118         Merged copyrigth with classpath.
2119         * java/io/FileInputStream.java
2120         (getChannel): Made it synchronized instead of using a synchronized
2121         block.
2122         * java/io/FileOutputStream.java: Reformatted.
2123         * java/io/InputStreamReader.java
2124         (InputStreamReader): Renamed enc to encoding_name.
2125         (close): Merged documentation from classpath.
2126         (getEncoding): Merged documentation from classpath.
2127         (ready): Merged documentation from classpath.
2128         (read): Merged documentation from classpath.
2129         * java/io/LineNumberReader.java
2130         (lineNumber): Made it private.
2131         (LineNumberReader): Use Constant instead of a direct value.
2132         * java/io/OutputStreamWriter.java
2133         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2134         documentation from classpath.
2135         (close): Merged documentation from classpath.
2136         (flush): Merged documentation from classpath.
2137         (write): Merged documentation from classpath.
2138         * java/io/PrintStream.java: Reformatted.
2139
2140 2003-03-24  Michael Koch  <konqueror@gmx.de>
2141
2142         * javax/swing/text/ComponentView.java
2143         (getComponent): Must be final.
2144         * javax/swing/tree/DefaultTreeCellRenderer.java:
2145         Reformatted.
2146         * javax/swing/undo/StateEditable.java:
2147         Reformatted.
2148
2149 2003-03-24  Michael Koch  <konqueror@gmx.de>
2150
2151         * java/rmi/activation/ActivationInstantiator.java:
2152         Reformatted.
2153         * java/rmi/activation/Activator.java:
2154         Reformatted.
2155         * java/rmi/registry/RegistryHandler.java:
2156         Remerged from classpath.
2157
2158 2003-03-24  Michael Koch  <konqueror@gmx.de>
2159
2160         * java/util/Date.java:
2161         Fixed documentation starting tag to make javadoc happy.
2162         * java/util/regex/Pattern.java
2163         (Pattern): Implements Serializable.
2164         * java/util/PatternSyntaxException.java
2165         (serialVersionUID): New member variable.
2166
2167 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2168
2169         * java/awt/ContainerOrderFocusTraversalPolicy.java
2170         (getFirstComponent): Implemented.
2171         (getLastComponent): Implemented.
2172         (getDefaultComponent): Implemented.
2173         (setImplicitDownCycleTraversal): Fixed implementation.
2174         * java/awt/Robot.java
2175         (Robot): Added documentation.
2176         * java/awt/Toolkit.java
2177         (getFontList): Deprecated.
2178         (getFontMetrics): Deprecated.
2179         (getPrintJob): Added documentation.
2180         (getSystemSelection): Added documentation.
2181         (getLockingKeyState): Added documentation.
2182         (setLockingKeyState): Added documentation.
2183         (createCustomCursor): Added documentation.
2184         (getBestCursorSize): Added documentation.
2185         (getMaximumCursorColors): Added documentation.
2186         (isFrameStateSupported): Added documentation.
2187
2188 2003-03-24  Michael Koch  <konqueror@gmx.de>
2189
2190         * java/io/RandomAccessFile.java:
2191         More little merges with classpath. No code changes.
2192
2193 2003-03-24  Michael Koch  <konqueror@gmx.de>
2194
2195         * java/net/natInetAddressNoNet.cc:
2196         Include stddef.h.
2197         * java/net/natPlainDatagramSocketImplNoNet.cc:
2198         Fixed inlcude of java/net/DatagramPacket.h.
2199         * java/net/natPlainSocketImplNoNet.cc:
2200         Include some missing classes.
2201
2202 2003-03-24  Michael Koch  <konqueror@gmx.de>
2203
2204         * java/awt/dnd/DropTarget.java
2205         (DropTargetAutoScroller): According to the online documentation, this
2206         is protected, but in reality it is public.
2207         * java/awt/dnd/DropTargetContext.java
2208         (TransferableProxy): According to the online documentation, this
2209         is protected, but in reality it is public.
2210
2211 2003-03-24  Michael Koch  <konqueror@gmx.de>
2212
2213         * java/io/DataInputStream.java
2214         (): Wrapped documentation line.
2215         (): Fixed @return tag.
2216         * java/io/DataOutputStream.java
2217         (written): Moved to top of class.
2218         (all methods): Merged documentation from classpath.
2219         * java/io/File.java:
2220         Merged copyright year with classpath.
2221         * java/io/FileInputStream.java
2222         (all methods): Merged documentation from classpath.
2223         * java/io/LineNumberReader.java
2224         (getLineNumber): Fixed @return tag.
2225         * java/io/ObjectInputStream.java.
2226         Reformatted.
2227         * java/io/ObjectOutputStream.java:
2228         Reformatted, fixed some @see tags.
2229         * java/io/OutputStreamWriter.java:
2230         Deleted empty line.
2231         * java/io/Writer.java:
2232         Reformatted.
2233
2234 2003-03-24  Michael Koch  <konqueror@gmx.de>
2235
2236         * java/awt/Frame.java
2237         (DEFAULT_CURSOR): Fixed @deprecated tag.
2238         (setCursor): Fixed @deprecated tag.
2239
2240 2003-03-24  Michael Koch  <konqueror@gmx.de>
2241
2242         * java/beans/beancontext/BeanContextEvent.java:
2243         Reformated.
2244
2245 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2246
2247         * java/lang/natStringBuffer.cc (regionMatches): New function.
2248         * java/lang/String.java (count): Now package-private.
2249         * java/lang/StringBuffer.java: Merged with Classpath.
2250
2251 2003-03-23  Michael Koch  <konqueror@gmx.de>
2252
2253         * java/io/BufferedOutputStream.java:
2254         Reformated.
2255         * java/io/BufferedReader.java:
2256         Reformated.
2257         * java/io/ByteArrayOutputStream.java
2258         (size): Fixed @see tag.
2259         * java/io/CharArrayWriter.java
2260         (size): Fixed @see tag.
2261         * java/io/DataInput.java:
2262         Reformated.
2263         * java/io/DataOutput.java:
2264         Reformated.
2265         * java/io/DataOutputStream.java:
2266         Merged copyright years with classpath.
2267         * java/io/Externalizable.java:
2268         Reformated.
2269         * java/io/FileFilter.java:
2270         Reformated.
2271         * java/io/FileInputStream.java:
2272         Merged copyright years with classpath.
2273         * java/io/FileOutputStream.java:
2274         Merged copyright years with classpath.
2275         * java/io/FilePermission.java
2276         (FilePermission): Replaced @XXX with FIXME:.
2277         * java/io/FileWriter.java:
2278         Reformated.
2279         * java/io/FilenameFilter.java:
2280         Reformated.
2281         * java/io/FilterInputStream.java:
2282         Reformated.
2283         * java/io/FilterOutputStream.java:
2284         Reformated.
2285         * java/io/FilterReader.java:
2286         Reformated.
2287         * java/io/FilterWriter.java:
2288         Reformated.
2289         * java/io/LineNumberInputStream.java
2290         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2291         happy.
2292         (getLineNumber): Fixed @return tag.
2293         * java/io/ObjectInput.java:
2294         Reformated.
2295         * java/io/ObjectOutput.java:
2296         Reformated.
2297         * java/io/ObjectStreamClass.java:
2298         Reformated.
2299         * java/io/PrintStream.java:
2300         Merged copyright years with classpath.
2301         * java/io/PushbackReader.java
2302         (PushbackReader): Replaced @code with @param.
2303         * java/io/SerializablePermission.java:
2304         Reformated.
2305         * java/io/StreamTokenizer.java
2306         (resetSyntax): Fixed @see tag.
2307
2308 2003-03-22  Richard Henderson  <rth@redhat.com>
2309
2310         * sysdep/ia64/locks.h: Include ia64intrin.h.
2311         (compare_and_swap): Use __sync_bool_compare_and_swap.
2312         (compare_and_swap_release): Expose ar.ccv assignment.
2313
2314 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2315
2316         * include/posix.h: Add suffix for darwin dynamic libraries.
2317
2318 2003-03-21  Michael Koch  <konqueror@gmx.de>
2319
2320         * javax/swing/Action.java
2321         (ACCELERATOR_KEY): New constant.
2322         (ACTION_COMMAND_KEY): Likewise.
2323         (MNEMONIC_KEY): Likewise.
2324         * javax/swing/UnsupportedLookAndFeelException.java
2325         (UnsupportedLookAndFeelException): Must be public.
2326         * javax/swing/WindowConstants.java
2327         (EXIT_ON_CLOSE): New constant.
2328         * javax/swing/text/BadLocationException.java
2329         (offset): New member variable.
2330         (BadLocationException): New implementation, documentation added.
2331         (offsetRequested): New method.
2332         * javax/swing/text/Caret.java:
2333         Reformated.
2334         * javax/swing/text/Document.java:
2335         Reformated.
2336
2337 2003-03-21  Michael Koch  <konqueror@gmx.de>
2338
2339         * java/rmi/activation/Activatable.java
2340         (serialVersionUID): New member variable.
2341         * java/rmi/activation/ActivationGroup.java
2342         (serialVersionUID): New member variable.
2343         * java/rmi/activation/ActivationGroupDesc.java
2344         (serialVersionUID): New member variable.
2345         * java/rmi/registry/Registry.java:
2346         Reformated.
2347         (Registry): Deprecated.
2348         * java/rmi/server/LoaderHandler.java
2349         Reformated.
2350         (LoaderHandler): Deprecated.
2351         * java/rmi/server/LogStream.java
2352         Reformated.
2353         (LogStream): Deprecated.
2354         * java/rmi/server/Operation.java
2355         (Operation): Deprecated.
2356         * java/rmi/server/RMIFailureHandler.java:
2357         Reformated.
2358         * java/rmi/server/RMISocketFactory.java:
2359         Reformated.
2360         * java/rmi/server/RemoteCall.java
2361         (RemoteCall): Deprecated.
2362         * java/rmi/server/RemoteStub.java:
2363         Reformated.
2364         * java/rmi/server/Skeleton.java
2365         Reformated.
2366         (Skeleton): Deprecated.
2367
2368 2003-03-21  Michael Koch  <konqueror@gmx.de>
2369
2370         * java/io/LineNumberReader.java
2371         (LineNumberReader): Merged documentation with classpath.
2372         (getLineNumber): Likewise.
2373         (setLineNumber): Likewise.
2374         (mark): Likewise.
2375         (reset): Likewise.
2376         (read): Likewise.
2377         (readLine): Likewise.
2378         (skip): Likewise.
2379
2380 2003-03-21  Michael Koch  <konqueror@gmx.de>
2381
2382         * java/rmi/RMISecurityManager.java
2383         (checkAccept): Removed.
2384         (checkAccess): Likewise.
2385         (checkAccess): Likewise.
2386         (checkAwtEventQueueAccess): Likewise.
2387         (checkConnect): Likewise.
2388         (checkCreateClassLoader): Likewise.
2389         (checkDelete): Likewise.
2390         (checkExec): Likewise.
2391         (checkExit): Likewise.
2392         (checkLink): Likewise.
2393         (checkListen): Likewise.
2394         (checkMemberAccess): Likewise.
2395         (checkMulticast): Likewise.
2396         (checkPackageAccess): Likewise.
2397         (checkPackageDefinition): Likewise.
2398         (checkPermission): Likewise.
2399         (checkPrintJobAccess): Likewise.
2400         (checkPropertiesAccess): Likewise.
2401         (checkPropertyAccess): Likewise.
2402         (checkRead): Likewise.
2403         (checkSecurityAccess): Likewise.
2404         (checkSetFactory): Likewise.
2405         (checkSystemClipboardAccess): Likewise.
2406         (checkTopLevelWindow): Likewise.
2407         (checkWrite): Likewise.
2408
2409 2003-03-20  Michael Koch  <konqueror@gmx.de>
2410
2411         * gnu/java/nio/FileChannelImpl.java
2412         (address): Removed.
2413         (map_address): New member variable.
2414         (length): Make it package private.
2415         (fd): Make it package private.
2416         (buf): Make it package private.
2417         (file_obj): Make it package private.
2418         (FileChannelImpl): New constructor.
2419         (nio_mmap_file): Use RawData instead of long.
2420         (nio_munmap_file): Use RawData instead of long.
2421         (nio_msync): Use RawData instead of long.
2422         (implCloseChannel): New implementation using map_address.
2423         (read): Reformated.
2424         (map): Implemented.
2425         (create_direct_mapped_buffer): Implemented, use RawData, throws
2426         IOException.
2427         (force): Use map_address instead of address.
2428         * gnu/java/nio/MappedByteFileBuffer.java
2429         (address): Removed.
2430         (map_address): New member variable.
2431         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2432         (several methods): Use map_address instead of address, replaced long
2433         with RawData where appropriate.
2434         * gnu/java/nio/natFileChannelImpl.cc
2435         (nio_mmap_file): Replaced long with RawData.
2436         (nio_munmap_file): Replaced long with RawData.
2437         (nio_msync): Replaced long with RawData.
2438         * gnu/java/nio/natMappedByteFileBuffer.cc
2439         (several methods): Replaced long with RawData where appropriate.
2440
2441 2003-03-20  Michael Koch  <konqueror@gmx.de>
2442
2443         * java/net/InetAddress.java,
2444         java/net/JarURLConnection.java,
2445         java/net/PlainDatagramSocketImpl.java,
2446         java/net/PlainSocketImpl.java,
2447         java/net/URLConnection.java:
2448         Merged copyright statements with classpath for easier merging.
2449
2450 2003-03-20  Michael Koch  <konqueror@gmx.de>
2451
2452         * java/io/FileInputStream.java
2453         (getChannel): New implementation.
2454         * java/io/FileOutputStream.java
2455         (ch): New member variable.
2456         (getChannel): Implemented.
2457         * java/io/RandomAccessFile.java
2458         (RandomAccessFile): Throws FileNotFoundException instead of
2459         IOException.
2460         (getChannel): New method.
2461         (ch): New member variable.
2462
2463 2003-03-20  Michael Koch  <konqueror@gmx.de>
2464
2465         * java/io/DataOutputStream.java,
2466         java/io/File.java,
2467         java/io/FileInputStream.java,
2468         java/io/FileOutputStream.java,
2469         java/io/InputStreamReader.java,
2470         java/io/LineNumberReader.java,
2471         java/io/OutputStreamWriter.java,
2472         java/io/PrintStream.java,
2473         java/io/RandomAccessFile.java:
2474         Merged copyright statements with classpath for easier merging.
2475
2476 2003-03-19  Michael Koch  <konqueror@gmx.de>
2477
2478         * java/lang/Process.java:
2479         Merged from classpath.
2480
2481 2003-03-19  Michael Koch  <konqueror@gmx.de>
2482
2483         * java/io/FileOutputStream.java
2484         (FileOutputStream): New constructor, merged from classpath.
2485         * java/io/FileWriter.java
2486         (FileWriter): New constructor, merged from classpath.
2487
2488 2003-03-18  Michael Koch  <konqueror@gmx.de>
2489
2490         * java/awt/ScrollPane.java
2491         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2492         (getViewportSize): Likewise.
2493         (addNotify): Likewise.
2494         (removeNotify): Likewise.
2495         * java/awt/ScrollPaneAdjustable.java
2496         (ScrollPaneAdjustable): No longer extends Scrollbar.
2497         * java/beans/beancontext/BeanContextServices.java:
2498         Reformated.
2499         (getService): Added throws TooManyListenersException;
2500         * java/beans/beancontext/BeanContextServicesSupport.java:
2501         Reformated.
2502
2503 2003-03-18  Michael Koch  <konqueror@gmx.de>
2504
2505         * java/io/BufferedOutputStream.java,
2506         java/io/DataInput.java,
2507         java/io/DataInputStream.java,
2508         java/io/DataOutput.java,
2509         java/io/Externalizable.java:
2510         More merges from classpath.
2511
2512 2003-03-18  Michael Koch  <konqueror@gmx.de>
2513
2514         * configure.in: Fixed links to platform dependant java.net files.
2515         * configure: Regenerated.
2516         * java/net/natInetAddress.cc,
2517         java/net/natNetworkInterface.cc,
2518         java/net/natPlainDatagramSocketImpl.cc,
2519         java/net/natPlainSocketImpl.cc:
2520         Removed.
2521
2522 2003-03-18  Michael Koch  <konqueror@gmx.de>
2523
2524         * configure.in: Create links to architecture dependent files,
2525         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2526         * configure: Regenerated.
2527         * java/net/natInetAddressNoNet.cc,
2528         java/net/natInetAddressPosix.cc,
2529         java/net/natInetAddressWin32.cc,
2530         java/net/natNetworkInterfaceNoNet.cc,
2531         java/net/natNetworkInterfacePosix.cc,
2532         java/net/natNetworkInterfaceWin32.cc,
2533         java/net/natPlainDatagramSocketImplNoNet.cc,
2534         java/net/natPlainDatagramSocketImplPosix.cc,
2535         java/net/natPlainDatagramSocketImplWin32.cc,
2536         java/net/natPlainSocketImplNoNet.cc,
2537         java/net/natPlainSocketImplPosix.cc,
2538         java/net/natPlainSocketImplWin32.cc: New files.
2539
2540 2003-03-18  Michael Koch  <konqueror@gmx.de>
2541
2542         * java/io/BufferedReader.java,
2543         java/io/BufferedWriter.java,
2544         java/io/ByteArrayOutputStream.java,
2545         java/io/FileFilter.java,
2546         java/io/FilePermission.java,
2547         java/io/FileReader.java,
2548         java/io/FileWriter.java,
2549         java/io/FilenameFilter.java,
2550         java/io/FilterInputStream.java,
2551         java/io/FilterOutputStream.java,
2552         java/io/FilterReader.java,
2553         java/io/FilterWriter.java,
2554         java/io/ObjectInput.java,
2555         java/io/ObjectInputValidation.java,
2556         java/io/ObjectOutput.java,
2557         java/io/ObjectStreamField.java,
2558         java/io/PipedInputStream.java,
2559         java/io/PipedReader.java,
2560         java/io/PrintWriter.java,
2561         java/io/PushbackReader.java,
2562         java/io/Reader.java,
2563         java/io/SerializablePermission.java,
2564         java/io/StringReader.java,
2565         java/io/Writer.java:
2566         Merged from classpath.
2567
2568 2003-03-17  Michael Koch  <konqueror@gmx.de>
2569
2570         * java/awt/ScrollPaneAdjustable.java:
2571         Compile fixes.
2572         
2573 2003-03-17  Michael Koch  <konqueror@gmx.de>
2574
2575         * java/net/DatagramSocket.java
2576         (connect): Fixed comment.
2577         * java/nio/ByteBuffer.java
2578         (hasArray): Fixed comment.
2579
2580 2003-03-17  Michael Koch  <konqueror@gmx.de>
2581
2582         * java/beans/Beans.java:
2583         Explicitely import classes not packages.
2584         * java/beans/FeatureDescriptor.java
2585         (preferred): New member variable.
2586         (isPreferred): New method.
2587         (setPreferred): New method.
2588         * java/beans/PropertyEditorManager.java:
2589         Explicitely import used classes.
2590         * java/beans/beancontext/BeanContextChild.java:
2591         Added line wrapping.
2592         * java/beans/beancontext/BeanContextChildSupport.java:
2593         Reindented.
2594         * java/beans/beancontext/BeanContextEvent.java:
2595         Reindented.
2596
2597 2003-03-17  Michael Koch  <konqueror@gmx.de>
2598
2599         * java/awt/Dialog.java
2600         (Dialog): New constructor, changed implementations, added
2601         documentation.
2602         * java/awt/ScrollPaneAdjustable.java
2603         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2604         Serializable.
2605         (serialVersionUID): New member variable.
2606         (sp): New member variable.
2607         (orientation): New member variable.
2608         (value): New member variable.
2609         (minimum): New member variable.
2610         (maximum): New member variable.
2611         (visibleAmount): New member variable.
2612         (unitIncrement): New member variable.
2613         (blockIncrement): New member variable.
2614         (AdjustmentListener): New member variable.
2615         (ScrollPaneAdjustable): New implementation.
2616         (addAdjustmentListener): New method.
2617         (removeAdjustmentListener): New method.
2618         (getAdjustmentListeners): New method.
2619         (getBlockIncrement): New method.
2620         (getMaximum): New method.
2621         (getMinimum): New method.
2622         (getOrientation): New method.
2623         (getUnitIncrement): New method.
2624         (getValue): New method.
2625         (getVisibleAmount): New method.
2626         (setBlockIncrement): New method.
2627         (setMaximum): Implemented.
2628         (setMinimum): Implemented.
2629         (setUnitIncrement): New method.
2630         (setValue): New method.
2631         (setVisibleAmount): Implemented. 
2632         (paramString): New stubbed method.
2633         * java/awt/Window.java
2634         (show): Call setVisible().
2635         (hide): Call setVisible().
2636         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2637         and WINDOW_STATE_CHANGED.
2638         (processWindowFocusEvent): New method.
2639         (processWindowStateEvent): New method.
2640         (postEvent): Deprecated.
2641         (applyResourceBundle): Deprecated.
2642         * java/awt/datatransfer/DataFlavor.java
2643         (DataFlavor): Doesn't thow ClassNotFoundException.
2644
2645 2003-03-17  Michael Koch
2646
2647         * javax/print/attribute/Attribute.java,
2648         javax/print/attribute/AttributeSet.java,
2649         javax/print/attribute/PrintRequestAttributeSet.java:
2650         New files.
2651         * Makefile.am
2652         (javax_source_files): Added new files:
2653         javax/print/attribute/Attribute.java
2654         javax/print/attribute/AttributeSet.java
2655         javax/print/attribute/PrintRequestAttributeSet.java
2656         * Makefile.in: Regenerated.
2657
2658 2003-03-17  Michael Koch
2659
2660         * javax/print/attribute/Attribute.java,
2661         javax/print/attribute/AttributeSet.java,
2662         javax/print/attribute/PrintRequestAttributeSet.java:
2663         New files.
2664         * Makefile.am
2665         (awt_java_source_files): Added new files:
2666         javax/print/attribute/Attribute.java
2667         javax/print/attribute/AttributeSet.java
2668         javax/print/attribute/PrintRequestAttributeSet.java
2669         * Makefile.in: Regenerated.
2670
2671 2003-03-16  Tom Tromey  <tromey@redhat.com>
2672
2673         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2674         Include platform.h.
2675         * java/lang/natRuntime.cc (insertSystemProperties): Use
2676         _Jv_platform_path_separator.
2677         (nativeGetLibname): Use _Jv_platform_file_separator.
2678         (_load): Use _Jv_platform_onload_names.
2679         (onload_names): New global.
2680         * include/win32.h (_Jv_platform_file_separator): New define.
2681         (_Jv_platform_path_separator): Likewise.
2682         (_Jv_platform_onload_names): Likewise.
2683         (_Jv_platform_ffi_abi): Likewise.
2684         * include/posix.h (_Jv_platform_file_separator): New define.
2685         (_Jv_platform_path_separator): Likewise.
2686         (_Jv_platform_onload_names): Likewise.
2687         (_Jv_platform_ffi_abi): Likewise.
2688
2689 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2690
2691         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2692
2693 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2694
2695         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2696         hierarchy loop.
2697         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2698         list to Object,ObjectStreamClass, moved callReadMethod code up into
2699         readObject and added Class argument to all setXxxField calls.
2700         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2701         consistent with ObjectOutputStream and to facilitate caching the
2702         Method in the future.
2703         (setBooleanField): Added Class argument.
2704         (setByteField): Likewise.
2705         (setCharField): Likewise.
2706         (setDoubleField): Likewise.
2707         (setFloatField): Likewise.
2708         (setIntField): Likewise.
2709         (setLongField): Likewise.
2710         (setShortField): Likewise.
2711         (setObjectField): Likewise.
2712         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2713         class hierarchy loop.
2714         (defaultWriteObject): Call writeFields with new argument list.
2715         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2716         list to Object,ObjectStreamClass, moved callWriteMethod up into
2717         writeObject and added Class argument to all getXxxField calls.
2718         (callWriteMethod): Added ObjectStreamClass argument to be able to
2719         get the proper class to call getMethod on (each class can have (or
2720         not have) its own writeObject method).
2721         (getBooleanField): Added Class argument.
2722         (getByteField): Likewise.
2723         (getCharField): Likewise.
2724         (getDoubleField): Likewise.
2725         (getFloatField): Likewise.
2726         (getIntField): Likewise.
2727         (getLongField): Likewise.
2728         (getShortField): Likewise.
2729         (getObjectField): Likewise.
2730         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2731         facilitate caching the Method object in the future.
2732
2733 2003-03-12  Andreas Schwab  <schwab@suse.de>
2734
2735         * configure.in: Avoid trailing /. in toolexeclibdir.
2736         * configure: Rebuilt.
2737
2738 2003-03-11  Michael Koch  <konqueror@gmx.de>
2739
2740         * gnu/java/nio/ByteBufferImpl.java
2741         (putInt): Use limit() instead of limit.
2742         * gnu/java/nio/CharBufferImpl.java
2743         (slice): Fixed implementation.
2744         (subSequence): Better bounds checking.
2745         * gnu/java/nio/MappedByteFileBuffer.java:
2746         Import all needed classes directly.
2747         * java/nio/ByteBuffer.java
2748         (hashCode): New dummy method.
2749         * java/nio/CharBuffer.java
2750         (array_offset): New member variable.
2751         (hasArray): Fixed documentation.
2752         (arrayOffset): Return array_offset.
2753
2754 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2755
2756         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2757         setter; made return value of getter const char* instead of char*
2758         * prims.cc: removed all references to _Jv_ThisExecutable().
2759         These are in the platform-specific sections now.
2760         * posix.cc: define platform-specific _Jv_ThisExecutable().
2761         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2762         * win32.cc: define platform-specific _Jv_ThisExecutable()
2763         using GetModuleFilename()
2764         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2765         to argv[0] instead of _Jv_ThisExecutable()
2766
2767 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2768
2769         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2770         that is set if we are using addr2name.awk instead of addr2line.
2771         (NameFinder): Set usingAddr2name if using addr2name.awk.
2772         (getExternalLabel): New native method to convert a method 
2773         name to an external label.
2774         (lookup): Convert name given by addr2line to an external label
2775         before demangling.
2776
2777         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2778         constant representing the prefix attached to method names to
2779         convert them to an external label.
2780         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2781         using LABEL_PREFIX.
2782
2783 2003-03-10  Tom Tromey  <tromey@redhat.com>
2784
2785         * Makefile.in: Rebuilt.
2786         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2787         (JC1FLAGS): Removed -Wno-deprecated.
2788
2789 2003-03-10  Michael Koch  <konqueror@gmx.de>
2790
2791         * java/nio/ByteOrder.java
2792         (nativeOrder): Working implementation, added documentation.
2793         (toString): Added documentation.
2794
2795 2003-03-10  Michael Koch  <konqueror@gmx.de>
2796
2797         * java/net/DatagramSocket.java,
2798         java/net/MulticastSocket.java,
2799         java/net/Socket.java,
2800         java/net/URL.java,
2801         java/net/URLConnection.java:
2802         Fixed some documentation tags to make javadoc and friends happy.
2803
2804 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2805
2806         * java/beans/beancontext/BeanContextServicesSupport.java,
2807         java/beans/beancontext/BeanContextSupport.java: New files.
2808         * Makefile.am
2809         (awt_source_files): Added new files.
2810         * Makefile.in: Regenerated.
2811
2812 2003-03-10  Michael Koch  <konqueror@gmx.de>
2813
2814         * java/awt/FocusTraversalPolicy.java
2815         (FocusTraversalPolicy): Documentation added.
2816         (getComponentAfter): Documentation added.
2817         (getComponentBefore): Documentation added.
2818         (getFirstComponent): Documentation added.
2819         (getLastComponent): Documentation added.
2820         (getDefaultComponent): Documentation added.
2821         (getInitialComponent): Documentation added.
2822         * java/awt/ScrollPaneAdjustable.java
2823         (sp): New member variable.
2824         (orientation): New member variable.
2825         (value): New member variable.
2826         (minimum): New member variable.
2827         (maximum): New member variable.
2828         (visibleAmount): New member variable.
2829         (unitIncrement): New member variable.
2830         (blockIncrement): New member variable.
2831         (adjustmentListener): New member variable.
2832         (ScrollPaneAdjustable): Rewrote.
2833         (addAdjustmentListener): New method.
2834         (removeAdjustmentListener): New method.
2835         (getAdjustmentListeners): New method.
2836         (getBlockIncrement): New method.
2837         (getMaximum): New method.
2838         (getMinimum): New method.
2839         (getOrientation): New method.
2840         (getUnitIncrement): New method.
2841         (getValue): New method.
2842         (getVisibleAmount): New method.
2843         (setBlockIncrement): New method.
2844         (setUnitIncrement): New method.
2845         (setMaximum): Implemented.
2846         (setMinimum): Implemented.
2847         (setValue): New method.
2848         (setVisibleAmount): Implemented.
2849         (paramString): New method.
2850         * java/awt/Window.java
2851         (show): Use setVisible(true) instead of super.show().
2852         (hide): Use sevVisible(false) instead of super.hide().
2853         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2854         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2855         (postEvent): Deprecated.
2856         (applyResourceBundle): Deprecated.
2857         (processWindowFocusEvent): New method.
2858         (processWindowStateEvent): New method.
2859         * java/awt/datatransfer/DataFlavor.java: Reindented.
2860         * java/awt/font/TextHitInfo.java
2861         (charIndex): New member variable.
2862         (leadingEdge): New member variable.
2863         (TextHitInfo): New constructor.
2864         (getCharIndex): Implemented.
2865         (isLeadingEdge): Implemented.
2866         (getInsertionIndex): Implemented.
2867         (hashCode): Access charIndex directly.
2868         (equals): Reformated.
2869         (leading): Implemented.
2870         (trailing): Implemented.
2871         (beforeOffset): Implemented.
2872         (afterOffset): Implemented.
2873         (getOtherHit): Implemented.
2874         (getOffsetHit): Implemented.
2875         (toString): Implemented.
2876         * java/awt/image/BufferedImage.java
2877         (BufferedImage): Implements WritableRenderedImage.
2878         (observers): New member variable.
2879         (addTileObserver): New method.
2880         (removeTileObserver): New method.
2881
2882 2003-03-09  Tom Tromey  <tromey@redhat.com>
2883
2884         PR libgcj/9934:
2885         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2886         to lseek.  Return 0 if we can't compute the value.
2887
2888 2003-03-03  Michael Koch  <konqueror@gmx.de>
2889
2890         * java/net/NetworkInterface.java: Merged with classpath.
2891
2892 2003-03-03  Tom Tromey  <tromey@redhat.com>
2893
2894         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2895         of bytecode.
2896         (handle_ret_insn): Fail if returning to jsr that appears at end of
2897         bytecode.
2898
2899 2003-03-03  Michael Koch  <konqueror@gmx.de>
2900
2901         * Makefile.am
2902         (ordinary_java_source_files):
2903         Added gnu/java/nio/MappedByteFileBuffer.java.
2904         (nat_source_files):
2905         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2906         * Makefile.in: Regenerated.
2907
2908 2003-03-03  Michael Koch  <konqueror@gmx.de>
2909
2910         * java/net/DatagramSocket.java
2911         (connect): Merged comment from classpath.
2912         (receive): Merged documentation from classpath.
2913         * java/net/Socket.java
2914         (setSoTimeout): Clarified documentation.
2915         * java/net/URL.java
2916         (getPath): Merged from classpath.
2917         (getUserInfo): Merged from classpath.
2918         (getQuery): Merged from classpath.
2919         * java/net/URLStreamHandler.java
2920         (toExternalForm): Merged from classpath.
2921
2922 2003-03-02  Mark Wielaard  <mark@klomp.org>
2923
2924         * java/util/Properties.java (load): Only skip line if the first
2925         character is a comment, whitespaces don't count.
2926
2927 2003-03-02  Michael Koch  <konqueror@gmx.de>
2928
2929         * java/net/NetPermission.java:
2930         Merged copyright with classpath.
2931
2932 2003-03-02  Michael Koch  <konqueror@gmx.de>
2933
2934         * java/lang/Package.java:
2935         Remerged from classpath.
2936
2937 2003-03-02  Michael Koch  <konqueror@gmx.de>
2938
2939         * java/net/HttpURLConnection.java
2940         (HTTP_SERVER_ERROR): Deprecated.
2941         * java/net/MulticastSocket.java
2942         (send): Replaced checkMulticast with appropriate checkPermission call,
2943         deprecated.
2944         * java/net/URLDecoder.java
2945         (decode): Deprecated.
2946         * java/net/URLEncoder.java
2947         (encode): Deprecated.
2948
2949 2003-03-02  Michael Koch  <konqueror@gmx.de>
2950
2951         * javax/swing/text/Caret.java
2952         (getMagicCaretPosition): Fixed typo in method name.
2953         * javax/swing/text/DefaultCaret.java
2954         (getMagicCaretPosition): Fixed typo in method name.
2955
2956 2003-03-02  Michael Koch  <konqueror@gmx.de>
2957
2958         * java/awt/List.java
2959         (setMultipleSelections): Deprecated.
2960         (delItem): Deprecated.
2961         * java/awt/MenuComponent.java
2962         (getPeer): Deprecated.
2963         * java/awt/ScrollPane.java
2964         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2965         * java/awt/dnd/MouseDragGestureRecognizer.java
2966         (mouseClicked): Added comment.
2967         (mousePressed): Added comment.
2968         (mouseReleased): Added comment.
2969         (mouseEntered): Added comment.
2970         (mouseExited): Added comment.
2971         (mouseDragged): Added comment.
2972         (mouseMoved): Added comment.
2973         * java/awt/event/KeyEvent.java
2974         (KeyEvent): Deprecated.
2975         (setModifiers): Deprecated.
2976         
2977 2003-03-02  Michael Koch  <konqueror@gmx.de>
2978
2979         * gnu/java/nio/FileChannelImpl.java
2980         (fd): Type FileDescriptor instead of int.
2981         (lengthInternal): Removed.
2982         (FileChannelImpl): Fixed arguments, check type of file object.
2983         (size): Made it native.
2984         (implPosition): New native method.
2985         (implTruncate): New native method.
2986         (position): Implemented.
2987         (truncate): Implemented.
2988         (nio_mmap_file): Changed arguments.
2989         (nio_munmap_file): Changed arguments.
2990         (nio_msync): Changed arguments.
2991         * gnu/java/nio/natFileChannelImpl.cc
2992         (lengthInternal): Removed.
2993         (size): New method.
2994         (implPosition): New method.
2995         (implTruncate): New method.
2996         (nio_mmap_file): Changed arguments.
2997         (nio_munmap_file): Changed arguments.
2998         (nio_msync): Changed arguments.
2999
3000 2003-03-02  Michael Koch  <konqueror@gmx.de>
3001
3002         * java/awt/dnd/DropTargetContext.java:
3003         Compile fix: Forgot to commit import.
3004         
3005 2003-03-02  Michael Koch  <konqueror@gmx.de>
3006
3007         * java/awt/Component.java,
3008         java/awt/ScrollPane.java:
3009         Fixed typos.
3010
3011 2003-03-02  Michael Koch  <konqueror@gmx.de>
3012
3013         * java/awt/dnd/DnDEventMulticaster.java: New file.
3014         * java/awt/dnd/DragSource.java
3015         (flavorMap): New member variable.
3016         (dragSourceListener): New member variable.
3017         (dragSourceMotionListener): New member variable.
3018         (getFlavorMap): Implemented.
3019         (createDragGestureRecognizer): Implemented.
3020         (addDragSourceListener): Implemented.
3021         (removeDragSourceListener): Implemented.
3022         (getDragSourceListeners): Implemented.
3023         (addDragSourceMotionListener): Implemented.
3024         (removeDragSourceMotionListener): Implemented.
3025         (getDragSourceMotionListeners): Implemented.
3026         (getListeners): Implemented.
3027         * java/awt/dnd/DragSourceContext.java
3028         (peer): New member variable.
3029         (cursor): New member variable.
3030         (transferable): New member variable.
3031         (trigger): New member variable.
3032         (dragSourceListener): New member variable.
3033         (image): New member variable.
3034         (offset): New member variable.
3035         (DragSourceContext): Implemented.
3036         (getDragSource): Implemented.
3037         (getComponent): Implemented.
3038         (getTrigger): Implemented.
3039         (getSourceActions): Implemented.
3040         (setCursor): Implemented.
3041         (getCursor): Implemented.
3042         (addDragSourceListener): Implemented.
3043         (removeDragSourceListener): Implemented.
3044         (getTransferable): Implemented.
3045         * java/awt/dnd/DropTarget.java
3046         (DropTargetAutoScroller.component): New member variable.
3047         (DropTargetAutoScroller.point): New member variable.
3048         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3049         (DropTargetAutoScroller.updateLocation): Implemented.
3050         (active): Renamed from isActive, defaults to true now.
3051         (component): New member variable.
3052         (flavorMap): New member variable.
3053         (actions): New member variable.
3054         (dropTargetContext): New member variable.
3055         (dropTargetListener): New member variable.
3056         (DropTarget): Implemented.
3057         (getComponent): Implemented.
3058         (setComponent): Implemented.
3059         (setDefaultActions): Implemented.
3060         (getDefaultActions): Implemented.
3061         (setActive): Use active instead of isActive.
3062         (isActive): Use active instead of isActive.
3063         (addDropTargetListener): Implemented.
3064         (removeDropTargetListener): Implemented.
3065         (getFlavorMap): Implemented.
3066         (setFlavorMap): Implemented.
3067         (getDropTargetContext): Implemented.
3068         (createDropTargetContext): Implemented.
3069         (createDropTargetAutoScroller): Implemented.
3070         * java/awt/dnd/DropTargetContext.java
3071         (TransferableProxy.getTransferDataFlavors): Implemented.
3072         (TransferableProxy.isDataFlavorSupported): Implemented.
3073         (TransferableProxy.getTransferData): Implemented.
3074         (dropTarget):  New member variable.
3075         (dtcp): New member variable.
3076         (DropTargetContext): New package private constructor.
3077         (getDropTarget): Implemented.
3078         (getComponent): Implemented.
3079         (addNotify): Implemented.
3080         (removeNotify): Implemented.
3081         (getCurrentDataFlavorsAsList): Implemented.
3082         (isDataFlavorSupported): Implemented.
3083         * java/awt/dnd/MouseDragGestureRecognizer.java
3084         (registerListeners): Implemented.
3085         (unregisterListeners): Implemented.
3086         * Makefile.am
3087         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3088         * Makefile.in: Regenerated.
3089
3090 2003-03-02  Michael Koch  <konqueror@gmx.de>
3091
3092         * java/awt/Component.java
3093         (eventTypeEnabled): New method.
3094         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3095         * java/awt/Container.java
3096         (changeSupport): New member variable.
3097         (addPropertyChangeListener): New methods.
3098         * java/awt/ContainerOrderFocusTraversalPolicy.java
3099         (ContainerOrderFocusTraversalPolicy): Added comment.
3100         (getComponentAfter): Throw exception, documentation added.
3101         (getComponentBefore): Throw exception, documentation added.
3102         (getFirstComponent): Throw exception, documentation added.
3103         (getLastComponent): Throw exception, documentation added.
3104         (getDefaultComponent): Throw exception, documentation added.
3105         * java/awt/EventQueue.java: Reindented.
3106         * java/awt/FocusTraversalPolicy.java:
3107         (FocusTraversalPolicy): Added comment.
3108         (getComponentAfter): Documentation added.
3109         (getComponentBefore): Documentation added.
3110         (getFirstComponent): Documentation added.
3111         (getLastComponent): Documentation added.
3112         (getDefaultComponent): Documentation added.
3113         (getInitialComponent): Documentation added.
3114         * java/awt/ScrollPane.java
3115         (wheelScrollingEnabled): New member variable.
3116         (ScrollPane): Initialize wheelScollingEnabled.
3117         (eventTypeEnabled): New method.
3118         (isWheelScrollingEnabled): New method.
3119         (setWheelScrollingEnabled): New method.
3120
3121 2003-03-02  Michael Koch  <konqueror@gmx.de>
3122
3123         * java/net/DatagramSocket.java
3124         (closed): New member variable.
3125         (close): Use closed variable.
3126         (getInetAddress): No need to call isConnected().
3127         (getPort): No need to call isConnected().
3128         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3129         (isClosed): Reimplemented.
3130         
3131 2003-03-02  Michael Koch  <konqueror@gmx.de>
3132
3133         * configure.in: Added check for memory mapping of files.
3134         * configure: Regenerated.
3135         * config.h.in: Regenerated.
3136
3137 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3138
3139         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3140         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3141
3142 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3143
3144         * java/io/File.java (normalizePath): Remove trailing separator
3145         on Windows only if path is not of the form "x:\".
3146
3147         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3148         (java::io::File::attr): Change formatting a bit and use
3149         WIN32_EPOCH_MILLIS instead of magic numbers.
3150         (java::io::File::isAbsolute): Path must have at least 3 
3151         characters for a UNC network path.
3152         (java::io::File::init_native): Define.
3153         (java::io::File::performCreate): Likewise.
3154         (java::io::File::performSetReadOnly): Likewise.
3155         (java::io::File::performSetLastModified): Likewise.
3156         (java::io::File::performListRoots): Likewise.
3157
3158 2003-03-01  Tom Tromey  <tromey@redhat.com>
3159
3160         * java/lang/natObject.cc: Don't include assert.h.
3161         (heavy_lock_obj_finalization_proc): Use JvAssert.
3162         (remove_all_heavy): Likewise.
3163         (_Jv_MonitorEnter): Likewise.
3164         (_Jv_MonitorExit): Likewise.
3165         (wait): Likewise.
3166
3167 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3168
3169         * java/io/File (getAbsolutePath): Prefix drive specifier on
3170         Windows for paths starting with a '\'.
3171         (toURL): Make URL more consistent with what Sun's JDK returns.
3172
3173         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3174         true only if the path is a UNC network path or it starts with a
3175         drive specifier.
3176
3177         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3178         Be prepared to handle either '/' or '\\' in the file path for
3179         Windows if using the "file" protocol.
3180         Canonicalise the file path if using a relative path in the given
3181         context and the "file" protocol.
3182
3183 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3184
3185         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3186         program array element passed to CreateProcess.
3187
3188 2003-03-01  Tom Tromey  <tromey@redhat.com>
3189
3190         * java/rmi/registry/RegistryHandler.java: Deprecate.
3191
3192 2003-03-01  Tom Tromey  <tromey@redhat.com>
3193
3194         * javax/accessibility/AccessibleEditableText.java,
3195         javax/accessibility/AccessibleHyperlink.java: New versions from
3196         Classpath.
3197
3198         * gnu/java/locale/LocaleInformation_af_ZA.java,
3199         gnu/java/locale/LocaleInformation_ar_AE.java,
3200         gnu/java/locale/LocaleInformation_ar_BH.java,
3201         gnu/java/locale/LocaleInformation_ar_DZ.java,
3202         gnu/java/locale/LocaleInformation_ar_EG.java,
3203         gnu/java/locale/LocaleInformation_ar_IN.java,
3204         gnu/java/locale/LocaleInformation_ar_IQ.java,
3205         gnu/java/locale/LocaleInformation_ar_JO.java,
3206         gnu/java/locale/LocaleInformation_ar_KW.java,
3207         gnu/java/locale/LocaleInformation_ar_LB.java,
3208         gnu/java/locale/LocaleInformation_ar_LY.java,
3209         gnu/java/locale/LocaleInformation_ar_MA.java,
3210         gnu/java/locale/LocaleInformation_ar_OM.java,
3211         gnu/java/locale/LocaleInformation_ar_QA.java,
3212         gnu/java/locale/LocaleInformation_ar_SD.java,
3213         gnu/java/locale/LocaleInformation_ar_SY.java,
3214         gnu/java/locale/LocaleInformation_ar_TN.java,
3215         gnu/java/locale/LocaleInformation_ar_YE.java,
3216         gnu/java/locale/LocaleInformation_be_BY.java,
3217         gnu/java/locale/LocaleInformation_bn_IN.java,
3218         gnu/java/locale/LocaleInformation_br_FR.java,
3219         gnu/java/locale/LocaleInformation_bs_BA.java,
3220         gnu/java/locale/LocaleInformation_ca_ES.java,
3221         gnu/java/locale/LocaleInformation_cs_CZ.java,
3222         gnu/java/locale/LocaleInformation_cy_GB.java,
3223         gnu/java/locale/LocaleInformation_da_DK.java,
3224         gnu/java/locale/LocaleInformation_de_AT.java,
3225         gnu/java/locale/LocaleInformation_de_BE.java,
3226         gnu/java/locale/LocaleInformation_de_CH.java,
3227         gnu/java/locale/LocaleInformation_de_DE.java,
3228         gnu/java/locale/LocaleInformation_de_LU.java,
3229         gnu/java/locale/LocaleInformation_el_GR.java,
3230         gnu/java/locale/LocaleInformation_en_AU.java,
3231         gnu/java/locale/LocaleInformation_en_BW.java,
3232         gnu/java/locale/LocaleInformation_en_CA.java,
3233         gnu/java/locale/LocaleInformation_en_DK.java,
3234         gnu/java/locale/LocaleInformation_en_GB.java,
3235         gnu/java/locale/LocaleInformation_en_HK.java,
3236         gnu/java/locale/LocaleInformation_en_IE.java,
3237         gnu/java/locale/LocaleInformation_en_IN.java,
3238         gnu/java/locale/LocaleInformation_en_NZ.java,
3239         gnu/java/locale/LocaleInformation_en_PH.java,
3240         gnu/java/locale/LocaleInformation_en_SG.java,
3241         gnu/java/locale/LocaleInformation_en_US.java,
3242         gnu/java/locale/LocaleInformation_en_ZA.java,
3243         gnu/java/locale/LocaleInformation_en_ZW.java,
3244         gnu/java/locale/LocaleInformation_es_AR.java,
3245         gnu/java/locale/LocaleInformation_es_BO.java,
3246         gnu/java/locale/LocaleInformation_es_CL.java,
3247         gnu/java/locale/LocaleInformation_es_CO.java,
3248         gnu/java/locale/LocaleInformation_es_CR.java,
3249         gnu/java/locale/LocaleInformation_es_DO.java,
3250         gnu/java/locale/LocaleInformation_es_EC.java,
3251         gnu/java/locale/LocaleInformation_es_ES.java,
3252         gnu/java/locale/LocaleInformation_es_GT.java,
3253         gnu/java/locale/LocaleInformation_es_HN.java,
3254         gnu/java/locale/LocaleInformation_es_MX.java,
3255         gnu/java/locale/LocaleInformation_es_NI.java,
3256         gnu/java/locale/LocaleInformation_es_PA.java,
3257         gnu/java/locale/LocaleInformation_es_PE.java,
3258         gnu/java/locale/LocaleInformation_es_PR.java,
3259         gnu/java/locale/LocaleInformation_es_PY.java,
3260         gnu/java/locale/LocaleInformation_es_SV.java,
3261         gnu/java/locale/LocaleInformation_es_US.java,
3262         gnu/java/locale/LocaleInformation_es_UY.java,
3263         gnu/java/locale/LocaleInformation_es_VE.java,
3264         gnu/java/locale/LocaleInformation_et_EE.java,
3265         gnu/java/locale/LocaleInformation_eu_ES.java,
3266         gnu/java/locale/LocaleInformation_fa_IR.java,
3267         gnu/java/locale/LocaleInformation_fi_FI.java,
3268         gnu/java/locale/LocaleInformation_fo_FO.java,
3269         gnu/java/locale/LocaleInformation_fr_BE.java,
3270         gnu/java/locale/LocaleInformation_fr_CA.java,
3271         gnu/java/locale/LocaleInformation_fr_CH.java,
3272         gnu/java/locale/LocaleInformation_fr_FR.java,
3273         gnu/java/locale/LocaleInformation_fr_LU.java,
3274         gnu/java/locale/LocaleInformation_ga_IE.java,
3275         gnu/java/locale/LocaleInformation_gd_GB.java,
3276         gnu/java/locale/LocaleInformation_gl_ES.java,
3277         gnu/java/locale/LocaleInformation_gv_GB.java,
3278         gnu/java/locale/LocaleInformation_he_IL.java,
3279         gnu/java/locale/LocaleInformation_hi_IN.java,
3280         gnu/java/locale/LocaleInformation_hr_HR.java,
3281         gnu/java/locale/LocaleInformation_hu_HU.java,
3282         gnu/java/locale/LocaleInformation_id_ID.java,
3283         gnu/java/locale/LocaleInformation_it_CH.java,
3284         gnu/java/locale/LocaleInformation_it_IT.java,
3285         gnu/java/locale/LocaleInformation_iw_IL.java,
3286         gnu/java/locale/LocaleInformation_ja_JP.java,
3287         gnu/java/locale/LocaleInformation_ka_GE.java,
3288         gnu/java/locale/LocaleInformation_kl_GL.java,
3289         gnu/java/locale/LocaleInformation_ko_KR.java,
3290         gnu/java/locale/LocaleInformation_kw_GB.java,
3291         gnu/java/locale/LocaleInformation_lt_LT.java,
3292         gnu/java/locale/LocaleInformation_lv_LV.java,
3293         gnu/java/locale/LocaleInformation_mi_NZ.java,
3294         gnu/java/locale/LocaleInformation_mk_MK.java,
3295         gnu/java/locale/LocaleInformation_mr_IN.java,
3296         gnu/java/locale/LocaleInformation_mt_MT.java,
3297         gnu/java/locale/LocaleInformation_nl_BE.java,
3298         gnu/java/locale/LocaleInformation_nl_NL.java,
3299         gnu/java/locale/LocaleInformation_nn_NO.java,
3300         gnu/java/locale/LocaleInformation_no_NO.java,
3301         gnu/java/locale/LocaleInformation_oc_FR.java,
3302         gnu/java/locale/LocaleInformation_pl_PL.java,
3303         gnu/java/locale/LocaleInformation_pt_BR.java,
3304         gnu/java/locale/LocaleInformation_pt_PT.java,
3305         gnu/java/locale/LocaleInformation_ro_RO.java,
3306         gnu/java/locale/LocaleInformation_ru_RU.java,
3307         gnu/java/locale/LocaleInformation_ru_UA.java,
3308         gnu/java/locale/LocaleInformation_se_NO.java,
3309         gnu/java/locale/LocaleInformation_sk_SK.java,
3310         gnu/java/locale/LocaleInformation_sl_SI.java,
3311         gnu/java/locale/LocaleInformation_sq_AL.java,
3312         gnu/java/locale/LocaleInformation_sr_YU.java,
3313         gnu/java/locale/LocaleInformation_sv_FI.java,
3314         gnu/java/locale/LocaleInformation_sv_SE.java,
3315         gnu/java/locale/LocaleInformation_ta_IN.java,
3316         gnu/java/locale/LocaleInformation_te_IN.java,
3317         gnu/java/locale/LocaleInformation_tg_TJ.java,
3318         gnu/java/locale/LocaleInformation_tl_PH.java,
3319         gnu/java/locale/LocaleInformation_tr_TR.java,
3320         gnu/java/locale/LocaleInformation_uk_UA.java,
3321         gnu/java/locale/LocaleInformation_ur_PK.java,
3322         gnu/java/locale/LocaleInformation_uz_UZ.java,
3323         gnu/java/locale/LocaleInformation_vi_VN.java,
3324         gnu/java/locale/LocaleInformation_yi_US.java,
3325         gnu/java/locale/LocaleInformation_zh_CN.java,
3326         gnu/java/locale/LocaleInformation_zh_HK.java,
3327         gnu/java/locale/LocaleInformation_zh_SG.java,
3328         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3329         info; from Classpath.
3330
3331         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3332         isPaintPending): New methods.
3333         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3334         setMaximizedBounds): New methods.
3335         (beginLayout, endLayout, isPaintPending): Likewise.
3336         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3337         (requestFocus): Likewise.
3338         (isObscured): Likewise.
3339         (canDetermineObscurity): Likewise.
3340         (coalescePaintEvent): Likewise.
3341         (updateCursorImmediately): Likewise.
3342         (createVolatileImage): Likewise.
3343         (handlesWheelScrolling): Likewise.
3344         (createBuffers): Likewise.
3345         (getBackBuffer): Likewise.
3346         (flip): Likewise.
3347         (destroyBuffers): Likewise.
3348
3349         * Makefile.in: Rebuilt.
3350         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3351         RobotPeer.java.
3352         * gnu/java/awt/GLightweightPeer.java,
3353         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3354         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3355         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3356         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3357         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3358         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3359         java/awt/dnd/peer/DragSourceContextPeer.java,
3360         java/awt/dnd/peer/DropTargetContextPeer.java,
3361         java/awt/peer/ButtonPeer.java,
3362         java/awt/peer/CheckboxMenuItemPeer.java,
3363         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3364         java/awt/peer/ComponentPeer.java,
3365         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3366         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3367         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3368         java/awt/peer/MenuBarPeer.java,
3369         java/awt/peer/MenuComponentPeer.java,
3370         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3371         java/awt/peer/PopupMenuPeer.java,
3372         java/awt/peer/ScrollPanePeer.java,
3373         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3374         java/awt/peer/TextComponentPeer.java,
3375         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3376         New versions from Classpath.
3377         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3378         * java/awt/peer/RobotPeer.java: Likewise.
3379
3380 2003-03-01  Mark Wielaard  <mark@klomp.org>
3381
3382         * java/io/ObjectInputStream.java: Reindent.
3383         * java/io/ObjectOutputStream.java: Likewise.
3384
3385 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3386
3387         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3388         jvalue for each argument. Simplify.
3389         * testsuite/libjava.jni/calls.c (docall),
3390         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3391         misalignment.
3392
3393 2003-02-28  Mark Wielaard  <mark@klomp.org>
3394
3395         * Makefile.am (nat_source_files): Remove
3396         java/io/natObjectOutputStream.cc.
3397         * Makefile.in: Regenerated.
3398         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3399         * java/io/ObjectStreamField.java (typename): New field.
3400         (ObjectStreamField(String, Class)): Initialize new field.
3401         (ObjectStreamField(String, String)): New Constructor.
3402         (getTypeCode): Use new field.
3403         (getTypeString): Use new field.
3404         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3405         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3406         Handle reading of Proxy classes. Never drain(), just write
3407         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3408         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3409         (flush): Call flush(), not just drain().
3410         (writeBoolean): Always use blockDataOutput.
3411         (writeByte): Likewise.
3412         (writeShort): Likewise.
3413         (writeChar): Likewise.
3414         (writeInt): Likewise.
3415         (writeLong): Likewise.
3416         (writeFloat): Likewise.
3417         (writeDouble): Likewise.
3418         (writeBytes): Likewise.
3419         (putfield (put(String,Object))): Throw IllegalArgumentException if
3420         field cannot be found.
3421         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3422         (writeArraySizeAndElements): Write byte[] in one go.
3423         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3424         set BlockDataMode to false.
3425         (annotateProxyClass): New method.
3426         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3427         (getField): No longer native.
3428         (getMethod): Likewise.
3429         (setBlockDataMode): Always drain() on switch, return old mode.
3430         (static): New static code block.
3431         * java/io/natObjectOutputStream.cc: Removed.
3432         * java/io/ObjectInputStream.java (getField): No longer native.
3433         (getMethod): Likewise.
3434         (readObject): Remember and reset old BlockDataMode. Track whether
3435         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3436         TC_LONGSTRING.
3437         (defaultReadObject): Set BlockDataMode to false during readFields.
3438         (resolveClass): Create new SecurityManager if necessary.
3439         Use Class.forName() if null ClassLoader found.
3440         (read(byte[],int,int): Copy remaining bytes to data before calling
3441         readNextBlock().
3442         (readFields): Set and reset BlockDataMode on call_read_method.
3443         Catch NoSuchFieldErrors.
3444         (setBlockDataMode): Return old mode.
3445         (static): New static code block.
3446         * java/io/natObjectInputStream.cc (getField): Removed.
3447         (getMethod): Likewise.
3448
3449 2003-02-27  Michael Koch  <konqueror@gmx.de>
3450
3451         * java/beans/Beans.java,
3452         java/beans/FeatureDescriptor.java
3453         java/beans/PropertyEditorManager.java:
3454         Reformated to GNU style.
3455
3456 2003-02-25  Michael Koch  <konqueror@gmx.de>
3457
3458         * gnu/java/nio/MappedByteFileBuffer.java,
3459         gnu/java/nio/natMappedByteFileBuffer.cc:
3460         New files, both are not compiled yet to get not noncompiling CVS.
3461
3462 2003-02-24  Tom Tromey  <tromey@redhat.com>
3463
3464         * java/util/prefs/AbstractPreferences.java (isUserNode):
3465         Implemented.
3466
3467 2003-02-24  Tom Tromey  <tromey@redhat.com>
3468
3469         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3470         Deprecate.
3471         * java/lang/Thread.java (resume): Deprecate.
3472         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3473         in @deprecated.
3474
3475 2003-02-23  Tom Tromey  <tromey@redhat.com>
3476
3477         * Makefile.in: Rebuilt.
3478         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3479
3480 2003-02-23  Tom Tromey  <tromey@redhat.com>
3481
3482         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3483         libraries): Removed.
3484         (add_library): Removed.
3485         (_load): Don't call add_library.
3486         (loadLibraryInternal): Likewise.
3487         (init): Likewise.
3488         (lookup_data): New struct.
3489         (find_symbol): New function.
3490         (_Jv_FindSymbolInExecutable): Use it.
3491
3492 2002-02-21  Anthony Green  <green@redhat.com>
3493
3494         * java/lang/Thread.java (Thread): New constructor taking stack
3495         size parameter (ignored for now).
3496         * Many methods: Merged GNU Classpath documentation.
3497
3498         * java/lang/Class.java (finalize): throws a Throwable.
3499
3500 2003-02-21  Mark Wielaard  <mark@klomp.org>
3501
3502         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3503         argument is null.
3504
3505 2003-02-21  Mark Wielaard  <mark@klomp.org>
3506
3507         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3508         then 65535 chars throw IllegalArgumentException.
3509
3510 2003-02-21  Mark Wielaard  <mark@klomp.org>
3511
3512         * java/util/zip/ZipFile.java (finalize): New method.
3513
3514 2003-02-21  Michael Koch  <konqueror@gmx.de>
3515
3516         * gnu/java/nio/natSocketChannelImpl.cc:
3517         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3518         <cato@df.lth.se> for pointing to it.
3519
3520 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3521
3522         * java/math/BigInteger.java (euclidInv): Take result array as an
3523         argument.  Updated all callers.
3524         (modInverse): Removed unused variables.
3525
3526 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3527
3528         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3529         config.status.
3530         * configure: Rebuilt.
3531
3532 2003-02-19  Michael Koch  <konqueror@gmx.de>
3533
3534         * gnu/java/nio/natSocketChannelImpl.cc:
3535         Added support for platforms without network support.
3536
3537 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3538
3539         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3540         after config.h.  Use <> for consistency.
3541         * java/lang/natObject.cc: Likewise.
3542         * java/lang/natRuntime.cc: Likewise.
3543         * java/lang/natSystem.cc: Likewise.
3544         * java/util/natTimeZone.cc: Likewise.
3545         * win32.cc: Likewise.
3546         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3547         listen, write, read): Undef to avoid interference from OS macros.
3548
3549 2003-02-19  Michael Koch  <konqueror@gmx.de>
3550
3551         * gnu/java/nio/ByteBufferImpl.java
3552         (ByteBufferImpl): Renamed two variables.
3553         * gnu/java/nio/CharBufferImpl.java
3554         (CharBufferImpl): Renamed two variables.
3555         * gnu/java/nio/DoubleBufferImpl.java
3556         (DoubleBufferImpl): Renamed two variables.
3557         * gnu/java/nio/FloatBufferImpl.java
3558         (FloatBufferImpl): Renamed two variables.
3559         * gnu/java/nio/IntBufferImpl.java
3560         (IntBufferImpl): Renamed two variables.
3561         * gnu/java/nio/LongBufferImpl.java
3562         (LongBufferImpl): Renamed two variables.
3563         * gnu/java/nio/ShortBufferImpl.java
3564         (ShortBufferImpl): Renamed two variables.
3565         * java/nio/CharBuffer.java
3566         (wrap): Fixed arguments to CharBufferImpl constructor.
3567         (hasArray): Only not read-only buffers have backing arrays.
3568         (length): Documentation added.
3569         (subSequence): Documentation added.
3570         * java/nio/DoubleBuffer.java
3571         (hasArray): Only not read-only buffers have backing arrays.
3572         * java/nio/FloatBuffer.java
3573         (hasArray): Only not read-only buffers have backing arrays.
3574         * java/nio/IntBuffer.java
3575         (hasArray): Only not read-only buffers have backing arrays.
3576         * java/nio/LongBuffer.java
3577         (hasArray): Only not read-only buffers have backing arrays.
3578         * java/nio/ShortBuffer.java
3579         (hasArray): Only not read-only buffers have backing arrays.
3580         
3581 2003-02-19  Michael Koch  <konqueror@gmx.de>
3582
3583         * javax/accessibility/AccessibleContext.java
3584         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3585
3586 2003-02-19  Michael Koch  <konqueror@gmx.de>
3587
3588         * java/awt/ScrollPaneAdjustable.java: Reformated.
3589
3590 2003-02-19  Michael Koch <konqueror@gmx.de>
3591
3592         * gnu/awt/j2d/Graphics2DImpl.java
3593         (getFontRenderContext): New method.
3594         (drawGlyphVector): New method.
3595         * java/awt/Graphics2D.java
3596         (getFontRenderContext): New abstract method.
3597         (drawGlyphVector): New abstract method.
3598         
3599 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3600
3601         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3602         if necessary.
3603         
3604         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3605         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3606         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3607         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3608         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3609         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3610         (setFont, gtkSetFont): add.
3611         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3612         Propagate font to peer.  (setFont): add FIXME comment.
3613
3614         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3615         (gtkTextGetSize): fix height, width computation.
3616
3617         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3618         Make X font name a bit less bogus.
3619
3620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3621         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3622
3623         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3624         (processAdjustmentEvent): Adjust value.
3625
3626         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3627         logic errors.
3628
3629         * java/awt/Component.java (setVisible, show, hide): Call show and
3630         hide methods in subclasses.
3631         (getPreferredSize): don't set prefSize before we have peer.
3632
3633         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3634         Guess (0,0) if we don't have peer.
3635
3636
3637 2003-02-18  Michael Koch  <konqueror@gmx.de>
3638
3639         * java/nio/channels/FileChannel.java
3640         (toString): New implementation, added documentation.
3641         (map): Added exception documentation.
3642         (size): Added exception documentation.
3643         (write): New methods, documentation work.
3644         (read): New methods, documentation work.
3645         (implCloseChannel): Rewrote exception documentation.
3646         (force): Throws IOException, added documentation.
3647         (lock): New methods.
3648         (tryLock): New methods.
3649         (position): New methods.
3650         (transferTo): New method.
3651         (transferFrom): New method.
3652         (truncate): New method.
3653         * java/nio/channels/spi/SelectorProvider.java
3654         (provider): Implemented.
3655         * Makefile.am
3656         (ordinary_java_source_files): Added the following files:
3657         gnu/java/nio/DatagramChannelImpl.java
3658         gnu/java/nio/FileChannelImpl.java
3659         gnu/java/nio/PipeImpl.java
3660         gnu/java/nio/SelectionKeyImpl.java
3661         gnu/java/nio/SelectorImpl.java
3662         gnu/java/nio/SelectorProviderImpl.java
3663         gnu/java/nio/ServerSocketChannelImpl.java
3664         gnu/java/nio/SocketChannelImpl.java
3665         java/nio/channels/FileLock.java
3666         (nat_java_source_files): Added the following files:
3667         gnu/java/nio/natFileChannelImpl.cc
3668         gnu/java/nio/natSelectorImpl.cc
3669         gnu/java/nio/natSocketChannelImpl.cc
3670         * Makefile.in: Regenerated.
3671
3672 2003-02-17  Tom Tromey  <tromey@redhat.com>
3673
3674         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3675         * java/awt/image/ImageFilter.java: Likewise.
3676
3677 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3678
3679         * java/math/BigInteger.java (euclidInv): Return array of
3680         `BigInteger's.  Changed all callers.
3681
3682 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3683
3684         * java/util/Properties.java (store): Move the code formerly in
3685         list(), into this method.
3686         (list (PrintStream)): Just call list (PrintWriter) with a 
3687         PrintWriter object constructed from the given PrintStream object.
3688         (list (PrintWriter)): Emulate the output of Properties.list()
3689         as found in JDK 1.3/1.4.
3690
3691 2003-02-17  Michael Koch  <konqueror@gmx.de>
3692
3693         * java/net/DatagramSocket.java
3694         (connect): Merged with classpath.
3695         (disconnect): Merged documentation with classpath.
3696         (receice): Merged documentation with classpath.
3697         (send): Merged documentation with classpath.
3698         
3699 2003-02-17  Michael Koch  <konqueror@gmx.de>
3700
3701         * java/awt/dnd/DragSourceContext.java
3702         (addDragSourceListener): Added documentation.
3703         * java/awt/dnd/DragSourceDragEvent.java
3704         (serialVersionUID): New member variable.
3705         (getDropAction): Reformated.
3706         * java/awt/dnd/DragSourceDropEvent.java
3707         (serialVersionUID): New member variable.
3708         (dropSuccess): Renamed from success for serialization issues.
3709         * java/awt/dnd/DragSourceEvent.java
3710         (serialVersionUID): New member variable.
3711         * java/awt/dnd/DropTarget.java
3712         (serialVersionUID): New member variable.
3713         (DropTarget): Implemented, documentation reworked.
3714         (setComponent): Documentation added.
3715         (getComponent): Documentation added.
3716         (setDefaultActions): Documentation added.
3717         (getDefaultActions): Documentation added.
3718         (addDropTargetListener): Documentation added.
3719         * java/awt/dnd/DropTargetContext.java
3720         (DropTargetContext): Documentation added.
3721         (TransferableProxy.TransferableProxy): New method.
3722         (dropComplete): Fixed documentation.
3723         (getTransferable): Fixed documentation.
3724         (createTransferableProxy): Implemented.
3725         * java/awt/dnd/DropTargetDragEvent.java
3726         (DropTargetDragEvent): Documentation added.
3727         (serialVersionUID): New member variable.
3728         (DropTargetDragEvent): Throw exceptions, documentation added.
3729         (acceptDrag): Implemented.
3730         (getCurrentDataFlavors): Implemented.3yy
3731         (getCurrentDataFlavorsAsList): Implemented.
3732         (isDataFlavorSupported): Implemented.
3733         (rejectDrag): Implemented.
3734         * java/awt/dnd/DropTargetDropEvent.java
3735         (DropTargetDropEvent): Documentation added.
3736         (serialVersionUID): New member variable.
3737         (actions): Renamed from srcActions for serialization issues.
3738         (isLocalTx): Renamed from isLocalTx for serialization issues.
3739         (DropTargetDropEvent): New implementation, throw exceptions,
3740         documentation added.
3741         (getCurrentDataFlavors): Implemented.
3742         (getCurrentDataFlavorsAsList): Implemented.
3743         (isDataFlavorSupported): Implemented.
3744         (getSourceActions): Implemented.
3745         (getDropAction): Implemented.
3746         (getTransferable): Implemented.
3747         (acceptDrop): Implemented.
3748         (rejectDrop): Implemented.
3749         * java/awt/dnd/DropTargetListener.java
3750         (drop): Fixed documentation.
3751         * java/awt/dnd/MouseDragGestureRecognizer.java
3752         (MouseDragGestureRecognizer): Documentation added.
3753
3754 2003-02-17  Michael Koch  <konqueror@gmx.de>
3755
3756         * java/awt/font/FontRenderContext.java,
3757         java/awt/font/ShapeGraphicAttribute.java,
3758         java/awt/font/MultipleMaster.java,
3759         java/awt/font/TransformAttribute.java,
3760         java/awt/font/GlyphJustificationInfo.java,
3761         java/awt/font/LineBreakMeasurer.java,
3762         java/awt/font/TextMeasurer.java,
3763         java/awt/font/TextLayout.java,
3764         java/awt/font/LineMetrics.java,
3765         java/awt/font/TextAttribute.java,
3766         java/awt/font/GlyphMetrics.java,
3767         java/awt/font/OpenType.java,
3768         java/awt/font/GlyphVector.java,
3769         java/awt/font/GraphicAttribute.java,
3770         java/awt/font/ImageGraphicAttribute.java,
3771         java/awt/font/NumericShaper.java: New files.
3772         * Makefile.am
3773         (awt_java_source_files): Added the following files:
3774         java/awt/font/FontRenderContext.java
3775         java/awt/font/ShapeGraphicAttribute.java
3776         java/awt/font/MultipleMaster.java
3777         java/awt/font/TransformAttribute.java
3778         java/awt/font/GlyphJustificationInfo.java
3779         java/awt/font/LineBreakMeasurer.java
3780         java/awt/font/TextMeasurer.java
3781         java/awt/font/TextLayout.java
3782         java/awt/font/LineMetrics.java
3783         java/awt/font/TextAttribute.java
3784         java/awt/font/GlyphMetrics.java
3785         java/awt/font/OpenType.java
3786         java/awt/font/GlyphVector.java
3787         java/awt/font/GraphicAttribute.java
3788         java/awt/font/ImageGraphicAttribute.java
3789         java/awt/font/NumericShaper.java
3790         * Makefile.in: Regenerated.
3791
3792 2003-02-17  Michael Koch  <konqueror@gmx.de>
3793
3794         * java/awt/print/Paper.java
3795         (Paper): Implements Cloneable.
3796         * java/awt/print/PrinterJob.java
3797         (setJobName): Return value must be void.
3798         (print): Throws PrinterException.
3799         
3800 2003-02-16  Tom Tromey  <tromey@redhat.com>
3801
3802         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3803         variable.
3804
3805 2003-02-15  Michael Koch  <konqueror@gmx.de>
3806
3807         * java/awt/datatransfer/DataFlavor.java
3808         (isRepresentationClassByteBuffer): Removed try-catch block.
3809         (isRepresentationClassCharBuffer): Removed try-catch block.
3810         (isRepresentationClassReader): Removed try-catch block.
3811
3812 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3813
3814         * java/nio/charset/Charset.java
3815         (isRegistered): Fixed method args and implementation.
3816         * java/nio/charset/CharsetEncoder.java
3817         (unmappableCharacterAction): New method.
3818
3819 2003-02-15  Michael Koch  <konqueror@gmx.de>
3820
3821         * java/awt/CheckboxMenuItem.java
3822         (CheckBoxMenuItem): Dont implement Serializable.
3823         (getListeners): New method,
3824         (getItemListeners): New method.
3825         * java/awt/Choice.java
3826         (getListeners): New method,
3827         (getItemListeners): New method.
3828         * java/awt/Container.java
3829         (getListeners): Added exception documentation.
3830         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3831         (getFocusTraversalKeys): Added documentation.
3832         (areFocusTraversalKeysSet): Added documentation.
3833         (applyComponentOrientation): Added documentation.
3834         * java/awt/ContainerOrderFocusTraversalPolicy.java
3835         (implicitDownCycleTraversal): Renamed from downCycle for
3836         serialization.
3837         (ContainerOrderFocusTraversalPolicy): Added documentation.
3838         (accept): Reformated.
3839         * java/awt/Dialog.java
3840         (Dialog): Dont implement Serializable.
3841         (Dialog): Added documentation.
3842         * java/awt/Font.java
3843         (Font): Dont use absolute class name.
3844         * java/awt/Frame.java
3845         (Frame): Font implement Serializable.
3846         * java/awt/List.java
3847         (getListeners): New method,
3848         (getActionListeners): New method.       
3849         (getItemListeners): New method.
3850         * java/awt/Menu.java
3851         (countItems): New deprecated method.
3852         * java/awt/Scrollbar.java
3853         (getListeners): New method,
3854         (getAdjustmentListeners): New method,
3855         * java/awt/TextComponent.java
3856         (getListeners): New method,
3857         (getTextListeners): New method,
3858         * java/awt/TextField.java
3859         (getListeners): New method,
3860         (getActionListeners): New method.       
3861         * java/awt/Window.java
3862         (windowFocusListener): New member variable.
3863         (windowStateListener): New member variable.
3864         (getWindowFocusListeners): New method.
3865         (getWindowStateListeners): New method.
3866         (addWindowFocusListener): New method.
3867         (addWindowStateListener): New method.
3868         (removeWindowFocusListener): New method.
3869         (removeWindowStateListener): New method.
3870         * java/awt/datatransfer/DataFlavor.java
3871         (isRepresentationClassByteBuffer): New method.
3872         (isRepresentationClassCharBuffer): New method.
3873         (isRepresentationClassReader): New method.
3874
3875 2003-02-14  Mark Wielaard  <mark@klomp.org>
3876
3877         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3878         zero when there is an exponent and the significant is zero.
3879         (divide): Always set scale to newScale even in special ZERO case.
3880
3881 2003-02-14  Tom Tromey  <tromey@redhat.com>
3882
3883         * java/lang/System.java (properties): Use Properties.clone.
3884         (setProperties): Likewise.
3885
3886 2003-02-14  Michael Koch  <konqueror@gmx.de>
3887
3888         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3889         * gnu/java/nio/ServerSocketChannelImpl.java
3890         (SocketAccept): Removed.
3891         (accept): Commented out use of SocketAccept.
3892
3893 2003-02-13  Tom Tromey  <tromey@redhat.com>
3894
3895         * verify.cc (state::seen_subrs): New field.
3896         (state::state): Initialize it.
3897         (state::clean_subrs): New method.
3898         (state::~state): Call it.
3899         (state::copy): Copy subroutine list.
3900         (state::add_subr): New method.
3901         (state::merge): Only register a change if the current subroutine
3902         hasn't yet been noted.
3903
3904 2003-02-13  Mark Wielaard  <mark@klomp.org>
3905
3906         * java/io/InputStreamReader.java (getEncoding): Return null when
3907         closed.
3908         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3909
3910 2003-02-13  Mark Wielaard  <mark@klomp.org>
3911  
3912         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3913         is zero.
3914
3915 2003-02-13  Mark Wielaard  <mark@klomp.org>
3916
3917         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3918         next byte cannot be buffered.
3919
3920 2003-02-13  Michael Koch  <konqueror@gmx.de>
3921  
3922         * java/awt/Label.java
3923         (Label): Don't implement Serializable directly.
3924         (addNotify): Fixed typo in documentation.
3925         * java/awt/List.java
3926         (List): Don't implement Serializable directly.
3927         * java/awt/PopupMenu.java
3928         (PopupMenu): Don't implement Serializable directly.
3929         * java/awt/ScrollPane.java
3930         (ScrollPane): Don't implement Serializable directly.
3931         * java/awt/Scrollbar.java
3932         (Scrollbar): Don't implement Serializable directly.
3933         * java/awt/TextArea.java
3934         (preferredSize): Fixed method arguments.
3935         * java/awt/TextField.java
3936         (TextField): Don't implement Serializable directly.
3937         * java/awt/color/ICC_ColorSpace.java
3938         (fromCIOXYZ): Documentation added.
3939         (getMinValue): Documentation added.
3940         (getMaxValue): Documentation added.
3941         * java/awt/datatransfer/DataFlavor.java
3942         (isMimeTypeEqual): May not be final.
3943         (clone): Throws CloneNotSupportedException.
3944         (getReaderForText): Don't throws UnsupportedEncodingException.
3945
3946 2003-02-13  Michael Koch  <konqueror@gmx.de>
3947  
3948         * gnu/java/awt/peer/gtk/GdkGraphics.java
3949         (drawString): New stubbed method.
3950         * java/awt/Graphics.java
3951         (drawString): New method.
3952
3953 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3954
3955         PR libgcj/9271:
3956         * java/security/SecureRandom.java (next): Avoid bias in results.
3957
3958 2003-02-13  Michael  <konqueror@gmx.de>
3959
3960         * gnu/java/nio/FileChannelImpl.java
3961         (lengthInternal): Must be native.
3962         (size): Check if channel is already closed.
3963         (implCloseChannel): Reformated.
3964         (read): w was unused, removed it.
3965         (read): Removed.
3966         (read): New method.
3967         (write): New method.
3968         (map): Check arguments.
3969         (force): Throws IOException, check if channel is closed.
3970         (transferTo): New method.
3971         (transferFrom): New method.
3972         (lock): New method.
3973         (tryLock): New method.
3974         (position): New method.
3975         (truncate): New method.
3976         (nio_mmap_file): Uncommented.
3977         (nio_munmap_file): Uncommented.
3978         (nio_msync): Uncommented.
3979         * gnu/java/nio/natFileChannelImpl.cc: New file.
3980         
3981 2003-02-13  Michael Koch  <konqueror@gmx.de>
3982
3983         * java/nio/ByteBuffer.java
3984         (endian): New member variable.
3985         (get): New methods.
3986         (equals): New method.
3987         (compareTo): New method.
3988         (order): New methods.
3989         (compact): New method.
3990         (isDirect): New method.
3991         (slice): New method.
3992         (duplicate): New method.
3993         (asReadOnlyBuffer): New method.
3994         (asCharBuffer): New method.
3995         (asDoubleBuffer): New method.
3996         (asFloatBuffer): New method.
3997         (asIntBuffer): New method.
3998         (asLongBuffer): New method.
3999         (asShortBuffer): New method.
4000         (get*): New methods.
4001         (put*): New methods.
4002         (toString): New method.
4003         * java/nio/CharBuffer.java
4004         (CharBuffer): Implement Comparable instead of Cloneable.
4005         (get): May not be final.
4006         (put): May not be final.
4007         
4008 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4009
4010         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4011         lastIndexOf( ) instead of indexOf( ) to find the colon before
4012         the line number, because Win32 file names might contain a 
4013         drive letter and a colon at the start of an absolute path.
4014
4015 2003-02-13  Michael Koch  <konqueror@gmx.de>
4016
4017         * gnu/java/nio/natSocketChannelImpl.cc
4018         (SocketConnect): This is not implemented yet.
4019         (SocketBind): This is not implemented yet.
4020
4021 2003-02-13  Michael Koch  <konqueror@gmx.de>
4022
4023         * gnu/java/nio/natByteBufferImpl.cc,
4024         gnu/java/nio/natCharBufferImpl.cc,
4025         gnu/java/nio/natDoubleBufferImpl.cc,
4026         gnu/java/nio/natFloatBufferImpl.cc,
4027         gnu/java/nio/natIntBufferImpl.cc,
4028         gnu/java/nio/natLongBufferImpl.cc,
4029         gnu/java/nio/natShortBufferImpl.cc:
4030         Added copyright and license.
4031         * java/nio/DoubleBuffer.java,
4032         java/nio/FloatBuffer.java,
4033         java/nio/IntBuffer.java,
4034         java/nio/LongBuffer.java,
4035         java/nio/ShortBuffer.java
4036         (array): Throw exceptions.
4037         (arrayOffset): Throw exceptions.
4038
4039 2003-02-13  Michael Koch  <konqueror@gmx.de>
4040  
4041         * gnu/java/util/prefs/FileBasedFactory.java,
4042         gnu/java/util/prefs/MemmoryBasedFactory.java,
4043         gnu/java/util/prefs/MemoryBasedPreferences.java,
4044         gnu/java/util/prefs/NodeReader.java,
4045         gnu/java/util/prefs/NodeWriter.java,
4046         java/util/prefs/AbstractPreferences.java,
4047         java/util/prefs/BackingStoreException.java,
4048         java/util/prefs/InvalidPreferencesFormatException.java,
4049         java/util/prefs/NodeChangeEvent.java,
4050         java/util/prefs/NodeChangeListener.java,
4051         java/util/prefs/PreferenceChangeEvent.java,
4052         java/util/prefs/PreferenceChangeListener.java,
4053         java/util/prefs/Preferences.java,
4054         java/util/prefs/PreferencesFactory.java:
4055         New files, all merged from classpath.
4056         * Makefile.am
4057         (ordinary_java_source_files): Added the following files:
4058         gnu/java/util/prefs/FileBasedFactory.java,
4059         gnu/java/util/prefs/MemmoryBasedFactory.java,
4060         gnu/java/util/prefs/MemoryBasedPreferences.java,
4061         gnu/java/util/prefs/NodeReader.java,
4062         gnu/java/util/prefs/NodeWriter.java,
4063         (core_java_source_files): Added the following files:
4064         java/util/prefs/AbstractPreferences.java,
4065         java/util/prefs/BackingStoreException.java,
4066         java/util/prefs/InvalidPreferencesFormatException.java,
4067         java/util/prefs/NodeChangeEvent.java,
4068         java/util/prefs/NodeChangeListener.java,
4069         java/util/prefs/PreferenceChangeEvent.java,
4070         java/util/prefs/PreferenceChangeListener.java,
4071         java/util/prefs/Preferences.java,
4072         java/util/prefs/PreferencesFactory.java
4073         * Makefile.in: Regenerated.
4074  
4075 2003-02-13  Michael Koch  <konqueror@gmx.de>
4076
4077         * java/net/NetPermission.java
4078         (NetPermission): Make doucmentation match the method declaration.
4079         * java/net/NetworkInterface.java
4080         (equals): Reformated for GNU coding style.
4081         * java/net/ServerSocket.java: Merged with classpath.
4082         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4083         * java/net/SocketImpl.java
4084         (localPort): Merged with classpath (initialize with -1).
4085         * java/net/SocketPermission.java: Merged with classpath (reindented).
4086         * java/net/URLDecoder.java: Merged with classpath (reindented).
4087
4088 2003-02-13  Michael Koch  <konqueror@gmx.de>
4089
4090         * java/awt/GridBagConstraints.java
4091         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4092         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4093         * java/awt/KeyboardFocusManager.java
4094         (setGlobalCurrentFocusCycleRoot): Must be public.
4095         * java/awt/MenuComponent.java
4096         (MenuComponent): Must be public.
4097         * java/awt/Toolkit.java:
4098         Added some empty lines to make documentation more readable.
4099         (getFontPeer): Added @deprecated.
4100         (getColorModel): Added exception documentation.
4101         (getProperty): Fixed documentation.
4102  
4103 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4104
4105         * configure.host (alpha*-*): Default to -mieee.
4106         * configure.in (IEEESPEC): New.
4107         * libgcj.spec.in (jc1): Add IEEESPEC.
4108         * configure: Rebuild.
4109
4110 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4111
4112         * include/win32.h: Include ws2tcpip.h instead of
4113         winsock.h to obtain definition of the socklen_t type.
4114         Remove IP_TOS definition - not needed with ws2tcpip.h
4115         (_Jv_connect): Correct slight formatting error.
4116
4117 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4118
4119         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4120         size of the arguments for a JNI function. For Win32,
4121         modify to search for all forms of possible exported
4122         names of an stdcall JNI function.
4123         (_Jv_JNIMethod::call): Modify to calculate the size
4124         of the arguments passed to a JNI function and pass
4125         it to _Jv_LookupJNIMethod.
4126
4127 2003-02-12  Michael Koch  <konqueror@gmx.de>
4128
4129         * java/nio/channels/Channels.java: New file.
4130         * Makefile.am
4131         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4132         * Makefile.in: Regenerated.
4133
4134 2003-02-12  Michael Koch  <konqueror@gmx.de>
4135
4136         * java/nio/ByteBuffer.java
4137         (allocate): Implemented.
4138         (wrap): Implemented.
4139         * java/nio/CharBuffer.java:
4140         Some documentation added and reworked.
4141         (endian): Removed.
4142         (allocate): Implemented.
4143         (wrap): Implemented.
4144         (array): Throw exceptions.
4145         (arrayOffset): Throw exceptions.
4146         (toString): Implemented.
4147         (length): Implemented.
4148         (put): Implemented.
4149         (charAt): Implemented.
4150
4151 2003-02-11  John Leuner  <jewel@debian.org>
4152
4153         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4154         reads from end of file.
4155
4156 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4157
4158         * java/io/natFileDescriptorWin32.cc 
4159         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4160         returns with Win32 error code ERROR_BROKEN_PIPE.
4161
4162 2003-02-11  Michael Koch  <konqueror@gmx.de>
4163
4164         * Makefile.in
4165         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4166
4167 2003-02-11  Michael Koch  <konqueror@gmx.de>
4168
4169         * gnu/java/nio/ByteBufferImpl.java:
4170         Reformated and removed some code.
4171         (backing_buffer): Removed.      
4172         (array_offset): Removed.
4173         (ro): Renamed to readOnly.
4174         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4175         * gnu/java/nio/CharBufferImpl.java:
4176         Reformated and removed some code.
4177         (array_offset): Removed.
4178         (ro): Renamed to readOnly.
4179         (CharBufferImpl): Use parent constructor, initialize readOnly.
4180         (inc_pos): Removed.
4181         (order): New method.
4182         * gnu/java/nio/DoubleBufferImpl.java:
4183         Reformated and removed some code.
4184         (array_offset): Removed.
4185         (ro): Renamed to readOnly.
4186         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4187         (inc_pos): Removed.
4188         (order): New method.
4189         * gnu/java/nio/FloatBufferImpl.java:
4190         Reformated and removed some code.
4191         (array_offset): Removed.
4192         (ro): Renamed to readOnly.
4193         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4194         (inc_pos): Removed.
4195         (order): New method.
4196         * gnu/java/nio/IntBufferImpl.java:
4197         Reformated and removed some code.
4198         (array_offset): Removed.
4199         (ro): Renamed to readOnly.
4200         (IntBufferImpl): Use parent constructor, initialize readOnly.
4201         (inc_pos): Removed.
4202         (order): New method.
4203         * gnu/java/nio/LongBufferImpl.java:
4204         Reformated and removed some code.
4205         (array_offset): Removed.
4206         (ro): Renamed to readOnly.
4207         (LongBufferImpl): Use parent constructor, initialize readOnly.
4208         (inc_pos): Removed.
4209         (order): New method.
4210         * gnu/java/nio/ShortBufferImpl.java:
4211         Reformated and removed some code.
4212         (array_offset): Removed.
4213         (ro): Renamed to readOnly.
4214         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4215         (inc_pos): Removed.
4216         (order): New method.
4217         * Makefile.am
4218         (ordinary_java_source_files): Added the following files:
4219         gnu/java/nio/ByteBufferImpl.java
4220         gnu/java/nio/CharBufferImpl.java
4221         gnu/java/nio/DoubleBufferImpl.java
4222         gnu/java/nio/FloatBufferImpl.java
4223         gnu/java/nio/IntBufferImpl.java
4224         gnu/java/nio/LongBufferImpl.java
4225         gnu/java/nio/ShortBufferImpl.java
4226         java/nio/DoubleBuffer.java
4227         java/nio/FloatBuffer.java
4228         java/nio/IntBuffer.java
4229         java/nio/LongBuffer.java
4230         java/nio/ShortBuffer.java
4231         (nat_source_files): Added the following files:
4232         gnu/java/nio/natByteBufferImpl.cc
4233         gnu/java/nio/natCharBufferImpl.cc
4234         gnu/java/nio/natDoubleBufferImpl.cc
4235         gnu/java/nio/natFloatBufferImpl.cc
4236         gnu/java/nio/natIntBufferImpl.cc
4237         gnu/java/nio/natLongBufferImpl.cc
4238         gnu/java/nio/natShortBufferImpl.cc
4239         * Makefile.in: Regenerated.
4240
4241 2003-02-11  Michael Koch  <konqueror@gmx.de>
4242
4243         * gnu/java/nio/natCharBufferImpl.cc
4244         (nio_cast): Removed.
4245         (nio_put_*): Removed.
4246         (nio_get_*): Removed.
4247         * gnu/java/nio/natDoubleBufferImpl.cc
4248         (nio_cast): Removed.
4249         (nio_put_*): Removed.
4250         (nio_get_*): Removed.
4251         * gnu/java/nio/natFloatBufferImpl.cc
4252         (nio_cast): Removed.
4253         (nio_put_*): Removed.
4254         (nio_get_*): Removed.
4255         * gnu/java/nio/natIntBufferImpl.cc
4256         (nio_cast): Removed.
4257         (nio_put_*): Removed.
4258         (nio_get_*): Removed.
4259         * gnu/java/nio/natLongBufferImpl.cc
4260         (nio_cast): Removed.
4261         (nio_put_*): Removed.
4262         (nio_get_*): Removed.
4263         * gnu/java/nio/natShortBufferImpl.cc
4264         (nio_cast): Removed.
4265         (nio_put_*): Removed.
4266         (nio_get_*): Removed.
4267         * gnu/java/nio/SelectorProviderImpl.java
4268         (openDatagramChannel): Throws IOException.
4269         (openPipe): Throws IOException.
4270         (openSelector): Throws IOException.
4271         (openServerSocketChannel): Throws IOException.
4272         (openSocketChannel): Throws IOException.
4273         * gnu/java/nio/ServerSocketChannelImpl.java
4274         (ServerSocketChannelImpl): Throws IOException.
4275         (implCloseSelectableChannel): Throws IOException.
4276         (implConfigureBlocking): Throws IOException.
4277         * java/nio/ByteBuffer.java
4278         (readOnly): Removed.
4279         (hasArray): Use isReadOnly() instead of readOnly.
4280         (array): Use isReadOnly() instead of readOnly.
4281         (arrayOffset): Use isReadOnly() instead of readOnly.
4282         * java/nio/CharBuffer.java
4283         (CharBuffer): Implements Cloneable and CharSequence.
4284
4285 2003-02-11  Michael Koch  <konqueror@gmx.de>
4286
4287         * java/nio/DoubleBuffer.java
4288         (DoubleBuffer): Implements Comparable.
4289         (endian): Removed.
4290         (array_offset): New member variable.
4291         (DoubleBuffer): New constuctor.
4292         (get): May not be final.
4293         (put): May not be final.
4294         (arrayOffset): Implemented.
4295         (order): Made abstract.
4296         (order): Removed.
4297         (as*Buffer): Removed.
4298         (get*): Removed.
4299         (put*): Removed.
4300         * java/nio/FloatBuffer.java
4301         (FloatBuffer): Implements Comparable.
4302         (endian): Removed.
4303         (array_offset): New member variable.
4304         (FloatBuffer): New constuctor.
4305         (get): May not be final.
4306         (put): May not be final.
4307         (arrayOffset): Implemented.
4308         (order): Made abstract.
4309         (order): Removed.
4310         (as*Buffer): Removed.
4311         (get*): Removed.
4312         (put*): Removed.
4313         * java/nio/IntBuffer.java
4314         (IntBuffer): Implements Comparable.
4315         (endian): Removed.
4316         (array_offset): New member variable.
4317         (IntBuffer): New constuctor.
4318         (get): May not be final.
4319         (put): May not be final.
4320         (arrayOffset): Implemented.
4321         (order): Made abstract.
4322         (order): Removed.
4323         (as*Buffer): Removed.
4324         (get*): Removed.
4325         (put*): Removed.
4326         * java/nio/LongBuffer.java
4327         (LongBuffer): Implements Comparable.
4328         (endian): Removed.
4329         (array_offset): New member variable.
4330         (LongBuffer): New constuctor.
4331         (get): May not be final.
4332         (put): May not be final.
4333         (arrayOffset): Implemented.
4334         (order): Made abstract.
4335         (order): Removed.
4336         (as*Buffer): Removed.
4337         (get*): Removed.
4338         (put*): Removed.
4339         * java/nio/ShortBuffer.java
4340         (ShortBuffer): Implements Comparable.
4341         (endian): Removed.
4342         (array_offset): New member variable.
4343         (ShortBuffer): New constuctor.
4344         (get): May not be final.
4345         (put): May not be final.
4346         (arrayOffset): Implemented.
4347         (order): Made abstract.
4348         (order): Removed.
4349         (as*Buffer): Removed.
4350         (get*): Removed.
4351         (put*): Removed.
4352
4353 2003-02-11   Michael Koch  <konqueror@gmx.de>
4354
4355         * java/nio/channels/SelectionKey.java
4356         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4357         values.
4358
4359 2003-02-11  Michael Koch  <konqueror@gmx.de>
4360
4361         * java/nio/channels/DatagramChannel.java
4362         (write): Throws IOException.
4363         (connect): Throws IOException.
4364         (disconnect): Throws IOException.
4365         (read): Throws IOException.
4366         (receive): Throws IOException.
4367         (send): Throws IOException.
4368         * java/nio/channels/Pipe.java
4369         (open): Throws IOException.
4370         * java/nio/channels/SelectableChannel.java
4371         (configureBlocking): Throws IOException.
4372         * java/nio/channels/ServerSocketChannel.java
4373         (accept): Throws IOException.
4374         * java/nio/channels/SocketChannel.java
4375         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4376         GatheringByteChannel.
4377         (read): Throws IOException.
4378         (write): Throws IOException.
4379         (finishConnect): Throws IOException.
4380         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4381         (end): Throws AsynchronousCloseException.
4382         * java/nio/channels/spi/AbstractSelectableChannel.java
4383         (configureBlocking): Throws IOException.
4384         (implCloseChannel): Throws IOException.
4385         (implCloseSelectableChannel): Throws IOException.
4386         (implConfigureBlocking): Throws IOException.
4387         * java/nio/channels/spi/SelectorProvider.java
4388         (openDatagramChannel): Throws IOException.
4389         (openPipe): Throws IOException.
4390         (openSelector): Throws IOException.
4391         (openServerSocketChannel): Throws IOException.
4392         (openSocketChannel): Throws IOException.
4393
4394 2003-02-11  Michael Koch  <konqueror@gmx.de>
4395
4396         * gnu/java/nio/FileLockImpl.java,
4397         java/nio/channels/FileLock.java: New files.
4398
4399 2003-02-11  Michael Koch  <konqueror@gmx.de>
4400
4401         * java/nio/charset/IllegalCharsetNameException.java
4402         (serialVersionUID): New member variable.
4403         (charsetName): New member variable.
4404         (IllegalCharsetException): New implementation.
4405         (getCharsetName): New implementation.
4406         * java/nio/charset/UnsupportedCharsetException.java
4407         (serialVersionUID): New member variable.
4408         (charsetName): New member variable.
4409         (UnsupportedCharsetException): New implementation.
4410         (getCharsetName): New implementation.
4411
4412 2003-02-10  Tom Tromey  <tromey@redhat.com>
4413
4414         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4415         (ex): Renamed from sqlException.
4416
4417 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4418
4419         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4420         method used to ensure seeding has occurred and that a specific 
4421         seed can be set and used.
4422
4423 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4424
4425         * java/lang/Win32Process.java (destroy): Declare as native.
4426         (hasExited): New native method.
4427         (exitValue): Define.
4428         (getErrorStream): Likewise.
4429         (getInputStream): Likewise.
4430         (getOutputStream): Likewise.
4431         (waitFor): Declare as native.
4432         (startProcess): New native method.
4433         (cleanup): Likewise.
4434         (ConcreteProcess): Define.
4435         (outputStream, inputStream, errorStream): New members.
4436         (procHandle, exitCode): Likewise.
4437
4438         * java/lang/natWin32Process.cc
4439         (java::lang::ConcreteProcess::cleanup): Define.
4440         (java::lang::ConcreteProcess::destroy): Likewise.
4441         (java::lang::ConcreteProcess::hasExited): Likewise.
4442         (java::lang::ConcreteProcess::waitFor): Likewise.
4443         (new_string): Likewise.
4444         (java::lang::ConcreteProcess::startProcess): Likewise.
4445
4446 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4447
4448         * java/math/BigInteger.java:
4449         Updated notice to include years 2002 and 3.
4450         Added 2 private (int) arrays with values from the HAC (Handbook of
4451         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4452         and t[] that contains nbr. of tests --used in isProbablePrime().
4453
4454         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4455
4456         * java/math/BigInteger.java (make(int[],int), add(int,int),
4457         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4458         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4459         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4460         make(long).
4461
4462         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4463         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4464         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4465         BIs and returns void.
4466         (modInverse(BI)): Use new signatures of euclidInv().
4467
4468         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4469         static small primes instead of remainder().
4470         Use pre-computed max nbr of trials based on bitlength of BI to test.
4471         Use pre-computed small primes for the trial tests instead of random
4472         numbers.
4473
4474         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4475         not used.
4476
4477         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4478         invoacation of MPN.chars_per_word().  not used.
4479
4480         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4481         local var and used where needed.
4482
4483         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4484         Combined declaration with initialisation of locals.
4485         Removed unused var.
4486
4487         * java/math/BigInteger.java: Style changes
4488         (pow(int)): Removed 'else' keyword.
4489         (toString(int)): idem.
4490         (doubleValue()): idem.
4491         (bitLength()): idem.
4492         (equals(Object)): Use static methods name in same class w/o prepending
4493         class name.
4494         (doubleValue()): idem.
4495         (setNegative(BI)): idem.
4496         (negate()): idem.
4497         (and(BI,int)): idem.
4498         (and(BI)): idem.
4499         (gcd(BI)): idem.
4500         (byteArrayToIntArray()): Removed casting to (int). this is
4501         std. behaviour.
4502         (canonicalize()): idem.
4503         (alloc(int)): Always instantiate a new BI.
4504
4505 2003-02-10  Tom Tromey  <tromey@redhat.com>
4506
4507         * java/sql/Timestamp.java (compareTo(Object)): New method.
4508         (compareTo(Timestamp)): Likewise.
4509         (serialVersionUID): Updated.
4510
4511 2003-02-07  Mark Wielaard  <mark@klomp.org>
4512
4513         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4514         when verify is true.
4515         (JarFile(File, boolean)): Likewise.
4516         (manifestRead): Set manifestRead field correctly.
4517
4518 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4519
4520         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4521         tests; see patch #1016 on Savannah.
4522
4523 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4524
4525         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4526         (toString): do not return Strings starting with . and - erroneously.
4527         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4528         DiagBigDecimal.
4529
4530 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4531
4532         * java/beans/PropertyDescriptor.java
4533         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4534         methods.
4535         (PropertyDescriptor(String, Class, String, String)): Likewise.
4536         (PropertyDescriptor(String, Method, Method): Factor out getter and
4537         setter method sanity checks into new method.
4538         (findMethods): Don't do parameter sanity checking of get method here.
4539         (checkMethods): New method.
4540
4541 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4542
4543         * java/beans/PropertyDescriptor.java: Reformat.
4544
4545 2003-02-04  Tom Tromey  <tromey@redhat.com>
4546
4547         * java/io/PipedOutputStream.java (flush): Declare as throwing
4548         IOException.
4549         (close): Likewise.
4550         * java/io/PipedWriter.java (close): Declare as throwing
4551         IOException.
4552         * java/io/StringWriter.java (close): Declare as throwing
4553         IOException.
4554
4555 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4556
4557         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4558         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4559         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4560         "_JNI_OnLoad@8" (MSVC).
4561
4562 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4563
4564         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4565         convention on Win32 to invoke native JNI methods.
4566
4567 2003-02-03  Andrew Haley  <aph@redhat.com>
4568
4569         * configure.host (x86_64): Enable interpreter.
4570
4571 2003-02-03  Andrew Haley  <aph@redhat.com>
4572
4573         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4574         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4575         * configure.in (BACKTRACESPEC): New.
4576         * configure: Regenerate.
4577
4578 2003-02-02  Tom Tromey  <tromey@redhat.com>
4579
4580         * configure: Rebuilt.
4581         * configure.in (TOOLKIT) [xlib]: Set correctly.
4582
4583         * Makefile.in: Rebuilt.
4584         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4585         libstdc++.
4586
4587 2003-01-31  Mark WIelaard  <mark@klomp.org>
4588
4589         * Makefile.in: Rebuilt.
4590         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4591
4592 2003-01-31  Tom Tromey  <tromey@redhat.com>
4593
4594         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4595         cast to element type.
4596         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4597         (_Jv_JNI_GetObjectArrayElement): Likewise.
4598
4599         * Makefile.in: Rebuilt.
4600         * Makefile.am (cond_x_ltlibrary): Renamed library to
4601         lib-gnu-awt-xlib.la.
4602         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4603         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4604         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4605         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4606         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4607         (lib_gnu_awt_xlib_la_LINK): Likewise.
4608         (install-exec-hook): Removed.
4609         (lib-gnu-awt-xlib.la): Renamed.
4610
4611 2003-01-31  Tom Tromey  <tromey@redhat.com>
4612
4613         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4614         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4615         aclocal.m4 and lost in some merge.
4616
4617         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4618         Don't try to find graphics configuration.
4619         * java/awt/Toolkit.java (default_toolkit_name): Use new
4620         Configuration entry.
4621         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4622         New global.
4623         * configure: Rebuilt.
4624         * configure.in (TOOLKIT): New subst.
4625         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4626         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4627         directory.  Make output directories for .c files.
4628         * Makefile.in: Rebuilt.
4629         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4630         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4631         (all_java_source_files): Added new sources.
4632         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4633         (gtk_c_files): New macro.
4634         (gtk_c_source_files): New macro.
4635         (cond_gtk_ltlibrary): New macro.
4636         ($(gtk_c_files)): New target.
4637         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4638         (gtk_awt_peer_sources): New macro.
4639         (gtk_c_headers): New macro.
4640         ($(gtk_c_headers)): New target.
4641         (ACLOCAL_AMFLAGS): New macro.
4642         * gtk.m4, glib.m4, libart.m4: New files.
4643         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4644         gnu/java/awt/peer/gtk/GdkGraphics.java,
4645         gnu/java/awt/peer/gtk/GtkArg.java,
4646         gnu/java/awt/peer/gtk/GtkArgList.java,
4647         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4648         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4649         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4650         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4651         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4652         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4653         gnu/java/awt/peer/gtk/GtkClipboard.java,
4654         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4655         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4656         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4657         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4658         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4659         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4660         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4661         gnu/java/awt/peer/gtk/GtkImage.java,
4662         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4663         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4664         gnu/java/awt/peer/gtk/GtkListPeer.java,
4665         gnu/java/awt/peer/gtk/GtkMainThread.java,
4666         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4667         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4668         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4669         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4670         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4671         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4672         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4673         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4674         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4675         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4676         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4677         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4678         gnu/java/awt/peer/gtk/GtkToolkit.java,
4679         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4680         gnu/java/awt/peer/gtk/TestAWT.java,
4681         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4683         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4684         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4685         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4686         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4687         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4688         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4689         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4695         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4697         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4700         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4702         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4703         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4704         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4705         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4706         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4707         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4708         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4709         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4710         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4711         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4712         jni/classpath/native_state.c, jni/classpath/native_state.h,
4713         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4714
4715 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4716
4717         * java/util/Properties.java (load): Ignore backslash before EOF.
4718
4719 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4720
4721         * java/lang/natClass.cc (initializeClass): Check tables when
4722         (state == JV_STATE_IN_PROGRESS).
4723         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4724         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4725         interpreted classes.
4726         (linkClass0): Use _Jv_WaitForState.
4727
4728 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4729
4730         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4731         object when finished.
4732
4733 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4734
4735         * libjava/configure.host: Disable can_unwind_signal on darwin.
4736
4737 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4738
4739         Fixes PR java/9254:
4740         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4741         additionally containing id of the owner thread as well as
4742         the number of nested times the thread has acquired the mutex.
4743         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4744         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4745         (_Jv_MutexUnlock): Check if really the owner thread, reset
4746         owner thread id to 0 before leaving, if leaving for the last
4747         time.
4748         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4749         refcount.
4750         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4751         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4752         the passed mutex.
4753         Pass handle of the broadcast event, instead of a pointer to it
4754         in Win32 ResetEvent( ) call.
4755         Remove incorrect return values.
4756         (_Jv_CondDestroy): Close both event handles and delete
4757         critical section.
4758         (_Jv_CondNotify): Check if really the owner thread.
4759         (_Jv_CondNotifyAll): Check if really the owner thread.
4760         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4761         (really_start): Use SetEvent( ) to signal daemon_cond.
4762         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4763         WaitForSingleObject( ) instead to wait for daemon_cond to be
4764         signalled.
4765
4766 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4767
4768         * configure.in: Specifically define HAVE_BACKTRACE if building
4769         for MinGW.
4770         * include/win32.h: Remove HAVE_BACKTRACE definition.
4771         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4772         * configure: Rebuilt.
4773
4774 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4775
4776         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4777         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4778         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4779         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4780         * Makefile.in, configure: Rebuilt.
4781
4782 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4783
4784         Fixes PR java/9253:
4785         * java/io/natFileWin32.cc (performList): Append only "*.*"
4786         if the canonical file path already has a "\" at the end.
4787
4788 2003-01-24  Tom Tromey  <tromey@redhat.com>
4789
4790         * defineclass.cc (handleMethodsEnd): Precompute code for static
4791         method.
4792         (handleCodeAttribute): Likewise.
4793         * resolve.cc (ncode): Use run_class for unsynchronized static
4794         methods.
4795         * include/java-interp.h (class _Jv_InterpMethod): Declare
4796         run_class.
4797         * interpret.cc (run_synch_class): Initialize class.
4798         (run) [insn_invokestatic]: Don't initialize class.
4799         [insn_anewarray]: Likewise.
4800         [insn_multianewarray]: Likewise.
4801         (run_class): New function.
4802
4803 2003-01-24  Tom Tromey  <tromey@redhat.com>
4804
4805         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4806         comment.
4807
4808 2003-01-22  Andrew Haley  <aph@redhat.com>
4809
4810         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4811         * configure.host (CHECKREFSPEC): Define for x86_64.
4812
4813 2003-01-21  Tom Tromey  <tromey@redhat.com>
4814
4815         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4816         search at 2, not 3.
4817
4818 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4819
4820         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4821         looking at any characters.
4822         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4823         be used.
4824         (isAbsolute): Check path's length as well.
4825
4826 2003-01-17  Mark Wielaard  <mark@klomp.org>
4827
4828         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4829         (nat_source_files): Add natVMObjectStreamClass.cc.
4830         * Makefile.in: Regenerated.
4831         * gcj/javaprims.h (namespace java): Regenerated.
4832         * java/io/ObjectStreamClass.java (getClassUID): Call
4833         VMObjectStreamClass.hasClassInitializer().
4834         (hasClassInitializer): Removed.
4835         * java/io/VMObjectStreamClass.java: New class.
4836         * java/io/natVMObjectStreamClass.cc: New file.
4837         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4838
4839 2003-01-16  Mark Wielaard  <mark@klomp.org>
4840
4841         * java/net/SocketImpl.java (toString): Don't explicitly call
4842         toString() on possible null address.
4843
4844 2003-01-16  Michael Koch  <konqueror@gmx.de>
4845
4846         * java/net/MulticastSocket.java
4847         (setInterface): Reindented.
4848
4849 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4850
4851         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4852         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4853         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4854         translateY arguments.  Implement.
4855         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4856         down translation arguments.
4857         (drawPolyline, drawPolygon): Fix incorrect tests.
4858         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4859         translateX and translateY arguments.
4860
4861 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4862
4863         * Makefile.in: Rebuilt.
4864         * Makefile.am (xlib_includes): New macro.
4865         (INCLUDES): Use it.
4866
4867 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4868
4869         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4870         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4871         16-bit display mode.
4872
4873 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4874
4875         * java/awt/CardLayout.java (show): Rewrote.
4876         (gotoComponent): Removed `target' argument.  Simplified code.
4877         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4878         Changed all callers.
4879         (NONE): Removed.
4880         
4881 2003-01-14  Michael Koch  <konqueror@gmx.de>
4882
4883         * java/net/InetSocketAddress.java
4884         (serialVersionUID): New member variable.
4885         * java/net/NetPermission.java
4886         (NetPermission): Dont implement java.io.Serialization directly.
4887         * java/net/SocketAddress.java:
4888         (serialVersionUID): Documentation added.
4889         
4890 2003-01-14  Michael Koch  <konqueror@gmx.de>
4891
4892         * java/awt/Label.java
4893         (Label): Implements javax.accessibility.Accessible;
4894         * java/awt/List.java
4895         (List): Implements javax.accessibility.Accessible;
4896         * java/awt/ScrollPane.java
4897         (ScrollPane): Implements javax.accessibility.Accessible;
4898         * java/awt/Scrollbar.java
4899         (Scrollbar): Implements javax.accessibility.Accessible;
4900         * java/awt/TextComponent.java
4901         (setCaretPosition): Throw exception, documentation added.
4902         * java/awt/Toolkit.java:
4903         Added some newlines in method documentations.
4904         (createButton): Exception documentation added.
4905         (createTextField): Exception documentation added.
4906         (createLabel): Exception documentation added.
4907         (createList): Exception documentation added.
4908         (createCheckbox): Exception documentation added.
4909         (createScrollbar): Exception documentation added.
4910         (createScrollPane): Exception documentation added.
4911         (createTextArea): Exception documentation added.
4912         (createChoice): Exception documentation added.
4913         (createFrame): Exception documentation added.
4914         (createWindow): Exception documentation added.
4915         (createDialog): Exception documentation added.
4916         (createMenuBar): Exception documentation added.
4917         (createMenu): Exception documentation added.
4918         (createMenuItem): Exception documentation added.
4919         (createFileDialog): Exception documentation added.
4920         (createCheckboxMenuItem): Exception documentation added.
4921         (loadSystemColors): Exception documentation added.
4922         (setDynamicLayout): Exception documentation added.
4923         (isDynamicLayoutSet): Exception documentation added.
4924         (isDynamicLayoutActive): Exception documentation added.
4925         (getScreenSize): Exception documentation added.
4926         (getScreenResolution): Exception documentation added.
4927         (getScreenInsets): Exception documentation added.
4928         (getColorModel): Exception documentation added.
4929         (getSystemClipboard): Exception documentation added.
4930         (getSystemSelection): Exception documentation added.
4931         (getMenuShortcutKeyMask): Exception documentation added.
4932         (getSystemEventQueue): Exception documentation added.
4933         * java/awt/Window.java:
4934         Reindented some code.
4935         (Window): Centralized implementation, documentation added.
4936         (finalize): Documentation added.
4937         (hide): Fixed typo in comment.
4938         (getWindowListeners): Documentation added.
4939         * java/awt/color/ColorSpace.java
4940         (toRGB): Documentation added.
4941         * java/awt/color/ICC_ColorSpace.java
4942         (ICC_ColorSpace): Documentation added.
4943         (toRGB): Throw exception, documentation added.
4944         (fromRGB): Throw exception, documentation added.
4945         (toCIEXYZ): Documentation added.
4946         (fromCIEXYZ): Documentation added.
4947         (getMinValue): Documentation added.
4948         (getMaxValue): Documentation added.
4949         * java/awt/geom/Dimension2D.java
4950         (clone): Documentation added.
4951         * java/awt/geom/GeneralPath.java
4952         (clone): Documentation added.
4953         * java/awt/geom/Line2D.java
4954         (clone): Documentation added.
4955         * java/awt/geom/QuadCurve2D.java
4956         (clone): Documentation added.
4957         * java/awt/image/ColorModel.java
4958         (ColorModel): Throw exception, documentation added.
4959         * java/awt/image/ImageFilter.java
4960         (clone): Doesnt throw CloneNotSupportedException.
4961
4962 2003-01-14  Andrew Haley  <aph@redhat.com>
4963
4964         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4965         in a try block.
4966
4967 2003-01-10  Andrew Haley  <aph@redhat.com>
4968
4969         * include/dwarf2-signal.h: Remove x86_64.
4970         * configure.host (x86_64 DIVIDESPEC): Remove.
4971         * include/x86_64-signal.h: New file.
4972         * configure.in: Regenerate.
4973
4974 2003-01-10  Michael Koch  <konqueror@gmx.de>
4975
4976         * java/net/DatagramSocket.java
4977         (ch): Description added.
4978         (remotePort): Initialize with -1.
4979         (connect): Doesnt throws SocketException.
4980         * java/net/MulticastSocket.java
4981         (setInterface): Merge with Classpath.
4982         * java/net/ServerSocket.java
4983         (closed): New member variable.
4984         (bind): Check if socket is closed.
4985         (close): Close an associated channel too, set new value to closed.
4986         (isBound): Reindented.
4987         (isClosed): Implemented.
4988         * java/net/Socket.java
4989         (closed): New member variable.
4990         (bind): Check if socket is closed.
4991         (connect): Check if socket is closed.
4992         (close): Close an associated channel too, set new value to closed.
4993         (isClosed): Implemented.
4994
4995 2003-01-10  Michael Koch  <konqueror@gmx.de>
4996
4997         * java/awt/DisplayMode.java
4998         (equals): Fixed argument type and implementation.
4999
5000 2003-01-07  Tom Tromey  <tromey@redhat.com>
5001
5002         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5003         JV_HASH_SYNCHRONIZATION.
5004         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5005         JV_HASH_SYNCHRONIZATION.
5006
5007 2003-01-07  Michael Koch  <konqueror@gmx.de>
5008  
5009         * java/net/DatagramSocket.java:
5010         Added classpath license info.
5011         (DatagramSocket): Merged description with classpath.
5012         (close): Merged description with classpath.
5013         (getChannel): Merged description with classpath.
5014         (getInetAddress): Merged description with classpath.
5015         (getPort): Merged description with classpath.
5016         (getLocalAddress): Merged description with classpath.
5017         (getLocalPort): Merged description with classpath.
5018         (getSoTimeout): Merged description with classpath.
5019         (setSoTimeout): Merged description with classpath.
5020         (getSendBufferSize): Merged description with classpath.
5021         (setSendBufferSize): Merged description with classpath.
5022         (getReceiveBufferSize): Merged description with classpath.
5023         (setReceiveBufferSize): Merged description with classpath.
5024         
5025 2003-01-04  Tom Tromey  <tromey@redhat.com>
5026
5027         * java/awt/List.java: Merged with Classpath.
5028
5029 2003-01-03  Mark Wielaard  <mark@klomp.org>
5030
5031         * java/io/FileDescriptor.java (position): New private field.
5032         * java/io/natFileDescriptorPosix.cc (write): Up position.
5033         (setLength): Use and set position.
5034         (seek): Set position.
5035         (getFilePointer): Return position.
5036         (read): Up position.
5037
5038 2003-01-03  Mark Wielaard  <mark@klomp.org>
5039
5040         Merge with Classpath:
5041         * java/io/ObjectStreamClass.java (lookup): Split method and call
5042         lookupForClassObject().
5043         (lookupForClassObject): New method.
5044         (isProxyClass): New field.
5045         (setClass): Set isProxyClass, add object to classLookupTable, set
5046         superClass and calculateOffsets.
5047         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5048         and not a proxy class.
5049         (setFields): Set accessible true for serialPersistentFields.
5050         (getClassUID): Same for suid. And check if suid is of type long.
5051         (hasClassInitializer): Don't throw NoSuchMethodError.
5052
5053 2003-01-03  Mark Wielaard  <mark@klomp.org>
5054
5055         * java/io/FileInputStream.java (finalize): Don't explicitly
5056         finalize FileDescriptor.
5057
5058 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5059
5060         * configure.host (sparc*-*): Enable bytecode interpreter.
5061
5062 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5063
5064         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5065         Don't throw RemoteException.
5066         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5067         throw RemoteException.
5068
5069 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5070
5071         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5072         proxyHost): New static fields.
5073         (<clinit>): Initialize new fields.
5074         (connect): Use proxy if necessary.
5075         (usingProxy): Implement.
5076
5077 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5078
5079         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5080         (TreeIterator.remove): Prefer IllegalStateException over
5081         ConcurrentModificationException, to match Sun.
5082
5083 2002-12-22  Anthony Green  <green@redhat.com>
5084
5085         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5086
5087 2003-01-02  Mark Wielaard  <mark@klomp.org>
5088
5089         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5090         public.
5091         (HTTP_USE_PROXY): Add field.
5092         (getResponseVals): Only set responseCode when not yet explicitly
5093         set by subclass.
5094
5095 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5096             Mark Wielaard  <mark@klomp.org>
5097
5098         * java/util/zip/ZipFile.java (entries): Now HashMap.
5099         (readLeShort(DataInput, byte[])): Read from given byte array.
5100         (readLeInt(DataInput, byte[]): Likewise.
5101         (readLeShort(byte[] b, int off)): New method.
5102         (readLeInt(byte[] b, int off)): Likewise.
5103         (readEntries): Use byte arrays to read info in bigger chunks.
5104         (getEntries): Return HashMap.
5105         (getEntry): Use HashMap.
5106         (locBuf): New private field.
5107         (checkLocalHeader): Use locBuf to read info in one chunk.
5108         (getInputStream): Use entries HashMap, wrap PartialInputStream
5109         in BufferedInputStream.
5110         (ZipEntryEnumeration): Use HashMap and Interator.
5111
5112 2003-01-02  Mark Wielaard  <mark@klomp.org>
5113             Jeroen Frijters  <jeroen@sumatra.nl>
5114
5115         * java/net/URLClassLoader.java (Resource.getCodeSource):
5116         Fix check certs == null.
5117         (getCanonicalFileURL): Removed method.
5118         (JarURLLoader): Don't call removed method.
5119         (FileURLLoader): Likewise.
5120         (FileURLLoader.getResource): Don't canonicalize file name.
5121
5122 2003-01-01  Tom Tromey  <tromey@redhat.com>
5123
5124         * Makefile.in: Rebuilt.
5125         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5126         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5127         java/awt/BufferCapabilities.java, java/awt/Button.java,
5128         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5129         java/awt/Container.java, java/awt/Cursor.java,
5130         java/awt/EventQueue.java, java/awt/FileDialog.java,
5131         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5132         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5133         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5134         java/awt/Scrollbar.java, java/awt/TextArea.java,
5135         java/awt/TextField.java, java/awt/color/CMMException.java,
5136         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5137         java/awt/color/ProfileDataException.java,
5138         java/awt/datatransfer/Clipboard.java,
5139         java/awt/datatransfer/DataFlavor.java,
5140         java/awt/datatransfer/FlavorMap.java,
5141         java/awt/datatransfer/SystemFlavorMap.java,
5142         java/awt/dnd/DragGestureEvent.java,
5143         java/awt/dnd/DragGestureRecognizer.java,
5144         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5145         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5146         java/awt/im/InputMethodHighlight.java,
5147         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5148         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5149
5150         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5151         `op' to BufferedImageOp.
5152
5153 2002-12-31  Tom Tromey  <tromey@redhat.com>
5154
5155         Fix for PR libgcj/7416:
5156         * javax/naming/InitialContext.java (init): Use
5157         gnu.classpath.home.url.
5158         * java/security/Security.java: Use new properties.
5159         (loadProviders): Accept base url; use it.
5160         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5161         gnu.classpath.home.url.
5162         (gnu.classpath.home.url): Define.
5163         (gnu.classpath.vm.shortname): Likewise.
5164
5165 2002-12-31  Tom Tromey  <tromey@redhat.com>
5166             Ranjit Mathew  <rmathew@hotmail.com>
5167
5168         Fix for PR libgcj/8997:
5169         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5170         Include platform.h.
5171         * include/posix.h (_Jv_platform_usleep): New function.
5172         * include/win32.h (_Jv_platform_usleep): New function.
5173
5174 2002-12-29  Tom Tromey  <tromey@redhat.com>
5175
5176         * gcj/javaprims.h: Updated.
5177         * scripts/classes.pl (scan): Removed stray semicolon.
5178
5179 2002-12-30  Mark Wielaard  <mark@klomp.org>
5180
5181         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5182         if zero or smaller.
5183
5184 2002-12-30  Mark Wielaard  <mark@klomp.org>
5185
5186         * java/util/Properties (formatForOutput): Don't fall through to
5187         default case after escaping character.
5188
5189 2002-12-30  Mark Wielaard  <mark@klomp.org>
5190
5191         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5192         against count.
5193
5194 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5195
5196         * boehm.cc: Remove stray semicolon.
5197         * interpret.cc: Likewise.
5198         * prims.cc: Likewise.
5199         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5200         earlier to ensure default arguments are processed.
5201         * gcj/array.h (JArray): Add forward declaration.
5202         (elements): Likewise.
5203         * gcj/javaprim.h: Remove stray semicolons.
5204         * include/bohm-gc.h: Likewise.
5205         * include/jni.h: Likewise.
5206         * include/jvm.h: Likewise.
5207         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5208         
5209 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5210
5211         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5212         of catch_type.
5213         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5214         idt tables after initializing superclass.
5215         * java/lang/natClassLoader.cc (uaddr): New typedef.
5216         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5217         if they are constant pool indicies.  Don't link vtable, otable yet.
5218
5219 2002-12-21  Anthony Green  <green@redhat.com>
5220
5221         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5222         libraries.
5223         * Makefile.in: Rebuilt.
5224
5225 2002-12-19  Anthony Green  <green@redhat.com>
5226
5227         * Makefile.am (ordinary_java_source_files): Add
5228         org/xml/sax/helpers/NewInstance.java.
5229         * Makefile.in: Rebuilt.
5230         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5231         org/xml/sax/helpers/package.html: New files.
5232         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5233         http://www.saxproject.org.
5234
5235 2002-12-19  Andrew Haley  <aph@redhat.com>
5236
5237         * java/util/natResourceBundle.cc: Include
5238         ArrayIndexOutOfBoundsException.h.
5239         (getCallingClassLoader): Don't put upper bound on stack search.
5240         Catch ArrayIndexOutOfBoundsException.
5241
5242 2002-12-19  Tom Tromey  <tromey@redhat.com>
5243
5244         * libtool-version: Increased `current'.
5245
5246 2002-12-19  Tom Tromey  <tromey@redhat.com>
5247
5248         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5249         comment.
5250         * java/lang/ClassLoader.java (defineClass): Use chained
5251         exception when rethrowing.
5252         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5253         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5254         constants.
5255         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5256         (_Jv_PrepareClass): Use it.
5257         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5258         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5259         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5260         (Class): _Jv_PrepareMissingMethods now friend.
5261         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5262         Record `NULL' for system class loader.
5263         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5264         system class loader.
5265         (_Jv_FindClassInCache): Likewise.
5266         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5267         (_Jv_FindClass): Special case system class loader.
5268         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5269         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5270         vtable slots.
5271         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5272         in a final class.
5273         (_getDeclaredMethod): Don't return synthetic methods.
5274         (getDeclaredMethods): Likewise.
5275         (_getMethod): Likewise.
5276         (_getMethods): Likewise.
5277
5278 2002-12-18  Raif Naffah  <raif@fl.net.au>
5279
5280         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5281         canonical form after divide().
5282         (modInverse): Likewise.
5283
5284 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5285             Mark Wielaard  <mark@klomp.org>
5286
5287         * java/security/SecurityRandom (digest): Removed field.
5288         (SecureRandom): Check all providers for case-insensitive SecureRandom
5289         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5290         if necessary.
5291         (getInstance(String,Provider,boolean): New method.
5292         (getInstance(String)): Use new method.
5293         (getInstance(String,String)): Likewise.
5294         (getInstance(String,Provider)): Likewise.
5295
5296 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5297
5298         * java/security/Security.java (loadProviders): Increment i only once.
5299
5300 2002-12-12  Mark Wielaard  <mark@klomp.org>
5301
5302         * java/lang/ClassLoader.java (resolveClass0): Transform
5303         ClassNotFoundException to NoClassDefFoundError. Transform all other
5304         throwables to LinkageError.
5305
5306 2002-12-11  Tom Tromey  <tromey@redhat.com>
5307
5308         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5309
5310         * java/lang/ClassLoader.java (loadedClasses): New field.
5311         (defineClass): Fixed indentation.  Put new class in
5312         loadedClasses.
5313         (findLoadedClass): Implement here.
5314         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5315
5316 2002-12-10  Tom Tromey  <tromey@redhat.com>
5317
5318         * Makefile.in: Rebuilt.
5319         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5320         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5321         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5322         * java/lang/natClassLoader.cc
5323         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5324
5325 2002-12-10  Mark Wielaard  <mark@klomp.org>
5326             Tom Tromey  <tromey@redhat.com>
5327
5328         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5329         (JarURLLoader): Use it.
5330         (FileURLLoader): Likewise.
5331         (JarURLResource.getURL): Use chained exception.
5332         (FileResource.getURL): Likewise.
5333         (FileURLLoader.getResource): Use canonical file name.
5334         (addURL): Indentation fix.
5335
5336 2002-12-10  Tom Tromey  <tromey@redhat.com>
5337
5338         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5339         From Laurent Bardet <l.bardet@magic.fr>.
5340
5341 2002-12-09  Tom Tromey  <tromey@redhat.com>
5342
5343         * include/win32.h (_Jv_platform_solib_prefix): New define.
5344         (_Jv_platform_solib_suffix): Likewise.
5345         * include/posix.h (_Jv_platform_solib_prefix): New define.
5346         (_Jv_platform_solib_suffix): Likewise.
5347         * java/lang/natRuntime.cc: Include StackTrace.h.
5348         (_load): Use findLibrary and new platform defines.
5349         (nativeGetLibname): Use new platform defines.
5350
5351         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5352         `t' won't be null.
5353
5354 2002-12-08  Mark Wielaard  <mark@klomp.org>
5355
5356         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5357         cache remote jar files.
5358         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5359         add File.separator to URL when it is a directory.
5360         * java/lang/ClassLoader.java: Add Classpath javadoc.
5361         (parent): final.
5362         (getParent): Add (disabled) security check.
5363         (findLibrary): New default method.
5364         * java/net/JarURLConnection.java (getManifest): Implement.
5365         (getInputStream): Only create InputStream when entry exists.
5366         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5367         when they exist.
5368         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5369
5370 2002-12-08  Mark Wielaard  <mark@klomp.org>
5371
5372         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5373         (lastDefaultLocale): New field.
5374         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5375         resourceBundleCache.
5376
5377 2002-12-06  Mark Wielaard  <mark@klomp.org>
5378
5379         * java/net/InetAddress.java (toString): Use hostname when not null,
5380         don't do an explicit reverse getHostName() lookup.
5381         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5382         NullPointerException.
5383
5384 2002-12-06  Tom Tromey  <tromey@redhat.com>
5385
5386         * include/java-interp.h (class _Jv_InterpMethod): Added
5387         JV_MARKOBJ_DECL.
5388         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5389         mark `prepared' field of interpreted method.
5390         * interpret.cc (compile): Use _Jv_AllocBytes.
5391
5392 2002-12-05  Andrew Haley  <aph@redhat.com>
5393
5394         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5395         #ifdef (HAVE_BACKTRACE) around the whole function body.
5396
5397 2002-12-05  Tom Tromey  <tromey@redhat.com>
5398
5399         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5400         * resolve.cc: Don't include AbstractMethodError.h.
5401         (_Jv_abstractMethodError): Removed.
5402         * defineclass.cc (handleMethodsBegin): Initialize method index to
5403         -1.
5404         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5405         method index for "new" final method.
5406         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5407         isVirtualMethod.  Added `flags' argument.
5408         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5409         class.
5410
5411 2002-12-04  Tom Tromey  <tromey@redhat.com>
5412
5413         * java/net/SocketPermission.java (hashCode): Rewrote.
5414
5415 2002-12-04  Tom Tromey  <tromey@redhat.com>
5416
5417         * Makefile.in: Rebuilt.
5418         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5419         natResourceBundle.
5420         * java/util/ResourceBundle.java (Security): Removed.
5421         (getCallingClassLoader): Now native.
5422         * java/util/natResourceBundle.cc: New file.
5423         * java/lang/natVMSecurityManager.cc: New file.
5424         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5425
5426 2002-12-03  Mark Wielaard  <mark@klomp.org>
5427
5428         * java/util/jar/JarFile.java (manifest): Not final.
5429         (manifestRead): New field.
5430         (JarFile): Don't read Manifest in constructor.
5431         (getManifest): New method.
5432         (JarEnumeration.nextElement): Use new method.
5433         (getEntry): Likewise.
5434         * java/util/zip/ZipFile.java (name): Final.
5435         (raf): Likewsie.
5436         (entries): Change type to Hashtable.
5437         (closed): New field.
5438         (ZipFile): Don't read enties in constructor.
5439         (readEntries): Use Hashtable.
5440         (close): Set new close flag and set entries to null inside
5441         synchronized block.
5442         (entries): Contruct enumeration using new getEntries() method and
5443         entries Hashtable.
5444         (getEntryIndex): Removed.
5445         (getEntries): New method.
5446         (getEntry): Use new getEntries() method and entries Hastable.
5447         (getInputStream): Likewise.
5448         (size): Return getEntries().size().
5449         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5450         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5451         (time): Removed
5452         (dostime): New field.
5453         (zipFileIndex): Removed.
5454         (ZipEntry(ZipEntry)): Copy dostime.
5455         (setDOSTime): Now final and doesn't convert dos time.
5456         (getDOSTime): Likewise.
5457         (setTime): Convert dos time.
5458         (getTime): Likewise.
5459         (getCalendar): New method.
5460         (setExtra): Use setTime().
5461         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5462
5463 2002-12-03  Tom Tromey  <tromey@redhat.com>
5464
5465         * java/lang/Character.java (forDigit): Formatting fix.
5466
5467 2002-12-03  Raif Naffah  <raif@fl.net.au>
5468
5469         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5470         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5471         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5472
5473 2002-12-03  Andrew Haley  <aph@redhat.com>
5474
5475         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5476         _Jv_PushClass.
5477         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5478         (_Jv_PopClass): New.
5479         (_Jv_PushClass): New.
5480         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5481         discover the ClassLoader of our caller.
5482         (_Jv_CheckArrayStore): Don't check that a class is assignment
5483         compatible with Object.
5484         * java/lang/natVMTHrowable.cc: Delete.
5485         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5486         java.lang.VMThrowable.
5487         (StackTrace(), StackTrace(int)): New constructors.
5488         (classAt, methodAt, update, methodAtAddress): New methods.
5489         (map): New field.
5490         * java/lang/VMThrowable.java: Use StackTrace instead of
5491         natVMTHrowable.
5492         * java/lang/Class.h (getClassLoaderInternal): New.
5493         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5494         Be friendly with gnu::gcj::runtime::StackTrace.
5495         (Object.chain): New field.
5496         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5497         gnu::gcj::runtime::StackTrace.
5498         * gnu/gcj/runtime/natStackTrace.cc: New file.
5499         * gnu/gcj/runtime/MethodRef.java: New file.
5500         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5501         instead of getClassLoader().
5502         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5503         java::lang::VMThrowable.
5504         * Makefile.am (core_java_source_files): Add MethodRef.java,
5505         StackTrace.java.
5506         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5507         * Makefile.in: Rebuild.
5508
5509 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5510
5511         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5512         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5513         yes also for sh-linux* and sh[34]*-linux*.
5514         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5515         set SIGNAL_HANDLER to use DWARF2 exception for them.
5516         * configure: Regenerate.
5517
5518 2002-12-02  Tom Tromey  <tromey@redhat.com>
5519
5520         * jni.cc: Added `name' argument.
5521         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5522         `const char *' argument.
5523         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5524
5525 2002-12-01  Tom Tromey  <tromey@redhat.com>
5526
5527         Bug compatibility, for PR libgcj/8738:
5528         * java/io/CharArrayWriter.java (close): Do nothing.
5529         (flush): Likewise.
5530         (reset): Don't touch `closed'.
5531         (write(int)): Don't throw IOException.
5532         (write(char[],int,int)): Likewise.
5533         (write(String,int,int)): Likewise.
5534         (closed): Removed.
5535
5536 2002-12-01  Mark Wielaard  <mark@klomp.org>
5537
5538         * java/lang/SecurityManager.java: Remerge comments, indenting and
5539         checkXXX methods with Classpath.
5540
5541 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5542
5543         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5544         getNormalizedComponents): Fix calculation which was using one too
5545         many bits in the unnormalized format.
5546
5547 2002-11-29  Gary Benson  <gbenson@redhat.com>
5548
5549         For PR libgcj/8759:
5550         * java/beans/Introspector.java (flushCaches): New method.
5551         (flushFromCaches): Likewise.
5552
5553 2002-11-29  Michael Koch <konqueror@gmx.de>
5554
5555         * java/nio/channels/DatagramChannel.java
5556         (open): Added exception documentation.
5557         (write): Added exception documentation.
5558         (connect): Added exception documentation.
5559         (disconnect): Added exception documentation.
5560         (isConnected): Added exception documentation.
5561         (read): Added exception documentation.
5562         (receive): Added exception documentation.
5563         (send): Added exception documentation.
5564         (validOps): Added exception documentation.
5565         * java/nio/channels/SocketChannel.java
5566         (open): Added exception documentation.
5567         (read): Added exception documentation.
5568         (write): Added exception documentation.
5569         (connect): Added exception documentation.
5570         (finishConnect): Added exception documentation.
5571
5572 2002-11-29  Michael Koch <konqueror@gmx.de>
5573
5574         * gnu/java/nio/DatagramChannelImpl:
5575         (fd): New member variable to store file descriptor of socket.
5576         * gnu/java/nio/SelectionKeyImpl.java:
5577         (ops): Removed.
5578         (readyOps): New member variable.
5579         (interestOps): New member variable.
5580         (readyOps): Implemented.
5581         (readyOps): New method to set member variable readyOps.
5582         (interestOps): Replaced ops by interestOps.
5583         * gnu/java/nio/SelectorImpl.java:
5584         (SelectorImpl): Initialize key sets.
5585         (select): Call select with -1 instead of Long.MAX_VALUE).
5586         (java_do_select): Make it a native method.
5587         (getFDsAsArray): New helper method.
5588         (select): Remove canceled keys, give only interested file discriptors
5589         to java_do_select, set ready ops.
5590         (add): No need to initialize keys set here.
5591         (add_selected): No need to initialize selected set here.
5592         (deregisterCanceledKeys): New helper method.
5593         (register): Set interest ops, set attachments, added handling of datagram
5594         channels.
5595         * gnu/java/nio/ServerSocketChannelImpl:
5596         (SocketAccept): Renamed from NioSocketAccept.
5597         (implConfigureBlocking): Implemented.
5598         (accept): Use SocketAccept instead of NioSocketAccept.
5599         * gnu/java/nio/SocketChannelImpl:
5600         Reactivate native methods.
5601
5602 2002-11-29  Michael Koch <konqueror@gmx.de>
5603
5604         * gnu/java/nio/natByteBufferImpl.cc,
5605         gnu/java/nio/natCharBufferImpl.cc,
5606         gnu/java/nio/natDoubleBufferImpl.cc,
5607         gnu/java/nio/natFloatBufferImpl.cc,
5608         gnu/java/nio/natIntBufferImpl.cc,
5609         gnu/java/nio/natLongBufferImpl.cc,
5610         gnu/java/nio/natSelectorImpl.cc,
5611         gnu/java/nio/natServerSocketChannelImpl.cc,
5612         gnu/java/nio/natShortBufferImpl.cc,
5613         gnu/java/nio/natSocketChannelImpl.cc:
5614         New files that implement native functionalities.
5615
5616 2002-11-29  Michael Koch <konqueror@gmx.de>
5617
5618         * gnu/java/nio/ByteBufferImpl.java
5619         (ByteBufferImpl): Moved position() after limit.
5620         (nio_*): Use native implementation.
5621         * gnu/java/nio/CharBufferImpl.java:
5622         Reformated.
5623         (endian): New member variable string endianess of buffer.
5624         (CharBufferImpl): Moved position() after limit.
5625         (nio_*): Use native implementation.
5626         (subSequence): Implemented.
5627         * gnu/java/nio/DoubleBufferImpl.java
5628         (DoubleBufferImpl): Moved position() after limit.
5629         (nio_*): Use native implementation.
5630         * gnu/java/nio/FloatBufferImpl.java
5631         Reformated.
5632         (FloatBufferImpl): Moved position() after limit.
5633         (nio_*): Use native implementation.
5634         * gnu/java/nio/IntBufferImpl.java
5635         Added needed imports, Reformated.
5636         (IntBufferImpl): Moved position() after limit.
5637         (nio_*): Use native implementation.
5638         * gnu/java/nio/LongBufferImpl.java
5639         Reformated.
5640         (LongBufferImpl): Moved position() after limit.
5641         (nio_*): Use native implementation.
5642         * gnu/java/nio/ShortBufferImpl.java
5643         Reformated.
5644         (ShortBufferImpl): Moved position() after limit.
5645         (nio_*): Use native implementation.
5646
5647 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5648
5649         * java/util/Locale.java (toString): Improve efficiency if country
5650         and variant are both empty.
5651
5652 2002-11-26  Tom Tromey  <tromey@redhat.com>
5653
5654         * verify.cc (pop_init_ref): New method.
5655         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5656         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5657         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5658         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5659         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5660         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5661         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5662         let `this' argument be uninitialized.  Don't let `null' be passed
5663         as `this' to construtor.
5664
5665 2002-11-26  Mark Wielaard  <mark@klomp.org>
5666
5667         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5668         * javax/transaction/HeuristicMixedException.java: Likewise.
5669         * javax/transaction/HeuristicRollbackException.java: Likewise.
5670         * javax/transaction/InvalidTransactionException.java: Likewise.
5671         * javax/transaction/NotSupportedException.java: Likewise.
5672         * javax/transaction/RollbackException.java: Likewise.
5673         * javax/transaction/Status.java: Likewise.
5674         * javax/transaction/Synchronization.java: Likewise.
5675         * javax/transaction/SystemException.java: Likewise.
5676         * javax/transaction/Transaction.java: Likewise.
5677         * javax/transaction/TransactionManager.java: Likewise.
5678         * javax/transaction/TransactionRequiredException.java: Likewise.
5679         * javax/transaction/TransactionRolledbackException.java: Likewise.
5680         * javax/transaction/UserTransaction.java: Likewise.
5681         * javax/transaction/xa/XAException.java: Likewise.
5682         * javax/transaction/xa/XAResource.java: Likewise.
5683         * javax/transaction/xa/Xid.java: Likewise.
5684
5685 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5686
5687         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5688         define.
5689         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5690         * include/posix.h (socklen_t): Define if not already defined.
5691
5692 2002-11-25  Tom Tromey  <tromey@redhat.com>
5693
5694         * verify.cc (type::compatible): Backed out broken change.
5695
5696         * verify.cc (type::compatible): Check initialization status
5697         first.
5698         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5699         Don't use NULLCHECK.
5700
5701 2002-11-23  H.J. Lu <hjl@gnu.org>
5702
5703         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5704         Include ../config/accross.m4.
5705         * aclocal.m4; Rebuild.
5706         * configure: Likewise.
5707
5708 2002-11-23  Mark Wielaard  <mark@klomp.org>
5709
5710         * javax/naming/AuthenticationException.java: Update copyright header.
5711         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5712         * javax/naming/Binding.java: Likewise.
5713         * javax/naming/CannotProceedException.java: Likewise.
5714         * javax/naming/CommunicationException.java: Likewise.
5715         * javax/naming/CompositeName.java: Likewise.
5716         * javax/naming/CompoundName.java: Likewise.
5717         * javax/naming/ConfigurationException.java: Likewise.
5718         * javax/naming/Context.java: Likewise.
5719         * javax/naming/ContextNotEmptyException.java: Likewise.
5720         * javax/naming/InitialContext.java: Likewise.
5721         * javax/naming/InsufficientResourcesException.java: Likewise.
5722         * javax/naming/InterruptedNamingException.java: Likewise.
5723         * javax/naming/LimitExceededException.java: Likewise.
5724         * javax/naming/LinkException.java: Likewise.
5725         * javax/naming/LinkLoopException.java: Likewise.
5726         * javax/naming/LinkRef.java: Likewise.
5727         * javax/naming/MalformedLinkException.java: Likewise.
5728         * javax/naming/NameAlreadyBoundException.java: Likewise.
5729         * javax/naming/NameClassPair.java: Likewise.
5730         * javax/naming/NameNotFoundException.java: Likewise.
5731         * javax/naming/NameParser.java: Likewise.
5732         * javax/naming/NamingEnumeration.java: Likewise.
5733         * javax/naming/NamingSecurityException.java: Likewise.
5734         * javax/naming/NoInitialContextException.java: Likewise.
5735         * javax/naming/NoPermissionException.java: Likewise.
5736         * javax/naming/NotContextException.java: Likewise.
5737         * javax/naming/OperationNotSupportedException.java: Likewise.
5738         * javax/naming/PartialResultException.java: Likewise.
5739         * javax/naming/Reference.java: Likewise.
5740         * javax/naming/Referenceable.java: Likewise.
5741         * javax/naming/ReferralException.java: Likewise.
5742         * javax/naming/ServiceUnavailableException.java: Likewise.
5743         * javax/naming/SizeLimitExceededException.java: Likewise.
5744         * javax/naming/TimeLimitExceededException.java: Likewise.
5745         * javax/naming/directory/Attribute.java: Likewise.
5746         * javax/naming/directory/AttributeInUseException.java: Likewise.
5747         * javax/naming/directory/AttributeModificationException.java: Likewise.
5748         * javax/naming/directory/Attributes.java: Likewise.
5749         * javax/naming/directory/BasicAttribute.java: Likewise.
5750         * javax/naming/directory/BasicAttributes.java: Likewise.
5751         * javax/naming/directory/DirContext.java: Likewise.
5752         * javax/naming/directory/InitialDirContext.java: Likewise.
5753         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5754         Likewise.
5755         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5756         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5757         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5758         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5759         * javax/naming/directory/ModificationItem.java: Likewise.
5760         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5761         * javax/naming/directory/SchemaViolationException.java: Likewise.
5762         * javax/naming/directory/SearchControls.java: Likewise.
5763         * javax/naming/directory/SearchResult.java: Likewise.
5764         * javax/naming/event/EventContext.java: Likewise.
5765         * javax/naming/event/EventDirContext.java: Likewise.
5766         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5767         * javax/naming/event/NamingEvent.java: Likewise.
5768         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5769         * javax/naming/event/NamingListener.java: Likewise.
5770         * javax/naming/event/ObjectChangeListener.java: Likewise.
5771         * javax/naming/ldap/Control.java: Likewise.
5772         * javax/naming/ldap/ControlFactory.java: Likewise.
5773         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5774         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5775         * javax/naming/ldap/HasControls.java: Likewise.
5776         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5777         * javax/naming/ldap/LdapContext.java: Likewise.
5778         * javax/naming/ldap/LdapReferralException.java: Likewise.
5779         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5780         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5781         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5782         * javax/naming/spi/DirObjectFactory.java: Likewise.
5783         * javax/naming/spi/DirStateFactory.java: Likewise.
5784         * javax/naming/spi/DirectoryManager.java: Likewise.
5785         * javax/naming/spi/InitialContextFactory.java: Likewise.
5786         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5787         * javax/naming/spi/NamingManager.java: Likewise.
5788         * javax/naming/spi/ObjectFactory.java: Likewise.
5789         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5790         * javax/naming/spi/ResolveResult.java: Likewise.
5791         * javax/naming/spi/Resolver.java: Likewise.
5792         * javax/naming/spi/StateFactory.java: Likewise.
5793
5794         * javax/naming/spi/NamingManager.java (ofb): Package private.
5795
5796 2002-11-21  Mark Wielaard  <mark@klomp.org>
5797
5798         * java/net/URL.java: Merge with Classpath (partly).
5799         * java/net/URLStreamHandler: Merge with Classpath.
5800
5801 2002-11-22  Michael Koch <konqueror@gmx.de>
5802
5803         * include/posix.h:
5804         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5805         * include/win32.h:
5806         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5807         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5808
5809 2002-11-21  Michael Koch <konqueror@gmx.de>
5810
5811         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5812         Only the new network functions should be in it.
5813
5814 2002-11-21  Michael Koch <konqueror@gmx.de>
5815
5816         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5817         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5818
5819 2002-11-21  Michael Koch <konqueror@gmx.de>
5820
5821         * java/nio/channels/AsynchronousCloseException.java,
5822         java/nio/channels/CancelledKeyException.java,
5823         java/nio/channels/ClosedByInterruptException.java,
5824         java/nio/channels/ConnectionPendingException.java,
5825         java/nio/channels/FileLockInterruptionException.java,
5826         java/nio/channels/IllegalSelectorException.java,
5827         java/nio/channels/NoConnectionPendingException.java,
5828         java/nio/channels/NonReadableChannelException.java,
5829         java/nio/channels/NonWritableChannelException.java,
5830         java/nio/channels/NotYetBoundException.java,
5831         java/nio/channels/NotYetConnectedException.java,
5832         java/nio/channels/OverlappingFileLockException.java,
5833         java/nio/channels/UnresolvedAddressException.java,
5834         java/nio/channels/UnsupportedAddressTypeException.java:
5835         New files.
5836         * Makefile.am (ordinary_java_source_files): Added new files.
5837         * Makefile.in: Regenerated.
5838
5839 2002-11-21  Michael Koch <konqueror@gmx.de>
5840
5841         * include/posix.h
5842         (_Jv_socket): New method.
5843         (_Jv_connect): New method.
5844         (_Jv_close): New method.
5845         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5846         (_Jv_bind): New method.
5847         (_Jv_listen): New method.
5848         (_Jv_write): New method.
5849         (_Jv_read): New method.
5850         * include/win32.h
5851         (_Jv_socket): New method.
5852         (_Jv_connect): New method.
5853         (_Jv_close): New method.
5854         (_Jv_bind): New method.
5855         (_Jv_listen): New method.
5856         (_Jv_write): New method.
5857         (_Jv_read): New method.
5858         * java/net/natNetworkInterface.cc:
5859         Include platform.h, removed inclusion of socket.h
5860         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5861         ::close() by _Jv_close().
5862         * java/net/natPlainDatagramSocketImpl.cc:
5863         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5864         added some new lines to make code more readable.
5865         (create): Replaced ::socket() by _Jv_socket().
5866         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5867         * java/net/natPlainSocketImpl.cc:
5868         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5869         removed include of socket.h, removed some windows defines
5870         (now in include/win32.h).
5871         (create): Replaced ::socket() by _Jv_socket().
5872         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5873         (write): Replaced ::read by _Jv_write().
5874         (read): Replaced ::read by _Jv_read().
5875
5876 2002-11-20  Michael Koch <konqueror@gmx.de>
5877
5878         * Makefile.am (ordinary_java_source_files):
5879         Added java/nio/channels/FileChannel.java.
5880         * Makefile.in: Regenerated.
5881
5882 2002-11-20  Michael Koch <konqueror@gmx.de>
5883
5884         * java/io/FileInputStream.java
5885         (getChannel): New method.
5886         * java/io/FileOutputStream.java
5887         (getChannel): New method.
5888         * java/net/ServerSocket.java
5889         (bind): Removed duplicate code and called another bind method instead.
5890         * java/nio/channels/SelectionKey.java
5891         (isValid): Removed wrong exception documentation.
5892         * java/nio/channels/ServerSocketChannel.java
5893         (accept): Added exception documentation.
5894         (open): Fixed typo, added exception documentation.
5895         * java/nio/channels/spi/AbstractSelectableChannel.java
5896         (implCloseChannel): Added exception documentation.
5897         (add): Reformated.
5898         (register): Added exception documentation.
5899
5900 2002-11-20  Andreas Jaeger  <aj@suse.de>
5901
5902         * configure: Regenerated with new libtool.m4.
5903
5904 2002-11-19  Tom Tromey  <tromey@redhat.com>
5905
5906         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5907         `referent'.
5908         (finalize_referred_to_object): Don't modify `referent' or `copy'
5909         fields.
5910         (add_to_hash): Correctly set `n->next' when updating list.
5911         * java/lang/ref/Reference.java (enqueue): Return false if already
5912         enqueued.
5913
5914 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5915
5916         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5917         to function and function pointer declarations in accordance with
5918         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5919         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5920         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5921         JNI function definitions.
5922
5923 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5924
5925         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5926         that was causing CoderResults to be cached, not WeakReferences
5927         to CoderResults.
5928
5929 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5930
5931         * java/security/KeyStore.java (getInstance): Fix
5932         comment and throw IllegalArgumentException if
5933         given provider is null.
5934         (getInstance): New method for jdk1.4 compatibility.
5935
5936 2002-11-18  Michael Koch <konqueror@gmx.de>
5937
5938         * java/net/PlainSocketImpl.java: Fix imports.
5939
5940 2002-11-18  Michael Koch <konqueror@gmx.de>
5941
5942         * java/nio/channels/SelectionKey.java
5943         (isValid): Added exception documentation.
5944         * java/nio/channels/Selector.java
5945         (open): Declare "throws IOException".
5946
5947 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5948
5949         * java/nio/charset/Charset.java
5950         (<clinit>): New method.
5951         (encode): Synchronize use of cached encoder object.
5952         (decode): Synchronize use of cached encoder object.
5953
5954 2002-11-18  Michael Koch <konqueror@gmx.de>
5955
5956         * gnu/java/nio/ByteBufferImpl.java,
5957         gnu/java/nio/CharBufferImpl.java,
5958         gnu/java/nio/DatagramChannelImpl.java,
5959         gnu/java/nio/DoubleBufferImpl.java,
5960         gnu/java/nio/FileChannelImpl.java,
5961         gnu/java/nio/FloatBufferImpl.java,
5962         gnu/java/nio/IntBufferImpl.java,
5963         gnu/java/nio/LongBufferImpl.java,
5964         gnu/java/nio/PipeImpl.java,
5965         gnu/java/nio/SelectionKeyImpl.java,
5966         gnu/java/nio/SelectorImpl.java,
5967         gnu/java/nio/SelectorProviderImpl.java,
5968         gnu/java/nio/ServerSocketChannelImpl.java,
5969         gnu/java/nio/ShortBufferImpl.java,
5970         gnu/java/nio/SocketChannelImpl.java,
5971         java/nio/DoubleBuffer.java,
5972         java/nio/FloatBuffer.java,
5973         java/nio/IntBuffer.java,
5974         java/nio/LongBuffer.java,
5975         java/nio/ShortBuffer.java,
5976         java/nio/channels/FileChannel.java: New files.
5977
5978 2002-11-18  Michael Koch <konqueror@gmx.de>
5979
5980         * Makefile.am (ordinary_java_source_files):
5981         Added java/nio/ReadOnlyBufferException.java and
5982         java/nio/channels/ClosedSelectorException.java.
5983         * Makefile.in: Regenerated.
5984
5985 2002-11-18  Michael Koch <konqueror@gmx.de>
5986
5987         * java/net/PlainSocketImpl.java: Reworked imports.
5988         * java/net/ServerSocket.java
5989         (ServerSocket): Create socket.
5990         * java/net/SocketAddress.java: Documentation added.
5991         * java/net/natPlainSocketImpl.cc: Reindented.
5992         * java/nio/ReadOnlyBufferException.java: New file
5993         * java/nio/channels/ClosedChannelException.java: Documentation added.
5994         * java/nio/channels/ClosedSelectorException.java: New file.
5995
5996 2002-11-17  Mark Wielaard  <mark@klomp.org>
5997
5998         * java/net/HttpURLConnection.java ((getPermission): Take port
5999         into consideration.
6000         (getErrorStream): Implement.
6001
6002 2002-11-17  Mark Wielaard  <mark@klomp.org>
6003
6004         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6005
6006 2002-11-16  Mark Wielaard  <mark@klomp.org>
6007
6008         Integrate work by Raif S. Naffah (raif@fl.net.au)
6009         * java/security/DummyKeyPairGenerator.java (clone): New method.
6010         * java/security/DummyMessageDigest.java (clone): New method.
6011         (engineUpdate): Now public.
6012         (engineReset): Likewise.
6013         (engineDigest): Likewise.
6014         (engineGetDigestLength): New method.
6015         * java/security/DummySignature.java (clone): New method.
6016         * java/security/KeyPairGenerator.java (provider): Now package private.
6017         (getInstance(String)): Use getInstance(String,Provider).
6018         (getInstance(String,String): Use getInstance(String,Provider)
6019         (getInstance(String,Provider): New method.
6020         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6021         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6022         * java/security/MessageDigest.java (provider): Now package private.
6023         (getInstance(String): Use getInstance(String,Provider).
6024         (getInstance(String,String): Use getInstance(String,Provider)
6025         (getInstance(String,Provider): New method.
6026         * java/security/Provider.java (toCanonicalKey): New method.
6027         (get): New method that uses toCanonicalKey().
6028         (put): Use toCanonicalKey().
6029         (remove): Likewise.
6030         * java/security/Security.java (insertProviderAt): Provider index is one
6031         based, not zero based.
6032         (addProvider): Likewise.
6033         (removeProvider): Likewise.
6034         * java/security/Signature.java (provider): Now package private.
6035         (getInstance(String)): Use getInstance(String,Provider).
6036         (getInstance(String,String): Use getInstance(String,Provider)
6037         (getInstance(String,Provider): New method.
6038         (getInstance(String,String,Provider): Don't cast DummySignature.
6039
6040 2002-11-15  Tom Tromey  <tromey@redhat.com>
6041
6042         For PR libgcj/8593:
6043         * java/util/zip/GZIPInputStream.java (read): Check file size.
6044         Look in inflater for remaining input bytes.
6045         (read4): Added buf and offset arguments.
6046
6047 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6048
6049         * java/applet/AppletContext.java: Fix typo and remove redundant
6050         modifiers.
6051
6052 2002-11-14  Tom Tromey  <tromey@redhat.com>
6053
6054         * java/lang/natRuntime.cc (insertSystemProperties): Set
6055         gnu.classpath.home.
6056
6057 2002-11-13  Michael Koch <konqueror@gmx.de>
6058
6059         * java/nio/ByteBuffer.java
6060         (allocate): New method.
6061         (wrap): New method.
6062         (put): New method.
6063         (get): New method.
6064
6065 2002-11-13  Michael Koch <konqueror@gmx.de>
6066
6067         * java/nio/channels/AlreadyConnectedException.java:
6068         Removed unneeded import.
6069         (AlreadyConnectedException): Documentation added.
6070         * java/nio/channels/Pipe.java
6071         (SinkChannel.SinkChannel): Documentation added.
6072         (SinkChannel.validOps): New method.
6073         (SourceChannel.SourceChannel): Documentation added.
6074         (SourceChannel.validOps): New method.
6075         (Pipe): Documentation added.
6076         (open): Documentation added.
6077         (SinkChannel.channel): Documentation added.
6078         (SourceChannel.channel): Documentation added.
6079         * java/nio/channel/SelectableChannel.java
6080         (SelectableChannel): Documentation added.
6081         (blockingLock): Documentation added.
6082         (configureBlocking):Documentation added.
6083         (isBlocking):Documentation added.
6084         (isRegistered):Documentation added.
6085         (keyFor):Documentation added.
6086         (provider):Documentation added.
6087         (register): Documentation added.
6088         (validOps): Documentation added.
6089         * jaba/nio/channels/SelectionKey.java
6090         (SelectionKey): Documentation added.
6091         (attach): Documentation added.
6092         (attachment): Documentation added.
6093         (isAcceptable): Documentation added.
6094         (isConnetable): Documentation added.
6095         (isReadable): Documentation added.
6096         (isWritable): Documentation added.
6097         (cancel): Documentation added.
6098         (channel): Documentation added.
6099         (interestOps): Documentation added.
6100         (isValid): Documentation added.
6101         (readyOps): Documentation added.
6102         (selector): Documentation added.
6103         * jaba/nio/channels/Selector.java
6104         (Selector): Documentation added.
6105         (open): Documentation added.
6106         (close): Documentation added.
6107         (isOpen): Documentation added.
6108         (keys): Documentation added.
6109         (provider): Documentation added.
6110         (select): Documentation added.
6111         (selectedKeys): Documentation added.
6112         (selectNow): Documentation added.
6113         (wakeup): Documentation added.
6114         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6115         (AbstractInterruptibleChannel): Documentation added.
6116         (opened): Default to true;
6117         (begin): Documentation added.
6118         (close): Set opened to false, documentation added.
6119         (isOpen): Documentation added.
6120         * java/nio/channels/spi/AbstractSelectionKey.java
6121         (AbstractSelectionKey): Documentation added.
6122         (cancel): Documentation added.
6123         (isValid): Documentation added.
6124         * java/nio/channels/spi/AbstractSelector.java
6125         (AbstractSelector): Documentation added.
6126         (begin): Documentation added.
6127         (close): Documentation added.
6128         (isOpen): Documentation added.
6129         (deregister): Documentation added.
6130         (end): Documentation added.
6131         (provider): Documentation added.
6132         (implCloseSelector): Documentation added.
6133         (register): Documentation added.
6134         * java/nio/channels/spi/SelectorProvider.java
6135         (SelectorProvider): Documentation added.
6136         (openDatagramChannel): Documentation added.
6137         (openPipe): Documentation added.
6138         (openSelector): Documentation added.
6139         (openServerSocketChannel): Documentation added.
6140         (openSocketChannel): Documentation added.
6141         (provider): Documentation added.
6142
6143 2002-11-12  Michael Koch <konqueror@gmx.de>
6144
6145         * java/nio/Buffer.java: Implemented.
6146         * java/nio/CharBuffer.java: New file.
6147         * java/nio/InvalidMarkException.java: New file.
6148         * java/nio/channels/DatagramChannel.java: Implemented.
6149         * java/nio/channels/ServerSocketChannel.java: Implemented.
6150         * java/nio/channels/SocketChannel.java: Implemented.
6151         * java/nio/channels/spi/AbstractChannel.java: Removed.
6152         * java/nio/channels/spi/AbstractSelectableChannel.java:
6153         Implemented.
6154         * java/nio/charset/Charset.java:
6155         Merge from Classpath.
6156         * java/nio/charset/CharsetDecoder.java: New file.
6157         * java/nio/charset/CharsetEncoder.java: New file.
6158         * java/nio/charset/CoderResult.java: New file.
6159         * Makefile.am (ordinary_java_source_files): Added new files.
6160         * Makefile.in: Regenerated.
6161
6162 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6163
6164         * gnu/java/nio/charset/ISO_8859_1.java,
6165         gnu/java/nio/charset/Provider.java,
6166         gnu/java/nio/charset/US_ASCII.java,
6167         gnu/java/nio/charset/UTF_16.java,
6168         gnu/java/nio/charset/UTF_16BE.java,
6169         gnu/java/nio/charset/UTF_16Decoder.java,
6170         gnu/java/nio/charset/UTF_16Encoder.java,
6171         gnu/java/nio/charset/UTF_16LE.java,
6172         gnu/java/nio/charset/UTF_8.java: New files.
6173
6174 2002-11-11  Michael Koch <konqueror@gmx.de>
6175
6176         * java/nio/charset/CharacterCodingException.java:
6177         This class must be public.
6178         * java/nio/charset/CoderMalfunctionError.java:
6179         This class must be public.
6180         * java/nio/charset/CodingErrorAction.java:
6181         This class must be public.
6182         * java/nio/charset/IllegalCharsetNameException.java:
6183         This class must be public, better implementation.
6184         * java/nio/charset/MalformedInputException.java:
6185         This class must be public, better implementation.
6186         * java/nio/charset/UnmappableCharacterException.java:
6187         This class must be public, better implementation.
6188         * java/nio/charset/UnsupportedCharsetException.java:
6189         This class must be public, better implementation.
6190
6191 2002-11-11  Michael Koch <konqueror@gmx.de>
6192
6193         * java/nio/BufferOverflowException.java,
6194         java/nio/BufferUnderflowException.java: New file.
6195         * Makefile.am (ordinary_java_source_files):
6196         Added new files.
6197         * Makefile.in: Regenerated.
6198
6199 2002-11-10  Tom Tromey  <tromey@redhat.com>
6200
6201         * java/awt/Container.java (validate): Use tree lock.
6202         (getComponent): Likewise.
6203         (getComponents): Likewise.
6204         (addImpl): Likewise.
6205         (remove): Likewise.
6206         (removeAll): Likewise.
6207         (processEvent): Fixed indentation.
6208         (getComponentAt): Use tree lock.
6209         (findComponentAt): Likewise.
6210         (removeNotify): Likewise.
6211         (isAncestorOf): Likewise.
6212         (list): Likewise.
6213         (visitChildren): Likewise.
6214         (findNextFocusComponent): Likewise.
6215         (addNotifyContainerChildren): Likewise.
6216         (getAccessibleChildrenCount): Likewise.
6217         (getAccessibleChild): Likewise.
6218
6219         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6220         (getSize): Likewise.
6221         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6222         (getSize): Likewise.
6223         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6224         (calcSize): Likewise.
6225         * java/awt/CardLayout.java (getSize): Use tree lock.
6226         (gotoComponent): Likewise.
6227         (layoutContainer): Likewise.
6228
6229         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6230         count is 0.
6231         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6232         count is 0.
6233
6234         * java/io/Externalizable.java, java/io/FilePermission.java,
6235         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6236         java/io/SerializablePermission.java, java/text/Format.java,
6237         java/util/AbstractMap.java, java/util/HashMap.java,
6238         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6239         versions from Classpath.
6240
6241 2002-11-10  Anthony Green  <green@redhat.com>
6242
6243         * java/util/jar/Attributes.java (Name): Fix name check.
6244
6245 2002-11-10  Mark Wielaard  <mark@klomp.org>
6246
6247         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6248         with getName() as message.
6249         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6250         type as message.
6251
6252         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6253         unused.
6254
6255 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6256
6257         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6258         for Win32. JNICALL has been defined to __stdcall to be compatible
6259         with Sun's JDKs.
6260
6261 2002-11-10  Tom Tromey  <tromey@redhat.com>
6262
6263         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6264         (setRows): Check newRows, not rows.
6265
6266         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6267
6268 2002-11-09  Tom Tromey  <tromey@redhat.com>
6269
6270         * java/applet/Applet.java, java/applet/AppletContext.java,
6271         java/applet/AppletStub.java, java/applet/AudioClip.java,
6272         java/awt/CardLayout.java,
6273         java/awt/ContainerOrderFocusTraversalPolicy.java,
6274         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6275         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6276         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6277         java/awt/color/ICC_ColorSpace.java,
6278         java/awt/color/ICC_Profile.java,
6279         java/awt/color/ICC_ProfileGray.java,
6280         java/awt/color/ICC_ProfileRGB.java,
6281         java/awt/datatransfer/DataFlavor.java,
6282         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6283         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6284         New versions from Classpath.
6285         * Makefile.in: Rebuilt.
6286         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6287         ICC_ProfileRGB.
6288
6289         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6290         display policy.
6291
6292         * java/awt/List.java (processEvent): Added missing `else's.
6293
6294         * java/awt/Window.java (show): validate() before showing.  Make
6295         parent displayable.
6296         (isDisplayable): New method.
6297
6298 2002-11-07  Mark Wielaard  <mark@klomp.org>
6299
6300         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6301         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6302
6303         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6304         annotation.
6305         (loadClass): Take String as codebases.
6306         (getClassAnnotation): Use MyClassLoader annotations.
6307         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6308         call exportObject(this).
6309
6310         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6311         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6312         (setAnnotation): Don't set locBytesStream and locStream.
6313         (replaceObject): Removed.
6314         (flush): Don't test locStream.
6315         (getLocBytes): LikeWise.
6316         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6317         (leaseCache): New field.
6318         (dirty): Use leaseCache.
6319         (LeaseRecord): New inner class.
6320         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6321         explicitly call exportObject().
6322         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6323         false to communicate with Sun JDK130.
6324         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6325         * gnu/java/rmi/server/RMIObjectInputStream.java
6326         (UnicastConnectionManager): Removed field.
6327         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6328         Use UnicastServer.getExportedRef().
6329         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6330         (expireTime): Likewise.
6331         (CONNECTION_TIMEOUT): Likewise.
6332         (disconnect): Call sock.close().
6333         (isExpired): New method.
6334         (resetTime): Likewise.
6335         (run): Use do while loop and catch Exception for discardConnection().
6336         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6337         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6338         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6339         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6340         (exportObject): Use refcache.
6341         (unexportObject): Likewise.
6342         (getExportedRef): New method.
6343         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6344         constructor.
6345         (exportObject): Save manager.serverobj.
6346         (getStub): New method.
6347
6348 2002-11-07  Mark Wielaard  <mark@klomp.org>
6349
6350         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6351         (getByte): Likewise.
6352         (getShort): Likewise.
6353         (getInt): Likewise.
6354         (getLong): Likewise.
6355         (getFloat): Likewise.
6356         (getDouble): Likewise.
6357         (get): Likewise.
6358         (setChar): Likewise.
6359         (setByte): Likewise.
6360         (setShort): Likewise.
6361         (setInt): Likewise.
6362         (setLong): Likewise.
6363         (setFloat): Likewise.
6364         (setDouble): Likewise.
6365
6366 2002-11-07  Michael Koch <konqueror@gmx.de>
6367
6368         * java/awt/Choice.java,
6369         java/awt/Container.java,
6370         java/awt/GridBagLayout.java:
6371         Fixed documentation.
6372         * java/awt/peer/ContainerPeer.java:
6373         Reindented.
6374
6375 2002-11-07  Michael Koch <konqueror@gmx.de>
6376
6377         * java/awt/color/ICC_Profile.java:
6378         Added missing constants.
6379         * java/awt/color/ICC_ColorSpace.java
6380         (getMinValue): Added dummy implementation.
6381         (getMaxValue): Added dummy implementation.
6382         * java/awt/datatransfer/DataFlavor.java
6383         (imageFlavor): Added.
6384         (isMimeTypeEqual): Must be final.
6385         (getDefaultRepresentationClass): Must be non-static.
6386         (getDefaultRepresentationClassAsString): Must be non-static.
6387         * java/awt/dnd/DragSourceContext.java
6388         (dragExit): Corrected argument.
6389         (dragDropEnd): Corrected argument.
6390         * java/awt/dnd/DragSourceListener.java.java
6391         (dragExit): Corrected argument.
6392         (dragDropEnd): Corrected argument.
6393         * java/awt/font/TextHitInfo.java
6394         (toString): Added stubbed implementation.
6395         * java/awt/geom/PathIterator.java:
6396         The constants must be static.
6397         * java/awt/image/VolatileImage.java
6398         (IMAGE_INCOMPATIBLE): Fixed typo.
6399         * java/awt/image/renderable/RenderableImage.java
6400         (HINTS_OBSERVED): Must be static.
6401         * java/beans/BeanInfo.java:
6402         Constants must be final.
6403
6404 2002-11-06  Tom Tromey  <tromey@redhat.com>
6405
6406         From svens@it.uu.se.  For PR libgcj/8481.
6407         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6408
6409 2002-11-06  Tom Tromey  <tromey@redhat.com>
6410
6411         * jni.cc (array_from_valist): Assume that jlong won't be
6412         promoted.
6413
6414 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6415
6416         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6417         Return 20.
6418         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6419         Return 16.
6420
6421 2002-11-03  Tom Tromey  <tromey@redhat.com>
6422
6423         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6424         VMClassLoader, not findClass.
6425
6426 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6427
6428         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6429         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6430         _Jv_DetermineVTableIndex, to determine vtable offset.
6431         (_Jv_DetermineVTableIndex): Remove.
6432         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6433
6434         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6435
6436 2002-11-03  Tom Tromey  <tromey@redhat.com>
6437
6438         * java/nio/channels/AlreadyConnectedException.java: Extend
6439         IllegalStateException, per spec.
6440
6441 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6442
6443         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6444
6445 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6446
6447         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6448         size items.
6449
6450 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6451
6452         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6453         initial estimated size to avoid enlarge buffer frequently.
6454
6455 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6456
6457         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6458         ClassLoader when null.
6459         (ProxyType.hashCode): Loader null check no longer needed.
6460         (ProxyType.sameTypes): New method.
6461         (ProxyType.equals): Use new method.
6462
6463 2002-10-31  Mark Wielaard  <mark@klomp.org>
6464
6465         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6466         length of String.
6467         * java/net/URLEncoder.java (encode): Likewise.
6468
6469 2002-10-31  Mark Wielaard  <mark@klomp.org>
6470
6471         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6472         when stream is closed.
6473         (closeEntry): Likewise.
6474         (read): Likewise.
6475         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6476         ZipException when no entry active.
6477         (closeEntry): Likewise.
6478         (write): Likewise.
6479
6480 2002-11-02  Tom Tromey  <tromey@redhat.com>
6481
6482         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6483         * java/lang/natClass.cc (initializeClass): Don't return just
6484         because self==thread.
6485
6486         For PR java/8415:
6487         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6488         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6489
6490 2002-11-02  Andreas Schwab  <schwab@suse.de>
6491
6492         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6493         pass GCJFLAGS.
6494         (FLAGS_TO_PASS): Define.
6495         * Makefile.in: Regenerated.
6496
6497 2002-11-01  Michael Koch  <konqueror@gmx.de>
6498
6499         * java/nio/ByteOrder.java: New file.
6500         * java/nio/channels/DatagramChannel.java:
6501         (DatagramChannel): New constructor.
6502         * java/nio/channels/Pipe.java: New file.
6503         * java/nio/channels/SelectableChannel.java: New file.
6504         * java/nio/channels/SelectionKey.java: New file.
6505         * java/nio/channels/Selector.java: New file.
6506         * java/nio/channels/ServerSocketChannel.java
6507         (ServerSocketChannel): New constructor.
6508         * java/nio/channels/SocketChannel.java
6509         (SocketChannel): New constructor.
6510         * java/nio/channels/Pipe.java: New file.
6511         * java/nio/channels/spi/AbstractChannel.java: New file.
6512         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6513         * java/nio/channels/spi/AbstractSelectableChannel.java:
6514         License added
6515         (AbstractSelectableChannel): New stubbed method.
6516         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6517         * java/nio/channels/spi/AbstractSelector.java: New file.
6518         * java/nio/channels/spi/SelectorProvider.java: New file.
6519         * java/nio/charset/Charset.java: New file.
6520         * java/nio/charset/CoderMalfunctionError.java: New file.
6521         * java/nio/charset/CodingErrorAction.java: New file.
6522         * java/nio/charset/spi/CharsetProvider.java
6523         (charsetForName): Uncommented.
6524         * Makefile.am (java_native_source_files): Added new files.
6525         * Makefile.in: Regenerated.
6526
6527 2002-11-01  Michael Koch  <konqueror@gmx.de>
6528
6529         * java/net/InetAddress.java:
6530         (isAnyLocalAddress): Implemented.
6531         (isLoopbackAddress): Implemented, comment added.
6532         (isLinkLocalAddress): Implemented, documentation added.
6533         (isSiteLocalAddress): Implemented, documentation added.
6534         (isMCGlobal): Implemented, documentation added.
6535         (isMCNodeLocal): Implemented, documentation added.
6536         (isMCLinkLocal): Implemented, documentation added.
6537         (isMCSiteLocal): Implemented, documentation added.
6538         (isMCOrgLocal): Implemented, documentation added.
6539         (getHostName): Documentation added.
6540         (getCanonicalHostName): Implemented, documentation added.
6541         (getAddress): Documentation added.
6542         (hashCode): Documentation added.
6543         (equals): Documentation added.
6544         (toString): Fixed implementation.
6545         (getByAddress): Use Inet4Address and Inet6Address.
6546         (lookup): New linewrap.
6547         (getByName): SecurityManager check added, support Inet4Address and
6548         Inet6address, comments added.
6549         (getAllByName): SecurityManager check added, comments added.
6550         * java/net/Inet6Address.java:
6551         (Inet6Address): Initialize parent class with addr instead of null.
6552         * java/net/URL.java
6553         (equals): Documentation added.
6554         (getFile): Documentation added.
6555         (hashCode): Documentation added.
6556         * java/net/natInetAddress.cc:
6557         (aton): Fix IPv6 support.
6558         * java/net/natPlainDatagramSocketImpl.cc:
6559         (peek): Throw PortUnreachableException when suitable.
6560         (peekData): Throw PortUnreachableException when suitable.
6561         (send): Throw PortUnreachableException when suitable.
6562         (receive): Throw PortUnreachableException when suitable.
6563
6564 2002-10-27  Mark Wielaard  <mark@klomp.org>
6565
6566         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6567         argument.
6568         (readLeShort): Likewise and use byte[].
6569         (readLeInt): Likewise.
6570         (readEntries): Use new versions of methods and use byte[] for reading
6571         a complete zip entry. Add ZipFile name to exceptions.
6572         (entries): Add ZipFile name to exceptions.
6573         (getEntry): Likewise.
6574         (checkLocalHeader): Use new versions of methods and add ZipFile name
6575         to exceptions.
6576
6577 2002-10-31  Mark Anderson  <mark@panonet.net>
6578
6579         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6580         added
6581
6582 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6583
6584         * configure.in: Disable hash sync when not using threads.
6585         * configure: Regenerated.
6586
6587 2002-10-24  Tom Tromey  <tromey@redhat.com>
6588
6589         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6590         (_Jv_FindSymbolInExecutable): Removed argument name.
6591         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6592         java.library.path is set.
6593
6594         * gij.cc (help): Document --showversion.
6595         (version): Don't exit.
6596         (main): Handle --showversion.  Exit if --version given.
6597
6598 2002-10-23  Tom Tromey  <tromey@redhat.com>
6599
6600         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6601         (array_from_valist): Correctly handle promotion for jint, jlong,
6602         jfloat, and jdouble.
6603
6604 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6605
6606         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6607         GetFileAttributesEx( ) to find file length and modification times,
6608         as the latter is not present on Windows 95.
6609
6610 2002-10-21  Michael Koch  <konqueror@gmx.de>
6611
6612         * java/net/URL.java
6613         (URL): Activate SecurityManager checks.
6614         (equals): Use URLStreamHandler implementation instead of doing it
6615         alone. This allows special protocol stream handlers to change default
6616         behaviour.
6617         (hashCode): Use URLStreamHandler implementation instead of doing it
6618         alone. This allows special protocol stream handlers to change default
6619         behaviour.
6620         * java/net/URLStreamHandler.java
6621         (equals): Implemented default URL equality check.
6622         (hostsEqual): Implemented default URL equality check.
6623         (hashCode): Implemented default URL hashCode algorithm.
6624         * java/net/natPlainDatagramSocketImpl.cc:
6625         No lines longer then 80 characters.
6626
6627 2002-10-20  Adam Megacz <adam@xwt.org>
6628
6629         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6630         * configure.in: enabled hash sync on Win32
6631         * include/win32-threads.h (_Jv_ThreadId_t): added.
6632         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6633         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6634         removed some posix-isms, use Thread::sleep() instead of usleep,
6635         added code to clear bottom three bits if platform has a broken
6636         linker.
6637         * include/win32-threads.h (_Jv_ThreadId_t): added.
6638
6639 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6640
6641         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6642         runtime property "gnu.gcj.progname" containing the name used to
6643         invoke the current Java program (similar to argv[0] for C
6644         programs).
6645
6646 2002-10-15  Tom Tromey  <tromey@redhat.com>
6647
6648         Fix for PR libgcj/8234:
6649         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6650         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6651
6652 2002-10-13  Mark Wielaard  <mark@klomp.org>
6653
6654         * mauve-libgcj: Enable Mauve tests that compile now.
6655
6656 2002-10-11  Mark Wielaard  <mark@klomp.org>
6657
6658         Fix for PR libgcj/8142
6659         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6660         loading native modules.
6661
6662 2002-10-10  Michael Koch  <konqueror@gmx.de>
6663
6664         * javax/swing/AbstractListModel.java
6665         (getListDataListeners): New stubbed method.
6666         javax/swing/DefaultBoundedRangeModel.java
6667         (getChangeListeners): New stubbed method.
6668         javax/swing/DefaultSingleSelectionModel.java
6669         (getChangeListeners): New stubbed method.
6670
6671 2002-10-10  Michael Koch  <konqueror@gmx.de>
6672
6673         * gcj/.cvsignore: New file to ignore files generated during build.
6674         * include/.cvsignore: New file to ignore files generated during build.
6675
6676 2002-10-10  Michael Koch  <konqueror@gmx.de>
6677
6678         * java/net/HttpURLConnection.java
6679         (getPermission): New method.
6680         (getErrorStream): New stub method.
6681         (getHeaderFieldDate): New stub method.
6682         * java/net/Inet4Address.java:
6683         (isLinkLocalAddress): Typo fixed.
6684         * java/net/InetAddress.java:
6685         (readResolve): New stubbed method (for serialization).
6686         (isAnyLocalAddress): New stubbed method.
6687         (isLoopbackAddress): New stubbed method.
6688         (isLinkLocalAddress): New stubbed method.
6689         (isSiteLocalAddress): New stubbed method.
6690         (isMCGlobal): New stubbed method.
6691         (isMCNodeGlobal): New stubbed method.
6692         (isMCLinkLocal): New stubbed method.
6693         (isMCSiteLocal): New stubbed method.
6694         (isMCOrgLocal): New stubbed method.
6695         (getCanonicalHostName): New stubbed method.
6696         (getByAddress): Create instances of Inet4Address/Inet6Address,
6697         instead of InetAddress, documentation added.
6698         * java/net/MulticastSocket.java
6699         (getInterface): Removed FIXME.
6700         (getNetworkInterface): New method.
6701         (setNetworkInterface): New method.
6702         * java/net/NetworkInterface.java:
6703         (toString): Use property "line.separator" instead of "\n".
6704         * java/net/URLConnection.java
6705         (getContent): New stubbed method.
6706         * java/net/URLStreamHandler.java:
6707         (equals): New stubbed method.
6708         (hostsEqual): New stubbed method.
6709         (hashCode): New stubbed method.
6710         * java/net/natNetworkInterface.cc:
6711         (getRealNetworkInterfaces): Create Inet4Address object
6712         instead of InetAddress.
6713
6714 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6715
6716         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6717         unsigned long temporary to implement insn_iushr shifts.
6718
6719 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6720
6721         * configure.host [s390*-*]: Enable Java interpreter.
6722         Enable hash synchronization.  Add sysdeps dir.
6723         * sysdep/s390/locks.h: New file.
6724
6725 2002-10-06  Mark Wielaard  <mark@klomp.org>
6726
6727         * java/lang/Thread.java (setDaemon): Check startable_flag,
6728         not isAlive().
6729
6730 2002-10-07  Michael Koch  <konqueror@gmx.de>
6731
6732         * java/nio/Buffer.java: New stub file.
6733         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6734         of class Charset.
6735         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6736         * Makefile.in: Regenerated.
6737
6738 2002-10-07  Michael Koch  <konqueror@gmx.de>
6739
6740         * java/nio/ByteBuffer.java:
6741         removed import of not commited class.
6742
6743 2002-10-07  Michael Koch  <konqueror@gmx.de>
6744
6745         * java/nio/ByteBuffer.java,
6746         java/nio/MappedByteBuffer.java:
6747         New files, forgot to add these dummies.
6748         * Makefile.am (java_native_source_files): Added new files.
6749         * Makefile.in: Regenerated.
6750
6751 2002-10-07  Michael Koch  <konqueror@gmx.de>
6752
6753         * java/nio/channels/AlreadyConnectedException.java,
6754         java/nio/channels/ClosedChannelException.java,
6755         java/nio/channels/ReadableByteChannel.java,
6756         java/nio/channels/InterruptibleChannel.java,
6757         java/nio/channels/Channel.java,
6758         java/nio/channels/ByteChannel.java,
6759         java/nio/channels/GatheringByteChannel.java,
6760         java/nio/channels/ScatteringByteChannel.java,
6761         java/nio/channels/WritableByteChannel.java,
6762         java/nio/charset/CharacterCodingException.java,
6763         java/nio/charset/IllegalCharsetNameException.java,
6764         java/nio/charset/MalformedInputException.java,
6765         java/nio/charset/UnmappableCharacterException.java,
6766         java/nio/charset/UnsupportedCharsetException.java,
6767         java/nio/charset/spi/CharsetProvider.java: New file.
6768         These files are exceptions or interfaces,
6769         no real or abstract classes.
6770         * Makefile.am (java_native_source_files): Added new files.
6771         * Makefile.in: Regenerated.
6772
6773 2002-10-05  Michael Koch  <konqueror@gmx.de>
6774
6775         * java/net/InetAddress.java
6776         (getByAddress): Fixed documentation.
6777         (getByAddress): New method.
6778         * java/net/Inet4Address.java: New file.
6779         * java/net/URL.java
6780         (URL): Documentation added.
6781         (getContent): Documentation added.
6782         (getContent): New stubbed method.
6783         (getQuery): New method.
6784         (openConnection): Documentation added.
6785         (openStream): Documentation added.
6786         (setURLStreamHandlerFactory): Documentation added.
6787         * java/net/URI.java: New stub file.
6788         * Makefile.am
6789         (java_native_source_files): Added java/net/Inet4Address.java,
6790         java/net/Inet6Address.java and java/net/URI.java.
6791         * Makefile.in: Regenerated.
6792
6793 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6794
6795         * java/lang/ProtectionDomain.java (linesep): Remove field.
6796         (toString): Use System.getProperty("line.separator").
6797
6798 2002-10-04  Michael Koch  <konqueror@gmx.de>
6799
6800         * java/security/Identity.java: Added serialVersionUID.
6801         * java/security/KeyPair.java: Added serialVersionUID.
6802         * java/security/Provider.java: Added serialVersionUID.
6803         * java/security/SecureRandom.java: Added serialVersionUID.
6804         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6805         * java/security/SignedObject.java: Added serialVersionUID.
6806         * java/security/cert/Certificate.java: Added serialVersionUID.
6807
6808 2002-10-04  Mark Wielaard <mark@klomp.org>
6809
6810         * java/security/Security.java: Use java.home or gnu.classpath.home
6811         to load providers.
6812         (loadProviders): Extra dir argument.
6813         (getProvider): Return null when not found.
6814
6815 2002-10-04  Mark Wielaard  <mark@klomp.org>
6816
6817         * java/lang/Throwable.java: Remerge with Classpath.
6818
6819 2002-10-04  Michael Koch  <konqueror@gmx.de>
6820
6821         * java/net/InetAddress.java:
6822         (isMulticastAddress): Added documentation.
6823         (getHostAddress): Added documentation.
6824         (toString): Added documentation.
6825         (getByAddress): Fixed documentation.
6826         (getByName): Added documentation.
6827         (getAllByName): Added documentation.
6828         (getLocalHost): Added documentation.
6829
6830 2002-10-04  Michael Koch  <konqueror@gmx.de>
6831
6832         * java/beans/beancontext/BeanContextChildSupport.java:
6833         Added serialVersionUID.
6834         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6835         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6836         * javax/naming/Name.java: Added serialVersionUID.
6837
6838 2002-10-03  Adam Megacz <adam@xwt.org>
6839
6840         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6841         some functionality that isn't supported yet on WIN32.
6842
6843 2002-10-03  Tom Tromey  <tromey@redhat.com>
6844
6845         * Makefile.in: Rebuilt.
6846         * Makefile.am (awt_java_source_files): Added new files.
6847
6848 2002-10-03  Michael Koch  <konqueror@gmx.de>
6849
6850         * java/net/InetAddress.java
6851         (class InetAddress): Removed final keyword.
6852         (equals): Fixed typo.
6853         (getByAddress): New method.
6854
6855 2002-10-03  Michael Koch  <konqueror@gmx.de>
6856
6857         * java/awt/dnd/Autoscroll.java:
6858         New file, merge from Classpath.
6859         * java/awt/dnd/DragSourceAdapter.java:
6860         (dragExit): Fixed typos in argument type.
6861         (dragDropEnd): Fixed typos in argument type.
6862         * java/awt/dnd/DragSourceDropEvent.java:
6863         New file, merge from Classpath.
6864         * java/awt/dnd/DropTarget.java:
6865         Added stubs, merge from Classpath.
6866         * java/awt/dnd/DropTargetAdapter.java:
6867         New file, merge from Classpath.
6868         * java/awt/dnd/DropTargetContext.java:
6869         New file, merge from Classpath.
6870         * java/awt/dnd/DropTargetDragEvent.java:
6871         New file, merge from Classpath.
6872         * java/awt/dnd/DropTargetDropEvent.java:
6873         New file, merge from Classpath.
6874         * java/awt/dnd/DropTargetEvent.java:
6875         New file, merge from Classpath.
6876         * java/awt/dnd/DropTargetListener.java:
6877         New file, merge from Classpath.
6878         * java/awt/dnd/MouseDragGestureRecognizer.java:
6879         New file, merge from Classpath.
6880         * java/awt/dnd/peer/DropTargetContextPeer.java:
6881         New file, merge from Classpath.
6882
6883 2002-10-03  Michael Koch  <konqueror@gmx.de>
6884
6885         * java/net/DatagramPacket.java
6886         (setLength): Fixed typo and be HTML-aware.
6887         * java/net/InetSocketAddress.java
6888         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6889         (equals): Added comment about equality of InetSocketAddress objects.
6890         * java/net/ServerSocket.java
6891         (accept): Added checks.
6892         (isClosed): New stubbed method.
6893         * java/net/SocketOptions.java: Reindention.
6894         * java/net/SocketPermission
6895         (SocketPermission): Documentation fixed.
6896
6897 2002-10-03  Michael Koch  <konqueror@gmx.de>
6898
6899         * java/net/DatagramSocket.java
6900         (receive): Check with SecurityManager AFTER the packet is received,
6901         check if connected to multicast address, documentation added.
6902         (send): Only check SecurityManager if connected, check address of
6903         packet to send.
6904         (connect): Implemented, documentation added.
6905         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6906         * java/net/InetSocketAddress.java
6907         (whole file): Reindented.
6908         (hostname): New attribute.
6909         (InetSocketAddress): Initialize new attribute.
6910         (getAddress): Documentation added.
6911         (getHostName): Documentation added.
6912         (getPort): Documentation added.
6913         (hashCode): Documentation added.
6914         (isUnresolved): Documentation added.
6915         (toString): Conform to output of JDK 1.4.1, documentation added.
6916         * java/net/MulticastSocket.java
6917         (joinGroup): Removed FIXME, documentation added.
6918         (leaveGroup): Removed FIXME, documentation added.
6919         (send): Documentation added.
6920         * java/net/Socket.java
6921         (inputShutdown): New variable.
6922         (outputShutdown): New variable.
6923         (Socket): Initialize new variables.
6924         (getRemoteSocketAddress): Check if connected.
6925         (shutdownInput): Set new variable.
6926         (shutdownOutput): Set new variable.
6927         (isConnected): New method.
6928         (isClosed): New method.
6929         (isInputShutdown): New method.
6930         (isOutputShutdown): New method.
6931         * java/net/URLStreamHandler.java
6932         (URLStreamHandler): New method.
6933         (openConnection): Added documentation.
6934         (parseURL): Added documentation.
6935         (getHostAddress): New method.
6936         (getDefaultPort): New method.
6937
6938 2002-10-02  Tom Tromey  <tromey@redhat.com>
6939
6940         * java/rmi/activation/ActivationDesc.java,
6941         java/rmi/activation/ActivationGroupDesc.java,
6942         java/rmi/activation/ActivationGroupID.java,
6943         java/rmi/activation/ActivationID.java: New versions from
6944         Classpath.
6945
6946 2002-09-30  Bo Thorsen  <bo@suse.de>
6947
6948         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6949
6950 2002-09-30  Tom Tromey  <tromey@redhat.com>
6951
6952         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6953         from Classpath.
6954         * Makefile.in: Rebuilt.
6955         * Makefile.am (rmi_java_source_files): Added new files.
6956         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6957         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6958         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6959         Classpath.
6960         * gnu/java/rmi/dgc/DGCImpl.java,
6961         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6962         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6963         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6964         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6965         gnu/java/rmi/server/RMIHashes.java,
6966         gnu/java/rmi/server/RMIObjectInputStream.java,
6967         gnu/java/rmi/server/RMIObjectOutputStream.java,
6968         gnu/java/rmi/server/UnicastConnection.java,
6969         gnu/java/rmi/server/UnicastConnectionManager.java,
6970         gnu/java/rmi/server/UnicastRef.java,
6971         gnu/java/rmi/server/UnicastServer.java,
6972         gnu/java/rmi/server/UnicastServerRef.java,
6973         java/rmi/MarshalledObject.java,
6974         java/rmi/server/RMIClassLoader.java,
6975         java/rmi/server/RemoteObject.java,
6976         java/rmi/server/UnicastRemoteObject.java,
6977         java/security/SecureClassLoader.java: Merged from Classpath.
6978
6979 2002-09-29  Anthony Green  <green@redhat.com>
6980
6981         * java/lang/reflect/UndeclaredThrowableException.java: New file.
6982         Imported from GNU Classpath.
6983         * java/lang/reflect/natProxy.cc: New file.
6984         * java/lang/reflect/InvocationHandler.java: New file.  Imported
6985         from GNU Classpath.
6986         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
6987         Classpath.
6988         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
6989         Classpath.
6990         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
6991         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
6992         New statics.
6993         * gcj/javaprims.h ("Java"): Add new classes.
6994         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
6995         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
6996         java/lang/reflect/Proxy$$ProxyType.h): And this.
6997         (inner_nat_headers): Add these new headers.
6998         (ordinary_java_source_files): Add new files.
6999         (nat_source_files): Add new file.
7000         * Makefile.in: Rebuilt.
7001
7002 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7003
7004         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7005         a single configuration.
7006
7007 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7008
7009         * java/util/TimeZone.java (getDSTSavings): New method.
7010         Fixes PR libgcj/7786.
7011
7012 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7013
7014         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7015         to see if `the_method == 0' before looking up vtable index.
7016         Fixes PR libgcj/7709.
7017
7018 2002-09-25  Tom Tromey  <tromey@redhat.com>
7019
7020         * java/lang/natClassLoader.cc:
7021         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7022         * resolve.cc: Include NoClassDefFoundError.h, not
7023         ClassNotFoundException.h.
7024         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7025
7026         * defineclass.cc: Don't include ClassNotFoundException.h.
7027
7028         * resolve.cc: Include StringBuffer.
7029         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7030
7031         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7032         allocated but not initialized.
7033
7034 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7035
7036         Fix for PR libgcj/7766:
7037         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7038         (getNextEntry): Set it.
7039         (closeEntry): Likewise.
7040         (read): Likewise.
7041         (close): Likewise.
7042         (available): Use it.
7043
7044 2002-09-25  Michael Koch  <konqueror@gmx.de>
7045
7046         * java/net/DatagramSocket.java
7047         (DatagramSocket): Initialize new instance variables.
7048         (close): Reset new instance variables.
7049         (getLocalAddress): Remove unneeded SecurityManager usage.
7050         (getLocalPort): Check if socket is already bound.
7051         (isConnected): New method.
7052         (getInetAddress): Implemented.
7053         (getPort): Better Implementation, documentation fixed.
7054         (getRemoteSocketAddress): New method.
7055         * java/net/JarURLConnection.java
7056         (element): Typo fixed.
7057         (getMainAttributes): New method.
7058         (getAttributes): New method (stub only).
7059         (getManifest): New method (stub only).
7060         * java/net/NetPermission.java: Added serialVersionsUID.
7061         * java/net/Socket.java
7062         (connect): Check blocking mode of associated channel,
7063         documentation added.
7064         (getLocalSocketAddress): Better implementation.
7065         (getRemoteSocketAddress): Implemented.
7066         (isBound): New method.
7067         (setSendBufferSize): Documentation added.
7068         * java/net/SocketAddress.java: Added serialVersionsUID.
7069         * java/net/SocketPermission.java: Added serialVersionsUID.
7070         * java/net/URL.java
7071         (URL): Wrap for shorter lines, initialize new instance variables,
7072         documentation added.
7073         (equals): Check new instance variables too.
7074         (getContent): Documentation added.
7075         (getPath): Documentation added.
7076         (getAuthority): New method.
7077         (getHost): Documentation added.
7078         (getPort): Documentation added.
7079         (getDefaultPort): New method.
7080         (getProtocol): Documentation added.
7081         (getUserInfo): Documentation added.
7082         (set): Initialize new instance variables, documentation added.
7083         * java/net/URLStreamHandler.java
7084         (setURL): New method.
7085         * java/net/natPlainDatagramSocketImpl.cc
7086         (connect): Fix exception name.
7087         (disconnect): Fix exception name.
7088
7089 2002-09-25  Michael Koch  <konqueror@gmx.de>
7090
7091         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7092         * java/nio/channels/DatagramChannel.java:
7093         extends AbstractSelectableChannel
7094         * java/nio/channels/ServerSocketChannel.java:
7095         extends AbstractSelectableChannel
7096         * java/nio/channels/SocketChannel.java:
7097         extends AbstractSelectableChannel
7098         * Makefile.am (ordinary_java_source_files):
7099         java/nio/channels/spi/AbstractSelectableChannel.java added.
7100         * Makefile.in: Regenerated.
7101
7102 2002-09-25  Michael Koch  <konqueror@gmx.de>
7103
7104         * java/net/DatagramSocket.java
7105         (DatagramSocket): Exception documentation added.
7106         (bind): Exception documentation added, addded SecurityManager check,
7107         added SocketAddress type check.
7108         (getSoTimeout): Check impl.
7109         (receive): Fix SecurityManager check, check impl, documentation added.
7110         (send): Check channel mode, documentation added.
7111         (connect): New method.
7112         (disconnect): Implemented.
7113         (getLocalSocketAddress): New method.
7114         (getReceiveBufferSize): Check impl.
7115         (setReuseAddress): Check impl.
7116         (getReuseAddress): Check impl.
7117         (setBroadcast): Check impl.
7118         (getBroadcast): Check impl.
7119         (setTrafficClass): Check impl, Documentation cleared.
7120         (getTrafficClass): Check impl.
7121         (getSendBufferSize): Check impl.
7122         (setReceiveBufferSize): Check impl, documentation added.
7123         (setSendBufferSize): Documentation added.
7124         (setDatagramSocketImplFactory): New method.
7125         * java/net/HttpURLConnection.java
7126         (HTTP_INTERNAL_ERROR): The correct code is 500.
7127         (HTTP_NOT_IMPLEMENTED): Added new constant.
7128         (setFollowRedirects): Documentation added.
7129         (getInstanceFollowRedirects): New method.
7130         (setInstanceFollowRedirects): New method.
7131         (setRequestMethod): Documentation added.
7132         (getResponseCode): Documentation added.
7133         (getResponseMessage): Documentation added.
7134         * java/net/JarURLConnection.java
7135         (JarURLConnection): protected since JDK 1.4.
7136         (getJarEntry): java.io.IOException to IOException, documentation added.
7137         (getJarFile): Documentation added.
7138         * java/net/ServerSocket.java
7139         (ServerSocket): Private to public, exception added.
7140         (ServerSocket): java.io.IOException to IOException, documentation added.
7141         (bind): Check socket address type, documentation added.
7142         (bind): java.io.IOException to IOException, documentation added.
7143         (accept): Documentation added.
7144         (implAccept): Check ch is not non-blocking, documentation added.
7145         (setSoTimeout): Documentation fixed.
7146         (setReceiveBufferSize): Documentation added.
7147         * java/net/Socket.java
7148         (Socket): Documentation added.
7149         (bind): Documentation added.
7150         (connect): Check socket address type, documentation added.
7151         (getRemoteSocketAddress): New method.
7152         (getLocalSocketAddress): New method.
7153         (setSoLinger): Documentation added.
7154         (getReuseAddress): New method.
7155         (setReuseAddress): New method.
7156         (getTrafficClass): New method.
7157         (setTrafficClass): New method.
7158         * java/net/URLStreamHandler.java
7159         (openConnection): java.io.IOException to IOException.
7160         (parseURL): Documentation added.
7161         (sameFile): public to protected, documentation added.
7162         (setURL): Documentation added.
7163         * java/nio/IllegalBlockingModeException.java: New file.
7164         * Makefile.am (ordinary_java_source_files):
7165         added java/nio/IllegalBlockingModeException.java
7166         * Makefile.in: Regenerated.
7167
7168 2002-09-25  Michael Koch  <konqueror@gmx.de>
7169
7170         * java/net/DatagramPacket
7171         (DatagramPacket): Exception documentation added.
7172         (setData): Likewise.
7173         (setSocketAddress): Likewise.
7174         * java/net/DatagramSocketImpl.java
7175         (peek): Documentation addded.
7176         (peekData): Documentation addded.
7177         (send): Documentation addded.
7178         (receive): Documentation addded.
7179         (connect): New method.
7180         (disconnect): New method.
7181         (joinGroup): New abstract method.
7182         (leaveGroup): New abstract method.
7183         * java/net/InetSocketAddress.java
7184         (InetSocketAddress): Documentation added.
7185         (equals): final keyword added.
7186         (getAddress): final keyword added.
7187         (getHostName): final keyword added.
7188         (getPort): final keyword added.
7189         (hashCode): final keyword added.
7190         (isUnresolved): final keyword added.
7191         * java/net/MulticastSocket.java
7192         (MulticastSocket): Documentation added.
7193         (MulticastSocket): New method.
7194         (joinGroup): Documentation added.
7195         (joinGroup): New method.
7196         (leaveGroup): Documentation added.
7197         (leaveGroup): New method.
7198         (send): Documentation added.
7199         * java/net/NetworkInterface.java
7200         (getByName): Documentation added.
7201         (getByInetAddress): Documentation added.
7202         (getNetworkInterfaces): Documentation added.
7203         * java/net/PlainDatagramSocketImpl.java
7204         (connect): New method.
7205         (disconnect): New method.
7206         * java/net/SocketImpl.java
7207         (create): Documentation added.
7208         (shutdownInput): Convert public to protected, as it always was.
7209         (shutdownOutput): Convert public to protected, as it always was.
7210         * java/net/SocketOptions.java
7211         (whole file): Reintented.
7212         * java/net/URLClassLoader.java
7213         (URLClassLoader): SecurityManager check added, documentation added.
7214         (findResources): Documentation added.
7215         (findClass): Documentation added.
7216         (newInstance): More correct method arguments.
7217         * java/net/URLConnection.java
7218         (connect): Documentation added.
7219         (getContent): Documentation added.
7220         (getPermission): Documentation added.
7221         (getInputStream): Documentation added.
7222         (getOutputStream): Documentation added.
7223         (setDoInput): Throw correct exception, documentation added.
7224         (setDoOutput): Throw correct exception, documentation added.
7225         (setAllowUserInteraction): Throw correct exception, documentation added.
7226         (setUseCaches): Throw correct exception, documentation added.
7227         (setIfModifiedSince): Throw correct exception, documentation added.
7228         (setRequestProperty): Throw exception, documentation added.
7229         (addRequestProperty): Throw exception, documentation added.
7230         (getRequestProperty): Throw exception, documentation added.
7231         (getRequestProperties): Documentation added.
7232         (setContentHandlerFactory): Documentation added.
7233         (guessContentTypeFromName): protected to public.
7234         (setFileNameMap): Documentation added.
7235         * java/net/URLDecoder.java
7236         (URLDecoder): New method.
7237         (decode): Documentation added.
7238         (whole file): Reindented.
7239         * java/net/URLEncoder.java
7240         (encode): Documentation added.
7241         * java/net/natPlainDatagramSocketImpl.cc
7242         (connect): New method.
7243         (disconnect): New method.
7244         * javax/naming/RefAddr:
7245         (addrType): addrType was never final.
7246         (equals): Fix typo in method name.
7247         * javax/naming/BinaryRefAddr:
7248         (equals): Fix typo in method name.
7249
7250 2002-09-22  Tom Tromey  <tromey@redhat.com>
7251
7252         Fix for PR libgcj/6576:
7253         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7254         didn't find a given bundle.
7255         (getBundle): Don't require base bundle.
7256         (setParent): Removed old comment.
7257         (tryLocalBundle): Try components even if preceding components were
7258         empty.
7259
7260 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7261
7262         * Makefile.am (all-multi): Fix multilib parallel build.
7263
7264 2002-09-21  Michael Koch  <konqueror@gmx.de>
7265
7266         * java/net/Socket.java
7267         (sendUrgentData): New method.
7268         (getChannel): New method.
7269         * java/net/ServerSocket.java
7270         (getChannel): New method.
7271         (isBound): New method.
7272         * java/net/DatagramSocket.java
7273         (DatagramSocket): Two new methods.
7274         (bind): New method.
7275         (getChannel): New method.
7276         (isBound): New method.
7277         (send): Added newline to to make shorter lines.
7278         * java/net/PlainDatagramSocketImpl.java
7279         (mcastGrp): Added argument.
7280         (join): Use new mcastGrp.
7281         (leave): Use new mcastGrp.
7282         (joinGroup): New method.
7283         (leaveGroup): New method.
7284         * java/net/natPlainDatagramSocketImpl.cc
7285         (mcastGrp): Added argument, no yet really implemented.
7286         (getOption): Added newline for shorter lines.
7287         * java/net/natPlainSocketImpl.cc
7288         (read, setOption, getOption): Added newline for shorter lines.
7289
7290 2002-09-19  Tom Tromey  <tromey@redhat.com>
7291
7292        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7293        newly-created exception.
7294
7295 2002-09-18  Michael Koch  <konqueror@gmx.de>
7296
7297         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7298         java/util/regex/PatternSyntaxException.java:
7299         Merge with classpath, new files.
7300         * Makefile.am (core_java_source_files):
7301         Added java/util/regex/Matcher.java,
7302         java/util/regex/Pattern.java,
7303         java/util/regex/PatternSyntaxException.java
7304         * Makefile.in: Regenerated.
7305         * include/config.h.in: Added HAVE_NET_IF_H.
7306         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7307         Removed #if 0 ... #endif.
7308
7309 2002-09-17  Michael Koch  <konqueror@gmx.de>
7310
7311         * java/net/natNetworkInterface.cc:
7312         Removed unneed and yet wrong includes.
7313
7314 2002-09-17  Michael Koch  <konqueror@gmx.de>
7315
7316         * java/net/NetworkInterface.java: New file.
7317         * java/net/natNetworkInterface.java: New file.
7318         * configure.in: Added check for net/if.h.
7319         * configure: Regenerated.
7320         * Makefile.am
7321         (ordinary_java_source_files): Added NetworkInterface.java.
7322         (nat_source_files): Added natNetworkInterface.cc.
7323         * Makefile.in: Regenerated.
7324
7325 2002-09-16  Tom Tromey  <tromey@redhat.com>
7326
7327         * java/net/URLClassLoader.java (findClass): Code source for a
7328         class from a jar is not necessarily a jar: URL.
7329
7330 2002-09-16  Michael Koch  <konqueror@gmx.de>
7331
7332         * java/lang/AssertionError.java:
7333         Merge with classpath, fixes HTML.
7334         * java/rmi/server/LogStream.java:
7335         Merge with classpath, fixes some constants.
7336         * java/net/server/RemoteServer.java:
7337         Merge with classpath, adds serialVersionUID.
7338         * javax/naming/BinaryRefAddr.java:
7339         Merge with classpath, s/equal/equals/.
7340         * javax/naming/NamingException.java:
7341         Merge with classpath, fixed typo.
7342         * javax/naming/RefAddr.java:
7343         Merge with classpath, s/equal/equals/.
7344         * java/awt/Toolkit.java:
7345         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7346         and typo fixed.
7347
7348 2002-09-15  Adam Megacz <adam@xwt.org>
7349
7350         * java/net/natPlainSocketImpl.cc: fixed typo.
7351
7352 2002-09-15  Adam Megacz <adam@xwt.org>
7353
7354         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7355         which don't work on Win32 (yet).
7356
7357 2002-09-14  Adam Megacz <adam@xwt.org>
7358
7359         * java/net/natPlainDatagramSocket.cc: removed #include
7360         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7361         * include/win32.h: included definition for IP_TOS to satisfy
7362         natPlainDatagramSocket.cc
7363
7364 2002-09-13  Michael Koch  <konqueror@gmx.de>
7365
7366         * java/net/DatagramPacket.java (DatagramPacket):
7367         Added linebreak for 80 chars per line.
7368         * java/net/JarURLConection.java
7369         (getInputStreami, getJarEntry): Likewise.
7370         * java/net/SocketPErmission.java
7371         (SocketPermission class docu, implies): Likewise.
7372         * java/net/URLClassLoader.java (findResources): Likewise.
7373         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7374
7375 2002-09-13  Michael Koch  <konqueror@gmx.de>
7376
7377         * java/nio/channels/DatagramChannel.java,
7378         java/nio/channels/ServerSocketChannel.java
7379         java/nio/channels/SocketChannel.java:
7380         New dummy files to make java.net fully JDK 1.4 compatible
7381         * Makefile.am (ordinary_java_source_files): Added
7382         java/net/DatagramSocketImplFactory.java (long forgotten),
7383         java/nio/SocketChannel.java,
7384         java/nio/ServerSocketChannel.java,
7385         java/nio/DatagramChannel.java
7386         * Makefile.in: Regenrated.
7387
7388 2002-09-12  Michael Koch  <konqueror@gmx.de>
7389
7390         * java/net/DatagramSocketImpl.java
7391         (peekData): New method.
7392         * java/net/PlainDatagramSocketImpl.java
7393         (peekData): New method.
7394         * java/net/natPlainDatagramSocketImpl.cc
7395         (peekData): New method.
7396         * java/net/URLConnection
7397         (getPermission): New method.
7398         (addRequestProperty): New method.
7399         (getRequestProperties): New method.
7400         (guessContentTypeFromStream): New method, not really implemented.
7401         (URLConnection): Added/updated documentation.
7402         (connect): Added/updated documentation.
7403         (getURL): Added/updated documentation.
7404         (getContentLength): Added/updated documentation.
7405         (getContentType: Added/updated documentation.
7406         (getContentEncoding): Added/updated documentation.
7407         (getExpiration): Added/updated documentation.
7408         (getDate): Added/updated documentation.
7409         (getLastModified): Added/updated documentation.
7410         (getHeaderField): Added/updated documentation.
7411         (getHeaderFields): Added/updated documentation.
7412         (getHeaderFieldInt): Added/updated documentation.
7413         (getHeaderFieldDate): Added/updated documentation.
7414         (getHeaderFieldKey): Added/updated documentation.
7415         (getContent): Added/updated documentation.
7416         (getInputStream): Added/updated documentation.
7417         (getOutputStream): Added/updated documentation.
7418         (toString): Added/updated documentation.
7419         (setDoInput): Added/updated documentation.
7420         (getDoInput): Added/updated documentation.
7421         (setDoOutput): Added/updated documentation.
7422         (getDoOutput): Added/updated documentation.
7423         (setAllowUserInteraction): Added/updated documentation.
7424         (getAllowUserInteraction): Added/updated documentation.
7425         (setDefaultAllowUserInteraction): Added/updated documentation.
7426         (getDefaultAllowUserInteraction): Added/updated documentation.
7427         (setUseCaches): Added/updated documentation.
7428         (getUseCaches): Added/updated documentation.
7429         (setIfModifiedSince): Added/updated documentation.
7430         (getIfModifiedSince): Added/updated documentation.
7431         (getDefaultUseCaches): Added/updated documentation.
7432         (setDefaultUseCaches): Added/updated documentation.
7433         (setRequestProperty): Added/updated documentation.
7434         (getRequestProperty): Added/updated documentation.
7435         (setDefaultRequestProperty): Added/updated documentation.
7436         (getDefaultRequestProperty): Added/updated documentation.
7437         (setContentHandlerFactory): Added/updated documentation.
7438         (guessContentTypeFromName): Added/updated documentation.
7439         (getFileNameMap): Added/updated documentation.
7440         (setFileNameMap): Added/updated documentation.
7441
7442 2002-09-11  Michael Koch  <konqueror@gmx.de>
7443
7444         * java/net/Socket.java
7445         (Socket): protected to public (since JDK 1.4). Added @specnote.
7446         (bind): New method.
7447         (connect): Two new methods.
7448         (getKeepalive): Get correct socket option.
7449         (setKeepalive): Set correct socket option.
7450         (getOOBInline): New method.
7451         (setOOBInline): New method.
7452         * java/net/ServerSocket.java
7453         (bind): Two new methods.
7454         (getInetAddress): Reimplemented, catch exception.
7455         (getLocalSocketAddress): New method.
7456         (setReuseAddress): New method.
7457         (getReuseAdress): New method.
7458         (setReceiveBufferSize): New method.
7459         (getReceiveBufferSize): New method.
7460         (toString): Made string JDK 1.4 compliant.
7461
7462 2002-09-10  Michael Koch  <konqueror@gmx.de>
7463
7464         * java/net/SocketImpl.java
7465         (connect): New method.
7466         (supportsUrgentData): New method.
7467         (sendUrgentData): New method.
7468         * java/net/PlainSocketImpl.java
7469         (connect): One new method and two new implementation.
7470         (sendUrgentData): New method.
7471         * java/natPlainSocketImpl.cc
7472         (connect): Arguments changed, added support for timeouts.
7473         (getOption): Another __java_boolean to jboolean.
7474
7475 2002-09-07  Adam Megacz <adam@xwt.org>
7476
7477         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7478         definition of IP_TOS.
7479
7480 2002-09-04  Michael Koch  <konqueror@gmx.de>
7481
7482         * java/net/DatagramSocket.java
7483         (DatagramSocket): Added documentation.
7484         (close): Likewise.
7485         (getLocalAddress): Likewise.
7486         (getLocalPort): Likewise.
7487         (receive): Likewise.
7488         (send): Likewise.
7489         (setSoTimeout): Likewise.
7490         (connect): New method.
7491         (disconnect): New method.
7492         (getInetAddress): New method (FIXME)
7493         (getPort): New method.
7494         (setReuseAddress): New method.
7495         (getReuseAddress): New method.
7496         (setBroadcast): New method.
7497         (getBroadcast): New method.
7498         (setTrafficClass): New method.
7499         (getTrafficClass): New method.
7500         * java/net/MulticastSocket.java):
7501         (getTTL): Added @see in documentation.
7502         (setTTL): Added @see in documentation.
7503         (setLoopbackMode): New method.
7504         (getLoopbackMode): New method.
7505         * java/net/PlainSocketImpl.java:
7506         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7507         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7508         * java/net/PlainDatagramSocketImpl.java
7509         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7510         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7511         * java/net/natPlainSocketImpl.cc
7512         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7513         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7514         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7515         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7516         This should also fix SO_KEEPALIVE
7517         * java/net/natPlainDatagramSocketImpl.cc
7518         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7519         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7520         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7521         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7522
7523 2002-09-04  Michael Koch  <konqueror@gmx.de>
7524
7525         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7526         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7527         IP_MULTICAST_LOOP, IP_TOS
7528
7529 2002-09-03  Tom Tromey  <tromey@redhat.com>
7530
7531         * java/lang/Class.h (_getDeclaredMethod): Declare.
7532         (_getMethod): Now private.
7533         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7534         getDeclaredMethod.  Now returns NULL on failure.
7535         * java/lang/Class.java (_getDeclaredMethod): Declare.
7536         (getDeclaredMethod): No longer native; implements access checks.
7537
7538 2002-09-01  Mark Wielaard  <mark@klomp.org>
7539
7540         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7541         (sanitizeStack): Correctly reset unknown and interpreter counters,
7542         detect interpreter runtime frames.
7543         (demangleInterpreterMethod): New method.
7544         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7545         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7546         filling in addrs[].
7547
7548 2002-09-02  Michael Koch  <konqueror@gmx.de>
7549
7550         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7551         re-indented documentation.
7552
7553 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7554
7555         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7556         public, per 1.4 spec.  Fixes PR libgcj/7785.
7557
7558 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7559
7560         * Makefile.in: Rebuilt.
7561         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7562
7563 2002-08-29  Tom Tromey  <tromey@redhat.com>
7564
7565         * java/net/JarURLConnection.java (getCertificates): New method
7566         from Classpath.
7567         * java/net/URLClassLoader.java (URLClassLoader): Extends
7568         SecureClassLoader.
7569         (definePackage): New method from Classpath.
7570         (getPermissions): Likewise.
7571         (newInstance): Likewise.
7572         (findClass): Construct CodeSource for new class (from Classpath).
7573         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7574         methods.
7575         * java/net/URL.java (getUserInfo): New method.
7576         (set(String,String,int,String,String,String,String,String)): New
7577         method.
7578         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7579         (shutdownInput, shutdownOutput): Declare.
7580         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7581         Define.
7582         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7583         (getOption): Likewise.
7584         (shutdownInput): New method.
7585         (shutdownOutput): Likewise.
7586         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7587         keepalive.
7588         (getOption): Likewise.
7589         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7590         * java/net/Socket.java (setKeepAlive): New method.
7591         (getKeepAlive): Likewise.
7592         (shutdownInput, shutdownOutput): New methods.
7593
7594 2002-08-29  Michael Koch  <konqueror@gmx.de>
7595
7596         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7597         new methods are:
7598         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7599           address),
7600         DatagramPacket(byte[] buf, int length, SocketAddress address),
7601         void setSocketAddress(SocketAddress address)
7602         public SocketAddress getSocketAddress()
7603
7604 2002-08-29  Tom Tromey  <tromey@redhat.com>
7605
7606         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7607         ftruncate is missing.
7608         * configure, include/config.h.in: Rebuilt.
7609         * acconfig.h (HAVE_FTRUNCATE): Mention.
7610         * configure.in: Check for ftruncate.
7611
7612 2002-08-29  Tom Tromey  <tromey@redhat.com>
7613
7614         * include/jvm.h (struct _Jv_frame_info): New structure.
7615         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7616         java-interp.h.
7617         (lookupInterp): New method.
7618         (getAddrAsString): Use _Jv_frame_info.
7619         (dladdrLookup): Likewise.
7620         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7621         interpreted frame.
7622         (lookupInterp): Declare.
7623         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7624         (fillInStackTrace): Collect information on interpreted frames.
7625         Use _Jv_frame_info.
7626         * interpret.cc: Include Thread.h.
7627         (run): Create and push _Jv_MethodChain object.
7628         (_Jv_EndOfInterpreter): New global.
7629         * java/lang/Thread.java (interp_frame): New field.
7630         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7631         Include NameFinder.h.
7632
7633 2002-08-28  Tom Tromey  <tromey@redhat.com>
7634
7635         * java/lang/Class.h: Include Package.h.
7636         (Class::getProtectionDomain): Declare.
7637         (Class::getPackage): Declare.
7638
7639 2002-08-28  Michael Koch <konqueror@gmx.de>
7640
7641         * java/net/InetSocketAddress.java: Added some documentation and argument
7642         checks for the port numbers.
7643         * java/net/DatagramSocketImplFactory.java: New file.
7644
7645 2002-08-28  Michael Koch <konqueror@gmx.de>
7646
7647         * java/net/Authenticator.java: added some documentation.
7648
7649 2002-08-27  Tom Tromey  <tromey@redhat.com>
7650
7651         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7652         class.
7653         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7654
7655 2002-08-27  Michael Koch <konqueror@gmx.de>
7656
7657         * java/net/BindException.java,
7658         java/net/JarURLConnection.java,
7659         java/net/FileNameMap.java,
7660         java/net/HttpURLConnection.java,
7661         java/net/InetSocketAddress.java,
7662         java/net/DatagramPacket.java,
7663         java/net/DatagramSocket.java,
7664         java/net/DatagramSocketImpl.java,
7665         java/net/MulticastSocket.java,
7666         java/net/PasswordAuthentication.java,
7667         java/net/ServerSocket.java,
7668         java/net/Socket.java,
7669         java/net/URLClassLoader.java,
7670         java/net/URLConnection.java: add/update of some @since/@deprecated
7671
7672 2002-08-27  Tony Kimball <alk@pobox.com>
7673             Tom Tromey  <tromey@redhat.com>
7674
7675         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7676         define.
7677         (::close): Removed.
7678         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7679         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7680         (::close): Removed.
7681         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7682         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7683
7684 2002-08-25  Adam Megacz <adam@xwt.org>
7685
7686         * include/win32.h (getcwd): copied function declaration as
7687         temporary fix for header confusion.
7688
7689 2002-08-24  Mark Wielaard <mark@klomp.org>
7690
7691         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7692         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7693         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7694         and natNameFinder.cc.
7695         * Makefile.in: Regenerate.
7696         * prims.cc: Use trace_enabled from VMThrowable.
7697         * name-finder.cc: Removed.
7698         * gcj/javaprims.h: Add class VMThrowable.
7699         * gnu/gcj/runtime/NameFinder.java: New file.
7700         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7701         * include/name-finder.h: Removed.
7702         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7703         method stackTraceString().
7704         (printStackTrace (PrintWriter)): Likewise.
7705         (stackTraceString): Complete rewrite of old printStackTrace using
7706         StringBuffer.
7707         (stackTraceStringBuffer): New helper method for stackTraceString().
7708         (fillInStackTrace): Delegate to VMTrowable.
7709         (getStackTrace): Likewise.
7710         (getStackTrace0): Removed.
7711         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7712         (setStackTrace): Copy given array.
7713         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7714         * java/lang/VMThrowable.java: New class.
7715         * java/lang/natVMThrowable.cc: New file.
7716
7717 2003-08-23  Michael Koch  <konqueror@gmx.de>
7718
7719         * java/net/URLConnection.java,
7720         java/netJarURLConnection.java,
7721         gnu/gcj/protocol/core/Connection.java,
7722         gnu/gcj/protocol/file/Connection.java,
7723         gnu/gcj/protocol/http/Connection.java: Added implementation of
7724         getHeaderFields().
7725
7726 2002-08-22  Tom Tromey  <tromey@redhat.com>
7727
7728         * gij.cc (help): Document -cp and -classpath.
7729         (main): Handle -classpath.
7730
7731 2002-08-21  Tom Tromey  <tromey@redhat.com>
7732
7733         * Makefile.in: Rebuilt.
7734         * Makefile.am (ordinary_java_source_files): Added
7735         SocketAddress.java, InetSocketAddress.java.
7736         * java/net/PortUnreachableException.java: Merged with Classpath.
7737         * java/net/SocketTimeoutException.java: Likewise.
7738         * java/net/URISyntaxException.java: Likewise.
7739         * java/net/SocketAddress.java: New class from Classpath.
7740         * java/net/InetSocketAddress.java: Likewise.
7741
7742 2003-08-21  Michael Koch  <konqueror@gmx.de>
7743
7744         * java/net/Authenticator.java: updated JDK 1.4
7745         * java/net/ContentHandler.java: updated JDK 1.4
7746
7747 2002-08-20  Michael Koch  <konqueror@gmx.de>
7748
7749         * java/net/URISyntaxException.java: New file.
7750         * java/net/SocketTimeoutException.java: New file.
7751         * java/net/PortUnreachableException.java: New file.
7752         * Makefile.am: Updated.
7753         * Makefile.in: Rebuilt.
7754
7755 2002-08-18  Mark Wielaard  <mark@klomp.org>
7756
7757         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7758         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7759         MessageDigestSpi (fixes Classpath bug #783).
7760
7761 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7762
7763         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7764         (startProcess): Allocate path for chdir in async-signal-safe way.
7765
7766 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7767
7768         Fix for PR libgcj/7570 and PR libgcj/7578:
7769         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7770         (startProcess): Handle new `dir' argument.
7771         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7772         argument.
7773         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7774         argument.
7775         (startProcess): Likewise.
7776         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7777         argument.
7778         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7779         (exec): Don't create new environment if ENV==null.  Pass DIR to
7780         execInternal.
7781         * java/lang/natRuntime.cc: Include java/io/File.h.
7782         (execInternal): Added `dir' argument.
7783
7784 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7785
7786         * java/io/RandomAccessFile.java (skipBytes): Return number of
7787         bytes skipped.
7788
7789 2002-08-01  Mark Wielaard  <mark@klomp.org>
7790
7791         Reenable patch since shared library troubles on powerpc are solved:
7792         * gnu/java/security/provider/Gnu.java: Reference all implementation
7793         classes by using Class.getName().
7794         * gnu/java/security/der/DEREncodingException.java,
7795         gnu/java/security/provider/DERReader.java,
7796         gnu/java/security/provider/DERWriter.java,
7797         gnu/java/security/provider/DSAKeyPairGenerator.java,
7798         gnu/java/security/provider/DSAParameterGenerator.java,
7799         gnu/java/security/provider/DSAParameters.java,
7800         gnu/java/security/provider/DSASignature.java,
7801         gnu/java/security/provider/GnuDSAPrivateKey.java,
7802         gnu/java/security/provider/GnuDSAPublicKey.java,
7803         gnu/java/security/provider/MD5.java,
7804         gnu/java/security/util/Prime.java: New classes
7805         * Makefile.am (ordinary_java_source_files): Add above files.
7806         * Makefile.in: Regenerate.
7807         * gnu/java/security/provider/DefaultPolicy.java
7808         (getPermissions): Don't maintain static class variable of Permissions.
7809         * gnu/java/security/provider/SHA.java
7810         (engineUpdate): algorithm change.
7811         (engineDigest): algorithm change.
7812
7813 2002-08-09  Mark Wielaard  <mark@klomp.org>
7814
7815         * java/awt/image/MemoryImageSource.java: Change constructor to take
7816         int[] not byte[].
7817         * java/awt/Graphics2D.java: Uncomment methods that can now be
7818         compiled.
7819         * java/awt/GridBagLayout.java: New stub implementation.
7820         * javax/swing/text/html/HTML.java: Stub implementation.
7821         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7822         implementation.
7823
7824         * Makefile.am: Add new files.
7825         * Makefile.in: Rebuilt.
7826
7827 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7828
7829         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7830         methods in Graphics2D.
7831
7832 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7833
7834         AWT/Swing merge from GNU Classpath.
7835
7836         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7837         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7838         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7839         java/awt/color/ProfileDataException.java,
7840         java/awt/CompositeContext.java, java/awt/Composite.java,
7841         java/awt/ContainerOrderFocusTraversalPolicy.java,
7842         java/awt/datatransfer/FlavorTable.java,
7843         java/awt/DefaultFocusTraversalPolicy.java,
7844         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7845         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7846         java/awt/dnd/DragGestureListener.java,
7847         java/awt/dnd/DragGestureRecognizer.java,
7848         java/awt/dnd/DragSourceAdapter.java,
7849         java/awt/dnd/DragSourceContext.java,
7850         java/awt/dnd/DragSourceDragEvent.java,
7851         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7852         java/awt/dnd/DragSourceListener.java,
7853         java/awt/dnd/DragSourceMotionListener.java,
7854         java/awt/dnd/DropTarget.java,
7855         java/awt/dnd/InvalidDnDOperationException.java,
7856         java/awt/dnd/peer/DragSourceContextPeer.java,
7857         java/awt/event/AWTEventListenerProxy.java,
7858         java/awt/event/MouseWheelEvent.java,
7859         java/awt/event/MouseWheelListener.java,
7860         java/awt/event/WindowFocusListener.java,
7861         java/awt/event/WindowStateListener.java,
7862         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7863         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7864         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7865         java/awt/geom/FlatteningPathIterator.java,
7866         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7867         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7868         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7869         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7870         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7871         java/awt/image/ImagingOpException.java,
7872         java/awt/image/RasterFormatException.java,
7873         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7874         java/awt/image/VolatileImage.java,
7875         java/awt/image/WritableRenderedImage.java,
7876         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7877         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7878         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7879         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7880         java/awt/PageAttributes.java, java/awt/print/Book.java,
7881         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7882         java/awt/print/Paper.java, java/awt/print/Printable.java,
7883         java/awt/print/PrinterAbortException.java,
7884         java/awt/print/PrinterException.java,
7885         java/awt/print/PrinterGraphics.java,
7886         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7887         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7888         java/awt/Stroke.java, java/awt/TexturePaint.java,
7889         javax/accessibility/AccessibleAction.java,
7890         javax/accessibility/AccessibleBundle.java,
7891         javax/accessibility/AccessibleComponent.java,
7892         javax/accessibility/AccessibleContext.java,
7893         javax/accessibility/AccessibleEditableText.java,
7894         javax/accessibility/AccessibleExtendedComponent.java,
7895         javax/accessibility/AccessibleExtendedTable.java,
7896         javax/accessibility/AccessibleHyperlink.java,
7897         javax/accessibility/AccessibleHypertext.java,
7898         javax/accessibility/AccessibleIcon.java,
7899         javax/accessibility/Accessible.java,
7900         javax/accessibility/AccessibleKeyBinding.java,
7901         javax/accessibility/AccessibleRelation.java,
7902         javax/accessibility/AccessibleRelationSet.java,
7903         javax/accessibility/AccessibleResourceBundle.java,
7904         javax/accessibility/AccessibleRole.java,
7905         javax/accessibility/AccessibleSelection.java,
7906         javax/accessibility/AccessibleState.java,
7907         javax/accessibility/AccessibleStateSet.java,
7908         javax/accessibility/AccessibleTable.java,
7909         javax/accessibility/AccessibleTableModelChange.java,
7910         javax/accessibility/AccessibleText.java,
7911         javax/accessibility/AccessibleValue.java,
7912         javax/swing/AbstractAction.java,
7913         javax/swing/AbstractButton.java,
7914         javax/swing/AbstractCellEditor.java,
7915         javax/swing/AbstractListModel.java,
7916         javax/swing/AbstractSet.java, javax/swing/Action.java,
7917         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7918         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7919         javax/swing/border/CompoundBorder.java,
7920         javax/swing/border/EmptyBorder.java,
7921         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7922         javax/swing/border/LineBorder.java,
7923         javax/swing/border/MatteBorder.java,
7924         javax/swing/border/TitledBorder.java,
7925         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7926         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7927         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7928         javax/swing/CellRendererPane.java,
7929         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7930         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7931         javax/swing/colorchooser/ColorSelectionModel.java,
7932         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7933         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7934         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7935         javax/swing/DefaultBoundedRangeModel.java,
7936         javax/swing/DefaultButtonModel.java,
7937         javax/swing/DefaultCellEditor.java,
7938         javax/swing/DefaultCellRenderer.java,
7939         javax/swing/DefaultComboBoxModel.java,
7940         javax/swing/DefaultDesktopManager.java,
7941         javax/swing/DefaultFocusManager.java,
7942         javax/swing/DefaultListCellRenderer.java,
7943         javax/swing/DefaultListModel.java,
7944         javax/swing/DefaultListSelectionModel.java,
7945         javax/swing/DefaultSingleSelectionModel.java,
7946         javax/swing/DesktopManager.java,
7947         javax/swing/event/AncestorEvent.java,
7948         javax/swing/event/AncestorListener.java,
7949         javax/swing/event/CaretEvent.java,
7950         javax/swing/event/CaretListener.java,
7951         javax/swing/event/CellEditorListener.java,
7952         javax/swing/event/ChangeEvent.java,
7953         javax/swing/event/ChangeListener.java,
7954         javax/swing/event/DocumentEvent.java,
7955         javax/swing/event/DocumentListener.java,
7956         javax/swing/event/EventListenerList.java,
7957         javax/swing/event/HyperlinkEvent.java,
7958         javax/swing/event/HyperlinkListener.java,
7959         javax/swing/event/InternalFrameAdapter.java,
7960         javax/swing/event/InternalFrameEvent.java,
7961         javax/swing/event/InternalFrameListener.java,
7962         javax/swing/event/ListDataEvent.java,
7963         javax/swing/event/ListDataListener.java,
7964         javax/swing/event/ListSelectionEvent.java,
7965         javax/swing/event/ListSelectionListener.java,
7966         javax/swing/event/MenuDragMouseEvent.java,
7967         javax/swing/event/MenuDragMouseListener.java,
7968         javax/swing/event/MenuEvent.java,
7969         javax/swing/event/MenuKeyEvent.java,
7970         javax/swing/event/MenuKeyListener.java,
7971         javax/swing/event/MenuListener.java,
7972         javax/swing/event/MouseInputAdapter.java,
7973         javax/swing/event/MouseInputListener.java,
7974         javax/swing/event/PopupMenuEvent.java,
7975         javax/swing/event/PopupMenuListener.java,
7976         javax/swing/event/SwingPropertyChangeSupport.java,
7977         javax/swing/event/TableColumnModelEvent.java,
7978         javax/swing/event/TableColumnModelListener.java,
7979         javax/swing/event/TableModelEvent.java,
7980         javax/swing/event/TableModelListener.java,
7981         javax/swing/event/TreeExpansionEvent.java,
7982         javax/swing/event/TreeExpansionListener.java,
7983         javax/swing/event/TreeModelEvent.java,
7984         javax/swing/event/TreeModelListener.java,
7985         javax/swing/event/TreeSelectionEvent.java,
7986         javax/swing/event/TreeSelectionListener.java,
7987         javax/swing/event/TreeWillExpandListener.java,
7988         javax/swing/event/UndoableEditEvent.java,
7989         javax/swing/event/UndoableEditListener.java,
7990         javax/swing/filechooser/FileFilter.java,
7991         javax/swing/filechooser/FileSystemView.java,
7992         javax/swing/filechooser/FileView.java,
7993         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
7994         javax/swing/Icon.java, javax/swing/ImageIcon.java,
7995         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
7996         javax/swing/JApplet.java, javax/swing/JButton.java,
7997         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7998         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7999         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8000         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8001         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8002         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8003         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8004         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8005         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8006         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8007         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8008         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8009         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8010         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8011         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8012         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8013         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8014         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8015         javax/swing/JToolTip.java, javax/swing/JTree.java,
8016         javax/swing/JViewport.java, javax/swing/JWindow.java,
8017         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8018         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8019         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8020         javax/swing/MenuSelectionManager.java,
8021         javax/swing/MutableComboBoxModel.java,
8022         javax/swing/OverlayLayout.java,
8023         javax/swing/plaf/ActionMapUIResource.java,
8024         javax/swing/plaf/basic/BasicBorders.java,
8025         javax/swing/plaf/basic/BasicButtonUI.java,
8026         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8027         javax/swing/plaf/basic/BasicDefaults.java,
8028         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8029         javax/swing/plaf/basic/BasicIconFactory.java,
8030         javax/swing/plaf/basic/BasicLabelUI.java,
8031         javax/swing/plaf/basic/BasicListUI.java,
8032         javax/swing/plaf/basic/BasicLookAndFeel.java,
8033         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8034         javax/swing/plaf/basic/BasicPanelUI.java,
8035         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8036         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8037         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8038         javax/swing/plaf/basic/BasicTextUI.java,
8039         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8040         javax/swing/plaf/basic/BasicTreeUI.java,
8041         javax/swing/plaf/basic/BasicViewportUI.java,
8042         javax/swing/plaf/BorderUIResource.java,
8043         javax/swing/plaf/ButtonUI.java,
8044         javax/swing/plaf/ColorChooserUI.java,
8045         javax/swing/plaf/ColorUIResource.java,
8046         javax/swing/plaf/ComboBoxUI.java,
8047         javax/swing/plaf/ComponentInputMapUIResource.java,
8048         javax/swing/plaf/ComponentUI.java,
8049         javax/swing/plaf/DesktopIconUI.java,
8050         javax/swing/plaf/DesktopPaneUI.java,
8051         javax/swing/plaf/DimensionUIResource.java,
8052         javax/swing/plaf/FileChooserUI.java,
8053         javax/swing/plaf/FontUIResource.java,
8054         javax/swing/plaf/IconUIResource.java,
8055         javax/swing/plaf/InputMapUIResource.java,
8056         javax/swing/plaf/InsetsUIResource.java,
8057         javax/swing/plaf/InternalFrameUI.java,
8058         javax/swing/plaf/LabelUI.java,
8059         javax/swing/plaf/ListUI.java,
8060         javax/swing/plaf/MenuBarUI.java,
8061         javax/swing/plaf/MenuItemUI.java,
8062         javax/swing/plaf/OptionPaneUI.java,
8063         javax/swing/plaf/PanelUI.java,
8064         javax/swing/plaf/PopupMenuUI.java,
8065         javax/swing/plaf/ProgressBarUI.java,
8066         javax/swing/plaf/RootPaneUI.java,
8067         javax/swing/plaf/ScrollBarUI.java,
8068         javax/swing/plaf/ScrollPaneUI.java,
8069         javax/swing/plaf/SeparatorUI.java,
8070         javax/swing/plaf/SliderUI.java,
8071         javax/swing/plaf/SplitPaneUI.java,
8072         javax/swing/plaf/TabbedPaneUI.java,
8073         javax/swing/plaf/TableHeaderUI.java,
8074         javax/swing/plaf/TableUI.java,
8075         javax/swing/plaf/TextUI.java,
8076         javax/swing/plaf/ToolBarUI.java,
8077         javax/swing/plaf/ToolTipUI.java,
8078         javax/swing/plaf/TreeUI.java,
8079         javax/swing/plaf/UIResource.java,
8080         javax/swing/plaf/ViewportUI.java,
8081         javax/swing/ProgressMonitorInputStream.java,
8082         javax/swing/ProgressMonitor.java,
8083         javax/swing/Renderer.java,
8084         javax/swing/RepaintManager.java,
8085         javax/swing/RootPaneContainer.java,
8086         javax/swing/Scrollable.java,
8087         javax/swing/ScrollPaneConstants.java,
8088         javax/swing/ScrollPaneLayout.java,
8089         javax/swing/SingleSelectionModel.java,
8090         javax/swing/SizeRequirements.java,
8091         javax/swing/SizeSequence.java,
8092         javax/swing/SwingConstants.java,
8093         javax/swing/SwingUtilities.java,
8094         javax/swing/table/AbstractTableModel.java,
8095         javax/swing/table/DefaultTableCellRenderer.java,
8096         javax/swing/table/DefaultTableColumnModel.java,
8097         javax/swing/table/DefaultTableModel.java,
8098         javax/swing/table/TableCellEditor.java,
8099         javax/swing/table/TableCellRenderer.java,
8100         javax/swing/table/TableColumn.java,
8101         javax/swing/table/TableColumnModel.java,
8102         javax/swing/table/TableModel.java,
8103         javax/swing/text/AbstractDocument.java,
8104         javax/swing/text/AttributeSet.java,
8105         javax/swing/text/BadLocationException.java,
8106         javax/swing/text/Caret.java,
8107         javax/swing/text/CharacterIterator.java,
8108         javax/swing/text/ComponentView.java,
8109         javax/swing/text/DefaultCaret.java,
8110         javax/swing/text/DefaultEditorKit.java,
8111         javax/swing/text/Document.java,
8112         javax/swing/text/EditorKit.java,
8113         javax/swing/text/Element.java,
8114         javax/swing/text/GapContent.java,
8115         javax/swing/text/JTextComponent.java,
8116         javax/swing/text/Keymap.java,
8117         javax/swing/text/MutableAttributeSet.java,
8118         javax/swing/text/PlainDocument.java,
8119         javax/swing/text/PlainEditorKit.java,
8120         javax/swing/text/Position.java,
8121         javax/swing/text/Segment.java,
8122         javax/swing/text/StyledDocument.java,
8123         javax/swing/text/StyledEditorKit.java,
8124         javax/swing/text/Style.java,
8125         javax/swing/text/TextAction.java,
8126         javax/swing/text/ViewFactory.java,
8127         javax/swing/text/View.java,
8128         javax/swing/Timer.java,
8129         javax/swing/ToggleButtonModel.java,
8130         javax/swing/ToolTipManager.java,
8131         javax/swing/tree/AbstractLayoutCache.java,
8132         javax/swing/tree/DefaultMutableTreeNode.java,
8133         javax/swing/tree/DefaultTreeCellEditor.java,
8134         javax/swing/tree/DefaultTreeCellRenderer.java,
8135         javax/swing/tree/DefaultTreeModel.java,
8136         javax/swing/tree/DefaultTreeSelectionModel.java,
8137         javax/swing/tree/ExpandVetoException.java,
8138         javax/swing/tree/FixedHeightLayoutCache.java,
8139         javax/swing/tree/MutableTreeNode.java,
8140         javax/swing/tree/RowMapper.java,
8141         javax/swing/tree/TreeCellEditor.java,
8142         javax/swing/tree/TreeCellRenderer.java,
8143         javax/swing/tree/TreeModel.java,
8144         javax/swing/tree/TreeNode.java,
8145         javax/swing/tree/TreePath.java,
8146         javax/swing/tree/TreeSelectionModel.java,
8147         javax/swing/tree/VariableHeightLayoutCache.java,
8148         javax/swing/UIDefaults.java,
8149         javax/swing/UIManager.java,
8150         javax/swing/undo/AbstractUndoableEdit.java,
8151         javax/swing/undo/CannotRedoException.java,
8152         javax/swing/undo/CannotUndoException.java,
8153         javax/swing/undo/CompoundEdit.java,
8154         javax/swing/undo/StateEditable.java,
8155         javax/swing/undo/StateEdit.java,
8156         javax/swing/undo/UndoableEdit.java,
8157         javax/swing/undo/UndoableEditSupport.java,
8158         javax/swing/undo/UndoManager.java,
8159         javax/swing/UnsupportedLookAndFeelException.java,
8160         javax/swing/ViewportLayout.java,
8161         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8162
8163         * java/awt/ActiveEvent.java,
8164         java/awt/Adjustable.java, java/awt/AWTError.java,
8165         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8166         java/awt/AWTException.java, java/awt/AWTPermission.java,
8167         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8168         java/awt/Color.java, java/awt/Component.java,
8169         java/awt/ComponentOrientation.java, java/awt/Container.java,
8170         java/awt/datatransfer/MimeTypeParseException.java,
8171         java/awt/datatransfer/Transferable.java,
8172         java/awt/datatransfer/UnsupportedFlavorException.java,
8173         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8174         java/awt/event/ActionListener.java,
8175         java/awt/event/AdjustmentEvent.java,
8176         java/awt/event/AdjustmentListener.java,
8177         java/awt/event/AWTEventListener.java,
8178         java/awt/event/ComponentAdapter.java,
8179         java/awt/event/ComponentEvent.java,
8180         java/awt/event/ComponentListener.java,
8181         java/awt/event/ContainerAdapter.java,
8182         java/awt/event/ContainerEvent.java,
8183         java/awt/event/ContainerListener.java,
8184         java/awt/event/FocusAdapter.java,
8185         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8186         java/awt/event/HierarchyBoundsAdapter.java,
8187         java/awt/event/HierarchyBoundsListener.java,
8188         java/awt/event/HierarchyEvent.java,
8189         java/awt/event/HierarchyListener.java,
8190         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8191         java/awt/event/InputMethodListener.java,
8192         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8193         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8194         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8195         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8196         java/awt/event/MouseListener.java,
8197         java/awt/event/MouseMotionAdapter.java,
8198         java/awt/event/MouseMotionListener.java,
8199         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8200         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8201         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8202         java/awt/event/WindowListener.java, java/awt/Font.java,
8203         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8204         java/awt/geom/Ellipse2D.java,
8205         java/awt/geom/IllegalPathStateException.java,
8206         java/awt/geom/Line2D.java,
8207         java/awt/geom/NoninvertibleTransformException.java,
8208         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8209         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8210         java/awt/geom/RoundRectangle2D.java,
8211         java/awt/GraphicsConfiguration.java,
8212         java/awt/IllegalComponentStateException.java,
8213         java/awt/image/IndexColorModel.java,
8214         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8215         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8216         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8217         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8218         java/awt/MenuItem.java, java/awt/PaintContext.java,
8219         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8220         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8221         java/awt/PrintJob.java, java/awt/Rectangle.java,
8222         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8223         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8224         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8225
8226         * java/awt/im/spi/InputMethod.java,
8227         java/awt/im/spi/InputMethodContext.java,
8228         java/awt/im/spi/InputMethodDescriptor.java,
8229         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8230         java/awt/image/renderable/ParameterBlock.java,
8231         java/awt/image/renderable/RenderContext.java,
8232         java/awt/image/renderable/RenderableImage.java,
8233         java/awt/image/renderable/RenderableImageOp.java,
8234         java/awt/image/renderable/RenderableImageProducer.java,
8235         java/awt/image/renderable/RenderedImageFactory.java: New files from
8236         classpath.
8237
8238         * gnu/java/awt/EventModifier.java,
8239         gnu/java/awt/image/ImageDecoder.java,
8240         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8241
8242         * gnu/awt/xlib/XGraphicsConfiguration.java,
8243         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8244         API.
8245
8246         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8247         GNU Classpath.
8248
8249         * Makefile.am: Add new files.
8250         * Makefile.in: Rebuilt.
8251
8252 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8253
8254         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8255         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8256         findResource, getResources, findResources): Add javadoc from classpath.
8257         (getSystemResources): Implemented.
8258
8259 2002-08-01  Mark Wielaard  <mark@klomp.org>
8260
8261         Revert patch that breaks libgcj shared library on powerpc:
8262         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8263         implementation classes by using Class.getName(). Uses Strings again.
8264         * gnu/java/security/der/DEREncodingException.java,
8265         gnu/java/security/provider/DERReader.java,
8266         gnu/java/security/provider/DERWriter.java,
8267         gnu/java/security/provider/DSAKeyPairGenerator.java,
8268         gnu/java/security/provider/DSAParameterGenerator.java,
8269         gnu/java/security/provider/DSAParameters.java,
8270         gnu/java/security/provider/DSASignature.java,
8271         gnu/java/security/provider/GnuDSAPrivateKey.java,
8272         gnu/java/security/provider/GnuDSAPublicKey.java,
8273         gnu/java/security/provider/MD5.java,
8274         gnu/java/security/util/Prime.java: Removed.
8275         * Makefile.am (ordinary_java_source_files): Remove above files.
8276         * Makefile.in: Regenerate.
8277         * gnu/java/security/provider/DefaultPolicy.java
8278         (getPermissions): Revert to maintaining static class variable of
8279         Permissions.
8280         * gnu/java/security/provider/SHA.java
8281         (engineUpdate): Revert algorithm change.
8282         (engineDigest): Revert algorithm change.
8283
8284 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8285
8286         * configure.host: Add SH support.
8287         * sysdep/sh/locks.h: New file.
8288
8289 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8290
8291         * java/awt/Frame.java (Frame): Remove println calls.
8292
8293 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8294
8295         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8296         * configure: Rebuilt.
8297
8298 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8299
8300         * sysdep/powerpc/locks.h: Formatting.
8301         (_LARX): Define.
8302         (_STCX): Define.
8303         (compare_and_swap): Use _LARX and _STCX.
8304         (compare_and_swap_release): Likewise.
8305
8306 2002-07-26  Tom Tromey  <tromey@redhat.com>
8307
8308         * java/net/Authenticator.java: New version from Classpath.
8309         * java/net/DatagramSocketImpl.java: New version from Classpath.
8310
8311 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8312
8313         * configure.host: Add powerpc64*-* entry.
8314
8315 2002-07-26  Tom Tromey  <tromey@redhat.com>
8316
8317         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8318         fcntl.h.
8319
8320 2002-07-24  Tom Tromey  <tromey@redhat.com>
8321
8322         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8323         argument to _load.
8324
8325 2002-07-24  Tom Tromey  <tromey@redhat.com>
8326             Tony Kimball <alk@pobox.com>
8327
8328         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8329         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8330         * java/io/RandomAccessFile.java (setLength): New method.
8331         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8332         * java/io/FileDescriptor.java (setLength): New method.
8333
8334 2002-07-24  Mark Wielaard  <mark@klomp.org>
8335
8336         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8337         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8338         field call setAccessible(true).
8339         (setByteField): Likewise.
8340         (setCharField): Likewise.
8341         (setDoubleField): Likewise.
8342         (setFloatField): Likewise.
8343         (setIntField): Likewise.
8344         (setLongField): Likewise.
8345         (setShortField): Likewise.
8346         (setObjectField): Likewise.
8347
8348 2002-07-24  Tom Tromey  <tromey@redhat.com>
8349
8350         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8351         use toString() to format array element.
8352
8353 2002-07-23  Mark Wielaard  <mark@klomp.org>
8354
8355         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8356         MessageDigestSpi (fixes Classpath bug #783).
8357
8358 2002-07-21  Mark Wielaard  <mark@klomp.org>
8359
8360         * gnu/java/security/provider/Gnu.java: Reference all implementation
8361         classes by using Class.getName().
8362
8363 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8364
8365         * java/lang/ieeefp.h: Add x86-64 support.
8366         * configure.in: Likewise.
8367         * configure.host: Likewise.
8368         * configure: Regenerated.
8369         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8370
8371 2002-07-16  Mark Wielaard  <mark@klomp.org>
8372
8373         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8374         (whitespaceChars): call resetChar().
8375
8376 2002-07-15  Tom Tromey  <tromey@redhat.com>
8377
8378         * Makefile.in: Rebuilt.
8379         * Makefile.am (awt_java_source_files): Added new files.
8380         * java/beans/ExceptionListener.java: Merged with Classpath.
8381         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8382         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8383         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8384         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8385         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8386         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8387         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8388
8389 2002-07-14  Mark Wielaard  <mark@klomp.org>
8390
8391         * gnu/java/security/der/DEREncodingException.java,
8392         gnu/java/security/provider/DERReader.java,
8393         gnu/java/security/provider/DERWriter.java,
8394         gnu/java/security/provider/DSAKeyPairGenerator.java,
8395         gnu/java/security/provider/DSAParameterGenerator.java,
8396         gnu/java/security/provider/DSAParameters.java,
8397         gnu/java/security/provider/DSASignature.java,
8398         gnu/java/security/provider/GnuDSAPrivateKey.java,
8399         gnu/java/security/provider/GnuDSAPublicKey.java,
8400         gnu/java/security/provider/MD5.java,
8401         gnu/java/security/util/Prime.java: New files from Classpath.
8402         * Makefile.am (ordinary_java_source_files): Add new files.
8403         * Makefile.in: Regenerate.
8404
8405 2002-07-14  C. Brian Jones <cbj@gnu.org>
8406
8407         * gnu/java/security/provider/DefaultPolicy.java
8408         (getPermissions): do not maintain static class variable of
8409         Permissions
8410         * gnu/java/security/provider/SHA.java
8411         (engineUpdate): algorithm change
8412         (engineDigest): algorithm change
8413
8414 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8415
8416         For PR libgcj/7292:
8417         * java/lang/Character.java (toString(char)): Now static.
8418
8419 2002-07-12  Mark Wielaard  <mark@klomp.org>
8420
8421         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8422         (getStackTrace0): new method.
8423         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8424         (printStackTrace(PrintWriter)): replace with pure java implementation.
8425         (printRawStackTrace): removed.
8426         (getStackTrace0): new method.
8427         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8428         * gcj/javaprims.h: regenerate class list.
8429         * include/name-finder.h (lookup): new returns StackTraceElement*.
8430         (method_name, file_name): fields removed.
8431         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8432         (~_Jv_name_finder): close new descriptors.
8433         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8434         (createStackTraceElement): new method.
8435         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8436
8437 2002-07-10  Tom Tromey  <tromey@redhat.com>
8438
8439         * configure: Rebuilt.
8440         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8441
8442 2002-07-08  Mark Wielaard  <mark@klomp.org>
8443
8444         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8445         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8446         java.sql.DatabaseMetaData.TestJdbc20
8447
8448 2002-07-05  Tony Kimball  <alk@pobox.com>
8449
8450         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8451
8452 2002-07-04  Tom Tromey  <tromey@redhat.com>
8453             Jeff Sturm  <jsturm@one-point.com>
8454
8455         Fix for PR libgcj/7060:
8456         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8457         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8458         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8459         * java/lang/Class.java (getMethod): New Java implementation;
8460         complies with spec.
8461         (_getMethod): New native method.
8462
8463 2002-07-02  Tom Tromey  <tromey@redhat.com>
8464             David Hovemeyer  <daveho@cs.umd.edu>
8465
8466         * java/text/ChoiceFormat.java
8467         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8468         in check loop.
8469         * java/text/MessageFormat.java
8470         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8471         to MessageFormat.
8472
8473 2002-07-01  Tom Tromey  <tromey@redhat.com>
8474
8475         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8476         StringTokenizer on null string.  For PR libgcj/7180.
8477         From daveho@cs.umd.edu.
8478
8479 2002-06-24  Tom Tromey  <tromey@redhat.com>
8480
8481         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8482         (IntegerClass): Likewise.
8483         * java/lang/natClass.cc (CloneableClass): Removed.
8484         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8485         ConstructorClass): Likewise.
8486         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8487         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8488         SerializableClass): Likewise.
8489         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8490         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8491         LongClass, FloatClass, DoubleClass): Likewise.
8492
8493         * verify.cc (branch_prepass): Updated for change to exception
8494         handler type.
8495         (verify_instructions_0): Likewise.
8496         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8497         (handleExceptionTableEntry): Updated for change to exception
8498         handler type.
8499         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8500         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8501         (union _Jv_InterpPC): New.
8502         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8503         (class _Jv_InterpMethod): Added new `prepared' field.
8504         (class _Jv_InterpMethod): Added `compile' method.  Removed
8505         `continue1' and `find_exception'.  Changed arguments to `run'.
8506         * interpret.cc (union insn_slot): New.
8507         (find_exception): Removed.
8508         (run_normal): Removed most logic.
8509         (run_synch_object): Likewise; also, use JvSynchronize.
8510         (run_synch_class): Likewise.
8511         (run): Removed.
8512         (continue1): Renamed as `run'.  Compile bytecode if required.
8513         Add new code to allow refinement of direct-threaded code at
8514         runtime.  Handle exceptions.
8515         (SAVE_PC): Removed.
8516         (compile): New method.
8517         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8518         (NULLARRAYCHECK): Don't use SAVE_PC.
8519         (pc_t): New typedef.
8520         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8521         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8522
8523 2002-06-23  Tom Tromey  <tromey@redhat.com>
8524
8525         * configure: Rebuilt.
8526         * configure.in (INTERPRETER): New subst.
8527         (AM_RUNTESTFLAGS): Don't subst.
8528
8529         * Makefile.in: Rebuilt.
8530         * Makefile.am ($(srcdir)/java/lang/Object.h,
8531         $(srcdir)/java/lang/Class.h): Added dummy targets.
8532
8533 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8534
8535         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8536
8537         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8538         java/sql/Savepoint.java: New files.
8539         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8540         java/sql/Blob.java, java/sql/CallableStatement.java,
8541         java/sql/Clob.java, java/sql/Connection.java,
8542         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8543         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8544         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8545         java/sql/Ref.java, java/sql/ResultSet.java,
8546         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8547         java/sql/SQLException.java, java/sql/SQLInput.java,
8548         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8549         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8550         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8551         (JDK 1.4) specification.
8552         * javax/sql/ConnectionEvent.java,
8553         javax/sql/ConnectionEventListener.java,
8554         javax/sql/ConnectionPoolDataSource.java,
8555         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8556         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8557         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8558         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8559         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8560         javax/sql/XADataSource.java: New files.
8561         * Makefile.am: Add new files.
8562         * Makefile.in: Rebuilt.
8563
8564 2002-06-20  Tom Tromey  <tromey@redhat.com>
8565
8566         For PR libgcj/7073:
8567         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8568         exists.
8569         * defineclass.cc (handleClassBegin): Superclass for interface is
8570         `null'.
8571
8572 2002-06-18  Tom Tromey  <tromey@redhat.com>
8573
8574         * gcj/javaprims.h: Updated class declaration list.
8575         * Makefile.in: Rebuilt.
8576         * Makefile.am (core_java_source_files): Removed
8577         BasicMapEntry.java.
8578         * java/util/BasicMapEntry.java: Removed.
8579
8580 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8581
8582         * java/net/natPlainDatagramSocketImpl.cc (receive):
8583         Check bounds of argument to FD_SET.
8584         (setOption): Throw exception if socket is closed.
8585
8586         * java/net/natPlainSocketImpl.cc (accept, read):
8587         Check bounds of argument to FD_SET.
8588         (setOption): Throw exception if socket is closed.
8589
8590 2002-06-18  Tom Tromey  <tromey@redhat.com>
8591
8592         * gcj/javaprims.h: Updated class declaration list.
8593         * Makefile.in: Rebuilt.
8594         * Makefile.am (core_java_source_files): Added
8595         PropertyPermissionCollection.java.
8596         * java/lang/Thread.java (group, name): Now package-private.
8597         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8598         * java/util/AbstractList.java: Likewise.
8599         * java/util/AbstractMap.java: Likewise.
8600         * java/util/Calendar.java: Likewise.
8601         * java/util/Collections.java: Likewise.
8602         * java/util/HashMap.java: Likewise.
8603         * java/util/Hashtable.java: Likewise.
8604         * java/util/LinkedHashMap.java: Likewise.
8605         * java/util/LinkedList.java: Likewise.
8606         * java/util/List.java: Likewise.
8607         * java/util/ListResourceBundle.java: Likewise.
8608         * java/util/Map.java: Likewise.
8609         * java/util/Observable.java: Likewise.
8610         * java/util/Properties.java: Likewise.
8611         * java/util/PropertyPermission.java: Likewise.
8612         * java/util/PropertyPermissionCollection.java: Likewise.
8613         * java/util/PropertyResourceBundle.java: Likewise.
8614         * java/util/Random.java: Likewise.
8615         * java/util/SimpleTimeZone.java: Likewise.
8616         * java/util/StringTokenizer.java: Likewise.
8617         * java/util/TimerTask.java: Likewise.
8618         * java/util/TreeMap.java: Likewise.
8619         * java/util/WeakHashMap.java: Likewise.
8620         * java/util/jar/Attributes.java: Likewise.
8621         * java/util/jar/JarException.java: Likewise.
8622         * java/util/jar/Manifest.java: Likewise.
8623
8624 2002-06-17  Tom Tromey  <tromey@redhat.com>
8625
8626         * gcj/javaprims.h: Updated class declaration list.
8627         * Makefile.in: Rebuilt.
8628         * Makefile.am (core_java_source_files): Added new file.
8629         * java/util/EventListenerProxy.java: New file.
8630         * java/util/EventListener.java: Re-merge with Classpath.
8631         * java/util/EventObject.java: Re-merge with Classpath.
8632
8633 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8634
8635         * java/lang/ClassNotFoundException.java: New Classpath version.
8636
8637 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8638
8639         * java/rmi/activation/ActivateFailedException.java: Remerge from
8640         Classpath version.
8641         * java/rmi/activation/ActivationException.java: Ditto.
8642         * java/rmi/activation/UnknownGroupException.java: Ditto.
8643         * java/rmi/activation/UnknownObjectException.java: Ditto.
8644         * java/rmi/server/ExportException: Ditto.
8645         * java/rmi/server/ServerCloneException: Ditto.
8646         * java/rmi/server/ServerNotActiveException: Ditto.
8647         * java/rmi/server/SkeletonMismatchException: Ditto.
8648         * java/rmi/server/SkeletonNotFoundException: Ditto.
8649         * java/rmi/server/SocketSecurityException: Ditto.
8650
8651 2002-06-16  Tom Tromey  <tromey@redhat.com>
8652
8653         * gcj/javaprims.h: Updated class declaration list.
8654
8655         * java/io/LineNumberInputStream.java: Merged with Classpath.
8656
8657         * java/lang/RuntimeException.java: Re-merge with Classpath.
8658         * java/util/ArrayList.java: Likewise.
8659         * java/util/Arrays.java: Likewise.
8660         * java/util/BitSet.java: Likewise.
8661         * java/util/Dictionary.java: Likewise.
8662         * java/util/IdentityHashMap.java: Likewise.
8663         * java/util/MissingResourceException.java: Likewise.
8664         * java/util/Observer.java: Likewise.
8665         * java/util/TooManyListenersException.java: Likewise.
8666         * java/util/zip/DataFormatException.java: Likewise.
8667         * java/util/zip/ZipException.java: Likewise.
8668
8669 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8670
8671         * java/rmi/AccessException.java: Remerge from Classpath.
8672         * java/rmi/AlreadyBoundException.java: Ditto.
8673         * java/rmi/ConnectException.java: Ditto.
8674         * java/rmi/ConnectIOException.java: Ditto.
8675         * java/rmi/MarshalException.java: Ditto.
8676         * java/rmi/NoSuchObjectException.java: Ditto.
8677         * java/rmi/NotBoundException.java: Ditto.
8678         * java/rmi/RemoteException.java: Ditto.
8679         * java/rmi/RMISecurityException.java: Ditto.
8680         * java/rmi/ServerError.java: Ditto.
8681         * java/rmi/ServerException.java: Ditto.
8682         * java/rmi/ServerRuntimeException.java: Ditto.
8683         * java/rmi/StubNotFoundException.java: Ditto.
8684         * java/rmi/UnexpectedExcpetion.java: Ditto.
8685         * java/rmi/UnknownHostException.java: Ditto.
8686         * java/rmi/UnmarshalException.java: Ditto.
8687
8688 2002-06-15  Tom Tromey  <tromey@redhat.com>
8689
8690         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8691         * java/lang/ArithmeticException.java: Likewise.
8692         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8693         * java/lang/ArrayStoreException.java: Likewise.
8694         * java/lang/Byte.java: Likewise.
8695         * java/lang/CharSequence.java: Likewise.
8696         * java/lang/ClassCastException.java: Likewise.
8697         * java/lang/ClassCircularityError.java: Likewise.
8698         * java/lang/ClassFormatError.java: Likewise.
8699         * java/lang/CloneNotSupportedException.java: Likewise.
8700         * java/lang/Cloneable.java: Likewise.
8701         * java/lang/Comparable.java: Likewise.
8702         * java/lang/Compiler.java: Likewise.
8703         * java/lang/Error.java: Likewise.
8704         * java/lang/ExceptionInInitializerError.java: Likewise.
8705         * java/lang/IllegalAccessError.java: Likewise.
8706         * java/lang/IllegalAccessException.java: Likewise.
8707         * java/lang/IllegalArgumentException.java: Likewise.
8708         * java/lang/IllegalMonitorStateException.java: Likewise.
8709         * java/lang/IllegalStateException.java: Likewise.
8710         * java/lang/IllegalThreadStateException.java: Likewise.
8711         * java/lang/IncompatibleClassChangeError.java: Likewise.
8712         * java/lang/IndexOutOfBoundsException.java: Likewise.
8713         * java/lang/InheritableThreadLocal.java: Likewise.
8714         * java/lang/InstantiationError.java: Likewise.
8715         * java/lang/InstantiationException.java: Likewise.
8716         * java/lang/InternalError.java: Likewise.
8717         * java/lang/InterruptedException.java: Likewise.
8718         * java/lang/LinkageError.java: Likewise.
8719         * java/lang/NegativeArraySizeException.java: Likewise.
8720         * java/lang/NoClassDefFoundError.java: Likewise.
8721         * java/lang/NoSuchFieldError.java: Likewise.
8722         * java/lang/NoSuchFieldException.java: Likewise.
8723         * java/lang/NoSuchMethodError.java: Likewise.
8724         * java/lang/NoSuchMethodException.java: Likewise.
8725         * java/lang/NullPointerException.java: Likewise.
8726         * java/lang/NumberFormatException.java: Likewise.
8727         * java/lang/OutOfMemoryError.java: Likewise.
8728         * java/lang/Process.java: Likewise.
8729         * java/lang/Runnable.java: Likewise.
8730         * java/lang/RuntimePermission.java: Likewise.
8731         * java/lang/SecurityException.java: Likewise.
8732         * java/lang/Short.java: Likewise.
8733         * java/lang/StackOverflowError.java: Likewise.
8734         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8735         * java/lang/ThreadDeath.java: Likewise.
8736         * java/lang/ThreadLocal.java: Likewise.
8737         * java/lang/UnknownError.java: Likewise.
8738         * java/lang/UnsatisfiedLinkError.java: Likewise.
8739         * java/lang/UnsupportedClassVersionError.java: Likewise.
8740         * java/lang/UnsupportedOperationException.java: Likewise.
8741         * java/lang/VerifyError.java: Likewise.
8742         * java/lang/VirtualMachineError.java: Likewise.
8743         * java/lang/reflect/InvocationTargetException.java: Likewise.
8744         * java/net/BindException.java: Likewise.
8745         * java/net/ConnectException.java: Likewise.
8746         * java/net/MalformedURLException.java: Likewise.
8747         * java/net/NoRouteToHostException.java: Likewise.
8748         * java/net/ProtocolException.java: Likewise.
8749         * java/net/SocketException.java: Likewise.
8750         * java/net/UnknownHostException.java: Likewise.
8751         * java/net/UnknownServiceException.java: Likewise.
8752
8753         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8754         * java/io/CharConversionException.java: Likewise.
8755         * java/io/EOFException.java: Likewise.
8756         * java/io/FileNotFoundException.java: Likewise.
8757         * java/io/IOException.java: Likewise.
8758         * java/io/InterruptedIOException.java: Likewise.
8759         * java/io/InvalidClassException.java: Likewise.
8760         * java/io/InvalidObjectException.java: Likewise.
8761         * java/io/NotActiveException.java: Likewise.
8762         * java/io/NotSerializableException.java: Likewise.
8763         * java/io/ObjectStreamException.java: Likewise.
8764         * java/io/ObjectStreamConstants.java: Likewise.
8765         * java/io/OptionalDataException.java: Likewise.
8766         * java/io/PipedInputStream.java: Likewise.
8767         * java/io/PushbackInputStream.java: Likewise.
8768         * java/io/StreamCorruptedException.java: Likewise.
8769         * java/io/SyncFailedException.java: Likewise.
8770         * java/io/UTFDataFormatException.java: Likewise.
8771         * java/io/UnsupportedEncodingException.java: Likewise.
8772         * java/io/WriteAbortedException.java: Likewise.
8773
8774 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8775
8776         * java/text/ChoiceFormat.java: Update comments from Classpath.
8777         * java/text/ParseException.java (serialVersionUID): New
8778         field from Classpath.
8779         * java/text/ParseException.java: Update formatting & comments
8780         from Classpath.
8781
8782 2002-06-15  Tom Tromey  <tromey@redhat.com>
8783
8784         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8785         been read but none output by inflater.
8786         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8787         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8788         is_finished.
8789         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8790         version.
8791         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8792         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8793         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8794         version.
8795         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8796
8797 2002-06-13  Tom Tromey  <tromey@redhat.com>
8798
8799         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8800         true and OFFSET!=0.
8801         * java/lang/String.java (String(char[],int,int,boolean): New
8802         constructor.
8803         * java/lang/Long.java: Imported new version from Classpath.
8804         * java/lang/Number.java: Likewise.
8805         * java/lang/Integer.java: Likewise.
8806         * java/lang/Long.java: Likewise.
8807         * java/lang/Float.java: Likewise.
8808         * java/lang/Boolean.java: Likewise.
8809         * java/lang/Double.java: Likewise.
8810         * java/lang/Void.java: Likewise.
8811
8812 2002-06-12  Tom Tromey  <tromey@redhat.com>
8813
8814         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8815         Fixes PR libgcj/6652.
8816
8817 2002-06-10  Tom Tromey  <tromey@redhat.com>
8818
8819         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8820         (Class::getPackagePortion): Likewise.
8821         * java/lang/Class.java (desiredAssertionStatus): New method from
8822         Classpath.
8823         (getPackagePortion): Likewise.
8824         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8825         packageAssertionStatus, classAssertionStatus): New methods from
8826         Classpath.
8827         * java/lang/ClassLoader.java (defaultAssertionStatus,
8828         systemPackageAssertionStatus, packageAssertionStatus,
8829         systemClassAssertionStatus, classAssertionStatus): New fields from
8830         Classpath.
8831         (setDefaultAssertionStatus, setPackageAssertionStatus,
8832         setClassAssertionStatus, clearAssertionStatus): New methods from
8833         Classpath.
8834         * Makefile.in: Rebuilt.
8835         * Makefile.am (core_java_source_files): Added AssertionError.java.
8836         * java/lang/AssertionError.java: New from Classpath.
8837
8838 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8839
8840         * configure.host: Disable hash synchronization and slow_pthread_self
8841         for cygwin.
8842
8843 2002-06-06  Adam Megacz <adam@xwt.org>
8844
8845         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8846         locking, just like the Sun JVM does.
8847
8848 2002-06-05  H.J. Lu  (hjl@gnu.org)
8849
8850         * Makefile.am (libgcj_convenience.la): Revert the last change.
8851         (libgcj.la): Likewise.
8852         * Makefile.in: Regenerated.
8853
8854 2002-06-04  H.J. Lu  (hjl@gnu.org)
8855
8856         * Makefile.am (libgcj_convenience.la): New target.
8857         (libgcj.la): Depend on libgcj_convenience.la.
8858         * Makefile.in: Regenerated.
8859
8860 2002-06-04  H.J. Lu  (hjl@gnu.org)
8861
8862         * configure.in (--with-newlib): New option:
8863         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8864         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8865         Linux.
8866         * configure: Regenerated.
8867
8868 2002-06-04  Tom Tromey  <tromey@redhat.com>
8869
8870         * java/util/natTimeZone.cc: Include <stdio.h>.
8871
8872 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8873
8874         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8875         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8876         Set SIGNAL_HANDLER=include/s390-linux.h.
8877         * configure: Regenerate.
8878         * include/s390-linux.h: New file.
8879
8880 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8881
8882         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8883         not "stackTrace".
8884
8885 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8886
8887         Merge JDK 1.4 java.security changes from classpath.
8888
8889         * java/security/AccessControlException.java: Merge from Classpath.
8890         * java/security/AccessController.java: Likewise.
8891         * java/security/AllPermission.java: Likewise.
8892         * java/security/BasicPermission.java: Likewise.
8893         * java/security/Certificate.java: Likewise.
8894         * java/security/CodeSource.java: Likewise.
8895         * java/security/DigestException.java: Likewise.
8896         * java/security/DigestOutputStream.java: Likewise.
8897         * java/security/DomainCombiner.java: Likewise.
8898         * java/security/GeneralSecurityException.java: Likewise.
8899         * java/security/Guard.java: Likewise.
8900         * java/security/GuardedObject.java: Likewise.
8901         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8902         * java/security/InvalidKeyException.java: Likewise.
8903         * java/security/InvalidParameterException.java: Likewise.
8904         * java/security/Key.java: Likewise.
8905         * java/security/KeyException.java: Likewise.
8906         * java/security/KeyManagementException.java: Likewise.
8907         * java/security/KeyStoreException.java: Likewise.
8908         * java/security/MessageDigest.java: Likewise.
8909         * java/security/NoSuchAlgorithmException.java: Likewise.
8910         * java/security/NoSuchProviderException.java: Likewise.
8911         * java/security/Permission.java: Likewise.
8912         * java/security/PermissionCollection.java: Likewise.
8913         * java/security/Permissions.java: Likewise.
8914         * java/security/Policy.java: Likewise.
8915         * java/security/Principal.java: Likewise.
8916         * java/security/PrivateKey.java: Likewise.
8917         * java/security/PrivilegedAction.java: Likewise.
8918         * java/security/PrivilegedActionException.java: Likewise.
8919         * java/security/PrivilegedExceptionAction.java: Likewise.
8920         * java/security/ProtectionDomain.java: Likewise.
8921         * java/security/ProviderException.java: Likewise.
8922         * java/security/PublicKey.java: Likewise.
8923         * java/security/SecureClassLoader.java: Likewise.
8924         * java/security/SecurityPermission.java: Likewise.
8925         * java/security/SignatureException.java: Likewise.
8926         * java/security/UnrecoverableKeyException.java: Likewise.
8927         * java/security/UnresolvedPermission.java: Likewise.
8928         * java/security/acl/AclNotFoundException.java: Likewise.
8929         * java/security/acl/LastOwnerException.java: Likewise.
8930         * java/security/acl/NotOwnerException.java: Likewise.
8931         * java/security/cert/CRLException.java: Likewise.
8932         * java/security/cert/CertificateEncodingException.java: Likewise.
8933         * java/security/cert/CertificateException.java: Likewise.
8934         * java/security/cert/CertificateExpiredException.java: Likewise.
8935         * java/security/cert/CertificateFactory.java: Likewise.
8936         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8937         * java/security/cert/CertificateParsingException.java: Likewise.
8938         * java/security/spec/InvalidKeySpecException.java: Likewise.
8939         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8940
8941         * java/security/cert/CertPath.java: New file.
8942         * java/security/cert/CertPathBuilderException.java: New file.
8943         * java/security/cert/CertPathValidatorException.java: New file.
8944         * java/security/cert/CertStoreException.java: New file.
8945
8946         * Makefile.am: Add new CertPath classes.
8947         * Makefile.in: Rebuilt.
8948
8949         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8950
8951 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8952
8953         Merge JDK 1.4 exception chaining support from classpath.
8954
8955         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8956         (stackTraceBytes): Rename from stackTrace.
8957         * java/lang/Exception.java: Merge from classpath.
8958         * java/lang/StackTraceElement: New file from classpath.
8959         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8960         * Makefile.am: Add StackTraceElement.
8961         * Makefile.in: Rebuilt.
8962
8963 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8964
8965         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8966         they build first.
8967         * Makefile.in: Rebuilt.
8968
8969 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8970
8971         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
8972         * configure.in: Likewise.
8973         * aclocal.m4: Regenerate.
8974         * configure: Regenerate.
8975
8976 2002-05-13  Tom Tromey  <tromey@redhat.com>
8977
8978         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
8979         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
8980         Include platform.h.
8981
8982         Fixes PR libgcj/6389:
8983         * Makefile.in: Rebuilt.
8984         * Makefile.am (nat_source_files): Added natTimeZone.cc.
8985         * java/util/natTimeZone.cc: New file.
8986         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
8987         * java/lang/System.java: Merged with Classpath.
8988         * java/lang/Runtime.java: Merged with Classpath.
8989         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
8990         security check.
8991         (setIn0): Renamed from setIn; don't run security check.
8992         (setOut0): Renamed from setOut; don't run security check.
8993         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
8994         init_properties): Moved to natRuntime.cc.
8995         Moved many includes to natRuntime.cc.
8996         (isWordsBigEndian): New method.
8997         * java/lang/natRuntime.cc: Include Long.h, also other includes
8998         previously in natSystem.cc.
8999         (maxMemory): New function.
9000         (exitInternal): Renamed from `_exit'.
9001         (exit): Removed.
9002         (init): Don't set finalize_on_exit.
9003         (exitInternal): Use `finalizeOnExit'.
9004         (file_encoding, getpwuid_adaptor): New functions from
9005         natSystem.cc.
9006         (insertSystemProperties): New method, renamed from
9007         System::init_properties.  Don't set user.timezone.
9008         (_load): Don't call checkLink.
9009         (execInternal): New method.
9010         (availableProcessors): Likewise.
9011         (nativeGetLibname): Likewise.
9012
9013 2002-05-11  Mark Wielaard  <mark@klomp.org>
9014
9015         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9016         space characters.
9017         (previous_internal): Likewise.
9018
9019 2002-05-09  Tom Tromey  <tromey@redhat.com>
9020
9021         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9022
9023         * java/util/ResourceBundle.java: New version from Classpath.
9024         * java/util/Locale.java: Likewise.
9025
9026 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9027
9028         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9029         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9030         LD_LIBRARY_PATH.
9031
9032 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9033
9034         * libjava/Makefile.am (all_java_source_files): New variable.
9035         (all_java_class_files): Likewise.
9036         .java.class: New rule.
9037         (CLEANFILES): Remove tmp-list.
9038         * libjava/Makefile.in: Regenerated.
9039
9040 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9041
9042         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9043         Append .exe to executable names.  Fix for cygwin.
9044
9045 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9046
9047         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9048         script entry, and set LD to it when configuring multilibs.
9049         * configure: Rebuilt.
9050
9051 2002-05-07  Tom Tromey  <tromey@redhat.com>
9052
9053         * java/lang/natString.cc (unintern): Fixed typo.
9054
9055 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9056
9057         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9058         with -no-install on *-*-cygwin*.
9059
9060 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9061
9062         * testsuite/lib/libjava.exp (test_libjava_from_source):
9063         Add comment explaining last patch
9064
9065 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9066
9067         * testsuite/lib/libjava.exp (test_libjava_from_source):
9068         Append .exe to executable names.  If no suffix is present,
9069         then ".exe" is added by default on win32.  Harmless
9070         elsewhere so always do it.
9071
9072 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9073             Tom Tromey  <tromey@redhat.com>
9074
9075         * java/lang/natSystem.cc (getSystemTimeZone): Use
9076         HAVE_UNDERSCORE_TIMEZONE.
9077         * include/config.h.in: Rebuilt.
9078         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9079         * aclocal.m4, configure: Rebuilt.
9080         * acinclude.m4: Run AC_EXEEXT.
9081         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9082         Add test for `_timezone'.
9083
9084 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9085
9086         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9087         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9088         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9089         * Makefile.in: Rebuilt.
9090
9091 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9092
9093         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9094         use sigaction instead of __libc_sigaction.
9095
9096 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9097
9098         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9099         (libjava_init): Use it to find libgcj.spec.
9100         (libjava_arguments): Likewise.
9101
9102 2002-05-02  David S. Miller  <davem@redhat.com>
9103
9104         PR bootstrap/6525
9105         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9106         __libc_sigaction on Sparc.
9107
9108 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9109
9110         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9111         sys/filio.h, if present.
9112
9113 2002-04-30  Tom Tromey  <tromey@redhat.com>
9114
9115         * java/io/BufferedReader.java (fill): Handle case where markPos
9116         point to ignored \n.  Fixes PR libgcj/6301.
9117
9118 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9119
9120         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9121
9122 2002-04-29  Adam King <aking@dreammechanics.com>
9123
9124         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9125         of file in APPEND mode.
9126
9127 2002-04-25  David S. Miller  <davem@redhat.com>
9128
9129         PR target/6422
9130         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9131         program counter to next program counter minus 8.  Update
9132         comments in this macro to explain why.
9133
9134 2002-04-26  Tom Tromey  <tromey@redhat.com>
9135
9136         * verify.cc (construct_primitive_array_type) [void_type]: New
9137         case.
9138         (branch_prepass): Added dummy entries for unused instruction
9139         values.
9140         (verify_instructions_0): Likewise.
9141         * interpret.cc (continue1): Comment fix.
9142         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9143         * Makefile.in: Rebuilt.
9144         * Makefile.am: Added -Wswitch-enum.
9145
9146 2002-04-24  Tom Tromey  <tromey@redhat.com>
9147
9148         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9149         correct length of UTF-8 encoded name.  Strip leading `/'.
9150         (_Jv_RegisterResource): Use _Jv_Malloc.
9151
9152 2002-04-23  Adam Megacz <adam@xwt.org>
9153
9154         * win32.cc, include/win32.cc (backtrace): Added this function
9155         because Win32 does not supply it.
9156
9157 2002-04-21  David S. Miller  <davem@redhat.com>
9158
9159         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9160         magic instruction reading sequence.
9161
9162 2002-04-21  Mark Wielaard  <mark@klomp.org>
9163
9164         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9165
9166 2002-04-19  David S. Miller  <davem@redhat.com>
9167
9168         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9169         arg.
9170         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9171         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9172         on Sparc too.
9173         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9174         for 64-bit sparc.
9175         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9176         * sysdeps/sparc/locks.h: New file.
9177         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9178         on all sparc Solaris configurations.  Set to
9179         include/dwarf2-signal.h on sparc Linux.
9180         * configure: Regenerate
9181         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9182
9183 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9184
9185         * configure: Rebuilt.
9186         * configure.in (backtrace): Function doesn't work on IA-64.
9187
9188 2002-04-17  Adam King <aking@dreammechanics.com>
9189
9190         * java/io/File.java (normalizePath): Add Win32 support for auto
9191         conversion of a '/' path separator to Win32's '\' separator.
9192
9193 2002-04-16  Tom Tromey  <tromey@redhat.com>
9194
9195         Fix for PR libgcj/6081:
9196         * Makefile.in: Rebuilt.
9197         * Makefile.am (install-data-local): Use GNU make trick to avoid
9198         shell limit.
9199
9200 2002-04-16  Adam King <aking@dreammechanics.com>
9201             Tom Tromey  <tromey@redhat.com>
9202
9203         * java/io/natFileWin32.cc (performList): Return the correct array
9204         type.  Don't duplicate the creation of a File since it's already
9205         done earlier in the method and the existing code would cause a
9206         ArrayStoreException.  Don't use fixed-size array.
9207         (_access, _stat, attr, getCanonicalPath, performMkdir,
9208         performRenameTo): Don't use fixed-size array.
9209         (getCanonicalPath): Use throw, not _Jv_Throw.
9210
9211 2002-04-15  DJ Delorie  <dj@redhat.com>
9212
9213         * configure.in: Allow building in $srcdir.
9214         * configure: Regenerated.
9215
9216 2002-04-14  Mark Wielaard <mark@klomp.org>
9217
9218         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9219         * java/net/natSocketImpl.cc (close): Likewise.
9220
9221 2002-04-14  Mark Wielaard <mark@klomp.org>
9222
9223         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9224
9225 2002-04-13  Adam King <aking@dreammechanics.com>
9226
9227         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9228         the f/F/d/D modifiers.
9229
9230 2002-04-12  Anthony Green  <green@redhat.com>
9231
9232         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9233         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9234         * Makefile.in: Rebuilt.
9235         * configure.in: Substitute gcc_version.
9236         * configure: Rebuilt.
9237
9238 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9239
9240         * configure.host: Set can_unwind_signal on hosts which support it.
9241         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9242         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9243         exceptions and can_unwind_signal isn't set.
9244         * configure: Rebuilt.
9245
9246 2002-04-11  Tom Tromey  <tromey@redhat.com>
9247
9248         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9249
9250 2002-04-11  Adam King <aking@dreammechanics.com>
9251             Tom Tromey  <tromey@redhat.com>
9252
9253         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9254         _Jv_ThrowNullPointerException): Mark as noreturn.
9255         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9256         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9257         fixes.
9258
9259 2002-04-10  Tom Tromey  <tromey@redhat.com>
9260
9261         * Makefile.in: Rebuilt.
9262         * Makefile.am (java/lang/Thread.h): Mark
9263         _Jv_AttachCurrentThreadAsDaemon as friend.
9264         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9265         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9266         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9267         function.
9268         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9269         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9270         (_Jv_JNI_InvokeFunctions): Added
9271         _Jv_JNI_AttachCurrentThreadAsDaemon.
9272         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9273         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9274         (JNI_CreateJavaVM): Likewise.
9275         (_Jv_JNI_AttachCurrentThread): Likewise.
9276         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9277         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9278         (_Jv_JNIFunctions): Initialize new fields.
9279         (_Jv_JNI_NewDirectByteBuffer): New function.
9280         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9281         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9282         * include/jni.h (JNI_VERSION_1_4): New macro.
9283         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9284         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9285         (JNINativeInterface::NewDirectByteBuffer): New field.
9286         (JNINativeInterface::GetDirectBufferAddress): New field.
9287         (JNINativeInterface::GetDirectBufferCapacity): New field.
9288         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9289         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9290         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9291
9292 2002-04-09  Tom Tromey  <tromey@redhat.com>
9293
9294         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9295
9296 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9297
9298         Fix for PR libgcj/6187:
9299         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9300         distance.
9301
9302 2002-04-07  Mark Wielaard <mark@klomp.org>
9303
9304         * java/util/AbstractMap.java (putAll): Use entrySet size.
9305         (toString): Explicitly use getKey() and getValue().
9306
9307 2002-04-07  Mark Wielaard <mark@klomp.org>
9308
9309         * java/util/Hashtable.java (contains): Remove NullPointer check.
9310         (containsValue): Add NullPointer check.
9311         (remove): Always throw NullPointerException when key
9312         is null.
9313
9314 2002-04-07  Adam King <aking@dreammechanics.com>
9315
9316         * java/lang/natSystem.cc (init_properties): Call new function
9317         _Jv_platform_initProperties.
9318         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9319         support for the System properties os.name, os.arch, os.version,
9320         user.name, user.home, and user.dir.
9321         * include/posix.h, include/win32.h, posix.cc: New function
9322         _Jv_platform_initProperties.
9323
9324 2002-04-06  Mark Wielaard <mark@klomp.org>
9325
9326         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9327
9328 2002-04-06  Mark Wielaard <mark@klomp.org>
9329
9330         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9331         all of the remaining elements.
9332         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9333         (removeRange): If toIndex == fromIndex do
9334         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9335         (removeAll): Always throw NullPointerException when collection is
9336         null.
9337         (retrainAll): Likewise.
9338
9339 2002-04-05  Mark Wielaard <mark@klomp.org>
9340
9341         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9342         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9343
9344 2002-04-05  Adam Megacz <adam@xwt.org>
9345
9346         * exception.cc (abort): added static modifier
9347
9348 2002-04-04  Adam Megacz <adam@xwt.org>
9349
9350         * include/win32.h (_Jv_platform_close_on_exec): added inline
9351         modifier.
9352
9353 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9354
9355         * configure.host: Add case statement to support generic port
9356         properties.  Add *-*-freebsd* section.
9357
9358 2002-04-04  Mark Wielaard  <mark@klomp.org>
9359
9360         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9361         test.
9362         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9363         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9364         that depend on awt code and BufferedByteOutputStream.interrupt.
9365
9366 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9367
9368         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9369         incorrect "hi" value when count > 40.
9370
9371 2002-04-03  Mark Wielaard  <mark@klomp.org>
9372
9373         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9374         ordering.
9375
9376 2002-04-02  Tom Tromey  <tromey@redhat.com>
9377
9378         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9379         not `0'.
9380
9381 2002-04-02  Mark Wielaard  <mark@klomp.org>
9382
9383         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9384         list of testsuite crashers.
9385
9386 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9387
9388         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9389         when resizing table.
9390
9391 2002-04-01  Mark Wielaard  <mark@klomp.org>
9392
9393         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9394         NegativeArraySizeException
9395         (clear(int)): Use sign extended shift.
9396         (flip(int)): Likewise.
9397         (get(int)): Likewise.
9398         (nextClearBit(int)): Likewise.
9399         (nextSetBit(int)): Likewise.
9400         (set(int)): Likewise.
9401
9402 2002-04-01  Mark Wielaard  <mark@klomp.org>
9403
9404         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9405         that can be compiled now and add testsuite crashers to ignore list.
9406
9407 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9408
9409         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9410
9411         * libgcj.spec.in: Override libgcc, not lib.
9412         * libgcj-test.spec.in: Likewise.
9413
9414 2002-03-29  Tom Tromey  <tromey@redhat.com>
9415
9416         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9417         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9418
9419 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9420
9421         * java/net/PlainDatagramSocketImpl.java
9422         (close): Use native implementation.
9423         (finalize): New method.
9424
9425         * java/net/PlainSocketImpl.java (finalize): New method.
9426
9427         * java/net/natPlainDatagramSocketImpl.cc
9428         (java/io/FileDescriptor.h): Don't include.
9429         (close): Implement method here.
9430         (create): Don't assign fd.
9431
9432         * java/net/natPlainSocketImpl.cc
9433         (java/io/FileDescriptor.h): Don't include.
9434         (create): Don't assign fd.
9435         (accept): Likewise.
9436         (close): Synchronize.
9437
9438 2002-03-27  Richard Henderson  <rth@redhat.com>
9439
9440         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9441
9442 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9443
9444         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9445         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9446         instead of syscall on IA-64.
9447         Add FIXME comment.
9448
9449 2002-03-27  Anthony Green  <green@redhat.com>
9450
9451         * libgcj.spec.in: Add CHECKREFSPEC.
9452         * configure.in: Ditto.
9453         * configure.host: Ditto.  Check references for xscale-elf.
9454         * configure: Rebuilt.
9455
9456 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9457
9458         * include/dwarf2-signal.h: Temporarily back out last change.
9459
9460 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9461
9462         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9463
9464 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9465
9466         * configure.in, configure: enable dwarf2-exception-style
9467         exception handling on IA-64.
9468         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9469         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9470         Add FIXME comment.
9471
9472 2002-03-25  Tom Tromey  <tromey@redhat.com>
9473
9474         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9475         (jv_convert_LDFLAGS): Likewise.
9476         (gij_LDFLAGS): Likewise.
9477         (rmic_LDFLAGS): Likewise.
9478         (rmiregistry_LDFLAGS): Likewise.
9479         * configure.in (THREADLDFLAGS): New subst; set correctly for
9480         *BSD.
9481
9482 2002-03-25  Tom Tromey  <tromey@redhat.com>
9483
9484         For PR libgcj/5303:
9485         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9486         and --version.
9487         (help): New method.
9488         (version): Likewise.
9489         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9490         "GNU".
9491         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9492         "GNU".
9493
9494 2002-03-25  Tom Tromey  <tromey@redhat.com>
9495
9496         * java/awt/Component.java (processEvent): Check ComponentEvent
9497         after KeyEvent.
9498
9499 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9500
9501         * java/io/PushbackReader.java: Reformat.
9502
9503         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9504         calculate correct number of bytes skipped.
9505
9506         Based on patch from Intel's ORP team:
9507         * java/io/PushbackInputStream.java (available): Calculate correct
9508         number of bytes in buffer.
9509         (read): Remove redundant bound check. Return bytes from both the
9510         buffer and the stream.
9511
9512 2002-03-24  Tom Tromey  <tromey@redhat.com>
9513
9514         * java/awt/TextComponent.java (TextComponent): Editable by
9515         default.
9516
9517         * java/awt/MenuItem.java (eventMask): No longer private.
9518         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9519         superclass if we didn't handle event.
9520         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9521         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9522         * java/awt/Choice.java (dispatchEventImpl): New method.
9523         * java/awt/List.java (dispatchEventImpl): New method.
9524         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9525         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9526         * java/awt/TextField.java (dispatchEventImpl): New method.
9527
9528 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9529
9530         * java/beans/IntrospectionException.java: Update to 1.4.
9531         * java/beans/PropertyVetoException.java: Ditto.
9532
9533 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9534
9535         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9536         Arrays.equals instead of ArrayHelper.equalsArray.
9537
9538 2002-03-24  C. Brian Jones <cbj@gnu.org>
9539
9540         * java/beans/Introspector.java: added new static final fields
9541         introduced in 1.2, lots of other updates remain to be done
9542
9543 2002-03-24  C. Brian Jones <cbj@gnu.org>
9544
9545         * java/beans/Introspector.java: reformatting
9546
9547 2002-03-24  C. Brian Jones <cbj@gnu.org>
9548
9549         * java/beans/Introspector.java: default beanInfoSearchPath will
9550         not include sun.beans.infos given we provide no such package and
9551         the API doesn't really require it; gnu.java.beans.info is the
9552         default.
9553
9554 2002-03-24  Mark Wielaard  <mark@klomp.org>
9555
9556         Thanks to Orp developers
9557         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9558         switch TRUE and FALSE return values.
9559
9560 2002-03-23  Tom Tromey  <tromey@redhat.com>
9561
9562         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9563         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9564
9565 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9566
9567         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9568         MONTH entry.  Fixes PR libgcj/6045.
9569
9570 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9571
9572         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9573
9574 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9575
9576         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9577         not release_set.
9578         * sysdep/powerpc/locks.h (write_barrier): New function.
9579         * sysdep/i386/locks.h (write_barrier): New function.
9580
9581 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9582
9583         * include/jni.h Use correct C comments.
9584
9585 2002-03-18  Tom Tromey  <tromey@redhat.com>
9586
9587         * include/jni.h (JNIIMPORT): New macro.
9588         (JNIEXPORT): Likewise.
9589         (JNICALL): Likewise.
9590
9591 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9592
9593         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9594         systems.
9595
9596 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9597
9598         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9599         INIT_SEGV: Use old_i386_kernel_sigaction.
9600         INIT_FP: Likewise.
9601
9602 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9603
9604         * java/lang/natSystem.cc (init_properties): Update VM version
9605         properties.
9606         * configure.in: Set GCJVERSION.
9607         * acconfig.h: Add GCJVERSION.
9608         * configure: Rebuilt.
9609         * include/config.h.in: Rebuilt.
9610
9611 2002-03-17  Anthony Green  <green@redhat.com>
9612
9613         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9614
9615 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9616
9617         Build a single libgcj.so, without separate gc and zlib libraries.
9618         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9619         SYS_ZLIBS if system zlib is used.
9620         * configure: Rebuilt.
9621         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9622         * Makefile.in: Rebuilt.
9623         * libtool-version: Increment .so version number.
9624
9625         * Makefile.am: Escape quotes in echo.
9626         * Makefile.in: Rebuilt.
9627
9628 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9629
9630         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9631         * Makefile.in: Rebuilt.
9632
9633 2002-03-15  Anthony Green  <green@redhat.com>
9634
9635         * configure.host (FILE): New macro for specifing File
9636         implementation.
9637         * configure: Rebuilt.
9638         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9639
9640 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9641
9642         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9643         already implicitly brought in from libgcj.la.
9644         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9645         * Makefile.in: Rebuilt.
9646
9647 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9648
9649         * THANKS: Fix punctuation, alphabetization.
9650
9651 2002-03-15  Tom Tromey  <tromey@redhat.com>
9652             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9653
9654         Fix for PR libgcj/5944.
9655         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9656
9657 2002-03-15  Anthony Green  <green@redhat.com>
9658
9659         * configure.in (tool_include_dir): Define.
9660         * configure: Rebuilt.
9661         * gcj/Makefile.am: Install libgcj-config.h relative to
9662         tool_include_dir.
9663         * gcj/Makefile: Rebuilt.
9664         * gcj/libgcj-config.h: Add warning comment.
9665
9666 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9667
9668         * configure.host (powerpc*-darwin*): Enable interpreter.
9669
9670 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9671
9672         * include/posix.h: Add multiple include header protection.
9673         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9674
9675 2002-03-10  Adam Megacz <adam@xwt.org>
9676
9677         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9678
9679 2002-03-10  Tom Tromey  <tromey@redhat.com>
9680
9681         * java/awt/GridLayout.java (layoutContainer): Handle case where
9682         there are no items in container.
9683
9684         * java/lang/Win32Process.java: Added comment.
9685         * include/posix.h (_Jv_platform_close_on_exec): New function.
9686         Include fcntl.h.
9687         * include/win32.h (_Jv_platform_close_on_exec): New function.
9688         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9689         flag.
9690         (accept): Likewise.
9691         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9692         close-on-exec flag.
9693         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9694         flag.
9695
9696 2002-03-09  Tom Tromey  <tromey@redhat.com>
9697
9698         * verify.cc (state::NO_STACK): New constant.
9699         (state::is_unmerged_ret_state): Handle case where stacktop is
9700         NO_STACK.
9701         (state::merge): Handle NO_STACK merges.
9702         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9703         for instruction following jsr.
9704         (stacktop, stackdepth): Removed unused variables.
9705         (pop_jump): Ignore case where all remaining states are skipped.
9706
9707 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9708
9709         * java/awt/ImageMediaEntry: Removed.
9710         * java/awt/MediaEntry: Removed.
9711
9712 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9713
9714         Hashtable synchronization for PowerPC.
9715         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9716         slow_pthread_self. Set up symlink for sysdeps directory.
9717         * configure: Rebuild.
9718         * configure.host: Document more shell variables. Set sysdeps_dir
9719         for most platforms. Set slow_pthread_self for i686. Set
9720         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9721         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9722         that memory barrier is emitted where required.
9723         * prims.cc: 64-bit align static primitive class instances.
9724         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9725         read_barrier() to enforce ordering of reads.
9726         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9727         primitives for PowerPC.
9728         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9729         moved from natObject.cc.
9730         * sysdep/alpha/locks.h: Likewise.
9731         * sysdep/ia64/locks.h: Likewise.
9732         * sysdep/generic/locks.h: Likewise.
9733         * java/lang/natObject.cc: Move thread synchronization primitives to
9734         system-dependent headers.
9735
9736 2002-03-09  Adam Megacz  <adam@xwt.org>
9737
9738         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9739         bytes read and no failure code returned.
9740
9741 2002-03-09  Adam Megacz  <adam@xwt.org>
9742
9743         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9744         definitions to simulate -mthreads.
9745
9746 2002-03-09  Adam Megacz  <adam@xwt.org>
9747
9748         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9749         avoid precision loss.
9750
9751 2002-03-09  Per Bothner  <per@bothner.com>
9752
9753         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9754         * gnu/gcj/xlib/XImage.java:  Likewise.
9755         * gnu/gcj/xlib/XColor.java:  Likewise.
9756
9757 2002-03-09  Adam Megacz  <adam@xwt.org>
9758
9759         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9760         IOException so that Throwable.printStackTrace fails correctly.
9761
9762 2002-03-08  Adam Megacz  <adam@xwt.org>
9763
9764         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9765         fixed.
9766
9767 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9768
9769         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9770         truncated to int.
9771
9772 2002-03-08  Tom Tromey  <tromey@redhat.com>
9773
9774         * include/jni.h: Include stdio.h.
9775
9776 2002-03-08  Tom Tromey  <tromey@redhat.com>
9777
9778         * posix.cc (internal_gettimeofday): New function.
9779         (_Jv_select): Use it.
9780
9781 2002-03-07  Adam Megacz  <adam@xwt.org>
9782
9783         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9784         WIN32, and added thunks for read(), write(), and close().
9785         * java/net/natPlainSocketImpl.cc (accept, read, read):
9786         Disabled timeouts on WIN32 pending discussion.
9787
9788 2002-03-07  Adam Megacz  <adam@xwt.org>
9789
9790         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9791         returns jlong. Added implementation
9792         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9793         returns jlong.
9794         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9795         returns jlong.
9796         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9797         returns jlong.
9798         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9799         _Jv_platform_gettimeofday signature.
9800
9801 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9802
9803         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9804         (read): Call recv() directly, not _Jv_recv().
9805
9806 2002-03-06  Tom Tromey  <tromey@redhat.com>
9807
9808         * java/io/natFileDescriptorEcos.cc (init): Don't use
9809         GetStdHandle.
9810         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9811         is negative.
9812         (init): Don't use GetStdHandle.
9813
9814         * include/config.h.in: Rebuilt.
9815         * configure: Rebuilt.
9816         * Makefile.in: Rebuilt.
9817
9818 2002-03-06  Adam Megacz  <adam@xwt.org>
9819
9820         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9821         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9822         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9823         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9824
9825 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9826
9827         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9828         the code for generating include/java-chartables.h.
9829         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9830         merge with Classpath.
9831         * scripts/unicode-muncher.pl: Copy from Classpath.
9832         * scritps/MakeCharTables.java: New file.
9833         * gnu/gcj/convert/Blocks-3.txt: New file.
9834         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9835         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9836         * gnu/java/lang/CharData.java: Copy from Classpath.
9837         * Makefile.am (ordinary_java_source_files): Add
9838         gnu/java/lang/CharData.java.
9839         * configure.in: Remove --enable-fast-character option.
9840         * java/lang/Character.java: Merge algorithms and Javadoc with
9841         Classpath.
9842         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9843         efficiently.
9844         * include/java-chardecomp.h: Regenerate.
9845         * include/java-chartables.h: Regenerate.
9846
9847 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9848
9849         * java/awt/MediaTracker.java: Implemented.
9850         * Makefile.am: Add MediaTracker.
9851         * Makefile.in: Rebuilt.
9852
9853 2002-03-05  Tom Tromey  <tromey@redhat.com>
9854
9855         * java/lang/natPosixProcess.cc (fail): Removed.
9856         (startProcess): Simplified error-handling.  Preserve
9857         LD_LIBRARY_PATH across exec.
9858
9859         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9860         AbstractMethodError.
9861
9862 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9863
9864         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9865         * Makefile.in: Rebuilt.
9866
9867 2002-03-03 Mark Wielaard <mark@klomp.org>
9868
9869         * java/util/Timer (TaskQueue.stop): set elements to zero.
9870
9871 2002-02-28  Anthony Green  <green@redhat.com>
9872
9873         * java/lang/reflect/natMethod.cc (result): Add void* element.
9874         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9875         constructor test.
9876
9877 2002-02-27  Adam Megacz <adam@xwt.org>
9878
9879         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9880         '#undef STRICT'.
9881
9882 2002-02-26  Tom Tromey  <tromey@redhat.com>
9883
9884         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9885         * gij.cc (version): Use __VERSION__.
9886         * include/config.h.in: Rebuilt.
9887         * acconfig.h (GCJVERSION): Removed.
9888         * configure: Rebuilt.
9889         * configure.in (GCJVERSION): Removed.
9890
9891 2002-02-26  Andreas Schwab  <schwab@suse.de>
9892
9893         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9894         glibcpp_CXX, since libjava uses even another CXX.
9895         * aclocal.m4, configure: Regenerated.
9896
9897 2002-02-26  Tom Tromey  <tromey@redhat.com>
9898
9899         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9900         `1'.
9901
9902 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9903
9904         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9905         dependency tracking for .java files.
9906         * Makefile.in: Rebuilt.
9907
9908 2002-02-24  Adam Megacz  <adam@xwt.org>
9909
9910         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9911         typo. Sorry.
9912
9913 2002-02-24  Adam Megacz  <adam@xwt.org>
9914
9915         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9916         for Win32, changed #ifdefs to check WIN32 instead of the
9917         (now-obsolete) USE_WINSOCK, and removed support for socket
9918         timeouts on Win32 pending further discussion.
9919
9920 2002-02-24  Adam Megacz  <adam@xwt.org>
9921
9922         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9923         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9924         delete
9925
9926 2002-02-24  Adam Megacz  <adam@xwt.org>
9927
9928         * java/lang/Win32Process.java: Created a dummy class to allow
9929         build process to run to completion.
9930
9931 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9932
9933         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9934         Define ffi_result union for ffi_call result.  Cast
9935         ffi_result members to jvalue.
9936
9937 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9938
9939         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9940         * testsuite/Makefile.in: Likewise.
9941
9942 2002-02-20  Per Bothner  <per@bothner.com>
9943
9944         * java/net/URL.java (getPath):  New JDK 1.3 method.
9945
9946         * java/net/URLStreamHandler.java (parseURL):
9947         It is wrong to prepend '/' to the file part of a relative url.
9948
9949         * java/net/URLStreamHandler.java (parseURL):
9950         Minor optizations - append '/' rather than "/".
9951
9952         * java/net/URLStreamHandler.java (parseURL):
9953         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9954         We probably should canonicalize for a context-relative url, though.
9955         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9956         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9957         (sameFile):  New method.  Uses canonicalizeFilename.
9958
9959 2002-02-22  Tom Tromey  <tromey@redhat.com>
9960
9961         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9962         java.vendor and java.vm.vendor.
9963         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9964         recent copyright date.
9965         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9966         * gij.cc (version): Print `Inc'.
9967
9968 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9969
9970         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9971         * aclocal.m4, configure: Rebuilt.
9972
9973 2002-02-20  Per Bothner  <per@bothner.com>
9974
9975         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
9976         and/or output streams immediately here, instead of using File.exists.
9977         (inputStream, outputStream):  New fields to save open streams.
9978         (getInputStream, getOutputStream):  Use already-opened streams.
9979
9980 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9981
9982         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
9983         Use it.
9984         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
9985         * aclocal.m4, configure, Makefile.in: Rebuilt.
9986
9987 2002-02-19  Tom Tromey  <tromey@redhat.com>
9988
9989         Fix for PR libgcj/5696:
9990         * verify.cc (is_assignable_from_slow): Never call
9991         _Jv_IsAssignableFrom.
9992         (verify_instructions_0): Added new debug statement.
9993         (state::print): Print information about whether local has
9994         changed.
9995         (state::merge): Don't call note_variable when merging locals.
9996         (state::set_exception): Removed old FIXME comment.
9997
9998 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9999
10000         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10001         enable SO_BROADCAST.
10002
10003 2002-02-18  Jason Merrill  <jason@redhat.com>
10004
10005         * name-finder.cc (toHex): Use word mode, not long long.
10006
10007         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10008
10009 2002-02-15  Tom Tromey  <tromey@redhat.com>
10010
10011         Fix for PR libgcj/5695:
10012         * verify.cc (is_assignable_from_slow): Check to see if target is
10013         an Object before checking to see if source is an interface.
10014         (verify_instructions_0) [op_invokeinterface]: Handle case where
10015         we're making an interface call on Object.
10016
10017 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10018
10019         * Makefile.in: Rebuilt with Eric's change below.
10020
10021         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10022         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10023         Removed functions which are now implemented in Math.java.
10024
10025 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10026
10027         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10028         * Makefile.am (core_java_source_files): Add
10029         java/lang/StrictMath.java.
10030         * java/lang/Math.java: Merge with Classpath.
10031         * java/lang/StrictMath.java: New file - merge with Classpath.
10032
10033 2002-02-14  Mark Wielaard  <mark@klomp.org>
10034
10035         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10036         package as a workaround for gcj 3.0.x
10037
10038 2002-02-14  Mark Wielaard <mark@klomp.org>
10039
10040         * java/security/BasicPermission.java: extends with fully qualified
10041         classname as workaround for gcj 3.0.4.
10042
10043 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10044
10045         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10046         around gcj bug of wrong emitted qualifier for inherited method.
10047         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10048         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10049         constructor to reduce amount of emitted bytecode. While this
10050         happens to work around a jikes 1.15 bug, it is still a useful
10051         patch even for correct compilers.
10052         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10053         * gnu/java/rmi/server/UnicastRemoteCall.java
10054         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10055
10056 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10057
10058         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10059         * java/net/SocketImpl.java: Ditto.
10060         * java/rmi/server/RMIClassLoader.java: Ditto.
10061         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10062
10063 2002-02-14  Mark Wielaard <mark@klomp.org>
10064
10065         Thanks to Takashi Okamoto
10066         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10067         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10068         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10069
10070 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10071
10072         Fix for PR libgcj/5670:
10073         * verify.cc (is_assignable_from_slow): If `source' is interface,
10074         recursively look for merge with `target'.
10075
10076 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10077
10078         * include/jni.h: Fix typo.
10079
10080 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10081
10082         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10083         correctly.
10084
10085 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10086
10087         Fix for PR libgcj/5671:
10088         * verify.cc (state::merge): Handle case where we're merging
10089         against an interface.
10090
10091 2002-02-12  Tom Tromey  <tromey@redhat.com>
10092
10093         * exception.cc (std::abort): Mark as noreturn.
10094
10095 2002-02-12  Adam Megacz <adam@xwt.org>
10096
10097         * java/lang/Win32Process.java: Filled in a placeholder
10098         implementation so Win32 will build.
10099
10100 2002-02-12  Adam Megacz <adam@xwt.org>
10101
10102         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10103         * java/io/natFile.cc: Removed from repository.
10104         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10105
10106 2002-02-12  Adam Megacz <adam@xwt.org>
10107
10108         * win32.cc: Added two #includes to make win32.cc compile.
10109
10110 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10111
10112         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10113         declarations.
10114         (_Jv_InitGC): Don't bother locking, as this is always called from a
10115         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10116
10117 2002-02-11  Adam Megacz <adam@xwt.org>
10118
10119         * include/win32.h: Added _Jv_platform_gettimeofday.
10120         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10121
10122 2002-02-11  Adam Megacz <adam@xwt.org>
10123
10124         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10125         Added #undef STRICT to make windows.h and
10126         java/lang/reflect/Modifier.h cooperate.
10127
10128 2002-02-11  Adam Megacz <adam@xwt.org>
10129
10130         * java/io/natFileWin32.cc: Created a placeholder class with lots
10131         of FIXMEs.
10132
10133 2002-02-11  Adam Megacz <adam@xwt.org>
10134
10135         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10136         std::abort() to simply abort(). Also added "fake" std::abort() so
10137         we can #include unwind-pe.h without having to link against
10138         libstdc++-v3.
10139
10140 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10141
10142         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10143
10144 2002-02-08  Tom Tromey  <tromey@redhat.com>
10145
10146         * interpret.cc (convert): New function.
10147         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10148         convert.
10149         Include Long.h.
10150
10151 2002-02-08  Anthony Green  <green@redhat.com>
10152
10153         * configure.host: Add support for xscale-elf embedded target.
10154
10155 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10156
10157         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10158         dereferenced.
10159         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10160         frame.
10161
10162 2002-02-07  Tom Tromey  <tromey@redhat.com>
10163
10164         * java/io/natFile.cc (_access): Use __builtin_alloca.
10165         (_stat): Likewise.
10166         (attr): Likewise.
10167         (getCanonicalPath): Likewise.
10168         (performList): Likewise.
10169         (performMkdir): Likewise.
10170         (performSetReadOnly): Likewise.
10171         (performRenameTo): Likewise.
10172         (performSetLastModified): Likewise.
10173         (performCreate): Likewise.
10174         (performDelete): Likewise.
10175
10176 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10177
10178         * HACKING: Fix URL for the automake-gcj.
10179
10180 2002-02-07  Tom Tromey  <tromey@redhat.com>
10181
10182         * java/lang/natThrowable.cc: Updated copyright.
10183         * java/io/natFileWin32.cc: Updated copyright.
10184         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10185         * win32-threads.cc: Updated copyright.
10186         * name-finder.cc: Updated copyright.
10187         * include/name-finder.h: Updated copyright.
10188
10189         * include/name-finder.h: Conditionally include sys/wait.h.
10190         * include/config.h.in: Rebuilt.
10191
10192         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10193         Size buffer based on real size of string.
10194         (_stat): Likewise.
10195         (attr): Likewise.
10196         (getCanonicalPath): Likewise.
10197         (performList): Likewise.
10198         (performMkdir): Likewise.
10199         (performSetReadOnly): Likewise.
10200         (unixroot): Removed.
10201         (performRenameTo): Likewise.
10202         (performSetLastModified): Likewise.
10203         (performCreate): Likewise.
10204         (performDelete): Likewise.
10205         (performListRoots): Always return new array.
10206
10207         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10208         * win32.cc (win32_exception_handler): Now static.
10209         * include/win32.h (_Jv_platform_initialize): Declare.
10210         (win32_exception_handler): Don't declare.
10211         * java/lang/natSystem.cc (currentTimeMillis): Use
10212         _Jv_platform_gettimeofday.
10213         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10214         (_Jv_select): Use new name.
10215         (_Jv_platform_initialize): New function.
10216         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10217         _Jv_gettimeofday.
10218         (_Jv_platform_initialize): Declare.
10219
10220         * configure: Rebuilt.
10221         * configure.in: Removed unnecessary parens.
10222
10223 2002-02-06  Adam Megacz <adam@xwt.org>
10224
10225        * configure.in: Changed mingw) to *mingw*).
10226        * win32.cc: Created this file.
10227        * win32.h: Created this file.
10228        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10229        win32_exception_handler from prims.cc to win32.cc, added
10230        header in win32.h.
10231        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10232        longer needed now that we have platform.h
10233
10234 2002-02-06  Adam Megacz <adam@xwt.org>
10235
10236         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10237         use uint<n>_t instead of LONG and BYTE
10238
10239 2002-02-06  Adam Megacz <adam@xwt.org>
10240
10241         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10242
10243 2002-02-06  Anthony Green  <green@redhat.com>
10244
10245         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10246         Implement missing method stubs.
10247         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10248         targets.
10249         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10250         concept of timezones.
10251         (init_properties): Don't refer to _Jv_Environment_Properties
10252         when this feature is not available.
10253         * include/config.h.in: Rebuilt.
10254         * acconfig.h: Add DISABLE_MAIN_ARGS.
10255         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10256         * configure: Rebuilt.
10257         * configure.in: Add --disable-main-args option.  Test for
10258           opendir function.  Replace AC_CHECK_SIZEOF with
10259           AC_COMPILE_CHECK_SIZEOF.
10260         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10261         * aclocal.m4: Rebuilt.
10262         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10263
10264 2002-02-06  Tom Tromey  <tromey@redhat.com>
10265
10266         * verify.cc (require_array_type): If argument is a null array of
10267         references, return null as the element type.
10268
10269 2002-02-06  Mark Wielaard  <mark@klomp.org>
10270
10271         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10272         duplicate of a wide type.
10273
10274 2002-02-06  Tom Tromey  <tromey@redhat.com>
10275
10276         * verify.cc (type::isnull): New method.
10277         (require_array_type): Handle case where array is null.
10278         (verify_instructions_0) [op_arraylength]: Likewise.
10279
10280 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10281
10282         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10283         Symlink PLATFORMH to platform.h.
10284         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10285         PLATFORMOBJS.
10286         * java/lang/natSystem.cc: #include platform.h not posix.h.
10287         * Makefile.in: Rebuilt with libgcj automake.
10288         * configure: Rebuilt.
10289
10290 2002-02-05  Richard Henderson  <rth@redhat.com>
10291
10292         * Makefile.in: Undo munging last change.
10293
10294 2002-02-04  Adam Megacz <adam@xwt.org>
10295
10296         * win32.cc: Created it.
10297         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10298         which is set to posix.cc or win32.cc.
10299         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10300
10301 2002-02-04  Adam Megacz <adam@xwt.org>
10302
10303         * configure.in: Corrected mingw case branches; added * before
10304         and after.
10305
10306 2002-02-04  Adam Megacz <adam@xwt.org>
10307
10308         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10309         if compiling for win32
10310
10311 2002-02-04  Adam Megacz <adam@xwt.org>
10312
10313         * win32-threads.cc: #undef STRICT after gc.h inclusion
10314
10315 2002-02-02  Tom Tromey  <tromey@redhat.com>
10316
10317         * Makefile.in: Rebuilt.
10318
10319 2002-02-02  Jason Merrill  <jason@redhat.com>
10320
10321         * Makefile.am (clean-nat): New target.
10322
10323 2002-02-02  Tom Tromey  <tromey@redhat.com>
10324
10325         * java/io/natFile.cc: Removed old "FIXME" comments.
10326
10327 2002-02-01  Tom Tromey  <tromey@redhat.com>
10328
10329         * java/lang/natPosixProcess.cc (myclose): New function.
10330         (fail): Use it.
10331         (startProcess): Likewise.
10332
10333 2002-02-01  Adam Megacz <adam@xwt.org>
10334
10335         * prims.cc: Added #undef STRICT after #include<windows.h>.
10336
10337 2002-02-01  Adam Megacz <adam@xwt.org>
10338
10339         * prims.cc
10340         (_Jv_CreateJavaVM): We now use WIN32 instead of
10341         USE_WIN32_SIGNALLING and USE_WINSOCK.
10342         (win32_exception_handler): Now throws an exception out of
10343         the signal handler; assumes SJLJ.
10344
10345 2002-02-01  Adam Megacz <adam@xwt.org>
10346
10347         * win32-threads.cc:
10348         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10349         wait() algorithm to make it safe.
10350         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10351         Added lazy creation of Win32 Events for better performance
10352         (really_start): This now uses GC_CreateThread so boehm-gc
10353         knows about new threads even when statically linked.
10354
10355 2002-02-01  Adam Megacz <adam@xwt.org>
10356
10357         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10358         enable safer wait() algorithm.
10359         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10360         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10361         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10362         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10363         instead of mutex.
10364         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10365
10366 2002-02-01  Adam Megacz <adam@xwt.org>
10367
10368         * configure.in: Added support for mingw.
10369         * java/lang/Win32Process.java: Created as empty file.
10370         * java/lang/natWin32Process.cc: Created as empty file.
10371
10372 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10373
10374         PR java/4972
10375         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10376         for libiconv in LIBICONV variable.
10377         * configure: Regenerated.
10378
10379 2002-01-31  Tom Tromey  <tromey@redhat.com>
10380
10381         * verify.cc (state::enter_subroutine): New method.
10382         (handle_jsr_insn): Use it.
10383         (state::merge): When processing a `ret', correctly use
10384         subroutine's state to determine which local variables have
10385         changed.
10386         (push_exception_jump): Don't let stack overflow.
10387
10388 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10389
10390         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10391         --version output.
10392
10393 2002-01-30  Tom Tromey  <tromey@redhat.com>
10394
10395         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10396         parameter for `recv' return type.
10397
10398         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10399         (state::merge): ... not here.
10400         (subr_entry_info): New structure.
10401         (entry_points): New field.
10402         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10403         entry_points.
10404
10405 2002-01-29  Tom Tromey  <tromey@redhat.com>
10406
10407         * java/awt/List.java (addNotify): Correctly check to see if peer
10408         does not exist.
10409
10410         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10411         to compute height of each cell, and number of columns to compute
10412         width of each cell.
10413         * java/awt/Window.java (getOwnedWindows): Don't return null.
10414         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10415         of component.  Increment x using horizontal gap, not vertical
10416         gap.
10417
10418 2002-01-28  Tom Tromey  <tromey@redhat.com>
10419
10420         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10421         `nargs' byte is number of words, not number of arguments.
10422
10423 2002-01-27  Tom Tromey  <tromey@redhat.com>
10424
10425         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10426         (when): Likewise.
10427         * java/awt/event/InputEvent.java (modifiers, when): Now
10428         package-private.
10429
10430         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10431         and to-do list.
10432         (state::merge): Use current class' class loader.
10433         (state::print): Print subroutine.
10434         (state::merge): Don't look at subroutine of unmerged `ret'.
10435
10436 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10437
10438         * nogc.cc: Remove warnings.
10439         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10440         New functions.
10441
10442 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10443
10444         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10445         int, int):  Remove empty "if" statement to work around compiler bug.
10446         (newPixels(int[], ColorModel, int, int): Likewise.
10447
10448 2002-01-25  Per Bothner  <per@bothner.com>
10449
10450         * verify.cc (verify_fail):  Change from being a top-level function
10451         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10452         Pass the current verifier to type: and state: methods as needed,
10453         for better error messages, and for resolve.
10454         (resolve):  Pass current class's loader for Class.forName and
10455         _Jv_FindClassFromSignature, rather than using the default loader.
10456         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10457         (get_type_val_for_signature):  Make non-static.
10458         (various methods):  Pass start_PC implicitly, not explicitly.
10459
10460 2002-01-25  Tom Tromey  <tromey@redhat.com>
10461
10462         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10463         loop termination condition.
10464         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10465         width.
10466
10467 2002-01-24  Tom Tromey  <tromey@redhat.com>
10468
10469         * java/awt/Shape.java: Merged with Classpath.
10470         * java/awt/Scrollbar.java: Merged with Classpath.
10471
10472         * java/awt/Container.java (addNotify): Unconditionally call
10473         addNotifyContainerChildren and superclass addNotify.
10474
10475         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10476         getAlpha, not getBlue.
10477
10478 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10479
10480         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10481
10482         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10483         (grabPixels(long)): Wait to be notified that the ImageProducer has
10484         completed.
10485
10486 2002-01-24  Per Bothner  <per@bothner.com>
10487
10488         * verify.cc (is_assignable_from_slow): If target is an interface,
10489         we must still check the source's superclass before giving up.
10490
10491 2002-01-24  Tom Tromey  <tromey@redhat.com>
10492
10493         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10494
10495 2002-01-23  Tom Tromey  <tromey@redhat.com>
10496
10497         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10498         `else'.
10499
10500         * Makefile.in: Rebuilt.
10501         * Makefile.am (awt_java_source_files): Added new files.
10502         * java/awt/Toolkit.java: Merged with Classpath.
10503         * java/awt/PrintGraphics.java: New file from Classpath.
10504         * java/awt/PrintJob.java: New file from Classpath.
10505         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10506         * java/awt/datatransfer/ClipboardOwner.java: New file from
10507         Classpath.
10508         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10509         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10510         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10511         Classpath.
10512         * java/awt/datatransfer/StringSelection.java: New file from
10513         Classpath.
10514         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10515         Classpath.
10516         * java/awt/datatransfer/Transferable.java: New file from
10517         Classpath.
10518         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10519         from Classpath.
10520
10521         * Makefile.in: Rebuilt.
10522         * Makefile.am (awt_java_source_files): Added new files.
10523         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10524         Classpath.
10525         * java/awt/image/CropImageFilter.java: New file from Classpath.
10526         * java/awt/image/FilteredImageSource.java: New file from
10527         Classpath.
10528         * java/awt/image/ImageFilter.java: New file from Classpath.
10529         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10530         * java/awt/image/PixelGrabber.java: New file from Classpath.
10531         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10532         * java/awt/image/ReplicateScaleFilter.java: New file from
10533         Classpath.
10534         * java/awt/image/ImageProducer.java: Replaced with Classpath
10535         version.
10536         * java/awt/image/ImageObserver.java: Replaced with Classpath
10537         version.
10538         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10539         version.
10540         * java/awt/GridBagConstraints.java (clone): Catch
10541         CloneNotSupportedException.
10542
10543 2002-01-23  Per Bothner  <per@bothner.com>
10544
10545         * java/lang/reflect/natField.cc (setAddr):  New function.
10546         Calls getAddr and then checks that the field isn't final.
10547         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10548         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10549         (set):  Call setAddr before check that new value has right type,
10550         to better match specified semantics.
10551
10552 2002-01-22  Tom Tromey  <tromey@redhat.com>
10553
10554         * java/awt/TextField.java: Replaced with Classpath version.
10555         * java/awt/TextArea.java: Replaced with Classpath version.
10556         * java/awt/TextComponent.java: Replaced with Classpath version.
10557
10558         * java/awt/GridBagConstraints.java: Updated copyright.
10559
10560 2002-01-22  Mark Wielaard <mark@klomp.org>
10561
10562         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10563         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10564         java/awt/Dialog.java java/awt/FileDialog.java
10565         java/awt/Font.java java/awt/FontMetrics.java
10566         java/awt/Image.java java/awt/ImageMediaEntry.java
10567         java/awt/Insets.java java/awt/List.java
10568         java/awt/MediaEntry.java java/awt/MediaTracker.java
10569         java/awt/Menu.java java/awt/MenuBar.java
10570         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10571         java/awt/PaintContext.java java/awt/Panel.java
10572         java/awt/PopupMenu.java java/awt/SystemColor.java
10573         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10574         java/awt/peer/CheckboxMenuItemPeer.java
10575         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10576         java/awt/peer/ComponentPeer.java
10577         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10578         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10579         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10580         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10581         java/awt/peer/MenuBarPeer.java
10582         java/awt/peer/MenuComponentPeer.java
10583         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10584         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10585         java/awt/peer/ScrollPanePeer.java
10586         java/awt/peer/ScrollbarPeer.java
10587         java/awt/peer/TextAreaPeer.java
10588         java/awt/peer/TextComponentPeer.java
10589         java/awt/peer/TextFieldPeer.java
10590         java/awt/peer/WindowPeer.java: Add license clarification.
10591
10592 2002-01-22  Mark Wielaard <mark@klomp.org>
10593
10594         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10595         gnu/gcj/runtime/StringBuffer.java
10596         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10597         gnu/java/awt/ComponentDataBlitOp.java
10598         gnu/java/awt/GLightweightPeer.java
10599         gnu/java/beans/BeanInfoEmbryo.java
10600         gnu/java/beans/EmptyBeanInfo.java
10601         gnu/java/beans/ExplicitBeanInfo.java
10602         gnu/java/beans/IntrospectionIncubator.java
10603         gnu/java/beans/editors/ColorEditor.java
10604         gnu/java/beans/editors/FontEditor.java
10605         gnu/java/beans/editors/NativeBooleanEditor.java
10606         gnu/java/beans/editors/NativeByteEditor.java
10607         gnu/java/beans/editors/NativeDoubleEditor.java
10608         gnu/java/beans/editors/NativeFloatEditor.java
10609         gnu/java/beans/editors/NativeIntEditor.java
10610         gnu/java/beans/editors/NativeLongEditor.java
10611         gnu/java/beans/editors/NativeShortEditor.java
10612         gnu/java/beans/editors/StringEditor.java
10613         gnu/java/beans/info/ComponentBeanInfo.java
10614         gnu/java/io/ClassLoaderObjectInputStream.java
10615         gnu/java/io/NullOutputStream.java
10616         gnu/java/io/ObjectIdentityWrapper.java
10617         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10618         gnu/java/lang/reflect/TypeSignature.java
10619         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10620         gnu/java/locale/Calendar_en.java
10621         gnu/java/locale/Calendar_nl.java
10622         gnu/java/locale/LocaleInformation.java
10623         gnu/java/locale/LocaleInformation_de.java
10624         gnu/java/locale/LocaleInformation_en.java
10625         gnu/java/locale/LocaleInformation_nl.java
10626         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10627         gnu/java/rmi/registry/RegistryImpl.java
10628         gnu/java/rmi/rmic/Compile_gcj.java
10629         gnu/java/rmi/rmic/Compiler.java
10630         gnu/java/rmi/rmic/CompilerProcess.java
10631         gnu/java/rmi/rmic/RMIC.java
10632         gnu/java/rmi/rmic/TabbedWriter.java
10633         gnu/java/rmi/server/ProtocolConstants.java
10634         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10635         gnu/java/rmi/server/RMIHashes.java
10636         gnu/java/rmi/server/RMIObjectInputStream.java
10637         gnu/java/rmi/server/RMIObjectOutputStream.java
10638         gnu/java/rmi/server/UnicastConnection.java
10639         gnu/java/rmi/server/UnicastConnectionManager.java
10640         gnu/java/rmi/server/UnicastRef.java
10641         gnu/java/rmi/server/UnicastRemoteCall.java
10642         gnu/java/rmi/server/UnicastRemoteStub.java
10643         gnu/java/rmi/server/UnicastServer.java
10644         gnu/java/rmi/server/UnicastServerRef.java
10645         gnu/java/security/provider/DefaultPolicy.java
10646         gnu/java/security/provider/Gnu.java
10647         gnu/java/security/provider/SHA.java
10648         gnu/java/security/provider/SHA1PRNG.java
10649         gnu/java/text/BaseBreakIterator.java
10650         gnu/java/text/CharacterBreakIterator.java
10651         gnu/java/text/LineBreakIterator.java
10652         gnu/java/text/SentenceBreakIterator.java
10653         gnu/java/text/WordBreakIterator.java
10654         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10655         java/applet/AppletContext.java java/applet/AppletStub.java
10656         java/applet/AudioClip.java java/awt/AWTError.java
10657         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10658         java/awt/AWTException.java java/awt/AWTPermission.java
10659         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10660         java/awt/Button.java java/awt/Canvas.java
10661         java/awt/CardLayout.java java/awt/Checkbox.java
10662         java/awt/CheckboxGroup.java java/awt/Component.java
10663         java/awt/ComponentOrientation.java java/awt/Container.java
10664         java/awt/Dimension.java java/awt/Event.java
10665         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10666         java/awt/FlowLayout.java java/awt/Frame.java
10667         java/awt/Graphics.java java/awt/Graphics2D.java
10668         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10669         java/awt/IllegalComponentStateException.java
10670         java/awt/ItemSelectable.java java/awt/Label.java
10671         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10672         java/awt/MenuComponent.java java/awt/MenuItem.java
10673         java/awt/Paint.java java/awt/Point.java
10674         java/awt/Rectangle.java java/awt/RenderingHints.java
10675         java/awt/Transparency.java java/awt/Window.java
10676         java/awt/color/ColorSpace.java
10677         java/awt/color/ICC_ColorSpace.java
10678         java/awt/color/ICC_Profile.java
10679         java/awt/event/HierarchyBoundsAdapter.java
10680         java/awt/event/HierarchyBoundsListener.java
10681         java/awt/event/HierarchyEvent.java
10682         java/awt/event/HierarchyListener.java
10683         java/awt/geom/AffineTransform.java
10684         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10685         java/awt/geom/IllegalPathStateException.java
10686         java/awt/geom/Line2D.java
10687         java/awt/geom/NoninvertibleTransformException.java
10688         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10689         java/awt/geom/Rectangle2D.java
10690         java/awt/geom/RectangularShape.java
10691         java/awt/geom/RoundRectangle2D.java
10692         java/awt/image/BufferedImage.java
10693         java/awt/image/ColorModel.java
10694         java/awt/image/ComponentColorModel.java
10695         java/awt/image/ComponentSampleModel.java
10696         java/awt/image/DataBuffer.java
10697         java/awt/image/DataBufferByte.java
10698         java/awt/image/DataBufferInt.java
10699         java/awt/image/DataBufferUShort.java
10700         java/awt/image/DirectColorModel.java
10701         java/awt/image/PackedColorModel.java
10702         java/awt/image/Raster.java java/awt/image/RasterOp.java
10703         java/awt/image/SampleModel.java
10704         java/awt/image/SinglePixelPackedSampleModel.java
10705         java/awt/image/WritableRaster.java
10706         java/beans/AppletInitializer.java
10707         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10708         java/beans/Beans.java java/beans/Customizer.java
10709         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10710         java/beans/FeatureDescriptor.java
10711         java/beans/IndexedPropertyDescriptor.java
10712         java/beans/IntrospectionException.java
10713         java/beans/Introspector.java java/beans/MethodDescriptor.java
10714         java/beans/ParameterDescriptor.java
10715         java/beans/PropertyChangeEvent.java
10716         java/beans/PropertyChangeListener.java
10717         java/beans/PropertyChangeSupport.java
10718         java/beans/PropertyDescriptor.java
10719         java/beans/PropertyEditor.java
10720         java/beans/PropertyEditorManager.java
10721         java/beans/PropertyEditorSupport.java
10722         java/beans/PropertyVetoException.java
10723         java/beans/SimpleBeanInfo.java
10724         java/beans/VetoableChangeListener.java
10725         java/beans/VetoableChangeSupport.java
10726         java/beans/Visibility.java
10727         java/beans/beancontext/BeanContext.java
10728         java/beans/beancontext/BeanContextChild.java
10729         java/beans/beancontext/BeanContextChildComponentProxy.java
10730         java/beans/beancontext/BeanContextChildSupport.java
10731         java/beans/beancontext/BeanContextContainerProxy.java
10732         java/beans/beancontext/BeanContextEvent.java
10733         java/beans/beancontext/BeanContextMembershipEvent.java
10734         java/beans/beancontext/BeanContextMembershipListener.java
10735         java/beans/beancontext/BeanContextProxy.java
10736         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10737         java/beans/beancontext/BeanContextServiceProvider.java
10738         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10739         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10740         java/beans/beancontext/BeanContextServiceRevokedListener.java
10741         java/beans/beancontext/BeanContextServices.java
10742         java/beans/beancontext/BeanContextServicesListener.java
10743         java/io/BufferedInputStream.java
10744         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10745         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10746         java/io/ByteArrayOutputStream.java
10747         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10748         java/io/CharConversionException.java java/io/DataInput.java
10749         java/io/DataInputStream.java java/io/DataOutput.java
10750         java/io/EOFException.java java/io/Externalizable.java
10751         java/io/FileFilter.java java/io/FileNotFoundException.java
10752         java/io/FilePermission.java java/io/FileReader.java
10753         java/io/FileWriter.java java/io/FilenameFilter.java
10754         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10755         java/io/FilterReader.java java/io/FilterWriter.java
10756         java/io/IOException.java java/io/InputStream.java
10757         java/io/InterruptedIOException.java
10758         java/io/InvalidClassException.java
10759         java/io/InvalidObjectException.java
10760         java/io/NotActiveException.java
10761         java/io/NotSerializableException.java java/io/ObjectInput.java
10762         java/io/ObjectInputStream.java
10763         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10764         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10765         java/io/ObjectStreamConstants.java
10766         java/io/ObjectStreamException.java
10767         java/io/ObjectStreamField.java
10768         java/io/OptionalDataException.java java/io/OutputStream.java
10769         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10770         java/io/PipedReader.java java/io/PipedWriter.java
10771         java/io/PrintWriter.java java/io/PushbackInputStream.java
10772         java/io/PushbackReader.java java/io/Reader.java
10773         java/io/SequenceInputStream.java java/io/Serializable.java
10774         java/io/SerializablePermission.java
10775         java/io/StreamCorruptedException.java
10776         java/io/StreamTokenizer.java
10777         java/io/StringBufferInputStream.java java/io/StringReader.java
10778         java/io/StringWriter.java java/io/SyncFailedException.java
10779         java/io/UTFDataFormatException.java
10780         java/io/UnsupportedEncodingException.java
10781         java/io/WriteAbortedException.java java/io/Writer.java
10782         java/lang/AbstractMethodError.java
10783         java/lang/ArithmeticException.java
10784         java/lang/ArrayIndexOutOfBoundsException.java
10785         java/lang/ArrayStoreException.java java/lang/Boolean.java
10786         java/lang/Byte.java java/lang/CharSequence.java
10787         java/lang/ClassCastException.java
10788         java/lang/ClassCircularityError.java
10789         java/lang/ClassFormatError.java
10790         java/lang/ClassNotFoundException.java
10791         java/lang/CloneNotSupportedException.java
10792         java/lang/Cloneable.java java/lang/Comparable.java
10793         java/lang/Compiler.java java/lang/Double.java
10794         java/lang/Error.java java/lang/Exception.java
10795         java/lang/ExceptionInInitializerError.java
10796         java/lang/Float.java java/lang/IllegalAccessError.java
10797         java/lang/IllegalAccessException.java
10798         java/lang/IllegalArgumentException.java
10799         java/lang/IllegalMonitorStateException.java
10800         java/lang/IllegalStateException.java
10801         java/lang/IllegalThreadStateException.java
10802         java/lang/IncompatibleClassChangeError.java
10803         java/lang/IndexOutOfBoundsException.java
10804         java/lang/InheritableThreadLocal.java
10805         java/lang/InstantiationError.java
10806         java/lang/InstantiationException.java java/lang/Integer.java
10807         java/lang/InternalError.java
10808         java/lang/InterruptedException.java
10809         java/lang/LinkageError.java java/lang/Long.java
10810         java/lang/NegativeArraySizeException.java
10811         java/lang/NoClassDefFoundError.java
10812         java/lang/NoSuchFieldError.java
10813         java/lang/NoSuchFieldException.java
10814         java/lang/NoSuchMethodError.java
10815         java/lang/NoSuchMethodException.java
10816         java/lang/NullPointerException.java java/lang/Number.java
10817         java/lang/NumberFormatException.java
10818         java/lang/OutOfMemoryError.java java/lang/Package.java
10819         java/lang/Process.java java/lang/Runnable.java
10820         java/lang/RuntimeException.java
10821         java/lang/RuntimePermission.java
10822         java/lang/SecurityException.java
10823         java/lang/SecurityManager.java java/lang/Short.java
10824         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10825         java/lang/StringIndexOutOfBoundsException.java
10826         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10827         java/lang/ThreadLocal.java java/lang/UnknownError.java
10828         java/lang/UnsatisfiedLinkError.java
10829         java/lang/UnsupportedClassVersionError.java
10830         java/lang/UnsupportedOperationException.java
10831         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10832         java/lang/Void.java java/lang/ref/PhantomReference.java
10833         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10834         java/lang/ref/SoftReference.java
10835         java/lang/ref/WeakReference.java
10836         java/lang/reflect/AccessibleObject.java
10837         java/lang/reflect/InvocationTargetException.java
10838         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10839         java/lang/reflect/ReflectPermission.java
10840         java/math/BigDecimal.java java/math/BigInteger.java
10841         java/net/Authenticator.java java/net/BindException.java
10842         java/net/ConnectException.java java/net/ContentHandler.java
10843         java/net/ContentHandlerFactory.java
10844         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10845         java/net/FileNameMap.java java/net/MalformedURLException.java
10846         java/net/MulticastSocket.java java/net/NetPermission.java
10847         java/net/NoRouteToHostException.java
10848         java/net/PasswordAuthentication.java
10849         java/net/ProtocolException.java java/net/ServerSocket.java
10850         java/net/Socket.java java/net/SocketException.java
10851         java/net/SocketImpl.java java/net/SocketImplFactory.java
10852         java/net/SocketOptions.java java/net/SocketPermission.java
10853         java/net/URLDecoder.java java/net/URLEncoder.java
10854         java/net/URLStreamHandlerFactory.java
10855         java/net/UnknownHostException.java
10856         java/net/UnknownServiceException.java
10857         java/rmi/AccessException.java
10858         java/rmi/AlreadyBoundException.java
10859         java/rmi/ConnectException.java
10860         java/rmi/ConnectIOException.java
10861         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10862         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10863         java/rmi/NotBoundException.java
10864         java/rmi/RMISecurityException.java
10865         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10866         java/rmi/RemoteException.java java/rmi/ServerError.java
10867         java/rmi/ServerException.java
10868         java/rmi/ServerRuntimeException.java
10869         java/rmi/StubNotFoundException.java
10870         java/rmi/UnexpectedException.java
10871         java/rmi/UnknownHostException.java
10872         java/rmi/UnmarshalException.java
10873         java/rmi/activation/Activatable.java
10874         java/rmi/activation/ActivateFailedException.java
10875         java/rmi/activation/ActivationDesc.java
10876         java/rmi/activation/ActivationException.java
10877         java/rmi/activation/ActivationGroup.java
10878         java/rmi/activation/ActivationGroupDesc.java
10879         java/rmi/activation/ActivationGroupID.java
10880         java/rmi/activation/ActivationID.java
10881         java/rmi/activation/ActivationInstantiator.java
10882         java/rmi/activation/ActivationMonitor.java
10883         java/rmi/activation/ActivationSystem.java
10884         java/rmi/activation/Activator.java
10885         java/rmi/activation/UnknownGroupException.java
10886         java/rmi/activation/UnknownObjectException.java
10887         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10888         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10889         java/rmi/registry/Registry.java
10890         java/rmi/registry/RegistryHandler.java
10891         java/rmi/server/ExportException.java
10892         java/rmi/server/LoaderHandler.java
10893         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10894         java/rmi/server/Operation.java
10895         java/rmi/server/RMIClassLoader.java
10896         java/rmi/server/RMIClientSocketFactory.java
10897         java/rmi/server/RMIFailureHandler.java
10898         java/rmi/server/RMIServerSocketFactory.java
10899         java/rmi/server/RMISocketFactory.java
10900         java/rmi/server/RemoteCall.java
10901         java/rmi/server/RemoteObject.java
10902         java/rmi/server/RemoteRef.java
10903         java/rmi/server/RemoteServer.java
10904         java/rmi/server/RemoteStub.java
10905         java/rmi/server/ServerCloneException.java
10906         java/rmi/server/ServerNotActiveException.java
10907         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10908         java/rmi/server/SkeletonMismatchException.java
10909         java/rmi/server/SkeletonNotFoundException.java
10910         java/rmi/server/SocketSecurityException.java
10911         java/rmi/server/UID.java
10912         java/rmi/server/UnicastRemoteObject.java
10913         java/rmi/server/Unreferenced.java
10914         java/security/AccessControlContext.java
10915         java/security/AccessControlException.java
10916         java/security/AccessController.java
10917         java/security/AlgorithmParameterGenerator.java
10918         java/security/AlgorithmParameterGeneratorSpi.java
10919         java/security/AlgorithmParameters.java
10920         java/security/AlgorithmParametersSpi.java
10921         java/security/AllPermission.java
10922         java/security/BasicPermission.java
10923         java/security/Certificate.java java/security/CodeSource.java
10924         java/security/DigestException.java
10925         java/security/DigestInputStream.java
10926         java/security/DigestOutputStream.java
10927         java/security/DomainCombiner.java
10928         java/security/DummyKeyPairGenerator.java
10929         java/security/DummyMessageDigest.java
10930         java/security/DummySignature.java
10931         java/security/GeneralSecurityException.java
10932         java/security/Guard.java java/security/GuardedObject.java
10933         java/security/Identity.java java/security/IdentityScope.java
10934         java/security/InvalidAlgorithmParameterException.java
10935         java/security/InvalidKeyException.java
10936         java/security/InvalidParameterException.java
10937         java/security/Key.java java/security/KeyException.java
10938         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10939         java/security/KeyManagementException.java
10940         java/security/KeyPair.java java/security/KeyPairGenerator.java
10941         java/security/KeyPairGeneratorSpi.java
10942         java/security/KeyStore.java
10943         java/security/KeyStoreException.java
10944         java/security/KeyStoreSpi.java
10945         java/security/MessageDigest.java
10946         java/security/MessageDigestSpi.java
10947         java/security/NoSuchAlgorithmException.java
10948         java/security/NoSuchProviderException.java
10949         java/security/Permission.java
10950         java/security/PermissionCollection.java
10951         java/security/Permissions.java java/security/Policy.java
10952         java/security/Principal.java java/security/PrivateKey.java
10953         java/security/PrivilegedAction.java
10954         java/security/PrivilegedActionException.java
10955         java/security/PrivilegedExceptionAction.java
10956         java/security/ProtectionDomain.java
10957         java/security/Provider.java
10958         java/security/ProviderException.java
10959         java/security/PublicKey.java
10960         java/security/SecureClassLoader.java
10961         java/security/SecureRandom.java
10962         java/security/SecureRandomSpi.java java/security/Security.java
10963         java/security/SecurityPermission.java
10964         java/security/Signature.java
10965         java/security/SignatureException.java
10966         java/security/SignatureSpi.java
10967         java/security/SignedObject.java java/security/Signer.java
10968         java/security/UnrecoverableKeyException.java
10969         java/security/UnresolvedPermission.java
10970         java/security/acl/Acl.java java/security/acl/AclEntry.java
10971         java/security/acl/AclNotFoundException.java
10972         java/security/acl/Group.java
10973         java/security/acl/LastOwnerException.java
10974         java/security/acl/NotOwnerException.java
10975         java/security/acl/Owner.java java/security/acl/Permission.java
10976         java/security/cert/CRL.java
10977         java/security/cert/CRLException.java
10978         java/security/cert/Certificate.java
10979         java/security/cert/CertificateEncodingException.java
10980         java/security/cert/CertificateException.java
10981         java/security/cert/CertificateExpiredException.java
10982         java/security/cert/CertificateFactory.java
10983         java/security/cert/CertificateFactorySpi.java
10984         java/security/cert/CertificateNotYetValidException.java
10985         java/security/cert/CertificateParsingException.java
10986         java/security/cert/X509CRL.java
10987         java/security/cert/X509CRLEntry.java
10988         java/security/cert/X509Certificate.java
10989         java/security/cert/X509Extension.java
10990         java/security/interfaces/DSAKey.java
10991         java/security/interfaces/DSAKeyPairGenerator.java
10992         java/security/interfaces/DSAParams.java
10993         java/security/interfaces/DSAPrivateKey.java
10994         java/security/interfaces/DSAPublicKey.java
10995         java/security/interfaces/RSAKey.java
10996         java/security/interfaces/RSAPrivateCrtKey.java
10997         java/security/interfaces/RSAPrivateKey.java
10998         java/security/interfaces/RSAPublicKey.java
10999         java/security/spec/AlgorithmParameterSpec.java
11000         java/security/spec/DSAParameterSpec.java
11001         java/security/spec/DSAPrivateKeySpec.java
11002         java/security/spec/DSAPublicKeySpec.java
11003         java/security/spec/EncodedKeySpec.java
11004         java/security/spec/InvalidKeySpecException.java
11005         java/security/spec/InvalidParameterSpecException.java
11006         java/security/spec/KeySpec.java
11007         java/security/spec/PKCS8EncodedKeySpec.java
11008         java/security/spec/RSAKeyGenParameterSpec.java
11009         java/security/spec/RSAPrivateCrtKeySpec.java
11010         java/security/spec/RSAPrivateKeySpec.java
11011         java/security/spec/RSAPublicKeySpec.java
11012         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11013         java/sql/BatchUpdateException.java java/sql/Blob.java
11014         java/sql/CallableStatement.java java/sql/Clob.java
11015         java/sql/Connection.java java/sql/DataTruncation.java
11016         java/sql/DatabaseMetaData.java java/sql/Date.java
11017         java/sql/Driver.java java/sql/DriverManager.java
11018         java/sql/DriverPropertyInfo.java
11019         java/sql/PreparedStatement.java java/sql/Ref.java
11020         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11021         java/sql/SQLData.java java/sql/SQLException.java
11022         java/sql/SQLInput.java java/sql/SQLOutput.java
11023         java/sql/SQLWarning.java java/sql/Statement.java
11024         java/sql/Struct.java java/sql/Time.java
11025         java/sql/Timestamp.java java/sql/Types.java
11026         java/text/Annotation.java
11027         java/text/AttributedCharacterIterator.java
11028         java/text/AttributedString.java
11029         java/text/AttributedStringIterator.java
11030         java/text/BreakIterator.java java/text/CharacterIterator.java
11031         java/text/ChoiceFormat.java java/text/Collator.java
11032         java/text/DateFormat.java java/text/DateFormatSymbols.java
11033         java/text/DecimalFormat.java
11034         java/text/DecimalFormatSymbols.java
11035         java/text/FieldPosition.java java/text/Format.java
11036         java/text/MessageFormat.java java/text/NumberFormat.java
11037         java/text/ParseException.java java/text/ParsePosition.java
11038         java/text/SimpleDateFormat.java
11039         java/text/StringCharacterIterator.java
11040         java/util/AbstractCollection.java java/util/AbstractList.java
11041         java/util/AbstractMap.java
11042         java/util/AbstractSequentialList.java
11043         java/util/AbstractSet.java java/util/ArrayList.java
11044         java/util/Arrays.java java/util/BasicMapEntry.java
11045         java/util/BitSet.java java/util/Calendar.java
11046         java/util/Collection.java java/util/Collections.java
11047         java/util/Comparator.java
11048         java/util/ConcurrentModificationException.java
11049         java/util/Date.java java/util/Dictionary.java
11050         java/util/EmptyStackException.java java/util/Enumeration.java
11051         java/util/EventListener.java java/util/EventObject.java
11052         java/util/GregorianCalendar.java java/util/HashMap.java
11053         java/util/HashSet.java java/util/Hashtable.java
11054         java/util/IdentityHashMap.java java/util/Iterator.java
11055         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11056         java/util/LinkedList.java java/util/List.java
11057         java/util/ListIterator.java java/util/ListResourceBundle.java
11058         java/util/Locale.java java/util/Map.java
11059         java/util/MissingResourceException.java
11060         java/util/NoSuchElementException.java
11061         java/util/Observable.java java/util/Observer.java
11062         java/util/Properties.java java/util/PropertyPermission.java
11063         java/util/PropertyResourceBundle.java java/util/Random.java
11064         java/util/RandomAccess.java java/util/ResourceBundle.java
11065         java/util/Set.java java/util/SimpleTimeZone.java
11066         java/util/SortedMap.java java/util/SortedSet.java
11067         java/util/Stack.java java/util/StringTokenizer.java
11068         java/util/TimeZone.java java/util/Timer.java
11069         java/util/TimerTask.java
11070         java/util/TooManyListenersException.java
11071         java/util/TreeMap.java java/util/TreeSet.java
11072         java/util/Vector.java java/util/WeakHashMap.java
11073         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11074         java/util/jar/JarException.java java/util/jar/JarFile.java
11075         java/util/jar/JarInputStream.java
11076         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11077         java/util/zip/Adler32.java java/util/zip/CRC32.java
11078         java/util/zip/CheckedInputStream.java
11079         java/util/zip/CheckedOutputStream.java
11080         java/util/zip/Checksum.java
11081         java/util/zip/DataFormatException.java
11082         java/util/zip/Deflater.java
11083         java/util/zip/DeflaterOutputStream.java
11084         java/util/zip/GZIPInputStream.java
11085         java/util/zip/GZIPOutputStream.java
11086         java/util/zip/Inflater.java
11087         java/util/zip/InflaterInputStream.java
11088         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11089         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11090         java/util/zip/ZipInputStream.java
11091         java/util/zip/ZipOutputStream.java
11092         javax/naming/BinaryRefAddr.java
11093         javax/naming/InvalidNameException.java javax/naming/Name.java
11094         javax/naming/NamingException.java javax/naming/RefAddr.java
11095         javax/naming/StringRefAddr.java: Add license clarification.
11096
11097 2002-01-22  Tom Tromey  <tromey@redhat.com>
11098
11099         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11100         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11101         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11102         version.
11103         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11104         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11105         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11106         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11107         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11108         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11109         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11110         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11111         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11112         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11113         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11114         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11115         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11116         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11117         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11118         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11119         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11120         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11121         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11122         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11123         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11124         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11125         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11126         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11127         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11128         (minimumSize, preferredSize, reshape): Likewise.
11129         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11130         getColorModel): New methods.
11131         * java/awt/PopupMenu.java: Merged with Classpath.
11132         * java/awt/MenuBar.java: Merged with Classpath.
11133         * java/awt/SystemColor.java: Replace with Classpath version.
11134         * java/awt/Panel.java: Merged with Classpath.
11135         * java/awt/PaintContext.java: Updated copyright.
11136         * java/awt/MenuShortcut.java: Merged with Classpath.
11137         * java/awt/MenuContainer.java: Merged with Classpath.
11138         * java/awt/Menu.java: Merged with Classpath.
11139         * java/awt/MediaEntry.java: New file from Classpath.
11140         * java/awt/MediaTracker.java: New file from Classpath.
11141         * java/awt/List.java: Merged with Classpath version.
11142         * java/awt/Insets.java: Merged with Classpath version.
11143         * java/awt/ImageMediaEntry.java: New file from Classpath.
11144         * java/awt/Image.java: Replaced with Classpath version.
11145         * java/awt/FontMetrics.java: Merged with Classpath version.
11146         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11147         constant.
11148         * java/awt/Font.java: Merged with Classpath version.
11149         * java/awt/Dialog.java: Merged with Classpath version.
11150         * java/awt/Color.java: Merged with Classpath version.
11151         * java/awt/Choice.java: Merged with Classpath version.
11152         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11153         * java/awt/Adjustable.java: Replace with Classpath version.
11154         * java/awt/MenuItem.java (paramString): Don't include class name
11155         or brackets.  Call superclass paramString.
11156         * java/awt/MenuComponent.java (toString): Call paramString.
11157         (paramString): Compute string; don't call toString.
11158         * java/awt/Label.java (paramString): Don't include class name
11159         or brackets.  Call superclass paramString.
11160         * java/awt/Checkbox.java (paramString): Don't include class name
11161         or brackets.  Call superclass paramString.
11162         * java/awt/Button.java (paramString): Don't include class name or
11163         brackets.  Call superclass paramString.
11164         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11165
11166 2002-01-20  Andreas Schwab  <schwab@suse.de>
11167
11168         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11169         function and of parameter recv_func to ssize_t, as specified by
11170         POSIX.
11171
11172 2002-01-19  Per Bothner  <per@bothner.com>
11173
11174         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11175         uncompressed_size in readiness for next entry.
11176
11177 2002-01-18  Tom Tromey  <tromey@redhat.com>
11178
11179         * java/net/natPlainSocketImpl.cc: Include
11180         IllegalArgumentException.h.
11181         (_Jv_recv): New template function.
11182         (BooleanClass): Removed.
11183         (read): Use _Jv_recv.
11184         (setOption): Use Boolean::class$.  Throw exception if object is
11185         not Boolean or Integer.
11186
11187 2002-01-17  Tom Tromey  <tromey@redhat.com>
11188
11189         * java/awt/MenuComponent.java: Merged with Classpath.
11190         * java/awt/MenuItem.java: Merged with Classpath.
11191         * java/awt/Button.java: Merged with Classpath.
11192
11193         * java/awt/ActiveEvent.java: Updated copyright.
11194
11195         * java/awt/AWTError.java: Replaced with Classpath version.
11196         * java/awt/AWTException.java: Replaced with Classpath version.
11197         * java/awt/IllegalComponentStateException.java: Replaced with
11198         Classpath version.
11199
11200 2002-01-16  Tom Tromey  <tromey@redhat.com>
11201
11202         * java/awt/Canvas.java (serialVersionUID): New constant.
11203         Updated copyright.  Added javadoc from Classpath.
11204         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11205
11206         * java/awt/CheckboxGroup.java: Merged with Classpath.
11207         * java/awt/Checkbox.java: Merged with Classpath.
11208
11209         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11210         Classpath.
11211         * java/awt/Point.java: Updated copyright.
11212
11213         * java/awt/Point.java (toString): Use getClass().getName().
11214         Added javadoc.
11215
11216         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11217         commented code.
11218         (hash): Correctly compute initial value for `h'.
11219
11220         * java/awt/Label.java: Merged with Classpath.
11221
11222 2002-01-15  Tom Tromey  <tromey@redhat.com>
11223
11224         * java/awt/AWTPermission.java: Updated copyright.
11225
11226         * java/awt/LayoutManager2.java: Merged with Classpath.
11227         * java/awt/LayoutManager.java: Merged with Classpath.
11228         * java/awt/GridLayout.java: Updated copyright and javadoc.
11229         (getSize): Use `parent.ncomponents'.  Handle insets.
11230         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11231         there are fewer children than columns.  Correctly compute size of
11232         each cell in the grid.  Handle case where there isn't enough
11233         space.
11234         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11235         all users.
11236         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11237         before calling setVisible() on it.  Last item is `num - 1', not
11238         `num'.
11239         (layoutContainer): Hoist invariants out of loop.
11240
11241         Start of AWT merge with Classpath:
11242         * Makefile.in: Rebuilt.
11243         * Makefile.am (awt_java_source_files): Reference files in
11244         gnu/java/awt, not gnu/gcj/awt.
11245         * java/awt/image/BufferedImage.java: Updated copyright.
11246         * java/awt/image/ComponentColorModel.java: Updated copyright.
11247         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11248         * java/awt/image/DataBuffer.java: Updated copyright.
11249         * java/awt/image/DataBufferByte.java: Updated copyright.
11250         * java/awt/image/DataBufferInt.java: Updated copyright.
11251         * java/awt/image/DataBufferUShort.java: Updated copyright.
11252         * java/awt/image/IndexColorModel.java: Updated copyright.
11253         * java/awt/image/PackedColorModel.java: Updated copyright.
11254         * java/awt/image/Raster.java: Updated copyright.
11255         * java/awt/image/RasterOp.java: Updated copyright.
11256         * java/awt/image/SampleModel.java: Updated copyright.
11257         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11258         * java/awt/image/WritableRaster.java: Updated copyright.
11259         * java/awt/color/ColorSpace.java: Updated copyright.
11260         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11261         * java/awt/color/ICC_Profile.java: Updated copyright.
11262         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11263         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11264         * java/awt/event/HierarchyEvent.java: Updated copyright.
11265         * java/awt/event/HierarchyListener.java: Updated copyright.
11266         * java/awt/geom/AffineTransform.java: Updated copyright.
11267         * java/awt/geom/Dimension2D.java: Updated copyright.
11268         * java/awt/geom/Ellipse2D.java: Updated copyright.
11269         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11270         * java/awt/geom/Line2D.java: Updated copyright.
11271         * java/awt/geom/NoninvertibleTransformException.java: Updated
11272         copyright.
11273         * java/awt/geom/PathIterator.java: Updated copyright.
11274         * java/awt/geom/Point2D.java: Updated copyright.
11275         * java/awt/geom/Rectangle2D.java: Updated copyright.
11276         * java/awt/geom/RectangularShape.java: Updated copyright.
11277         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11278         * java/awt/Toolkit.java: Updated import for file moves.
11279         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11280         Classpath.
11281         (hashCode): New method from Classpath.
11282         * java/awt/Graphics2D.java: Updated copyright.
11283         * java/awt/Transparency.java: Updated copyright.
11284         * java/awt/Paint.java: Updated copyright.
11285         * java/awt/Graphics.java: New version from Classpath.
11286         * java/awt/EventDispatchThread.java: Updated copyright.
11287         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11288         children.
11289         (gotoComponent): Wrap around on next/previous.
11290         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11291         * gnu/gcj/awt/Buffers.java: Removed.
11292         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11293         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11294         * gnu/java/awt/BitMaskExtent.java: Added.
11295         * gnu/java/awt/Buffers.java: Added.
11296         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11297         * gnu/java/awt/GLightweightPeer.java: Added.
11298         * java/awt/geom/Line2D.java (clone): Ignore
11299         CloneNotSupportedException.
11300         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11301         * java/awt/Frame.java: Merged with Classpath.
11302         * java/awt/RenderingHints.java: Copyright update.
11303         * java/awt/Paint.java: Copyright update.
11304         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11305         * java/awt/image/ColorModel.java: Merged with Classpath.
11306         * java/awt/Window.java (show): New Implementation from Classpath.
11307         (isShowing): Use super.isShowing().
11308         * java/awt/EventQueue.java: Merged with Classpath.
11309         * java/awt/AWTEventMulticaster.java (save): Throw
11310         RuntimeException.
11311         (saveInternal): Likewise.
11312         * java/awt/AWTEvent.java: Now implements Serializable.
11313         * java/awt/Event.java: Copyright update.
11314         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11315         * java/awt/image/BufferedImage.java: Copyright update.
11316         * java/awt/GraphicsConfiguration.java: Copyright update.
11317         * java/awt/Component.java: (addNotify): Don't call
11318         addNotifyContainerChildren().
11319         (addNotifyContainerChildren): Removed.
11320         (setPeer): New method from Classpath.
11321         (setTreeLock): Likewise.
11322         (setVisible): Rewrote.
11323         (show): Use it.
11324         (hide): Likewise.
11325         (validate): Set `valid'.
11326         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11327         (createImage(ImageProducer)): Likewise.
11328         (prepareImage): Likewise.
11329         * java/awt/Container.java (addImpl): Handle case where constraint
11330         is not a String.  Post event via system event queue.
11331         (remove): Post event via system event queue.
11332         (validateTree): Only validate child if it is invalid.
11333         (getAlignmentX): Call super method as default.
11334         (getAlignmentY): Likewise.
11335         (addContainerListener): Now synchronized.
11336         (removeContainerListener): Likewise.
11337         (addNotifyContainerChildren): Now private.
11338         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11339         @author.
11340         * java/awt/FlowLayout.java (serialVersionUID): New field.
11341         (setAlignment): Better exception message.
11342         (layoutContainer): Don't compute component's preferred size unless
11343         we're going to use it.
11344         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11345         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11346         (firstLine, lastLine, firstItem, lastItem): New fields.
11347         (addLayoutComponent): Handle case where constraints is null.
11348         Also, handle relative locations.
11349         (removeLayoutComponent): Handle relative locations.
11350         (MIN, MAX, PREF): New constants.
11351         (calcCompSize): New method.
11352         (calcSize): New method.
11353         (minimumLayoutSize): Use it.
11354         (preferredLayoutSize): Likewise.
11355         (maximumLayoutSize): Likewise.
11356         (toString): Include more information.
11357         (setBounds): New method.
11358         (layoutContainer): Use libgcj implementation; extended to handle
11359         relative locations.
11360
11361 2002-01-15  Tom Tromey  <tromey@redhat.com>
11362
11363         * java/lang/Float.java (equals): Preserve old code.
11364         * java/lang/Double.java (equals): Preserve old code.
11365
11366 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11367
11368         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11369         * java/lang/Float.java (equals, compare): Ditto.
11370
11371 2002-01-13  Mark Wielaard  <mark@klomp.org>
11372
11373         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11374         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11375         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11376         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11377
11378 2002-01-11  Mark Wielaard  <mark@klomp.org>
11379
11380         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11381         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11382         InetAddress.
11383         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11384         * java/net/Socket.java: Merge with Classpath.
11385         * java/net/ServerSocket.java: Likewise.
11386
11387 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11388
11389         * interpret.cc (NULLARRAYCHECK): New macro.
11390         (SAVE_PC): Just store `pc'.
11391         (find_exception): Subtract one from `pc' here.
11392         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11393         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11394         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11395         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11396         don't call SAVE_PC.
11397         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11398         call SAVE_PC.
11399
11400 2002-01-11  Tom Tromey  <tromey@redhat.com>
11401
11402         * java/lang/natSystem.cc (init_properties): Only look for default
11403         locale if LC_MESSAGES is defined.
11404         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11405         * configure.in: Call AM_LC_MESSAGES.
11406         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11407
11408 2002-01-10  Tom Tromey  <tromey@redhat.com>
11409
11410         For PR libgcj/5303:
11411         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11412         --version.  Recognize GNU-style long options.  Print GNU-style
11413         error messages.
11414         (usage): Print GNU-style help.  Exit with status 0.
11415         (error): New method.
11416         (run): Print error message if no class names found.
11417         (main): Don't print usage on error.
11418
11419 2002-01-09  Tom Tromey  <tromey@redhat.com>
11420
11421         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11422         property.
11423         (help, version): Use println(), not println("").
11424
11425         For PR libgcj/5303:
11426         * gnu/gcj/convert/Convert.java (error): Program is called
11427         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11428         -1.
11429         (main): Handle --help and --version.
11430         (help): New method.
11431         (version): Likewise.
11432
11433 2002-01-08  Tom Tromey  <tromey@redhat.com>
11434
11435         * Makefile.in: Rebuilt.
11436         * Makefile.am (ordinary_java_source_files): Added new files.
11437         * gnu/java/locale/LocaleInformation.java: Extend
11438         LocaleInformation_en.
11439         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11440         and time/date formats.
11441         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11442         generated.
11443         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11444         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11445         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11446         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11447         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11448         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11449         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11450         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11451         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11452         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11453         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11454         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11455         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11456         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11457         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11458         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11459         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11460         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11461         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11462         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11463         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11464         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11465         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11466         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11467         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11468         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11469         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11470         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11471         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11472         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11473         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11474         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11475         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11476         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11477         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11478         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11479         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11480         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11481         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11482         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11483         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11484         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11485         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11486         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11487         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11488         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11489         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11490         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11491         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11492         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11493         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11494         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11495         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11496         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11497         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11498         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11499         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11500         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11501         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11502         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11503         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11504         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11505         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11506         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11507         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11508         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11509         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11510         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11511         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11512         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11513         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11514         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11515         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11516         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11517         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11518         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11519         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11520         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11521         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11522         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11523         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11524         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11525         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11526         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11527         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11528         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11529         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11530         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11531         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11532         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11533         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11534         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11535         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11536         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11537         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11538         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11539         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11540         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11541         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11542         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11543         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11544         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11545         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11546         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11547         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11548         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11549         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11550         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11551         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11552         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11553         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11554         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11555         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11556         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11557         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11558         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11559         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11560         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11561         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11562         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11563         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11564         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11565         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11566         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11567         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11568         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11569         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11570         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11571         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11572         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11573
11574         For PR libgcj/5031:
11575         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11576         choose default locale.
11577
11578         * Makefile.in: Rebuilt.
11579         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11580
11581 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11582
11583         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11584         sockets.
11585         (close): New function closes the socket.
11586         (write): New functions for output to socket.
11587         (read): New functions for reading from socket.
11588         * java/net/PlainSocketImpl.java: Glue for new timeout
11589         implementation.
11590         (write): Call the native impl.
11591         (read): Likewise.
11592         (getInputStream): Get a stream to read from the socket.
11593         (getOutputStream): Get a stream to write to the socket.
11594
11595 2002-01-08  Tom Tromey  <tromey@redhat.com>
11596
11597         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11598
11599 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11600
11601         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11602         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11603
11604 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11605
11606         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11607         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11608         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11609         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11610         insn_bastore, insn_castore, insn_sastore]: Use it.
11611         (continue1) [insn_arraylength]: Check for null array.
11612
11613 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11614
11615         * configure, include/config.h.in: Rebuilt.
11616         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11617         * configure.in: Call AC_STRUCT_TIMEZONE.
11618
11619 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11620
11621         * configure.host: Disable the interpreter for Darwin.
11622
11623 2002-01-04  Tom Tromey  <tromey@redhat.com>
11624
11625         * java/lang/Thread.java (stop): No longer synchronized.
11626         (start): Likewise.
11627
11628 2002-01-02  Tom Tromey  <tromey@redhat.com>
11629
11630         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11631         patch.
11632
11633 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11634
11635         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11636         PPC Darwin, not for all of Darwin.