2003-06-19 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-19  Michael Koch  <konqueror@gmx.de>
2
3         * gnu/java/security/x509/X509Certificate.java
4         (writeReplace): Merged from classpath.
5
6 2003-06-19  Michael Koch  <konqueror@gmx.de>
7
8         * gnu/java/nio/FileChannelImpl.java
9         (map_address): Made public.
10         (FileChannelImpl): Merged with classpath.
11         * gnu/java/nio/natFileChannelImpl.cc
12         (nio_mmap_file): Commented out unused arguments.
13         (nio_unmmap_file): Likewise.
14         (niu_msync): Likewise.
15
16 2003-06-19  Michael Koch  <konqueror@gmx.de>
17
18         * java/awt/image/IndexColorModel.java:
19         New version from classpath.
20
21 2003-06-18  Tom Tromey  <tromey@redhat.com>
22
23         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
24         on arrays.
25         (isLoopbackAddress): Likewise.
26         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
27         on arrays.
28
29 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
30
31         * java/lang/natVMSecurityManager.cc (getClassContext):
32         Use maxlen instead of len for loop bound.
33
34 2003-06-18  Michael Koch  <konqueror@gmx.de>
35
36         * gnu/java/nio/SelectorImpl.java
37         (register): Use fd with value 0 for now, will be fixed later.
38         * gnu/java/nio/ServerSocketChannelImpl.java
39         (fd): Removed.
40         (local_port): Removed.
41         (InetSocketAddress): Removed.
42         (ServerSocketChannelImpl): Just initialize internal socket object.
43         (implCloseSelectableChannel): Close internal socket object.
44         (implConfigureBlocking): Added comment.
45         (accept): Use jaba.net stuff to accept socket.
46         * gnu/java/nio/SocketChannelImpl.java
47         (fd): Removed.
48         (local_port): Removed.
49         (InetSocketAddress): Removed.
50         (SocketCreate): Removed.
51         (SocketConnect): Removed.
52         (SocketBind): Removed.
53         (SocketListen): Removed.
54         (SocketAvailable): Removed.
55         (SocketClose): Removed.
56         (SocketRead): Removed.
57         (SocketWrite): Removed.
58         (SocketChannelImpl): Just initialize internal socket object.
59         (implCloseSelectableChannel): Close internal socket object.
60         (implConfigureBlocking): Fixed implementation, added comment.
61         (connect): Use internal socket object to connect.
62         (socket): No need for sanity checks.
63         (read): Comment out some stuff, this will be reimplemented in the next
64         commit.
65         (write): Likewise.
66         * gnu/java/nio/natFileChannelImpl.cc
67         (nio_mmap_file): Line wrapped.
68         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
69         * Makefile.am
70         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
71         * Makefile.in: Regenerated.
72
73 2003-06-18  Michael Koch  <konqueror@gmx.de>
74
75         * java/util/Locale.java
76         (equals): Merged from classpath.
77
78 2003-06-18  Michael Koch  <konqueror@gmx.de>
79
80         * java/net/InetAddress.java:
81         Reformatted to better match classpath's version.
82         * java/net/URL.java
83         (equals): Simplified.
84         * java/net/URLConnection.java
85         (setDoInput): Revised documentation.
86         (getDefaultUseCaches): Likewise.
87         (setRequestProperty): Added @since tag.
88
89 2003-06-17  Michael Koch  <konqueror@gmx.de>
90
91         * java/net/InetSocketAddress.java
92         (InetSocketAddress): Use wildcard address if addr is null.
93         (InetSocketAddress): Dont duplicate implementation.
94         (InetSocketAddress): Throw exception when hostname is null.
95         * java/net/Socket.java:
96         Reworked imports.
97         (Socket): Throw exception when raddr is null, handle case when laddr
98         is null.
99
100 2003-06-17  Michael Koch  <konqueror@gmx.de>
101
102         * java/nio/DirectByteBufferImpl.java
103         (address): Made package private.
104         (DirectByteBufferImpl): New constructor.
105         * java/nio/natDirectByteBufferImpl.cc
106         (allocateImpl): Moved to java.nio namespace, implemented.
107         (freeImpl): Likewise.
108         (getImpl): Likewise.
109         (putImpl): Likewise.
110         * jni.cc
111         (_Jv_JNI_NewDirectByteBuffer): Implemented.
112         (_Jv_JNI_GetDirectBufferAddress): Implemented.
113         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
114
115 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
116
117         * include/powerpc-signal.h: New File.
118         * configure.in: Use it.
119         * configure: Regenerated.
120
121 2003-06-17  Michael Koch  <konqueror@gmx.de>
122
123         * java/util/Locale.java
124         (getDisplayLanguage): Made it final.
125         (getDisplayCountry): Likewise.
126         (getDisplayVariant): Likewise.
127         (getDisplayName): Likewise.
128
129 2003-06-17  Michael Koch  <konqueror@gmx.de>
130
131         * java/util/PropertyResourceBundle.java:
132         Removed unneeded import.
133
134 2003-06-17  Michael Koch  <konqueror@gmx.de>
135
136         * java/util/prefs/AbstractPreferences.java,
137         java/util/prefs/PreferencesFactory.java:
138         Reworked imports, removed unused imports.
139         * java/util/prefs/Preferences.java
140         (systemNodeForPackage): Method takes a Class not an Object.
141         (userNodeForPackage): Likewise.
142         (nodeForPackage): Likewise.
143
144 2003-06-17  Michael Koch  <konqueror@gmx.de>
145
146         * gnu/java/security/x509/X509Certificate.java:
147         Explicitely import used classes.
148
149 2003-06-17  Michael Koch  <konqueror@gmx.de>
150
151         * java/util/zip/ZipEntry.java,
152         java/util/zip/ZipFile.java,
153         java/util/zip/ZipInputStream.java,
154         java/util/zip/ZipOutputStream.java:
155         Reworked imports, only import used classes.
156
157 2003-06-17  Michael Koch  <konqueror@gmx.de>
158
159         * gnu/java/lang/ArrayHelper.java,
160         gnu/java/lang/ClassHelper.java:
161         Reformatted to match classpath's versions.
162
163 2003-06-14  Michael Koch  <konqueror@gmx.de>
164
165         * gnu/java/nio/FileChannelImpl.java
166         (map_address): Removed incorrect comment.        
167         * gnu/java/nio/SelectorImpl.java
168         (register): Remove code duplication and code for file channel handling.        
169         * gnu/java/nio/ServerSocketChannelImpl.java
170         (serverSocket): Renamed from sock_object.
171         (ServerSocketChannel): Initialize serverSocket.
172         (socket): Return serverSocket.
173         * gnu/java/nio/SocketChannelImpl.java
174         (socket): Renamed from sock_object.
175         (isConnectionPenging): Simplified.
176         (socket): Return socket.
177 2003-06-14  Michael Koch  <konqueror@gmx.de>
178
179         * java/security/BasicPermission.java:
180         New version from classpath.
181
182 2003-06-14  Michael Koch  <konqueror@gmx.de>
183
184         * javax/naming/directory/Attribute.java:
185         New version from classpath.
186
187 2003-06-14  Michael Koch  <konqueror@gmx.de>
188
189         * java/io/BufferedReader.java,
190         java/io/FileOutputStream.java:
191         New versions from classpath.
192
193 2003-06-12  Andrew Haley  <aph@redhat.com>
194
195         * prims.cc (catch_segv): Create exception in handler.
196         (catch_fpe): Likewise.  
197         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
198         (_Jv_ThrowSignal): Remove.
199
200         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
201         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
202         to nullp and arithexception.
203         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
204         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
205         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
206         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
207         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
208
209 2003-06-11  Andrew Haley  <aph@redhat.com>
210
211         * jni.cc (_Jv_JNI_check_types): New.
212         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
213         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
214         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
215         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
216         
217         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
218         infinite loop.
219
220 2003-06-11  Tom Tromey  <tromey@redhat.com>
221
222         * java/lang/ClassLoader.java (loadClass): Not deprecated.
223         * java/io/PrintStream.java: Not deprecated.
224
225 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
226
227         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
228         (fillOval): implemented
229         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
230         (fillArc): implemented.
231         * gnu/gcj/xlib/GC.java (drawArc): added native method.
232         (fillArc): added native method.
233         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
234         (fillArc): added native method.
235
236 2003-06-11  Michael Koch  <konqueror@gmx.de>
237
238         * java/awt/im/InputSubset.java:
239         New version from classpath.
240
241 2003-06-11  Michael Koch  <konqueror@gmx.de>
242
243         * javax/swing/AbstractAction.java,
244         javax/swing/AbstractButton.java,
245         javax/swing/AbstractCellEditor.java,
246         javax/swing/AbstractListModel.java,
247         javax/swing/BorderFactory.java,
248         javax/swing/Box.java,
249         javax/swing/BoxLayout.java,
250         javax/swing/ButtonGroup.java,
251         javax/swing/DefaultButtonModel.java,
252         javax/swing/DefaultListModel.java,
253         javax/swing/DefaultListSelectionModel.java,
254         javax/swing/FocusManager.java,
255         javax/swing/ImageIcon.java,
256         javax/swing/InputMap.java,
257         javax/swing/JApplet.java,
258         javax/swing/JButton.java,
259         javax/swing/JCheckBox.java,
260         javax/swing/JCheckBoxMenuItem.java,
261         javax/swing/JColorChooser.java,
262         javax/swing/JComboBox.java,
263         javax/swing/JComponent.java,
264         javax/swing/JDesktopPane.java,
265         javax/swing/JDialog.java,
266         javax/swing/JEditorPane.java,
267         javax/swing/JFileChooser.java,
268         javax/swing/JFormattedTextField.java,
269         javax/swing/JFrame.java,
270         javax/swing/JLabel.java,
271         javax/swing/JLayeredPane.java,
272         javax/swing/JList.java,
273         javax/swing/JMenuBar.java,
274         javax/swing/JMenuItem.java,
275         javax/swing/JOptionPane.java,
276         javax/swing/JPanel.java,
277         javax/swing/JPasswordField.java,
278         javax/swing/JPopupMenu.java,
279         javax/swing/JProgressBar.java,
280         javax/swing/JRadioButton.java,
281         javax/swing/JRadioButtonMenuItem.java,
282         javax/swing/JRootPane.java,
283         javax/swing/JScrollBar.java,
284         javax/swing/JScrollPane.java,
285         javax/swing/JSeparator.java,
286         javax/swing/JSlider.java,
287         javax/swing/JTabbedPane.java,
288         javax/swing/JTable.java,
289         javax/swing/JTextField.java,
290         javax/swing/JToggleButton.java,
291         javax/swing/JToolBar.java,
292         javax/swing/JToolTip.java,
293         javax/swing/JTree.java,
294         javax/swing/JViewport.java,
295         javax/swing/JWindow.java,
296         javax/swing/KeyStroke.java,
297         javax/swing/ListSelectionModel.java,
298         javax/swing/LookAndFeel.java,
299         javax/swing/RepaintManager.java,
300         javax/swing/ScrollPaneLayout.java,
301         javax/swing/SizeRequirements.java,
302         javax/swing/SwingConstants.java,
303         javax/swing/Timer.java,
304         javax/swing/UIDefaults.java,
305         javax/swing/UIManager.java,
306         javax/swing/border/AbstractBorder.java,
307         javax/swing/border/CompoundBorder.java,
308         javax/swing/colorchooser/AbstractColorChooserPanel.java,
309         javax/swing/colorchooser/ColorChooserComponentFactory.java,
310         javax/swing/colorchooser/ColorSelectionModel.java,
311         javax/swing/colorchooser/DefaultColorSelectionModel.java,
312         javax/swing/event/AncestorEvent.java,
313         javax/swing/event/HyperlinkEvent.java,
314         javax/swing/event/InternalFrameAdapter.java,
315         javax/swing/event/InternalFrameEvent.java,
316         javax/swing/event/ListDataEvent.java,
317         javax/swing/event/MouseInputAdapter.java,
318         javax/swing/event/SwingPropertyChangeSupport.java,
319         javax/swing/event/TableModelEvent.java,
320         javax/swing/event/TreeWillExpandListener.java,
321         javax/swing/event/UndoableEditEvent.java,
322         javax/swing/filechooser/FileFilter.java,
323         javax/swing/filechooser/FileSystemView.java,
324         javax/swing/filechooser/FileView.java,
325         javax/swing/plaf/BorderUIResource.java,
326         javax/swing/plaf/basic/BasicDefaults.java,
327         javax/swing/table/AbstractTableModel.java,
328         javax/swing/table/DefaultTableCellRenderer.java,
329         javax/swing/table/DefaultTableColumnModel.java,
330         javax/swing/table/DefaultTableModel.java,
331         javax/swing/table/TableColumn.java,
332         javax/swing/text/JTextComponent.java,
333         javax/swing/tree/AbstractLayoutCache.java,
334         javax/swing/tree/DefaultMutableTreeNode.java,
335         javax/swing/tree/DefaultTreeCellEditor.java,
336         javax/swing/tree/DefaultTreeCellRenderer.java,
337         javax/swing/tree/DefaultTreeModel.java,
338         javax/swing/tree/DefaultTreeSelectionModel.java,
339         javax/swing/tree/FixedHeightLayoutCache.java,
340         javax/swing/tree/TreeCellEditor.java,
341         javax/swing/tree/TreeModel.java,
342         javax/swing/tree/TreeNode.java,
343         javax/swing/tree/TreePath.java,
344         javax/swing/tree/TreeSelectionModel.java,
345         javax/swing/tree/VariableHeightLayoutCache.java,
346         javax/swing/undo/AbstractUndoableEdit.java,
347         javax/swing/undo/CompoundEdit.java,
348         javax/swing/undo/StateEdit.java,
349         javax/swing/undo/UndoManager.java,
350         javax/swing/undo/UndoableEditSupport.java:
351         New versions from classpath.
352         * javax/swing/table/JTableHeader.java:
353         New file from classpath.
354         * Makefile.am
355         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
356         * Makefile.in: Regenerated.
357
358 2003-06-11  Michael Koch  <konqueror@gmx.de>
359
360         * java/nio/MappedByteBuffer.java,
361         java/nio/channels/Channels.java,
362         java/nio/channels/ServerSocketChannel.java,
363         java/nio/channels/spi/AbstractSelector.java:
364         Removed unneeded imports.
365
366 2003-06-11  Michael Koch  <konqueror@gmx.de>
367
368         * java/net/DatagramSocket.java:
369         Partly merged with classpath.
370
371 2003-06-11  Michael Koch  <konqueror@gmx.de>
372
373         * java/awt/Frame.java,
374         java/awt/Graphics.java,
375         java/awt/Menu.java,
376         java/awt/Robot.java,
377         java/awt/image/ColorModel.java:
378         New versions from classpath.
379
380 2003-06-10  Michael Koch  <konqueror@gmx.de>
381
382         * java/io/PrintStream.java:
383         Merged version from classpath.
384         (close): Removed sychronized keyword. This class is not garantied to
385         be thread-safe.
386         (write): Likewise.
387
388 2003-06-09  Tom Tromey  <tromey@redhat.com>
389
390         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
391         field.
392         (getDescent): Likewise, for "descent".
393
394 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
395
396         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
397         (getMaxDescent): adjusted return value.
398         (getAscent): modified to use metrics for 'O'.
399         (getDescent): modified to use metrics for 'y'.
400
401 2003-06-08  Anthony Green  <green@redhat.com>
402
403         * java/net/URLStreamHandler.java (sameFile): Fix port value
404         comparison.
405         * java/net/URL.java (handler): Make package private.
406         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
407
408 2003-06-07  Tom Tromey  <tromey@redhat.com>
409
410         For PR libgcj/11085:
411         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
412         Limit number of characters in numeric field when required.
413         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
414         Respect maximumIntegerDigits.
415
416 2003-06-08  Michael Koch  <konqueror@gmx.de>
417
418         * java/net/Socket.java
419         (Socket): Dont initialize inputShutdown and outputShutdown twice,
420         call bind() and connect() to actually do the bind and connect tasks.
421         (bind): Connect to canonical address if bindpoint is null, create
422         socket and bind it to bindpoint.
423         (connect): Check for exceptions.
424
425 2003-06-08  Michael Koch  <konqueror@gmx.de>
426
427         * java/net/DatagramSocket.java
428         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
429         into the Multicast constructors.
430         * java/net/DatagramSocketImpl.java
431         (getOption): Removed.
432         (setOption): Removed.
433         * java/net/MulticastSocket.java
434         (MulticastSocket): Call setReuseAddress (true).
435         * java/net/SocketImpl.java
436         (getOption): Removed.
437         (setOption): Removed.
438
439 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
440
441         PR libgcj/10886:
442         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
443         Test for empty vector.
444
445 2003-06-06  Mark Wielaard  <mark@klomp.org>
446
447         * java/security/Security.java (secprops): Initialize.
448         (loadProviders): Return boolean.
449         (static): Check result of loadProvider calls. If necessary
450         display WARNING and fallback to Gnu provider.
451
452 2002-06-06  James Clark  <jjc@jclark.com>
453
454         Fix for PR libgcj/8738:
455         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
456         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
457         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
458         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
459         (write): Always decrease avail when count is increased.
460         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
461         and whether output buffer is full before increasing size.
462
463 2002-06-06  Mark Wielaard  <mark@klomp dot org>
464
465         * java/io/PrintStream.java (writeChars(char[],int, int)):
466         Check converter.havePendingBytes().
467         (writeChars(String,int,int)): Likewise.
468         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
469         Check converter.havePendingBytes() and flush buffer when stalled.
470
471 2003-06-07  Michael Koch  <konqueror@gmx.de>
472
473         * include/posix.h
474         (O_DSYNC): Define O_DSYNC on platforms not
475         supporting O_FSYNC (newlib).
476
477 2003-06-06  Mark Wielaard  <mark@klomp.org>
478
479         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
480         AWTError.
481
482 2003-06-06  Michael Koch  <konqueror@gmx.de>
483
484         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
485         More compile fixes from my stupid work yesterday.
486
487 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
488
489         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
490         if _IEEE_LIBM is undefined.
491
492 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
493
494         * libjava/include/posix.h (O_SYNC): Define if not available
495         and a reasonable, perhaps more conservative, replacement exists.
496         (O_DSYNC): Likewise.
497         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
498
499 2003-06-05  Michael Koch  <konqueror@gmx.de>
500
501         * javax/swing/plaf/BorderUIResource.java,
502         javax/swing/plaf/basic/BasicDefaults.java,
503         javax/swing/plaf/basic/BasicOptionPaneUI.java:
504         More compile fixes for latest Border commit. I should not commit
505         something in this heat here ...
506
507 2003-06-05  Michael Koch  <konqueror@gmx.de>
508
509         * javax/swing/border/BevelBorder.java
510         (BevelBorder): Removed.
511         * javax/swing/border/EmptyBorder.java:
512         Reformatted.
513         (EmptyBorder): Removed.
514         (getBorderInsets): Dont use l, r, t and b.
515         * javax/swing/border/EtchedBorder.java
516         (EtchedBorder): Removed.
517         * javax/swing/border/LineBorder.java
518         (LineBorder): Removed.
519         * javax/swing/border/MatteBorder.java
520         (MatteBorder): Removed.
521         * javax/swing/border/TitledBorder.java
522         (defaultBorder): Use other default for now.
523         (defaultFont): Likewise.
524         (defaultColor): Likewise.
525
526 2003-06-05  Michael Koch  <konqueror@gmx.de>
527
528         * javax/swing/border/Border.java:
529         New version from classpath.
530
531 2003-06-05  Michael Koch  <konqueror@gmx.de>
532
533         * javax/swing/border/AbstractBorder.java,
534         javax/swing/border/BevelBorder.java,
535         javax/swing/border/CompoundBorder.java,
536         javax/swing/border/EmptyBorder.java,
537         javax/swing/border/EtchedBorder.java,
538         javax/swing/border/LineBorder.java,
539         javax/swing/border/MatteBorder.java,
540         javax/swing/border/TitledBorder.java:
541         New versions from Classpath.
542
543 2003-06-05  Michael Koch  <konqueror@gmx.de>
544
545         * java/awt/Button.java,
546         java/awt/Checkbox.java,
547         java/awt/CheckboxMenuItem.java,
548         java/awt/Choice.java,
549         java/awt/Container.java,
550         java/awt/Dialog.java,
551         java/awt/EventQueue.java,
552         java/awt/FileDialog.java,
553         java/awt/Frame.java,
554         java/awt/Label.java,
555         java/awt/List.java,
556         java/awt/Menu.java,
557         java/awt/MenuItem.java,
558         java/awt/Panel.java,
559         java/awt/PopupMenu.java,
560         java/awt/Rectangle.java,
561         java/awt/ScrollPane.java,
562         java/awt/Scrollbar.java,
563         java/awt/TextArea.java,
564         java/awt/TextField.java,
565         java/awt/Window.java,
566         java/awt/datatransfer/DataFlavor.java,
567         java/awt/dnd/DragSource.java,
568         java/awt/dnd/DragSourceContext.java,
569         java/awt/event/HierarchyEvent.java,
570         java/awt/event/MouseWheelEvent.java,
571         java/awt/im/InputContext.java,
572         java/awt/image/BufferedImage.java,
573         java/awt/image/ComponentColorModel.java,
574         java/awt/image/Raster.java,
575         java/awt/image/WritableRaster.java,
576         java/awt/peer/ComponentPeer.java,
577         java/awt/print/PageFormat.java,
578         java/awt/print/PrinterJob.java:
579         New versions from Classpath.
580
581 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
582
583         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
584         numberFormat.setParseIntegerOnly(true).
585
586 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
587
588         * include/posix-threads.h: Include <machine/pal.h> on OSF.
589
590 2003-06-03  Andrew Haley  <aph@redhat.com>
591
592         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
593         stack volatile to prevent optimization from removing it.
594
595 2003-05-27  Michael Koch  <konqueror@gmx.de>
596
597         * java/util/zip/Deflater.java
598         (FILTERED): Merged documentation from classpath.
599         * java/util/zip/DeflaterOutputStream.java
600         (DeflaterOutputStream): Merged documentation and argument validity
601         check from classpath.
602         (deflate): Merged documentation from classpath.
603         (finish): Likewise.
604         * java/util/zip/Inflater.java
605         (Inflater): Merged class documentation from classpath.
606         (zstream): Reordered.
607         (is_finished): Reordered.
608         (dict_needed): Reordered.
609         (Inflater): Reordered, merged documentation from classpath.
610         (end): Likewise.
611         (finalize): Merged documentation from classpath.
612         (finished): Likewise.
613         (getAdler): Likewise.
614         (getRemaining): Likewise.
615         (getTotalIn): Likewise.
616         (getTotalOut): Likewise.
617         (inflate): Likewise.
618         (needsDictionary): Likewise.
619         (needsInput): Likewise.
620         (reset): Likewise.
621         (setDictionary): Likewise.
622         (setInput): Likewise.
623
624 2003-05-27  Michael Koch  <konqueror@gmx.de>
625
626         * java/net/URLConnection.java
627         (getHeaderFieldInt): Merged with classpath.
628
629 2003-05-27  Michael Koch  <konqueror@gmx.de>
630
631         * java/io/PrintStream.java
632         (PrintStream): Reformatted.
633         (PrintStream): New method, merged from classpath.
634         (write): Reformatted.
635
636 2003-05-27  Michael Koch  <konqueror@gmx.de>
637
638         * java/lang/System.java:
639         Explicitely import needed classes.
640
641 2003-05-26  Michael Koch  <konqueror@gmx.de>
642
643         * java/net/NetPermission.java,
644         java/net/NetworkInterface.java,
645         java/net/PasswordAuthentication.java,
646         java/net/SocketPermission.java:
647         New versions from classpath.
648
649 2003-05-25  Michael Koch  <konqueror@gmx.de>
650
651         * java/io/PushbackInputStream.java,
652         java/net/Authenticator.java,
653         java/net/ContentHandler.java,
654         java/net/ContentHandlerFactory.java,
655         java/net/DatagramSocket.java,
656         java/net/DatagramSocketImpl.java,
657         java/net/DatagramSocketImplFactory.java,
658         java/net/FileNameMap.java,
659         java/net/SocketImplFactory.java,
660         java/net/SocketOptions.java,
661         java/net/URLStreamHandlerFactory.java:
662         Merged new versions from classpath.
663
664 2003-05-25  Michael Koch  <konqueror@gmx.de>
665
666         * java/awt/Checkbox.java,
667         java/awt/Dialog.java,
668         java/awt/Font.java,
669         java/awt/Frame.java,
670         java/awt/ScrollPaneAdjustable.java,
671         java/awt/Scrollbar.java,
672         java/awt/Window.java:
673         New versions from classpath.
674
675 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
676
677         PR libgcj/10838:
678         * java/io/ObjectInputStream (enableResolveObject):
679         Fixed spelling of permission name.
680
681 2003-05-20  Michael Koch  <konqueror@gmx.de>
682
683         * java/io/DataInputStream.java
684         (convertFromUTF): Merged comment from classpath.
685         * java/io/PrintStream.java
686         (error_occured): Renamed from error, merged comment from classpath.
687         (PrintStream): No need to initialized error.
688         (checkError): Replace error with error_occurred.
689         (setError): Likewise.
690
691 2003-05-20  Michael Koch  <konqueror@gmx.de>
692
693         * java/io/DataInputStream.java:
694         Reformatted, Replaced < and & with html entitites in documentation.
695         * java/io/File.java:
696         Reformatted.
697         * java/io/PrintWriter.java:
698         Moved class documentation.
699
700 2003-05-20  Michael Koch  <konqueror@gmx.de>
701
702         * gnu/java/nio/ByteBufferImpl.java,
703         gnu/java/nio/CharBufferImpl.java,
704         gnu/java/nio/CharViewBufferImpl.java,
705         gnu/java/nio/DirectByteBufferImpl.java,
706         gnu/java/nio/DoubleBufferImpl.java,
707         gnu/java/nio/DoubleViewBufferImpl.java,
708         gnu/java/nio/FloatBufferImpl.java,
709         gnu/java/nio/FloatViewBufferImpl.java,
710         gnu/java/nio/IntBufferImpl.java,
711         gnu/java/nio/IntViewBufferImpl.java,
712         gnu/java/nio/LongBufferImpl.java,
713         gnu/java/nio/LongViewBufferImpl.java,
714         gnu/java/nio/natDirectByteBufferImpl.cc,
715         gnu/java/nio/ShortBufferImpl.java,
716         gnu/java/nio/ShortViewBufferImpl.java:
717         Moved files to java/nio.
718         * gnu/java/nio/SocketChannelImpl.java
719         
720         * java/nio/ByteBuffer.java,
721         java/nio/CharBuffer.java,
722         java/nio/DoubleBuffer.java,
723         java/nio/FloatBuffer.java,
724         java/nio/IntBuffer.java,
725         java/nio/LongBuffer.java,
726         java/nio/ShortBuffer.java:
727         Dont import anything.
728         * java/nio/ByteBufferImpl.java,
729         java/nio/CharBufferImpl.java,
730         java/nio/CharViewBufferImpl.java,
731         java/nio/DirectByteBufferImpl.java,
732         java/nio/DoubleBufferImpl.java,
733         java/nio/DoubleViewBufferImpl.java,
734         java/nio/FloatBufferImpl.java,
735         java/nio/FloatViewBufferImpl.java,
736         java/nio/IntBufferImpl.java,
737         java/nio/IntViewBufferImpl.java,
738         java/nio/LongBufferImpl.java,
739         java/nio/LongViewBufferImpl.java,
740         java/nio/natDirectByteBufferImpl.cc,
741         java/nio/ShortBufferImpl.java,
742         java/nio/ShortViewBufferImpl.java:
743         Moved from gnu/java/nio.
744         * Makefile.am
745         (ordinary_java_source_files): Moved files from gnu/java/nio to
746         java/nio.
747         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
748         to java/nio.
749         * Makefile.in: Regenerated.
750
751 2003-05-19  Michael Koch  <konqueror@gmx.de>
752
753         * java/util/Calendar.java
754         (get): Not final anymore since JDK 1.4
755         (set): Likewise.
756
757 2003-05-19  Michael Koch  <konqueror@gmx.de>
758
759         * java/text/CollationKey.java:
760         Merged copyright and dat from classpath.
761         * java/text/RuleBasedCollator.java:
762         Merged class documentation from classpath.
763
764 2003-05-19  Michael Koch  <konqueror@gmx.de>
765
766         * java/nio/CharBuffer.java
767         (toString): Compile fix.
768
769 2003-05-19  Michael Koch  <konqueror@gmx.de>
770
771         * gnu/java/nio/ByteBufferImpl.java
772         (putLong): Fixed conversion to bytes.
773         (putDouble): Fixed conversion to bytes.
774         * gnu/java/nio/DirectByteBufferImpl.java
775         (putLong): Fixed conversion to bytes.
776         (putDouble): Fixed conversion to bytes.
777         * gnu/java/nio/FileLockImpl.java
778         (isValid): Reformatted.
779         * java/nio/Buffer.java
780         (Buffer): Fixed off-by-one bug in handling mark.
781         * java/nio/ByteBuffer.java:
782         Added newline.
783         * java/nio/CharBuffer.java
784         (toString): Don't use relative get to get string data.
785
786 2003-05-16  Michael Koch  <konqueror@gmx.de>
787
788         * java/io/natFileDescriptorPosix.cc
789         (open): Commented out the O_SYNC and O_DSYNC usage until its better
790         tested.
791
792 2003-05-14  Michael Koch  <konqueror@gmx.de>
793
794         * gnu/java/nio/FileLockImpl.java
795         (released): New member variable.
796         (FileLockImpl): Initialize released.
797         (releaseImpl): New native method.
798         (release): Implemented.
799         * gnu/java/nio/SelectorImpl.java: Reformatted.
800         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
801         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
802         (accept): Throws IOException.
803         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
804         (implConfigureBlocking): Throws IOException.
805         (connect): Likewise.
806         (read): Likewise.
807         (write): Likewise.
808         * gnu/java/nio/natFileLockImpl.cc: New file.
809         * java/nio/channels/FileLock.java: Reformatted.
810         * Makefile.am:
811         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
812         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
813         * Makefile.in: Regenerated.
814
815 2003-05-13  Michael Koch  <konqueror@gmx.de>
816
817         * gnu/java/nio/CharViewBufferImpl.java
818         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
819         (get): Shift bits to the right direction.
820         (put): Likewise.
821         * gnu/java/nio/DoubleViewBufferImpl.java
822         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
823         (get): Shift bits to the right direction.
824         (put): Likewise.
825         * gnu/java/nio/FloatViewBufferImpl.java
826         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
827         (get): Shift bits to the right direction.
828         (put): Likewise.
829         * gnu/java/nio/IntViewBufferImpl.java
830         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
831         (get): Shift bits to the right direction.
832         (put): Likewise.
833         * gnu/java/nio/LongViewBufferImpl.java
834         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
835         (get): Shift bits to the right direction.
836         (put): Likewise.
837         * gnu/java/nio/ShortViewBufferImpl.java
838         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
839         (get): Shift bits to the right direction.
840         (put): Likewise.
841
842 2003-05-13  Michael Koch  <konqueror@gmx.de>
843
844         * gnu/java/nio/natDirectByteBufferImpl.cc
845         (allocateImpl): jlong -> RawData*.
846         (freeImpl): Likewise.
847
848 2003-05-13  Michael Koch  <konqueror@gmx.de>
849
850         * java/nio/channels/FileChannel.java
851         (MapMode.m): Made it package-private to match JDK 1.4.
852         * java/nio/charset/Charset.java
853         (decode): Made it final to match JDK 1.4.
854
855 2003-05-13  Michael Koch  <konqueror@gmx.de>
856
857        * java/io/FileDescriptor.java
858        (SYNC): New constant.
859        (DSYNC): Likewise.
860        (getLength): Renamed from lenght() to match classpath's
861        FileDescriptor.java.
862        * java/io/RandomAccessFile.java
863        (RandomAccessFile): Removed unneeded mode check, implemented mode
864        "rws" and "rwd", merged documentation from classpath.
865        (setLength): Reformatted.
866        (length): Use new getLength() of FileDescriptor.
867        * java/io/natFileDescriptorEcos.cc
868        (getLength): Renamed from length().
869        * java/io/natFileDescriptorPosix.cc
870        (open): Implemented support for SYNC and DSYNC.
871        (seek): Use getLength() instead of length().
872        (getLength): Renamed from length().
873        * java/io/natFileDescriptorWin32.cc
874        (getLength): Renamed from length().
875        (seek): Use getLength() instead of length().
876        (available): Likewise.
877        * gnu/java/nio/natFileChannelImpl.cc
878        (size): Use getLength() instead of length().
879
880 2003-05-13  Michael Koch  <konqueror@gmx.de>
881
882         * gnu/java/nio/ByteBufferImpl.java
883         (ByteBufferImpl): All constructors revised.
884         (slice): Reimplemented.
885         (duplicate): Reimplemented.
886         (asReadOnlyBuffer): Reimplemented.
887         * java/nio/ByteBuffer.java:
888         Reformatted.
889         (array_offset): Renamed from "offset" to match all other buffer
890         classes.
891         (ByteBuffer): All constructors revised.
892         (allocateDirect): Implemented.
893         (allocate): New implementation, documentation reworked.
894         (wrap): Likewise.
895         (get): Documentation reworked.
896         (put): New implementation, documentation reworked.
897         (hasArray): Documentation reworked.
898         (arrayOffset): Likewise.
899         (hashCode): Likewise.
900         (equals): Likewise.
901         (compareTo): Likewise.
902         (order): Likewise.
903         (compact): Likewise.
904         (isDirect): Likewise.
905         (slice): Likewise.
906         (duplicate): Likewise.
907         (asReadOnlyBuffer): Likewise.
908         * Makefile.am
909         (ordinary_java_source_files):
910         Added gnu/java/nio/DirectByteBufferImpl.java.
911         (nat_source_files):
912         Added gnu/java/nio/natDirectByteBufferImpl.cc.
913         * Makefile.in: Regenerated.
914
915 2003-05-12  Michael Koch  <konqueror@gmx.de>
916
917         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
918         (nio_get_*): Removed.
919         (nio_put_*): Removed.
920         (as*Buffer): Implemented.
921         (compact): Implemented.
922         (get): Documentation added.
923         (put): Documentation added.
924         (get*): Newly implemented.
925         (put*): Newly implemented.
926         * gnu/java/nio/CharBufferImpl.java: Reformatted.
927         (CharBufferImpl): Revised.
928         (slice): New implementation.
929         (duplicate): New implementation.
930         (compact): New implementation.
931         (asReadOnlyBuffer): New implementation.
932         (get): Documentation revised.
933         (order): Return native byte order.
934         * gnu/java/nio/DirectByteBufferImpl.java
935         (allocateDirect): objects can be null not 0.
936         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
937         (DoubleBufferImpl): Revised.
938         (slice): New implementation.
939         (duplicate): New implementation.
940         (compact): New implementation.
941         (asReadOnlyBuffer): New implementation.
942         (get): Documentation revised.
943         (order): Return native byte order.
944         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
945         (FloatBufferImpl): Revised.
946         (slice): New implementation.
947         (duplicate): New implementation.
948         (compact): New implementation.
949         (asReadOnlyBuffer): New implementation.
950         (get): Documentation revised.
951         (order): Return native byte order.
952         * gnu/java/nio/IntBufferImpl.java: Reformatted.
953         (IntBufferImpl): Revised.
954         (slice): New implementation.
955         (duplicate): New implementation.
956         (compact): New implementation.
957         (asReadOnlyBuffer): New implementation.
958         (get): Documentation revised.
959         (order): Return native byte order.
960         * gnu/java/nio/LongBufferImpl.java: Reformatted.
961         (LongBufferImpl): Revised.
962         (slice): New implementation.
963         (duplicate): New implementation.
964         (compact): New implementation.
965         (asReadOnlyBuffer): New implementation.
966         (get): Documentation revised.
967         (order): Return native byte order.
968         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
969         (ShortBufferImpl): Revised.
970         (slice): New implementation.
971         (duplicate): New implementation.
972         (compact): New implementation.
973         (asReadOnlyBuffer): New implementation.
974         (get): Documentation revised.
975         (order): Return native byte order.
976         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
977         (CharBuffer): Revised.
978         (order): Removed.
979         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
980         (DoubleBuffer): Revised.
981         (allocateDirect): Removed.
982         (order): Removed.
983         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
984         (FloatBuffer): Revised.
985         (allocateDirect): Removed.
986         (order): Removed.
987         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
988         (IntBuffer): Revised.
989         (allocateDirect): Removed.
990         (order): Removed.
991         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
992         (LongBuffer): Revised.
993         (allocateDirect): Removed.
994         (order): Removed.
995         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
996         (ShortBuffer): Revised.
997         (allocateDirect): Removed.
998         (order): Removed.
999         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1000         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1001         * Makefile.am
1002         (ordinary_java_source_files): Added the following files:
1003         gnu/java/nio/CharViewBufferImpl.java,
1004         gnu/java/nio/DoubleViewBufferImpl.java,
1005         gnu/java/nio/FloatViewBufferImpl.java,
1006         gnu/java/nio/IntViewBufferImpl.java,
1007         gnu/java/nio/LongViewBufferImpl.java,
1008         gnu/java/nio/ShortViewBufferImpl.java
1009         (nat_source_files): Removed the following files:
1010         gnu/java/nio/natByteBufferImpl.cc,
1011         gnu/java/nio/natCharBufferImpl.cc
1012         * Makefile.in: Regenerated.
1013
1014 2003-05-12  Michael Koch  <konqueror@gmx.de>
1015
1016         * gnu/java/nio/CharViewBufferImpl.java,
1017         gnu/java/nio/DirectByteBufferImpl.java,
1018         gnu/java/nio/DoubleViewBufferImpl.java,
1019         gnu/java/nio/FloatViewBufferImpl.java,
1020         gnu/java/nio/IntViewBufferImpl.java,
1021         gnu/java/nio/LongViewBufferImpl.java,
1022         gnu/java/nio/ShortViewBufferImpl.java,
1023         gnu/java/nio/natDirectByteBufferImpl.cc:
1024         New files, not yet to be compiled.
1025
1026 2003-05-10  Michael Koch  <konqueror@gmx.de>
1027
1028         * javax/swing/plaf/ButtonUI.java,
1029         javax/swing/plaf/ColorUIResource.java,
1030         javax/swing/plaf/ComponentUI.java,
1031         javax/swing/plaf/DimensionUIResource.java,
1032         javax/swing/plaf/FontUIResource.java,
1033         javax/swing/plaf/IconUIResource.java,
1034         javax/swing/plaf/InsetsUIResource.java,
1035         javax/swing/plaf/LabelUI.java,
1036         javax/swing/plaf/ListUI.java,
1037         javax/swing/plaf/OptionPaneUI.java,
1038         javax/swing/plaf/PanelUI.java,
1039         javax/swing/plaf/TabbedPaneUI.java,
1040         javax/swing/plaf/TextUI.java,
1041         javax/swing/plaf/TreeUI.java,
1042         javax/swing/plaf/ViewportUI.java,
1043         javax/swing/plaf/basic/BasicBorders.java,
1044         javax/swing/plaf/basic/BasicButtonUI.java,
1045         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1046         javax/swing/plaf/basic/BasicDefaults.java,
1047         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1048         javax/swing/plaf/basic/BasicIconFactory.java,
1049         javax/swing/plaf/basic/BasicLabelUI.java,
1050         javax/swing/plaf/basic/BasicListUI.java,
1051         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1052         javax/swing/plaf/basic/BasicPanelUI.java,
1053         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1054         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1055         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1056         javax/swing/plaf/basic/BasicTextUI.java,
1057         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1058         javax/swing/plaf/basic/BasicTreeUI.java,
1059         javax/swing/plaf/basic/BasicViewportUI.java,
1060         javax/swing/plaf/metal/MetalLookAndFeel.java:
1061         New versions from classpath. This adds copyrights to all files and
1062         some serialVersionUIDs.
1063
1064 2003-05-10  Michael Koch  <konqueror@gmx.de>
1065
1066         * java/nio/CharBuffer.java
1067         (offset): Make it package-private.
1068         (backing_buffer): Likewise.
1069         * java/nio/DoubleBuffer.java
1070         (offset): Make it package-private.
1071         (backing_buffer): Likewise.
1072         (put): Reformatted.
1073         * java/nio/FloatBuffer.java
1074         (offset): Make it package-private.
1075         (backing_buffer): Likewise.
1076         * java/nio/IntBuffer.java
1077         (offset): Make it package-private.
1078         (backing_buffer): Likewise.
1079         * java/nio/LongBuffer.java
1080         (offset): Make it package-private.
1081         (backing_buffer): Likewise.
1082         * java/nio/ShortBuffer.java
1083         (offset): Make it package-private.
1084         (backing_buffer): Likewise.
1085
1086 2003-05-10  Michael Koch  <konqueror@gmx.de>
1087
1088         * java/nio/CharBuffer.java
1089         (put): Fixed precondtion check.
1090         (toString): Make it work without backing array.
1091         (put): Skip one level of method calling.
1092
1093 2003-05-10  Michael Koch  <konqueror@gmx.de>
1094
1095         * java/security/Identity.java,
1096         java/security/IdentityScope.java,
1097         java/security/Key.java,
1098         java/security/KeyPair.java,
1099         java/security/PrivateKey.java,
1100         java/security/Provider.java,
1101         java/security/PublicKey.java,
1102         java/security/SecureRandom.java,
1103         java/security/SecureRandomSpi.java,
1104         java/security/SignedObject.java,
1105         java/security/Signer.java,
1106         java/security/cert/Certificate.java,
1107         java/security/cert/PKIXCertPathBuilderResult.java,
1108         java/security/cert/X509Certificate.java:
1109         New versions from classpath.
1110
1111 2003-05-09  Tom Tromey  <tromey@redhat.com>
1112
1113         * Makefile.in: Rebuilt.
1114         * Makefile.am (nat_source_files): Removed old files.
1115         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1116         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1117         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1118         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1119         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1120
1121 2003-05-09  Michael Koch  <konqueror@gmx.de>
1122
1123         * gnu/java/nio/ByteBufferImpl.java
1124         (nio_cast): Removed.
1125         (ByteBufferImpl): Removed.
1126         (nio_get_Byte): Removed.
1127         (nio_put_Byte): Removed.
1128         (asByteBuffer): Removed.
1129         (asCharBuffer): Removed implementation and throw exception.
1130         (asShortBuffer): Likewise.
1131         (asIntBuffer): Likewise.
1132         (asLongBuffer): Likewise.
1133         (asFloatBuffer): Likewise.
1134         (asDoubleBuffer): Likewise.
1135         * gnu/java/nio/CharBufferImpl.java
1136         (CharBufferImpl): Removed.
1137         (nio_get_Byte): Removed.
1138         (nio_put_Byte): Removed.
1139         (asByteBuffer): Removed.
1140         * gnu/java/nio/DoubleBufferImpl.java
1141         (DoubleBufferImpl): Removed.
1142         (nio_get_Byte): Removed.
1143         (nio_put_Byte): Removed.
1144         (asByteBuffer): Removed.
1145         * gnu/java/nio/FloatBufferImpl.java
1146         (FloatBufferImpl): Removed.
1147         (nio_get_Byte): Removed.
1148         (nio_put_Byte): Removed.
1149         (asByteBuffer): Removed.
1150         * gnu/java/nio/IntBufferImpl.java
1151         (IntBufferImpl): Removed.
1152         (nio_get_Byte): Removed.
1153         (nio_put_Byte): Removed.
1154         (asByteBuffer): Removed.
1155         * gnu/java/nio/LongBufferImpl.java
1156         (LongBufferImpl): Removed.
1157         (nio_get_Byte): Removed.
1158         (nio_put_Byte): Removed.
1159         (asByteBuffer): Removed.
1160         * gnu/java/nio/ShortBufferImpl.java
1161         (ShortBufferImpl): Removed.
1162         (nio_get_Byte): Removed.
1163         (nio_put_Byte): Removed.
1164         (asByteBuffer): Removed.
1165         * gnu/java/nio/natByteBufferImpl.cc
1166         (nio_cast): Removed.
1167         (nio_get_Byte): Removed.
1168         (nio_put_Byte): Removed.
1169         * gnu/java/nio/natCharBufferImpl.cc
1170         (nio_get_Byte): Removed.
1171         (nio_put_Byte): Removed.
1172
1173 2003-05-09  Michael Koch  <konqueror@gmx.de>
1174
1175         * java/net/JarURLConnection.java
1176         (getJarEntry): Merged documentation from classpath.
1177         (getJarFile): Likewise.
1178         (getMainAttributes): Likewise.
1179         (getAttributes): Likewise.
1180         (getManifest): Likewise.
1181         (getCertificates): Reformatted.
1182         * java/net/URLConnection.java:
1183         Little classpath merge.
1184
1185 2003-05-09  Michael Koch  <konqueror@gmx.de>
1186
1187         * java/io/DataOutputStream.java
1188         (writeShort): Made it synchronized.
1189         (writeChar): Likewise.
1190         (writeInt): Likewise.
1191         (writeLong): Liekwise.
1192         (writeUTF): Made it synchronized, renamed argument to match classpath.
1193         * java/io/InputStreamReader.java
1194         (converter): Added documentation.
1195         (read): Merged documentation from classpath.
1196         * java/io/OutputStreamWriter.java
1197         (OutputStreamWriter): Merged documentation from classpath.
1198         (close): Reformatted.
1199         (getEncoding): Likewise.
1200         (flush): Likewise.
1201         (write): Merged documentation from classpath, reformatted.
1202
1203 2003-05-08  Tom Tromey  <tromey@redhat.com>
1204
1205         * configure.host <powerpc64*-*>: Set with_libffi_default and
1206         libgcj_interpreter to "yes".
1207
1208 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1209
1210         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1211         
1212 2003-05-06  Tom Tromey  <tromey@redhat.com>
1213
1214         * verify.cc: Reverted previous patch.
1215
1216 2003-05-06  Michael Koch  <konqueror@gmx.de>
1217
1218         * java/io/DataOutputStream.java
1219         (write): Renamed argument to "value", merged documentation from
1220         classpath.
1221         (writeBoolean): Likewise.
1222         (writeByte): Likewise.
1223         (writeShort): Likewise.
1224         (writeChar): Likewise.
1225         (writeInt): Likewise.
1226         (writeLong): Likewise.
1227         (writeFloat): Likewise.
1228         (writeDouble): Likewise.
1229         (writeBytes): Likewise.
1230         (writeChars): Likewise.
1231         (writeUTF): Likewise.
1232         * java/io/File.java
1233         (performDelete): Added documentation.
1234         (performList): Likewise.
1235         (performMkdir): Likewise.
1236         (performSetReadOnly): Likewise.
1237         (performRenameTo): Likewise.
1238         (performSetLastModified): Likewise.
1239         (delete): Made it sychronized.
1240         (renameTo): Made it sychronized.
1241         (equals): Reformatted.
1242         (isHidden): Likewise.
1243         (listFiles): Likewise.
1244         (setReadOnly): Likewise.
1245         (listRoots): Likewise.
1246         (setLastModified): Likewise.
1247         (checkRead): Likewise.
1248         (checkWrite): Likewise.
1249         * java/io/FileInputStream.java
1250         (skip): Made it sychronized, merged from classpath.
1251         * java/io/FileOutputStream.java
1252         (write): Merged from classpath.
1253         * java/io/InputStreamReader.java:
1254         (InputStreamReader): Merged documentation from classpath.
1255
1256 2003-05-05  Michael Koch  <konqueror@gmx.de>
1257
1258         * java/net/NetworkInterface.java
1259         (networkInterfaces): Removed.
1260         (getByName): Use getRealNetworkInterfaces() instead of
1261         networkInterfaces.
1262         (getByInetAddress): Likewise.
1263         (getNetworkInterfaces): Likewise.
1264         (toString): Fix output of addresses of an interface.
1265
1266 2003-05-05  Michael Koch  <konqueror@gmx.de>
1267
1268         * java/io/DataInputStream.java:
1269         Merged new documentation from classpath.
1270
1271 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1272
1273         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1274         "version".
1275         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1276         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1277         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1278         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1279         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1280         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1281         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1282         * java/security/Key.java: Likewise.
1283         * java/security/PrivateKey.java: Likewise.
1284         * java/security/Provider.java: Likewise.
1285         * java/security/PublicKey.java: Likewise.
1286
1287 2003-05-02  Michael Koch  <konqueror@gmx.de>
1288
1289         * java/net/URI.java
1290         (create): Doesnt throws any exceptions.
1291         * java/net/URLConnection.java
1292         (URLConnection): Commend added.
1293         (getExpiration): The header field is called "expires" not
1294         "expiration".
1295         (getHeaderField): Merged documentation with classpath.
1296         (getHeaderFieldInt): Likewise.
1297         (getHeaderFieldDate): Likewise.
1298         (getHeaderFieldKey): Likewise.
1299         (getPermission): Likewise.
1300         (setDefaultUseCaches): Likewise.
1301         (setRequestProperty): Likewise.
1302         (addRequestProperty): Likewise.
1303         (getRequestProperty): Likewise.
1304         (getRequestProperties): Likewise.
1305         (setDefaultRequestProperty): Likewise.
1306         (getDefaultRequestProperty): Likewise.
1307         (guessContentTypeFromStream): Likewise.
1308         (getFileNameMap): Likewise.
1309         (setFileNameMap): Likewise.
1310         (setDoInput): Merged implementation and documentation with classpath.
1311         (setDoOutput): Likewise.
1312         (setAllowUserInteraction): Likewise.
1313         (setDefaultAllowUserInteraction): Likewise.
1314         (setContentHandlerFactory): Made it synchronized, merged documentation
1315         with classpath.
1316         (guessContentTypeFromName): Renamed argument fname to filename to
1317         match classpath, merged documentation with classpath.
1318
1319 2003-05-02  Michael Koch  <konqueror@gmx.de>
1320
1321         * java/net/JarURLConnection.java
1322         (JarURLConnection): Class documentation merged with classpath.
1323         (getJarFileURL): Moved and documentation merged with classpath.
1324         (getEntryName): Likewise.
1325         (JarURLConnection): Documentation merged with classpath.
1326         (getJarEntry): Likewise.
1327         (getJarFile): Likewise.
1328         * java/net/PlainDatagramSocketImpl.java:
1329         Class documentation moved.
1330         * java/net/URLConnection.java
1331         (fileNameMap): Moved and documentation merged with classpath.
1332         (factory): Likewise.
1333         (defaultAllowUserInteraction): Likewis.
1334         (defaultUseCaches): Likewise.
1335         (allowUserInteraction): Likewise.
1336         (connected): Likewise.
1337         (url): Likewise.
1338         (connect): Documentation merged with classpath.
1339         (getURL): Likewise.
1340         (getContentLength): Likewise.
1341         (getContentType): Likewise.
1342         (getContentEncoding): Likewise.
1343         (getExpiration): Likewise.
1344         (getDate): Likewise.
1345         (getLastModified): Likewise.
1346         (getHeaderField): Likewise.
1347         (getContent): Likewise.
1348         (getPermission): Likewise.
1349         (getInputStream): Likewise.
1350         (getOutputStream): Likewise.
1351         (toString): Likewise.
1352         (getDoInput): Likewise.
1353         (getDoOutput): Likewise.
1354         (setAllowUserInteraction): Likewise.
1355         (getAllowUserInteraction): Likewise.
1356         (setDefaultAllowUserInteraction): Likewise.
1357         (getDefaultAllowUserInteraction): Likewise.
1358         (setUseCaches): Likewise.
1359         (getUseCaches): Likewise.
1360         (setIfModifiedSince): Likewise.
1361         (getIfModifiedSince): Likewise.
1362         (setDefaultRequestProperty): Likewise.
1363         (getDefaultRequestProperty): Likewise.
1364         (setContentHandlerFactory): Likewise.
1365         (setFileNameMap): Likewise.
1366
1367 2003-05-02  Michael Koch  <konqueror@gmx.de>
1368
1369         * java/net/InetAddress.java:
1370         Merged class documentation with classpath.
1371         * java/net/JarURLConnection.java:
1372         Explicitely import all used classes.
1373         * java/net/URL.java:
1374         Reformatting.
1375         * java/net/ServerSocket.java,
1376         java/net/Socket.java:
1377         New versions from classpath.
1378
1379 2003-05-02  Michael Koch  <konqueror@gmx.de>
1380
1381         * gnu/java/nio/FileChannelImpl.java
1382         (read): New implementation.
1383         (implRead): New methods.
1384         (write): New implementation, call other write insteal of read method.
1385         (implWrite): New methods.
1386         (map): Added comment.
1387         (transferFrom): Implemented.
1388         (transferTo): Implemented.
1389         (lock): Added checks to throw exceptions.
1390         (truncate): Added check to throw exception.
1391         * gnu/java/nio/natFileChannelImpl.cc
1392         (implRead): New method.
1393         (implWrite): New method.
1394         * java/nio/ByteBuffer.java
1395         (hashCode): Fixed comment.
1396         (get): Fixed exception documentation.
1397         (put): Fixed exception documentation.
1398         * java/nio/CharBuffer.java:
1399         Added comment for later optimizations.
1400
1401 2003-04-30  Tom Tromey  <tromey@redhat.com>
1402
1403         PR libgcj/10582:
1404         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1405         Removed.
1406         (type::compatible): Use _Jv_IsAssignableFrom.
1407         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1408         (_Jv_IsAssignableFrom): Work even when source or target class is
1409         not prepared.
1410
1411 2003-04-30  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/text/BreakIterator.java
1414         (clone): New method.
1415
1416 2003-04-30  Michael Koch  <konqueror@gmx.de>
1417
1418         * java/text/CollationElementIterator.java,
1419         java/text/CollationKey.java,
1420         java/text/RuleBasedCollator.java:
1421         Merged copyright and documentation from classpath and
1422         rearranged some code. No code changes done.
1423
1424 2003-04-30  Michael Koch  <konqueror@gmx.de>
1425
1426         * java/util/regex/Matcher.java
1427         (pattern): New member variable.
1428         (appendReplacement): New method.
1429         (appendTail): New method.
1430         (end): New method.
1431         (find): New method.
1432         (group): New method.
1433         (replaceFirst): Added documentation.
1434         (replaceAll): Added documentation.
1435         (groupCount): New method.
1436         (lookingAt): New method.
1437         (matches): New method.
1438         (reset): New method.
1439         (start): New method.
1440         * java/util/regex/Pattern.java
1441         (serialVersionUID): New constant.
1442         (CANON_EQ): New constant.
1443         (CASE_INSENSITIVE): New constant.
1444         (COMMENTS): New constant.
1445         (DOTALL): New constant.
1446         (MULTILINE): New constant.
1447         (UNICODE_CASE): New constant.
1448         (UNIX_LINES): New constant.
1449         (regex): New member variable.
1450         (flags): New member variable.
1451         (Pattern): New method.
1452         (compile): Documentation added.
1453         (flags): New method.
1454         (matches): Documentation added.
1455         (matcher): Documentation added.
1456         (split): Documentation added.
1457         (pattern): New method.
1458
1459 2003-04-30  Michael Koch  <konqueror@gmx.de>
1460
1461         * gnu/java/security/Engine.java,
1462         gnu/java/security/OID.java,
1463         gnu/java/security/der/BitString.java,
1464         gnu/java/security/der/DER.java,
1465         gnu/java/security/der/DERReader.java,
1466         gnu/java/security/der/DERValue.java,
1467         gnu/java/security/der/DERWriter.java,
1468         gnu/java/security/provider/DSAKeyFactory.java,
1469         gnu/java/security/provider/X509CertificateFactory.java,
1470         gnu/java/security/x509/X500DistinguishedName.java,
1471         gnu/java/security/x509/X509CRL.java,
1472         gnu/java/security/x509/X509CRLEntry.java,
1473         gnu/java/security/x509/X509Certificate.java,
1474         java/security/cert/CRLSelector.java,
1475         java/security/cert/CertPathBuilder.java,
1476         java/security/cert/CertPathBuilderResult.java,
1477         java/security/cert/CertPathBuilderSpi.java,
1478         java/security/cert/CertPathParameters.java,
1479         java/security/cert/CertPathValidator.java,
1480         java/security/cert/CertPathValidatorResult.java,
1481         java/security/cert/CertPathValidatorSpi.java,
1482         java/security/cert/CertSelector.java,
1483         java/security/cert/CertStore.java,
1484         java/security/cert/CertStoreParameters.java,
1485         java/security/cert/CertStoreSpi.java,
1486         java/security/cert/CollectionCertStoreParameters.java,
1487         java/security/cert/LDAPCertStoreParameters.java,
1488         java/security/cert/PKIXBuilderParameters.java,
1489         java/security/cert/PKIXCertPathBuilderResult.java,
1490         java/security/cert/PKIXCertPathChecker.java,
1491         java/security/cert/PKIXCertPathValidatorResult.java,
1492         java/security/cert/PKIXParameters.java,
1493         java/security/cert/PolicyNode.java,
1494         java/security/cert/PolicyQualifierInfo.java,
1495         java/security/cert/TrustAnchor.java,
1496         javax/security/auth/x500/X500Principal.java:
1497         New files from classpath.
1498         * gnu/java/io/ASN1ParsingException.java,
1499         gnu/java/io/Base64InputStream.java,
1500         gnu/java/security/der/DEREncodingException.java,
1501         gnu/java/security/provider/DSAParameters.java,
1502         gnu/java/security/provider/DSASignature.java,
1503         gnu/java/security/provider/Gnu.java,
1504         gnu/java/security/provider/GnuDSAPrivateKey.java,
1505         gnu/java/security/provider/GnuDSAPublicKey.java,
1506         java/security/AlgorithmParameterGenerator.java,
1507         java/security/AlgorithmParameters.java,
1508         java/security/KeyFactory.java,
1509         java/security/KeyPairGenerator.java,
1510         java/security/KeyStore.java,
1511         java/security/MessageDigest.java,
1512         java/security/SecureClassLoader.java,
1513         java/security/SecureRandom.java,
1514         java/security/Security.java,
1515         java/security/Signature.java,
1516         java/security/cert/Certificate.java,
1517         java/security/cert/CertificateFactory.java,
1518         java/security/cert/CertificateFactorySpi.java,
1519         java/security/cert/X509CRL.java,
1520         java/security/cert/X509Certificate.java,
1521         java/security/spec/DSAPublicKeySpec.java:
1522         New versions from classpath.
1523         * gnu/java/security/provider/DERReader.java,
1524         gnu/java/security/provider/DERWriter.java,
1525         java/security/Engine.java: Removed.
1526         * Makefile.am
1527         (java_source_files, javax_source_files): Added new files.
1528         * Makefile.in: Regenerated.
1529
1530 2003-04-29  Michael Koch  <konqueror@gmx.de>
1531
1532         * javax/swing/JTable.java
1533         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1534         (AUTO_RESIZE_LAST_COLUMN): New constant.
1535         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1536         (AUTO_RESIZE_OFF): New constant.
1537         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1538         (JTable): New method.
1539         (columnAdded): New method.
1540         (columnMarginChanged): New method.
1541         (columnMoved): New method.
1542         (columnRemoved): New method.
1543         (columnSelectionChanged): New method.
1544         (editingCanceled): New method.
1545         (editingStopped): New method.
1546         (getColumnModel): New method.
1547         (getPreferredScrollableViewportSize): New method.
1548         (getScrollableBlockIncrement): New method.
1549         (getScrollableTracksViewportHeight): New method.
1550         (getScrollableTracksViewportWidth): New method.
1551         (getScrollableUnitIncrement): New method.
1552         (getSelectedRow): New method.
1553         (getSelectionModel): New method.
1554         (tableChanged): New method.
1555         (setModel): New method.
1556         (setSelectionMode): New method.
1557         (setSelectionModel): New method.
1558         (setShowGrid): New method.
1559         (valueChanged): New method.
1560         * javax/swing/text/DefaultEditorKit.java
1561         (backwardAction): New constant.
1562         (beepAction): New constant.
1563         (beginAction): New constant.
1564         (beginLineAction): New constant.
1565         (beginParagraphAction): New constant.
1566         (beginWordAction): New constant.
1567         (copyAction): New constant.
1568         (cutAction): New constant.
1569         (defaultKeyTypedAction): New constant.
1570         (deleteNextCharAction): New constant.
1571         (deletePrevCharAction): New constant.
1572         (downAction): New constant.
1573         (endAction): New constant.
1574         (endLineAction): New constant.
1575         (endOfLineStringProperty): New constant.
1576         (endParagraphAction): New constant.
1577         (endWordAction): New constant.
1578         (forwardAction): New constant.
1579         (insertBreakAction): New constant.
1580         (insertContentAction): New constant.
1581         (insertTabAction): New constant.
1582         (nextWordAction): New constant.
1583         (pageDownAction): New constant.
1584         (pageUpAction): New constant.
1585         (pasteAction): New constant.
1586         (previousWordAction): New constant.
1587         (readOnlyAction): New constant.
1588         (selectAllAction): New constant.
1589         (selectionBackwardAction): New constant.
1590         (selectionBeginAction): New constant.
1591         (selectionBeginLineAction): New constant.
1592         (selectionBeginParagraphAction): New constant.
1593         (selectionBeginWordAction): New constant.
1594         (selectionDownAction): New constant.
1595         (selectionEndAction): New constant.
1596         (selectionEndLineAction): New constant.
1597         (selectionEndParagraphAction): New constant.
1598         (selectionEndWordAction): New constant.
1599         (selectionForwardAction): New constant.
1600         (selectionNextWordAction): New constant.
1601         (selectionPreviousWordAction): New constant.
1602         (selectionUpAction): New constant.
1603         (selectLineAction): New constant.
1604         (selectParagraphAction): New constant.
1605         (selectWordAction): New constant.
1606         (upAction): New constant.
1607         (writableAction): New constant.
1608
1609 2003-04-29  Michael Koch  <konqueror@gmx.de>
1610
1611         * java/util/PropertyPermission.java:
1612         New version from classpath
1613         * java/util/ResourceBundle.java:
1614         Partly merged from classpath
1615         (getObject): Reformated.
1616         (tryBundle): Set foundBundle = null if no bundle found.
1617
1618 2003-04-29  Michael Koch  <konqueror@gmx.de>
1619
1620         * javax/swing/AbstractListModel.java,
1621         javax/swing/DefaultBoundedRangeModel.java,
1622         javax/swing/DefaultSingleSelectionModel.java:
1623         New Versions from classpath.
1624
1625 2003-04-29  Michael Koch  <konqueror@gmx.de>
1626
1627         * java/awt/Window.java
1628         (show): Call super.show() instead of setVisible() to avoid endless
1629         loop.
1630         (hide): Call super.hide() instead of setVisible() to avoid endless
1631         loop.
1632
1633 2003-04-29  Michael Koch  <konqueror@gmx.de>
1634
1635         * java/util/zip/Deflater.java,
1636         java/util/zip/DeflaterOutputStream.java:
1637         Partly merged with classpath.
1638
1639 2003-04-27  Tom Tromey  <tromey@redhat.com>
1640
1641         * java/lang/natString.cc (_Jv_AllocString): Initialize
1642         cachedHashCode.
1643         (init): Likewise.
1644         (_Jv_NewStringUtf8Const): Likewise.
1645
1646 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1647
1648         * include/jvm.h: (_Jv_GetNbArgs) added
1649         (_Jv_GetSafeArg) added
1650         (_Jv_SetArgs) added
1651         * prims.cc: (_Jv_GetNbArgs) implemented
1652         (_Jv_GetSafeArg) implemented
1653         (_Jv_SetArgs) implemented
1654         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1655         setting _Jv_argc and _Jv_argv
1656         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1657         instead of _Jv_argv
1658         * java/lang/natRuntime.cc: (insertSystemProperties) use
1659         _Jv_GetSafeArg() instead of _Jv_argv
1660
1661 2003-04-23  Tom Tromey  <tromey@redhat.com>
1662
1663         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1664         required by this object.  Search superclasses to find required
1665         alignment.
1666         (get_alignment_from_class): Use alignment of type as it appears
1667         in a struct.
1668         (ALIGNOF): New macro.
1669         (struct aligner): New helper structure.
1670
1671 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1672
1673         * java/awt/Container.java (addImpl): Enable paint events if adding
1674         a lightweight to a heavyweight.
1675         (addNotify): Ensure that peer is created before
1676         addNotifyContainerChildren.
1677         (addNotifyContainerChildren): Enable paint events if a heavyweight
1678         container contains a lightweight.
1679
1680 2003-04-20  Tom Tromey  <tromey@redhat.com>
1681
1682         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1683         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1684         Classpath.
1685
1686 2003-04-19  Tom Tromey  <tromey@redhat.com>
1687
1688         * java/sql/Date.java, java/sql/DriverManager.java,
1689         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1690         Classpath.
1691
1692         * Makefile.in: Rebuilt.
1693         * Makefile.am (ordinary_java_source_files): Added new files.
1694         * java/security/AlgorithmParameterGenerator.java,
1695         java/security/AlgorithmParameters.java, java/security/Engine.java,
1696         java/security/Identity.java, java/security/IdentityScope.java,
1697         java/security/KeyFactory.java,
1698         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1699         java/security/MessageDigest.java, java/security/Policy.java,
1700         java/security/ProtectionDomain.java,
1701         java/security/SecureRandom.java, java/security/Security.java,
1702         java/security/Signature.java, java/security/SignatureSpi.java,
1703         java/security/SignedObject.java, java/security/Signer.java,
1704         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1705         java/security/spec/PSSParameterSpec.java,
1706         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1707         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1708         Classpath.
1709
1710 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1711
1712         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1713         (dispose): Null metrics.
1714         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1715         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1716         finalize.
1717         (finalize): Call dispose.
1718         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1719         (gcCachedCount): New field.
1720         (finalize): New method.
1721         (putGCInCache): New method.
1722         (getGCFromCache): New method.
1723         * gnu/gcj/xlib/GC.java (GC): Make protected.
1724         (clone): Get new GC from cache if possible.
1725         (create): New static method.
1726         (dispose): Save old GC in cache.
1727         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1728         deleting.
1729         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1730         is null.
1731         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1732         * java/awt/Container.java (visitChild): Dispose gfx2 when
1733         finished.
1734
1735 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1736
1737         * java/math/BigInteger.java (probablePrime): New.
1738         * java/math/BigDecimal.java (unscaledValue): New.
1739
1740 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1741
1742         * java/io/File.java (getAbsolutePath): On Windows, take care
1743         of paths like "C:", "G:foo\bar", etc.
1744         (getName): Make it work correctly on Windows.
1745         (getParent): Make it work correctly on Windows. For UNIX,
1746         fix bug that causes "/" to be returned as the parent of "/",
1747         instead of null as returned by Sun's JRE.
1748
1749         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1750
1751 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1752
1753         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1754         inner class.
1755         (CACHE_SIZE_PER_DISPLAY): New field
1756         (fontMetricsCache): New field
1757         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1758         loading ISO10646-1 fonts.
1759
1760 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1761
1762         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1763         characters.
1764         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1765         characters.
1766
1767 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1768
1769         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1770         floating point.
1771
1772 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1773
1774         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1775         installed libpthread is either linuxthreads with floating stacks or
1776         NPTL.
1777
1778 2003-04-14  Tom Tromey  <tromey@redhat.com>
1779
1780         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1781         of alignment.
1782
1783 2003-04-10  Tom Tromey  <tromey@redhat.com>
1784
1785         * verify.cc (pop64): Removed.
1786         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1787         exception if top-of-stack is narrow.
1788         (initialize_stack): Check to ensure that <init> is not static and
1789         <clinit> is.
1790
1791 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1792
1793         * java/io/ObjectStreamException
1794         * java/io/FileFilter
1795         * java/io/FilenameFilter
1796         * java/io/ObjectInput
1797         * java/io/ObjectOutput
1798         * java/io/ObjectStreamConstants
1799         Minor doc fixes, format fixes, spelling corrections, etc.
1800         * java/io/DataInput
1801         Corrected code samples in Javadocs to match reality
1802         * java/io/DataOutput
1803         * java/io/ObjectInputValidation
1804         Major documentation fixes - all Javadocs re-written or updated
1805
1806 2003-04-06  Michael Koch  <konqueror@gmx.de>
1807
1808         * java/net/URLConnection.java:
1809         Import classes directly.
1810         (URLConnection): Merged class documentation with classpath.
1811         (url): Moved, documentation from classpath added.
1812         (doInput): Moved, documentation from classpath added.
1813         (doOutput): Moved, documentation from classpath added.
1814         (allowUserInteraction): Moved.
1815         (useCaches): Moved, documentation from classpath added.
1816         (ifModifiedSince): Moved, documentation from classpath added.
1817         (connected): Moved, documentation from classpath added.
1818
1819 2003-04-06  Michael Koch  <konqueror@gmx.de>
1820
1821         * java/io/FileInputStream.java
1822         (skip): Renamed some variables to match classpath, added
1823         checks from classpath.
1824
1825 2003-03-31  Michael Koch  <konqueror@gmx.de>
1826
1827         * javax/swing/AbstractAction.java
1828         (AbstractAction): Reformatted.
1829         (serialVersionUID): New private member variable.
1830         * javax/swing/plaf/BorderUIResource.java
1831         (serialVersionUID): New private member variable.
1832         * javax/swing/plaf/basic/BasicLookAndFeel.java
1833         (serialVersionUID): New private member variable.
1834
1835 2003-03-31  Michael Koch  <konqueror@gmx.de>
1836
1837         * java/sql/Date.java
1838         (valueOf): Deprecated, reformatted.
1839         (toString): Deprecated, reformatted.
1840         * java/sql/Time.java
1841         (valueOf): Deprecated, reformatted.
1842         (toString): Deprecated, reformatted.
1843
1844 2003-03-31  Michael Koch  <konqueror@gmx.de>
1845
1846         * java/rmi/dgc/VMID.java
1847         (isUnique): Deprecated.
1848
1849 2003-03-31  Michael Koch  <konqueror@gmx.de>
1850
1851         * java/io/File.java
1852         (separator): Merged documentation from classpath.
1853         (separatorChar): Merged documentation from classpath.
1854         (pathSeparator): Merged documentation from classpath.
1855         (pathSeparatorChar): Merged documentation from classpath.
1856         (path): Merged documentation from classpath.
1857         (canRead): Merged documentation from classpath.
1858         (canWrite): Merged documentation from classpath.
1859         (createNewFile): Merged documentation from classpath.
1860         (delete): Merged documentation from classpath.
1861         (equals): Merged documentation from classpath.
1862         (exists): Merged documentation from classpath.
1863         (File): Renamed p to name to match classpath, merged documentation
1864         from classpath.
1865         (getAbsolutePath): Merged documentation from classpath.
1866         (getCanonicalPath): Merged documentation from classpath.
1867         (getCanonicalFile): Merged documentation from classpath.
1868         (getName): Merged documentation from classpath.
1869         (getParent): Merged documentation from classpath.
1870         (getParentFile): Merged documentation from classpath.
1871         (getPath): Merged documentation from classpath.
1872         (hashCode): Merged documentation from classpath.
1873         (isAbsolute): Merged documentation from classpath.
1874         (isDirectory): Merged documentation from classpath.
1875         (isFile): Merged documentation from classpath.
1876         (isHidden): Merged documentation from classpath.
1877         (lastModified): Merged documentation from classpath.
1878         (length): Merged documentation from classpath.
1879         (list): Merged documentation from classpath.
1880         (listFiles): Merged documentation from classpath.
1881         (toString): Merged documentation from classpath.
1882         (toURL): Merged documentation from classpath.
1883         (mkdir): Merged documentation from classpath.
1884         (mkdirs): Merged documentation from classpath.
1885         (createTempFile): Merged documentation from classpath.
1886         (setReadOnly): Merged documentation from classpath.
1887         (listRoots): Merged documentation from classpath.
1888         (compareTo): Merged documentation from classpath.
1889         (renameTo): Merged documentation from classpath.
1890         (setLastModified): Merged documentation from classpath.
1891         * java/io/PrintStream.java
1892         (auto_flush): Merged documentation from classpath.
1893         (PrintStream): Merged documentation from classpath.
1894         (checkError): Merged documentation from classpath.
1895         (setError): Merged documentation from classpath.
1896         (close): Merged documentation from classpath.
1897         (flush): Merged documentation from classpath.
1898         (print): Merged documentation from classpath.
1899         (println):  Merged documentation from classpath.
1900         (write): Renamed count to len to match classpath,
1901         merged documentation from classpath.
1902         * java/io/RandomAccessFile.java
1903         (readShort): Merged documentation from classpath.
1904         (readUnsignedByte): Merged documentation from classpath.
1905         (readUnsignedShort): Merged documentation from classpath.
1906         (readUTF): Merged documentation from classpath.
1907         (seek): Reformatted, merged documentation from classpath.
1908         (skipBytes): Renamed some variables to match classpath, reformatted,
1909         merged documentation from classpath.
1910         (write): Merged documentation from classpath.
1911         (writeBoolean): Merged documentation from classpath.
1912         (writeByte): Merged documentation from classpath.
1913         (writeShort): Merged documentation from classpath.
1914         (writeChar): Merged documentation from classpath.
1915         (writeInt): Merged documentation from classpath.
1916         (writeLong): Merged documentation from classpath.
1917         (writeFloat): Merged documentation from classpath.
1918         (writeDouble): Merged documentation from classpath.
1919         (writeBytes): Merged documentation from classpath.
1920         (writeChars): Merged documentation from classpath.
1921         (writeUTF): Reformatted.
1922         (getChannel): Reformatted.
1923
1924 2003-03-31  Michael Koch  <konqueror@gmx.de>
1925
1926         * java/awt/font/TextAttribute.java
1927         (readResolve): Throws java.io.InvalidObjectException.
1928
1929 2003-03-31  Michael Koch  <konqueror@gmx.de>
1930
1931         * java/rmi/server/LoaderHandler.java
1932         (loadClass): Deprecated.
1933         (getSecurityContext): Deprecated.
1934         * java/rmi/server/LogStream.java
1935         (getDefaultStream): Deprecated.
1936         (setDefaultStream): Deprecated.
1937         (getOutputStream): Deprecated.
1938         (setOutputStream): Deprecated.
1939         (write): Deprecated.
1940         (toString): Deprecated.
1941         (parseLevel): Deprecated.
1942         * java/rmi/server/Operation.java
1943         (Operation): Deprecated.
1944         (getOperation): Deprecated.
1945         (toString): Deprecated.
1946         * java/rmi/server/RemoteCall.java
1947         (getOutputStream): Deprecated.
1948         (releaseOutputStream): Deprecated.
1949         (getInputStream): Deprecated.
1950         (releaseInputStream): Deprecated.
1951         (getResultStream): Deprecated.
1952         (executeCall): Deprecated.
1953         (done): Deprecated.
1954         * java/rmi/server/RemoteRef.java
1955         (invoke): Deprecated.
1956         (newCall): Deprecated.
1957         (done): Deprecated.
1958         * java/rmi/server/RemoteStub.java
1959         (setRef): Deprecated.
1960         * java/rmi/server/Skeleton.java:
1961         No need to import java.lang.Exception explicitly.
1962         (dispatch): Deprecated.
1963         (getOperations): Deprecated.
1964
1965 2003-03-31  Michael Koch  <konqueror@gmx.de>
1966
1967         * java/rmi/dgc/VMID.java,
1968         java/rmi/registry/RegistryHandler.java,
1969         java/rmi/server/LogStream.java,
1970         java/rmi/server/Operation.java,
1971         java/rmi/server/RemoteCall.java,
1972         java/rmi/server/RemoteRef.java,
1973         java/rmi/server/RemoteStub.java:
1974         Reformatted.
1975
1976 2003-03-31  Michael Koch  <konqueror@gmx.de>
1977
1978         * javax/swing/AbstractCellEditor.java,
1979         javax/swing/AbstractListModel.java,
1980         javax/swing/ActionMap.java,
1981         javax/swing/BorderFactory.java,
1982         javax/swing/ButtonGroup.java,
1983         javax/swing/DefaultBoundedRangeModel.java,
1984         javax/swing/DefaultButtonModel.java,
1985         javax/swing/DefaultCellEditor.java,
1986         javax/swing/DefaultComboBoxModel.java,
1987         javax/swing/DefaultDesktopManager.java,
1988         javax/swing/DefaultListCellRenderer.java,
1989         javax/swing/DefaultSingleSelectionModel.java,
1990         javax/swing/InputMap.java,
1991         javax/swing/JComponent.java,
1992         javax/swing/JMenu.java,
1993         javax/swing/JSlider.java,
1994         javax/swing/KeyStroke.java,
1995         javax/swing/OverlayLayout.java,
1996         javax/swing/ScrollPaneLayout.java,
1997         javax/swing/SizeRequirements.java,
1998         javax/swing/UIManager.java,
1999         javax/swing/ViewportLayout.java,
2000         javax/swing/border/AbstractBorder.java,
2001         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2002         javax/swing/event/EventListenerList.java,
2003         javax/swing/table/AbstractTableModel.java,
2004         javax/swing/table/DefaultTableCellRenderer.java,
2005         javax/swing/table/DefaultTableColumnModel.java,
2006         javax/swing/table/DefaultTableModel.java,
2007         javax/swing/table/TableColumn.java,
2008         javax/swing/text/StyledEditorKit.java,
2009         javax/swing/tree/DefaultMutableTreeNode.java,
2010         javax/swing/tree/DefaultTreeModel.java,
2011         javax/swing/tree/DefaultTreeSelectionModel.java,
2012         javax/swing/tree/TreePath.java,
2013         javax/swing/undo/AbstractUndoableEdit.java,
2014         javax/swing/undo/StateEdit.java,
2015         javax/swing/undo/StateEditable.java,
2016         javax/swing/undo/UndoableEditSupport.java:
2017         Merges from classpath.
2018
2019 2003-03-30  Tom Tromey  <tromey@redhat.com>
2020
2021         * java/lang/String.java (data, boffset, count): Documented.
2022         (String(byte[],String)): Reformatted.
2023         (String(byte[])): Likewise.
2024         (lastIndexOf(int)): Likewise.
2025         (lastIndexOf(String)): Likewise.
2026         (substring(int)): Renamed argument to match Classpath.
2027         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2028
2029         * java/lang/String.java: Miscellaneous minor formatting changes
2030         to match Classpath more closely.
2031
2032 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2033             Tom Tromey  <tromey@redhat.com>
2034
2035         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2036         (init()): Removed.
2037         (charAt): Put index in exception.
2038         (contentEquals): New method.
2039         Include StringBuffer.h.
2040         * java/lang/String.java (cachedHashCode): New field.
2041         (String()): Follow classpath implementation.
2042         (init()): Removed.
2043         (contentEquals): Declare.
2044         (subSequence): Don't declare IndexOutIfBoundsException in throws
2045         clause.
2046         (matches, replaceFirst, replaceAll, split): New methods from
2047         Classpath.
2048
2049 2003-03-29  Tom Tromey  <tromey@redhat.com>
2050
2051         * java/lang/String.java: Reordered to follow Classpath; merged in
2052         javadoc.
2053
2054         * java/text/MessageFormat.java: Removed some whitespace.
2055
2056         * Makefile.in: Rebuilt.
2057         * Makefile.am (awt_java_source_files): Added new files.
2058         * gnu/javax/rmi/PortableServer.java,
2059         gnu/javax/rmi/CORBA/DelegateFactory.java,
2060         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2061         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2062         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2063         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2064         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2065         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2066         javax/rmi/PortableRemoteObject.java,
2067         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2068         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2069         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2070         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2071         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2072         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2073
2074         * java/lang/natClass.cc (newInstance): Put method name in
2075         exception.
2076         (getConstructor): Likewise.
2077         (getDeclaredConstructor): Likewise.
2078         (getPrivateMethod): Likewise.
2079
2080 2003-03-28  Tom Tromey  <tromey@redhat.com>
2081
2082         * java/lang/reflect/Proxy.java: New version from Classpath.
2083         * java/lang/Package.java: New version from Classpath.
2084
2085 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2086
2087         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2088         * configure: Regenerate.
2089
2090 2003-03-28  Michael Koch  <konqueror@gmx.de>
2091
2092         * java/io/File.java:
2093         Import needed classes instead of whole packages, merged class
2094         documentation with classpath, moved constants and variables to top of
2095         class.
2096         * java/io/PrintStream.java:
2097         Merged class documentation with classpath, moved constants and
2098         variables to top of class.
2099         * java/io/RandomAccessFile.java
2100         (RandomAccessFile): Merged with classpath.
2101         (read): Merged with classpath).
2102         (read*): Reformatted.
2103
2104 2003-03-28  Michael Koch  <konqueror@gmx.de>
2105
2106         * java/io/FileDescriptor.java
2107         (finalize): Throws Throwable, not IOException.
2108         * java/io/ObjectOutputStream.java
2109         (PutField.put): Doesnt throws anything.
2110
2111 2003­03-28  Michael Koch  <konqueror@gmx.de>
2112
2113         * java/io/FileOutputStream.java:
2114         Merged class documentation and authors with classpath.
2115         (FileOutputStream): Partly merged with classpath.
2116         (write): Merged with classpath.
2117         (getChannel): Make it synchronized instead of explicit block in this
2118         method.
2119         * java/io/RandomAccessFile.java:
2120         Merged class documentation and authors with classpath.
2121
2122 2003-03-26  Tom Tromey  <tromey@redhat.com>
2123
2124         * java/lang/natRuntime.cc (insertSystemProperties): Set
2125         gnu.classpath.home.url.
2126         * Makefile.in: Rebuilt.
2127         * Makefile.am: Define LIBDIR.
2128
2129 2003-03-25  Michael Koch  <konqueror@gmx.de>
2130
2131         * java/io/FileInputStream.java
2132         (read): Renamed b to buf and off to offset.
2133         * java/io/FileOutputStream.java
2134         (ch): Documentation added.
2135         (FileOutputStream): Documentation added.
2136         (getFD): Documentation added.
2137         (write): Documentation added.
2138         (close): Documentation added.
2139         (getChannel): Documentation added.
2140
2141 2003-03-24  Michael Koch  <konqueror@gmx.de>
2142
2143         * java/io/DataOutputStream.java
2144         (write): Merged from classpath.
2145         * java/io/File.java:
2146         Merged copyrigth with classpath.
2147         * java/io/FileInputStream.java
2148         (getChannel): Made it synchronized instead of using a synchronized
2149         block.
2150         * java/io/FileOutputStream.java: Reformatted.
2151         * java/io/InputStreamReader.java
2152         (InputStreamReader): Renamed enc to encoding_name.
2153         (close): Merged documentation from classpath.
2154         (getEncoding): Merged documentation from classpath.
2155         (ready): Merged documentation from classpath.
2156         (read): Merged documentation from classpath.
2157         * java/io/LineNumberReader.java
2158         (lineNumber): Made it private.
2159         (LineNumberReader): Use Constant instead of a direct value.
2160         * java/io/OutputStreamWriter.java
2161         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2162         documentation from classpath.
2163         (close): Merged documentation from classpath.
2164         (flush): Merged documentation from classpath.
2165         (write): Merged documentation from classpath.
2166         * java/io/PrintStream.java: Reformatted.
2167
2168 2003-03-24  Michael Koch  <konqueror@gmx.de>
2169
2170         * javax/swing/text/ComponentView.java
2171         (getComponent): Must be final.
2172         * javax/swing/tree/DefaultTreeCellRenderer.java:
2173         Reformatted.
2174         * javax/swing/undo/StateEditable.java:
2175         Reformatted.
2176
2177 2003-03-24  Michael Koch  <konqueror@gmx.de>
2178
2179         * java/rmi/activation/ActivationInstantiator.java:
2180         Reformatted.
2181         * java/rmi/activation/Activator.java:
2182         Reformatted.
2183         * java/rmi/registry/RegistryHandler.java:
2184         Remerged from classpath.
2185
2186 2003-03-24  Michael Koch  <konqueror@gmx.de>
2187
2188         * java/util/Date.java:
2189         Fixed documentation starting tag to make javadoc happy.
2190         * java/util/regex/Pattern.java
2191         (Pattern): Implements Serializable.
2192         * java/util/PatternSyntaxException.java
2193         (serialVersionUID): New member variable.
2194
2195 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2196
2197         * java/awt/ContainerOrderFocusTraversalPolicy.java
2198         (getFirstComponent): Implemented.
2199         (getLastComponent): Implemented.
2200         (getDefaultComponent): Implemented.
2201         (setImplicitDownCycleTraversal): Fixed implementation.
2202         * java/awt/Robot.java
2203         (Robot): Added documentation.
2204         * java/awt/Toolkit.java
2205         (getFontList): Deprecated.
2206         (getFontMetrics): Deprecated.
2207         (getPrintJob): Added documentation.
2208         (getSystemSelection): Added documentation.
2209         (getLockingKeyState): Added documentation.
2210         (setLockingKeyState): Added documentation.
2211         (createCustomCursor): Added documentation.
2212         (getBestCursorSize): Added documentation.
2213         (getMaximumCursorColors): Added documentation.
2214         (isFrameStateSupported): Added documentation.
2215
2216 2003-03-24  Michael Koch  <konqueror@gmx.de>
2217
2218         * java/io/RandomAccessFile.java:
2219         More little merges with classpath. No code changes.
2220
2221 2003-03-24  Michael Koch  <konqueror@gmx.de>
2222
2223         * java/net/natInetAddressNoNet.cc:
2224         Include stddef.h.
2225         * java/net/natPlainDatagramSocketImplNoNet.cc:
2226         Fixed inlcude of java/net/DatagramPacket.h.
2227         * java/net/natPlainSocketImplNoNet.cc:
2228         Include some missing classes.
2229
2230 2003-03-24  Michael Koch  <konqueror@gmx.de>
2231
2232         * java/awt/dnd/DropTarget.java
2233         (DropTargetAutoScroller): According to the online documentation, this
2234         is protected, but in reality it is public.
2235         * java/awt/dnd/DropTargetContext.java
2236         (TransferableProxy): According to the online documentation, this
2237         is protected, but in reality it is public.
2238
2239 2003-03-24  Michael Koch  <konqueror@gmx.de>
2240
2241         * java/io/DataInputStream.java
2242         (): Wrapped documentation line.
2243         (): Fixed @return tag.
2244         * java/io/DataOutputStream.java
2245         (written): Moved to top of class.
2246         (all methods): Merged documentation from classpath.
2247         * java/io/File.java:
2248         Merged copyright year with classpath.
2249         * java/io/FileInputStream.java
2250         (all methods): Merged documentation from classpath.
2251         * java/io/LineNumberReader.java
2252         (getLineNumber): Fixed @return tag.
2253         * java/io/ObjectInputStream.java.
2254         Reformatted.
2255         * java/io/ObjectOutputStream.java:
2256         Reformatted, fixed some @see tags.
2257         * java/io/OutputStreamWriter.java:
2258         Deleted empty line.
2259         * java/io/Writer.java:
2260         Reformatted.
2261
2262 2003-03-24  Michael Koch  <konqueror@gmx.de>
2263
2264         * java/awt/Frame.java
2265         (DEFAULT_CURSOR): Fixed @deprecated tag.
2266         (setCursor): Fixed @deprecated tag.
2267
2268 2003-03-24  Michael Koch  <konqueror@gmx.de>
2269
2270         * java/beans/beancontext/BeanContextEvent.java:
2271         Reformated.
2272
2273 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2274
2275         * java/lang/natStringBuffer.cc (regionMatches): New function.
2276         * java/lang/String.java (count): Now package-private.
2277         * java/lang/StringBuffer.java: Merged with Classpath.
2278
2279 2003-03-23  Michael Koch  <konqueror@gmx.de>
2280
2281         * java/io/BufferedOutputStream.java:
2282         Reformated.
2283         * java/io/BufferedReader.java:
2284         Reformated.
2285         * java/io/ByteArrayOutputStream.java
2286         (size): Fixed @see tag.
2287         * java/io/CharArrayWriter.java
2288         (size): Fixed @see tag.
2289         * java/io/DataInput.java:
2290         Reformated.
2291         * java/io/DataOutput.java:
2292         Reformated.
2293         * java/io/DataOutputStream.java:
2294         Merged copyright years with classpath.
2295         * java/io/Externalizable.java:
2296         Reformated.
2297         * java/io/FileFilter.java:
2298         Reformated.
2299         * java/io/FileInputStream.java:
2300         Merged copyright years with classpath.
2301         * java/io/FileOutputStream.java:
2302         Merged copyright years with classpath.
2303         * java/io/FilePermission.java
2304         (FilePermission): Replaced @XXX with FIXME:.
2305         * java/io/FileWriter.java:
2306         Reformated.
2307         * java/io/FilenameFilter.java:
2308         Reformated.
2309         * java/io/FilterInputStream.java:
2310         Reformated.
2311         * java/io/FilterOutputStream.java:
2312         Reformated.
2313         * java/io/FilterReader.java:
2314         Reformated.
2315         * java/io/FilterWriter.java:
2316         Reformated.
2317         * java/io/LineNumberInputStream.java
2318         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2319         happy.
2320         (getLineNumber): Fixed @return tag.
2321         * java/io/ObjectInput.java:
2322         Reformated.
2323         * java/io/ObjectOutput.java:
2324         Reformated.
2325         * java/io/ObjectStreamClass.java:
2326         Reformated.
2327         * java/io/PrintStream.java:
2328         Merged copyright years with classpath.
2329         * java/io/PushbackReader.java
2330         (PushbackReader): Replaced @code with @param.
2331         * java/io/SerializablePermission.java:
2332         Reformated.
2333         * java/io/StreamTokenizer.java
2334         (resetSyntax): Fixed @see tag.
2335
2336 2003-03-22  Richard Henderson  <rth@redhat.com>
2337
2338         * sysdep/ia64/locks.h: Include ia64intrin.h.
2339         (compare_and_swap): Use __sync_bool_compare_and_swap.
2340         (compare_and_swap_release): Expose ar.ccv assignment.
2341
2342 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2343
2344         * include/posix.h: Add suffix for darwin dynamic libraries.
2345
2346 2003-03-21  Michael Koch  <konqueror@gmx.de>
2347
2348         * javax/swing/Action.java
2349         (ACCELERATOR_KEY): New constant.
2350         (ACTION_COMMAND_KEY): Likewise.
2351         (MNEMONIC_KEY): Likewise.
2352         * javax/swing/UnsupportedLookAndFeelException.java
2353         (UnsupportedLookAndFeelException): Must be public.
2354         * javax/swing/WindowConstants.java
2355         (EXIT_ON_CLOSE): New constant.
2356         * javax/swing/text/BadLocationException.java
2357         (offset): New member variable.
2358         (BadLocationException): New implementation, documentation added.
2359         (offsetRequested): New method.
2360         * javax/swing/text/Caret.java:
2361         Reformated.
2362         * javax/swing/text/Document.java:
2363         Reformated.
2364
2365 2003-03-21  Michael Koch  <konqueror@gmx.de>
2366
2367         * java/rmi/activation/Activatable.java
2368         (serialVersionUID): New member variable.
2369         * java/rmi/activation/ActivationGroup.java
2370         (serialVersionUID): New member variable.
2371         * java/rmi/activation/ActivationGroupDesc.java
2372         (serialVersionUID): New member variable.
2373         * java/rmi/registry/Registry.java:
2374         Reformated.
2375         (Registry): Deprecated.
2376         * java/rmi/server/LoaderHandler.java
2377         Reformated.
2378         (LoaderHandler): Deprecated.
2379         * java/rmi/server/LogStream.java
2380         Reformated.
2381         (LogStream): Deprecated.
2382         * java/rmi/server/Operation.java
2383         (Operation): Deprecated.
2384         * java/rmi/server/RMIFailureHandler.java:
2385         Reformated.
2386         * java/rmi/server/RMISocketFactory.java:
2387         Reformated.
2388         * java/rmi/server/RemoteCall.java
2389         (RemoteCall): Deprecated.
2390         * java/rmi/server/RemoteStub.java:
2391         Reformated.
2392         * java/rmi/server/Skeleton.java
2393         Reformated.
2394         (Skeleton): Deprecated.
2395
2396 2003-03-21  Michael Koch  <konqueror@gmx.de>
2397
2398         * java/io/LineNumberReader.java
2399         (LineNumberReader): Merged documentation with classpath.
2400         (getLineNumber): Likewise.
2401         (setLineNumber): Likewise.
2402         (mark): Likewise.
2403         (reset): Likewise.
2404         (read): Likewise.
2405         (readLine): Likewise.
2406         (skip): Likewise.
2407
2408 2003-03-21  Michael Koch  <konqueror@gmx.de>
2409
2410         * java/rmi/RMISecurityManager.java
2411         (checkAccept): Removed.
2412         (checkAccess): Likewise.
2413         (checkAccess): Likewise.
2414         (checkAwtEventQueueAccess): Likewise.
2415         (checkConnect): Likewise.
2416         (checkCreateClassLoader): Likewise.
2417         (checkDelete): Likewise.
2418         (checkExec): Likewise.
2419         (checkExit): Likewise.
2420         (checkLink): Likewise.
2421         (checkListen): Likewise.
2422         (checkMemberAccess): Likewise.
2423         (checkMulticast): Likewise.
2424         (checkPackageAccess): Likewise.
2425         (checkPackageDefinition): Likewise.
2426         (checkPermission): Likewise.
2427         (checkPrintJobAccess): Likewise.
2428         (checkPropertiesAccess): Likewise.
2429         (checkPropertyAccess): Likewise.
2430         (checkRead): Likewise.
2431         (checkSecurityAccess): Likewise.
2432         (checkSetFactory): Likewise.
2433         (checkSystemClipboardAccess): Likewise.
2434         (checkTopLevelWindow): Likewise.
2435         (checkWrite): Likewise.
2436
2437 2003-03-20  Michael Koch  <konqueror@gmx.de>
2438
2439         * gnu/java/nio/FileChannelImpl.java
2440         (address): Removed.
2441         (map_address): New member variable.
2442         (length): Make it package private.
2443         (fd): Make it package private.
2444         (buf): Make it package private.
2445         (file_obj): Make it package private.
2446         (FileChannelImpl): New constructor.
2447         (nio_mmap_file): Use RawData instead of long.
2448         (nio_munmap_file): Use RawData instead of long.
2449         (nio_msync): Use RawData instead of long.
2450         (implCloseChannel): New implementation using map_address.
2451         (read): Reformated.
2452         (map): Implemented.
2453         (create_direct_mapped_buffer): Implemented, use RawData, throws
2454         IOException.
2455         (force): Use map_address instead of address.
2456         * gnu/java/nio/MappedByteFileBuffer.java
2457         (address): Removed.
2458         (map_address): New member variable.
2459         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2460         (several methods): Use map_address instead of address, replaced long
2461         with RawData where appropriate.
2462         * gnu/java/nio/natFileChannelImpl.cc
2463         (nio_mmap_file): Replaced long with RawData.
2464         (nio_munmap_file): Replaced long with RawData.
2465         (nio_msync): Replaced long with RawData.
2466         * gnu/java/nio/natMappedByteFileBuffer.cc
2467         (several methods): Replaced long with RawData where appropriate.
2468
2469 2003-03-20  Michael Koch  <konqueror@gmx.de>
2470
2471         * java/net/InetAddress.java,
2472         java/net/JarURLConnection.java,
2473         java/net/PlainDatagramSocketImpl.java,
2474         java/net/PlainSocketImpl.java,
2475         java/net/URLConnection.java:
2476         Merged copyright statements with classpath for easier merging.
2477
2478 2003-03-20  Michael Koch  <konqueror@gmx.de>
2479
2480         * java/io/FileInputStream.java
2481         (getChannel): New implementation.
2482         * java/io/FileOutputStream.java
2483         (ch): New member variable.
2484         (getChannel): Implemented.
2485         * java/io/RandomAccessFile.java
2486         (RandomAccessFile): Throws FileNotFoundException instead of
2487         IOException.
2488         (getChannel): New method.
2489         (ch): New member variable.
2490
2491 2003-03-20  Michael Koch  <konqueror@gmx.de>
2492
2493         * java/io/DataOutputStream.java,
2494         java/io/File.java,
2495         java/io/FileInputStream.java,
2496         java/io/FileOutputStream.java,
2497         java/io/InputStreamReader.java,
2498         java/io/LineNumberReader.java,
2499         java/io/OutputStreamWriter.java,
2500         java/io/PrintStream.java,
2501         java/io/RandomAccessFile.java:
2502         Merged copyright statements with classpath for easier merging.
2503
2504 2003-03-19  Michael Koch  <konqueror@gmx.de>
2505
2506         * java/lang/Process.java:
2507         Merged from classpath.
2508
2509 2003-03-19  Michael Koch  <konqueror@gmx.de>
2510
2511         * java/io/FileOutputStream.java
2512         (FileOutputStream): New constructor, merged from classpath.
2513         * java/io/FileWriter.java
2514         (FileWriter): New constructor, merged from classpath.
2515
2516 2003-03-18  Michael Koch  <konqueror@gmx.de>
2517
2518         * java/awt/ScrollPane.java
2519         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2520         (getViewportSize): Likewise.
2521         (addNotify): Likewise.
2522         (removeNotify): Likewise.
2523         * java/awt/ScrollPaneAdjustable.java
2524         (ScrollPaneAdjustable): No longer extends Scrollbar.
2525         * java/beans/beancontext/BeanContextServices.java:
2526         Reformated.
2527         (getService): Added throws TooManyListenersException;
2528         * java/beans/beancontext/BeanContextServicesSupport.java:
2529         Reformated.
2530
2531 2003-03-18  Michael Koch  <konqueror@gmx.de>
2532
2533         * java/io/BufferedOutputStream.java,
2534         java/io/DataInput.java,
2535         java/io/DataInputStream.java,
2536         java/io/DataOutput.java,
2537         java/io/Externalizable.java:
2538         More merges from classpath.
2539
2540 2003-03-18  Michael Koch  <konqueror@gmx.de>
2541
2542         * configure.in: Fixed links to platform dependant java.net files.
2543         * configure: Regenerated.
2544         * java/net/natInetAddress.cc,
2545         java/net/natNetworkInterface.cc,
2546         java/net/natPlainDatagramSocketImpl.cc,
2547         java/net/natPlainSocketImpl.cc:
2548         Removed.
2549
2550 2003-03-18  Michael Koch  <konqueror@gmx.de>
2551
2552         * configure.in: Create links to architecture dependent files,
2553         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2554         * configure: Regenerated.
2555         * java/net/natInetAddressNoNet.cc,
2556         java/net/natInetAddressPosix.cc,
2557         java/net/natInetAddressWin32.cc,
2558         java/net/natNetworkInterfaceNoNet.cc,
2559         java/net/natNetworkInterfacePosix.cc,
2560         java/net/natNetworkInterfaceWin32.cc,
2561         java/net/natPlainDatagramSocketImplNoNet.cc,
2562         java/net/natPlainDatagramSocketImplPosix.cc,
2563         java/net/natPlainDatagramSocketImplWin32.cc,
2564         java/net/natPlainSocketImplNoNet.cc,
2565         java/net/natPlainSocketImplPosix.cc,
2566         java/net/natPlainSocketImplWin32.cc: New files.
2567
2568 2003-03-18  Michael Koch  <konqueror@gmx.de>
2569
2570         * java/io/BufferedReader.java,
2571         java/io/BufferedWriter.java,
2572         java/io/ByteArrayOutputStream.java,
2573         java/io/FileFilter.java,
2574         java/io/FilePermission.java,
2575         java/io/FileReader.java,
2576         java/io/FileWriter.java,
2577         java/io/FilenameFilter.java,
2578         java/io/FilterInputStream.java,
2579         java/io/FilterOutputStream.java,
2580         java/io/FilterReader.java,
2581         java/io/FilterWriter.java,
2582         java/io/ObjectInput.java,
2583         java/io/ObjectInputValidation.java,
2584         java/io/ObjectOutput.java,
2585         java/io/ObjectStreamField.java,
2586         java/io/PipedInputStream.java,
2587         java/io/PipedReader.java,
2588         java/io/PrintWriter.java,
2589         java/io/PushbackReader.java,
2590         java/io/Reader.java,
2591         java/io/SerializablePermission.java,
2592         java/io/StringReader.java,
2593         java/io/Writer.java:
2594         Merged from classpath.
2595
2596 2003-03-17  Michael Koch  <konqueror@gmx.de>
2597
2598         * java/awt/ScrollPaneAdjustable.java:
2599         Compile fixes.
2600         
2601 2003-03-17  Michael Koch  <konqueror@gmx.de>
2602
2603         * java/net/DatagramSocket.java
2604         (connect): Fixed comment.
2605         * java/nio/ByteBuffer.java
2606         (hasArray): Fixed comment.
2607
2608 2003-03-17  Michael Koch  <konqueror@gmx.de>
2609
2610         * java/beans/Beans.java:
2611         Explicitely import classes not packages.
2612         * java/beans/FeatureDescriptor.java
2613         (preferred): New member variable.
2614         (isPreferred): New method.
2615         (setPreferred): New method.
2616         * java/beans/PropertyEditorManager.java:
2617         Explicitely import used classes.
2618         * java/beans/beancontext/BeanContextChild.java:
2619         Added line wrapping.
2620         * java/beans/beancontext/BeanContextChildSupport.java:
2621         Reindented.
2622         * java/beans/beancontext/BeanContextEvent.java:
2623         Reindented.
2624
2625 2003-03-17  Michael Koch  <konqueror@gmx.de>
2626
2627         * java/awt/Dialog.java
2628         (Dialog): New constructor, changed implementations, added
2629         documentation.
2630         * java/awt/ScrollPaneAdjustable.java
2631         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2632         Serializable.
2633         (serialVersionUID): New member variable.
2634         (sp): New member variable.
2635         (orientation): New member variable.
2636         (value): New member variable.
2637         (minimum): New member variable.
2638         (maximum): New member variable.
2639         (visibleAmount): New member variable.
2640         (unitIncrement): New member variable.
2641         (blockIncrement): New member variable.
2642         (AdjustmentListener): New member variable.
2643         (ScrollPaneAdjustable): New implementation.
2644         (addAdjustmentListener): New method.
2645         (removeAdjustmentListener): New method.
2646         (getAdjustmentListeners): New method.
2647         (getBlockIncrement): New method.
2648         (getMaximum): New method.
2649         (getMinimum): New method.
2650         (getOrientation): New method.
2651         (getUnitIncrement): New method.
2652         (getValue): New method.
2653         (getVisibleAmount): New method.
2654         (setBlockIncrement): New method.
2655         (setMaximum): Implemented.
2656         (setMinimum): Implemented.
2657         (setUnitIncrement): New method.
2658         (setValue): New method.
2659         (setVisibleAmount): Implemented. 
2660         (paramString): New stubbed method.
2661         * java/awt/Window.java
2662         (show): Call setVisible().
2663         (hide): Call setVisible().
2664         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2665         and WINDOW_STATE_CHANGED.
2666         (processWindowFocusEvent): New method.
2667         (processWindowStateEvent): New method.
2668         (postEvent): Deprecated.
2669         (applyResourceBundle): Deprecated.
2670         * java/awt/datatransfer/DataFlavor.java
2671         (DataFlavor): Doesn't thow ClassNotFoundException.
2672
2673 2003-03-17  Michael Koch
2674
2675         * javax/print/attribute/Attribute.java,
2676         javax/print/attribute/AttributeSet.java,
2677         javax/print/attribute/PrintRequestAttributeSet.java:
2678         New files.
2679         * Makefile.am
2680         (javax_source_files): Added new files:
2681         javax/print/attribute/Attribute.java
2682         javax/print/attribute/AttributeSet.java
2683         javax/print/attribute/PrintRequestAttributeSet.java
2684         * Makefile.in: Regenerated.
2685
2686 2003-03-17  Michael Koch
2687
2688         * javax/print/attribute/Attribute.java,
2689         javax/print/attribute/AttributeSet.java,
2690         javax/print/attribute/PrintRequestAttributeSet.java:
2691         New files.
2692         * Makefile.am
2693         (awt_java_source_files): Added new files:
2694         javax/print/attribute/Attribute.java
2695         javax/print/attribute/AttributeSet.java
2696         javax/print/attribute/PrintRequestAttributeSet.java
2697         * Makefile.in: Regenerated.
2698
2699 2003-03-16  Tom Tromey  <tromey@redhat.com>
2700
2701         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2702         Include platform.h.
2703         * java/lang/natRuntime.cc (insertSystemProperties): Use
2704         _Jv_platform_path_separator.
2705         (nativeGetLibname): Use _Jv_platform_file_separator.
2706         (_load): Use _Jv_platform_onload_names.
2707         (onload_names): New global.
2708         * include/win32.h (_Jv_platform_file_separator): New define.
2709         (_Jv_platform_path_separator): Likewise.
2710         (_Jv_platform_onload_names): Likewise.
2711         (_Jv_platform_ffi_abi): Likewise.
2712         * include/posix.h (_Jv_platform_file_separator): New define.
2713         (_Jv_platform_path_separator): Likewise.
2714         (_Jv_platform_onload_names): Likewise.
2715         (_Jv_platform_ffi_abi): Likewise.
2716
2717 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2718
2719         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2720
2721 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2722
2723         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2724         hierarchy loop.
2725         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2726         list to Object,ObjectStreamClass, moved callReadMethod code up into
2727         readObject and added Class argument to all setXxxField calls.
2728         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2729         consistent with ObjectOutputStream and to facilitate caching the
2730         Method in the future.
2731         (setBooleanField): Added Class argument.
2732         (setByteField): Likewise.
2733         (setCharField): Likewise.
2734         (setDoubleField): Likewise.
2735         (setFloatField): Likewise.
2736         (setIntField): Likewise.
2737         (setLongField): Likewise.
2738         (setShortField): Likewise.
2739         (setObjectField): Likewise.
2740         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2741         class hierarchy loop.
2742         (defaultWriteObject): Call writeFields with new argument list.
2743         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2744         list to Object,ObjectStreamClass, moved callWriteMethod up into
2745         writeObject and added Class argument to all getXxxField calls.
2746         (callWriteMethod): Added ObjectStreamClass argument to be able to
2747         get the proper class to call getMethod on (each class can have (or
2748         not have) its own writeObject method).
2749         (getBooleanField): Added Class argument.
2750         (getByteField): Likewise.
2751         (getCharField): Likewise.
2752         (getDoubleField): Likewise.
2753         (getFloatField): Likewise.
2754         (getIntField): Likewise.
2755         (getLongField): Likewise.
2756         (getShortField): Likewise.
2757         (getObjectField): Likewise.
2758         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2759         facilitate caching the Method object in the future.
2760
2761 2003-03-12  Andreas Schwab  <schwab@suse.de>
2762
2763         * configure.in: Avoid trailing /. in toolexeclibdir.
2764         * configure: Rebuilt.
2765
2766 2003-03-11  Michael Koch  <konqueror@gmx.de>
2767
2768         * gnu/java/nio/ByteBufferImpl.java
2769         (putInt): Use limit() instead of limit.
2770         * gnu/java/nio/CharBufferImpl.java
2771         (slice): Fixed implementation.
2772         (subSequence): Better bounds checking.
2773         * gnu/java/nio/MappedByteFileBuffer.java:
2774         Import all needed classes directly.
2775         * java/nio/ByteBuffer.java
2776         (hashCode): New dummy method.
2777         * java/nio/CharBuffer.java
2778         (array_offset): New member variable.
2779         (hasArray): Fixed documentation.
2780         (arrayOffset): Return array_offset.
2781
2782 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2783
2784         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2785         setter; made return value of getter const char* instead of char*
2786         * prims.cc: removed all references to _Jv_ThisExecutable().
2787         These are in the platform-specific sections now.
2788         * posix.cc: define platform-specific _Jv_ThisExecutable().
2789         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2790         * win32.cc: define platform-specific _Jv_ThisExecutable()
2791         using GetModuleFilename()
2792         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2793         to argv[0] instead of _Jv_ThisExecutable()
2794
2795 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2796
2797         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2798         that is set if we are using addr2name.awk instead of addr2line.
2799         (NameFinder): Set usingAddr2name if using addr2name.awk.
2800         (getExternalLabel): New native method to convert a method 
2801         name to an external label.
2802         (lookup): Convert name given by addr2line to an external label
2803         before demangling.
2804
2805         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2806         constant representing the prefix attached to method names to
2807         convert them to an external label.
2808         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2809         using LABEL_PREFIX.
2810
2811 2003-03-10  Tom Tromey  <tromey@redhat.com>
2812
2813         * Makefile.in: Rebuilt.
2814         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2815         (JC1FLAGS): Removed -Wno-deprecated.
2816
2817 2003-03-10  Michael Koch  <konqueror@gmx.de>
2818
2819         * java/nio/ByteOrder.java
2820         (nativeOrder): Working implementation, added documentation.
2821         (toString): Added documentation.
2822
2823 2003-03-10  Michael Koch  <konqueror@gmx.de>
2824
2825         * java/net/DatagramSocket.java,
2826         java/net/MulticastSocket.java,
2827         java/net/Socket.java,
2828         java/net/URL.java,
2829         java/net/URLConnection.java:
2830         Fixed some documentation tags to make javadoc and friends happy.
2831
2832 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2833
2834         * java/beans/beancontext/BeanContextServicesSupport.java,
2835         java/beans/beancontext/BeanContextSupport.java: New files.
2836         * Makefile.am
2837         (awt_source_files): Added new files.
2838         * Makefile.in: Regenerated.
2839
2840 2003-03-10  Michael Koch  <konqueror@gmx.de>
2841
2842         * java/awt/FocusTraversalPolicy.java
2843         (FocusTraversalPolicy): Documentation added.
2844         (getComponentAfter): Documentation added.
2845         (getComponentBefore): Documentation added.
2846         (getFirstComponent): Documentation added.
2847         (getLastComponent): Documentation added.
2848         (getDefaultComponent): Documentation added.
2849         (getInitialComponent): Documentation added.
2850         * java/awt/ScrollPaneAdjustable.java
2851         (sp): New member variable.
2852         (orientation): New member variable.
2853         (value): New member variable.
2854         (minimum): New member variable.
2855         (maximum): New member variable.
2856         (visibleAmount): New member variable.
2857         (unitIncrement): New member variable.
2858         (blockIncrement): New member variable.
2859         (adjustmentListener): New member variable.
2860         (ScrollPaneAdjustable): Rewrote.
2861         (addAdjustmentListener): New method.
2862         (removeAdjustmentListener): New method.
2863         (getAdjustmentListeners): New method.
2864         (getBlockIncrement): New method.
2865         (getMaximum): New method.
2866         (getMinimum): New method.
2867         (getOrientation): New method.
2868         (getUnitIncrement): New method.
2869         (getValue): New method.
2870         (getVisibleAmount): New method.
2871         (setBlockIncrement): New method.
2872         (setUnitIncrement): New method.
2873         (setMaximum): Implemented.
2874         (setMinimum): Implemented.
2875         (setValue): New method.
2876         (setVisibleAmount): Implemented.
2877         (paramString): New method.
2878         * java/awt/Window.java
2879         (show): Use setVisible(true) instead of super.show().
2880         (hide): Use sevVisible(false) instead of super.hide().
2881         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2882         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2883         (postEvent): Deprecated.
2884         (applyResourceBundle): Deprecated.
2885         (processWindowFocusEvent): New method.
2886         (processWindowStateEvent): New method.
2887         * java/awt/datatransfer/DataFlavor.java: Reindented.
2888         * java/awt/font/TextHitInfo.java
2889         (charIndex): New member variable.
2890         (leadingEdge): New member variable.
2891         (TextHitInfo): New constructor.
2892         (getCharIndex): Implemented.
2893         (isLeadingEdge): Implemented.
2894         (getInsertionIndex): Implemented.
2895         (hashCode): Access charIndex directly.
2896         (equals): Reformated.
2897         (leading): Implemented.
2898         (trailing): Implemented.
2899         (beforeOffset): Implemented.
2900         (afterOffset): Implemented.
2901         (getOtherHit): Implemented.
2902         (getOffsetHit): Implemented.
2903         (toString): Implemented.
2904         * java/awt/image/BufferedImage.java
2905         (BufferedImage): Implements WritableRenderedImage.
2906         (observers): New member variable.
2907         (addTileObserver): New method.
2908         (removeTileObserver): New method.
2909
2910 2003-03-09  Tom Tromey  <tromey@redhat.com>
2911
2912         PR libgcj/9934:
2913         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2914         to lseek.  Return 0 if we can't compute the value.
2915
2916 2003-03-03  Michael Koch  <konqueror@gmx.de>
2917
2918         * java/net/NetworkInterface.java: Merged with classpath.
2919
2920 2003-03-03  Tom Tromey  <tromey@redhat.com>
2921
2922         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
2923         of bytecode.
2924         (handle_ret_insn): Fail if returning to jsr that appears at end of
2925         bytecode.
2926
2927 2003-03-03  Michael Koch  <konqueror@gmx.de>
2928
2929         * Makefile.am
2930         (ordinary_java_source_files):
2931         Added gnu/java/nio/MappedByteFileBuffer.java.
2932         (nat_source_files):
2933         Added gnu/java/nio/natMappedByteFileBuffer.cc.
2934         * Makefile.in: Regenerated.
2935
2936 2003-03-03  Michael Koch  <konqueror@gmx.de>
2937
2938         * java/net/DatagramSocket.java
2939         (connect): Merged comment from classpath.
2940         (receive): Merged documentation from classpath.
2941         * java/net/Socket.java
2942         (setSoTimeout): Clarified documentation.
2943         * java/net/URL.java
2944         (getPath): Merged from classpath.
2945         (getUserInfo): Merged from classpath.
2946         (getQuery): Merged from classpath.
2947         * java/net/URLStreamHandler.java
2948         (toExternalForm): Merged from classpath.
2949
2950 2003-03-02  Mark Wielaard  <mark@klomp.org>
2951
2952         * java/util/Properties.java (load): Only skip line if the first
2953         character is a comment, whitespaces don't count.
2954
2955 2003-03-02  Michael Koch  <konqueror@gmx.de>
2956
2957         * java/net/NetPermission.java:
2958         Merged copyright with classpath.
2959
2960 2003-03-02  Michael Koch  <konqueror@gmx.de>
2961
2962         * java/lang/Package.java:
2963         Remerged from classpath.
2964
2965 2003-03-02  Michael Koch  <konqueror@gmx.de>
2966
2967         * java/net/HttpURLConnection.java
2968         (HTTP_SERVER_ERROR): Deprecated.
2969         * java/net/MulticastSocket.java
2970         (send): Replaced checkMulticast with appropriate checkPermission call,
2971         deprecated.
2972         * java/net/URLDecoder.java
2973         (decode): Deprecated.
2974         * java/net/URLEncoder.java
2975         (encode): Deprecated.
2976
2977 2003-03-02  Michael Koch  <konqueror@gmx.de>
2978
2979         * javax/swing/text/Caret.java
2980         (getMagicCaretPosition): Fixed typo in method name.
2981         * javax/swing/text/DefaultCaret.java
2982         (getMagicCaretPosition): Fixed typo in method name.
2983
2984 2003-03-02  Michael Koch  <konqueror@gmx.de>
2985
2986         * java/awt/List.java
2987         (setMultipleSelections): Deprecated.
2988         (delItem): Deprecated.
2989         * java/awt/MenuComponent.java
2990         (getPeer): Deprecated.
2991         * java/awt/ScrollPane.java
2992         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
2993         * java/awt/dnd/MouseDragGestureRecognizer.java
2994         (mouseClicked): Added comment.
2995         (mousePressed): Added comment.
2996         (mouseReleased): Added comment.
2997         (mouseEntered): Added comment.
2998         (mouseExited): Added comment.
2999         (mouseDragged): Added comment.
3000         (mouseMoved): Added comment.
3001         * java/awt/event/KeyEvent.java
3002         (KeyEvent): Deprecated.
3003         (setModifiers): Deprecated.
3004         
3005 2003-03-02  Michael Koch  <konqueror@gmx.de>
3006
3007         * gnu/java/nio/FileChannelImpl.java
3008         (fd): Type FileDescriptor instead of int.
3009         (lengthInternal): Removed.
3010         (FileChannelImpl): Fixed arguments, check type of file object.
3011         (size): Made it native.
3012         (implPosition): New native method.
3013         (implTruncate): New native method.
3014         (position): Implemented.
3015         (truncate): Implemented.
3016         (nio_mmap_file): Changed arguments.
3017         (nio_munmap_file): Changed arguments.
3018         (nio_msync): Changed arguments.
3019         * gnu/java/nio/natFileChannelImpl.cc
3020         (lengthInternal): Removed.
3021         (size): New method.
3022         (implPosition): New method.
3023         (implTruncate): New method.
3024         (nio_mmap_file): Changed arguments.
3025         (nio_munmap_file): Changed arguments.
3026         (nio_msync): Changed arguments.
3027
3028 2003-03-02  Michael Koch  <konqueror@gmx.de>
3029
3030         * java/awt/dnd/DropTargetContext.java:
3031         Compile fix: Forgot to commit import.
3032         
3033 2003-03-02  Michael Koch  <konqueror@gmx.de>
3034
3035         * java/awt/Component.java,
3036         java/awt/ScrollPane.java:
3037         Fixed typos.
3038
3039 2003-03-02  Michael Koch  <konqueror@gmx.de>
3040
3041         * java/awt/dnd/DnDEventMulticaster.java: New file.
3042         * java/awt/dnd/DragSource.java
3043         (flavorMap): New member variable.
3044         (dragSourceListener): New member variable.
3045         (dragSourceMotionListener): New member variable.
3046         (getFlavorMap): Implemented.
3047         (createDragGestureRecognizer): Implemented.
3048         (addDragSourceListener): Implemented.
3049         (removeDragSourceListener): Implemented.
3050         (getDragSourceListeners): Implemented.
3051         (addDragSourceMotionListener): Implemented.
3052         (removeDragSourceMotionListener): Implemented.
3053         (getDragSourceMotionListeners): Implemented.
3054         (getListeners): Implemented.
3055         * java/awt/dnd/DragSourceContext.java
3056         (peer): New member variable.
3057         (cursor): New member variable.
3058         (transferable): New member variable.
3059         (trigger): New member variable.
3060         (dragSourceListener): New member variable.
3061         (image): New member variable.
3062         (offset): New member variable.
3063         (DragSourceContext): Implemented.
3064         (getDragSource): Implemented.
3065         (getComponent): Implemented.
3066         (getTrigger): Implemented.
3067         (getSourceActions): Implemented.
3068         (setCursor): Implemented.
3069         (getCursor): Implemented.
3070         (addDragSourceListener): Implemented.
3071         (removeDragSourceListener): Implemented.
3072         (getTransferable): Implemented.
3073         * java/awt/dnd/DropTarget.java
3074         (DropTargetAutoScroller.component): New member variable.
3075         (DropTargetAutoScroller.point): New member variable.
3076         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3077         (DropTargetAutoScroller.updateLocation): Implemented.
3078         (active): Renamed from isActive, defaults to true now.
3079         (component): New member variable.
3080         (flavorMap): New member variable.
3081         (actions): New member variable.
3082         (dropTargetContext): New member variable.
3083         (dropTargetListener): New member variable.
3084         (DropTarget): Implemented.
3085         (getComponent): Implemented.
3086         (setComponent): Implemented.
3087         (setDefaultActions): Implemented.
3088         (getDefaultActions): Implemented.
3089         (setActive): Use active instead of isActive.
3090         (isActive): Use active instead of isActive.
3091         (addDropTargetListener): Implemented.
3092         (removeDropTargetListener): Implemented.
3093         (getFlavorMap): Implemented.
3094         (setFlavorMap): Implemented.
3095         (getDropTargetContext): Implemented.
3096         (createDropTargetContext): Implemented.
3097         (createDropTargetAutoScroller): Implemented.
3098         * java/awt/dnd/DropTargetContext.java
3099         (TransferableProxy.getTransferDataFlavors): Implemented.
3100         (TransferableProxy.isDataFlavorSupported): Implemented.
3101         (TransferableProxy.getTransferData): Implemented.
3102         (dropTarget):  New member variable.
3103         (dtcp): New member variable.
3104         (DropTargetContext): New package private constructor.
3105         (getDropTarget): Implemented.
3106         (getComponent): Implemented.
3107         (addNotify): Implemented.
3108         (removeNotify): Implemented.
3109         (getCurrentDataFlavorsAsList): Implemented.
3110         (isDataFlavorSupported): Implemented.
3111         * java/awt/dnd/MouseDragGestureRecognizer.java
3112         (registerListeners): Implemented.
3113         (unregisterListeners): Implemented.
3114         * Makefile.am
3115         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3116         * Makefile.in: Regenerated.
3117
3118 2003-03-02  Michael Koch  <konqueror@gmx.de>
3119
3120         * java/awt/Component.java
3121         (eventTypeEnabled): New method.
3122         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3123         * java/awt/Container.java
3124         (changeSupport): New member variable.
3125         (addPropertyChangeListener): New methods.
3126         * java/awt/ContainerOrderFocusTraversalPolicy.java
3127         (ContainerOrderFocusTraversalPolicy): Added comment.
3128         (getComponentAfter): Throw exception, documentation added.
3129         (getComponentBefore): Throw exception, documentation added.
3130         (getFirstComponent): Throw exception, documentation added.
3131         (getLastComponent): Throw exception, documentation added.
3132         (getDefaultComponent): Throw exception, documentation added.
3133         * java/awt/EventQueue.java: Reindented.
3134         * java/awt/FocusTraversalPolicy.java:
3135         (FocusTraversalPolicy): Added comment.
3136         (getComponentAfter): Documentation added.
3137         (getComponentBefore): Documentation added.
3138         (getFirstComponent): Documentation added.
3139         (getLastComponent): Documentation added.
3140         (getDefaultComponent): Documentation added.
3141         (getInitialComponent): Documentation added.
3142         * java/awt/ScrollPane.java
3143         (wheelScrollingEnabled): New member variable.
3144         (ScrollPane): Initialize wheelScollingEnabled.
3145         (eventTypeEnabled): New method.
3146         (isWheelScrollingEnabled): New method.
3147         (setWheelScrollingEnabled): New method.
3148
3149 2003-03-02  Michael Koch  <konqueror@gmx.de>
3150
3151         * java/net/DatagramSocket.java
3152         (closed): New member variable.
3153         (close): Use closed variable.
3154         (getInetAddress): No need to call isConnected().
3155         (getPort): No need to call isConnected().
3156         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3157         (isClosed): Reimplemented.
3158         
3159 2003-03-02  Michael Koch  <konqueror@gmx.de>
3160
3161         * configure.in: Added check for memory mapping of files.
3162         * configure: Regenerated.
3163         * config.h.in: Regenerated.
3164
3165 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3166
3167         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3168         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3169
3170 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3171
3172         * java/io/File.java (normalizePath): Remove trailing separator
3173         on Windows only if path is not of the form "x:\".
3174
3175         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3176         (java::io::File::attr): Change formatting a bit and use
3177         WIN32_EPOCH_MILLIS instead of magic numbers.
3178         (java::io::File::isAbsolute): Path must have at least 3 
3179         characters for a UNC network path.
3180         (java::io::File::init_native): Define.
3181         (java::io::File::performCreate): Likewise.
3182         (java::io::File::performSetReadOnly): Likewise.
3183         (java::io::File::performSetLastModified): Likewise.
3184         (java::io::File::performListRoots): Likewise.
3185
3186 2003-03-01  Tom Tromey  <tromey@redhat.com>
3187
3188         * java/lang/natObject.cc: Don't include assert.h.
3189         (heavy_lock_obj_finalization_proc): Use JvAssert.
3190         (remove_all_heavy): Likewise.
3191         (_Jv_MonitorEnter): Likewise.
3192         (_Jv_MonitorExit): Likewise.
3193         (wait): Likewise.
3194
3195 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3196
3197         * java/io/File (getAbsolutePath): Prefix drive specifier on
3198         Windows for paths starting with a '\'.
3199         (toURL): Make URL more consistent with what Sun's JDK returns.
3200
3201         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3202         true only if the path is a UNC network path or it starts with a
3203         drive specifier.
3204
3205         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3206         Be prepared to handle either '/' or '\\' in the file path for
3207         Windows if using the "file" protocol.
3208         Canonicalise the file path if using a relative path in the given
3209         context and the "file" protocol.
3210
3211 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3212
3213         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3214         program array element passed to CreateProcess.
3215
3216 2003-03-01  Tom Tromey  <tromey@redhat.com>
3217
3218         * java/rmi/registry/RegistryHandler.java: Deprecate.
3219
3220 2003-03-01  Tom Tromey  <tromey@redhat.com>
3221
3222         * javax/accessibility/AccessibleEditableText.java,
3223         javax/accessibility/AccessibleHyperlink.java: New versions from
3224         Classpath.
3225
3226         * gnu/java/locale/LocaleInformation_af_ZA.java,
3227         gnu/java/locale/LocaleInformation_ar_AE.java,
3228         gnu/java/locale/LocaleInformation_ar_BH.java,
3229         gnu/java/locale/LocaleInformation_ar_DZ.java,
3230         gnu/java/locale/LocaleInformation_ar_EG.java,
3231         gnu/java/locale/LocaleInformation_ar_IN.java,
3232         gnu/java/locale/LocaleInformation_ar_IQ.java,
3233         gnu/java/locale/LocaleInformation_ar_JO.java,
3234         gnu/java/locale/LocaleInformation_ar_KW.java,
3235         gnu/java/locale/LocaleInformation_ar_LB.java,
3236         gnu/java/locale/LocaleInformation_ar_LY.java,
3237         gnu/java/locale/LocaleInformation_ar_MA.java,
3238         gnu/java/locale/LocaleInformation_ar_OM.java,
3239         gnu/java/locale/LocaleInformation_ar_QA.java,
3240         gnu/java/locale/LocaleInformation_ar_SD.java,
3241         gnu/java/locale/LocaleInformation_ar_SY.java,
3242         gnu/java/locale/LocaleInformation_ar_TN.java,
3243         gnu/java/locale/LocaleInformation_ar_YE.java,
3244         gnu/java/locale/LocaleInformation_be_BY.java,
3245         gnu/java/locale/LocaleInformation_bn_IN.java,
3246         gnu/java/locale/LocaleInformation_br_FR.java,
3247         gnu/java/locale/LocaleInformation_bs_BA.java,
3248         gnu/java/locale/LocaleInformation_ca_ES.java,
3249         gnu/java/locale/LocaleInformation_cs_CZ.java,
3250         gnu/java/locale/LocaleInformation_cy_GB.java,
3251         gnu/java/locale/LocaleInformation_da_DK.java,
3252         gnu/java/locale/LocaleInformation_de_AT.java,
3253         gnu/java/locale/LocaleInformation_de_BE.java,
3254         gnu/java/locale/LocaleInformation_de_CH.java,
3255         gnu/java/locale/LocaleInformation_de_DE.java,
3256         gnu/java/locale/LocaleInformation_de_LU.java,
3257         gnu/java/locale/LocaleInformation_el_GR.java,
3258         gnu/java/locale/LocaleInformation_en_AU.java,
3259         gnu/java/locale/LocaleInformation_en_BW.java,
3260         gnu/java/locale/LocaleInformation_en_CA.java,
3261         gnu/java/locale/LocaleInformation_en_DK.java,
3262         gnu/java/locale/LocaleInformation_en_GB.java,
3263         gnu/java/locale/LocaleInformation_en_HK.java,
3264         gnu/java/locale/LocaleInformation_en_IE.java,
3265         gnu/java/locale/LocaleInformation_en_IN.java,
3266         gnu/java/locale/LocaleInformation_en_NZ.java,
3267         gnu/java/locale/LocaleInformation_en_PH.java,
3268         gnu/java/locale/LocaleInformation_en_SG.java,
3269         gnu/java/locale/LocaleInformation_en_US.java,
3270         gnu/java/locale/LocaleInformation_en_ZA.java,
3271         gnu/java/locale/LocaleInformation_en_ZW.java,
3272         gnu/java/locale/LocaleInformation_es_AR.java,
3273         gnu/java/locale/LocaleInformation_es_BO.java,
3274         gnu/java/locale/LocaleInformation_es_CL.java,
3275         gnu/java/locale/LocaleInformation_es_CO.java,
3276         gnu/java/locale/LocaleInformation_es_CR.java,
3277         gnu/java/locale/LocaleInformation_es_DO.java,
3278         gnu/java/locale/LocaleInformation_es_EC.java,
3279         gnu/java/locale/LocaleInformation_es_ES.java,
3280         gnu/java/locale/LocaleInformation_es_GT.java,
3281         gnu/java/locale/LocaleInformation_es_HN.java,
3282         gnu/java/locale/LocaleInformation_es_MX.java,
3283         gnu/java/locale/LocaleInformation_es_NI.java,
3284         gnu/java/locale/LocaleInformation_es_PA.java,
3285         gnu/java/locale/LocaleInformation_es_PE.java,
3286         gnu/java/locale/LocaleInformation_es_PR.java,
3287         gnu/java/locale/LocaleInformation_es_PY.java,
3288         gnu/java/locale/LocaleInformation_es_SV.java,
3289         gnu/java/locale/LocaleInformation_es_US.java,
3290         gnu/java/locale/LocaleInformation_es_UY.java,
3291         gnu/java/locale/LocaleInformation_es_VE.java,
3292         gnu/java/locale/LocaleInformation_et_EE.java,
3293         gnu/java/locale/LocaleInformation_eu_ES.java,
3294         gnu/java/locale/LocaleInformation_fa_IR.java,
3295         gnu/java/locale/LocaleInformation_fi_FI.java,
3296         gnu/java/locale/LocaleInformation_fo_FO.java,
3297         gnu/java/locale/LocaleInformation_fr_BE.java,
3298         gnu/java/locale/LocaleInformation_fr_CA.java,
3299         gnu/java/locale/LocaleInformation_fr_CH.java,
3300         gnu/java/locale/LocaleInformation_fr_FR.java,
3301         gnu/java/locale/LocaleInformation_fr_LU.java,
3302         gnu/java/locale/LocaleInformation_ga_IE.java,
3303         gnu/java/locale/LocaleInformation_gd_GB.java,
3304         gnu/java/locale/LocaleInformation_gl_ES.java,
3305         gnu/java/locale/LocaleInformation_gv_GB.java,
3306         gnu/java/locale/LocaleInformation_he_IL.java,
3307         gnu/java/locale/LocaleInformation_hi_IN.java,
3308         gnu/java/locale/LocaleInformation_hr_HR.java,
3309         gnu/java/locale/LocaleInformation_hu_HU.java,
3310         gnu/java/locale/LocaleInformation_id_ID.java,
3311         gnu/java/locale/LocaleInformation_it_CH.java,
3312         gnu/java/locale/LocaleInformation_it_IT.java,
3313         gnu/java/locale/LocaleInformation_iw_IL.java,
3314         gnu/java/locale/LocaleInformation_ja_JP.java,
3315         gnu/java/locale/LocaleInformation_ka_GE.java,
3316         gnu/java/locale/LocaleInformation_kl_GL.java,
3317         gnu/java/locale/LocaleInformation_ko_KR.java,
3318         gnu/java/locale/LocaleInformation_kw_GB.java,
3319         gnu/java/locale/LocaleInformation_lt_LT.java,
3320         gnu/java/locale/LocaleInformation_lv_LV.java,
3321         gnu/java/locale/LocaleInformation_mi_NZ.java,
3322         gnu/java/locale/LocaleInformation_mk_MK.java,
3323         gnu/java/locale/LocaleInformation_mr_IN.java,
3324         gnu/java/locale/LocaleInformation_mt_MT.java,
3325         gnu/java/locale/LocaleInformation_nl_BE.java,
3326         gnu/java/locale/LocaleInformation_nl_NL.java,
3327         gnu/java/locale/LocaleInformation_nn_NO.java,
3328         gnu/java/locale/LocaleInformation_no_NO.java,
3329         gnu/java/locale/LocaleInformation_oc_FR.java,
3330         gnu/java/locale/LocaleInformation_pl_PL.java,
3331         gnu/java/locale/LocaleInformation_pt_BR.java,
3332         gnu/java/locale/LocaleInformation_pt_PT.java,
3333         gnu/java/locale/LocaleInformation_ro_RO.java,
3334         gnu/java/locale/LocaleInformation_ru_RU.java,
3335         gnu/java/locale/LocaleInformation_ru_UA.java,
3336         gnu/java/locale/LocaleInformation_se_NO.java,
3337         gnu/java/locale/LocaleInformation_sk_SK.java,
3338         gnu/java/locale/LocaleInformation_sl_SI.java,
3339         gnu/java/locale/LocaleInformation_sq_AL.java,
3340         gnu/java/locale/LocaleInformation_sr_YU.java,
3341         gnu/java/locale/LocaleInformation_sv_FI.java,
3342         gnu/java/locale/LocaleInformation_sv_SE.java,
3343         gnu/java/locale/LocaleInformation_ta_IN.java,
3344         gnu/java/locale/LocaleInformation_te_IN.java,
3345         gnu/java/locale/LocaleInformation_tg_TJ.java,
3346         gnu/java/locale/LocaleInformation_tl_PH.java,
3347         gnu/java/locale/LocaleInformation_tr_TR.java,
3348         gnu/java/locale/LocaleInformation_uk_UA.java,
3349         gnu/java/locale/LocaleInformation_ur_PK.java,
3350         gnu/java/locale/LocaleInformation_uz_UZ.java,
3351         gnu/java/locale/LocaleInformation_vi_VN.java,
3352         gnu/java/locale/LocaleInformation_yi_US.java,
3353         gnu/java/locale/LocaleInformation_zh_CN.java,
3354         gnu/java/locale/LocaleInformation_zh_HK.java,
3355         gnu/java/locale/LocaleInformation_zh_SG.java,
3356         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3357         info; from Classpath.
3358
3359         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3360         isPaintPending): New methods.
3361         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3362         setMaximizedBounds): New methods.
3363         (beginLayout, endLayout, isPaintPending): Likewise.
3364         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3365         (requestFocus): Likewise.
3366         (isObscured): Likewise.
3367         (canDetermineObscurity): Likewise.
3368         (coalescePaintEvent): Likewise.
3369         (updateCursorImmediately): Likewise.
3370         (createVolatileImage): Likewise.
3371         (handlesWheelScrolling): Likewise.
3372         (createBuffers): Likewise.
3373         (getBackBuffer): Likewise.
3374         (flip): Likewise.
3375         (destroyBuffers): Likewise.
3376
3377         * Makefile.in: Rebuilt.
3378         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3379         RobotPeer.java.
3380         * gnu/java/awt/GLightweightPeer.java,
3381         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3382         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3383         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3384         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3385         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3386         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3387         java/awt/dnd/peer/DragSourceContextPeer.java,
3388         java/awt/dnd/peer/DropTargetContextPeer.java,
3389         java/awt/peer/ButtonPeer.java,
3390         java/awt/peer/CheckboxMenuItemPeer.java,
3391         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3392         java/awt/peer/ComponentPeer.java,
3393         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3394         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3395         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3396         java/awt/peer/MenuBarPeer.java,
3397         java/awt/peer/MenuComponentPeer.java,
3398         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3399         java/awt/peer/PopupMenuPeer.java,
3400         java/awt/peer/ScrollPanePeer.java,
3401         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3402         java/awt/peer/TextComponentPeer.java,
3403         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3404         New versions from Classpath.
3405         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3406         * java/awt/peer/RobotPeer.java: Likewise.
3407
3408 2003-03-01  Mark Wielaard  <mark@klomp.org>
3409
3410         * java/io/ObjectInputStream.java: Reindent.
3411         * java/io/ObjectOutputStream.java: Likewise.
3412
3413 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3414
3415         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3416         jvalue for each argument. Simplify.
3417         * testsuite/libjava.jni/calls.c (docall),
3418         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3419         misalignment.
3420
3421 2003-02-28  Mark Wielaard  <mark@klomp.org>
3422
3423         * Makefile.am (nat_source_files): Remove
3424         java/io/natObjectOutputStream.cc.
3425         * Makefile.in: Regenerated.
3426         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3427         * java/io/ObjectStreamField.java (typename): New field.
3428         (ObjectStreamField(String, Class)): Initialize new field.
3429         (ObjectStreamField(String, String)): New Constructor.
3430         (getTypeCode): Use new field.
3431         (getTypeString): Use new field.
3432         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3433         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3434         Handle reading of Proxy classes. Never drain(), just write
3435         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3436         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3437         (flush): Call flush(), not just drain().
3438         (writeBoolean): Always use blockDataOutput.
3439         (writeByte): Likewise.
3440         (writeShort): Likewise.
3441         (writeChar): Likewise.
3442         (writeInt): Likewise.
3443         (writeLong): Likewise.
3444         (writeFloat): Likewise.
3445         (writeDouble): Likewise.
3446         (writeBytes): Likewise.
3447         (putfield (put(String,Object))): Throw IllegalArgumentException if
3448         field cannot be found.
3449         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3450         (writeArraySizeAndElements): Write byte[] in one go.
3451         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3452         set BlockDataMode to false.
3453         (annotateProxyClass): New method.
3454         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3455         (getField): No longer native.
3456         (getMethod): Likewise.
3457         (setBlockDataMode): Always drain() on switch, return old mode.
3458         (static): New static code block.
3459         * java/io/natObjectOutputStream.cc: Removed.
3460         * java/io/ObjectInputStream.java (getField): No longer native.
3461         (getMethod): Likewise.
3462         (readObject): Remember and reset old BlockDataMode. Track whether
3463         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3464         TC_LONGSTRING.
3465         (defaultReadObject): Set BlockDataMode to false during readFields.
3466         (resolveClass): Create new SecurityManager if necessary.
3467         Use Class.forName() if null ClassLoader found.
3468         (read(byte[],int,int): Copy remaining bytes to data before calling
3469         readNextBlock().
3470         (readFields): Set and reset BlockDataMode on call_read_method.
3471         Catch NoSuchFieldErrors.
3472         (setBlockDataMode): Return old mode.
3473         (static): New static code block.
3474         * java/io/natObjectInputStream.cc (getField): Removed.
3475         (getMethod): Likewise.
3476
3477 2003-02-27  Michael Koch  <konqueror@gmx.de>
3478
3479         * java/beans/Beans.java,
3480         java/beans/FeatureDescriptor.java
3481         java/beans/PropertyEditorManager.java:
3482         Reformated to GNU style.
3483
3484 2003-02-25  Michael Koch  <konqueror@gmx.de>
3485
3486         * gnu/java/nio/MappedByteFileBuffer.java,
3487         gnu/java/nio/natMappedByteFileBuffer.cc:
3488         New files, both are not compiled yet to get not noncompiling CVS.
3489
3490 2003-02-24  Tom Tromey  <tromey@redhat.com>
3491
3492         * java/util/prefs/AbstractPreferences.java (isUserNode):
3493         Implemented.
3494
3495 2003-02-24  Tom Tromey  <tromey@redhat.com>
3496
3497         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3498         Deprecate.
3499         * java/lang/Thread.java (resume): Deprecate.
3500         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3501         in @deprecated.
3502
3503 2003-02-23  Tom Tromey  <tromey@redhat.com>
3504
3505         * Makefile.in: Rebuilt.
3506         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3507
3508 2003-02-23  Tom Tromey  <tromey@redhat.com>
3509
3510         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3511         libraries): Removed.
3512         (add_library): Removed.
3513         (_load): Don't call add_library.
3514         (loadLibraryInternal): Likewise.
3515         (init): Likewise.
3516         (lookup_data): New struct.
3517         (find_symbol): New function.
3518         (_Jv_FindSymbolInExecutable): Use it.
3519
3520 2002-02-21  Anthony Green  <green@redhat.com>
3521
3522         * java/lang/Thread.java (Thread): New constructor taking stack
3523         size parameter (ignored for now).
3524         * Many methods: Merged GNU Classpath documentation.
3525
3526         * java/lang/Class.java (finalize): throws a Throwable.
3527
3528 2003-02-21  Mark Wielaard  <mark@klomp.org>
3529
3530         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3531         argument is null.
3532
3533 2003-02-21  Mark Wielaard  <mark@klomp.org>
3534
3535         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3536         then 65535 chars throw IllegalArgumentException.
3537
3538 2003-02-21  Mark Wielaard  <mark@klomp.org>
3539
3540         * java/util/zip/ZipFile.java (finalize): New method.
3541
3542 2003-02-21  Michael Koch  <konqueror@gmx.de>
3543
3544         * gnu/java/nio/natSocketChannelImpl.cc:
3545         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3546         <cato@df.lth.se> for pointing to it.
3547
3548 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3549
3550         * java/math/BigInteger.java (euclidInv): Take result array as an
3551         argument.  Updated all callers.
3552         (modInverse): Removed unused variables.
3553
3554 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3555
3556         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3557         config.status.
3558         * configure: Rebuilt.
3559
3560 2003-02-19  Michael Koch  <konqueror@gmx.de>
3561
3562         * gnu/java/nio/natSocketChannelImpl.cc:
3563         Added support for platforms without network support.
3564
3565 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3566
3567         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3568         after config.h.  Use <> for consistency.
3569         * java/lang/natObject.cc: Likewise.
3570         * java/lang/natRuntime.cc: Likewise.
3571         * java/lang/natSystem.cc: Likewise.
3572         * java/util/natTimeZone.cc: Likewise.
3573         * win32.cc: Likewise.
3574         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3575         listen, write, read): Undef to avoid interference from OS macros.
3576
3577 2003-02-19  Michael Koch  <konqueror@gmx.de>
3578
3579         * gnu/java/nio/ByteBufferImpl.java
3580         (ByteBufferImpl): Renamed two variables.
3581         * gnu/java/nio/CharBufferImpl.java
3582         (CharBufferImpl): Renamed two variables.
3583         * gnu/java/nio/DoubleBufferImpl.java
3584         (DoubleBufferImpl): Renamed two variables.
3585         * gnu/java/nio/FloatBufferImpl.java
3586         (FloatBufferImpl): Renamed two variables.
3587         * gnu/java/nio/IntBufferImpl.java
3588         (IntBufferImpl): Renamed two variables.
3589         * gnu/java/nio/LongBufferImpl.java
3590         (LongBufferImpl): Renamed two variables.
3591         * gnu/java/nio/ShortBufferImpl.java
3592         (ShortBufferImpl): Renamed two variables.
3593         * java/nio/CharBuffer.java
3594         (wrap): Fixed arguments to CharBufferImpl constructor.
3595         (hasArray): Only not read-only buffers have backing arrays.
3596         (length): Documentation added.
3597         (subSequence): Documentation added.
3598         * java/nio/DoubleBuffer.java
3599         (hasArray): Only not read-only buffers have backing arrays.
3600         * java/nio/FloatBuffer.java
3601         (hasArray): Only not read-only buffers have backing arrays.
3602         * java/nio/IntBuffer.java
3603         (hasArray): Only not read-only buffers have backing arrays.
3604         * java/nio/LongBuffer.java
3605         (hasArray): Only not read-only buffers have backing arrays.
3606         * java/nio/ShortBuffer.java
3607         (hasArray): Only not read-only buffers have backing arrays.
3608         
3609 2003-02-19  Michael Koch  <konqueror@gmx.de>
3610
3611         * javax/accessibility/AccessibleContext.java
3612         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3613
3614 2003-02-19  Michael Koch  <konqueror@gmx.de>
3615
3616         * java/awt/ScrollPaneAdjustable.java: Reformated.
3617
3618 2003-02-19  Michael Koch <konqueror@gmx.de>
3619
3620         * gnu/awt/j2d/Graphics2DImpl.java
3621         (getFontRenderContext): New method.
3622         (drawGlyphVector): New method.
3623         * java/awt/Graphics2D.java
3624         (getFontRenderContext): New abstract method.
3625         (drawGlyphVector): New abstract method.
3626         
3627 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3628
3629         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3630         if necessary.
3631         
3632         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3633         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3634         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3635         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3636         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3637         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3638         (setFont, gtkSetFont): add.
3639         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3640         Propagate font to peer.  (setFont): add FIXME comment.
3641
3642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3643         (gtkTextGetSize): fix height, width computation.
3644
3645         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3646         Make X font name a bit less bogus.
3647
3648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3649         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3650
3651         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3652         (processAdjustmentEvent): Adjust value.
3653
3654         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3655         logic errors.
3656
3657         * java/awt/Component.java (setVisible, show, hide): Call show and
3658         hide methods in subclasses.
3659         (getPreferredSize): don't set prefSize before we have peer.
3660
3661         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3662         Guess (0,0) if we don't have peer.
3663
3664
3665 2003-02-18  Michael Koch  <konqueror@gmx.de>
3666
3667         * java/nio/channels/FileChannel.java
3668         (toString): New implementation, added documentation.
3669         (map): Added exception documentation.
3670         (size): Added exception documentation.
3671         (write): New methods, documentation work.
3672         (read): New methods, documentation work.
3673         (implCloseChannel): Rewrote exception documentation.
3674         (force): Throws IOException, added documentation.
3675         (lock): New methods.
3676         (tryLock): New methods.
3677         (position): New methods.
3678         (transferTo): New method.
3679         (transferFrom): New method.
3680         (truncate): New method.
3681         * java/nio/channels/spi/SelectorProvider.java
3682         (provider): Implemented.
3683         * Makefile.am
3684         (ordinary_java_source_files): Added the following files:
3685         gnu/java/nio/DatagramChannelImpl.java
3686         gnu/java/nio/FileChannelImpl.java
3687         gnu/java/nio/PipeImpl.java
3688         gnu/java/nio/SelectionKeyImpl.java
3689         gnu/java/nio/SelectorImpl.java
3690         gnu/java/nio/SelectorProviderImpl.java
3691         gnu/java/nio/ServerSocketChannelImpl.java
3692         gnu/java/nio/SocketChannelImpl.java
3693         java/nio/channels/FileLock.java
3694         (nat_java_source_files): Added the following files:
3695         gnu/java/nio/natFileChannelImpl.cc
3696         gnu/java/nio/natSelectorImpl.cc
3697         gnu/java/nio/natSocketChannelImpl.cc
3698         * Makefile.in: Regenerated.
3699
3700 2003-02-17  Tom Tromey  <tromey@redhat.com>
3701
3702         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3703         * java/awt/image/ImageFilter.java: Likewise.
3704
3705 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3706
3707         * java/math/BigInteger.java (euclidInv): Return array of
3708         `BigInteger's.  Changed all callers.
3709
3710 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3711
3712         * java/util/Properties.java (store): Move the code formerly in
3713         list(), into this method.
3714         (list (PrintStream)): Just call list (PrintWriter) with a 
3715         PrintWriter object constructed from the given PrintStream object.
3716         (list (PrintWriter)): Emulate the output of Properties.list()
3717         as found in JDK 1.3/1.4.
3718
3719 2003-02-17  Michael Koch  <konqueror@gmx.de>
3720
3721         * java/net/DatagramSocket.java
3722         (connect): Merged with classpath.
3723         (disconnect): Merged documentation with classpath.
3724         (receice): Merged documentation with classpath.
3725         (send): Merged documentation with classpath.
3726         
3727 2003-02-17  Michael Koch  <konqueror@gmx.de>
3728
3729         * java/awt/dnd/DragSourceContext.java
3730         (addDragSourceListener): Added documentation.
3731         * java/awt/dnd/DragSourceDragEvent.java
3732         (serialVersionUID): New member variable.
3733         (getDropAction): Reformated.
3734         * java/awt/dnd/DragSourceDropEvent.java
3735         (serialVersionUID): New member variable.
3736         (dropSuccess): Renamed from success for serialization issues.
3737         * java/awt/dnd/DragSourceEvent.java
3738         (serialVersionUID): New member variable.
3739         * java/awt/dnd/DropTarget.java
3740         (serialVersionUID): New member variable.
3741         (DropTarget): Implemented, documentation reworked.
3742         (setComponent): Documentation added.
3743         (getComponent): Documentation added.
3744         (setDefaultActions): Documentation added.
3745         (getDefaultActions): Documentation added.
3746         (addDropTargetListener): Documentation added.
3747         * java/awt/dnd/DropTargetContext.java
3748         (DropTargetContext): Documentation added.
3749         (TransferableProxy.TransferableProxy): New method.
3750         (dropComplete): Fixed documentation.
3751         (getTransferable): Fixed documentation.
3752         (createTransferableProxy): Implemented.
3753         * java/awt/dnd/DropTargetDragEvent.java
3754         (DropTargetDragEvent): Documentation added.
3755         (serialVersionUID): New member variable.
3756         (DropTargetDragEvent): Throw exceptions, documentation added.
3757         (acceptDrag): Implemented.
3758         (getCurrentDataFlavors): Implemented.3yy
3759         (getCurrentDataFlavorsAsList): Implemented.
3760         (isDataFlavorSupported): Implemented.
3761         (rejectDrag): Implemented.
3762         * java/awt/dnd/DropTargetDropEvent.java
3763         (DropTargetDropEvent): Documentation added.
3764         (serialVersionUID): New member variable.
3765         (actions): Renamed from srcActions for serialization issues.
3766         (isLocalTx): Renamed from isLocalTx for serialization issues.
3767         (DropTargetDropEvent): New implementation, throw exceptions,
3768         documentation added.
3769         (getCurrentDataFlavors): Implemented.
3770         (getCurrentDataFlavorsAsList): Implemented.
3771         (isDataFlavorSupported): Implemented.
3772         (getSourceActions): Implemented.
3773         (getDropAction): Implemented.
3774         (getTransferable): Implemented.
3775         (acceptDrop): Implemented.
3776         (rejectDrop): Implemented.
3777         * java/awt/dnd/DropTargetListener.java
3778         (drop): Fixed documentation.
3779         * java/awt/dnd/MouseDragGestureRecognizer.java
3780         (MouseDragGestureRecognizer): Documentation added.
3781
3782 2003-02-17  Michael Koch  <konqueror@gmx.de>
3783
3784         * java/awt/font/FontRenderContext.java,
3785         java/awt/font/ShapeGraphicAttribute.java,
3786         java/awt/font/MultipleMaster.java,
3787         java/awt/font/TransformAttribute.java,
3788         java/awt/font/GlyphJustificationInfo.java,
3789         java/awt/font/LineBreakMeasurer.java,
3790         java/awt/font/TextMeasurer.java,
3791         java/awt/font/TextLayout.java,
3792         java/awt/font/LineMetrics.java,
3793         java/awt/font/TextAttribute.java,
3794         java/awt/font/GlyphMetrics.java,
3795         java/awt/font/OpenType.java,
3796         java/awt/font/GlyphVector.java,
3797         java/awt/font/GraphicAttribute.java,
3798         java/awt/font/ImageGraphicAttribute.java,
3799         java/awt/font/NumericShaper.java: New files.
3800         * Makefile.am
3801         (awt_java_source_files): Added the following files:
3802         java/awt/font/FontRenderContext.java
3803         java/awt/font/ShapeGraphicAttribute.java
3804         java/awt/font/MultipleMaster.java
3805         java/awt/font/TransformAttribute.java
3806         java/awt/font/GlyphJustificationInfo.java
3807         java/awt/font/LineBreakMeasurer.java
3808         java/awt/font/TextMeasurer.java
3809         java/awt/font/TextLayout.java
3810         java/awt/font/LineMetrics.java
3811         java/awt/font/TextAttribute.java
3812         java/awt/font/GlyphMetrics.java
3813         java/awt/font/OpenType.java
3814         java/awt/font/GlyphVector.java
3815         java/awt/font/GraphicAttribute.java
3816         java/awt/font/ImageGraphicAttribute.java
3817         java/awt/font/NumericShaper.java
3818         * Makefile.in: Regenerated.
3819
3820 2003-02-17  Michael Koch  <konqueror@gmx.de>
3821
3822         * java/awt/print/Paper.java
3823         (Paper): Implements Cloneable.
3824         * java/awt/print/PrinterJob.java
3825         (setJobName): Return value must be void.
3826         (print): Throws PrinterException.
3827         
3828 2003-02-16  Tom Tromey  <tromey@redhat.com>
3829
3830         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3831         variable.
3832
3833 2003-02-15  Michael Koch  <konqueror@gmx.de>
3834
3835         * java/awt/datatransfer/DataFlavor.java
3836         (isRepresentationClassByteBuffer): Removed try-catch block.
3837         (isRepresentationClassCharBuffer): Removed try-catch block.
3838         (isRepresentationClassReader): Removed try-catch block.
3839
3840 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3841
3842         * java/nio/charset/Charset.java
3843         (isRegistered): Fixed method args and implementation.
3844         * java/nio/charset/CharsetEncoder.java
3845         (unmappableCharacterAction): New method.
3846
3847 2003-02-15  Michael Koch  <konqueror@gmx.de>
3848
3849         * java/awt/CheckboxMenuItem.java
3850         (CheckBoxMenuItem): Dont implement Serializable.
3851         (getListeners): New method,
3852         (getItemListeners): New method.
3853         * java/awt/Choice.java
3854         (getListeners): New method,
3855         (getItemListeners): New method.
3856         * java/awt/Container.java
3857         (getListeners): Added exception documentation.
3858         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3859         (getFocusTraversalKeys): Added documentation.
3860         (areFocusTraversalKeysSet): Added documentation.
3861         (applyComponentOrientation): Added documentation.
3862         * java/awt/ContainerOrderFocusTraversalPolicy.java
3863         (implicitDownCycleTraversal): Renamed from downCycle for
3864         serialization.
3865         (ContainerOrderFocusTraversalPolicy): Added documentation.
3866         (accept): Reformated.
3867         * java/awt/Dialog.java
3868         (Dialog): Dont implement Serializable.
3869         (Dialog): Added documentation.
3870         * java/awt/Font.java
3871         (Font): Dont use absolute class name.
3872         * java/awt/Frame.java
3873         (Frame): Font implement Serializable.
3874         * java/awt/List.java
3875         (getListeners): New method,
3876         (getActionListeners): New method.       
3877         (getItemListeners): New method.
3878         * java/awt/Menu.java
3879         (countItems): New deprecated method.
3880         * java/awt/Scrollbar.java
3881         (getListeners): New method,
3882         (getAdjustmentListeners): New method,
3883         * java/awt/TextComponent.java
3884         (getListeners): New method,
3885         (getTextListeners): New method,
3886         * java/awt/TextField.java
3887         (getListeners): New method,
3888         (getActionListeners): New method.       
3889         * java/awt/Window.java
3890         (windowFocusListener): New member variable.
3891         (windowStateListener): New member variable.
3892         (getWindowFocusListeners): New method.
3893         (getWindowStateListeners): New method.
3894         (addWindowFocusListener): New method.
3895         (addWindowStateListener): New method.
3896         (removeWindowFocusListener): New method.
3897         (removeWindowStateListener): New method.
3898         * java/awt/datatransfer/DataFlavor.java
3899         (isRepresentationClassByteBuffer): New method.
3900         (isRepresentationClassCharBuffer): New method.
3901         (isRepresentationClassReader): New method.
3902
3903 2003-02-14  Mark Wielaard  <mark@klomp.org>
3904
3905         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3906         zero when there is an exponent and the significant is zero.
3907         (divide): Always set scale to newScale even in special ZERO case.
3908
3909 2003-02-14  Tom Tromey  <tromey@redhat.com>
3910
3911         * java/lang/System.java (properties): Use Properties.clone.
3912         (setProperties): Likewise.
3913
3914 2003-02-14  Michael Koch  <konqueror@gmx.de>
3915
3916         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3917         * gnu/java/nio/ServerSocketChannelImpl.java
3918         (SocketAccept): Removed.
3919         (accept): Commented out use of SocketAccept.
3920
3921 2003-02-13  Tom Tromey  <tromey@redhat.com>
3922
3923         * verify.cc (state::seen_subrs): New field.
3924         (state::state): Initialize it.
3925         (state::clean_subrs): New method.
3926         (state::~state): Call it.
3927         (state::copy): Copy subroutine list.
3928         (state::add_subr): New method.
3929         (state::merge): Only register a change if the current subroutine
3930         hasn't yet been noted.
3931
3932 2003-02-13  Mark Wielaard  <mark@klomp.org>
3933
3934         * java/io/InputStreamReader.java (getEncoding): Return null when
3935         closed.
3936         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
3937
3938 2003-02-13  Mark Wielaard  <mark@klomp.org>
3939  
3940         * java/util/zip/InflaterInputStream.java (read): Return zero when len
3941         is zero.
3942
3943 2003-02-13  Mark Wielaard  <mark@klomp.org>
3944
3945         * java/io/BufferedOutputStream.java (write(int)): Only flush when
3946         next byte cannot be buffered.
3947
3948 2003-02-13  Michael Koch  <konqueror@gmx.de>
3949  
3950         * java/awt/Label.java
3951         (Label): Don't implement Serializable directly.
3952         (addNotify): Fixed typo in documentation.
3953         * java/awt/List.java
3954         (List): Don't implement Serializable directly.
3955         * java/awt/PopupMenu.java
3956         (PopupMenu): Don't implement Serializable directly.
3957         * java/awt/ScrollPane.java
3958         (ScrollPane): Don't implement Serializable directly.
3959         * java/awt/Scrollbar.java
3960         (Scrollbar): Don't implement Serializable directly.
3961         * java/awt/TextArea.java
3962         (preferredSize): Fixed method arguments.
3963         * java/awt/TextField.java
3964         (TextField): Don't implement Serializable directly.
3965         * java/awt/color/ICC_ColorSpace.java
3966         (fromCIOXYZ): Documentation added.
3967         (getMinValue): Documentation added.
3968         (getMaxValue): Documentation added.
3969         * java/awt/datatransfer/DataFlavor.java
3970         (isMimeTypeEqual): May not be final.
3971         (clone): Throws CloneNotSupportedException.
3972         (getReaderForText): Don't throws UnsupportedEncodingException.
3973
3974 2003-02-13  Michael Koch  <konqueror@gmx.de>
3975  
3976         * gnu/java/awt/peer/gtk/GdkGraphics.java
3977         (drawString): New stubbed method.
3978         * java/awt/Graphics.java
3979         (drawString): New method.
3980
3981 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
3982
3983         PR libgcj/9271:
3984         * java/security/SecureRandom.java (next): Avoid bias in results.
3985
3986 2003-02-13  Michael  <konqueror@gmx.de>
3987
3988         * gnu/java/nio/FileChannelImpl.java
3989         (lengthInternal): Must be native.
3990         (size): Check if channel is already closed.
3991         (implCloseChannel): Reformated.
3992         (read): w was unused, removed it.
3993         (read): Removed.
3994         (read): New method.
3995         (write): New method.
3996         (map): Check arguments.
3997         (force): Throws IOException, check if channel is closed.
3998         (transferTo): New method.
3999         (transferFrom): New method.
4000         (lock): New method.
4001         (tryLock): New method.
4002         (position): New method.
4003         (truncate): New method.
4004         (nio_mmap_file): Uncommented.
4005         (nio_munmap_file): Uncommented.
4006         (nio_msync): Uncommented.
4007         * gnu/java/nio/natFileChannelImpl.cc: New file.
4008         
4009 2003-02-13  Michael Koch  <konqueror@gmx.de>
4010
4011         * java/nio/ByteBuffer.java
4012         (endian): New member variable.
4013         (get): New methods.
4014         (equals): New method.
4015         (compareTo): New method.
4016         (order): New methods.
4017         (compact): New method.
4018         (isDirect): New method.
4019         (slice): New method.
4020         (duplicate): New method.
4021         (asReadOnlyBuffer): New method.
4022         (asCharBuffer): New method.
4023         (asDoubleBuffer): New method.
4024         (asFloatBuffer): New method.
4025         (asIntBuffer): New method.
4026         (asLongBuffer): New method.
4027         (asShortBuffer): New method.
4028         (get*): New methods.
4029         (put*): New methods.
4030         (toString): New method.
4031         * java/nio/CharBuffer.java
4032         (CharBuffer): Implement Comparable instead of Cloneable.
4033         (get): May not be final.
4034         (put): May not be final.
4035         
4036 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4037
4038         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4039         lastIndexOf( ) instead of indexOf( ) to find the colon before
4040         the line number, because Win32 file names might contain a 
4041         drive letter and a colon at the start of an absolute path.
4042
4043 2003-02-13  Michael Koch  <konqueror@gmx.de>
4044
4045         * gnu/java/nio/natSocketChannelImpl.cc
4046         (SocketConnect): This is not implemented yet.
4047         (SocketBind): This is not implemented yet.
4048
4049 2003-02-13  Michael Koch  <konqueror@gmx.de>
4050
4051         * gnu/java/nio/natByteBufferImpl.cc,
4052         gnu/java/nio/natCharBufferImpl.cc,
4053         gnu/java/nio/natDoubleBufferImpl.cc,
4054         gnu/java/nio/natFloatBufferImpl.cc,
4055         gnu/java/nio/natIntBufferImpl.cc,
4056         gnu/java/nio/natLongBufferImpl.cc,
4057         gnu/java/nio/natShortBufferImpl.cc:
4058         Added copyright and license.
4059         * java/nio/DoubleBuffer.java,
4060         java/nio/FloatBuffer.java,
4061         java/nio/IntBuffer.java,
4062         java/nio/LongBuffer.java,
4063         java/nio/ShortBuffer.java
4064         (array): Throw exceptions.
4065         (arrayOffset): Throw exceptions.
4066
4067 2003-02-13  Michael Koch  <konqueror@gmx.de>
4068  
4069         * gnu/java/util/prefs/FileBasedFactory.java,
4070         gnu/java/util/prefs/MemmoryBasedFactory.java,
4071         gnu/java/util/prefs/MemoryBasedPreferences.java,
4072         gnu/java/util/prefs/NodeReader.java,
4073         gnu/java/util/prefs/NodeWriter.java,
4074         java/util/prefs/AbstractPreferences.java,
4075         java/util/prefs/BackingStoreException.java,
4076         java/util/prefs/InvalidPreferencesFormatException.java,
4077         java/util/prefs/NodeChangeEvent.java,
4078         java/util/prefs/NodeChangeListener.java,
4079         java/util/prefs/PreferenceChangeEvent.java,
4080         java/util/prefs/PreferenceChangeListener.java,
4081         java/util/prefs/Preferences.java,
4082         java/util/prefs/PreferencesFactory.java:
4083         New files, all merged from classpath.
4084         * Makefile.am
4085         (ordinary_java_source_files): Added the following files:
4086         gnu/java/util/prefs/FileBasedFactory.java,
4087         gnu/java/util/prefs/MemmoryBasedFactory.java,
4088         gnu/java/util/prefs/MemoryBasedPreferences.java,
4089         gnu/java/util/prefs/NodeReader.java,
4090         gnu/java/util/prefs/NodeWriter.java,
4091         (core_java_source_files): Added the following files:
4092         java/util/prefs/AbstractPreferences.java,
4093         java/util/prefs/BackingStoreException.java,
4094         java/util/prefs/InvalidPreferencesFormatException.java,
4095         java/util/prefs/NodeChangeEvent.java,
4096         java/util/prefs/NodeChangeListener.java,
4097         java/util/prefs/PreferenceChangeEvent.java,
4098         java/util/prefs/PreferenceChangeListener.java,
4099         java/util/prefs/Preferences.java,
4100         java/util/prefs/PreferencesFactory.java
4101         * Makefile.in: Regenerated.
4102  
4103 2003-02-13  Michael Koch  <konqueror@gmx.de>
4104
4105         * java/net/NetPermission.java
4106         (NetPermission): Make doucmentation match the method declaration.
4107         * java/net/NetworkInterface.java
4108         (equals): Reformated for GNU coding style.
4109         * java/net/ServerSocket.java: Merged with classpath.
4110         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4111         * java/net/SocketImpl.java
4112         (localPort): Merged with classpath (initialize with -1).
4113         * java/net/SocketPermission.java: Merged with classpath (reindented).
4114         * java/net/URLDecoder.java: Merged with classpath (reindented).
4115
4116 2003-02-13  Michael Koch  <konqueror@gmx.de>
4117
4118         * java/awt/GridBagConstraints.java
4119         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4120         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4121         * java/awt/KeyboardFocusManager.java
4122         (setGlobalCurrentFocusCycleRoot): Must be public.
4123         * java/awt/MenuComponent.java
4124         (MenuComponent): Must be public.
4125         * java/awt/Toolkit.java:
4126         Added some empty lines to make documentation more readable.
4127         (getFontPeer): Added @deprecated.
4128         (getColorModel): Added exception documentation.
4129         (getProperty): Fixed documentation.
4130  
4131 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4132
4133         * configure.host (alpha*-*): Default to -mieee.
4134         * configure.in (IEEESPEC): New.
4135         * libgcj.spec.in (jc1): Add IEEESPEC.
4136         * configure: Rebuild.
4137
4138 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4139
4140         * include/win32.h: Include ws2tcpip.h instead of
4141         winsock.h to obtain definition of the socklen_t type.
4142         Remove IP_TOS definition - not needed with ws2tcpip.h
4143         (_Jv_connect): Correct slight formatting error.
4144
4145 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4146
4147         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4148         size of the arguments for a JNI function. For Win32,
4149         modify to search for all forms of possible exported
4150         names of an stdcall JNI function.
4151         (_Jv_JNIMethod::call): Modify to calculate the size
4152         of the arguments passed to a JNI function and pass
4153         it to _Jv_LookupJNIMethod.
4154
4155 2003-02-12  Michael Koch  <konqueror@gmx.de>
4156
4157         * java/nio/channels/Channels.java: New file.
4158         * Makefile.am
4159         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4160         * Makefile.in: Regenerated.
4161
4162 2003-02-12  Michael Koch  <konqueror@gmx.de>
4163
4164         * java/nio/ByteBuffer.java
4165         (allocate): Implemented.
4166         (wrap): Implemented.
4167         * java/nio/CharBuffer.java:
4168         Some documentation added and reworked.
4169         (endian): Removed.
4170         (allocate): Implemented.
4171         (wrap): Implemented.
4172         (array): Throw exceptions.
4173         (arrayOffset): Throw exceptions.
4174         (toString): Implemented.
4175         (length): Implemented.
4176         (put): Implemented.
4177         (charAt): Implemented.
4178
4179 2003-02-11  John Leuner  <jewel@debian.org>
4180
4181         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4182         reads from end of file.
4183
4184 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4185
4186         * java/io/natFileDescriptorWin32.cc 
4187         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4188         returns with Win32 error code ERROR_BROKEN_PIPE.
4189
4190 2003-02-11  Michael Koch  <konqueror@gmx.de>
4191
4192         * Makefile.in
4193         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4194
4195 2003-02-11  Michael Koch  <konqueror@gmx.de>
4196
4197         * gnu/java/nio/ByteBufferImpl.java:
4198         Reformated and removed some code.
4199         (backing_buffer): Removed.      
4200         (array_offset): Removed.
4201         (ro): Renamed to readOnly.
4202         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4203         * gnu/java/nio/CharBufferImpl.java:
4204         Reformated and removed some code.
4205         (array_offset): Removed.
4206         (ro): Renamed to readOnly.
4207         (CharBufferImpl): Use parent constructor, initialize readOnly.
4208         (inc_pos): Removed.
4209         (order): New method.
4210         * gnu/java/nio/DoubleBufferImpl.java:
4211         Reformated and removed some code.
4212         (array_offset): Removed.
4213         (ro): Renamed to readOnly.
4214         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4215         (inc_pos): Removed.
4216         (order): New method.
4217         * gnu/java/nio/FloatBufferImpl.java:
4218         Reformated and removed some code.
4219         (array_offset): Removed.
4220         (ro): Renamed to readOnly.
4221         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4222         (inc_pos): Removed.
4223         (order): New method.
4224         * gnu/java/nio/IntBufferImpl.java:
4225         Reformated and removed some code.
4226         (array_offset): Removed.
4227         (ro): Renamed to readOnly.
4228         (IntBufferImpl): Use parent constructor, initialize readOnly.
4229         (inc_pos): Removed.
4230         (order): New method.
4231         * gnu/java/nio/LongBufferImpl.java:
4232         Reformated and removed some code.
4233         (array_offset): Removed.
4234         (ro): Renamed to readOnly.
4235         (LongBufferImpl): Use parent constructor, initialize readOnly.
4236         (inc_pos): Removed.
4237         (order): New method.
4238         * gnu/java/nio/ShortBufferImpl.java:
4239         Reformated and removed some code.
4240         (array_offset): Removed.
4241         (ro): Renamed to readOnly.
4242         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4243         (inc_pos): Removed.
4244         (order): New method.
4245         * Makefile.am
4246         (ordinary_java_source_files): Added the following files:
4247         gnu/java/nio/ByteBufferImpl.java
4248         gnu/java/nio/CharBufferImpl.java
4249         gnu/java/nio/DoubleBufferImpl.java
4250         gnu/java/nio/FloatBufferImpl.java
4251         gnu/java/nio/IntBufferImpl.java
4252         gnu/java/nio/LongBufferImpl.java
4253         gnu/java/nio/ShortBufferImpl.java
4254         java/nio/DoubleBuffer.java
4255         java/nio/FloatBuffer.java
4256         java/nio/IntBuffer.java
4257         java/nio/LongBuffer.java
4258         java/nio/ShortBuffer.java
4259         (nat_source_files): Added the following files:
4260         gnu/java/nio/natByteBufferImpl.cc
4261         gnu/java/nio/natCharBufferImpl.cc
4262         gnu/java/nio/natDoubleBufferImpl.cc
4263         gnu/java/nio/natFloatBufferImpl.cc
4264         gnu/java/nio/natIntBufferImpl.cc
4265         gnu/java/nio/natLongBufferImpl.cc
4266         gnu/java/nio/natShortBufferImpl.cc
4267         * Makefile.in: Regenerated.
4268
4269 2003-02-11  Michael Koch  <konqueror@gmx.de>
4270
4271         * gnu/java/nio/natCharBufferImpl.cc
4272         (nio_cast): Removed.
4273         (nio_put_*): Removed.
4274         (nio_get_*): Removed.
4275         * gnu/java/nio/natDoubleBufferImpl.cc
4276         (nio_cast): Removed.
4277         (nio_put_*): Removed.
4278         (nio_get_*): Removed.
4279         * gnu/java/nio/natFloatBufferImpl.cc
4280         (nio_cast): Removed.
4281         (nio_put_*): Removed.
4282         (nio_get_*): Removed.
4283         * gnu/java/nio/natIntBufferImpl.cc
4284         (nio_cast): Removed.
4285         (nio_put_*): Removed.
4286         (nio_get_*): Removed.
4287         * gnu/java/nio/natLongBufferImpl.cc
4288         (nio_cast): Removed.
4289         (nio_put_*): Removed.
4290         (nio_get_*): Removed.
4291         * gnu/java/nio/natShortBufferImpl.cc
4292         (nio_cast): Removed.
4293         (nio_put_*): Removed.
4294         (nio_get_*): Removed.
4295         * gnu/java/nio/SelectorProviderImpl.java
4296         (openDatagramChannel): Throws IOException.
4297         (openPipe): Throws IOException.
4298         (openSelector): Throws IOException.
4299         (openServerSocketChannel): Throws IOException.
4300         (openSocketChannel): Throws IOException.
4301         * gnu/java/nio/ServerSocketChannelImpl.java
4302         (ServerSocketChannelImpl): Throws IOException.
4303         (implCloseSelectableChannel): Throws IOException.
4304         (implConfigureBlocking): Throws IOException.
4305         * java/nio/ByteBuffer.java
4306         (readOnly): Removed.
4307         (hasArray): Use isReadOnly() instead of readOnly.
4308         (array): Use isReadOnly() instead of readOnly.
4309         (arrayOffset): Use isReadOnly() instead of readOnly.
4310         * java/nio/CharBuffer.java
4311         (CharBuffer): Implements Cloneable and CharSequence.
4312
4313 2003-02-11  Michael Koch  <konqueror@gmx.de>
4314
4315         * java/nio/DoubleBuffer.java
4316         (DoubleBuffer): Implements Comparable.
4317         (endian): Removed.
4318         (array_offset): New member variable.
4319         (DoubleBuffer): New constuctor.
4320         (get): May not be final.
4321         (put): May not be final.
4322         (arrayOffset): Implemented.
4323         (order): Made abstract.
4324         (order): Removed.
4325         (as*Buffer): Removed.
4326         (get*): Removed.
4327         (put*): Removed.
4328         * java/nio/FloatBuffer.java
4329         (FloatBuffer): Implements Comparable.
4330         (endian): Removed.
4331         (array_offset): New member variable.
4332         (FloatBuffer): New constuctor.
4333         (get): May not be final.
4334         (put): May not be final.
4335         (arrayOffset): Implemented.
4336         (order): Made abstract.
4337         (order): Removed.
4338         (as*Buffer): Removed.
4339         (get*): Removed.
4340         (put*): Removed.
4341         * java/nio/IntBuffer.java
4342         (IntBuffer): Implements Comparable.
4343         (endian): Removed.
4344         (array_offset): New member variable.
4345         (IntBuffer): New constuctor.
4346         (get): May not be final.
4347         (put): May not be final.
4348         (arrayOffset): Implemented.
4349         (order): Made abstract.
4350         (order): Removed.
4351         (as*Buffer): Removed.
4352         (get*): Removed.
4353         (put*): Removed.
4354         * java/nio/LongBuffer.java
4355         (LongBuffer): Implements Comparable.
4356         (endian): Removed.
4357         (array_offset): New member variable.
4358         (LongBuffer): New constuctor.
4359         (get): May not be final.
4360         (put): May not be final.
4361         (arrayOffset): Implemented.
4362         (order): Made abstract.
4363         (order): Removed.
4364         (as*Buffer): Removed.
4365         (get*): Removed.
4366         (put*): Removed.
4367         * java/nio/ShortBuffer.java
4368         (ShortBuffer): Implements Comparable.
4369         (endian): Removed.
4370         (array_offset): New member variable.
4371         (ShortBuffer): New constuctor.
4372         (get): May not be final.
4373         (put): May not be final.
4374         (arrayOffset): Implemented.
4375         (order): Made abstract.
4376         (order): Removed.
4377         (as*Buffer): Removed.
4378         (get*): Removed.
4379         (put*): Removed.
4380
4381 2003-02-11   Michael Koch  <konqueror@gmx.de>
4382
4383         * java/nio/channels/SelectionKey.java
4384         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4385         values.
4386
4387 2003-02-11  Michael Koch  <konqueror@gmx.de>
4388
4389         * java/nio/channels/DatagramChannel.java
4390         (write): Throws IOException.
4391         (connect): Throws IOException.
4392         (disconnect): Throws IOException.
4393         (read): Throws IOException.
4394         (receive): Throws IOException.
4395         (send): Throws IOException.
4396         * java/nio/channels/Pipe.java
4397         (open): Throws IOException.
4398         * java/nio/channels/SelectableChannel.java
4399         (configureBlocking): Throws IOException.
4400         * java/nio/channels/ServerSocketChannel.java
4401         (accept): Throws IOException.
4402         * java/nio/channels/SocketChannel.java
4403         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4404         GatheringByteChannel.
4405         (read): Throws IOException.
4406         (write): Throws IOException.
4407         (finishConnect): Throws IOException.
4408         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4409         (end): Throws AsynchronousCloseException.
4410         * java/nio/channels/spi/AbstractSelectableChannel.java
4411         (configureBlocking): Throws IOException.
4412         (implCloseChannel): Throws IOException.
4413         (implCloseSelectableChannel): Throws IOException.
4414         (implConfigureBlocking): Throws IOException.
4415         * java/nio/channels/spi/SelectorProvider.java
4416         (openDatagramChannel): Throws IOException.
4417         (openPipe): Throws IOException.
4418         (openSelector): Throws IOException.
4419         (openServerSocketChannel): Throws IOException.
4420         (openSocketChannel): Throws IOException.
4421
4422 2003-02-11  Michael Koch  <konqueror@gmx.de>
4423
4424         * gnu/java/nio/FileLockImpl.java,
4425         java/nio/channels/FileLock.java: New files.
4426
4427 2003-02-11  Michael Koch  <konqueror@gmx.de>
4428
4429         * java/nio/charset/IllegalCharsetNameException.java
4430         (serialVersionUID): New member variable.
4431         (charsetName): New member variable.
4432         (IllegalCharsetException): New implementation.
4433         (getCharsetName): New implementation.
4434         * java/nio/charset/UnsupportedCharsetException.java
4435         (serialVersionUID): New member variable.
4436         (charsetName): New member variable.
4437         (UnsupportedCharsetException): New implementation.
4438         (getCharsetName): New implementation.
4439
4440 2003-02-10  Tom Tromey  <tromey@redhat.com>
4441
4442         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4443         (ex): Renamed from sqlException.
4444
4445 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4446
4447         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4448         method used to ensure seeding has occurred and that a specific 
4449         seed can be set and used.
4450
4451 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4452
4453         * java/lang/Win32Process.java (destroy): Declare as native.
4454         (hasExited): New native method.
4455         (exitValue): Define.
4456         (getErrorStream): Likewise.
4457         (getInputStream): Likewise.
4458         (getOutputStream): Likewise.
4459         (waitFor): Declare as native.
4460         (startProcess): New native method.
4461         (cleanup): Likewise.
4462         (ConcreteProcess): Define.
4463         (outputStream, inputStream, errorStream): New members.
4464         (procHandle, exitCode): Likewise.
4465
4466         * java/lang/natWin32Process.cc
4467         (java::lang::ConcreteProcess::cleanup): Define.
4468         (java::lang::ConcreteProcess::destroy): Likewise.
4469         (java::lang::ConcreteProcess::hasExited): Likewise.
4470         (java::lang::ConcreteProcess::waitFor): Likewise.
4471         (new_string): Likewise.
4472         (java::lang::ConcreteProcess::startProcess): Likewise.
4473
4474 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4475
4476         * java/math/BigInteger.java:
4477         Updated notice to include years 2002 and 3.
4478         Added 2 private (int) arrays with values from the HAC (Handbook of
4479         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4480         and t[] that contains nbr. of tests --used in isProbablePrime().
4481
4482         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4483
4484         * java/math/BigInteger.java (make(int[],int), add(int,int),
4485         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4486         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4487         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4488         make(long).
4489
4490         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4491         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4492         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4493         BIs and returns void.
4494         (modInverse(BI)): Use new signatures of euclidInv().
4495
4496         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4497         static small primes instead of remainder().
4498         Use pre-computed max nbr of trials based on bitlength of BI to test.
4499         Use pre-computed small primes for the trial tests instead of random
4500         numbers.
4501
4502         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4503         not used.
4504
4505         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4506         invoacation of MPN.chars_per_word().  not used.
4507
4508         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4509         local var and used where needed.
4510
4511         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4512         Combined declaration with initialisation of locals.
4513         Removed unused var.
4514
4515         * java/math/BigInteger.java: Style changes
4516         (pow(int)): Removed 'else' keyword.
4517         (toString(int)): idem.
4518         (doubleValue()): idem.
4519         (bitLength()): idem.
4520         (equals(Object)): Use static methods name in same class w/o prepending
4521         class name.
4522         (doubleValue()): idem.
4523         (setNegative(BI)): idem.
4524         (negate()): idem.
4525         (and(BI,int)): idem.
4526         (and(BI)): idem.
4527         (gcd(BI)): idem.
4528         (byteArrayToIntArray()): Removed casting to (int). this is
4529         std. behaviour.
4530         (canonicalize()): idem.
4531         (alloc(int)): Always instantiate a new BI.
4532
4533 2003-02-10  Tom Tromey  <tromey@redhat.com>
4534
4535         * java/sql/Timestamp.java (compareTo(Object)): New method.
4536         (compareTo(Timestamp)): Likewise.
4537         (serialVersionUID): Updated.
4538
4539 2003-02-07  Mark Wielaard  <mark@klomp.org>
4540
4541         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4542         when verify is true.
4543         (JarFile(File, boolean)): Likewise.
4544         (manifestRead): Set manifestRead field correctly.
4545
4546 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4547
4548         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4549         tests; see patch #1016 on Savannah.
4550
4551 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4552
4553         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4554         (toString): do not return Strings starting with . and - erroneously.
4555         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4556         DiagBigDecimal.
4557
4558 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4559
4560         * java/beans/PropertyDescriptor.java
4561         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4562         methods.
4563         (PropertyDescriptor(String, Class, String, String)): Likewise.
4564         (PropertyDescriptor(String, Method, Method): Factor out getter and
4565         setter method sanity checks into new method.
4566         (findMethods): Don't do parameter sanity checking of get method here.
4567         (checkMethods): New method.
4568
4569 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4570
4571         * java/beans/PropertyDescriptor.java: Reformat.
4572
4573 2003-02-04  Tom Tromey  <tromey@redhat.com>
4574
4575         * java/io/PipedOutputStream.java (flush): Declare as throwing
4576         IOException.
4577         (close): Likewise.
4578         * java/io/PipedWriter.java (close): Declare as throwing
4579         IOException.
4580         * java/io/StringWriter.java (close): Declare as throwing
4581         IOException.
4582
4583 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4584
4585         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4586         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4587         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4588         "_JNI_OnLoad@8" (MSVC).
4589
4590 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4591
4592         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4593         convention on Win32 to invoke native JNI methods.
4594
4595 2003-02-03  Andrew Haley  <aph@redhat.com>
4596
4597         * configure.host (x86_64): Enable interpreter.
4598
4599 2003-02-03  Andrew Haley  <aph@redhat.com>
4600
4601         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4602         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4603         * configure.in (BACKTRACESPEC): New.
4604         * configure: Regenerate.
4605
4606 2003-02-02  Tom Tromey  <tromey@redhat.com>
4607
4608         * configure: Rebuilt.
4609         * configure.in (TOOLKIT) [xlib]: Set correctly.
4610
4611         * Makefile.in: Rebuilt.
4612         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4613         libstdc++.
4614
4615 2003-01-31  Mark WIelaard  <mark@klomp.org>
4616
4617         * Makefile.in: Rebuilt.
4618         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4619
4620 2003-01-31  Tom Tromey  <tromey@redhat.com>
4621
4622         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4623         cast to element type.
4624         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4625         (_Jv_JNI_GetObjectArrayElement): Likewise.
4626
4627         * Makefile.in: Rebuilt.
4628         * Makefile.am (cond_x_ltlibrary): Renamed library to
4629         lib-gnu-awt-xlib.la.
4630         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4631         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4632         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4633         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4634         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4635         (lib_gnu_awt_xlib_la_LINK): Likewise.
4636         (install-exec-hook): Removed.
4637         (lib-gnu-awt-xlib.la): Renamed.
4638
4639 2003-01-31  Tom Tromey  <tromey@redhat.com>
4640
4641         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4642         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4643         aclocal.m4 and lost in some merge.
4644
4645         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4646         Don't try to find graphics configuration.
4647         * java/awt/Toolkit.java (default_toolkit_name): Use new
4648         Configuration entry.
4649         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4650         New global.
4651         * configure: Rebuilt.
4652         * configure.in (TOOLKIT): New subst.
4653         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4654         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4655         directory.  Make output directories for .c files.
4656         * Makefile.in: Rebuilt.
4657         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4658         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4659         (all_java_source_files): Added new sources.
4660         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4661         (gtk_c_files): New macro.
4662         (gtk_c_source_files): New macro.
4663         (cond_gtk_ltlibrary): New macro.
4664         ($(gtk_c_files)): New target.
4665         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4666         (gtk_awt_peer_sources): New macro.
4667         (gtk_c_headers): New macro.
4668         ($(gtk_c_headers)): New target.
4669         (ACLOCAL_AMFLAGS): New macro.
4670         * gtk.m4, glib.m4, libart.m4: New files.
4671         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4672         gnu/java/awt/peer/gtk/GdkGraphics.java,
4673         gnu/java/awt/peer/gtk/GtkArg.java,
4674         gnu/java/awt/peer/gtk/GtkArgList.java,
4675         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4676         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4677         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4678         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4679         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4680         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4681         gnu/java/awt/peer/gtk/GtkClipboard.java,
4682         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4683         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4684         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4685         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4686         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4687         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4688         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4689         gnu/java/awt/peer/gtk/GtkImage.java,
4690         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4691         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4692         gnu/java/awt/peer/gtk/GtkListPeer.java,
4693         gnu/java/awt/peer/gtk/GtkMainThread.java,
4694         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4695         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4696         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4697         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4698         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4699         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4700         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4701         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4702         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4703         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4704         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4705         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4706         gnu/java/awt/peer/gtk/GtkToolkit.java,
4707         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4708         gnu/java/awt/peer/gtk/TestAWT.java,
4709         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4711         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4712         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4713         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4714         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4715         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4716         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4717         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4718         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4719         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4720         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4721         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4723         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4724         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4725         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4726         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4728         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4729         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4730         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4731         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4732         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4733         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4734         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4735         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4736         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4737         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4738         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4739         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4740         jni/classpath/native_state.c, jni/classpath/native_state.h,
4741         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4742
4743 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4744
4745         * java/util/Properties.java (load): Ignore backslash before EOF.
4746
4747 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4748
4749         * java/lang/natClass.cc (initializeClass): Check tables when
4750         (state == JV_STATE_IN_PROGRESS).
4751         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4752         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4753         interpreted classes.
4754         (linkClass0): Use _Jv_WaitForState.
4755
4756 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4757
4758         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4759         object when finished.
4760
4761 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4762
4763         * libjava/configure.host: Disable can_unwind_signal on darwin.
4764
4765 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4766
4767         Fixes PR java/9254:
4768         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4769         additionally containing id of the owner thread as well as
4770         the number of nested times the thread has acquired the mutex.
4771         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4772         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4773         (_Jv_MutexUnlock): Check if really the owner thread, reset
4774         owner thread id to 0 before leaving, if leaving for the last
4775         time.
4776         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4777         refcount.
4778         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4779         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4780         the passed mutex.
4781         Pass handle of the broadcast event, instead of a pointer to it
4782         in Win32 ResetEvent( ) call.
4783         Remove incorrect return values.
4784         (_Jv_CondDestroy): Close both event handles and delete
4785         critical section.
4786         (_Jv_CondNotify): Check if really the owner thread.
4787         (_Jv_CondNotifyAll): Check if really the owner thread.
4788         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4789         (really_start): Use SetEvent( ) to signal daemon_cond.
4790         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4791         WaitForSingleObject( ) instead to wait for daemon_cond to be
4792         signalled.
4793
4794 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4795
4796         * configure.in: Specifically define HAVE_BACKTRACE if building
4797         for MinGW.
4798         * include/win32.h: Remove HAVE_BACKTRACE definition.
4799         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4800         * configure: Rebuilt.
4801
4802 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4803
4804         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4805         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4806         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4807         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4808         * Makefile.in, configure: Rebuilt.
4809
4810 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4811
4812         Fixes PR java/9253:
4813         * java/io/natFileWin32.cc (performList): Append only "*.*"
4814         if the canonical file path already has a "\" at the end.
4815
4816 2003-01-24  Tom Tromey  <tromey@redhat.com>
4817
4818         * defineclass.cc (handleMethodsEnd): Precompute code for static
4819         method.
4820         (handleCodeAttribute): Likewise.
4821         * resolve.cc (ncode): Use run_class for unsynchronized static
4822         methods.
4823         * include/java-interp.h (class _Jv_InterpMethod): Declare
4824         run_class.
4825         * interpret.cc (run_synch_class): Initialize class.
4826         (run) [insn_invokestatic]: Don't initialize class.
4827         [insn_anewarray]: Likewise.
4828         [insn_multianewarray]: Likewise.
4829         (run_class): New function.
4830
4831 2003-01-24  Tom Tromey  <tromey@redhat.com>
4832
4833         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4834         comment.
4835
4836 2003-01-22  Andrew Haley  <aph@redhat.com>
4837
4838         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4839         * configure.host (CHECKREFSPEC): Define for x86_64.
4840
4841 2003-01-21  Tom Tromey  <tromey@redhat.com>
4842
4843         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4844         search at 2, not 3.
4845
4846 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4847
4848         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4849         looking at any characters.
4850         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4851         be used.
4852         (isAbsolute): Check path's length as well.
4853
4854 2003-01-17  Mark Wielaard  <mark@klomp.org>
4855
4856         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4857         (nat_source_files): Add natVMObjectStreamClass.cc.
4858         * Makefile.in: Regenerated.
4859         * gcj/javaprims.h (namespace java): Regenerated.
4860         * java/io/ObjectStreamClass.java (getClassUID): Call
4861         VMObjectStreamClass.hasClassInitializer().
4862         (hasClassInitializer): Removed.
4863         * java/io/VMObjectStreamClass.java: New class.
4864         * java/io/natVMObjectStreamClass.cc: New file.
4865         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4866
4867 2003-01-16  Mark Wielaard  <mark@klomp.org>
4868
4869         * java/net/SocketImpl.java (toString): Don't explicitly call
4870         toString() on possible null address.
4871
4872 2003-01-16  Michael Koch  <konqueror@gmx.de>
4873
4874         * java/net/MulticastSocket.java
4875         (setInterface): Reindented.
4876
4877 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4878
4879         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4880         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4881         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4882         translateY arguments.  Implement.
4883         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4884         down translation arguments.
4885         (drawPolyline, drawPolygon): Fix incorrect tests.
4886         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4887         translateX and translateY arguments.
4888
4889 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4890
4891         * Makefile.in: Rebuilt.
4892         * Makefile.am (xlib_includes): New macro.
4893         (INCLUDES): Use it.
4894
4895 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4896
4897         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4898         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4899         16-bit display mode.
4900
4901 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4902
4903         * java/awt/CardLayout.java (show): Rewrote.
4904         (gotoComponent): Removed `target' argument.  Simplified code.
4905         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4906         Changed all callers.
4907         (NONE): Removed.
4908         
4909 2003-01-14  Michael Koch  <konqueror@gmx.de>
4910
4911         * java/net/InetSocketAddress.java
4912         (serialVersionUID): New member variable.
4913         * java/net/NetPermission.java
4914         (NetPermission): Dont implement java.io.Serialization directly.
4915         * java/net/SocketAddress.java:
4916         (serialVersionUID): Documentation added.
4917         
4918 2003-01-14  Michael Koch  <konqueror@gmx.de>
4919
4920         * java/awt/Label.java
4921         (Label): Implements javax.accessibility.Accessible;
4922         * java/awt/List.java
4923         (List): Implements javax.accessibility.Accessible;
4924         * java/awt/ScrollPane.java
4925         (ScrollPane): Implements javax.accessibility.Accessible;
4926         * java/awt/Scrollbar.java
4927         (Scrollbar): Implements javax.accessibility.Accessible;
4928         * java/awt/TextComponent.java
4929         (setCaretPosition): Throw exception, documentation added.
4930         * java/awt/Toolkit.java:
4931         Added some newlines in method documentations.
4932         (createButton): Exception documentation added.
4933         (createTextField): Exception documentation added.
4934         (createLabel): Exception documentation added.
4935         (createList): Exception documentation added.
4936         (createCheckbox): Exception documentation added.
4937         (createScrollbar): Exception documentation added.
4938         (createScrollPane): Exception documentation added.
4939         (createTextArea): Exception documentation added.
4940         (createChoice): Exception documentation added.
4941         (createFrame): Exception documentation added.
4942         (createWindow): Exception documentation added.
4943         (createDialog): Exception documentation added.
4944         (createMenuBar): Exception documentation added.
4945         (createMenu): Exception documentation added.
4946         (createMenuItem): Exception documentation added.
4947         (createFileDialog): Exception documentation added.
4948         (createCheckboxMenuItem): Exception documentation added.
4949         (loadSystemColors): Exception documentation added.
4950         (setDynamicLayout): Exception documentation added.
4951         (isDynamicLayoutSet): Exception documentation added.
4952         (isDynamicLayoutActive): Exception documentation added.
4953         (getScreenSize): Exception documentation added.
4954         (getScreenResolution): Exception documentation added.
4955         (getScreenInsets): Exception documentation added.
4956         (getColorModel): Exception documentation added.
4957         (getSystemClipboard): Exception documentation added.
4958         (getSystemSelection): Exception documentation added.
4959         (getMenuShortcutKeyMask): Exception documentation added.
4960         (getSystemEventQueue): Exception documentation added.
4961         * java/awt/Window.java:
4962         Reindented some code.
4963         (Window): Centralized implementation, documentation added.
4964         (finalize): Documentation added.
4965         (hide): Fixed typo in comment.
4966         (getWindowListeners): Documentation added.
4967         * java/awt/color/ColorSpace.java
4968         (toRGB): Documentation added.
4969         * java/awt/color/ICC_ColorSpace.java
4970         (ICC_ColorSpace): Documentation added.
4971         (toRGB): Throw exception, documentation added.
4972         (fromRGB): Throw exception, documentation added.
4973         (toCIEXYZ): Documentation added.
4974         (fromCIEXYZ): Documentation added.
4975         (getMinValue): Documentation added.
4976         (getMaxValue): Documentation added.
4977         * java/awt/geom/Dimension2D.java
4978         (clone): Documentation added.
4979         * java/awt/geom/GeneralPath.java
4980         (clone): Documentation added.
4981         * java/awt/geom/Line2D.java
4982         (clone): Documentation added.
4983         * java/awt/geom/QuadCurve2D.java
4984         (clone): Documentation added.
4985         * java/awt/image/ColorModel.java
4986         (ColorModel): Throw exception, documentation added.
4987         * java/awt/image/ImageFilter.java
4988         (clone): Doesnt throw CloneNotSupportedException.
4989
4990 2003-01-14  Andrew Haley  <aph@redhat.com>
4991
4992         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
4993         in a try block.
4994
4995 2003-01-10  Andrew Haley  <aph@redhat.com>
4996
4997         * include/dwarf2-signal.h: Remove x86_64.
4998         * configure.host (x86_64 DIVIDESPEC): Remove.
4999         * include/x86_64-signal.h: New file.
5000         * configure.in: Regenerate.
5001
5002 2003-01-10  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/net/DatagramSocket.java
5005         (ch): Description added.
5006         (remotePort): Initialize with -1.
5007         (connect): Doesnt throws SocketException.
5008         * java/net/MulticastSocket.java
5009         (setInterface): Merge with Classpath.
5010         * java/net/ServerSocket.java
5011         (closed): New member variable.
5012         (bind): Check if socket is closed.
5013         (close): Close an associated channel too, set new value to closed.
5014         (isBound): Reindented.
5015         (isClosed): Implemented.
5016         * java/net/Socket.java
5017         (closed): New member variable.
5018         (bind): Check if socket is closed.
5019         (connect): Check if socket is closed.
5020         (close): Close an associated channel too, set new value to closed.
5021         (isClosed): Implemented.
5022
5023 2003-01-10  Michael Koch  <konqueror@gmx.de>
5024
5025         * java/awt/DisplayMode.java
5026         (equals): Fixed argument type and implementation.
5027
5028 2003-01-07  Tom Tromey  <tromey@redhat.com>
5029
5030         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5031         JV_HASH_SYNCHRONIZATION.
5032         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5033         JV_HASH_SYNCHRONIZATION.
5034
5035 2003-01-07  Michael Koch  <konqueror@gmx.de>
5036  
5037         * java/net/DatagramSocket.java:
5038         Added classpath license info.
5039         (DatagramSocket): Merged description with classpath.
5040         (close): Merged description with classpath.
5041         (getChannel): Merged description with classpath.
5042         (getInetAddress): Merged description with classpath.
5043         (getPort): Merged description with classpath.
5044         (getLocalAddress): Merged description with classpath.
5045         (getLocalPort): Merged description with classpath.
5046         (getSoTimeout): Merged description with classpath.
5047         (setSoTimeout): Merged description with classpath.
5048         (getSendBufferSize): Merged description with classpath.
5049         (setSendBufferSize): Merged description with classpath.
5050         (getReceiveBufferSize): Merged description with classpath.
5051         (setReceiveBufferSize): Merged description with classpath.
5052         
5053 2003-01-04  Tom Tromey  <tromey@redhat.com>
5054
5055         * java/awt/List.java: Merged with Classpath.
5056
5057 2003-01-03  Mark Wielaard  <mark@klomp.org>
5058
5059         * java/io/FileDescriptor.java (position): New private field.
5060         * java/io/natFileDescriptorPosix.cc (write): Up position.
5061         (setLength): Use and set position.
5062         (seek): Set position.
5063         (getFilePointer): Return position.
5064         (read): Up position.
5065
5066 2003-01-03  Mark Wielaard  <mark@klomp.org>
5067
5068         Merge with Classpath:
5069         * java/io/ObjectStreamClass.java (lookup): Split method and call
5070         lookupForClassObject().
5071         (lookupForClassObject): New method.
5072         (isProxyClass): New field.
5073         (setClass): Set isProxyClass, add object to classLookupTable, set
5074         superClass and calculateOffsets.
5075         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5076         and not a proxy class.
5077         (setFields): Set accessible true for serialPersistentFields.
5078         (getClassUID): Same for suid. And check if suid is of type long.
5079         (hasClassInitializer): Don't throw NoSuchMethodError.
5080
5081 2003-01-03  Mark Wielaard  <mark@klomp.org>
5082
5083         * java/io/FileInputStream.java (finalize): Don't explicitly
5084         finalize FileDescriptor.
5085
5086 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5087
5088         * configure.host (sparc*-*): Enable bytecode interpreter.
5089
5090 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5091
5092         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5093         Don't throw RemoteException.
5094         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5095         throw RemoteException.
5096
5097 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5098
5099         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5100         proxyHost): New static fields.
5101         (<clinit>): Initialize new fields.
5102         (connect): Use proxy if necessary.
5103         (usingProxy): Implement.
5104
5105 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5106
5107         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5108         (TreeIterator.remove): Prefer IllegalStateException over
5109         ConcurrentModificationException, to match Sun.
5110
5111 2002-12-22  Anthony Green  <green@redhat.com>
5112
5113         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5114
5115 2003-01-02  Mark Wielaard  <mark@klomp.org>
5116
5117         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5118         public.
5119         (HTTP_USE_PROXY): Add field.
5120         (getResponseVals): Only set responseCode when not yet explicitly
5121         set by subclass.
5122
5123 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5124             Mark Wielaard  <mark@klomp.org>
5125
5126         * java/util/zip/ZipFile.java (entries): Now HashMap.
5127         (readLeShort(DataInput, byte[])): Read from given byte array.
5128         (readLeInt(DataInput, byte[]): Likewise.
5129         (readLeShort(byte[] b, int off)): New method.
5130         (readLeInt(byte[] b, int off)): Likewise.
5131         (readEntries): Use byte arrays to read info in bigger chunks.
5132         (getEntries): Return HashMap.
5133         (getEntry): Use HashMap.
5134         (locBuf): New private field.
5135         (checkLocalHeader): Use locBuf to read info in one chunk.
5136         (getInputStream): Use entries HashMap, wrap PartialInputStream
5137         in BufferedInputStream.
5138         (ZipEntryEnumeration): Use HashMap and Interator.
5139
5140 2003-01-02  Mark Wielaard  <mark@klomp.org>
5141             Jeroen Frijters  <jeroen@sumatra.nl>
5142
5143         * java/net/URLClassLoader.java (Resource.getCodeSource):
5144         Fix check certs == null.
5145         (getCanonicalFileURL): Removed method.
5146         (JarURLLoader): Don't call removed method.
5147         (FileURLLoader): Likewise.
5148         (FileURLLoader.getResource): Don't canonicalize file name.
5149
5150 2003-01-01  Tom Tromey  <tromey@redhat.com>
5151
5152         * Makefile.in: Rebuilt.
5153         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5154         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5155         java/awt/BufferCapabilities.java, java/awt/Button.java,
5156         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5157         java/awt/Container.java, java/awt/Cursor.java,
5158         java/awt/EventQueue.java, java/awt/FileDialog.java,
5159         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5160         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5161         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5162         java/awt/Scrollbar.java, java/awt/TextArea.java,
5163         java/awt/TextField.java, java/awt/color/CMMException.java,
5164         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5165         java/awt/color/ProfileDataException.java,
5166         java/awt/datatransfer/Clipboard.java,
5167         java/awt/datatransfer/DataFlavor.java,
5168         java/awt/datatransfer/FlavorMap.java,
5169         java/awt/datatransfer/SystemFlavorMap.java,
5170         java/awt/dnd/DragGestureEvent.java,
5171         java/awt/dnd/DragGestureRecognizer.java,
5172         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5173         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5174         java/awt/im/InputMethodHighlight.java,
5175         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5176         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5177
5178         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5179         `op' to BufferedImageOp.
5180
5181 2002-12-31  Tom Tromey  <tromey@redhat.com>
5182
5183         Fix for PR libgcj/7416:
5184         * javax/naming/InitialContext.java (init): Use
5185         gnu.classpath.home.url.
5186         * java/security/Security.java: Use new properties.
5187         (loadProviders): Accept base url; use it.
5188         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5189         gnu.classpath.home.url.
5190         (gnu.classpath.home.url): Define.
5191         (gnu.classpath.vm.shortname): Likewise.
5192
5193 2002-12-31  Tom Tromey  <tromey@redhat.com>
5194             Ranjit Mathew  <rmathew@hotmail.com>
5195
5196         Fix for PR libgcj/8997:
5197         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5198         Include platform.h.
5199         * include/posix.h (_Jv_platform_usleep): New function.
5200         * include/win32.h (_Jv_platform_usleep): New function.
5201
5202 2002-12-29  Tom Tromey  <tromey@redhat.com>
5203
5204         * gcj/javaprims.h: Updated.
5205         * scripts/classes.pl (scan): Removed stray semicolon.
5206
5207 2002-12-30  Mark Wielaard  <mark@klomp.org>
5208
5209         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5210         if zero or smaller.
5211
5212 2002-12-30  Mark Wielaard  <mark@klomp.org>
5213
5214         * java/util/Properties (formatForOutput): Don't fall through to
5215         default case after escaping character.
5216
5217 2002-12-30  Mark Wielaard  <mark@klomp.org>
5218
5219         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5220         against count.
5221
5222 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5223
5224         * boehm.cc: Remove stray semicolon.
5225         * interpret.cc: Likewise.
5226         * prims.cc: Likewise.
5227         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5228         earlier to ensure default arguments are processed.
5229         * gcj/array.h (JArray): Add forward declaration.
5230         (elements): Likewise.
5231         * gcj/javaprim.h: Remove stray semicolons.
5232         * include/bohm-gc.h: Likewise.
5233         * include/jni.h: Likewise.
5234         * include/jvm.h: Likewise.
5235         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5236         
5237 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5238
5239         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5240         of catch_type.
5241         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5242         idt tables after initializing superclass.
5243         * java/lang/natClassLoader.cc (uaddr): New typedef.
5244         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5245         if they are constant pool indicies.  Don't link vtable, otable yet.
5246
5247 2002-12-21  Anthony Green  <green@redhat.com>
5248
5249         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5250         libraries.
5251         * Makefile.in: Rebuilt.
5252
5253 2002-12-19  Anthony Green  <green@redhat.com>
5254
5255         * Makefile.am (ordinary_java_source_files): Add
5256         org/xml/sax/helpers/NewInstance.java.
5257         * Makefile.in: Rebuilt.
5258         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5259         org/xml/sax/helpers/package.html: New files.
5260         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5261         http://www.saxproject.org.
5262
5263 2002-12-19  Andrew Haley  <aph@redhat.com>
5264
5265         * java/util/natResourceBundle.cc: Include
5266         ArrayIndexOutOfBoundsException.h.
5267         (getCallingClassLoader): Don't put upper bound on stack search.
5268         Catch ArrayIndexOutOfBoundsException.
5269
5270 2002-12-19  Tom Tromey  <tromey@redhat.com>
5271
5272         * libtool-version: Increased `current'.
5273
5274 2002-12-19  Tom Tromey  <tromey@redhat.com>
5275
5276         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5277         comment.
5278         * java/lang/ClassLoader.java (defineClass): Use chained
5279         exception when rethrowing.
5280         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5281         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5282         constants.
5283         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5284         (_Jv_PrepareClass): Use it.
5285         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5286         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5287         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5288         (Class): _Jv_PrepareMissingMethods now friend.
5289         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5290         Record `NULL' for system class loader.
5291         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5292         system class loader.
5293         (_Jv_FindClassInCache): Likewise.
5294         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5295         (_Jv_FindClass): Special case system class loader.
5296         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5297         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5298         vtable slots.
5299         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5300         in a final class.
5301         (_getDeclaredMethod): Don't return synthetic methods.
5302         (getDeclaredMethods): Likewise.
5303         (_getMethod): Likewise.
5304         (_getMethods): Likewise.
5305
5306 2002-12-18  Raif Naffah  <raif@fl.net.au>
5307
5308         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5309         canonical form after divide().
5310         (modInverse): Likewise.
5311
5312 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5313             Mark Wielaard  <mark@klomp.org>
5314
5315         * java/security/SecurityRandom (digest): Removed field.
5316         (SecureRandom): Check all providers for case-insensitive SecureRandom
5317         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5318         if necessary.
5319         (getInstance(String,Provider,boolean): New method.
5320         (getInstance(String)): Use new method.
5321         (getInstance(String,String)): Likewise.
5322         (getInstance(String,Provider)): Likewise.
5323
5324 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5325
5326         * java/security/Security.java (loadProviders): Increment i only once.
5327
5328 2002-12-12  Mark Wielaard  <mark@klomp.org>
5329
5330         * java/lang/ClassLoader.java (resolveClass0): Transform
5331         ClassNotFoundException to NoClassDefFoundError. Transform all other
5332         throwables to LinkageError.
5333
5334 2002-12-11  Tom Tromey  <tromey@redhat.com>
5335
5336         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5337
5338         * java/lang/ClassLoader.java (loadedClasses): New field.
5339         (defineClass): Fixed indentation.  Put new class in
5340         loadedClasses.
5341         (findLoadedClass): Implement here.
5342         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5343
5344 2002-12-10  Tom Tromey  <tromey@redhat.com>
5345
5346         * Makefile.in: Rebuilt.
5347         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5348         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5349         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5350         * java/lang/natClassLoader.cc
5351         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5352
5353 2002-12-10  Mark Wielaard  <mark@klomp.org>
5354             Tom Tromey  <tromey@redhat.com>
5355
5356         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5357         (JarURLLoader): Use it.
5358         (FileURLLoader): Likewise.
5359         (JarURLResource.getURL): Use chained exception.
5360         (FileResource.getURL): Likewise.
5361         (FileURLLoader.getResource): Use canonical file name.
5362         (addURL): Indentation fix.
5363
5364 2002-12-10  Tom Tromey  <tromey@redhat.com>
5365
5366         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5367         From Laurent Bardet <l.bardet@magic.fr>.
5368
5369 2002-12-09  Tom Tromey  <tromey@redhat.com>
5370
5371         * include/win32.h (_Jv_platform_solib_prefix): New define.
5372         (_Jv_platform_solib_suffix): Likewise.
5373         * include/posix.h (_Jv_platform_solib_prefix): New define.
5374         (_Jv_platform_solib_suffix): Likewise.
5375         * java/lang/natRuntime.cc: Include StackTrace.h.
5376         (_load): Use findLibrary and new platform defines.
5377         (nativeGetLibname): Use new platform defines.
5378
5379         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5380         `t' won't be null.
5381
5382 2002-12-08  Mark Wielaard  <mark@klomp.org>
5383
5384         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5385         cache remote jar files.
5386         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5387         add File.separator to URL when it is a directory.
5388         * java/lang/ClassLoader.java: Add Classpath javadoc.
5389         (parent): final.
5390         (getParent): Add (disabled) security check.
5391         (findLibrary): New default method.
5392         * java/net/JarURLConnection.java (getManifest): Implement.
5393         (getInputStream): Only create InputStream when entry exists.
5394         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5395         when they exist.
5396         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5397
5398 2002-12-08  Mark Wielaard  <mark@klomp.org>
5399
5400         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5401         (lastDefaultLocale): New field.
5402         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5403         resourceBundleCache.
5404
5405 2002-12-06  Mark Wielaard  <mark@klomp.org>
5406
5407         * java/net/InetAddress.java (toString): Use hostname when not null,
5408         don't do an explicit reverse getHostName() lookup.
5409         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5410         NullPointerException.
5411
5412 2002-12-06  Tom Tromey  <tromey@redhat.com>
5413
5414         * include/java-interp.h (class _Jv_InterpMethod): Added
5415         JV_MARKOBJ_DECL.
5416         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5417         mark `prepared' field of interpreted method.
5418         * interpret.cc (compile): Use _Jv_AllocBytes.
5419
5420 2002-12-05  Andrew Haley  <aph@redhat.com>
5421
5422         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5423         #ifdef (HAVE_BACKTRACE) around the whole function body.
5424
5425 2002-12-05  Tom Tromey  <tromey@redhat.com>
5426
5427         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5428         * resolve.cc: Don't include AbstractMethodError.h.
5429         (_Jv_abstractMethodError): Removed.
5430         * defineclass.cc (handleMethodsBegin): Initialize method index to
5431         -1.
5432         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5433         method index for "new" final method.
5434         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5435         isVirtualMethod.  Added `flags' argument.
5436         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5437         class.
5438
5439 2002-12-04  Tom Tromey  <tromey@redhat.com>
5440
5441         * java/net/SocketPermission.java (hashCode): Rewrote.
5442
5443 2002-12-04  Tom Tromey  <tromey@redhat.com>
5444
5445         * Makefile.in: Rebuilt.
5446         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5447         natResourceBundle.
5448         * java/util/ResourceBundle.java (Security): Removed.
5449         (getCallingClassLoader): Now native.
5450         * java/util/natResourceBundle.cc: New file.
5451         * java/lang/natVMSecurityManager.cc: New file.
5452         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5453
5454 2002-12-03  Mark Wielaard  <mark@klomp.org>
5455
5456         * java/util/jar/JarFile.java (manifest): Not final.
5457         (manifestRead): New field.
5458         (JarFile): Don't read Manifest in constructor.
5459         (getManifest): New method.
5460         (JarEnumeration.nextElement): Use new method.
5461         (getEntry): Likewise.
5462         * java/util/zip/ZipFile.java (name): Final.
5463         (raf): Likewsie.
5464         (entries): Change type to Hashtable.
5465         (closed): New field.
5466         (ZipFile): Don't read enties in constructor.
5467         (readEntries): Use Hashtable.
5468         (close): Set new close flag and set entries to null inside
5469         synchronized block.
5470         (entries): Contruct enumeration using new getEntries() method and
5471         entries Hashtable.
5472         (getEntryIndex): Removed.
5473         (getEntries): New method.
5474         (getEntry): Use new getEntries() method and entries Hastable.
5475         (getInputStream): Likewise.
5476         (size): Return getEntries().size().
5477         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5478         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5479         (time): Removed
5480         (dostime): New field.
5481         (zipFileIndex): Removed.
5482         (ZipEntry(ZipEntry)): Copy dostime.
5483         (setDOSTime): Now final and doesn't convert dos time.
5484         (getDOSTime): Likewise.
5485         (setTime): Convert dos time.
5486         (getTime): Likewise.
5487         (getCalendar): New method.
5488         (setExtra): Use setTime().
5489         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5490
5491 2002-12-03  Tom Tromey  <tromey@redhat.com>
5492
5493         * java/lang/Character.java (forDigit): Formatting fix.
5494
5495 2002-12-03  Raif Naffah  <raif@fl.net.au>
5496
5497         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5498         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5499         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5500
5501 2002-12-03  Andrew Haley  <aph@redhat.com>
5502
5503         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5504         _Jv_PushClass.
5505         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5506         (_Jv_PopClass): New.
5507         (_Jv_PushClass): New.
5508         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5509         discover the ClassLoader of our caller.
5510         (_Jv_CheckArrayStore): Don't check that a class is assignment
5511         compatible with Object.
5512         * java/lang/natVMTHrowable.cc: Delete.
5513         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5514         java.lang.VMThrowable.
5515         (StackTrace(), StackTrace(int)): New constructors.
5516         (classAt, methodAt, update, methodAtAddress): New methods.
5517         (map): New field.
5518         * java/lang/VMThrowable.java: Use StackTrace instead of
5519         natVMTHrowable.
5520         * java/lang/Class.h (getClassLoaderInternal): New.
5521         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5522         Be friendly with gnu::gcj::runtime::StackTrace.
5523         (Object.chain): New field.
5524         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5525         gnu::gcj::runtime::StackTrace.
5526         * gnu/gcj/runtime/natStackTrace.cc: New file.
5527         * gnu/gcj/runtime/MethodRef.java: New file.
5528         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5529         instead of getClassLoader().
5530         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5531         java::lang::VMThrowable.
5532         * Makefile.am (core_java_source_files): Add MethodRef.java,
5533         StackTrace.java.
5534         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5535         * Makefile.in: Rebuild.
5536
5537 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5538
5539         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5540         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5541         yes also for sh-linux* and sh[34]*-linux*.
5542         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5543         set SIGNAL_HANDLER to use DWARF2 exception for them.
5544         * configure: Regenerate.
5545
5546 2002-12-02  Tom Tromey  <tromey@redhat.com>
5547
5548         * jni.cc: Added `name' argument.
5549         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5550         `const char *' argument.
5551         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5552
5553 2002-12-01  Tom Tromey  <tromey@redhat.com>
5554
5555         Bug compatibility, for PR libgcj/8738:
5556         * java/io/CharArrayWriter.java (close): Do nothing.
5557         (flush): Likewise.
5558         (reset): Don't touch `closed'.
5559         (write(int)): Don't throw IOException.
5560         (write(char[],int,int)): Likewise.
5561         (write(String,int,int)): Likewise.
5562         (closed): Removed.
5563
5564 2002-12-01  Mark Wielaard  <mark@klomp.org>
5565
5566         * java/lang/SecurityManager.java: Remerge comments, indenting and
5567         checkXXX methods with Classpath.
5568
5569 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5570
5571         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5572         getNormalizedComponents): Fix calculation which was using one too
5573         many bits in the unnormalized format.
5574
5575 2002-11-29  Gary Benson  <gbenson@redhat.com>
5576
5577         For PR libgcj/8759:
5578         * java/beans/Introspector.java (flushCaches): New method.
5579         (flushFromCaches): Likewise.
5580
5581 2002-11-29  Michael Koch <konqueror@gmx.de>
5582
5583         * java/nio/channels/DatagramChannel.java
5584         (open): Added exception documentation.
5585         (write): Added exception documentation.
5586         (connect): Added exception documentation.
5587         (disconnect): Added exception documentation.
5588         (isConnected): Added exception documentation.
5589         (read): Added exception documentation.
5590         (receive): Added exception documentation.
5591         (send): Added exception documentation.
5592         (validOps): Added exception documentation.
5593         * java/nio/channels/SocketChannel.java
5594         (open): Added exception documentation.
5595         (read): Added exception documentation.
5596         (write): Added exception documentation.
5597         (connect): Added exception documentation.
5598         (finishConnect): Added exception documentation.
5599
5600 2002-11-29  Michael Koch <konqueror@gmx.de>
5601
5602         * gnu/java/nio/DatagramChannelImpl:
5603         (fd): New member variable to store file descriptor of socket.
5604         * gnu/java/nio/SelectionKeyImpl.java:
5605         (ops): Removed.
5606         (readyOps): New member variable.
5607         (interestOps): New member variable.
5608         (readyOps): Implemented.
5609         (readyOps): New method to set member variable readyOps.
5610         (interestOps): Replaced ops by interestOps.
5611         * gnu/java/nio/SelectorImpl.java:
5612         (SelectorImpl): Initialize key sets.
5613         (select): Call select with -1 instead of Long.MAX_VALUE).
5614         (java_do_select): Make it a native method.
5615         (getFDsAsArray): New helper method.
5616         (select): Remove canceled keys, give only interested file discriptors
5617         to java_do_select, set ready ops.
5618         (add): No need to initialize keys set here.
5619         (add_selected): No need to initialize selected set here.
5620         (deregisterCanceledKeys): New helper method.
5621         (register): Set interest ops, set attachments, added handling of datagram
5622         channels.
5623         * gnu/java/nio/ServerSocketChannelImpl:
5624         (SocketAccept): Renamed from NioSocketAccept.
5625         (implConfigureBlocking): Implemented.
5626         (accept): Use SocketAccept instead of NioSocketAccept.
5627         * gnu/java/nio/SocketChannelImpl:
5628         Reactivate native methods.
5629
5630 2002-11-29  Michael Koch <konqueror@gmx.de>
5631
5632         * gnu/java/nio/natByteBufferImpl.cc,
5633         gnu/java/nio/natCharBufferImpl.cc,
5634         gnu/java/nio/natDoubleBufferImpl.cc,
5635         gnu/java/nio/natFloatBufferImpl.cc,
5636         gnu/java/nio/natIntBufferImpl.cc,
5637         gnu/java/nio/natLongBufferImpl.cc,
5638         gnu/java/nio/natSelectorImpl.cc,
5639         gnu/java/nio/natServerSocketChannelImpl.cc,
5640         gnu/java/nio/natShortBufferImpl.cc,
5641         gnu/java/nio/natSocketChannelImpl.cc:
5642         New files that implement native functionalities.
5643
5644 2002-11-29  Michael Koch <konqueror@gmx.de>
5645
5646         * gnu/java/nio/ByteBufferImpl.java
5647         (ByteBufferImpl): Moved position() after limit.
5648         (nio_*): Use native implementation.
5649         * gnu/java/nio/CharBufferImpl.java:
5650         Reformated.
5651         (endian): New member variable string endianess of buffer.
5652         (CharBufferImpl): Moved position() after limit.
5653         (nio_*): Use native implementation.
5654         (subSequence): Implemented.
5655         * gnu/java/nio/DoubleBufferImpl.java
5656         (DoubleBufferImpl): Moved position() after limit.
5657         (nio_*): Use native implementation.
5658         * gnu/java/nio/FloatBufferImpl.java
5659         Reformated.
5660         (FloatBufferImpl): Moved position() after limit.
5661         (nio_*): Use native implementation.
5662         * gnu/java/nio/IntBufferImpl.java
5663         Added needed imports, Reformated.
5664         (IntBufferImpl): Moved position() after limit.
5665         (nio_*): Use native implementation.
5666         * gnu/java/nio/LongBufferImpl.java
5667         Reformated.
5668         (LongBufferImpl): Moved position() after limit.
5669         (nio_*): Use native implementation.
5670         * gnu/java/nio/ShortBufferImpl.java
5671         Reformated.
5672         (ShortBufferImpl): Moved position() after limit.
5673         (nio_*): Use native implementation.
5674
5675 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5676
5677         * java/util/Locale.java (toString): Improve efficiency if country
5678         and variant are both empty.
5679
5680 2002-11-26  Tom Tromey  <tromey@redhat.com>
5681
5682         * verify.cc (pop_init_ref): New method.
5683         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5684         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5685         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5686         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5687         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5688         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5689         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5690         let `this' argument be uninitialized.  Don't let `null' be passed
5691         as `this' to construtor.
5692
5693 2002-11-26  Mark Wielaard  <mark@klomp.org>
5694
5695         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5696         * javax/transaction/HeuristicMixedException.java: Likewise.
5697         * javax/transaction/HeuristicRollbackException.java: Likewise.
5698         * javax/transaction/InvalidTransactionException.java: Likewise.
5699         * javax/transaction/NotSupportedException.java: Likewise.
5700         * javax/transaction/RollbackException.java: Likewise.
5701         * javax/transaction/Status.java: Likewise.
5702         * javax/transaction/Synchronization.java: Likewise.
5703         * javax/transaction/SystemException.java: Likewise.
5704         * javax/transaction/Transaction.java: Likewise.
5705         * javax/transaction/TransactionManager.java: Likewise.
5706         * javax/transaction/TransactionRequiredException.java: Likewise.
5707         * javax/transaction/TransactionRolledbackException.java: Likewise.
5708         * javax/transaction/UserTransaction.java: Likewise.
5709         * javax/transaction/xa/XAException.java: Likewise.
5710         * javax/transaction/xa/XAResource.java: Likewise.
5711         * javax/transaction/xa/Xid.java: Likewise.
5712
5713 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5714
5715         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5716         define.
5717         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5718         * include/posix.h (socklen_t): Define if not already defined.
5719
5720 2002-11-25  Tom Tromey  <tromey@redhat.com>
5721
5722         * verify.cc (type::compatible): Backed out broken change.
5723
5724         * verify.cc (type::compatible): Check initialization status
5725         first.
5726         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5727         Don't use NULLCHECK.
5728
5729 2002-11-23  H.J. Lu <hjl@gnu.org>
5730
5731         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5732         Include ../config/accross.m4.
5733         * aclocal.m4; Rebuild.
5734         * configure: Likewise.
5735
5736 2002-11-23  Mark Wielaard  <mark@klomp.org>
5737
5738         * javax/naming/AuthenticationException.java: Update copyright header.
5739         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5740         * javax/naming/Binding.java: Likewise.
5741         * javax/naming/CannotProceedException.java: Likewise.
5742         * javax/naming/CommunicationException.java: Likewise.
5743         * javax/naming/CompositeName.java: Likewise.
5744         * javax/naming/CompoundName.java: Likewise.
5745         * javax/naming/ConfigurationException.java: Likewise.
5746         * javax/naming/Context.java: Likewise.
5747         * javax/naming/ContextNotEmptyException.java: Likewise.
5748         * javax/naming/InitialContext.java: Likewise.
5749         * javax/naming/InsufficientResourcesException.java: Likewise.
5750         * javax/naming/InterruptedNamingException.java: Likewise.
5751         * javax/naming/LimitExceededException.java: Likewise.
5752         * javax/naming/LinkException.java: Likewise.
5753         * javax/naming/LinkLoopException.java: Likewise.
5754         * javax/naming/LinkRef.java: Likewise.
5755         * javax/naming/MalformedLinkException.java: Likewise.
5756         * javax/naming/NameAlreadyBoundException.java: Likewise.
5757         * javax/naming/NameClassPair.java: Likewise.
5758         * javax/naming/NameNotFoundException.java: Likewise.
5759         * javax/naming/NameParser.java: Likewise.
5760         * javax/naming/NamingEnumeration.java: Likewise.
5761         * javax/naming/NamingSecurityException.java: Likewise.
5762         * javax/naming/NoInitialContextException.java: Likewise.
5763         * javax/naming/NoPermissionException.java: Likewise.
5764         * javax/naming/NotContextException.java: Likewise.
5765         * javax/naming/OperationNotSupportedException.java: Likewise.
5766         * javax/naming/PartialResultException.java: Likewise.
5767         * javax/naming/Reference.java: Likewise.
5768         * javax/naming/Referenceable.java: Likewise.
5769         * javax/naming/ReferralException.java: Likewise.
5770         * javax/naming/ServiceUnavailableException.java: Likewise.
5771         * javax/naming/SizeLimitExceededException.java: Likewise.
5772         * javax/naming/TimeLimitExceededException.java: Likewise.
5773         * javax/naming/directory/Attribute.java: Likewise.
5774         * javax/naming/directory/AttributeInUseException.java: Likewise.
5775         * javax/naming/directory/AttributeModificationException.java: Likewise.
5776         * javax/naming/directory/Attributes.java: Likewise.
5777         * javax/naming/directory/BasicAttribute.java: Likewise.
5778         * javax/naming/directory/BasicAttributes.java: Likewise.
5779         * javax/naming/directory/DirContext.java: Likewise.
5780         * javax/naming/directory/InitialDirContext.java: Likewise.
5781         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5782         Likewise.
5783         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5784         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5785         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5786         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5787         * javax/naming/directory/ModificationItem.java: Likewise.
5788         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5789         * javax/naming/directory/SchemaViolationException.java: Likewise.
5790         * javax/naming/directory/SearchControls.java: Likewise.
5791         * javax/naming/directory/SearchResult.java: Likewise.
5792         * javax/naming/event/EventContext.java: Likewise.
5793         * javax/naming/event/EventDirContext.java: Likewise.
5794         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5795         * javax/naming/event/NamingEvent.java: Likewise.
5796         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5797         * javax/naming/event/NamingListener.java: Likewise.
5798         * javax/naming/event/ObjectChangeListener.java: Likewise.
5799         * javax/naming/ldap/Control.java: Likewise.
5800         * javax/naming/ldap/ControlFactory.java: Likewise.
5801         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5802         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5803         * javax/naming/ldap/HasControls.java: Likewise.
5804         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5805         * javax/naming/ldap/LdapContext.java: Likewise.
5806         * javax/naming/ldap/LdapReferralException.java: Likewise.
5807         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5808         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5809         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5810         * javax/naming/spi/DirObjectFactory.java: Likewise.
5811         * javax/naming/spi/DirStateFactory.java: Likewise.
5812         * javax/naming/spi/DirectoryManager.java: Likewise.
5813         * javax/naming/spi/InitialContextFactory.java: Likewise.
5814         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5815         * javax/naming/spi/NamingManager.java: Likewise.
5816         * javax/naming/spi/ObjectFactory.java: Likewise.
5817         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5818         * javax/naming/spi/ResolveResult.java: Likewise.
5819         * javax/naming/spi/Resolver.java: Likewise.
5820         * javax/naming/spi/StateFactory.java: Likewise.
5821
5822         * javax/naming/spi/NamingManager.java (ofb): Package private.
5823
5824 2002-11-21  Mark Wielaard  <mark@klomp.org>
5825
5826         * java/net/URL.java: Merge with Classpath (partly).
5827         * java/net/URLStreamHandler: Merge with Classpath.
5828
5829 2002-11-22  Michael Koch <konqueror@gmx.de>
5830
5831         * include/posix.h:
5832         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5833         * include/win32.h:
5834         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5835         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5836
5837 2002-11-21  Michael Koch <konqueror@gmx.de>
5838
5839         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5840         Only the new network functions should be in it.
5841
5842 2002-11-21  Michael Koch <konqueror@gmx.de>
5843
5844         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5845         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5846
5847 2002-11-21  Michael Koch <konqueror@gmx.de>
5848
5849         * java/nio/channels/AsynchronousCloseException.java,
5850         java/nio/channels/CancelledKeyException.java,
5851         java/nio/channels/ClosedByInterruptException.java,
5852         java/nio/channels/ConnectionPendingException.java,
5853         java/nio/channels/FileLockInterruptionException.java,
5854         java/nio/channels/IllegalSelectorException.java,
5855         java/nio/channels/NoConnectionPendingException.java,
5856         java/nio/channels/NonReadableChannelException.java,
5857         java/nio/channels/NonWritableChannelException.java,
5858         java/nio/channels/NotYetBoundException.java,
5859         java/nio/channels/NotYetConnectedException.java,
5860         java/nio/channels/OverlappingFileLockException.java,
5861         java/nio/channels/UnresolvedAddressException.java,
5862         java/nio/channels/UnsupportedAddressTypeException.java:
5863         New files.
5864         * Makefile.am (ordinary_java_source_files): Added new files.
5865         * Makefile.in: Regenerated.
5866
5867 2002-11-21  Michael Koch <konqueror@gmx.de>
5868
5869         * include/posix.h
5870         (_Jv_socket): New method.
5871         (_Jv_connect): New method.
5872         (_Jv_close): New method.
5873         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5874         (_Jv_bind): New method.
5875         (_Jv_listen): New method.
5876         (_Jv_write): New method.
5877         (_Jv_read): New method.
5878         * include/win32.h
5879         (_Jv_socket): New method.
5880         (_Jv_connect): New method.
5881         (_Jv_close): New method.
5882         (_Jv_bind): New method.
5883         (_Jv_listen): New method.
5884         (_Jv_write): New method.
5885         (_Jv_read): New method.
5886         * java/net/natNetworkInterface.cc:
5887         Include platform.h, removed inclusion of socket.h
5888         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5889         ::close() by _Jv_close().
5890         * java/net/natPlainDatagramSocketImpl.cc:
5891         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5892         added some new lines to make code more readable.
5893         (create): Replaced ::socket() by _Jv_socket().
5894         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5895         * java/net/natPlainSocketImpl.cc:
5896         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5897         removed include of socket.h, removed some windows defines
5898         (now in include/win32.h).
5899         (create): Replaced ::socket() by _Jv_socket().
5900         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5901         (write): Replaced ::read by _Jv_write().
5902         (read): Replaced ::read by _Jv_read().
5903
5904 2002-11-20  Michael Koch <konqueror@gmx.de>
5905
5906         * Makefile.am (ordinary_java_source_files):
5907         Added java/nio/channels/FileChannel.java.
5908         * Makefile.in: Regenerated.
5909
5910 2002-11-20  Michael Koch <konqueror@gmx.de>
5911
5912         * java/io/FileInputStream.java
5913         (getChannel): New method.
5914         * java/io/FileOutputStream.java
5915         (getChannel): New method.
5916         * java/net/ServerSocket.java
5917         (bind): Removed duplicate code and called another bind method instead.
5918         * java/nio/channels/SelectionKey.java
5919         (isValid): Removed wrong exception documentation.
5920         * java/nio/channels/ServerSocketChannel.java
5921         (accept): Added exception documentation.
5922         (open): Fixed typo, added exception documentation.
5923         * java/nio/channels/spi/AbstractSelectableChannel.java
5924         (implCloseChannel): Added exception documentation.
5925         (add): Reformated.
5926         (register): Added exception documentation.
5927
5928 2002-11-20  Andreas Jaeger  <aj@suse.de>
5929
5930         * configure: Regenerated with new libtool.m4.
5931
5932 2002-11-19  Tom Tromey  <tromey@redhat.com>
5933
5934         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
5935         `referent'.
5936         (finalize_referred_to_object): Don't modify `referent' or `copy'
5937         fields.
5938         (add_to_hash): Correctly set `n->next' when updating list.
5939         * java/lang/ref/Reference.java (enqueue): Return false if already
5940         enqueued.
5941
5942 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
5943
5944         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
5945         to function and function pointer declarations in accordance with
5946         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
5947         based on whether __GCJ_JNI_IMPL__ has been defined or not.
5948         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
5949         JNI function definitions.
5950
5951 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5952
5953         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
5954         that was causing CoderResults to be cached, not WeakReferences
5955         to CoderResults.
5956
5957 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5958
5959         * java/security/KeyStore.java (getInstance): Fix
5960         comment and throw IllegalArgumentException if
5961         given provider is null.
5962         (getInstance): New method for jdk1.4 compatibility.
5963
5964 2002-11-18  Michael Koch <konqueror@gmx.de>
5965
5966         * java/net/PlainSocketImpl.java: Fix imports.
5967
5968 2002-11-18  Michael Koch <konqueror@gmx.de>
5969
5970         * java/nio/channels/SelectionKey.java
5971         (isValid): Added exception documentation.
5972         * java/nio/channels/Selector.java
5973         (open): Declare "throws IOException".
5974
5975 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
5976
5977         * java/nio/charset/Charset.java
5978         (<clinit>): New method.
5979         (encode): Synchronize use of cached encoder object.
5980         (decode): Synchronize use of cached encoder object.
5981
5982 2002-11-18  Michael Koch <konqueror@gmx.de>
5983
5984         * gnu/java/nio/ByteBufferImpl.java,
5985         gnu/java/nio/CharBufferImpl.java,
5986         gnu/java/nio/DatagramChannelImpl.java,
5987         gnu/java/nio/DoubleBufferImpl.java,
5988         gnu/java/nio/FileChannelImpl.java,
5989         gnu/java/nio/FloatBufferImpl.java,
5990         gnu/java/nio/IntBufferImpl.java,
5991         gnu/java/nio/LongBufferImpl.java,
5992         gnu/java/nio/PipeImpl.java,
5993         gnu/java/nio/SelectionKeyImpl.java,
5994         gnu/java/nio/SelectorImpl.java,
5995         gnu/java/nio/SelectorProviderImpl.java,
5996         gnu/java/nio/ServerSocketChannelImpl.java,
5997         gnu/java/nio/ShortBufferImpl.java,
5998         gnu/java/nio/SocketChannelImpl.java,
5999         java/nio/DoubleBuffer.java,
6000         java/nio/FloatBuffer.java,
6001         java/nio/IntBuffer.java,
6002         java/nio/LongBuffer.java,
6003         java/nio/ShortBuffer.java,
6004         java/nio/channels/FileChannel.java: New files.
6005
6006 2002-11-18  Michael Koch <konqueror@gmx.de>
6007
6008         * Makefile.am (ordinary_java_source_files):
6009         Added java/nio/ReadOnlyBufferException.java and
6010         java/nio/channels/ClosedSelectorException.java.
6011         * Makefile.in: Regenerated.
6012
6013 2002-11-18  Michael Koch <konqueror@gmx.de>
6014
6015         * java/net/PlainSocketImpl.java: Reworked imports.
6016         * java/net/ServerSocket.java
6017         (ServerSocket): Create socket.
6018         * java/net/SocketAddress.java: Documentation added.
6019         * java/net/natPlainSocketImpl.cc: Reindented.
6020         * java/nio/ReadOnlyBufferException.java: New file
6021         * java/nio/channels/ClosedChannelException.java: Documentation added.
6022         * java/nio/channels/ClosedSelectorException.java: New file.
6023
6024 2002-11-17  Mark Wielaard  <mark@klomp.org>
6025
6026         * java/net/HttpURLConnection.java ((getPermission): Take port
6027         into consideration.
6028         (getErrorStream): Implement.
6029
6030 2002-11-17  Mark Wielaard  <mark@klomp.org>
6031
6032         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6033
6034 2002-11-16  Mark Wielaard  <mark@klomp.org>
6035
6036         Integrate work by Raif S. Naffah (raif@fl.net.au)
6037         * java/security/DummyKeyPairGenerator.java (clone): New method.
6038         * java/security/DummyMessageDigest.java (clone): New method.
6039         (engineUpdate): Now public.
6040         (engineReset): Likewise.
6041         (engineDigest): Likewise.
6042         (engineGetDigestLength): New method.
6043         * java/security/DummySignature.java (clone): New method.
6044         * java/security/KeyPairGenerator.java (provider): Now package private.
6045         (getInstance(String)): Use getInstance(String,Provider).
6046         (getInstance(String,String): Use getInstance(String,Provider)
6047         (getInstance(String,Provider): New method.
6048         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6049         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6050         * java/security/MessageDigest.java (provider): Now package private.
6051         (getInstance(String): Use getInstance(String,Provider).
6052         (getInstance(String,String): Use getInstance(String,Provider)
6053         (getInstance(String,Provider): New method.
6054         * java/security/Provider.java (toCanonicalKey): New method.
6055         (get): New method that uses toCanonicalKey().
6056         (put): Use toCanonicalKey().
6057         (remove): Likewise.
6058         * java/security/Security.java (insertProviderAt): Provider index is one
6059         based, not zero based.
6060         (addProvider): Likewise.
6061         (removeProvider): Likewise.
6062         * java/security/Signature.java (provider): Now package private.
6063         (getInstance(String)): Use getInstance(String,Provider).
6064         (getInstance(String,String): Use getInstance(String,Provider)
6065         (getInstance(String,Provider): New method.
6066         (getInstance(String,String,Provider): Don't cast DummySignature.
6067
6068 2002-11-15  Tom Tromey  <tromey@redhat.com>
6069
6070         For PR libgcj/8593:
6071         * java/util/zip/GZIPInputStream.java (read): Check file size.
6072         Look in inflater for remaining input bytes.
6073         (read4): Added buf and offset arguments.
6074
6075 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6076
6077         * java/applet/AppletContext.java: Fix typo and remove redundant
6078         modifiers.
6079
6080 2002-11-14  Tom Tromey  <tromey@redhat.com>
6081
6082         * java/lang/natRuntime.cc (insertSystemProperties): Set
6083         gnu.classpath.home.
6084
6085 2002-11-13  Michael Koch <konqueror@gmx.de>
6086
6087         * java/nio/ByteBuffer.java
6088         (allocate): New method.
6089         (wrap): New method.
6090         (put): New method.
6091         (get): New method.
6092
6093 2002-11-13  Michael Koch <konqueror@gmx.de>
6094
6095         * java/nio/channels/AlreadyConnectedException.java:
6096         Removed unneeded import.
6097         (AlreadyConnectedException): Documentation added.
6098         * java/nio/channels/Pipe.java
6099         (SinkChannel.SinkChannel): Documentation added.
6100         (SinkChannel.validOps): New method.
6101         (SourceChannel.SourceChannel): Documentation added.
6102         (SourceChannel.validOps): New method.
6103         (Pipe): Documentation added.
6104         (open): Documentation added.
6105         (SinkChannel.channel): Documentation added.
6106         (SourceChannel.channel): Documentation added.
6107         * java/nio/channel/SelectableChannel.java
6108         (SelectableChannel): Documentation added.
6109         (blockingLock): Documentation added.
6110         (configureBlocking):Documentation added.
6111         (isBlocking):Documentation added.
6112         (isRegistered):Documentation added.
6113         (keyFor):Documentation added.
6114         (provider):Documentation added.
6115         (register): Documentation added.
6116         (validOps): Documentation added.
6117         * jaba/nio/channels/SelectionKey.java
6118         (SelectionKey): Documentation added.
6119         (attach): Documentation added.
6120         (attachment): Documentation added.
6121         (isAcceptable): Documentation added.
6122         (isConnetable): Documentation added.
6123         (isReadable): Documentation added.
6124         (isWritable): Documentation added.
6125         (cancel): Documentation added.
6126         (channel): Documentation added.
6127         (interestOps): Documentation added.
6128         (isValid): Documentation added.
6129         (readyOps): Documentation added.
6130         (selector): Documentation added.
6131         * jaba/nio/channels/Selector.java
6132         (Selector): Documentation added.
6133         (open): Documentation added.
6134         (close): Documentation added.
6135         (isOpen): Documentation added.
6136         (keys): Documentation added.
6137         (provider): Documentation added.
6138         (select): Documentation added.
6139         (selectedKeys): Documentation added.
6140         (selectNow): Documentation added.
6141         (wakeup): Documentation added.
6142         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6143         (AbstractInterruptibleChannel): Documentation added.
6144         (opened): Default to true;
6145         (begin): Documentation added.
6146         (close): Set opened to false, documentation added.
6147         (isOpen): Documentation added.
6148         * java/nio/channels/spi/AbstractSelectionKey.java
6149         (AbstractSelectionKey): Documentation added.
6150         (cancel): Documentation added.
6151         (isValid): Documentation added.
6152         * java/nio/channels/spi/AbstractSelector.java
6153         (AbstractSelector): Documentation added.
6154         (begin): Documentation added.
6155         (close): Documentation added.
6156         (isOpen): Documentation added.
6157         (deregister): Documentation added.
6158         (end): Documentation added.
6159         (provider): Documentation added.
6160         (implCloseSelector): Documentation added.
6161         (register): Documentation added.
6162         * java/nio/channels/spi/SelectorProvider.java
6163         (SelectorProvider): Documentation added.
6164         (openDatagramChannel): Documentation added.
6165         (openPipe): Documentation added.
6166         (openSelector): Documentation added.
6167         (openServerSocketChannel): Documentation added.
6168         (openSocketChannel): Documentation added.
6169         (provider): Documentation added.
6170
6171 2002-11-12  Michael Koch <konqueror@gmx.de>
6172
6173         * java/nio/Buffer.java: Implemented.
6174         * java/nio/CharBuffer.java: New file.
6175         * java/nio/InvalidMarkException.java: New file.
6176         * java/nio/channels/DatagramChannel.java: Implemented.
6177         * java/nio/channels/ServerSocketChannel.java: Implemented.
6178         * java/nio/channels/SocketChannel.java: Implemented.
6179         * java/nio/channels/spi/AbstractChannel.java: Removed.
6180         * java/nio/channels/spi/AbstractSelectableChannel.java:
6181         Implemented.
6182         * java/nio/charset/Charset.java:
6183         Merge from Classpath.
6184         * java/nio/charset/CharsetDecoder.java: New file.
6185         * java/nio/charset/CharsetEncoder.java: New file.
6186         * java/nio/charset/CoderResult.java: New file.
6187         * Makefile.am (ordinary_java_source_files): Added new files.
6188         * Makefile.in: Regenerated.
6189
6190 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6191
6192         * gnu/java/nio/charset/ISO_8859_1.java,
6193         gnu/java/nio/charset/Provider.java,
6194         gnu/java/nio/charset/US_ASCII.java,
6195         gnu/java/nio/charset/UTF_16.java,
6196         gnu/java/nio/charset/UTF_16BE.java,
6197         gnu/java/nio/charset/UTF_16Decoder.java,
6198         gnu/java/nio/charset/UTF_16Encoder.java,
6199         gnu/java/nio/charset/UTF_16LE.java,
6200         gnu/java/nio/charset/UTF_8.java: New files.
6201
6202 2002-11-11  Michael Koch <konqueror@gmx.de>
6203
6204         * java/nio/charset/CharacterCodingException.java:
6205         This class must be public.
6206         * java/nio/charset/CoderMalfunctionError.java:
6207         This class must be public.
6208         * java/nio/charset/CodingErrorAction.java:
6209         This class must be public.
6210         * java/nio/charset/IllegalCharsetNameException.java:
6211         This class must be public, better implementation.
6212         * java/nio/charset/MalformedInputException.java:
6213         This class must be public, better implementation.
6214         * java/nio/charset/UnmappableCharacterException.java:
6215         This class must be public, better implementation.
6216         * java/nio/charset/UnsupportedCharsetException.java:
6217         This class must be public, better implementation.
6218
6219 2002-11-11  Michael Koch <konqueror@gmx.de>
6220
6221         * java/nio/BufferOverflowException.java,
6222         java/nio/BufferUnderflowException.java: New file.
6223         * Makefile.am (ordinary_java_source_files):
6224         Added new files.
6225         * Makefile.in: Regenerated.
6226
6227 2002-11-10  Tom Tromey  <tromey@redhat.com>
6228
6229         * java/awt/Container.java (validate): Use tree lock.
6230         (getComponent): Likewise.
6231         (getComponents): Likewise.
6232         (addImpl): Likewise.
6233         (remove): Likewise.
6234         (removeAll): Likewise.
6235         (processEvent): Fixed indentation.
6236         (getComponentAt): Use tree lock.
6237         (findComponentAt): Likewise.
6238         (removeNotify): Likewise.
6239         (isAncestorOf): Likewise.
6240         (list): Likewise.
6241         (visitChildren): Likewise.
6242         (findNextFocusComponent): Likewise.
6243         (addNotifyContainerChildren): Likewise.
6244         (getAccessibleChildrenCount): Likewise.
6245         (getAccessibleChild): Likewise.
6246
6247         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6248         (getSize): Likewise.
6249         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6250         (getSize): Likewise.
6251         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6252         (calcSize): Likewise.
6253         * java/awt/CardLayout.java (getSize): Use tree lock.
6254         (gotoComponent): Likewise.
6255         (layoutContainer): Likewise.
6256
6257         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6258         count is 0.
6259         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6260         count is 0.
6261
6262         * java/io/Externalizable.java, java/io/FilePermission.java,
6263         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6264         java/io/SerializablePermission.java, java/text/Format.java,
6265         java/util/AbstractMap.java, java/util/HashMap.java,
6266         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6267         versions from Classpath.
6268
6269 2002-11-10  Anthony Green  <green@redhat.com>
6270
6271         * java/util/jar/Attributes.java (Name): Fix name check.
6272
6273 2002-11-10  Mark Wielaard  <mark@klomp.org>
6274
6275         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6276         with getName() as message.
6277         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6278         type as message.
6279
6280         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6281         unused.
6282
6283 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6284
6285         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6286         for Win32. JNICALL has been defined to __stdcall to be compatible
6287         with Sun's JDKs.
6288
6289 2002-11-10  Tom Tromey  <tromey@redhat.com>
6290
6291         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6292         (setRows): Check newRows, not rows.
6293
6294         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6295
6296 2002-11-09  Tom Tromey  <tromey@redhat.com>
6297
6298         * java/applet/Applet.java, java/applet/AppletContext.java,
6299         java/applet/AppletStub.java, java/applet/AudioClip.java,
6300         java/awt/CardLayout.java,
6301         java/awt/ContainerOrderFocusTraversalPolicy.java,
6302         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6303         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6304         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6305         java/awt/color/ICC_ColorSpace.java,
6306         java/awt/color/ICC_Profile.java,
6307         java/awt/color/ICC_ProfileGray.java,
6308         java/awt/color/ICC_ProfileRGB.java,
6309         java/awt/datatransfer/DataFlavor.java,
6310         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6311         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6312         New versions from Classpath.
6313         * Makefile.in: Rebuilt.
6314         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6315         ICC_ProfileRGB.
6316
6317         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6318         display policy.
6319
6320         * java/awt/List.java (processEvent): Added missing `else's.
6321
6322         * java/awt/Window.java (show): validate() before showing.  Make
6323         parent displayable.
6324         (isDisplayable): New method.
6325
6326 2002-11-07  Mark Wielaard  <mark@klomp.org>
6327
6328         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6329         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6330
6331         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6332         annotation.
6333         (loadClass): Take String as codebases.
6334         (getClassAnnotation): Use MyClassLoader annotations.
6335         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6336         call exportObject(this).
6337
6338         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6339         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6340         (setAnnotation): Don't set locBytesStream and locStream.
6341         (replaceObject): Removed.
6342         (flush): Don't test locStream.
6343         (getLocBytes): LikeWise.
6344         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6345         (leaseCache): New field.
6346         (dirty): Use leaseCache.
6347         (LeaseRecord): New inner class.
6348         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6349         explicitly call exportObject().
6350         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6351         false to communicate with Sun JDK130.
6352         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6353         * gnu/java/rmi/server/RMIObjectInputStream.java
6354         (UnicastConnectionManager): Removed field.
6355         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6356         Use UnicastServer.getExportedRef().
6357         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6358         (expireTime): Likewise.
6359         (CONNECTION_TIMEOUT): Likewise.
6360         (disconnect): Call sock.close().
6361         (isExpired): New method.
6362         (resetTime): Likewise.
6363         (run): Use do while loop and catch Exception for discardConnection().
6364         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6365         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6366         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6367         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6368         (exportObject): Use refcache.
6369         (unexportObject): Likewise.
6370         (getExportedRef): New method.
6371         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6372         constructor.
6373         (exportObject): Save manager.serverobj.
6374         (getStub): New method.
6375
6376 2002-11-07  Mark Wielaard  <mark@klomp.org>
6377
6378         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6379         (getByte): Likewise.
6380         (getShort): Likewise.
6381         (getInt): Likewise.
6382         (getLong): Likewise.
6383         (getFloat): Likewise.
6384         (getDouble): Likewise.
6385         (get): Likewise.
6386         (setChar): Likewise.
6387         (setByte): Likewise.
6388         (setShort): Likewise.
6389         (setInt): Likewise.
6390         (setLong): Likewise.
6391         (setFloat): Likewise.
6392         (setDouble): Likewise.
6393
6394 2002-11-07  Michael Koch <konqueror@gmx.de>
6395
6396         * java/awt/Choice.java,
6397         java/awt/Container.java,
6398         java/awt/GridBagLayout.java:
6399         Fixed documentation.
6400         * java/awt/peer/ContainerPeer.java:
6401         Reindented.
6402
6403 2002-11-07  Michael Koch <konqueror@gmx.de>
6404
6405         * java/awt/color/ICC_Profile.java:
6406         Added missing constants.
6407         * java/awt/color/ICC_ColorSpace.java
6408         (getMinValue): Added dummy implementation.
6409         (getMaxValue): Added dummy implementation.
6410         * java/awt/datatransfer/DataFlavor.java
6411         (imageFlavor): Added.
6412         (isMimeTypeEqual): Must be final.
6413         (getDefaultRepresentationClass): Must be non-static.
6414         (getDefaultRepresentationClassAsString): Must be non-static.
6415         * java/awt/dnd/DragSourceContext.java
6416         (dragExit): Corrected argument.
6417         (dragDropEnd): Corrected argument.
6418         * java/awt/dnd/DragSourceListener.java.java
6419         (dragExit): Corrected argument.
6420         (dragDropEnd): Corrected argument.
6421         * java/awt/font/TextHitInfo.java
6422         (toString): Added stubbed implementation.
6423         * java/awt/geom/PathIterator.java:
6424         The constants must be static.
6425         * java/awt/image/VolatileImage.java
6426         (IMAGE_INCOMPATIBLE): Fixed typo.
6427         * java/awt/image/renderable/RenderableImage.java
6428         (HINTS_OBSERVED): Must be static.
6429         * java/beans/BeanInfo.java:
6430         Constants must be final.
6431
6432 2002-11-06  Tom Tromey  <tromey@redhat.com>
6433
6434         From svens@it.uu.se.  For PR libgcj/8481.
6435         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6436
6437 2002-11-06  Tom Tromey  <tromey@redhat.com>
6438
6439         * jni.cc (array_from_valist): Assume that jlong won't be
6440         promoted.
6441
6442 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6443
6444         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6445         Return 20.
6446         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6447         Return 16.
6448
6449 2002-11-03  Tom Tromey  <tromey@redhat.com>
6450
6451         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6452         VMClassLoader, not findClass.
6453
6454 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6455
6456         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6457         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6458         _Jv_DetermineVTableIndex, to determine vtable offset.
6459         (_Jv_DetermineVTableIndex): Remove.
6460         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6461
6462         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6463
6464 2002-11-03  Tom Tromey  <tromey@redhat.com>
6465
6466         * java/nio/channels/AlreadyConnectedException.java: Extend
6467         IllegalStateException, per spec.
6468
6469 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6470
6471         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6472
6473 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6474
6475         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6476         size items.
6477
6478 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6479
6480         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6481         initial estimated size to avoid enlarge buffer frequently.
6482
6483 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6484
6485         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6486         ClassLoader when null.
6487         (ProxyType.hashCode): Loader null check no longer needed.
6488         (ProxyType.sameTypes): New method.
6489         (ProxyType.equals): Use new method.
6490
6491 2002-10-31  Mark Wielaard  <mark@klomp.org>
6492
6493         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6494         length of String.
6495         * java/net/URLEncoder.java (encode): Likewise.
6496
6497 2002-10-31  Mark Wielaard  <mark@klomp.org>
6498
6499         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6500         when stream is closed.
6501         (closeEntry): Likewise.
6502         (read): Likewise.
6503         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6504         ZipException when no entry active.
6505         (closeEntry): Likewise.
6506         (write): Likewise.
6507
6508 2002-11-02  Tom Tromey  <tromey@redhat.com>
6509
6510         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6511         * java/lang/natClass.cc (initializeClass): Don't return just
6512         because self==thread.
6513
6514         For PR java/8415:
6515         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6516         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6517
6518 2002-11-02  Andreas Schwab  <schwab@suse.de>
6519
6520         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6521         pass GCJFLAGS.
6522         (FLAGS_TO_PASS): Define.
6523         * Makefile.in: Regenerated.
6524
6525 2002-11-01  Michael Koch  <konqueror@gmx.de>
6526
6527         * java/nio/ByteOrder.java: New file.
6528         * java/nio/channels/DatagramChannel.java:
6529         (DatagramChannel): New constructor.
6530         * java/nio/channels/Pipe.java: New file.
6531         * java/nio/channels/SelectableChannel.java: New file.
6532         * java/nio/channels/SelectionKey.java: New file.
6533         * java/nio/channels/Selector.java: New file.
6534         * java/nio/channels/ServerSocketChannel.java
6535         (ServerSocketChannel): New constructor.
6536         * java/nio/channels/SocketChannel.java
6537         (SocketChannel): New constructor.
6538         * java/nio/channels/Pipe.java: New file.
6539         * java/nio/channels/spi/AbstractChannel.java: New file.
6540         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6541         * java/nio/channels/spi/AbstractSelectableChannel.java:
6542         License added
6543         (AbstractSelectableChannel): New stubbed method.
6544         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6545         * java/nio/channels/spi/AbstractSelector.java: New file.
6546         * java/nio/channels/spi/SelectorProvider.java: New file.
6547         * java/nio/charset/Charset.java: New file.
6548         * java/nio/charset/CoderMalfunctionError.java: New file.
6549         * java/nio/charset/CodingErrorAction.java: New file.
6550         * java/nio/charset/spi/CharsetProvider.java
6551         (charsetForName): Uncommented.
6552         * Makefile.am (java_native_source_files): Added new files.
6553         * Makefile.in: Regenerated.
6554
6555 2002-11-01  Michael Koch  <konqueror@gmx.de>
6556
6557         * java/net/InetAddress.java:
6558         (isAnyLocalAddress): Implemented.
6559         (isLoopbackAddress): Implemented, comment added.
6560         (isLinkLocalAddress): Implemented, documentation added.
6561         (isSiteLocalAddress): Implemented, documentation added.
6562         (isMCGlobal): Implemented, documentation added.
6563         (isMCNodeLocal): Implemented, documentation added.
6564         (isMCLinkLocal): Implemented, documentation added.
6565         (isMCSiteLocal): Implemented, documentation added.
6566         (isMCOrgLocal): Implemented, documentation added.
6567         (getHostName): Documentation added.
6568         (getCanonicalHostName): Implemented, documentation added.
6569         (getAddress): Documentation added.
6570         (hashCode): Documentation added.
6571         (equals): Documentation added.
6572         (toString): Fixed implementation.
6573         (getByAddress): Use Inet4Address and Inet6Address.
6574         (lookup): New linewrap.
6575         (getByName): SecurityManager check added, support Inet4Address and
6576         Inet6address, comments added.
6577         (getAllByName): SecurityManager check added, comments added.
6578         * java/net/Inet6Address.java:
6579         (Inet6Address): Initialize parent class with addr instead of null.
6580         * java/net/URL.java
6581         (equals): Documentation added.
6582         (getFile): Documentation added.
6583         (hashCode): Documentation added.
6584         * java/net/natInetAddress.cc:
6585         (aton): Fix IPv6 support.
6586         * java/net/natPlainDatagramSocketImpl.cc:
6587         (peek): Throw PortUnreachableException when suitable.
6588         (peekData): Throw PortUnreachableException when suitable.
6589         (send): Throw PortUnreachableException when suitable.
6590         (receive): Throw PortUnreachableException when suitable.
6591
6592 2002-10-27  Mark Wielaard  <mark@klomp.org>
6593
6594         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6595         argument.
6596         (readLeShort): Likewise and use byte[].
6597         (readLeInt): Likewise.
6598         (readEntries): Use new versions of methods and use byte[] for reading
6599         a complete zip entry. Add ZipFile name to exceptions.
6600         (entries): Add ZipFile name to exceptions.
6601         (getEntry): Likewise.
6602         (checkLocalHeader): Use new versions of methods and add ZipFile name
6603         to exceptions.
6604
6605 2002-10-31  Mark Anderson  <mark@panonet.net>
6606
6607         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6608         added
6609
6610 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6611
6612         * configure.in: Disable hash sync when not using threads.
6613         * configure: Regenerated.
6614
6615 2002-10-24  Tom Tromey  <tromey@redhat.com>
6616
6617         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6618         (_Jv_FindSymbolInExecutable): Removed argument name.
6619         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6620         java.library.path is set.
6621
6622         * gij.cc (help): Document --showversion.
6623         (version): Don't exit.
6624         (main): Handle --showversion.  Exit if --version given.
6625
6626 2002-10-23  Tom Tromey  <tromey@redhat.com>
6627
6628         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6629         (array_from_valist): Correctly handle promotion for jint, jlong,
6630         jfloat, and jdouble.
6631
6632 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6633
6634         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6635         GetFileAttributesEx( ) to find file length and modification times,
6636         as the latter is not present on Windows 95.
6637
6638 2002-10-21  Michael Koch  <konqueror@gmx.de>
6639
6640         * java/net/URL.java
6641         (URL): Activate SecurityManager checks.
6642         (equals): Use URLStreamHandler implementation instead of doing it
6643         alone. This allows special protocol stream handlers to change default
6644         behaviour.
6645         (hashCode): Use URLStreamHandler implementation instead of doing it
6646         alone. This allows special protocol stream handlers to change default
6647         behaviour.
6648         * java/net/URLStreamHandler.java
6649         (equals): Implemented default URL equality check.
6650         (hostsEqual): Implemented default URL equality check.
6651         (hashCode): Implemented default URL hashCode algorithm.
6652         * java/net/natPlainDatagramSocketImpl.cc:
6653         No lines longer then 80 characters.
6654
6655 2002-10-20  Adam Megacz <adam@xwt.org>
6656
6657         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6658         * configure.in: enabled hash sync on Win32
6659         * include/win32-threads.h (_Jv_ThreadId_t): added.
6660         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6661         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6662         removed some posix-isms, use Thread::sleep() instead of usleep,
6663         added code to clear bottom three bits if platform has a broken
6664         linker.
6665         * include/win32-threads.h (_Jv_ThreadId_t): added.
6666
6667 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6668
6669         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6670         runtime property "gnu.gcj.progname" containing the name used to
6671         invoke the current Java program (similar to argv[0] for C
6672         programs).
6673
6674 2002-10-15  Tom Tromey  <tromey@redhat.com>
6675
6676         Fix for PR libgcj/8234:
6677         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6678         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6679
6680 2002-10-13  Mark Wielaard  <mark@klomp.org>
6681
6682         * mauve-libgcj: Enable Mauve tests that compile now.
6683
6684 2002-10-11  Mark Wielaard  <mark@klomp.org>
6685
6686         Fix for PR libgcj/8142
6687         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6688         loading native modules.
6689
6690 2002-10-10  Michael Koch  <konqueror@gmx.de>
6691
6692         * javax/swing/AbstractListModel.java
6693         (getListDataListeners): New stubbed method.
6694         javax/swing/DefaultBoundedRangeModel.java
6695         (getChangeListeners): New stubbed method.
6696         javax/swing/DefaultSingleSelectionModel.java
6697         (getChangeListeners): New stubbed method.
6698
6699 2002-10-10  Michael Koch  <konqueror@gmx.de>
6700
6701         * gcj/.cvsignore: New file to ignore files generated during build.
6702         * include/.cvsignore: New file to ignore files generated during build.
6703
6704 2002-10-10  Michael Koch  <konqueror@gmx.de>
6705
6706         * java/net/HttpURLConnection.java
6707         (getPermission): New method.
6708         (getErrorStream): New stub method.
6709         (getHeaderFieldDate): New stub method.
6710         * java/net/Inet4Address.java:
6711         (isLinkLocalAddress): Typo fixed.
6712         * java/net/InetAddress.java:
6713         (readResolve): New stubbed method (for serialization).
6714         (isAnyLocalAddress): New stubbed method.
6715         (isLoopbackAddress): New stubbed method.
6716         (isLinkLocalAddress): New stubbed method.
6717         (isSiteLocalAddress): New stubbed method.
6718         (isMCGlobal): New stubbed method.
6719         (isMCNodeGlobal): New stubbed method.
6720         (isMCLinkLocal): New stubbed method.
6721         (isMCSiteLocal): New stubbed method.
6722         (isMCOrgLocal): New stubbed method.
6723         (getCanonicalHostName): New stubbed method.
6724         (getByAddress): Create instances of Inet4Address/Inet6Address,
6725         instead of InetAddress, documentation added.
6726         * java/net/MulticastSocket.java
6727         (getInterface): Removed FIXME.
6728         (getNetworkInterface): New method.
6729         (setNetworkInterface): New method.
6730         * java/net/NetworkInterface.java:
6731         (toString): Use property "line.separator" instead of "\n".
6732         * java/net/URLConnection.java
6733         (getContent): New stubbed method.
6734         * java/net/URLStreamHandler.java:
6735         (equals): New stubbed method.
6736         (hostsEqual): New stubbed method.
6737         (hashCode): New stubbed method.
6738         * java/net/natNetworkInterface.cc:
6739         (getRealNetworkInterfaces): Create Inet4Address object
6740         instead of InetAddress.
6741
6742 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6743
6744         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6745         unsigned long temporary to implement insn_iushr shifts.
6746
6747 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6748
6749         * configure.host [s390*-*]: Enable Java interpreter.
6750         Enable hash synchronization.  Add sysdeps dir.
6751         * sysdep/s390/locks.h: New file.
6752
6753 2002-10-06  Mark Wielaard  <mark@klomp.org>
6754
6755         * java/lang/Thread.java (setDaemon): Check startable_flag,
6756         not isAlive().
6757
6758 2002-10-07  Michael Koch  <konqueror@gmx.de>
6759
6760         * java/nio/Buffer.java: New stub file.
6761         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6762         of class Charset.
6763         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6764         * Makefile.in: Regenerated.
6765
6766 2002-10-07  Michael Koch  <konqueror@gmx.de>
6767
6768         * java/nio/ByteBuffer.java:
6769         removed import of not commited class.
6770
6771 2002-10-07  Michael Koch  <konqueror@gmx.de>
6772
6773         * java/nio/ByteBuffer.java,
6774         java/nio/MappedByteBuffer.java:
6775         New files, forgot to add these dummies.
6776         * Makefile.am (java_native_source_files): Added new files.
6777         * Makefile.in: Regenerated.
6778
6779 2002-10-07  Michael Koch  <konqueror@gmx.de>
6780
6781         * java/nio/channels/AlreadyConnectedException.java,
6782         java/nio/channels/ClosedChannelException.java,
6783         java/nio/channels/ReadableByteChannel.java,
6784         java/nio/channels/InterruptibleChannel.java,
6785         java/nio/channels/Channel.java,
6786         java/nio/channels/ByteChannel.java,
6787         java/nio/channels/GatheringByteChannel.java,
6788         java/nio/channels/ScatteringByteChannel.java,
6789         java/nio/channels/WritableByteChannel.java,
6790         java/nio/charset/CharacterCodingException.java,
6791         java/nio/charset/IllegalCharsetNameException.java,
6792         java/nio/charset/MalformedInputException.java,
6793         java/nio/charset/UnmappableCharacterException.java,
6794         java/nio/charset/UnsupportedCharsetException.java,
6795         java/nio/charset/spi/CharsetProvider.java: New file.
6796         These files are exceptions or interfaces,
6797         no real or abstract classes.
6798         * Makefile.am (java_native_source_files): Added new files.
6799         * Makefile.in: Regenerated.
6800
6801 2002-10-05  Michael Koch  <konqueror@gmx.de>
6802
6803         * java/net/InetAddress.java
6804         (getByAddress): Fixed documentation.
6805         (getByAddress): New method.
6806         * java/net/Inet4Address.java: New file.
6807         * java/net/URL.java
6808         (URL): Documentation added.
6809         (getContent): Documentation added.
6810         (getContent): New stubbed method.
6811         (getQuery): New method.
6812         (openConnection): Documentation added.
6813         (openStream): Documentation added.
6814         (setURLStreamHandlerFactory): Documentation added.
6815         * java/net/URI.java: New stub file.
6816         * Makefile.am
6817         (java_native_source_files): Added java/net/Inet4Address.java,
6818         java/net/Inet6Address.java and java/net/URI.java.
6819         * Makefile.in: Regenerated.
6820
6821 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6822
6823         * java/lang/ProtectionDomain.java (linesep): Remove field.
6824         (toString): Use System.getProperty("line.separator").
6825
6826 2002-10-04  Michael Koch  <konqueror@gmx.de>
6827
6828         * java/security/Identity.java: Added serialVersionUID.
6829         * java/security/KeyPair.java: Added serialVersionUID.
6830         * java/security/Provider.java: Added serialVersionUID.
6831         * java/security/SecureRandom.java: Added serialVersionUID.
6832         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6833         * java/security/SignedObject.java: Added serialVersionUID.
6834         * java/security/cert/Certificate.java: Added serialVersionUID.
6835
6836 2002-10-04  Mark Wielaard <mark@klomp.org>
6837
6838         * java/security/Security.java: Use java.home or gnu.classpath.home
6839         to load providers.
6840         (loadProviders): Extra dir argument.
6841         (getProvider): Return null when not found.
6842
6843 2002-10-04  Mark Wielaard  <mark@klomp.org>
6844
6845         * java/lang/Throwable.java: Remerge with Classpath.
6846
6847 2002-10-04  Michael Koch  <konqueror@gmx.de>
6848
6849         * java/net/InetAddress.java:
6850         (isMulticastAddress): Added documentation.
6851         (getHostAddress): Added documentation.
6852         (toString): Added documentation.
6853         (getByAddress): Fixed documentation.
6854         (getByName): Added documentation.
6855         (getAllByName): Added documentation.
6856         (getLocalHost): Added documentation.
6857
6858 2002-10-04  Michael Koch  <konqueror@gmx.de>
6859
6860         * java/beans/beancontext/BeanContextChildSupport.java:
6861         Added serialVersionUID.
6862         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6863         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6864         * javax/naming/Name.java: Added serialVersionUID.
6865
6866 2002-10-03  Adam Megacz <adam@xwt.org>
6867
6868         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6869         some functionality that isn't supported yet on WIN32.
6870
6871 2002-10-03  Tom Tromey  <tromey@redhat.com>
6872
6873         * Makefile.in: Rebuilt.
6874         * Makefile.am (awt_java_source_files): Added new files.
6875
6876 2002-10-03  Michael Koch  <konqueror@gmx.de>
6877
6878         * java/net/InetAddress.java
6879         (class InetAddress): Removed final keyword.
6880         (equals): Fixed typo.
6881         (getByAddress): New method.
6882
6883 2002-10-03  Michael Koch  <konqueror@gmx.de>
6884
6885         * java/awt/dnd/Autoscroll.java:
6886         New file, merge from Classpath.
6887         * java/awt/dnd/DragSourceAdapter.java:
6888         (dragExit): Fixed typos in argument type.
6889         (dragDropEnd): Fixed typos in argument type.
6890         * java/awt/dnd/DragSourceDropEvent.java:
6891         New file, merge from Classpath.
6892         * java/awt/dnd/DropTarget.java:
6893         Added stubs, merge from Classpath.
6894         * java/awt/dnd/DropTargetAdapter.java:
6895         New file, merge from Classpath.
6896         * java/awt/dnd/DropTargetContext.java:
6897         New file, merge from Classpath.
6898         * java/awt/dnd/DropTargetDragEvent.java:
6899         New file, merge from Classpath.
6900         * java/awt/dnd/DropTargetDropEvent.java:
6901         New file, merge from Classpath.
6902         * java/awt/dnd/DropTargetEvent.java:
6903         New file, merge from Classpath.
6904         * java/awt/dnd/DropTargetListener.java:
6905         New file, merge from Classpath.
6906         * java/awt/dnd/MouseDragGestureRecognizer.java:
6907         New file, merge from Classpath.
6908         * java/awt/dnd/peer/DropTargetContextPeer.java:
6909         New file, merge from Classpath.
6910
6911 2002-10-03  Michael Koch  <konqueror@gmx.de>
6912
6913         * java/net/DatagramPacket.java
6914         (setLength): Fixed typo and be HTML-aware.
6915         * java/net/InetSocketAddress.java
6916         (InetSocketAddress): Correct initialization of hostname, fixed typo.
6917         (equals): Added comment about equality of InetSocketAddress objects.
6918         * java/net/ServerSocket.java
6919         (accept): Added checks.
6920         (isClosed): New stubbed method.
6921         * java/net/SocketOptions.java: Reindention.
6922         * java/net/SocketPermission
6923         (SocketPermission): Documentation fixed.
6924
6925 2002-10-03  Michael Koch  <konqueror@gmx.de>
6926
6927         * java/net/DatagramSocket.java
6928         (receive): Check with SecurityManager AFTER the packet is received,
6929         check if connected to multicast address, documentation added.
6930         (send): Only check SecurityManager if connected, check address of
6931         packet to send.
6932         (connect): Implemented, documentation added.
6933         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
6934         * java/net/InetSocketAddress.java
6935         (whole file): Reindented.
6936         (hostname): New attribute.
6937         (InetSocketAddress): Initialize new attribute.
6938         (getAddress): Documentation added.
6939         (getHostName): Documentation added.
6940         (getPort): Documentation added.
6941         (hashCode): Documentation added.
6942         (isUnresolved): Documentation added.
6943         (toString): Conform to output of JDK 1.4.1, documentation added.
6944         * java/net/MulticastSocket.java
6945         (joinGroup): Removed FIXME, documentation added.
6946         (leaveGroup): Removed FIXME, documentation added.
6947         (send): Documentation added.
6948         * java/net/Socket.java
6949         (inputShutdown): New variable.
6950         (outputShutdown): New variable.
6951         (Socket): Initialize new variables.
6952         (getRemoteSocketAddress): Check if connected.
6953         (shutdownInput): Set new variable.
6954         (shutdownOutput): Set new variable.
6955         (isConnected): New method.
6956         (isClosed): New method.
6957         (isInputShutdown): New method.
6958         (isOutputShutdown): New method.
6959         * java/net/URLStreamHandler.java
6960         (URLStreamHandler): New method.
6961         (openConnection): Added documentation.
6962         (parseURL): Added documentation.
6963         (getHostAddress): New method.
6964         (getDefaultPort): New method.
6965
6966 2002-10-02  Tom Tromey  <tromey@redhat.com>
6967
6968         * java/rmi/activation/ActivationDesc.java,
6969         java/rmi/activation/ActivationGroupDesc.java,
6970         java/rmi/activation/ActivationGroupID.java,
6971         java/rmi/activation/ActivationID.java: New versions from
6972         Classpath.
6973
6974 2002-09-30  Bo Thorsen  <bo@suse.de>
6975
6976         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
6977
6978 2002-09-30  Tom Tromey  <tromey@redhat.com>
6979
6980         * java/io/ObjectInputStream.java (resolveProxyClass): New method
6981         from Classpath.
6982         * Makefile.in: Rebuilt.
6983         * Makefile.am (rmi_java_source_files): Added new files.
6984         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6985         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6986         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
6987         Classpath.
6988         * gnu/java/rmi/dgc/DGCImpl.java,
6989         gnu/java/rmi/dgc/DGCImpl_Skel.java,
6990         gnu/java/rmi/dgc/DGCImpl_Stub.java,
6991         gnu/java/rmi/registry/RegistryImpl_Skel.java,
6992         gnu/java/rmi/registry/RegistryImpl_Stub.java,
6993         gnu/java/rmi/server/RMIHashes.java,
6994         gnu/java/rmi/server/RMIObjectInputStream.java,
6995         gnu/java/rmi/server/RMIObjectOutputStream.java,
6996         gnu/java/rmi/server/UnicastConnection.java,
6997         gnu/java/rmi/server/UnicastConnectionManager.java,
6998         gnu/java/rmi/server/UnicastRef.java,
6999         gnu/java/rmi/server/UnicastServer.java,
7000         gnu/java/rmi/server/UnicastServerRef.java,
7001         java/rmi/MarshalledObject.java,
7002         java/rmi/server/RMIClassLoader.java,
7003         java/rmi/server/RemoteObject.java,
7004         java/rmi/server/UnicastRemoteObject.java,
7005         java/security/SecureClassLoader.java: Merged from Classpath.
7006
7007 2002-09-29  Anthony Green  <green@redhat.com>
7008
7009         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7010         Imported from GNU Classpath.
7011         * java/lang/reflect/natProxy.cc: New file.
7012         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7013         from GNU Classpath.
7014         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7015         Classpath.
7016         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7017         Classpath.
7018         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7019         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7020         New statics.
7021         * gcj/javaprims.h ("Java"): Add new classes.
7022         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7023         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7024         java/lang/reflect/Proxy$$ProxyType.h): And this.
7025         (inner_nat_headers): Add these new headers.
7026         (ordinary_java_source_files): Add new files.
7027         (nat_source_files): Add new file.
7028         * Makefile.in: Rebuilt.
7029
7030 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7031
7032         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7033         a single configuration.
7034
7035 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7036
7037         * java/util/TimeZone.java (getDSTSavings): New method.
7038         Fixes PR libgcj/7786.
7039
7040 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7041
7042         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7043         to see if `the_method == 0' before looking up vtable index.
7044         Fixes PR libgcj/7709.
7045
7046 2002-09-25  Tom Tromey  <tromey@redhat.com>
7047
7048         * java/lang/natClassLoader.cc:
7049         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7050         * resolve.cc: Include NoClassDefFoundError.h, not
7051         ClassNotFoundException.h.
7052         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7053
7054         * defineclass.cc: Don't include ClassNotFoundException.h.
7055
7056         * resolve.cc: Include StringBuffer.
7057         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7058
7059         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7060         allocated but not initialized.
7061
7062 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7063
7064         Fix for PR libgcj/7766:
7065         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7066         (getNextEntry): Set it.
7067         (closeEntry): Likewise.
7068         (read): Likewise.
7069         (close): Likewise.
7070         (available): Use it.
7071
7072 2002-09-25  Michael Koch  <konqueror@gmx.de>
7073
7074         * java/net/DatagramSocket.java
7075         (DatagramSocket): Initialize new instance variables.
7076         (close): Reset new instance variables.
7077         (getLocalAddress): Remove unneeded SecurityManager usage.
7078         (getLocalPort): Check if socket is already bound.
7079         (isConnected): New method.
7080         (getInetAddress): Implemented.
7081         (getPort): Better Implementation, documentation fixed.
7082         (getRemoteSocketAddress): New method.
7083         * java/net/JarURLConnection.java
7084         (element): Typo fixed.
7085         (getMainAttributes): New method.
7086         (getAttributes): New method (stub only).
7087         (getManifest): New method (stub only).
7088         * java/net/NetPermission.java: Added serialVersionsUID.
7089         * java/net/Socket.java
7090         (connect): Check blocking mode of associated channel,
7091         documentation added.
7092         (getLocalSocketAddress): Better implementation.
7093         (getRemoteSocketAddress): Implemented.
7094         (isBound): New method.
7095         (setSendBufferSize): Documentation added.
7096         * java/net/SocketAddress.java: Added serialVersionsUID.
7097         * java/net/SocketPermission.java: Added serialVersionsUID.
7098         * java/net/URL.java
7099         (URL): Wrap for shorter lines, initialize new instance variables,
7100         documentation added.
7101         (equals): Check new instance variables too.
7102         (getContent): Documentation added.
7103         (getPath): Documentation added.
7104         (getAuthority): New method.
7105         (getHost): Documentation added.
7106         (getPort): Documentation added.
7107         (getDefaultPort): New method.
7108         (getProtocol): Documentation added.
7109         (getUserInfo): Documentation added.
7110         (set): Initialize new instance variables, documentation added.
7111         * java/net/URLStreamHandler.java
7112         (setURL): New method.
7113         * java/net/natPlainDatagramSocketImpl.cc
7114         (connect): Fix exception name.
7115         (disconnect): Fix exception name.
7116
7117 2002-09-25  Michael Koch  <konqueror@gmx.de>
7118
7119         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7120         * java/nio/channels/DatagramChannel.java:
7121         extends AbstractSelectableChannel
7122         * java/nio/channels/ServerSocketChannel.java:
7123         extends AbstractSelectableChannel
7124         * java/nio/channels/SocketChannel.java:
7125         extends AbstractSelectableChannel
7126         * Makefile.am (ordinary_java_source_files):
7127         java/nio/channels/spi/AbstractSelectableChannel.java added.
7128         * Makefile.in: Regenerated.
7129
7130 2002-09-25  Michael Koch  <konqueror@gmx.de>
7131
7132         * java/net/DatagramSocket.java
7133         (DatagramSocket): Exception documentation added.
7134         (bind): Exception documentation added, addded SecurityManager check,
7135         added SocketAddress type check.
7136         (getSoTimeout): Check impl.
7137         (receive): Fix SecurityManager check, check impl, documentation added.
7138         (send): Check channel mode, documentation added.
7139         (connect): New method.
7140         (disconnect): Implemented.
7141         (getLocalSocketAddress): New method.
7142         (getReceiveBufferSize): Check impl.
7143         (setReuseAddress): Check impl.
7144         (getReuseAddress): Check impl.
7145         (setBroadcast): Check impl.
7146         (getBroadcast): Check impl.
7147         (setTrafficClass): Check impl, Documentation cleared.
7148         (getTrafficClass): Check impl.
7149         (getSendBufferSize): Check impl.
7150         (setReceiveBufferSize): Check impl, documentation added.
7151         (setSendBufferSize): Documentation added.
7152         (setDatagramSocketImplFactory): New method.
7153         * java/net/HttpURLConnection.java
7154         (HTTP_INTERNAL_ERROR): The correct code is 500.
7155         (HTTP_NOT_IMPLEMENTED): Added new constant.
7156         (setFollowRedirects): Documentation added.
7157         (getInstanceFollowRedirects): New method.
7158         (setInstanceFollowRedirects): New method.
7159         (setRequestMethod): Documentation added.
7160         (getResponseCode): Documentation added.
7161         (getResponseMessage): Documentation added.
7162         * java/net/JarURLConnection.java
7163         (JarURLConnection): protected since JDK 1.4.
7164         (getJarEntry): java.io.IOException to IOException, documentation added.
7165         (getJarFile): Documentation added.
7166         * java/net/ServerSocket.java
7167         (ServerSocket): Private to public, exception added.
7168         (ServerSocket): java.io.IOException to IOException, documentation added.
7169         (bind): Check socket address type, documentation added.
7170         (bind): java.io.IOException to IOException, documentation added.
7171         (accept): Documentation added.
7172         (implAccept): Check ch is not non-blocking, documentation added.
7173         (setSoTimeout): Documentation fixed.
7174         (setReceiveBufferSize): Documentation added.
7175         * java/net/Socket.java
7176         (Socket): Documentation added.
7177         (bind): Documentation added.
7178         (connect): Check socket address type, documentation added.
7179         (getRemoteSocketAddress): New method.
7180         (getLocalSocketAddress): New method.
7181         (setSoLinger): Documentation added.
7182         (getReuseAddress): New method.
7183         (setReuseAddress): New method.
7184         (getTrafficClass): New method.
7185         (setTrafficClass): New method.
7186         * java/net/URLStreamHandler.java
7187         (openConnection): java.io.IOException to IOException.
7188         (parseURL): Documentation added.
7189         (sameFile): public to protected, documentation added.
7190         (setURL): Documentation added.
7191         * java/nio/IllegalBlockingModeException.java: New file.
7192         * Makefile.am (ordinary_java_source_files):
7193         added java/nio/IllegalBlockingModeException.java
7194         * Makefile.in: Regenerated.
7195
7196 2002-09-25  Michael Koch  <konqueror@gmx.de>
7197
7198         * java/net/DatagramPacket
7199         (DatagramPacket): Exception documentation added.
7200         (setData): Likewise.
7201         (setSocketAddress): Likewise.
7202         * java/net/DatagramSocketImpl.java
7203         (peek): Documentation addded.
7204         (peekData): Documentation addded.
7205         (send): Documentation addded.
7206         (receive): Documentation addded.
7207         (connect): New method.
7208         (disconnect): New method.
7209         (joinGroup): New abstract method.
7210         (leaveGroup): New abstract method.
7211         * java/net/InetSocketAddress.java
7212         (InetSocketAddress): Documentation added.
7213         (equals): final keyword added.
7214         (getAddress): final keyword added.
7215         (getHostName): final keyword added.
7216         (getPort): final keyword added.
7217         (hashCode): final keyword added.
7218         (isUnresolved): final keyword added.
7219         * java/net/MulticastSocket.java
7220         (MulticastSocket): Documentation added.
7221         (MulticastSocket): New method.
7222         (joinGroup): Documentation added.
7223         (joinGroup): New method.
7224         (leaveGroup): Documentation added.
7225         (leaveGroup): New method.
7226         (send): Documentation added.
7227         * java/net/NetworkInterface.java
7228         (getByName): Documentation added.
7229         (getByInetAddress): Documentation added.
7230         (getNetworkInterfaces): Documentation added.
7231         * java/net/PlainDatagramSocketImpl.java
7232         (connect): New method.
7233         (disconnect): New method.
7234         * java/net/SocketImpl.java
7235         (create): Documentation added.
7236         (shutdownInput): Convert public to protected, as it always was.
7237         (shutdownOutput): Convert public to protected, as it always was.
7238         * java/net/SocketOptions.java
7239         (whole file): Reintented.
7240         * java/net/URLClassLoader.java
7241         (URLClassLoader): SecurityManager check added, documentation added.
7242         (findResources): Documentation added.
7243         (findClass): Documentation added.
7244         (newInstance): More correct method arguments.
7245         * java/net/URLConnection.java
7246         (connect): Documentation added.
7247         (getContent): Documentation added.
7248         (getPermission): Documentation added.
7249         (getInputStream): Documentation added.
7250         (getOutputStream): Documentation added.
7251         (setDoInput): Throw correct exception, documentation added.
7252         (setDoOutput): Throw correct exception, documentation added.
7253         (setAllowUserInteraction): Throw correct exception, documentation added.
7254         (setUseCaches): Throw correct exception, documentation added.
7255         (setIfModifiedSince): Throw correct exception, documentation added.
7256         (setRequestProperty): Throw exception, documentation added.
7257         (addRequestProperty): Throw exception, documentation added.
7258         (getRequestProperty): Throw exception, documentation added.
7259         (getRequestProperties): Documentation added.
7260         (setContentHandlerFactory): Documentation added.
7261         (guessContentTypeFromName): protected to public.
7262         (setFileNameMap): Documentation added.
7263         * java/net/URLDecoder.java
7264         (URLDecoder): New method.
7265         (decode): Documentation added.
7266         (whole file): Reindented.
7267         * java/net/URLEncoder.java
7268         (encode): Documentation added.
7269         * java/net/natPlainDatagramSocketImpl.cc
7270         (connect): New method.
7271         (disconnect): New method.
7272         * javax/naming/RefAddr:
7273         (addrType): addrType was never final.
7274         (equals): Fix typo in method name.
7275         * javax/naming/BinaryRefAddr:
7276         (equals): Fix typo in method name.
7277
7278 2002-09-22  Tom Tromey  <tromey@redhat.com>
7279
7280         Fix for PR libgcj/6576:
7281         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7282         didn't find a given bundle.
7283         (getBundle): Don't require base bundle.
7284         (setParent): Removed old comment.
7285         (tryLocalBundle): Try components even if preceding components were
7286         empty.
7287
7288 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7289
7290         * Makefile.am (all-multi): Fix multilib parallel build.
7291
7292 2002-09-21  Michael Koch  <konqueror@gmx.de>
7293
7294         * java/net/Socket.java
7295         (sendUrgentData): New method.
7296         (getChannel): New method.
7297         * java/net/ServerSocket.java
7298         (getChannel): New method.
7299         (isBound): New method.
7300         * java/net/DatagramSocket.java
7301         (DatagramSocket): Two new methods.
7302         (bind): New method.
7303         (getChannel): New method.
7304         (isBound): New method.
7305         (send): Added newline to to make shorter lines.
7306         * java/net/PlainDatagramSocketImpl.java
7307         (mcastGrp): Added argument.
7308         (join): Use new mcastGrp.
7309         (leave): Use new mcastGrp.
7310         (joinGroup): New method.
7311         (leaveGroup): New method.
7312         * java/net/natPlainDatagramSocketImpl.cc
7313         (mcastGrp): Added argument, no yet really implemented.
7314         (getOption): Added newline for shorter lines.
7315         * java/net/natPlainSocketImpl.cc
7316         (read, setOption, getOption): Added newline for shorter lines.
7317
7318 2002-09-19  Tom Tromey  <tromey@redhat.com>
7319
7320        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7321        newly-created exception.
7322
7323 2002-09-18  Michael Koch  <konqueror@gmx.de>
7324
7325         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7326         java/util/regex/PatternSyntaxException.java:
7327         Merge with classpath, new files.
7328         * Makefile.am (core_java_source_files):
7329         Added java/util/regex/Matcher.java,
7330         java/util/regex/Pattern.java,
7331         java/util/regex/PatternSyntaxException.java
7332         * Makefile.in: Regenerated.
7333         * include/config.h.in: Added HAVE_NET_IF_H.
7334         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7335         Removed #if 0 ... #endif.
7336
7337 2002-09-17  Michael Koch  <konqueror@gmx.de>
7338
7339         * java/net/natNetworkInterface.cc:
7340         Removed unneed and yet wrong includes.
7341
7342 2002-09-17  Michael Koch  <konqueror@gmx.de>
7343
7344         * java/net/NetworkInterface.java: New file.
7345         * java/net/natNetworkInterface.java: New file.
7346         * configure.in: Added check for net/if.h.
7347         * configure: Regenerated.
7348         * Makefile.am
7349         (ordinary_java_source_files): Added NetworkInterface.java.
7350         (nat_source_files): Added natNetworkInterface.cc.
7351         * Makefile.in: Regenerated.
7352
7353 2002-09-16  Tom Tromey  <tromey@redhat.com>
7354
7355         * java/net/URLClassLoader.java (findClass): Code source for a
7356         class from a jar is not necessarily a jar: URL.
7357
7358 2002-09-16  Michael Koch  <konqueror@gmx.de>
7359
7360         * java/lang/AssertionError.java:
7361         Merge with classpath, fixes HTML.
7362         * java/rmi/server/LogStream.java:
7363         Merge with classpath, fixes some constants.
7364         * java/net/server/RemoteServer.java:
7365         Merge with classpath, adds serialVersionUID.
7366         * javax/naming/BinaryRefAddr.java:
7367         Merge with classpath, s/equal/equals/.
7368         * javax/naming/NamingException.java:
7369         Merge with classpath, fixed typo.
7370         * javax/naming/RefAddr.java:
7371         Merge with classpath, s/equal/equals/.
7372         * java/awt/Toolkit.java:
7373         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7374         and typo fixed.
7375
7376 2002-09-15  Adam Megacz <adam@xwt.org>
7377
7378         * java/net/natPlainSocketImpl.cc: fixed typo.
7379
7380 2002-09-15  Adam Megacz <adam@xwt.org>
7381
7382         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7383         which don't work on Win32 (yet).
7384
7385 2002-09-14  Adam Megacz <adam@xwt.org>
7386
7387         * java/net/natPlainDatagramSocket.cc: removed #include
7388         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7389         * include/win32.h: included definition for IP_TOS to satisfy
7390         natPlainDatagramSocket.cc
7391
7392 2002-09-13  Michael Koch  <konqueror@gmx.de>
7393
7394         * java/net/DatagramPacket.java (DatagramPacket):
7395         Added linebreak for 80 chars per line.
7396         * java/net/JarURLConection.java
7397         (getInputStreami, getJarEntry): Likewise.
7398         * java/net/SocketPErmission.java
7399         (SocketPermission class docu, implies): Likewise.
7400         * java/net/URLClassLoader.java (findResources): Likewise.
7401         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7402
7403 2002-09-13  Michael Koch  <konqueror@gmx.de>
7404
7405         * java/nio/channels/DatagramChannel.java,
7406         java/nio/channels/ServerSocketChannel.java
7407         java/nio/channels/SocketChannel.java:
7408         New dummy files to make java.net fully JDK 1.4 compatible
7409         * Makefile.am (ordinary_java_source_files): Added
7410         java/net/DatagramSocketImplFactory.java (long forgotten),
7411         java/nio/SocketChannel.java,
7412         java/nio/ServerSocketChannel.java,
7413         java/nio/DatagramChannel.java
7414         * Makefile.in: Regenrated.
7415
7416 2002-09-12  Michael Koch  <konqueror@gmx.de>
7417
7418         * java/net/DatagramSocketImpl.java
7419         (peekData): New method.
7420         * java/net/PlainDatagramSocketImpl.java
7421         (peekData): New method.
7422         * java/net/natPlainDatagramSocketImpl.cc
7423         (peekData): New method.
7424         * java/net/URLConnection
7425         (getPermission): New method.
7426         (addRequestProperty): New method.
7427         (getRequestProperties): New method.
7428         (guessContentTypeFromStream): New method, not really implemented.
7429         (URLConnection): Added/updated documentation.
7430         (connect): Added/updated documentation.
7431         (getURL): Added/updated documentation.
7432         (getContentLength): Added/updated documentation.
7433         (getContentType: Added/updated documentation.
7434         (getContentEncoding): Added/updated documentation.
7435         (getExpiration): Added/updated documentation.
7436         (getDate): Added/updated documentation.
7437         (getLastModified): Added/updated documentation.
7438         (getHeaderField): Added/updated documentation.
7439         (getHeaderFields): Added/updated documentation.
7440         (getHeaderFieldInt): Added/updated documentation.
7441         (getHeaderFieldDate): Added/updated documentation.
7442         (getHeaderFieldKey): Added/updated documentation.
7443         (getContent): Added/updated documentation.
7444         (getInputStream): Added/updated documentation.
7445         (getOutputStream): Added/updated documentation.
7446         (toString): Added/updated documentation.
7447         (setDoInput): Added/updated documentation.
7448         (getDoInput): Added/updated documentation.
7449         (setDoOutput): Added/updated documentation.
7450         (getDoOutput): Added/updated documentation.
7451         (setAllowUserInteraction): Added/updated documentation.
7452         (getAllowUserInteraction): Added/updated documentation.
7453         (setDefaultAllowUserInteraction): Added/updated documentation.
7454         (getDefaultAllowUserInteraction): Added/updated documentation.
7455         (setUseCaches): Added/updated documentation.
7456         (getUseCaches): Added/updated documentation.
7457         (setIfModifiedSince): Added/updated documentation.
7458         (getIfModifiedSince): Added/updated documentation.
7459         (getDefaultUseCaches): Added/updated documentation.
7460         (setDefaultUseCaches): Added/updated documentation.
7461         (setRequestProperty): Added/updated documentation.
7462         (getRequestProperty): Added/updated documentation.
7463         (setDefaultRequestProperty): Added/updated documentation.
7464         (getDefaultRequestProperty): Added/updated documentation.
7465         (setContentHandlerFactory): Added/updated documentation.
7466         (guessContentTypeFromName): Added/updated documentation.
7467         (getFileNameMap): Added/updated documentation.
7468         (setFileNameMap): Added/updated documentation.
7469
7470 2002-09-11  Michael Koch  <konqueror@gmx.de>
7471
7472         * java/net/Socket.java
7473         (Socket): protected to public (since JDK 1.4). Added @specnote.
7474         (bind): New method.
7475         (connect): Two new methods.
7476         (getKeepalive): Get correct socket option.
7477         (setKeepalive): Set correct socket option.
7478         (getOOBInline): New method.
7479         (setOOBInline): New method.
7480         * java/net/ServerSocket.java
7481         (bind): Two new methods.
7482         (getInetAddress): Reimplemented, catch exception.
7483         (getLocalSocketAddress): New method.
7484         (setReuseAddress): New method.
7485         (getReuseAdress): New method.
7486         (setReceiveBufferSize): New method.
7487         (getReceiveBufferSize): New method.
7488         (toString): Made string JDK 1.4 compliant.
7489
7490 2002-09-10  Michael Koch  <konqueror@gmx.de>
7491
7492         * java/net/SocketImpl.java
7493         (connect): New method.
7494         (supportsUrgentData): New method.
7495         (sendUrgentData): New method.
7496         * java/net/PlainSocketImpl.java
7497         (connect): One new method and two new implementation.
7498         (sendUrgentData): New method.
7499         * java/natPlainSocketImpl.cc
7500         (connect): Arguments changed, added support for timeouts.
7501         (getOption): Another __java_boolean to jboolean.
7502
7503 2002-09-07  Adam Megacz <adam@xwt.org>
7504
7505         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7506         definition of IP_TOS.
7507
7508 2002-09-04  Michael Koch  <konqueror@gmx.de>
7509
7510         * java/net/DatagramSocket.java
7511         (DatagramSocket): Added documentation.
7512         (close): Likewise.
7513         (getLocalAddress): Likewise.
7514         (getLocalPort): Likewise.
7515         (receive): Likewise.
7516         (send): Likewise.
7517         (setSoTimeout): Likewise.
7518         (connect): New method.
7519         (disconnect): New method.
7520         (getInetAddress): New method (FIXME)
7521         (getPort): New method.
7522         (setReuseAddress): New method.
7523         (getReuseAddress): New method.
7524         (setBroadcast): New method.
7525         (getBroadcast): New method.
7526         (setTrafficClass): New method.
7527         (getTrafficClass): New method.
7528         * java/net/MulticastSocket.java):
7529         (getTTL): Added @see in documentation.
7530         (setTTL): Added @see in documentation.
7531         (setLoopbackMode): New method.
7532         (getLoopbackMode): New method.
7533         * java/net/PlainSocketImpl.java:
7534         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7535         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7536         * java/net/PlainDatagramSocketImpl.java
7537         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7538         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7539         * java/net/natPlainSocketImpl.cc
7540         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7541         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7542         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7543         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7544         This should also fix SO_KEEPALIVE
7545         * java/net/natPlainDatagramSocketImpl.cc
7546         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7547         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7548         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7549         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7550
7551 2002-09-04  Michael Koch  <konqueror@gmx.de>
7552
7553         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7554         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7555         IP_MULTICAST_LOOP, IP_TOS
7556
7557 2002-09-03  Tom Tromey  <tromey@redhat.com>
7558
7559         * java/lang/Class.h (_getDeclaredMethod): Declare.
7560         (_getMethod): Now private.
7561         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7562         getDeclaredMethod.  Now returns NULL on failure.
7563         * java/lang/Class.java (_getDeclaredMethod): Declare.
7564         (getDeclaredMethod): No longer native; implements access checks.
7565
7566 2002-09-01  Mark Wielaard  <mark@klomp.org>
7567
7568         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7569         (sanitizeStack): Correctly reset unknown and interpreter counters,
7570         detect interpreter runtime frames.
7571         (demangleInterpreterMethod): New method.
7572         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7573         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7574         filling in addrs[].
7575
7576 2002-09-02  Michael Koch  <konqueror@gmx.de>
7577
7578         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7579         re-indented documentation.
7580
7581 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7582
7583         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7584         public, per 1.4 spec.  Fixes PR libgcj/7785.
7585
7586 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7587
7588         * Makefile.in: Rebuilt.
7589         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7590
7591 2002-08-29  Tom Tromey  <tromey@redhat.com>
7592
7593         * java/net/JarURLConnection.java (getCertificates): New method
7594         from Classpath.
7595         * java/net/URLClassLoader.java (URLClassLoader): Extends
7596         SecureClassLoader.
7597         (definePackage): New method from Classpath.
7598         (getPermissions): Likewise.
7599         (newInstance): Likewise.
7600         (findClass): Construct CodeSource for new class (from Classpath).
7601         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7602         methods.
7603         * java/net/URL.java (getUserInfo): New method.
7604         (set(String,String,int,String,String,String,String,String)): New
7605         method.
7606         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7607         (shutdownInput, shutdownOutput): Declare.
7608         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7609         Define.
7610         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7611         (getOption): Likewise.
7612         (shutdownInput): New method.
7613         (shutdownOutput): Likewise.
7614         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7615         keepalive.
7616         (getOption): Likewise.
7617         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7618         * java/net/Socket.java (setKeepAlive): New method.
7619         (getKeepAlive): Likewise.
7620         (shutdownInput, shutdownOutput): New methods.
7621
7622 2002-08-29  Michael Koch  <konqueror@gmx.de>
7623
7624         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7625         new methods are:
7626         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7627           address),
7628         DatagramPacket(byte[] buf, int length, SocketAddress address),
7629         void setSocketAddress(SocketAddress address)
7630         public SocketAddress getSocketAddress()
7631
7632 2002-08-29  Tom Tromey  <tromey@redhat.com>
7633
7634         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7635         ftruncate is missing.
7636         * configure, include/config.h.in: Rebuilt.
7637         * acconfig.h (HAVE_FTRUNCATE): Mention.
7638         * configure.in: Check for ftruncate.
7639
7640 2002-08-29  Tom Tromey  <tromey@redhat.com>
7641
7642         * include/jvm.h (struct _Jv_frame_info): New structure.
7643         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7644         java-interp.h.
7645         (lookupInterp): New method.
7646         (getAddrAsString): Use _Jv_frame_info.
7647         (dladdrLookup): Likewise.
7648         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7649         interpreted frame.
7650         (lookupInterp): Declare.
7651         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7652         (fillInStackTrace): Collect information on interpreted frames.
7653         Use _Jv_frame_info.
7654         * interpret.cc: Include Thread.h.
7655         (run): Create and push _Jv_MethodChain object.
7656         (_Jv_EndOfInterpreter): New global.
7657         * java/lang/Thread.java (interp_frame): New field.
7658         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7659         Include NameFinder.h.
7660
7661 2002-08-28  Tom Tromey  <tromey@redhat.com>
7662
7663         * java/lang/Class.h: Include Package.h.
7664         (Class::getProtectionDomain): Declare.
7665         (Class::getPackage): Declare.
7666
7667 2002-08-28  Michael Koch <konqueror@gmx.de>
7668
7669         * java/net/InetSocketAddress.java: Added some documentation and argument
7670         checks for the port numbers.
7671         * java/net/DatagramSocketImplFactory.java: New file.
7672
7673 2002-08-28  Michael Koch <konqueror@gmx.de>
7674
7675         * java/net/Authenticator.java: added some documentation.
7676
7677 2002-08-27  Tom Tromey  <tromey@redhat.com>
7678
7679         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7680         class.
7681         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7682
7683 2002-08-27  Michael Koch <konqueror@gmx.de>
7684
7685         * java/net/BindException.java,
7686         java/net/JarURLConnection.java,
7687         java/net/FileNameMap.java,
7688         java/net/HttpURLConnection.java,
7689         java/net/InetSocketAddress.java,
7690         java/net/DatagramPacket.java,
7691         java/net/DatagramSocket.java,
7692         java/net/DatagramSocketImpl.java,
7693         java/net/MulticastSocket.java,
7694         java/net/PasswordAuthentication.java,
7695         java/net/ServerSocket.java,
7696         java/net/Socket.java,
7697         java/net/URLClassLoader.java,
7698         java/net/URLConnection.java: add/update of some @since/@deprecated
7699
7700 2002-08-27  Tony Kimball <alk@pobox.com>
7701             Tom Tromey  <tromey@redhat.com>
7702
7703         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7704         define.
7705         (::close): Removed.
7706         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7707         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7708         (::close): Removed.
7709         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7710         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7711
7712 2002-08-25  Adam Megacz <adam@xwt.org>
7713
7714         * include/win32.h (getcwd): copied function declaration as
7715         temporary fix for header confusion.
7716
7717 2002-08-24  Mark Wielaard <mark@klomp.org>
7718
7719         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7720         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7721         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7722         and natNameFinder.cc.
7723         * Makefile.in: Regenerate.
7724         * prims.cc: Use trace_enabled from VMThrowable.
7725         * name-finder.cc: Removed.
7726         * gcj/javaprims.h: Add class VMThrowable.
7727         * gnu/gcj/runtime/NameFinder.java: New file.
7728         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7729         * include/name-finder.h: Removed.
7730         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7731         method stackTraceString().
7732         (printStackTrace (PrintWriter)): Likewise.
7733         (stackTraceString): Complete rewrite of old printStackTrace using
7734         StringBuffer.
7735         (stackTraceStringBuffer): New helper method for stackTraceString().
7736         (fillInStackTrace): Delegate to VMTrowable.
7737         (getStackTrace): Likewise.
7738         (getStackTrace0): Removed.
7739         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7740         (setStackTrace): Copy given array.
7741         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7742         * java/lang/VMThrowable.java: New class.
7743         * java/lang/natVMThrowable.cc: New file.
7744
7745 2003-08-23  Michael Koch  <konqueror@gmx.de>
7746
7747         * java/net/URLConnection.java,
7748         java/netJarURLConnection.java,
7749         gnu/gcj/protocol/core/Connection.java,
7750         gnu/gcj/protocol/file/Connection.java,
7751         gnu/gcj/protocol/http/Connection.java: Added implementation of
7752         getHeaderFields().
7753
7754 2002-08-22  Tom Tromey  <tromey@redhat.com>
7755
7756         * gij.cc (help): Document -cp and -classpath.
7757         (main): Handle -classpath.
7758
7759 2002-08-21  Tom Tromey  <tromey@redhat.com>
7760
7761         * Makefile.in: Rebuilt.
7762         * Makefile.am (ordinary_java_source_files): Added
7763         SocketAddress.java, InetSocketAddress.java.
7764         * java/net/PortUnreachableException.java: Merged with Classpath.
7765         * java/net/SocketTimeoutException.java: Likewise.
7766         * java/net/URISyntaxException.java: Likewise.
7767         * java/net/SocketAddress.java: New class from Classpath.
7768         * java/net/InetSocketAddress.java: Likewise.
7769
7770 2003-08-21  Michael Koch  <konqueror@gmx.de>
7771
7772         * java/net/Authenticator.java: updated JDK 1.4
7773         * java/net/ContentHandler.java: updated JDK 1.4
7774
7775 2002-08-20  Michael Koch  <konqueror@gmx.de>
7776
7777         * java/net/URISyntaxException.java: New file.
7778         * java/net/SocketTimeoutException.java: New file.
7779         * java/net/PortUnreachableException.java: New file.
7780         * Makefile.am: Updated.
7781         * Makefile.in: Rebuilt.
7782
7783 2002-08-18  Mark Wielaard  <mark@klomp.org>
7784
7785         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7786         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7787         MessageDigestSpi (fixes Classpath bug #783).
7788
7789 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7790
7791         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7792         (startProcess): Allocate path for chdir in async-signal-safe way.
7793
7794 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7795
7796         Fix for PR libgcj/7570 and PR libgcj/7578:
7797         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7798         (startProcess): Handle new `dir' argument.
7799         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7800         argument.
7801         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7802         argument.
7803         (startProcess): Likewise.
7804         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7805         argument.
7806         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7807         (exec): Don't create new environment if ENV==null.  Pass DIR to
7808         execInternal.
7809         * java/lang/natRuntime.cc: Include java/io/File.h.
7810         (execInternal): Added `dir' argument.
7811
7812 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7813
7814         * java/io/RandomAccessFile.java (skipBytes): Return number of
7815         bytes skipped.
7816
7817 2002-08-01  Mark Wielaard  <mark@klomp.org>
7818
7819         Reenable patch since shared library troubles on powerpc are solved:
7820         * gnu/java/security/provider/Gnu.java: Reference all implementation
7821         classes by using Class.getName().
7822         * gnu/java/security/der/DEREncodingException.java,
7823         gnu/java/security/provider/DERReader.java,
7824         gnu/java/security/provider/DERWriter.java,
7825         gnu/java/security/provider/DSAKeyPairGenerator.java,
7826         gnu/java/security/provider/DSAParameterGenerator.java,
7827         gnu/java/security/provider/DSAParameters.java,
7828         gnu/java/security/provider/DSASignature.java,
7829         gnu/java/security/provider/GnuDSAPrivateKey.java,
7830         gnu/java/security/provider/GnuDSAPublicKey.java,
7831         gnu/java/security/provider/MD5.java,
7832         gnu/java/security/util/Prime.java: New classes
7833         * Makefile.am (ordinary_java_source_files): Add above files.
7834         * Makefile.in: Regenerate.
7835         * gnu/java/security/provider/DefaultPolicy.java
7836         (getPermissions): Don't maintain static class variable of Permissions.
7837         * gnu/java/security/provider/SHA.java
7838         (engineUpdate): algorithm change.
7839         (engineDigest): algorithm change.
7840
7841 2002-08-09  Mark Wielaard  <mark@klomp.org>
7842
7843         * java/awt/image/MemoryImageSource.java: Change constructor to take
7844         int[] not byte[].
7845         * java/awt/Graphics2D.java: Uncomment methods that can now be
7846         compiled.
7847         * java/awt/GridBagLayout.java: New stub implementation.
7848         * javax/swing/text/html/HTML.java: Stub implementation.
7849         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7850         implementation.
7851
7852         * Makefile.am: Add new files.
7853         * Makefile.in: Rebuilt.
7854
7855 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7856
7857         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7858         methods in Graphics2D.
7859
7860 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7861
7862         AWT/Swing merge from GNU Classpath.
7863
7864         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7865         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7866         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7867         java/awt/color/ProfileDataException.java,
7868         java/awt/CompositeContext.java, java/awt/Composite.java,
7869         java/awt/ContainerOrderFocusTraversalPolicy.java,
7870         java/awt/datatransfer/FlavorTable.java,
7871         java/awt/DefaultFocusTraversalPolicy.java,
7872         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7873         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7874         java/awt/dnd/DragGestureListener.java,
7875         java/awt/dnd/DragGestureRecognizer.java,
7876         java/awt/dnd/DragSourceAdapter.java,
7877         java/awt/dnd/DragSourceContext.java,
7878         java/awt/dnd/DragSourceDragEvent.java,
7879         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7880         java/awt/dnd/DragSourceListener.java,
7881         java/awt/dnd/DragSourceMotionListener.java,
7882         java/awt/dnd/DropTarget.java,
7883         java/awt/dnd/InvalidDnDOperationException.java,
7884         java/awt/dnd/peer/DragSourceContextPeer.java,
7885         java/awt/event/AWTEventListenerProxy.java,
7886         java/awt/event/MouseWheelEvent.java,
7887         java/awt/event/MouseWheelListener.java,
7888         java/awt/event/WindowFocusListener.java,
7889         java/awt/event/WindowStateListener.java,
7890         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7891         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7892         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7893         java/awt/geom/FlatteningPathIterator.java,
7894         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7895         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7896         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7897         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7898         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7899         java/awt/image/ImagingOpException.java,
7900         java/awt/image/RasterFormatException.java,
7901         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7902         java/awt/image/VolatileImage.java,
7903         java/awt/image/WritableRenderedImage.java,
7904         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7905         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7906         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7907         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7908         java/awt/PageAttributes.java, java/awt/print/Book.java,
7909         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7910         java/awt/print/Paper.java, java/awt/print/Printable.java,
7911         java/awt/print/PrinterAbortException.java,
7912         java/awt/print/PrinterException.java,
7913         java/awt/print/PrinterGraphics.java,
7914         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7915         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
7916         java/awt/Stroke.java, java/awt/TexturePaint.java,
7917         javax/accessibility/AccessibleAction.java,
7918         javax/accessibility/AccessibleBundle.java,
7919         javax/accessibility/AccessibleComponent.java,
7920         javax/accessibility/AccessibleContext.java,
7921         javax/accessibility/AccessibleEditableText.java,
7922         javax/accessibility/AccessibleExtendedComponent.java,
7923         javax/accessibility/AccessibleExtendedTable.java,
7924         javax/accessibility/AccessibleHyperlink.java,
7925         javax/accessibility/AccessibleHypertext.java,
7926         javax/accessibility/AccessibleIcon.java,
7927         javax/accessibility/Accessible.java,
7928         javax/accessibility/AccessibleKeyBinding.java,
7929         javax/accessibility/AccessibleRelation.java,
7930         javax/accessibility/AccessibleRelationSet.java,
7931         javax/accessibility/AccessibleResourceBundle.java,
7932         javax/accessibility/AccessibleRole.java,
7933         javax/accessibility/AccessibleSelection.java,
7934         javax/accessibility/AccessibleState.java,
7935         javax/accessibility/AccessibleStateSet.java,
7936         javax/accessibility/AccessibleTable.java,
7937         javax/accessibility/AccessibleTableModelChange.java,
7938         javax/accessibility/AccessibleText.java,
7939         javax/accessibility/AccessibleValue.java,
7940         javax/swing/AbstractAction.java,
7941         javax/swing/AbstractButton.java,
7942         javax/swing/AbstractCellEditor.java,
7943         javax/swing/AbstractListModel.java,
7944         javax/swing/AbstractSet.java, javax/swing/Action.java,
7945         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
7946         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
7947         javax/swing/border/CompoundBorder.java,
7948         javax/swing/border/EmptyBorder.java,
7949         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
7950         javax/swing/border/LineBorder.java,
7951         javax/swing/border/MatteBorder.java,
7952         javax/swing/border/TitledBorder.java,
7953         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
7954         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
7955         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
7956         javax/swing/CellRendererPane.java,
7957         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7958         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7959         javax/swing/colorchooser/ColorSelectionModel.java,
7960         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7961         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
7962         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
7963         javax/swing/DefaultBoundedRangeModel.java,
7964         javax/swing/DefaultButtonModel.java,
7965         javax/swing/DefaultCellEditor.java,
7966         javax/swing/DefaultCellRenderer.java,
7967         javax/swing/DefaultComboBoxModel.java,
7968         javax/swing/DefaultDesktopManager.java,
7969         javax/swing/DefaultFocusManager.java,
7970         javax/swing/DefaultListCellRenderer.java,
7971         javax/swing/DefaultListModel.java,
7972         javax/swing/DefaultListSelectionModel.java,
7973         javax/swing/DefaultSingleSelectionModel.java,
7974         javax/swing/DesktopManager.java,
7975         javax/swing/event/AncestorEvent.java,
7976         javax/swing/event/AncestorListener.java,
7977         javax/swing/event/CaretEvent.java,
7978         javax/swing/event/CaretListener.java,
7979         javax/swing/event/CellEditorListener.java,
7980         javax/swing/event/ChangeEvent.java,
7981         javax/swing/event/ChangeListener.java,
7982         javax/swing/event/DocumentEvent.java,
7983         javax/swing/event/DocumentListener.java,
7984         javax/swing/event/EventListenerList.java,
7985         javax/swing/event/HyperlinkEvent.java,
7986         javax/swing/event/HyperlinkListener.java,
7987         javax/swing/event/InternalFrameAdapter.java,
7988         javax/swing/event/InternalFrameEvent.java,
7989         javax/swing/event/InternalFrameListener.java,
7990         javax/swing/event/ListDataEvent.java,
7991         javax/swing/event/ListDataListener.java,
7992         javax/swing/event/ListSelectionEvent.java,
7993         javax/swing/event/ListSelectionListener.java,
7994         javax/swing/event/MenuDragMouseEvent.java,
7995         javax/swing/event/MenuDragMouseListener.java,
7996         javax/swing/event/MenuEvent.java,
7997         javax/swing/event/MenuKeyEvent.java,
7998         javax/swing/event/MenuKeyListener.java,
7999         javax/swing/event/MenuListener.java,
8000         javax/swing/event/MouseInputAdapter.java,
8001         javax/swing/event/MouseInputListener.java,
8002         javax/swing/event/PopupMenuEvent.java,
8003         javax/swing/event/PopupMenuListener.java,
8004         javax/swing/event/SwingPropertyChangeSupport.java,
8005         javax/swing/event/TableColumnModelEvent.java,
8006         javax/swing/event/TableColumnModelListener.java,
8007         javax/swing/event/TableModelEvent.java,
8008         javax/swing/event/TableModelListener.java,
8009         javax/swing/event/TreeExpansionEvent.java,
8010         javax/swing/event/TreeExpansionListener.java,
8011         javax/swing/event/TreeModelEvent.java,
8012         javax/swing/event/TreeModelListener.java,
8013         javax/swing/event/TreeSelectionEvent.java,
8014         javax/swing/event/TreeSelectionListener.java,
8015         javax/swing/event/TreeWillExpandListener.java,
8016         javax/swing/event/UndoableEditEvent.java,
8017         javax/swing/event/UndoableEditListener.java,
8018         javax/swing/filechooser/FileFilter.java,
8019         javax/swing/filechooser/FileSystemView.java,
8020         javax/swing/filechooser/FileView.java,
8021         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8022         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8023         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8024         javax/swing/JApplet.java, javax/swing/JButton.java,
8025         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8026         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8027         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8028         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8029         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8030         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8031         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8032         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8033         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8034         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8035         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8036         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8037         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8038         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8039         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8040         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8041         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8042         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8043         javax/swing/JToolTip.java, javax/swing/JTree.java,
8044         javax/swing/JViewport.java, javax/swing/JWindow.java,
8045         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8046         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8047         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8048         javax/swing/MenuSelectionManager.java,
8049         javax/swing/MutableComboBoxModel.java,
8050         javax/swing/OverlayLayout.java,
8051         javax/swing/plaf/ActionMapUIResource.java,
8052         javax/swing/plaf/basic/BasicBorders.java,
8053         javax/swing/plaf/basic/BasicButtonUI.java,
8054         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8055         javax/swing/plaf/basic/BasicDefaults.java,
8056         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8057         javax/swing/plaf/basic/BasicIconFactory.java,
8058         javax/swing/plaf/basic/BasicLabelUI.java,
8059         javax/swing/plaf/basic/BasicListUI.java,
8060         javax/swing/plaf/basic/BasicLookAndFeel.java,
8061         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8062         javax/swing/plaf/basic/BasicPanelUI.java,
8063         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8064         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8065         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8066         javax/swing/plaf/basic/BasicTextUI.java,
8067         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8068         javax/swing/plaf/basic/BasicTreeUI.java,
8069         javax/swing/plaf/basic/BasicViewportUI.java,
8070         javax/swing/plaf/BorderUIResource.java,
8071         javax/swing/plaf/ButtonUI.java,
8072         javax/swing/plaf/ColorChooserUI.java,
8073         javax/swing/plaf/ColorUIResource.java,
8074         javax/swing/plaf/ComboBoxUI.java,
8075         javax/swing/plaf/ComponentInputMapUIResource.java,
8076         javax/swing/plaf/ComponentUI.java,
8077         javax/swing/plaf/DesktopIconUI.java,
8078         javax/swing/plaf/DesktopPaneUI.java,
8079         javax/swing/plaf/DimensionUIResource.java,
8080         javax/swing/plaf/FileChooserUI.java,
8081         javax/swing/plaf/FontUIResource.java,
8082         javax/swing/plaf/IconUIResource.java,
8083         javax/swing/plaf/InputMapUIResource.java,
8084         javax/swing/plaf/InsetsUIResource.java,
8085         javax/swing/plaf/InternalFrameUI.java,
8086         javax/swing/plaf/LabelUI.java,
8087         javax/swing/plaf/ListUI.java,
8088         javax/swing/plaf/MenuBarUI.java,
8089         javax/swing/plaf/MenuItemUI.java,
8090         javax/swing/plaf/OptionPaneUI.java,
8091         javax/swing/plaf/PanelUI.java,
8092         javax/swing/plaf/PopupMenuUI.java,
8093         javax/swing/plaf/ProgressBarUI.java,
8094         javax/swing/plaf/RootPaneUI.java,
8095         javax/swing/plaf/ScrollBarUI.java,
8096         javax/swing/plaf/ScrollPaneUI.java,
8097         javax/swing/plaf/SeparatorUI.java,
8098         javax/swing/plaf/SliderUI.java,
8099         javax/swing/plaf/SplitPaneUI.java,
8100         javax/swing/plaf/TabbedPaneUI.java,
8101         javax/swing/plaf/TableHeaderUI.java,
8102         javax/swing/plaf/TableUI.java,
8103         javax/swing/plaf/TextUI.java,
8104         javax/swing/plaf/ToolBarUI.java,
8105         javax/swing/plaf/ToolTipUI.java,
8106         javax/swing/plaf/TreeUI.java,
8107         javax/swing/plaf/UIResource.java,
8108         javax/swing/plaf/ViewportUI.java,
8109         javax/swing/ProgressMonitorInputStream.java,
8110         javax/swing/ProgressMonitor.java,
8111         javax/swing/Renderer.java,
8112         javax/swing/RepaintManager.java,
8113         javax/swing/RootPaneContainer.java,
8114         javax/swing/Scrollable.java,
8115         javax/swing/ScrollPaneConstants.java,
8116         javax/swing/ScrollPaneLayout.java,
8117         javax/swing/SingleSelectionModel.java,
8118         javax/swing/SizeRequirements.java,
8119         javax/swing/SizeSequence.java,
8120         javax/swing/SwingConstants.java,
8121         javax/swing/SwingUtilities.java,
8122         javax/swing/table/AbstractTableModel.java,
8123         javax/swing/table/DefaultTableCellRenderer.java,
8124         javax/swing/table/DefaultTableColumnModel.java,
8125         javax/swing/table/DefaultTableModel.java,
8126         javax/swing/table/TableCellEditor.java,
8127         javax/swing/table/TableCellRenderer.java,
8128         javax/swing/table/TableColumn.java,
8129         javax/swing/table/TableColumnModel.java,
8130         javax/swing/table/TableModel.java,
8131         javax/swing/text/AbstractDocument.java,
8132         javax/swing/text/AttributeSet.java,
8133         javax/swing/text/BadLocationException.java,
8134         javax/swing/text/Caret.java,
8135         javax/swing/text/CharacterIterator.java,
8136         javax/swing/text/ComponentView.java,
8137         javax/swing/text/DefaultCaret.java,
8138         javax/swing/text/DefaultEditorKit.java,
8139         javax/swing/text/Document.java,
8140         javax/swing/text/EditorKit.java,
8141         javax/swing/text/Element.java,
8142         javax/swing/text/GapContent.java,
8143         javax/swing/text/JTextComponent.java,
8144         javax/swing/text/Keymap.java,
8145         javax/swing/text/MutableAttributeSet.java,
8146         javax/swing/text/PlainDocument.java,
8147         javax/swing/text/PlainEditorKit.java,
8148         javax/swing/text/Position.java,
8149         javax/swing/text/Segment.java,
8150         javax/swing/text/StyledDocument.java,
8151         javax/swing/text/StyledEditorKit.java,
8152         javax/swing/text/Style.java,
8153         javax/swing/text/TextAction.java,
8154         javax/swing/text/ViewFactory.java,
8155         javax/swing/text/View.java,
8156         javax/swing/Timer.java,
8157         javax/swing/ToggleButtonModel.java,
8158         javax/swing/ToolTipManager.java,
8159         javax/swing/tree/AbstractLayoutCache.java,
8160         javax/swing/tree/DefaultMutableTreeNode.java,
8161         javax/swing/tree/DefaultTreeCellEditor.java,
8162         javax/swing/tree/DefaultTreeCellRenderer.java,
8163         javax/swing/tree/DefaultTreeModel.java,
8164         javax/swing/tree/DefaultTreeSelectionModel.java,
8165         javax/swing/tree/ExpandVetoException.java,
8166         javax/swing/tree/FixedHeightLayoutCache.java,
8167         javax/swing/tree/MutableTreeNode.java,
8168         javax/swing/tree/RowMapper.java,
8169         javax/swing/tree/TreeCellEditor.java,
8170         javax/swing/tree/TreeCellRenderer.java,
8171         javax/swing/tree/TreeModel.java,
8172         javax/swing/tree/TreeNode.java,
8173         javax/swing/tree/TreePath.java,
8174         javax/swing/tree/TreeSelectionModel.java,
8175         javax/swing/tree/VariableHeightLayoutCache.java,
8176         javax/swing/UIDefaults.java,
8177         javax/swing/UIManager.java,
8178         javax/swing/undo/AbstractUndoableEdit.java,
8179         javax/swing/undo/CannotRedoException.java,
8180         javax/swing/undo/CannotUndoException.java,
8181         javax/swing/undo/CompoundEdit.java,
8182         javax/swing/undo/StateEditable.java,
8183         javax/swing/undo/StateEdit.java,
8184         javax/swing/undo/UndoableEdit.java,
8185         javax/swing/undo/UndoableEditSupport.java,
8186         javax/swing/undo/UndoManager.java,
8187         javax/swing/UnsupportedLookAndFeelException.java,
8188         javax/swing/ViewportLayout.java,
8189         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8190
8191         * java/awt/ActiveEvent.java,
8192         java/awt/Adjustable.java, java/awt/AWTError.java,
8193         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8194         java/awt/AWTException.java, java/awt/AWTPermission.java,
8195         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8196         java/awt/Color.java, java/awt/Component.java,
8197         java/awt/ComponentOrientation.java, java/awt/Container.java,
8198         java/awt/datatransfer/MimeTypeParseException.java,
8199         java/awt/datatransfer/Transferable.java,
8200         java/awt/datatransfer/UnsupportedFlavorException.java,
8201         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8202         java/awt/event/ActionListener.java,
8203         java/awt/event/AdjustmentEvent.java,
8204         java/awt/event/AdjustmentListener.java,
8205         java/awt/event/AWTEventListener.java,
8206         java/awt/event/ComponentAdapter.java,
8207         java/awt/event/ComponentEvent.java,
8208         java/awt/event/ComponentListener.java,
8209         java/awt/event/ContainerAdapter.java,
8210         java/awt/event/ContainerEvent.java,
8211         java/awt/event/ContainerListener.java,
8212         java/awt/event/FocusAdapter.java,
8213         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8214         java/awt/event/HierarchyBoundsAdapter.java,
8215         java/awt/event/HierarchyBoundsListener.java,
8216         java/awt/event/HierarchyEvent.java,
8217         java/awt/event/HierarchyListener.java,
8218         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8219         java/awt/event/InputMethodListener.java,
8220         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8221         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8222         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8223         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8224         java/awt/event/MouseListener.java,
8225         java/awt/event/MouseMotionAdapter.java,
8226         java/awt/event/MouseMotionListener.java,
8227         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8228         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8229         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8230         java/awt/event/WindowListener.java, java/awt/Font.java,
8231         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8232         java/awt/geom/Ellipse2D.java,
8233         java/awt/geom/IllegalPathStateException.java,
8234         java/awt/geom/Line2D.java,
8235         java/awt/geom/NoninvertibleTransformException.java,
8236         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8237         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8238         java/awt/geom/RoundRectangle2D.java,
8239         java/awt/GraphicsConfiguration.java,
8240         java/awt/IllegalComponentStateException.java,
8241         java/awt/image/IndexColorModel.java,
8242         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8243         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8244         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8245         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8246         java/awt/MenuItem.java, java/awt/PaintContext.java,
8247         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8248         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8249         java/awt/PrintJob.java, java/awt/Rectangle.java,
8250         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8251         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8252         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8253
8254         * java/awt/im/spi/InputMethod.java,
8255         java/awt/im/spi/InputMethodContext.java,
8256         java/awt/im/spi/InputMethodDescriptor.java,
8257         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8258         java/awt/image/renderable/ParameterBlock.java,
8259         java/awt/image/renderable/RenderContext.java,
8260         java/awt/image/renderable/RenderableImage.java,
8261         java/awt/image/renderable/RenderableImageOp.java,
8262         java/awt/image/renderable/RenderableImageProducer.java,
8263         java/awt/image/renderable/RenderedImageFactory.java: New files from
8264         classpath.
8265
8266         * gnu/java/awt/EventModifier.java,
8267         gnu/java/awt/image/ImageDecoder.java,
8268         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8269
8270         * gnu/awt/xlib/XGraphicsConfiguration.java,
8271         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8272         API.
8273
8274         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8275         GNU Classpath.
8276
8277         * Makefile.am: Add new files.
8278         * Makefile.in: Rebuilt.
8279
8280 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8281
8282         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8283         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8284         findResource, getResources, findResources): Add javadoc from classpath.
8285         (getSystemResources): Implemented.
8286
8287 2002-08-01  Mark Wielaard  <mark@klomp.org>
8288
8289         Revert patch that breaks libgcj shared library on powerpc:
8290         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8291         implementation classes by using Class.getName(). Uses Strings again.
8292         * gnu/java/security/der/DEREncodingException.java,
8293         gnu/java/security/provider/DERReader.java,
8294         gnu/java/security/provider/DERWriter.java,
8295         gnu/java/security/provider/DSAKeyPairGenerator.java,
8296         gnu/java/security/provider/DSAParameterGenerator.java,
8297         gnu/java/security/provider/DSAParameters.java,
8298         gnu/java/security/provider/DSASignature.java,
8299         gnu/java/security/provider/GnuDSAPrivateKey.java,
8300         gnu/java/security/provider/GnuDSAPublicKey.java,
8301         gnu/java/security/provider/MD5.java,
8302         gnu/java/security/util/Prime.java: Removed.
8303         * Makefile.am (ordinary_java_source_files): Remove above files.
8304         * Makefile.in: Regenerate.
8305         * gnu/java/security/provider/DefaultPolicy.java
8306         (getPermissions): Revert to maintaining static class variable of
8307         Permissions.
8308         * gnu/java/security/provider/SHA.java
8309         (engineUpdate): Revert algorithm change.
8310         (engineDigest): Revert algorithm change.
8311
8312 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8313
8314         * configure.host: Add SH support.
8315         * sysdep/sh/locks.h: New file.
8316
8317 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8318
8319         * java/awt/Frame.java (Frame): Remove println calls.
8320
8321 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8322
8323         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8324         * configure: Rebuilt.
8325
8326 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8327
8328         * sysdep/powerpc/locks.h: Formatting.
8329         (_LARX): Define.
8330         (_STCX): Define.
8331         (compare_and_swap): Use _LARX and _STCX.
8332         (compare_and_swap_release): Likewise.
8333
8334 2002-07-26  Tom Tromey  <tromey@redhat.com>
8335
8336         * java/net/Authenticator.java: New version from Classpath.
8337         * java/net/DatagramSocketImpl.java: New version from Classpath.
8338
8339 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8340
8341         * configure.host: Add powerpc64*-* entry.
8342
8343 2002-07-26  Tom Tromey  <tromey@redhat.com>
8344
8345         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8346         fcntl.h.
8347
8348 2002-07-24  Tom Tromey  <tromey@redhat.com>
8349
8350         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8351         argument to _load.
8352
8353 2002-07-24  Tom Tromey  <tromey@redhat.com>
8354             Tony Kimball <alk@pobox.com>
8355
8356         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8357         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8358         * java/io/RandomAccessFile.java (setLength): New method.
8359         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8360         * java/io/FileDescriptor.java (setLength): New method.
8361
8362 2002-07-24  Mark Wielaard  <mark@klomp.org>
8363
8364         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8365         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8366         field call setAccessible(true).
8367         (setByteField): Likewise.
8368         (setCharField): Likewise.
8369         (setDoubleField): Likewise.
8370         (setFloatField): Likewise.
8371         (setIntField): Likewise.
8372         (setLongField): Likewise.
8373         (setShortField): Likewise.
8374         (setObjectField): Likewise.
8375
8376 2002-07-24  Tom Tromey  <tromey@redhat.com>
8377
8378         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8379         use toString() to format array element.
8380
8381 2002-07-23  Mark Wielaard  <mark@klomp.org>
8382
8383         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8384         MessageDigestSpi (fixes Classpath bug #783).
8385
8386 2002-07-21  Mark Wielaard  <mark@klomp.org>
8387
8388         * gnu/java/security/provider/Gnu.java: Reference all implementation
8389         classes by using Class.getName().
8390
8391 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8392
8393         * java/lang/ieeefp.h: Add x86-64 support.
8394         * configure.in: Likewise.
8395         * configure.host: Likewise.
8396         * configure: Regenerated.
8397         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8398
8399 2002-07-16  Mark Wielaard  <mark@klomp.org>
8400
8401         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8402         (whitespaceChars): call resetChar().
8403
8404 2002-07-15  Tom Tromey  <tromey@redhat.com>
8405
8406         * Makefile.in: Rebuilt.
8407         * Makefile.am (awt_java_source_files): Added new files.
8408         * java/beans/ExceptionListener.java: Merged with Classpath.
8409         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8410         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8411         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8412         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8413         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8414         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8415         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8416
8417 2002-07-14  Mark Wielaard  <mark@klomp.org>
8418
8419         * gnu/java/security/der/DEREncodingException.java,
8420         gnu/java/security/provider/DERReader.java,
8421         gnu/java/security/provider/DERWriter.java,
8422         gnu/java/security/provider/DSAKeyPairGenerator.java,
8423         gnu/java/security/provider/DSAParameterGenerator.java,
8424         gnu/java/security/provider/DSAParameters.java,
8425         gnu/java/security/provider/DSASignature.java,
8426         gnu/java/security/provider/GnuDSAPrivateKey.java,
8427         gnu/java/security/provider/GnuDSAPublicKey.java,
8428         gnu/java/security/provider/MD5.java,
8429         gnu/java/security/util/Prime.java: New files from Classpath.
8430         * Makefile.am (ordinary_java_source_files): Add new files.
8431         * Makefile.in: Regenerate.
8432
8433 2002-07-14  C. Brian Jones <cbj@gnu.org>
8434
8435         * gnu/java/security/provider/DefaultPolicy.java
8436         (getPermissions): do not maintain static class variable of
8437         Permissions
8438         * gnu/java/security/provider/SHA.java
8439         (engineUpdate): algorithm change
8440         (engineDigest): algorithm change
8441
8442 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8443
8444         For PR libgcj/7292:
8445         * java/lang/Character.java (toString(char)): Now static.
8446
8447 2002-07-12  Mark Wielaard  <mark@klomp.org>
8448
8449         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8450         (getStackTrace0): new method.
8451         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8452         (printStackTrace(PrintWriter)): replace with pure java implementation.
8453         (printRawStackTrace): removed.
8454         (getStackTrace0): new method.
8455         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8456         * gcj/javaprims.h: regenerate class list.
8457         * include/name-finder.h (lookup): new returns StackTraceElement*.
8458         (method_name, file_name): fields removed.
8459         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8460         (~_Jv_name_finder): close new descriptors.
8461         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8462         (createStackTraceElement): new method.
8463         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8464
8465 2002-07-10  Tom Tromey  <tromey@redhat.com>
8466
8467         * configure: Rebuilt.
8468         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8469
8470 2002-07-08  Mark Wielaard  <mark@klomp.org>
8471
8472         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8473         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8474         java.sql.DatabaseMetaData.TestJdbc20
8475
8476 2002-07-05  Tony Kimball  <alk@pobox.com>
8477
8478         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8479
8480 2002-07-04  Tom Tromey  <tromey@redhat.com>
8481             Jeff Sturm  <jsturm@one-point.com>
8482
8483         Fix for PR libgcj/7060:
8484         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8485         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8486         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8487         * java/lang/Class.java (getMethod): New Java implementation;
8488         complies with spec.
8489         (_getMethod): New native method.
8490
8491 2002-07-02  Tom Tromey  <tromey@redhat.com>
8492             David Hovemeyer  <daveho@cs.umd.edu>
8493
8494         * java/text/ChoiceFormat.java
8495         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8496         in check loop.
8497         * java/text/MessageFormat.java
8498         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8499         to MessageFormat.
8500
8501 2002-07-01  Tom Tromey  <tromey@redhat.com>
8502
8503         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8504         StringTokenizer on null string.  For PR libgcj/7180.
8505         From daveho@cs.umd.edu.
8506
8507 2002-06-24  Tom Tromey  <tromey@redhat.com>
8508
8509         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8510         (IntegerClass): Likewise.
8511         * java/lang/natClass.cc (CloneableClass): Removed.
8512         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8513         ConstructorClass): Likewise.
8514         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8515         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8516         SerializableClass): Likewise.
8517         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8518         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8519         LongClass, FloatClass, DoubleClass): Likewise.
8520
8521         * verify.cc (branch_prepass): Updated for change to exception
8522         handler type.
8523         (verify_instructions_0): Likewise.
8524         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8525         (handleExceptionTableEntry): Updated for change to exception
8526         handler type.
8527         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8528         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8529         (union _Jv_InterpPC): New.
8530         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8531         (class _Jv_InterpMethod): Added new `prepared' field.
8532         (class _Jv_InterpMethod): Added `compile' method.  Removed
8533         `continue1' and `find_exception'.  Changed arguments to `run'.
8534         * interpret.cc (union insn_slot): New.
8535         (find_exception): Removed.
8536         (run_normal): Removed most logic.
8537         (run_synch_object): Likewise; also, use JvSynchronize.
8538         (run_synch_class): Likewise.
8539         (run): Removed.
8540         (continue1): Renamed as `run'.  Compile bytecode if required.
8541         Add new code to allow refinement of direct-threaded code at
8542         runtime.  Handle exceptions.
8543         (SAVE_PC): Removed.
8544         (compile): New method.
8545         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8546         (NULLARRAYCHECK): Don't use SAVE_PC.
8547         (pc_t): New typedef.
8548         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8549         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8550
8551 2002-06-23  Tom Tromey  <tromey@redhat.com>
8552
8553         * configure: Rebuilt.
8554         * configure.in (INTERPRETER): New subst.
8555         (AM_RUNTESTFLAGS): Don't subst.
8556
8557         * Makefile.in: Rebuilt.
8558         * Makefile.am ($(srcdir)/java/lang/Object.h,
8559         $(srcdir)/java/lang/Class.h): Added dummy targets.
8560
8561 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8562
8563         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8564
8565         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8566         java/sql/Savepoint.java: New files.
8567         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8568         java/sql/Blob.java, java/sql/CallableStatement.java,
8569         java/sql/Clob.java, java/sql/Connection.java,
8570         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8571         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8572         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8573         java/sql/Ref.java, java/sql/ResultSet.java,
8574         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8575         java/sql/SQLException.java, java/sql/SQLInput.java,
8576         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8577         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8578         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8579         (JDK 1.4) specification.
8580         * javax/sql/ConnectionEvent.java,
8581         javax/sql/ConnectionEventListener.java,
8582         javax/sql/ConnectionPoolDataSource.java,
8583         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8584         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8585         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8586         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8587         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8588         javax/sql/XADataSource.java: New files.
8589         * Makefile.am: Add new files.
8590         * Makefile.in: Rebuilt.
8591
8592 2002-06-20  Tom Tromey  <tromey@redhat.com>
8593
8594         For PR libgcj/7073:
8595         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8596         exists.
8597         * defineclass.cc (handleClassBegin): Superclass for interface is
8598         `null'.
8599
8600 2002-06-18  Tom Tromey  <tromey@redhat.com>
8601
8602         * gcj/javaprims.h: Updated class declaration list.
8603         * Makefile.in: Rebuilt.
8604         * Makefile.am (core_java_source_files): Removed
8605         BasicMapEntry.java.
8606         * java/util/BasicMapEntry.java: Removed.
8607
8608 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8609
8610         * java/net/natPlainDatagramSocketImpl.cc (receive):
8611         Check bounds of argument to FD_SET.
8612         (setOption): Throw exception if socket is closed.
8613
8614         * java/net/natPlainSocketImpl.cc (accept, read):
8615         Check bounds of argument to FD_SET.
8616         (setOption): Throw exception if socket is closed.
8617
8618 2002-06-18  Tom Tromey  <tromey@redhat.com>
8619
8620         * gcj/javaprims.h: Updated class declaration list.
8621         * Makefile.in: Rebuilt.
8622         * Makefile.am (core_java_source_files): Added
8623         PropertyPermissionCollection.java.
8624         * java/lang/Thread.java (group, name): Now package-private.
8625         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8626         * java/util/AbstractList.java: Likewise.
8627         * java/util/AbstractMap.java: Likewise.
8628         * java/util/Calendar.java: Likewise.
8629         * java/util/Collections.java: Likewise.
8630         * java/util/HashMap.java: Likewise.
8631         * java/util/Hashtable.java: Likewise.
8632         * java/util/LinkedHashMap.java: Likewise.
8633         * java/util/LinkedList.java: Likewise.
8634         * java/util/List.java: Likewise.
8635         * java/util/ListResourceBundle.java: Likewise.
8636         * java/util/Map.java: Likewise.
8637         * java/util/Observable.java: Likewise.
8638         * java/util/Properties.java: Likewise.
8639         * java/util/PropertyPermission.java: Likewise.
8640         * java/util/PropertyPermissionCollection.java: Likewise.
8641         * java/util/PropertyResourceBundle.java: Likewise.
8642         * java/util/Random.java: Likewise.
8643         * java/util/SimpleTimeZone.java: Likewise.
8644         * java/util/StringTokenizer.java: Likewise.
8645         * java/util/TimerTask.java: Likewise.
8646         * java/util/TreeMap.java: Likewise.
8647         * java/util/WeakHashMap.java: Likewise.
8648         * java/util/jar/Attributes.java: Likewise.
8649         * java/util/jar/JarException.java: Likewise.
8650         * java/util/jar/Manifest.java: Likewise.
8651
8652 2002-06-17  Tom Tromey  <tromey@redhat.com>
8653
8654         * gcj/javaprims.h: Updated class declaration list.
8655         * Makefile.in: Rebuilt.
8656         * Makefile.am (core_java_source_files): Added new file.
8657         * java/util/EventListenerProxy.java: New file.
8658         * java/util/EventListener.java: Re-merge with Classpath.
8659         * java/util/EventObject.java: Re-merge with Classpath.
8660
8661 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8662
8663         * java/lang/ClassNotFoundException.java: New Classpath version.
8664
8665 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8666
8667         * java/rmi/activation/ActivateFailedException.java: Remerge from
8668         Classpath version.
8669         * java/rmi/activation/ActivationException.java: Ditto.
8670         * java/rmi/activation/UnknownGroupException.java: Ditto.
8671         * java/rmi/activation/UnknownObjectException.java: Ditto.
8672         * java/rmi/server/ExportException: Ditto.
8673         * java/rmi/server/ServerCloneException: Ditto.
8674         * java/rmi/server/ServerNotActiveException: Ditto.
8675         * java/rmi/server/SkeletonMismatchException: Ditto.
8676         * java/rmi/server/SkeletonNotFoundException: Ditto.
8677         * java/rmi/server/SocketSecurityException: Ditto.
8678
8679 2002-06-16  Tom Tromey  <tromey@redhat.com>
8680
8681         * gcj/javaprims.h: Updated class declaration list.
8682
8683         * java/io/LineNumberInputStream.java: Merged with Classpath.
8684
8685         * java/lang/RuntimeException.java: Re-merge with Classpath.
8686         * java/util/ArrayList.java: Likewise.
8687         * java/util/Arrays.java: Likewise.
8688         * java/util/BitSet.java: Likewise.
8689         * java/util/Dictionary.java: Likewise.
8690         * java/util/IdentityHashMap.java: Likewise.
8691         * java/util/MissingResourceException.java: Likewise.
8692         * java/util/Observer.java: Likewise.
8693         * java/util/TooManyListenersException.java: Likewise.
8694         * java/util/zip/DataFormatException.java: Likewise.
8695         * java/util/zip/ZipException.java: Likewise.
8696
8697 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8698
8699         * java/rmi/AccessException.java: Remerge from Classpath.
8700         * java/rmi/AlreadyBoundException.java: Ditto.
8701         * java/rmi/ConnectException.java: Ditto.
8702         * java/rmi/ConnectIOException.java: Ditto.
8703         * java/rmi/MarshalException.java: Ditto.
8704         * java/rmi/NoSuchObjectException.java: Ditto.
8705         * java/rmi/NotBoundException.java: Ditto.
8706         * java/rmi/RemoteException.java: Ditto.
8707         * java/rmi/RMISecurityException.java: Ditto.
8708         * java/rmi/ServerError.java: Ditto.
8709         * java/rmi/ServerException.java: Ditto.
8710         * java/rmi/ServerRuntimeException.java: Ditto.
8711         * java/rmi/StubNotFoundException.java: Ditto.
8712         * java/rmi/UnexpectedExcpetion.java: Ditto.
8713         * java/rmi/UnknownHostException.java: Ditto.
8714         * java/rmi/UnmarshalException.java: Ditto.
8715
8716 2002-06-15  Tom Tromey  <tromey@redhat.com>
8717
8718         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8719         * java/lang/ArithmeticException.java: Likewise.
8720         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8721         * java/lang/ArrayStoreException.java: Likewise.
8722         * java/lang/Byte.java: Likewise.
8723         * java/lang/CharSequence.java: Likewise.
8724         * java/lang/ClassCastException.java: Likewise.
8725         * java/lang/ClassCircularityError.java: Likewise.
8726         * java/lang/ClassFormatError.java: Likewise.
8727         * java/lang/CloneNotSupportedException.java: Likewise.
8728         * java/lang/Cloneable.java: Likewise.
8729         * java/lang/Comparable.java: Likewise.
8730         * java/lang/Compiler.java: Likewise.
8731         * java/lang/Error.java: Likewise.
8732         * java/lang/ExceptionInInitializerError.java: Likewise.
8733         * java/lang/IllegalAccessError.java: Likewise.
8734         * java/lang/IllegalAccessException.java: Likewise.
8735         * java/lang/IllegalArgumentException.java: Likewise.
8736         * java/lang/IllegalMonitorStateException.java: Likewise.
8737         * java/lang/IllegalStateException.java: Likewise.
8738         * java/lang/IllegalThreadStateException.java: Likewise.
8739         * java/lang/IncompatibleClassChangeError.java: Likewise.
8740         * java/lang/IndexOutOfBoundsException.java: Likewise.
8741         * java/lang/InheritableThreadLocal.java: Likewise.
8742         * java/lang/InstantiationError.java: Likewise.
8743         * java/lang/InstantiationException.java: Likewise.
8744         * java/lang/InternalError.java: Likewise.
8745         * java/lang/InterruptedException.java: Likewise.
8746         * java/lang/LinkageError.java: Likewise.
8747         * java/lang/NegativeArraySizeException.java: Likewise.
8748         * java/lang/NoClassDefFoundError.java: Likewise.
8749         * java/lang/NoSuchFieldError.java: Likewise.
8750         * java/lang/NoSuchFieldException.java: Likewise.
8751         * java/lang/NoSuchMethodError.java: Likewise.
8752         * java/lang/NoSuchMethodException.java: Likewise.
8753         * java/lang/NullPointerException.java: Likewise.
8754         * java/lang/NumberFormatException.java: Likewise.
8755         * java/lang/OutOfMemoryError.java: Likewise.
8756         * java/lang/Process.java: Likewise.
8757         * java/lang/Runnable.java: Likewise.
8758         * java/lang/RuntimePermission.java: Likewise.
8759         * java/lang/SecurityException.java: Likewise.
8760         * java/lang/Short.java: Likewise.
8761         * java/lang/StackOverflowError.java: Likewise.
8762         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8763         * java/lang/ThreadDeath.java: Likewise.
8764         * java/lang/ThreadLocal.java: Likewise.
8765         * java/lang/UnknownError.java: Likewise.
8766         * java/lang/UnsatisfiedLinkError.java: Likewise.
8767         * java/lang/UnsupportedClassVersionError.java: Likewise.
8768         * java/lang/UnsupportedOperationException.java: Likewise.
8769         * java/lang/VerifyError.java: Likewise.
8770         * java/lang/VirtualMachineError.java: Likewise.
8771         * java/lang/reflect/InvocationTargetException.java: Likewise.
8772         * java/net/BindException.java: Likewise.
8773         * java/net/ConnectException.java: Likewise.
8774         * java/net/MalformedURLException.java: Likewise.
8775         * java/net/NoRouteToHostException.java: Likewise.
8776         * java/net/ProtocolException.java: Likewise.
8777         * java/net/SocketException.java: Likewise.
8778         * java/net/UnknownHostException.java: Likewise.
8779         * java/net/UnknownServiceException.java: Likewise.
8780
8781         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8782         * java/io/CharConversionException.java: Likewise.
8783         * java/io/EOFException.java: Likewise.
8784         * java/io/FileNotFoundException.java: Likewise.
8785         * java/io/IOException.java: Likewise.
8786         * java/io/InterruptedIOException.java: Likewise.
8787         * java/io/InvalidClassException.java: Likewise.
8788         * java/io/InvalidObjectException.java: Likewise.
8789         * java/io/NotActiveException.java: Likewise.
8790         * java/io/NotSerializableException.java: Likewise.
8791         * java/io/ObjectStreamException.java: Likewise.
8792         * java/io/ObjectStreamConstants.java: Likewise.
8793         * java/io/OptionalDataException.java: Likewise.
8794         * java/io/PipedInputStream.java: Likewise.
8795         * java/io/PushbackInputStream.java: Likewise.
8796         * java/io/StreamCorruptedException.java: Likewise.
8797         * java/io/SyncFailedException.java: Likewise.
8798         * java/io/UTFDataFormatException.java: Likewise.
8799         * java/io/UnsupportedEncodingException.java: Likewise.
8800         * java/io/WriteAbortedException.java: Likewise.
8801
8802 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8803
8804         * java/text/ChoiceFormat.java: Update comments from Classpath.
8805         * java/text/ParseException.java (serialVersionUID): New
8806         field from Classpath.
8807         * java/text/ParseException.java: Update formatting & comments
8808         from Classpath.
8809
8810 2002-06-15  Tom Tromey  <tromey@redhat.com>
8811
8812         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8813         been read but none output by inflater.
8814         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8815         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8816         is_finished.
8817         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8818         version.
8819         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8820         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8821         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8822         version.
8823         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8824
8825 2002-06-13  Tom Tromey  <tromey@redhat.com>
8826
8827         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8828         true and OFFSET!=0.
8829         * java/lang/String.java (String(char[],int,int,boolean): New
8830         constructor.
8831         * java/lang/Long.java: Imported new version from Classpath.
8832         * java/lang/Number.java: Likewise.
8833         * java/lang/Integer.java: Likewise.
8834         * java/lang/Long.java: Likewise.
8835         * java/lang/Float.java: Likewise.
8836         * java/lang/Boolean.java: Likewise.
8837         * java/lang/Double.java: Likewise.
8838         * java/lang/Void.java: Likewise.
8839
8840 2002-06-12  Tom Tromey  <tromey@redhat.com>
8841
8842         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8843         Fixes PR libgcj/6652.
8844
8845 2002-06-10  Tom Tromey  <tromey@redhat.com>
8846
8847         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8848         (Class::getPackagePortion): Likewise.
8849         * java/lang/Class.java (desiredAssertionStatus): New method from
8850         Classpath.
8851         (getPackagePortion): Likewise.
8852         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8853         packageAssertionStatus, classAssertionStatus): New methods from
8854         Classpath.
8855         * java/lang/ClassLoader.java (defaultAssertionStatus,
8856         systemPackageAssertionStatus, packageAssertionStatus,
8857         systemClassAssertionStatus, classAssertionStatus): New fields from
8858         Classpath.
8859         (setDefaultAssertionStatus, setPackageAssertionStatus,
8860         setClassAssertionStatus, clearAssertionStatus): New methods from
8861         Classpath.
8862         * Makefile.in: Rebuilt.
8863         * Makefile.am (core_java_source_files): Added AssertionError.java.
8864         * java/lang/AssertionError.java: New from Classpath.
8865
8866 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8867
8868         * configure.host: Disable hash synchronization and slow_pthread_self
8869         for cygwin.
8870
8871 2002-06-06  Adam Megacz <adam@xwt.org>
8872
8873         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8874         locking, just like the Sun JVM does.
8875
8876 2002-06-05  H.J. Lu  (hjl@gnu.org)
8877
8878         * Makefile.am (libgcj_convenience.la): Revert the last change.
8879         (libgcj.la): Likewise.
8880         * Makefile.in: Regenerated.
8881
8882 2002-06-04  H.J. Lu  (hjl@gnu.org)
8883
8884         * Makefile.am (libgcj_convenience.la): New target.
8885         (libgcj.la): Depend on libgcj_convenience.la.
8886         * Makefile.in: Regenerated.
8887
8888 2002-06-04  H.J. Lu  (hjl@gnu.org)
8889
8890         * configure.in (--with-newlib): New option:
8891         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8892         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8893         Linux.
8894         * configure: Regenerated.
8895
8896 2002-06-04  Tom Tromey  <tromey@redhat.com>
8897
8898         * java/util/natTimeZone.cc: Include <stdio.h>.
8899
8900 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8901
8902         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8903         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8904         Set SIGNAL_HANDLER=include/s390-linux.h.
8905         * configure: Regenerate.
8906         * include/s390-linux.h: New file.
8907
8908 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8909
8910         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8911         not "stackTrace".
8912
8913 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8914
8915         Merge JDK 1.4 java.security changes from classpath.
8916
8917         * java/security/AccessControlException.java: Merge from Classpath.
8918         * java/security/AccessController.java: Likewise.
8919         * java/security/AllPermission.java: Likewise.
8920         * java/security/BasicPermission.java: Likewise.
8921         * java/security/Certificate.java: Likewise.
8922         * java/security/CodeSource.java: Likewise.
8923         * java/security/DigestException.java: Likewise.
8924         * java/security/DigestOutputStream.java: Likewise.
8925         * java/security/DomainCombiner.java: Likewise.
8926         * java/security/GeneralSecurityException.java: Likewise.
8927         * java/security/Guard.java: Likewise.
8928         * java/security/GuardedObject.java: Likewise.
8929         * java/security/InvalidAlgorithmParameterException.java: Likewise.
8930         * java/security/InvalidKeyException.java: Likewise.
8931         * java/security/InvalidParameterException.java: Likewise.
8932         * java/security/Key.java: Likewise.
8933         * java/security/KeyException.java: Likewise.
8934         * java/security/KeyManagementException.java: Likewise.
8935         * java/security/KeyStoreException.java: Likewise.
8936         * java/security/MessageDigest.java: Likewise.
8937         * java/security/NoSuchAlgorithmException.java: Likewise.
8938         * java/security/NoSuchProviderException.java: Likewise.
8939         * java/security/Permission.java: Likewise.
8940         * java/security/PermissionCollection.java: Likewise.
8941         * java/security/Permissions.java: Likewise.
8942         * java/security/Policy.java: Likewise.
8943         * java/security/Principal.java: Likewise.
8944         * java/security/PrivateKey.java: Likewise.
8945         * java/security/PrivilegedAction.java: Likewise.
8946         * java/security/PrivilegedActionException.java: Likewise.
8947         * java/security/PrivilegedExceptionAction.java: Likewise.
8948         * java/security/ProtectionDomain.java: Likewise.
8949         * java/security/ProviderException.java: Likewise.
8950         * java/security/PublicKey.java: Likewise.
8951         * java/security/SecureClassLoader.java: Likewise.
8952         * java/security/SecurityPermission.java: Likewise.
8953         * java/security/SignatureException.java: Likewise.
8954         * java/security/UnrecoverableKeyException.java: Likewise.
8955         * java/security/UnresolvedPermission.java: Likewise.
8956         * java/security/acl/AclNotFoundException.java: Likewise.
8957         * java/security/acl/LastOwnerException.java: Likewise.
8958         * java/security/acl/NotOwnerException.java: Likewise.
8959         * java/security/cert/CRLException.java: Likewise.
8960         * java/security/cert/CertificateEncodingException.java: Likewise.
8961         * java/security/cert/CertificateException.java: Likewise.
8962         * java/security/cert/CertificateExpiredException.java: Likewise.
8963         * java/security/cert/CertificateFactory.java: Likewise.
8964         * java/security/cert/CertificateNotYetValidException.java: Likewise.
8965         * java/security/cert/CertificateParsingException.java: Likewise.
8966         * java/security/spec/InvalidKeySpecException.java: Likewise.
8967         * java/security/spec/InvalidParameterSpecException.java: Likewise.
8968
8969         * java/security/cert/CertPath.java: New file.
8970         * java/security/cert/CertPathBuilderException.java: New file.
8971         * java/security/cert/CertPathValidatorException.java: New file.
8972         * java/security/cert/CertStoreException.java: New file.
8973
8974         * Makefile.am: Add new CertPath classes.
8975         * Makefile.in: Rebuilt.
8976
8977         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
8978
8979 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8980
8981         Merge JDK 1.4 exception chaining support from classpath.
8982
8983         * java/lang/Throwable.java: Merge 1.4 support from classpath.
8984         (stackTraceBytes): Rename from stackTrace.
8985         * java/lang/Exception.java: Merge from classpath.
8986         * java/lang/StackTraceElement: New file from classpath.
8987         * gcj/javaprims.h: Rebuild CNI namespace declarations.
8988         * Makefile.am: Add StackTraceElement.
8989         * Makefile.in: Rebuilt.
8990
8991 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8992
8993         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
8994         they build first.
8995         * Makefile.in: Rebuilt.
8996
8997 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8998
8999         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9000         * configure.in: Likewise.
9001         * aclocal.m4: Regenerate.
9002         * configure: Regenerate.
9003
9004 2002-05-13  Tom Tromey  <tromey@redhat.com>
9005
9006         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9007         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9008         Include platform.h.
9009
9010         Fixes PR libgcj/6389:
9011         * Makefile.in: Rebuilt.
9012         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9013         * java/util/natTimeZone.cc: New file.
9014         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9015         * java/lang/System.java: Merged with Classpath.
9016         * java/lang/Runtime.java: Merged with Classpath.
9017         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9018         security check.
9019         (setIn0): Renamed from setIn; don't run security check.
9020         (setOut0): Renamed from setOut; don't run security check.
9021         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9022         init_properties): Moved to natRuntime.cc.
9023         Moved many includes to natRuntime.cc.
9024         (isWordsBigEndian): New method.
9025         * java/lang/natRuntime.cc: Include Long.h, also other includes
9026         previously in natSystem.cc.
9027         (maxMemory): New function.
9028         (exitInternal): Renamed from `_exit'.
9029         (exit): Removed.
9030         (init): Don't set finalize_on_exit.
9031         (exitInternal): Use `finalizeOnExit'.
9032         (file_encoding, getpwuid_adaptor): New functions from
9033         natSystem.cc.
9034         (insertSystemProperties): New method, renamed from
9035         System::init_properties.  Don't set user.timezone.
9036         (_load): Don't call checkLink.
9037         (execInternal): New method.
9038         (availableProcessors): Likewise.
9039         (nativeGetLibname): Likewise.
9040
9041 2002-05-11  Mark Wielaard  <mark@klomp.org>
9042
9043         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9044         space characters.
9045         (previous_internal): Likewise.
9046
9047 2002-05-09  Tom Tromey  <tromey@redhat.com>
9048
9049         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9050
9051         * java/util/ResourceBundle.java: New version from Classpath.
9052         * java/util/Locale.java: Likewise.
9053
9054 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9055
9056         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9057         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9058         LD_LIBRARY_PATH.
9059
9060 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9061
9062         * libjava/Makefile.am (all_java_source_files): New variable.
9063         (all_java_class_files): Likewise.
9064         .java.class: New rule.
9065         (CLEANFILES): Remove tmp-list.
9066         * libjava/Makefile.in: Regenerated.
9067
9068 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9069
9070         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9071         Append .exe to executable names.  Fix for cygwin.
9072
9073 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9074
9075         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9076         script entry, and set LD to it when configuring multilibs.
9077         * configure: Rebuilt.
9078
9079 2002-05-07  Tom Tromey  <tromey@redhat.com>
9080
9081         * java/lang/natString.cc (unintern): Fixed typo.
9082
9083 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9084
9085         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9086         with -no-install on *-*-cygwin*.
9087
9088 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9089
9090         * testsuite/lib/libjava.exp (test_libjava_from_source):
9091         Add comment explaining last patch
9092
9093 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9094
9095         * testsuite/lib/libjava.exp (test_libjava_from_source):
9096         Append .exe to executable names.  If no suffix is present,
9097         then ".exe" is added by default on win32.  Harmless
9098         elsewhere so always do it.
9099
9100 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9101             Tom Tromey  <tromey@redhat.com>
9102
9103         * java/lang/natSystem.cc (getSystemTimeZone): Use
9104         HAVE_UNDERSCORE_TIMEZONE.
9105         * include/config.h.in: Rebuilt.
9106         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9107         * aclocal.m4, configure: Rebuilt.
9108         * acinclude.m4: Run AC_EXEEXT.
9109         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9110         Add test for `_timezone'.
9111
9112 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9113
9114         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9115         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9116         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9117         * Makefile.in: Rebuilt.
9118
9119 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9120
9121         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9122         use sigaction instead of __libc_sigaction.
9123
9124 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9125
9126         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9127         (libjava_init): Use it to find libgcj.spec.
9128         (libjava_arguments): Likewise.
9129
9130 2002-05-02  David S. Miller  <davem@redhat.com>
9131
9132         PR bootstrap/6525
9133         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9134         __libc_sigaction on Sparc.
9135
9136 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9137
9138         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9139         sys/filio.h, if present.
9140
9141 2002-04-30  Tom Tromey  <tromey@redhat.com>
9142
9143         * java/io/BufferedReader.java (fill): Handle case where markPos
9144         point to ignored \n.  Fixes PR libgcj/6301.
9145
9146 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9147
9148         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9149
9150 2002-04-29  Adam King <aking@dreammechanics.com>
9151
9152         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9153         of file in APPEND mode.
9154
9155 2002-04-25  David S. Miller  <davem@redhat.com>
9156
9157         PR target/6422
9158         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9159         program counter to next program counter minus 8.  Update
9160         comments in this macro to explain why.
9161
9162 2002-04-26  Tom Tromey  <tromey@redhat.com>
9163
9164         * verify.cc (construct_primitive_array_type) [void_type]: New
9165         case.
9166         (branch_prepass): Added dummy entries for unused instruction
9167         values.
9168         (verify_instructions_0): Likewise.
9169         * interpret.cc (continue1): Comment fix.
9170         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9171         * Makefile.in: Rebuilt.
9172         * Makefile.am: Added -Wswitch-enum.
9173
9174 2002-04-24  Tom Tromey  <tromey@redhat.com>
9175
9176         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9177         correct length of UTF-8 encoded name.  Strip leading `/'.
9178         (_Jv_RegisterResource): Use _Jv_Malloc.
9179
9180 2002-04-23  Adam Megacz <adam@xwt.org>
9181
9182         * win32.cc, include/win32.cc (backtrace): Added this function
9183         because Win32 does not supply it.
9184
9185 2002-04-21  David S. Miller  <davem@redhat.com>
9186
9187         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9188         magic instruction reading sequence.
9189
9190 2002-04-21  Mark Wielaard  <mark@klomp.org>
9191
9192         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9193
9194 2002-04-19  David S. Miller  <davem@redhat.com>
9195
9196         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9197         arg.
9198         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9199         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9200         on Sparc too.
9201         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9202         for 64-bit sparc.
9203         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9204         * sysdeps/sparc/locks.h: New file.
9205         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9206         on all sparc Solaris configurations.  Set to
9207         include/dwarf2-signal.h on sparc Linux.
9208         * configure: Regenerate
9209         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9210
9211 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9212
9213         * configure: Rebuilt.
9214         * configure.in (backtrace): Function doesn't work on IA-64.
9215
9216 2002-04-17  Adam King <aking@dreammechanics.com>
9217
9218         * java/io/File.java (normalizePath): Add Win32 support for auto
9219         conversion of a '/' path separator to Win32's '\' separator.
9220
9221 2002-04-16  Tom Tromey  <tromey@redhat.com>
9222
9223         Fix for PR libgcj/6081:
9224         * Makefile.in: Rebuilt.
9225         * Makefile.am (install-data-local): Use GNU make trick to avoid
9226         shell limit.
9227
9228 2002-04-16  Adam King <aking@dreammechanics.com>
9229             Tom Tromey  <tromey@redhat.com>
9230
9231         * java/io/natFileWin32.cc (performList): Return the correct array
9232         type.  Don't duplicate the creation of a File since it's already
9233         done earlier in the method and the existing code would cause a
9234         ArrayStoreException.  Don't use fixed-size array.
9235         (_access, _stat, attr, getCanonicalPath, performMkdir,
9236         performRenameTo): Don't use fixed-size array.
9237         (getCanonicalPath): Use throw, not _Jv_Throw.
9238
9239 2002-04-15  DJ Delorie  <dj@redhat.com>
9240
9241         * configure.in: Allow building in $srcdir.
9242         * configure: Regenerated.
9243
9244 2002-04-14  Mark Wielaard <mark@klomp.org>
9245
9246         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9247         * java/net/natSocketImpl.cc (close): Likewise.
9248
9249 2002-04-14  Mark Wielaard <mark@klomp.org>
9250
9251         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9252
9253 2002-04-13  Adam King <aking@dreammechanics.com>
9254
9255         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9256         the f/F/d/D modifiers.
9257
9258 2002-04-12  Anthony Green  <green@redhat.com>
9259
9260         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9261         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9262         * Makefile.in: Rebuilt.
9263         * configure.in: Substitute gcc_version.
9264         * configure: Rebuilt.
9265
9266 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9267
9268         * configure.host: Set can_unwind_signal on hosts which support it.
9269         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9270         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9271         exceptions and can_unwind_signal isn't set.
9272         * configure: Rebuilt.
9273
9274 2002-04-11  Tom Tromey  <tromey@redhat.com>
9275
9276         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9277
9278 2002-04-11  Adam King <aking@dreammechanics.com>
9279             Tom Tromey  <tromey@redhat.com>
9280
9281         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9282         _Jv_ThrowNullPointerException): Mark as noreturn.
9283         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9284         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9285         fixes.
9286
9287 2002-04-10  Tom Tromey  <tromey@redhat.com>
9288
9289         * Makefile.in: Rebuilt.
9290         * Makefile.am (java/lang/Thread.h): Mark
9291         _Jv_AttachCurrentThreadAsDaemon as friend.
9292         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9293         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9294         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9295         function.
9296         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9297         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9298         (_Jv_JNI_InvokeFunctions): Added
9299         _Jv_JNI_AttachCurrentThreadAsDaemon.
9300         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9301         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9302         (JNI_CreateJavaVM): Likewise.
9303         (_Jv_JNI_AttachCurrentThread): Likewise.
9304         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9305         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9306         (_Jv_JNIFunctions): Initialize new fields.
9307         (_Jv_JNI_NewDirectByteBuffer): New function.
9308         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9309         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9310         * include/jni.h (JNI_VERSION_1_4): New macro.
9311         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9312         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9313         (JNINativeInterface::NewDirectByteBuffer): New field.
9314         (JNINativeInterface::GetDirectBufferAddress): New field.
9315         (JNINativeInterface::GetDirectBufferCapacity): New field.
9316         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9317         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9318         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9319
9320 2002-04-09  Tom Tromey  <tromey@redhat.com>
9321
9322         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9323
9324 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9325
9326         Fix for PR libgcj/6187:
9327         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9328         distance.
9329
9330 2002-04-07  Mark Wielaard <mark@klomp.org>
9331
9332         * java/util/AbstractMap.java (putAll): Use entrySet size.
9333         (toString): Explicitly use getKey() and getValue().
9334
9335 2002-04-07  Mark Wielaard <mark@klomp.org>
9336
9337         * java/util/Hashtable.java (contains): Remove NullPointer check.
9338         (containsValue): Add NullPointer check.
9339         (remove): Always throw NullPointerException when key
9340         is null.
9341
9342 2002-04-07  Adam King <aking@dreammechanics.com>
9343
9344         * java/lang/natSystem.cc (init_properties): Call new function
9345         _Jv_platform_initProperties.
9346         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9347         support for the System properties os.name, os.arch, os.version,
9348         user.name, user.home, and user.dir.
9349         * include/posix.h, include/win32.h, posix.cc: New function
9350         _Jv_platform_initProperties.
9351
9352 2002-04-06  Mark Wielaard <mark@klomp.org>
9353
9354         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9355
9356 2002-04-06  Mark Wielaard <mark@klomp.org>
9357
9358         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9359         all of the remaining elements.
9360         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9361         (removeRange): If toIndex == fromIndex do
9362         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9363         (removeAll): Always throw NullPointerException when collection is
9364         null.
9365         (retrainAll): Likewise.
9366
9367 2002-04-05  Mark Wielaard <mark@klomp.org>
9368
9369         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9370         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9371
9372 2002-04-05  Adam Megacz <adam@xwt.org>
9373
9374         * exception.cc (abort): added static modifier
9375
9376 2002-04-04  Adam Megacz <adam@xwt.org>
9377
9378         * include/win32.h (_Jv_platform_close_on_exec): added inline
9379         modifier.
9380
9381 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9382
9383         * configure.host: Add case statement to support generic port
9384         properties.  Add *-*-freebsd* section.
9385
9386 2002-04-04  Mark Wielaard  <mark@klomp.org>
9387
9388         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9389         test.
9390         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9391         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9392         that depend on awt code and BufferedByteOutputStream.interrupt.
9393
9394 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9395
9396         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9397         incorrect "hi" value when count > 40.
9398
9399 2002-04-03  Mark Wielaard  <mark@klomp.org>
9400
9401         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9402         ordering.
9403
9404 2002-04-02  Tom Tromey  <tromey@redhat.com>
9405
9406         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9407         not `0'.
9408
9409 2002-04-02  Mark Wielaard  <mark@klomp.org>
9410
9411         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9412         list of testsuite crashers.
9413
9414 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9415
9416         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9417         when resizing table.
9418
9419 2002-04-01  Mark Wielaard  <mark@klomp.org>
9420
9421         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9422         NegativeArraySizeException
9423         (clear(int)): Use sign extended shift.
9424         (flip(int)): Likewise.
9425         (get(int)): Likewise.
9426         (nextClearBit(int)): Likewise.
9427         (nextSetBit(int)): Likewise.
9428         (set(int)): Likewise.
9429
9430 2002-04-01  Mark Wielaard  <mark@klomp.org>
9431
9432         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9433         that can be compiled now and add testsuite crashers to ignore list.
9434
9435 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9436
9437         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9438
9439         * libgcj.spec.in: Override libgcc, not lib.
9440         * libgcj-test.spec.in: Likewise.
9441
9442 2002-03-29  Tom Tromey  <tromey@redhat.com>
9443
9444         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9445         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9446
9447 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9448
9449         * java/net/PlainDatagramSocketImpl.java
9450         (close): Use native implementation.
9451         (finalize): New method.
9452
9453         * java/net/PlainSocketImpl.java (finalize): New method.
9454
9455         * java/net/natPlainDatagramSocketImpl.cc
9456         (java/io/FileDescriptor.h): Don't include.
9457         (close): Implement method here.
9458         (create): Don't assign fd.
9459
9460         * java/net/natPlainSocketImpl.cc
9461         (java/io/FileDescriptor.h): Don't include.
9462         (create): Don't assign fd.
9463         (accept): Likewise.
9464         (close): Synchronize.
9465
9466 2002-03-27  Richard Henderson  <rth@redhat.com>
9467
9468         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9469
9470 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9471
9472         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9473         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9474         instead of syscall on IA-64.
9475         Add FIXME comment.
9476
9477 2002-03-27  Anthony Green  <green@redhat.com>
9478
9479         * libgcj.spec.in: Add CHECKREFSPEC.
9480         * configure.in: Ditto.
9481         * configure.host: Ditto.  Check references for xscale-elf.
9482         * configure: Rebuilt.
9483
9484 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9485
9486         * include/dwarf2-signal.h: Temporarily back out last change.
9487
9488 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9489
9490         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9491
9492 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9493
9494         * configure.in, configure: enable dwarf2-exception-style
9495         exception handling on IA-64.
9496         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9497         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9498         Add FIXME comment.
9499
9500 2002-03-25  Tom Tromey  <tromey@redhat.com>
9501
9502         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9503         (jv_convert_LDFLAGS): Likewise.
9504         (gij_LDFLAGS): Likewise.
9505         (rmic_LDFLAGS): Likewise.
9506         (rmiregistry_LDFLAGS): Likewise.
9507         * configure.in (THREADLDFLAGS): New subst; set correctly for
9508         *BSD.
9509
9510 2002-03-25  Tom Tromey  <tromey@redhat.com>
9511
9512         For PR libgcj/5303:
9513         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9514         and --version.
9515         (help): New method.
9516         (version): Likewise.
9517         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9518         "GNU".
9519         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9520         "GNU".
9521
9522 2002-03-25  Tom Tromey  <tromey@redhat.com>
9523
9524         * java/awt/Component.java (processEvent): Check ComponentEvent
9525         after KeyEvent.
9526
9527 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9528
9529         * java/io/PushbackReader.java: Reformat.
9530
9531         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9532         calculate correct number of bytes skipped.
9533
9534         Based on patch from Intel's ORP team:
9535         * java/io/PushbackInputStream.java (available): Calculate correct
9536         number of bytes in buffer.
9537         (read): Remove redundant bound check. Return bytes from both the
9538         buffer and the stream.
9539
9540 2002-03-24  Tom Tromey  <tromey@redhat.com>
9541
9542         * java/awt/TextComponent.java (TextComponent): Editable by
9543         default.
9544
9545         * java/awt/MenuItem.java (eventMask): No longer private.
9546         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9547         superclass if we didn't handle event.
9548         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9549         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9550         * java/awt/Choice.java (dispatchEventImpl): New method.
9551         * java/awt/List.java (dispatchEventImpl): New method.
9552         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9553         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9554         * java/awt/TextField.java (dispatchEventImpl): New method.
9555
9556 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9557
9558         * java/beans/IntrospectionException.java: Update to 1.4.
9559         * java/beans/PropertyVetoException.java: Ditto.
9560
9561 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9562
9563         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9564         Arrays.equals instead of ArrayHelper.equalsArray.
9565
9566 2002-03-24  C. Brian Jones <cbj@gnu.org>
9567
9568         * java/beans/Introspector.java: added new static final fields
9569         introduced in 1.2, lots of other updates remain to be done
9570
9571 2002-03-24  C. Brian Jones <cbj@gnu.org>
9572
9573         * java/beans/Introspector.java: reformatting
9574
9575 2002-03-24  C. Brian Jones <cbj@gnu.org>
9576
9577         * java/beans/Introspector.java: default beanInfoSearchPath will
9578         not include sun.beans.infos given we provide no such package and
9579         the API doesn't really require it; gnu.java.beans.info is the
9580         default.
9581
9582 2002-03-24  Mark Wielaard  <mark@klomp.org>
9583
9584         Thanks to Orp developers
9585         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9586         switch TRUE and FALSE return values.
9587
9588 2002-03-23  Tom Tromey  <tromey@redhat.com>
9589
9590         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9591         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9592
9593 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9594
9595         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9596         MONTH entry.  Fixes PR libgcj/6045.
9597
9598 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9599
9600         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9601
9602 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9603
9604         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9605         not release_set.
9606         * sysdep/powerpc/locks.h (write_barrier): New function.
9607         * sysdep/i386/locks.h (write_barrier): New function.
9608
9609 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9610
9611         * include/jni.h Use correct C comments.
9612
9613 2002-03-18  Tom Tromey  <tromey@redhat.com>
9614
9615         * include/jni.h (JNIIMPORT): New macro.
9616         (JNIEXPORT): Likewise.
9617         (JNICALL): Likewise.
9618
9619 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9620
9621         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9622         systems.
9623
9624 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9625
9626         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9627         INIT_SEGV: Use old_i386_kernel_sigaction.
9628         INIT_FP: Likewise.
9629
9630 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9631
9632         * java/lang/natSystem.cc (init_properties): Update VM version
9633         properties.
9634         * configure.in: Set GCJVERSION.
9635         * acconfig.h: Add GCJVERSION.
9636         * configure: Rebuilt.
9637         * include/config.h.in: Rebuilt.
9638
9639 2002-03-17  Anthony Green  <green@redhat.com>
9640
9641         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9642
9643 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9644
9645         Build a single libgcj.so, without separate gc and zlib libraries.
9646         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9647         SYS_ZLIBS if system zlib is used.
9648         * configure: Rebuilt.
9649         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9650         * Makefile.in: Rebuilt.
9651         * libtool-version: Increment .so version number.
9652
9653         * Makefile.am: Escape quotes in echo.
9654         * Makefile.in: Rebuilt.
9655
9656 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9657
9658         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9659         * Makefile.in: Rebuilt.
9660
9661 2002-03-15  Anthony Green  <green@redhat.com>
9662
9663         * configure.host (FILE): New macro for specifing File
9664         implementation.
9665         * configure: Rebuilt.
9666         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9667
9668 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9669
9670         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9671         already implicitly brought in from libgcj.la.
9672         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9673         * Makefile.in: Rebuilt.
9674
9675 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9676
9677         * THANKS: Fix punctuation, alphabetization.
9678
9679 2002-03-15  Tom Tromey  <tromey@redhat.com>
9680             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9681
9682         Fix for PR libgcj/5944.
9683         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9684
9685 2002-03-15  Anthony Green  <green@redhat.com>
9686
9687         * configure.in (tool_include_dir): Define.
9688         * configure: Rebuilt.
9689         * gcj/Makefile.am: Install libgcj-config.h relative to
9690         tool_include_dir.
9691         * gcj/Makefile: Rebuilt.
9692         * gcj/libgcj-config.h: Add warning comment.
9693
9694 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9695
9696         * configure.host (powerpc*-darwin*): Enable interpreter.
9697
9698 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9699
9700         * include/posix.h: Add multiple include header protection.
9701         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9702
9703 2002-03-10  Adam Megacz <adam@xwt.org>
9704
9705         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9706
9707 2002-03-10  Tom Tromey  <tromey@redhat.com>
9708
9709         * java/awt/GridLayout.java (layoutContainer): Handle case where
9710         there are no items in container.
9711
9712         * java/lang/Win32Process.java: Added comment.
9713         * include/posix.h (_Jv_platform_close_on_exec): New function.
9714         Include fcntl.h.
9715         * include/win32.h (_Jv_platform_close_on_exec): New function.
9716         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9717         flag.
9718         (accept): Likewise.
9719         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9720         close-on-exec flag.
9721         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9722         flag.
9723
9724 2002-03-09  Tom Tromey  <tromey@redhat.com>
9725
9726         * verify.cc (state::NO_STACK): New constant.
9727         (state::is_unmerged_ret_state): Handle case where stacktop is
9728         NO_STACK.
9729         (state::merge): Handle NO_STACK merges.
9730         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9731         for instruction following jsr.
9732         (stacktop, stackdepth): Removed unused variables.
9733         (pop_jump): Ignore case where all remaining states are skipped.
9734
9735 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9736
9737         * java/awt/ImageMediaEntry: Removed.
9738         * java/awt/MediaEntry: Removed.
9739
9740 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9741
9742         Hashtable synchronization for PowerPC.
9743         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9744         slow_pthread_self. Set up symlink for sysdeps directory.
9745         * configure: Rebuild.
9746         * configure.host: Document more shell variables. Set sysdeps_dir
9747         for most platforms. Set slow_pthread_self for i686. Set
9748         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9749         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9750         that memory barrier is emitted where required.
9751         * prims.cc: 64-bit align static primitive class instances.
9752         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9753         read_barrier() to enforce ordering of reads.
9754         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9755         primitives for PowerPC.
9756         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9757         moved from natObject.cc.
9758         * sysdep/alpha/locks.h: Likewise.
9759         * sysdep/ia64/locks.h: Likewise.
9760         * sysdep/generic/locks.h: Likewise.
9761         * java/lang/natObject.cc: Move thread synchronization primitives to
9762         system-dependent headers.
9763
9764 2002-03-09  Adam Megacz  <adam@xwt.org>
9765
9766         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9767         bytes read and no failure code returned.
9768
9769 2002-03-09  Adam Megacz  <adam@xwt.org>
9770
9771         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9772         definitions to simulate -mthreads.
9773
9774 2002-03-09  Adam Megacz  <adam@xwt.org>
9775
9776         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9777         avoid precision loss.
9778
9779 2002-03-09  Per Bothner  <per@bothner.com>
9780
9781         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9782         * gnu/gcj/xlib/XImage.java:  Likewise.
9783         * gnu/gcj/xlib/XColor.java:  Likewise.
9784
9785 2002-03-09  Adam Megacz  <adam@xwt.org>
9786
9787         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9788         IOException so that Throwable.printStackTrace fails correctly.
9789
9790 2002-03-08  Adam Megacz  <adam@xwt.org>
9791
9792         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9793         fixed.
9794
9795 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9796
9797         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9798         truncated to int.
9799
9800 2002-03-08  Tom Tromey  <tromey@redhat.com>
9801
9802         * include/jni.h: Include stdio.h.
9803
9804 2002-03-08  Tom Tromey  <tromey@redhat.com>
9805
9806         * posix.cc (internal_gettimeofday): New function.
9807         (_Jv_select): Use it.
9808
9809 2002-03-07  Adam Megacz  <adam@xwt.org>
9810
9811         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9812         WIN32, and added thunks for read(), write(), and close().
9813         * java/net/natPlainSocketImpl.cc (accept, read, read):
9814         Disabled timeouts on WIN32 pending discussion.
9815
9816 2002-03-07  Adam Megacz  <adam@xwt.org>
9817
9818         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9819         returns jlong. Added implementation
9820         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9821         returns jlong.
9822         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9823         returns jlong.
9824         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9825         returns jlong.
9826         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9827         _Jv_platform_gettimeofday signature.
9828
9829 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9830
9831         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9832         (read): Call recv() directly, not _Jv_recv().
9833
9834 2002-03-06  Tom Tromey  <tromey@redhat.com>
9835
9836         * java/io/natFileDescriptorEcos.cc (init): Don't use
9837         GetStdHandle.
9838         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9839         is negative.
9840         (init): Don't use GetStdHandle.
9841
9842         * include/config.h.in: Rebuilt.
9843         * configure: Rebuilt.
9844         * Makefile.in: Rebuilt.
9845
9846 2002-03-06  Adam Megacz  <adam@xwt.org>
9847
9848         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9849         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9850         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9851         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9852
9853 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9854
9855         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9856         the code for generating include/java-chartables.h.
9857         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9858         merge with Classpath.
9859         * scripts/unicode-muncher.pl: Copy from Classpath.
9860         * scritps/MakeCharTables.java: New file.
9861         * gnu/gcj/convert/Blocks-3.txt: New file.
9862         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9863         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9864         * gnu/java/lang/CharData.java: Copy from Classpath.
9865         * Makefile.am (ordinary_java_source_files): Add
9866         gnu/java/lang/CharData.java.
9867         * configure.in: Remove --enable-fast-character option.
9868         * java/lang/Character.java: Merge algorithms and Javadoc with
9869         Classpath.
9870         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9871         efficiently.
9872         * include/java-chardecomp.h: Regenerate.
9873         * include/java-chartables.h: Regenerate.
9874
9875 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9876
9877         * java/awt/MediaTracker.java: Implemented.
9878         * Makefile.am: Add MediaTracker.
9879         * Makefile.in: Rebuilt.
9880
9881 2002-03-05  Tom Tromey  <tromey@redhat.com>
9882
9883         * java/lang/natPosixProcess.cc (fail): Removed.
9884         (startProcess): Simplified error-handling.  Preserve
9885         LD_LIBRARY_PATH across exec.
9886
9887         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9888         AbstractMethodError.
9889
9890 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9891
9892         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9893         * Makefile.in: Rebuilt.
9894
9895 2002-03-03 Mark Wielaard <mark@klomp.org>
9896
9897         * java/util/Timer (TaskQueue.stop): set elements to zero.
9898
9899 2002-02-28  Anthony Green  <green@redhat.com>
9900
9901         * java/lang/reflect/natMethod.cc (result): Add void* element.
9902         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9903         constructor test.
9904
9905 2002-02-27  Adam Megacz <adam@xwt.org>
9906
9907         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9908         '#undef STRICT'.
9909
9910 2002-02-26  Tom Tromey  <tromey@redhat.com>
9911
9912         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9913         * gij.cc (version): Use __VERSION__.
9914         * include/config.h.in: Rebuilt.
9915         * acconfig.h (GCJVERSION): Removed.
9916         * configure: Rebuilt.
9917         * configure.in (GCJVERSION): Removed.
9918
9919 2002-02-26  Andreas Schwab  <schwab@suse.de>
9920
9921         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
9922         glibcpp_CXX, since libjava uses even another CXX.
9923         * aclocal.m4, configure: Regenerated.
9924
9925 2002-02-26  Tom Tromey  <tromey@redhat.com>
9926
9927         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
9928         `1'.
9929
9930 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9931
9932         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
9933         dependency tracking for .java files.
9934         * Makefile.in: Rebuilt.
9935
9936 2002-02-24  Adam Megacz  <adam@xwt.org>
9937
9938         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
9939         typo. Sorry.
9940
9941 2002-02-24  Adam Megacz  <adam@xwt.org>
9942
9943         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
9944         for Win32, changed #ifdefs to check WIN32 instead of the
9945         (now-obsolete) USE_WINSOCK, and removed support for socket
9946         timeouts on Win32 pending further discussion.
9947
9948 2002-02-24  Adam Megacz  <adam@xwt.org>
9949
9950         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
9951         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
9952         delete
9953
9954 2002-02-24  Adam Megacz  <adam@xwt.org>
9955
9956         * java/lang/Win32Process.java: Created a dummy class to allow
9957         build process to run to completion.
9958
9959 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
9960
9961         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
9962         Define ffi_result union for ffi_call result.  Cast
9963         ffi_result members to jvalue.
9964
9965 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
9966
9967         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
9968         * testsuite/Makefile.in: Likewise.
9969
9970 2002-02-20  Per Bothner  <per@bothner.com>
9971
9972         * java/net/URL.java (getPath):  New JDK 1.3 method.
9973
9974         * java/net/URLStreamHandler.java (parseURL):
9975         It is wrong to prepend '/' to the file part of a relative url.
9976
9977         * java/net/URLStreamHandler.java (parseURL):
9978         Minor optizations - append '/' rather than "/".
9979
9980         * java/net/URLStreamHandler.java (parseURL):
9981         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
9982         We probably should canonicalize for a context-relative url, though.
9983         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
9984         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
9985         (sameFile):  New method.  Uses canonicalizeFilename.
9986
9987 2002-02-22  Tom Tromey  <tromey@redhat.com>
9988
9989         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
9990         java.vendor and java.vm.vendor.
9991         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
9992         recent copyright date.
9993         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
9994         * gij.cc (version): Print `Inc'.
9995
9996 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
9997
9998         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
9999         * aclocal.m4, configure: Rebuilt.
10000
10001 2002-02-20  Per Bothner  <per@bothner.com>
10002
10003         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10004         and/or output streams immediately here, instead of using File.exists.
10005         (inputStream, outputStream):  New fields to save open streams.
10006         (getInputStream, getOutputStream):  Use already-opened streams.
10007
10008 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10009
10010         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10011         Use it.
10012         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10013         * aclocal.m4, configure, Makefile.in: Rebuilt.
10014
10015 2002-02-19  Tom Tromey  <tromey@redhat.com>
10016
10017         Fix for PR libgcj/5696:
10018         * verify.cc (is_assignable_from_slow): Never call
10019         _Jv_IsAssignableFrom.
10020         (verify_instructions_0): Added new debug statement.
10021         (state::print): Print information about whether local has
10022         changed.
10023         (state::merge): Don't call note_variable when merging locals.
10024         (state::set_exception): Removed old FIXME comment.
10025
10026 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10027
10028         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10029         enable SO_BROADCAST.
10030
10031 2002-02-18  Jason Merrill  <jason@redhat.com>
10032
10033         * name-finder.cc (toHex): Use word mode, not long long.
10034
10035         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10036
10037 2002-02-15  Tom Tromey  <tromey@redhat.com>
10038
10039         Fix for PR libgcj/5695:
10040         * verify.cc (is_assignable_from_slow): Check to see if target is
10041         an Object before checking to see if source is an interface.
10042         (verify_instructions_0) [op_invokeinterface]: Handle case where
10043         we're making an interface call on Object.
10044
10045 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10046
10047         * Makefile.in: Rebuilt with Eric's change below.
10048
10049         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10050         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10051         Removed functions which are now implemented in Math.java.
10052
10053 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10054
10055         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10056         * Makefile.am (core_java_source_files): Add
10057         java/lang/StrictMath.java.
10058         * java/lang/Math.java: Merge with Classpath.
10059         * java/lang/StrictMath.java: New file - merge with Classpath.
10060
10061 2002-02-14  Mark Wielaard  <mark@klomp.org>
10062
10063         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10064         package as a workaround for gcj 3.0.x
10065
10066 2002-02-14  Mark Wielaard <mark@klomp.org>
10067
10068         * java/security/BasicPermission.java: extends with fully qualified
10069         classname as workaround for gcj 3.0.4.
10070
10071 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10072
10073         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10074         around gcj bug of wrong emitted qualifier for inherited method.
10075         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10076         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10077         constructor to reduce amount of emitted bytecode. While this
10078         happens to work around a jikes 1.15 bug, it is still a useful
10079         patch even for correct compilers.
10080         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10081         * gnu/java/rmi/server/UnicastRemoteCall.java
10082         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10083
10084 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10085
10086         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10087         * java/net/SocketImpl.java: Ditto.
10088         * java/rmi/server/RMIClassLoader.java: Ditto.
10089         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10090
10091 2002-02-14  Mark Wielaard <mark@klomp.org>
10092
10093         Thanks to Takashi Okamoto
10094         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10095         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10096         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10097
10098 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10099
10100         Fix for PR libgcj/5670:
10101         * verify.cc (is_assignable_from_slow): If `source' is interface,
10102         recursively look for merge with `target'.
10103
10104 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10105
10106         * include/jni.h: Fix typo.
10107
10108 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10109
10110         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10111         correctly.
10112
10113 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10114
10115         Fix for PR libgcj/5671:
10116         * verify.cc (state::merge): Handle case where we're merging
10117         against an interface.
10118
10119 2002-02-12  Tom Tromey  <tromey@redhat.com>
10120
10121         * exception.cc (std::abort): Mark as noreturn.
10122
10123 2002-02-12  Adam Megacz <adam@xwt.org>
10124
10125         * java/lang/Win32Process.java: Filled in a placeholder
10126         implementation so Win32 will build.
10127
10128 2002-02-12  Adam Megacz <adam@xwt.org>
10129
10130         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10131         * java/io/natFile.cc: Removed from repository.
10132         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10133
10134 2002-02-12  Adam Megacz <adam@xwt.org>
10135
10136         * win32.cc: Added two #includes to make win32.cc compile.
10137
10138 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10139
10140         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10141         declarations.
10142         (_Jv_InitGC): Don't bother locking, as this is always called from a
10143         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10144
10145 2002-02-11  Adam Megacz <adam@xwt.org>
10146
10147         * include/win32.h: Added _Jv_platform_gettimeofday.
10148         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10149
10150 2002-02-11  Adam Megacz <adam@xwt.org>
10151
10152         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10153         Added #undef STRICT to make windows.h and
10154         java/lang/reflect/Modifier.h cooperate.
10155
10156 2002-02-11  Adam Megacz <adam@xwt.org>
10157
10158         * java/io/natFileWin32.cc: Created a placeholder class with lots
10159         of FIXMEs.
10160
10161 2002-02-11  Adam Megacz <adam@xwt.org>
10162
10163         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10164         std::abort() to simply abort(). Also added "fake" std::abort() so
10165         we can #include unwind-pe.h without having to link against
10166         libstdc++-v3.
10167
10168 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10169
10170         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10171
10172 2002-02-08  Tom Tromey  <tromey@redhat.com>
10173
10174         * interpret.cc (convert): New function.
10175         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10176         convert.
10177         Include Long.h.
10178
10179 2002-02-08  Anthony Green  <green@redhat.com>
10180
10181         * configure.host: Add support for xscale-elf embedded target.
10182
10183 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10184
10185         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10186         dereferenced.
10187         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10188         frame.
10189
10190 2002-02-07  Tom Tromey  <tromey@redhat.com>
10191
10192         * java/io/natFile.cc (_access): Use __builtin_alloca.
10193         (_stat): Likewise.
10194         (attr): Likewise.
10195         (getCanonicalPath): Likewise.
10196         (performList): Likewise.
10197         (performMkdir): Likewise.
10198         (performSetReadOnly): Likewise.
10199         (performRenameTo): Likewise.
10200         (performSetLastModified): Likewise.
10201         (performCreate): Likewise.
10202         (performDelete): Likewise.
10203
10204 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10205
10206         * HACKING: Fix URL for the automake-gcj.
10207
10208 2002-02-07  Tom Tromey  <tromey@redhat.com>
10209
10210         * java/lang/natThrowable.cc: Updated copyright.
10211         * java/io/natFileWin32.cc: Updated copyright.
10212         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10213         * win32-threads.cc: Updated copyright.
10214         * name-finder.cc: Updated copyright.
10215         * include/name-finder.h: Updated copyright.
10216
10217         * include/name-finder.h: Conditionally include sys/wait.h.
10218         * include/config.h.in: Rebuilt.
10219
10220         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10221         Size buffer based on real size of string.
10222         (_stat): Likewise.
10223         (attr): Likewise.
10224         (getCanonicalPath): Likewise.
10225         (performList): Likewise.
10226         (performMkdir): Likewise.
10227         (performSetReadOnly): Likewise.
10228         (unixroot): Removed.
10229         (performRenameTo): Likewise.
10230         (performSetLastModified): Likewise.
10231         (performCreate): Likewise.
10232         (performDelete): Likewise.
10233         (performListRoots): Always return new array.
10234
10235         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10236         * win32.cc (win32_exception_handler): Now static.
10237         * include/win32.h (_Jv_platform_initialize): Declare.
10238         (win32_exception_handler): Don't declare.
10239         * java/lang/natSystem.cc (currentTimeMillis): Use
10240         _Jv_platform_gettimeofday.
10241         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10242         (_Jv_select): Use new name.
10243         (_Jv_platform_initialize): New function.
10244         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10245         _Jv_gettimeofday.
10246         (_Jv_platform_initialize): Declare.
10247
10248         * configure: Rebuilt.
10249         * configure.in: Removed unnecessary parens.
10250
10251 2002-02-06  Adam Megacz <adam@xwt.org>
10252
10253        * configure.in: Changed mingw) to *mingw*).
10254        * win32.cc: Created this file.
10255        * win32.h: Created this file.
10256        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10257        win32_exception_handler from prims.cc to win32.cc, added
10258        header in win32.h.
10259        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10260        longer needed now that we have platform.h
10261
10262 2002-02-06  Adam Megacz <adam@xwt.org>
10263
10264         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10265         use uint<n>_t instead of LONG and BYTE
10266
10267 2002-02-06  Adam Megacz <adam@xwt.org>
10268
10269         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10270
10271 2002-02-06  Anthony Green  <green@redhat.com>
10272
10273         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10274         Implement missing method stubs.
10275         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10276         targets.
10277         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10278         concept of timezones.
10279         (init_properties): Don't refer to _Jv_Environment_Properties
10280         when this feature is not available.
10281         * include/config.h.in: Rebuilt.
10282         * acconfig.h: Add DISABLE_MAIN_ARGS.
10283         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10284         * configure: Rebuilt.
10285         * configure.in: Add --disable-main-args option.  Test for
10286           opendir function.  Replace AC_CHECK_SIZEOF with
10287           AC_COMPILE_CHECK_SIZEOF.
10288         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10289         * aclocal.m4: Rebuilt.
10290         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10291
10292 2002-02-06  Tom Tromey  <tromey@redhat.com>
10293
10294         * verify.cc (require_array_type): If argument is a null array of
10295         references, return null as the element type.
10296
10297 2002-02-06  Mark Wielaard  <mark@klomp.org>
10298
10299         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10300         duplicate of a wide type.
10301
10302 2002-02-06  Tom Tromey  <tromey@redhat.com>
10303
10304         * verify.cc (type::isnull): New method.
10305         (require_array_type): Handle case where array is null.
10306         (verify_instructions_0) [op_arraylength]: Likewise.
10307
10308 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10309
10310         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10311         Symlink PLATFORMH to platform.h.
10312         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10313         PLATFORMOBJS.
10314         * java/lang/natSystem.cc: #include platform.h not posix.h.
10315         * Makefile.in: Rebuilt with libgcj automake.
10316         * configure: Rebuilt.
10317
10318 2002-02-05  Richard Henderson  <rth@redhat.com>
10319
10320         * Makefile.in: Undo munging last change.
10321
10322 2002-02-04  Adam Megacz <adam@xwt.org>
10323
10324         * win32.cc: Created it.
10325         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10326         which is set to posix.cc or win32.cc.
10327         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10328
10329 2002-02-04  Adam Megacz <adam@xwt.org>
10330
10331         * configure.in: Corrected mingw case branches; added * before
10332         and after.
10333
10334 2002-02-04  Adam Megacz <adam@xwt.org>
10335
10336         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10337         if compiling for win32
10338
10339 2002-02-04  Adam Megacz <adam@xwt.org>
10340
10341         * win32-threads.cc: #undef STRICT after gc.h inclusion
10342
10343 2002-02-02  Tom Tromey  <tromey@redhat.com>
10344
10345         * Makefile.in: Rebuilt.
10346
10347 2002-02-02  Jason Merrill  <jason@redhat.com>
10348
10349         * Makefile.am (clean-nat): New target.
10350
10351 2002-02-02  Tom Tromey  <tromey@redhat.com>
10352
10353         * java/io/natFile.cc: Removed old "FIXME" comments.
10354
10355 2002-02-01  Tom Tromey  <tromey@redhat.com>
10356
10357         * java/lang/natPosixProcess.cc (myclose): New function.
10358         (fail): Use it.
10359         (startProcess): Likewise.
10360
10361 2002-02-01  Adam Megacz <adam@xwt.org>
10362
10363         * prims.cc: Added #undef STRICT after #include<windows.h>.
10364
10365 2002-02-01  Adam Megacz <adam@xwt.org>
10366
10367         * prims.cc
10368         (_Jv_CreateJavaVM): We now use WIN32 instead of
10369         USE_WIN32_SIGNALLING and USE_WINSOCK.
10370         (win32_exception_handler): Now throws an exception out of
10371         the signal handler; assumes SJLJ.
10372
10373 2002-02-01  Adam Megacz <adam@xwt.org>
10374
10375         * win32-threads.cc:
10376         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10377         wait() algorithm to make it safe.
10378         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10379         Added lazy creation of Win32 Events for better performance
10380         (really_start): This now uses GC_CreateThread so boehm-gc
10381         knows about new threads even when statically linked.
10382
10383 2002-02-01  Adam Megacz <adam@xwt.org>
10384
10385         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10386         enable safer wait() algorithm.
10387         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10388         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10389         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10390         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10391         instead of mutex.
10392         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10393
10394 2002-02-01  Adam Megacz <adam@xwt.org>
10395
10396         * configure.in: Added support for mingw.
10397         * java/lang/Win32Process.java: Created as empty file.
10398         * java/lang/natWin32Process.cc: Created as empty file.
10399
10400 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10401
10402         PR java/4972
10403         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10404         for libiconv in LIBICONV variable.
10405         * configure: Regenerated.
10406
10407 2002-01-31  Tom Tromey  <tromey@redhat.com>
10408
10409         * verify.cc (state::enter_subroutine): New method.
10410         (handle_jsr_insn): Use it.
10411         (state::merge): When processing a `ret', correctly use
10412         subroutine's state to determine which local variables have
10413         changed.
10414         (push_exception_jump): Don't let stack overflow.
10415
10416 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10417
10418         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10419         --version output.
10420
10421 2002-01-30  Tom Tromey  <tromey@redhat.com>
10422
10423         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10424         parameter for `recv' return type.
10425
10426         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10427         (state::merge): ... not here.
10428         (subr_entry_info): New structure.
10429         (entry_points): New field.
10430         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10431         entry_points.
10432
10433 2002-01-29  Tom Tromey  <tromey@redhat.com>
10434
10435         * java/awt/List.java (addNotify): Correctly check to see if peer
10436         does not exist.
10437
10438         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10439         to compute height of each cell, and number of columns to compute
10440         width of each cell.
10441         * java/awt/Window.java (getOwnedWindows): Don't return null.
10442         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10443         of component.  Increment x using horizontal gap, not vertical
10444         gap.
10445
10446 2002-01-28  Tom Tromey  <tromey@redhat.com>
10447
10448         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10449         `nargs' byte is number of words, not number of arguments.
10450
10451 2002-01-27  Tom Tromey  <tromey@redhat.com>
10452
10453         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10454         (when): Likewise.
10455         * java/awt/event/InputEvent.java (modifiers, when): Now
10456         package-private.
10457
10458         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10459         and to-do list.
10460         (state::merge): Use current class' class loader.
10461         (state::print): Print subroutine.
10462         (state::merge): Don't look at subroutine of unmerged `ret'.
10463
10464 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10465
10466         * nogc.cc: Remove warnings.
10467         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10468         New functions.
10469
10470 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10471
10472         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10473         int, int):  Remove empty "if" statement to work around compiler bug.
10474         (newPixels(int[], ColorModel, int, int): Likewise.
10475
10476 2002-01-25  Per Bothner  <per@bothner.com>
10477
10478         * verify.cc (verify_fail):  Change from being a top-level function
10479         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10480         Pass the current verifier to type: and state: methods as needed,
10481         for better error messages, and for resolve.
10482         (resolve):  Pass current class's loader for Class.forName and
10483         _Jv_FindClassFromSignature, rather than using the default loader.
10484         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10485         (get_type_val_for_signature):  Make non-static.
10486         (various methods):  Pass start_PC implicitly, not explicitly.
10487
10488 2002-01-25  Tom Tromey  <tromey@redhat.com>
10489
10490         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10491         loop termination condition.
10492         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10493         width.
10494
10495 2002-01-24  Tom Tromey  <tromey@redhat.com>
10496
10497         * java/awt/Shape.java: Merged with Classpath.
10498         * java/awt/Scrollbar.java: Merged with Classpath.
10499
10500         * java/awt/Container.java (addNotify): Unconditionally call
10501         addNotifyContainerChildren and superclass addNotify.
10502
10503         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10504         getAlpha, not getBlue.
10505
10506 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10507
10508         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10509
10510         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10511         (grabPixels(long)): Wait to be notified that the ImageProducer has
10512         completed.
10513
10514 2002-01-24  Per Bothner  <per@bothner.com>
10515
10516         * verify.cc (is_assignable_from_slow): If target is an interface,
10517         we must still check the source's superclass before giving up.
10518
10519 2002-01-24  Tom Tromey  <tromey@redhat.com>
10520
10521         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10522
10523 2002-01-23  Tom Tromey  <tromey@redhat.com>
10524
10525         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10526         `else'.
10527
10528         * Makefile.in: Rebuilt.
10529         * Makefile.am (awt_java_source_files): Added new files.
10530         * java/awt/Toolkit.java: Merged with Classpath.
10531         * java/awt/PrintGraphics.java: New file from Classpath.
10532         * java/awt/PrintJob.java: New file from Classpath.
10533         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10534         * java/awt/datatransfer/ClipboardOwner.java: New file from
10535         Classpath.
10536         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10537         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10538         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10539         Classpath.
10540         * java/awt/datatransfer/StringSelection.java: New file from
10541         Classpath.
10542         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10543         Classpath.
10544         * java/awt/datatransfer/Transferable.java: New file from
10545         Classpath.
10546         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10547         from Classpath.
10548
10549         * Makefile.in: Rebuilt.
10550         * Makefile.am (awt_java_source_files): Added new files.
10551         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10552         Classpath.
10553         * java/awt/image/CropImageFilter.java: New file from Classpath.
10554         * java/awt/image/FilteredImageSource.java: New file from
10555         Classpath.
10556         * java/awt/image/ImageFilter.java: New file from Classpath.
10557         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10558         * java/awt/image/PixelGrabber.java: New file from Classpath.
10559         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10560         * java/awt/image/ReplicateScaleFilter.java: New file from
10561         Classpath.
10562         * java/awt/image/ImageProducer.java: Replaced with Classpath
10563         version.
10564         * java/awt/image/ImageObserver.java: Replaced with Classpath
10565         version.
10566         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10567         version.
10568         * java/awt/GridBagConstraints.java (clone): Catch
10569         CloneNotSupportedException.
10570
10571 2002-01-23  Per Bothner  <per@bothner.com>
10572
10573         * java/lang/reflect/natField.cc (setAddr):  New function.
10574         Calls getAddr and then checks that the field isn't final.
10575         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10576         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10577         (set):  Call setAddr before check that new value has right type,
10578         to better match specified semantics.
10579
10580 2002-01-22  Tom Tromey  <tromey@redhat.com>
10581
10582         * java/awt/TextField.java: Replaced with Classpath version.
10583         * java/awt/TextArea.java: Replaced with Classpath version.
10584         * java/awt/TextComponent.java: Replaced with Classpath version.
10585
10586         * java/awt/GridBagConstraints.java: Updated copyright.
10587
10588 2002-01-22  Mark Wielaard <mark@klomp.org>
10589
10590         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10591         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10592         java/awt/Dialog.java java/awt/FileDialog.java
10593         java/awt/Font.java java/awt/FontMetrics.java
10594         java/awt/Image.java java/awt/ImageMediaEntry.java
10595         java/awt/Insets.java java/awt/List.java
10596         java/awt/MediaEntry.java java/awt/MediaTracker.java
10597         java/awt/Menu.java java/awt/MenuBar.java
10598         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10599         java/awt/PaintContext.java java/awt/Panel.java
10600         java/awt/PopupMenu.java java/awt/SystemColor.java
10601         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10602         java/awt/peer/CheckboxMenuItemPeer.java
10603         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10604         java/awt/peer/ComponentPeer.java
10605         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10606         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10607         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10608         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10609         java/awt/peer/MenuBarPeer.java
10610         java/awt/peer/MenuComponentPeer.java
10611         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10612         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10613         java/awt/peer/ScrollPanePeer.java
10614         java/awt/peer/ScrollbarPeer.java
10615         java/awt/peer/TextAreaPeer.java
10616         java/awt/peer/TextComponentPeer.java
10617         java/awt/peer/TextFieldPeer.java
10618         java/awt/peer/WindowPeer.java: Add license clarification.
10619
10620 2002-01-22  Mark Wielaard <mark@klomp.org>
10621
10622         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10623         gnu/gcj/runtime/StringBuffer.java
10624         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10625         gnu/java/awt/ComponentDataBlitOp.java
10626         gnu/java/awt/GLightweightPeer.java
10627         gnu/java/beans/BeanInfoEmbryo.java
10628         gnu/java/beans/EmptyBeanInfo.java
10629         gnu/java/beans/ExplicitBeanInfo.java
10630         gnu/java/beans/IntrospectionIncubator.java
10631         gnu/java/beans/editors/ColorEditor.java
10632         gnu/java/beans/editors/FontEditor.java
10633         gnu/java/beans/editors/NativeBooleanEditor.java
10634         gnu/java/beans/editors/NativeByteEditor.java
10635         gnu/java/beans/editors/NativeDoubleEditor.java
10636         gnu/java/beans/editors/NativeFloatEditor.java
10637         gnu/java/beans/editors/NativeIntEditor.java
10638         gnu/java/beans/editors/NativeLongEditor.java
10639         gnu/java/beans/editors/NativeShortEditor.java
10640         gnu/java/beans/editors/StringEditor.java
10641         gnu/java/beans/info/ComponentBeanInfo.java
10642         gnu/java/io/ClassLoaderObjectInputStream.java
10643         gnu/java/io/NullOutputStream.java
10644         gnu/java/io/ObjectIdentityWrapper.java
10645         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10646         gnu/java/lang/reflect/TypeSignature.java
10647         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10648         gnu/java/locale/Calendar_en.java
10649         gnu/java/locale/Calendar_nl.java
10650         gnu/java/locale/LocaleInformation.java
10651         gnu/java/locale/LocaleInformation_de.java
10652         gnu/java/locale/LocaleInformation_en.java
10653         gnu/java/locale/LocaleInformation_nl.java
10654         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10655         gnu/java/rmi/registry/RegistryImpl.java
10656         gnu/java/rmi/rmic/Compile_gcj.java
10657         gnu/java/rmi/rmic/Compiler.java
10658         gnu/java/rmi/rmic/CompilerProcess.java
10659         gnu/java/rmi/rmic/RMIC.java
10660         gnu/java/rmi/rmic/TabbedWriter.java
10661         gnu/java/rmi/server/ProtocolConstants.java
10662         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10663         gnu/java/rmi/server/RMIHashes.java
10664         gnu/java/rmi/server/RMIObjectInputStream.java
10665         gnu/java/rmi/server/RMIObjectOutputStream.java
10666         gnu/java/rmi/server/UnicastConnection.java
10667         gnu/java/rmi/server/UnicastConnectionManager.java
10668         gnu/java/rmi/server/UnicastRef.java
10669         gnu/java/rmi/server/UnicastRemoteCall.java
10670         gnu/java/rmi/server/UnicastRemoteStub.java
10671         gnu/java/rmi/server/UnicastServer.java
10672         gnu/java/rmi/server/UnicastServerRef.java
10673         gnu/java/security/provider/DefaultPolicy.java
10674         gnu/java/security/provider/Gnu.java
10675         gnu/java/security/provider/SHA.java
10676         gnu/java/security/provider/SHA1PRNG.java
10677         gnu/java/text/BaseBreakIterator.java
10678         gnu/java/text/CharacterBreakIterator.java
10679         gnu/java/text/LineBreakIterator.java
10680         gnu/java/text/SentenceBreakIterator.java
10681         gnu/java/text/WordBreakIterator.java
10682         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10683         java/applet/AppletContext.java java/applet/AppletStub.java
10684         java/applet/AudioClip.java java/awt/AWTError.java
10685         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10686         java/awt/AWTException.java java/awt/AWTPermission.java
10687         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10688         java/awt/Button.java java/awt/Canvas.java
10689         java/awt/CardLayout.java java/awt/Checkbox.java
10690         java/awt/CheckboxGroup.java java/awt/Component.java
10691         java/awt/ComponentOrientation.java java/awt/Container.java
10692         java/awt/Dimension.java java/awt/Event.java
10693         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10694         java/awt/FlowLayout.java java/awt/Frame.java
10695         java/awt/Graphics.java java/awt/Graphics2D.java
10696         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10697         java/awt/IllegalComponentStateException.java
10698         java/awt/ItemSelectable.java java/awt/Label.java
10699         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10700         java/awt/MenuComponent.java java/awt/MenuItem.java
10701         java/awt/Paint.java java/awt/Point.java
10702         java/awt/Rectangle.java java/awt/RenderingHints.java
10703         java/awt/Transparency.java java/awt/Window.java
10704         java/awt/color/ColorSpace.java
10705         java/awt/color/ICC_ColorSpace.java
10706         java/awt/color/ICC_Profile.java
10707         java/awt/event/HierarchyBoundsAdapter.java
10708         java/awt/event/HierarchyBoundsListener.java
10709         java/awt/event/HierarchyEvent.java
10710         java/awt/event/HierarchyListener.java
10711         java/awt/geom/AffineTransform.java
10712         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10713         java/awt/geom/IllegalPathStateException.java
10714         java/awt/geom/Line2D.java
10715         java/awt/geom/NoninvertibleTransformException.java
10716         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10717         java/awt/geom/Rectangle2D.java
10718         java/awt/geom/RectangularShape.java
10719         java/awt/geom/RoundRectangle2D.java
10720         java/awt/image/BufferedImage.java
10721         java/awt/image/ColorModel.java
10722         java/awt/image/ComponentColorModel.java
10723         java/awt/image/ComponentSampleModel.java
10724         java/awt/image/DataBuffer.java
10725         java/awt/image/DataBufferByte.java
10726         java/awt/image/DataBufferInt.java
10727         java/awt/image/DataBufferUShort.java
10728         java/awt/image/DirectColorModel.java
10729         java/awt/image/PackedColorModel.java
10730         java/awt/image/Raster.java java/awt/image/RasterOp.java
10731         java/awt/image/SampleModel.java
10732         java/awt/image/SinglePixelPackedSampleModel.java
10733         java/awt/image/WritableRaster.java
10734         java/beans/AppletInitializer.java
10735         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10736         java/beans/Beans.java java/beans/Customizer.java
10737         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10738         java/beans/FeatureDescriptor.java
10739         java/beans/IndexedPropertyDescriptor.java
10740         java/beans/IntrospectionException.java
10741         java/beans/Introspector.java java/beans/MethodDescriptor.java
10742         java/beans/ParameterDescriptor.java
10743         java/beans/PropertyChangeEvent.java
10744         java/beans/PropertyChangeListener.java
10745         java/beans/PropertyChangeSupport.java
10746         java/beans/PropertyDescriptor.java
10747         java/beans/PropertyEditor.java
10748         java/beans/PropertyEditorManager.java
10749         java/beans/PropertyEditorSupport.java
10750         java/beans/PropertyVetoException.java
10751         java/beans/SimpleBeanInfo.java
10752         java/beans/VetoableChangeListener.java
10753         java/beans/VetoableChangeSupport.java
10754         java/beans/Visibility.java
10755         java/beans/beancontext/BeanContext.java
10756         java/beans/beancontext/BeanContextChild.java
10757         java/beans/beancontext/BeanContextChildComponentProxy.java
10758         java/beans/beancontext/BeanContextChildSupport.java
10759         java/beans/beancontext/BeanContextContainerProxy.java
10760         java/beans/beancontext/BeanContextEvent.java
10761         java/beans/beancontext/BeanContextMembershipEvent.java
10762         java/beans/beancontext/BeanContextMembershipListener.java
10763         java/beans/beancontext/BeanContextProxy.java
10764         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10765         java/beans/beancontext/BeanContextServiceProvider.java
10766         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10767         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10768         java/beans/beancontext/BeanContextServiceRevokedListener.java
10769         java/beans/beancontext/BeanContextServices.java
10770         java/beans/beancontext/BeanContextServicesListener.java
10771         java/io/BufferedInputStream.java
10772         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10773         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10774         java/io/ByteArrayOutputStream.java
10775         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10776         java/io/CharConversionException.java java/io/DataInput.java
10777         java/io/DataInputStream.java java/io/DataOutput.java
10778         java/io/EOFException.java java/io/Externalizable.java
10779         java/io/FileFilter.java java/io/FileNotFoundException.java
10780         java/io/FilePermission.java java/io/FileReader.java
10781         java/io/FileWriter.java java/io/FilenameFilter.java
10782         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10783         java/io/FilterReader.java java/io/FilterWriter.java
10784         java/io/IOException.java java/io/InputStream.java
10785         java/io/InterruptedIOException.java
10786         java/io/InvalidClassException.java
10787         java/io/InvalidObjectException.java
10788         java/io/NotActiveException.java
10789         java/io/NotSerializableException.java java/io/ObjectInput.java
10790         java/io/ObjectInputStream.java
10791         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10792         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10793         java/io/ObjectStreamConstants.java
10794         java/io/ObjectStreamException.java
10795         java/io/ObjectStreamField.java
10796         java/io/OptionalDataException.java java/io/OutputStream.java
10797         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10798         java/io/PipedReader.java java/io/PipedWriter.java
10799         java/io/PrintWriter.java java/io/PushbackInputStream.java
10800         java/io/PushbackReader.java java/io/Reader.java
10801         java/io/SequenceInputStream.java java/io/Serializable.java
10802         java/io/SerializablePermission.java
10803         java/io/StreamCorruptedException.java
10804         java/io/StreamTokenizer.java
10805         java/io/StringBufferInputStream.java java/io/StringReader.java
10806         java/io/StringWriter.java java/io/SyncFailedException.java
10807         java/io/UTFDataFormatException.java
10808         java/io/UnsupportedEncodingException.java
10809         java/io/WriteAbortedException.java java/io/Writer.java
10810         java/lang/AbstractMethodError.java
10811         java/lang/ArithmeticException.java
10812         java/lang/ArrayIndexOutOfBoundsException.java
10813         java/lang/ArrayStoreException.java java/lang/Boolean.java
10814         java/lang/Byte.java java/lang/CharSequence.java
10815         java/lang/ClassCastException.java
10816         java/lang/ClassCircularityError.java
10817         java/lang/ClassFormatError.java
10818         java/lang/ClassNotFoundException.java
10819         java/lang/CloneNotSupportedException.java
10820         java/lang/Cloneable.java java/lang/Comparable.java
10821         java/lang/Compiler.java java/lang/Double.java
10822         java/lang/Error.java java/lang/Exception.java
10823         java/lang/ExceptionInInitializerError.java
10824         java/lang/Float.java java/lang/IllegalAccessError.java
10825         java/lang/IllegalAccessException.java
10826         java/lang/IllegalArgumentException.java
10827         java/lang/IllegalMonitorStateException.java
10828         java/lang/IllegalStateException.java
10829         java/lang/IllegalThreadStateException.java
10830         java/lang/IncompatibleClassChangeError.java
10831         java/lang/IndexOutOfBoundsException.java
10832         java/lang/InheritableThreadLocal.java
10833         java/lang/InstantiationError.java
10834         java/lang/InstantiationException.java java/lang/Integer.java
10835         java/lang/InternalError.java
10836         java/lang/InterruptedException.java
10837         java/lang/LinkageError.java java/lang/Long.java
10838         java/lang/NegativeArraySizeException.java
10839         java/lang/NoClassDefFoundError.java
10840         java/lang/NoSuchFieldError.java
10841         java/lang/NoSuchFieldException.java
10842         java/lang/NoSuchMethodError.java
10843         java/lang/NoSuchMethodException.java
10844         java/lang/NullPointerException.java java/lang/Number.java
10845         java/lang/NumberFormatException.java
10846         java/lang/OutOfMemoryError.java java/lang/Package.java
10847         java/lang/Process.java java/lang/Runnable.java
10848         java/lang/RuntimeException.java
10849         java/lang/RuntimePermission.java
10850         java/lang/SecurityException.java
10851         java/lang/SecurityManager.java java/lang/Short.java
10852         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10853         java/lang/StringIndexOutOfBoundsException.java
10854         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10855         java/lang/ThreadLocal.java java/lang/UnknownError.java
10856         java/lang/UnsatisfiedLinkError.java
10857         java/lang/UnsupportedClassVersionError.java
10858         java/lang/UnsupportedOperationException.java
10859         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10860         java/lang/Void.java java/lang/ref/PhantomReference.java
10861         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10862         java/lang/ref/SoftReference.java
10863         java/lang/ref/WeakReference.java
10864         java/lang/reflect/AccessibleObject.java
10865         java/lang/reflect/InvocationTargetException.java
10866         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10867         java/lang/reflect/ReflectPermission.java
10868         java/math/BigDecimal.java java/math/BigInteger.java
10869         java/net/Authenticator.java java/net/BindException.java
10870         java/net/ConnectException.java java/net/ContentHandler.java
10871         java/net/ContentHandlerFactory.java
10872         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10873         java/net/FileNameMap.java java/net/MalformedURLException.java
10874         java/net/MulticastSocket.java java/net/NetPermission.java
10875         java/net/NoRouteToHostException.java
10876         java/net/PasswordAuthentication.java
10877         java/net/ProtocolException.java java/net/ServerSocket.java
10878         java/net/Socket.java java/net/SocketException.java
10879         java/net/SocketImpl.java java/net/SocketImplFactory.java
10880         java/net/SocketOptions.java java/net/SocketPermission.java
10881         java/net/URLDecoder.java java/net/URLEncoder.java
10882         java/net/URLStreamHandlerFactory.java
10883         java/net/UnknownHostException.java
10884         java/net/UnknownServiceException.java
10885         java/rmi/AccessException.java
10886         java/rmi/AlreadyBoundException.java
10887         java/rmi/ConnectException.java
10888         java/rmi/ConnectIOException.java
10889         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10890         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10891         java/rmi/NotBoundException.java
10892         java/rmi/RMISecurityException.java
10893         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10894         java/rmi/RemoteException.java java/rmi/ServerError.java
10895         java/rmi/ServerException.java
10896         java/rmi/ServerRuntimeException.java
10897         java/rmi/StubNotFoundException.java
10898         java/rmi/UnexpectedException.java
10899         java/rmi/UnknownHostException.java
10900         java/rmi/UnmarshalException.java
10901         java/rmi/activation/Activatable.java
10902         java/rmi/activation/ActivateFailedException.java
10903         java/rmi/activation/ActivationDesc.java
10904         java/rmi/activation/ActivationException.java
10905         java/rmi/activation/ActivationGroup.java
10906         java/rmi/activation/ActivationGroupDesc.java
10907         java/rmi/activation/ActivationGroupID.java
10908         java/rmi/activation/ActivationID.java
10909         java/rmi/activation/ActivationInstantiator.java
10910         java/rmi/activation/ActivationMonitor.java
10911         java/rmi/activation/ActivationSystem.java
10912         java/rmi/activation/Activator.java
10913         java/rmi/activation/UnknownGroupException.java
10914         java/rmi/activation/UnknownObjectException.java
10915         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
10916         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
10917         java/rmi/registry/Registry.java
10918         java/rmi/registry/RegistryHandler.java
10919         java/rmi/server/ExportException.java
10920         java/rmi/server/LoaderHandler.java
10921         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
10922         java/rmi/server/Operation.java
10923         java/rmi/server/RMIClassLoader.java
10924         java/rmi/server/RMIClientSocketFactory.java
10925         java/rmi/server/RMIFailureHandler.java
10926         java/rmi/server/RMIServerSocketFactory.java
10927         java/rmi/server/RMISocketFactory.java
10928         java/rmi/server/RemoteCall.java
10929         java/rmi/server/RemoteObject.java
10930         java/rmi/server/RemoteRef.java
10931         java/rmi/server/RemoteServer.java
10932         java/rmi/server/RemoteStub.java
10933         java/rmi/server/ServerCloneException.java
10934         java/rmi/server/ServerNotActiveException.java
10935         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
10936         java/rmi/server/SkeletonMismatchException.java
10937         java/rmi/server/SkeletonNotFoundException.java
10938         java/rmi/server/SocketSecurityException.java
10939         java/rmi/server/UID.java
10940         java/rmi/server/UnicastRemoteObject.java
10941         java/rmi/server/Unreferenced.java
10942         java/security/AccessControlContext.java
10943         java/security/AccessControlException.java
10944         java/security/AccessController.java
10945         java/security/AlgorithmParameterGenerator.java
10946         java/security/AlgorithmParameterGeneratorSpi.java
10947         java/security/AlgorithmParameters.java
10948         java/security/AlgorithmParametersSpi.java
10949         java/security/AllPermission.java
10950         java/security/BasicPermission.java
10951         java/security/Certificate.java java/security/CodeSource.java
10952         java/security/DigestException.java
10953         java/security/DigestInputStream.java
10954         java/security/DigestOutputStream.java
10955         java/security/DomainCombiner.java
10956         java/security/DummyKeyPairGenerator.java
10957         java/security/DummyMessageDigest.java
10958         java/security/DummySignature.java
10959         java/security/GeneralSecurityException.java
10960         java/security/Guard.java java/security/GuardedObject.java
10961         java/security/Identity.java java/security/IdentityScope.java
10962         java/security/InvalidAlgorithmParameterException.java
10963         java/security/InvalidKeyException.java
10964         java/security/InvalidParameterException.java
10965         java/security/Key.java java/security/KeyException.java
10966         java/security/KeyFactory.java java/security/KeyFactorySpi.java
10967         java/security/KeyManagementException.java
10968         java/security/KeyPair.java java/security/KeyPairGenerator.java
10969         java/security/KeyPairGeneratorSpi.java
10970         java/security/KeyStore.java
10971         java/security/KeyStoreException.java
10972         java/security/KeyStoreSpi.java
10973         java/security/MessageDigest.java
10974         java/security/MessageDigestSpi.java
10975         java/security/NoSuchAlgorithmException.java
10976         java/security/NoSuchProviderException.java
10977         java/security/Permission.java
10978         java/security/PermissionCollection.java
10979         java/security/Permissions.java java/security/Policy.java
10980         java/security/Principal.java java/security/PrivateKey.java
10981         java/security/PrivilegedAction.java
10982         java/security/PrivilegedActionException.java
10983         java/security/PrivilegedExceptionAction.java
10984         java/security/ProtectionDomain.java
10985         java/security/Provider.java
10986         java/security/ProviderException.java
10987         java/security/PublicKey.java
10988         java/security/SecureClassLoader.java
10989         java/security/SecureRandom.java
10990         java/security/SecureRandomSpi.java java/security/Security.java
10991         java/security/SecurityPermission.java
10992         java/security/Signature.java
10993         java/security/SignatureException.java
10994         java/security/SignatureSpi.java
10995         java/security/SignedObject.java java/security/Signer.java
10996         java/security/UnrecoverableKeyException.java
10997         java/security/UnresolvedPermission.java
10998         java/security/acl/Acl.java java/security/acl/AclEntry.java
10999         java/security/acl/AclNotFoundException.java
11000         java/security/acl/Group.java
11001         java/security/acl/LastOwnerException.java
11002         java/security/acl/NotOwnerException.java
11003         java/security/acl/Owner.java java/security/acl/Permission.java
11004         java/security/cert/CRL.java
11005         java/security/cert/CRLException.java
11006         java/security/cert/Certificate.java
11007         java/security/cert/CertificateEncodingException.java
11008         java/security/cert/CertificateException.java
11009         java/security/cert/CertificateExpiredException.java
11010         java/security/cert/CertificateFactory.java
11011         java/security/cert/CertificateFactorySpi.java
11012         java/security/cert/CertificateNotYetValidException.java
11013         java/security/cert/CertificateParsingException.java
11014         java/security/cert/X509CRL.java
11015         java/security/cert/X509CRLEntry.java
11016         java/security/cert/X509Certificate.java
11017         java/security/cert/X509Extension.java
11018         java/security/interfaces/DSAKey.java
11019         java/security/interfaces/DSAKeyPairGenerator.java
11020         java/security/interfaces/DSAParams.java
11021         java/security/interfaces/DSAPrivateKey.java
11022         java/security/interfaces/DSAPublicKey.java
11023         java/security/interfaces/RSAKey.java
11024         java/security/interfaces/RSAPrivateCrtKey.java
11025         java/security/interfaces/RSAPrivateKey.java
11026         java/security/interfaces/RSAPublicKey.java
11027         java/security/spec/AlgorithmParameterSpec.java
11028         java/security/spec/DSAParameterSpec.java
11029         java/security/spec/DSAPrivateKeySpec.java
11030         java/security/spec/DSAPublicKeySpec.java
11031         java/security/spec/EncodedKeySpec.java
11032         java/security/spec/InvalidKeySpecException.java
11033         java/security/spec/InvalidParameterSpecException.java
11034         java/security/spec/KeySpec.java
11035         java/security/spec/PKCS8EncodedKeySpec.java
11036         java/security/spec/RSAKeyGenParameterSpec.java
11037         java/security/spec/RSAPrivateCrtKeySpec.java
11038         java/security/spec/RSAPrivateKeySpec.java
11039         java/security/spec/RSAPublicKeySpec.java
11040         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11041         java/sql/BatchUpdateException.java java/sql/Blob.java
11042         java/sql/CallableStatement.java java/sql/Clob.java
11043         java/sql/Connection.java java/sql/DataTruncation.java
11044         java/sql/DatabaseMetaData.java java/sql/Date.java
11045         java/sql/Driver.java java/sql/DriverManager.java
11046         java/sql/DriverPropertyInfo.java
11047         java/sql/PreparedStatement.java java/sql/Ref.java
11048         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11049         java/sql/SQLData.java java/sql/SQLException.java
11050         java/sql/SQLInput.java java/sql/SQLOutput.java
11051         java/sql/SQLWarning.java java/sql/Statement.java
11052         java/sql/Struct.java java/sql/Time.java
11053         java/sql/Timestamp.java java/sql/Types.java
11054         java/text/Annotation.java
11055         java/text/AttributedCharacterIterator.java
11056         java/text/AttributedString.java
11057         java/text/AttributedStringIterator.java
11058         java/text/BreakIterator.java java/text/CharacterIterator.java
11059         java/text/ChoiceFormat.java java/text/Collator.java
11060         java/text/DateFormat.java java/text/DateFormatSymbols.java
11061         java/text/DecimalFormat.java
11062         java/text/DecimalFormatSymbols.java
11063         java/text/FieldPosition.java java/text/Format.java
11064         java/text/MessageFormat.java java/text/NumberFormat.java
11065         java/text/ParseException.java java/text/ParsePosition.java
11066         java/text/SimpleDateFormat.java
11067         java/text/StringCharacterIterator.java
11068         java/util/AbstractCollection.java java/util/AbstractList.java
11069         java/util/AbstractMap.java
11070         java/util/AbstractSequentialList.java
11071         java/util/AbstractSet.java java/util/ArrayList.java
11072         java/util/Arrays.java java/util/BasicMapEntry.java
11073         java/util/BitSet.java java/util/Calendar.java
11074         java/util/Collection.java java/util/Collections.java
11075         java/util/Comparator.java
11076         java/util/ConcurrentModificationException.java
11077         java/util/Date.java java/util/Dictionary.java
11078         java/util/EmptyStackException.java java/util/Enumeration.java
11079         java/util/EventListener.java java/util/EventObject.java
11080         java/util/GregorianCalendar.java java/util/HashMap.java
11081         java/util/HashSet.java java/util/Hashtable.java
11082         java/util/IdentityHashMap.java java/util/Iterator.java
11083         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11084         java/util/LinkedList.java java/util/List.java
11085         java/util/ListIterator.java java/util/ListResourceBundle.java
11086         java/util/Locale.java java/util/Map.java
11087         java/util/MissingResourceException.java
11088         java/util/NoSuchElementException.java
11089         java/util/Observable.java java/util/Observer.java
11090         java/util/Properties.java java/util/PropertyPermission.java
11091         java/util/PropertyResourceBundle.java java/util/Random.java
11092         java/util/RandomAccess.java java/util/ResourceBundle.java
11093         java/util/Set.java java/util/SimpleTimeZone.java
11094         java/util/SortedMap.java java/util/SortedSet.java
11095         java/util/Stack.java java/util/StringTokenizer.java
11096         java/util/TimeZone.java java/util/Timer.java
11097         java/util/TimerTask.java
11098         java/util/TooManyListenersException.java
11099         java/util/TreeMap.java java/util/TreeSet.java
11100         java/util/Vector.java java/util/WeakHashMap.java
11101         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11102         java/util/jar/JarException.java java/util/jar/JarFile.java
11103         java/util/jar/JarInputStream.java
11104         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11105         java/util/zip/Adler32.java java/util/zip/CRC32.java
11106         java/util/zip/CheckedInputStream.java
11107         java/util/zip/CheckedOutputStream.java
11108         java/util/zip/Checksum.java
11109         java/util/zip/DataFormatException.java
11110         java/util/zip/Deflater.java
11111         java/util/zip/DeflaterOutputStream.java
11112         java/util/zip/GZIPInputStream.java
11113         java/util/zip/GZIPOutputStream.java
11114         java/util/zip/Inflater.java
11115         java/util/zip/InflaterInputStream.java
11116         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11117         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11118         java/util/zip/ZipInputStream.java
11119         java/util/zip/ZipOutputStream.java
11120         javax/naming/BinaryRefAddr.java
11121         javax/naming/InvalidNameException.java javax/naming/Name.java
11122         javax/naming/NamingException.java javax/naming/RefAddr.java
11123         javax/naming/StringRefAddr.java: Add license clarification.
11124
11125 2002-01-22  Tom Tromey  <tromey@redhat.com>
11126
11127         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11128         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11129         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11130         version.
11131         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11132         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11133         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11134         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11135         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11136         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11137         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11138         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11139         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11140         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11141         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11142         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11143         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11144         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11145         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11146         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11147         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11148         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11149         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11150         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11151         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11152         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11153         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11154         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11155         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11156         (minimumSize, preferredSize, reshape): Likewise.
11157         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11158         getColorModel): New methods.
11159         * java/awt/PopupMenu.java: Merged with Classpath.
11160         * java/awt/MenuBar.java: Merged with Classpath.
11161         * java/awt/SystemColor.java: Replace with Classpath version.
11162         * java/awt/Panel.java: Merged with Classpath.
11163         * java/awt/PaintContext.java: Updated copyright.
11164         * java/awt/MenuShortcut.java: Merged with Classpath.
11165         * java/awt/MenuContainer.java: Merged with Classpath.
11166         * java/awt/Menu.java: Merged with Classpath.
11167         * java/awt/MediaEntry.java: New file from Classpath.
11168         * java/awt/MediaTracker.java: New file from Classpath.
11169         * java/awt/List.java: Merged with Classpath version.
11170         * java/awt/Insets.java: Merged with Classpath version.
11171         * java/awt/ImageMediaEntry.java: New file from Classpath.
11172         * java/awt/Image.java: Replaced with Classpath version.
11173         * java/awt/FontMetrics.java: Merged with Classpath version.
11174         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11175         constant.
11176         * java/awt/Font.java: Merged with Classpath version.
11177         * java/awt/Dialog.java: Merged with Classpath version.
11178         * java/awt/Color.java: Merged with Classpath version.
11179         * java/awt/Choice.java: Merged with Classpath version.
11180         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11181         * java/awt/Adjustable.java: Replace with Classpath version.
11182         * java/awt/MenuItem.java (paramString): Don't include class name
11183         or brackets.  Call superclass paramString.
11184         * java/awt/MenuComponent.java (toString): Call paramString.
11185         (paramString): Compute string; don't call toString.
11186         * java/awt/Label.java (paramString): Don't include class name
11187         or brackets.  Call superclass paramString.
11188         * java/awt/Checkbox.java (paramString): Don't include class name
11189         or brackets.  Call superclass paramString.
11190         * java/awt/Button.java (paramString): Don't include class name or
11191         brackets.  Call superclass paramString.
11192         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11193
11194 2002-01-20  Andreas Schwab  <schwab@suse.de>
11195
11196         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11197         function and of parameter recv_func to ssize_t, as specified by
11198         POSIX.
11199
11200 2002-01-19  Per Bothner  <per@bothner.com>
11201
11202         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11203         uncompressed_size in readiness for next entry.
11204
11205 2002-01-18  Tom Tromey  <tromey@redhat.com>
11206
11207         * java/net/natPlainSocketImpl.cc: Include
11208         IllegalArgumentException.h.
11209         (_Jv_recv): New template function.
11210         (BooleanClass): Removed.
11211         (read): Use _Jv_recv.
11212         (setOption): Use Boolean::class$.  Throw exception if object is
11213         not Boolean or Integer.
11214
11215 2002-01-17  Tom Tromey  <tromey@redhat.com>
11216
11217         * java/awt/MenuComponent.java: Merged with Classpath.
11218         * java/awt/MenuItem.java: Merged with Classpath.
11219         * java/awt/Button.java: Merged with Classpath.
11220
11221         * java/awt/ActiveEvent.java: Updated copyright.
11222
11223         * java/awt/AWTError.java: Replaced with Classpath version.
11224         * java/awt/AWTException.java: Replaced with Classpath version.
11225         * java/awt/IllegalComponentStateException.java: Replaced with
11226         Classpath version.
11227
11228 2002-01-16  Tom Tromey  <tromey@redhat.com>
11229
11230         * java/awt/Canvas.java (serialVersionUID): New constant.
11231         Updated copyright.  Added javadoc from Classpath.
11232         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11233
11234         * java/awt/CheckboxGroup.java: Merged with Classpath.
11235         * java/awt/Checkbox.java: Merged with Classpath.
11236
11237         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11238         Classpath.
11239         * java/awt/Point.java: Updated copyright.
11240
11241         * java/awt/Point.java (toString): Use getClass().getName().
11242         Added javadoc.
11243
11244         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11245         commented code.
11246         (hash): Correctly compute initial value for `h'.
11247
11248         * java/awt/Label.java: Merged with Classpath.
11249
11250 2002-01-15  Tom Tromey  <tromey@redhat.com>
11251
11252         * java/awt/AWTPermission.java: Updated copyright.
11253
11254         * java/awt/LayoutManager2.java: Merged with Classpath.
11255         * java/awt/LayoutManager.java: Merged with Classpath.
11256         * java/awt/GridLayout.java: Updated copyright and javadoc.
11257         (getSize): Use `parent.ncomponents'.  Handle insets.
11258         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11259         there are fewer children than columns.  Correctly compute size of
11260         each cell in the grid.  Handle case where there isn't enough
11261         space.
11262         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11263         all users.
11264         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11265         before calling setVisible() on it.  Last item is `num - 1', not
11266         `num'.
11267         (layoutContainer): Hoist invariants out of loop.
11268
11269         Start of AWT merge with Classpath:
11270         * Makefile.in: Rebuilt.
11271         * Makefile.am (awt_java_source_files): Reference files in
11272         gnu/java/awt, not gnu/gcj/awt.
11273         * java/awt/image/BufferedImage.java: Updated copyright.
11274         * java/awt/image/ComponentColorModel.java: Updated copyright.
11275         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11276         * java/awt/image/DataBuffer.java: Updated copyright.
11277         * java/awt/image/DataBufferByte.java: Updated copyright.
11278         * java/awt/image/DataBufferInt.java: Updated copyright.
11279         * java/awt/image/DataBufferUShort.java: Updated copyright.
11280         * java/awt/image/IndexColorModel.java: Updated copyright.
11281         * java/awt/image/PackedColorModel.java: Updated copyright.
11282         * java/awt/image/Raster.java: Updated copyright.
11283         * java/awt/image/RasterOp.java: Updated copyright.
11284         * java/awt/image/SampleModel.java: Updated copyright.
11285         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11286         * java/awt/image/WritableRaster.java: Updated copyright.
11287         * java/awt/color/ColorSpace.java: Updated copyright.
11288         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11289         * java/awt/color/ICC_Profile.java: Updated copyright.
11290         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11291         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11292         * java/awt/event/HierarchyEvent.java: Updated copyright.
11293         * java/awt/event/HierarchyListener.java: Updated copyright.
11294         * java/awt/geom/AffineTransform.java: Updated copyright.
11295         * java/awt/geom/Dimension2D.java: Updated copyright.
11296         * java/awt/geom/Ellipse2D.java: Updated copyright.
11297         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11298         * java/awt/geom/Line2D.java: Updated copyright.
11299         * java/awt/geom/NoninvertibleTransformException.java: Updated
11300         copyright.
11301         * java/awt/geom/PathIterator.java: Updated copyright.
11302         * java/awt/geom/Point2D.java: Updated copyright.
11303         * java/awt/geom/Rectangle2D.java: Updated copyright.
11304         * java/awt/geom/RectangularShape.java: Updated copyright.
11305         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11306         * java/awt/Toolkit.java: Updated import for file moves.
11307         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11308         Classpath.
11309         (hashCode): New method from Classpath.
11310         * java/awt/Graphics2D.java: Updated copyright.
11311         * java/awt/Transparency.java: Updated copyright.
11312         * java/awt/Paint.java: Updated copyright.
11313         * java/awt/Graphics.java: New version from Classpath.
11314         * java/awt/EventDispatchThread.java: Updated copyright.
11315         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11316         children.
11317         (gotoComponent): Wrap around on next/previous.
11318         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11319         * gnu/gcj/awt/Buffers.java: Removed.
11320         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11321         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11322         * gnu/java/awt/BitMaskExtent.java: Added.
11323         * gnu/java/awt/Buffers.java: Added.
11324         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11325         * gnu/java/awt/GLightweightPeer.java: Added.
11326         * java/awt/geom/Line2D.java (clone): Ignore
11327         CloneNotSupportedException.
11328         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11329         * java/awt/Frame.java: Merged with Classpath.
11330         * java/awt/RenderingHints.java: Copyright update.
11331         * java/awt/Paint.java: Copyright update.
11332         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11333         * java/awt/image/ColorModel.java: Merged with Classpath.
11334         * java/awt/Window.java (show): New Implementation from Classpath.
11335         (isShowing): Use super.isShowing().
11336         * java/awt/EventQueue.java: Merged with Classpath.
11337         * java/awt/AWTEventMulticaster.java (save): Throw
11338         RuntimeException.
11339         (saveInternal): Likewise.
11340         * java/awt/AWTEvent.java: Now implements Serializable.
11341         * java/awt/Event.java: Copyright update.
11342         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11343         * java/awt/image/BufferedImage.java: Copyright update.
11344         * java/awt/GraphicsConfiguration.java: Copyright update.
11345         * java/awt/Component.java: (addNotify): Don't call
11346         addNotifyContainerChildren().
11347         (addNotifyContainerChildren): Removed.
11348         (setPeer): New method from Classpath.
11349         (setTreeLock): Likewise.
11350         (setVisible): Rewrote.
11351         (show): Use it.
11352         (hide): Likewise.
11353         (validate): Set `valid'.
11354         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11355         (createImage(ImageProducer)): Likewise.
11356         (prepareImage): Likewise.
11357         * java/awt/Container.java (addImpl): Handle case where constraint
11358         is not a String.  Post event via system event queue.
11359         (remove): Post event via system event queue.
11360         (validateTree): Only validate child if it is invalid.
11361         (getAlignmentX): Call super method as default.
11362         (getAlignmentY): Likewise.
11363         (addContainerListener): Now synchronized.
11364         (removeContainerListener): Likewise.
11365         (addNotifyContainerChildren): Now private.
11366         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11367         @author.
11368         * java/awt/FlowLayout.java (serialVersionUID): New field.
11369         (setAlignment): Better exception message.
11370         (layoutContainer): Don't compute component's preferred size unless
11371         we're going to use it.
11372         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11373         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11374         (firstLine, lastLine, firstItem, lastItem): New fields.
11375         (addLayoutComponent): Handle case where constraints is null.
11376         Also, handle relative locations.
11377         (removeLayoutComponent): Handle relative locations.
11378         (MIN, MAX, PREF): New constants.
11379         (calcCompSize): New method.
11380         (calcSize): New method.
11381         (minimumLayoutSize): Use it.
11382         (preferredLayoutSize): Likewise.
11383         (maximumLayoutSize): Likewise.
11384         (toString): Include more information.
11385         (setBounds): New method.
11386         (layoutContainer): Use libgcj implementation; extended to handle
11387         relative locations.
11388
11389 2002-01-15  Tom Tromey  <tromey@redhat.com>
11390
11391         * java/lang/Float.java (equals): Preserve old code.
11392         * java/lang/Double.java (equals): Preserve old code.
11393
11394 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11395
11396         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11397         * java/lang/Float.java (equals, compare): Ditto.
11398
11399 2002-01-13  Mark Wielaard  <mark@klomp.org>
11400
11401         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11402         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11403         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11404         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11405
11406 2002-01-11  Mark Wielaard  <mark@klomp.org>
11407
11408         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11409         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11410         InetAddress.
11411         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11412         * java/net/Socket.java: Merge with Classpath.
11413         * java/net/ServerSocket.java: Likewise.
11414
11415 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11416
11417         * interpret.cc (NULLARRAYCHECK): New macro.
11418         (SAVE_PC): Just store `pc'.
11419         (find_exception): Subtract one from `pc' here.
11420         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11421         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11422         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11423         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11424         don't call SAVE_PC.
11425         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11426         call SAVE_PC.
11427
11428 2002-01-11  Tom Tromey  <tromey@redhat.com>
11429
11430         * java/lang/natSystem.cc (init_properties): Only look for default
11431         locale if LC_MESSAGES is defined.
11432         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11433         * configure.in: Call AM_LC_MESSAGES.
11434         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11435
11436 2002-01-10  Tom Tromey  <tromey@redhat.com>
11437
11438         For PR libgcj/5303:
11439         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11440         --version.  Recognize GNU-style long options.  Print GNU-style
11441         error messages.
11442         (usage): Print GNU-style help.  Exit with status 0.
11443         (error): New method.
11444         (run): Print error message if no class names found.
11445         (main): Don't print usage on error.
11446
11447 2002-01-09  Tom Tromey  <tromey@redhat.com>
11448
11449         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11450         property.
11451         (help, version): Use println(), not println("").
11452
11453         For PR libgcj/5303:
11454         * gnu/gcj/convert/Convert.java (error): Program is called
11455         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11456         -1.
11457         (main): Handle --help and --version.
11458         (help): New method.
11459         (version): Likewise.
11460
11461 2002-01-08  Tom Tromey  <tromey@redhat.com>
11462
11463         * Makefile.in: Rebuilt.
11464         * Makefile.am (ordinary_java_source_files): Added new files.
11465         * gnu/java/locale/LocaleInformation.java: Extend
11466         LocaleInformation_en.
11467         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11468         and time/date formats.
11469         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11470         generated.
11471         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11472         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11473         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11474         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11475         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11476         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11477         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11478         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11479         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11480         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11481         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11482         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11483         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11484         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11485         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11486         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11487         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11488         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11489         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11490         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11491         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11492         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11493         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11494         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11495         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11496         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11497         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11498         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11499         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11500         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11501         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11502         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11503         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11504         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11505         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11506         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11507         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11508         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11509         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11510         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11511         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11512         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11513         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11514         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11515         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11516         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11517         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11518         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11519         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11520         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11521         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11522         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11523         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11524         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11525         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11526         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11527         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11528         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11529         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11530         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11531         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11532         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11533         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11534         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11535         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11536         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11537         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11538         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11539         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11540         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11541         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11542         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11543         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11544         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11545         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11546         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11547         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11548         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11549         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11550         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11551         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11552         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11553         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11554         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11555         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11556         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11557         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11558         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11559         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11560         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11561         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11562         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11563         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11564         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11565         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11566         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11567         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11568         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11569         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11570         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11571         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11572         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11573         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11574         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11575         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11576         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11577         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11578         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11579         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11580         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11581         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11582         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11583         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11584         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11585         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11586         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11587         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11588         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11589         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11590         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11591         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11592         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11593         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11594         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11595         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11596         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11597         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11598         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11599         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11600         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11601
11602         For PR libgcj/5031:
11603         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11604         choose default locale.
11605
11606         * Makefile.in: Rebuilt.
11607         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11608
11609 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11610
11611         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11612         sockets.
11613         (close): New function closes the socket.
11614         (write): New functions for output to socket.
11615         (read): New functions for reading from socket.
11616         * java/net/PlainSocketImpl.java: Glue for new timeout
11617         implementation.
11618         (write): Call the native impl.
11619         (read): Likewise.
11620         (getInputStream): Get a stream to read from the socket.
11621         (getOutputStream): Get a stream to write to the socket.
11622
11623 2002-01-08  Tom Tromey  <tromey@redhat.com>
11624
11625         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11626
11627 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11628
11629         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11630         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11631
11632 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11633
11634         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11635         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11636         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11637         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11638         insn_bastore, insn_castore, insn_sastore]: Use it.
11639         (continue1) [insn_arraylength]: Check for null array.
11640
11641 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11642
11643         * configure, include/config.h.in: Rebuilt.
11644         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11645         * configure.in: Call AC_STRUCT_TIMEZONE.
11646
11647 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11648
11649         * configure.host: Disable the interpreter for Darwin.
11650
11651 2002-01-04  Tom Tromey  <tromey@redhat.com>
11652
11653         * java/lang/Thread.java (stop): No longer synchronized.
11654         (start): Likewise.
11655
11656 2002-01-02  Tom Tromey  <tromey@redhat.com>
11657
11658         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11659         patch.
11660
11661 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11662
11663         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11664         PPC Darwin, not for all of Darwin.