2003-06-18 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-18  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/nio/SelectorImpl.java
4         (register): Use fd with value 0 for now, will be fixed later.
5         * gnu/java/nio/ServerSocketChannelImpl.java
6         (fd): Removed.
7         (local_port): Removed.
8         (InetSocketAddress): Removed.
9         (ServerSocketChannelImpl): Just initialize internal socket object.
10         (implCloseSelectableChannel): Close internal socket object.
11         (implConfigureBlocking): Added comment.
12         (accept): Use jaba.net stuff to accept socket.
13         * gnu/java/nio/SocketChannelImpl.java
14         (fd): Removed.
15         (local_port): Removed.
16         (InetSocketAddress): Removed.
17         (SocketCreate): Removed.
18         (SocketConnect): Removed.
19         (SocketBind): Removed.
20         (SocketListen): Removed.
21         (SocketAvailable): Removed.
22         (SocketClose): Removed.
23         (SocketRead): Removed.
24         (SocketWrite): Removed.
25         (SocketChannelImpl): Just initialize internal socket object.
26         (implCloseSelectableChannel): Close internal socket object.
27         (implConfigureBlocking): Fixed implementation, added comment.
28         (connect): Use internal socket object to connect.
29         (socket): No need for sanity checks.
30         (read): Comment out some stuff, this will be reimplemented in the next
31         commit.
32         (write): Likewise.
33         * gnu/java/nio/natFileChannelImpl.cc
34         (nio_mmap_file): Line wrapped.
35         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
36         * Makefile.am
37         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
38         * Makefile.in: Regenerated.
39
40 2003-06-18  Michael Koch  <konqueror@gmx.de>
41
42         * java/util/Locale.java
43         (equals): Merged from classpath.
44
45 2003-06-18  Michael Koch  <konqueror@gmx.de>
46
47         * java/net/InetAddress.java:
48         Reformatted to better match classpath's version.
49         * java/net/URL.java
50         (equals): Simplified.
51         * java/net/URLConnection.java
52         (setDoInput): Revised documentation.
53         (getDefaultUseCaches): Likewise.
54         (setRequestProperty): Added @since tag.
55
56 2003-06-17  Michael Koch  <konqueror@gmx.de>
57
58         * java/net/InetSocketAddress.java
59         (InetSocketAddress): Use wildcard address if addr is null.
60         (InetSocketAddress): Dont duplicate implementation.
61         (InetSocketAddress): Throw exception when hostname is null.
62         * java/net/Socket.java:
63         Reworked imports.
64         (Socket): Throw exception when raddr is null, handle case when laddr
65         is null.
66
67 2003-06-17  Michael Koch  <konqueror@gmx.de>
68
69         * java/nio/DirectByteBufferImpl.java
70         (address): Made package private.
71         (DirectByteBufferImpl): New constructor.
72         * java/nio/natDirectByteBufferImpl.cc
73         (allocateImpl): Moved to java.nio namespace, implemented.
74         (freeImpl): Likewise.
75         (getImpl): Likewise.
76         (putImpl): Likewise.
77         * jni.cc
78         (_Jv_JNI_NewDirectByteBuffer): Implemented.
79         (_Jv_JNI_GetDirectBufferAddress): Implemented.
80         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
81
82 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
83
84         * include/powerpc-signal.h: New File.
85         * configure.in: Use it.
86         * configure: Regenerated.
87
88 2003-06-17  Michael Koch  <konqueror@gmx.de>
89
90         * java/util/Locale.java
91         (getDisplayLanguage): Made it final.
92         (getDisplayCountry): Likewise.
93         (getDisplayVariant): Likewise.
94         (getDisplayName): Likewise.
95
96 2003-06-17  Michael Koch  <konqueror@gmx.de>
97
98         * java/util/PropertyResourceBundle.java:
99         Removed unneeded import.
100
101 2003-06-17  Michael Koch  <konqueror@gmx.de>
102
103         * java/util/prefs/AbstractPreferences.java,
104         java/util/prefs/PreferencesFactory.java:
105         Reworked imports, removed unused imports.
106         * java/util/prefs/Preferences.java
107         (systemNodeForPackage): Method takes a Class not an Object.
108         (userNodeForPackage): Likewise.
109         (nodeForPackage): Likewise.
110
111 2003-06-17  Michael Koch  <konqueror@gmx.de>
112
113         * gnu/java/security/x509/X509Certificate.java:
114         Explicitely import used classes.
115
116 2003-06-17  Michael Koch  <konqueror@gmx.de>
117
118         * java/util/zip/ZipEntry.java,
119         java/util/zip/ZipFile.java,
120         java/util/zip/ZipInputStream.java,
121         java/util/zip/ZipOutputStream.java:
122         Reworked imports, only import used classes.
123
124 2003-06-17  Michael Koch  <konqueror@gmx.de>
125
126         * gnu/java/lang/ArrayHelper.java,
127         gnu/java/lang/ClassHelper.java:
128         Reformatted to match classpath's versions.
129
130 2003-06-14  Michael Koch  <konqueror@gmx.de>
131
132         * gnu/java/nio/FileChannelImpl.java
133         (map_address): Removed incorrect comment.        
134         * gnu/java/nio/SelectorImpl.java
135         (register): Remove code duplication and code for file channel handling.        
136         * gnu/java/nio/ServerSocketChannelImpl.java
137         (serverSocket): Renamed from sock_object.
138         (ServerSocketChannel): Initialize serverSocket.
139         (socket): Return serverSocket.
140         * gnu/java/nio/SocketChannelImpl.java
141         (socket): Renamed from sock_object.
142         (isConnectionPenging): Simplified.
143         (socket): Return socket.
144 2003-06-14  Michael Koch  <konqueror@gmx.de>
145
146         * java/security/BasicPermission.java:
147         New version from classpath.
148
149 2003-06-14  Michael Koch  <konqueror@gmx.de>
150
151         * javax/naming/directory/Attribute.java:
152         New version from classpath.
153
154 2003-06-14  Michael Koch  <konqueror@gmx.de>
155
156         * java/io/BufferedReader.java,
157         java/io/FileOutputStream.java:
158         New versions from classpath.
159
160 2003-06-12  Andrew Haley  <aph@redhat.com>
161
162         * prims.cc (catch_segv): Create exception in handler.
163         (catch_fpe): Likewise.  
164         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
165         (_Jv_ThrowSignal): Remove.
166
167         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
168         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
169         to nullp and arithexception.
170         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
171         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
172         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
173         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
174         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
175
176 2003-06-11  Andrew Haley  <aph@redhat.com>
177
178         * jni.cc (_Jv_JNI_check_types): New.
179         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
180         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
181         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
182         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
183         
184         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
185         infinite loop.
186
187 2003-06-11  Tom Tromey  <tromey@redhat.com>
188
189         * java/lang/ClassLoader.java (loadClass): Not deprecated.
190         * java/io/PrintStream.java: Not deprecated.
191
192 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
193
194         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
195         (fillOval): implemented
196         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
197         (fillArc): implemented.
198         * gnu/gcj/xlib/GC.java (drawArc): added native method.
199         (fillArc): added native method.
200         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
201         (fillArc): added native method.
202
203 2003-06-11  Michael Koch  <konqueror@gmx.de>
204
205         * java/awt/im/InputSubset.java:
206         New version from classpath.
207
208 2003-06-11  Michael Koch  <konqueror@gmx.de>
209
210         * javax/swing/AbstractAction.java,
211         javax/swing/AbstractButton.java,
212         javax/swing/AbstractCellEditor.java,
213         javax/swing/AbstractListModel.java,
214         javax/swing/BorderFactory.java,
215         javax/swing/Box.java,
216         javax/swing/BoxLayout.java,
217         javax/swing/ButtonGroup.java,
218         javax/swing/DefaultButtonModel.java,
219         javax/swing/DefaultListModel.java,
220         javax/swing/DefaultListSelectionModel.java,
221         javax/swing/FocusManager.java,
222         javax/swing/ImageIcon.java,
223         javax/swing/InputMap.java,
224         javax/swing/JApplet.java,
225         javax/swing/JButton.java,
226         javax/swing/JCheckBox.java,
227         javax/swing/JCheckBoxMenuItem.java,
228         javax/swing/JColorChooser.java,
229         javax/swing/JComboBox.java,
230         javax/swing/JComponent.java,
231         javax/swing/JDesktopPane.java,
232         javax/swing/JDialog.java,
233         javax/swing/JEditorPane.java,
234         javax/swing/JFileChooser.java,
235         javax/swing/JFormattedTextField.java,
236         javax/swing/JFrame.java,
237         javax/swing/JLabel.java,
238         javax/swing/JLayeredPane.java,
239         javax/swing/JList.java,
240         javax/swing/JMenuBar.java,
241         javax/swing/JMenuItem.java,
242         javax/swing/JOptionPane.java,
243         javax/swing/JPanel.java,
244         javax/swing/JPasswordField.java,
245         javax/swing/JPopupMenu.java,
246         javax/swing/JProgressBar.java,
247         javax/swing/JRadioButton.java,
248         javax/swing/JRadioButtonMenuItem.java,
249         javax/swing/JRootPane.java,
250         javax/swing/JScrollBar.java,
251         javax/swing/JScrollPane.java,
252         javax/swing/JSeparator.java,
253         javax/swing/JSlider.java,
254         javax/swing/JTabbedPane.java,
255         javax/swing/JTable.java,
256         javax/swing/JTextField.java,
257         javax/swing/JToggleButton.java,
258         javax/swing/JToolBar.java,
259         javax/swing/JToolTip.java,
260         javax/swing/JTree.java,
261         javax/swing/JViewport.java,
262         javax/swing/JWindow.java,
263         javax/swing/KeyStroke.java,
264         javax/swing/ListSelectionModel.java,
265         javax/swing/LookAndFeel.java,
266         javax/swing/RepaintManager.java,
267         javax/swing/ScrollPaneLayout.java,
268         javax/swing/SizeRequirements.java,
269         javax/swing/SwingConstants.java,
270         javax/swing/Timer.java,
271         javax/swing/UIDefaults.java,
272         javax/swing/UIManager.java,
273         javax/swing/border/AbstractBorder.java,
274         javax/swing/border/CompoundBorder.java,
275         javax/swing/colorchooser/AbstractColorChooserPanel.java,
276         javax/swing/colorchooser/ColorChooserComponentFactory.java,
277         javax/swing/colorchooser/ColorSelectionModel.java,
278         javax/swing/colorchooser/DefaultColorSelectionModel.java,
279         javax/swing/event/AncestorEvent.java,
280         javax/swing/event/HyperlinkEvent.java,
281         javax/swing/event/InternalFrameAdapter.java,
282         javax/swing/event/InternalFrameEvent.java,
283         javax/swing/event/ListDataEvent.java,
284         javax/swing/event/MouseInputAdapter.java,
285         javax/swing/event/SwingPropertyChangeSupport.java,
286         javax/swing/event/TableModelEvent.java,
287         javax/swing/event/TreeWillExpandListener.java,
288         javax/swing/event/UndoableEditEvent.java,
289         javax/swing/filechooser/FileFilter.java,
290         javax/swing/filechooser/FileSystemView.java,
291         javax/swing/filechooser/FileView.java,
292         javax/swing/plaf/BorderUIResource.java,
293         javax/swing/plaf/basic/BasicDefaults.java,
294         javax/swing/table/AbstractTableModel.java,
295         javax/swing/table/DefaultTableCellRenderer.java,
296         javax/swing/table/DefaultTableColumnModel.java,
297         javax/swing/table/DefaultTableModel.java,
298         javax/swing/table/TableColumn.java,
299         javax/swing/text/JTextComponent.java,
300         javax/swing/tree/AbstractLayoutCache.java,
301         javax/swing/tree/DefaultMutableTreeNode.java,
302         javax/swing/tree/DefaultTreeCellEditor.java,
303         javax/swing/tree/DefaultTreeCellRenderer.java,
304         javax/swing/tree/DefaultTreeModel.java,
305         javax/swing/tree/DefaultTreeSelectionModel.java,
306         javax/swing/tree/FixedHeightLayoutCache.java,
307         javax/swing/tree/TreeCellEditor.java,
308         javax/swing/tree/TreeModel.java,
309         javax/swing/tree/TreeNode.java,
310         javax/swing/tree/TreePath.java,
311         javax/swing/tree/TreeSelectionModel.java,
312         javax/swing/tree/VariableHeightLayoutCache.java,
313         javax/swing/undo/AbstractUndoableEdit.java,
314         javax/swing/undo/CompoundEdit.java,
315         javax/swing/undo/StateEdit.java,
316         javax/swing/undo/UndoManager.java,
317         javax/swing/undo/UndoableEditSupport.java:
318         New versions from classpath.
319         * javax/swing/table/JTableHeader.java:
320         New file from classpath.
321         * Makefile.am
322         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
323         * Makefile.in: Regenerated.
324
325 2003-06-11  Michael Koch  <konqueror@gmx.de>
326
327         * java/nio/MappedByteBuffer.java,
328         java/nio/channels/Channels.java,
329         java/nio/channels/ServerSocketChannel.java,
330         java/nio/channels/spi/AbstractSelector.java:
331         Removed unneeded imports.
332
333 2003-06-11  Michael Koch  <konqueror@gmx.de>
334
335         * java/net/DatagramSocket.java:
336         Partly merged with classpath.
337
338 2003-06-11  Michael Koch  <konqueror@gmx.de>
339
340         * java/awt/Frame.java,
341         java/awt/Graphics.java,
342         java/awt/Menu.java,
343         java/awt/Robot.java,
344         java/awt/image/ColorModel.java:
345         New versions from classpath.
346
347 2003-06-10  Michael Koch  <konqueror@gmx.de>
348
349         * java/io/PrintStream.java:
350         Merged version from classpath.
351         (close): Removed sychronized keyword. This class is not garantied to
352         be thread-safe.
353         (write): Likewise.
354
355 2003-06-09  Tom Tromey  <tromey@redhat.com>
356
357         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
358         field.
359         (getDescent): Likewise, for "descent".
360
361 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
362
363         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
364         (getMaxDescent): adjusted return value.
365         (getAscent): modified to use metrics for 'O'.
366         (getDescent): modified to use metrics for 'y'.
367
368 2003-06-08  Anthony Green  <green@redhat.com>
369
370         * java/net/URLStreamHandler.java (sameFile): Fix port value
371         comparison.
372         * java/net/URL.java (handler): Make package private.
373         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
374
375 2003-06-07  Tom Tromey  <tromey@redhat.com>
376
377         For PR libgcj/11085:
378         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
379         Limit number of characters in numeric field when required.
380         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
381         Respect maximumIntegerDigits.
382
383 2003-06-08  Michael Koch  <konqueror@gmx.de>
384
385         * java/net/Socket.java
386         (Socket): Dont initialize inputShutdown and outputShutdown twice,
387         call bind() and connect() to actually do the bind and connect tasks.
388         (bind): Connect to canonical address if bindpoint is null, create
389         socket and bind it to bindpoint.
390         (connect): Check for exceptions.
391
392 2003-06-08  Michael Koch  <konqueror@gmx.de>
393
394         * java/net/DatagramSocket.java
395         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
396         into the Multicast constructors.
397         * java/net/DatagramSocketImpl.java
398         (getOption): Removed.
399         (setOption): Removed.
400         * java/net/MulticastSocket.java
401         (MulticastSocket): Call setReuseAddress (true).
402         * java/net/SocketImpl.java
403         (getOption): Removed.
404         (setOption): Removed.
405
406 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
407
408         PR libgcj/10886:
409         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
410         Test for empty vector.
411
412 2003-06-06  Mark Wielaard  <mark@klomp.org>
413
414         * java/security/Security.java (secprops): Initialize.
415         (loadProviders): Return boolean.
416         (static): Check result of loadProvider calls. If necessary
417         display WARNING and fallback to Gnu provider.
418
419 2002-06-06  James Clark  <jjc@jclark.com>
420
421         Fix for PR libgcj/8738:
422         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
423         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
424         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
425         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
426         (write): Always decrease avail when count is increased.
427         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
428         and whether output buffer is full before increasing size.
429
430 2002-06-06  Mark Wielaard  <mark@klomp dot org>
431
432         * java/io/PrintStream.java (writeChars(char[],int, int)):
433         Check converter.havePendingBytes().
434         (writeChars(String,int,int)): Likewise.
435         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
436         Check converter.havePendingBytes() and flush buffer when stalled.
437
438 2003-06-07  Michael Koch  <konqueror@gmx.de>
439
440         * include/posix.h
441         (O_DSYNC): Define O_DSYNC on platforms not
442         supporting O_FSYNC (newlib).
443
444 2003-06-06  Mark Wielaard  <mark@klomp.org>
445
446         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
447         AWTError.
448
449 2003-06-06  Michael Koch  <konqueror@gmx.de>
450
451         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
452         More compile fixes from my stupid work yesterday.
453
454 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
455
456         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
457         if _IEEE_LIBM is undefined.
458
459 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
460
461         * libjava/include/posix.h (O_SYNC): Define if not available
462         and a reasonable, perhaps more conservative, replacement exists.
463         (O_DSYNC): Likewise.
464         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
465
466 2003-06-05  Michael Koch  <konqueror@gmx.de>
467
468         * javax/swing/plaf/BorderUIResource.java,
469         javax/swing/plaf/basic/BasicDefaults.java,
470         javax/swing/plaf/basic/BasicOptionPaneUI.java:
471         More compile fixes for latest Border commit. I should not commit
472         something in this heat here ...
473
474 2003-06-05  Michael Koch  <konqueror@gmx.de>
475
476         * javax/swing/border/BevelBorder.java
477         (BevelBorder): Removed.
478         * javax/swing/border/EmptyBorder.java:
479         Reformatted.
480         (EmptyBorder): Removed.
481         (getBorderInsets): Dont use l, r, t and b.
482         * javax/swing/border/EtchedBorder.java
483         (EtchedBorder): Removed.
484         * javax/swing/border/LineBorder.java
485         (LineBorder): Removed.
486         * javax/swing/border/MatteBorder.java
487         (MatteBorder): Removed.
488         * javax/swing/border/TitledBorder.java
489         (defaultBorder): Use other default for now.
490         (defaultFont): Likewise.
491         (defaultColor): Likewise.
492
493 2003-06-05  Michael Koch  <konqueror@gmx.de>
494
495         * javax/swing/border/Border.java:
496         New version from classpath.
497
498 2003-06-05  Michael Koch  <konqueror@gmx.de>
499
500         * javax/swing/border/AbstractBorder.java,
501         javax/swing/border/BevelBorder.java,
502         javax/swing/border/CompoundBorder.java,
503         javax/swing/border/EmptyBorder.java,
504         javax/swing/border/EtchedBorder.java,
505         javax/swing/border/LineBorder.java,
506         javax/swing/border/MatteBorder.java,
507         javax/swing/border/TitledBorder.java:
508         New versions from Classpath.
509
510 2003-06-05  Michael Koch  <konqueror@gmx.de>
511
512         * java/awt/Button.java,
513         java/awt/Checkbox.java,
514         java/awt/CheckboxMenuItem.java,
515         java/awt/Choice.java,
516         java/awt/Container.java,
517         java/awt/Dialog.java,
518         java/awt/EventQueue.java,
519         java/awt/FileDialog.java,
520         java/awt/Frame.java,
521         java/awt/Label.java,
522         java/awt/List.java,
523         java/awt/Menu.java,
524         java/awt/MenuItem.java,
525         java/awt/Panel.java,
526         java/awt/PopupMenu.java,
527         java/awt/Rectangle.java,
528         java/awt/ScrollPane.java,
529         java/awt/Scrollbar.java,
530         java/awt/TextArea.java,
531         java/awt/TextField.java,
532         java/awt/Window.java,
533         java/awt/datatransfer/DataFlavor.java,
534         java/awt/dnd/DragSource.java,
535         java/awt/dnd/DragSourceContext.java,
536         java/awt/event/HierarchyEvent.java,
537         java/awt/event/MouseWheelEvent.java,
538         java/awt/im/InputContext.java,
539         java/awt/image/BufferedImage.java,
540         java/awt/image/ComponentColorModel.java,
541         java/awt/image/Raster.java,
542         java/awt/image/WritableRaster.java,
543         java/awt/peer/ComponentPeer.java,
544         java/awt/print/PageFormat.java,
545         java/awt/print/PrinterJob.java:
546         New versions from Classpath.
547
548 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
549
550         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
551         numberFormat.setParseIntegerOnly(true).
552
553 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
554
555         * include/posix-threads.h: Include <machine/pal.h> on OSF.
556
557 2003-06-03  Andrew Haley  <aph@redhat.com>
558
559         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
560         stack volatile to prevent optimization from removing it.
561
562 2003-05-27  Michael Koch  <konqueror@gmx.de>
563
564         * java/util/zip/Deflater.java
565         (FILTERED): Merged documentation from classpath.
566         * java/util/zip/DeflaterOutputStream.java
567         (DeflaterOutputStream): Merged documentation and argument validity
568         check from classpath.
569         (deflate): Merged documentation from classpath.
570         (finish): Likewise.
571         * java/util/zip/Inflater.java
572         (Inflater): Merged class documentation from classpath.
573         (zstream): Reordered.
574         (is_finished): Reordered.
575         (dict_needed): Reordered.
576         (Inflater): Reordered, merged documentation from classpath.
577         (end): Likewise.
578         (finalize): Merged documentation from classpath.
579         (finished): Likewise.
580         (getAdler): Likewise.
581         (getRemaining): Likewise.
582         (getTotalIn): Likewise.
583         (getTotalOut): Likewise.
584         (inflate): Likewise.
585         (needsDictionary): Likewise.
586         (needsInput): Likewise.
587         (reset): Likewise.
588         (setDictionary): Likewise.
589         (setInput): Likewise.
590
591 2003-05-27  Michael Koch  <konqueror@gmx.de>
592
593         * java/net/URLConnection.java
594         (getHeaderFieldInt): Merged with classpath.
595
596 2003-05-27  Michael Koch  <konqueror@gmx.de>
597
598         * java/io/PrintStream.java
599         (PrintStream): Reformatted.
600         (PrintStream): New method, merged from classpath.
601         (write): Reformatted.
602
603 2003-05-27  Michael Koch  <konqueror@gmx.de>
604
605         * java/lang/System.java:
606         Explicitely import needed classes.
607
608 2003-05-26  Michael Koch  <konqueror@gmx.de>
609
610         * java/net/NetPermission.java,
611         java/net/NetworkInterface.java,
612         java/net/PasswordAuthentication.java,
613         java/net/SocketPermission.java:
614         New versions from classpath.
615
616 2003-05-25  Michael Koch  <konqueror@gmx.de>
617
618         * java/io/PushbackInputStream.java,
619         java/net/Authenticator.java,
620         java/net/ContentHandler.java,
621         java/net/ContentHandlerFactory.java,
622         java/net/DatagramSocket.java,
623         java/net/DatagramSocketImpl.java,
624         java/net/DatagramSocketImplFactory.java,
625         java/net/FileNameMap.java,
626         java/net/SocketImplFactory.java,
627         java/net/SocketOptions.java,
628         java/net/URLStreamHandlerFactory.java:
629         Merged new versions from classpath.
630
631 2003-05-25  Michael Koch  <konqueror@gmx.de>
632
633         * java/awt/Checkbox.java,
634         java/awt/Dialog.java,
635         java/awt/Font.java,
636         java/awt/Frame.java,
637         java/awt/ScrollPaneAdjustable.java,
638         java/awt/Scrollbar.java,
639         java/awt/Window.java:
640         New versions from classpath.
641
642 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
643
644         PR libgcj/10838:
645         * java/io/ObjectInputStream (enableResolveObject):
646         Fixed spelling of permission name.
647
648 2003-05-20  Michael Koch  <konqueror@gmx.de>
649
650         * java/io/DataInputStream.java
651         (convertFromUTF): Merged comment from classpath.
652         * java/io/PrintStream.java
653         (error_occured): Renamed from error, merged comment from classpath.
654         (PrintStream): No need to initialized error.
655         (checkError): Replace error with error_occurred.
656         (setError): Likewise.
657
658 2003-05-20  Michael Koch  <konqueror@gmx.de>
659
660         * java/io/DataInputStream.java:
661         Reformatted, Replaced < and & with html entitites in documentation.
662         * java/io/File.java:
663         Reformatted.
664         * java/io/PrintWriter.java:
665         Moved class documentation.
666
667 2003-05-20  Michael Koch  <konqueror@gmx.de>
668
669         * gnu/java/nio/ByteBufferImpl.java,
670         gnu/java/nio/CharBufferImpl.java,
671         gnu/java/nio/CharViewBufferImpl.java,
672         gnu/java/nio/DirectByteBufferImpl.java,
673         gnu/java/nio/DoubleBufferImpl.java,
674         gnu/java/nio/DoubleViewBufferImpl.java,
675         gnu/java/nio/FloatBufferImpl.java,
676         gnu/java/nio/FloatViewBufferImpl.java,
677         gnu/java/nio/IntBufferImpl.java,
678         gnu/java/nio/IntViewBufferImpl.java,
679         gnu/java/nio/LongBufferImpl.java,
680         gnu/java/nio/LongViewBufferImpl.java,
681         gnu/java/nio/natDirectByteBufferImpl.cc,
682         gnu/java/nio/ShortBufferImpl.java,
683         gnu/java/nio/ShortViewBufferImpl.java:
684         Moved files to java/nio.
685         * gnu/java/nio/SocketChannelImpl.java
686         
687         * java/nio/ByteBuffer.java,
688         java/nio/CharBuffer.java,
689         java/nio/DoubleBuffer.java,
690         java/nio/FloatBuffer.java,
691         java/nio/IntBuffer.java,
692         java/nio/LongBuffer.java,
693         java/nio/ShortBuffer.java:
694         Dont import anything.
695         * java/nio/ByteBufferImpl.java,
696         java/nio/CharBufferImpl.java,
697         java/nio/CharViewBufferImpl.java,
698         java/nio/DirectByteBufferImpl.java,
699         java/nio/DoubleBufferImpl.java,
700         java/nio/DoubleViewBufferImpl.java,
701         java/nio/FloatBufferImpl.java,
702         java/nio/FloatViewBufferImpl.java,
703         java/nio/IntBufferImpl.java,
704         java/nio/IntViewBufferImpl.java,
705         java/nio/LongBufferImpl.java,
706         java/nio/LongViewBufferImpl.java,
707         java/nio/natDirectByteBufferImpl.cc,
708         java/nio/ShortBufferImpl.java,
709         java/nio/ShortViewBufferImpl.java:
710         Moved from gnu/java/nio.
711         * Makefile.am
712         (ordinary_java_source_files): Moved files from gnu/java/nio to
713         java/nio.
714         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
715         to java/nio.
716         * Makefile.in: Regenerated.
717
718 2003-05-19  Michael Koch  <konqueror@gmx.de>
719
720         * java/util/Calendar.java
721         (get): Not final anymore since JDK 1.4
722         (set): Likewise.
723
724 2003-05-19  Michael Koch  <konqueror@gmx.de>
725
726         * java/text/CollationKey.java:
727         Merged copyright and dat from classpath.
728         * java/text/RuleBasedCollator.java:
729         Merged class documentation from classpath.
730
731 2003-05-19  Michael Koch  <konqueror@gmx.de>
732
733         * java/nio/CharBuffer.java
734         (toString): Compile fix.
735
736 2003-05-19  Michael Koch  <konqueror@gmx.de>
737
738         * gnu/java/nio/ByteBufferImpl.java
739         (putLong): Fixed conversion to bytes.
740         (putDouble): Fixed conversion to bytes.
741         * gnu/java/nio/DirectByteBufferImpl.java
742         (putLong): Fixed conversion to bytes.
743         (putDouble): Fixed conversion to bytes.
744         * gnu/java/nio/FileLockImpl.java
745         (isValid): Reformatted.
746         * java/nio/Buffer.java
747         (Buffer): Fixed off-by-one bug in handling mark.
748         * java/nio/ByteBuffer.java:
749         Added newline.
750         * java/nio/CharBuffer.java
751         (toString): Don't use relative get to get string data.
752
753 2003-05-16  Michael Koch  <konqueror@gmx.de>
754
755         * java/io/natFileDescriptorPosix.cc
756         (open): Commented out the O_SYNC and O_DSYNC usage until its better
757         tested.
758
759 2003-05-14  Michael Koch  <konqueror@gmx.de>
760
761         * gnu/java/nio/FileLockImpl.java
762         (released): New member variable.
763         (FileLockImpl): Initialize released.
764         (releaseImpl): New native method.
765         (release): Implemented.
766         * gnu/java/nio/SelectorImpl.java: Reformatted.
767         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
768         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
769         (accept): Throws IOException.
770         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
771         (implConfigureBlocking): Throws IOException.
772         (connect): Likewise.
773         (read): Likewise.
774         (write): Likewise.
775         * gnu/java/nio/natFileLockImpl.cc: New file.
776         * java/nio/channels/FileLock.java: Reformatted.
777         * Makefile.am:
778         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
779         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
780         * Makefile.in: Regenerated.
781
782 2003-05-13  Michael Koch  <konqueror@gmx.de>
783
784         * gnu/java/nio/CharViewBufferImpl.java
785         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
786         (get): Shift bits to the right direction.
787         (put): Likewise.
788         * gnu/java/nio/DoubleViewBufferImpl.java
789         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
790         (get): Shift bits to the right direction.
791         (put): Likewise.
792         * gnu/java/nio/FloatViewBufferImpl.java
793         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
794         (get): Shift bits to the right direction.
795         (put): Likewise.
796         * gnu/java/nio/IntViewBufferImpl.java
797         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
798         (get): Shift bits to the right direction.
799         (put): Likewise.
800         * gnu/java/nio/LongViewBufferImpl.java
801         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
802         (get): Shift bits to the right direction.
803         (put): Likewise.
804         * gnu/java/nio/ShortViewBufferImpl.java
805         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
806         (get): Shift bits to the right direction.
807         (put): Likewise.
808
809 2003-05-13  Michael Koch  <konqueror@gmx.de>
810
811         * gnu/java/nio/natDirectByteBufferImpl.cc
812         (allocateImpl): jlong -> RawData*.
813         (freeImpl): Likewise.
814
815 2003-05-13  Michael Koch  <konqueror@gmx.de>
816
817         * java/nio/channels/FileChannel.java
818         (MapMode.m): Made it package-private to match JDK 1.4.
819         * java/nio/charset/Charset.java
820         (decode): Made it final to match JDK 1.4.
821
822 2003-05-13  Michael Koch  <konqueror@gmx.de>
823
824        * java/io/FileDescriptor.java
825        (SYNC): New constant.
826        (DSYNC): Likewise.
827        (getLength): Renamed from lenght() to match classpath's
828        FileDescriptor.java.
829        * java/io/RandomAccessFile.java
830        (RandomAccessFile): Removed unneeded mode check, implemented mode
831        "rws" and "rwd", merged documentation from classpath.
832        (setLength): Reformatted.
833        (length): Use new getLength() of FileDescriptor.
834        * java/io/natFileDescriptorEcos.cc
835        (getLength): Renamed from length().
836        * java/io/natFileDescriptorPosix.cc
837        (open): Implemented support for SYNC and DSYNC.
838        (seek): Use getLength() instead of length().
839        (getLength): Renamed from length().
840        * java/io/natFileDescriptorWin32.cc
841        (getLength): Renamed from length().
842        (seek): Use getLength() instead of length().
843        (available): Likewise.
844        * gnu/java/nio/natFileChannelImpl.cc
845        (size): Use getLength() instead of length().
846
847 2003-05-13  Michael Koch  <konqueror@gmx.de>
848
849         * gnu/java/nio/ByteBufferImpl.java
850         (ByteBufferImpl): All constructors revised.
851         (slice): Reimplemented.
852         (duplicate): Reimplemented.
853         (asReadOnlyBuffer): Reimplemented.
854         * java/nio/ByteBuffer.java:
855         Reformatted.
856         (array_offset): Renamed from "offset" to match all other buffer
857         classes.
858         (ByteBuffer): All constructors revised.
859         (allocateDirect): Implemented.
860         (allocate): New implementation, documentation reworked.
861         (wrap): Likewise.
862         (get): Documentation reworked.
863         (put): New implementation, documentation reworked.
864         (hasArray): Documentation reworked.
865         (arrayOffset): Likewise.
866         (hashCode): Likewise.
867         (equals): Likewise.
868         (compareTo): Likewise.
869         (order): Likewise.
870         (compact): Likewise.
871         (isDirect): Likewise.
872         (slice): Likewise.
873         (duplicate): Likewise.
874         (asReadOnlyBuffer): Likewise.
875         * Makefile.am
876         (ordinary_java_source_files):
877         Added gnu/java/nio/DirectByteBufferImpl.java.
878         (nat_source_files):
879         Added gnu/java/nio/natDirectByteBufferImpl.cc.
880         * Makefile.in: Regenerated.
881
882 2003-05-12  Michael Koch  <konqueror@gmx.de>
883
884         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
885         (nio_get_*): Removed.
886         (nio_put_*): Removed.
887         (as*Buffer): Implemented.
888         (compact): Implemented.
889         (get): Documentation added.
890         (put): Documentation added.
891         (get*): Newly implemented.
892         (put*): Newly implemented.
893         * gnu/java/nio/CharBufferImpl.java: Reformatted.
894         (CharBufferImpl): Revised.
895         (slice): New implementation.
896         (duplicate): New implementation.
897         (compact): New implementation.
898         (asReadOnlyBuffer): New implementation.
899         (get): Documentation revised.
900         (order): Return native byte order.
901         * gnu/java/nio/DirectByteBufferImpl.java
902         (allocateDirect): objects can be null not 0.
903         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
904         (DoubleBufferImpl): Revised.
905         (slice): New implementation.
906         (duplicate): New implementation.
907         (compact): New implementation.
908         (asReadOnlyBuffer): New implementation.
909         (get): Documentation revised.
910         (order): Return native byte order.
911         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
912         (FloatBufferImpl): Revised.
913         (slice): New implementation.
914         (duplicate): New implementation.
915         (compact): New implementation.
916         (asReadOnlyBuffer): New implementation.
917         (get): Documentation revised.
918         (order): Return native byte order.
919         * gnu/java/nio/IntBufferImpl.java: Reformatted.
920         (IntBufferImpl): Revised.
921         (slice): New implementation.
922         (duplicate): New implementation.
923         (compact): New implementation.
924         (asReadOnlyBuffer): New implementation.
925         (get): Documentation revised.
926         (order): Return native byte order.
927         * gnu/java/nio/LongBufferImpl.java: Reformatted.
928         (LongBufferImpl): Revised.
929         (slice): New implementation.
930         (duplicate): New implementation.
931         (compact): New implementation.
932         (asReadOnlyBuffer): New implementation.
933         (get): Documentation revised.
934         (order): Return native byte order.
935         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
936         (ShortBufferImpl): Revised.
937         (slice): New implementation.
938         (duplicate): New implementation.
939         (compact): New implementation.
940         (asReadOnlyBuffer): New implementation.
941         (get): Documentation revised.
942         (order): Return native byte order.
943         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
944         (CharBuffer): Revised.
945         (order): Removed.
946         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
947         (DoubleBuffer): Revised.
948         (allocateDirect): Removed.
949         (order): Removed.
950         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
951         (FloatBuffer): Revised.
952         (allocateDirect): Removed.
953         (order): Removed.
954         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
955         (IntBuffer): Revised.
956         (allocateDirect): Removed.
957         (order): Removed.
958         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
959         (LongBuffer): Revised.
960         (allocateDirect): Removed.
961         (order): Removed.
962         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
963         (ShortBuffer): Revised.
964         (allocateDirect): Removed.
965         (order): Removed.
966         * gnu/java/nio/natByteBufferImpl.cc: Removed.
967         * gnu/java/nio/natCharBufferImpl.cc: Removed.
968         * Makefile.am
969         (ordinary_java_source_files): Added the following files:
970         gnu/java/nio/CharViewBufferImpl.java,
971         gnu/java/nio/DoubleViewBufferImpl.java,
972         gnu/java/nio/FloatViewBufferImpl.java,
973         gnu/java/nio/IntViewBufferImpl.java,
974         gnu/java/nio/LongViewBufferImpl.java,
975         gnu/java/nio/ShortViewBufferImpl.java
976         (nat_source_files): Removed the following files:
977         gnu/java/nio/natByteBufferImpl.cc,
978         gnu/java/nio/natCharBufferImpl.cc
979         * Makefile.in: Regenerated.
980
981 2003-05-12  Michael Koch  <konqueror@gmx.de>
982
983         * gnu/java/nio/CharViewBufferImpl.java,
984         gnu/java/nio/DirectByteBufferImpl.java,
985         gnu/java/nio/DoubleViewBufferImpl.java,
986         gnu/java/nio/FloatViewBufferImpl.java,
987         gnu/java/nio/IntViewBufferImpl.java,
988         gnu/java/nio/LongViewBufferImpl.java,
989         gnu/java/nio/ShortViewBufferImpl.java,
990         gnu/java/nio/natDirectByteBufferImpl.cc:
991         New files, not yet to be compiled.
992
993 2003-05-10  Michael Koch  <konqueror@gmx.de>
994
995         * javax/swing/plaf/ButtonUI.java,
996         javax/swing/plaf/ColorUIResource.java,
997         javax/swing/plaf/ComponentUI.java,
998         javax/swing/plaf/DimensionUIResource.java,
999         javax/swing/plaf/FontUIResource.java,
1000         javax/swing/plaf/IconUIResource.java,
1001         javax/swing/plaf/InsetsUIResource.java,
1002         javax/swing/plaf/LabelUI.java,
1003         javax/swing/plaf/ListUI.java,
1004         javax/swing/plaf/OptionPaneUI.java,
1005         javax/swing/plaf/PanelUI.java,
1006         javax/swing/plaf/TabbedPaneUI.java,
1007         javax/swing/plaf/TextUI.java,
1008         javax/swing/plaf/TreeUI.java,
1009         javax/swing/plaf/ViewportUI.java,
1010         javax/swing/plaf/basic/BasicBorders.java,
1011         javax/swing/plaf/basic/BasicButtonUI.java,
1012         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1013         javax/swing/plaf/basic/BasicDefaults.java,
1014         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1015         javax/swing/plaf/basic/BasicIconFactory.java,
1016         javax/swing/plaf/basic/BasicLabelUI.java,
1017         javax/swing/plaf/basic/BasicListUI.java,
1018         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1019         javax/swing/plaf/basic/BasicPanelUI.java,
1020         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1021         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1022         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1023         javax/swing/plaf/basic/BasicTextUI.java,
1024         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1025         javax/swing/plaf/basic/BasicTreeUI.java,
1026         javax/swing/plaf/basic/BasicViewportUI.java,
1027         javax/swing/plaf/metal/MetalLookAndFeel.java:
1028         New versions from classpath. This adds copyrights to all files and
1029         some serialVersionUIDs.
1030
1031 2003-05-10  Michael Koch  <konqueror@gmx.de>
1032
1033         * java/nio/CharBuffer.java
1034         (offset): Make it package-private.
1035         (backing_buffer): Likewise.
1036         * java/nio/DoubleBuffer.java
1037         (offset): Make it package-private.
1038         (backing_buffer): Likewise.
1039         (put): Reformatted.
1040         * java/nio/FloatBuffer.java
1041         (offset): Make it package-private.
1042         (backing_buffer): Likewise.
1043         * java/nio/IntBuffer.java
1044         (offset): Make it package-private.
1045         (backing_buffer): Likewise.
1046         * java/nio/LongBuffer.java
1047         (offset): Make it package-private.
1048         (backing_buffer): Likewise.
1049         * java/nio/ShortBuffer.java
1050         (offset): Make it package-private.
1051         (backing_buffer): Likewise.
1052
1053 2003-05-10  Michael Koch  <konqueror@gmx.de>
1054
1055         * java/nio/CharBuffer.java
1056         (put): Fixed precondtion check.
1057         (toString): Make it work without backing array.
1058         (put): Skip one level of method calling.
1059
1060 2003-05-10  Michael Koch  <konqueror@gmx.de>
1061
1062         * java/security/Identity.java,
1063         java/security/IdentityScope.java,
1064         java/security/Key.java,
1065         java/security/KeyPair.java,
1066         java/security/PrivateKey.java,
1067         java/security/Provider.java,
1068         java/security/PublicKey.java,
1069         java/security/SecureRandom.java,
1070         java/security/SecureRandomSpi.java,
1071         java/security/SignedObject.java,
1072         java/security/Signer.java,
1073         java/security/cert/Certificate.java,
1074         java/security/cert/PKIXCertPathBuilderResult.java,
1075         java/security/cert/X509Certificate.java:
1076         New versions from classpath.
1077
1078 2003-05-09  Tom Tromey  <tromey@redhat.com>
1079
1080         * Makefile.in: Rebuilt.
1081         * Makefile.am (nat_source_files): Removed old files.
1082         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1083         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1084         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1085         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1086         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1087
1088 2003-05-09  Michael Koch  <konqueror@gmx.de>
1089
1090         * gnu/java/nio/ByteBufferImpl.java
1091         (nio_cast): Removed.
1092         (ByteBufferImpl): Removed.
1093         (nio_get_Byte): Removed.
1094         (nio_put_Byte): Removed.
1095         (asByteBuffer): Removed.
1096         (asCharBuffer): Removed implementation and throw exception.
1097         (asShortBuffer): Likewise.
1098         (asIntBuffer): Likewise.
1099         (asLongBuffer): Likewise.
1100         (asFloatBuffer): Likewise.
1101         (asDoubleBuffer): Likewise.
1102         * gnu/java/nio/CharBufferImpl.java
1103         (CharBufferImpl): Removed.
1104         (nio_get_Byte): Removed.
1105         (nio_put_Byte): Removed.
1106         (asByteBuffer): Removed.
1107         * gnu/java/nio/DoubleBufferImpl.java
1108         (DoubleBufferImpl): Removed.
1109         (nio_get_Byte): Removed.
1110         (nio_put_Byte): Removed.
1111         (asByteBuffer): Removed.
1112         * gnu/java/nio/FloatBufferImpl.java
1113         (FloatBufferImpl): Removed.
1114         (nio_get_Byte): Removed.
1115         (nio_put_Byte): Removed.
1116         (asByteBuffer): Removed.
1117         * gnu/java/nio/IntBufferImpl.java
1118         (IntBufferImpl): Removed.
1119         (nio_get_Byte): Removed.
1120         (nio_put_Byte): Removed.
1121         (asByteBuffer): Removed.
1122         * gnu/java/nio/LongBufferImpl.java
1123         (LongBufferImpl): Removed.
1124         (nio_get_Byte): Removed.
1125         (nio_put_Byte): Removed.
1126         (asByteBuffer): Removed.
1127         * gnu/java/nio/ShortBufferImpl.java
1128         (ShortBufferImpl): Removed.
1129         (nio_get_Byte): Removed.
1130         (nio_put_Byte): Removed.
1131         (asByteBuffer): Removed.
1132         * gnu/java/nio/natByteBufferImpl.cc
1133         (nio_cast): Removed.
1134         (nio_get_Byte): Removed.
1135         (nio_put_Byte): Removed.
1136         * gnu/java/nio/natCharBufferImpl.cc
1137         (nio_get_Byte): Removed.
1138         (nio_put_Byte): Removed.
1139
1140 2003-05-09  Michael Koch  <konqueror@gmx.de>
1141
1142         * java/net/JarURLConnection.java
1143         (getJarEntry): Merged documentation from classpath.
1144         (getJarFile): Likewise.
1145         (getMainAttributes): Likewise.
1146         (getAttributes): Likewise.
1147         (getManifest): Likewise.
1148         (getCertificates): Reformatted.
1149         * java/net/URLConnection.java:
1150         Little classpath merge.
1151
1152 2003-05-09  Michael Koch  <konqueror@gmx.de>
1153
1154         * java/io/DataOutputStream.java
1155         (writeShort): Made it synchronized.
1156         (writeChar): Likewise.
1157         (writeInt): Likewise.
1158         (writeLong): Liekwise.
1159         (writeUTF): Made it synchronized, renamed argument to match classpath.
1160         * java/io/InputStreamReader.java
1161         (converter): Added documentation.
1162         (read): Merged documentation from classpath.
1163         * java/io/OutputStreamWriter.java
1164         (OutputStreamWriter): Merged documentation from classpath.
1165         (close): Reformatted.
1166         (getEncoding): Likewise.
1167         (flush): Likewise.
1168         (write): Merged documentation from classpath, reformatted.
1169
1170 2003-05-08  Tom Tromey  <tromey@redhat.com>
1171
1172         * configure.host <powerpc64*-*>: Set with_libffi_default and
1173         libgcj_interpreter to "yes".
1174
1175 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1176
1177         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1178         
1179 2003-05-06  Tom Tromey  <tromey@redhat.com>
1180
1181         * verify.cc: Reverted previous patch.
1182
1183 2003-05-06  Michael Koch  <konqueror@gmx.de>
1184
1185         * java/io/DataOutputStream.java
1186         (write): Renamed argument to "value", merged documentation from
1187         classpath.
1188         (writeBoolean): Likewise.
1189         (writeByte): Likewise.
1190         (writeShort): Likewise.
1191         (writeChar): Likewise.
1192         (writeInt): Likewise.
1193         (writeLong): Likewise.
1194         (writeFloat): Likewise.
1195         (writeDouble): Likewise.
1196         (writeBytes): Likewise.
1197         (writeChars): Likewise.
1198         (writeUTF): Likewise.
1199         * java/io/File.java
1200         (performDelete): Added documentation.
1201         (performList): Likewise.
1202         (performMkdir): Likewise.
1203         (performSetReadOnly): Likewise.
1204         (performRenameTo): Likewise.
1205         (performSetLastModified): Likewise.
1206         (delete): Made it sychronized.
1207         (renameTo): Made it sychronized.
1208         (equals): Reformatted.
1209         (isHidden): Likewise.
1210         (listFiles): Likewise.
1211         (setReadOnly): Likewise.
1212         (listRoots): Likewise.
1213         (setLastModified): Likewise.
1214         (checkRead): Likewise.
1215         (checkWrite): Likewise.
1216         * java/io/FileInputStream.java
1217         (skip): Made it sychronized, merged from classpath.
1218         * java/io/FileOutputStream.java
1219         (write): Merged from classpath.
1220         * java/io/InputStreamReader.java:
1221         (InputStreamReader): Merged documentation from classpath.
1222
1223 2003-05-05  Michael Koch  <konqueror@gmx.de>
1224
1225         * java/net/NetworkInterface.java
1226         (networkInterfaces): Removed.
1227         (getByName): Use getRealNetworkInterfaces() instead of
1228         networkInterfaces.
1229         (getByInetAddress): Likewise.
1230         (getNetworkInterfaces): Likewise.
1231         (toString): Fix output of addresses of an interface.
1232
1233 2003-05-05  Michael Koch  <konqueror@gmx.de>
1234
1235         * java/io/DataInputStream.java:
1236         Merged new documentation from classpath.
1237
1238 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1239
1240         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1241         "version".
1242         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1243         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1244         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1245         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1246         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1247         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1248         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1249         * java/security/Key.java: Likewise.
1250         * java/security/PrivateKey.java: Likewise.
1251         * java/security/Provider.java: Likewise.
1252         * java/security/PublicKey.java: Likewise.
1253
1254 2003-05-02  Michael Koch  <konqueror@gmx.de>
1255
1256         * java/net/URI.java
1257         (create): Doesnt throws any exceptions.
1258         * java/net/URLConnection.java
1259         (URLConnection): Commend added.
1260         (getExpiration): The header field is called "expires" not
1261         "expiration".
1262         (getHeaderField): Merged documentation with classpath.
1263         (getHeaderFieldInt): Likewise.
1264         (getHeaderFieldDate): Likewise.
1265         (getHeaderFieldKey): Likewise.
1266         (getPermission): Likewise.
1267         (setDefaultUseCaches): Likewise.
1268         (setRequestProperty): Likewise.
1269         (addRequestProperty): Likewise.
1270         (getRequestProperty): Likewise.
1271         (getRequestProperties): Likewise.
1272         (setDefaultRequestProperty): Likewise.
1273         (getDefaultRequestProperty): Likewise.
1274         (guessContentTypeFromStream): Likewise.
1275         (getFileNameMap): Likewise.
1276         (setFileNameMap): Likewise.
1277         (setDoInput): Merged implementation and documentation with classpath.
1278         (setDoOutput): Likewise.
1279         (setAllowUserInteraction): Likewise.
1280         (setDefaultAllowUserInteraction): Likewise.
1281         (setContentHandlerFactory): Made it synchronized, merged documentation
1282         with classpath.
1283         (guessContentTypeFromName): Renamed argument fname to filename to
1284         match classpath, merged documentation with classpath.
1285
1286 2003-05-02  Michael Koch  <konqueror@gmx.de>
1287
1288         * java/net/JarURLConnection.java
1289         (JarURLConnection): Class documentation merged with classpath.
1290         (getJarFileURL): Moved and documentation merged with classpath.
1291         (getEntryName): Likewise.
1292         (JarURLConnection): Documentation merged with classpath.
1293         (getJarEntry): Likewise.
1294         (getJarFile): Likewise.
1295         * java/net/PlainDatagramSocketImpl.java:
1296         Class documentation moved.
1297         * java/net/URLConnection.java
1298         (fileNameMap): Moved and documentation merged with classpath.
1299         (factory): Likewise.
1300         (defaultAllowUserInteraction): Likewis.
1301         (defaultUseCaches): Likewise.
1302         (allowUserInteraction): Likewise.
1303         (connected): Likewise.
1304         (url): Likewise.
1305         (connect): Documentation merged with classpath.
1306         (getURL): Likewise.
1307         (getContentLength): Likewise.
1308         (getContentType): Likewise.
1309         (getContentEncoding): Likewise.
1310         (getExpiration): Likewise.
1311         (getDate): Likewise.
1312         (getLastModified): Likewise.
1313         (getHeaderField): Likewise.
1314         (getContent): Likewise.
1315         (getPermission): Likewise.
1316         (getInputStream): Likewise.
1317         (getOutputStream): Likewise.
1318         (toString): Likewise.
1319         (getDoInput): Likewise.
1320         (getDoOutput): Likewise.
1321         (setAllowUserInteraction): Likewise.
1322         (getAllowUserInteraction): Likewise.
1323         (setDefaultAllowUserInteraction): Likewise.
1324         (getDefaultAllowUserInteraction): Likewise.
1325         (setUseCaches): Likewise.
1326         (getUseCaches): Likewise.
1327         (setIfModifiedSince): Likewise.
1328         (getIfModifiedSince): Likewise.
1329         (setDefaultRequestProperty): Likewise.
1330         (getDefaultRequestProperty): Likewise.
1331         (setContentHandlerFactory): Likewise.
1332         (setFileNameMap): Likewise.
1333
1334 2003-05-02  Michael Koch  <konqueror@gmx.de>
1335
1336         * java/net/InetAddress.java:
1337         Merged class documentation with classpath.
1338         * java/net/JarURLConnection.java:
1339         Explicitely import all used classes.
1340         * java/net/URL.java:
1341         Reformatting.
1342         * java/net/ServerSocket.java,
1343         java/net/Socket.java:
1344         New versions from classpath.
1345
1346 2003-05-02  Michael Koch  <konqueror@gmx.de>
1347
1348         * gnu/java/nio/FileChannelImpl.java
1349         (read): New implementation.
1350         (implRead): New methods.
1351         (write): New implementation, call other write insteal of read method.
1352         (implWrite): New methods.
1353         (map): Added comment.
1354         (transferFrom): Implemented.
1355         (transferTo): Implemented.
1356         (lock): Added checks to throw exceptions.
1357         (truncate): Added check to throw exception.
1358         * gnu/java/nio/natFileChannelImpl.cc
1359         (implRead): New method.
1360         (implWrite): New method.
1361         * java/nio/ByteBuffer.java
1362         (hashCode): Fixed comment.
1363         (get): Fixed exception documentation.
1364         (put): Fixed exception documentation.
1365         * java/nio/CharBuffer.java:
1366         Added comment for later optimizations.
1367
1368 2003-04-30  Tom Tromey  <tromey@redhat.com>
1369
1370         PR libgcj/10582:
1371         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1372         Removed.
1373         (type::compatible): Use _Jv_IsAssignableFrom.
1374         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1375         (_Jv_IsAssignableFrom): Work even when source or target class is
1376         not prepared.
1377
1378 2003-04-30  Michael Koch  <konqueror@gmx.de>
1379
1380         * java/text/BreakIterator.java
1381         (clone): New method.
1382
1383 2003-04-30  Michael Koch  <konqueror@gmx.de>
1384
1385         * java/text/CollationElementIterator.java,
1386         java/text/CollationKey.java,
1387         java/text/RuleBasedCollator.java:
1388         Merged copyright and documentation from classpath and
1389         rearranged some code. No code changes done.
1390
1391 2003-04-30  Michael Koch  <konqueror@gmx.de>
1392
1393         * java/util/regex/Matcher.java
1394         (pattern): New member variable.
1395         (appendReplacement): New method.
1396         (appendTail): New method.
1397         (end): New method.
1398         (find): New method.
1399         (group): New method.
1400         (replaceFirst): Added documentation.
1401         (replaceAll): Added documentation.
1402         (groupCount): New method.
1403         (lookingAt): New method.
1404         (matches): New method.
1405         (reset): New method.
1406         (start): New method.
1407         * java/util/regex/Pattern.java
1408         (serialVersionUID): New constant.
1409         (CANON_EQ): New constant.
1410         (CASE_INSENSITIVE): New constant.
1411         (COMMENTS): New constant.
1412         (DOTALL): New constant.
1413         (MULTILINE): New constant.
1414         (UNICODE_CASE): New constant.
1415         (UNIX_LINES): New constant.
1416         (regex): New member variable.
1417         (flags): New member variable.
1418         (Pattern): New method.
1419         (compile): Documentation added.
1420         (flags): New method.
1421         (matches): Documentation added.
1422         (matcher): Documentation added.
1423         (split): Documentation added.
1424         (pattern): New method.
1425
1426 2003-04-30  Michael Koch  <konqueror@gmx.de>
1427
1428         * gnu/java/security/Engine.java,
1429         gnu/java/security/OID.java,
1430         gnu/java/security/der/BitString.java,
1431         gnu/java/security/der/DER.java,
1432         gnu/java/security/der/DERReader.java,
1433         gnu/java/security/der/DERValue.java,
1434         gnu/java/security/der/DERWriter.java,
1435         gnu/java/security/provider/DSAKeyFactory.java,
1436         gnu/java/security/provider/X509CertificateFactory.java,
1437         gnu/java/security/x509/X500DistinguishedName.java,
1438         gnu/java/security/x509/X509CRL.java,
1439         gnu/java/security/x509/X509CRLEntry.java,
1440         gnu/java/security/x509/X509Certificate.java,
1441         java/security/cert/CRLSelector.java,
1442         java/security/cert/CertPathBuilder.java,
1443         java/security/cert/CertPathBuilderResult.java,
1444         java/security/cert/CertPathBuilderSpi.java,
1445         java/security/cert/CertPathParameters.java,
1446         java/security/cert/CertPathValidator.java,
1447         java/security/cert/CertPathValidatorResult.java,
1448         java/security/cert/CertPathValidatorSpi.java,
1449         java/security/cert/CertSelector.java,
1450         java/security/cert/CertStore.java,
1451         java/security/cert/CertStoreParameters.java,
1452         java/security/cert/CertStoreSpi.java,
1453         java/security/cert/CollectionCertStoreParameters.java,
1454         java/security/cert/LDAPCertStoreParameters.java,
1455         java/security/cert/PKIXBuilderParameters.java,
1456         java/security/cert/PKIXCertPathBuilderResult.java,
1457         java/security/cert/PKIXCertPathChecker.java,
1458         java/security/cert/PKIXCertPathValidatorResult.java,
1459         java/security/cert/PKIXParameters.java,
1460         java/security/cert/PolicyNode.java,
1461         java/security/cert/PolicyQualifierInfo.java,
1462         java/security/cert/TrustAnchor.java,
1463         javax/security/auth/x500/X500Principal.java:
1464         New files from classpath.
1465         * gnu/java/io/ASN1ParsingException.java,
1466         gnu/java/io/Base64InputStream.java,
1467         gnu/java/security/der/DEREncodingException.java,
1468         gnu/java/security/provider/DSAParameters.java,
1469         gnu/java/security/provider/DSASignature.java,
1470         gnu/java/security/provider/Gnu.java,
1471         gnu/java/security/provider/GnuDSAPrivateKey.java,
1472         gnu/java/security/provider/GnuDSAPublicKey.java,
1473         java/security/AlgorithmParameterGenerator.java,
1474         java/security/AlgorithmParameters.java,
1475         java/security/KeyFactory.java,
1476         java/security/KeyPairGenerator.java,
1477         java/security/KeyStore.java,
1478         java/security/MessageDigest.java,
1479         java/security/SecureClassLoader.java,
1480         java/security/SecureRandom.java,
1481         java/security/Security.java,
1482         java/security/Signature.java,
1483         java/security/cert/Certificate.java,
1484         java/security/cert/CertificateFactory.java,
1485         java/security/cert/CertificateFactorySpi.java,
1486         java/security/cert/X509CRL.java,
1487         java/security/cert/X509Certificate.java,
1488         java/security/spec/DSAPublicKeySpec.java:
1489         New versions from classpath.
1490         * gnu/java/security/provider/DERReader.java,
1491         gnu/java/security/provider/DERWriter.java,
1492         java/security/Engine.java: Removed.
1493         * Makefile.am
1494         (java_source_files, javax_source_files): Added new files.
1495         * Makefile.in: Regenerated.
1496
1497 2003-04-29  Michael Koch  <konqueror@gmx.de>
1498
1499         * javax/swing/JTable.java
1500         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1501         (AUTO_RESIZE_LAST_COLUMN): New constant.
1502         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1503         (AUTO_RESIZE_OFF): New constant.
1504         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1505         (JTable): New method.
1506         (columnAdded): New method.
1507         (columnMarginChanged): New method.
1508         (columnMoved): New method.
1509         (columnRemoved): New method.
1510         (columnSelectionChanged): New method.
1511         (editingCanceled): New method.
1512         (editingStopped): New method.
1513         (getColumnModel): New method.
1514         (getPreferredScrollableViewportSize): New method.
1515         (getScrollableBlockIncrement): New method.
1516         (getScrollableTracksViewportHeight): New method.
1517         (getScrollableTracksViewportWidth): New method.
1518         (getScrollableUnitIncrement): New method.
1519         (getSelectedRow): New method.
1520         (getSelectionModel): New method.
1521         (tableChanged): New method.
1522         (setModel): New method.
1523         (setSelectionMode): New method.
1524         (setSelectionModel): New method.
1525         (setShowGrid): New method.
1526         (valueChanged): New method.
1527         * javax/swing/text/DefaultEditorKit.java
1528         (backwardAction): New constant.
1529         (beepAction): New constant.
1530         (beginAction): New constant.
1531         (beginLineAction): New constant.
1532         (beginParagraphAction): New constant.
1533         (beginWordAction): New constant.
1534         (copyAction): New constant.
1535         (cutAction): New constant.
1536         (defaultKeyTypedAction): New constant.
1537         (deleteNextCharAction): New constant.
1538         (deletePrevCharAction): New constant.
1539         (downAction): New constant.
1540         (endAction): New constant.
1541         (endLineAction): New constant.
1542         (endOfLineStringProperty): New constant.
1543         (endParagraphAction): New constant.
1544         (endWordAction): New constant.
1545         (forwardAction): New constant.
1546         (insertBreakAction): New constant.
1547         (insertContentAction): New constant.
1548         (insertTabAction): New constant.
1549         (nextWordAction): New constant.
1550         (pageDownAction): New constant.
1551         (pageUpAction): New constant.
1552         (pasteAction): New constant.
1553         (previousWordAction): New constant.
1554         (readOnlyAction): New constant.
1555         (selectAllAction): New constant.
1556         (selectionBackwardAction): New constant.
1557         (selectionBeginAction): New constant.
1558         (selectionBeginLineAction): New constant.
1559         (selectionBeginParagraphAction): New constant.
1560         (selectionBeginWordAction): New constant.
1561         (selectionDownAction): New constant.
1562         (selectionEndAction): New constant.
1563         (selectionEndLineAction): New constant.
1564         (selectionEndParagraphAction): New constant.
1565         (selectionEndWordAction): New constant.
1566         (selectionForwardAction): New constant.
1567         (selectionNextWordAction): New constant.
1568         (selectionPreviousWordAction): New constant.
1569         (selectionUpAction): New constant.
1570         (selectLineAction): New constant.
1571         (selectParagraphAction): New constant.
1572         (selectWordAction): New constant.
1573         (upAction): New constant.
1574         (writableAction): New constant.
1575
1576 2003-04-29  Michael Koch  <konqueror@gmx.de>
1577
1578         * java/util/PropertyPermission.java:
1579         New version from classpath
1580         * java/util/ResourceBundle.java:
1581         Partly merged from classpath
1582         (getObject): Reformated.
1583         (tryBundle): Set foundBundle = null if no bundle found.
1584
1585 2003-04-29  Michael Koch  <konqueror@gmx.de>
1586
1587         * javax/swing/AbstractListModel.java,
1588         javax/swing/DefaultBoundedRangeModel.java,
1589         javax/swing/DefaultSingleSelectionModel.java:
1590         New Versions from classpath.
1591
1592 2003-04-29  Michael Koch  <konqueror@gmx.de>
1593
1594         * java/awt/Window.java
1595         (show): Call super.show() instead of setVisible() to avoid endless
1596         loop.
1597         (hide): Call super.hide() instead of setVisible() to avoid endless
1598         loop.
1599
1600 2003-04-29  Michael Koch  <konqueror@gmx.de>
1601
1602         * java/util/zip/Deflater.java,
1603         java/util/zip/DeflaterOutputStream.java:
1604         Partly merged with classpath.
1605
1606 2003-04-27  Tom Tromey  <tromey@redhat.com>
1607
1608         * java/lang/natString.cc (_Jv_AllocString): Initialize
1609         cachedHashCode.
1610         (init): Likewise.
1611         (_Jv_NewStringUtf8Const): Likewise.
1612
1613 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1614
1615         * include/jvm.h: (_Jv_GetNbArgs) added
1616         (_Jv_GetSafeArg) added
1617         (_Jv_SetArgs) added
1618         * prims.cc: (_Jv_GetNbArgs) implemented
1619         (_Jv_GetSafeArg) implemented
1620         (_Jv_SetArgs) implemented
1621         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1622         setting _Jv_argc and _Jv_argv
1623         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1624         instead of _Jv_argv
1625         * java/lang/natRuntime.cc: (insertSystemProperties) use
1626         _Jv_GetSafeArg() instead of _Jv_argv
1627
1628 2003-04-23  Tom Tromey  <tromey@redhat.com>
1629
1630         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1631         required by this object.  Search superclasses to find required
1632         alignment.
1633         (get_alignment_from_class): Use alignment of type as it appears
1634         in a struct.
1635         (ALIGNOF): New macro.
1636         (struct aligner): New helper structure.
1637
1638 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1639
1640         * java/awt/Container.java (addImpl): Enable paint events if adding
1641         a lightweight to a heavyweight.
1642         (addNotify): Ensure that peer is created before
1643         addNotifyContainerChildren.
1644         (addNotifyContainerChildren): Enable paint events if a heavyweight
1645         container contains a lightweight.
1646
1647 2003-04-20  Tom Tromey  <tromey@redhat.com>
1648
1649         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1650         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1651         Classpath.
1652
1653 2003-04-19  Tom Tromey  <tromey@redhat.com>
1654
1655         * java/sql/Date.java, java/sql/DriverManager.java,
1656         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1657         Classpath.
1658
1659         * Makefile.in: Rebuilt.
1660         * Makefile.am (ordinary_java_source_files): Added new files.
1661         * java/security/AlgorithmParameterGenerator.java,
1662         java/security/AlgorithmParameters.java, java/security/Engine.java,
1663         java/security/Identity.java, java/security/IdentityScope.java,
1664         java/security/KeyFactory.java,
1665         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1666         java/security/MessageDigest.java, java/security/Policy.java,
1667         java/security/ProtectionDomain.java,
1668         java/security/SecureRandom.java, java/security/Security.java,
1669         java/security/Signature.java, java/security/SignatureSpi.java,
1670         java/security/SignedObject.java, java/security/Signer.java,
1671         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1672         java/security/spec/PSSParameterSpec.java,
1673         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1674         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1675         Classpath.
1676
1677 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1678
1679         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1680         (dispose): Null metrics.
1681         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1682         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1683         finalize.
1684         (finalize): Call dispose.
1685         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1686         (gcCachedCount): New field.
1687         (finalize): New method.
1688         (putGCInCache): New method.
1689         (getGCFromCache): New method.
1690         * gnu/gcj/xlib/GC.java (GC): Make protected.
1691         (clone): Get new GC from cache if possible.
1692         (create): New static method.
1693         (dispose): Save old GC in cache.
1694         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1695         deleting.
1696         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1697         is null.
1698         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1699         * java/awt/Container.java (visitChild): Dispose gfx2 when
1700         finished.
1701
1702 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1703
1704         * java/math/BigInteger.java (probablePrime): New.
1705         * java/math/BigDecimal.java (unscaledValue): New.
1706
1707 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1708
1709         * java/io/File.java (getAbsolutePath): On Windows, take care
1710         of paths like "C:", "G:foo\bar", etc.
1711         (getName): Make it work correctly on Windows.
1712         (getParent): Make it work correctly on Windows. For UNIX,
1713         fix bug that causes "/" to be returned as the parent of "/",
1714         instead of null as returned by Sun's JRE.
1715
1716         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1717
1718 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1719
1720         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1721         inner class.
1722         (CACHE_SIZE_PER_DISPLAY): New field
1723         (fontMetricsCache): New field
1724         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1725         loading ISO10646-1 fonts.
1726
1727 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1728
1729         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1730         characters.
1731         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1732         characters.
1733
1734 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1735
1736         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1737         floating point.
1738
1739 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1740
1741         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1742         installed libpthread is either linuxthreads with floating stacks or
1743         NPTL.
1744
1745 2003-04-14  Tom Tromey  <tromey@redhat.com>
1746
1747         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1748         of alignment.
1749
1750 2003-04-10  Tom Tromey  <tromey@redhat.com>
1751
1752         * verify.cc (pop64): Removed.
1753         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1754         exception if top-of-stack is narrow.
1755         (initialize_stack): Check to ensure that <init> is not static and
1756         <clinit> is.
1757
1758 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1759
1760         * java/io/ObjectStreamException
1761         * java/io/FileFilter
1762         * java/io/FilenameFilter
1763         * java/io/ObjectInput
1764         * java/io/ObjectOutput
1765         * java/io/ObjectStreamConstants
1766         Minor doc fixes, format fixes, spelling corrections, etc.
1767         * java/io/DataInput
1768         Corrected code samples in Javadocs to match reality
1769         * java/io/DataOutput
1770         * java/io/ObjectInputValidation
1771         Major documentation fixes - all Javadocs re-written or updated
1772
1773 2003-04-06  Michael Koch  <konqueror@gmx.de>
1774
1775         * java/net/URLConnection.java:
1776         Import classes directly.
1777         (URLConnection): Merged class documentation with classpath.
1778         (url): Moved, documentation from classpath added.
1779         (doInput): Moved, documentation from classpath added.
1780         (doOutput): Moved, documentation from classpath added.
1781         (allowUserInteraction): Moved.
1782         (useCaches): Moved, documentation from classpath added.
1783         (ifModifiedSince): Moved, documentation from classpath added.
1784         (connected): Moved, documentation from classpath added.
1785
1786 2003-04-06  Michael Koch  <konqueror@gmx.de>
1787
1788         * java/io/FileInputStream.java
1789         (skip): Renamed some variables to match classpath, added
1790         checks from classpath.
1791
1792 2003-03-31  Michael Koch  <konqueror@gmx.de>
1793
1794         * javax/swing/AbstractAction.java
1795         (AbstractAction): Reformatted.
1796         (serialVersionUID): New private member variable.
1797         * javax/swing/plaf/BorderUIResource.java
1798         (serialVersionUID): New private member variable.
1799         * javax/swing/plaf/basic/BasicLookAndFeel.java
1800         (serialVersionUID): New private member variable.
1801
1802 2003-03-31  Michael Koch  <konqueror@gmx.de>
1803
1804         * java/sql/Date.java
1805         (valueOf): Deprecated, reformatted.
1806         (toString): Deprecated, reformatted.
1807         * java/sql/Time.java
1808         (valueOf): Deprecated, reformatted.
1809         (toString): Deprecated, reformatted.
1810
1811 2003-03-31  Michael Koch  <konqueror@gmx.de>
1812
1813         * java/rmi/dgc/VMID.java
1814         (isUnique): Deprecated.
1815
1816 2003-03-31  Michael Koch  <konqueror@gmx.de>
1817
1818         * java/io/File.java
1819         (separator): Merged documentation from classpath.
1820         (separatorChar): Merged documentation from classpath.
1821         (pathSeparator): Merged documentation from classpath.
1822         (pathSeparatorChar): Merged documentation from classpath.
1823         (path): Merged documentation from classpath.
1824         (canRead): Merged documentation from classpath.
1825         (canWrite): Merged documentation from classpath.
1826         (createNewFile): Merged documentation from classpath.
1827         (delete): Merged documentation from classpath.
1828         (equals): Merged documentation from classpath.
1829         (exists): Merged documentation from classpath.
1830         (File): Renamed p to name to match classpath, merged documentation
1831         from classpath.
1832         (getAbsolutePath): Merged documentation from classpath.
1833         (getCanonicalPath): Merged documentation from classpath.
1834         (getCanonicalFile): Merged documentation from classpath.
1835         (getName): Merged documentation from classpath.
1836         (getParent): Merged documentation from classpath.
1837         (getParentFile): Merged documentation from classpath.
1838         (getPath): Merged documentation from classpath.
1839         (hashCode): Merged documentation from classpath.
1840         (isAbsolute): Merged documentation from classpath.
1841         (isDirectory): Merged documentation from classpath.
1842         (isFile): Merged documentation from classpath.
1843         (isHidden): Merged documentation from classpath.
1844         (lastModified): Merged documentation from classpath.
1845         (length): Merged documentation from classpath.
1846         (list): Merged documentation from classpath.
1847         (listFiles): Merged documentation from classpath.
1848         (toString): Merged documentation from classpath.
1849         (toURL): Merged documentation from classpath.
1850         (mkdir): Merged documentation from classpath.
1851         (mkdirs): Merged documentation from classpath.
1852         (createTempFile): Merged documentation from classpath.
1853         (setReadOnly): Merged documentation from classpath.
1854         (listRoots): Merged documentation from classpath.
1855         (compareTo): Merged documentation from classpath.
1856         (renameTo): Merged documentation from classpath.
1857         (setLastModified): Merged documentation from classpath.
1858         * java/io/PrintStream.java
1859         (auto_flush): Merged documentation from classpath.
1860         (PrintStream): Merged documentation from classpath.
1861         (checkError): Merged documentation from classpath.
1862         (setError): Merged documentation from classpath.
1863         (close): Merged documentation from classpath.
1864         (flush): Merged documentation from classpath.
1865         (print): Merged documentation from classpath.
1866         (println):  Merged documentation from classpath.
1867         (write): Renamed count to len to match classpath,
1868         merged documentation from classpath.
1869         * java/io/RandomAccessFile.java
1870         (readShort): Merged documentation from classpath.
1871         (readUnsignedByte): Merged documentation from classpath.
1872         (readUnsignedShort): Merged documentation from classpath.
1873         (readUTF): Merged documentation from classpath.
1874         (seek): Reformatted, merged documentation from classpath.
1875         (skipBytes): Renamed some variables to match classpath, reformatted,
1876         merged documentation from classpath.
1877         (write): Merged documentation from classpath.
1878         (writeBoolean): Merged documentation from classpath.
1879         (writeByte): Merged documentation from classpath.
1880         (writeShort): Merged documentation from classpath.
1881         (writeChar): Merged documentation from classpath.
1882         (writeInt): Merged documentation from classpath.
1883         (writeLong): Merged documentation from classpath.
1884         (writeFloat): Merged documentation from classpath.
1885         (writeDouble): Merged documentation from classpath.
1886         (writeBytes): Merged documentation from classpath.
1887         (writeChars): Merged documentation from classpath.
1888         (writeUTF): Reformatted.
1889         (getChannel): Reformatted.
1890
1891 2003-03-31  Michael Koch  <konqueror@gmx.de>
1892
1893         * java/awt/font/TextAttribute.java
1894         (readResolve): Throws java.io.InvalidObjectException.
1895
1896 2003-03-31  Michael Koch  <konqueror@gmx.de>
1897
1898         * java/rmi/server/LoaderHandler.java
1899         (loadClass): Deprecated.
1900         (getSecurityContext): Deprecated.
1901         * java/rmi/server/LogStream.java
1902         (getDefaultStream): Deprecated.
1903         (setDefaultStream): Deprecated.
1904         (getOutputStream): Deprecated.
1905         (setOutputStream): Deprecated.
1906         (write): Deprecated.
1907         (toString): Deprecated.
1908         (parseLevel): Deprecated.
1909         * java/rmi/server/Operation.java
1910         (Operation): Deprecated.
1911         (getOperation): Deprecated.
1912         (toString): Deprecated.
1913         * java/rmi/server/RemoteCall.java
1914         (getOutputStream): Deprecated.
1915         (releaseOutputStream): Deprecated.
1916         (getInputStream): Deprecated.
1917         (releaseInputStream): Deprecated.
1918         (getResultStream): Deprecated.
1919         (executeCall): Deprecated.
1920         (done): Deprecated.
1921         * java/rmi/server/RemoteRef.java
1922         (invoke): Deprecated.
1923         (newCall): Deprecated.
1924         (done): Deprecated.
1925         * java/rmi/server/RemoteStub.java
1926         (setRef): Deprecated.
1927         * java/rmi/server/Skeleton.java:
1928         No need to import java.lang.Exception explicitly.
1929         (dispatch): Deprecated.
1930         (getOperations): Deprecated.
1931
1932 2003-03-31  Michael Koch  <konqueror@gmx.de>
1933
1934         * java/rmi/dgc/VMID.java,
1935         java/rmi/registry/RegistryHandler.java,
1936         java/rmi/server/LogStream.java,
1937         java/rmi/server/Operation.java,
1938         java/rmi/server/RemoteCall.java,
1939         java/rmi/server/RemoteRef.java,
1940         java/rmi/server/RemoteStub.java:
1941         Reformatted.
1942
1943 2003-03-31  Michael Koch  <konqueror@gmx.de>
1944
1945         * javax/swing/AbstractCellEditor.java,
1946         javax/swing/AbstractListModel.java,
1947         javax/swing/ActionMap.java,
1948         javax/swing/BorderFactory.java,
1949         javax/swing/ButtonGroup.java,
1950         javax/swing/DefaultBoundedRangeModel.java,
1951         javax/swing/DefaultButtonModel.java,
1952         javax/swing/DefaultCellEditor.java,
1953         javax/swing/DefaultComboBoxModel.java,
1954         javax/swing/DefaultDesktopManager.java,
1955         javax/swing/DefaultListCellRenderer.java,
1956         javax/swing/DefaultSingleSelectionModel.java,
1957         javax/swing/InputMap.java,
1958         javax/swing/JComponent.java,
1959         javax/swing/JMenu.java,
1960         javax/swing/JSlider.java,
1961         javax/swing/KeyStroke.java,
1962         javax/swing/OverlayLayout.java,
1963         javax/swing/ScrollPaneLayout.java,
1964         javax/swing/SizeRequirements.java,
1965         javax/swing/UIManager.java,
1966         javax/swing/ViewportLayout.java,
1967         javax/swing/border/AbstractBorder.java,
1968         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1969         javax/swing/event/EventListenerList.java,
1970         javax/swing/table/AbstractTableModel.java,
1971         javax/swing/table/DefaultTableCellRenderer.java,
1972         javax/swing/table/DefaultTableColumnModel.java,
1973         javax/swing/table/DefaultTableModel.java,
1974         javax/swing/table/TableColumn.java,
1975         javax/swing/text/StyledEditorKit.java,
1976         javax/swing/tree/DefaultMutableTreeNode.java,
1977         javax/swing/tree/DefaultTreeModel.java,
1978         javax/swing/tree/DefaultTreeSelectionModel.java,
1979         javax/swing/tree/TreePath.java,
1980         javax/swing/undo/AbstractUndoableEdit.java,
1981         javax/swing/undo/StateEdit.java,
1982         javax/swing/undo/StateEditable.java,
1983         javax/swing/undo/UndoableEditSupport.java:
1984         Merges from classpath.
1985
1986 2003-03-30  Tom Tromey  <tromey@redhat.com>
1987
1988         * java/lang/String.java (data, boffset, count): Documented.
1989         (String(byte[],String)): Reformatted.
1990         (String(byte[])): Likewise.
1991         (lastIndexOf(int)): Likewise.
1992         (lastIndexOf(String)): Likewise.
1993         (substring(int)): Renamed argument to match Classpath.
1994         (String(StringBuffer)): Don't share buffer if it is nearly empty.
1995
1996         * java/lang/String.java: Miscellaneous minor formatting changes
1997         to match Classpath more closely.
1998
1999 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2000             Tom Tromey  <tromey@redhat.com>
2001
2002         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2003         (init()): Removed.
2004         (charAt): Put index in exception.
2005         (contentEquals): New method.
2006         Include StringBuffer.h.
2007         * java/lang/String.java (cachedHashCode): New field.
2008         (String()): Follow classpath implementation.
2009         (init()): Removed.
2010         (contentEquals): Declare.
2011         (subSequence): Don't declare IndexOutIfBoundsException in throws
2012         clause.
2013         (matches, replaceFirst, replaceAll, split): New methods from
2014         Classpath.
2015
2016 2003-03-29  Tom Tromey  <tromey@redhat.com>
2017
2018         * java/lang/String.java: Reordered to follow Classpath; merged in
2019         javadoc.
2020
2021         * java/text/MessageFormat.java: Removed some whitespace.
2022
2023         * Makefile.in: Rebuilt.
2024         * Makefile.am (awt_java_source_files): Added new files.
2025         * gnu/javax/rmi/PortableServer.java,
2026         gnu/javax/rmi/CORBA/DelegateFactory.java,
2027         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2028         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2029         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2030         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2031         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2032         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2033         javax/rmi/PortableRemoteObject.java,
2034         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2035         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2036         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2037         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2038         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2039         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2040
2041         * java/lang/natClass.cc (newInstance): Put method name in
2042         exception.
2043         (getConstructor): Likewise.
2044         (getDeclaredConstructor): Likewise.
2045         (getPrivateMethod): Likewise.
2046
2047 2003-03-28  Tom Tromey  <tromey@redhat.com>
2048
2049         * java/lang/reflect/Proxy.java: New version from Classpath.
2050         * java/lang/Package.java: New version from Classpath.
2051
2052 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2053
2054         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2055         * configure: Regenerate.
2056
2057 2003-03-28  Michael Koch  <konqueror@gmx.de>
2058
2059         * java/io/File.java:
2060         Import needed classes instead of whole packages, merged class
2061         documentation with classpath, moved constants and variables to top of
2062         class.
2063         * java/io/PrintStream.java:
2064         Merged class documentation with classpath, moved constants and
2065         variables to top of class.
2066         * java/io/RandomAccessFile.java
2067         (RandomAccessFile): Merged with classpath.
2068         (read): Merged with classpath).
2069         (read*): Reformatted.
2070
2071 2003-03-28  Michael Koch  <konqueror@gmx.de>
2072
2073         * java/io/FileDescriptor.java
2074         (finalize): Throws Throwable, not IOException.
2075         * java/io/ObjectOutputStream.java
2076         (PutField.put): Doesnt throws anything.
2077
2078 2003­03-28  Michael Koch  <konqueror@gmx.de>
2079
2080         * java/io/FileOutputStream.java:
2081         Merged class documentation and authors with classpath.
2082         (FileOutputStream): Partly merged with classpath.
2083         (write): Merged with classpath.
2084         (getChannel): Make it synchronized instead of explicit block in this
2085         method.
2086         * java/io/RandomAccessFile.java:
2087         Merged class documentation and authors with classpath.
2088
2089 2003-03-26  Tom Tromey  <tromey@redhat.com>
2090
2091         * java/lang/natRuntime.cc (insertSystemProperties): Set
2092         gnu.classpath.home.url.
2093         * Makefile.in: Rebuilt.
2094         * Makefile.am: Define LIBDIR.
2095
2096 2003-03-25  Michael Koch  <konqueror@gmx.de>
2097
2098         * java/io/FileInputStream.java
2099         (read): Renamed b to buf and off to offset.
2100         * java/io/FileOutputStream.java
2101         (ch): Documentation added.
2102         (FileOutputStream): Documentation added.
2103         (getFD): Documentation added.
2104         (write): Documentation added.
2105         (close): Documentation added.
2106         (getChannel): Documentation added.
2107
2108 2003-03-24  Michael Koch  <konqueror@gmx.de>
2109
2110         * java/io/DataOutputStream.java
2111         (write): Merged from classpath.
2112         * java/io/File.java:
2113         Merged copyrigth with classpath.
2114         * java/io/FileInputStream.java
2115         (getChannel): Made it synchronized instead of using a synchronized
2116         block.
2117         * java/io/FileOutputStream.java: Reformatted.
2118         * java/io/InputStreamReader.java
2119         (InputStreamReader): Renamed enc to encoding_name.
2120         (close): Merged documentation from classpath.
2121         (getEncoding): Merged documentation from classpath.
2122         (ready): Merged documentation from classpath.
2123         (read): Merged documentation from classpath.
2124         * java/io/LineNumberReader.java
2125         (lineNumber): Made it private.
2126         (LineNumberReader): Use Constant instead of a direct value.
2127         * java/io/OutputStreamWriter.java
2128         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2129         documentation from classpath.
2130         (close): Merged documentation from classpath.
2131         (flush): Merged documentation from classpath.
2132         (write): Merged documentation from classpath.
2133         * java/io/PrintStream.java: Reformatted.
2134
2135 2003-03-24  Michael Koch  <konqueror@gmx.de>
2136
2137         * javax/swing/text/ComponentView.java
2138         (getComponent): Must be final.
2139         * javax/swing/tree/DefaultTreeCellRenderer.java:
2140         Reformatted.
2141         * javax/swing/undo/StateEditable.java:
2142         Reformatted.
2143
2144 2003-03-24  Michael Koch  <konqueror@gmx.de>
2145
2146         * java/rmi/activation/ActivationInstantiator.java:
2147         Reformatted.
2148         * java/rmi/activation/Activator.java:
2149         Reformatted.
2150         * java/rmi/registry/RegistryHandler.java:
2151         Remerged from classpath.
2152
2153 2003-03-24  Michael Koch  <konqueror@gmx.de>
2154
2155         * java/util/Date.java:
2156         Fixed documentation starting tag to make javadoc happy.
2157         * java/util/regex/Pattern.java
2158         (Pattern): Implements Serializable.
2159         * java/util/PatternSyntaxException.java
2160         (serialVersionUID): New member variable.
2161
2162 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2163
2164         * java/awt/ContainerOrderFocusTraversalPolicy.java
2165         (getFirstComponent): Implemented.
2166         (getLastComponent): Implemented.
2167         (getDefaultComponent): Implemented.
2168         (setImplicitDownCycleTraversal): Fixed implementation.
2169         * java/awt/Robot.java
2170         (Robot): Added documentation.
2171         * java/awt/Toolkit.java
2172         (getFontList): Deprecated.
2173         (getFontMetrics): Deprecated.
2174         (getPrintJob): Added documentation.
2175         (getSystemSelection): Added documentation.
2176         (getLockingKeyState): Added documentation.
2177         (setLockingKeyState): Added documentation.
2178         (createCustomCursor): Added documentation.
2179         (getBestCursorSize): Added documentation.
2180         (getMaximumCursorColors): Added documentation.
2181         (isFrameStateSupported): Added documentation.
2182
2183 2003-03-24  Michael Koch  <konqueror@gmx.de>
2184
2185         * java/io/RandomAccessFile.java:
2186         More little merges with classpath. No code changes.
2187
2188 2003-03-24  Michael Koch  <konqueror@gmx.de>
2189
2190         * java/net/natInetAddressNoNet.cc:
2191         Include stddef.h.
2192         * java/net/natPlainDatagramSocketImplNoNet.cc:
2193         Fixed inlcude of java/net/DatagramPacket.h.
2194         * java/net/natPlainSocketImplNoNet.cc:
2195         Include some missing classes.
2196
2197 2003-03-24  Michael Koch  <konqueror@gmx.de>
2198
2199         * java/awt/dnd/DropTarget.java
2200         (DropTargetAutoScroller): According to the online documentation, this
2201         is protected, but in reality it is public.
2202         * java/awt/dnd/DropTargetContext.java
2203         (TransferableProxy): According to the online documentation, this
2204         is protected, but in reality it is public.
2205
2206 2003-03-24  Michael Koch  <konqueror@gmx.de>
2207
2208         * java/io/DataInputStream.java
2209         (): Wrapped documentation line.
2210         (): Fixed @return tag.
2211         * java/io/DataOutputStream.java
2212         (written): Moved to top of class.
2213         (all methods): Merged documentation from classpath.
2214         * java/io/File.java:
2215         Merged copyright year with classpath.
2216         * java/io/FileInputStream.java
2217         (all methods): Merged documentation from classpath.
2218         * java/io/LineNumberReader.java
2219         (getLineNumber): Fixed @return tag.
2220         * java/io/ObjectInputStream.java.
2221         Reformatted.
2222         * java/io/ObjectOutputStream.java:
2223         Reformatted, fixed some @see tags.
2224         * java/io/OutputStreamWriter.java:
2225         Deleted empty line.
2226         * java/io/Writer.java:
2227         Reformatted.
2228
2229 2003-03-24  Michael Koch  <konqueror@gmx.de>
2230
2231         * java/awt/Frame.java
2232         (DEFAULT_CURSOR): Fixed @deprecated tag.
2233         (setCursor): Fixed @deprecated tag.
2234
2235 2003-03-24  Michael Koch  <konqueror@gmx.de>
2236
2237         * java/beans/beancontext/BeanContextEvent.java:
2238         Reformated.
2239
2240 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2241
2242         * java/lang/natStringBuffer.cc (regionMatches): New function.
2243         * java/lang/String.java (count): Now package-private.
2244         * java/lang/StringBuffer.java: Merged with Classpath.
2245
2246 2003-03-23  Michael Koch  <konqueror@gmx.de>
2247
2248         * java/io/BufferedOutputStream.java:
2249         Reformated.
2250         * java/io/BufferedReader.java:
2251         Reformated.
2252         * java/io/ByteArrayOutputStream.java
2253         (size): Fixed @see tag.
2254         * java/io/CharArrayWriter.java
2255         (size): Fixed @see tag.
2256         * java/io/DataInput.java:
2257         Reformated.
2258         * java/io/DataOutput.java:
2259         Reformated.
2260         * java/io/DataOutputStream.java:
2261         Merged copyright years with classpath.
2262         * java/io/Externalizable.java:
2263         Reformated.
2264         * java/io/FileFilter.java:
2265         Reformated.
2266         * java/io/FileInputStream.java:
2267         Merged copyright years with classpath.
2268         * java/io/FileOutputStream.java:
2269         Merged copyright years with classpath.
2270         * java/io/FilePermission.java
2271         (FilePermission): Replaced @XXX with FIXME:.
2272         * java/io/FileWriter.java:
2273         Reformated.
2274         * java/io/FilenameFilter.java:
2275         Reformated.
2276         * java/io/FilterInputStream.java:
2277         Reformated.
2278         * java/io/FilterOutputStream.java:
2279         Reformated.
2280         * java/io/FilterReader.java:
2281         Reformated.
2282         * java/io/FilterWriter.java:
2283         Reformated.
2284         * java/io/LineNumberInputStream.java
2285         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2286         happy.
2287         (getLineNumber): Fixed @return tag.
2288         * java/io/ObjectInput.java:
2289         Reformated.
2290         * java/io/ObjectOutput.java:
2291         Reformated.
2292         * java/io/ObjectStreamClass.java:
2293         Reformated.
2294         * java/io/PrintStream.java:
2295         Merged copyright years with classpath.
2296         * java/io/PushbackReader.java
2297         (PushbackReader): Replaced @code with @param.
2298         * java/io/SerializablePermission.java:
2299         Reformated.
2300         * java/io/StreamTokenizer.java
2301         (resetSyntax): Fixed @see tag.
2302
2303 2003-03-22  Richard Henderson  <rth@redhat.com>
2304
2305         * sysdep/ia64/locks.h: Include ia64intrin.h.
2306         (compare_and_swap): Use __sync_bool_compare_and_swap.
2307         (compare_and_swap_release): Expose ar.ccv assignment.
2308
2309 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2310
2311         * include/posix.h: Add suffix for darwin dynamic libraries.
2312
2313 2003-03-21  Michael Koch  <konqueror@gmx.de>
2314
2315         * javax/swing/Action.java
2316         (ACCELERATOR_KEY): New constant.
2317         (ACTION_COMMAND_KEY): Likewise.
2318         (MNEMONIC_KEY): Likewise.
2319         * javax/swing/UnsupportedLookAndFeelException.java
2320         (UnsupportedLookAndFeelException): Must be public.
2321         * javax/swing/WindowConstants.java
2322         (EXIT_ON_CLOSE): New constant.
2323         * javax/swing/text/BadLocationException.java
2324         (offset): New member variable.
2325         (BadLocationException): New implementation, documentation added.
2326         (offsetRequested): New method.
2327         * javax/swing/text/Caret.java:
2328         Reformated.
2329         * javax/swing/text/Document.java:
2330         Reformated.
2331
2332 2003-03-21  Michael Koch  <konqueror@gmx.de>
2333
2334         * java/rmi/activation/Activatable.java
2335         (serialVersionUID): New member variable.
2336         * java/rmi/activation/ActivationGroup.java
2337         (serialVersionUID): New member variable.
2338         * java/rmi/activation/ActivationGroupDesc.java
2339         (serialVersionUID): New member variable.
2340         * java/rmi/registry/Registry.java:
2341         Reformated.
2342         (Registry): Deprecated.
2343         * java/rmi/server/LoaderHandler.java
2344         Reformated.
2345         (LoaderHandler): Deprecated.
2346         * java/rmi/server/LogStream.java
2347         Reformated.
2348         (LogStream): Deprecated.
2349         * java/rmi/server/Operation.java
2350         (Operation): Deprecated.
2351         * java/rmi/server/RMIFailureHandler.java:
2352         Reformated.
2353         * java/rmi/server/RMISocketFactory.java:
2354         Reformated.
2355         * java/rmi/server/RemoteCall.java
2356         (RemoteCall): Deprecated.
2357         * java/rmi/server/RemoteStub.java:
2358         Reformated.
2359         * java/rmi/server/Skeleton.java
2360         Reformated.
2361         (Skeleton): Deprecated.
2362
2363 2003-03-21  Michael Koch  <konqueror@gmx.de>
2364
2365         * java/io/LineNumberReader.java
2366         (LineNumberReader): Merged documentation with classpath.
2367         (getLineNumber): Likewise.
2368         (setLineNumber): Likewise.
2369         (mark): Likewise.
2370         (reset): Likewise.
2371         (read): Likewise.
2372         (readLine): Likewise.
2373         (skip): Likewise.
2374
2375 2003-03-21  Michael Koch  <konqueror@gmx.de>
2376
2377         * java/rmi/RMISecurityManager.java
2378         (checkAccept): Removed.
2379         (checkAccess): Likewise.
2380         (checkAccess): Likewise.
2381         (checkAwtEventQueueAccess): Likewise.
2382         (checkConnect): Likewise.
2383         (checkCreateClassLoader): Likewise.
2384         (checkDelete): Likewise.
2385         (checkExec): Likewise.
2386         (checkExit): Likewise.
2387         (checkLink): Likewise.
2388         (checkListen): Likewise.
2389         (checkMemberAccess): Likewise.
2390         (checkMulticast): Likewise.
2391         (checkPackageAccess): Likewise.
2392         (checkPackageDefinition): Likewise.
2393         (checkPermission): Likewise.
2394         (checkPrintJobAccess): Likewise.
2395         (checkPropertiesAccess): Likewise.
2396         (checkPropertyAccess): Likewise.
2397         (checkRead): Likewise.
2398         (checkSecurityAccess): Likewise.
2399         (checkSetFactory): Likewise.
2400         (checkSystemClipboardAccess): Likewise.
2401         (checkTopLevelWindow): Likewise.
2402         (checkWrite): Likewise.
2403
2404 2003-03-20  Michael Koch  <konqueror@gmx.de>
2405
2406         * gnu/java/nio/FileChannelImpl.java
2407         (address): Removed.
2408         (map_address): New member variable.
2409         (length): Make it package private.
2410         (fd): Make it package private.
2411         (buf): Make it package private.
2412         (file_obj): Make it package private.
2413         (FileChannelImpl): New constructor.
2414         (nio_mmap_file): Use RawData instead of long.
2415         (nio_munmap_file): Use RawData instead of long.
2416         (nio_msync): Use RawData instead of long.
2417         (implCloseChannel): New implementation using map_address.
2418         (read): Reformated.
2419         (map): Implemented.
2420         (create_direct_mapped_buffer): Implemented, use RawData, throws
2421         IOException.
2422         (force): Use map_address instead of address.
2423         * gnu/java/nio/MappedByteFileBuffer.java
2424         (address): Removed.
2425         (map_address): New member variable.
2426         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2427         (several methods): Use map_address instead of address, replaced long
2428         with RawData where appropriate.
2429         * gnu/java/nio/natFileChannelImpl.cc
2430         (nio_mmap_file): Replaced long with RawData.
2431         (nio_munmap_file): Replaced long with RawData.
2432         (nio_msync): Replaced long with RawData.
2433         * gnu/java/nio/natMappedByteFileBuffer.cc
2434         (several methods): Replaced long with RawData where appropriate.
2435
2436 2003-03-20  Michael Koch  <konqueror@gmx.de>
2437
2438         * java/net/InetAddress.java,
2439         java/net/JarURLConnection.java,
2440         java/net/PlainDatagramSocketImpl.java,
2441         java/net/PlainSocketImpl.java,
2442         java/net/URLConnection.java:
2443         Merged copyright statements with classpath for easier merging.
2444
2445 2003-03-20  Michael Koch  <konqueror@gmx.de>
2446
2447         * java/io/FileInputStream.java
2448         (getChannel): New implementation.
2449         * java/io/FileOutputStream.java
2450         (ch): New member variable.
2451         (getChannel): Implemented.
2452         * java/io/RandomAccessFile.java
2453         (RandomAccessFile): Throws FileNotFoundException instead of
2454         IOException.
2455         (getChannel): New method.
2456         (ch): New member variable.
2457
2458 2003-03-20  Michael Koch  <konqueror@gmx.de>
2459
2460         * java/io/DataOutputStream.java,
2461         java/io/File.java,
2462         java/io/FileInputStream.java,
2463         java/io/FileOutputStream.java,
2464         java/io/InputStreamReader.java,
2465         java/io/LineNumberReader.java,
2466         java/io/OutputStreamWriter.java,
2467         java/io/PrintStream.java,
2468         java/io/RandomAccessFile.java:
2469         Merged copyright statements with classpath for easier merging.
2470
2471 2003-03-19  Michael Koch  <konqueror@gmx.de>
2472
2473         * java/lang/Process.java:
2474         Merged from classpath.
2475
2476 2003-03-19  Michael Koch  <konqueror@gmx.de>
2477
2478         * java/io/FileOutputStream.java
2479         (FileOutputStream): New constructor, merged from classpath.
2480         * java/io/FileWriter.java
2481         (FileWriter): New constructor, merged from classpath.
2482
2483 2003-03-18  Michael Koch  <konqueror@gmx.de>
2484
2485         * java/awt/ScrollPane.java
2486         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2487         (getViewportSize): Likewise.
2488         (addNotify): Likewise.
2489         (removeNotify): Likewise.
2490         * java/awt/ScrollPaneAdjustable.java
2491         (ScrollPaneAdjustable): No longer extends Scrollbar.
2492         * java/beans/beancontext/BeanContextServices.java:
2493         Reformated.
2494         (getService): Added throws TooManyListenersException;
2495         * java/beans/beancontext/BeanContextServicesSupport.java:
2496         Reformated.
2497
2498 2003-03-18  Michael Koch  <konqueror@gmx.de>
2499
2500         * java/io/BufferedOutputStream.java,
2501         java/io/DataInput.java,
2502         java/io/DataInputStream.java,
2503         java/io/DataOutput.java,
2504         java/io/Externalizable.java:
2505         More merges from classpath.
2506
2507 2003-03-18  Michael Koch  <konqueror@gmx.de>
2508
2509         * configure.in: Fixed links to platform dependant java.net files.
2510         * configure: Regenerated.
2511         * java/net/natInetAddress.cc,
2512         java/net/natNetworkInterface.cc,
2513         java/net/natPlainDatagramSocketImpl.cc,
2514         java/net/natPlainSocketImpl.cc:
2515         Removed.
2516
2517 2003-03-18  Michael Koch  <konqueror@gmx.de>
2518
2519         * configure.in: Create links to architecture dependent files,
2520         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2521         * configure: Regenerated.
2522         * java/net/natInetAddressNoNet.cc,
2523         java/net/natInetAddressPosix.cc,
2524         java/net/natInetAddressWin32.cc,
2525         java/net/natNetworkInterfaceNoNet.cc,
2526         java/net/natNetworkInterfacePosix.cc,
2527         java/net/natNetworkInterfaceWin32.cc,
2528         java/net/natPlainDatagramSocketImplNoNet.cc,
2529         java/net/natPlainDatagramSocketImplPosix.cc,
2530         java/net/natPlainDatagramSocketImplWin32.cc,
2531         java/net/natPlainSocketImplNoNet.cc,
2532         java/net/natPlainSocketImplPosix.cc,
2533         java/net/natPlainSocketImplWin32.cc: New files.
2534
2535 2003-03-18  Michael Koch  <konqueror@gmx.de>
2536
2537         * java/io/BufferedReader.java,
2538         java/io/BufferedWriter.java,
2539         java/io/ByteArrayOutputStream.java,
2540         java/io/FileFilter.java,
2541         java/io/FilePermission.java,
2542         java/io/FileReader.java,
2543         java/io/FileWriter.java,
2544         java/io/FilenameFilter.java,
2545         java/io/FilterInputStream.java,
2546         java/io/FilterOutputStream.java,
2547         java/io/FilterReader.java,
2548         java/io/FilterWriter.java,
2549         java/io/ObjectInput.java,
2550         java/io/ObjectInputValidation.java,
2551         java/io/ObjectOutput.java,
2552         java/io/ObjectStreamField.java,
2553         java/io/PipedInputStream.java,
2554         java/io/PipedReader.java,
2555         java/io/PrintWriter.java,
2556         java/io/PushbackReader.java,
2557         java/io/Reader.java,
2558         java/io/SerializablePermission.java,
2559         java/io/StringReader.java,
2560         java/io/Writer.java:
2561         Merged from classpath.
2562
2563 2003-03-17  Michael Koch  <konqueror@gmx.de>
2564
2565         * java/awt/ScrollPaneAdjustable.java:
2566         Compile fixes.
2567         
2568 2003-03-17  Michael Koch  <konqueror@gmx.de>
2569
2570         * java/net/DatagramSocket.java
2571         (connect): Fixed comment.
2572         * java/nio/ByteBuffer.java
2573         (hasArray): Fixed comment.
2574
2575 2003-03-17  Michael Koch  <konqueror@gmx.de>
2576
2577         * java/beans/Beans.java:
2578         Explicitely import classes not packages.
2579         * java/beans/FeatureDescriptor.java
2580         (preferred): New member variable.
2581         (isPreferred): New method.
2582         (setPreferred): New method.
2583         * java/beans/PropertyEditorManager.java:
2584         Explicitely import used classes.
2585         * java/beans/beancontext/BeanContextChild.java:
2586         Added line wrapping.
2587         * java/beans/beancontext/BeanContextChildSupport.java:
2588         Reindented.
2589         * java/beans/beancontext/BeanContextEvent.java:
2590         Reindented.
2591
2592 2003-03-17  Michael Koch  <konqueror@gmx.de>
2593
2594         * java/awt/Dialog.java
2595         (Dialog): New constructor, changed implementations, added
2596         documentation.
2597         * java/awt/ScrollPaneAdjustable.java
2598         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2599         Serializable.
2600         (serialVersionUID): New member variable.
2601         (sp): New member variable.
2602         (orientation): New member variable.
2603         (value): New member variable.
2604         (minimum): New member variable.
2605         (maximum): New member variable.
2606         (visibleAmount): New member variable.
2607         (unitIncrement): New member variable.
2608         (blockIncrement): New member variable.
2609         (AdjustmentListener): New member variable.
2610         (ScrollPaneAdjustable): New implementation.
2611         (addAdjustmentListener): New method.
2612         (removeAdjustmentListener): New method.
2613         (getAdjustmentListeners): New method.
2614         (getBlockIncrement): New method.
2615         (getMaximum): New method.
2616         (getMinimum): New method.
2617         (getOrientation): New method.
2618         (getUnitIncrement): New method.
2619         (getValue): New method.
2620         (getVisibleAmount): New method.
2621         (setBlockIncrement): New method.
2622         (setMaximum): Implemented.
2623         (setMinimum): Implemented.
2624         (setUnitIncrement): New method.
2625         (setValue): New method.
2626         (setVisibleAmount): Implemented. 
2627         (paramString): New stubbed method.
2628         * java/awt/Window.java
2629         (show): Call setVisible().
2630         (hide): Call setVisible().
2631         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2632         and WINDOW_STATE_CHANGED.
2633         (processWindowFocusEvent): New method.
2634         (processWindowStateEvent): New method.
2635         (postEvent): Deprecated.
2636         (applyResourceBundle): Deprecated.
2637         * java/awt/datatransfer/DataFlavor.java
2638         (DataFlavor): Doesn't thow ClassNotFoundException.
2639
2640 2003-03-17  Michael Koch
2641
2642         * javax/print/attribute/Attribute.java,
2643         javax/print/attribute/AttributeSet.java,
2644         javax/print/attribute/PrintRequestAttributeSet.java:
2645         New files.
2646         * Makefile.am
2647         (javax_source_files): Added new files:
2648         javax/print/attribute/Attribute.java
2649         javax/print/attribute/AttributeSet.java
2650         javax/print/attribute/PrintRequestAttributeSet.java
2651         * Makefile.in: Regenerated.
2652
2653 2003-03-17  Michael Koch
2654
2655         * javax/print/attribute/Attribute.java,
2656         javax/print/attribute/AttributeSet.java,
2657         javax/print/attribute/PrintRequestAttributeSet.java:
2658         New files.
2659         * Makefile.am
2660         (awt_java_source_files): Added new files:
2661         javax/print/attribute/Attribute.java
2662         javax/print/attribute/AttributeSet.java
2663         javax/print/attribute/PrintRequestAttributeSet.java
2664         * Makefile.in: Regenerated.
2665
2666 2003-03-16  Tom Tromey  <tromey@redhat.com>
2667
2668         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2669         Include platform.h.
2670         * java/lang/natRuntime.cc (insertSystemProperties): Use
2671         _Jv_platform_path_separator.
2672         (nativeGetLibname): Use _Jv_platform_file_separator.
2673         (_load): Use _Jv_platform_onload_names.
2674         (onload_names): New global.
2675         * include/win32.h (_Jv_platform_file_separator): New define.
2676         (_Jv_platform_path_separator): Likewise.
2677         (_Jv_platform_onload_names): Likewise.
2678         (_Jv_platform_ffi_abi): Likewise.
2679         * include/posix.h (_Jv_platform_file_separator): New define.
2680         (_Jv_platform_path_separator): Likewise.
2681         (_Jv_platform_onload_names): Likewise.
2682         (_Jv_platform_ffi_abi): Likewise.
2683
2684 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2685
2686         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2687
2688 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2689
2690         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2691         hierarchy loop.
2692         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2693         list to Object,ObjectStreamClass, moved callReadMethod code up into
2694         readObject and added Class argument to all setXxxField calls.
2695         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2696         consistent with ObjectOutputStream and to facilitate caching the
2697         Method in the future.
2698         (setBooleanField): Added Class argument.
2699         (setByteField): Likewise.
2700         (setCharField): Likewise.
2701         (setDoubleField): Likewise.
2702         (setFloatField): Likewise.
2703         (setIntField): Likewise.
2704         (setLongField): Likewise.
2705         (setShortField): Likewise.
2706         (setObjectField): Likewise.
2707         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2708         class hierarchy loop.
2709         (defaultWriteObject): Call writeFields with new argument list.
2710         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2711         list to Object,ObjectStreamClass, moved callWriteMethod up into
2712         writeObject and added Class argument to all getXxxField calls.
2713         (callWriteMethod): Added ObjectStreamClass argument to be able to
2714         get the proper class to call getMethod on (each class can have (or
2715         not have) its own writeObject method).
2716         (getBooleanField): Added Class argument.
2717         (getByteField): Likewise.
2718         (getCharField): Likewise.
2719         (getDoubleField): Likewise.
2720         (getFloatField): Likewise.
2721         (getIntField): Likewise.
2722         (getLongField): Likewise.
2723         (getShortField): Likewise.
2724         (getObjectField): Likewise.
2725         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2726         facilitate caching the Method object in the future.
2727
2728 2003-03-12  Andreas Schwab  <schwab@suse.de>
2729
2730         * configure.in: Avoid trailing /. in toolexeclibdir.
2731         * configure: Rebuilt.
2732
2733 2003-03-11  Michael Koch  <konqueror@gmx.de>
2734
2735         * gnu/java/nio/ByteBufferImpl.java
2736         (putInt): Use limit() instead of limit.
2737         * gnu/java/nio/CharBufferImpl.java
2738         (slice): Fixed implementation.
2739         (subSequence): Better bounds checking.
2740         * gnu/java/nio/MappedByteFileBuffer.java:
2741         Import all needed classes directly.
2742         * java/nio/ByteBuffer.java
2743         (hashCode): New dummy method.
2744         * java/nio/CharBuffer.java
2745         (array_offset): New member variable.
2746         (hasArray): Fixed documentation.
2747         (arrayOffset): Return array_offset.
2748
2749 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2750
2751         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2752         setter; made return value of getter const char* instead of char*
2753         * prims.cc: removed all references to _Jv_ThisExecutable().
2754         These are in the platform-specific sections now.
2755         * posix.cc: define platform-specific _Jv_ThisExecutable().
2756         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2757         * win32.cc: define platform-specific _Jv_ThisExecutable()
2758         using GetModuleFilename()
2759         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2760         to argv[0] instead of _Jv_ThisExecutable()
2761
2762 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2763
2764         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2765         that is set if we are using addr2name.awk instead of addr2line.
2766         (NameFinder): Set usingAddr2name if using addr2name.awk.
2767         (getExternalLabel): New native method to convert a method 
2768         name to an external label.
2769         (lookup): Convert name given by addr2line to an external label
2770         before demangling.
2771
2772         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2773         constant representing the prefix attached to method names to
2774         convert them to an external label.
2775         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2776         using LABEL_PREFIX.
2777
2778 2003-03-10  Tom Tromey  <tromey@redhat.com>
2779
2780         * Makefile.in: Rebuilt.
2781         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2782         (JC1FLAGS): Removed -Wno-deprecated.
2783
2784 2003-03-10  Michael Koch  <konqueror@gmx.de>
2785
2786         * java/nio/ByteOrder.java
2787         (nativeOrder): Working implementation, added documentation.
2788         (toString): Added documentation.
2789
2790 2003-03-10  Michael Koch  <konqueror@gmx.de>
2791
2792         * java/net/DatagramSocket.java,
2793         java/net/MulticastSocket.java,
2794         java/net/Socket.java,
2795         java/net/URL.java,
2796         java/net/URLConnection.java:
2797         Fixed some documentation tags to make javadoc and friends happy.
2798
2799 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2800
2801         * java/beans/beancontext/BeanContextServicesSupport.java,
2802         java/beans/beancontext/BeanContextSupport.java: New files.
2803         * Makefile.am
2804         (awt_source_files): Added new files.
2805         * Makefile.in: Regenerated.
2806
2807 2003-03-10  Michael Koch  <konqueror@gmx.de>
2808
2809         * java/awt/FocusTraversalPolicy.java
2810         (FocusTraversalPolicy): Documentation added.
2811         (getComponentAfter): Documentation added.
2812         (getComponentBefore): Documentation added.
2813         (getFirstComponent): Documentation added.
2814         (getLastComponent): Documentation added.
2815         (getDefaultComponent): Documentation added.
2816         (getInitialComponent): Documentation added.
2817         * java/awt/ScrollPaneAdjustable.java
2818         (sp): New member variable.
2819         (orientation): New member variable.
2820         (value): New member variable.
2821         (minimum): New member variable.
2822         (maximum): New member variable.
2823         (visibleAmount): New member variable.
2824         (unitIncrement): New member variable.
2825         (blockIncrement): New member variable.
2826         (adjustmentListener): New member variable.
2827         (ScrollPaneAdjustable): Rewrote.
2828         (addAdjustmentListener): New method.
2829         (removeAdjustmentListener): New method.
2830         (getAdjustmentListeners): New method.
2831         (getBlockIncrement): New method.
2832         (getMaximum): New method.
2833         (getMinimum): New method.
2834         (getOrientation): New method.
2835         (getUnitIncrement): New method.
2836         (getValue): New method.
2837         (getVisibleAmount): New method.
2838         (setBlockIncrement): New method.
2839         (setUnitIncrement): New method.
2840         (setMaximum): Implemented.
2841         (setMinimum): Implemented.
2842         (setValue): New method.
2843         (setVisibleAmount): Implemented.
2844         (paramString): New method.
2845         * java/awt/Window.java
2846         (show): Use setVisible(true) instead of super.show().
2847         (hide): Use sevVisible(false) instead of super.hide().
2848         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2849         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2850         (postEvent): Deprecated.
2851         (applyResourceBundle): Deprecated.
2852         (processWindowFocusEvent): New method.
2853         (processWindowStateEvent): New method.
2854         * java/awt/datatransfer/DataFlavor.java: Reindented.
2855         * java/awt/font/TextHitInfo.java
2856         (charIndex): New member variable.
2857         (leadingEdge): New member variable.
2858         (TextHitInfo): New constructor.
2859         (getCharIndex): Implemented.
2860         (isLeadingEdge): Implemented.
2861         (getInsertionIndex): Implemented.
2862         (hashCode): Access charIndex directly.
2863         (equals): Reformated.
2864         (leading): Implemented.
2865         (trailing): Implemented.
2866         (beforeOffset): Implemented.
2867         (afterOffset): Implemented.
2868         (getOtherHit): Implemented.
2869         (getOffsetHit): Implemented.
2870         (toString): Implemented.
2871         * java/awt/image/BufferedImage.java
2872         (BufferedImage): Implements WritableRenderedImage.
2873         (observers): New member variable.
2874         (addTileObserver): New method.
2875         (removeTileObserver): New method.
2876
2877 2003-03-09  Tom Tromey  <tromey@redhat.com>
2878
2879         PR libgcj/9934:
2880         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2881         to lseek.  Return 0 if we can't compute the value.
2882
2883 2003-03-03  Michael Koch  <konqueror@gmx.de>
2884
2885         * java/net/NetworkInterface.java: Merged with classpath.
2886
2887 2003-03-03  Tom Tromey  <tromey@redhat.com>
2888
2889         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2890         of bytecode.
2891         (handle_ret_insn): Fail if returning to jsr that appears at end of
2892         bytecode.
2893
2894 2003-03-03  Michael Koch  <konqueror@gmx.de>
2895
2896         * Makefile.am
2897         (ordinary_java_source_files):
2898         Added gnu/java/nio/MappedByteFileBuffer.java.
2899         (nat_source_files):
2900         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2901         * Makefile.in: Regenerated.
2902
2903 2003-03-03  Michael Koch  <konqueror@gmx.de>
2904
2905         * java/net/DatagramSocket.java
2906         (connect): Merged comment from classpath.
2907         (receive): Merged documentation from classpath.
2908         * java/net/Socket.java
2909         (setSoTimeout): Clarified documentation.
2910         * java/net/URL.java
2911         (getPath): Merged from classpath.
2912         (getUserInfo): Merged from classpath.
2913         (getQuery): Merged from classpath.
2914         * java/net/URLStreamHandler.java
2915         (toExternalForm): Merged from classpath.
2916
2917 2003-03-02  Mark Wielaard  <mark@klomp.org>
2918
2919         * java/util/Properties.java (load): Only skip line if the first
2920         character is a comment, whitespaces don't count.
2921
2922 2003-03-02  Michael Koch  <konqueror@gmx.de>
2923
2924         * java/net/NetPermission.java:
2925         Merged copyright with classpath.
2926
2927 2003-03-02  Michael Koch  <konqueror@gmx.de>
2928
2929         * java/lang/Package.java:
2930         Remerged from classpath.
2931
2932 2003-03-02  Michael Koch  <konqueror@gmx.de>
2933
2934         * java/net/HttpURLConnection.java
2935         (HTTP_SERVER_ERROR): Deprecated.
2936         * java/net/MulticastSocket.java
2937         (send): Replaced checkMulticast with appropriate checkPermission call,
2938         deprecated.
2939         * java/net/URLDecoder.java
2940         (decode): Deprecated.
2941         * java/net/URLEncoder.java
2942         (encode): Deprecated.
2943
2944 2003-03-02  Michael Koch  <konqueror@gmx.de>
2945
2946         * javax/swing/text/Caret.java
2947         (getMagicCaretPosition): Fixed typo in method name.
2948         * javax/swing/text/DefaultCaret.java
2949         (getMagicCaretPosition): Fixed typo in method name.
2950
2951 2003-03-02  Michael Koch  <konqueror@gmx.de>
2952
2953         * java/awt/List.java
2954         (setMultipleSelections): Deprecated.
2955         (delItem): Deprecated.
2956         * java/awt/MenuComponent.java
2957         (getPeer): Deprecated.
2958         * java/awt/ScrollPane.java
2959         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2960         * java/awt/dnd/MouseDragGestureRecognizer.java
2961         (mouseClicked): Added comment.
2962         (mousePressed): Added comment.
2963         (mouseReleased): Added comment.
2964         (mouseEntered): Added comment.
2965         (mouseExited): Added comment.
2966         (mouseDragged): Added comment.
2967         (mouseMoved): Added comment.
2968         * java/awt/event/KeyEvent.java
2969         (KeyEvent): Deprecated.
2970         (setModifiers): Deprecated.
2971         
2972 2003-03-02  Michael Koch  <konqueror@gmx.de>
2973
2974         * gnu/java/nio/FileChannelImpl.java
2975         (fd): Type FileDescriptor instead of int.
2976         (lengthInternal): Removed.
2977         (FileChannelImpl): Fixed arguments, check type of file object.
2978         (size): Made it native.
2979         (implPosition): New native method.
2980         (implTruncate): New native method.
2981         (position): Implemented.
2982         (truncate): Implemented.
2983         (nio_mmap_file): Changed arguments.
2984         (nio_munmap_file): Changed arguments.
2985         (nio_msync): Changed arguments.
2986         * gnu/java/nio/natFileChannelImpl.cc
2987         (lengthInternal): Removed.
2988         (size): New method.
2989         (implPosition): New method.
2990         (implTruncate): New method.
2991         (nio_mmap_file): Changed arguments.
2992         (nio_munmap_file): Changed arguments.
2993         (nio_msync): Changed arguments.
2994
2995 2003-03-02  Michael Koch  <konqueror@gmx.de>
2996
2997         * java/awt/dnd/DropTargetContext.java:
2998         Compile fix: Forgot to commit import.
2999         
3000 2003-03-02  Michael Koch  <konqueror@gmx.de>
3001
3002         * java/awt/Component.java,
3003         java/awt/ScrollPane.java:
3004         Fixed typos.
3005
3006 2003-03-02  Michael Koch  <konqueror@gmx.de>
3007
3008         * java/awt/dnd/DnDEventMulticaster.java: New file.
3009         * java/awt/dnd/DragSource.java
3010         (flavorMap): New member variable.
3011         (dragSourceListener): New member variable.
3012         (dragSourceMotionListener): New member variable.
3013         (getFlavorMap): Implemented.
3014         (createDragGestureRecognizer): Implemented.
3015         (addDragSourceListener): Implemented.
3016         (removeDragSourceListener): Implemented.
3017         (getDragSourceListeners): Implemented.
3018         (addDragSourceMotionListener): Implemented.
3019         (removeDragSourceMotionListener): Implemented.
3020         (getDragSourceMotionListeners): Implemented.
3021         (getListeners): Implemented.
3022         * java/awt/dnd/DragSourceContext.java
3023         (peer): New member variable.
3024         (cursor): New member variable.
3025         (transferable): New member variable.
3026         (trigger): New member variable.
3027         (dragSourceListener): New member variable.
3028         (image): New member variable.
3029         (offset): New member variable.
3030         (DragSourceContext): Implemented.
3031         (getDragSource): Implemented.
3032         (getComponent): Implemented.
3033         (getTrigger): Implemented.
3034         (getSourceActions): Implemented.
3035         (setCursor): Implemented.
3036         (getCursor): Implemented.
3037         (addDragSourceListener): Implemented.
3038         (removeDragSourceListener): Implemented.
3039         (getTransferable): Implemented.
3040         * java/awt/dnd/DropTarget.java
3041         (DropTargetAutoScroller.component): New member variable.
3042         (DropTargetAutoScroller.point): New member variable.
3043         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3044         (DropTargetAutoScroller.updateLocation): Implemented.
3045         (active): Renamed from isActive, defaults to true now.
3046         (component): New member variable.
3047         (flavorMap): New member variable.
3048         (actions): New member variable.
3049         (dropTargetContext): New member variable.
3050         (dropTargetListener): New member variable.
3051         (DropTarget): Implemented.
3052         (getComponent): Implemented.
3053         (setComponent): Implemented.
3054         (setDefaultActions): Implemented.
3055         (getDefaultActions): Implemented.
3056         (setActive): Use active instead of isActive.
3057         (isActive): Use active instead of isActive.
3058         (addDropTargetListener): Implemented.
3059         (removeDropTargetListener): Implemented.
3060         (getFlavorMap): Implemented.
3061         (setFlavorMap): Implemented.
3062         (getDropTargetContext): Implemented.
3063         (createDropTargetContext): Implemented.
3064         (createDropTargetAutoScroller): Implemented.
3065         * java/awt/dnd/DropTargetContext.java
3066         (TransferableProxy.getTransferDataFlavors): Implemented.
3067         (TransferableProxy.isDataFlavorSupported): Implemented.
3068         (TransferableProxy.getTransferData): Implemented.
3069         (dropTarget):  New member variable.
3070         (dtcp): New member variable.
3071         (DropTargetContext): New package private constructor.
3072         (getDropTarget): Implemented.
3073         (getComponent): Implemented.
3074         (addNotify): Implemented.
3075         (removeNotify): Implemented.
3076         (getCurrentDataFlavorsAsList): Implemented.
3077         (isDataFlavorSupported): Implemented.
3078         * java/awt/dnd/MouseDragGestureRecognizer.java
3079         (registerListeners): Implemented.
3080         (unregisterListeners): Implemented.
3081         * Makefile.am
3082         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3083         * Makefile.in: Regenerated.
3084
3085 2003-03-02  Michael Koch  <konqueror@gmx.de>
3086
3087         * java/awt/Component.java
3088         (eventTypeEnabled): New method.
3089         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3090         * java/awt/Container.java
3091         (changeSupport): New member variable.
3092         (addPropertyChangeListener): New methods.
3093         * java/awt/ContainerOrderFocusTraversalPolicy.java
3094         (ContainerOrderFocusTraversalPolicy): Added comment.
3095         (getComponentAfter): Throw exception, documentation added.
3096         (getComponentBefore): Throw exception, documentation added.
3097         (getFirstComponent): Throw exception, documentation added.
3098         (getLastComponent): Throw exception, documentation added.
3099         (getDefaultComponent): Throw exception, documentation added.
3100         * java/awt/EventQueue.java: Reindented.
3101         * java/awt/FocusTraversalPolicy.java:
3102         (FocusTraversalPolicy): Added comment.
3103         (getComponentAfter): Documentation added.
3104         (getComponentBefore): Documentation added.
3105         (getFirstComponent): Documentation added.
3106         (getLastComponent): Documentation added.
3107         (getDefaultComponent): Documentation added.
3108         (getInitialComponent): Documentation added.
3109         * java/awt/ScrollPane.java
3110         (wheelScrollingEnabled): New member variable.
3111         (ScrollPane): Initialize wheelScollingEnabled.
3112         (eventTypeEnabled): New method.
3113         (isWheelScrollingEnabled): New method.
3114         (setWheelScrollingEnabled): New method.
3115
3116 2003-03-02  Michael Koch  <konqueror@gmx.de>
3117
3118         * java/net/DatagramSocket.java
3119         (closed): New member variable.
3120         (close): Use closed variable.
3121         (getInetAddress): No need to call isConnected().
3122         (getPort): No need to call isConnected().
3123         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3124         (isClosed): Reimplemented.
3125         
3126 2003-03-02  Michael Koch  <konqueror@gmx.de>
3127
3128         * configure.in: Added check for memory mapping of files.
3129         * configure: Regenerated.
3130         * config.h.in: Regenerated.
3131
3132 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3133
3134         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3135         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3136
3137 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3138
3139         * java/io/File.java (normalizePath): Remove trailing separator
3140         on Windows only if path is not of the form "x:\".
3141
3142         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3143         (java::io::File::attr): Change formatting a bit and use
3144         WIN32_EPOCH_MILLIS instead of magic numbers.
3145         (java::io::File::isAbsolute): Path must have at least 3 
3146         characters for a UNC network path.
3147         (java::io::File::init_native): Define.
3148         (java::io::File::performCreate): Likewise.
3149         (java::io::File::performSetReadOnly): Likewise.
3150         (java::io::File::performSetLastModified): Likewise.
3151         (java::io::File::performListRoots): Likewise.
3152
3153 2003-03-01  Tom Tromey  <tromey@redhat.com>
3154
3155         * java/lang/natObject.cc: Don't include assert.h.
3156         (heavy_lock_obj_finalization_proc): Use JvAssert.
3157         (remove_all_heavy): Likewise.
3158         (_Jv_MonitorEnter): Likewise.
3159         (_Jv_MonitorExit): Likewise.
3160         (wait): Likewise.
3161
3162 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3163
3164         * java/io/File (getAbsolutePath): Prefix drive specifier on
3165         Windows for paths starting with a '\'.
3166         (toURL): Make URL more consistent with what Sun's JDK returns.
3167
3168         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3169         true only if the path is a UNC network path or it starts with a
3170         drive specifier.
3171
3172         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3173         Be prepared to handle either '/' or '\\' in the file path for
3174         Windows if using the "file" protocol.
3175         Canonicalise the file path if using a relative path in the given
3176         context and the "file" protocol.
3177
3178 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3179
3180         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3181         program array element passed to CreateProcess.
3182
3183 2003-03-01  Tom Tromey  <tromey@redhat.com>
3184
3185         * java/rmi/registry/RegistryHandler.java: Deprecate.
3186
3187 2003-03-01  Tom Tromey  <tromey@redhat.com>
3188
3189         * javax/accessibility/AccessibleEditableText.java,
3190         javax/accessibility/AccessibleHyperlink.java: New versions from
3191         Classpath.
3192
3193         * gnu/java/locale/LocaleInformation_af_ZA.java,
3194         gnu/java/locale/LocaleInformation_ar_AE.java,
3195         gnu/java/locale/LocaleInformation_ar_BH.java,
3196         gnu/java/locale/LocaleInformation_ar_DZ.java,
3197         gnu/java/locale/LocaleInformation_ar_EG.java,
3198         gnu/java/locale/LocaleInformation_ar_IN.java,
3199         gnu/java/locale/LocaleInformation_ar_IQ.java,
3200         gnu/java/locale/LocaleInformation_ar_JO.java,
3201         gnu/java/locale/LocaleInformation_ar_KW.java,
3202         gnu/java/locale/LocaleInformation_ar_LB.java,
3203         gnu/java/locale/LocaleInformation_ar_LY.java,
3204         gnu/java/locale/LocaleInformation_ar_MA.java,
3205         gnu/java/locale/LocaleInformation_ar_OM.java,
3206         gnu/java/locale/LocaleInformation_ar_QA.java,
3207         gnu/java/locale/LocaleInformation_ar_SD.java,
3208         gnu/java/locale/LocaleInformation_ar_SY.java,
3209         gnu/java/locale/LocaleInformation_ar_TN.java,
3210         gnu/java/locale/LocaleInformation_ar_YE.java,
3211         gnu/java/locale/LocaleInformation_be_BY.java,
3212         gnu/java/locale/LocaleInformation_bn_IN.java,
3213         gnu/java/locale/LocaleInformation_br_FR.java,
3214         gnu/java/locale/LocaleInformation_bs_BA.java,
3215         gnu/java/locale/LocaleInformation_ca_ES.java,
3216         gnu/java/locale/LocaleInformation_cs_CZ.java,
3217         gnu/java/locale/LocaleInformation_cy_GB.java,
3218         gnu/java/locale/LocaleInformation_da_DK.java,
3219         gnu/java/locale/LocaleInformation_de_AT.java,
3220         gnu/java/locale/LocaleInformation_de_BE.java,
3221         gnu/java/locale/LocaleInformation_de_CH.java,
3222         gnu/java/locale/LocaleInformation_de_DE.java,
3223         gnu/java/locale/LocaleInformation_de_LU.java,
3224         gnu/java/locale/LocaleInformation_el_GR.java,
3225         gnu/java/locale/LocaleInformation_en_AU.java,
3226         gnu/java/locale/LocaleInformation_en_BW.java,
3227         gnu/java/locale/LocaleInformation_en_CA.java,
3228         gnu/java/locale/LocaleInformation_en_DK.java,
3229         gnu/java/locale/LocaleInformation_en_GB.java,
3230         gnu/java/locale/LocaleInformation_en_HK.java,
3231         gnu/java/locale/LocaleInformation_en_IE.java,
3232         gnu/java/locale/LocaleInformation_en_IN.java,
3233         gnu/java/locale/LocaleInformation_en_NZ.java,
3234         gnu/java/locale/LocaleInformation_en_PH.java,
3235         gnu/java/locale/LocaleInformation_en_SG.java,
3236         gnu/java/locale/LocaleInformation_en_US.java,
3237         gnu/java/locale/LocaleInformation_en_ZA.java,
3238         gnu/java/locale/LocaleInformation_en_ZW.java,
3239         gnu/java/locale/LocaleInformation_es_AR.java,
3240         gnu/java/locale/LocaleInformation_es_BO.java,
3241         gnu/java/locale/LocaleInformation_es_CL.java,
3242         gnu/java/locale/LocaleInformation_es_CO.java,
3243         gnu/java/locale/LocaleInformation_es_CR.java,
3244         gnu/java/locale/LocaleInformation_es_DO.java,
3245         gnu/java/locale/LocaleInformation_es_EC.java,
3246         gnu/java/locale/LocaleInformation_es_ES.java,
3247         gnu/java/locale/LocaleInformation_es_GT.java,
3248         gnu/java/locale/LocaleInformation_es_HN.java,
3249         gnu/java/locale/LocaleInformation_es_MX.java,
3250         gnu/java/locale/LocaleInformation_es_NI.java,
3251         gnu/java/locale/LocaleInformation_es_PA.java,
3252         gnu/java/locale/LocaleInformation_es_PE.java,
3253         gnu/java/locale/LocaleInformation_es_PR.java,
3254         gnu/java/locale/LocaleInformation_es_PY.java,
3255         gnu/java/locale/LocaleInformation_es_SV.java,
3256         gnu/java/locale/LocaleInformation_es_US.java,
3257         gnu/java/locale/LocaleInformation_es_UY.java,
3258         gnu/java/locale/LocaleInformation_es_VE.java,
3259         gnu/java/locale/LocaleInformation_et_EE.java,
3260         gnu/java/locale/LocaleInformation_eu_ES.java,
3261         gnu/java/locale/LocaleInformation_fa_IR.java,
3262         gnu/java/locale/LocaleInformation_fi_FI.java,
3263         gnu/java/locale/LocaleInformation_fo_FO.java,
3264         gnu/java/locale/LocaleInformation_fr_BE.java,
3265         gnu/java/locale/LocaleInformation_fr_CA.java,
3266         gnu/java/locale/LocaleInformation_fr_CH.java,
3267         gnu/java/locale/LocaleInformation_fr_FR.java,
3268         gnu/java/locale/LocaleInformation_fr_LU.java,
3269         gnu/java/locale/LocaleInformation_ga_IE.java,
3270         gnu/java/locale/LocaleInformation_gd_GB.java,
3271         gnu/java/locale/LocaleInformation_gl_ES.java,
3272         gnu/java/locale/LocaleInformation_gv_GB.java,
3273         gnu/java/locale/LocaleInformation_he_IL.java,
3274         gnu/java/locale/LocaleInformation_hi_IN.java,
3275         gnu/java/locale/LocaleInformation_hr_HR.java,
3276         gnu/java/locale/LocaleInformation_hu_HU.java,
3277         gnu/java/locale/LocaleInformation_id_ID.java,
3278         gnu/java/locale/LocaleInformation_it_CH.java,
3279         gnu/java/locale/LocaleInformation_it_IT.java,
3280         gnu/java/locale/LocaleInformation_iw_IL.java,
3281         gnu/java/locale/LocaleInformation_ja_JP.java,
3282         gnu/java/locale/LocaleInformation_ka_GE.java,
3283         gnu/java/locale/LocaleInformation_kl_GL.java,
3284         gnu/java/locale/LocaleInformation_ko_KR.java,
3285         gnu/java/locale/LocaleInformation_kw_GB.java,
3286         gnu/java/locale/LocaleInformation_lt_LT.java,
3287         gnu/java/locale/LocaleInformation_lv_LV.java,
3288         gnu/java/locale/LocaleInformation_mi_NZ.java,
3289         gnu/java/locale/LocaleInformation_mk_MK.java,
3290         gnu/java/locale/LocaleInformation_mr_IN.java,
3291         gnu/java/locale/LocaleInformation_mt_MT.java,
3292         gnu/java/locale/LocaleInformation_nl_BE.java,
3293         gnu/java/locale/LocaleInformation_nl_NL.java,
3294         gnu/java/locale/LocaleInformation_nn_NO.java,
3295         gnu/java/locale/LocaleInformation_no_NO.java,
3296         gnu/java/locale/LocaleInformation_oc_FR.java,
3297         gnu/java/locale/LocaleInformation_pl_PL.java,
3298         gnu/java/locale/LocaleInformation_pt_BR.java,
3299         gnu/java/locale/LocaleInformation_pt_PT.java,
3300         gnu/java/locale/LocaleInformation_ro_RO.java,
3301         gnu/java/locale/LocaleInformation_ru_RU.java,
3302         gnu/java/locale/LocaleInformation_ru_UA.java,
3303         gnu/java/locale/LocaleInformation_se_NO.java,
3304         gnu/java/locale/LocaleInformation_sk_SK.java,
3305         gnu/java/locale/LocaleInformation_sl_SI.java,
3306         gnu/java/locale/LocaleInformation_sq_AL.java,
3307         gnu/java/locale/LocaleInformation_sr_YU.java,
3308         gnu/java/locale/LocaleInformation_sv_FI.java,
3309         gnu/java/locale/LocaleInformation_sv_SE.java,
3310         gnu/java/locale/LocaleInformation_ta_IN.java,
3311         gnu/java/locale/LocaleInformation_te_IN.java,
3312         gnu/java/locale/LocaleInformation_tg_TJ.java,
3313         gnu/java/locale/LocaleInformation_tl_PH.java,
3314         gnu/java/locale/LocaleInformation_tr_TR.java,
3315         gnu/java/locale/LocaleInformation_uk_UA.java,
3316         gnu/java/locale/LocaleInformation_ur_PK.java,
3317         gnu/java/locale/LocaleInformation_uz_UZ.java,
3318         gnu/java/locale/LocaleInformation_vi_VN.java,
3319         gnu/java/locale/LocaleInformation_yi_US.java,
3320         gnu/java/locale/LocaleInformation_zh_CN.java,
3321         gnu/java/locale/LocaleInformation_zh_HK.java,
3322         gnu/java/locale/LocaleInformation_zh_SG.java,
3323         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3324         info; from Classpath.
3325
3326         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3327         isPaintPending): New methods.
3328         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3329         setMaximizedBounds): New methods.
3330         (beginLayout, endLayout, isPaintPending): Likewise.
3331         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3332         (requestFocus): Likewise.
3333         (isObscured): Likewise.
3334         (canDetermineObscurity): Likewise.
3335         (coalescePaintEvent): Likewise.
3336         (updateCursorImmediately): Likewise.
3337         (createVolatileImage): Likewise.
3338         (handlesWheelScrolling): Likewise.
3339         (createBuffers): Likewise.
3340         (getBackBuffer): Likewise.
3341         (flip): Likewise.
3342         (destroyBuffers): Likewise.
3343
3344         * Makefile.in: Rebuilt.
3345         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3346         RobotPeer.java.
3347         * gnu/java/awt/GLightweightPeer.java,
3348         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3349         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3350         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3351         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3352         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3353         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3354         java/awt/dnd/peer/DragSourceContextPeer.java,
3355         java/awt/dnd/peer/DropTargetContextPeer.java,
3356         java/awt/peer/ButtonPeer.java,
3357         java/awt/peer/CheckboxMenuItemPeer.java,
3358         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3359         java/awt/peer/ComponentPeer.java,
3360         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3361         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3362         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3363         java/awt/peer/MenuBarPeer.java,
3364         java/awt/peer/MenuComponentPeer.java,
3365         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3366         java/awt/peer/PopupMenuPeer.java,
3367         java/awt/peer/ScrollPanePeer.java,
3368         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3369         java/awt/peer/TextComponentPeer.java,
3370         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3371         New versions from Classpath.
3372         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3373         * java/awt/peer/RobotPeer.java: Likewise.
3374
3375 2003-03-01  Mark Wielaard  <mark@klomp.org>
3376
3377         * java/io/ObjectInputStream.java: Reindent.
3378         * java/io/ObjectOutputStream.java: Likewise.
3379
3380 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3381
3382         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3383         jvalue for each argument. Simplify.
3384         * testsuite/libjava.jni/calls.c (docall),
3385         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3386         misalignment.
3387
3388 2003-02-28  Mark Wielaard  <mark@klomp.org>
3389
3390         * Makefile.am (nat_source_files): Remove
3391         java/io/natObjectOutputStream.cc.
3392         * Makefile.in: Regenerated.
3393         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3394         * java/io/ObjectStreamField.java (typename): New field.
3395         (ObjectStreamField(String, Class)): Initialize new field.
3396         (ObjectStreamField(String, String)): New Constructor.
3397         (getTypeCode): Use new field.
3398         (getTypeString): Use new field.
3399         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3400         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3401         Handle reading of Proxy classes. Never drain(), just write
3402         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3403         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3404         (flush): Call flush(), not just drain().
3405         (writeBoolean): Always use blockDataOutput.
3406         (writeByte): Likewise.
3407         (writeShort): Likewise.
3408         (writeChar): Likewise.
3409         (writeInt): Likewise.
3410         (writeLong): Likewise.
3411         (writeFloat): Likewise.
3412         (writeDouble): Likewise.
3413         (writeBytes): Likewise.
3414         (putfield (put(String,Object))): Throw IllegalArgumentException if
3415         field cannot be found.
3416         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3417         (writeArraySizeAndElements): Write byte[] in one go.
3418         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3419         set BlockDataMode to false.
3420         (annotateProxyClass): New method.
3421         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3422         (getField): No longer native.
3423         (getMethod): Likewise.
3424         (setBlockDataMode): Always drain() on switch, return old mode.
3425         (static): New static code block.
3426         * java/io/natObjectOutputStream.cc: Removed.
3427         * java/io/ObjectInputStream.java (getField): No longer native.
3428         (getMethod): Likewise.
3429         (readObject): Remember and reset old BlockDataMode. Track whether
3430         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3431         TC_LONGSTRING.
3432         (defaultReadObject): Set BlockDataMode to false during readFields.
3433         (resolveClass): Create new SecurityManager if necessary.
3434         Use Class.forName() if null ClassLoader found.
3435         (read(byte[],int,int): Copy remaining bytes to data before calling
3436         readNextBlock().
3437         (readFields): Set and reset BlockDataMode on call_read_method.
3438         Catch NoSuchFieldErrors.
3439         (setBlockDataMode): Return old mode.
3440         (static): New static code block.
3441         * java/io/natObjectInputStream.cc (getField): Removed.
3442         (getMethod): Likewise.
3443
3444 2003-02-27  Michael Koch  <konqueror@gmx.de>
3445
3446         * java/beans/Beans.java,
3447         java/beans/FeatureDescriptor.java
3448         java/beans/PropertyEditorManager.java:
3449         Reformated to GNU style.
3450
3451 2003-02-25  Michael Koch  <konqueror@gmx.de>
3452
3453         * gnu/java/nio/MappedByteFileBuffer.java,
3454         gnu/java/nio/natMappedByteFileBuffer.cc:
3455         New files, both are not compiled yet to get not noncompiling CVS.
3456
3457 2003-02-24  Tom Tromey  <tromey@redhat.com>
3458
3459         * java/util/prefs/AbstractPreferences.java (isUserNode):
3460         Implemented.
3461
3462 2003-02-24  Tom Tromey  <tromey@redhat.com>
3463
3464         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3465         Deprecate.
3466         * java/lang/Thread.java (resume): Deprecate.
3467         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3468         in @deprecated.
3469
3470 2003-02-23  Tom Tromey  <tromey@redhat.com>
3471
3472         * Makefile.in: Rebuilt.
3473         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3474
3475 2003-02-23  Tom Tromey  <tromey@redhat.com>
3476
3477         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3478         libraries): Removed.
3479         (add_library): Removed.
3480         (_load): Don't call add_library.
3481         (loadLibraryInternal): Likewise.
3482         (init): Likewise.
3483         (lookup_data): New struct.
3484         (find_symbol): New function.
3485         (_Jv_FindSymbolInExecutable): Use it.
3486
3487 2002-02-21  Anthony Green  <green@redhat.com>
3488
3489         * java/lang/Thread.java (Thread): New constructor taking stack
3490         size parameter (ignored for now).
3491         * Many methods: Merged GNU Classpath documentation.
3492
3493         * java/lang/Class.java (finalize): throws a Throwable.
3494
3495 2003-02-21  Mark Wielaard  <mark@klomp.org>
3496
3497         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3498         argument is null.
3499
3500 2003-02-21  Mark Wielaard  <mark@klomp.org>
3501
3502         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3503         then 65535 chars throw IllegalArgumentException.
3504
3505 2003-02-21  Mark Wielaard  <mark@klomp.org>
3506
3507         * java/util/zip/ZipFile.java (finalize): New method.
3508
3509 2003-02-21  Michael Koch  <konqueror@gmx.de>
3510
3511         * gnu/java/nio/natSocketChannelImpl.cc:
3512         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3513         <cato@df.lth.se> for pointing to it.
3514
3515 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3516
3517         * java/math/BigInteger.java (euclidInv): Take result array as an
3518         argument.  Updated all callers.
3519         (modInverse): Removed unused variables.
3520
3521 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3522
3523         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3524         config.status.
3525         * configure: Rebuilt.
3526
3527 2003-02-19  Michael Koch  <konqueror@gmx.de>
3528
3529         * gnu/java/nio/natSocketChannelImpl.cc:
3530         Added support for platforms without network support.
3531
3532 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3533
3534         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3535         after config.h.  Use <> for consistency.
3536         * java/lang/natObject.cc: Likewise.
3537         * java/lang/natRuntime.cc: Likewise.
3538         * java/lang/natSystem.cc: Likewise.
3539         * java/util/natTimeZone.cc: Likewise.
3540         * win32.cc: Likewise.
3541         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3542         listen, write, read): Undef to avoid interference from OS macros.
3543
3544 2003-02-19  Michael Koch  <konqueror@gmx.de>
3545
3546         * gnu/java/nio/ByteBufferImpl.java
3547         (ByteBufferImpl): Renamed two variables.
3548         * gnu/java/nio/CharBufferImpl.java
3549         (CharBufferImpl): Renamed two variables.
3550         * gnu/java/nio/DoubleBufferImpl.java
3551         (DoubleBufferImpl): Renamed two variables.
3552         * gnu/java/nio/FloatBufferImpl.java
3553         (FloatBufferImpl): Renamed two variables.
3554         * gnu/java/nio/IntBufferImpl.java
3555         (IntBufferImpl): Renamed two variables.
3556         * gnu/java/nio/LongBufferImpl.java
3557         (LongBufferImpl): Renamed two variables.
3558         * gnu/java/nio/ShortBufferImpl.java
3559         (ShortBufferImpl): Renamed two variables.
3560         * java/nio/CharBuffer.java
3561         (wrap): Fixed arguments to CharBufferImpl constructor.
3562         (hasArray): Only not read-only buffers have backing arrays.
3563         (length): Documentation added.
3564         (subSequence): Documentation added.
3565         * java/nio/DoubleBuffer.java
3566         (hasArray): Only not read-only buffers have backing arrays.
3567         * java/nio/FloatBuffer.java
3568         (hasArray): Only not read-only buffers have backing arrays.
3569         * java/nio/IntBuffer.java
3570         (hasArray): Only not read-only buffers have backing arrays.
3571         * java/nio/LongBuffer.java
3572         (hasArray): Only not read-only buffers have backing arrays.
3573         * java/nio/ShortBuffer.java
3574         (hasArray): Only not read-only buffers have backing arrays.
3575         
3576 2003-02-19  Michael Koch  <konqueror@gmx.de>
3577
3578         * javax/accessibility/AccessibleContext.java
3579         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3580
3581 2003-02-19  Michael Koch  <konqueror@gmx.de>
3582
3583         * java/awt/ScrollPaneAdjustable.java: Reformated.
3584
3585 2003-02-19  Michael Koch <konqueror@gmx.de>
3586
3587         * gnu/awt/j2d/Graphics2DImpl.java
3588         (getFontRenderContext): New method.
3589         (drawGlyphVector): New method.
3590         * java/awt/Graphics2D.java
3591         (getFontRenderContext): New abstract method.
3592         (drawGlyphVector): New abstract method.
3593         
3594 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3595
3596         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3597         if necessary.
3598         
3599         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3600         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3601         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3602         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3603         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3604         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3605         (setFont, gtkSetFont): add.
3606         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3607         Propagate font to peer.  (setFont): add FIXME comment.
3608
3609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3610         (gtkTextGetSize): fix height, width computation.
3611
3612         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3613         Make X font name a bit less bogus.
3614
3615         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3616         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3617
3618         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3619         (processAdjustmentEvent): Adjust value.
3620
3621         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3622         logic errors.
3623
3624         * java/awt/Component.java (setVisible, show, hide): Call show and
3625         hide methods in subclasses.
3626         (getPreferredSize): don't set prefSize before we have peer.
3627
3628         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3629         Guess (0,0) if we don't have peer.
3630
3631
3632 2003-02-18  Michael Koch  <konqueror@gmx.de>
3633
3634         * java/nio/channels/FileChannel.java
3635         (toString): New implementation, added documentation.
3636         (map): Added exception documentation.
3637         (size): Added exception documentation.
3638         (write): New methods, documentation work.
3639         (read): New methods, documentation work.
3640         (implCloseChannel): Rewrote exception documentation.
3641         (force): Throws IOException, added documentation.
3642         (lock): New methods.
3643         (tryLock): New methods.
3644         (position): New methods.
3645         (transferTo): New method.
3646         (transferFrom): New method.
3647         (truncate): New method.
3648         * java/nio/channels/spi/SelectorProvider.java
3649         (provider): Implemented.
3650         * Makefile.am
3651         (ordinary_java_source_files): Added the following files:
3652         gnu/java/nio/DatagramChannelImpl.java
3653         gnu/java/nio/FileChannelImpl.java
3654         gnu/java/nio/PipeImpl.java
3655         gnu/java/nio/SelectionKeyImpl.java
3656         gnu/java/nio/SelectorImpl.java
3657         gnu/java/nio/SelectorProviderImpl.java
3658         gnu/java/nio/ServerSocketChannelImpl.java
3659         gnu/java/nio/SocketChannelImpl.java
3660         java/nio/channels/FileLock.java
3661         (nat_java_source_files): Added the following files:
3662         gnu/java/nio/natFileChannelImpl.cc
3663         gnu/java/nio/natSelectorImpl.cc
3664         gnu/java/nio/natSocketChannelImpl.cc
3665         * Makefile.in: Regenerated.
3666
3667 2003-02-17  Tom Tromey  <tromey@redhat.com>
3668
3669         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3670         * java/awt/image/ImageFilter.java: Likewise.
3671
3672 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3673
3674         * java/math/BigInteger.java (euclidInv): Return array of
3675         `BigInteger's.  Changed all callers.
3676
3677 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3678
3679         * java/util/Properties.java (store): Move the code formerly in
3680         list(), into this method.
3681         (list (PrintStream)): Just call list (PrintWriter) with a 
3682         PrintWriter object constructed from the given PrintStream object.
3683         (list (PrintWriter)): Emulate the output of Properties.list()
3684         as found in JDK 1.3/1.4.
3685
3686 2003-02-17  Michael Koch  <konqueror@gmx.de>
3687
3688         * java/net/DatagramSocket.java
3689         (connect): Merged with classpath.
3690         (disconnect): Merged documentation with classpath.
3691         (receice): Merged documentation with classpath.
3692         (send): Merged documentation with classpath.
3693         
3694 2003-02-17  Michael Koch  <konqueror@gmx.de>
3695
3696         * java/awt/dnd/DragSourceContext.java
3697         (addDragSourceListener): Added documentation.
3698         * java/awt/dnd/DragSourceDragEvent.java
3699         (serialVersionUID): New member variable.
3700         (getDropAction): Reformated.
3701         * java/awt/dnd/DragSourceDropEvent.java
3702         (serialVersionUID): New member variable.
3703         (dropSuccess): Renamed from success for serialization issues.
3704         * java/awt/dnd/DragSourceEvent.java
3705         (serialVersionUID): New member variable.
3706         * java/awt/dnd/DropTarget.java
3707         (serialVersionUID): New member variable.
3708         (DropTarget): Implemented, documentation reworked.
3709         (setComponent): Documentation added.
3710         (getComponent): Documentation added.
3711         (setDefaultActions): Documentation added.
3712         (getDefaultActions): Documentation added.
3713         (addDropTargetListener): Documentation added.
3714         * java/awt/dnd/DropTargetContext.java
3715         (DropTargetContext): Documentation added.
3716         (TransferableProxy.TransferableProxy): New method.
3717         (dropComplete): Fixed documentation.
3718         (getTransferable): Fixed documentation.
3719         (createTransferableProxy): Implemented.
3720         * java/awt/dnd/DropTargetDragEvent.java
3721         (DropTargetDragEvent): Documentation added.
3722         (serialVersionUID): New member variable.
3723         (DropTargetDragEvent): Throw exceptions, documentation added.
3724         (acceptDrag): Implemented.
3725         (getCurrentDataFlavors): Implemented.3yy
3726         (getCurrentDataFlavorsAsList): Implemented.
3727         (isDataFlavorSupported): Implemented.
3728         (rejectDrag): Implemented.
3729         * java/awt/dnd/DropTargetDropEvent.java
3730         (DropTargetDropEvent): Documentation added.
3731         (serialVersionUID): New member variable.
3732         (actions): Renamed from srcActions for serialization issues.
3733         (isLocalTx): Renamed from isLocalTx for serialization issues.
3734         (DropTargetDropEvent): New implementation, throw exceptions,
3735         documentation added.
3736         (getCurrentDataFlavors): Implemented.
3737         (getCurrentDataFlavorsAsList): Implemented.
3738         (isDataFlavorSupported): Implemented.
3739         (getSourceActions): Implemented.
3740         (getDropAction): Implemented.
3741         (getTransferable): Implemented.
3742         (acceptDrop): Implemented.
3743         (rejectDrop): Implemented.
3744         * java/awt/dnd/DropTargetListener.java
3745         (drop): Fixed documentation.
3746         * java/awt/dnd/MouseDragGestureRecognizer.java
3747         (MouseDragGestureRecognizer): Documentation added.
3748
3749 2003-02-17  Michael Koch  <konqueror@gmx.de>
3750
3751         * java/awt/font/FontRenderContext.java,
3752         java/awt/font/ShapeGraphicAttribute.java,
3753         java/awt/font/MultipleMaster.java,
3754         java/awt/font/TransformAttribute.java,
3755         java/awt/font/GlyphJustificationInfo.java,
3756         java/awt/font/LineBreakMeasurer.java,
3757         java/awt/font/TextMeasurer.java,
3758         java/awt/font/TextLayout.java,
3759         java/awt/font/LineMetrics.java,
3760         java/awt/font/TextAttribute.java,
3761         java/awt/font/GlyphMetrics.java,
3762         java/awt/font/OpenType.java,
3763         java/awt/font/GlyphVector.java,
3764         java/awt/font/GraphicAttribute.java,
3765         java/awt/font/ImageGraphicAttribute.java,
3766         java/awt/font/NumericShaper.java: New files.
3767         * Makefile.am
3768         (awt_java_source_files): Added the following files:
3769         java/awt/font/FontRenderContext.java
3770         java/awt/font/ShapeGraphicAttribute.java
3771         java/awt/font/MultipleMaster.java
3772         java/awt/font/TransformAttribute.java
3773         java/awt/font/GlyphJustificationInfo.java
3774         java/awt/font/LineBreakMeasurer.java
3775         java/awt/font/TextMeasurer.java
3776         java/awt/font/TextLayout.java
3777         java/awt/font/LineMetrics.java
3778         java/awt/font/TextAttribute.java
3779         java/awt/font/GlyphMetrics.java
3780         java/awt/font/OpenType.java
3781         java/awt/font/GlyphVector.java
3782         java/awt/font/GraphicAttribute.java
3783         java/awt/font/ImageGraphicAttribute.java
3784         java/awt/font/NumericShaper.java
3785         * Makefile.in: Regenerated.
3786
3787 2003-02-17  Michael Koch  <konqueror@gmx.de>
3788
3789         * java/awt/print/Paper.java
3790         (Paper): Implements Cloneable.
3791         * java/awt/print/PrinterJob.java
3792         (setJobName): Return value must be void.
3793         (print): Throws PrinterException.
3794         
3795 2003-02-16  Tom Tromey  <tromey@redhat.com>
3796
3797         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3798         variable.
3799
3800 2003-02-15  Michael Koch  <konqueror@gmx.de>
3801
3802         * java/awt/datatransfer/DataFlavor.java
3803         (isRepresentationClassByteBuffer): Removed try-catch block.
3804         (isRepresentationClassCharBuffer): Removed try-catch block.
3805         (isRepresentationClassReader): Removed try-catch block.
3806
3807 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3808
3809         * java/nio/charset/Charset.java
3810         (isRegistered): Fixed method args and implementation.
3811         * java/nio/charset/CharsetEncoder.java
3812         (unmappableCharacterAction): New method.
3813
3814 2003-02-15  Michael Koch  <konqueror@gmx.de>
3815
3816         * java/awt/CheckboxMenuItem.java
3817         (CheckBoxMenuItem): Dont implement Serializable.
3818         (getListeners): New method,
3819         (getItemListeners): New method.
3820         * java/awt/Choice.java
3821         (getListeners): New method,
3822         (getItemListeners): New method.
3823         * java/awt/Container.java
3824         (getListeners): Added exception documentation.
3825         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3826         (getFocusTraversalKeys): Added documentation.
3827         (areFocusTraversalKeysSet): Added documentation.
3828         (applyComponentOrientation): Added documentation.
3829         * java/awt/ContainerOrderFocusTraversalPolicy.java
3830         (implicitDownCycleTraversal): Renamed from downCycle for
3831         serialization.
3832         (ContainerOrderFocusTraversalPolicy): Added documentation.
3833         (accept): Reformated.
3834         * java/awt/Dialog.java
3835         (Dialog): Dont implement Serializable.
3836         (Dialog): Added documentation.
3837         * java/awt/Font.java
3838         (Font): Dont use absolute class name.
3839         * java/awt/Frame.java
3840         (Frame): Font implement Serializable.
3841         * java/awt/List.java
3842         (getListeners): New method,
3843         (getActionListeners): New method.       
3844         (getItemListeners): New method.
3845         * java/awt/Menu.java
3846         (countItems): New deprecated method.
3847         * java/awt/Scrollbar.java
3848         (getListeners): New method,
3849         (getAdjustmentListeners): New method,
3850         * java/awt/TextComponent.java
3851         (getListeners): New method,
3852         (getTextListeners): New method,
3853         * java/awt/TextField.java
3854         (getListeners): New method,
3855         (getActionListeners): New method.       
3856         * java/awt/Window.java
3857         (windowFocusListener): New member variable.
3858         (windowStateListener): New member variable.
3859         (getWindowFocusListeners): New method.
3860         (getWindowStateListeners): New method.
3861         (addWindowFocusListener): New method.
3862         (addWindowStateListener): New method.
3863         (removeWindowFocusListener): New method.
3864         (removeWindowStateListener): New method.
3865         * java/awt/datatransfer/DataFlavor.java
3866         (isRepresentationClassByteBuffer): New method.
3867         (isRepresentationClassCharBuffer): New method.
3868         (isRepresentationClassReader): New method.
3869
3870 2003-02-14  Mark Wielaard  <mark@klomp.org>
3871
3872         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3873         zero when there is an exponent and the significant is zero.
3874         (divide): Always set scale to newScale even in special ZERO case.
3875
3876 2003-02-14  Tom Tromey  <tromey@redhat.com>
3877
3878         * java/lang/System.java (properties): Use Properties.clone.
3879         (setProperties): Likewise.
3880
3881 2003-02-14  Michael Koch  <konqueror@gmx.de>
3882
3883         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3884         * gnu/java/nio/ServerSocketChannelImpl.java
3885         (SocketAccept): Removed.
3886         (accept): Commented out use of SocketAccept.
3887
3888 2003-02-13  Tom Tromey  <tromey@redhat.com>
3889
3890         * verify.cc (state::seen_subrs): New field.
3891         (state::state): Initialize it.
3892         (state::clean_subrs): New method.
3893         (state::~state): Call it.
3894         (state::copy): Copy subroutine list.
3895         (state::add_subr): New method.
3896         (state::merge): Only register a change if the current subroutine
3897         hasn't yet been noted.
3898
3899 2003-02-13  Mark Wielaard  <mark@klomp.org>
3900
3901         * java/io/InputStreamReader.java (getEncoding): Return null when
3902         closed.
3903         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3904
3905 2003-02-13  Mark Wielaard  <mark@klomp.org>
3906  
3907         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3908         is zero.
3909
3910 2003-02-13  Mark Wielaard  <mark@klomp.org>
3911
3912         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3913         next byte cannot be buffered.
3914
3915 2003-02-13  Michael Koch  <konqueror@gmx.de>
3916  
3917         * java/awt/Label.java
3918         (Label): Don't implement Serializable directly.
3919         (addNotify): Fixed typo in documentation.
3920         * java/awt/List.java
3921         (List): Don't implement Serializable directly.
3922         * java/awt/PopupMenu.java
3923         (PopupMenu): Don't implement Serializable directly.
3924         * java/awt/ScrollPane.java
3925         (ScrollPane): Don't implement Serializable directly.
3926         * java/awt/Scrollbar.java
3927         (Scrollbar): Don't implement Serializable directly.
3928         * java/awt/TextArea.java
3929         (preferredSize): Fixed method arguments.
3930         * java/awt/TextField.java
3931         (TextField): Don't implement Serializable directly.
3932         * java/awt/color/ICC_ColorSpace.java
3933         (fromCIOXYZ): Documentation added.
3934         (getMinValue): Documentation added.
3935         (getMaxValue): Documentation added.
3936         * java/awt/datatransfer/DataFlavor.java
3937         (isMimeTypeEqual): May not be final.
3938         (clone): Throws CloneNotSupportedException.
3939         (getReaderForText): Don't throws UnsupportedEncodingException.
3940
3941 2003-02-13  Michael Koch  <konqueror@gmx.de>
3942  
3943         * gnu/java/awt/peer/gtk/GdkGraphics.java
3944         (drawString): New stubbed method.
3945         * java/awt/Graphics.java
3946         (drawString): New method.
3947
3948 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3949
3950         PR libgcj/9271:
3951         * java/security/SecureRandom.java (next): Avoid bias in results.
3952
3953 2003-02-13  Michael  <konqueror@gmx.de>
3954
3955         * gnu/java/nio/FileChannelImpl.java
3956         (lengthInternal): Must be native.
3957         (size): Check if channel is already closed.
3958         (implCloseChannel): Reformated.
3959         (read): w was unused, removed it.
3960         (read): Removed.
3961         (read): New method.
3962         (write): New method.
3963         (map): Check arguments.
3964         (force): Throws IOException, check if channel is closed.
3965         (transferTo): New method.
3966         (transferFrom): New method.
3967         (lock): New method.
3968         (tryLock): New method.
3969         (position): New method.
3970         (truncate): New method.
3971         (nio_mmap_file): Uncommented.
3972         (nio_munmap_file): Uncommented.
3973         (nio_msync): Uncommented.
3974         * gnu/java/nio/natFileChannelImpl.cc: New file.
3975         
3976 2003-02-13  Michael Koch  <konqueror@gmx.de>
3977
3978         * java/nio/ByteBuffer.java
3979         (endian): New member variable.
3980         (get): New methods.
3981         (equals): New method.
3982         (compareTo): New method.
3983         (order): New methods.
3984         (compact): New method.
3985         (isDirect): New method.
3986         (slice): New method.
3987         (duplicate): New method.
3988         (asReadOnlyBuffer): New method.
3989         (asCharBuffer): New method.
3990         (asDoubleBuffer): New method.
3991         (asFloatBuffer): New method.
3992         (asIntBuffer): New method.
3993         (asLongBuffer): New method.
3994         (asShortBuffer): New method.
3995         (get*): New methods.
3996         (put*): New methods.
3997         (toString): New method.
3998         * java/nio/CharBuffer.java
3999         (CharBuffer): Implement Comparable instead of Cloneable.
4000         (get): May not be final.
4001         (put): May not be final.
4002         
4003 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4004
4005         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4006         lastIndexOf( ) instead of indexOf( ) to find the colon before
4007         the line number, because Win32 file names might contain a 
4008         drive letter and a colon at the start of an absolute path.
4009
4010 2003-02-13  Michael Koch  <konqueror@gmx.de>
4011
4012         * gnu/java/nio/natSocketChannelImpl.cc
4013         (SocketConnect): This is not implemented yet.
4014         (SocketBind): This is not implemented yet.
4015
4016 2003-02-13  Michael Koch  <konqueror@gmx.de>
4017
4018         * gnu/java/nio/natByteBufferImpl.cc,
4019         gnu/java/nio/natCharBufferImpl.cc,
4020         gnu/java/nio/natDoubleBufferImpl.cc,
4021         gnu/java/nio/natFloatBufferImpl.cc,
4022         gnu/java/nio/natIntBufferImpl.cc,
4023         gnu/java/nio/natLongBufferImpl.cc,
4024         gnu/java/nio/natShortBufferImpl.cc:
4025         Added copyright and license.
4026         * java/nio/DoubleBuffer.java,
4027         java/nio/FloatBuffer.java,
4028         java/nio/IntBuffer.java,
4029         java/nio/LongBuffer.java,
4030         java/nio/ShortBuffer.java
4031         (array): Throw exceptions.
4032         (arrayOffset): Throw exceptions.
4033
4034 2003-02-13  Michael Koch  <konqueror@gmx.de>
4035  
4036         * gnu/java/util/prefs/FileBasedFactory.java,
4037         gnu/java/util/prefs/MemmoryBasedFactory.java,
4038         gnu/java/util/prefs/MemoryBasedPreferences.java,
4039         gnu/java/util/prefs/NodeReader.java,
4040         gnu/java/util/prefs/NodeWriter.java,
4041         java/util/prefs/AbstractPreferences.java,
4042         java/util/prefs/BackingStoreException.java,
4043         java/util/prefs/InvalidPreferencesFormatException.java,
4044         java/util/prefs/NodeChangeEvent.java,
4045         java/util/prefs/NodeChangeListener.java,
4046         java/util/prefs/PreferenceChangeEvent.java,
4047         java/util/prefs/PreferenceChangeListener.java,
4048         java/util/prefs/Preferences.java,
4049         java/util/prefs/PreferencesFactory.java:
4050         New files, all merged from classpath.
4051         * Makefile.am
4052         (ordinary_java_source_files): Added the following files:
4053         gnu/java/util/prefs/FileBasedFactory.java,
4054         gnu/java/util/prefs/MemmoryBasedFactory.java,
4055         gnu/java/util/prefs/MemoryBasedPreferences.java,
4056         gnu/java/util/prefs/NodeReader.java,
4057         gnu/java/util/prefs/NodeWriter.java,
4058         (core_java_source_files): Added the following files:
4059         java/util/prefs/AbstractPreferences.java,
4060         java/util/prefs/BackingStoreException.java,
4061         java/util/prefs/InvalidPreferencesFormatException.java,
4062         java/util/prefs/NodeChangeEvent.java,
4063         java/util/prefs/NodeChangeListener.java,
4064         java/util/prefs/PreferenceChangeEvent.java,
4065         java/util/prefs/PreferenceChangeListener.java,
4066         java/util/prefs/Preferences.java,
4067         java/util/prefs/PreferencesFactory.java
4068         * Makefile.in: Regenerated.
4069  
4070 2003-02-13  Michael Koch  <konqueror@gmx.de>
4071
4072         * java/net/NetPermission.java
4073         (NetPermission): Make doucmentation match the method declaration.
4074         * java/net/NetworkInterface.java
4075         (equals): Reformated for GNU coding style.
4076         * java/net/ServerSocket.java: Merged with classpath.
4077         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4078         * java/net/SocketImpl.java
4079         (localPort): Merged with classpath (initialize with -1).
4080         * java/net/SocketPermission.java: Merged with classpath (reindented).
4081         * java/net/URLDecoder.java: Merged with classpath (reindented).
4082
4083 2003-02-13  Michael Koch  <konqueror@gmx.de>
4084
4085         * java/awt/GridBagConstraints.java
4086         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4087         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4088         * java/awt/KeyboardFocusManager.java
4089         (setGlobalCurrentFocusCycleRoot): Must be public.
4090         * java/awt/MenuComponent.java
4091         (MenuComponent): Must be public.
4092         * java/awt/Toolkit.java:
4093         Added some empty lines to make documentation more readable.
4094         (getFontPeer): Added @deprecated.
4095         (getColorModel): Added exception documentation.
4096         (getProperty): Fixed documentation.
4097  
4098 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4099
4100         * configure.host (alpha*-*): Default to -mieee.
4101         * configure.in (IEEESPEC): New.
4102         * libgcj.spec.in (jc1): Add IEEESPEC.
4103         * configure: Rebuild.
4104
4105 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4106
4107         * include/win32.h: Include ws2tcpip.h instead of
4108         winsock.h to obtain definition of the socklen_t type.
4109         Remove IP_TOS definition - not needed with ws2tcpip.h
4110         (_Jv_connect): Correct slight formatting error.
4111
4112 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4113
4114         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4115         size of the arguments for a JNI function. For Win32,
4116         modify to search for all forms of possible exported
4117         names of an stdcall JNI function.
4118         (_Jv_JNIMethod::call): Modify to calculate the size
4119         of the arguments passed to a JNI function and pass
4120         it to _Jv_LookupJNIMethod.
4121
4122 2003-02-12  Michael Koch  <konqueror@gmx.de>
4123
4124         * java/nio/channels/Channels.java: New file.
4125         * Makefile.am
4126         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4127         * Makefile.in: Regenerated.
4128
4129 2003-02-12  Michael Koch  <konqueror@gmx.de>
4130
4131         * java/nio/ByteBuffer.java
4132         (allocate): Implemented.
4133         (wrap): Implemented.
4134         * java/nio/CharBuffer.java:
4135         Some documentation added and reworked.
4136         (endian): Removed.
4137         (allocate): Implemented.
4138         (wrap): Implemented.
4139         (array): Throw exceptions.
4140         (arrayOffset): Throw exceptions.
4141         (toString): Implemented.
4142         (length): Implemented.
4143         (put): Implemented.
4144         (charAt): Implemented.
4145
4146 2003-02-11  John Leuner  <jewel@debian.org>
4147
4148         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4149         reads from end of file.
4150
4151 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4152
4153         * java/io/natFileDescriptorWin32.cc 
4154         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4155         returns with Win32 error code ERROR_BROKEN_PIPE.
4156
4157 2003-02-11  Michael Koch  <konqueror@gmx.de>
4158
4159         * Makefile.in
4160         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4161
4162 2003-02-11  Michael Koch  <konqueror@gmx.de>
4163
4164         * gnu/java/nio/ByteBufferImpl.java:
4165         Reformated and removed some code.
4166         (backing_buffer): Removed.      
4167         (array_offset): Removed.
4168         (ro): Renamed to readOnly.
4169         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4170         * gnu/java/nio/CharBufferImpl.java:
4171         Reformated and removed some code.
4172         (array_offset): Removed.
4173         (ro): Renamed to readOnly.
4174         (CharBufferImpl): Use parent constructor, initialize readOnly.
4175         (inc_pos): Removed.
4176         (order): New method.
4177         * gnu/java/nio/DoubleBufferImpl.java:
4178         Reformated and removed some code.
4179         (array_offset): Removed.
4180         (ro): Renamed to readOnly.
4181         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4182         (inc_pos): Removed.
4183         (order): New method.
4184         * gnu/java/nio/FloatBufferImpl.java:
4185         Reformated and removed some code.
4186         (array_offset): Removed.
4187         (ro): Renamed to readOnly.
4188         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4189         (inc_pos): Removed.
4190         (order): New method.
4191         * gnu/java/nio/IntBufferImpl.java:
4192         Reformated and removed some code.
4193         (array_offset): Removed.
4194         (ro): Renamed to readOnly.
4195         (IntBufferImpl): Use parent constructor, initialize readOnly.
4196         (inc_pos): Removed.
4197         (order): New method.
4198         * gnu/java/nio/LongBufferImpl.java:
4199         Reformated and removed some code.
4200         (array_offset): Removed.
4201         (ro): Renamed to readOnly.
4202         (LongBufferImpl): Use parent constructor, initialize readOnly.
4203         (inc_pos): Removed.
4204         (order): New method.
4205         * gnu/java/nio/ShortBufferImpl.java:
4206         Reformated and removed some code.
4207         (array_offset): Removed.
4208         (ro): Renamed to readOnly.
4209         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4210         (inc_pos): Removed.
4211         (order): New method.
4212         * Makefile.am
4213         (ordinary_java_source_files): Added the following files:
4214         gnu/java/nio/ByteBufferImpl.java
4215         gnu/java/nio/CharBufferImpl.java
4216         gnu/java/nio/DoubleBufferImpl.java
4217         gnu/java/nio/FloatBufferImpl.java
4218         gnu/java/nio/IntBufferImpl.java
4219         gnu/java/nio/LongBufferImpl.java
4220         gnu/java/nio/ShortBufferImpl.java
4221         java/nio/DoubleBuffer.java
4222         java/nio/FloatBuffer.java
4223         java/nio/IntBuffer.java
4224         java/nio/LongBuffer.java
4225         java/nio/ShortBuffer.java
4226         (nat_source_files): Added the following files:
4227         gnu/java/nio/natByteBufferImpl.cc
4228         gnu/java/nio/natCharBufferImpl.cc
4229         gnu/java/nio/natDoubleBufferImpl.cc
4230         gnu/java/nio/natFloatBufferImpl.cc
4231         gnu/java/nio/natIntBufferImpl.cc
4232         gnu/java/nio/natLongBufferImpl.cc
4233         gnu/java/nio/natShortBufferImpl.cc
4234         * Makefile.in: Regenerated.
4235
4236 2003-02-11  Michael Koch  <konqueror@gmx.de>
4237
4238         * gnu/java/nio/natCharBufferImpl.cc
4239         (nio_cast): Removed.
4240         (nio_put_*): Removed.
4241         (nio_get_*): Removed.
4242         * gnu/java/nio/natDoubleBufferImpl.cc
4243         (nio_cast): Removed.
4244         (nio_put_*): Removed.
4245         (nio_get_*): Removed.
4246         * gnu/java/nio/natFloatBufferImpl.cc
4247         (nio_cast): Removed.
4248         (nio_put_*): Removed.
4249         (nio_get_*): Removed.
4250         * gnu/java/nio/natIntBufferImpl.cc
4251         (nio_cast): Removed.
4252         (nio_put_*): Removed.
4253         (nio_get_*): Removed.
4254         * gnu/java/nio/natLongBufferImpl.cc
4255         (nio_cast): Removed.
4256         (nio_put_*): Removed.
4257         (nio_get_*): Removed.
4258         * gnu/java/nio/natShortBufferImpl.cc
4259         (nio_cast): Removed.
4260         (nio_put_*): Removed.
4261         (nio_get_*): Removed.
4262         * gnu/java/nio/SelectorProviderImpl.java
4263         (openDatagramChannel): Throws IOException.
4264         (openPipe): Throws IOException.
4265         (openSelector): Throws IOException.
4266         (openServerSocketChannel): Throws IOException.
4267         (openSocketChannel): Throws IOException.
4268         * gnu/java/nio/ServerSocketChannelImpl.java
4269         (ServerSocketChannelImpl): Throws IOException.
4270         (implCloseSelectableChannel): Throws IOException.
4271         (implConfigureBlocking): Throws IOException.
4272         * java/nio/ByteBuffer.java
4273         (readOnly): Removed.
4274         (hasArray): Use isReadOnly() instead of readOnly.
4275         (array): Use isReadOnly() instead of readOnly.
4276         (arrayOffset): Use isReadOnly() instead of readOnly.
4277         * java/nio/CharBuffer.java
4278         (CharBuffer): Implements Cloneable and CharSequence.
4279
4280 2003-02-11  Michael Koch  <konqueror@gmx.de>
4281
4282         * java/nio/DoubleBuffer.java
4283         (DoubleBuffer): Implements Comparable.
4284         (endian): Removed.
4285         (array_offset): New member variable.
4286         (DoubleBuffer): New constuctor.
4287         (get): May not be final.
4288         (put): May not be final.
4289         (arrayOffset): Implemented.
4290         (order): Made abstract.
4291         (order): Removed.
4292         (as*Buffer): Removed.
4293         (get*): Removed.
4294         (put*): Removed.
4295         * java/nio/FloatBuffer.java
4296         (FloatBuffer): Implements Comparable.
4297         (endian): Removed.
4298         (array_offset): New member variable.
4299         (FloatBuffer): New constuctor.
4300         (get): May not be final.
4301         (put): May not be final.
4302         (arrayOffset): Implemented.
4303         (order): Made abstract.
4304         (order): Removed.
4305         (as*Buffer): Removed.
4306         (get*): Removed.
4307         (put*): Removed.
4308         * java/nio/IntBuffer.java
4309         (IntBuffer): Implements Comparable.
4310         (endian): Removed.
4311         (array_offset): New member variable.
4312         (IntBuffer): New constuctor.
4313         (get): May not be final.
4314         (put): May not be final.
4315         (arrayOffset): Implemented.
4316         (order): Made abstract.
4317         (order): Removed.
4318         (as*Buffer): Removed.
4319         (get*): Removed.
4320         (put*): Removed.
4321         * java/nio/LongBuffer.java
4322         (LongBuffer): Implements Comparable.
4323         (endian): Removed.
4324         (array_offset): New member variable.
4325         (LongBuffer): New constuctor.
4326         (get): May not be final.
4327         (put): May not be final.
4328         (arrayOffset): Implemented.
4329         (order): Made abstract.
4330         (order): Removed.
4331         (as*Buffer): Removed.
4332         (get*): Removed.
4333         (put*): Removed.
4334         * java/nio/ShortBuffer.java
4335         (ShortBuffer): Implements Comparable.
4336         (endian): Removed.
4337         (array_offset): New member variable.
4338         (ShortBuffer): New constuctor.
4339         (get): May not be final.
4340         (put): May not be final.
4341         (arrayOffset): Implemented.
4342         (order): Made abstract.
4343         (order): Removed.
4344         (as*Buffer): Removed.
4345         (get*): Removed.
4346         (put*): Removed.
4347
4348 2003-02-11   Michael Koch  <konqueror@gmx.de>
4349
4350         * java/nio/channels/SelectionKey.java
4351         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4352         values.
4353
4354 2003-02-11  Michael Koch  <konqueror@gmx.de>
4355
4356         * java/nio/channels/DatagramChannel.java
4357         (write): Throws IOException.
4358         (connect): Throws IOException.
4359         (disconnect): Throws IOException.
4360         (read): Throws IOException.
4361         (receive): Throws IOException.
4362         (send): Throws IOException.
4363         * java/nio/channels/Pipe.java
4364         (open): Throws IOException.
4365         * java/nio/channels/SelectableChannel.java
4366         (configureBlocking): Throws IOException.
4367         * java/nio/channels/ServerSocketChannel.java
4368         (accept): Throws IOException.
4369         * java/nio/channels/SocketChannel.java
4370         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4371         GatheringByteChannel.
4372         (read): Throws IOException.
4373         (write): Throws IOException.
4374         (finishConnect): Throws IOException.
4375         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4376         (end): Throws AsynchronousCloseException.
4377         * java/nio/channels/spi/AbstractSelectableChannel.java
4378         (configureBlocking): Throws IOException.
4379         (implCloseChannel): Throws IOException.
4380         (implCloseSelectableChannel): Throws IOException.
4381         (implConfigureBlocking): Throws IOException.
4382         * java/nio/channels/spi/SelectorProvider.java
4383         (openDatagramChannel): Throws IOException.
4384         (openPipe): Throws IOException.
4385         (openSelector): Throws IOException.
4386         (openServerSocketChannel): Throws IOException.
4387         (openSocketChannel): Throws IOException.
4388
4389 2003-02-11  Michael Koch  <konqueror@gmx.de>
4390
4391         * gnu/java/nio/FileLockImpl.java,
4392         java/nio/channels/FileLock.java: New files.
4393
4394 2003-02-11  Michael Koch  <konqueror@gmx.de>
4395
4396         * java/nio/charset/IllegalCharsetNameException.java
4397         (serialVersionUID): New member variable.
4398         (charsetName): New member variable.
4399         (IllegalCharsetException): New implementation.
4400         (getCharsetName): New implementation.
4401         * java/nio/charset/UnsupportedCharsetException.java
4402         (serialVersionUID): New member variable.
4403         (charsetName): New member variable.
4404         (UnsupportedCharsetException): New implementation.
4405         (getCharsetName): New implementation.
4406
4407 2003-02-10  Tom Tromey  <tromey@redhat.com>
4408
4409         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4410         (ex): Renamed from sqlException.
4411
4412 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4413
4414         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4415         method used to ensure seeding has occurred and that a specific 
4416         seed can be set and used.
4417
4418 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4419
4420         * java/lang/Win32Process.java (destroy): Declare as native.
4421         (hasExited): New native method.
4422         (exitValue): Define.
4423         (getErrorStream): Likewise.
4424         (getInputStream): Likewise.
4425         (getOutputStream): Likewise.
4426         (waitFor): Declare as native.
4427         (startProcess): New native method.
4428         (cleanup): Likewise.
4429         (ConcreteProcess): Define.
4430         (outputStream, inputStream, errorStream): New members.
4431         (procHandle, exitCode): Likewise.
4432
4433         * java/lang/natWin32Process.cc
4434         (java::lang::ConcreteProcess::cleanup): Define.
4435         (java::lang::ConcreteProcess::destroy): Likewise.
4436         (java::lang::ConcreteProcess::hasExited): Likewise.
4437         (java::lang::ConcreteProcess::waitFor): Likewise.
4438         (new_string): Likewise.
4439         (java::lang::ConcreteProcess::startProcess): Likewise.
4440
4441 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4442
4443         * java/math/BigInteger.java:
4444         Updated notice to include years 2002 and 3.
4445         Added 2 private (int) arrays with values from the HAC (Handbook of
4446         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4447         and t[] that contains nbr. of tests --used in isProbablePrime().
4448
4449         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4450
4451         * java/math/BigInteger.java (make(int[],int), add(int,int),
4452         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4453         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4454         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4455         make(long).
4456
4457         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4458         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4459         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4460         BIs and returns void.
4461         (modInverse(BI)): Use new signatures of euclidInv().
4462
4463         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4464         static small primes instead of remainder().
4465         Use pre-computed max nbr of trials based on bitlength of BI to test.
4466         Use pre-computed small primes for the trial tests instead of random
4467         numbers.
4468
4469         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4470         not used.
4471
4472         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4473         invoacation of MPN.chars_per_word().  not used.
4474
4475         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4476         local var and used where needed.
4477
4478         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4479         Combined declaration with initialisation of locals.
4480         Removed unused var.
4481
4482         * java/math/BigInteger.java: Style changes
4483         (pow(int)): Removed 'else' keyword.
4484         (toString(int)): idem.
4485         (doubleValue()): idem.
4486         (bitLength()): idem.
4487         (equals(Object)): Use static methods name in same class w/o prepending
4488         class name.
4489         (doubleValue()): idem.
4490         (setNegative(BI)): idem.
4491         (negate()): idem.
4492         (and(BI,int)): idem.
4493         (and(BI)): idem.
4494         (gcd(BI)): idem.
4495         (byteArrayToIntArray()): Removed casting to (int). this is
4496         std. behaviour.
4497         (canonicalize()): idem.
4498         (alloc(int)): Always instantiate a new BI.
4499
4500 2003-02-10  Tom Tromey  <tromey@redhat.com>
4501
4502         * java/sql/Timestamp.java (compareTo(Object)): New method.
4503         (compareTo(Timestamp)): Likewise.
4504         (serialVersionUID): Updated.
4505
4506 2003-02-07  Mark Wielaard  <mark@klomp.org>
4507
4508         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4509         when verify is true.
4510         (JarFile(File, boolean)): Likewise.
4511         (manifestRead): Set manifestRead field correctly.
4512
4513 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4514
4515         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4516         tests; see patch #1016 on Savannah.
4517
4518 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4519
4520         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4521         (toString): do not return Strings starting with . and - erroneously.
4522         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4523         DiagBigDecimal.
4524
4525 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4526
4527         * java/beans/PropertyDescriptor.java
4528         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4529         methods.
4530         (PropertyDescriptor(String, Class, String, String)): Likewise.
4531         (PropertyDescriptor(String, Method, Method): Factor out getter and
4532         setter method sanity checks into new method.
4533         (findMethods): Don't do parameter sanity checking of get method here.
4534         (checkMethods): New method.
4535
4536 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4537
4538         * java/beans/PropertyDescriptor.java: Reformat.
4539
4540 2003-02-04  Tom Tromey  <tromey@redhat.com>
4541
4542         * java/io/PipedOutputStream.java (flush): Declare as throwing
4543         IOException.
4544         (close): Likewise.
4545         * java/io/PipedWriter.java (close): Declare as throwing
4546         IOException.
4547         * java/io/StringWriter.java (close): Declare as throwing
4548         IOException.
4549
4550 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4551
4552         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4553         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4554         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4555         "_JNI_OnLoad@8" (MSVC).
4556
4557 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4558
4559         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4560         convention on Win32 to invoke native JNI methods.
4561
4562 2003-02-03  Andrew Haley  <aph@redhat.com>
4563
4564         * configure.host (x86_64): Enable interpreter.
4565
4566 2003-02-03  Andrew Haley  <aph@redhat.com>
4567
4568         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4569         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4570         * configure.in (BACKTRACESPEC): New.
4571         * configure: Regenerate.
4572
4573 2003-02-02  Tom Tromey  <tromey@redhat.com>
4574
4575         * configure: Rebuilt.
4576         * configure.in (TOOLKIT) [xlib]: Set correctly.
4577
4578         * Makefile.in: Rebuilt.
4579         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4580         libstdc++.
4581
4582 2003-01-31  Mark WIelaard  <mark@klomp.org>
4583
4584         * Makefile.in: Rebuilt.
4585         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4586
4587 2003-01-31  Tom Tromey  <tromey@redhat.com>
4588
4589         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4590         cast to element type.
4591         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4592         (_Jv_JNI_GetObjectArrayElement): Likewise.
4593
4594         * Makefile.in: Rebuilt.
4595         * Makefile.am (cond_x_ltlibrary): Renamed library to
4596         lib-gnu-awt-xlib.la.
4597         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4598         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4599         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4600         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4601         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4602         (lib_gnu_awt_xlib_la_LINK): Likewise.
4603         (install-exec-hook): Removed.
4604         (lib-gnu-awt-xlib.la): Renamed.
4605
4606 2003-01-31  Tom Tromey  <tromey@redhat.com>
4607
4608         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4609         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4610         aclocal.m4 and lost in some merge.
4611
4612         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4613         Don't try to find graphics configuration.
4614         * java/awt/Toolkit.java (default_toolkit_name): Use new
4615         Configuration entry.
4616         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4617         New global.
4618         * configure: Rebuilt.
4619         * configure.in (TOOLKIT): New subst.
4620         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4621         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4622         directory.  Make output directories for .c files.
4623         * Makefile.in: Rebuilt.
4624         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4625         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4626         (all_java_source_files): Added new sources.
4627         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4628         (gtk_c_files): New macro.
4629         (gtk_c_source_files): New macro.
4630         (cond_gtk_ltlibrary): New macro.
4631         ($(gtk_c_files)): New target.
4632         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4633         (gtk_awt_peer_sources): New macro.
4634         (gtk_c_headers): New macro.
4635         ($(gtk_c_headers)): New target.
4636         (ACLOCAL_AMFLAGS): New macro.
4637         * gtk.m4, glib.m4, libart.m4: New files.
4638         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4639         gnu/java/awt/peer/gtk/GdkGraphics.java,
4640         gnu/java/awt/peer/gtk/GtkArg.java,
4641         gnu/java/awt/peer/gtk/GtkArgList.java,
4642         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4643         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4644         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4645         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4646         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4647         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4648         gnu/java/awt/peer/gtk/GtkClipboard.java,
4649         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4650         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4651         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4652         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4653         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4654         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4655         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4656         gnu/java/awt/peer/gtk/GtkImage.java,
4657         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4658         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4659         gnu/java/awt/peer/gtk/GtkListPeer.java,
4660         gnu/java/awt/peer/gtk/GtkMainThread.java,
4661         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4662         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4663         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4664         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4665         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4666         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4667         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4668         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4669         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4670         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4671         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4672         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4673         gnu/java/awt/peer/gtk/GtkToolkit.java,
4674         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4675         gnu/java/awt/peer/gtk/TestAWT.java,
4676         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4677         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4678         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4679         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4680         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4681         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4682         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4683         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4684         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4685         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4686         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4687         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4688         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4689         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4695         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4697         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4700         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4702         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4703         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4704         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4705         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4706         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4707         jni/classpath/native_state.c, jni/classpath/native_state.h,
4708         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4709
4710 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4711
4712         * java/util/Properties.java (load): Ignore backslash before EOF.
4713
4714 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4715
4716         * java/lang/natClass.cc (initializeClass): Check tables when
4717         (state == JV_STATE_IN_PROGRESS).
4718         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4719         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4720         interpreted classes.
4721         (linkClass0): Use _Jv_WaitForState.
4722
4723 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4724
4725         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4726         object when finished.
4727
4728 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4729
4730         * libjava/configure.host: Disable can_unwind_signal on darwin.
4731
4732 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4733
4734         Fixes PR java/9254:
4735         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4736         additionally containing id of the owner thread as well as
4737         the number of nested times the thread has acquired the mutex.
4738         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4739         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4740         (_Jv_MutexUnlock): Check if really the owner thread, reset
4741         owner thread id to 0 before leaving, if leaving for the last
4742         time.
4743         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4744         refcount.
4745         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4746         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4747         the passed mutex.
4748         Pass handle of the broadcast event, instead of a pointer to it
4749         in Win32 ResetEvent( ) call.
4750         Remove incorrect return values.
4751         (_Jv_CondDestroy): Close both event handles and delete
4752         critical section.
4753         (_Jv_CondNotify): Check if really the owner thread.
4754         (_Jv_CondNotifyAll): Check if really the owner thread.
4755         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4756         (really_start): Use SetEvent( ) to signal daemon_cond.
4757         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4758         WaitForSingleObject( ) instead to wait for daemon_cond to be
4759         signalled.
4760
4761 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4762
4763         * configure.in: Specifically define HAVE_BACKTRACE if building
4764         for MinGW.
4765         * include/win32.h: Remove HAVE_BACKTRACE definition.
4766         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4767         * configure: Rebuilt.
4768
4769 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4770
4771         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4772         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4773         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4774         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4775         * Makefile.in, configure: Rebuilt.
4776
4777 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4778
4779         Fixes PR java/9253:
4780         * java/io/natFileWin32.cc (performList): Append only "*.*"
4781         if the canonical file path already has a "\" at the end.
4782
4783 2003-01-24  Tom Tromey  <tromey@redhat.com>
4784
4785         * defineclass.cc (handleMethodsEnd): Precompute code for static
4786         method.
4787         (handleCodeAttribute): Likewise.
4788         * resolve.cc (ncode): Use run_class for unsynchronized static
4789         methods.
4790         * include/java-interp.h (class _Jv_InterpMethod): Declare
4791         run_class.
4792         * interpret.cc (run_synch_class): Initialize class.
4793         (run) [insn_invokestatic]: Don't initialize class.
4794         [insn_anewarray]: Likewise.
4795         [insn_multianewarray]: Likewise.
4796         (run_class): New function.
4797
4798 2003-01-24  Tom Tromey  <tromey@redhat.com>
4799
4800         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4801         comment.
4802
4803 2003-01-22  Andrew Haley  <aph@redhat.com>
4804
4805         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4806         * configure.host (CHECKREFSPEC): Define for x86_64.
4807
4808 2003-01-21  Tom Tromey  <tromey@redhat.com>
4809
4810         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4811         search at 2, not 3.
4812
4813 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4814
4815         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4816         looking at any characters.
4817         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4818         be used.
4819         (isAbsolute): Check path's length as well.
4820
4821 2003-01-17  Mark Wielaard  <mark@klomp.org>
4822
4823         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4824         (nat_source_files): Add natVMObjectStreamClass.cc.
4825         * Makefile.in: Regenerated.
4826         * gcj/javaprims.h (namespace java): Regenerated.
4827         * java/io/ObjectStreamClass.java (getClassUID): Call
4828         VMObjectStreamClass.hasClassInitializer().
4829         (hasClassInitializer): Removed.
4830         * java/io/VMObjectStreamClass.java: New class.
4831         * java/io/natVMObjectStreamClass.cc: New file.
4832         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4833
4834 2003-01-16  Mark Wielaard  <mark@klomp.org>
4835
4836         * java/net/SocketImpl.java (toString): Don't explicitly call
4837         toString() on possible null address.
4838
4839 2003-01-16  Michael Koch  <konqueror@gmx.de>
4840
4841         * java/net/MulticastSocket.java
4842         (setInterface): Reindented.
4843
4844 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4845
4846         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4847         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4848         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4849         translateY arguments.  Implement.
4850         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4851         down translation arguments.
4852         (drawPolyline, drawPolygon): Fix incorrect tests.
4853         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4854         translateX and translateY arguments.
4855
4856 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4857
4858         * Makefile.in: Rebuilt.
4859         * Makefile.am (xlib_includes): New macro.
4860         (INCLUDES): Use it.
4861
4862 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4863
4864         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4865         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4866         16-bit display mode.
4867
4868 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4869
4870         * java/awt/CardLayout.java (show): Rewrote.
4871         (gotoComponent): Removed `target' argument.  Simplified code.
4872         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4873         Changed all callers.
4874         (NONE): Removed.
4875         
4876 2003-01-14  Michael Koch  <konqueror@gmx.de>
4877
4878         * java/net/InetSocketAddress.java
4879         (serialVersionUID): New member variable.
4880         * java/net/NetPermission.java
4881         (NetPermission): Dont implement java.io.Serialization directly.
4882         * java/net/SocketAddress.java:
4883         (serialVersionUID): Documentation added.
4884         
4885 2003-01-14  Michael Koch  <konqueror@gmx.de>
4886
4887         * java/awt/Label.java
4888         (Label): Implements javax.accessibility.Accessible;
4889         * java/awt/List.java
4890         (List): Implements javax.accessibility.Accessible;
4891         * java/awt/ScrollPane.java
4892         (ScrollPane): Implements javax.accessibility.Accessible;
4893         * java/awt/Scrollbar.java
4894         (Scrollbar): Implements javax.accessibility.Accessible;
4895         * java/awt/TextComponent.java
4896         (setCaretPosition): Throw exception, documentation added.
4897         * java/awt/Toolkit.java:
4898         Added some newlines in method documentations.
4899         (createButton): Exception documentation added.
4900         (createTextField): Exception documentation added.
4901         (createLabel): Exception documentation added.
4902         (createList): Exception documentation added.
4903         (createCheckbox): Exception documentation added.
4904         (createScrollbar): Exception documentation added.
4905         (createScrollPane): Exception documentation added.
4906         (createTextArea): Exception documentation added.
4907         (createChoice): Exception documentation added.
4908         (createFrame): Exception documentation added.
4909         (createWindow): Exception documentation added.
4910         (createDialog): Exception documentation added.
4911         (createMenuBar): Exception documentation added.
4912         (createMenu): Exception documentation added.
4913         (createMenuItem): Exception documentation added.
4914         (createFileDialog): Exception documentation added.
4915         (createCheckboxMenuItem): Exception documentation added.
4916         (loadSystemColors): Exception documentation added.
4917         (setDynamicLayout): Exception documentation added.
4918         (isDynamicLayoutSet): Exception documentation added.
4919         (isDynamicLayoutActive): Exception documentation added.
4920         (getScreenSize): Exception documentation added.
4921         (getScreenResolution): Exception documentation added.
4922         (getScreenInsets): Exception documentation added.
4923         (getColorModel): Exception documentation added.
4924         (getSystemClipboard): Exception documentation added.
4925         (getSystemSelection): Exception documentation added.
4926         (getMenuShortcutKeyMask): Exception documentation added.
4927         (getSystemEventQueue): Exception documentation added.
4928         * java/awt/Window.java:
4929         Reindented some code.
4930         (Window): Centralized implementation, documentation added.
4931         (finalize): Documentation added.
4932         (hide): Fixed typo in comment.
4933         (getWindowListeners): Documentation added.
4934         * java/awt/color/ColorSpace.java
4935         (toRGB): Documentation added.
4936         * java/awt/color/ICC_ColorSpace.java
4937         (ICC_ColorSpace): Documentation added.
4938         (toRGB): Throw exception, documentation added.
4939         (fromRGB): Throw exception, documentation added.
4940         (toCIEXYZ): Documentation added.
4941         (fromCIEXYZ): Documentation added.
4942         (getMinValue): Documentation added.
4943         (getMaxValue): Documentation added.
4944         * java/awt/geom/Dimension2D.java
4945         (clone): Documentation added.
4946         * java/awt/geom/GeneralPath.java
4947         (clone): Documentation added.
4948         * java/awt/geom/Line2D.java
4949         (clone): Documentation added.
4950         * java/awt/geom/QuadCurve2D.java
4951         (clone): Documentation added.
4952         * java/awt/image/ColorModel.java
4953         (ColorModel): Throw exception, documentation added.
4954         * java/awt/image/ImageFilter.java
4955         (clone): Doesnt throw CloneNotSupportedException.
4956
4957 2003-01-14  Andrew Haley  <aph@redhat.com>
4958
4959         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4960         in a try block.
4961
4962 2003-01-10  Andrew Haley  <aph@redhat.com>
4963
4964         * include/dwarf2-signal.h: Remove x86_64.
4965         * configure.host (x86_64 DIVIDESPEC): Remove.
4966         * include/x86_64-signal.h: New file.
4967         * configure.in: Regenerate.
4968
4969 2003-01-10  Michael Koch  <konqueror@gmx.de>
4970
4971         * java/net/DatagramSocket.java
4972         (ch): Description added.
4973         (remotePort): Initialize with -1.
4974         (connect): Doesnt throws SocketException.
4975         * java/net/MulticastSocket.java
4976         (setInterface): Merge with Classpath.
4977         * java/net/ServerSocket.java
4978         (closed): New member variable.
4979         (bind): Check if socket is closed.
4980         (close): Close an associated channel too, set new value to closed.
4981         (isBound): Reindented.
4982         (isClosed): Implemented.
4983         * java/net/Socket.java
4984         (closed): New member variable.
4985         (bind): Check if socket is closed.
4986         (connect): Check if socket is closed.
4987         (close): Close an associated channel too, set new value to closed.
4988         (isClosed): Implemented.
4989
4990 2003-01-10  Michael Koch  <konqueror@gmx.de>
4991
4992         * java/awt/DisplayMode.java
4993         (equals): Fixed argument type and implementation.
4994
4995 2003-01-07  Tom Tromey  <tromey@redhat.com>
4996
4997         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
4998         JV_HASH_SYNCHRONIZATION.
4999         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5000         JV_HASH_SYNCHRONIZATION.
5001
5002 2003-01-07  Michael Koch  <konqueror@gmx.de>
5003  
5004         * java/net/DatagramSocket.java:
5005         Added classpath license info.
5006         (DatagramSocket): Merged description with classpath.
5007         (close): Merged description with classpath.
5008         (getChannel): Merged description with classpath.
5009         (getInetAddress): Merged description with classpath.
5010         (getPort): Merged description with classpath.
5011         (getLocalAddress): Merged description with classpath.
5012         (getLocalPort): Merged description with classpath.
5013         (getSoTimeout): Merged description with classpath.
5014         (setSoTimeout): Merged description with classpath.
5015         (getSendBufferSize): Merged description with classpath.
5016         (setSendBufferSize): Merged description with classpath.
5017         (getReceiveBufferSize): Merged description with classpath.
5018         (setReceiveBufferSize): Merged description with classpath.
5019         
5020 2003-01-04  Tom Tromey  <tromey@redhat.com>
5021
5022         * java/awt/List.java: Merged with Classpath.
5023
5024 2003-01-03  Mark Wielaard  <mark@klomp.org>
5025
5026         * java/io/FileDescriptor.java (position): New private field.
5027         * java/io/natFileDescriptorPosix.cc (write): Up position.
5028         (setLength): Use and set position.
5029         (seek): Set position.
5030         (getFilePointer): Return position.
5031         (read): Up position.
5032
5033 2003-01-03  Mark Wielaard  <mark@klomp.org>
5034
5035         Merge with Classpath:
5036         * java/io/ObjectStreamClass.java (lookup): Split method and call
5037         lookupForClassObject().
5038         (lookupForClassObject): New method.
5039         (isProxyClass): New field.
5040         (setClass): Set isProxyClass, add object to classLookupTable, set
5041         superClass and calculateOffsets.
5042         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5043         and not a proxy class.
5044         (setFields): Set accessible true for serialPersistentFields.
5045         (getClassUID): Same for suid. And check if suid is of type long.
5046         (hasClassInitializer): Don't throw NoSuchMethodError.
5047
5048 2003-01-03  Mark Wielaard  <mark@klomp.org>
5049
5050         * java/io/FileInputStream.java (finalize): Don't explicitly
5051         finalize FileDescriptor.
5052
5053 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5054
5055         * configure.host (sparc*-*): Enable bytecode interpreter.
5056
5057 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5058
5059         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5060         Don't throw RemoteException.
5061         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5062         throw RemoteException.
5063
5064 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5065
5066         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5067         proxyHost): New static fields.
5068         (<clinit>): Initialize new fields.
5069         (connect): Use proxy if necessary.
5070         (usingProxy): Implement.
5071
5072 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5073
5074         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5075         (TreeIterator.remove): Prefer IllegalStateException over
5076         ConcurrentModificationException, to match Sun.
5077
5078 2002-12-22  Anthony Green  <green@redhat.com>
5079
5080         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5081
5082 2003-01-02  Mark Wielaard  <mark@klomp.org>
5083
5084         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5085         public.
5086         (HTTP_USE_PROXY): Add field.
5087         (getResponseVals): Only set responseCode when not yet explicitly
5088         set by subclass.
5089
5090 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5091             Mark Wielaard  <mark@klomp.org>
5092
5093         * java/util/zip/ZipFile.java (entries): Now HashMap.
5094         (readLeShort(DataInput, byte[])): Read from given byte array.
5095         (readLeInt(DataInput, byte[]): Likewise.
5096         (readLeShort(byte[] b, int off)): New method.
5097         (readLeInt(byte[] b, int off)): Likewise.
5098         (readEntries): Use byte arrays to read info in bigger chunks.
5099         (getEntries): Return HashMap.
5100         (getEntry): Use HashMap.
5101         (locBuf): New private field.
5102         (checkLocalHeader): Use locBuf to read info in one chunk.
5103         (getInputStream): Use entries HashMap, wrap PartialInputStream
5104         in BufferedInputStream.
5105         (ZipEntryEnumeration): Use HashMap and Interator.
5106
5107 2003-01-02  Mark Wielaard  <mark@klomp.org>
5108             Jeroen Frijters  <jeroen@sumatra.nl>
5109
5110         * java/net/URLClassLoader.java (Resource.getCodeSource):
5111         Fix check certs == null.
5112         (getCanonicalFileURL): Removed method.
5113         (JarURLLoader): Don't call removed method.
5114         (FileURLLoader): Likewise.
5115         (FileURLLoader.getResource): Don't canonicalize file name.
5116
5117 2003-01-01  Tom Tromey  <tromey@redhat.com>
5118
5119         * Makefile.in: Rebuilt.
5120         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5121         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5122         java/awt/BufferCapabilities.java, java/awt/Button.java,
5123         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5124         java/awt/Container.java, java/awt/Cursor.java,
5125         java/awt/EventQueue.java, java/awt/FileDialog.java,
5126         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5127         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5128         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5129         java/awt/Scrollbar.java, java/awt/TextArea.java,
5130         java/awt/TextField.java, java/awt/color/CMMException.java,
5131         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5132         java/awt/color/ProfileDataException.java,
5133         java/awt/datatransfer/Clipboard.java,
5134         java/awt/datatransfer/DataFlavor.java,
5135         java/awt/datatransfer/FlavorMap.java,
5136         java/awt/datatransfer/SystemFlavorMap.java,
5137         java/awt/dnd/DragGestureEvent.java,
5138         java/awt/dnd/DragGestureRecognizer.java,
5139         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5140         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5141         java/awt/im/InputMethodHighlight.java,
5142         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5143         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5144
5145         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5146         `op' to BufferedImageOp.
5147
5148 2002-12-31  Tom Tromey  <tromey@redhat.com>
5149
5150         Fix for PR libgcj/7416:
5151         * javax/naming/InitialContext.java (init): Use
5152         gnu.classpath.home.url.
5153         * java/security/Security.java: Use new properties.
5154         (loadProviders): Accept base url; use it.
5155         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5156         gnu.classpath.home.url.
5157         (gnu.classpath.home.url): Define.
5158         (gnu.classpath.vm.shortname): Likewise.
5159
5160 2002-12-31  Tom Tromey  <tromey@redhat.com>
5161             Ranjit Mathew  <rmathew@hotmail.com>
5162
5163         Fix for PR libgcj/8997:
5164         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5165         Include platform.h.
5166         * include/posix.h (_Jv_platform_usleep): New function.
5167         * include/win32.h (_Jv_platform_usleep): New function.
5168
5169 2002-12-29  Tom Tromey  <tromey@redhat.com>
5170
5171         * gcj/javaprims.h: Updated.
5172         * scripts/classes.pl (scan): Removed stray semicolon.
5173
5174 2002-12-30  Mark Wielaard  <mark@klomp.org>
5175
5176         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5177         if zero or smaller.
5178
5179 2002-12-30  Mark Wielaard  <mark@klomp.org>
5180
5181         * java/util/Properties (formatForOutput): Don't fall through to
5182         default case after escaping character.
5183
5184 2002-12-30  Mark Wielaard  <mark@klomp.org>
5185
5186         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5187         against count.
5188
5189 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5190
5191         * boehm.cc: Remove stray semicolon.
5192         * interpret.cc: Likewise.
5193         * prims.cc: Likewise.
5194         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5195         earlier to ensure default arguments are processed.
5196         * gcj/array.h (JArray): Add forward declaration.
5197         (elements): Likewise.
5198         * gcj/javaprim.h: Remove stray semicolons.
5199         * include/bohm-gc.h: Likewise.
5200         * include/jni.h: Likewise.
5201         * include/jvm.h: Likewise.
5202         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5203         
5204 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5205
5206         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5207         of catch_type.
5208         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5209         idt tables after initializing superclass.
5210         * java/lang/natClassLoader.cc (uaddr): New typedef.
5211         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5212         if they are constant pool indicies.  Don't link vtable, otable yet.
5213
5214 2002-12-21  Anthony Green  <green@redhat.com>
5215
5216         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5217         libraries.
5218         * Makefile.in: Rebuilt.
5219
5220 2002-12-19  Anthony Green  <green@redhat.com>
5221
5222         * Makefile.am (ordinary_java_source_files): Add
5223         org/xml/sax/helpers/NewInstance.java.
5224         * Makefile.in: Rebuilt.
5225         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5226         org/xml/sax/helpers/package.html: New files.
5227         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5228         http://www.saxproject.org.
5229
5230 2002-12-19  Andrew Haley  <aph@redhat.com>
5231
5232         * java/util/natResourceBundle.cc: Include
5233         ArrayIndexOutOfBoundsException.h.
5234         (getCallingClassLoader): Don't put upper bound on stack search.
5235         Catch ArrayIndexOutOfBoundsException.
5236
5237 2002-12-19  Tom Tromey  <tromey@redhat.com>
5238
5239         * libtool-version: Increased `current'.
5240
5241 2002-12-19  Tom Tromey  <tromey@redhat.com>
5242
5243         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5244         comment.
5245         * java/lang/ClassLoader.java (defineClass): Use chained
5246         exception when rethrowing.
5247         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5248         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5249         constants.
5250         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5251         (_Jv_PrepareClass): Use it.
5252         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5253         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5254         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5255         (Class): _Jv_PrepareMissingMethods now friend.
5256         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5257         Record `NULL' for system class loader.
5258         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5259         system class loader.
5260         (_Jv_FindClassInCache): Likewise.
5261         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5262         (_Jv_FindClass): Special case system class loader.
5263         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5264         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5265         vtable slots.
5266         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5267         in a final class.
5268         (_getDeclaredMethod): Don't return synthetic methods.
5269         (getDeclaredMethods): Likewise.
5270         (_getMethod): Likewise.
5271         (_getMethods): Likewise.
5272
5273 2002-12-18  Raif Naffah  <raif@fl.net.au>
5274
5275         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5276         canonical form after divide().
5277         (modInverse): Likewise.
5278
5279 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5280             Mark Wielaard  <mark@klomp.org>
5281
5282         * java/security/SecurityRandom (digest): Removed field.
5283         (SecureRandom): Check all providers for case-insensitive SecureRandom
5284         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5285         if necessary.
5286         (getInstance(String,Provider,boolean): New method.
5287         (getInstance(String)): Use new method.
5288         (getInstance(String,String)): Likewise.
5289         (getInstance(String,Provider)): Likewise.
5290
5291 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5292
5293         * java/security/Security.java (loadProviders): Increment i only once.
5294
5295 2002-12-12  Mark Wielaard  <mark@klomp.org>
5296
5297         * java/lang/ClassLoader.java (resolveClass0): Transform
5298         ClassNotFoundException to NoClassDefFoundError. Transform all other
5299         throwables to LinkageError.
5300
5301 2002-12-11  Tom Tromey  <tromey@redhat.com>
5302
5303         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5304
5305         * java/lang/ClassLoader.java (loadedClasses): New field.
5306         (defineClass): Fixed indentation.  Put new class in
5307         loadedClasses.
5308         (findLoadedClass): Implement here.
5309         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5310
5311 2002-12-10  Tom Tromey  <tromey@redhat.com>
5312
5313         * Makefile.in: Rebuilt.
5314         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5315         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5316         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5317         * java/lang/natClassLoader.cc
5318         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5319
5320 2002-12-10  Mark Wielaard  <mark@klomp.org>
5321             Tom Tromey  <tromey@redhat.com>
5322
5323         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5324         (JarURLLoader): Use it.
5325         (FileURLLoader): Likewise.
5326         (JarURLResource.getURL): Use chained exception.
5327         (FileResource.getURL): Likewise.
5328         (FileURLLoader.getResource): Use canonical file name.
5329         (addURL): Indentation fix.
5330
5331 2002-12-10  Tom Tromey  <tromey@redhat.com>
5332
5333         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5334         From Laurent Bardet <l.bardet@magic.fr>.
5335
5336 2002-12-09  Tom Tromey  <tromey@redhat.com>
5337
5338         * include/win32.h (_Jv_platform_solib_prefix): New define.
5339         (_Jv_platform_solib_suffix): Likewise.
5340         * include/posix.h (_Jv_platform_solib_prefix): New define.
5341         (_Jv_platform_solib_suffix): Likewise.
5342         * java/lang/natRuntime.cc: Include StackTrace.h.
5343         (_load): Use findLibrary and new platform defines.
5344         (nativeGetLibname): Use new platform defines.
5345
5346         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5347         `t' won't be null.
5348
5349 2002-12-08  Mark Wielaard  <mark@klomp.org>
5350
5351         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5352         cache remote jar files.
5353         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5354         add File.separator to URL when it is a directory.
5355         * java/lang/ClassLoader.java: Add Classpath javadoc.
5356         (parent): final.
5357         (getParent): Add (disabled) security check.
5358         (findLibrary): New default method.
5359         * java/net/JarURLConnection.java (getManifest): Implement.
5360         (getInputStream): Only create InputStream when entry exists.
5361         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5362         when they exist.
5363         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5364
5365 2002-12-08  Mark Wielaard  <mark@klomp.org>
5366
5367         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5368         (lastDefaultLocale): New field.
5369         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5370         resourceBundleCache.
5371
5372 2002-12-06  Mark Wielaard  <mark@klomp.org>
5373
5374         * java/net/InetAddress.java (toString): Use hostname when not null,
5375         don't do an explicit reverse getHostName() lookup.
5376         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5377         NullPointerException.
5378
5379 2002-12-06  Tom Tromey  <tromey@redhat.com>
5380
5381         * include/java-interp.h (class _Jv_InterpMethod): Added
5382         JV_MARKOBJ_DECL.
5383         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5384         mark `prepared' field of interpreted method.
5385         * interpret.cc (compile): Use _Jv_AllocBytes.
5386
5387 2002-12-05  Andrew Haley  <aph@redhat.com>
5388
5389         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5390         #ifdef (HAVE_BACKTRACE) around the whole function body.
5391
5392 2002-12-05  Tom Tromey  <tromey@redhat.com>
5393
5394         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5395         * resolve.cc: Don't include AbstractMethodError.h.
5396         (_Jv_abstractMethodError): Removed.
5397         * defineclass.cc (handleMethodsBegin): Initialize method index to
5398         -1.
5399         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5400         method index for "new" final method.
5401         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5402         isVirtualMethod.  Added `flags' argument.
5403         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5404         class.
5405
5406 2002-12-04  Tom Tromey  <tromey@redhat.com>
5407
5408         * java/net/SocketPermission.java (hashCode): Rewrote.
5409
5410 2002-12-04  Tom Tromey  <tromey@redhat.com>
5411
5412         * Makefile.in: Rebuilt.
5413         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5414         natResourceBundle.
5415         * java/util/ResourceBundle.java (Security): Removed.
5416         (getCallingClassLoader): Now native.
5417         * java/util/natResourceBundle.cc: New file.
5418         * java/lang/natVMSecurityManager.cc: New file.
5419         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5420
5421 2002-12-03  Mark Wielaard  <mark@klomp.org>
5422
5423         * java/util/jar/JarFile.java (manifest): Not final.
5424         (manifestRead): New field.
5425         (JarFile): Don't read Manifest in constructor.
5426         (getManifest): New method.
5427         (JarEnumeration.nextElement): Use new method.
5428         (getEntry): Likewise.
5429         * java/util/zip/ZipFile.java (name): Final.
5430         (raf): Likewsie.
5431         (entries): Change type to Hashtable.
5432         (closed): New field.
5433         (ZipFile): Don't read enties in constructor.
5434         (readEntries): Use Hashtable.
5435         (close): Set new close flag and set entries to null inside
5436         synchronized block.
5437         (entries): Contruct enumeration using new getEntries() method and
5438         entries Hashtable.
5439         (getEntryIndex): Removed.
5440         (getEntries): New method.
5441         (getEntry): Use new getEntries() method and entries Hastable.
5442         (getInputStream): Likewise.
5443         (size): Return getEntries().size().
5444         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5445         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5446         (time): Removed
5447         (dostime): New field.
5448         (zipFileIndex): Removed.
5449         (ZipEntry(ZipEntry)): Copy dostime.
5450         (setDOSTime): Now final and doesn't convert dos time.
5451         (getDOSTime): Likewise.
5452         (setTime): Convert dos time.
5453         (getTime): Likewise.
5454         (getCalendar): New method.
5455         (setExtra): Use setTime().
5456         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5457
5458 2002-12-03  Tom Tromey  <tromey@redhat.com>
5459
5460         * java/lang/Character.java (forDigit): Formatting fix.
5461
5462 2002-12-03  Raif Naffah  <raif@fl.net.au>
5463
5464         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5465         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5466         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5467
5468 2002-12-03  Andrew Haley  <aph@redhat.com>
5469
5470         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5471         _Jv_PushClass.
5472         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5473         (_Jv_PopClass): New.
5474         (_Jv_PushClass): New.
5475         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5476         discover the ClassLoader of our caller.
5477         (_Jv_CheckArrayStore): Don't check that a class is assignment
5478         compatible with Object.
5479         * java/lang/natVMTHrowable.cc: Delete.
5480         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5481         java.lang.VMThrowable.
5482         (StackTrace(), StackTrace(int)): New constructors.
5483         (classAt, methodAt, update, methodAtAddress): New methods.
5484         (map): New field.
5485         * java/lang/VMThrowable.java: Use StackTrace instead of
5486         natVMTHrowable.
5487         * java/lang/Class.h (getClassLoaderInternal): New.
5488         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5489         Be friendly with gnu::gcj::runtime::StackTrace.
5490         (Object.chain): New field.
5491         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5492         gnu::gcj::runtime::StackTrace.
5493         * gnu/gcj/runtime/natStackTrace.cc: New file.
5494         * gnu/gcj/runtime/MethodRef.java: New file.
5495         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5496         instead of getClassLoader().
5497         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5498         java::lang::VMThrowable.
5499         * Makefile.am (core_java_source_files): Add MethodRef.java,
5500         StackTrace.java.
5501         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5502         * Makefile.in: Rebuild.
5503
5504 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5505
5506         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5507         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5508         yes also for sh-linux* and sh[34]*-linux*.
5509         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5510         set SIGNAL_HANDLER to use DWARF2 exception for them.
5511         * configure: Regenerate.
5512
5513 2002-12-02  Tom Tromey  <tromey@redhat.com>
5514
5515         * jni.cc: Added `name' argument.
5516         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5517         `const char *' argument.
5518         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5519
5520 2002-12-01  Tom Tromey  <tromey@redhat.com>
5521
5522         Bug compatibility, for PR libgcj/8738:
5523         * java/io/CharArrayWriter.java (close): Do nothing.
5524         (flush): Likewise.
5525         (reset): Don't touch `closed'.
5526         (write(int)): Don't throw IOException.
5527         (write(char[],int,int)): Likewise.
5528         (write(String,int,int)): Likewise.
5529         (closed): Removed.
5530
5531 2002-12-01  Mark Wielaard  <mark@klomp.org>
5532
5533         * java/lang/SecurityManager.java: Remerge comments, indenting and
5534         checkXXX methods with Classpath.
5535
5536 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5537
5538         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5539         getNormalizedComponents): Fix calculation which was using one too
5540         many bits in the unnormalized format.
5541
5542 2002-11-29  Gary Benson  <gbenson@redhat.com>
5543
5544         For PR libgcj/8759:
5545         * java/beans/Introspector.java (flushCaches): New method.
5546         (flushFromCaches): Likewise.
5547
5548 2002-11-29  Michael Koch <konqueror@gmx.de>
5549
5550         * java/nio/channels/DatagramChannel.java
5551         (open): Added exception documentation.
5552         (write): Added exception documentation.
5553         (connect): Added exception documentation.
5554         (disconnect): Added exception documentation.
5555         (isConnected): Added exception documentation.
5556         (read): Added exception documentation.
5557         (receive): Added exception documentation.
5558         (send): Added exception documentation.
5559         (validOps): Added exception documentation.
5560         * java/nio/channels/SocketChannel.java
5561         (open): Added exception documentation.
5562         (read): Added exception documentation.
5563         (write): Added exception documentation.
5564         (connect): Added exception documentation.
5565         (finishConnect): Added exception documentation.
5566
5567 2002-11-29  Michael Koch <konqueror@gmx.de>
5568
5569         * gnu/java/nio/DatagramChannelImpl:
5570         (fd): New member variable to store file descriptor of socket.
5571         * gnu/java/nio/SelectionKeyImpl.java:
5572         (ops): Removed.
5573         (readyOps): New member variable.
5574         (interestOps): New member variable.
5575         (readyOps): Implemented.
5576         (readyOps): New method to set member variable readyOps.
5577         (interestOps): Replaced ops by interestOps.
5578         * gnu/java/nio/SelectorImpl.java:
5579         (SelectorImpl): Initialize key sets.
5580         (select): Call select with -1 instead of Long.MAX_VALUE).
5581         (java_do_select): Make it a native method.
5582         (getFDsAsArray): New helper method.
5583         (select): Remove canceled keys, give only interested file discriptors
5584         to java_do_select, set ready ops.
5585         (add): No need to initialize keys set here.
5586         (add_selected): No need to initialize selected set here.
5587         (deregisterCanceledKeys): New helper method.
5588         (register): Set interest ops, set attachments, added handling of datagram
5589         channels.
5590         * gnu/java/nio/ServerSocketChannelImpl:
5591         (SocketAccept): Renamed from NioSocketAccept.
5592         (implConfigureBlocking): Implemented.
5593         (accept): Use SocketAccept instead of NioSocketAccept.
5594         * gnu/java/nio/SocketChannelImpl:
5595         Reactivate native methods.
5596
5597 2002-11-29  Michael Koch <konqueror@gmx.de>
5598
5599         * gnu/java/nio/natByteBufferImpl.cc,
5600         gnu/java/nio/natCharBufferImpl.cc,
5601         gnu/java/nio/natDoubleBufferImpl.cc,
5602         gnu/java/nio/natFloatBufferImpl.cc,
5603         gnu/java/nio/natIntBufferImpl.cc,
5604         gnu/java/nio/natLongBufferImpl.cc,
5605         gnu/java/nio/natSelectorImpl.cc,
5606         gnu/java/nio/natServerSocketChannelImpl.cc,
5607         gnu/java/nio/natShortBufferImpl.cc,
5608         gnu/java/nio/natSocketChannelImpl.cc:
5609         New files that implement native functionalities.
5610
5611 2002-11-29  Michael Koch <konqueror@gmx.de>
5612
5613         * gnu/java/nio/ByteBufferImpl.java
5614         (ByteBufferImpl): Moved position() after limit.
5615         (nio_*): Use native implementation.
5616         * gnu/java/nio/CharBufferImpl.java:
5617         Reformated.
5618         (endian): New member variable string endianess of buffer.
5619         (CharBufferImpl): Moved position() after limit.
5620         (nio_*): Use native implementation.
5621         (subSequence): Implemented.
5622         * gnu/java/nio/DoubleBufferImpl.java
5623         (DoubleBufferImpl): Moved position() after limit.
5624         (nio_*): Use native implementation.
5625         * gnu/java/nio/FloatBufferImpl.java
5626         Reformated.
5627         (FloatBufferImpl): Moved position() after limit.
5628         (nio_*): Use native implementation.
5629         * gnu/java/nio/IntBufferImpl.java
5630         Added needed imports, Reformated.
5631         (IntBufferImpl): Moved position() after limit.
5632         (nio_*): Use native implementation.
5633         * gnu/java/nio/LongBufferImpl.java
5634         Reformated.
5635         (LongBufferImpl): Moved position() after limit.
5636         (nio_*): Use native implementation.
5637         * gnu/java/nio/ShortBufferImpl.java
5638         Reformated.
5639         (ShortBufferImpl): Moved position() after limit.
5640         (nio_*): Use native implementation.
5641
5642 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5643
5644         * java/util/Locale.java (toString): Improve efficiency if country
5645         and variant are both empty.
5646
5647 2002-11-26  Tom Tromey  <tromey@redhat.com>
5648
5649         * verify.cc (pop_init_ref): New method.
5650         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5651         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5652         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5653         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5654         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5655         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5656         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5657         let `this' argument be uninitialized.  Don't let `null' be passed
5658         as `this' to construtor.
5659
5660 2002-11-26  Mark Wielaard  <mark@klomp.org>
5661
5662         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5663         * javax/transaction/HeuristicMixedException.java: Likewise.
5664         * javax/transaction/HeuristicRollbackException.java: Likewise.
5665         * javax/transaction/InvalidTransactionException.java: Likewise.
5666         * javax/transaction/NotSupportedException.java: Likewise.
5667         * javax/transaction/RollbackException.java: Likewise.
5668         * javax/transaction/Status.java: Likewise.
5669         * javax/transaction/Synchronization.java: Likewise.
5670         * javax/transaction/SystemException.java: Likewise.
5671         * javax/transaction/Transaction.java: Likewise.
5672         * javax/transaction/TransactionManager.java: Likewise.
5673         * javax/transaction/TransactionRequiredException.java: Likewise.
5674         * javax/transaction/TransactionRolledbackException.java: Likewise.
5675         * javax/transaction/UserTransaction.java: Likewise.
5676         * javax/transaction/xa/XAException.java: Likewise.
5677         * javax/transaction/xa/XAResource.java: Likewise.
5678         * javax/transaction/xa/Xid.java: Likewise.
5679
5680 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5681
5682         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5683         define.
5684         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5685         * include/posix.h (socklen_t): Define if not already defined.
5686
5687 2002-11-25  Tom Tromey  <tromey@redhat.com>
5688
5689         * verify.cc (type::compatible): Backed out broken change.
5690
5691         * verify.cc (type::compatible): Check initialization status
5692         first.
5693         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5694         Don't use NULLCHECK.
5695
5696 2002-11-23  H.J. Lu <hjl@gnu.org>
5697
5698         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5699         Include ../config/accross.m4.
5700         * aclocal.m4; Rebuild.
5701         * configure: Likewise.
5702
5703 2002-11-23  Mark Wielaard  <mark@klomp.org>
5704
5705         * javax/naming/AuthenticationException.java: Update copyright header.
5706         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5707         * javax/naming/Binding.java: Likewise.
5708         * javax/naming/CannotProceedException.java: Likewise.
5709         * javax/naming/CommunicationException.java: Likewise.
5710         * javax/naming/CompositeName.java: Likewise.
5711         * javax/naming/CompoundName.java: Likewise.
5712         * javax/naming/ConfigurationException.java: Likewise.
5713         * javax/naming/Context.java: Likewise.
5714         * javax/naming/ContextNotEmptyException.java: Likewise.
5715         * javax/naming/InitialContext.java: Likewise.
5716         * javax/naming/InsufficientResourcesException.java: Likewise.
5717         * javax/naming/InterruptedNamingException.java: Likewise.
5718         * javax/naming/LimitExceededException.java: Likewise.
5719         * javax/naming/LinkException.java: Likewise.
5720         * javax/naming/LinkLoopException.java: Likewise.
5721         * javax/naming/LinkRef.java: Likewise.
5722         * javax/naming/MalformedLinkException.java: Likewise.
5723         * javax/naming/NameAlreadyBoundException.java: Likewise.
5724         * javax/naming/NameClassPair.java: Likewise.
5725         * javax/naming/NameNotFoundException.java: Likewise.
5726         * javax/naming/NameParser.java: Likewise.
5727         * javax/naming/NamingEnumeration.java: Likewise.
5728         * javax/naming/NamingSecurityException.java: Likewise.
5729         * javax/naming/NoInitialContextException.java: Likewise.
5730         * javax/naming/NoPermissionException.java: Likewise.
5731         * javax/naming/NotContextException.java: Likewise.
5732         * javax/naming/OperationNotSupportedException.java: Likewise.
5733         * javax/naming/PartialResultException.java: Likewise.
5734         * javax/naming/Reference.java: Likewise.
5735         * javax/naming/Referenceable.java: Likewise.
5736         * javax/naming/ReferralException.java: Likewise.
5737         * javax/naming/ServiceUnavailableException.java: Likewise.
5738         * javax/naming/SizeLimitExceededException.java: Likewise.
5739         * javax/naming/TimeLimitExceededException.java: Likewise.
5740         * javax/naming/directory/Attribute.java: Likewise.
5741         * javax/naming/directory/AttributeInUseException.java: Likewise.
5742         * javax/naming/directory/AttributeModificationException.java: Likewise.
5743         * javax/naming/directory/Attributes.java: Likewise.
5744         * javax/naming/directory/BasicAttribute.java: Likewise.
5745         * javax/naming/directory/BasicAttributes.java: Likewise.
5746         * javax/naming/directory/DirContext.java: Likewise.
5747         * javax/naming/directory/InitialDirContext.java: Likewise.
5748         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5749         Likewise.
5750         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5751         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5752         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5753         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5754         * javax/naming/directory/ModificationItem.java: Likewise.
5755         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5756         * javax/naming/directory/SchemaViolationException.java: Likewise.
5757         * javax/naming/directory/SearchControls.java: Likewise.
5758         * javax/naming/directory/SearchResult.java: Likewise.
5759         * javax/naming/event/EventContext.java: Likewise.
5760         * javax/naming/event/EventDirContext.java: Likewise.
5761         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5762         * javax/naming/event/NamingEvent.java: Likewise.
5763         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5764         * javax/naming/event/NamingListener.java: Likewise.
5765         * javax/naming/event/ObjectChangeListener.java: Likewise.
5766         * javax/naming/ldap/Control.java: Likewise.
5767         * javax/naming/ldap/ControlFactory.java: Likewise.
5768         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5769         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5770         * javax/naming/ldap/HasControls.java: Likewise.
5771         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5772         * javax/naming/ldap/LdapContext.java: Likewise.
5773         * javax/naming/ldap/LdapReferralException.java: Likewise.
5774         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5775         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5776         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5777         * javax/naming/spi/DirObjectFactory.java: Likewise.
5778         * javax/naming/spi/DirStateFactory.java: Likewise.
5779         * javax/naming/spi/DirectoryManager.java: Likewise.
5780         * javax/naming/spi/InitialContextFactory.java: Likewise.
5781         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5782         * javax/naming/spi/NamingManager.java: Likewise.
5783         * javax/naming/spi/ObjectFactory.java: Likewise.
5784         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5785         * javax/naming/spi/ResolveResult.java: Likewise.
5786         * javax/naming/spi/Resolver.java: Likewise.
5787         * javax/naming/spi/StateFactory.java: Likewise.
5788
5789         * javax/naming/spi/NamingManager.java (ofb): Package private.
5790
5791 2002-11-21  Mark Wielaard  <mark@klomp.org>
5792
5793         * java/net/URL.java: Merge with Classpath (partly).
5794         * java/net/URLStreamHandler: Merge with Classpath.
5795
5796 2002-11-22  Michael Koch <konqueror@gmx.de>
5797
5798         * include/posix.h:
5799         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5800         * include/win32.h:
5801         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5802         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5803
5804 2002-11-21  Michael Koch <konqueror@gmx.de>
5805
5806         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5807         Only the new network functions should be in it.
5808
5809 2002-11-21  Michael Koch <konqueror@gmx.de>
5810
5811         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5812         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5813
5814 2002-11-21  Michael Koch <konqueror@gmx.de>
5815
5816         * java/nio/channels/AsynchronousCloseException.java,
5817         java/nio/channels/CancelledKeyException.java,
5818         java/nio/channels/ClosedByInterruptException.java,
5819         java/nio/channels/ConnectionPendingException.java,
5820         java/nio/channels/FileLockInterruptionException.java,
5821         java/nio/channels/IllegalSelectorException.java,
5822         java/nio/channels/NoConnectionPendingException.java,
5823         java/nio/channels/NonReadableChannelException.java,
5824         java/nio/channels/NonWritableChannelException.java,
5825         java/nio/channels/NotYetBoundException.java,
5826         java/nio/channels/NotYetConnectedException.java,
5827         java/nio/channels/OverlappingFileLockException.java,
5828         java/nio/channels/UnresolvedAddressException.java,
5829         java/nio/channels/UnsupportedAddressTypeException.java:
5830         New files.
5831         * Makefile.am (ordinary_java_source_files): Added new files.
5832         * Makefile.in: Regenerated.
5833
5834 2002-11-21  Michael Koch <konqueror@gmx.de>
5835
5836         * include/posix.h
5837         (_Jv_socket): New method.
5838         (_Jv_connect): New method.
5839         (_Jv_close): New method.
5840         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5841         (_Jv_bind): New method.
5842         (_Jv_listen): New method.
5843         (_Jv_write): New method.
5844         (_Jv_read): New method.
5845         * include/win32.h
5846         (_Jv_socket): New method.
5847         (_Jv_connect): New method.
5848         (_Jv_close): New method.
5849         (_Jv_bind): New method.
5850         (_Jv_listen): New method.
5851         (_Jv_write): New method.
5852         (_Jv_read): New method.
5853         * java/net/natNetworkInterface.cc:
5854         Include platform.h, removed inclusion of socket.h
5855         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5856         ::close() by _Jv_close().
5857         * java/net/natPlainDatagramSocketImpl.cc:
5858         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5859         added some new lines to make code more readable.
5860         (create): Replaced ::socket() by _Jv_socket().
5861         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5862         * java/net/natPlainSocketImpl.cc:
5863         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5864         removed include of socket.h, removed some windows defines
5865         (now in include/win32.h).
5866         (create): Replaced ::socket() by _Jv_socket().
5867         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5868         (write): Replaced ::read by _Jv_write().
5869         (read): Replaced ::read by _Jv_read().
5870
5871 2002-11-20  Michael Koch <konqueror@gmx.de>
5872
5873         * Makefile.am (ordinary_java_source_files):
5874         Added java/nio/channels/FileChannel.java.
5875         * Makefile.in: Regenerated.
5876
5877 2002-11-20  Michael Koch <konqueror@gmx.de>
5878
5879         * java/io/FileInputStream.java
5880         (getChannel): New method.
5881         * java/io/FileOutputStream.java
5882         (getChannel): New method.
5883         * java/net/ServerSocket.java
5884         (bind): Removed duplicate code and called another bind method instead.
5885         * java/nio/channels/SelectionKey.java
5886         (isValid): Removed wrong exception documentation.
5887         * java/nio/channels/ServerSocketChannel.java
5888         (accept): Added exception documentation.
5889         (open): Fixed typo, added exception documentation.
5890         * java/nio/channels/spi/AbstractSelectableChannel.java
5891         (implCloseChannel): Added exception documentation.
5892         (add): Reformated.
5893         (register): Added exception documentation.
5894
5895 2002-11-20  Andreas Jaeger  <aj@suse.de>
5896
5897         * configure: Regenerated with new libtool.m4.
5898
5899 2002-11-19  Tom Tromey  <tromey@redhat.com>
5900
5901         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5902         `referent'.
5903         (finalize_referred_to_object): Don't modify `referent' or `copy'
5904         fields.
5905         (add_to_hash): Correctly set `n->next' when updating list.
5906         * java/lang/ref/Reference.java (enqueue): Return false if already
5907         enqueued.
5908
5909 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5910
5911         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5912         to function and function pointer declarations in accordance with
5913         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5914         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5915         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5916         JNI function definitions.
5917
5918 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5919
5920         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5921         that was causing CoderResults to be cached, not WeakReferences
5922         to CoderResults.
5923
5924 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5925
5926         * java/security/KeyStore.java (getInstance): Fix
5927         comment and throw IllegalArgumentException if
5928         given provider is null.
5929         (getInstance): New method for jdk1.4 compatibility.
5930
5931 2002-11-18  Michael Koch <konqueror@gmx.de>
5932
5933         * java/net/PlainSocketImpl.java: Fix imports.
5934
5935 2002-11-18  Michael Koch <konqueror@gmx.de>
5936
5937         * java/nio/channels/SelectionKey.java
5938         (isValid): Added exception documentation.
5939         * java/nio/channels/Selector.java
5940         (open): Declare "throws IOException".
5941
5942 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5943
5944         * java/nio/charset/Charset.java
5945         (<clinit>): New method.
5946         (encode): Synchronize use of cached encoder object.
5947         (decode): Synchronize use of cached encoder object.
5948
5949 2002-11-18  Michael Koch <konqueror@gmx.de>
5950
5951         * gnu/java/nio/ByteBufferImpl.java,
5952         gnu/java/nio/CharBufferImpl.java,
5953         gnu/java/nio/DatagramChannelImpl.java,
5954         gnu/java/nio/DoubleBufferImpl.java,
5955         gnu/java/nio/FileChannelImpl.java,
5956         gnu/java/nio/FloatBufferImpl.java,
5957         gnu/java/nio/IntBufferImpl.java,
5958         gnu/java/nio/LongBufferImpl.java,
5959         gnu/java/nio/PipeImpl.java,
5960         gnu/java/nio/SelectionKeyImpl.java,
5961         gnu/java/nio/SelectorImpl.java,
5962         gnu/java/nio/SelectorProviderImpl.java,
5963         gnu/java/nio/ServerSocketChannelImpl.java,
5964         gnu/java/nio/ShortBufferImpl.java,
5965         gnu/java/nio/SocketChannelImpl.java,
5966         java/nio/DoubleBuffer.java,
5967         java/nio/FloatBuffer.java,
5968         java/nio/IntBuffer.java,
5969         java/nio/LongBuffer.java,
5970         java/nio/ShortBuffer.java,
5971         java/nio/channels/FileChannel.java: New files.
5972
5973 2002-11-18  Michael Koch <konqueror@gmx.de>
5974
5975         * Makefile.am (ordinary_java_source_files):
5976         Added java/nio/ReadOnlyBufferException.java and
5977         java/nio/channels/ClosedSelectorException.java.
5978         * Makefile.in: Regenerated.
5979
5980 2002-11-18  Michael Koch <konqueror@gmx.de>
5981
5982         * java/net/PlainSocketImpl.java: Reworked imports.
5983         * java/net/ServerSocket.java
5984         (ServerSocket): Create socket.
5985         * java/net/SocketAddress.java: Documentation added.
5986         * java/net/natPlainSocketImpl.cc: Reindented.
5987         * java/nio/ReadOnlyBufferException.java: New file
5988         * java/nio/channels/ClosedChannelException.java: Documentation added.
5989         * java/nio/channels/ClosedSelectorException.java: New file.
5990
5991 2002-11-17  Mark Wielaard  <mark@klomp.org>
5992
5993         * java/net/HttpURLConnection.java ((getPermission): Take port
5994         into consideration.
5995         (getErrorStream): Implement.
5996
5997 2002-11-17  Mark Wielaard  <mark@klomp.org>
5998
5999         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6000
6001 2002-11-16  Mark Wielaard  <mark@klomp.org>
6002
6003         Integrate work by Raif S. Naffah (raif@fl.net.au)
6004         * java/security/DummyKeyPairGenerator.java (clone): New method.
6005         * java/security/DummyMessageDigest.java (clone): New method.
6006         (engineUpdate): Now public.
6007         (engineReset): Likewise.
6008         (engineDigest): Likewise.
6009         (engineGetDigestLength): New method.
6010         * java/security/DummySignature.java (clone): New method.
6011         * java/security/KeyPairGenerator.java (provider): Now package private.
6012         (getInstance(String)): Use getInstance(String,Provider).
6013         (getInstance(String,String): Use getInstance(String,Provider)
6014         (getInstance(String,Provider): New method.
6015         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6016         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6017         * java/security/MessageDigest.java (provider): Now package private.
6018         (getInstance(String): Use getInstance(String,Provider).
6019         (getInstance(String,String): Use getInstance(String,Provider)
6020         (getInstance(String,Provider): New method.
6021         * java/security/Provider.java (toCanonicalKey): New method.
6022         (get): New method that uses toCanonicalKey().
6023         (put): Use toCanonicalKey().
6024         (remove): Likewise.
6025         * java/security/Security.java (insertProviderAt): Provider index is one
6026         based, not zero based.
6027         (addProvider): Likewise.
6028         (removeProvider): Likewise.
6029         * java/security/Signature.java (provider): Now package private.
6030         (getInstance(String)): Use getInstance(String,Provider).
6031         (getInstance(String,String): Use getInstance(String,Provider)
6032         (getInstance(String,Provider): New method.
6033         (getInstance(String,String,Provider): Don't cast DummySignature.
6034
6035 2002-11-15  Tom Tromey  <tromey@redhat.com>
6036
6037         For PR libgcj/8593:
6038         * java/util/zip/GZIPInputStream.java (read): Check file size.
6039         Look in inflater for remaining input bytes.
6040         (read4): Added buf and offset arguments.
6041
6042 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6043
6044         * java/applet/AppletContext.java: Fix typo and remove redundant
6045         modifiers.
6046
6047 2002-11-14  Tom Tromey  <tromey@redhat.com>
6048
6049         * java/lang/natRuntime.cc (insertSystemProperties): Set
6050         gnu.classpath.home.
6051
6052 2002-11-13  Michael Koch <konqueror@gmx.de>
6053
6054         * java/nio/ByteBuffer.java
6055         (allocate): New method.
6056         (wrap): New method.
6057         (put): New method.
6058         (get): New method.
6059
6060 2002-11-13  Michael Koch <konqueror@gmx.de>
6061
6062         * java/nio/channels/AlreadyConnectedException.java:
6063         Removed unneeded import.
6064         (AlreadyConnectedException): Documentation added.
6065         * java/nio/channels/Pipe.java
6066         (SinkChannel.SinkChannel): Documentation added.
6067         (SinkChannel.validOps): New method.
6068         (SourceChannel.SourceChannel): Documentation added.
6069         (SourceChannel.validOps): New method.
6070         (Pipe): Documentation added.
6071         (open): Documentation added.
6072         (SinkChannel.channel): Documentation added.
6073         (SourceChannel.channel): Documentation added.
6074         * java/nio/channel/SelectableChannel.java
6075         (SelectableChannel): Documentation added.
6076         (blockingLock): Documentation added.
6077         (configureBlocking):Documentation added.
6078         (isBlocking):Documentation added.
6079         (isRegistered):Documentation added.
6080         (keyFor):Documentation added.
6081         (provider):Documentation added.
6082         (register): Documentation added.
6083         (validOps): Documentation added.
6084         * jaba/nio/channels/SelectionKey.java
6085         (SelectionKey): Documentation added.
6086         (attach): Documentation added.
6087         (attachment): Documentation added.
6088         (isAcceptable): Documentation added.
6089         (isConnetable): Documentation added.
6090         (isReadable): Documentation added.
6091         (isWritable): Documentation added.
6092         (cancel): Documentation added.
6093         (channel): Documentation added.
6094         (interestOps): Documentation added.
6095         (isValid): Documentation added.
6096         (readyOps): Documentation added.
6097         (selector): Documentation added.
6098         * jaba/nio/channels/Selector.java
6099         (Selector): Documentation added.
6100         (open): Documentation added.
6101         (close): Documentation added.
6102         (isOpen): Documentation added.
6103         (keys): Documentation added.
6104         (provider): Documentation added.
6105         (select): Documentation added.
6106         (selectedKeys): Documentation added.
6107         (selectNow): Documentation added.
6108         (wakeup): Documentation added.
6109         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6110         (AbstractInterruptibleChannel): Documentation added.
6111         (opened): Default to true;
6112         (begin): Documentation added.
6113         (close): Set opened to false, documentation added.
6114         (isOpen): Documentation added.
6115         * java/nio/channels/spi/AbstractSelectionKey.java
6116         (AbstractSelectionKey): Documentation added.
6117         (cancel): Documentation added.
6118         (isValid): Documentation added.
6119         * java/nio/channels/spi/AbstractSelector.java
6120         (AbstractSelector): Documentation added.
6121         (begin): Documentation added.
6122         (close): Documentation added.
6123         (isOpen): Documentation added.
6124         (deregister): Documentation added.
6125         (end): Documentation added.
6126         (provider): Documentation added.
6127         (implCloseSelector): Documentation added.
6128         (register): Documentation added.
6129         * java/nio/channels/spi/SelectorProvider.java
6130         (SelectorProvider): Documentation added.
6131         (openDatagramChannel): Documentation added.
6132         (openPipe): Documentation added.
6133         (openSelector): Documentation added.
6134         (openServerSocketChannel): Documentation added.
6135         (openSocketChannel): Documentation added.
6136         (provider): Documentation added.
6137
6138 2002-11-12  Michael Koch <konqueror@gmx.de>
6139
6140         * java/nio/Buffer.java: Implemented.
6141         * java/nio/CharBuffer.java: New file.
6142         * java/nio/InvalidMarkException.java: New file.
6143         * java/nio/channels/DatagramChannel.java: Implemented.
6144         * java/nio/channels/ServerSocketChannel.java: Implemented.
6145         * java/nio/channels/SocketChannel.java: Implemented.
6146         * java/nio/channels/spi/AbstractChannel.java: Removed.
6147         * java/nio/channels/spi/AbstractSelectableChannel.java:
6148         Implemented.
6149         * java/nio/charset/Charset.java:
6150         Merge from Classpath.
6151         * java/nio/charset/CharsetDecoder.java: New file.
6152         * java/nio/charset/CharsetEncoder.java: New file.
6153         * java/nio/charset/CoderResult.java: New file.
6154         * Makefile.am (ordinary_java_source_files): Added new files.
6155         * Makefile.in: Regenerated.
6156
6157 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6158
6159         * gnu/java/nio/charset/ISO_8859_1.java,
6160         gnu/java/nio/charset/Provider.java,
6161         gnu/java/nio/charset/US_ASCII.java,
6162         gnu/java/nio/charset/UTF_16.java,
6163         gnu/java/nio/charset/UTF_16BE.java,
6164         gnu/java/nio/charset/UTF_16Decoder.java,
6165         gnu/java/nio/charset/UTF_16Encoder.java,
6166         gnu/java/nio/charset/UTF_16LE.java,
6167         gnu/java/nio/charset/UTF_8.java: New files.
6168
6169 2002-11-11  Michael Koch <konqueror@gmx.de>
6170
6171         * java/nio/charset/CharacterCodingException.java:
6172         This class must be public.
6173         * java/nio/charset/CoderMalfunctionError.java:
6174         This class must be public.
6175         * java/nio/charset/CodingErrorAction.java:
6176         This class must be public.
6177         * java/nio/charset/IllegalCharsetNameException.java:
6178         This class must be public, better implementation.
6179         * java/nio/charset/MalformedInputException.java:
6180         This class must be public, better implementation.
6181         * java/nio/charset/UnmappableCharacterException.java:
6182         This class must be public, better implementation.
6183         * java/nio/charset/UnsupportedCharsetException.java:
6184         This class must be public, better implementation.
6185
6186 2002-11-11  Michael Koch <konqueror@gmx.de>
6187
6188         * java/nio/BufferOverflowException.java,
6189         java/nio/BufferUnderflowException.java: New file.
6190         * Makefile.am (ordinary_java_source_files):
6191         Added new files.
6192         * Makefile.in: Regenerated.
6193
6194 2002-11-10  Tom Tromey  <tromey@redhat.com>
6195
6196         * java/awt/Container.java (validate): Use tree lock.
6197         (getComponent): Likewise.
6198         (getComponents): Likewise.
6199         (addImpl): Likewise.
6200         (remove): Likewise.
6201         (removeAll): Likewise.
6202         (processEvent): Fixed indentation.
6203         (getComponentAt): Use tree lock.
6204         (findComponentAt): Likewise.
6205         (removeNotify): Likewise.
6206         (isAncestorOf): Likewise.
6207         (list): Likewise.
6208         (visitChildren): Likewise.
6209         (findNextFocusComponent): Likewise.
6210         (addNotifyContainerChildren): Likewise.
6211         (getAccessibleChildrenCount): Likewise.
6212         (getAccessibleChild): Likewise.
6213
6214         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6215         (getSize): Likewise.
6216         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6217         (getSize): Likewise.
6218         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6219         (calcSize): Likewise.
6220         * java/awt/CardLayout.java (getSize): Use tree lock.
6221         (gotoComponent): Likewise.
6222         (layoutContainer): Likewise.
6223
6224         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6225         count is 0.
6226         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6227         count is 0.
6228
6229         * java/io/Externalizable.java, java/io/FilePermission.java,
6230         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6231         java/io/SerializablePermission.java, java/text/Format.java,
6232         java/util/AbstractMap.java, java/util/HashMap.java,
6233         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6234         versions from Classpath.
6235
6236 2002-11-10  Anthony Green  <green@redhat.com>
6237
6238         * java/util/jar/Attributes.java (Name): Fix name check.
6239
6240 2002-11-10  Mark Wielaard  <mark@klomp.org>
6241
6242         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6243         with getName() as message.
6244         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6245         type as message.
6246
6247         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6248         unused.
6249
6250 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6251
6252         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6253         for Win32. JNICALL has been defined to __stdcall to be compatible
6254         with Sun's JDKs.
6255
6256 2002-11-10  Tom Tromey  <tromey@redhat.com>
6257
6258         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6259         (setRows): Check newRows, not rows.
6260
6261         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6262
6263 2002-11-09  Tom Tromey  <tromey@redhat.com>
6264
6265         * java/applet/Applet.java, java/applet/AppletContext.java,
6266         java/applet/AppletStub.java, java/applet/AudioClip.java,
6267         java/awt/CardLayout.java,
6268         java/awt/ContainerOrderFocusTraversalPolicy.java,
6269         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6270         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6271         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6272         java/awt/color/ICC_ColorSpace.java,
6273         java/awt/color/ICC_Profile.java,
6274         java/awt/color/ICC_ProfileGray.java,
6275         java/awt/color/ICC_ProfileRGB.java,
6276         java/awt/datatransfer/DataFlavor.java,
6277         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6278         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6279         New versions from Classpath.
6280         * Makefile.in: Rebuilt.
6281         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6282         ICC_ProfileRGB.
6283
6284         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6285         display policy.
6286
6287         * java/awt/List.java (processEvent): Added missing `else's.
6288
6289         * java/awt/Window.java (show): validate() before showing.  Make
6290         parent displayable.
6291         (isDisplayable): New method.
6292
6293 2002-11-07  Mark Wielaard  <mark@klomp.org>
6294
6295         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6296         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6297
6298         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6299         annotation.
6300         (loadClass): Take String as codebases.
6301         (getClassAnnotation): Use MyClassLoader annotations.
6302         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6303         call exportObject(this).
6304
6305         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6306         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6307         (setAnnotation): Don't set locBytesStream and locStream.
6308         (replaceObject): Removed.
6309         (flush): Don't test locStream.
6310         (getLocBytes): LikeWise.
6311         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6312         (leaseCache): New field.
6313         (dirty): Use leaseCache.
6314         (LeaseRecord): New inner class.
6315         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6316         explicitly call exportObject().
6317         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6318         false to communicate with Sun JDK130.
6319         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6320         * gnu/java/rmi/server/RMIObjectInputStream.java
6321         (UnicastConnectionManager): Removed field.
6322         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6323         Use UnicastServer.getExportedRef().
6324         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6325         (expireTime): Likewise.
6326         (CONNECTION_TIMEOUT): Likewise.
6327         (disconnect): Call sock.close().
6328         (isExpired): New method.
6329         (resetTime): Likewise.
6330         (run): Use do while loop and catch Exception for discardConnection().
6331         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6332         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6333         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6334         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6335         (exportObject): Use refcache.
6336         (unexportObject): Likewise.
6337         (getExportedRef): New method.
6338         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6339         constructor.
6340         (exportObject): Save manager.serverobj.
6341         (getStub): New method.
6342
6343 2002-11-07  Mark Wielaard  <mark@klomp.org>
6344
6345         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6346         (getByte): Likewise.
6347         (getShort): Likewise.
6348         (getInt): Likewise.
6349         (getLong): Likewise.
6350         (getFloat): Likewise.
6351         (getDouble): Likewise.
6352         (get): Likewise.
6353         (setChar): Likewise.
6354         (setByte): Likewise.
6355         (setShort): Likewise.
6356         (setInt): Likewise.
6357         (setLong): Likewise.
6358         (setFloat): Likewise.
6359         (setDouble): Likewise.
6360
6361 2002-11-07  Michael Koch <konqueror@gmx.de>
6362
6363         * java/awt/Choice.java,
6364         java/awt/Container.java,
6365         java/awt/GridBagLayout.java:
6366         Fixed documentation.
6367         * java/awt/peer/ContainerPeer.java:
6368         Reindented.
6369
6370 2002-11-07  Michael Koch <konqueror@gmx.de>
6371
6372         * java/awt/color/ICC_Profile.java:
6373         Added missing constants.
6374         * java/awt/color/ICC_ColorSpace.java
6375         (getMinValue): Added dummy implementation.
6376         (getMaxValue): Added dummy implementation.
6377         * java/awt/datatransfer/DataFlavor.java
6378         (imageFlavor): Added.
6379         (isMimeTypeEqual): Must be final.
6380         (getDefaultRepresentationClass): Must be non-static.
6381         (getDefaultRepresentationClassAsString): Must be non-static.
6382         * java/awt/dnd/DragSourceContext.java
6383         (dragExit): Corrected argument.
6384         (dragDropEnd): Corrected argument.
6385         * java/awt/dnd/DragSourceListener.java.java
6386         (dragExit): Corrected argument.
6387         (dragDropEnd): Corrected argument.
6388         * java/awt/font/TextHitInfo.java
6389         (toString): Added stubbed implementation.
6390         * java/awt/geom/PathIterator.java:
6391         The constants must be static.
6392         * java/awt/image/VolatileImage.java
6393         (IMAGE_INCOMPATIBLE): Fixed typo.
6394         * java/awt/image/renderable/RenderableImage.java
6395         (HINTS_OBSERVED): Must be static.
6396         * java/beans/BeanInfo.java:
6397         Constants must be final.
6398
6399 2002-11-06  Tom Tromey  <tromey@redhat.com>
6400
6401         From svens@it.uu.se.  For PR libgcj/8481.
6402         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6403
6404 2002-11-06  Tom Tromey  <tromey@redhat.com>
6405
6406         * jni.cc (array_from_valist): Assume that jlong won't be
6407         promoted.
6408
6409 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6410
6411         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6412         Return 20.
6413         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6414         Return 16.
6415
6416 2002-11-03  Tom Tromey  <tromey@redhat.com>
6417
6418         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6419         VMClassLoader, not findClass.
6420
6421 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6422
6423         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6424         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6425         _Jv_DetermineVTableIndex, to determine vtable offset.
6426         (_Jv_DetermineVTableIndex): Remove.
6427         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6428
6429         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6430
6431 2002-11-03  Tom Tromey  <tromey@redhat.com>
6432
6433         * java/nio/channels/AlreadyConnectedException.java: Extend
6434         IllegalStateException, per spec.
6435
6436 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6437
6438         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6439
6440 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6441
6442         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6443         size items.
6444
6445 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6446
6447         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6448         initial estimated size to avoid enlarge buffer frequently.
6449
6450 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6451
6452         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6453         ClassLoader when null.
6454         (ProxyType.hashCode): Loader null check no longer needed.
6455         (ProxyType.sameTypes): New method.
6456         (ProxyType.equals): Use new method.
6457
6458 2002-10-31  Mark Wielaard  <mark@klomp.org>
6459
6460         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6461         length of String.
6462         * java/net/URLEncoder.java (encode): Likewise.
6463
6464 2002-10-31  Mark Wielaard  <mark@klomp.org>
6465
6466         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6467         when stream is closed.
6468         (closeEntry): Likewise.
6469         (read): Likewise.
6470         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6471         ZipException when no entry active.
6472         (closeEntry): Likewise.
6473         (write): Likewise.
6474
6475 2002-11-02  Tom Tromey  <tromey@redhat.com>
6476
6477         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6478         * java/lang/natClass.cc (initializeClass): Don't return just
6479         because self==thread.
6480
6481         For PR java/8415:
6482         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6483         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6484
6485 2002-11-02  Andreas Schwab  <schwab@suse.de>
6486
6487         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6488         pass GCJFLAGS.
6489         (FLAGS_TO_PASS): Define.
6490         * Makefile.in: Regenerated.
6491
6492 2002-11-01  Michael Koch  <konqueror@gmx.de>
6493
6494         * java/nio/ByteOrder.java: New file.
6495         * java/nio/channels/DatagramChannel.java:
6496         (DatagramChannel): New constructor.
6497         * java/nio/channels/Pipe.java: New file.
6498         * java/nio/channels/SelectableChannel.java: New file.
6499         * java/nio/channels/SelectionKey.java: New file.
6500         * java/nio/channels/Selector.java: New file.
6501         * java/nio/channels/ServerSocketChannel.java
6502         (ServerSocketChannel): New constructor.
6503         * java/nio/channels/SocketChannel.java
6504         (SocketChannel): New constructor.
6505         * java/nio/channels/Pipe.java: New file.
6506         * java/nio/channels/spi/AbstractChannel.java: New file.
6507         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6508         * java/nio/channels/spi/AbstractSelectableChannel.java:
6509         License added
6510         (AbstractSelectableChannel): New stubbed method.
6511         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6512         * java/nio/channels/spi/AbstractSelector.java: New file.
6513         * java/nio/channels/spi/SelectorProvider.java: New file.
6514         * java/nio/charset/Charset.java: New file.
6515         * java/nio/charset/CoderMalfunctionError.java: New file.
6516         * java/nio/charset/CodingErrorAction.java: New file.
6517         * java/nio/charset/spi/CharsetProvider.java
6518         (charsetForName): Uncommented.
6519         * Makefile.am (java_native_source_files): Added new files.
6520         * Makefile.in: Regenerated.
6521
6522 2002-11-01  Michael Koch  <konqueror@gmx.de>
6523
6524         * java/net/InetAddress.java:
6525         (isAnyLocalAddress): Implemented.
6526         (isLoopbackAddress): Implemented, comment added.
6527         (isLinkLocalAddress): Implemented, documentation added.
6528         (isSiteLocalAddress): Implemented, documentation added.
6529         (isMCGlobal): Implemented, documentation added.
6530         (isMCNodeLocal): Implemented, documentation added.
6531         (isMCLinkLocal): Implemented, documentation added.
6532         (isMCSiteLocal): Implemented, documentation added.
6533         (isMCOrgLocal): Implemented, documentation added.
6534         (getHostName): Documentation added.
6535         (getCanonicalHostName): Implemented, documentation added.
6536         (getAddress): Documentation added.
6537         (hashCode): Documentation added.
6538         (equals): Documentation added.
6539         (toString): Fixed implementation.
6540         (getByAddress): Use Inet4Address and Inet6Address.
6541         (lookup): New linewrap.
6542         (getByName): SecurityManager check added, support Inet4Address and
6543         Inet6address, comments added.
6544         (getAllByName): SecurityManager check added, comments added.
6545         * java/net/Inet6Address.java:
6546         (Inet6Address): Initialize parent class with addr instead of null.
6547         * java/net/URL.java
6548         (equals): Documentation added.
6549         (getFile): Documentation added.
6550         (hashCode): Documentation added.
6551         * java/net/natInetAddress.cc:
6552         (aton): Fix IPv6 support.
6553         * java/net/natPlainDatagramSocketImpl.cc:
6554         (peek): Throw PortUnreachableException when suitable.
6555         (peekData): Throw PortUnreachableException when suitable.
6556         (send): Throw PortUnreachableException when suitable.
6557         (receive): Throw PortUnreachableException when suitable.
6558
6559 2002-10-27  Mark Wielaard  <mark@klomp.org>
6560
6561         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6562         argument.
6563         (readLeShort): Likewise and use byte[].
6564         (readLeInt): Likewise.
6565         (readEntries): Use new versions of methods and use byte[] for reading
6566         a complete zip entry. Add ZipFile name to exceptions.
6567         (entries): Add ZipFile name to exceptions.
6568         (getEntry): Likewise.
6569         (checkLocalHeader): Use new versions of methods and add ZipFile name
6570         to exceptions.
6571
6572 2002-10-31  Mark Anderson  <mark@panonet.net>
6573
6574         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6575         added
6576
6577 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6578
6579         * configure.in: Disable hash sync when not using threads.
6580         * configure: Regenerated.
6581
6582 2002-10-24  Tom Tromey  <tromey@redhat.com>
6583
6584         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6585         (_Jv_FindSymbolInExecutable): Removed argument name.
6586         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6587         java.library.path is set.
6588
6589         * gij.cc (help): Document --showversion.
6590         (version): Don't exit.
6591         (main): Handle --showversion.  Exit if --version given.
6592
6593 2002-10-23  Tom Tromey  <tromey@redhat.com>
6594
6595         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6596         (array_from_valist): Correctly handle promotion for jint, jlong,
6597         jfloat, and jdouble.
6598
6599 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6600
6601         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6602         GetFileAttributesEx( ) to find file length and modification times,
6603         as the latter is not present on Windows 95.
6604
6605 2002-10-21  Michael Koch  <konqueror@gmx.de>
6606
6607         * java/net/URL.java
6608         (URL): Activate SecurityManager checks.
6609         (equals): Use URLStreamHandler implementation instead of doing it
6610         alone. This allows special protocol stream handlers to change default
6611         behaviour.
6612         (hashCode): Use URLStreamHandler implementation instead of doing it
6613         alone. This allows special protocol stream handlers to change default
6614         behaviour.
6615         * java/net/URLStreamHandler.java
6616         (equals): Implemented default URL equality check.
6617         (hostsEqual): Implemented default URL equality check.
6618         (hashCode): Implemented default URL hashCode algorithm.
6619         * java/net/natPlainDatagramSocketImpl.cc:
6620         No lines longer then 80 characters.
6621
6622 2002-10-20  Adam Megacz <adam@xwt.org>
6623
6624         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6625         * configure.in: enabled hash sync on Win32
6626         * include/win32-threads.h (_Jv_ThreadId_t): added.
6627         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6628         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6629         removed some posix-isms, use Thread::sleep() instead of usleep,
6630         added code to clear bottom three bits if platform has a broken
6631         linker.
6632         * include/win32-threads.h (_Jv_ThreadId_t): added.
6633
6634 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6635
6636         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6637         runtime property "gnu.gcj.progname" containing the name used to
6638         invoke the current Java program (similar to argv[0] for C
6639         programs).
6640
6641 2002-10-15  Tom Tromey  <tromey@redhat.com>
6642
6643         Fix for PR libgcj/8234:
6644         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6645         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6646
6647 2002-10-13  Mark Wielaard  <mark@klomp.org>
6648
6649         * mauve-libgcj: Enable Mauve tests that compile now.
6650
6651 2002-10-11  Mark Wielaard  <mark@klomp.org>
6652
6653         Fix for PR libgcj/8142
6654         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6655         loading native modules.
6656
6657 2002-10-10  Michael Koch  <konqueror@gmx.de>
6658
6659         * javax/swing/AbstractListModel.java
6660         (getListDataListeners): New stubbed method.
6661         javax/swing/DefaultBoundedRangeModel.java
6662         (getChangeListeners): New stubbed method.
6663         javax/swing/DefaultSingleSelectionModel.java
6664         (getChangeListeners): New stubbed method.
6665
6666 2002-10-10  Michael Koch  <konqueror@gmx.de>
6667
6668         * gcj/.cvsignore: New file to ignore files generated during build.
6669         * include/.cvsignore: New file to ignore files generated during build.
6670
6671 2002-10-10  Michael Koch  <konqueror@gmx.de>
6672
6673         * java/net/HttpURLConnection.java
6674         (getPermission): New method.
6675         (getErrorStream): New stub method.
6676         (getHeaderFieldDate): New stub method.
6677         * java/net/Inet4Address.java:
6678         (isLinkLocalAddress): Typo fixed.
6679         * java/net/InetAddress.java:
6680         (readResolve): New stubbed method (for serialization).
6681         (isAnyLocalAddress): New stubbed method.
6682         (isLoopbackAddress): New stubbed method.
6683         (isLinkLocalAddress): New stubbed method.
6684         (isSiteLocalAddress): New stubbed method.
6685         (isMCGlobal): New stubbed method.
6686         (isMCNodeGlobal): New stubbed method.
6687         (isMCLinkLocal): New stubbed method.
6688         (isMCSiteLocal): New stubbed method.
6689         (isMCOrgLocal): New stubbed method.
6690         (getCanonicalHostName): New stubbed method.
6691         (getByAddress): Create instances of Inet4Address/Inet6Address,
6692         instead of InetAddress, documentation added.
6693         * java/net/MulticastSocket.java
6694         (getInterface): Removed FIXME.
6695         (getNetworkInterface): New method.
6696         (setNetworkInterface): New method.
6697         * java/net/NetworkInterface.java:
6698         (toString): Use property "line.separator" instead of "\n".
6699         * java/net/URLConnection.java
6700         (getContent): New stubbed method.
6701         * java/net/URLStreamHandler.java:
6702         (equals): New stubbed method.
6703         (hostsEqual): New stubbed method.
6704         (hashCode): New stubbed method.
6705         * java/net/natNetworkInterface.cc:
6706         (getRealNetworkInterfaces): Create Inet4Address object
6707         instead of InetAddress.
6708
6709 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6710
6711         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6712         unsigned long temporary to implement insn_iushr shifts.
6713
6714 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6715
6716         * configure.host [s390*-*]: Enable Java interpreter.
6717         Enable hash synchronization.  Add sysdeps dir.
6718         * sysdep/s390/locks.h: New file.
6719
6720 2002-10-06  Mark Wielaard  <mark@klomp.org>
6721
6722         * java/lang/Thread.java (setDaemon): Check startable_flag,
6723         not isAlive().
6724
6725 2002-10-07  Michael Koch  <konqueror@gmx.de>
6726
6727         * java/nio/Buffer.java: New stub file.
6728         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6729         of class Charset.
6730         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6731         * Makefile.in: Regenerated.
6732
6733 2002-10-07  Michael Koch  <konqueror@gmx.de>
6734
6735         * java/nio/ByteBuffer.java:
6736         removed import of not commited class.
6737
6738 2002-10-07  Michael Koch  <konqueror@gmx.de>
6739
6740         * java/nio/ByteBuffer.java,
6741         java/nio/MappedByteBuffer.java:
6742         New files, forgot to add these dummies.
6743         * Makefile.am (java_native_source_files): Added new files.
6744         * Makefile.in: Regenerated.
6745
6746 2002-10-07  Michael Koch  <konqueror@gmx.de>
6747
6748         * java/nio/channels/AlreadyConnectedException.java,
6749         java/nio/channels/ClosedChannelException.java,
6750         java/nio/channels/ReadableByteChannel.java,
6751         java/nio/channels/InterruptibleChannel.java,
6752         java/nio/channels/Channel.java,
6753         java/nio/channels/ByteChannel.java,
6754         java/nio/channels/GatheringByteChannel.java,
6755         java/nio/channels/ScatteringByteChannel.java,
6756         java/nio/channels/WritableByteChannel.java,
6757         java/nio/charset/CharacterCodingException.java,
6758         java/nio/charset/IllegalCharsetNameException.java,
6759         java/nio/charset/MalformedInputException.java,
6760         java/nio/charset/UnmappableCharacterException.java,
6761         java/nio/charset/UnsupportedCharsetException.java,
6762         java/nio/charset/spi/CharsetProvider.java: New file.
6763         These files are exceptions or interfaces,
6764         no real or abstract classes.
6765         * Makefile.am (java_native_source_files): Added new files.
6766         * Makefile.in: Regenerated.
6767
6768 2002-10-05  Michael Koch  <konqueror@gmx.de>
6769
6770         * java/net/InetAddress.java
6771         (getByAddress): Fixed documentation.
6772         (getByAddress): New method.
6773         * java/net/Inet4Address.java: New file.
6774         * java/net/URL.java
6775         (URL): Documentation added.
6776         (getContent): Documentation added.
6777         (getContent): New stubbed method.
6778         (getQuery): New method.
6779         (openConnection): Documentation added.
6780         (openStream): Documentation added.
6781         (setURLStreamHandlerFactory): Documentation added.
6782         * java/net/URI.java: New stub file.
6783         * Makefile.am
6784         (java_native_source_files): Added java/net/Inet4Address.java,
6785         java/net/Inet6Address.java and java/net/URI.java.
6786         * Makefile.in: Regenerated.
6787
6788 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6789
6790         * java/lang/ProtectionDomain.java (linesep): Remove field.
6791         (toString): Use System.getProperty("line.separator").
6792
6793 2002-10-04  Michael Koch  <konqueror@gmx.de>
6794
6795         * java/security/Identity.java: Added serialVersionUID.
6796         * java/security/KeyPair.java: Added serialVersionUID.
6797         * java/security/Provider.java: Added serialVersionUID.
6798         * java/security/SecureRandom.java: Added serialVersionUID.
6799         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6800         * java/security/SignedObject.java: Added serialVersionUID.
6801         * java/security/cert/Certificate.java: Added serialVersionUID.
6802
6803 2002-10-04  Mark Wielaard <mark@klomp.org>
6804
6805         * java/security/Security.java: Use java.home or gnu.classpath.home
6806         to load providers.
6807         (loadProviders): Extra dir argument.
6808         (getProvider): Return null when not found.
6809
6810 2002-10-04  Mark Wielaard  <mark@klomp.org>
6811
6812         * java/lang/Throwable.java: Remerge with Classpath.
6813
6814 2002-10-04  Michael Koch  <konqueror@gmx.de>
6815
6816         * java/net/InetAddress.java:
6817         (isMulticastAddress): Added documentation.
6818         (getHostAddress): Added documentation.
6819         (toString): Added documentation.
6820         (getByAddress): Fixed documentation.
6821         (getByName): Added documentation.
6822         (getAllByName): Added documentation.
6823         (getLocalHost): Added documentation.
6824
6825 2002-10-04  Michael Koch  <konqueror@gmx.de>
6826
6827         * java/beans/beancontext/BeanContextChildSupport.java:
6828         Added serialVersionUID.
6829         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6830         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6831         * javax/naming/Name.java: Added serialVersionUID.
6832
6833 2002-10-03  Adam Megacz <adam@xwt.org>
6834
6835         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6836         some functionality that isn't supported yet on WIN32.
6837
6838 2002-10-03  Tom Tromey  <tromey@redhat.com>
6839
6840         * Makefile.in: Rebuilt.
6841         * Makefile.am (awt_java_source_files): Added new files.
6842
6843 2002-10-03  Michael Koch  <konqueror@gmx.de>
6844
6845         * java/net/InetAddress.java
6846         (class InetAddress): Removed final keyword.
6847         (equals): Fixed typo.
6848         (getByAddress): New method.
6849
6850 2002-10-03  Michael Koch  <konqueror@gmx.de>
6851
6852         * java/awt/dnd/Autoscroll.java:
6853         New file, merge from Classpath.
6854         * java/awt/dnd/DragSourceAdapter.java:
6855         (dragExit): Fixed typos in argument type.
6856         (dragDropEnd): Fixed typos in argument type.
6857         * java/awt/dnd/DragSourceDropEvent.java:
6858         New file, merge from Classpath.
6859         * java/awt/dnd/DropTarget.java:
6860         Added stubs, merge from Classpath.
6861         * java/awt/dnd/DropTargetAdapter.java:
6862         New file, merge from Classpath.
6863         * java/awt/dnd/DropTargetContext.java:
6864         New file, merge from Classpath.
6865         * java/awt/dnd/DropTargetDragEvent.java:
6866         New file, merge from Classpath.
6867         * java/awt/dnd/DropTargetDropEvent.java:
6868         New file, merge from Classpath.
6869         * java/awt/dnd/DropTargetEvent.java:
6870         New file, merge from Classpath.
6871         * java/awt/dnd/DropTargetListener.java:
6872         New file, merge from Classpath.
6873         * java/awt/dnd/MouseDragGestureRecognizer.java:
6874         New file, merge from Classpath.
6875         * java/awt/dnd/peer/DropTargetContextPeer.java:
6876         New file, merge from Classpath.
6877
6878 2002-10-03  Michael Koch  <konqueror@gmx.de>
6879
6880         * java/net/DatagramPacket.java
6881         (setLength): Fixed typo and be HTML-aware.
6882         * java/net/InetSocketAddress.java
6883         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6884         (equals): Added comment about equality of InetSocketAddress objects.
6885         * java/net/ServerSocket.java
6886         (accept): Added checks.
6887         (isClosed): New stubbed method.
6888         * java/net/SocketOptions.java: Reindention.
6889         * java/net/SocketPermission
6890         (SocketPermission): Documentation fixed.
6891
6892 2002-10-03  Michael Koch  <konqueror@gmx.de>
6893
6894         * java/net/DatagramSocket.java
6895         (receive): Check with SecurityManager AFTER the packet is received,
6896         check if connected to multicast address, documentation added.
6897         (send): Only check SecurityManager if connected, check address of
6898         packet to send.
6899         (connect): Implemented, documentation added.
6900         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6901         * java/net/InetSocketAddress.java
6902         (whole file): Reindented.
6903         (hostname): New attribute.
6904         (InetSocketAddress): Initialize new attribute.
6905         (getAddress): Documentation added.
6906         (getHostName): Documentation added.
6907         (getPort): Documentation added.
6908         (hashCode): Documentation added.
6909         (isUnresolved): Documentation added.
6910         (toString): Conform to output of JDK 1.4.1, documentation added.
6911         * java/net/MulticastSocket.java
6912         (joinGroup): Removed FIXME, documentation added.
6913         (leaveGroup): Removed FIXME, documentation added.
6914         (send): Documentation added.
6915         * java/net/Socket.java
6916         (inputShutdown): New variable.
6917         (outputShutdown): New variable.
6918         (Socket): Initialize new variables.
6919         (getRemoteSocketAddress): Check if connected.
6920         (shutdownInput): Set new variable.
6921         (shutdownOutput): Set new variable.
6922         (isConnected): New method.
6923         (isClosed): New method.
6924         (isInputShutdown): New method.
6925         (isOutputShutdown): New method.
6926         * java/net/URLStreamHandler.java
6927         (URLStreamHandler): New method.
6928         (openConnection): Added documentation.
6929         (parseURL): Added documentation.
6930         (getHostAddress): New method.
6931         (getDefaultPort): New method.
6932
6933 2002-10-02  Tom Tromey  <tromey@redhat.com>
6934
6935         * java/rmi/activation/ActivationDesc.java,
6936         java/rmi/activation/ActivationGroupDesc.java,
6937         java/rmi/activation/ActivationGroupID.java,
6938         java/rmi/activation/ActivationID.java: New versions from
6939         Classpath.
6940
6941 2002-09-30  Bo Thorsen  <bo@suse.de>
6942
6943         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6944
6945 2002-09-30  Tom Tromey  <tromey@redhat.com>
6946
6947         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6948         from Classpath.
6949         * Makefile.in: Rebuilt.
6950         * Makefile.am (rmi_java_source_files): Added new files.
6951         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6952         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6953         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6954         Classpath.
6955         * gnu/java/rmi/dgc/DGCImpl.java,
6956         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6957         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6958         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6959         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6960         gnu/java/rmi/server/RMIHashes.java,
6961         gnu/java/rmi/server/RMIObjectInputStream.java,
6962         gnu/java/rmi/server/RMIObjectOutputStream.java,
6963         gnu/java/rmi/server/UnicastConnection.java,
6964         gnu/java/rmi/server/UnicastConnectionManager.java,
6965         gnu/java/rmi/server/UnicastRef.java,
6966         gnu/java/rmi/server/UnicastServer.java,
6967         gnu/java/rmi/server/UnicastServerRef.java,
6968         java/rmi/MarshalledObject.java,
6969         java/rmi/server/RMIClassLoader.java,
6970         java/rmi/server/RemoteObject.java,
6971         java/rmi/server/UnicastRemoteObject.java,
6972         java/security/SecureClassLoader.java: Merged from Classpath.
6973
6974 2002-09-29  Anthony Green  <green@redhat.com>
6975
6976         * java/lang/reflect/UndeclaredThrowableException.java: New file.
6977         Imported from GNU Classpath.
6978         * java/lang/reflect/natProxy.cc: New file.
6979         * java/lang/reflect/InvocationHandler.java: New file.  Imported
6980         from GNU Classpath.
6981         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
6982         Classpath.
6983         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
6984         Classpath.
6985         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
6986         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
6987         New statics.
6988         * gcj/javaprims.h ("Java"): Add new classes.
6989         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
6990         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
6991         java/lang/reflect/Proxy$$ProxyType.h): And this.
6992         (inner_nat_headers): Add these new headers.
6993         (ordinary_java_source_files): Add new files.
6994         (nat_source_files): Add new file.
6995         * Makefile.in: Rebuilt.
6996
6997 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
6998
6999         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7000         a single configuration.
7001
7002 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7003
7004         * java/util/TimeZone.java (getDSTSavings): New method.
7005         Fixes PR libgcj/7786.
7006
7007 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7008
7009         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7010         to see if `the_method == 0' before looking up vtable index.
7011         Fixes PR libgcj/7709.
7012
7013 2002-09-25  Tom Tromey  <tromey@redhat.com>
7014
7015         * java/lang/natClassLoader.cc:
7016         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7017         * resolve.cc: Include NoClassDefFoundError.h, not
7018         ClassNotFoundException.h.
7019         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7020
7021         * defineclass.cc: Don't include ClassNotFoundException.h.
7022
7023         * resolve.cc: Include StringBuffer.
7024         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7025
7026         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7027         allocated but not initialized.
7028
7029 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7030
7031         Fix for PR libgcj/7766:
7032         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7033         (getNextEntry): Set it.
7034         (closeEntry): Likewise.
7035         (read): Likewise.
7036         (close): Likewise.
7037         (available): Use it.
7038
7039 2002-09-25  Michael Koch  <konqueror@gmx.de>
7040
7041         * java/net/DatagramSocket.java
7042         (DatagramSocket): Initialize new instance variables.
7043         (close): Reset new instance variables.
7044         (getLocalAddress): Remove unneeded SecurityManager usage.
7045         (getLocalPort): Check if socket is already bound.
7046         (isConnected): New method.
7047         (getInetAddress): Implemented.
7048         (getPort): Better Implementation, documentation fixed.
7049         (getRemoteSocketAddress): New method.
7050         * java/net/JarURLConnection.java
7051         (element): Typo fixed.
7052         (getMainAttributes): New method.
7053         (getAttributes): New method (stub only).
7054         (getManifest): New method (stub only).
7055         * java/net/NetPermission.java: Added serialVersionsUID.
7056         * java/net/Socket.java
7057         (connect): Check blocking mode of associated channel,
7058         documentation added.
7059         (getLocalSocketAddress): Better implementation.
7060         (getRemoteSocketAddress): Implemented.
7061         (isBound): New method.
7062         (setSendBufferSize): Documentation added.
7063         * java/net/SocketAddress.java: Added serialVersionsUID.
7064         * java/net/SocketPermission.java: Added serialVersionsUID.
7065         * java/net/URL.java
7066         (URL): Wrap for shorter lines, initialize new instance variables,
7067         documentation added.
7068         (equals): Check new instance variables too.
7069         (getContent): Documentation added.
7070         (getPath): Documentation added.
7071         (getAuthority): New method.
7072         (getHost): Documentation added.
7073         (getPort): Documentation added.
7074         (getDefaultPort): New method.
7075         (getProtocol): Documentation added.
7076         (getUserInfo): Documentation added.
7077         (set): Initialize new instance variables, documentation added.
7078         * java/net/URLStreamHandler.java
7079         (setURL): New method.
7080         * java/net/natPlainDatagramSocketImpl.cc
7081         (connect): Fix exception name.
7082         (disconnect): Fix exception name.
7083
7084 2002-09-25  Michael Koch  <konqueror@gmx.de>
7085
7086         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7087         * java/nio/channels/DatagramChannel.java:
7088         extends AbstractSelectableChannel
7089         * java/nio/channels/ServerSocketChannel.java:
7090         extends AbstractSelectableChannel
7091         * java/nio/channels/SocketChannel.java:
7092         extends AbstractSelectableChannel
7093         * Makefile.am (ordinary_java_source_files):
7094         java/nio/channels/spi/AbstractSelectableChannel.java added.
7095         * Makefile.in: Regenerated.
7096
7097 2002-09-25  Michael Koch  <konqueror@gmx.de>
7098
7099         * java/net/DatagramSocket.java
7100         (DatagramSocket): Exception documentation added.
7101         (bind): Exception documentation added, addded SecurityManager check,
7102         added SocketAddress type check.
7103         (getSoTimeout): Check impl.
7104         (receive): Fix SecurityManager check, check impl, documentation added.
7105         (send): Check channel mode, documentation added.
7106         (connect): New method.
7107         (disconnect): Implemented.
7108         (getLocalSocketAddress): New method.
7109         (getReceiveBufferSize): Check impl.
7110         (setReuseAddress): Check impl.
7111         (getReuseAddress): Check impl.
7112         (setBroadcast): Check impl.
7113         (getBroadcast): Check impl.
7114         (setTrafficClass): Check impl, Documentation cleared.
7115         (getTrafficClass): Check impl.
7116         (getSendBufferSize): Check impl.
7117         (setReceiveBufferSize): Check impl, documentation added.
7118         (setSendBufferSize): Documentation added.
7119         (setDatagramSocketImplFactory): New method.
7120         * java/net/HttpURLConnection.java
7121         (HTTP_INTERNAL_ERROR): The correct code is 500.
7122         (HTTP_NOT_IMPLEMENTED): Added new constant.
7123         (setFollowRedirects): Documentation added.
7124         (getInstanceFollowRedirects): New method.
7125         (setInstanceFollowRedirects): New method.
7126         (setRequestMethod): Documentation added.
7127         (getResponseCode): Documentation added.
7128         (getResponseMessage): Documentation added.
7129         * java/net/JarURLConnection.java
7130         (JarURLConnection): protected since JDK 1.4.
7131         (getJarEntry): java.io.IOException to IOException, documentation added.
7132         (getJarFile): Documentation added.
7133         * java/net/ServerSocket.java
7134         (ServerSocket): Private to public, exception added.
7135         (ServerSocket): java.io.IOException to IOException, documentation added.
7136         (bind): Check socket address type, documentation added.
7137         (bind): java.io.IOException to IOException, documentation added.
7138         (accept): Documentation added.
7139         (implAccept): Check ch is not non-blocking, documentation added.
7140         (setSoTimeout): Documentation fixed.
7141         (setReceiveBufferSize): Documentation added.
7142         * java/net/Socket.java
7143         (Socket): Documentation added.
7144         (bind): Documentation added.
7145         (connect): Check socket address type, documentation added.
7146         (getRemoteSocketAddress): New method.
7147         (getLocalSocketAddress): New method.
7148         (setSoLinger): Documentation added.
7149         (getReuseAddress): New method.
7150         (setReuseAddress): New method.
7151         (getTrafficClass): New method.
7152         (setTrafficClass): New method.
7153         * java/net/URLStreamHandler.java
7154         (openConnection): java.io.IOException to IOException.
7155         (parseURL): Documentation added.
7156         (sameFile): public to protected, documentation added.
7157         (setURL): Documentation added.
7158         * java/nio/IllegalBlockingModeException.java: New file.
7159         * Makefile.am (ordinary_java_source_files):
7160         added java/nio/IllegalBlockingModeException.java
7161         * Makefile.in: Regenerated.
7162
7163 2002-09-25  Michael Koch  <konqueror@gmx.de>
7164
7165         * java/net/DatagramPacket
7166         (DatagramPacket): Exception documentation added.
7167         (setData): Likewise.
7168         (setSocketAddress): Likewise.
7169         * java/net/DatagramSocketImpl.java
7170         (peek): Documentation addded.
7171         (peekData): Documentation addded.
7172         (send): Documentation addded.
7173         (receive): Documentation addded.
7174         (connect): New method.
7175         (disconnect): New method.
7176         (joinGroup): New abstract method.
7177         (leaveGroup): New abstract method.
7178         * java/net/InetSocketAddress.java
7179         (InetSocketAddress): Documentation added.
7180         (equals): final keyword added.
7181         (getAddress): final keyword added.
7182         (getHostName): final keyword added.
7183         (getPort): final keyword added.
7184         (hashCode): final keyword added.
7185         (isUnresolved): final keyword added.
7186         * java/net/MulticastSocket.java
7187         (MulticastSocket): Documentation added.
7188         (MulticastSocket): New method.
7189         (joinGroup): Documentation added.
7190         (joinGroup): New method.
7191         (leaveGroup): Documentation added.
7192         (leaveGroup): New method.
7193         (send): Documentation added.
7194         * java/net/NetworkInterface.java
7195         (getByName): Documentation added.
7196         (getByInetAddress): Documentation added.
7197         (getNetworkInterfaces): Documentation added.
7198         * java/net/PlainDatagramSocketImpl.java
7199         (connect): New method.
7200         (disconnect): New method.
7201         * java/net/SocketImpl.java
7202         (create): Documentation added.
7203         (shutdownInput): Convert public to protected, as it always was.
7204         (shutdownOutput): Convert public to protected, as it always was.
7205         * java/net/SocketOptions.java
7206         (whole file): Reintented.
7207         * java/net/URLClassLoader.java
7208         (URLClassLoader): SecurityManager check added, documentation added.
7209         (findResources): Documentation added.
7210         (findClass): Documentation added.
7211         (newInstance): More correct method arguments.
7212         * java/net/URLConnection.java
7213         (connect): Documentation added.
7214         (getContent): Documentation added.
7215         (getPermission): Documentation added.
7216         (getInputStream): Documentation added.
7217         (getOutputStream): Documentation added.
7218         (setDoInput): Throw correct exception, documentation added.
7219         (setDoOutput): Throw correct exception, documentation added.
7220         (setAllowUserInteraction): Throw correct exception, documentation added.
7221         (setUseCaches): Throw correct exception, documentation added.
7222         (setIfModifiedSince): Throw correct exception, documentation added.
7223         (setRequestProperty): Throw exception, documentation added.
7224         (addRequestProperty): Throw exception, documentation added.
7225         (getRequestProperty): Throw exception, documentation added.
7226         (getRequestProperties): Documentation added.
7227         (setContentHandlerFactory): Documentation added.
7228         (guessContentTypeFromName): protected to public.
7229         (setFileNameMap): Documentation added.
7230         * java/net/URLDecoder.java
7231         (URLDecoder): New method.
7232         (decode): Documentation added.
7233         (whole file): Reindented.
7234         * java/net/URLEncoder.java
7235         (encode): Documentation added.
7236         * java/net/natPlainDatagramSocketImpl.cc
7237         (connect): New method.
7238         (disconnect): New method.
7239         * javax/naming/RefAddr:
7240         (addrType): addrType was never final.
7241         (equals): Fix typo in method name.
7242         * javax/naming/BinaryRefAddr:
7243         (equals): Fix typo in method name.
7244
7245 2002-09-22  Tom Tromey  <tromey@redhat.com>
7246
7247         Fix for PR libgcj/6576:
7248         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7249         didn't find a given bundle.
7250         (getBundle): Don't require base bundle.
7251         (setParent): Removed old comment.
7252         (tryLocalBundle): Try components even if preceding components were
7253         empty.
7254
7255 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7256
7257         * Makefile.am (all-multi): Fix multilib parallel build.
7258
7259 2002-09-21  Michael Koch  <konqueror@gmx.de>
7260
7261         * java/net/Socket.java
7262         (sendUrgentData): New method.
7263         (getChannel): New method.
7264         * java/net/ServerSocket.java
7265         (getChannel): New method.
7266         (isBound): New method.
7267         * java/net/DatagramSocket.java
7268         (DatagramSocket): Two new methods.
7269         (bind): New method.
7270         (getChannel): New method.
7271         (isBound): New method.
7272         (send): Added newline to to make shorter lines.
7273         * java/net/PlainDatagramSocketImpl.java
7274         (mcastGrp): Added argument.
7275         (join): Use new mcastGrp.
7276         (leave): Use new mcastGrp.
7277         (joinGroup): New method.
7278         (leaveGroup): New method.
7279         * java/net/natPlainDatagramSocketImpl.cc
7280         (mcastGrp): Added argument, no yet really implemented.
7281         (getOption): Added newline for shorter lines.
7282         * java/net/natPlainSocketImpl.cc
7283         (read, setOption, getOption): Added newline for shorter lines.
7284
7285 2002-09-19  Tom Tromey  <tromey@redhat.com>
7286
7287        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7288        newly-created exception.
7289
7290 2002-09-18  Michael Koch  <konqueror@gmx.de>
7291
7292         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7293         java/util/regex/PatternSyntaxException.java:
7294         Merge with classpath, new files.
7295         * Makefile.am (core_java_source_files):
7296         Added java/util/regex/Matcher.java,
7297         java/util/regex/Pattern.java,
7298         java/util/regex/PatternSyntaxException.java
7299         * Makefile.in: Regenerated.
7300         * include/config.h.in: Added HAVE_NET_IF_H.
7301         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7302         Removed #if 0 ... #endif.
7303
7304 2002-09-17  Michael Koch  <konqueror@gmx.de>
7305
7306         * java/net/natNetworkInterface.cc:
7307         Removed unneed and yet wrong includes.
7308
7309 2002-09-17  Michael Koch  <konqueror@gmx.de>
7310
7311         * java/net/NetworkInterface.java: New file.
7312         * java/net/natNetworkInterface.java: New file.
7313         * configure.in: Added check for net/if.h.
7314         * configure: Regenerated.
7315         * Makefile.am
7316         (ordinary_java_source_files): Added NetworkInterface.java.
7317         (nat_source_files): Added natNetworkInterface.cc.
7318         * Makefile.in: Regenerated.
7319
7320 2002-09-16  Tom Tromey  <tromey@redhat.com>
7321
7322         * java/net/URLClassLoader.java (findClass): Code source for a
7323         class from a jar is not necessarily a jar: URL.
7324
7325 2002-09-16  Michael Koch  <konqueror@gmx.de>
7326
7327         * java/lang/AssertionError.java:
7328         Merge with classpath, fixes HTML.
7329         * java/rmi/server/LogStream.java:
7330         Merge with classpath, fixes some constants.
7331         * java/net/server/RemoteServer.java:
7332         Merge with classpath, adds serialVersionUID.
7333         * javax/naming/BinaryRefAddr.java:
7334         Merge with classpath, s/equal/equals/.
7335         * javax/naming/NamingException.java:
7336         Merge with classpath, fixed typo.
7337         * javax/naming/RefAddr.java:
7338         Merge with classpath, s/equal/equals/.
7339         * java/awt/Toolkit.java:
7340         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7341         and typo fixed.
7342
7343 2002-09-15  Adam Megacz <adam@xwt.org>
7344
7345         * java/net/natPlainSocketImpl.cc: fixed typo.
7346
7347 2002-09-15  Adam Megacz <adam@xwt.org>
7348
7349         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7350         which don't work on Win32 (yet).
7351
7352 2002-09-14  Adam Megacz <adam@xwt.org>
7353
7354         * java/net/natPlainDatagramSocket.cc: removed #include
7355         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7356         * include/win32.h: included definition for IP_TOS to satisfy
7357         natPlainDatagramSocket.cc
7358
7359 2002-09-13  Michael Koch  <konqueror@gmx.de>
7360
7361         * java/net/DatagramPacket.java (DatagramPacket):
7362         Added linebreak for 80 chars per line.
7363         * java/net/JarURLConection.java
7364         (getInputStreami, getJarEntry): Likewise.
7365         * java/net/SocketPErmission.java
7366         (SocketPermission class docu, implies): Likewise.
7367         * java/net/URLClassLoader.java (findResources): Likewise.
7368         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7369
7370 2002-09-13  Michael Koch  <konqueror@gmx.de>
7371
7372         * java/nio/channels/DatagramChannel.java,
7373         java/nio/channels/ServerSocketChannel.java
7374         java/nio/channels/SocketChannel.java:
7375         New dummy files to make java.net fully JDK 1.4 compatible
7376         * Makefile.am (ordinary_java_source_files): Added
7377         java/net/DatagramSocketImplFactory.java (long forgotten),
7378         java/nio/SocketChannel.java,
7379         java/nio/ServerSocketChannel.java,
7380         java/nio/DatagramChannel.java
7381         * Makefile.in: Regenrated.
7382
7383 2002-09-12  Michael Koch  <konqueror@gmx.de>
7384
7385         * java/net/DatagramSocketImpl.java
7386         (peekData): New method.
7387         * java/net/PlainDatagramSocketImpl.java
7388         (peekData): New method.
7389         * java/net/natPlainDatagramSocketImpl.cc
7390         (peekData): New method.
7391         * java/net/URLConnection
7392         (getPermission): New method.
7393         (addRequestProperty): New method.
7394         (getRequestProperties): New method.
7395         (guessContentTypeFromStream): New method, not really implemented.
7396         (URLConnection): Added/updated documentation.
7397         (connect): Added/updated documentation.
7398         (getURL): Added/updated documentation.
7399         (getContentLength): Added/updated documentation.
7400         (getContentType: Added/updated documentation.
7401         (getContentEncoding): Added/updated documentation.
7402         (getExpiration): Added/updated documentation.
7403         (getDate): Added/updated documentation.
7404         (getLastModified): Added/updated documentation.
7405         (getHeaderField): Added/updated documentation.
7406         (getHeaderFields): Added/updated documentation.
7407         (getHeaderFieldInt): Added/updated documentation.
7408         (getHeaderFieldDate): Added/updated documentation.
7409         (getHeaderFieldKey): Added/updated documentation.
7410         (getContent): Added/updated documentation.
7411         (getInputStream): Added/updated documentation.
7412         (getOutputStream): Added/updated documentation.
7413         (toString): Added/updated documentation.
7414         (setDoInput): Added/updated documentation.
7415         (getDoInput): Added/updated documentation.
7416         (setDoOutput): Added/updated documentation.
7417         (getDoOutput): Added/updated documentation.
7418         (setAllowUserInteraction): Added/updated documentation.
7419         (getAllowUserInteraction): Added/updated documentation.
7420         (setDefaultAllowUserInteraction): Added/updated documentation.
7421         (getDefaultAllowUserInteraction): Added/updated documentation.
7422         (setUseCaches): Added/updated documentation.
7423         (getUseCaches): Added/updated documentation.
7424         (setIfModifiedSince): Added/updated documentation.
7425         (getIfModifiedSince): Added/updated documentation.
7426         (getDefaultUseCaches): Added/updated documentation.
7427         (setDefaultUseCaches): Added/updated documentation.
7428         (setRequestProperty): Added/updated documentation.
7429         (getRequestProperty): Added/updated documentation.
7430         (setDefaultRequestProperty): Added/updated documentation.
7431         (getDefaultRequestProperty): Added/updated documentation.
7432         (setContentHandlerFactory): Added/updated documentation.
7433         (guessContentTypeFromName): Added/updated documentation.
7434         (getFileNameMap): Added/updated documentation.
7435         (setFileNameMap): Added/updated documentation.
7436
7437 2002-09-11  Michael Koch  <konqueror@gmx.de>
7438
7439         * java/net/Socket.java
7440         (Socket): protected to public (since JDK 1.4). Added @specnote.
7441         (bind): New method.
7442         (connect): Two new methods.
7443         (getKeepalive): Get correct socket option.
7444         (setKeepalive): Set correct socket option.
7445         (getOOBInline): New method.
7446         (setOOBInline): New method.
7447         * java/net/ServerSocket.java
7448         (bind): Two new methods.
7449         (getInetAddress): Reimplemented, catch exception.
7450         (getLocalSocketAddress): New method.
7451         (setReuseAddress): New method.
7452         (getReuseAdress): New method.
7453         (setReceiveBufferSize): New method.
7454         (getReceiveBufferSize): New method.
7455         (toString): Made string JDK 1.4 compliant.
7456
7457 2002-09-10  Michael Koch  <konqueror@gmx.de>
7458
7459         * java/net/SocketImpl.java
7460         (connect): New method.
7461         (supportsUrgentData): New method.
7462         (sendUrgentData): New method.
7463         * java/net/PlainSocketImpl.java
7464         (connect): One new method and two new implementation.
7465         (sendUrgentData): New method.
7466         * java/natPlainSocketImpl.cc
7467         (connect): Arguments changed, added support for timeouts.
7468         (getOption): Another __java_boolean to jboolean.
7469
7470 2002-09-07  Adam Megacz <adam@xwt.org>
7471
7472         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7473         definition of IP_TOS.
7474
7475 2002-09-04  Michael Koch  <konqueror@gmx.de>
7476
7477         * java/net/DatagramSocket.java
7478         (DatagramSocket): Added documentation.
7479         (close): Likewise.
7480         (getLocalAddress): Likewise.
7481         (getLocalPort): Likewise.
7482         (receive): Likewise.
7483         (send): Likewise.
7484         (setSoTimeout): Likewise.
7485         (connect): New method.
7486         (disconnect): New method.
7487         (getInetAddress): New method (FIXME)
7488         (getPort): New method.
7489         (setReuseAddress): New method.
7490         (getReuseAddress): New method.
7491         (setBroadcast): New method.
7492         (getBroadcast): New method.
7493         (setTrafficClass): New method.
7494         (getTrafficClass): New method.
7495         * java/net/MulticastSocket.java):
7496         (getTTL): Added @see in documentation.
7497         (setTTL): Added @see in documentation.
7498         (setLoopbackMode): New method.
7499         (getLoopbackMode): New method.
7500         * java/net/PlainSocketImpl.java:
7501         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7502         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7503         * java/net/PlainDatagramSocketImpl.java
7504         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7505         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7506         * java/net/natPlainSocketImpl.cc
7507         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7508         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7509         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7510         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7511         This should also fix SO_KEEPALIVE
7512         * java/net/natPlainDatagramSocketImpl.cc
7513         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7514         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7515         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7516         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7517
7518 2002-09-04  Michael Koch  <konqueror@gmx.de>
7519
7520         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7521         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7522         IP_MULTICAST_LOOP, IP_TOS
7523
7524 2002-09-03  Tom Tromey  <tromey@redhat.com>
7525
7526         * java/lang/Class.h (_getDeclaredMethod): Declare.
7527         (_getMethod): Now private.
7528         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7529         getDeclaredMethod.  Now returns NULL on failure.
7530         * java/lang/Class.java (_getDeclaredMethod): Declare.
7531         (getDeclaredMethod): No longer native; implements access checks.
7532
7533 2002-09-01  Mark Wielaard  <mark@klomp.org>
7534
7535         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7536         (sanitizeStack): Correctly reset unknown and interpreter counters,
7537         detect interpreter runtime frames.
7538         (demangleInterpreterMethod): New method.
7539         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7540         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7541         filling in addrs[].
7542
7543 2002-09-02  Michael Koch  <konqueror@gmx.de>
7544
7545         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7546         re-indented documentation.
7547
7548 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7549
7550         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7551         public, per 1.4 spec.  Fixes PR libgcj/7785.
7552
7553 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7554
7555         * Makefile.in: Rebuilt.
7556         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7557
7558 2002-08-29  Tom Tromey  <tromey@redhat.com>
7559
7560         * java/net/JarURLConnection.java (getCertificates): New method
7561         from Classpath.
7562         * java/net/URLClassLoader.java (URLClassLoader): Extends
7563         SecureClassLoader.
7564         (definePackage): New method from Classpath.
7565         (getPermissions): Likewise.
7566         (newInstance): Likewise.
7567         (findClass): Construct CodeSource for new class (from Classpath).
7568         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7569         methods.
7570         * java/net/URL.java (getUserInfo): New method.
7571         (set(String,String,int,String,String,String,String,String)): New
7572         method.
7573         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7574         (shutdownInput, shutdownOutput): Declare.
7575         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7576         Define.
7577         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7578         (getOption): Likewise.
7579         (shutdownInput): New method.
7580         (shutdownOutput): Likewise.
7581         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7582         keepalive.
7583         (getOption): Likewise.
7584         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7585         * java/net/Socket.java (setKeepAlive): New method.
7586         (getKeepAlive): Likewise.
7587         (shutdownInput, shutdownOutput): New methods.
7588
7589 2002-08-29  Michael Koch  <konqueror@gmx.de>
7590
7591         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7592         new methods are:
7593         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7594           address),
7595         DatagramPacket(byte[] buf, int length, SocketAddress address),
7596         void setSocketAddress(SocketAddress address)
7597         public SocketAddress getSocketAddress()
7598
7599 2002-08-29  Tom Tromey  <tromey@redhat.com>
7600
7601         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7602         ftruncate is missing.
7603         * configure, include/config.h.in: Rebuilt.
7604         * acconfig.h (HAVE_FTRUNCATE): Mention.
7605         * configure.in: Check for ftruncate.
7606
7607 2002-08-29  Tom Tromey  <tromey@redhat.com>
7608
7609         * include/jvm.h (struct _Jv_frame_info): New structure.
7610         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7611         java-interp.h.
7612         (lookupInterp): New method.
7613         (getAddrAsString): Use _Jv_frame_info.
7614         (dladdrLookup): Likewise.
7615         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7616         interpreted frame.
7617         (lookupInterp): Declare.
7618         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7619         (fillInStackTrace): Collect information on interpreted frames.
7620         Use _Jv_frame_info.
7621         * interpret.cc: Include Thread.h.
7622         (run): Create and push _Jv_MethodChain object.
7623         (_Jv_EndOfInterpreter): New global.
7624         * java/lang/Thread.java (interp_frame): New field.
7625         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7626         Include NameFinder.h.
7627
7628 2002-08-28  Tom Tromey  <tromey@redhat.com>
7629
7630         * java/lang/Class.h: Include Package.h.
7631         (Class::getProtectionDomain): Declare.
7632         (Class::getPackage): Declare.
7633
7634 2002-08-28  Michael Koch <konqueror@gmx.de>
7635
7636         * java/net/InetSocketAddress.java: Added some documentation and argument
7637         checks for the port numbers.
7638         * java/net/DatagramSocketImplFactory.java: New file.
7639
7640 2002-08-28  Michael Koch <konqueror@gmx.de>
7641
7642         * java/net/Authenticator.java: added some documentation.
7643
7644 2002-08-27  Tom Tromey  <tromey@redhat.com>
7645
7646         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7647         class.
7648         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7649
7650 2002-08-27  Michael Koch <konqueror@gmx.de>
7651
7652         * java/net/BindException.java,
7653         java/net/JarURLConnection.java,
7654         java/net/FileNameMap.java,
7655         java/net/HttpURLConnection.java,
7656         java/net/InetSocketAddress.java,
7657         java/net/DatagramPacket.java,
7658         java/net/DatagramSocket.java,
7659         java/net/DatagramSocketImpl.java,
7660         java/net/MulticastSocket.java,
7661         java/net/PasswordAuthentication.java,
7662         java/net/ServerSocket.java,
7663         java/net/Socket.java,
7664         java/net/URLClassLoader.java,
7665         java/net/URLConnection.java: add/update of some @since/@deprecated
7666
7667 2002-08-27  Tony Kimball <alk@pobox.com>
7668             Tom Tromey  <tromey@redhat.com>
7669
7670         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7671         define.
7672         (::close): Removed.
7673         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7674         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7675         (::close): Removed.
7676         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7677         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7678
7679 2002-08-25  Adam Megacz <adam@xwt.org>
7680
7681         * include/win32.h (getcwd): copied function declaration as
7682         temporary fix for header confusion.
7683
7684 2002-08-24  Mark Wielaard <mark@klomp.org>
7685
7686         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7687         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7688         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7689         and natNameFinder.cc.
7690         * Makefile.in: Regenerate.
7691         * prims.cc: Use trace_enabled from VMThrowable.
7692         * name-finder.cc: Removed.
7693         * gcj/javaprims.h: Add class VMThrowable.
7694         * gnu/gcj/runtime/NameFinder.java: New file.
7695         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7696         * include/name-finder.h: Removed.
7697         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7698         method stackTraceString().
7699         (printStackTrace (PrintWriter)): Likewise.
7700         (stackTraceString): Complete rewrite of old printStackTrace using
7701         StringBuffer.
7702         (stackTraceStringBuffer): New helper method for stackTraceString().
7703         (fillInStackTrace): Delegate to VMTrowable.
7704         (getStackTrace): Likewise.
7705         (getStackTrace0): Removed.
7706         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7707         (setStackTrace): Copy given array.
7708         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7709         * java/lang/VMThrowable.java: New class.
7710         * java/lang/natVMThrowable.cc: New file.
7711
7712 2003-08-23  Michael Koch  <konqueror@gmx.de>
7713
7714         * java/net/URLConnection.java,
7715         java/netJarURLConnection.java,
7716         gnu/gcj/protocol/core/Connection.java,
7717         gnu/gcj/protocol/file/Connection.java,
7718         gnu/gcj/protocol/http/Connection.java: Added implementation of
7719         getHeaderFields().
7720
7721 2002-08-22  Tom Tromey  <tromey@redhat.com>
7722
7723         * gij.cc (help): Document -cp and -classpath.
7724         (main): Handle -classpath.
7725
7726 2002-08-21  Tom Tromey  <tromey@redhat.com>
7727
7728         * Makefile.in: Rebuilt.
7729         * Makefile.am (ordinary_java_source_files): Added
7730         SocketAddress.java, InetSocketAddress.java.
7731         * java/net/PortUnreachableException.java: Merged with Classpath.
7732         * java/net/SocketTimeoutException.java: Likewise.
7733         * java/net/URISyntaxException.java: Likewise.
7734         * java/net/SocketAddress.java: New class from Classpath.
7735         * java/net/InetSocketAddress.java: Likewise.
7736
7737 2003-08-21  Michael Koch  <konqueror@gmx.de>
7738
7739         * java/net/Authenticator.java: updated JDK 1.4
7740         * java/net/ContentHandler.java: updated JDK 1.4
7741
7742 2002-08-20  Michael Koch  <konqueror@gmx.de>
7743
7744         * java/net/URISyntaxException.java: New file.
7745         * java/net/SocketTimeoutException.java: New file.
7746         * java/net/PortUnreachableException.java: New file.
7747         * Makefile.am: Updated.
7748         * Makefile.in: Rebuilt.
7749
7750 2002-08-18  Mark Wielaard  <mark@klomp.org>
7751
7752         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7753         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7754         MessageDigestSpi (fixes Classpath bug #783).
7755
7756 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7757
7758         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7759         (startProcess): Allocate path for chdir in async-signal-safe way.
7760
7761 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7762
7763         Fix for PR libgcj/7570 and PR libgcj/7578:
7764         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7765         (startProcess): Handle new `dir' argument.
7766         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7767         argument.
7768         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7769         argument.
7770         (startProcess): Likewise.
7771         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7772         argument.
7773         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7774         (exec): Don't create new environment if ENV==null.  Pass DIR to
7775         execInternal.
7776         * java/lang/natRuntime.cc: Include java/io/File.h.
7777         (execInternal): Added `dir' argument.
7778
7779 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7780
7781         * java/io/RandomAccessFile.java (skipBytes): Return number of
7782         bytes skipped.
7783
7784 2002-08-01  Mark Wielaard  <mark@klomp.org>
7785
7786         Reenable patch since shared library troubles on powerpc are solved:
7787         * gnu/java/security/provider/Gnu.java: Reference all implementation
7788         classes by using Class.getName().
7789         * gnu/java/security/der/DEREncodingException.java,
7790         gnu/java/security/provider/DERReader.java,
7791         gnu/java/security/provider/DERWriter.java,
7792         gnu/java/security/provider/DSAKeyPairGenerator.java,
7793         gnu/java/security/provider/DSAParameterGenerator.java,
7794         gnu/java/security/provider/DSAParameters.java,
7795         gnu/java/security/provider/DSASignature.java,
7796         gnu/java/security/provider/GnuDSAPrivateKey.java,
7797         gnu/java/security/provider/GnuDSAPublicKey.java,
7798         gnu/java/security/provider/MD5.java,
7799         gnu/java/security/util/Prime.java: New classes
7800         * Makefile.am (ordinary_java_source_files): Add above files.
7801         * Makefile.in: Regenerate.
7802         * gnu/java/security/provider/DefaultPolicy.java
7803         (getPermissions): Don't maintain static class variable of Permissions.
7804         * gnu/java/security/provider/SHA.java
7805         (engineUpdate): algorithm change.
7806         (engineDigest): algorithm change.
7807
7808 2002-08-09  Mark Wielaard  <mark@klomp.org>
7809
7810         * java/awt/image/MemoryImageSource.java: Change constructor to take
7811         int[] not byte[].
7812         * java/awt/Graphics2D.java: Uncomment methods that can now be
7813         compiled.
7814         * java/awt/GridBagLayout.java: New stub implementation.
7815         * javax/swing/text/html/HTML.java: Stub implementation.
7816         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7817         implementation.
7818
7819         * Makefile.am: Add new files.
7820         * Makefile.in: Rebuilt.
7821
7822 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7823
7824         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7825         methods in Graphics2D.
7826
7827 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7828
7829         AWT/Swing merge from GNU Classpath.
7830
7831         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7832         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7833         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7834         java/awt/color/ProfileDataException.java,
7835         java/awt/CompositeContext.java, java/awt/Composite.java,
7836         java/awt/ContainerOrderFocusTraversalPolicy.java,
7837         java/awt/datatransfer/FlavorTable.java,
7838         java/awt/DefaultFocusTraversalPolicy.java,
7839         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7840         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7841         java/awt/dnd/DragGestureListener.java,
7842         java/awt/dnd/DragGestureRecognizer.java,
7843         java/awt/dnd/DragSourceAdapter.java,
7844         java/awt/dnd/DragSourceContext.java,
7845         java/awt/dnd/DragSourceDragEvent.java,
7846         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7847         java/awt/dnd/DragSourceListener.java,
7848         java/awt/dnd/DragSourceMotionListener.java,
7849         java/awt/dnd/DropTarget.java,
7850         java/awt/dnd/InvalidDnDOperationException.java,
7851         java/awt/dnd/peer/DragSourceContextPeer.java,
7852         java/awt/event/AWTEventListenerProxy.java,
7853         java/awt/event/MouseWheelEvent.java,
7854         java/awt/event/MouseWheelListener.java,
7855         java/awt/event/WindowFocusListener.java,
7856         java/awt/event/WindowStateListener.java,
7857         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7858         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7859         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7860         java/awt/geom/FlatteningPathIterator.java,
7861         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7862         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7863         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7864         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7865         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7866         java/awt/image/ImagingOpException.java,
7867         java/awt/image/RasterFormatException.java,
7868         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7869         java/awt/image/VolatileImage.java,
7870         java/awt/image/WritableRenderedImage.java,
7871         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7872         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7873         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7874         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7875         java/awt/PageAttributes.java, java/awt/print/Book.java,
7876         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7877         java/awt/print/Paper.java, java/awt/print/Printable.java,
7878         java/awt/print/PrinterAbortException.java,
7879         java/awt/print/PrinterException.java,
7880         java/awt/print/PrinterGraphics.java,
7881         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7882         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7883         java/awt/Stroke.java, java/awt/TexturePaint.java,
7884         javax/accessibility/AccessibleAction.java,
7885         javax/accessibility/AccessibleBundle.java,
7886         javax/accessibility/AccessibleComponent.java,
7887         javax/accessibility/AccessibleContext.java,
7888         javax/accessibility/AccessibleEditableText.java,
7889         javax/accessibility/AccessibleExtendedComponent.java,
7890         javax/accessibility/AccessibleExtendedTable.java,
7891         javax/accessibility/AccessibleHyperlink.java,
7892         javax/accessibility/AccessibleHypertext.java,
7893         javax/accessibility/AccessibleIcon.java,
7894         javax/accessibility/Accessible.java,
7895         javax/accessibility/AccessibleKeyBinding.java,
7896         javax/accessibility/AccessibleRelation.java,
7897         javax/accessibility/AccessibleRelationSet.java,
7898         javax/accessibility/AccessibleResourceBundle.java,
7899         javax/accessibility/AccessibleRole.java,
7900         javax/accessibility/AccessibleSelection.java,
7901         javax/accessibility/AccessibleState.java,
7902         javax/accessibility/AccessibleStateSet.java,
7903         javax/accessibility/AccessibleTable.java,
7904         javax/accessibility/AccessibleTableModelChange.java,
7905         javax/accessibility/AccessibleText.java,
7906         javax/accessibility/AccessibleValue.java,
7907         javax/swing/AbstractAction.java,
7908         javax/swing/AbstractButton.java,
7909         javax/swing/AbstractCellEditor.java,
7910         javax/swing/AbstractListModel.java,
7911         javax/swing/AbstractSet.java, javax/swing/Action.java,
7912         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7913         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7914         javax/swing/border/CompoundBorder.java,
7915         javax/swing/border/EmptyBorder.java,
7916         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7917         javax/swing/border/LineBorder.java,
7918         javax/swing/border/MatteBorder.java,
7919         javax/swing/border/TitledBorder.java,
7920         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7921         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7922         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7923         javax/swing/CellRendererPane.java,
7924         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7925         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7926         javax/swing/colorchooser/ColorSelectionModel.java,
7927         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7928         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7929         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7930         javax/swing/DefaultBoundedRangeModel.java,
7931         javax/swing/DefaultButtonModel.java,
7932         javax/swing/DefaultCellEditor.java,
7933         javax/swing/DefaultCellRenderer.java,
7934         javax/swing/DefaultComboBoxModel.java,
7935         javax/swing/DefaultDesktopManager.java,
7936         javax/swing/DefaultFocusManager.java,
7937         javax/swing/DefaultListCellRenderer.java,
7938         javax/swing/DefaultListModel.java,
7939         javax/swing/DefaultListSelectionModel.java,
7940         javax/swing/DefaultSingleSelectionModel.java,
7941         javax/swing/DesktopManager.java,
7942         javax/swing/event/AncestorEvent.java,
7943         javax/swing/event/AncestorListener.java,
7944         javax/swing/event/CaretEvent.java,
7945         javax/swing/event/CaretListener.java,
7946         javax/swing/event/CellEditorListener.java,
7947         javax/swing/event/ChangeEvent.java,
7948         javax/swing/event/ChangeListener.java,
7949         javax/swing/event/DocumentEvent.java,
7950         javax/swing/event/DocumentListener.java,
7951         javax/swing/event/EventListenerList.java,
7952         javax/swing/event/HyperlinkEvent.java,
7953         javax/swing/event/HyperlinkListener.java,
7954         javax/swing/event/InternalFrameAdapter.java,
7955         javax/swing/event/InternalFrameEvent.java,
7956         javax/swing/event/InternalFrameListener.java,
7957         javax/swing/event/ListDataEvent.java,
7958         javax/swing/event/ListDataListener.java,
7959         javax/swing/event/ListSelectionEvent.java,
7960         javax/swing/event/ListSelectionListener.java,
7961         javax/swing/event/MenuDragMouseEvent.java,
7962         javax/swing/event/MenuDragMouseListener.java,
7963         javax/swing/event/MenuEvent.java,
7964         javax/swing/event/MenuKeyEvent.java,
7965         javax/swing/event/MenuKeyListener.java,
7966         javax/swing/event/MenuListener.java,
7967         javax/swing/event/MouseInputAdapter.java,
7968         javax/swing/event/MouseInputListener.java,
7969         javax/swing/event/PopupMenuEvent.java,
7970         javax/swing/event/PopupMenuListener.java,
7971         javax/swing/event/SwingPropertyChangeSupport.java,
7972         javax/swing/event/TableColumnModelEvent.java,
7973         javax/swing/event/TableColumnModelListener.java,
7974         javax/swing/event/TableModelEvent.java,
7975         javax/swing/event/TableModelListener.java,
7976         javax/swing/event/TreeExpansionEvent.java,
7977         javax/swing/event/TreeExpansionListener.java,
7978         javax/swing/event/TreeModelEvent.java,
7979         javax/swing/event/TreeModelListener.java,
7980         javax/swing/event/TreeSelectionEvent.java,
7981         javax/swing/event/TreeSelectionListener.java,
7982         javax/swing/event/TreeWillExpandListener.java,
7983         javax/swing/event/UndoableEditEvent.java,
7984         javax/swing/event/UndoableEditListener.java,
7985         javax/swing/filechooser/FileFilter.java,
7986         javax/swing/filechooser/FileSystemView.java,
7987         javax/swing/filechooser/FileView.java,
7988         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
7989         javax/swing/Icon.java, javax/swing/ImageIcon.java,
7990         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
7991         javax/swing/JApplet.java, javax/swing/JButton.java,
7992         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7993         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7994         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
7995         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
7996         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
7997         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
7998         javax/swing/JLayeredPane.java, javax/swing/JList.java,
7999         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8000         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8001         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8002         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8003         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8004         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8005         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8006         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8007         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8008         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8009         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8010         javax/swing/JToolTip.java, javax/swing/JTree.java,
8011         javax/swing/JViewport.java, javax/swing/JWindow.java,
8012         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8013         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8014         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8015         javax/swing/MenuSelectionManager.java,
8016         javax/swing/MutableComboBoxModel.java,
8017         javax/swing/OverlayLayout.java,
8018         javax/swing/plaf/ActionMapUIResource.java,
8019         javax/swing/plaf/basic/BasicBorders.java,
8020         javax/swing/plaf/basic/BasicButtonUI.java,
8021         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8022         javax/swing/plaf/basic/BasicDefaults.java,
8023         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8024         javax/swing/plaf/basic/BasicIconFactory.java,
8025         javax/swing/plaf/basic/BasicLabelUI.java,
8026         javax/swing/plaf/basic/BasicListUI.java,
8027         javax/swing/plaf/basic/BasicLookAndFeel.java,
8028         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8029         javax/swing/plaf/basic/BasicPanelUI.java,
8030         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8031         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8032         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8033         javax/swing/plaf/basic/BasicTextUI.java,
8034         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8035         javax/swing/plaf/basic/BasicTreeUI.java,
8036         javax/swing/plaf/basic/BasicViewportUI.java,
8037         javax/swing/plaf/BorderUIResource.java,
8038         javax/swing/plaf/ButtonUI.java,
8039         javax/swing/plaf/ColorChooserUI.java,
8040         javax/swing/plaf/ColorUIResource.java,
8041         javax/swing/plaf/ComboBoxUI.java,
8042         javax/swing/plaf/ComponentInputMapUIResource.java,
8043         javax/swing/plaf/ComponentUI.java,
8044         javax/swing/plaf/DesktopIconUI.java,
8045         javax/swing/plaf/DesktopPaneUI.java,
8046         javax/swing/plaf/DimensionUIResource.java,
8047         javax/swing/plaf/FileChooserUI.java,
8048         javax/swing/plaf/FontUIResource.java,
8049         javax/swing/plaf/IconUIResource.java,
8050         javax/swing/plaf/InputMapUIResource.java,
8051         javax/swing/plaf/InsetsUIResource.java,
8052         javax/swing/plaf/InternalFrameUI.java,
8053         javax/swing/plaf/LabelUI.java,
8054         javax/swing/plaf/ListUI.java,
8055         javax/swing/plaf/MenuBarUI.java,
8056         javax/swing/plaf/MenuItemUI.java,
8057         javax/swing/plaf/OptionPaneUI.java,
8058         javax/swing/plaf/PanelUI.java,
8059         javax/swing/plaf/PopupMenuUI.java,
8060         javax/swing/plaf/ProgressBarUI.java,
8061         javax/swing/plaf/RootPaneUI.java,
8062         javax/swing/plaf/ScrollBarUI.java,
8063         javax/swing/plaf/ScrollPaneUI.java,
8064         javax/swing/plaf/SeparatorUI.java,
8065         javax/swing/plaf/SliderUI.java,
8066         javax/swing/plaf/SplitPaneUI.java,
8067         javax/swing/plaf/TabbedPaneUI.java,
8068         javax/swing/plaf/TableHeaderUI.java,
8069         javax/swing/plaf/TableUI.java,
8070         javax/swing/plaf/TextUI.java,
8071         javax/swing/plaf/ToolBarUI.java,
8072         javax/swing/plaf/ToolTipUI.java,
8073         javax/swing/plaf/TreeUI.java,
8074         javax/swing/plaf/UIResource.java,
8075         javax/swing/plaf/ViewportUI.java,
8076         javax/swing/ProgressMonitorInputStream.java,
8077         javax/swing/ProgressMonitor.java,
8078         javax/swing/Renderer.java,
8079         javax/swing/RepaintManager.java,
8080         javax/swing/RootPaneContainer.java,
8081         javax/swing/Scrollable.java,
8082         javax/swing/ScrollPaneConstants.java,
8083         javax/swing/ScrollPaneLayout.java,
8084         javax/swing/SingleSelectionModel.java,
8085         javax/swing/SizeRequirements.java,
8086         javax/swing/SizeSequence.java,
8087         javax/swing/SwingConstants.java,
8088         javax/swing/SwingUtilities.java,
8089         javax/swing/table/AbstractTableModel.java,
8090         javax/swing/table/DefaultTableCellRenderer.java,
8091         javax/swing/table/DefaultTableColumnModel.java,
8092         javax/swing/table/DefaultTableModel.java,
8093         javax/swing/table/TableCellEditor.java,
8094         javax/swing/table/TableCellRenderer.java,
8095         javax/swing/table/TableColumn.java,
8096         javax/swing/table/TableColumnModel.java,
8097         javax/swing/table/TableModel.java,
8098         javax/swing/text/AbstractDocument.java,
8099         javax/swing/text/AttributeSet.java,
8100         javax/swing/text/BadLocationException.java,
8101         javax/swing/text/Caret.java,
8102         javax/swing/text/CharacterIterator.java,
8103         javax/swing/text/ComponentView.java,
8104         javax/swing/text/DefaultCaret.java,
8105         javax/swing/text/DefaultEditorKit.java,
8106         javax/swing/text/Document.java,
8107         javax/swing/text/EditorKit.java,
8108         javax/swing/text/Element.java,
8109         javax/swing/text/GapContent.java,
8110         javax/swing/text/JTextComponent.java,
8111         javax/swing/text/Keymap.java,
8112         javax/swing/text/MutableAttributeSet.java,
8113         javax/swing/text/PlainDocument.java,
8114         javax/swing/text/PlainEditorKit.java,
8115         javax/swing/text/Position.java,
8116         javax/swing/text/Segment.java,
8117         javax/swing/text/StyledDocument.java,
8118         javax/swing/text/StyledEditorKit.java,
8119         javax/swing/text/Style.java,
8120         javax/swing/text/TextAction.java,
8121         javax/swing/text/ViewFactory.java,
8122         javax/swing/text/View.java,
8123         javax/swing/Timer.java,
8124         javax/swing/ToggleButtonModel.java,
8125         javax/swing/ToolTipManager.java,
8126         javax/swing/tree/AbstractLayoutCache.java,
8127         javax/swing/tree/DefaultMutableTreeNode.java,
8128         javax/swing/tree/DefaultTreeCellEditor.java,
8129         javax/swing/tree/DefaultTreeCellRenderer.java,
8130         javax/swing/tree/DefaultTreeModel.java,
8131         javax/swing/tree/DefaultTreeSelectionModel.java,
8132         javax/swing/tree/ExpandVetoException.java,
8133         javax/swing/tree/FixedHeightLayoutCache.java,
8134         javax/swing/tree/MutableTreeNode.java,
8135         javax/swing/tree/RowMapper.java,
8136         javax/swing/tree/TreeCellEditor.java,
8137         javax/swing/tree/TreeCellRenderer.java,
8138         javax/swing/tree/TreeModel.java,
8139         javax/swing/tree/TreeNode.java,
8140         javax/swing/tree/TreePath.java,
8141         javax/swing/tree/TreeSelectionModel.java,
8142         javax/swing/tree/VariableHeightLayoutCache.java,
8143         javax/swing/UIDefaults.java,
8144         javax/swing/UIManager.java,
8145         javax/swing/undo/AbstractUndoableEdit.java,
8146         javax/swing/undo/CannotRedoException.java,
8147         javax/swing/undo/CannotUndoException.java,
8148         javax/swing/undo/CompoundEdit.java,
8149         javax/swing/undo/StateEditable.java,
8150         javax/swing/undo/StateEdit.java,
8151         javax/swing/undo/UndoableEdit.java,
8152         javax/swing/undo/UndoableEditSupport.java,
8153         javax/swing/undo/UndoManager.java,
8154         javax/swing/UnsupportedLookAndFeelException.java,
8155         javax/swing/ViewportLayout.java,
8156         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8157
8158         * java/awt/ActiveEvent.java,
8159         java/awt/Adjustable.java, java/awt/AWTError.java,
8160         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8161         java/awt/AWTException.java, java/awt/AWTPermission.java,
8162         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8163         java/awt/Color.java, java/awt/Component.java,
8164         java/awt/ComponentOrientation.java, java/awt/Container.java,
8165         java/awt/datatransfer/MimeTypeParseException.java,
8166         java/awt/datatransfer/Transferable.java,
8167         java/awt/datatransfer/UnsupportedFlavorException.java,
8168         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8169         java/awt/event/ActionListener.java,
8170         java/awt/event/AdjustmentEvent.java,
8171         java/awt/event/AdjustmentListener.java,
8172         java/awt/event/AWTEventListener.java,
8173         java/awt/event/ComponentAdapter.java,
8174         java/awt/event/ComponentEvent.java,
8175         java/awt/event/ComponentListener.java,
8176         java/awt/event/ContainerAdapter.java,
8177         java/awt/event/ContainerEvent.java,
8178         java/awt/event/ContainerListener.java,
8179         java/awt/event/FocusAdapter.java,
8180         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8181         java/awt/event/HierarchyBoundsAdapter.java,
8182         java/awt/event/HierarchyBoundsListener.java,
8183         java/awt/event/HierarchyEvent.java,
8184         java/awt/event/HierarchyListener.java,
8185         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8186         java/awt/event/InputMethodListener.java,
8187         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8188         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8189         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8190         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8191         java/awt/event/MouseListener.java,
8192         java/awt/event/MouseMotionAdapter.java,
8193         java/awt/event/MouseMotionListener.java,
8194         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8195         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8196         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8197         java/awt/event/WindowListener.java, java/awt/Font.java,
8198         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8199         java/awt/geom/Ellipse2D.java,
8200         java/awt/geom/IllegalPathStateException.java,
8201         java/awt/geom/Line2D.java,
8202         java/awt/geom/NoninvertibleTransformException.java,
8203         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8204         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8205         java/awt/geom/RoundRectangle2D.java,
8206         java/awt/GraphicsConfiguration.java,
8207         java/awt/IllegalComponentStateException.java,
8208         java/awt/image/IndexColorModel.java,
8209         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8210         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8211         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8212         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8213         java/awt/MenuItem.java, java/awt/PaintContext.java,
8214         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8215         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8216         java/awt/PrintJob.java, java/awt/Rectangle.java,
8217         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8218         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8219         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8220
8221         * java/awt/im/spi/InputMethod.java,
8222         java/awt/im/spi/InputMethodContext.java,
8223         java/awt/im/spi/InputMethodDescriptor.java,
8224         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8225         java/awt/image/renderable/ParameterBlock.java,
8226         java/awt/image/renderable/RenderContext.java,
8227         java/awt/image/renderable/RenderableImage.java,
8228         java/awt/image/renderable/RenderableImageOp.java,
8229         java/awt/image/renderable/RenderableImageProducer.java,
8230         java/awt/image/renderable/RenderedImageFactory.java: New files from
8231         classpath.
8232
8233         * gnu/java/awt/EventModifier.java,
8234         gnu/java/awt/image/ImageDecoder.java,
8235         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8236
8237         * gnu/awt/xlib/XGraphicsConfiguration.java,
8238         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8239         API.
8240
8241         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8242         GNU Classpath.
8243
8244         * Makefile.am: Add new files.
8245         * Makefile.in: Rebuilt.
8246
8247 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8248
8249         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8250         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8251         findResource, getResources, findResources): Add javadoc from classpath.
8252         (getSystemResources): Implemented.
8253
8254 2002-08-01  Mark Wielaard  <mark@klomp.org>
8255
8256         Revert patch that breaks libgcj shared library on powerpc:
8257         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8258         implementation classes by using Class.getName(). Uses Strings again.
8259         * gnu/java/security/der/DEREncodingException.java,
8260         gnu/java/security/provider/DERReader.java,
8261         gnu/java/security/provider/DERWriter.java,
8262         gnu/java/security/provider/DSAKeyPairGenerator.java,
8263         gnu/java/security/provider/DSAParameterGenerator.java,
8264         gnu/java/security/provider/DSAParameters.java,
8265         gnu/java/security/provider/DSASignature.java,
8266         gnu/java/security/provider/GnuDSAPrivateKey.java,
8267         gnu/java/security/provider/GnuDSAPublicKey.java,
8268         gnu/java/security/provider/MD5.java,
8269         gnu/java/security/util/Prime.java: Removed.
8270         * Makefile.am (ordinary_java_source_files): Remove above files.
8271         * Makefile.in: Regenerate.
8272         * gnu/java/security/provider/DefaultPolicy.java
8273         (getPermissions): Revert to maintaining static class variable of
8274         Permissions.
8275         * gnu/java/security/provider/SHA.java
8276         (engineUpdate): Revert algorithm change.
8277         (engineDigest): Revert algorithm change.
8278
8279 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8280
8281         * configure.host: Add SH support.
8282         * sysdep/sh/locks.h: New file.
8283
8284 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8285
8286         * java/awt/Frame.java (Frame): Remove println calls.
8287
8288 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8289
8290         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8291         * configure: Rebuilt.
8292
8293 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8294
8295         * sysdep/powerpc/locks.h: Formatting.
8296         (_LARX): Define.
8297         (_STCX): Define.
8298         (compare_and_swap): Use _LARX and _STCX.
8299         (compare_and_swap_release): Likewise.
8300
8301 2002-07-26  Tom Tromey  <tromey@redhat.com>
8302
8303         * java/net/Authenticator.java: New version from Classpath.
8304         * java/net/DatagramSocketImpl.java: New version from Classpath.
8305
8306 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8307
8308         * configure.host: Add powerpc64*-* entry.
8309
8310 2002-07-26  Tom Tromey  <tromey@redhat.com>
8311
8312         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8313         fcntl.h.
8314
8315 2002-07-24  Tom Tromey  <tromey@redhat.com>
8316
8317         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8318         argument to _load.
8319
8320 2002-07-24  Tom Tromey  <tromey@redhat.com>
8321             Tony Kimball <alk@pobox.com>
8322
8323         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8324         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8325         * java/io/RandomAccessFile.java (setLength): New method.
8326         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8327         * java/io/FileDescriptor.java (setLength): New method.
8328
8329 2002-07-24  Mark Wielaard  <mark@klomp.org>
8330
8331         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8332         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8333         field call setAccessible(true).
8334         (setByteField): Likewise.
8335         (setCharField): Likewise.
8336         (setDoubleField): Likewise.
8337         (setFloatField): Likewise.
8338         (setIntField): Likewise.
8339         (setLongField): Likewise.
8340         (setShortField): Likewise.
8341         (setObjectField): Likewise.
8342
8343 2002-07-24  Tom Tromey  <tromey@redhat.com>
8344
8345         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8346         use toString() to format array element.
8347
8348 2002-07-23  Mark Wielaard  <mark@klomp.org>
8349
8350         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8351         MessageDigestSpi (fixes Classpath bug #783).
8352
8353 2002-07-21  Mark Wielaard  <mark@klomp.org>
8354
8355         * gnu/java/security/provider/Gnu.java: Reference all implementation
8356         classes by using Class.getName().
8357
8358 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8359
8360         * java/lang/ieeefp.h: Add x86-64 support.
8361         * configure.in: Likewise.
8362         * configure.host: Likewise.
8363         * configure: Regenerated.
8364         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8365
8366 2002-07-16  Mark Wielaard  <mark@klomp.org>
8367
8368         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8369         (whitespaceChars): call resetChar().
8370
8371 2002-07-15  Tom Tromey  <tromey@redhat.com>
8372
8373         * Makefile.in: Rebuilt.
8374         * Makefile.am (awt_java_source_files): Added new files.
8375         * java/beans/ExceptionListener.java: Merged with Classpath.
8376         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8377         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8378         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8379         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8380         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8381         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8382         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8383
8384 2002-07-14  Mark Wielaard  <mark@klomp.org>
8385
8386         * gnu/java/security/der/DEREncodingException.java,
8387         gnu/java/security/provider/DERReader.java,
8388         gnu/java/security/provider/DERWriter.java,
8389         gnu/java/security/provider/DSAKeyPairGenerator.java,
8390         gnu/java/security/provider/DSAParameterGenerator.java,
8391         gnu/java/security/provider/DSAParameters.java,
8392         gnu/java/security/provider/DSASignature.java,
8393         gnu/java/security/provider/GnuDSAPrivateKey.java,
8394         gnu/java/security/provider/GnuDSAPublicKey.java,
8395         gnu/java/security/provider/MD5.java,
8396         gnu/java/security/util/Prime.java: New files from Classpath.
8397         * Makefile.am (ordinary_java_source_files): Add new files.
8398         * Makefile.in: Regenerate.
8399
8400 2002-07-14  C. Brian Jones <cbj@gnu.org>
8401
8402         * gnu/java/security/provider/DefaultPolicy.java
8403         (getPermissions): do not maintain static class variable of
8404         Permissions
8405         * gnu/java/security/provider/SHA.java
8406         (engineUpdate): algorithm change
8407         (engineDigest): algorithm change
8408
8409 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8410
8411         For PR libgcj/7292:
8412         * java/lang/Character.java (toString(char)): Now static.
8413
8414 2002-07-12  Mark Wielaard  <mark@klomp.org>
8415
8416         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8417         (getStackTrace0): new method.
8418         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8419         (printStackTrace(PrintWriter)): replace with pure java implementation.
8420         (printRawStackTrace): removed.
8421         (getStackTrace0): new method.
8422         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8423         * gcj/javaprims.h: regenerate class list.
8424         * include/name-finder.h (lookup): new returns StackTraceElement*.
8425         (method_name, file_name): fields removed.
8426         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8427         (~_Jv_name_finder): close new descriptors.
8428         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8429         (createStackTraceElement): new method.
8430         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8431
8432 2002-07-10  Tom Tromey  <tromey@redhat.com>
8433
8434         * configure: Rebuilt.
8435         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8436
8437 2002-07-08  Mark Wielaard  <mark@klomp.org>
8438
8439         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8440         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8441         java.sql.DatabaseMetaData.TestJdbc20
8442
8443 2002-07-05  Tony Kimball  <alk@pobox.com>
8444
8445         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8446
8447 2002-07-04  Tom Tromey  <tromey@redhat.com>
8448             Jeff Sturm  <jsturm@one-point.com>
8449
8450         Fix for PR libgcj/7060:
8451         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8452         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8453         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8454         * java/lang/Class.java (getMethod): New Java implementation;
8455         complies with spec.
8456         (_getMethod): New native method.
8457
8458 2002-07-02  Tom Tromey  <tromey@redhat.com>
8459             David Hovemeyer  <daveho@cs.umd.edu>
8460
8461         * java/text/ChoiceFormat.java
8462         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8463         in check loop.
8464         * java/text/MessageFormat.java
8465         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8466         to MessageFormat.
8467
8468 2002-07-01  Tom Tromey  <tromey@redhat.com>
8469
8470         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8471         StringTokenizer on null string.  For PR libgcj/7180.
8472         From daveho@cs.umd.edu.
8473
8474 2002-06-24  Tom Tromey  <tromey@redhat.com>
8475
8476         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8477         (IntegerClass): Likewise.
8478         * java/lang/natClass.cc (CloneableClass): Removed.
8479         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8480         ConstructorClass): Likewise.
8481         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8482         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8483         SerializableClass): Likewise.
8484         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8485         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8486         LongClass, FloatClass, DoubleClass): Likewise.
8487
8488         * verify.cc (branch_prepass): Updated for change to exception
8489         handler type.
8490         (verify_instructions_0): Likewise.
8491         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8492         (handleExceptionTableEntry): Updated for change to exception
8493         handler type.
8494         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8495         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8496         (union _Jv_InterpPC): New.
8497         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8498         (class _Jv_InterpMethod): Added new `prepared' field.
8499         (class _Jv_InterpMethod): Added `compile' method.  Removed
8500         `continue1' and `find_exception'.  Changed arguments to `run'.
8501         * interpret.cc (union insn_slot): New.
8502         (find_exception): Removed.
8503         (run_normal): Removed most logic.
8504         (run_synch_object): Likewise; also, use JvSynchronize.
8505         (run_synch_class): Likewise.
8506         (run): Removed.
8507         (continue1): Renamed as `run'.  Compile bytecode if required.
8508         Add new code to allow refinement of direct-threaded code at
8509         runtime.  Handle exceptions.
8510         (SAVE_PC): Removed.
8511         (compile): New method.
8512         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8513         (NULLARRAYCHECK): Don't use SAVE_PC.
8514         (pc_t): New typedef.
8515         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8516         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8517
8518 2002-06-23  Tom Tromey  <tromey@redhat.com>
8519
8520         * configure: Rebuilt.
8521         * configure.in (INTERPRETER): New subst.
8522         (AM_RUNTESTFLAGS): Don't subst.
8523
8524         * Makefile.in: Rebuilt.
8525         * Makefile.am ($(srcdir)/java/lang/Object.h,
8526         $(srcdir)/java/lang/Class.h): Added dummy targets.
8527
8528 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8529
8530         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8531
8532         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8533         java/sql/Savepoint.java: New files.
8534         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8535         java/sql/Blob.java, java/sql/CallableStatement.java,
8536         java/sql/Clob.java, java/sql/Connection.java,
8537         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8538         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8539         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8540         java/sql/Ref.java, java/sql/ResultSet.java,
8541         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8542         java/sql/SQLException.java, java/sql/SQLInput.java,
8543         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8544         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8545         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8546         (JDK 1.4) specification.
8547         * javax/sql/ConnectionEvent.java,
8548         javax/sql/ConnectionEventListener.java,
8549         javax/sql/ConnectionPoolDataSource.java,
8550         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8551         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8552         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8553         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8554         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8555         javax/sql/XADataSource.java: New files.
8556         * Makefile.am: Add new files.
8557         * Makefile.in: Rebuilt.
8558
8559 2002-06-20  Tom Tromey  <tromey@redhat.com>
8560
8561         For PR libgcj/7073:
8562         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8563         exists.
8564         * defineclass.cc (handleClassBegin): Superclass for interface is
8565         `null'.
8566
8567 2002-06-18  Tom Tromey  <tromey@redhat.com>
8568
8569         * gcj/javaprims.h: Updated class declaration list.
8570         * Makefile.in: Rebuilt.
8571         * Makefile.am (core_java_source_files): Removed
8572         BasicMapEntry.java.
8573         * java/util/BasicMapEntry.java: Removed.
8574
8575 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8576
8577         * java/net/natPlainDatagramSocketImpl.cc (receive):
8578         Check bounds of argument to FD_SET.
8579         (setOption): Throw exception if socket is closed.
8580
8581         * java/net/natPlainSocketImpl.cc (accept, read):
8582         Check bounds of argument to FD_SET.
8583         (setOption): Throw exception if socket is closed.
8584
8585 2002-06-18  Tom Tromey  <tromey@redhat.com>
8586
8587         * gcj/javaprims.h: Updated class declaration list.
8588         * Makefile.in: Rebuilt.
8589         * Makefile.am (core_java_source_files): Added
8590         PropertyPermissionCollection.java.
8591         * java/lang/Thread.java (group, name): Now package-private.
8592         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8593         * java/util/AbstractList.java: Likewise.
8594         * java/util/AbstractMap.java: Likewise.
8595         * java/util/Calendar.java: Likewise.
8596         * java/util/Collections.java: Likewise.
8597         * java/util/HashMap.java: Likewise.
8598         * java/util/Hashtable.java: Likewise.
8599         * java/util/LinkedHashMap.java: Likewise.
8600         * java/util/LinkedList.java: Likewise.
8601         * java/util/List.java: Likewise.
8602         * java/util/ListResourceBundle.java: Likewise.
8603         * java/util/Map.java: Likewise.
8604         * java/util/Observable.java: Likewise.
8605         * java/util/Properties.java: Likewise.
8606         * java/util/PropertyPermission.java: Likewise.
8607         * java/util/PropertyPermissionCollection.java: Likewise.
8608         * java/util/PropertyResourceBundle.java: Likewise.
8609         * java/util/Random.java: Likewise.
8610         * java/util/SimpleTimeZone.java: Likewise.
8611         * java/util/StringTokenizer.java: Likewise.
8612         * java/util/TimerTask.java: Likewise.
8613         * java/util/TreeMap.java: Likewise.
8614         * java/util/WeakHashMap.java: Likewise.
8615         * java/util/jar/Attributes.java: Likewise.
8616         * java/util/jar/JarException.java: Likewise.
8617         * java/util/jar/Manifest.java: Likewise.
8618
8619 2002-06-17  Tom Tromey  <tromey@redhat.com>
8620
8621         * gcj/javaprims.h: Updated class declaration list.
8622         * Makefile.in: Rebuilt.
8623         * Makefile.am (core_java_source_files): Added new file.
8624         * java/util/EventListenerProxy.java: New file.
8625         * java/util/EventListener.java: Re-merge with Classpath.
8626         * java/util/EventObject.java: Re-merge with Classpath.
8627
8628 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8629
8630         * java/lang/ClassNotFoundException.java: New Classpath version.
8631
8632 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8633
8634         * java/rmi/activation/ActivateFailedException.java: Remerge from
8635         Classpath version.
8636         * java/rmi/activation/ActivationException.java: Ditto.
8637         * java/rmi/activation/UnknownGroupException.java: Ditto.
8638         * java/rmi/activation/UnknownObjectException.java: Ditto.
8639         * java/rmi/server/ExportException: Ditto.
8640         * java/rmi/server/ServerCloneException: Ditto.
8641         * java/rmi/server/ServerNotActiveException: Ditto.
8642         * java/rmi/server/SkeletonMismatchException: Ditto.
8643         * java/rmi/server/SkeletonNotFoundException: Ditto.
8644         * java/rmi/server/SocketSecurityException: Ditto.
8645
8646 2002-06-16  Tom Tromey  <tromey@redhat.com>
8647
8648         * gcj/javaprims.h: Updated class declaration list.
8649
8650         * java/io/LineNumberInputStream.java: Merged with Classpath.
8651
8652         * java/lang/RuntimeException.java: Re-merge with Classpath.
8653         * java/util/ArrayList.java: Likewise.
8654         * java/util/Arrays.java: Likewise.
8655         * java/util/BitSet.java: Likewise.
8656         * java/util/Dictionary.java: Likewise.
8657         * java/util/IdentityHashMap.java: Likewise.
8658         * java/util/MissingResourceException.java: Likewise.
8659         * java/util/Observer.java: Likewise.
8660         * java/util/TooManyListenersException.java: Likewise.
8661         * java/util/zip/DataFormatException.java: Likewise.
8662         * java/util/zip/ZipException.java: Likewise.
8663
8664 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8665
8666         * java/rmi/AccessException.java: Remerge from Classpath.
8667         * java/rmi/AlreadyBoundException.java: Ditto.
8668         * java/rmi/ConnectException.java: Ditto.
8669         * java/rmi/ConnectIOException.java: Ditto.
8670         * java/rmi/MarshalException.java: Ditto.
8671         * java/rmi/NoSuchObjectException.java: Ditto.
8672         * java/rmi/NotBoundException.java: Ditto.
8673         * java/rmi/RemoteException.java: Ditto.
8674         * java/rmi/RMISecurityException.java: Ditto.
8675         * java/rmi/ServerError.java: Ditto.
8676         * java/rmi/ServerException.java: Ditto.
8677         * java/rmi/ServerRuntimeException.java: Ditto.
8678         * java/rmi/StubNotFoundException.java: Ditto.
8679         * java/rmi/UnexpectedExcpetion.java: Ditto.
8680         * java/rmi/UnknownHostException.java: Ditto.
8681         * java/rmi/UnmarshalException.java: Ditto.
8682
8683 2002-06-15  Tom Tromey  <tromey@redhat.com>
8684
8685         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8686         * java/lang/ArithmeticException.java: Likewise.
8687         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8688         * java/lang/ArrayStoreException.java: Likewise.
8689         * java/lang/Byte.java: Likewise.
8690         * java/lang/CharSequence.java: Likewise.
8691         * java/lang/ClassCastException.java: Likewise.
8692         * java/lang/ClassCircularityError.java: Likewise.
8693         * java/lang/ClassFormatError.java: Likewise.
8694         * java/lang/CloneNotSupportedException.java: Likewise.
8695         * java/lang/Cloneable.java: Likewise.
8696         * java/lang/Comparable.java: Likewise.
8697         * java/lang/Compiler.java: Likewise.
8698         * java/lang/Error.java: Likewise.
8699         * java/lang/ExceptionInInitializerError.java: Likewise.
8700         * java/lang/IllegalAccessError.java: Likewise.
8701         * java/lang/IllegalAccessException.java: Likewise.
8702         * java/lang/IllegalArgumentException.java: Likewise.
8703         * java/lang/IllegalMonitorStateException.java: Likewise.
8704         * java/lang/IllegalStateException.java: Likewise.
8705         * java/lang/IllegalThreadStateException.java: Likewise.
8706         * java/lang/IncompatibleClassChangeError.java: Likewise.
8707         * java/lang/IndexOutOfBoundsException.java: Likewise.
8708         * java/lang/InheritableThreadLocal.java: Likewise.
8709         * java/lang/InstantiationError.java: Likewise.
8710         * java/lang/InstantiationException.java: Likewise.
8711         * java/lang/InternalError.java: Likewise.
8712         * java/lang/InterruptedException.java: Likewise.
8713         * java/lang/LinkageError.java: Likewise.
8714         * java/lang/NegativeArraySizeException.java: Likewise.
8715         * java/lang/NoClassDefFoundError.java: Likewise.
8716         * java/lang/NoSuchFieldError.java: Likewise.
8717         * java/lang/NoSuchFieldException.java: Likewise.
8718         * java/lang/NoSuchMethodError.java: Likewise.
8719         * java/lang/NoSuchMethodException.java: Likewise.
8720         * java/lang/NullPointerException.java: Likewise.
8721         * java/lang/NumberFormatException.java: Likewise.
8722         * java/lang/OutOfMemoryError.java: Likewise.
8723         * java/lang/Process.java: Likewise.
8724         * java/lang/Runnable.java: Likewise.
8725         * java/lang/RuntimePermission.java: Likewise.
8726         * java/lang/SecurityException.java: Likewise.
8727         * java/lang/Short.java: Likewise.
8728         * java/lang/StackOverflowError.java: Likewise.
8729         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8730         * java/lang/ThreadDeath.java: Likewise.
8731         * java/lang/ThreadLocal.java: Likewise.
8732         * java/lang/UnknownError.java: Likewise.
8733         * java/lang/UnsatisfiedLinkError.java: Likewise.
8734         * java/lang/UnsupportedClassVersionError.java: Likewise.
8735         * java/lang/UnsupportedOperationException.java: Likewise.
8736         * java/lang/VerifyError.java: Likewise.
8737         * java/lang/VirtualMachineError.java: Likewise.
8738         * java/lang/reflect/InvocationTargetException.java: Likewise.
8739         * java/net/BindException.java: Likewise.
8740         * java/net/ConnectException.java: Likewise.
8741         * java/net/MalformedURLException.java: Likewise.
8742         * java/net/NoRouteToHostException.java: Likewise.
8743         * java/net/ProtocolException.java: Likewise.
8744         * java/net/SocketException.java: Likewise.
8745         * java/net/UnknownHostException.java: Likewise.
8746         * java/net/UnknownServiceException.java: Likewise.
8747
8748         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8749         * java/io/CharConversionException.java: Likewise.
8750         * java/io/EOFException.java: Likewise.
8751         * java/io/FileNotFoundException.java: Likewise.
8752         * java/io/IOException.java: Likewise.
8753         * java/io/InterruptedIOException.java: Likewise.
8754         * java/io/InvalidClassException.java: Likewise.
8755         * java/io/InvalidObjectException.java: Likewise.
8756         * java/io/NotActiveException.java: Likewise.
8757         * java/io/NotSerializableException.java: Likewise.
8758         * java/io/ObjectStreamException.java: Likewise.
8759         * java/io/ObjectStreamConstants.java: Likewise.
8760         * java/io/OptionalDataException.java: Likewise.
8761         * java/io/PipedInputStream.java: Likewise.
8762         * java/io/PushbackInputStream.java: Likewise.
8763         * java/io/StreamCorruptedException.java: Likewise.
8764         * java/io/SyncFailedException.java: Likewise.
8765         * java/io/UTFDataFormatException.java: Likewise.
8766         * java/io/UnsupportedEncodingException.java: Likewise.
8767         * java/io/WriteAbortedException.java: Likewise.
8768
8769 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8770
8771         * java/text/ChoiceFormat.java: Update comments from Classpath.
8772         * java/text/ParseException.java (serialVersionUID): New
8773         field from Classpath.
8774         * java/text/ParseException.java: Update formatting & comments
8775         from Classpath.
8776
8777 2002-06-15  Tom Tromey  <tromey@redhat.com>
8778
8779         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8780         been read but none output by inflater.
8781         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8782         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8783         is_finished.
8784         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8785         version.
8786         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8787         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8788         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8789         version.
8790         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8791
8792 2002-06-13  Tom Tromey  <tromey@redhat.com>
8793
8794         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8795         true and OFFSET!=0.
8796         * java/lang/String.java (String(char[],int,int,boolean): New
8797         constructor.
8798         * java/lang/Long.java: Imported new version from Classpath.
8799         * java/lang/Number.java: Likewise.
8800         * java/lang/Integer.java: Likewise.
8801         * java/lang/Long.java: Likewise.
8802         * java/lang/Float.java: Likewise.
8803         * java/lang/Boolean.java: Likewise.
8804         * java/lang/Double.java: Likewise.
8805         * java/lang/Void.java: Likewise.
8806
8807 2002-06-12  Tom Tromey  <tromey@redhat.com>
8808
8809         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8810         Fixes PR libgcj/6652.
8811
8812 2002-06-10  Tom Tromey  <tromey@redhat.com>
8813
8814         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8815         (Class::getPackagePortion): Likewise.
8816         * java/lang/Class.java (desiredAssertionStatus): New method from
8817         Classpath.
8818         (getPackagePortion): Likewise.
8819         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8820         packageAssertionStatus, classAssertionStatus): New methods from
8821         Classpath.
8822         * java/lang/ClassLoader.java (defaultAssertionStatus,
8823         systemPackageAssertionStatus, packageAssertionStatus,
8824         systemClassAssertionStatus, classAssertionStatus): New fields from
8825         Classpath.
8826         (setDefaultAssertionStatus, setPackageAssertionStatus,
8827         setClassAssertionStatus, clearAssertionStatus): New methods from
8828         Classpath.
8829         * Makefile.in: Rebuilt.
8830         * Makefile.am (core_java_source_files): Added AssertionError.java.
8831         * java/lang/AssertionError.java: New from Classpath.
8832
8833 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8834
8835         * configure.host: Disable hash synchronization and slow_pthread_self
8836         for cygwin.
8837
8838 2002-06-06  Adam Megacz <adam@xwt.org>
8839
8840         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8841         locking, just like the Sun JVM does.
8842
8843 2002-06-05  H.J. Lu  (hjl@gnu.org)
8844
8845         * Makefile.am (libgcj_convenience.la): Revert the last change.
8846         (libgcj.la): Likewise.
8847         * Makefile.in: Regenerated.
8848
8849 2002-06-04  H.J. Lu  (hjl@gnu.org)
8850
8851         * Makefile.am (libgcj_convenience.la): New target.
8852         (libgcj.la): Depend on libgcj_convenience.la.
8853         * Makefile.in: Regenerated.
8854
8855 2002-06-04  H.J. Lu  (hjl@gnu.org)
8856
8857         * configure.in (--with-newlib): New option:
8858         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8859         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8860         Linux.
8861         * configure: Regenerated.
8862
8863 2002-06-04  Tom Tromey  <tromey@redhat.com>
8864
8865         * java/util/natTimeZone.cc: Include <stdio.h>.
8866
8867 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8868
8869         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8870         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8871         Set SIGNAL_HANDLER=include/s390-linux.h.
8872         * configure: Regenerate.
8873         * include/s390-linux.h: New file.
8874
8875 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8876
8877         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8878         not "stackTrace".
8879
8880 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8881
8882         Merge JDK 1.4 java.security changes from classpath.
8883
8884         * java/security/AccessControlException.java: Merge from Classpath.
8885         * java/security/AccessController.java: Likewise.
8886         * java/security/AllPermission.java: Likewise.
8887         * java/security/BasicPermission.java: Likewise.
8888         * java/security/Certificate.java: Likewise.
8889         * java/security/CodeSource.java: Likewise.
8890         * java/security/DigestException.java: Likewise.
8891         * java/security/DigestOutputStream.java: Likewise.
8892         * java/security/DomainCombiner.java: Likewise.
8893         * java/security/GeneralSecurityException.java: Likewise.
8894         * java/security/Guard.java: Likewise.
8895         * java/security/GuardedObject.java: Likewise.
8896         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8897         * java/security/InvalidKeyException.java: Likewise.
8898         * java/security/InvalidParameterException.java: Likewise.
8899         * java/security/Key.java: Likewise.
8900         * java/security/KeyException.java: Likewise.
8901         * java/security/KeyManagementException.java: Likewise.
8902         * java/security/KeyStoreException.java: Likewise.
8903         * java/security/MessageDigest.java: Likewise.
8904         * java/security/NoSuchAlgorithmException.java: Likewise.
8905         * java/security/NoSuchProviderException.java: Likewise.
8906         * java/security/Permission.java: Likewise.
8907         * java/security/PermissionCollection.java: Likewise.
8908         * java/security/Permissions.java: Likewise.
8909         * java/security/Policy.java: Likewise.
8910         * java/security/Principal.java: Likewise.
8911         * java/security/PrivateKey.java: Likewise.
8912         * java/security/PrivilegedAction.java: Likewise.
8913         * java/security/PrivilegedActionException.java: Likewise.
8914         * java/security/PrivilegedExceptionAction.java: Likewise.
8915         * java/security/ProtectionDomain.java: Likewise.
8916         * java/security/ProviderException.java: Likewise.
8917         * java/security/PublicKey.java: Likewise.
8918         * java/security/SecureClassLoader.java: Likewise.
8919         * java/security/SecurityPermission.java: Likewise.
8920         * java/security/SignatureException.java: Likewise.
8921         * java/security/UnrecoverableKeyException.java: Likewise.
8922         * java/security/UnresolvedPermission.java: Likewise.
8923         * java/security/acl/AclNotFoundException.java: Likewise.
8924         * java/security/acl/LastOwnerException.java: Likewise.
8925         * java/security/acl/NotOwnerException.java: Likewise.
8926         * java/security/cert/CRLException.java: Likewise.
8927         * java/security/cert/CertificateEncodingException.java: Likewise.
8928         * java/security/cert/CertificateException.java: Likewise.
8929         * java/security/cert/CertificateExpiredException.java: Likewise.
8930         * java/security/cert/CertificateFactory.java: Likewise.
8931         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8932         * java/security/cert/CertificateParsingException.java: Likewise.
8933         * java/security/spec/InvalidKeySpecException.java: Likewise.
8934         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8935
8936         * java/security/cert/CertPath.java: New file.
8937         * java/security/cert/CertPathBuilderException.java: New file.
8938         * java/security/cert/CertPathValidatorException.java: New file.
8939         * java/security/cert/CertStoreException.java: New file.
8940
8941         * Makefile.am: Add new CertPath classes.
8942         * Makefile.in: Rebuilt.
8943
8944         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8945
8946 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8947
8948         Merge JDK 1.4 exception chaining support from classpath.
8949
8950         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8951         (stackTraceBytes): Rename from stackTrace.
8952         * java/lang/Exception.java: Merge from classpath.
8953         * java/lang/StackTraceElement: New file from classpath.
8954         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8955         * Makefile.am: Add StackTraceElement.
8956         * Makefile.in: Rebuilt.
8957
8958 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8959
8960         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8961         they build first.
8962         * Makefile.in: Rebuilt.
8963
8964 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8965
8966         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
8967         * configure.in: Likewise.
8968         * aclocal.m4: Regenerate.
8969         * configure: Regenerate.
8970
8971 2002-05-13  Tom Tromey  <tromey@redhat.com>
8972
8973         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
8974         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
8975         Include platform.h.
8976
8977         Fixes PR libgcj/6389:
8978         * Makefile.in: Rebuilt.
8979         * Makefile.am (nat_source_files): Added natTimeZone.cc.
8980         * java/util/natTimeZone.cc: New file.
8981         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
8982         * java/lang/System.java: Merged with Classpath.
8983         * java/lang/Runtime.java: Merged with Classpath.
8984         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
8985         security check.
8986         (setIn0): Renamed from setIn; don't run security check.
8987         (setOut0): Renamed from setOut; don't run security check.
8988         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
8989         init_properties): Moved to natRuntime.cc.
8990         Moved many includes to natRuntime.cc.
8991         (isWordsBigEndian): New method.
8992         * java/lang/natRuntime.cc: Include Long.h, also other includes
8993         previously in natSystem.cc.
8994         (maxMemory): New function.
8995         (exitInternal): Renamed from `_exit'.
8996         (exit): Removed.
8997         (init): Don't set finalize_on_exit.
8998         (exitInternal): Use `finalizeOnExit'.
8999         (file_encoding, getpwuid_adaptor): New functions from
9000         natSystem.cc.
9001         (insertSystemProperties): New method, renamed from
9002         System::init_properties.  Don't set user.timezone.
9003         (_load): Don't call checkLink.
9004         (execInternal): New method.
9005         (availableProcessors): Likewise.
9006         (nativeGetLibname): Likewise.
9007
9008 2002-05-11  Mark Wielaard  <mark@klomp.org>
9009
9010         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9011         space characters.
9012         (previous_internal): Likewise.
9013
9014 2002-05-09  Tom Tromey  <tromey@redhat.com>
9015
9016         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9017
9018         * java/util/ResourceBundle.java: New version from Classpath.
9019         * java/util/Locale.java: Likewise.
9020
9021 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9022
9023         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9024         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9025         LD_LIBRARY_PATH.
9026
9027 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9028
9029         * libjava/Makefile.am (all_java_source_files): New variable.
9030         (all_java_class_files): Likewise.
9031         .java.class: New rule.
9032         (CLEANFILES): Remove tmp-list.
9033         * libjava/Makefile.in: Regenerated.
9034
9035 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9036
9037         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9038         Append .exe to executable names.  Fix for cygwin.
9039
9040 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9041
9042         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9043         script entry, and set LD to it when configuring multilibs.
9044         * configure: Rebuilt.
9045
9046 2002-05-07  Tom Tromey  <tromey@redhat.com>
9047
9048         * java/lang/natString.cc (unintern): Fixed typo.
9049
9050 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9051
9052         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9053         with -no-install on *-*-cygwin*.
9054
9055 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9056
9057         * testsuite/lib/libjava.exp (test_libjava_from_source):
9058         Add comment explaining last patch
9059
9060 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9061
9062         * testsuite/lib/libjava.exp (test_libjava_from_source):
9063         Append .exe to executable names.  If no suffix is present,
9064         then ".exe" is added by default on win32.  Harmless
9065         elsewhere so always do it.
9066
9067 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9068             Tom Tromey  <tromey@redhat.com>
9069
9070         * java/lang/natSystem.cc (getSystemTimeZone): Use
9071         HAVE_UNDERSCORE_TIMEZONE.
9072         * include/config.h.in: Rebuilt.
9073         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9074         * aclocal.m4, configure: Rebuilt.
9075         * acinclude.m4: Run AC_EXEEXT.
9076         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9077         Add test for `_timezone'.
9078
9079 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9080
9081         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9082         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9083         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9084         * Makefile.in: Rebuilt.
9085
9086 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9087
9088         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9089         use sigaction instead of __libc_sigaction.
9090
9091 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9092
9093         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9094         (libjava_init): Use it to find libgcj.spec.
9095         (libjava_arguments): Likewise.
9096
9097 2002-05-02  David S. Miller  <davem@redhat.com>
9098
9099         PR bootstrap/6525
9100         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9101         __libc_sigaction on Sparc.
9102
9103 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9104
9105         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9106         sys/filio.h, if present.
9107
9108 2002-04-30  Tom Tromey  <tromey@redhat.com>
9109
9110         * java/io/BufferedReader.java (fill): Handle case where markPos
9111         point to ignored \n.  Fixes PR libgcj/6301.
9112
9113 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9114
9115         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9116
9117 2002-04-29  Adam King <aking@dreammechanics.com>
9118
9119         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9120         of file in APPEND mode.
9121
9122 2002-04-25  David S. Miller  <davem@redhat.com>
9123
9124         PR target/6422
9125         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9126         program counter to next program counter minus 8.  Update
9127         comments in this macro to explain why.
9128
9129 2002-04-26  Tom Tromey  <tromey@redhat.com>
9130
9131         * verify.cc (construct_primitive_array_type) [void_type]: New
9132         case.
9133         (branch_prepass): Added dummy entries for unused instruction
9134         values.
9135         (verify_instructions_0): Likewise.
9136         * interpret.cc (continue1): Comment fix.
9137         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9138         * Makefile.in: Rebuilt.
9139         * Makefile.am: Added -Wswitch-enum.
9140
9141 2002-04-24  Tom Tromey  <tromey@redhat.com>
9142
9143         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9144         correct length of UTF-8 encoded name.  Strip leading `/'.
9145         (_Jv_RegisterResource): Use _Jv_Malloc.
9146
9147 2002-04-23  Adam Megacz <adam@xwt.org>
9148
9149         * win32.cc, include/win32.cc (backtrace): Added this function
9150         because Win32 does not supply it.
9151
9152 2002-04-21  David S. Miller  <davem@redhat.com>
9153
9154         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9155         magic instruction reading sequence.
9156
9157 2002-04-21  Mark Wielaard  <mark@klomp.org>
9158
9159         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9160
9161 2002-04-19  David S. Miller  <davem@redhat.com>
9162
9163         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9164         arg.
9165         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9166         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9167         on Sparc too.
9168         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9169         for 64-bit sparc.
9170         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9171         * sysdeps/sparc/locks.h: New file.
9172         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9173         on all sparc Solaris configurations.  Set to
9174         include/dwarf2-signal.h on sparc Linux.
9175         * configure: Regenerate
9176         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9177
9178 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9179
9180         * configure: Rebuilt.
9181         * configure.in (backtrace): Function doesn't work on IA-64.
9182
9183 2002-04-17  Adam King <aking@dreammechanics.com>
9184
9185         * java/io/File.java (normalizePath): Add Win32 support for auto
9186         conversion of a '/' path separator to Win32's '\' separator.
9187
9188 2002-04-16  Tom Tromey  <tromey@redhat.com>
9189
9190         Fix for PR libgcj/6081:
9191         * Makefile.in: Rebuilt.
9192         * Makefile.am (install-data-local): Use GNU make trick to avoid
9193         shell limit.
9194
9195 2002-04-16  Adam King <aking@dreammechanics.com>
9196             Tom Tromey  <tromey@redhat.com>
9197
9198         * java/io/natFileWin32.cc (performList): Return the correct array
9199         type.  Don't duplicate the creation of a File since it's already
9200         done earlier in the method and the existing code would cause a
9201         ArrayStoreException.  Don't use fixed-size array.
9202         (_access, _stat, attr, getCanonicalPath, performMkdir,
9203         performRenameTo): Don't use fixed-size array.
9204         (getCanonicalPath): Use throw, not _Jv_Throw.
9205
9206 2002-04-15  DJ Delorie  <dj@redhat.com>
9207
9208         * configure.in: Allow building in $srcdir.
9209         * configure: Regenerated.
9210
9211 2002-04-14  Mark Wielaard <mark@klomp.org>
9212
9213         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9214         * java/net/natSocketImpl.cc (close): Likewise.
9215
9216 2002-04-14  Mark Wielaard <mark@klomp.org>
9217
9218         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9219
9220 2002-04-13  Adam King <aking@dreammechanics.com>
9221
9222         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9223         the f/F/d/D modifiers.
9224
9225 2002-04-12  Anthony Green  <green@redhat.com>
9226
9227         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9228         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9229         * Makefile.in: Rebuilt.
9230         * configure.in: Substitute gcc_version.
9231         * configure: Rebuilt.
9232
9233 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9234
9235         * configure.host: Set can_unwind_signal on hosts which support it.
9236         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9237         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9238         exceptions and can_unwind_signal isn't set.
9239         * configure: Rebuilt.
9240
9241 2002-04-11  Tom Tromey  <tromey@redhat.com>
9242
9243         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9244
9245 2002-04-11  Adam King <aking@dreammechanics.com>
9246             Tom Tromey  <tromey@redhat.com>
9247
9248         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9249         _Jv_ThrowNullPointerException): Mark as noreturn.
9250         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9251         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9252         fixes.
9253
9254 2002-04-10  Tom Tromey  <tromey@redhat.com>
9255
9256         * Makefile.in: Rebuilt.
9257         * Makefile.am (java/lang/Thread.h): Mark
9258         _Jv_AttachCurrentThreadAsDaemon as friend.
9259         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9260         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9261         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9262         function.
9263         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9264         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9265         (_Jv_JNI_InvokeFunctions): Added
9266         _Jv_JNI_AttachCurrentThreadAsDaemon.
9267         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9268         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9269         (JNI_CreateJavaVM): Likewise.
9270         (_Jv_JNI_AttachCurrentThread): Likewise.
9271         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9272         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9273         (_Jv_JNIFunctions): Initialize new fields.
9274         (_Jv_JNI_NewDirectByteBuffer): New function.
9275         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9276         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9277         * include/jni.h (JNI_VERSION_1_4): New macro.
9278         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9279         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9280         (JNINativeInterface::NewDirectByteBuffer): New field.
9281         (JNINativeInterface::GetDirectBufferAddress): New field.
9282         (JNINativeInterface::GetDirectBufferCapacity): New field.
9283         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9284         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9285         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9286
9287 2002-04-09  Tom Tromey  <tromey@redhat.com>
9288
9289         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9290
9291 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9292
9293         Fix for PR libgcj/6187:
9294         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9295         distance.
9296
9297 2002-04-07  Mark Wielaard <mark@klomp.org>
9298
9299         * java/util/AbstractMap.java (putAll): Use entrySet size.
9300         (toString): Explicitly use getKey() and getValue().
9301
9302 2002-04-07  Mark Wielaard <mark@klomp.org>
9303
9304         * java/util/Hashtable.java (contains): Remove NullPointer check.
9305         (containsValue): Add NullPointer check.
9306         (remove): Always throw NullPointerException when key
9307         is null.
9308
9309 2002-04-07  Adam King <aking@dreammechanics.com>
9310
9311         * java/lang/natSystem.cc (init_properties): Call new function
9312         _Jv_platform_initProperties.
9313         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9314         support for the System properties os.name, os.arch, os.version,
9315         user.name, user.home, and user.dir.
9316         * include/posix.h, include/win32.h, posix.cc: New function
9317         _Jv_platform_initProperties.
9318
9319 2002-04-06  Mark Wielaard <mark@klomp.org>
9320
9321         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9322
9323 2002-04-06  Mark Wielaard <mark@klomp.org>
9324
9325         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9326         all of the remaining elements.
9327         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9328         (removeRange): If toIndex == fromIndex do
9329         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9330         (removeAll): Always throw NullPointerException when collection is
9331         null.
9332         (retrainAll): Likewise.
9333
9334 2002-04-05  Mark Wielaard <mark@klomp.org>
9335
9336         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9337         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9338
9339 2002-04-05  Adam Megacz <adam@xwt.org>
9340
9341         * exception.cc (abort): added static modifier
9342
9343 2002-04-04  Adam Megacz <adam@xwt.org>
9344
9345         * include/win32.h (_Jv_platform_close_on_exec): added inline
9346         modifier.
9347
9348 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9349
9350         * configure.host: Add case statement to support generic port
9351         properties.  Add *-*-freebsd* section.
9352
9353 2002-04-04  Mark Wielaard  <mark@klomp.org>
9354
9355         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9356         test.
9357         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9358         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9359         that depend on awt code and BufferedByteOutputStream.interrupt.
9360
9361 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9362
9363         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9364         incorrect "hi" value when count > 40.
9365
9366 2002-04-03  Mark Wielaard  <mark@klomp.org>
9367
9368         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9369         ordering.
9370
9371 2002-04-02  Tom Tromey  <tromey@redhat.com>
9372
9373         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9374         not `0'.
9375
9376 2002-04-02  Mark Wielaard  <mark@klomp.org>
9377
9378         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9379         list of testsuite crashers.
9380
9381 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9382
9383         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9384         when resizing table.
9385
9386 2002-04-01  Mark Wielaard  <mark@klomp.org>
9387
9388         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9389         NegativeArraySizeException
9390         (clear(int)): Use sign extended shift.
9391         (flip(int)): Likewise.
9392         (get(int)): Likewise.
9393         (nextClearBit(int)): Likewise.
9394         (nextSetBit(int)): Likewise.
9395         (set(int)): Likewise.
9396
9397 2002-04-01  Mark Wielaard  <mark@klomp.org>
9398
9399         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9400         that can be compiled now and add testsuite crashers to ignore list.
9401
9402 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9403
9404         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9405
9406         * libgcj.spec.in: Override libgcc, not lib.
9407         * libgcj-test.spec.in: Likewise.
9408
9409 2002-03-29  Tom Tromey  <tromey@redhat.com>
9410
9411         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9412         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9413
9414 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9415
9416         * java/net/PlainDatagramSocketImpl.java
9417         (close): Use native implementation.
9418         (finalize): New method.
9419
9420         * java/net/PlainSocketImpl.java (finalize): New method.
9421
9422         * java/net/natPlainDatagramSocketImpl.cc
9423         (java/io/FileDescriptor.h): Don't include.
9424         (close): Implement method here.
9425         (create): Don't assign fd.
9426
9427         * java/net/natPlainSocketImpl.cc
9428         (java/io/FileDescriptor.h): Don't include.
9429         (create): Don't assign fd.
9430         (accept): Likewise.
9431         (close): Synchronize.
9432
9433 2002-03-27  Richard Henderson  <rth@redhat.com>
9434
9435         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9436
9437 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9438
9439         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9440         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9441         instead of syscall on IA-64.
9442         Add FIXME comment.
9443
9444 2002-03-27  Anthony Green  <green@redhat.com>
9445
9446         * libgcj.spec.in: Add CHECKREFSPEC.
9447         * configure.in: Ditto.
9448         * configure.host: Ditto.  Check references for xscale-elf.
9449         * configure: Rebuilt.
9450
9451 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9452
9453         * include/dwarf2-signal.h: Temporarily back out last change.
9454
9455 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9456
9457         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9458
9459 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9460
9461         * configure.in, configure: enable dwarf2-exception-style
9462         exception handling on IA-64.
9463         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9464         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9465         Add FIXME comment.
9466
9467 2002-03-25  Tom Tromey  <tromey@redhat.com>
9468
9469         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9470         (jv_convert_LDFLAGS): Likewise.
9471         (gij_LDFLAGS): Likewise.
9472         (rmic_LDFLAGS): Likewise.
9473         (rmiregistry_LDFLAGS): Likewise.
9474         * configure.in (THREADLDFLAGS): New subst; set correctly for
9475         *BSD.
9476
9477 2002-03-25  Tom Tromey  <tromey@redhat.com>
9478
9479         For PR libgcj/5303:
9480         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9481         and --version.
9482         (help): New method.
9483         (version): Likewise.
9484         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9485         "GNU".
9486         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9487         "GNU".
9488
9489 2002-03-25  Tom Tromey  <tromey@redhat.com>
9490
9491         * java/awt/Component.java (processEvent): Check ComponentEvent
9492         after KeyEvent.
9493
9494 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9495
9496         * java/io/PushbackReader.java: Reformat.
9497
9498         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9499         calculate correct number of bytes skipped.
9500
9501         Based on patch from Intel's ORP team:
9502         * java/io/PushbackInputStream.java (available): Calculate correct
9503         number of bytes in buffer.
9504         (read): Remove redundant bound check. Return bytes from both the
9505         buffer and the stream.
9506
9507 2002-03-24  Tom Tromey  <tromey@redhat.com>
9508
9509         * java/awt/TextComponent.java (TextComponent): Editable by
9510         default.
9511
9512         * java/awt/MenuItem.java (eventMask): No longer private.
9513         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9514         superclass if we didn't handle event.
9515         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9516         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9517         * java/awt/Choice.java (dispatchEventImpl): New method.
9518         * java/awt/List.java (dispatchEventImpl): New method.
9519         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9520         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9521         * java/awt/TextField.java (dispatchEventImpl): New method.
9522
9523 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9524
9525         * java/beans/IntrospectionException.java: Update to 1.4.
9526         * java/beans/PropertyVetoException.java: Ditto.
9527
9528 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9529
9530         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9531         Arrays.equals instead of ArrayHelper.equalsArray.
9532
9533 2002-03-24  C. Brian Jones <cbj@gnu.org>
9534
9535         * java/beans/Introspector.java: added new static final fields
9536         introduced in 1.2, lots of other updates remain to be done
9537
9538 2002-03-24  C. Brian Jones <cbj@gnu.org>
9539
9540         * java/beans/Introspector.java: reformatting
9541
9542 2002-03-24  C. Brian Jones <cbj@gnu.org>
9543
9544         * java/beans/Introspector.java: default beanInfoSearchPath will
9545         not include sun.beans.infos given we provide no such package and
9546         the API doesn't really require it; gnu.java.beans.info is the
9547         default.
9548
9549 2002-03-24  Mark Wielaard  <mark@klomp.org>
9550
9551         Thanks to Orp developers
9552         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9553         switch TRUE and FALSE return values.
9554
9555 2002-03-23  Tom Tromey  <tromey@redhat.com>
9556
9557         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9558         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9559
9560 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9561
9562         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9563         MONTH entry.  Fixes PR libgcj/6045.
9564
9565 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9566
9567         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9568
9569 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9570
9571         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9572         not release_set.
9573         * sysdep/powerpc/locks.h (write_barrier): New function.
9574         * sysdep/i386/locks.h (write_barrier): New function.
9575
9576 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9577
9578         * include/jni.h Use correct C comments.
9579
9580 2002-03-18  Tom Tromey  <tromey@redhat.com>
9581
9582         * include/jni.h (JNIIMPORT): New macro.
9583         (JNIEXPORT): Likewise.
9584         (JNICALL): Likewise.
9585
9586 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9587
9588         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9589         systems.
9590
9591 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9592
9593         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9594         INIT_SEGV: Use old_i386_kernel_sigaction.
9595         INIT_FP: Likewise.
9596
9597 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9598
9599         * java/lang/natSystem.cc (init_properties): Update VM version
9600         properties.
9601         * configure.in: Set GCJVERSION.
9602         * acconfig.h: Add GCJVERSION.
9603         * configure: Rebuilt.
9604         * include/config.h.in: Rebuilt.
9605
9606 2002-03-17  Anthony Green  <green@redhat.com>
9607
9608         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9609
9610 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9611
9612         Build a single libgcj.so, without separate gc and zlib libraries.
9613         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9614         SYS_ZLIBS if system zlib is used.
9615         * configure: Rebuilt.
9616         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9617         * Makefile.in: Rebuilt.
9618         * libtool-version: Increment .so version number.
9619
9620         * Makefile.am: Escape quotes in echo.
9621         * Makefile.in: Rebuilt.
9622
9623 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9624
9625         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9626         * Makefile.in: Rebuilt.
9627
9628 2002-03-15  Anthony Green  <green@redhat.com>
9629
9630         * configure.host (FILE): New macro for specifing File
9631         implementation.
9632         * configure: Rebuilt.
9633         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9634
9635 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9636
9637         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9638         already implicitly brought in from libgcj.la.
9639         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9640         * Makefile.in: Rebuilt.
9641
9642 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9643
9644         * THANKS: Fix punctuation, alphabetization.
9645
9646 2002-03-15  Tom Tromey  <tromey@redhat.com>
9647             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9648
9649         Fix for PR libgcj/5944.
9650         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9651
9652 2002-03-15  Anthony Green  <green@redhat.com>
9653
9654         * configure.in (tool_include_dir): Define.
9655         * configure: Rebuilt.
9656         * gcj/Makefile.am: Install libgcj-config.h relative to
9657         tool_include_dir.
9658         * gcj/Makefile: Rebuilt.
9659         * gcj/libgcj-config.h: Add warning comment.
9660
9661 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9662
9663         * configure.host (powerpc*-darwin*): Enable interpreter.
9664
9665 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9666
9667         * include/posix.h: Add multiple include header protection.
9668         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9669
9670 2002-03-10  Adam Megacz <adam@xwt.org>
9671
9672         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9673
9674 2002-03-10  Tom Tromey  <tromey@redhat.com>
9675
9676         * java/awt/GridLayout.java (layoutContainer): Handle case where
9677         there are no items in container.
9678
9679         * java/lang/Win32Process.java: Added comment.
9680         * include/posix.h (_Jv_platform_close_on_exec): New function.
9681         Include fcntl.h.
9682         * include/win32.h (_Jv_platform_close_on_exec): New function.
9683         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9684         flag.
9685         (accept): Likewise.
9686         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9687         close-on-exec flag.
9688         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9689         flag.
9690
9691 2002-03-09  Tom Tromey  <tromey@redhat.com>
9692
9693         * verify.cc (state::NO_STACK): New constant.
9694         (state::is_unmerged_ret_state): Handle case where stacktop is
9695         NO_STACK.
9696         (state::merge): Handle NO_STACK merges.
9697         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9698         for instruction following jsr.
9699         (stacktop, stackdepth): Removed unused variables.
9700         (pop_jump): Ignore case where all remaining states are skipped.
9701
9702 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9703
9704         * java/awt/ImageMediaEntry: Removed.
9705         * java/awt/MediaEntry: Removed.
9706
9707 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9708
9709         Hashtable synchronization for PowerPC.
9710         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9711         slow_pthread_self. Set up symlink for sysdeps directory.
9712         * configure: Rebuild.
9713         * configure.host: Document more shell variables. Set sysdeps_dir
9714         for most platforms. Set slow_pthread_self for i686. Set
9715         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9716         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9717         that memory barrier is emitted where required.
9718         * prims.cc: 64-bit align static primitive class instances.
9719         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9720         read_barrier() to enforce ordering of reads.
9721         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9722         primitives for PowerPC.
9723         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9724         moved from natObject.cc.
9725         * sysdep/alpha/locks.h: Likewise.
9726         * sysdep/ia64/locks.h: Likewise.
9727         * sysdep/generic/locks.h: Likewise.
9728         * java/lang/natObject.cc: Move thread synchronization primitives to
9729         system-dependent headers.
9730
9731 2002-03-09  Adam Megacz  <adam@xwt.org>
9732
9733         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9734         bytes read and no failure code returned.
9735
9736 2002-03-09  Adam Megacz  <adam@xwt.org>
9737
9738         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9739         definitions to simulate -mthreads.
9740
9741 2002-03-09  Adam Megacz  <adam@xwt.org>
9742
9743         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9744         avoid precision loss.
9745
9746 2002-03-09  Per Bothner  <per@bothner.com>
9747
9748         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9749         * gnu/gcj/xlib/XImage.java:  Likewise.
9750         * gnu/gcj/xlib/XColor.java:  Likewise.
9751
9752 2002-03-09  Adam Megacz  <adam@xwt.org>
9753
9754         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9755         IOException so that Throwable.printStackTrace fails correctly.
9756
9757 2002-03-08  Adam Megacz  <adam@xwt.org>
9758
9759         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9760         fixed.
9761
9762 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9763
9764         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9765         truncated to int.
9766
9767 2002-03-08  Tom Tromey  <tromey@redhat.com>
9768
9769         * include/jni.h: Include stdio.h.
9770
9771 2002-03-08  Tom Tromey  <tromey@redhat.com>
9772
9773         * posix.cc (internal_gettimeofday): New function.
9774         (_Jv_select): Use it.
9775
9776 2002-03-07  Adam Megacz  <adam@xwt.org>
9777
9778         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9779         WIN32, and added thunks for read(), write(), and close().
9780         * java/net/natPlainSocketImpl.cc (accept, read, read):
9781         Disabled timeouts on WIN32 pending discussion.
9782
9783 2002-03-07  Adam Megacz  <adam@xwt.org>
9784
9785         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9786         returns jlong. Added implementation
9787         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9788         returns jlong.
9789         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9790         returns jlong.
9791         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9792         returns jlong.
9793         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9794         _Jv_platform_gettimeofday signature.
9795
9796 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9797
9798         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9799         (read): Call recv() directly, not _Jv_recv().
9800
9801 2002-03-06  Tom Tromey  <tromey@redhat.com>
9802
9803         * java/io/natFileDescriptorEcos.cc (init): Don't use
9804         GetStdHandle.
9805         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9806         is negative.
9807         (init): Don't use GetStdHandle.
9808
9809         * include/config.h.in: Rebuilt.
9810         * configure: Rebuilt.
9811         * Makefile.in: Rebuilt.
9812
9813 2002-03-06  Adam Megacz  <adam@xwt.org>
9814
9815         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9816         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9817         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9818         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9819
9820 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9821
9822         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9823         the code for generating include/java-chartables.h.
9824         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9825         merge with Classpath.
9826         * scripts/unicode-muncher.pl: Copy from Classpath.
9827         * scritps/MakeCharTables.java: New file.
9828         * gnu/gcj/convert/Blocks-3.txt: New file.
9829         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9830         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9831         * gnu/java/lang/CharData.java: Copy from Classpath.
9832         * Makefile.am (ordinary_java_source_files): Add
9833         gnu/java/lang/CharData.java.
9834         * configure.in: Remove --enable-fast-character option.
9835         * java/lang/Character.java: Merge algorithms and Javadoc with
9836         Classpath.
9837         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9838         efficiently.
9839         * include/java-chardecomp.h: Regenerate.
9840         * include/java-chartables.h: Regenerate.
9841
9842 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9843
9844         * java/awt/MediaTracker.java: Implemented.
9845         * Makefile.am: Add MediaTracker.
9846         * Makefile.in: Rebuilt.
9847
9848 2002-03-05  Tom Tromey  <tromey@redhat.com>
9849
9850         * java/lang/natPosixProcess.cc (fail): Removed.
9851         (startProcess): Simplified error-handling.  Preserve
9852         LD_LIBRARY_PATH across exec.
9853
9854         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9855         AbstractMethodError.
9856
9857 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9858
9859         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9860         * Makefile.in: Rebuilt.
9861
9862 2002-03-03 Mark Wielaard <mark@klomp.org>
9863
9864         * java/util/Timer (TaskQueue.stop): set elements to zero.
9865
9866 2002-02-28  Anthony Green  <green@redhat.com>
9867
9868         * java/lang/reflect/natMethod.cc (result): Add void* element.
9869         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9870         constructor test.
9871
9872 2002-02-27  Adam Megacz <adam@xwt.org>
9873
9874         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9875         '#undef STRICT'.
9876
9877 2002-02-26  Tom Tromey  <tromey@redhat.com>
9878
9879         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9880         * gij.cc (version): Use __VERSION__.
9881         * include/config.h.in: Rebuilt.
9882         * acconfig.h (GCJVERSION): Removed.
9883         * configure: Rebuilt.
9884         * configure.in (GCJVERSION): Removed.
9885
9886 2002-02-26  Andreas Schwab  <schwab@suse.de>
9887
9888         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9889         glibcpp_CXX, since libjava uses even another CXX.
9890         * aclocal.m4, configure: Regenerated.
9891
9892 2002-02-26  Tom Tromey  <tromey@redhat.com>
9893
9894         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9895         `1'.
9896
9897 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9898
9899         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9900         dependency tracking for .java files.
9901         * Makefile.in: Rebuilt.
9902
9903 2002-02-24  Adam Megacz  <adam@xwt.org>
9904
9905         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9906         typo. Sorry.
9907
9908 2002-02-24  Adam Megacz  <adam@xwt.org>
9909
9910         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9911         for Win32, changed #ifdefs to check WIN32 instead of the
9912         (now-obsolete) USE_WINSOCK, and removed support for socket
9913         timeouts on Win32 pending further discussion.
9914
9915 2002-02-24  Adam Megacz  <adam@xwt.org>
9916
9917         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9918         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9919         delete
9920
9921 2002-02-24  Adam Megacz  <adam@xwt.org>
9922
9923         * java/lang/Win32Process.java: Created a dummy class to allow
9924         build process to run to completion.
9925
9926 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9927
9928         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9929         Define ffi_result union for ffi_call result.  Cast
9930         ffi_result members to jvalue.
9931
9932 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9933
9934         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9935         * testsuite/Makefile.in: Likewise.
9936
9937 2002-02-20  Per Bothner  <per@bothner.com>
9938
9939         * java/net/URL.java (getPath):  New JDK 1.3 method.
9940
9941         * java/net/URLStreamHandler.java (parseURL):
9942         It is wrong to prepend '/' to the file part of a relative url.
9943
9944         * java/net/URLStreamHandler.java (parseURL):
9945         Minor optizations - append '/' rather than "/".
9946
9947         * java/net/URLStreamHandler.java (parseURL):
9948         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9949         We probably should canonicalize for a context-relative url, though.
9950         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9951         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9952         (sameFile):  New method.  Uses canonicalizeFilename.
9953
9954 2002-02-22  Tom Tromey  <tromey@redhat.com>
9955
9956         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9957         java.vendor and java.vm.vendor.
9958         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9959         recent copyright date.
9960         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9961         * gij.cc (version): Print `Inc'.
9962
9963 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9964
9965         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9966         * aclocal.m4, configure: Rebuilt.
9967
9968 2002-02-20  Per Bothner  <per@bothner.com>
9969
9970         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
9971         and/or output streams immediately here, instead of using File.exists.
9972         (inputStream, outputStream):  New fields to save open streams.
9973         (getInputStream, getOutputStream):  Use already-opened streams.
9974
9975 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9976
9977         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
9978         Use it.
9979         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
9980         * aclocal.m4, configure, Makefile.in: Rebuilt.
9981
9982 2002-02-19  Tom Tromey  <tromey@redhat.com>
9983
9984         Fix for PR libgcj/5696:
9985         * verify.cc (is_assignable_from_slow): Never call
9986         _Jv_IsAssignableFrom.
9987         (verify_instructions_0): Added new debug statement.
9988         (state::print): Print information about whether local has
9989         changed.
9990         (state::merge): Don't call note_variable when merging locals.
9991         (state::set_exception): Removed old FIXME comment.
9992
9993 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9994
9995         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
9996         enable SO_BROADCAST.
9997
9998 2002-02-18  Jason Merrill  <jason@redhat.com>
9999
10000         * name-finder.cc (toHex): Use word mode, not long long.
10001
10002         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10003
10004 2002-02-15  Tom Tromey  <tromey@redhat.com>
10005
10006         Fix for PR libgcj/5695:
10007         * verify.cc (is_assignable_from_slow): Check to see if target is
10008         an Object before checking to see if source is an interface.
10009         (verify_instructions_0) [op_invokeinterface]: Handle case where
10010         we're making an interface call on Object.
10011
10012 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10013
10014         * Makefile.in: Rebuilt with Eric's change below.
10015
10016         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10017         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10018         Removed functions which are now implemented in Math.java.
10019
10020 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10021
10022         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10023         * Makefile.am (core_java_source_files): Add
10024         java/lang/StrictMath.java.
10025         * java/lang/Math.java: Merge with Classpath.
10026         * java/lang/StrictMath.java: New file - merge with Classpath.
10027
10028 2002-02-14  Mark Wielaard  <mark@klomp.org>
10029
10030         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10031         package as a workaround for gcj 3.0.x
10032
10033 2002-02-14  Mark Wielaard <mark@klomp.org>
10034
10035         * java/security/BasicPermission.java: extends with fully qualified
10036         classname as workaround for gcj 3.0.4.
10037
10038 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10039
10040         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10041         around gcj bug of wrong emitted qualifier for inherited method.
10042         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10043         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10044         constructor to reduce amount of emitted bytecode. While this
10045         happens to work around a jikes 1.15 bug, it is still a useful
10046         patch even for correct compilers.
10047         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10048         * gnu/java/rmi/server/UnicastRemoteCall.java
10049         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10050
10051 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10052
10053         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10054         * java/net/SocketImpl.java: Ditto.
10055         * java/rmi/server/RMIClassLoader.java: Ditto.
10056         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10057
10058 2002-02-14  Mark Wielaard <mark@klomp.org>
10059
10060         Thanks to Takashi Okamoto
10061         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10062         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10063         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10064
10065 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10066
10067         Fix for PR libgcj/5670:
10068         * verify.cc (is_assignable_from_slow): If `source' is interface,
10069         recursively look for merge with `target'.
10070
10071 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10072
10073         * include/jni.h: Fix typo.
10074
10075 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10076
10077         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10078         correctly.
10079
10080 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10081
10082         Fix for PR libgcj/5671:
10083         * verify.cc (state::merge): Handle case where we're merging
10084         against an interface.
10085
10086 2002-02-12  Tom Tromey  <tromey@redhat.com>
10087
10088         * exception.cc (std::abort): Mark as noreturn.
10089
10090 2002-02-12  Adam Megacz <adam@xwt.org>
10091
10092         * java/lang/Win32Process.java: Filled in a placeholder
10093         implementation so Win32 will build.
10094
10095 2002-02-12  Adam Megacz <adam@xwt.org>
10096
10097         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10098         * java/io/natFile.cc: Removed from repository.
10099         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10100
10101 2002-02-12  Adam Megacz <adam@xwt.org>
10102
10103         * win32.cc: Added two #includes to make win32.cc compile.
10104
10105 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10106
10107         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10108         declarations.
10109         (_Jv_InitGC): Don't bother locking, as this is always called from a
10110         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10111
10112 2002-02-11  Adam Megacz <adam@xwt.org>
10113
10114         * include/win32.h: Added _Jv_platform_gettimeofday.
10115         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10116
10117 2002-02-11  Adam Megacz <adam@xwt.org>
10118
10119         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10120         Added #undef STRICT to make windows.h and
10121         java/lang/reflect/Modifier.h cooperate.
10122
10123 2002-02-11  Adam Megacz <adam@xwt.org>
10124
10125         * java/io/natFileWin32.cc: Created a placeholder class with lots
10126         of FIXMEs.
10127
10128 2002-02-11  Adam Megacz <adam@xwt.org>
10129
10130         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10131         std::abort() to simply abort(). Also added "fake" std::abort() so
10132         we can #include unwind-pe.h without having to link against
10133         libstdc++-v3.
10134
10135 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10136
10137         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10138
10139 2002-02-08  Tom Tromey  <tromey@redhat.com>
10140
10141         * interpret.cc (convert): New function.
10142         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10143         convert.
10144         Include Long.h.
10145
10146 2002-02-08  Anthony Green  <green@redhat.com>
10147
10148         * configure.host: Add support for xscale-elf embedded target.
10149
10150 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10151
10152         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10153         dereferenced.
10154         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10155         frame.
10156
10157 2002-02-07  Tom Tromey  <tromey@redhat.com>
10158
10159         * java/io/natFile.cc (_access): Use __builtin_alloca.
10160         (_stat): Likewise.
10161         (attr): Likewise.
10162         (getCanonicalPath): Likewise.
10163         (performList): Likewise.
10164         (performMkdir): Likewise.
10165         (performSetReadOnly): Likewise.
10166         (performRenameTo): Likewise.
10167         (performSetLastModified): Likewise.
10168         (performCreate): Likewise.
10169         (performDelete): Likewise.
10170
10171 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10172
10173         * HACKING: Fix URL for the automake-gcj.
10174
10175 2002-02-07  Tom Tromey  <tromey@redhat.com>
10176
10177         * java/lang/natThrowable.cc: Updated copyright.
10178         * java/io/natFileWin32.cc: Updated copyright.
10179         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10180         * win32-threads.cc: Updated copyright.
10181         * name-finder.cc: Updated copyright.
10182         * include/name-finder.h: Updated copyright.
10183
10184         * include/name-finder.h: Conditionally include sys/wait.h.
10185         * include/config.h.in: Rebuilt.
10186
10187         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10188         Size buffer based on real size of string.
10189         (_stat): Likewise.
10190         (attr): Likewise.
10191         (getCanonicalPath): Likewise.
10192         (performList): Likewise.
10193         (performMkdir): Likewise.
10194         (performSetReadOnly): Likewise.
10195         (unixroot): Removed.
10196         (performRenameTo): Likewise.
10197         (performSetLastModified): Likewise.
10198         (performCreate): Likewise.
10199         (performDelete): Likewise.
10200         (performListRoots): Always return new array.
10201
10202         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10203         * win32.cc (win32_exception_handler): Now static.
10204         * include/win32.h (_Jv_platform_initialize): Declare.
10205         (win32_exception_handler): Don't declare.
10206         * java/lang/natSystem.cc (currentTimeMillis): Use
10207         _Jv_platform_gettimeofday.
10208         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10209         (_Jv_select): Use new name.
10210         (_Jv_platform_initialize): New function.
10211         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10212         _Jv_gettimeofday.
10213         (_Jv_platform_initialize): Declare.
10214
10215         * configure: Rebuilt.
10216         * configure.in: Removed unnecessary parens.
10217
10218 2002-02-06  Adam Megacz <adam@xwt.org>
10219
10220        * configure.in: Changed mingw) to *mingw*).
10221        * win32.cc: Created this file.
10222        * win32.h: Created this file.
10223        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10224        win32_exception_handler from prims.cc to win32.cc, added
10225        header in win32.h.
10226        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10227        longer needed now that we have platform.h
10228
10229 2002-02-06  Adam Megacz <adam@xwt.org>
10230
10231         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10232         use uint<n>_t instead of LONG and BYTE
10233
10234 2002-02-06  Adam Megacz <adam@xwt.org>
10235
10236         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10237
10238 2002-02-06  Anthony Green  <green@redhat.com>
10239
10240         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10241         Implement missing method stubs.
10242         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10243         targets.
10244         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10245         concept of timezones.
10246         (init_properties): Don't refer to _Jv_Environment_Properties
10247         when this feature is not available.
10248         * include/config.h.in: Rebuilt.
10249         * acconfig.h: Add DISABLE_MAIN_ARGS.
10250         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10251         * configure: Rebuilt.
10252         * configure.in: Add --disable-main-args option.  Test for
10253           opendir function.  Replace AC_CHECK_SIZEOF with
10254           AC_COMPILE_CHECK_SIZEOF.
10255         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10256         * aclocal.m4: Rebuilt.
10257         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10258
10259 2002-02-06  Tom Tromey  <tromey@redhat.com>
10260
10261         * verify.cc (require_array_type): If argument is a null array of
10262         references, return null as the element type.
10263
10264 2002-02-06  Mark Wielaard  <mark@klomp.org>
10265
10266         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10267         duplicate of a wide type.
10268
10269 2002-02-06  Tom Tromey  <tromey@redhat.com>
10270
10271         * verify.cc (type::isnull): New method.
10272         (require_array_type): Handle case where array is null.
10273         (verify_instructions_0) [op_arraylength]: Likewise.
10274
10275 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10276
10277         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10278         Symlink PLATFORMH to platform.h.
10279         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10280         PLATFORMOBJS.
10281         * java/lang/natSystem.cc: #include platform.h not posix.h.
10282         * Makefile.in: Rebuilt with libgcj automake.
10283         * configure: Rebuilt.
10284
10285 2002-02-05  Richard Henderson  <rth@redhat.com>
10286
10287         * Makefile.in: Undo munging last change.
10288
10289 2002-02-04  Adam Megacz <adam@xwt.org>
10290
10291         * win32.cc: Created it.
10292         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10293         which is set to posix.cc or win32.cc.
10294         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10295
10296 2002-02-04  Adam Megacz <adam@xwt.org>
10297
10298         * configure.in: Corrected mingw case branches; added * before
10299         and after.
10300
10301 2002-02-04  Adam Megacz <adam@xwt.org>
10302
10303         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10304         if compiling for win32
10305
10306 2002-02-04  Adam Megacz <adam@xwt.org>
10307
10308         * win32-threads.cc: #undef STRICT after gc.h inclusion
10309
10310 2002-02-02  Tom Tromey  <tromey@redhat.com>
10311
10312         * Makefile.in: Rebuilt.
10313
10314 2002-02-02  Jason Merrill  <jason@redhat.com>
10315
10316         * Makefile.am (clean-nat): New target.
10317
10318 2002-02-02  Tom Tromey  <tromey@redhat.com>
10319
10320         * java/io/natFile.cc: Removed old "FIXME" comments.
10321
10322 2002-02-01  Tom Tromey  <tromey@redhat.com>
10323
10324         * java/lang/natPosixProcess.cc (myclose): New function.
10325         (fail): Use it.
10326         (startProcess): Likewise.
10327
10328 2002-02-01  Adam Megacz <adam@xwt.org>
10329
10330         * prims.cc: Added #undef STRICT after #include<windows.h>.
10331
10332 2002-02-01  Adam Megacz <adam@xwt.org>
10333
10334         * prims.cc
10335         (_Jv_CreateJavaVM): We now use WIN32 instead of
10336         USE_WIN32_SIGNALLING and USE_WINSOCK.
10337         (win32_exception_handler): Now throws an exception out of
10338         the signal handler; assumes SJLJ.
10339
10340 2002-02-01  Adam Megacz <adam@xwt.org>
10341
10342         * win32-threads.cc:
10343         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10344         wait() algorithm to make it safe.
10345         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10346         Added lazy creation of Win32 Events for better performance
10347         (really_start): This now uses GC_CreateThread so boehm-gc
10348         knows about new threads even when statically linked.
10349
10350 2002-02-01  Adam Megacz <adam@xwt.org>
10351
10352         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10353         enable safer wait() algorithm.
10354         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10355         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10356         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10357         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10358         instead of mutex.
10359         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10360
10361 2002-02-01  Adam Megacz <adam@xwt.org>
10362
10363         * configure.in: Added support for mingw.
10364         * java/lang/Win32Process.java: Created as empty file.
10365         * java/lang/natWin32Process.cc: Created as empty file.
10366
10367 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10368
10369         PR java/4972
10370         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10371         for libiconv in LIBICONV variable.
10372         * configure: Regenerated.
10373
10374 2002-01-31  Tom Tromey  <tromey@redhat.com>
10375
10376         * verify.cc (state::enter_subroutine): New method.
10377         (handle_jsr_insn): Use it.
10378         (state::merge): When processing a `ret', correctly use
10379         subroutine's state to determine which local variables have
10380         changed.
10381         (push_exception_jump): Don't let stack overflow.
10382
10383 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10384
10385         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10386         --version output.
10387
10388 2002-01-30  Tom Tromey  <tromey@redhat.com>
10389
10390         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10391         parameter for `recv' return type.
10392
10393         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10394         (state::merge): ... not here.
10395         (subr_entry_info): New structure.
10396         (entry_points): New field.
10397         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10398         entry_points.
10399
10400 2002-01-29  Tom Tromey  <tromey@redhat.com>
10401
10402         * java/awt/List.java (addNotify): Correctly check to see if peer
10403         does not exist.
10404
10405         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10406         to compute height of each cell, and number of columns to compute
10407         width of each cell.
10408         * java/awt/Window.java (getOwnedWindows): Don't return null.
10409         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10410         of component.  Increment x using horizontal gap, not vertical
10411         gap.
10412
10413 2002-01-28  Tom Tromey  <tromey@redhat.com>
10414
10415         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10416         `nargs' byte is number of words, not number of arguments.
10417
10418 2002-01-27  Tom Tromey  <tromey@redhat.com>
10419
10420         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10421         (when): Likewise.
10422         * java/awt/event/InputEvent.java (modifiers, when): Now
10423         package-private.
10424
10425         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10426         and to-do list.
10427         (state::merge): Use current class' class loader.
10428         (state::print): Print subroutine.
10429         (state::merge): Don't look at subroutine of unmerged `ret'.
10430
10431 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10432
10433         * nogc.cc: Remove warnings.
10434         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10435         New functions.
10436
10437 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10438
10439         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10440         int, int):  Remove empty "if" statement to work around compiler bug.
10441         (newPixels(int[], ColorModel, int, int): Likewise.
10442
10443 2002-01-25  Per Bothner  <per@bothner.com>
10444
10445         * verify.cc (verify_fail):  Change from being a top-level function
10446         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10447         Pass the current verifier to type: and state: methods as needed,
10448         for better error messages, and for resolve.
10449         (resolve):  Pass current class's loader for Class.forName and
10450         _Jv_FindClassFromSignature, rather than using the default loader.
10451         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10452         (get_type_val_for_signature):  Make non-static.
10453         (various methods):  Pass start_PC implicitly, not explicitly.
10454
10455 2002-01-25  Tom Tromey  <tromey@redhat.com>
10456
10457         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10458         loop termination condition.
10459         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10460         width.
10461
10462 2002-01-24  Tom Tromey  <tromey@redhat.com>
10463
10464         * java/awt/Shape.java: Merged with Classpath.
10465         * java/awt/Scrollbar.java: Merged with Classpath.
10466
10467         * java/awt/Container.java (addNotify): Unconditionally call
10468         addNotifyContainerChildren and superclass addNotify.
10469
10470         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10471         getAlpha, not getBlue.
10472
10473 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10474
10475         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10476
10477         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10478         (grabPixels(long)): Wait to be notified that the ImageProducer has
10479         completed.
10480
10481 2002-01-24  Per Bothner  <per@bothner.com>
10482
10483         * verify.cc (is_assignable_from_slow): If target is an interface,
10484         we must still check the source's superclass before giving up.
10485
10486 2002-01-24  Tom Tromey  <tromey@redhat.com>
10487
10488         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10489
10490 2002-01-23  Tom Tromey  <tromey@redhat.com>
10491
10492         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10493         `else'.
10494
10495         * Makefile.in: Rebuilt.
10496         * Makefile.am (awt_java_source_files): Added new files.
10497         * java/awt/Toolkit.java: Merged with Classpath.
10498         * java/awt/PrintGraphics.java: New file from Classpath.
10499         * java/awt/PrintJob.java: New file from Classpath.
10500         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10501         * java/awt/datatransfer/ClipboardOwner.java: New file from
10502         Classpath.
10503         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10504         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10505         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10506         Classpath.
10507         * java/awt/datatransfer/StringSelection.java: New file from
10508         Classpath.
10509         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10510         Classpath.
10511         * java/awt/datatransfer/Transferable.java: New file from
10512         Classpath.
10513         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10514         from Classpath.
10515
10516         * Makefile.in: Rebuilt.
10517         * Makefile.am (awt_java_source_files): Added new files.
10518         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10519         Classpath.
10520         * java/awt/image/CropImageFilter.java: New file from Classpath.
10521         * java/awt/image/FilteredImageSource.java: New file from
10522         Classpath.
10523         * java/awt/image/ImageFilter.java: New file from Classpath.
10524         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10525         * java/awt/image/PixelGrabber.java: New file from Classpath.
10526         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10527         * java/awt/image/ReplicateScaleFilter.java: New file from
10528         Classpath.
10529         * java/awt/image/ImageProducer.java: Replaced with Classpath
10530         version.
10531         * java/awt/image/ImageObserver.java: Replaced with Classpath
10532         version.
10533         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10534         version.
10535         * java/awt/GridBagConstraints.java (clone): Catch
10536         CloneNotSupportedException.
10537
10538 2002-01-23  Per Bothner  <per@bothner.com>
10539
10540         * java/lang/reflect/natField.cc (setAddr):  New function.
10541         Calls getAddr and then checks that the field isn't final.
10542         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10543         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10544         (set):  Call setAddr before check that new value has right type,
10545         to better match specified semantics.
10546
10547 2002-01-22  Tom Tromey  <tromey@redhat.com>
10548
10549         * java/awt/TextField.java: Replaced with Classpath version.
10550         * java/awt/TextArea.java: Replaced with Classpath version.
10551         * java/awt/TextComponent.java: Replaced with Classpath version.
10552
10553         * java/awt/GridBagConstraints.java: Updated copyright.
10554
10555 2002-01-22  Mark Wielaard <mark@klomp.org>
10556
10557         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10558         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10559         java/awt/Dialog.java java/awt/FileDialog.java
10560         java/awt/Font.java java/awt/FontMetrics.java
10561         java/awt/Image.java java/awt/ImageMediaEntry.java
10562         java/awt/Insets.java java/awt/List.java
10563         java/awt/MediaEntry.java java/awt/MediaTracker.java
10564         java/awt/Menu.java java/awt/MenuBar.java
10565         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10566         java/awt/PaintContext.java java/awt/Panel.java
10567         java/awt/PopupMenu.java java/awt/SystemColor.java
10568         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10569         java/awt/peer/CheckboxMenuItemPeer.java
10570         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10571         java/awt/peer/ComponentPeer.java
10572         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10573         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10574         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10575         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10576         java/awt/peer/MenuBarPeer.java
10577         java/awt/peer/MenuComponentPeer.java
10578         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10579         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10580         java/awt/peer/ScrollPanePeer.java
10581         java/awt/peer/ScrollbarPeer.java
10582         java/awt/peer/TextAreaPeer.java
10583         java/awt/peer/TextComponentPeer.java
10584         java/awt/peer/TextFieldPeer.java
10585         java/awt/peer/WindowPeer.java: Add license clarification.
10586
10587 2002-01-22  Mark Wielaard <mark@klomp.org>
10588
10589         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10590         gnu/gcj/runtime/StringBuffer.java
10591         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10592         gnu/java/awt/ComponentDataBlitOp.java
10593         gnu/java/awt/GLightweightPeer.java
10594         gnu/java/beans/BeanInfoEmbryo.java
10595         gnu/java/beans/EmptyBeanInfo.java
10596         gnu/java/beans/ExplicitBeanInfo.java
10597         gnu/java/beans/IntrospectionIncubator.java
10598         gnu/java/beans/editors/ColorEditor.java
10599         gnu/java/beans/editors/FontEditor.java
10600         gnu/java/beans/editors/NativeBooleanEditor.java
10601         gnu/java/beans/editors/NativeByteEditor.java
10602         gnu/java/beans/editors/NativeDoubleEditor.java
10603         gnu/java/beans/editors/NativeFloatEditor.java
10604         gnu/java/beans/editors/NativeIntEditor.java
10605         gnu/java/beans/editors/NativeLongEditor.java
10606         gnu/java/beans/editors/NativeShortEditor.java
10607         gnu/java/beans/editors/StringEditor.java
10608         gnu/java/beans/info/ComponentBeanInfo.java
10609         gnu/java/io/ClassLoaderObjectInputStream.java
10610         gnu/java/io/NullOutputStream.java
10611         gnu/java/io/ObjectIdentityWrapper.java
10612         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10613         gnu/java/lang/reflect/TypeSignature.java
10614         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10615         gnu/java/locale/Calendar_en.java
10616         gnu/java/locale/Calendar_nl.java
10617         gnu/java/locale/LocaleInformation.java
10618         gnu/java/locale/LocaleInformation_de.java
10619         gnu/java/locale/LocaleInformation_en.java
10620         gnu/java/locale/LocaleInformation_nl.java
10621         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10622         gnu/java/rmi/registry/RegistryImpl.java
10623         gnu/java/rmi/rmic/Compile_gcj.java
10624         gnu/java/rmi/rmic/Compiler.java
10625         gnu/java/rmi/rmic/CompilerProcess.java
10626         gnu/java/rmi/rmic/RMIC.java
10627         gnu/java/rmi/rmic/TabbedWriter.java
10628         gnu/java/rmi/server/ProtocolConstants.java
10629         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10630         gnu/java/rmi/server/RMIHashes.java
10631         gnu/java/rmi/server/RMIObjectInputStream.java
10632         gnu/java/rmi/server/RMIObjectOutputStream.java
10633         gnu/java/rmi/server/UnicastConnection.java
10634         gnu/java/rmi/server/UnicastConnectionManager.java
10635         gnu/java/rmi/server/UnicastRef.java
10636         gnu/java/rmi/server/UnicastRemoteCall.java
10637         gnu/java/rmi/server/UnicastRemoteStub.java
10638         gnu/java/rmi/server/UnicastServer.java
10639         gnu/java/rmi/server/UnicastServerRef.java
10640         gnu/java/security/provider/DefaultPolicy.java
10641         gnu/java/security/provider/Gnu.java
10642         gnu/java/security/provider/SHA.java
10643         gnu/java/security/provider/SHA1PRNG.java
10644         gnu/java/text/BaseBreakIterator.java
10645         gnu/java/text/CharacterBreakIterator.java
10646         gnu/java/text/LineBreakIterator.java
10647         gnu/java/text/SentenceBreakIterator.java
10648         gnu/java/text/WordBreakIterator.java
10649         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10650         java/applet/AppletContext.java java/applet/AppletStub.java
10651         java/applet/AudioClip.java java/awt/AWTError.java
10652         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10653         java/awt/AWTException.java java/awt/AWTPermission.java
10654         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10655         java/awt/Button.java java/awt/Canvas.java
10656         java/awt/CardLayout.java java/awt/Checkbox.java
10657         java/awt/CheckboxGroup.java java/awt/Component.java
10658         java/awt/ComponentOrientation.java java/awt/Container.java
10659         java/awt/Dimension.java java/awt/Event.java
10660         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10661         java/awt/FlowLayout.java java/awt/Frame.java
10662         java/awt/Graphics.java java/awt/Graphics2D.java
10663         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10664         java/awt/IllegalComponentStateException.java
10665         java/awt/ItemSelectable.java java/awt/Label.java
10666         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10667         java/awt/MenuComponent.java java/awt/MenuItem.java
10668         java/awt/Paint.java java/awt/Point.java
10669         java/awt/Rectangle.java java/awt/RenderingHints.java
10670         java/awt/Transparency.java java/awt/Window.java
10671         java/awt/color/ColorSpace.java
10672         java/awt/color/ICC_ColorSpace.java
10673         java/awt/color/ICC_Profile.java
10674         java/awt/event/HierarchyBoundsAdapter.java
10675         java/awt/event/HierarchyBoundsListener.java
10676         java/awt/event/HierarchyEvent.java
10677         java/awt/event/HierarchyListener.java
10678         java/awt/geom/AffineTransform.java
10679         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10680         java/awt/geom/IllegalPathStateException.java
10681         java/awt/geom/Line2D.java
10682         java/awt/geom/NoninvertibleTransformException.java
10683         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10684         java/awt/geom/Rectangle2D.java
10685         java/awt/geom/RectangularShape.java
10686         java/awt/geom/RoundRectangle2D.java
10687         java/awt/image/BufferedImage.java
10688         java/awt/image/ColorModel.java
10689         java/awt/image/ComponentColorModel.java
10690         java/awt/image/ComponentSampleModel.java
10691         java/awt/image/DataBuffer.java
10692         java/awt/image/DataBufferByte.java
10693         java/awt/image/DataBufferInt.java
10694         java/awt/image/DataBufferUShort.java
10695         java/awt/image/DirectColorModel.java
10696         java/awt/image/PackedColorModel.java
10697         java/awt/image/Raster.java java/awt/image/RasterOp.java
10698         java/awt/image/SampleModel.java
10699         java/awt/image/SinglePixelPackedSampleModel.java
10700         java/awt/image/WritableRaster.java
10701         java/beans/AppletInitializer.java
10702         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10703         java/beans/Beans.java java/beans/Customizer.java
10704         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10705         java/beans/FeatureDescriptor.java
10706         java/beans/IndexedPropertyDescriptor.java
10707         java/beans/IntrospectionException.java
10708         java/beans/Introspector.java java/beans/MethodDescriptor.java
10709         java/beans/ParameterDescriptor.java
10710         java/beans/PropertyChangeEvent.java
10711         java/beans/PropertyChangeListener.java
10712         java/beans/PropertyChangeSupport.java
10713         java/beans/PropertyDescriptor.java
10714         java/beans/PropertyEditor.java
10715         java/beans/PropertyEditorManager.java
10716         java/beans/PropertyEditorSupport.java
10717         java/beans/PropertyVetoException.java
10718         java/beans/SimpleBeanInfo.java
10719         java/beans/VetoableChangeListener.java
10720         java/beans/VetoableChangeSupport.java
10721         java/beans/Visibility.java
10722         java/beans/beancontext/BeanContext.java
10723         java/beans/beancontext/BeanContextChild.java
10724         java/beans/beancontext/BeanContextChildComponentProxy.java
10725         java/beans/beancontext/BeanContextChildSupport.java
10726         java/beans/beancontext/BeanContextContainerProxy.java
10727         java/beans/beancontext/BeanContextEvent.java
10728         java/beans/beancontext/BeanContextMembershipEvent.java
10729         java/beans/beancontext/BeanContextMembershipListener.java
10730         java/beans/beancontext/BeanContextProxy.java
10731         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10732         java/beans/beancontext/BeanContextServiceProvider.java
10733         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10734         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10735         java/beans/beancontext/BeanContextServiceRevokedListener.java
10736         java/beans/beancontext/BeanContextServices.java
10737         java/beans/beancontext/BeanContextServicesListener.java
10738         java/io/BufferedInputStream.java
10739         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10740         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10741         java/io/ByteArrayOutputStream.java
10742         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10743         java/io/CharConversionException.java java/io/DataInput.java
10744         java/io/DataInputStream.java java/io/DataOutput.java
10745         java/io/EOFException.java java/io/Externalizable.java
10746         java/io/FileFilter.java java/io/FileNotFoundException.java
10747         java/io/FilePermission.java java/io/FileReader.java
10748         java/io/FileWriter.java java/io/FilenameFilter.java
10749         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10750         java/io/FilterReader.java java/io/FilterWriter.java
10751         java/io/IOException.java java/io/InputStream.java
10752         java/io/InterruptedIOException.java
10753         java/io/InvalidClassException.java
10754         java/io/InvalidObjectException.java
10755         java/io/NotActiveException.java
10756         java/io/NotSerializableException.java java/io/ObjectInput.java
10757         java/io/ObjectInputStream.java
10758         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10759         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10760         java/io/ObjectStreamConstants.java
10761         java/io/ObjectStreamException.java
10762         java/io/ObjectStreamField.java
10763         java/io/OptionalDataException.java java/io/OutputStream.java
10764         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10765         java/io/PipedReader.java java/io/PipedWriter.java
10766         java/io/PrintWriter.java java/io/PushbackInputStream.java
10767         java/io/PushbackReader.java java/io/Reader.java
10768         java/io/SequenceInputStream.java java/io/Serializable.java
10769         java/io/SerializablePermission.java
10770         java/io/StreamCorruptedException.java
10771         java/io/StreamTokenizer.java
10772         java/io/StringBufferInputStream.java java/io/StringReader.java
10773         java/io/StringWriter.java java/io/SyncFailedException.java
10774         java/io/UTFDataFormatException.java
10775         java/io/UnsupportedEncodingException.java
10776         java/io/WriteAbortedException.java java/io/Writer.java
10777         java/lang/AbstractMethodError.java
10778         java/lang/ArithmeticException.java
10779         java/lang/ArrayIndexOutOfBoundsException.java
10780         java/lang/ArrayStoreException.java java/lang/Boolean.java
10781         java/lang/Byte.java java/lang/CharSequence.java
10782         java/lang/ClassCastException.java
10783         java/lang/ClassCircularityError.java
10784         java/lang/ClassFormatError.java
10785         java/lang/ClassNotFoundException.java
10786         java/lang/CloneNotSupportedException.java
10787         java/lang/Cloneable.java java/lang/Comparable.java
10788         java/lang/Compiler.java java/lang/Double.java
10789         java/lang/Error.java java/lang/Exception.java
10790         java/lang/ExceptionInInitializerError.java
10791         java/lang/Float.java java/lang/IllegalAccessError.java
10792         java/lang/IllegalAccessException.java
10793         java/lang/IllegalArgumentException.java
10794         java/lang/IllegalMonitorStateException.java
10795         java/lang/IllegalStateException.java
10796         java/lang/IllegalThreadStateException.java
10797         java/lang/IncompatibleClassChangeError.java
10798         java/lang/IndexOutOfBoundsException.java
10799         java/lang/InheritableThreadLocal.java
10800         java/lang/InstantiationError.java
10801         java/lang/InstantiationException.java java/lang/Integer.java
10802         java/lang/InternalError.java
10803         java/lang/InterruptedException.java
10804         java/lang/LinkageError.java java/lang/Long.java
10805         java/lang/NegativeArraySizeException.java
10806         java/lang/NoClassDefFoundError.java
10807         java/lang/NoSuchFieldError.java
10808         java/lang/NoSuchFieldException.java
10809         java/lang/NoSuchMethodError.java
10810         java/lang/NoSuchMethodException.java
10811         java/lang/NullPointerException.java java/lang/Number.java
10812         java/lang/NumberFormatException.java
10813         java/lang/OutOfMemoryError.java java/lang/Package.java
10814         java/lang/Process.java java/lang/Runnable.java
10815         java/lang/RuntimeException.java
10816         java/lang/RuntimePermission.java
10817         java/lang/SecurityException.java
10818         java/lang/SecurityManager.java java/lang/Short.java
10819         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10820         java/lang/StringIndexOutOfBoundsException.java
10821         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10822         java/lang/ThreadLocal.java java/lang/UnknownError.java
10823         java/lang/UnsatisfiedLinkError.java
10824         java/lang/UnsupportedClassVersionError.java
10825         java/lang/UnsupportedOperationException.java
10826         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10827         java/lang/Void.java java/lang/ref/PhantomReference.java
10828         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10829         java/lang/ref/SoftReference.java
10830         java/lang/ref/WeakReference.java
10831         java/lang/reflect/AccessibleObject.java
10832         java/lang/reflect/InvocationTargetException.java
10833         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10834         java/lang/reflect/ReflectPermission.java
10835         java/math/BigDecimal.java java/math/BigInteger.java
10836         java/net/Authenticator.java java/net/BindException.java
10837         java/net/ConnectException.java java/net/ContentHandler.java
10838         java/net/ContentHandlerFactory.java
10839         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10840         java/net/FileNameMap.java java/net/MalformedURLException.java
10841         java/net/MulticastSocket.java java/net/NetPermission.java
10842         java/net/NoRouteToHostException.java
10843         java/net/PasswordAuthentication.java
10844         java/net/ProtocolException.java java/net/ServerSocket.java
10845         java/net/Socket.java java/net/SocketException.java
10846         java/net/SocketImpl.java java/net/SocketImplFactory.java
10847         java/net/SocketOptions.java java/net/SocketPermission.java
10848         java/net/URLDecoder.java java/net/URLEncoder.java
10849         java/net/URLStreamHandlerFactory.java
10850         java/net/UnknownHostException.java
10851         java/net/UnknownServiceException.java
10852         java/rmi/AccessException.java
10853         java/rmi/AlreadyBoundException.java
10854         java/rmi/ConnectException.java
10855         java/rmi/ConnectIOException.java
10856         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10857         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10858         java/rmi/NotBoundException.java
10859         java/rmi/RMISecurityException.java
10860         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10861         java/rmi/RemoteException.java java/rmi/ServerError.java
10862         java/rmi/ServerException.java
10863         java/rmi/ServerRuntimeException.java
10864         java/rmi/StubNotFoundException.java
10865         java/rmi/UnexpectedException.java
10866         java/rmi/UnknownHostException.java
10867         java/rmi/UnmarshalException.java
10868         java/rmi/activation/Activatable.java
10869         java/rmi/activation/ActivateFailedException.java
10870         java/rmi/activation/ActivationDesc.java
10871         java/rmi/activation/ActivationException.java
10872         java/rmi/activation/ActivationGroup.java
10873         java/rmi/activation/ActivationGroupDesc.java
10874         java/rmi/activation/ActivationGroupID.java
10875         java/rmi/activation/ActivationID.java
10876         java/rmi/activation/ActivationInstantiator.java
10877         java/rmi/activation/ActivationMonitor.java
10878         java/rmi/activation/ActivationSystem.java
10879         java/rmi/activation/Activator.java
10880         java/rmi/activation/UnknownGroupException.java
10881         java/rmi/activation/UnknownObjectException.java
10882         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10883         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10884         java/rmi/registry/Registry.java
10885         java/rmi/registry/RegistryHandler.java
10886         java/rmi/server/ExportException.java
10887         java/rmi/server/LoaderHandler.java
10888         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10889         java/rmi/server/Operation.java
10890         java/rmi/server/RMIClassLoader.java
10891         java/rmi/server/RMIClientSocketFactory.java
10892         java/rmi/server/RMIFailureHandler.java
10893         java/rmi/server/RMIServerSocketFactory.java
10894         java/rmi/server/RMISocketFactory.java
10895         java/rmi/server/RemoteCall.java
10896         java/rmi/server/RemoteObject.java
10897         java/rmi/server/RemoteRef.java
10898         java/rmi/server/RemoteServer.java
10899         java/rmi/server/RemoteStub.java
10900         java/rmi/server/ServerCloneException.java
10901         java/rmi/server/ServerNotActiveException.java
10902         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10903         java/rmi/server/SkeletonMismatchException.java
10904         java/rmi/server/SkeletonNotFoundException.java
10905         java/rmi/server/SocketSecurityException.java
10906         java/rmi/server/UID.java
10907         java/rmi/server/UnicastRemoteObject.java
10908         java/rmi/server/Unreferenced.java
10909         java/security/AccessControlContext.java
10910         java/security/AccessControlException.java
10911         java/security/AccessController.java
10912         java/security/AlgorithmParameterGenerator.java
10913         java/security/AlgorithmParameterGeneratorSpi.java
10914         java/security/AlgorithmParameters.java
10915         java/security/AlgorithmParametersSpi.java
10916         java/security/AllPermission.java
10917         java/security/BasicPermission.java
10918         java/security/Certificate.java java/security/CodeSource.java
10919         java/security/DigestException.java
10920         java/security/DigestInputStream.java
10921         java/security/DigestOutputStream.java
10922         java/security/DomainCombiner.java
10923         java/security/DummyKeyPairGenerator.java
10924         java/security/DummyMessageDigest.java
10925         java/security/DummySignature.java
10926         java/security/GeneralSecurityException.java
10927         java/security/Guard.java java/security/GuardedObject.java
10928         java/security/Identity.java java/security/IdentityScope.java
10929         java/security/InvalidAlgorithmParameterException.java
10930         java/security/InvalidKeyException.java
10931         java/security/InvalidParameterException.java
10932         java/security/Key.java java/security/KeyException.java
10933         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10934         java/security/KeyManagementException.java
10935         java/security/KeyPair.java java/security/KeyPairGenerator.java
10936         java/security/KeyPairGeneratorSpi.java
10937         java/security/KeyStore.java
10938         java/security/KeyStoreException.java
10939         java/security/KeyStoreSpi.java
10940         java/security/MessageDigest.java
10941         java/security/MessageDigestSpi.java
10942         java/security/NoSuchAlgorithmException.java
10943         java/security/NoSuchProviderException.java
10944         java/security/Permission.java
10945         java/security/PermissionCollection.java
10946         java/security/Permissions.java java/security/Policy.java
10947         java/security/Principal.java java/security/PrivateKey.java
10948         java/security/PrivilegedAction.java
10949         java/security/PrivilegedActionException.java
10950         java/security/PrivilegedExceptionAction.java
10951         java/security/ProtectionDomain.java
10952         java/security/Provider.java
10953         java/security/ProviderException.java
10954         java/security/PublicKey.java
10955         java/security/SecureClassLoader.java
10956         java/security/SecureRandom.java
10957         java/security/SecureRandomSpi.java java/security/Security.java
10958         java/security/SecurityPermission.java
10959         java/security/Signature.java
10960         java/security/SignatureException.java
10961         java/security/SignatureSpi.java
10962         java/security/SignedObject.java java/security/Signer.java
10963         java/security/UnrecoverableKeyException.java
10964         java/security/UnresolvedPermission.java
10965         java/security/acl/Acl.java java/security/acl/AclEntry.java
10966         java/security/acl/AclNotFoundException.java
10967         java/security/acl/Group.java
10968         java/security/acl/LastOwnerException.java
10969         java/security/acl/NotOwnerException.java
10970         java/security/acl/Owner.java java/security/acl/Permission.java
10971         java/security/cert/CRL.java
10972         java/security/cert/CRLException.java
10973         java/security/cert/Certificate.java
10974         java/security/cert/CertificateEncodingException.java
10975         java/security/cert/CertificateException.java
10976         java/security/cert/CertificateExpiredException.java
10977         java/security/cert/CertificateFactory.java
10978         java/security/cert/CertificateFactorySpi.java
10979         java/security/cert/CertificateNotYetValidException.java
10980         java/security/cert/CertificateParsingException.java
10981         java/security/cert/X509CRL.java
10982         java/security/cert/X509CRLEntry.java
10983         java/security/cert/X509Certificate.java
10984         java/security/cert/X509Extension.java
10985         java/security/interfaces/DSAKey.java
10986         java/security/interfaces/DSAKeyPairGenerator.java
10987         java/security/interfaces/DSAParams.java
10988         java/security/interfaces/DSAPrivateKey.java
10989         java/security/interfaces/DSAPublicKey.java
10990         java/security/interfaces/RSAKey.java
10991         java/security/interfaces/RSAPrivateCrtKey.java
10992         java/security/interfaces/RSAPrivateKey.java
10993         java/security/interfaces/RSAPublicKey.java
10994         java/security/spec/AlgorithmParameterSpec.java
10995         java/security/spec/DSAParameterSpec.java
10996         java/security/spec/DSAPrivateKeySpec.java
10997         java/security/spec/DSAPublicKeySpec.java
10998         java/security/spec/EncodedKeySpec.java
10999         java/security/spec/InvalidKeySpecException.java
11000         java/security/spec/InvalidParameterSpecException.java
11001         java/security/spec/KeySpec.java
11002         java/security/spec/PKCS8EncodedKeySpec.java
11003         java/security/spec/RSAKeyGenParameterSpec.java
11004         java/security/spec/RSAPrivateCrtKeySpec.java
11005         java/security/spec/RSAPrivateKeySpec.java
11006         java/security/spec/RSAPublicKeySpec.java
11007         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11008         java/sql/BatchUpdateException.java java/sql/Blob.java
11009         java/sql/CallableStatement.java java/sql/Clob.java
11010         java/sql/Connection.java java/sql/DataTruncation.java
11011         java/sql/DatabaseMetaData.java java/sql/Date.java
11012         java/sql/Driver.java java/sql/DriverManager.java
11013         java/sql/DriverPropertyInfo.java
11014         java/sql/PreparedStatement.java java/sql/Ref.java
11015         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11016         java/sql/SQLData.java java/sql/SQLException.java
11017         java/sql/SQLInput.java java/sql/SQLOutput.java
11018         java/sql/SQLWarning.java java/sql/Statement.java
11019         java/sql/Struct.java java/sql/Time.java
11020         java/sql/Timestamp.java java/sql/Types.java
11021         java/text/Annotation.java
11022         java/text/AttributedCharacterIterator.java
11023         java/text/AttributedString.java
11024         java/text/AttributedStringIterator.java
11025         java/text/BreakIterator.java java/text/CharacterIterator.java
11026         java/text/ChoiceFormat.java java/text/Collator.java
11027         java/text/DateFormat.java java/text/DateFormatSymbols.java
11028         java/text/DecimalFormat.java
11029         java/text/DecimalFormatSymbols.java
11030         java/text/FieldPosition.java java/text/Format.java
11031         java/text/MessageFormat.java java/text/NumberFormat.java
11032         java/text/ParseException.java java/text/ParsePosition.java
11033         java/text/SimpleDateFormat.java
11034         java/text/StringCharacterIterator.java
11035         java/util/AbstractCollection.java java/util/AbstractList.java
11036         java/util/AbstractMap.java
11037         java/util/AbstractSequentialList.java
11038         java/util/AbstractSet.java java/util/ArrayList.java
11039         java/util/Arrays.java java/util/BasicMapEntry.java
11040         java/util/BitSet.java java/util/Calendar.java
11041         java/util/Collection.java java/util/Collections.java
11042         java/util/Comparator.java
11043         java/util/ConcurrentModificationException.java
11044         java/util/Date.java java/util/Dictionary.java
11045         java/util/EmptyStackException.java java/util/Enumeration.java
11046         java/util/EventListener.java java/util/EventObject.java
11047         java/util/GregorianCalendar.java java/util/HashMap.java
11048         java/util/HashSet.java java/util/Hashtable.java
11049         java/util/IdentityHashMap.java java/util/Iterator.java
11050         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11051         java/util/LinkedList.java java/util/List.java
11052         java/util/ListIterator.java java/util/ListResourceBundle.java
11053         java/util/Locale.java java/util/Map.java
11054         java/util/MissingResourceException.java
11055         java/util/NoSuchElementException.java
11056         java/util/Observable.java java/util/Observer.java
11057         java/util/Properties.java java/util/PropertyPermission.java
11058         java/util/PropertyResourceBundle.java java/util/Random.java
11059         java/util/RandomAccess.java java/util/ResourceBundle.java
11060         java/util/Set.java java/util/SimpleTimeZone.java
11061         java/util/SortedMap.java java/util/SortedSet.java
11062         java/util/Stack.java java/util/StringTokenizer.java
11063         java/util/TimeZone.java java/util/Timer.java
11064         java/util/TimerTask.java
11065         java/util/TooManyListenersException.java
11066         java/util/TreeMap.java java/util/TreeSet.java
11067         java/util/Vector.java java/util/WeakHashMap.java
11068         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11069         java/util/jar/JarException.java java/util/jar/JarFile.java
11070         java/util/jar/JarInputStream.java
11071         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11072         java/util/zip/Adler32.java java/util/zip/CRC32.java
11073         java/util/zip/CheckedInputStream.java
11074         java/util/zip/CheckedOutputStream.java
11075         java/util/zip/Checksum.java
11076         java/util/zip/DataFormatException.java
11077         java/util/zip/Deflater.java
11078         java/util/zip/DeflaterOutputStream.java
11079         java/util/zip/GZIPInputStream.java
11080         java/util/zip/GZIPOutputStream.java
11081         java/util/zip/Inflater.java
11082         java/util/zip/InflaterInputStream.java
11083         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11084         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11085         java/util/zip/ZipInputStream.java
11086         java/util/zip/ZipOutputStream.java
11087         javax/naming/BinaryRefAddr.java
11088         javax/naming/InvalidNameException.java javax/naming/Name.java
11089         javax/naming/NamingException.java javax/naming/RefAddr.java
11090         javax/naming/StringRefAddr.java: Add license clarification.
11091
11092 2002-01-22  Tom Tromey  <tromey@redhat.com>
11093
11094         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11095         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11096         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11097         version.
11098         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11099         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11100         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11101         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11102         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11103         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11104         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11105         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11106         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11107         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11108         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11109         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11110         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11111         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11112         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11113         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11114         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11115         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11116         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11117         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11118         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11119         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11120         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11121         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11122         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11123         (minimumSize, preferredSize, reshape): Likewise.
11124         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11125         getColorModel): New methods.
11126         * java/awt/PopupMenu.java: Merged with Classpath.
11127         * java/awt/MenuBar.java: Merged with Classpath.
11128         * java/awt/SystemColor.java: Replace with Classpath version.
11129         * java/awt/Panel.java: Merged with Classpath.
11130         * java/awt/PaintContext.java: Updated copyright.
11131         * java/awt/MenuShortcut.java: Merged with Classpath.
11132         * java/awt/MenuContainer.java: Merged with Classpath.
11133         * java/awt/Menu.java: Merged with Classpath.
11134         * java/awt/MediaEntry.java: New file from Classpath.
11135         * java/awt/MediaTracker.java: New file from Classpath.
11136         * java/awt/List.java: Merged with Classpath version.
11137         * java/awt/Insets.java: Merged with Classpath version.
11138         * java/awt/ImageMediaEntry.java: New file from Classpath.
11139         * java/awt/Image.java: Replaced with Classpath version.
11140         * java/awt/FontMetrics.java: Merged with Classpath version.
11141         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11142         constant.
11143         * java/awt/Font.java: Merged with Classpath version.
11144         * java/awt/Dialog.java: Merged with Classpath version.
11145         * java/awt/Color.java: Merged with Classpath version.
11146         * java/awt/Choice.java: Merged with Classpath version.
11147         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11148         * java/awt/Adjustable.java: Replace with Classpath version.
11149         * java/awt/MenuItem.java (paramString): Don't include class name
11150         or brackets.  Call superclass paramString.
11151         * java/awt/MenuComponent.java (toString): Call paramString.
11152         (paramString): Compute string; don't call toString.
11153         * java/awt/Label.java (paramString): Don't include class name
11154         or brackets.  Call superclass paramString.
11155         * java/awt/Checkbox.java (paramString): Don't include class name
11156         or brackets.  Call superclass paramString.
11157         * java/awt/Button.java (paramString): Don't include class name or
11158         brackets.  Call superclass paramString.
11159         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11160
11161 2002-01-20  Andreas Schwab  <schwab@suse.de>
11162
11163         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11164         function and of parameter recv_func to ssize_t, as specified by
11165         POSIX.
11166
11167 2002-01-19  Per Bothner  <per@bothner.com>
11168
11169         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11170         uncompressed_size in readiness for next entry.
11171
11172 2002-01-18  Tom Tromey  <tromey@redhat.com>
11173
11174         * java/net/natPlainSocketImpl.cc: Include
11175         IllegalArgumentException.h.
11176         (_Jv_recv): New template function.
11177         (BooleanClass): Removed.
11178         (read): Use _Jv_recv.
11179         (setOption): Use Boolean::class$.  Throw exception if object is
11180         not Boolean or Integer.
11181
11182 2002-01-17  Tom Tromey  <tromey@redhat.com>
11183
11184         * java/awt/MenuComponent.java: Merged with Classpath.
11185         * java/awt/MenuItem.java: Merged with Classpath.
11186         * java/awt/Button.java: Merged with Classpath.
11187
11188         * java/awt/ActiveEvent.java: Updated copyright.
11189
11190         * java/awt/AWTError.java: Replaced with Classpath version.
11191         * java/awt/AWTException.java: Replaced with Classpath version.
11192         * java/awt/IllegalComponentStateException.java: Replaced with
11193         Classpath version.
11194
11195 2002-01-16  Tom Tromey  <tromey@redhat.com>
11196
11197         * java/awt/Canvas.java (serialVersionUID): New constant.
11198         Updated copyright.  Added javadoc from Classpath.
11199         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11200
11201         * java/awt/CheckboxGroup.java: Merged with Classpath.
11202         * java/awt/Checkbox.java: Merged with Classpath.
11203
11204         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11205         Classpath.
11206         * java/awt/Point.java: Updated copyright.
11207
11208         * java/awt/Point.java (toString): Use getClass().getName().
11209         Added javadoc.
11210
11211         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11212         commented code.
11213         (hash): Correctly compute initial value for `h'.
11214
11215         * java/awt/Label.java: Merged with Classpath.
11216
11217 2002-01-15  Tom Tromey  <tromey@redhat.com>
11218
11219         * java/awt/AWTPermission.java: Updated copyright.
11220
11221         * java/awt/LayoutManager2.java: Merged with Classpath.
11222         * java/awt/LayoutManager.java: Merged with Classpath.
11223         * java/awt/GridLayout.java: Updated copyright and javadoc.
11224         (getSize): Use `parent.ncomponents'.  Handle insets.
11225         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11226         there are fewer children than columns.  Correctly compute size of
11227         each cell in the grid.  Handle case where there isn't enough
11228         space.
11229         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11230         all users.
11231         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11232         before calling setVisible() on it.  Last item is `num - 1', not
11233         `num'.
11234         (layoutContainer): Hoist invariants out of loop.
11235
11236         Start of AWT merge with Classpath:
11237         * Makefile.in: Rebuilt.
11238         * Makefile.am (awt_java_source_files): Reference files in
11239         gnu/java/awt, not gnu/gcj/awt.
11240         * java/awt/image/BufferedImage.java: Updated copyright.
11241         * java/awt/image/ComponentColorModel.java: Updated copyright.
11242         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11243         * java/awt/image/DataBuffer.java: Updated copyright.
11244         * java/awt/image/DataBufferByte.java: Updated copyright.
11245         * java/awt/image/DataBufferInt.java: Updated copyright.
11246         * java/awt/image/DataBufferUShort.java: Updated copyright.
11247         * java/awt/image/IndexColorModel.java: Updated copyright.
11248         * java/awt/image/PackedColorModel.java: Updated copyright.
11249         * java/awt/image/Raster.java: Updated copyright.
11250         * java/awt/image/RasterOp.java: Updated copyright.
11251         * java/awt/image/SampleModel.java: Updated copyright.
11252         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11253         * java/awt/image/WritableRaster.java: Updated copyright.
11254         * java/awt/color/ColorSpace.java: Updated copyright.
11255         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11256         * java/awt/color/ICC_Profile.java: Updated copyright.
11257         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11258         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11259         * java/awt/event/HierarchyEvent.java: Updated copyright.
11260         * java/awt/event/HierarchyListener.java: Updated copyright.
11261         * java/awt/geom/AffineTransform.java: Updated copyright.
11262         * java/awt/geom/Dimension2D.java: Updated copyright.
11263         * java/awt/geom/Ellipse2D.java: Updated copyright.
11264         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11265         * java/awt/geom/Line2D.java: Updated copyright.
11266         * java/awt/geom/NoninvertibleTransformException.java: Updated
11267         copyright.
11268         * java/awt/geom/PathIterator.java: Updated copyright.
11269         * java/awt/geom/Point2D.java: Updated copyright.
11270         * java/awt/geom/Rectangle2D.java: Updated copyright.
11271         * java/awt/geom/RectangularShape.java: Updated copyright.
11272         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11273         * java/awt/Toolkit.java: Updated import for file moves.
11274         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11275         Classpath.
11276         (hashCode): New method from Classpath.
11277         * java/awt/Graphics2D.java: Updated copyright.
11278         * java/awt/Transparency.java: Updated copyright.
11279         * java/awt/Paint.java: Updated copyright.
11280         * java/awt/Graphics.java: New version from Classpath.
11281         * java/awt/EventDispatchThread.java: Updated copyright.
11282         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11283         children.
11284         (gotoComponent): Wrap around on next/previous.
11285         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11286         * gnu/gcj/awt/Buffers.java: Removed.
11287         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11288         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11289         * gnu/java/awt/BitMaskExtent.java: Added.
11290         * gnu/java/awt/Buffers.java: Added.
11291         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11292         * gnu/java/awt/GLightweightPeer.java: Added.
11293         * java/awt/geom/Line2D.java (clone): Ignore
11294         CloneNotSupportedException.
11295         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11296         * java/awt/Frame.java: Merged with Classpath.
11297         * java/awt/RenderingHints.java: Copyright update.
11298         * java/awt/Paint.java: Copyright update.
11299         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11300         * java/awt/image/ColorModel.java: Merged with Classpath.
11301         * java/awt/Window.java (show): New Implementation from Classpath.
11302         (isShowing): Use super.isShowing().
11303         * java/awt/EventQueue.java: Merged with Classpath.
11304         * java/awt/AWTEventMulticaster.java (save): Throw
11305         RuntimeException.
11306         (saveInternal): Likewise.
11307         * java/awt/AWTEvent.java: Now implements Serializable.
11308         * java/awt/Event.java: Copyright update.
11309         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11310         * java/awt/image/BufferedImage.java: Copyright update.
11311         * java/awt/GraphicsConfiguration.java: Copyright update.
11312         * java/awt/Component.java: (addNotify): Don't call
11313         addNotifyContainerChildren().
11314         (addNotifyContainerChildren): Removed.
11315         (setPeer): New method from Classpath.
11316         (setTreeLock): Likewise.
11317         (setVisible): Rewrote.
11318         (show): Use it.
11319         (hide): Likewise.
11320         (validate): Set `valid'.
11321         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11322         (createImage(ImageProducer)): Likewise.
11323         (prepareImage): Likewise.
11324         * java/awt/Container.java (addImpl): Handle case where constraint
11325         is not a String.  Post event via system event queue.
11326         (remove): Post event via system event queue.
11327         (validateTree): Only validate child if it is invalid.
11328         (getAlignmentX): Call super method as default.
11329         (getAlignmentY): Likewise.
11330         (addContainerListener): Now synchronized.
11331         (removeContainerListener): Likewise.
11332         (addNotifyContainerChildren): Now private.
11333         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11334         @author.
11335         * java/awt/FlowLayout.java (serialVersionUID): New field.
11336         (setAlignment): Better exception message.
11337         (layoutContainer): Don't compute component's preferred size unless
11338         we're going to use it.
11339         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11340         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11341         (firstLine, lastLine, firstItem, lastItem): New fields.
11342         (addLayoutComponent): Handle case where constraints is null.
11343         Also, handle relative locations.
11344         (removeLayoutComponent): Handle relative locations.
11345         (MIN, MAX, PREF): New constants.
11346         (calcCompSize): New method.
11347         (calcSize): New method.
11348         (minimumLayoutSize): Use it.
11349         (preferredLayoutSize): Likewise.
11350         (maximumLayoutSize): Likewise.
11351         (toString): Include more information.
11352         (setBounds): New method.
11353         (layoutContainer): Use libgcj implementation; extended to handle
11354         relative locations.
11355
11356 2002-01-15  Tom Tromey  <tromey@redhat.com>
11357
11358         * java/lang/Float.java (equals): Preserve old code.
11359         * java/lang/Double.java (equals): Preserve old code.
11360
11361 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11362
11363         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11364         * java/lang/Float.java (equals, compare): Ditto.
11365
11366 2002-01-13  Mark Wielaard  <mark@klomp.org>
11367
11368         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11369         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11370         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11371         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11372
11373 2002-01-11  Mark Wielaard  <mark@klomp.org>
11374
11375         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11376         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11377         InetAddress.
11378         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11379         * java/net/Socket.java: Merge with Classpath.
11380         * java/net/ServerSocket.java: Likewise.
11381
11382 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11383
11384         * interpret.cc (NULLARRAYCHECK): New macro.
11385         (SAVE_PC): Just store `pc'.
11386         (find_exception): Subtract one from `pc' here.
11387         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11388         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11389         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11390         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11391         don't call SAVE_PC.
11392         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11393         call SAVE_PC.
11394
11395 2002-01-11  Tom Tromey  <tromey@redhat.com>
11396
11397         * java/lang/natSystem.cc (init_properties): Only look for default
11398         locale if LC_MESSAGES is defined.
11399         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11400         * configure.in: Call AM_LC_MESSAGES.
11401         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11402
11403 2002-01-10  Tom Tromey  <tromey@redhat.com>
11404
11405         For PR libgcj/5303:
11406         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11407         --version.  Recognize GNU-style long options.  Print GNU-style
11408         error messages.
11409         (usage): Print GNU-style help.  Exit with status 0.
11410         (error): New method.
11411         (run): Print error message if no class names found.
11412         (main): Don't print usage on error.
11413
11414 2002-01-09  Tom Tromey  <tromey@redhat.com>
11415
11416         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11417         property.
11418         (help, version): Use println(), not println("").
11419
11420         For PR libgcj/5303:
11421         * gnu/gcj/convert/Convert.java (error): Program is called
11422         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11423         -1.
11424         (main): Handle --help and --version.
11425         (help): New method.
11426         (version): Likewise.
11427
11428 2002-01-08  Tom Tromey  <tromey@redhat.com>
11429
11430         * Makefile.in: Rebuilt.
11431         * Makefile.am (ordinary_java_source_files): Added new files.
11432         * gnu/java/locale/LocaleInformation.java: Extend
11433         LocaleInformation_en.
11434         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11435         and time/date formats.
11436         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11437         generated.
11438         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11439         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11440         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11441         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11442         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11443         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11444         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11445         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11446         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11447         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11448         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11449         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11450         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11451         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11452         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11453         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11454         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11455         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11456         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11457         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11458         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11459         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11460         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11461         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11462         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11463         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11464         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11465         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11466         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11467         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11468         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11469         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11470         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11471         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11472         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11473         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11474         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11475         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11476         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11477         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11478         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11479         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11480         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11481         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11482         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11483         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11484         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11485         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11486         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11487         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11488         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11489         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11490         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11491         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11492         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11493         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11494         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11495         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11496         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11497         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11498         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11499         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11500         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11501         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11502         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11503         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11504         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11505         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11506         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11507         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11508         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11509         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11510         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11511         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11512         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11513         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11514         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11515         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11516         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11517         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11518         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11519         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11520         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11521         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11522         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11523         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11524         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11525         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11526         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11527         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11528         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11529         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11530         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11531         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11532         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11533         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11534         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11535         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11536         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11537         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11538         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11539         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11540         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11541         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11542         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11543         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11544         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11545         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11546         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11547         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11548         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11549         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11550         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11551         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11552         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11553         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11554         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11555         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11556         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11557         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11558         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11559         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11560         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11561         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11562         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11563         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11564         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11565         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11566         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11567         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11568
11569         For PR libgcj/5031:
11570         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11571         choose default locale.
11572
11573         * Makefile.in: Rebuilt.
11574         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11575
11576 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11577
11578         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11579         sockets.
11580         (close): New function closes the socket.
11581         (write): New functions for output to socket.
11582         (read): New functions for reading from socket.
11583         * java/net/PlainSocketImpl.java: Glue for new timeout
11584         implementation.
11585         (write): Call the native impl.
11586         (read): Likewise.
11587         (getInputStream): Get a stream to read from the socket.
11588         (getOutputStream): Get a stream to write to the socket.
11589
11590 2002-01-08  Tom Tromey  <tromey@redhat.com>
11591
11592         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11593
11594 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11595
11596         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11597         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11598
11599 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11600
11601         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11602         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11603         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11604         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11605         insn_bastore, insn_castore, insn_sastore]: Use it.
11606         (continue1) [insn_arraylength]: Check for null array.
11607
11608 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11609
11610         * configure, include/config.h.in: Rebuilt.
11611         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11612         * configure.in: Call AC_STRUCT_TIMEZONE.
11613
11614 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11615
11616         * configure.host: Disable the interpreter for Darwin.
11617
11618 2002-01-04  Tom Tromey  <tromey@redhat.com>
11619
11620         * java/lang/Thread.java (stop): No longer synchronized.
11621         (start): Likewise.
11622
11623 2002-01-02  Tom Tromey  <tromey@redhat.com>
11624
11625         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11626         patch.
11627
11628 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11629
11630         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11631         PPC Darwin, not for all of Darwin.