OSDN Git Service

2003-06-19 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-06-19  Michael Koch  <konqueror@gmx.de>
2
3         * javax/swing/JComponent.java,
4         javax/swing/JInternalFrame.java,
5         javax/swing/MenuSelectionManager.java,
6         javax/swing/SwingUtilities.java,
7         javax/swing/ToggleButtonModel.java:
8         New versions from classpath.
9
10 2003-06-19  Michael Koch  <konqueror@gmx.de>
11
12         * java/text/CollationElementIterator.java
13         (NULLORDER): Initialize with -1 as JDK documentation says.
14
15 2003-06-19  Michael Koch  <konqueror@gmx.de>
16
17         * java/net/HttpURLConnection.java,
18         java/net/Inet4Address.java,
19         java/net/Inet6Address.java,
20         java/net/SocketImpl.java,
21         java/net/URLClassLoader.java:
22         Reworked import statements.
23         * java/net/InetAddress.java
24         (getByAddress): Simplified.
25         * java/net/ServerSocket.java
26         (ServerSocket): Moved special handling during bind operation to
27         bind().
28         (bind): Handle different cases when trying to bind a socket.
29         * java/net/URLConnection.java
30         (getHeaderFieldDate): Merged with classpath.
31         (getHeaderFieldInt): Likewise.
32
33 2003-06-19  Michael Koch  <konqueror@gmx.de>
34
35         * java/util/zip/InflaterInputStream.java
36         (InflaterInputStream): Throw NullPointerException if in is null (as
37         JDK does).
38
39 2003-06-19  Michael Koch  <konqueror@gmx.de>
40
41         * java/awt/Font.java
42         javax/swing/UIManager.java
43         javax/swing/border/AbstractBorder.java
44         javax/swing/border/BevelBorder.java
45         javax/swing/border/Border.java
46         javax/swing/border/CompoundBorder.java
47         javax/swing/border/EmptyBorder.java
48         javax/swing/border/EtchedBorder.java
49         javax/swing/border/LineBorder.java
50         javax/swing/border/MatteBorder.java
51         javax/swing/border/TitledBorder.java
52         javax/swing/plaf/BorderUIResource.java
53         javax/swing/plaf/basic/BasicBorders.java
54         javax/swing/plaf/basic/BasicButtonUI.java
55         javax/swing/plaf/basic/BasicCheckBoxUI.java
56         javax/swing/plaf/basic/BasicGraphicsUtils.java
57         javax/swing/plaf/basic/BasicLabelUI.java
58         javax/swing/plaf/basic/BasicRadioButtonUI.java
59         javax/swing/plaf/basic/BasicToggleButtonUI.java:
60         New versions from classpath.
61         * javax/swing/border/SoftBevelBorder.java:
62         New file from classpath.
63         * javax/swing/border/doc-files/LineBorder-1.png,
64         javax/swing/border/doc-files/BevelBorder-1.png,
65         javax/swing/border/doc-files/BevelBorder-2.png,
66         javax/swing/border/doc-files/BevelBorder-3.png,
67         javax/swing/border/doc-files/EmptyBorder-1.png,
68         javax/swing/border/doc-files/EtchedBorder-1.png,
69         javax/swing/border/doc-files/EtchedBorder-2.png,
70         javax/swing/border/doc-files/MatteBorder-1.png,
71         javax/swing/border/doc-files/MatteBorder-2.png,
72         javax/swing/border/doc-files/MatteBorder-3.png,
73         javax/swing/border/doc-files/MatteBorder-4.png,
74         javax/swing/border/doc-files/MatteBorder-5.png,
75         javax/swing/border/doc-files/MatteBorder-6.png,
76         javax/swing/border/doc-files/SoftBevelBorder-1.png,
77         javax/swing/border/doc-files/SoftBevelBorder-2.png,
78         javax/swing/border/doc-files/SoftBevelBorder-3.png,
79         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
80         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
81         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
82         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
83         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
84         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
85         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
86         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
87         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
88         New binary files from classpath.
89         * Makefile.am
90         (awt_java_source_files): Added
91         javax/swing/border/SoftBevelBorder.java.
92         * Makefile.in: Regenerated.
93
94 2003-06-19  Michael Koch  <konqueror@gmx.de>
95
96         * gnu/java/security/x509/X509Certificate.java
97         (writeReplace): Merged from classpath.
98
99 2003-06-19  Michael Koch  <konqueror@gmx.de>
100
101         * gnu/java/nio/FileChannelImpl.java
102         (map_address): Made public.
103         (FileChannelImpl): Merged with classpath.
104         * gnu/java/nio/natFileChannelImpl.cc
105         (nio_mmap_file): Commented out unused arguments.
106         (nio_unmmap_file): Likewise.
107         (niu_msync): Likewise.
108
109 2003-06-19  Michael Koch  <konqueror@gmx.de>
110
111         * java/awt/image/IndexColorModel.java:
112         New version from classpath.
113
114 2003-06-18  Tom Tromey  <tromey@redhat.com>
115
116         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
117         on arrays.
118         (isLoopbackAddress): Likewise.
119         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
120         on arrays.
121
122 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
123
124         * java/lang/natVMSecurityManager.cc (getClassContext):
125         Use maxlen instead of len for loop bound.
126
127 2003-06-18  Michael Koch  <konqueror@gmx.de>
128
129         * gnu/java/nio/SelectorImpl.java
130         (register): Use fd with value 0 for now, will be fixed later.
131         * gnu/java/nio/ServerSocketChannelImpl.java
132         (fd): Removed.
133         (local_port): Removed.
134         (InetSocketAddress): Removed.
135         (ServerSocketChannelImpl): Just initialize internal socket object.
136         (implCloseSelectableChannel): Close internal socket object.
137         (implConfigureBlocking): Added comment.
138         (accept): Use jaba.net stuff to accept socket.
139         * gnu/java/nio/SocketChannelImpl.java
140         (fd): Removed.
141         (local_port): Removed.
142         (InetSocketAddress): Removed.
143         (SocketCreate): Removed.
144         (SocketConnect): Removed.
145         (SocketBind): Removed.
146         (SocketListen): Removed.
147         (SocketAvailable): Removed.
148         (SocketClose): Removed.
149         (SocketRead): Removed.
150         (SocketWrite): Removed.
151         (SocketChannelImpl): Just initialize internal socket object.
152         (implCloseSelectableChannel): Close internal socket object.
153         (implConfigureBlocking): Fixed implementation, added comment.
154         (connect): Use internal socket object to connect.
155         (socket): No need for sanity checks.
156         (read): Comment out some stuff, this will be reimplemented in the next
157         commit.
158         (write): Likewise.
159         * gnu/java/nio/natFileChannelImpl.cc
160         (nio_mmap_file): Line wrapped.
161         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
162         * Makefile.am
163         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
164         * Makefile.in: Regenerated.
165
166 2003-06-18  Michael Koch  <konqueror@gmx.de>
167
168         * java/util/Locale.java
169         (equals): Merged from classpath.
170
171 2003-06-18  Michael Koch  <konqueror@gmx.de>
172
173         * java/net/InetAddress.java:
174         Reformatted to better match classpath's version.
175         * java/net/URL.java
176         (equals): Simplified.
177         * java/net/URLConnection.java
178         (setDoInput): Revised documentation.
179         (getDefaultUseCaches): Likewise.
180         (setRequestProperty): Added @since tag.
181
182 2003-06-17  Michael Koch  <konqueror@gmx.de>
183
184         * java/net/InetSocketAddress.java
185         (InetSocketAddress): Use wildcard address if addr is null.
186         (InetSocketAddress): Dont duplicate implementation.
187         (InetSocketAddress): Throw exception when hostname is null.
188         * java/net/Socket.java:
189         Reworked imports.
190         (Socket): Throw exception when raddr is null, handle case when laddr
191         is null.
192
193 2003-06-17  Michael Koch  <konqueror@gmx.de>
194
195         * java/nio/DirectByteBufferImpl.java
196         (address): Made package private.
197         (DirectByteBufferImpl): New constructor.
198         * java/nio/natDirectByteBufferImpl.cc
199         (allocateImpl): Moved to java.nio namespace, implemented.
200         (freeImpl): Likewise.
201         (getImpl): Likewise.
202         (putImpl): Likewise.
203         * jni.cc
204         (_Jv_JNI_NewDirectByteBuffer): Implemented.
205         (_Jv_JNI_GetDirectBufferAddress): Implemented.
206         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
207
208 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
209
210         * include/powerpc-signal.h: New File.
211         * configure.in: Use it.
212         * configure: Regenerated.
213
214 2003-06-17  Michael Koch  <konqueror@gmx.de>
215
216         * java/util/Locale.java
217         (getDisplayLanguage): Made it final.
218         (getDisplayCountry): Likewise.
219         (getDisplayVariant): Likewise.
220         (getDisplayName): Likewise.
221
222 2003-06-17  Michael Koch  <konqueror@gmx.de>
223
224         * java/util/PropertyResourceBundle.java:
225         Removed unneeded import.
226
227 2003-06-17  Michael Koch  <konqueror@gmx.de>
228
229         * java/util/prefs/AbstractPreferences.java,
230         java/util/prefs/PreferencesFactory.java:
231         Reworked imports, removed unused imports.
232         * java/util/prefs/Preferences.java
233         (systemNodeForPackage): Method takes a Class not an Object.
234         (userNodeForPackage): Likewise.
235         (nodeForPackage): Likewise.
236
237 2003-06-17  Michael Koch  <konqueror@gmx.de>
238
239         * gnu/java/security/x509/X509Certificate.java:
240         Explicitely import used classes.
241
242 2003-06-17  Michael Koch  <konqueror@gmx.de>
243
244         * java/util/zip/ZipEntry.java,
245         java/util/zip/ZipFile.java,
246         java/util/zip/ZipInputStream.java,
247         java/util/zip/ZipOutputStream.java:
248         Reworked imports, only import used classes.
249
250 2003-06-17  Michael Koch  <konqueror@gmx.de>
251
252         * gnu/java/lang/ArrayHelper.java,
253         gnu/java/lang/ClassHelper.java:
254         Reformatted to match classpath's versions.
255
256 2003-06-14  Michael Koch  <konqueror@gmx.de>
257
258         * gnu/java/nio/FileChannelImpl.java
259         (map_address): Removed incorrect comment.        
260         * gnu/java/nio/SelectorImpl.java
261         (register): Remove code duplication and code for file channel handling.        
262         * gnu/java/nio/ServerSocketChannelImpl.java
263         (serverSocket): Renamed from sock_object.
264         (ServerSocketChannel): Initialize serverSocket.
265         (socket): Return serverSocket.
266         * gnu/java/nio/SocketChannelImpl.java
267         (socket): Renamed from sock_object.
268         (isConnectionPenging): Simplified.
269         (socket): Return socket.
270 2003-06-14  Michael Koch  <konqueror@gmx.de>
271
272         * java/security/BasicPermission.java:
273         New version from classpath.
274
275 2003-06-14  Michael Koch  <konqueror@gmx.de>
276
277         * javax/naming/directory/Attribute.java:
278         New version from classpath.
279
280 2003-06-14  Michael Koch  <konqueror@gmx.de>
281
282         * java/io/BufferedReader.java,
283         java/io/FileOutputStream.java:
284         New versions from classpath.
285
286 2003-06-12  Andrew Haley  <aph@redhat.com>
287
288         * prims.cc (catch_segv): Create exception in handler.
289         (catch_fpe): Likewise.  
290         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
291         (_Jv_ThrowSignal): Remove.
292
293         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
294         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
295         to nullp and arithexception.
296         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
297         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
298         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
299         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
300         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
301
302 2003-06-11  Andrew Haley  <aph@redhat.com>
303
304         * jni.cc (_Jv_JNI_check_types): New.
305         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
306         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
307         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
308         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
309         
310         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
311         infinite loop.
312
313 2003-06-11  Tom Tromey  <tromey@redhat.com>
314
315         * java/lang/ClassLoader.java (loadClass): Not deprecated.
316         * java/io/PrintStream.java: Not deprecated.
317
318 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
319
320         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
321         (fillOval): implemented
322         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
323         (fillArc): implemented.
324         * gnu/gcj/xlib/GC.java (drawArc): added native method.
325         (fillArc): added native method.
326         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
327         (fillArc): added native method.
328
329 2003-06-11  Michael Koch  <konqueror@gmx.de>
330
331         * java/awt/im/InputSubset.java:
332         New version from classpath.
333
334 2003-06-11  Michael Koch  <konqueror@gmx.de>
335
336         * javax/swing/AbstractAction.java,
337         javax/swing/AbstractButton.java,
338         javax/swing/AbstractCellEditor.java,
339         javax/swing/AbstractListModel.java,
340         javax/swing/BorderFactory.java,
341         javax/swing/Box.java,
342         javax/swing/BoxLayout.java,
343         javax/swing/ButtonGroup.java,
344         javax/swing/DefaultButtonModel.java,
345         javax/swing/DefaultListModel.java,
346         javax/swing/DefaultListSelectionModel.java,
347         javax/swing/FocusManager.java,
348         javax/swing/ImageIcon.java,
349         javax/swing/InputMap.java,
350         javax/swing/JApplet.java,
351         javax/swing/JButton.java,
352         javax/swing/JCheckBox.java,
353         javax/swing/JCheckBoxMenuItem.java,
354         javax/swing/JColorChooser.java,
355         javax/swing/JComboBox.java,
356         javax/swing/JComponent.java,
357         javax/swing/JDesktopPane.java,
358         javax/swing/JDialog.java,
359         javax/swing/JEditorPane.java,
360         javax/swing/JFileChooser.java,
361         javax/swing/JFormattedTextField.java,
362         javax/swing/JFrame.java,
363         javax/swing/JLabel.java,
364         javax/swing/JLayeredPane.java,
365         javax/swing/JList.java,
366         javax/swing/JMenuBar.java,
367         javax/swing/JMenuItem.java,
368         javax/swing/JOptionPane.java,
369         javax/swing/JPanel.java,
370         javax/swing/JPasswordField.java,
371         javax/swing/JPopupMenu.java,
372         javax/swing/JProgressBar.java,
373         javax/swing/JRadioButton.java,
374         javax/swing/JRadioButtonMenuItem.java,
375         javax/swing/JRootPane.java,
376         javax/swing/JScrollBar.java,
377         javax/swing/JScrollPane.java,
378         javax/swing/JSeparator.java,
379         javax/swing/JSlider.java,
380         javax/swing/JTabbedPane.java,
381         javax/swing/JTable.java,
382         javax/swing/JTextField.java,
383         javax/swing/JToggleButton.java,
384         javax/swing/JToolBar.java,
385         javax/swing/JToolTip.java,
386         javax/swing/JTree.java,
387         javax/swing/JViewport.java,
388         javax/swing/JWindow.java,
389         javax/swing/KeyStroke.java,
390         javax/swing/ListSelectionModel.java,
391         javax/swing/LookAndFeel.java,
392         javax/swing/RepaintManager.java,
393         javax/swing/ScrollPaneLayout.java,
394         javax/swing/SizeRequirements.java,
395         javax/swing/SwingConstants.java,
396         javax/swing/Timer.java,
397         javax/swing/UIDefaults.java,
398         javax/swing/UIManager.java,
399         javax/swing/border/AbstractBorder.java,
400         javax/swing/border/CompoundBorder.java,
401         javax/swing/colorchooser/AbstractColorChooserPanel.java,
402         javax/swing/colorchooser/ColorChooserComponentFactory.java,
403         javax/swing/colorchooser/ColorSelectionModel.java,
404         javax/swing/colorchooser/DefaultColorSelectionModel.java,
405         javax/swing/event/AncestorEvent.java,
406         javax/swing/event/HyperlinkEvent.java,
407         javax/swing/event/InternalFrameAdapter.java,
408         javax/swing/event/InternalFrameEvent.java,
409         javax/swing/event/ListDataEvent.java,
410         javax/swing/event/MouseInputAdapter.java,
411         javax/swing/event/SwingPropertyChangeSupport.java,
412         javax/swing/event/TableModelEvent.java,
413         javax/swing/event/TreeWillExpandListener.java,
414         javax/swing/event/UndoableEditEvent.java,
415         javax/swing/filechooser/FileFilter.java,
416         javax/swing/filechooser/FileSystemView.java,
417         javax/swing/filechooser/FileView.java,
418         javax/swing/plaf/BorderUIResource.java,
419         javax/swing/plaf/basic/BasicDefaults.java,
420         javax/swing/table/AbstractTableModel.java,
421         javax/swing/table/DefaultTableCellRenderer.java,
422         javax/swing/table/DefaultTableColumnModel.java,
423         javax/swing/table/DefaultTableModel.java,
424         javax/swing/table/TableColumn.java,
425         javax/swing/text/JTextComponent.java,
426         javax/swing/tree/AbstractLayoutCache.java,
427         javax/swing/tree/DefaultMutableTreeNode.java,
428         javax/swing/tree/DefaultTreeCellEditor.java,
429         javax/swing/tree/DefaultTreeCellRenderer.java,
430         javax/swing/tree/DefaultTreeModel.java,
431         javax/swing/tree/DefaultTreeSelectionModel.java,
432         javax/swing/tree/FixedHeightLayoutCache.java,
433         javax/swing/tree/TreeCellEditor.java,
434         javax/swing/tree/TreeModel.java,
435         javax/swing/tree/TreeNode.java,
436         javax/swing/tree/TreePath.java,
437         javax/swing/tree/TreeSelectionModel.java,
438         javax/swing/tree/VariableHeightLayoutCache.java,
439         javax/swing/undo/AbstractUndoableEdit.java,
440         javax/swing/undo/CompoundEdit.java,
441         javax/swing/undo/StateEdit.java,
442         javax/swing/undo/UndoManager.java,
443         javax/swing/undo/UndoableEditSupport.java:
444         New versions from classpath.
445         * javax/swing/table/JTableHeader.java:
446         New file from classpath.
447         * Makefile.am
448         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
449         * Makefile.in: Regenerated.
450
451 2003-06-11  Michael Koch  <konqueror@gmx.de>
452
453         * java/nio/MappedByteBuffer.java,
454         java/nio/channels/Channels.java,
455         java/nio/channels/ServerSocketChannel.java,
456         java/nio/channels/spi/AbstractSelector.java:
457         Removed unneeded imports.
458
459 2003-06-11  Michael Koch  <konqueror@gmx.de>
460
461         * java/net/DatagramSocket.java:
462         Partly merged with classpath.
463
464 2003-06-11  Michael Koch  <konqueror@gmx.de>
465
466         * java/awt/Frame.java,
467         java/awt/Graphics.java,
468         java/awt/Menu.java,
469         java/awt/Robot.java,
470         java/awt/image/ColorModel.java:
471         New versions from classpath.
472
473 2003-06-10  Michael Koch  <konqueror@gmx.de>
474
475         * java/io/PrintStream.java:
476         Merged version from classpath.
477         (close): Removed sychronized keyword. This class is not garantied to
478         be thread-safe.
479         (write): Likewise.
480
481 2003-06-09  Tom Tromey  <tromey@redhat.com>
482
483         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
484         field.
485         (getDescent): Likewise, for "descent".
486
487 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
488
489         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
490         (getMaxDescent): adjusted return value.
491         (getAscent): modified to use metrics for 'O'.
492         (getDescent): modified to use metrics for 'y'.
493
494 2003-06-08  Anthony Green  <green@redhat.com>
495
496         * java/net/URLStreamHandler.java (sameFile): Fix port value
497         comparison.
498         * java/net/URL.java (handler): Make package private.
499         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
500
501 2003-06-07  Tom Tromey  <tromey@redhat.com>
502
503         For PR libgcj/11085:
504         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
505         Limit number of characters in numeric field when required.
506         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
507         Respect maximumIntegerDigits.
508
509 2003-06-08  Michael Koch  <konqueror@gmx.de>
510
511         * java/net/Socket.java
512         (Socket): Dont initialize inputShutdown and outputShutdown twice,
513         call bind() and connect() to actually do the bind and connect tasks.
514         (bind): Connect to canonical address if bindpoint is null, create
515         socket and bind it to bindpoint.
516         (connect): Check for exceptions.
517
518 2003-06-08  Michael Koch  <konqueror@gmx.de>
519
520         * java/net/DatagramSocket.java
521         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
522         into the Multicast constructors.
523         * java/net/DatagramSocketImpl.java
524         (getOption): Removed.
525         (setOption): Removed.
526         * java/net/MulticastSocket.java
527         (MulticastSocket): Call setReuseAddress (true).
528         * java/net/SocketImpl.java
529         (getOption): Removed.
530         (setOption): Removed.
531
532 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
533
534         PR libgcj/10886:
535         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
536         Test for empty vector.
537
538 2003-06-06  Mark Wielaard  <mark@klomp.org>
539
540         * java/security/Security.java (secprops): Initialize.
541         (loadProviders): Return boolean.
542         (static): Check result of loadProvider calls. If necessary
543         display WARNING and fallback to Gnu provider.
544
545 2002-06-06  James Clark  <jjc@jclark.com>
546
547         Fix for PR libgcj/8738:
548         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
549         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
550         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
551         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
552         (write): Always decrease avail when count is increased.
553         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
554         and whether output buffer is full before increasing size.
555
556 2002-06-06  Mark Wielaard  <mark@klomp dot org>
557
558         * java/io/PrintStream.java (writeChars(char[],int, int)):
559         Check converter.havePendingBytes().
560         (writeChars(String,int,int)): Likewise.
561         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
562         Check converter.havePendingBytes() and flush buffer when stalled.
563
564 2003-06-07  Michael Koch  <konqueror@gmx.de>
565
566         * include/posix.h
567         (O_DSYNC): Define O_DSYNC on platforms not
568         supporting O_FSYNC (newlib).
569
570 2003-06-06  Mark Wielaard  <mark@klomp.org>
571
572         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
573         AWTError.
574
575 2003-06-06  Michael Koch  <konqueror@gmx.de>
576
577         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
578         More compile fixes from my stupid work yesterday.
579
580 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
581
582         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
583         if _IEEE_LIBM is undefined.
584
585 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
586
587         * libjava/include/posix.h (O_SYNC): Define if not available
588         and a reasonable, perhaps more conservative, replacement exists.
589         (O_DSYNC): Likewise.
590         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
591
592 2003-06-05  Michael Koch  <konqueror@gmx.de>
593
594         * javax/swing/plaf/BorderUIResource.java,
595         javax/swing/plaf/basic/BasicDefaults.java,
596         javax/swing/plaf/basic/BasicOptionPaneUI.java:
597         More compile fixes for latest Border commit. I should not commit
598         something in this heat here ...
599
600 2003-06-05  Michael Koch  <konqueror@gmx.de>
601
602         * javax/swing/border/BevelBorder.java
603         (BevelBorder): Removed.
604         * javax/swing/border/EmptyBorder.java:
605         Reformatted.
606         (EmptyBorder): Removed.
607         (getBorderInsets): Dont use l, r, t and b.
608         * javax/swing/border/EtchedBorder.java
609         (EtchedBorder): Removed.
610         * javax/swing/border/LineBorder.java
611         (LineBorder): Removed.
612         * javax/swing/border/MatteBorder.java
613         (MatteBorder): Removed.
614         * javax/swing/border/TitledBorder.java
615         (defaultBorder): Use other default for now.
616         (defaultFont): Likewise.
617         (defaultColor): Likewise.
618
619 2003-06-05  Michael Koch  <konqueror@gmx.de>
620
621         * javax/swing/border/Border.java:
622         New version from classpath.
623
624 2003-06-05  Michael Koch  <konqueror@gmx.de>
625
626         * javax/swing/border/AbstractBorder.java,
627         javax/swing/border/BevelBorder.java,
628         javax/swing/border/CompoundBorder.java,
629         javax/swing/border/EmptyBorder.java,
630         javax/swing/border/EtchedBorder.java,
631         javax/swing/border/LineBorder.java,
632         javax/swing/border/MatteBorder.java,
633         javax/swing/border/TitledBorder.java:
634         New versions from Classpath.
635
636 2003-06-05  Michael Koch  <konqueror@gmx.de>
637
638         * java/awt/Button.java,
639         java/awt/Checkbox.java,
640         java/awt/CheckboxMenuItem.java,
641         java/awt/Choice.java,
642         java/awt/Container.java,
643         java/awt/Dialog.java,
644         java/awt/EventQueue.java,
645         java/awt/FileDialog.java,
646         java/awt/Frame.java,
647         java/awt/Label.java,
648         java/awt/List.java,
649         java/awt/Menu.java,
650         java/awt/MenuItem.java,
651         java/awt/Panel.java,
652         java/awt/PopupMenu.java,
653         java/awt/Rectangle.java,
654         java/awt/ScrollPane.java,
655         java/awt/Scrollbar.java,
656         java/awt/TextArea.java,
657         java/awt/TextField.java,
658         java/awt/Window.java,
659         java/awt/datatransfer/DataFlavor.java,
660         java/awt/dnd/DragSource.java,
661         java/awt/dnd/DragSourceContext.java,
662         java/awt/event/HierarchyEvent.java,
663         java/awt/event/MouseWheelEvent.java,
664         java/awt/im/InputContext.java,
665         java/awt/image/BufferedImage.java,
666         java/awt/image/ComponentColorModel.java,
667         java/awt/image/Raster.java,
668         java/awt/image/WritableRaster.java,
669         java/awt/peer/ComponentPeer.java,
670         java/awt/print/PageFormat.java,
671         java/awt/print/PrinterJob.java:
672         New versions from Classpath.
673
674 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
675
676         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
677         numberFormat.setParseIntegerOnly(true).
678
679 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
680
681         * include/posix-threads.h: Include <machine/pal.h> on OSF.
682
683 2003-06-03  Andrew Haley  <aph@redhat.com>
684
685         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
686         stack volatile to prevent optimization from removing it.
687
688 2003-05-27  Michael Koch  <konqueror@gmx.de>
689
690         * java/util/zip/Deflater.java
691         (FILTERED): Merged documentation from classpath.
692         * java/util/zip/DeflaterOutputStream.java
693         (DeflaterOutputStream): Merged documentation and argument validity
694         check from classpath.
695         (deflate): Merged documentation from classpath.
696         (finish): Likewise.
697         * java/util/zip/Inflater.java
698         (Inflater): Merged class documentation from classpath.
699         (zstream): Reordered.
700         (is_finished): Reordered.
701         (dict_needed): Reordered.
702         (Inflater): Reordered, merged documentation from classpath.
703         (end): Likewise.
704         (finalize): Merged documentation from classpath.
705         (finished): Likewise.
706         (getAdler): Likewise.
707         (getRemaining): Likewise.
708         (getTotalIn): Likewise.
709         (getTotalOut): Likewise.
710         (inflate): Likewise.
711         (needsDictionary): Likewise.
712         (needsInput): Likewise.
713         (reset): Likewise.
714         (setDictionary): Likewise.
715         (setInput): Likewise.
716
717 2003-05-27  Michael Koch  <konqueror@gmx.de>
718
719         * java/net/URLConnection.java
720         (getHeaderFieldInt): Merged with classpath.
721
722 2003-05-27  Michael Koch  <konqueror@gmx.de>
723
724         * java/io/PrintStream.java
725         (PrintStream): Reformatted.
726         (PrintStream): New method, merged from classpath.
727         (write): Reformatted.
728
729 2003-05-27  Michael Koch  <konqueror@gmx.de>
730
731         * java/lang/System.java:
732         Explicitely import needed classes.
733
734 2003-05-26  Michael Koch  <konqueror@gmx.de>
735
736         * java/net/NetPermission.java,
737         java/net/NetworkInterface.java,
738         java/net/PasswordAuthentication.java,
739         java/net/SocketPermission.java:
740         New versions from classpath.
741
742 2003-05-25  Michael Koch  <konqueror@gmx.de>
743
744         * java/io/PushbackInputStream.java,
745         java/net/Authenticator.java,
746         java/net/ContentHandler.java,
747         java/net/ContentHandlerFactory.java,
748         java/net/DatagramSocket.java,
749         java/net/DatagramSocketImpl.java,
750         java/net/DatagramSocketImplFactory.java,
751         java/net/FileNameMap.java,
752         java/net/SocketImplFactory.java,
753         java/net/SocketOptions.java,
754         java/net/URLStreamHandlerFactory.java:
755         Merged new versions from classpath.
756
757 2003-05-25  Michael Koch  <konqueror@gmx.de>
758
759         * java/awt/Checkbox.java,
760         java/awt/Dialog.java,
761         java/awt/Font.java,
762         java/awt/Frame.java,
763         java/awt/ScrollPaneAdjustable.java,
764         java/awt/Scrollbar.java,
765         java/awt/Window.java:
766         New versions from classpath.
767
768 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
769
770         PR libgcj/10838:
771         * java/io/ObjectInputStream (enableResolveObject):
772         Fixed spelling of permission name.
773
774 2003-05-20  Michael Koch  <konqueror@gmx.de>
775
776         * java/io/DataInputStream.java
777         (convertFromUTF): Merged comment from classpath.
778         * java/io/PrintStream.java
779         (error_occured): Renamed from error, merged comment from classpath.
780         (PrintStream): No need to initialized error.
781         (checkError): Replace error with error_occurred.
782         (setError): Likewise.
783
784 2003-05-20  Michael Koch  <konqueror@gmx.de>
785
786         * java/io/DataInputStream.java:
787         Reformatted, Replaced < and & with html entitites in documentation.
788         * java/io/File.java:
789         Reformatted.
790         * java/io/PrintWriter.java:
791         Moved class documentation.
792
793 2003-05-20  Michael Koch  <konqueror@gmx.de>
794
795         * gnu/java/nio/ByteBufferImpl.java,
796         gnu/java/nio/CharBufferImpl.java,
797         gnu/java/nio/CharViewBufferImpl.java,
798         gnu/java/nio/DirectByteBufferImpl.java,
799         gnu/java/nio/DoubleBufferImpl.java,
800         gnu/java/nio/DoubleViewBufferImpl.java,
801         gnu/java/nio/FloatBufferImpl.java,
802         gnu/java/nio/FloatViewBufferImpl.java,
803         gnu/java/nio/IntBufferImpl.java,
804         gnu/java/nio/IntViewBufferImpl.java,
805         gnu/java/nio/LongBufferImpl.java,
806         gnu/java/nio/LongViewBufferImpl.java,
807         gnu/java/nio/natDirectByteBufferImpl.cc,
808         gnu/java/nio/ShortBufferImpl.java,
809         gnu/java/nio/ShortViewBufferImpl.java:
810         Moved files to java/nio.
811         * gnu/java/nio/SocketChannelImpl.java
812         
813         * java/nio/ByteBuffer.java,
814         java/nio/CharBuffer.java,
815         java/nio/DoubleBuffer.java,
816         java/nio/FloatBuffer.java,
817         java/nio/IntBuffer.java,
818         java/nio/LongBuffer.java,
819         java/nio/ShortBuffer.java:
820         Dont import anything.
821         * java/nio/ByteBufferImpl.java,
822         java/nio/CharBufferImpl.java,
823         java/nio/CharViewBufferImpl.java,
824         java/nio/DirectByteBufferImpl.java,
825         java/nio/DoubleBufferImpl.java,
826         java/nio/DoubleViewBufferImpl.java,
827         java/nio/FloatBufferImpl.java,
828         java/nio/FloatViewBufferImpl.java,
829         java/nio/IntBufferImpl.java,
830         java/nio/IntViewBufferImpl.java,
831         java/nio/LongBufferImpl.java,
832         java/nio/LongViewBufferImpl.java,
833         java/nio/natDirectByteBufferImpl.cc,
834         java/nio/ShortBufferImpl.java,
835         java/nio/ShortViewBufferImpl.java:
836         Moved from gnu/java/nio.
837         * Makefile.am
838         (ordinary_java_source_files): Moved files from gnu/java/nio to
839         java/nio.
840         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
841         to java/nio.
842         * Makefile.in: Regenerated.
843
844 2003-05-19  Michael Koch  <konqueror@gmx.de>
845
846         * java/util/Calendar.java
847         (get): Not final anymore since JDK 1.4
848         (set): Likewise.
849
850 2003-05-19  Michael Koch  <konqueror@gmx.de>
851
852         * java/text/CollationKey.java:
853         Merged copyright and dat from classpath.
854         * java/text/RuleBasedCollator.java:
855         Merged class documentation from classpath.
856
857 2003-05-19  Michael Koch  <konqueror@gmx.de>
858
859         * java/nio/CharBuffer.java
860         (toString): Compile fix.
861
862 2003-05-19  Michael Koch  <konqueror@gmx.de>
863
864         * gnu/java/nio/ByteBufferImpl.java
865         (putLong): Fixed conversion to bytes.
866         (putDouble): Fixed conversion to bytes.
867         * gnu/java/nio/DirectByteBufferImpl.java
868         (putLong): Fixed conversion to bytes.
869         (putDouble): Fixed conversion to bytes.
870         * gnu/java/nio/FileLockImpl.java
871         (isValid): Reformatted.
872         * java/nio/Buffer.java
873         (Buffer): Fixed off-by-one bug in handling mark.
874         * java/nio/ByteBuffer.java:
875         Added newline.
876         * java/nio/CharBuffer.java
877         (toString): Don't use relative get to get string data.
878
879 2003-05-16  Michael Koch  <konqueror@gmx.de>
880
881         * java/io/natFileDescriptorPosix.cc
882         (open): Commented out the O_SYNC and O_DSYNC usage until its better
883         tested.
884
885 2003-05-14  Michael Koch  <konqueror@gmx.de>
886
887         * gnu/java/nio/FileLockImpl.java
888         (released): New member variable.
889         (FileLockImpl): Initialize released.
890         (releaseImpl): New native method.
891         (release): Implemented.
892         * gnu/java/nio/SelectorImpl.java: Reformatted.
893         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
894         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
895         (accept): Throws IOException.
896         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
897         (implConfigureBlocking): Throws IOException.
898         (connect): Likewise.
899         (read): Likewise.
900         (write): Likewise.
901         * gnu/java/nio/natFileLockImpl.cc: New file.
902         * java/nio/channels/FileLock.java: Reformatted.
903         * Makefile.am:
904         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
905         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
906         * Makefile.in: Regenerated.
907
908 2003-05-13  Michael Koch  <konqueror@gmx.de>
909
910         * gnu/java/nio/CharViewBufferImpl.java
911         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
912         (get): Shift bits to the right direction.
913         (put): Likewise.
914         * gnu/java/nio/DoubleViewBufferImpl.java
915         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
916         (get): Shift bits to the right direction.
917         (put): Likewise.
918         * gnu/java/nio/FloatViewBufferImpl.java
919         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
920         (get): Shift bits to the right direction.
921         (put): Likewise.
922         * gnu/java/nio/IntViewBufferImpl.java
923         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
924         (get): Shift bits to the right direction.
925         (put): Likewise.
926         * gnu/java/nio/LongViewBufferImpl.java
927         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
928         (get): Shift bits to the right direction.
929         (put): Likewise.
930         * gnu/java/nio/ShortViewBufferImpl.java
931         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
932         (get): Shift bits to the right direction.
933         (put): Likewise.
934
935 2003-05-13  Michael Koch  <konqueror@gmx.de>
936
937         * gnu/java/nio/natDirectByteBufferImpl.cc
938         (allocateImpl): jlong -> RawData*.
939         (freeImpl): Likewise.
940
941 2003-05-13  Michael Koch  <konqueror@gmx.de>
942
943         * java/nio/channels/FileChannel.java
944         (MapMode.m): Made it package-private to match JDK 1.4.
945         * java/nio/charset/Charset.java
946         (decode): Made it final to match JDK 1.4.
947
948 2003-05-13  Michael Koch  <konqueror@gmx.de>
949
950        * java/io/FileDescriptor.java
951        (SYNC): New constant.
952        (DSYNC): Likewise.
953        (getLength): Renamed from lenght() to match classpath's
954        FileDescriptor.java.
955        * java/io/RandomAccessFile.java
956        (RandomAccessFile): Removed unneeded mode check, implemented mode
957        "rws" and "rwd", merged documentation from classpath.
958        (setLength): Reformatted.
959        (length): Use new getLength() of FileDescriptor.
960        * java/io/natFileDescriptorEcos.cc
961        (getLength): Renamed from length().
962        * java/io/natFileDescriptorPosix.cc
963        (open): Implemented support for SYNC and DSYNC.
964        (seek): Use getLength() instead of length().
965        (getLength): Renamed from length().
966        * java/io/natFileDescriptorWin32.cc
967        (getLength): Renamed from length().
968        (seek): Use getLength() instead of length().
969        (available): Likewise.
970        * gnu/java/nio/natFileChannelImpl.cc
971        (size): Use getLength() instead of length().
972
973 2003-05-13  Michael Koch  <konqueror@gmx.de>
974
975         * gnu/java/nio/ByteBufferImpl.java
976         (ByteBufferImpl): All constructors revised.
977         (slice): Reimplemented.
978         (duplicate): Reimplemented.
979         (asReadOnlyBuffer): Reimplemented.
980         * java/nio/ByteBuffer.java:
981         Reformatted.
982         (array_offset): Renamed from "offset" to match all other buffer
983         classes.
984         (ByteBuffer): All constructors revised.
985         (allocateDirect): Implemented.
986         (allocate): New implementation, documentation reworked.
987         (wrap): Likewise.
988         (get): Documentation reworked.
989         (put): New implementation, documentation reworked.
990         (hasArray): Documentation reworked.
991         (arrayOffset): Likewise.
992         (hashCode): Likewise.
993         (equals): Likewise.
994         (compareTo): Likewise.
995         (order): Likewise.
996         (compact): Likewise.
997         (isDirect): Likewise.
998         (slice): Likewise.
999         (duplicate): Likewise.
1000         (asReadOnlyBuffer): Likewise.
1001         * Makefile.am
1002         (ordinary_java_source_files):
1003         Added gnu/java/nio/DirectByteBufferImpl.java.
1004         (nat_source_files):
1005         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1006         * Makefile.in: Regenerated.
1007
1008 2003-05-12  Michael Koch  <konqueror@gmx.de>
1009
1010         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1011         (nio_get_*): Removed.
1012         (nio_put_*): Removed.
1013         (as*Buffer): Implemented.
1014         (compact): Implemented.
1015         (get): Documentation added.
1016         (put): Documentation added.
1017         (get*): Newly implemented.
1018         (put*): Newly implemented.
1019         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1020         (CharBufferImpl): Revised.
1021         (slice): New implementation.
1022         (duplicate): New implementation.
1023         (compact): New implementation.
1024         (asReadOnlyBuffer): New implementation.
1025         (get): Documentation revised.
1026         (order): Return native byte order.
1027         * gnu/java/nio/DirectByteBufferImpl.java
1028         (allocateDirect): objects can be null not 0.
1029         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1030         (DoubleBufferImpl): Revised.
1031         (slice): New implementation.
1032         (duplicate): New implementation.
1033         (compact): New implementation.
1034         (asReadOnlyBuffer): New implementation.
1035         (get): Documentation revised.
1036         (order): Return native byte order.
1037         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1038         (FloatBufferImpl): Revised.
1039         (slice): New implementation.
1040         (duplicate): New implementation.
1041         (compact): New implementation.
1042         (asReadOnlyBuffer): New implementation.
1043         (get): Documentation revised.
1044         (order): Return native byte order.
1045         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1046         (IntBufferImpl): Revised.
1047         (slice): New implementation.
1048         (duplicate): New implementation.
1049         (compact): New implementation.
1050         (asReadOnlyBuffer): New implementation.
1051         (get): Documentation revised.
1052         (order): Return native byte order.
1053         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1054         (LongBufferImpl): Revised.
1055         (slice): New implementation.
1056         (duplicate): New implementation.
1057         (compact): New implementation.
1058         (asReadOnlyBuffer): New implementation.
1059         (get): Documentation revised.
1060         (order): Return native byte order.
1061         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1062         (ShortBufferImpl): Revised.
1063         (slice): New implementation.
1064         (duplicate): New implementation.
1065         (compact): New implementation.
1066         (asReadOnlyBuffer): New implementation.
1067         (get): Documentation revised.
1068         (order): Return native byte order.
1069         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1070         (CharBuffer): Revised.
1071         (order): Removed.
1072         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1073         (DoubleBuffer): Revised.
1074         (allocateDirect): Removed.
1075         (order): Removed.
1076         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1077         (FloatBuffer): Revised.
1078         (allocateDirect): Removed.
1079         (order): Removed.
1080         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1081         (IntBuffer): Revised.
1082         (allocateDirect): Removed.
1083         (order): Removed.
1084         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1085         (LongBuffer): Revised.
1086         (allocateDirect): Removed.
1087         (order): Removed.
1088         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1089         (ShortBuffer): Revised.
1090         (allocateDirect): Removed.
1091         (order): Removed.
1092         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1093         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1094         * Makefile.am
1095         (ordinary_java_source_files): Added the following files:
1096         gnu/java/nio/CharViewBufferImpl.java,
1097         gnu/java/nio/DoubleViewBufferImpl.java,
1098         gnu/java/nio/FloatViewBufferImpl.java,
1099         gnu/java/nio/IntViewBufferImpl.java,
1100         gnu/java/nio/LongViewBufferImpl.java,
1101         gnu/java/nio/ShortViewBufferImpl.java
1102         (nat_source_files): Removed the following files:
1103         gnu/java/nio/natByteBufferImpl.cc,
1104         gnu/java/nio/natCharBufferImpl.cc
1105         * Makefile.in: Regenerated.
1106
1107 2003-05-12  Michael Koch  <konqueror@gmx.de>
1108
1109         * gnu/java/nio/CharViewBufferImpl.java,
1110         gnu/java/nio/DirectByteBufferImpl.java,
1111         gnu/java/nio/DoubleViewBufferImpl.java,
1112         gnu/java/nio/FloatViewBufferImpl.java,
1113         gnu/java/nio/IntViewBufferImpl.java,
1114         gnu/java/nio/LongViewBufferImpl.java,
1115         gnu/java/nio/ShortViewBufferImpl.java,
1116         gnu/java/nio/natDirectByteBufferImpl.cc:
1117         New files, not yet to be compiled.
1118
1119 2003-05-10  Michael Koch  <konqueror@gmx.de>
1120
1121         * javax/swing/plaf/ButtonUI.java,
1122         javax/swing/plaf/ColorUIResource.java,
1123         javax/swing/plaf/ComponentUI.java,
1124         javax/swing/plaf/DimensionUIResource.java,
1125         javax/swing/plaf/FontUIResource.java,
1126         javax/swing/plaf/IconUIResource.java,
1127         javax/swing/plaf/InsetsUIResource.java,
1128         javax/swing/plaf/LabelUI.java,
1129         javax/swing/plaf/ListUI.java,
1130         javax/swing/plaf/OptionPaneUI.java,
1131         javax/swing/plaf/PanelUI.java,
1132         javax/swing/plaf/TabbedPaneUI.java,
1133         javax/swing/plaf/TextUI.java,
1134         javax/swing/plaf/TreeUI.java,
1135         javax/swing/plaf/ViewportUI.java,
1136         javax/swing/plaf/basic/BasicBorders.java,
1137         javax/swing/plaf/basic/BasicButtonUI.java,
1138         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1139         javax/swing/plaf/basic/BasicDefaults.java,
1140         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1141         javax/swing/plaf/basic/BasicIconFactory.java,
1142         javax/swing/plaf/basic/BasicLabelUI.java,
1143         javax/swing/plaf/basic/BasicListUI.java,
1144         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1145         javax/swing/plaf/basic/BasicPanelUI.java,
1146         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1147         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1148         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1149         javax/swing/plaf/basic/BasicTextUI.java,
1150         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1151         javax/swing/plaf/basic/BasicTreeUI.java,
1152         javax/swing/plaf/basic/BasicViewportUI.java,
1153         javax/swing/plaf/metal/MetalLookAndFeel.java:
1154         New versions from classpath. This adds copyrights to all files and
1155         some serialVersionUIDs.
1156
1157 2003-05-10  Michael Koch  <konqueror@gmx.de>
1158
1159         * java/nio/CharBuffer.java
1160         (offset): Make it package-private.
1161         (backing_buffer): Likewise.
1162         * java/nio/DoubleBuffer.java
1163         (offset): Make it package-private.
1164         (backing_buffer): Likewise.
1165         (put): Reformatted.
1166         * java/nio/FloatBuffer.java
1167         (offset): Make it package-private.
1168         (backing_buffer): Likewise.
1169         * java/nio/IntBuffer.java
1170         (offset): Make it package-private.
1171         (backing_buffer): Likewise.
1172         * java/nio/LongBuffer.java
1173         (offset): Make it package-private.
1174         (backing_buffer): Likewise.
1175         * java/nio/ShortBuffer.java
1176         (offset): Make it package-private.
1177         (backing_buffer): Likewise.
1178
1179 2003-05-10  Michael Koch  <konqueror@gmx.de>
1180
1181         * java/nio/CharBuffer.java
1182         (put): Fixed precondtion check.
1183         (toString): Make it work without backing array.
1184         (put): Skip one level of method calling.
1185
1186 2003-05-10  Michael Koch  <konqueror@gmx.de>
1187
1188         * java/security/Identity.java,
1189         java/security/IdentityScope.java,
1190         java/security/Key.java,
1191         java/security/KeyPair.java,
1192         java/security/PrivateKey.java,
1193         java/security/Provider.java,
1194         java/security/PublicKey.java,
1195         java/security/SecureRandom.java,
1196         java/security/SecureRandomSpi.java,
1197         java/security/SignedObject.java,
1198         java/security/Signer.java,
1199         java/security/cert/Certificate.java,
1200         java/security/cert/PKIXCertPathBuilderResult.java,
1201         java/security/cert/X509Certificate.java:
1202         New versions from classpath.
1203
1204 2003-05-09  Tom Tromey  <tromey@redhat.com>
1205
1206         * Makefile.in: Rebuilt.
1207         * Makefile.am (nat_source_files): Removed old files.
1208         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1209         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1210         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1211         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1212         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1213
1214 2003-05-09  Michael Koch  <konqueror@gmx.de>
1215
1216         * gnu/java/nio/ByteBufferImpl.java
1217         (nio_cast): Removed.
1218         (ByteBufferImpl): Removed.
1219         (nio_get_Byte): Removed.
1220         (nio_put_Byte): Removed.
1221         (asByteBuffer): Removed.
1222         (asCharBuffer): Removed implementation and throw exception.
1223         (asShortBuffer): Likewise.
1224         (asIntBuffer): Likewise.
1225         (asLongBuffer): Likewise.
1226         (asFloatBuffer): Likewise.
1227         (asDoubleBuffer): Likewise.
1228         * gnu/java/nio/CharBufferImpl.java
1229         (CharBufferImpl): Removed.
1230         (nio_get_Byte): Removed.
1231         (nio_put_Byte): Removed.
1232         (asByteBuffer): Removed.
1233         * gnu/java/nio/DoubleBufferImpl.java
1234         (DoubleBufferImpl): Removed.
1235         (nio_get_Byte): Removed.
1236         (nio_put_Byte): Removed.
1237         (asByteBuffer): Removed.
1238         * gnu/java/nio/FloatBufferImpl.java
1239         (FloatBufferImpl): Removed.
1240         (nio_get_Byte): Removed.
1241         (nio_put_Byte): Removed.
1242         (asByteBuffer): Removed.
1243         * gnu/java/nio/IntBufferImpl.java
1244         (IntBufferImpl): Removed.
1245         (nio_get_Byte): Removed.
1246         (nio_put_Byte): Removed.
1247         (asByteBuffer): Removed.
1248         * gnu/java/nio/LongBufferImpl.java
1249         (LongBufferImpl): Removed.
1250         (nio_get_Byte): Removed.
1251         (nio_put_Byte): Removed.
1252         (asByteBuffer): Removed.
1253         * gnu/java/nio/ShortBufferImpl.java
1254         (ShortBufferImpl): Removed.
1255         (nio_get_Byte): Removed.
1256         (nio_put_Byte): Removed.
1257         (asByteBuffer): Removed.
1258         * gnu/java/nio/natByteBufferImpl.cc
1259         (nio_cast): Removed.
1260         (nio_get_Byte): Removed.
1261         (nio_put_Byte): Removed.
1262         * gnu/java/nio/natCharBufferImpl.cc
1263         (nio_get_Byte): Removed.
1264         (nio_put_Byte): Removed.
1265
1266 2003-05-09  Michael Koch  <konqueror@gmx.de>
1267
1268         * java/net/JarURLConnection.java
1269         (getJarEntry): Merged documentation from classpath.
1270         (getJarFile): Likewise.
1271         (getMainAttributes): Likewise.
1272         (getAttributes): Likewise.
1273         (getManifest): Likewise.
1274         (getCertificates): Reformatted.
1275         * java/net/URLConnection.java:
1276         Little classpath merge.
1277
1278 2003-05-09  Michael Koch  <konqueror@gmx.de>
1279
1280         * java/io/DataOutputStream.java
1281         (writeShort): Made it synchronized.
1282         (writeChar): Likewise.
1283         (writeInt): Likewise.
1284         (writeLong): Liekwise.
1285         (writeUTF): Made it synchronized, renamed argument to match classpath.
1286         * java/io/InputStreamReader.java
1287         (converter): Added documentation.
1288         (read): Merged documentation from classpath.
1289         * java/io/OutputStreamWriter.java
1290         (OutputStreamWriter): Merged documentation from classpath.
1291         (close): Reformatted.
1292         (getEncoding): Likewise.
1293         (flush): Likewise.
1294         (write): Merged documentation from classpath, reformatted.
1295
1296 2003-05-08  Tom Tromey  <tromey@redhat.com>
1297
1298         * configure.host <powerpc64*-*>: Set with_libffi_default and
1299         libgcj_interpreter to "yes".
1300
1301 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1302
1303         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1304         
1305 2003-05-06  Tom Tromey  <tromey@redhat.com>
1306
1307         * verify.cc: Reverted previous patch.
1308
1309 2003-05-06  Michael Koch  <konqueror@gmx.de>
1310
1311         * java/io/DataOutputStream.java
1312         (write): Renamed argument to "value", merged documentation from
1313         classpath.
1314         (writeBoolean): Likewise.
1315         (writeByte): Likewise.
1316         (writeShort): Likewise.
1317         (writeChar): Likewise.
1318         (writeInt): Likewise.
1319         (writeLong): Likewise.
1320         (writeFloat): Likewise.
1321         (writeDouble): Likewise.
1322         (writeBytes): Likewise.
1323         (writeChars): Likewise.
1324         (writeUTF): Likewise.
1325         * java/io/File.java
1326         (performDelete): Added documentation.
1327         (performList): Likewise.
1328         (performMkdir): Likewise.
1329         (performSetReadOnly): Likewise.
1330         (performRenameTo): Likewise.
1331         (performSetLastModified): Likewise.
1332         (delete): Made it sychronized.
1333         (renameTo): Made it sychronized.
1334         (equals): Reformatted.
1335         (isHidden): Likewise.
1336         (listFiles): Likewise.
1337         (setReadOnly): Likewise.
1338         (listRoots): Likewise.
1339         (setLastModified): Likewise.
1340         (checkRead): Likewise.
1341         (checkWrite): Likewise.
1342         * java/io/FileInputStream.java
1343         (skip): Made it sychronized, merged from classpath.
1344         * java/io/FileOutputStream.java
1345         (write): Merged from classpath.
1346         * java/io/InputStreamReader.java:
1347         (InputStreamReader): Merged documentation from classpath.
1348
1349 2003-05-05  Michael Koch  <konqueror@gmx.de>
1350
1351         * java/net/NetworkInterface.java
1352         (networkInterfaces): Removed.
1353         (getByName): Use getRealNetworkInterfaces() instead of
1354         networkInterfaces.
1355         (getByInetAddress): Likewise.
1356         (getNetworkInterfaces): Likewise.
1357         (toString): Fix output of addresses of an interface.
1358
1359 2003-05-05  Michael Koch  <konqueror@gmx.de>
1360
1361         * java/io/DataInputStream.java:
1362         Merged new documentation from classpath.
1363
1364 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1365
1366         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1367         "version".
1368         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1369         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1370         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1371         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1372         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1373         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1374         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1375         * java/security/Key.java: Likewise.
1376         * java/security/PrivateKey.java: Likewise.
1377         * java/security/Provider.java: Likewise.
1378         * java/security/PublicKey.java: Likewise.
1379
1380 2003-05-02  Michael Koch  <konqueror@gmx.de>
1381
1382         * java/net/URI.java
1383         (create): Doesnt throws any exceptions.
1384         * java/net/URLConnection.java
1385         (URLConnection): Commend added.
1386         (getExpiration): The header field is called "expires" not
1387         "expiration".
1388         (getHeaderField): Merged documentation with classpath.
1389         (getHeaderFieldInt): Likewise.
1390         (getHeaderFieldDate): Likewise.
1391         (getHeaderFieldKey): Likewise.
1392         (getPermission): Likewise.
1393         (setDefaultUseCaches): Likewise.
1394         (setRequestProperty): Likewise.
1395         (addRequestProperty): Likewise.
1396         (getRequestProperty): Likewise.
1397         (getRequestProperties): Likewise.
1398         (setDefaultRequestProperty): Likewise.
1399         (getDefaultRequestProperty): Likewise.
1400         (guessContentTypeFromStream): Likewise.
1401         (getFileNameMap): Likewise.
1402         (setFileNameMap): Likewise.
1403         (setDoInput): Merged implementation and documentation with classpath.
1404         (setDoOutput): Likewise.
1405         (setAllowUserInteraction): Likewise.
1406         (setDefaultAllowUserInteraction): Likewise.
1407         (setContentHandlerFactory): Made it synchronized, merged documentation
1408         with classpath.
1409         (guessContentTypeFromName): Renamed argument fname to filename to
1410         match classpath, merged documentation with classpath.
1411
1412 2003-05-02  Michael Koch  <konqueror@gmx.de>
1413
1414         * java/net/JarURLConnection.java
1415         (JarURLConnection): Class documentation merged with classpath.
1416         (getJarFileURL): Moved and documentation merged with classpath.
1417         (getEntryName): Likewise.
1418         (JarURLConnection): Documentation merged with classpath.
1419         (getJarEntry): Likewise.
1420         (getJarFile): Likewise.
1421         * java/net/PlainDatagramSocketImpl.java:
1422         Class documentation moved.
1423         * java/net/URLConnection.java
1424         (fileNameMap): Moved and documentation merged with classpath.
1425         (factory): Likewise.
1426         (defaultAllowUserInteraction): Likewis.
1427         (defaultUseCaches): Likewise.
1428         (allowUserInteraction): Likewise.
1429         (connected): Likewise.
1430         (url): Likewise.
1431         (connect): Documentation merged with classpath.
1432         (getURL): Likewise.
1433         (getContentLength): Likewise.
1434         (getContentType): Likewise.
1435         (getContentEncoding): Likewise.
1436         (getExpiration): Likewise.
1437         (getDate): Likewise.
1438         (getLastModified): Likewise.
1439         (getHeaderField): Likewise.
1440         (getContent): Likewise.
1441         (getPermission): Likewise.
1442         (getInputStream): Likewise.
1443         (getOutputStream): Likewise.
1444         (toString): Likewise.
1445         (getDoInput): Likewise.
1446         (getDoOutput): Likewise.
1447         (setAllowUserInteraction): Likewise.
1448         (getAllowUserInteraction): Likewise.
1449         (setDefaultAllowUserInteraction): Likewise.
1450         (getDefaultAllowUserInteraction): Likewise.
1451         (setUseCaches): Likewise.
1452         (getUseCaches): Likewise.
1453         (setIfModifiedSince): Likewise.
1454         (getIfModifiedSince): Likewise.
1455         (setDefaultRequestProperty): Likewise.
1456         (getDefaultRequestProperty): Likewise.
1457         (setContentHandlerFactory): Likewise.
1458         (setFileNameMap): Likewise.
1459
1460 2003-05-02  Michael Koch  <konqueror@gmx.de>
1461
1462         * java/net/InetAddress.java:
1463         Merged class documentation with classpath.
1464         * java/net/JarURLConnection.java:
1465         Explicitely import all used classes.
1466         * java/net/URL.java:
1467         Reformatting.
1468         * java/net/ServerSocket.java,
1469         java/net/Socket.java:
1470         New versions from classpath.
1471
1472 2003-05-02  Michael Koch  <konqueror@gmx.de>
1473
1474         * gnu/java/nio/FileChannelImpl.java
1475         (read): New implementation.
1476         (implRead): New methods.
1477         (write): New implementation, call other write insteal of read method.
1478         (implWrite): New methods.
1479         (map): Added comment.
1480         (transferFrom): Implemented.
1481         (transferTo): Implemented.
1482         (lock): Added checks to throw exceptions.
1483         (truncate): Added check to throw exception.
1484         * gnu/java/nio/natFileChannelImpl.cc
1485         (implRead): New method.
1486         (implWrite): New method.
1487         * java/nio/ByteBuffer.java
1488         (hashCode): Fixed comment.
1489         (get): Fixed exception documentation.
1490         (put): Fixed exception documentation.
1491         * java/nio/CharBuffer.java:
1492         Added comment for later optimizations.
1493
1494 2003-04-30  Tom Tromey  <tromey@redhat.com>
1495
1496         PR libgcj/10582:
1497         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1498         Removed.
1499         (type::compatible): Use _Jv_IsAssignableFrom.
1500         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1501         (_Jv_IsAssignableFrom): Work even when source or target class is
1502         not prepared.
1503
1504 2003-04-30  Michael Koch  <konqueror@gmx.de>
1505
1506         * java/text/BreakIterator.java
1507         (clone): New method.
1508
1509 2003-04-30  Michael Koch  <konqueror@gmx.de>
1510
1511         * java/text/CollationElementIterator.java,
1512         java/text/CollationKey.java,
1513         java/text/RuleBasedCollator.java:
1514         Merged copyright and documentation from classpath and
1515         rearranged some code. No code changes done.
1516
1517 2003-04-30  Michael Koch  <konqueror@gmx.de>
1518
1519         * java/util/regex/Matcher.java
1520         (pattern): New member variable.
1521         (appendReplacement): New method.
1522         (appendTail): New method.
1523         (end): New method.
1524         (find): New method.
1525         (group): New method.
1526         (replaceFirst): Added documentation.
1527         (replaceAll): Added documentation.
1528         (groupCount): New method.
1529         (lookingAt): New method.
1530         (matches): New method.
1531         (reset): New method.
1532         (start): New method.
1533         * java/util/regex/Pattern.java
1534         (serialVersionUID): New constant.
1535         (CANON_EQ): New constant.
1536         (CASE_INSENSITIVE): New constant.
1537         (COMMENTS): New constant.
1538         (DOTALL): New constant.
1539         (MULTILINE): New constant.
1540         (UNICODE_CASE): New constant.
1541         (UNIX_LINES): New constant.
1542         (regex): New member variable.
1543         (flags): New member variable.
1544         (Pattern): New method.
1545         (compile): Documentation added.
1546         (flags): New method.
1547         (matches): Documentation added.
1548         (matcher): Documentation added.
1549         (split): Documentation added.
1550         (pattern): New method.
1551
1552 2003-04-30  Michael Koch  <konqueror@gmx.de>
1553
1554         * gnu/java/security/Engine.java,
1555         gnu/java/security/OID.java,
1556         gnu/java/security/der/BitString.java,
1557         gnu/java/security/der/DER.java,
1558         gnu/java/security/der/DERReader.java,
1559         gnu/java/security/der/DERValue.java,
1560         gnu/java/security/der/DERWriter.java,
1561         gnu/java/security/provider/DSAKeyFactory.java,
1562         gnu/java/security/provider/X509CertificateFactory.java,
1563         gnu/java/security/x509/X500DistinguishedName.java,
1564         gnu/java/security/x509/X509CRL.java,
1565         gnu/java/security/x509/X509CRLEntry.java,
1566         gnu/java/security/x509/X509Certificate.java,
1567         java/security/cert/CRLSelector.java,
1568         java/security/cert/CertPathBuilder.java,
1569         java/security/cert/CertPathBuilderResult.java,
1570         java/security/cert/CertPathBuilderSpi.java,
1571         java/security/cert/CertPathParameters.java,
1572         java/security/cert/CertPathValidator.java,
1573         java/security/cert/CertPathValidatorResult.java,
1574         java/security/cert/CertPathValidatorSpi.java,
1575         java/security/cert/CertSelector.java,
1576         java/security/cert/CertStore.java,
1577         java/security/cert/CertStoreParameters.java,
1578         java/security/cert/CertStoreSpi.java,
1579         java/security/cert/CollectionCertStoreParameters.java,
1580         java/security/cert/LDAPCertStoreParameters.java,
1581         java/security/cert/PKIXBuilderParameters.java,
1582         java/security/cert/PKIXCertPathBuilderResult.java,
1583         java/security/cert/PKIXCertPathChecker.java,
1584         java/security/cert/PKIXCertPathValidatorResult.java,
1585         java/security/cert/PKIXParameters.java,
1586         java/security/cert/PolicyNode.java,
1587         java/security/cert/PolicyQualifierInfo.java,
1588         java/security/cert/TrustAnchor.java,
1589         javax/security/auth/x500/X500Principal.java:
1590         New files from classpath.
1591         * gnu/java/io/ASN1ParsingException.java,
1592         gnu/java/io/Base64InputStream.java,
1593         gnu/java/security/der/DEREncodingException.java,
1594         gnu/java/security/provider/DSAParameters.java,
1595         gnu/java/security/provider/DSASignature.java,
1596         gnu/java/security/provider/Gnu.java,
1597         gnu/java/security/provider/GnuDSAPrivateKey.java,
1598         gnu/java/security/provider/GnuDSAPublicKey.java,
1599         java/security/AlgorithmParameterGenerator.java,
1600         java/security/AlgorithmParameters.java,
1601         java/security/KeyFactory.java,
1602         java/security/KeyPairGenerator.java,
1603         java/security/KeyStore.java,
1604         java/security/MessageDigest.java,
1605         java/security/SecureClassLoader.java,
1606         java/security/SecureRandom.java,
1607         java/security/Security.java,
1608         java/security/Signature.java,
1609         java/security/cert/Certificate.java,
1610         java/security/cert/CertificateFactory.java,
1611         java/security/cert/CertificateFactorySpi.java,
1612         java/security/cert/X509CRL.java,
1613         java/security/cert/X509Certificate.java,
1614         java/security/spec/DSAPublicKeySpec.java:
1615         New versions from classpath.
1616         * gnu/java/security/provider/DERReader.java,
1617         gnu/java/security/provider/DERWriter.java,
1618         java/security/Engine.java: Removed.
1619         * Makefile.am
1620         (java_source_files, javax_source_files): Added new files.
1621         * Makefile.in: Regenerated.
1622
1623 2003-04-29  Michael Koch  <konqueror@gmx.de>
1624
1625         * javax/swing/JTable.java
1626         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1627         (AUTO_RESIZE_LAST_COLUMN): New constant.
1628         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1629         (AUTO_RESIZE_OFF): New constant.
1630         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1631         (JTable): New method.
1632         (columnAdded): New method.
1633         (columnMarginChanged): New method.
1634         (columnMoved): New method.
1635         (columnRemoved): New method.
1636         (columnSelectionChanged): New method.
1637         (editingCanceled): New method.
1638         (editingStopped): New method.
1639         (getColumnModel): New method.
1640         (getPreferredScrollableViewportSize): New method.
1641         (getScrollableBlockIncrement): New method.
1642         (getScrollableTracksViewportHeight): New method.
1643         (getScrollableTracksViewportWidth): New method.
1644         (getScrollableUnitIncrement): New method.
1645         (getSelectedRow): New method.
1646         (getSelectionModel): New method.
1647         (tableChanged): New method.
1648         (setModel): New method.
1649         (setSelectionMode): New method.
1650         (setSelectionModel): New method.
1651         (setShowGrid): New method.
1652         (valueChanged): New method.
1653         * javax/swing/text/DefaultEditorKit.java
1654         (backwardAction): New constant.
1655         (beepAction): New constant.
1656         (beginAction): New constant.
1657         (beginLineAction): New constant.
1658         (beginParagraphAction): New constant.
1659         (beginWordAction): New constant.
1660         (copyAction): New constant.
1661         (cutAction): New constant.
1662         (defaultKeyTypedAction): New constant.
1663         (deleteNextCharAction): New constant.
1664         (deletePrevCharAction): New constant.
1665         (downAction): New constant.
1666         (endAction): New constant.
1667         (endLineAction): New constant.
1668         (endOfLineStringProperty): New constant.
1669         (endParagraphAction): New constant.
1670         (endWordAction): New constant.
1671         (forwardAction): New constant.
1672         (insertBreakAction): New constant.
1673         (insertContentAction): New constant.
1674         (insertTabAction): New constant.
1675         (nextWordAction): New constant.
1676         (pageDownAction): New constant.
1677         (pageUpAction): New constant.
1678         (pasteAction): New constant.
1679         (previousWordAction): New constant.
1680         (readOnlyAction): New constant.
1681         (selectAllAction): New constant.
1682         (selectionBackwardAction): New constant.
1683         (selectionBeginAction): New constant.
1684         (selectionBeginLineAction): New constant.
1685         (selectionBeginParagraphAction): New constant.
1686         (selectionBeginWordAction): New constant.
1687         (selectionDownAction): New constant.
1688         (selectionEndAction): New constant.
1689         (selectionEndLineAction): New constant.
1690         (selectionEndParagraphAction): New constant.
1691         (selectionEndWordAction): New constant.
1692         (selectionForwardAction): New constant.
1693         (selectionNextWordAction): New constant.
1694         (selectionPreviousWordAction): New constant.
1695         (selectionUpAction): New constant.
1696         (selectLineAction): New constant.
1697         (selectParagraphAction): New constant.
1698         (selectWordAction): New constant.
1699         (upAction): New constant.
1700         (writableAction): New constant.
1701
1702 2003-04-29  Michael Koch  <konqueror@gmx.de>
1703
1704         * java/util/PropertyPermission.java:
1705         New version from classpath
1706         * java/util/ResourceBundle.java:
1707         Partly merged from classpath
1708         (getObject): Reformated.
1709         (tryBundle): Set foundBundle = null if no bundle found.
1710
1711 2003-04-29  Michael Koch  <konqueror@gmx.de>
1712
1713         * javax/swing/AbstractListModel.java,
1714         javax/swing/DefaultBoundedRangeModel.java,
1715         javax/swing/DefaultSingleSelectionModel.java:
1716         New Versions from classpath.
1717
1718 2003-04-29  Michael Koch  <konqueror@gmx.de>
1719
1720         * java/awt/Window.java
1721         (show): Call super.show() instead of setVisible() to avoid endless
1722         loop.
1723         (hide): Call super.hide() instead of setVisible() to avoid endless
1724         loop.
1725
1726 2003-04-29  Michael Koch  <konqueror@gmx.de>
1727
1728         * java/util/zip/Deflater.java,
1729         java/util/zip/DeflaterOutputStream.java:
1730         Partly merged with classpath.
1731
1732 2003-04-27  Tom Tromey  <tromey@redhat.com>
1733
1734         * java/lang/natString.cc (_Jv_AllocString): Initialize
1735         cachedHashCode.
1736         (init): Likewise.
1737         (_Jv_NewStringUtf8Const): Likewise.
1738
1739 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1740
1741         * include/jvm.h: (_Jv_GetNbArgs) added
1742         (_Jv_GetSafeArg) added
1743         (_Jv_SetArgs) added
1744         * prims.cc: (_Jv_GetNbArgs) implemented
1745         (_Jv_GetSafeArg) implemented
1746         (_Jv_SetArgs) implemented
1747         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1748         setting _Jv_argc and _Jv_argv
1749         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1750         instead of _Jv_argv
1751         * java/lang/natRuntime.cc: (insertSystemProperties) use
1752         _Jv_GetSafeArg() instead of _Jv_argv
1753
1754 2003-04-23  Tom Tromey  <tromey@redhat.com>
1755
1756         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1757         required by this object.  Search superclasses to find required
1758         alignment.
1759         (get_alignment_from_class): Use alignment of type as it appears
1760         in a struct.
1761         (ALIGNOF): New macro.
1762         (struct aligner): New helper structure.
1763
1764 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1765
1766         * java/awt/Container.java (addImpl): Enable paint events if adding
1767         a lightweight to a heavyweight.
1768         (addNotify): Ensure that peer is created before
1769         addNotifyContainerChildren.
1770         (addNotifyContainerChildren): Enable paint events if a heavyweight
1771         container contains a lightweight.
1772
1773 2003-04-20  Tom Tromey  <tromey@redhat.com>
1774
1775         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1776         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1777         Classpath.
1778
1779 2003-04-19  Tom Tromey  <tromey@redhat.com>
1780
1781         * java/sql/Date.java, java/sql/DriverManager.java,
1782         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1783         Classpath.
1784
1785         * Makefile.in: Rebuilt.
1786         * Makefile.am (ordinary_java_source_files): Added new files.
1787         * java/security/AlgorithmParameterGenerator.java,
1788         java/security/AlgorithmParameters.java, java/security/Engine.java,
1789         java/security/Identity.java, java/security/IdentityScope.java,
1790         java/security/KeyFactory.java,
1791         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1792         java/security/MessageDigest.java, java/security/Policy.java,
1793         java/security/ProtectionDomain.java,
1794         java/security/SecureRandom.java, java/security/Security.java,
1795         java/security/Signature.java, java/security/SignatureSpi.java,
1796         java/security/SignedObject.java, java/security/Signer.java,
1797         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1798         java/security/spec/PSSParameterSpec.java,
1799         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1800         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1801         Classpath.
1802
1803 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1804
1805         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1806         (dispose): Null metrics.
1807         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1808         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1809         finalize.
1810         (finalize): Call dispose.
1811         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1812         (gcCachedCount): New field.
1813         (finalize): New method.
1814         (putGCInCache): New method.
1815         (getGCFromCache): New method.
1816         * gnu/gcj/xlib/GC.java (GC): Make protected.
1817         (clone): Get new GC from cache if possible.
1818         (create): New static method.
1819         (dispose): Save old GC in cache.
1820         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1821         deleting.
1822         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1823         is null.
1824         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1825         * java/awt/Container.java (visitChild): Dispose gfx2 when
1826         finished.
1827
1828 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1829
1830         * java/math/BigInteger.java (probablePrime): New.
1831         * java/math/BigDecimal.java (unscaledValue): New.
1832
1833 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1834
1835         * java/io/File.java (getAbsolutePath): On Windows, take care
1836         of paths like "C:", "G:foo\bar", etc.
1837         (getName): Make it work correctly on Windows.
1838         (getParent): Make it work correctly on Windows. For UNIX,
1839         fix bug that causes "/" to be returned as the parent of "/",
1840         instead of null as returned by Sun's JRE.
1841
1842         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1843
1844 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1845
1846         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1847         inner class.
1848         (CACHE_SIZE_PER_DISPLAY): New field
1849         (fontMetricsCache): New field
1850         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1851         loading ISO10646-1 fonts.
1852
1853 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1854
1855         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1856         characters.
1857         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1858         characters.
1859
1860 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1861
1862         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1863         floating point.
1864
1865 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1866
1867         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1868         installed libpthread is either linuxthreads with floating stacks or
1869         NPTL.
1870
1871 2003-04-14  Tom Tromey  <tromey@redhat.com>
1872
1873         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1874         of alignment.
1875
1876 2003-04-10  Tom Tromey  <tromey@redhat.com>
1877
1878         * verify.cc (pop64): Removed.
1879         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1880         exception if top-of-stack is narrow.
1881         (initialize_stack): Check to ensure that <init> is not static and
1882         <clinit> is.
1883
1884 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1885
1886         * java/io/ObjectStreamException
1887         * java/io/FileFilter
1888         * java/io/FilenameFilter
1889         * java/io/ObjectInput
1890         * java/io/ObjectOutput
1891         * java/io/ObjectStreamConstants
1892         Minor doc fixes, format fixes, spelling corrections, etc.
1893         * java/io/DataInput
1894         Corrected code samples in Javadocs to match reality
1895         * java/io/DataOutput
1896         * java/io/ObjectInputValidation
1897         Major documentation fixes - all Javadocs re-written or updated
1898
1899 2003-04-06  Michael Koch  <konqueror@gmx.de>
1900
1901         * java/net/URLConnection.java:
1902         Import classes directly.
1903         (URLConnection): Merged class documentation with classpath.
1904         (url): Moved, documentation from classpath added.
1905         (doInput): Moved, documentation from classpath added.
1906         (doOutput): Moved, documentation from classpath added.
1907         (allowUserInteraction): Moved.
1908         (useCaches): Moved, documentation from classpath added.
1909         (ifModifiedSince): Moved, documentation from classpath added.
1910         (connected): Moved, documentation from classpath added.
1911
1912 2003-04-06  Michael Koch  <konqueror@gmx.de>
1913
1914         * java/io/FileInputStream.java
1915         (skip): Renamed some variables to match classpath, added
1916         checks from classpath.
1917
1918 2003-03-31  Michael Koch  <konqueror@gmx.de>
1919
1920         * javax/swing/AbstractAction.java
1921         (AbstractAction): Reformatted.
1922         (serialVersionUID): New private member variable.
1923         * javax/swing/plaf/BorderUIResource.java
1924         (serialVersionUID): New private member variable.
1925         * javax/swing/plaf/basic/BasicLookAndFeel.java
1926         (serialVersionUID): New private member variable.
1927
1928 2003-03-31  Michael Koch  <konqueror@gmx.de>
1929
1930         * java/sql/Date.java
1931         (valueOf): Deprecated, reformatted.
1932         (toString): Deprecated, reformatted.
1933         * java/sql/Time.java
1934         (valueOf): Deprecated, reformatted.
1935         (toString): Deprecated, reformatted.
1936
1937 2003-03-31  Michael Koch  <konqueror@gmx.de>
1938
1939         * java/rmi/dgc/VMID.java
1940         (isUnique): Deprecated.
1941
1942 2003-03-31  Michael Koch  <konqueror@gmx.de>
1943
1944         * java/io/File.java
1945         (separator): Merged documentation from classpath.
1946         (separatorChar): Merged documentation from classpath.
1947         (pathSeparator): Merged documentation from classpath.
1948         (pathSeparatorChar): Merged documentation from classpath.
1949         (path): Merged documentation from classpath.
1950         (canRead): Merged documentation from classpath.
1951         (canWrite): Merged documentation from classpath.
1952         (createNewFile): Merged documentation from classpath.
1953         (delete): Merged documentation from classpath.
1954         (equals): Merged documentation from classpath.
1955         (exists): Merged documentation from classpath.
1956         (File): Renamed p to name to match classpath, merged documentation
1957         from classpath.
1958         (getAbsolutePath): Merged documentation from classpath.
1959         (getCanonicalPath): Merged documentation from classpath.
1960         (getCanonicalFile): Merged documentation from classpath.
1961         (getName): Merged documentation from classpath.
1962         (getParent): Merged documentation from classpath.
1963         (getParentFile): Merged documentation from classpath.
1964         (getPath): Merged documentation from classpath.
1965         (hashCode): Merged documentation from classpath.
1966         (isAbsolute): Merged documentation from classpath.
1967         (isDirectory): Merged documentation from classpath.
1968         (isFile): Merged documentation from classpath.
1969         (isHidden): Merged documentation from classpath.
1970         (lastModified): Merged documentation from classpath.
1971         (length): Merged documentation from classpath.
1972         (list): Merged documentation from classpath.
1973         (listFiles): Merged documentation from classpath.
1974         (toString): Merged documentation from classpath.
1975         (toURL): Merged documentation from classpath.
1976         (mkdir): Merged documentation from classpath.
1977         (mkdirs): Merged documentation from classpath.
1978         (createTempFile): Merged documentation from classpath.
1979         (setReadOnly): Merged documentation from classpath.
1980         (listRoots): Merged documentation from classpath.
1981         (compareTo): Merged documentation from classpath.
1982         (renameTo): Merged documentation from classpath.
1983         (setLastModified): Merged documentation from classpath.
1984         * java/io/PrintStream.java
1985         (auto_flush): Merged documentation from classpath.
1986         (PrintStream): Merged documentation from classpath.
1987         (checkError): Merged documentation from classpath.
1988         (setError): Merged documentation from classpath.
1989         (close): Merged documentation from classpath.
1990         (flush): Merged documentation from classpath.
1991         (print): Merged documentation from classpath.
1992         (println):  Merged documentation from classpath.
1993         (write): Renamed count to len to match classpath,
1994         merged documentation from classpath.
1995         * java/io/RandomAccessFile.java
1996         (readShort): Merged documentation from classpath.
1997         (readUnsignedByte): Merged documentation from classpath.
1998         (readUnsignedShort): Merged documentation from classpath.
1999         (readUTF): Merged documentation from classpath.
2000         (seek): Reformatted, merged documentation from classpath.
2001         (skipBytes): Renamed some variables to match classpath, reformatted,
2002         merged documentation from classpath.
2003         (write): Merged documentation from classpath.
2004         (writeBoolean): Merged documentation from classpath.
2005         (writeByte): Merged documentation from classpath.
2006         (writeShort): Merged documentation from classpath.
2007         (writeChar): Merged documentation from classpath.
2008         (writeInt): Merged documentation from classpath.
2009         (writeLong): Merged documentation from classpath.
2010         (writeFloat): Merged documentation from classpath.
2011         (writeDouble): Merged documentation from classpath.
2012         (writeBytes): Merged documentation from classpath.
2013         (writeChars): Merged documentation from classpath.
2014         (writeUTF): Reformatted.
2015         (getChannel): Reformatted.
2016
2017 2003-03-31  Michael Koch  <konqueror@gmx.de>
2018
2019         * java/awt/font/TextAttribute.java
2020         (readResolve): Throws java.io.InvalidObjectException.
2021
2022 2003-03-31  Michael Koch  <konqueror@gmx.de>
2023
2024         * java/rmi/server/LoaderHandler.java
2025         (loadClass): Deprecated.
2026         (getSecurityContext): Deprecated.
2027         * java/rmi/server/LogStream.java
2028         (getDefaultStream): Deprecated.
2029         (setDefaultStream): Deprecated.
2030         (getOutputStream): Deprecated.
2031         (setOutputStream): Deprecated.
2032         (write): Deprecated.
2033         (toString): Deprecated.
2034         (parseLevel): Deprecated.
2035         * java/rmi/server/Operation.java
2036         (Operation): Deprecated.
2037         (getOperation): Deprecated.
2038         (toString): Deprecated.
2039         * java/rmi/server/RemoteCall.java
2040         (getOutputStream): Deprecated.
2041         (releaseOutputStream): Deprecated.
2042         (getInputStream): Deprecated.
2043         (releaseInputStream): Deprecated.
2044         (getResultStream): Deprecated.
2045         (executeCall): Deprecated.
2046         (done): Deprecated.
2047         * java/rmi/server/RemoteRef.java
2048         (invoke): Deprecated.
2049         (newCall): Deprecated.
2050         (done): Deprecated.
2051         * java/rmi/server/RemoteStub.java
2052         (setRef): Deprecated.
2053         * java/rmi/server/Skeleton.java:
2054         No need to import java.lang.Exception explicitly.
2055         (dispatch): Deprecated.
2056         (getOperations): Deprecated.
2057
2058 2003-03-31  Michael Koch  <konqueror@gmx.de>
2059
2060         * java/rmi/dgc/VMID.java,
2061         java/rmi/registry/RegistryHandler.java,
2062         java/rmi/server/LogStream.java,
2063         java/rmi/server/Operation.java,
2064         java/rmi/server/RemoteCall.java,
2065         java/rmi/server/RemoteRef.java,
2066         java/rmi/server/RemoteStub.java:
2067         Reformatted.
2068
2069 2003-03-31  Michael Koch  <konqueror@gmx.de>
2070
2071         * javax/swing/AbstractCellEditor.java,
2072         javax/swing/AbstractListModel.java,
2073         javax/swing/ActionMap.java,
2074         javax/swing/BorderFactory.java,
2075         javax/swing/ButtonGroup.java,
2076         javax/swing/DefaultBoundedRangeModel.java,
2077         javax/swing/DefaultButtonModel.java,
2078         javax/swing/DefaultCellEditor.java,
2079         javax/swing/DefaultComboBoxModel.java,
2080         javax/swing/DefaultDesktopManager.java,
2081         javax/swing/DefaultListCellRenderer.java,
2082         javax/swing/DefaultSingleSelectionModel.java,
2083         javax/swing/InputMap.java,
2084         javax/swing/JComponent.java,
2085         javax/swing/JMenu.java,
2086         javax/swing/JSlider.java,
2087         javax/swing/KeyStroke.java,
2088         javax/swing/OverlayLayout.java,
2089         javax/swing/ScrollPaneLayout.java,
2090         javax/swing/SizeRequirements.java,
2091         javax/swing/UIManager.java,
2092         javax/swing/ViewportLayout.java,
2093         javax/swing/border/AbstractBorder.java,
2094         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2095         javax/swing/event/EventListenerList.java,
2096         javax/swing/table/AbstractTableModel.java,
2097         javax/swing/table/DefaultTableCellRenderer.java,
2098         javax/swing/table/DefaultTableColumnModel.java,
2099         javax/swing/table/DefaultTableModel.java,
2100         javax/swing/table/TableColumn.java,
2101         javax/swing/text/StyledEditorKit.java,
2102         javax/swing/tree/DefaultMutableTreeNode.java,
2103         javax/swing/tree/DefaultTreeModel.java,
2104         javax/swing/tree/DefaultTreeSelectionModel.java,
2105         javax/swing/tree/TreePath.java,
2106         javax/swing/undo/AbstractUndoableEdit.java,
2107         javax/swing/undo/StateEdit.java,
2108         javax/swing/undo/StateEditable.java,
2109         javax/swing/undo/UndoableEditSupport.java:
2110         Merges from classpath.
2111
2112 2003-03-30  Tom Tromey  <tromey@redhat.com>
2113
2114         * java/lang/String.java (data, boffset, count): Documented.
2115         (String(byte[],String)): Reformatted.
2116         (String(byte[])): Likewise.
2117         (lastIndexOf(int)): Likewise.
2118         (lastIndexOf(String)): Likewise.
2119         (substring(int)): Renamed argument to match Classpath.
2120         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2121
2122         * java/lang/String.java: Miscellaneous minor formatting changes
2123         to match Classpath more closely.
2124
2125 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2126             Tom Tromey  <tromey@redhat.com>
2127
2128         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2129         (init()): Removed.
2130         (charAt): Put index in exception.
2131         (contentEquals): New method.
2132         Include StringBuffer.h.
2133         * java/lang/String.java (cachedHashCode): New field.
2134         (String()): Follow classpath implementation.
2135         (init()): Removed.
2136         (contentEquals): Declare.
2137         (subSequence): Don't declare IndexOutIfBoundsException in throws
2138         clause.
2139         (matches, replaceFirst, replaceAll, split): New methods from
2140         Classpath.
2141
2142 2003-03-29  Tom Tromey  <tromey@redhat.com>
2143
2144         * java/lang/String.java: Reordered to follow Classpath; merged in
2145         javadoc.
2146
2147         * java/text/MessageFormat.java: Removed some whitespace.
2148
2149         * Makefile.in: Rebuilt.
2150         * Makefile.am (awt_java_source_files): Added new files.
2151         * gnu/javax/rmi/PortableServer.java,
2152         gnu/javax/rmi/CORBA/DelegateFactory.java,
2153         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2154         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2155         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2156         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2157         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2158         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2159         javax/rmi/PortableRemoteObject.java,
2160         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2161         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2162         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2163         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2164         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2165         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2166
2167         * java/lang/natClass.cc (newInstance): Put method name in
2168         exception.
2169         (getConstructor): Likewise.
2170         (getDeclaredConstructor): Likewise.
2171         (getPrivateMethod): Likewise.
2172
2173 2003-03-28  Tom Tromey  <tromey@redhat.com>
2174
2175         * java/lang/reflect/Proxy.java: New version from Classpath.
2176         * java/lang/Package.java: New version from Classpath.
2177
2178 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2179
2180         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2181         * configure: Regenerate.
2182
2183 2003-03-28  Michael Koch  <konqueror@gmx.de>
2184
2185         * java/io/File.java:
2186         Import needed classes instead of whole packages, merged class
2187         documentation with classpath, moved constants and variables to top of
2188         class.
2189         * java/io/PrintStream.java:
2190         Merged class documentation with classpath, moved constants and
2191         variables to top of class.
2192         * java/io/RandomAccessFile.java
2193         (RandomAccessFile): Merged with classpath.
2194         (read): Merged with classpath).
2195         (read*): Reformatted.
2196
2197 2003-03-28  Michael Koch  <konqueror@gmx.de>
2198
2199         * java/io/FileDescriptor.java
2200         (finalize): Throws Throwable, not IOException.
2201         * java/io/ObjectOutputStream.java
2202         (PutField.put): Doesnt throws anything.
2203
2204 2003­03-28  Michael Koch  <konqueror@gmx.de>
2205
2206         * java/io/FileOutputStream.java:
2207         Merged class documentation and authors with classpath.
2208         (FileOutputStream): Partly merged with classpath.
2209         (write): Merged with classpath.
2210         (getChannel): Make it synchronized instead of explicit block in this
2211         method.
2212         * java/io/RandomAccessFile.java:
2213         Merged class documentation and authors with classpath.
2214
2215 2003-03-26  Tom Tromey  <tromey@redhat.com>
2216
2217         * java/lang/natRuntime.cc (insertSystemProperties): Set
2218         gnu.classpath.home.url.
2219         * Makefile.in: Rebuilt.
2220         * Makefile.am: Define LIBDIR.
2221
2222 2003-03-25  Michael Koch  <konqueror@gmx.de>
2223
2224         * java/io/FileInputStream.java
2225         (read): Renamed b to buf and off to offset.
2226         * java/io/FileOutputStream.java
2227         (ch): Documentation added.
2228         (FileOutputStream): Documentation added.
2229         (getFD): Documentation added.
2230         (write): Documentation added.
2231         (close): Documentation added.
2232         (getChannel): Documentation added.
2233
2234 2003-03-24  Michael Koch  <konqueror@gmx.de>
2235
2236         * java/io/DataOutputStream.java
2237         (write): Merged from classpath.
2238         * java/io/File.java:
2239         Merged copyrigth with classpath.
2240         * java/io/FileInputStream.java
2241         (getChannel): Made it synchronized instead of using a synchronized
2242         block.
2243         * java/io/FileOutputStream.java: Reformatted.
2244         * java/io/InputStreamReader.java
2245         (InputStreamReader): Renamed enc to encoding_name.
2246         (close): Merged documentation from classpath.
2247         (getEncoding): Merged documentation from classpath.
2248         (ready): Merged documentation from classpath.
2249         (read): Merged documentation from classpath.
2250         * java/io/LineNumberReader.java
2251         (lineNumber): Made it private.
2252         (LineNumberReader): Use Constant instead of a direct value.
2253         * java/io/OutputStreamWriter.java
2254         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2255         documentation from classpath.
2256         (close): Merged documentation from classpath.
2257         (flush): Merged documentation from classpath.
2258         (write): Merged documentation from classpath.
2259         * java/io/PrintStream.java: Reformatted.
2260
2261 2003-03-24  Michael Koch  <konqueror@gmx.de>
2262
2263         * javax/swing/text/ComponentView.java
2264         (getComponent): Must be final.
2265         * javax/swing/tree/DefaultTreeCellRenderer.java:
2266         Reformatted.
2267         * javax/swing/undo/StateEditable.java:
2268         Reformatted.
2269
2270 2003-03-24  Michael Koch  <konqueror@gmx.de>
2271
2272         * java/rmi/activation/ActivationInstantiator.java:
2273         Reformatted.
2274         * java/rmi/activation/Activator.java:
2275         Reformatted.
2276         * java/rmi/registry/RegistryHandler.java:
2277         Remerged from classpath.
2278
2279 2003-03-24  Michael Koch  <konqueror@gmx.de>
2280
2281         * java/util/Date.java:
2282         Fixed documentation starting tag to make javadoc happy.
2283         * java/util/regex/Pattern.java
2284         (Pattern): Implements Serializable.
2285         * java/util/PatternSyntaxException.java
2286         (serialVersionUID): New member variable.
2287
2288 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2289
2290         * java/awt/ContainerOrderFocusTraversalPolicy.java
2291         (getFirstComponent): Implemented.
2292         (getLastComponent): Implemented.
2293         (getDefaultComponent): Implemented.
2294         (setImplicitDownCycleTraversal): Fixed implementation.
2295         * java/awt/Robot.java
2296         (Robot): Added documentation.
2297         * java/awt/Toolkit.java
2298         (getFontList): Deprecated.
2299         (getFontMetrics): Deprecated.
2300         (getPrintJob): Added documentation.
2301         (getSystemSelection): Added documentation.
2302         (getLockingKeyState): Added documentation.
2303         (setLockingKeyState): Added documentation.
2304         (createCustomCursor): Added documentation.
2305         (getBestCursorSize): Added documentation.
2306         (getMaximumCursorColors): Added documentation.
2307         (isFrameStateSupported): Added documentation.
2308
2309 2003-03-24  Michael Koch  <konqueror@gmx.de>
2310
2311         * java/io/RandomAccessFile.java:
2312         More little merges with classpath. No code changes.
2313
2314 2003-03-24  Michael Koch  <konqueror@gmx.de>
2315
2316         * java/net/natInetAddressNoNet.cc:
2317         Include stddef.h.
2318         * java/net/natPlainDatagramSocketImplNoNet.cc:
2319         Fixed inlcude of java/net/DatagramPacket.h.
2320         * java/net/natPlainSocketImplNoNet.cc:
2321         Include some missing classes.
2322
2323 2003-03-24  Michael Koch  <konqueror@gmx.de>
2324
2325         * java/awt/dnd/DropTarget.java
2326         (DropTargetAutoScroller): According to the online documentation, this
2327         is protected, but in reality it is public.
2328         * java/awt/dnd/DropTargetContext.java
2329         (TransferableProxy): According to the online documentation, this
2330         is protected, but in reality it is public.
2331
2332 2003-03-24  Michael Koch  <konqueror@gmx.de>
2333
2334         * java/io/DataInputStream.java
2335         (): Wrapped documentation line.
2336         (): Fixed @return tag.
2337         * java/io/DataOutputStream.java
2338         (written): Moved to top of class.
2339         (all methods): Merged documentation from classpath.
2340         * java/io/File.java:
2341         Merged copyright year with classpath.
2342         * java/io/FileInputStream.java
2343         (all methods): Merged documentation from classpath.
2344         * java/io/LineNumberReader.java
2345         (getLineNumber): Fixed @return tag.
2346         * java/io/ObjectInputStream.java.
2347         Reformatted.
2348         * java/io/ObjectOutputStream.java:
2349         Reformatted, fixed some @see tags.
2350         * java/io/OutputStreamWriter.java:
2351         Deleted empty line.
2352         * java/io/Writer.java:
2353         Reformatted.
2354
2355 2003-03-24  Michael Koch  <konqueror@gmx.de>
2356
2357         * java/awt/Frame.java
2358         (DEFAULT_CURSOR): Fixed @deprecated tag.
2359         (setCursor): Fixed @deprecated tag.
2360
2361 2003-03-24  Michael Koch  <konqueror@gmx.de>
2362
2363         * java/beans/beancontext/BeanContextEvent.java:
2364         Reformated.
2365
2366 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2367
2368         * java/lang/natStringBuffer.cc (regionMatches): New function.
2369         * java/lang/String.java (count): Now package-private.
2370         * java/lang/StringBuffer.java: Merged with Classpath.
2371
2372 2003-03-23  Michael Koch  <konqueror@gmx.de>
2373
2374         * java/io/BufferedOutputStream.java:
2375         Reformated.
2376         * java/io/BufferedReader.java:
2377         Reformated.
2378         * java/io/ByteArrayOutputStream.java
2379         (size): Fixed @see tag.
2380         * java/io/CharArrayWriter.java
2381         (size): Fixed @see tag.
2382         * java/io/DataInput.java:
2383         Reformated.
2384         * java/io/DataOutput.java:
2385         Reformated.
2386         * java/io/DataOutputStream.java:
2387         Merged copyright years with classpath.
2388         * java/io/Externalizable.java:
2389         Reformated.
2390         * java/io/FileFilter.java:
2391         Reformated.
2392         * java/io/FileInputStream.java:
2393         Merged copyright years with classpath.
2394         * java/io/FileOutputStream.java:
2395         Merged copyright years with classpath.
2396         * java/io/FilePermission.java
2397         (FilePermission): Replaced @XXX with FIXME:.
2398         * java/io/FileWriter.java:
2399         Reformated.
2400         * java/io/FilenameFilter.java:
2401         Reformated.
2402         * java/io/FilterInputStream.java:
2403         Reformated.
2404         * java/io/FilterOutputStream.java:
2405         Reformated.
2406         * java/io/FilterReader.java:
2407         Reformated.
2408         * java/io/FilterWriter.java:
2409         Reformated.
2410         * java/io/LineNumberInputStream.java
2411         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2412         happy.
2413         (getLineNumber): Fixed @return tag.
2414         * java/io/ObjectInput.java:
2415         Reformated.
2416         * java/io/ObjectOutput.java:
2417         Reformated.
2418         * java/io/ObjectStreamClass.java:
2419         Reformated.
2420         * java/io/PrintStream.java:
2421         Merged copyright years with classpath.
2422         * java/io/PushbackReader.java
2423         (PushbackReader): Replaced @code with @param.
2424         * java/io/SerializablePermission.java:
2425         Reformated.
2426         * java/io/StreamTokenizer.java
2427         (resetSyntax): Fixed @see tag.
2428
2429 2003-03-22  Richard Henderson  <rth@redhat.com>
2430
2431         * sysdep/ia64/locks.h: Include ia64intrin.h.
2432         (compare_and_swap): Use __sync_bool_compare_and_swap.
2433         (compare_and_swap_release): Expose ar.ccv assignment.
2434
2435 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2436
2437         * include/posix.h: Add suffix for darwin dynamic libraries.
2438
2439 2003-03-21  Michael Koch  <konqueror@gmx.de>
2440
2441         * javax/swing/Action.java
2442         (ACCELERATOR_KEY): New constant.
2443         (ACTION_COMMAND_KEY): Likewise.
2444         (MNEMONIC_KEY): Likewise.
2445         * javax/swing/UnsupportedLookAndFeelException.java
2446         (UnsupportedLookAndFeelException): Must be public.
2447         * javax/swing/WindowConstants.java
2448         (EXIT_ON_CLOSE): New constant.
2449         * javax/swing/text/BadLocationException.java
2450         (offset): New member variable.
2451         (BadLocationException): New implementation, documentation added.
2452         (offsetRequested): New method.
2453         * javax/swing/text/Caret.java:
2454         Reformated.
2455         * javax/swing/text/Document.java:
2456         Reformated.
2457
2458 2003-03-21  Michael Koch  <konqueror@gmx.de>
2459
2460         * java/rmi/activation/Activatable.java
2461         (serialVersionUID): New member variable.
2462         * java/rmi/activation/ActivationGroup.java
2463         (serialVersionUID): New member variable.
2464         * java/rmi/activation/ActivationGroupDesc.java
2465         (serialVersionUID): New member variable.
2466         * java/rmi/registry/Registry.java:
2467         Reformated.
2468         (Registry): Deprecated.
2469         * java/rmi/server/LoaderHandler.java
2470         Reformated.
2471         (LoaderHandler): Deprecated.
2472         * java/rmi/server/LogStream.java
2473         Reformated.
2474         (LogStream): Deprecated.
2475         * java/rmi/server/Operation.java
2476         (Operation): Deprecated.
2477         * java/rmi/server/RMIFailureHandler.java:
2478         Reformated.
2479         * java/rmi/server/RMISocketFactory.java:
2480         Reformated.
2481         * java/rmi/server/RemoteCall.java
2482         (RemoteCall): Deprecated.
2483         * java/rmi/server/RemoteStub.java:
2484         Reformated.
2485         * java/rmi/server/Skeleton.java
2486         Reformated.
2487         (Skeleton): Deprecated.
2488
2489 2003-03-21  Michael Koch  <konqueror@gmx.de>
2490
2491         * java/io/LineNumberReader.java
2492         (LineNumberReader): Merged documentation with classpath.
2493         (getLineNumber): Likewise.
2494         (setLineNumber): Likewise.
2495         (mark): Likewise.
2496         (reset): Likewise.
2497         (read): Likewise.
2498         (readLine): Likewise.
2499         (skip): Likewise.
2500
2501 2003-03-21  Michael Koch  <konqueror@gmx.de>
2502
2503         * java/rmi/RMISecurityManager.java
2504         (checkAccept): Removed.
2505         (checkAccess): Likewise.
2506         (checkAccess): Likewise.
2507         (checkAwtEventQueueAccess): Likewise.
2508         (checkConnect): Likewise.
2509         (checkCreateClassLoader): Likewise.
2510         (checkDelete): Likewise.
2511         (checkExec): Likewise.
2512         (checkExit): Likewise.
2513         (checkLink): Likewise.
2514         (checkListen): Likewise.
2515         (checkMemberAccess): Likewise.
2516         (checkMulticast): Likewise.
2517         (checkPackageAccess): Likewise.
2518         (checkPackageDefinition): Likewise.
2519         (checkPermission): Likewise.
2520         (checkPrintJobAccess): Likewise.
2521         (checkPropertiesAccess): Likewise.
2522         (checkPropertyAccess): Likewise.
2523         (checkRead): Likewise.
2524         (checkSecurityAccess): Likewise.
2525         (checkSetFactory): Likewise.
2526         (checkSystemClipboardAccess): Likewise.
2527         (checkTopLevelWindow): Likewise.
2528         (checkWrite): Likewise.
2529
2530 2003-03-20  Michael Koch  <konqueror@gmx.de>
2531
2532         * gnu/java/nio/FileChannelImpl.java
2533         (address): Removed.
2534         (map_address): New member variable.
2535         (length): Make it package private.
2536         (fd): Make it package private.
2537         (buf): Make it package private.
2538         (file_obj): Make it package private.
2539         (FileChannelImpl): New constructor.
2540         (nio_mmap_file): Use RawData instead of long.
2541         (nio_munmap_file): Use RawData instead of long.
2542         (nio_msync): Use RawData instead of long.
2543         (implCloseChannel): New implementation using map_address.
2544         (read): Reformated.
2545         (map): Implemented.
2546         (create_direct_mapped_buffer): Implemented, use RawData, throws
2547         IOException.
2548         (force): Use map_address instead of address.
2549         * gnu/java/nio/MappedByteFileBuffer.java
2550         (address): Removed.
2551         (map_address): New member variable.
2552         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2553         (several methods): Use map_address instead of address, replaced long
2554         with RawData where appropriate.
2555         * gnu/java/nio/natFileChannelImpl.cc
2556         (nio_mmap_file): Replaced long with RawData.
2557         (nio_munmap_file): Replaced long with RawData.
2558         (nio_msync): Replaced long with RawData.
2559         * gnu/java/nio/natMappedByteFileBuffer.cc
2560         (several methods): Replaced long with RawData where appropriate.
2561
2562 2003-03-20  Michael Koch  <konqueror@gmx.de>
2563
2564         * java/net/InetAddress.java,
2565         java/net/JarURLConnection.java,
2566         java/net/PlainDatagramSocketImpl.java,
2567         java/net/PlainSocketImpl.java,
2568         java/net/URLConnection.java:
2569         Merged copyright statements with classpath for easier merging.
2570
2571 2003-03-20  Michael Koch  <konqueror@gmx.de>
2572
2573         * java/io/FileInputStream.java
2574         (getChannel): New implementation.
2575         * java/io/FileOutputStream.java
2576         (ch): New member variable.
2577         (getChannel): Implemented.
2578         * java/io/RandomAccessFile.java
2579         (RandomAccessFile): Throws FileNotFoundException instead of
2580         IOException.
2581         (getChannel): New method.
2582         (ch): New member variable.
2583
2584 2003-03-20  Michael Koch  <konqueror@gmx.de>
2585
2586         * java/io/DataOutputStream.java,
2587         java/io/File.java,
2588         java/io/FileInputStream.java,
2589         java/io/FileOutputStream.java,
2590         java/io/InputStreamReader.java,
2591         java/io/LineNumberReader.java,
2592         java/io/OutputStreamWriter.java,
2593         java/io/PrintStream.java,
2594         java/io/RandomAccessFile.java:
2595         Merged copyright statements with classpath for easier merging.
2596
2597 2003-03-19  Michael Koch  <konqueror@gmx.de>
2598
2599         * java/lang/Process.java:
2600         Merged from classpath.
2601
2602 2003-03-19  Michael Koch  <konqueror@gmx.de>
2603
2604         * java/io/FileOutputStream.java
2605         (FileOutputStream): New constructor, merged from classpath.
2606         * java/io/FileWriter.java
2607         (FileWriter): New constructor, merged from classpath.
2608
2609 2003-03-18  Michael Koch  <konqueror@gmx.de>
2610
2611         * java/awt/ScrollPane.java
2612         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2613         (getViewportSize): Likewise.
2614         (addNotify): Likewise.
2615         (removeNotify): Likewise.
2616         * java/awt/ScrollPaneAdjustable.java
2617         (ScrollPaneAdjustable): No longer extends Scrollbar.
2618         * java/beans/beancontext/BeanContextServices.java:
2619         Reformated.
2620         (getService): Added throws TooManyListenersException;
2621         * java/beans/beancontext/BeanContextServicesSupport.java:
2622         Reformated.
2623
2624 2003-03-18  Michael Koch  <konqueror@gmx.de>
2625
2626         * java/io/BufferedOutputStream.java,
2627         java/io/DataInput.java,
2628         java/io/DataInputStream.java,
2629         java/io/DataOutput.java,
2630         java/io/Externalizable.java:
2631         More merges from classpath.
2632
2633 2003-03-18  Michael Koch  <konqueror@gmx.de>
2634
2635         * configure.in: Fixed links to platform dependant java.net files.
2636         * configure: Regenerated.
2637         * java/net/natInetAddress.cc,
2638         java/net/natNetworkInterface.cc,
2639         java/net/natPlainDatagramSocketImpl.cc,
2640         java/net/natPlainSocketImpl.cc:
2641         Removed.
2642
2643 2003-03-18  Michael Koch  <konqueror@gmx.de>
2644
2645         * configure.in: Create links to architecture dependent files,
2646         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2647         * configure: Regenerated.
2648         * java/net/natInetAddressNoNet.cc,
2649         java/net/natInetAddressPosix.cc,
2650         java/net/natInetAddressWin32.cc,
2651         java/net/natNetworkInterfaceNoNet.cc,
2652         java/net/natNetworkInterfacePosix.cc,
2653         java/net/natNetworkInterfaceWin32.cc,
2654         java/net/natPlainDatagramSocketImplNoNet.cc,
2655         java/net/natPlainDatagramSocketImplPosix.cc,
2656         java/net/natPlainDatagramSocketImplWin32.cc,
2657         java/net/natPlainSocketImplNoNet.cc,
2658         java/net/natPlainSocketImplPosix.cc,
2659         java/net/natPlainSocketImplWin32.cc: New files.
2660
2661 2003-03-18  Michael Koch  <konqueror@gmx.de>
2662
2663         * java/io/BufferedReader.java,
2664         java/io/BufferedWriter.java,
2665         java/io/ByteArrayOutputStream.java,
2666         java/io/FileFilter.java,
2667         java/io/FilePermission.java,
2668         java/io/FileReader.java,
2669         java/io/FileWriter.java,
2670         java/io/FilenameFilter.java,
2671         java/io/FilterInputStream.java,
2672         java/io/FilterOutputStream.java,
2673         java/io/FilterReader.java,
2674         java/io/FilterWriter.java,
2675         java/io/ObjectInput.java,
2676         java/io/ObjectInputValidation.java,
2677         java/io/ObjectOutput.java,
2678         java/io/ObjectStreamField.java,
2679         java/io/PipedInputStream.java,
2680         java/io/PipedReader.java,
2681         java/io/PrintWriter.java,
2682         java/io/PushbackReader.java,
2683         java/io/Reader.java,
2684         java/io/SerializablePermission.java,
2685         java/io/StringReader.java,
2686         java/io/Writer.java:
2687         Merged from classpath.
2688
2689 2003-03-17  Michael Koch  <konqueror@gmx.de>
2690
2691         * java/awt/ScrollPaneAdjustable.java:
2692         Compile fixes.
2693         
2694 2003-03-17  Michael Koch  <konqueror@gmx.de>
2695
2696         * java/net/DatagramSocket.java
2697         (connect): Fixed comment.
2698         * java/nio/ByteBuffer.java
2699         (hasArray): Fixed comment.
2700
2701 2003-03-17  Michael Koch  <konqueror@gmx.de>
2702
2703         * java/beans/Beans.java:
2704         Explicitely import classes not packages.
2705         * java/beans/FeatureDescriptor.java
2706         (preferred): New member variable.
2707         (isPreferred): New method.
2708         (setPreferred): New method.
2709         * java/beans/PropertyEditorManager.java:
2710         Explicitely import used classes.
2711         * java/beans/beancontext/BeanContextChild.java:
2712         Added line wrapping.
2713         * java/beans/beancontext/BeanContextChildSupport.java:
2714         Reindented.
2715         * java/beans/beancontext/BeanContextEvent.java:
2716         Reindented.
2717
2718 2003-03-17  Michael Koch  <konqueror@gmx.de>
2719
2720         * java/awt/Dialog.java
2721         (Dialog): New constructor, changed implementations, added
2722         documentation.
2723         * java/awt/ScrollPaneAdjustable.java
2724         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2725         Serializable.
2726         (serialVersionUID): New member variable.
2727         (sp): New member variable.
2728         (orientation): New member variable.
2729         (value): New member variable.
2730         (minimum): New member variable.
2731         (maximum): New member variable.
2732         (visibleAmount): New member variable.
2733         (unitIncrement): New member variable.
2734         (blockIncrement): New member variable.
2735         (AdjustmentListener): New member variable.
2736         (ScrollPaneAdjustable): New implementation.
2737         (addAdjustmentListener): New method.
2738         (removeAdjustmentListener): New method.
2739         (getAdjustmentListeners): New method.
2740         (getBlockIncrement): New method.
2741         (getMaximum): New method.
2742         (getMinimum): New method.
2743         (getOrientation): New method.
2744         (getUnitIncrement): New method.
2745         (getValue): New method.
2746         (getVisibleAmount): New method.
2747         (setBlockIncrement): New method.
2748         (setMaximum): Implemented.
2749         (setMinimum): Implemented.
2750         (setUnitIncrement): New method.
2751         (setValue): New method.
2752         (setVisibleAmount): Implemented. 
2753         (paramString): New stubbed method.
2754         * java/awt/Window.java
2755         (show): Call setVisible().
2756         (hide): Call setVisible().
2757         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2758         and WINDOW_STATE_CHANGED.
2759         (processWindowFocusEvent): New method.
2760         (processWindowStateEvent): New method.
2761         (postEvent): Deprecated.
2762         (applyResourceBundle): Deprecated.
2763         * java/awt/datatransfer/DataFlavor.java
2764         (DataFlavor): Doesn't thow ClassNotFoundException.
2765
2766 2003-03-17  Michael Koch
2767
2768         * javax/print/attribute/Attribute.java,
2769         javax/print/attribute/AttributeSet.java,
2770         javax/print/attribute/PrintRequestAttributeSet.java:
2771         New files.
2772         * Makefile.am
2773         (javax_source_files): Added new files:
2774         javax/print/attribute/Attribute.java
2775         javax/print/attribute/AttributeSet.java
2776         javax/print/attribute/PrintRequestAttributeSet.java
2777         * Makefile.in: Regenerated.
2778
2779 2003-03-17  Michael Koch
2780
2781         * javax/print/attribute/Attribute.java,
2782         javax/print/attribute/AttributeSet.java,
2783         javax/print/attribute/PrintRequestAttributeSet.java:
2784         New files.
2785         * Makefile.am
2786         (awt_java_source_files): Added new files:
2787         javax/print/attribute/Attribute.java
2788         javax/print/attribute/AttributeSet.java
2789         javax/print/attribute/PrintRequestAttributeSet.java
2790         * Makefile.in: Regenerated.
2791
2792 2003-03-16  Tom Tromey  <tromey@redhat.com>
2793
2794         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2795         Include platform.h.
2796         * java/lang/natRuntime.cc (insertSystemProperties): Use
2797         _Jv_platform_path_separator.
2798         (nativeGetLibname): Use _Jv_platform_file_separator.
2799         (_load): Use _Jv_platform_onload_names.
2800         (onload_names): New global.
2801         * include/win32.h (_Jv_platform_file_separator): New define.
2802         (_Jv_platform_path_separator): Likewise.
2803         (_Jv_platform_onload_names): Likewise.
2804         (_Jv_platform_ffi_abi): Likewise.
2805         * include/posix.h (_Jv_platform_file_separator): New define.
2806         (_Jv_platform_path_separator): Likewise.
2807         (_Jv_platform_onload_names): Likewise.
2808         (_Jv_platform_ffi_abi): Likewise.
2809
2810 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2811
2812         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2813
2814 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2815
2816         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2817         hierarchy loop.
2818         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2819         list to Object,ObjectStreamClass, moved callReadMethod code up into
2820         readObject and added Class argument to all setXxxField calls.
2821         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2822         consistent with ObjectOutputStream and to facilitate caching the
2823         Method in the future.
2824         (setBooleanField): Added Class argument.
2825         (setByteField): Likewise.
2826         (setCharField): Likewise.
2827         (setDoubleField): Likewise.
2828         (setFloatField): Likewise.
2829         (setIntField): Likewise.
2830         (setLongField): Likewise.
2831         (setShortField): Likewise.
2832         (setObjectField): Likewise.
2833         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2834         class hierarchy loop.
2835         (defaultWriteObject): Call writeFields with new argument list.
2836         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2837         list to Object,ObjectStreamClass, moved callWriteMethod up into
2838         writeObject and added Class argument to all getXxxField calls.
2839         (callWriteMethod): Added ObjectStreamClass argument to be able to
2840         get the proper class to call getMethod on (each class can have (or
2841         not have) its own writeObject method).
2842         (getBooleanField): Added Class argument.
2843         (getByteField): Likewise.
2844         (getCharField): Likewise.
2845         (getDoubleField): Likewise.
2846         (getFloatField): Likewise.
2847         (getIntField): Likewise.
2848         (getLongField): Likewise.
2849         (getShortField): Likewise.
2850         (getObjectField): Likewise.
2851         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2852         facilitate caching the Method object in the future.
2853
2854 2003-03-12  Andreas Schwab  <schwab@suse.de>
2855
2856         * configure.in: Avoid trailing /. in toolexeclibdir.
2857         * configure: Rebuilt.
2858
2859 2003-03-11  Michael Koch  <konqueror@gmx.de>
2860
2861         * gnu/java/nio/ByteBufferImpl.java
2862         (putInt): Use limit() instead of limit.
2863         * gnu/java/nio/CharBufferImpl.java
2864         (slice): Fixed implementation.
2865         (subSequence): Better bounds checking.
2866         * gnu/java/nio/MappedByteFileBuffer.java:
2867         Import all needed classes directly.
2868         * java/nio/ByteBuffer.java
2869         (hashCode): New dummy method.
2870         * java/nio/CharBuffer.java
2871         (array_offset): New member variable.
2872         (hasArray): Fixed documentation.
2873         (arrayOffset): Return array_offset.
2874
2875 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2876
2877         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2878         setter; made return value of getter const char* instead of char*
2879         * prims.cc: removed all references to _Jv_ThisExecutable().
2880         These are in the platform-specific sections now.
2881         * posix.cc: define platform-specific _Jv_ThisExecutable().
2882         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2883         * win32.cc: define platform-specific _Jv_ThisExecutable()
2884         using GetModuleFilename()
2885         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2886         to argv[0] instead of _Jv_ThisExecutable()
2887
2888 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2889
2890         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2891         that is set if we are using addr2name.awk instead of addr2line.
2892         (NameFinder): Set usingAddr2name if using addr2name.awk.
2893         (getExternalLabel): New native method to convert a method 
2894         name to an external label.
2895         (lookup): Convert name given by addr2line to an external label
2896         before demangling.
2897
2898         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2899         constant representing the prefix attached to method names to
2900         convert them to an external label.
2901         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2902         using LABEL_PREFIX.
2903
2904 2003-03-10  Tom Tromey  <tromey@redhat.com>
2905
2906         * Makefile.in: Rebuilt.
2907         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2908         (JC1FLAGS): Removed -Wno-deprecated.
2909
2910 2003-03-10  Michael Koch  <konqueror@gmx.de>
2911
2912         * java/nio/ByteOrder.java
2913         (nativeOrder): Working implementation, added documentation.
2914         (toString): Added documentation.
2915
2916 2003-03-10  Michael Koch  <konqueror@gmx.de>
2917
2918         * java/net/DatagramSocket.java,
2919         java/net/MulticastSocket.java,
2920         java/net/Socket.java,
2921         java/net/URL.java,
2922         java/net/URLConnection.java:
2923         Fixed some documentation tags to make javadoc and friends happy.
2924
2925 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2926
2927         * java/beans/beancontext/BeanContextServicesSupport.java,
2928         java/beans/beancontext/BeanContextSupport.java: New files.
2929         * Makefile.am
2930         (awt_source_files): Added new files.
2931         * Makefile.in: Regenerated.
2932
2933 2003-03-10  Michael Koch  <konqueror@gmx.de>
2934
2935         * java/awt/FocusTraversalPolicy.java
2936         (FocusTraversalPolicy): Documentation added.
2937         (getComponentAfter): Documentation added.
2938         (getComponentBefore): Documentation added.
2939         (getFirstComponent): Documentation added.
2940         (getLastComponent): Documentation added.
2941         (getDefaultComponent): Documentation added.
2942         (getInitialComponent): Documentation added.
2943         * java/awt/ScrollPaneAdjustable.java
2944         (sp): New member variable.
2945         (orientation): New member variable.
2946         (value): New member variable.
2947         (minimum): New member variable.
2948         (maximum): New member variable.
2949         (visibleAmount): New member variable.
2950         (unitIncrement): New member variable.
2951         (blockIncrement): New member variable.
2952         (adjustmentListener): New member variable.
2953         (ScrollPaneAdjustable): Rewrote.
2954         (addAdjustmentListener): New method.
2955         (removeAdjustmentListener): New method.
2956         (getAdjustmentListeners): New method.
2957         (getBlockIncrement): New method.
2958         (getMaximum): New method.
2959         (getMinimum): New method.
2960         (getOrientation): New method.
2961         (getUnitIncrement): New method.
2962         (getValue): New method.
2963         (getVisibleAmount): New method.
2964         (setBlockIncrement): New method.
2965         (setUnitIncrement): New method.
2966         (setMaximum): Implemented.
2967         (setMinimum): Implemented.
2968         (setValue): New method.
2969         (setVisibleAmount): Implemented.
2970         (paramString): New method.
2971         * java/awt/Window.java
2972         (show): Use setVisible(true) instead of super.show().
2973         (hide): Use sevVisible(false) instead of super.hide().
2974         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2975         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2976         (postEvent): Deprecated.
2977         (applyResourceBundle): Deprecated.
2978         (processWindowFocusEvent): New method.
2979         (processWindowStateEvent): New method.
2980         * java/awt/datatransfer/DataFlavor.java: Reindented.
2981         * java/awt/font/TextHitInfo.java
2982         (charIndex): New member variable.
2983         (leadingEdge): New member variable.
2984         (TextHitInfo): New constructor.
2985         (getCharIndex): Implemented.
2986         (isLeadingEdge): Implemented.
2987         (getInsertionIndex): Implemented.
2988         (hashCode): Access charIndex directly.
2989         (equals): Reformated.
2990         (leading): Implemented.
2991         (trailing): Implemented.
2992         (beforeOffset): Implemented.
2993         (afterOffset): Implemented.
2994         (getOtherHit): Implemented.
2995         (getOffsetHit): Implemented.
2996         (toString): Implemented.
2997         * java/awt/image/BufferedImage.java
2998         (BufferedImage): Implements WritableRenderedImage.
2999         (observers): New member variable.
3000         (addTileObserver): New method.
3001         (removeTileObserver): New method.
3002
3003 2003-03-09  Tom Tromey  <tromey@redhat.com>
3004
3005         PR libgcj/9934:
3006         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3007         to lseek.  Return 0 if we can't compute the value.
3008
3009 2003-03-03  Michael Koch  <konqueror@gmx.de>
3010
3011         * java/net/NetworkInterface.java: Merged with classpath.
3012
3013 2003-03-03  Tom Tromey  <tromey@redhat.com>
3014
3015         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3016         of bytecode.
3017         (handle_ret_insn): Fail if returning to jsr that appears at end of
3018         bytecode.
3019
3020 2003-03-03  Michael Koch  <konqueror@gmx.de>
3021
3022         * Makefile.am
3023         (ordinary_java_source_files):
3024         Added gnu/java/nio/MappedByteFileBuffer.java.
3025         (nat_source_files):
3026         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3027         * Makefile.in: Regenerated.
3028
3029 2003-03-03  Michael Koch  <konqueror@gmx.de>
3030
3031         * java/net/DatagramSocket.java
3032         (connect): Merged comment from classpath.
3033         (receive): Merged documentation from classpath.
3034         * java/net/Socket.java
3035         (setSoTimeout): Clarified documentation.
3036         * java/net/URL.java
3037         (getPath): Merged from classpath.
3038         (getUserInfo): Merged from classpath.
3039         (getQuery): Merged from classpath.
3040         * java/net/URLStreamHandler.java
3041         (toExternalForm): Merged from classpath.
3042
3043 2003-03-02  Mark Wielaard  <mark@klomp.org>
3044
3045         * java/util/Properties.java (load): Only skip line if the first
3046         character is a comment, whitespaces don't count.
3047
3048 2003-03-02  Michael Koch  <konqueror@gmx.de>
3049
3050         * java/net/NetPermission.java:
3051         Merged copyright with classpath.
3052
3053 2003-03-02  Michael Koch  <konqueror@gmx.de>
3054
3055         * java/lang/Package.java:
3056         Remerged from classpath.
3057
3058 2003-03-02  Michael Koch  <konqueror@gmx.de>
3059
3060         * java/net/HttpURLConnection.java
3061         (HTTP_SERVER_ERROR): Deprecated.
3062         * java/net/MulticastSocket.java
3063         (send): Replaced checkMulticast with appropriate checkPermission call,
3064         deprecated.
3065         * java/net/URLDecoder.java
3066         (decode): Deprecated.
3067         * java/net/URLEncoder.java
3068         (encode): Deprecated.
3069
3070 2003-03-02  Michael Koch  <konqueror@gmx.de>
3071
3072         * javax/swing/text/Caret.java
3073         (getMagicCaretPosition): Fixed typo in method name.
3074         * javax/swing/text/DefaultCaret.java
3075         (getMagicCaretPosition): Fixed typo in method name.
3076
3077 2003-03-02  Michael Koch  <konqueror@gmx.de>
3078
3079         * java/awt/List.java
3080         (setMultipleSelections): Deprecated.
3081         (delItem): Deprecated.
3082         * java/awt/MenuComponent.java
3083         (getPeer): Deprecated.
3084         * java/awt/ScrollPane.java
3085         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3086         * java/awt/dnd/MouseDragGestureRecognizer.java
3087         (mouseClicked): Added comment.
3088         (mousePressed): Added comment.
3089         (mouseReleased): Added comment.
3090         (mouseEntered): Added comment.
3091         (mouseExited): Added comment.
3092         (mouseDragged): Added comment.
3093         (mouseMoved): Added comment.
3094         * java/awt/event/KeyEvent.java
3095         (KeyEvent): Deprecated.
3096         (setModifiers): Deprecated.
3097         
3098 2003-03-02  Michael Koch  <konqueror@gmx.de>
3099
3100         * gnu/java/nio/FileChannelImpl.java
3101         (fd): Type FileDescriptor instead of int.
3102         (lengthInternal): Removed.
3103         (FileChannelImpl): Fixed arguments, check type of file object.
3104         (size): Made it native.
3105         (implPosition): New native method.
3106         (implTruncate): New native method.
3107         (position): Implemented.
3108         (truncate): Implemented.
3109         (nio_mmap_file): Changed arguments.
3110         (nio_munmap_file): Changed arguments.
3111         (nio_msync): Changed arguments.
3112         * gnu/java/nio/natFileChannelImpl.cc
3113         (lengthInternal): Removed.
3114         (size): New method.
3115         (implPosition): New method.
3116         (implTruncate): New method.
3117         (nio_mmap_file): Changed arguments.
3118         (nio_munmap_file): Changed arguments.
3119         (nio_msync): Changed arguments.
3120
3121 2003-03-02  Michael Koch  <konqueror@gmx.de>
3122
3123         * java/awt/dnd/DropTargetContext.java:
3124         Compile fix: Forgot to commit import.
3125         
3126 2003-03-02  Michael Koch  <konqueror@gmx.de>
3127
3128         * java/awt/Component.java,
3129         java/awt/ScrollPane.java:
3130         Fixed typos.
3131
3132 2003-03-02  Michael Koch  <konqueror@gmx.de>
3133
3134         * java/awt/dnd/DnDEventMulticaster.java: New file.
3135         * java/awt/dnd/DragSource.java
3136         (flavorMap): New member variable.
3137         (dragSourceListener): New member variable.
3138         (dragSourceMotionListener): New member variable.
3139         (getFlavorMap): Implemented.
3140         (createDragGestureRecognizer): Implemented.
3141         (addDragSourceListener): Implemented.
3142         (removeDragSourceListener): Implemented.
3143         (getDragSourceListeners): Implemented.
3144         (addDragSourceMotionListener): Implemented.
3145         (removeDragSourceMotionListener): Implemented.
3146         (getDragSourceMotionListeners): Implemented.
3147         (getListeners): Implemented.
3148         * java/awt/dnd/DragSourceContext.java
3149         (peer): New member variable.
3150         (cursor): New member variable.
3151         (transferable): New member variable.
3152         (trigger): New member variable.
3153         (dragSourceListener): New member variable.
3154         (image): New member variable.
3155         (offset): New member variable.
3156         (DragSourceContext): Implemented.
3157         (getDragSource): Implemented.
3158         (getComponent): Implemented.
3159         (getTrigger): Implemented.
3160         (getSourceActions): Implemented.
3161         (setCursor): Implemented.
3162         (getCursor): Implemented.
3163         (addDragSourceListener): Implemented.
3164         (removeDragSourceListener): Implemented.
3165         (getTransferable): Implemented.
3166         * java/awt/dnd/DropTarget.java
3167         (DropTargetAutoScroller.component): New member variable.
3168         (DropTargetAutoScroller.point): New member variable.
3169         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3170         (DropTargetAutoScroller.updateLocation): Implemented.
3171         (active): Renamed from isActive, defaults to true now.
3172         (component): New member variable.
3173         (flavorMap): New member variable.
3174         (actions): New member variable.
3175         (dropTargetContext): New member variable.
3176         (dropTargetListener): New member variable.
3177         (DropTarget): Implemented.
3178         (getComponent): Implemented.
3179         (setComponent): Implemented.
3180         (setDefaultActions): Implemented.
3181         (getDefaultActions): Implemented.
3182         (setActive): Use active instead of isActive.
3183         (isActive): Use active instead of isActive.
3184         (addDropTargetListener): Implemented.
3185         (removeDropTargetListener): Implemented.
3186         (getFlavorMap): Implemented.
3187         (setFlavorMap): Implemented.
3188         (getDropTargetContext): Implemented.
3189         (createDropTargetContext): Implemented.
3190         (createDropTargetAutoScroller): Implemented.
3191         * java/awt/dnd/DropTargetContext.java
3192         (TransferableProxy.getTransferDataFlavors): Implemented.
3193         (TransferableProxy.isDataFlavorSupported): Implemented.
3194         (TransferableProxy.getTransferData): Implemented.
3195         (dropTarget):  New member variable.
3196         (dtcp): New member variable.
3197         (DropTargetContext): New package private constructor.
3198         (getDropTarget): Implemented.
3199         (getComponent): Implemented.
3200         (addNotify): Implemented.
3201         (removeNotify): Implemented.
3202         (getCurrentDataFlavorsAsList): Implemented.
3203         (isDataFlavorSupported): Implemented.
3204         * java/awt/dnd/MouseDragGestureRecognizer.java
3205         (registerListeners): Implemented.
3206         (unregisterListeners): Implemented.
3207         * Makefile.am
3208         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3209         * Makefile.in: Regenerated.
3210
3211 2003-03-02  Michael Koch  <konqueror@gmx.de>
3212
3213         * java/awt/Component.java
3214         (eventTypeEnabled): New method.
3215         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3216         * java/awt/Container.java
3217         (changeSupport): New member variable.
3218         (addPropertyChangeListener): New methods.
3219         * java/awt/ContainerOrderFocusTraversalPolicy.java
3220         (ContainerOrderFocusTraversalPolicy): Added comment.
3221         (getComponentAfter): Throw exception, documentation added.
3222         (getComponentBefore): Throw exception, documentation added.
3223         (getFirstComponent): Throw exception, documentation added.
3224         (getLastComponent): Throw exception, documentation added.
3225         (getDefaultComponent): Throw exception, documentation added.
3226         * java/awt/EventQueue.java: Reindented.
3227         * java/awt/FocusTraversalPolicy.java:
3228         (FocusTraversalPolicy): Added comment.
3229         (getComponentAfter): Documentation added.
3230         (getComponentBefore): Documentation added.
3231         (getFirstComponent): Documentation added.
3232         (getLastComponent): Documentation added.
3233         (getDefaultComponent): Documentation added.
3234         (getInitialComponent): Documentation added.
3235         * java/awt/ScrollPane.java
3236         (wheelScrollingEnabled): New member variable.
3237         (ScrollPane): Initialize wheelScollingEnabled.
3238         (eventTypeEnabled): New method.
3239         (isWheelScrollingEnabled): New method.
3240         (setWheelScrollingEnabled): New method.
3241
3242 2003-03-02  Michael Koch  <konqueror@gmx.de>
3243
3244         * java/net/DatagramSocket.java
3245         (closed): New member variable.
3246         (close): Use closed variable.
3247         (getInetAddress): No need to call isConnected().
3248         (getPort): No need to call isConnected().
3249         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3250         (isClosed): Reimplemented.
3251         
3252 2003-03-02  Michael Koch  <konqueror@gmx.de>
3253
3254         * configure.in: Added check for memory mapping of files.
3255         * configure: Regenerated.
3256         * config.h.in: Regenerated.
3257
3258 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3259
3260         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3261         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3262
3263 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3264
3265         * java/io/File.java (normalizePath): Remove trailing separator
3266         on Windows only if path is not of the form "x:\".
3267
3268         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3269         (java::io::File::attr): Change formatting a bit and use
3270         WIN32_EPOCH_MILLIS instead of magic numbers.
3271         (java::io::File::isAbsolute): Path must have at least 3 
3272         characters for a UNC network path.
3273         (java::io::File::init_native): Define.
3274         (java::io::File::performCreate): Likewise.
3275         (java::io::File::performSetReadOnly): Likewise.
3276         (java::io::File::performSetLastModified): Likewise.
3277         (java::io::File::performListRoots): Likewise.
3278
3279 2003-03-01  Tom Tromey  <tromey@redhat.com>
3280
3281         * java/lang/natObject.cc: Don't include assert.h.
3282         (heavy_lock_obj_finalization_proc): Use JvAssert.
3283         (remove_all_heavy): Likewise.
3284         (_Jv_MonitorEnter): Likewise.
3285         (_Jv_MonitorExit): Likewise.
3286         (wait): Likewise.
3287
3288 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3289
3290         * java/io/File (getAbsolutePath): Prefix drive specifier on
3291         Windows for paths starting with a '\'.
3292         (toURL): Make URL more consistent with what Sun's JDK returns.
3293
3294         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3295         true only if the path is a UNC network path or it starts with a
3296         drive specifier.
3297
3298         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3299         Be prepared to handle either '/' or '\\' in the file path for
3300         Windows if using the "file" protocol.
3301         Canonicalise the file path if using a relative path in the given
3302         context and the "file" protocol.
3303
3304 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3305
3306         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3307         program array element passed to CreateProcess.
3308
3309 2003-03-01  Tom Tromey  <tromey@redhat.com>
3310
3311         * java/rmi/registry/RegistryHandler.java: Deprecate.
3312
3313 2003-03-01  Tom Tromey  <tromey@redhat.com>
3314
3315         * javax/accessibility/AccessibleEditableText.java,
3316         javax/accessibility/AccessibleHyperlink.java: New versions from
3317         Classpath.
3318
3319         * gnu/java/locale/LocaleInformation_af_ZA.java,
3320         gnu/java/locale/LocaleInformation_ar_AE.java,
3321         gnu/java/locale/LocaleInformation_ar_BH.java,
3322         gnu/java/locale/LocaleInformation_ar_DZ.java,
3323         gnu/java/locale/LocaleInformation_ar_EG.java,
3324         gnu/java/locale/LocaleInformation_ar_IN.java,
3325         gnu/java/locale/LocaleInformation_ar_IQ.java,
3326         gnu/java/locale/LocaleInformation_ar_JO.java,
3327         gnu/java/locale/LocaleInformation_ar_KW.java,
3328         gnu/java/locale/LocaleInformation_ar_LB.java,
3329         gnu/java/locale/LocaleInformation_ar_LY.java,
3330         gnu/java/locale/LocaleInformation_ar_MA.java,
3331         gnu/java/locale/LocaleInformation_ar_OM.java,
3332         gnu/java/locale/LocaleInformation_ar_QA.java,
3333         gnu/java/locale/LocaleInformation_ar_SD.java,
3334         gnu/java/locale/LocaleInformation_ar_SY.java,
3335         gnu/java/locale/LocaleInformation_ar_TN.java,
3336         gnu/java/locale/LocaleInformation_ar_YE.java,
3337         gnu/java/locale/LocaleInformation_be_BY.java,
3338         gnu/java/locale/LocaleInformation_bn_IN.java,
3339         gnu/java/locale/LocaleInformation_br_FR.java,
3340         gnu/java/locale/LocaleInformation_bs_BA.java,
3341         gnu/java/locale/LocaleInformation_ca_ES.java,
3342         gnu/java/locale/LocaleInformation_cs_CZ.java,
3343         gnu/java/locale/LocaleInformation_cy_GB.java,
3344         gnu/java/locale/LocaleInformation_da_DK.java,
3345         gnu/java/locale/LocaleInformation_de_AT.java,
3346         gnu/java/locale/LocaleInformation_de_BE.java,
3347         gnu/java/locale/LocaleInformation_de_CH.java,
3348         gnu/java/locale/LocaleInformation_de_DE.java,
3349         gnu/java/locale/LocaleInformation_de_LU.java,
3350         gnu/java/locale/LocaleInformation_el_GR.java,
3351         gnu/java/locale/LocaleInformation_en_AU.java,
3352         gnu/java/locale/LocaleInformation_en_BW.java,
3353         gnu/java/locale/LocaleInformation_en_CA.java,
3354         gnu/java/locale/LocaleInformation_en_DK.java,
3355         gnu/java/locale/LocaleInformation_en_GB.java,
3356         gnu/java/locale/LocaleInformation_en_HK.java,
3357         gnu/java/locale/LocaleInformation_en_IE.java,
3358         gnu/java/locale/LocaleInformation_en_IN.java,
3359         gnu/java/locale/LocaleInformation_en_NZ.java,
3360         gnu/java/locale/LocaleInformation_en_PH.java,
3361         gnu/java/locale/LocaleInformation_en_SG.java,
3362         gnu/java/locale/LocaleInformation_en_US.java,
3363         gnu/java/locale/LocaleInformation_en_ZA.java,
3364         gnu/java/locale/LocaleInformation_en_ZW.java,
3365         gnu/java/locale/LocaleInformation_es_AR.java,
3366         gnu/java/locale/LocaleInformation_es_BO.java,
3367         gnu/java/locale/LocaleInformation_es_CL.java,
3368         gnu/java/locale/LocaleInformation_es_CO.java,
3369         gnu/java/locale/LocaleInformation_es_CR.java,
3370         gnu/java/locale/LocaleInformation_es_DO.java,
3371         gnu/java/locale/LocaleInformation_es_EC.java,
3372         gnu/java/locale/LocaleInformation_es_ES.java,
3373         gnu/java/locale/LocaleInformation_es_GT.java,
3374         gnu/java/locale/LocaleInformation_es_HN.java,
3375         gnu/java/locale/LocaleInformation_es_MX.java,
3376         gnu/java/locale/LocaleInformation_es_NI.java,
3377         gnu/java/locale/LocaleInformation_es_PA.java,
3378         gnu/java/locale/LocaleInformation_es_PE.java,
3379         gnu/java/locale/LocaleInformation_es_PR.java,
3380         gnu/java/locale/LocaleInformation_es_PY.java,
3381         gnu/java/locale/LocaleInformation_es_SV.java,
3382         gnu/java/locale/LocaleInformation_es_US.java,
3383         gnu/java/locale/LocaleInformation_es_UY.java,
3384         gnu/java/locale/LocaleInformation_es_VE.java,
3385         gnu/java/locale/LocaleInformation_et_EE.java,
3386         gnu/java/locale/LocaleInformation_eu_ES.java,
3387         gnu/java/locale/LocaleInformation_fa_IR.java,
3388         gnu/java/locale/LocaleInformation_fi_FI.java,
3389         gnu/java/locale/LocaleInformation_fo_FO.java,
3390         gnu/java/locale/LocaleInformation_fr_BE.java,
3391         gnu/java/locale/LocaleInformation_fr_CA.java,
3392         gnu/java/locale/LocaleInformation_fr_CH.java,
3393         gnu/java/locale/LocaleInformation_fr_FR.java,
3394         gnu/java/locale/LocaleInformation_fr_LU.java,
3395         gnu/java/locale/LocaleInformation_ga_IE.java,
3396         gnu/java/locale/LocaleInformation_gd_GB.java,
3397         gnu/java/locale/LocaleInformation_gl_ES.java,
3398         gnu/java/locale/LocaleInformation_gv_GB.java,
3399         gnu/java/locale/LocaleInformation_he_IL.java,
3400         gnu/java/locale/LocaleInformation_hi_IN.java,
3401         gnu/java/locale/LocaleInformation_hr_HR.java,
3402         gnu/java/locale/LocaleInformation_hu_HU.java,
3403         gnu/java/locale/LocaleInformation_id_ID.java,
3404         gnu/java/locale/LocaleInformation_it_CH.java,
3405         gnu/java/locale/LocaleInformation_it_IT.java,
3406         gnu/java/locale/LocaleInformation_iw_IL.java,
3407         gnu/java/locale/LocaleInformation_ja_JP.java,
3408         gnu/java/locale/LocaleInformation_ka_GE.java,
3409         gnu/java/locale/LocaleInformation_kl_GL.java,
3410         gnu/java/locale/LocaleInformation_ko_KR.java,
3411         gnu/java/locale/LocaleInformation_kw_GB.java,
3412         gnu/java/locale/LocaleInformation_lt_LT.java,
3413         gnu/java/locale/LocaleInformation_lv_LV.java,
3414         gnu/java/locale/LocaleInformation_mi_NZ.java,
3415         gnu/java/locale/LocaleInformation_mk_MK.java,
3416         gnu/java/locale/LocaleInformation_mr_IN.java,
3417         gnu/java/locale/LocaleInformation_mt_MT.java,
3418         gnu/java/locale/LocaleInformation_nl_BE.java,
3419         gnu/java/locale/LocaleInformation_nl_NL.java,
3420         gnu/java/locale/LocaleInformation_nn_NO.java,
3421         gnu/java/locale/LocaleInformation_no_NO.java,
3422         gnu/java/locale/LocaleInformation_oc_FR.java,
3423         gnu/java/locale/LocaleInformation_pl_PL.java,
3424         gnu/java/locale/LocaleInformation_pt_BR.java,
3425         gnu/java/locale/LocaleInformation_pt_PT.java,
3426         gnu/java/locale/LocaleInformation_ro_RO.java,
3427         gnu/java/locale/LocaleInformation_ru_RU.java,
3428         gnu/java/locale/LocaleInformation_ru_UA.java,
3429         gnu/java/locale/LocaleInformation_se_NO.java,
3430         gnu/java/locale/LocaleInformation_sk_SK.java,
3431         gnu/java/locale/LocaleInformation_sl_SI.java,
3432         gnu/java/locale/LocaleInformation_sq_AL.java,
3433         gnu/java/locale/LocaleInformation_sr_YU.java,
3434         gnu/java/locale/LocaleInformation_sv_FI.java,
3435         gnu/java/locale/LocaleInformation_sv_SE.java,
3436         gnu/java/locale/LocaleInformation_ta_IN.java,
3437         gnu/java/locale/LocaleInformation_te_IN.java,
3438         gnu/java/locale/LocaleInformation_tg_TJ.java,
3439         gnu/java/locale/LocaleInformation_tl_PH.java,
3440         gnu/java/locale/LocaleInformation_tr_TR.java,
3441         gnu/java/locale/LocaleInformation_uk_UA.java,
3442         gnu/java/locale/LocaleInformation_ur_PK.java,
3443         gnu/java/locale/LocaleInformation_uz_UZ.java,
3444         gnu/java/locale/LocaleInformation_vi_VN.java,
3445         gnu/java/locale/LocaleInformation_yi_US.java,
3446         gnu/java/locale/LocaleInformation_zh_CN.java,
3447         gnu/java/locale/LocaleInformation_zh_HK.java,
3448         gnu/java/locale/LocaleInformation_zh_SG.java,
3449         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3450         info; from Classpath.
3451
3452         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3453         isPaintPending): New methods.
3454         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3455         setMaximizedBounds): New methods.
3456         (beginLayout, endLayout, isPaintPending): Likewise.
3457         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3458         (requestFocus): Likewise.
3459         (isObscured): Likewise.
3460         (canDetermineObscurity): Likewise.
3461         (coalescePaintEvent): Likewise.
3462         (updateCursorImmediately): Likewise.
3463         (createVolatileImage): Likewise.
3464         (handlesWheelScrolling): Likewise.
3465         (createBuffers): Likewise.
3466         (getBackBuffer): Likewise.
3467         (flip): Likewise.
3468         (destroyBuffers): Likewise.
3469
3470         * Makefile.in: Rebuilt.
3471         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3472         RobotPeer.java.
3473         * gnu/java/awt/GLightweightPeer.java,
3474         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3475         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3476         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3477         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3478         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3479         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3480         java/awt/dnd/peer/DragSourceContextPeer.java,
3481         java/awt/dnd/peer/DropTargetContextPeer.java,
3482         java/awt/peer/ButtonPeer.java,
3483         java/awt/peer/CheckboxMenuItemPeer.java,
3484         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3485         java/awt/peer/ComponentPeer.java,
3486         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3487         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3488         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3489         java/awt/peer/MenuBarPeer.java,
3490         java/awt/peer/MenuComponentPeer.java,
3491         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3492         java/awt/peer/PopupMenuPeer.java,
3493         java/awt/peer/ScrollPanePeer.java,
3494         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3495         java/awt/peer/TextComponentPeer.java,
3496         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3497         New versions from Classpath.
3498         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3499         * java/awt/peer/RobotPeer.java: Likewise.
3500
3501 2003-03-01  Mark Wielaard  <mark@klomp.org>
3502
3503         * java/io/ObjectInputStream.java: Reindent.
3504         * java/io/ObjectOutputStream.java: Likewise.
3505
3506 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3507
3508         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3509         jvalue for each argument. Simplify.
3510         * testsuite/libjava.jni/calls.c (docall),
3511         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3512         misalignment.
3513
3514 2003-02-28  Mark Wielaard  <mark@klomp.org>
3515
3516         * Makefile.am (nat_source_files): Remove
3517         java/io/natObjectOutputStream.cc.
3518         * Makefile.in: Regenerated.
3519         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3520         * java/io/ObjectStreamField.java (typename): New field.
3521         (ObjectStreamField(String, Class)): Initialize new field.
3522         (ObjectStreamField(String, String)): New Constructor.
3523         (getTypeCode): Use new field.
3524         (getTypeString): Use new field.
3525         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3526         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3527         Handle reading of Proxy classes. Never drain(), just write
3528         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3529         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3530         (flush): Call flush(), not just drain().
3531         (writeBoolean): Always use blockDataOutput.
3532         (writeByte): Likewise.
3533         (writeShort): Likewise.
3534         (writeChar): Likewise.
3535         (writeInt): Likewise.
3536         (writeLong): Likewise.
3537         (writeFloat): Likewise.
3538         (writeDouble): Likewise.
3539         (writeBytes): Likewise.
3540         (putfield (put(String,Object))): Throw IllegalArgumentException if
3541         field cannot be found.
3542         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3543         (writeArraySizeAndElements): Write byte[] in one go.
3544         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3545         set BlockDataMode to false.
3546         (annotateProxyClass): New method.
3547         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3548         (getField): No longer native.
3549         (getMethod): Likewise.
3550         (setBlockDataMode): Always drain() on switch, return old mode.
3551         (static): New static code block.
3552         * java/io/natObjectOutputStream.cc: Removed.
3553         * java/io/ObjectInputStream.java (getField): No longer native.
3554         (getMethod): Likewise.
3555         (readObject): Remember and reset old BlockDataMode. Track whether
3556         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3557         TC_LONGSTRING.
3558         (defaultReadObject): Set BlockDataMode to false during readFields.
3559         (resolveClass): Create new SecurityManager if necessary.
3560         Use Class.forName() if null ClassLoader found.
3561         (read(byte[],int,int): Copy remaining bytes to data before calling
3562         readNextBlock().
3563         (readFields): Set and reset BlockDataMode on call_read_method.
3564         Catch NoSuchFieldErrors.
3565         (setBlockDataMode): Return old mode.
3566         (static): New static code block.
3567         * java/io/natObjectInputStream.cc (getField): Removed.
3568         (getMethod): Likewise.
3569
3570 2003-02-27  Michael Koch  <konqueror@gmx.de>
3571
3572         * java/beans/Beans.java,
3573         java/beans/FeatureDescriptor.java
3574         java/beans/PropertyEditorManager.java:
3575         Reformated to GNU style.
3576
3577 2003-02-25  Michael Koch  <konqueror@gmx.de>
3578
3579         * gnu/java/nio/MappedByteFileBuffer.java,
3580         gnu/java/nio/natMappedByteFileBuffer.cc:
3581         New files, both are not compiled yet to get not noncompiling CVS.
3582
3583 2003-02-24  Tom Tromey  <tromey@redhat.com>
3584
3585         * java/util/prefs/AbstractPreferences.java (isUserNode):
3586         Implemented.
3587
3588 2003-02-24  Tom Tromey  <tromey@redhat.com>
3589
3590         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3591         Deprecate.
3592         * java/lang/Thread.java (resume): Deprecate.
3593         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3594         in @deprecated.
3595
3596 2003-02-23  Tom Tromey  <tromey@redhat.com>
3597
3598         * Makefile.in: Rebuilt.
3599         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3600
3601 2003-02-23  Tom Tromey  <tromey@redhat.com>
3602
3603         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3604         libraries): Removed.
3605         (add_library): Removed.
3606         (_load): Don't call add_library.
3607         (loadLibraryInternal): Likewise.
3608         (init): Likewise.
3609         (lookup_data): New struct.
3610         (find_symbol): New function.
3611         (_Jv_FindSymbolInExecutable): Use it.
3612
3613 2002-02-21  Anthony Green  <green@redhat.com>
3614
3615         * java/lang/Thread.java (Thread): New constructor taking stack
3616         size parameter (ignored for now).
3617         * Many methods: Merged GNU Classpath documentation.
3618
3619         * java/lang/Class.java (finalize): throws a Throwable.
3620
3621 2003-02-21  Mark Wielaard  <mark@klomp.org>
3622
3623         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3624         argument is null.
3625
3626 2003-02-21  Mark Wielaard  <mark@klomp.org>
3627
3628         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3629         then 65535 chars throw IllegalArgumentException.
3630
3631 2003-02-21  Mark Wielaard  <mark@klomp.org>
3632
3633         * java/util/zip/ZipFile.java (finalize): New method.
3634
3635 2003-02-21  Michael Koch  <konqueror@gmx.de>
3636
3637         * gnu/java/nio/natSocketChannelImpl.cc:
3638         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3639         <cato@df.lth.se> for pointing to it.
3640
3641 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3642
3643         * java/math/BigInteger.java (euclidInv): Take result array as an
3644         argument.  Updated all callers.
3645         (modInverse): Removed unused variables.
3646
3647 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3648
3649         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3650         config.status.
3651         * configure: Rebuilt.
3652
3653 2003-02-19  Michael Koch  <konqueror@gmx.de>
3654
3655         * gnu/java/nio/natSocketChannelImpl.cc:
3656         Added support for platforms without network support.
3657
3658 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3659
3660         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3661         after config.h.  Use <> for consistency.
3662         * java/lang/natObject.cc: Likewise.
3663         * java/lang/natRuntime.cc: Likewise.
3664         * java/lang/natSystem.cc: Likewise.
3665         * java/util/natTimeZone.cc: Likewise.
3666         * win32.cc: Likewise.
3667         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3668         listen, write, read): Undef to avoid interference from OS macros.
3669
3670 2003-02-19  Michael Koch  <konqueror@gmx.de>
3671
3672         * gnu/java/nio/ByteBufferImpl.java
3673         (ByteBufferImpl): Renamed two variables.
3674         * gnu/java/nio/CharBufferImpl.java
3675         (CharBufferImpl): Renamed two variables.
3676         * gnu/java/nio/DoubleBufferImpl.java
3677         (DoubleBufferImpl): Renamed two variables.
3678         * gnu/java/nio/FloatBufferImpl.java
3679         (FloatBufferImpl): Renamed two variables.
3680         * gnu/java/nio/IntBufferImpl.java
3681         (IntBufferImpl): Renamed two variables.
3682         * gnu/java/nio/LongBufferImpl.java
3683         (LongBufferImpl): Renamed two variables.
3684         * gnu/java/nio/ShortBufferImpl.java
3685         (ShortBufferImpl): Renamed two variables.
3686         * java/nio/CharBuffer.java
3687         (wrap): Fixed arguments to CharBufferImpl constructor.
3688         (hasArray): Only not read-only buffers have backing arrays.
3689         (length): Documentation added.
3690         (subSequence): Documentation added.
3691         * java/nio/DoubleBuffer.java
3692         (hasArray): Only not read-only buffers have backing arrays.
3693         * java/nio/FloatBuffer.java
3694         (hasArray): Only not read-only buffers have backing arrays.
3695         * java/nio/IntBuffer.java
3696         (hasArray): Only not read-only buffers have backing arrays.
3697         * java/nio/LongBuffer.java
3698         (hasArray): Only not read-only buffers have backing arrays.
3699         * java/nio/ShortBuffer.java
3700         (hasArray): Only not read-only buffers have backing arrays.
3701         
3702 2003-02-19  Michael Koch  <konqueror@gmx.de>
3703
3704         * javax/accessibility/AccessibleContext.java
3705         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3706
3707 2003-02-19  Michael Koch  <konqueror@gmx.de>
3708
3709         * java/awt/ScrollPaneAdjustable.java: Reformated.
3710
3711 2003-02-19  Michael Koch <konqueror@gmx.de>
3712
3713         * gnu/awt/j2d/Graphics2DImpl.java
3714         (getFontRenderContext): New method.
3715         (drawGlyphVector): New method.
3716         * java/awt/Graphics2D.java
3717         (getFontRenderContext): New abstract method.
3718         (drawGlyphVector): New abstract method.
3719         
3720 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3721
3722         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3723         if necessary.
3724         
3725         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3726         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3727         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3728         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3729         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3730         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3731         (setFont, gtkSetFont): add.
3732         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3733         Propagate font to peer.  (setFont): add FIXME comment.
3734
3735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3736         (gtkTextGetSize): fix height, width computation.
3737
3738         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3739         Make X font name a bit less bogus.
3740
3741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3742         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3743
3744         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3745         (processAdjustmentEvent): Adjust value.
3746
3747         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3748         logic errors.
3749
3750         * java/awt/Component.java (setVisible, show, hide): Call show and
3751         hide methods in subclasses.
3752         (getPreferredSize): don't set prefSize before we have peer.
3753
3754         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3755         Guess (0,0) if we don't have peer.
3756
3757
3758 2003-02-18  Michael Koch  <konqueror@gmx.de>
3759
3760         * java/nio/channels/FileChannel.java
3761         (toString): New implementation, added documentation.
3762         (map): Added exception documentation.
3763         (size): Added exception documentation.
3764         (write): New methods, documentation work.
3765         (read): New methods, documentation work.
3766         (implCloseChannel): Rewrote exception documentation.
3767         (force): Throws IOException, added documentation.
3768         (lock): New methods.
3769         (tryLock): New methods.
3770         (position): New methods.
3771         (transferTo): New method.
3772         (transferFrom): New method.
3773         (truncate): New method.
3774         * java/nio/channels/spi/SelectorProvider.java
3775         (provider): Implemented.
3776         * Makefile.am
3777         (ordinary_java_source_files): Added the following files:
3778         gnu/java/nio/DatagramChannelImpl.java
3779         gnu/java/nio/FileChannelImpl.java
3780         gnu/java/nio/PipeImpl.java
3781         gnu/java/nio/SelectionKeyImpl.java
3782         gnu/java/nio/SelectorImpl.java
3783         gnu/java/nio/SelectorProviderImpl.java
3784         gnu/java/nio/ServerSocketChannelImpl.java
3785         gnu/java/nio/SocketChannelImpl.java
3786         java/nio/channels/FileLock.java
3787         (nat_java_source_files): Added the following files:
3788         gnu/java/nio/natFileChannelImpl.cc
3789         gnu/java/nio/natSelectorImpl.cc
3790         gnu/java/nio/natSocketChannelImpl.cc
3791         * Makefile.in: Regenerated.
3792
3793 2003-02-17  Tom Tromey  <tromey@redhat.com>
3794
3795         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3796         * java/awt/image/ImageFilter.java: Likewise.
3797
3798 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3799
3800         * java/math/BigInteger.java (euclidInv): Return array of
3801         `BigInteger's.  Changed all callers.
3802
3803 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3804
3805         * java/util/Properties.java (store): Move the code formerly in
3806         list(), into this method.
3807         (list (PrintStream)): Just call list (PrintWriter) with a 
3808         PrintWriter object constructed from the given PrintStream object.
3809         (list (PrintWriter)): Emulate the output of Properties.list()
3810         as found in JDK 1.3/1.4.
3811
3812 2003-02-17  Michael Koch  <konqueror@gmx.de>
3813
3814         * java/net/DatagramSocket.java
3815         (connect): Merged with classpath.
3816         (disconnect): Merged documentation with classpath.
3817         (receice): Merged documentation with classpath.
3818         (send): Merged documentation with classpath.
3819         
3820 2003-02-17  Michael Koch  <konqueror@gmx.de>
3821
3822         * java/awt/dnd/DragSourceContext.java
3823         (addDragSourceListener): Added documentation.
3824         * java/awt/dnd/DragSourceDragEvent.java
3825         (serialVersionUID): New member variable.
3826         (getDropAction): Reformated.
3827         * java/awt/dnd/DragSourceDropEvent.java
3828         (serialVersionUID): New member variable.
3829         (dropSuccess): Renamed from success for serialization issues.
3830         * java/awt/dnd/DragSourceEvent.java
3831         (serialVersionUID): New member variable.
3832         * java/awt/dnd/DropTarget.java
3833         (serialVersionUID): New member variable.
3834         (DropTarget): Implemented, documentation reworked.
3835         (setComponent): Documentation added.
3836         (getComponent): Documentation added.
3837         (setDefaultActions): Documentation added.
3838         (getDefaultActions): Documentation added.
3839         (addDropTargetListener): Documentation added.
3840         * java/awt/dnd/DropTargetContext.java
3841         (DropTargetContext): Documentation added.
3842         (TransferableProxy.TransferableProxy): New method.
3843         (dropComplete): Fixed documentation.
3844         (getTransferable): Fixed documentation.
3845         (createTransferableProxy): Implemented.
3846         * java/awt/dnd/DropTargetDragEvent.java
3847         (DropTargetDragEvent): Documentation added.
3848         (serialVersionUID): New member variable.
3849         (DropTargetDragEvent): Throw exceptions, documentation added.
3850         (acceptDrag): Implemented.
3851         (getCurrentDataFlavors): Implemented.3yy
3852         (getCurrentDataFlavorsAsList): Implemented.
3853         (isDataFlavorSupported): Implemented.
3854         (rejectDrag): Implemented.
3855         * java/awt/dnd/DropTargetDropEvent.java
3856         (DropTargetDropEvent): Documentation added.
3857         (serialVersionUID): New member variable.
3858         (actions): Renamed from srcActions for serialization issues.
3859         (isLocalTx): Renamed from isLocalTx for serialization issues.
3860         (DropTargetDropEvent): New implementation, throw exceptions,
3861         documentation added.
3862         (getCurrentDataFlavors): Implemented.
3863         (getCurrentDataFlavorsAsList): Implemented.
3864         (isDataFlavorSupported): Implemented.
3865         (getSourceActions): Implemented.
3866         (getDropAction): Implemented.
3867         (getTransferable): Implemented.
3868         (acceptDrop): Implemented.
3869         (rejectDrop): Implemented.
3870         * java/awt/dnd/DropTargetListener.java
3871         (drop): Fixed documentation.
3872         * java/awt/dnd/MouseDragGestureRecognizer.java
3873         (MouseDragGestureRecognizer): Documentation added.
3874
3875 2003-02-17  Michael Koch  <konqueror@gmx.de>
3876
3877         * java/awt/font/FontRenderContext.java,
3878         java/awt/font/ShapeGraphicAttribute.java,
3879         java/awt/font/MultipleMaster.java,
3880         java/awt/font/TransformAttribute.java,
3881         java/awt/font/GlyphJustificationInfo.java,
3882         java/awt/font/LineBreakMeasurer.java,
3883         java/awt/font/TextMeasurer.java,
3884         java/awt/font/TextLayout.java,
3885         java/awt/font/LineMetrics.java,
3886         java/awt/font/TextAttribute.java,
3887         java/awt/font/GlyphMetrics.java,
3888         java/awt/font/OpenType.java,
3889         java/awt/font/GlyphVector.java,
3890         java/awt/font/GraphicAttribute.java,
3891         java/awt/font/ImageGraphicAttribute.java,
3892         java/awt/font/NumericShaper.java: New files.
3893         * Makefile.am
3894         (awt_java_source_files): Added the following files:
3895         java/awt/font/FontRenderContext.java
3896         java/awt/font/ShapeGraphicAttribute.java
3897         java/awt/font/MultipleMaster.java
3898         java/awt/font/TransformAttribute.java
3899         java/awt/font/GlyphJustificationInfo.java
3900         java/awt/font/LineBreakMeasurer.java
3901         java/awt/font/TextMeasurer.java
3902         java/awt/font/TextLayout.java
3903         java/awt/font/LineMetrics.java
3904         java/awt/font/TextAttribute.java
3905         java/awt/font/GlyphMetrics.java
3906         java/awt/font/OpenType.java
3907         java/awt/font/GlyphVector.java
3908         java/awt/font/GraphicAttribute.java
3909         java/awt/font/ImageGraphicAttribute.java
3910         java/awt/font/NumericShaper.java
3911         * Makefile.in: Regenerated.
3912
3913 2003-02-17  Michael Koch  <konqueror@gmx.de>
3914
3915         * java/awt/print/Paper.java
3916         (Paper): Implements Cloneable.
3917         * java/awt/print/PrinterJob.java
3918         (setJobName): Return value must be void.
3919         (print): Throws PrinterException.
3920         
3921 2003-02-16  Tom Tromey  <tromey@redhat.com>
3922
3923         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3924         variable.
3925
3926 2003-02-15  Michael Koch  <konqueror@gmx.de>
3927
3928         * java/awt/datatransfer/DataFlavor.java
3929         (isRepresentationClassByteBuffer): Removed try-catch block.
3930         (isRepresentationClassCharBuffer): Removed try-catch block.
3931         (isRepresentationClassReader): Removed try-catch block.
3932
3933 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3934
3935         * java/nio/charset/Charset.java
3936         (isRegistered): Fixed method args and implementation.
3937         * java/nio/charset/CharsetEncoder.java
3938         (unmappableCharacterAction): New method.
3939
3940 2003-02-15  Michael Koch  <konqueror@gmx.de>
3941
3942         * java/awt/CheckboxMenuItem.java
3943         (CheckBoxMenuItem): Dont implement Serializable.
3944         (getListeners): New method,
3945         (getItemListeners): New method.
3946         * java/awt/Choice.java
3947         (getListeners): New method,
3948         (getItemListeners): New method.
3949         * java/awt/Container.java
3950         (getListeners): Added exception documentation.
3951         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3952         (getFocusTraversalKeys): Added documentation.
3953         (areFocusTraversalKeysSet): Added documentation.
3954         (applyComponentOrientation): Added documentation.
3955         * java/awt/ContainerOrderFocusTraversalPolicy.java
3956         (implicitDownCycleTraversal): Renamed from downCycle for
3957         serialization.
3958         (ContainerOrderFocusTraversalPolicy): Added documentation.
3959         (accept): Reformated.
3960         * java/awt/Dialog.java
3961         (Dialog): Dont implement Serializable.
3962         (Dialog): Added documentation.
3963         * java/awt/Font.java
3964         (Font): Dont use absolute class name.
3965         * java/awt/Frame.java
3966         (Frame): Font implement Serializable.
3967         * java/awt/List.java
3968         (getListeners): New method,
3969         (getActionListeners): New method.       
3970         (getItemListeners): New method.
3971         * java/awt/Menu.java
3972         (countItems): New deprecated method.
3973         * java/awt/Scrollbar.java
3974         (getListeners): New method,
3975         (getAdjustmentListeners): New method,
3976         * java/awt/TextComponent.java
3977         (getListeners): New method,
3978         (getTextListeners): New method,
3979         * java/awt/TextField.java
3980         (getListeners): New method,
3981         (getActionListeners): New method.       
3982         * java/awt/Window.java
3983         (windowFocusListener): New member variable.
3984         (windowStateListener): New member variable.
3985         (getWindowFocusListeners): New method.
3986         (getWindowStateListeners): New method.
3987         (addWindowFocusListener): New method.
3988         (addWindowStateListener): New method.
3989         (removeWindowFocusListener): New method.
3990         (removeWindowStateListener): New method.
3991         * java/awt/datatransfer/DataFlavor.java
3992         (isRepresentationClassByteBuffer): New method.
3993         (isRepresentationClassCharBuffer): New method.
3994         (isRepresentationClassReader): New method.
3995
3996 2003-02-14  Mark Wielaard  <mark@klomp.org>
3997
3998         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3999         zero when there is an exponent and the significant is zero.
4000         (divide): Always set scale to newScale even in special ZERO case.
4001
4002 2003-02-14  Tom Tromey  <tromey@redhat.com>
4003
4004         * java/lang/System.java (properties): Use Properties.clone.
4005         (setProperties): Likewise.
4006
4007 2003-02-14  Michael Koch  <konqueror@gmx.de>
4008
4009         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4010         * gnu/java/nio/ServerSocketChannelImpl.java
4011         (SocketAccept): Removed.
4012         (accept): Commented out use of SocketAccept.
4013
4014 2003-02-13  Tom Tromey  <tromey@redhat.com>
4015
4016         * verify.cc (state::seen_subrs): New field.
4017         (state::state): Initialize it.
4018         (state::clean_subrs): New method.
4019         (state::~state): Call it.
4020         (state::copy): Copy subroutine list.
4021         (state::add_subr): New method.
4022         (state::merge): Only register a change if the current subroutine
4023         hasn't yet been noted.
4024
4025 2003-02-13  Mark Wielaard  <mark@klomp.org>
4026
4027         * java/io/InputStreamReader.java (getEncoding): Return null when
4028         closed.
4029         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4030
4031 2003-02-13  Mark Wielaard  <mark@klomp.org>
4032  
4033         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4034         is zero.
4035
4036 2003-02-13  Mark Wielaard  <mark@klomp.org>
4037
4038         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4039         next byte cannot be buffered.
4040
4041 2003-02-13  Michael Koch  <konqueror@gmx.de>
4042  
4043         * java/awt/Label.java
4044         (Label): Don't implement Serializable directly.
4045         (addNotify): Fixed typo in documentation.
4046         * java/awt/List.java
4047         (List): Don't implement Serializable directly.
4048         * java/awt/PopupMenu.java
4049         (PopupMenu): Don't implement Serializable directly.
4050         * java/awt/ScrollPane.java
4051         (ScrollPane): Don't implement Serializable directly.
4052         * java/awt/Scrollbar.java
4053         (Scrollbar): Don't implement Serializable directly.
4054         * java/awt/TextArea.java
4055         (preferredSize): Fixed method arguments.
4056         * java/awt/TextField.java
4057         (TextField): Don't implement Serializable directly.
4058         * java/awt/color/ICC_ColorSpace.java
4059         (fromCIOXYZ): Documentation added.
4060         (getMinValue): Documentation added.
4061         (getMaxValue): Documentation added.
4062         * java/awt/datatransfer/DataFlavor.java
4063         (isMimeTypeEqual): May not be final.
4064         (clone): Throws CloneNotSupportedException.
4065         (getReaderForText): Don't throws UnsupportedEncodingException.
4066
4067 2003-02-13  Michael Koch  <konqueror@gmx.de>
4068  
4069         * gnu/java/awt/peer/gtk/GdkGraphics.java
4070         (drawString): New stubbed method.
4071         * java/awt/Graphics.java
4072         (drawString): New method.
4073
4074 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4075
4076         PR libgcj/9271:
4077         * java/security/SecureRandom.java (next): Avoid bias in results.
4078
4079 2003-02-13  Michael  <konqueror@gmx.de>
4080
4081         * gnu/java/nio/FileChannelImpl.java
4082         (lengthInternal): Must be native.
4083         (size): Check if channel is already closed.
4084         (implCloseChannel): Reformated.
4085         (read): w was unused, removed it.
4086         (read): Removed.
4087         (read): New method.
4088         (write): New method.
4089         (map): Check arguments.
4090         (force): Throws IOException, check if channel is closed.
4091         (transferTo): New method.
4092         (transferFrom): New method.
4093         (lock): New method.
4094         (tryLock): New method.
4095         (position): New method.
4096         (truncate): New method.
4097         (nio_mmap_file): Uncommented.
4098         (nio_munmap_file): Uncommented.
4099         (nio_msync): Uncommented.
4100         * gnu/java/nio/natFileChannelImpl.cc: New file.
4101         
4102 2003-02-13  Michael Koch  <konqueror@gmx.de>
4103
4104         * java/nio/ByteBuffer.java
4105         (endian): New member variable.
4106         (get): New methods.
4107         (equals): New method.
4108         (compareTo): New method.
4109         (order): New methods.
4110         (compact): New method.
4111         (isDirect): New method.
4112         (slice): New method.
4113         (duplicate): New method.
4114         (asReadOnlyBuffer): New method.
4115         (asCharBuffer): New method.
4116         (asDoubleBuffer): New method.
4117         (asFloatBuffer): New method.
4118         (asIntBuffer): New method.
4119         (asLongBuffer): New method.
4120         (asShortBuffer): New method.
4121         (get*): New methods.
4122         (put*): New methods.
4123         (toString): New method.
4124         * java/nio/CharBuffer.java
4125         (CharBuffer): Implement Comparable instead of Cloneable.
4126         (get): May not be final.
4127         (put): May not be final.
4128         
4129 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4130
4131         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4132         lastIndexOf( ) instead of indexOf( ) to find the colon before
4133         the line number, because Win32 file names might contain a 
4134         drive letter and a colon at the start of an absolute path.
4135
4136 2003-02-13  Michael Koch  <konqueror@gmx.de>
4137
4138         * gnu/java/nio/natSocketChannelImpl.cc
4139         (SocketConnect): This is not implemented yet.
4140         (SocketBind): This is not implemented yet.
4141
4142 2003-02-13  Michael Koch  <konqueror@gmx.de>
4143
4144         * gnu/java/nio/natByteBufferImpl.cc,
4145         gnu/java/nio/natCharBufferImpl.cc,
4146         gnu/java/nio/natDoubleBufferImpl.cc,
4147         gnu/java/nio/natFloatBufferImpl.cc,
4148         gnu/java/nio/natIntBufferImpl.cc,
4149         gnu/java/nio/natLongBufferImpl.cc,
4150         gnu/java/nio/natShortBufferImpl.cc:
4151         Added copyright and license.
4152         * java/nio/DoubleBuffer.java,
4153         java/nio/FloatBuffer.java,
4154         java/nio/IntBuffer.java,
4155         java/nio/LongBuffer.java,
4156         java/nio/ShortBuffer.java
4157         (array): Throw exceptions.
4158         (arrayOffset): Throw exceptions.
4159
4160 2003-02-13  Michael Koch  <konqueror@gmx.de>
4161  
4162         * gnu/java/util/prefs/FileBasedFactory.java,
4163         gnu/java/util/prefs/MemmoryBasedFactory.java,
4164         gnu/java/util/prefs/MemoryBasedPreferences.java,
4165         gnu/java/util/prefs/NodeReader.java,
4166         gnu/java/util/prefs/NodeWriter.java,
4167         java/util/prefs/AbstractPreferences.java,
4168         java/util/prefs/BackingStoreException.java,
4169         java/util/prefs/InvalidPreferencesFormatException.java,
4170         java/util/prefs/NodeChangeEvent.java,
4171         java/util/prefs/NodeChangeListener.java,
4172         java/util/prefs/PreferenceChangeEvent.java,
4173         java/util/prefs/PreferenceChangeListener.java,
4174         java/util/prefs/Preferences.java,
4175         java/util/prefs/PreferencesFactory.java:
4176         New files, all merged from classpath.
4177         * Makefile.am
4178         (ordinary_java_source_files): Added the following files:
4179         gnu/java/util/prefs/FileBasedFactory.java,
4180         gnu/java/util/prefs/MemmoryBasedFactory.java,
4181         gnu/java/util/prefs/MemoryBasedPreferences.java,
4182         gnu/java/util/prefs/NodeReader.java,
4183         gnu/java/util/prefs/NodeWriter.java,
4184         (core_java_source_files): Added the following files:
4185         java/util/prefs/AbstractPreferences.java,
4186         java/util/prefs/BackingStoreException.java,
4187         java/util/prefs/InvalidPreferencesFormatException.java,
4188         java/util/prefs/NodeChangeEvent.java,
4189         java/util/prefs/NodeChangeListener.java,
4190         java/util/prefs/PreferenceChangeEvent.java,
4191         java/util/prefs/PreferenceChangeListener.java,
4192         java/util/prefs/Preferences.java,
4193         java/util/prefs/PreferencesFactory.java
4194         * Makefile.in: Regenerated.
4195  
4196 2003-02-13  Michael Koch  <konqueror@gmx.de>
4197
4198         * java/net/NetPermission.java
4199         (NetPermission): Make doucmentation match the method declaration.
4200         * java/net/NetworkInterface.java
4201         (equals): Reformated for GNU coding style.
4202         * java/net/ServerSocket.java: Merged with classpath.
4203         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4204         * java/net/SocketImpl.java
4205         (localPort): Merged with classpath (initialize with -1).
4206         * java/net/SocketPermission.java: Merged with classpath (reindented).
4207         * java/net/URLDecoder.java: Merged with classpath (reindented).
4208
4209 2003-02-13  Michael Koch  <konqueror@gmx.de>
4210
4211         * java/awt/GridBagConstraints.java
4212         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4213         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4214         * java/awt/KeyboardFocusManager.java
4215         (setGlobalCurrentFocusCycleRoot): Must be public.
4216         * java/awt/MenuComponent.java
4217         (MenuComponent): Must be public.
4218         * java/awt/Toolkit.java:
4219         Added some empty lines to make documentation more readable.
4220         (getFontPeer): Added @deprecated.
4221         (getColorModel): Added exception documentation.
4222         (getProperty): Fixed documentation.
4223  
4224 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4225
4226         * configure.host (alpha*-*): Default to -mieee.
4227         * configure.in (IEEESPEC): New.
4228         * libgcj.spec.in (jc1): Add IEEESPEC.
4229         * configure: Rebuild.
4230
4231 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4232
4233         * include/win32.h: Include ws2tcpip.h instead of
4234         winsock.h to obtain definition of the socklen_t type.
4235         Remove IP_TOS definition - not needed with ws2tcpip.h
4236         (_Jv_connect): Correct slight formatting error.
4237
4238 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4239
4240         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4241         size of the arguments for a JNI function. For Win32,
4242         modify to search for all forms of possible exported
4243         names of an stdcall JNI function.
4244         (_Jv_JNIMethod::call): Modify to calculate the size
4245         of the arguments passed to a JNI function and pass
4246         it to _Jv_LookupJNIMethod.
4247
4248 2003-02-12  Michael Koch  <konqueror@gmx.de>
4249
4250         * java/nio/channels/Channels.java: New file.
4251         * Makefile.am
4252         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4253         * Makefile.in: Regenerated.
4254
4255 2003-02-12  Michael Koch  <konqueror@gmx.de>
4256
4257         * java/nio/ByteBuffer.java
4258         (allocate): Implemented.
4259         (wrap): Implemented.
4260         * java/nio/CharBuffer.java:
4261         Some documentation added and reworked.
4262         (endian): Removed.
4263         (allocate): Implemented.
4264         (wrap): Implemented.
4265         (array): Throw exceptions.
4266         (arrayOffset): Throw exceptions.
4267         (toString): Implemented.
4268         (length): Implemented.
4269         (put): Implemented.
4270         (charAt): Implemented.
4271
4272 2003-02-11  John Leuner  <jewel@debian.org>
4273
4274         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4275         reads from end of file.
4276
4277 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4278
4279         * java/io/natFileDescriptorWin32.cc 
4280         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4281         returns with Win32 error code ERROR_BROKEN_PIPE.
4282
4283 2003-02-11  Michael Koch  <konqueror@gmx.de>
4284
4285         * Makefile.in
4286         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4287
4288 2003-02-11  Michael Koch  <konqueror@gmx.de>
4289
4290         * gnu/java/nio/ByteBufferImpl.java:
4291         Reformated and removed some code.
4292         (backing_buffer): Removed.      
4293         (array_offset): Removed.
4294         (ro): Renamed to readOnly.
4295         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4296         * gnu/java/nio/CharBufferImpl.java:
4297         Reformated and removed some code.
4298         (array_offset): Removed.
4299         (ro): Renamed to readOnly.
4300         (CharBufferImpl): Use parent constructor, initialize readOnly.
4301         (inc_pos): Removed.
4302         (order): New method.
4303         * gnu/java/nio/DoubleBufferImpl.java:
4304         Reformated and removed some code.
4305         (array_offset): Removed.
4306         (ro): Renamed to readOnly.
4307         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4308         (inc_pos): Removed.
4309         (order): New method.
4310         * gnu/java/nio/FloatBufferImpl.java:
4311         Reformated and removed some code.
4312         (array_offset): Removed.
4313         (ro): Renamed to readOnly.
4314         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4315         (inc_pos): Removed.
4316         (order): New method.
4317         * gnu/java/nio/IntBufferImpl.java:
4318         Reformated and removed some code.
4319         (array_offset): Removed.
4320         (ro): Renamed to readOnly.
4321         (IntBufferImpl): Use parent constructor, initialize readOnly.
4322         (inc_pos): Removed.
4323         (order): New method.
4324         * gnu/java/nio/LongBufferImpl.java:
4325         Reformated and removed some code.
4326         (array_offset): Removed.
4327         (ro): Renamed to readOnly.
4328         (LongBufferImpl): Use parent constructor, initialize readOnly.
4329         (inc_pos): Removed.
4330         (order): New method.
4331         * gnu/java/nio/ShortBufferImpl.java:
4332         Reformated and removed some code.
4333         (array_offset): Removed.
4334         (ro): Renamed to readOnly.
4335         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4336         (inc_pos): Removed.
4337         (order): New method.
4338         * Makefile.am
4339         (ordinary_java_source_files): Added the following files:
4340         gnu/java/nio/ByteBufferImpl.java
4341         gnu/java/nio/CharBufferImpl.java
4342         gnu/java/nio/DoubleBufferImpl.java
4343         gnu/java/nio/FloatBufferImpl.java
4344         gnu/java/nio/IntBufferImpl.java
4345         gnu/java/nio/LongBufferImpl.java
4346         gnu/java/nio/ShortBufferImpl.java
4347         java/nio/DoubleBuffer.java
4348         java/nio/FloatBuffer.java
4349         java/nio/IntBuffer.java
4350         java/nio/LongBuffer.java
4351         java/nio/ShortBuffer.java
4352         (nat_source_files): Added the following files:
4353         gnu/java/nio/natByteBufferImpl.cc
4354         gnu/java/nio/natCharBufferImpl.cc
4355         gnu/java/nio/natDoubleBufferImpl.cc
4356         gnu/java/nio/natFloatBufferImpl.cc
4357         gnu/java/nio/natIntBufferImpl.cc
4358         gnu/java/nio/natLongBufferImpl.cc
4359         gnu/java/nio/natShortBufferImpl.cc
4360         * Makefile.in: Regenerated.
4361
4362 2003-02-11  Michael Koch  <konqueror@gmx.de>
4363
4364         * gnu/java/nio/natCharBufferImpl.cc
4365         (nio_cast): Removed.
4366         (nio_put_*): Removed.
4367         (nio_get_*): Removed.
4368         * gnu/java/nio/natDoubleBufferImpl.cc
4369         (nio_cast): Removed.
4370         (nio_put_*): Removed.
4371         (nio_get_*): Removed.
4372         * gnu/java/nio/natFloatBufferImpl.cc
4373         (nio_cast): Removed.
4374         (nio_put_*): Removed.
4375         (nio_get_*): Removed.
4376         * gnu/java/nio/natIntBufferImpl.cc
4377         (nio_cast): Removed.
4378         (nio_put_*): Removed.
4379         (nio_get_*): Removed.
4380         * gnu/java/nio/natLongBufferImpl.cc
4381         (nio_cast): Removed.
4382         (nio_put_*): Removed.
4383         (nio_get_*): Removed.
4384         * gnu/java/nio/natShortBufferImpl.cc
4385         (nio_cast): Removed.
4386         (nio_put_*): Removed.
4387         (nio_get_*): Removed.
4388         * gnu/java/nio/SelectorProviderImpl.java
4389         (openDatagramChannel): Throws IOException.
4390         (openPipe): Throws IOException.
4391         (openSelector): Throws IOException.
4392         (openServerSocketChannel): Throws IOException.
4393         (openSocketChannel): Throws IOException.
4394         * gnu/java/nio/ServerSocketChannelImpl.java
4395         (ServerSocketChannelImpl): Throws IOException.
4396         (implCloseSelectableChannel): Throws IOException.
4397         (implConfigureBlocking): Throws IOException.
4398         * java/nio/ByteBuffer.java
4399         (readOnly): Removed.
4400         (hasArray): Use isReadOnly() instead of readOnly.
4401         (array): Use isReadOnly() instead of readOnly.
4402         (arrayOffset): Use isReadOnly() instead of readOnly.
4403         * java/nio/CharBuffer.java
4404         (CharBuffer): Implements Cloneable and CharSequence.
4405
4406 2003-02-11  Michael Koch  <konqueror@gmx.de>
4407
4408         * java/nio/DoubleBuffer.java
4409         (DoubleBuffer): Implements Comparable.
4410         (endian): Removed.
4411         (array_offset): New member variable.
4412         (DoubleBuffer): New constuctor.
4413         (get): May not be final.
4414         (put): May not be final.
4415         (arrayOffset): Implemented.
4416         (order): Made abstract.
4417         (order): Removed.
4418         (as*Buffer): Removed.
4419         (get*): Removed.
4420         (put*): Removed.
4421         * java/nio/FloatBuffer.java
4422         (FloatBuffer): Implements Comparable.
4423         (endian): Removed.
4424         (array_offset): New member variable.
4425         (FloatBuffer): New constuctor.
4426         (get): May not be final.
4427         (put): May not be final.
4428         (arrayOffset): Implemented.
4429         (order): Made abstract.
4430         (order): Removed.
4431         (as*Buffer): Removed.
4432         (get*): Removed.
4433         (put*): Removed.
4434         * java/nio/IntBuffer.java
4435         (IntBuffer): Implements Comparable.
4436         (endian): Removed.
4437         (array_offset): New member variable.
4438         (IntBuffer): New constuctor.
4439         (get): May not be final.
4440         (put): May not be final.
4441         (arrayOffset): Implemented.
4442         (order): Made abstract.
4443         (order): Removed.
4444         (as*Buffer): Removed.
4445         (get*): Removed.
4446         (put*): Removed.
4447         * java/nio/LongBuffer.java
4448         (LongBuffer): Implements Comparable.
4449         (endian): Removed.
4450         (array_offset): New member variable.
4451         (LongBuffer): New constuctor.
4452         (get): May not be final.
4453         (put): May not be final.
4454         (arrayOffset): Implemented.
4455         (order): Made abstract.
4456         (order): Removed.
4457         (as*Buffer): Removed.
4458         (get*): Removed.
4459         (put*): Removed.
4460         * java/nio/ShortBuffer.java
4461         (ShortBuffer): Implements Comparable.
4462         (endian): Removed.
4463         (array_offset): New member variable.
4464         (ShortBuffer): New constuctor.
4465         (get): May not be final.
4466         (put): May not be final.
4467         (arrayOffset): Implemented.
4468         (order): Made abstract.
4469         (order): Removed.
4470         (as*Buffer): Removed.
4471         (get*): Removed.
4472         (put*): Removed.
4473
4474 2003-02-11   Michael Koch  <konqueror@gmx.de>
4475
4476         * java/nio/channels/SelectionKey.java
4477         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4478         values.
4479
4480 2003-02-11  Michael Koch  <konqueror@gmx.de>
4481
4482         * java/nio/channels/DatagramChannel.java
4483         (write): Throws IOException.
4484         (connect): Throws IOException.
4485         (disconnect): Throws IOException.
4486         (read): Throws IOException.
4487         (receive): Throws IOException.
4488         (send): Throws IOException.
4489         * java/nio/channels/Pipe.java
4490         (open): Throws IOException.
4491         * java/nio/channels/SelectableChannel.java
4492         (configureBlocking): Throws IOException.
4493         * java/nio/channels/ServerSocketChannel.java
4494         (accept): Throws IOException.
4495         * java/nio/channels/SocketChannel.java
4496         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4497         GatheringByteChannel.
4498         (read): Throws IOException.
4499         (write): Throws IOException.
4500         (finishConnect): Throws IOException.
4501         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4502         (end): Throws AsynchronousCloseException.
4503         * java/nio/channels/spi/AbstractSelectableChannel.java
4504         (configureBlocking): Throws IOException.
4505         (implCloseChannel): Throws IOException.
4506         (implCloseSelectableChannel): Throws IOException.
4507         (implConfigureBlocking): Throws IOException.
4508         * java/nio/channels/spi/SelectorProvider.java
4509         (openDatagramChannel): Throws IOException.
4510         (openPipe): Throws IOException.
4511         (openSelector): Throws IOException.
4512         (openServerSocketChannel): Throws IOException.
4513         (openSocketChannel): Throws IOException.
4514
4515 2003-02-11  Michael Koch  <konqueror@gmx.de>
4516
4517         * gnu/java/nio/FileLockImpl.java,
4518         java/nio/channels/FileLock.java: New files.
4519
4520 2003-02-11  Michael Koch  <konqueror@gmx.de>
4521
4522         * java/nio/charset/IllegalCharsetNameException.java
4523         (serialVersionUID): New member variable.
4524         (charsetName): New member variable.
4525         (IllegalCharsetException): New implementation.
4526         (getCharsetName): New implementation.
4527         * java/nio/charset/UnsupportedCharsetException.java
4528         (serialVersionUID): New member variable.
4529         (charsetName): New member variable.
4530         (UnsupportedCharsetException): New implementation.
4531         (getCharsetName): New implementation.
4532
4533 2003-02-10  Tom Tromey  <tromey@redhat.com>
4534
4535         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4536         (ex): Renamed from sqlException.
4537
4538 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4539
4540         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4541         method used to ensure seeding has occurred and that a specific 
4542         seed can be set and used.
4543
4544 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4545
4546         * java/lang/Win32Process.java (destroy): Declare as native.
4547         (hasExited): New native method.
4548         (exitValue): Define.
4549         (getErrorStream): Likewise.
4550         (getInputStream): Likewise.
4551         (getOutputStream): Likewise.
4552         (waitFor): Declare as native.
4553         (startProcess): New native method.
4554         (cleanup): Likewise.
4555         (ConcreteProcess): Define.
4556         (outputStream, inputStream, errorStream): New members.
4557         (procHandle, exitCode): Likewise.
4558
4559         * java/lang/natWin32Process.cc
4560         (java::lang::ConcreteProcess::cleanup): Define.
4561         (java::lang::ConcreteProcess::destroy): Likewise.
4562         (java::lang::ConcreteProcess::hasExited): Likewise.
4563         (java::lang::ConcreteProcess::waitFor): Likewise.
4564         (new_string): Likewise.
4565         (java::lang::ConcreteProcess::startProcess): Likewise.
4566
4567 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4568
4569         * java/math/BigInteger.java:
4570         Updated notice to include years 2002 and 3.
4571         Added 2 private (int) arrays with values from the HAC (Handbook of
4572         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4573         and t[] that contains nbr. of tests --used in isProbablePrime().
4574
4575         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4576
4577         * java/math/BigInteger.java (make(int[],int), add(int,int),
4578         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4579         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4580         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4581         make(long).
4582
4583         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4584         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4585         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4586         BIs and returns void.
4587         (modInverse(BI)): Use new signatures of euclidInv().
4588
4589         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4590         static small primes instead of remainder().
4591         Use pre-computed max nbr of trials based on bitlength of BI to test.
4592         Use pre-computed small primes for the trial tests instead of random
4593         numbers.
4594
4595         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4596         not used.
4597
4598         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4599         invoacation of MPN.chars_per_word().  not used.
4600
4601         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4602         local var and used where needed.
4603
4604         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4605         Combined declaration with initialisation of locals.
4606         Removed unused var.
4607
4608         * java/math/BigInteger.java: Style changes
4609         (pow(int)): Removed 'else' keyword.
4610         (toString(int)): idem.
4611         (doubleValue()): idem.
4612         (bitLength()): idem.
4613         (equals(Object)): Use static methods name in same class w/o prepending
4614         class name.
4615         (doubleValue()): idem.
4616         (setNegative(BI)): idem.
4617         (negate()): idem.
4618         (and(BI,int)): idem.
4619         (and(BI)): idem.
4620         (gcd(BI)): idem.
4621         (byteArrayToIntArray()): Removed casting to (int). this is
4622         std. behaviour.
4623         (canonicalize()): idem.
4624         (alloc(int)): Always instantiate a new BI.
4625
4626 2003-02-10  Tom Tromey  <tromey@redhat.com>
4627
4628         * java/sql/Timestamp.java (compareTo(Object)): New method.
4629         (compareTo(Timestamp)): Likewise.
4630         (serialVersionUID): Updated.
4631
4632 2003-02-07  Mark Wielaard  <mark@klomp.org>
4633
4634         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4635         when verify is true.
4636         (JarFile(File, boolean)): Likewise.
4637         (manifestRead): Set manifestRead field correctly.
4638
4639 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4640
4641         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4642         tests; see patch #1016 on Savannah.
4643
4644 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4645
4646         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4647         (toString): do not return Strings starting with . and - erroneously.
4648         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4649         DiagBigDecimal.
4650
4651 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4652
4653         * java/beans/PropertyDescriptor.java
4654         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4655         methods.
4656         (PropertyDescriptor(String, Class, String, String)): Likewise.
4657         (PropertyDescriptor(String, Method, Method): Factor out getter and
4658         setter method sanity checks into new method.
4659         (findMethods): Don't do parameter sanity checking of get method here.
4660         (checkMethods): New method.
4661
4662 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4663
4664         * java/beans/PropertyDescriptor.java: Reformat.
4665
4666 2003-02-04  Tom Tromey  <tromey@redhat.com>
4667
4668         * java/io/PipedOutputStream.java (flush): Declare as throwing
4669         IOException.
4670         (close): Likewise.
4671         * java/io/PipedWriter.java (close): Declare as throwing
4672         IOException.
4673         * java/io/StringWriter.java (close): Declare as throwing
4674         IOException.
4675
4676 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4677
4678         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4679         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4680         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4681         "_JNI_OnLoad@8" (MSVC).
4682
4683 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4684
4685         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4686         convention on Win32 to invoke native JNI methods.
4687
4688 2003-02-03  Andrew Haley  <aph@redhat.com>
4689
4690         * configure.host (x86_64): Enable interpreter.
4691
4692 2003-02-03  Andrew Haley  <aph@redhat.com>
4693
4694         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4695         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4696         * configure.in (BACKTRACESPEC): New.
4697         * configure: Regenerate.
4698
4699 2003-02-02  Tom Tromey  <tromey@redhat.com>
4700
4701         * configure: Rebuilt.
4702         * configure.in (TOOLKIT) [xlib]: Set correctly.
4703
4704         * Makefile.in: Rebuilt.
4705         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4706         libstdc++.
4707
4708 2003-01-31  Mark WIelaard  <mark@klomp.org>
4709
4710         * Makefile.in: Rebuilt.
4711         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4712
4713 2003-01-31  Tom Tromey  <tromey@redhat.com>
4714
4715         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4716         cast to element type.
4717         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4718         (_Jv_JNI_GetObjectArrayElement): Likewise.
4719
4720         * Makefile.in: Rebuilt.
4721         * Makefile.am (cond_x_ltlibrary): Renamed library to
4722         lib-gnu-awt-xlib.la.
4723         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4724         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4725         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4726         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4727         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4728         (lib_gnu_awt_xlib_la_LINK): Likewise.
4729         (install-exec-hook): Removed.
4730         (lib-gnu-awt-xlib.la): Renamed.
4731
4732 2003-01-31  Tom Tromey  <tromey@redhat.com>
4733
4734         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4735         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4736         aclocal.m4 and lost in some merge.
4737
4738         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4739         Don't try to find graphics configuration.
4740         * java/awt/Toolkit.java (default_toolkit_name): Use new
4741         Configuration entry.
4742         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4743         New global.
4744         * configure: Rebuilt.
4745         * configure.in (TOOLKIT): New subst.
4746         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4747         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4748         directory.  Make output directories for .c files.
4749         * Makefile.in: Rebuilt.
4750         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4751         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4752         (all_java_source_files): Added new sources.
4753         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4754         (gtk_c_files): New macro.
4755         (gtk_c_source_files): New macro.
4756         (cond_gtk_ltlibrary): New macro.
4757         ($(gtk_c_files)): New target.
4758         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4759         (gtk_awt_peer_sources): New macro.
4760         (gtk_c_headers): New macro.
4761         ($(gtk_c_headers)): New target.
4762         (ACLOCAL_AMFLAGS): New macro.
4763         * gtk.m4, glib.m4, libart.m4: New files.
4764         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4765         gnu/java/awt/peer/gtk/GdkGraphics.java,
4766         gnu/java/awt/peer/gtk/GtkArg.java,
4767         gnu/java/awt/peer/gtk/GtkArgList.java,
4768         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4769         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4770         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4771         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4772         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4773         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4774         gnu/java/awt/peer/gtk/GtkClipboard.java,
4775         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4776         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4777         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4778         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4779         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4780         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4781         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4782         gnu/java/awt/peer/gtk/GtkImage.java,
4783         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4784         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4785         gnu/java/awt/peer/gtk/GtkListPeer.java,
4786         gnu/java/awt/peer/gtk/GtkMainThread.java,
4787         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4788         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4789         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4790         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4791         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4792         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4793         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4794         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4795         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4796         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4797         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4798         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4799         gnu/java/awt/peer/gtk/GtkToolkit.java,
4800         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4801         gnu/java/awt/peer/gtk/TestAWT.java,
4802         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4804         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4805         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4806         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4807         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4808         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4809         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4811         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4821         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4822         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4823         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4824         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4825         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4826         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4827         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4828         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4829         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4830         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4831         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4832         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4833         jni/classpath/native_state.c, jni/classpath/native_state.h,
4834         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4835
4836 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4837
4838         * java/util/Properties.java (load): Ignore backslash before EOF.
4839
4840 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4841
4842         * java/lang/natClass.cc (initializeClass): Check tables when
4843         (state == JV_STATE_IN_PROGRESS).
4844         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4845         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4846         interpreted classes.
4847         (linkClass0): Use _Jv_WaitForState.
4848
4849 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4850
4851         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4852         object when finished.
4853
4854 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4855
4856         * libjava/configure.host: Disable can_unwind_signal on darwin.
4857
4858 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4859
4860         Fixes PR java/9254:
4861         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4862         additionally containing id of the owner thread as well as
4863         the number of nested times the thread has acquired the mutex.
4864         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4865         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4866         (_Jv_MutexUnlock): Check if really the owner thread, reset
4867         owner thread id to 0 before leaving, if leaving for the last
4868         time.
4869         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4870         refcount.
4871         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4872         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4873         the passed mutex.
4874         Pass handle of the broadcast event, instead of a pointer to it
4875         in Win32 ResetEvent( ) call.
4876         Remove incorrect return values.
4877         (_Jv_CondDestroy): Close both event handles and delete
4878         critical section.
4879         (_Jv_CondNotify): Check if really the owner thread.
4880         (_Jv_CondNotifyAll): Check if really the owner thread.
4881         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4882         (really_start): Use SetEvent( ) to signal daemon_cond.
4883         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4884         WaitForSingleObject( ) instead to wait for daemon_cond to be
4885         signalled.
4886
4887 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4888
4889         * configure.in: Specifically define HAVE_BACKTRACE if building
4890         for MinGW.
4891         * include/win32.h: Remove HAVE_BACKTRACE definition.
4892         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4893         * configure: Rebuilt.
4894
4895 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4896
4897         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4898         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4899         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4900         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4901         * Makefile.in, configure: Rebuilt.
4902
4903 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4904
4905         Fixes PR java/9253:
4906         * java/io/natFileWin32.cc (performList): Append only "*.*"
4907         if the canonical file path already has a "\" at the end.
4908
4909 2003-01-24  Tom Tromey  <tromey@redhat.com>
4910
4911         * defineclass.cc (handleMethodsEnd): Precompute code for static
4912         method.
4913         (handleCodeAttribute): Likewise.
4914         * resolve.cc (ncode): Use run_class for unsynchronized static
4915         methods.
4916         * include/java-interp.h (class _Jv_InterpMethod): Declare
4917         run_class.
4918         * interpret.cc (run_synch_class): Initialize class.
4919         (run) [insn_invokestatic]: Don't initialize class.
4920         [insn_anewarray]: Likewise.
4921         [insn_multianewarray]: Likewise.
4922         (run_class): New function.
4923
4924 2003-01-24  Tom Tromey  <tromey@redhat.com>
4925
4926         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4927         comment.
4928
4929 2003-01-22  Andrew Haley  <aph@redhat.com>
4930
4931         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4932         * configure.host (CHECKREFSPEC): Define for x86_64.
4933
4934 2003-01-21  Tom Tromey  <tromey@redhat.com>
4935
4936         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4937         search at 2, not 3.
4938
4939 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4940
4941         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4942         looking at any characters.
4943         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4944         be used.
4945         (isAbsolute): Check path's length as well.
4946
4947 2003-01-17  Mark Wielaard  <mark@klomp.org>
4948
4949         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4950         (nat_source_files): Add natVMObjectStreamClass.cc.
4951         * Makefile.in: Regenerated.
4952         * gcj/javaprims.h (namespace java): Regenerated.
4953         * java/io/ObjectStreamClass.java (getClassUID): Call
4954         VMObjectStreamClass.hasClassInitializer().
4955         (hasClassInitializer): Removed.
4956         * java/io/VMObjectStreamClass.java: New class.
4957         * java/io/natVMObjectStreamClass.cc: New file.
4958         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4959
4960 2003-01-16  Mark Wielaard  <mark@klomp.org>
4961
4962         * java/net/SocketImpl.java (toString): Don't explicitly call
4963         toString() on possible null address.
4964
4965 2003-01-16  Michael Koch  <konqueror@gmx.de>
4966
4967         * java/net/MulticastSocket.java
4968         (setInterface): Reindented.
4969
4970 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4971
4972         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4973         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4974         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4975         translateY arguments.  Implement.
4976         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4977         down translation arguments.
4978         (drawPolyline, drawPolygon): Fix incorrect tests.
4979         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4980         translateX and translateY arguments.
4981
4982 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4983
4984         * Makefile.in: Rebuilt.
4985         * Makefile.am (xlib_includes): New macro.
4986         (INCLUDES): Use it.
4987
4988 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4989
4990         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4991         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4992         16-bit display mode.
4993
4994 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4995
4996         * java/awt/CardLayout.java (show): Rewrote.
4997         (gotoComponent): Removed `target' argument.  Simplified code.
4998         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4999         Changed all callers.
5000         (NONE): Removed.
5001         
5002 2003-01-14  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/net/InetSocketAddress.java
5005         (serialVersionUID): New member variable.
5006         * java/net/NetPermission.java
5007         (NetPermission): Dont implement java.io.Serialization directly.
5008         * java/net/SocketAddress.java:
5009         (serialVersionUID): Documentation added.
5010         
5011 2003-01-14  Michael Koch  <konqueror@gmx.de>
5012
5013         * java/awt/Label.java
5014         (Label): Implements javax.accessibility.Accessible;
5015         * java/awt/List.java
5016         (List): Implements javax.accessibility.Accessible;
5017         * java/awt/ScrollPane.java
5018         (ScrollPane): Implements javax.accessibility.Accessible;
5019         * java/awt/Scrollbar.java
5020         (Scrollbar): Implements javax.accessibility.Accessible;
5021         * java/awt/TextComponent.java
5022         (setCaretPosition): Throw exception, documentation added.
5023         * java/awt/Toolkit.java:
5024         Added some newlines in method documentations.
5025         (createButton): Exception documentation added.
5026         (createTextField): Exception documentation added.
5027         (createLabel): Exception documentation added.
5028         (createList): Exception documentation added.
5029         (createCheckbox): Exception documentation added.
5030         (createScrollbar): Exception documentation added.
5031         (createScrollPane): Exception documentation added.
5032         (createTextArea): Exception documentation added.
5033         (createChoice): Exception documentation added.
5034         (createFrame): Exception documentation added.
5035         (createWindow): Exception documentation added.
5036         (createDialog): Exception documentation added.
5037         (createMenuBar): Exception documentation added.
5038         (createMenu): Exception documentation added.
5039         (createMenuItem): Exception documentation added.
5040         (createFileDialog): Exception documentation added.
5041         (createCheckboxMenuItem): Exception documentation added.
5042         (loadSystemColors): Exception documentation added.
5043         (setDynamicLayout): Exception documentation added.
5044         (isDynamicLayoutSet): Exception documentation added.
5045         (isDynamicLayoutActive): Exception documentation added.
5046         (getScreenSize): Exception documentation added.
5047         (getScreenResolution): Exception documentation added.
5048         (getScreenInsets): Exception documentation added.
5049         (getColorModel): Exception documentation added.
5050         (getSystemClipboard): Exception documentation added.
5051         (getSystemSelection): Exception documentation added.
5052         (getMenuShortcutKeyMask): Exception documentation added.
5053         (getSystemEventQueue): Exception documentation added.
5054         * java/awt/Window.java:
5055         Reindented some code.
5056         (Window): Centralized implementation, documentation added.
5057         (finalize): Documentation added.
5058         (hide): Fixed typo in comment.
5059         (getWindowListeners): Documentation added.
5060         * java/awt/color/ColorSpace.java
5061         (toRGB): Documentation added.
5062         * java/awt/color/ICC_ColorSpace.java
5063         (ICC_ColorSpace): Documentation added.
5064         (toRGB): Throw exception, documentation added.
5065         (fromRGB): Throw exception, documentation added.
5066         (toCIEXYZ): Documentation added.
5067         (fromCIEXYZ): Documentation added.
5068         (getMinValue): Documentation added.
5069         (getMaxValue): Documentation added.
5070         * java/awt/geom/Dimension2D.java
5071         (clone): Documentation added.
5072         * java/awt/geom/GeneralPath.java
5073         (clone): Documentation added.
5074         * java/awt/geom/Line2D.java
5075         (clone): Documentation added.
5076         * java/awt/geom/QuadCurve2D.java
5077         (clone): Documentation added.
5078         * java/awt/image/ColorModel.java
5079         (ColorModel): Throw exception, documentation added.
5080         * java/awt/image/ImageFilter.java
5081         (clone): Doesnt throw CloneNotSupportedException.
5082
5083 2003-01-14  Andrew Haley  <aph@redhat.com>
5084
5085         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5086         in a try block.
5087
5088 2003-01-10  Andrew Haley  <aph@redhat.com>
5089
5090         * include/dwarf2-signal.h: Remove x86_64.
5091         * configure.host (x86_64 DIVIDESPEC): Remove.
5092         * include/x86_64-signal.h: New file.
5093         * configure.in: Regenerate.
5094
5095 2003-01-10  Michael Koch  <konqueror@gmx.de>
5096
5097         * java/net/DatagramSocket.java
5098         (ch): Description added.
5099         (remotePort): Initialize with -1.
5100         (connect): Doesnt throws SocketException.
5101         * java/net/MulticastSocket.java
5102         (setInterface): Merge with Classpath.
5103         * java/net/ServerSocket.java
5104         (closed): New member variable.
5105         (bind): Check if socket is closed.
5106         (close): Close an associated channel too, set new value to closed.
5107         (isBound): Reindented.
5108         (isClosed): Implemented.
5109         * java/net/Socket.java
5110         (closed): New member variable.
5111         (bind): Check if socket is closed.
5112         (connect): Check if socket is closed.
5113         (close): Close an associated channel too, set new value to closed.
5114         (isClosed): Implemented.
5115
5116 2003-01-10  Michael Koch  <konqueror@gmx.de>
5117
5118         * java/awt/DisplayMode.java
5119         (equals): Fixed argument type and implementation.
5120
5121 2003-01-07  Tom Tromey  <tromey@redhat.com>
5122
5123         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5124         JV_HASH_SYNCHRONIZATION.
5125         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5126         JV_HASH_SYNCHRONIZATION.
5127
5128 2003-01-07  Michael Koch  <konqueror@gmx.de>
5129  
5130         * java/net/DatagramSocket.java:
5131         Added classpath license info.
5132         (DatagramSocket): Merged description with classpath.
5133         (close): Merged description with classpath.
5134         (getChannel): Merged description with classpath.
5135         (getInetAddress): Merged description with classpath.
5136         (getPort): Merged description with classpath.
5137         (getLocalAddress): Merged description with classpath.
5138         (getLocalPort): Merged description with classpath.
5139         (getSoTimeout): Merged description with classpath.
5140         (setSoTimeout): Merged description with classpath.
5141         (getSendBufferSize): Merged description with classpath.
5142         (setSendBufferSize): Merged description with classpath.
5143         (getReceiveBufferSize): Merged description with classpath.
5144         (setReceiveBufferSize): Merged description with classpath.
5145         
5146 2003-01-04  Tom Tromey  <tromey@redhat.com>
5147
5148         * java/awt/List.java: Merged with Classpath.
5149
5150 2003-01-03  Mark Wielaard  <mark@klomp.org>
5151
5152         * java/io/FileDescriptor.java (position): New private field.
5153         * java/io/natFileDescriptorPosix.cc (write): Up position.
5154         (setLength): Use and set position.
5155         (seek): Set position.
5156         (getFilePointer): Return position.
5157         (read): Up position.
5158
5159 2003-01-03  Mark Wielaard  <mark@klomp.org>
5160
5161         Merge with Classpath:
5162         * java/io/ObjectStreamClass.java (lookup): Split method and call
5163         lookupForClassObject().
5164         (lookupForClassObject): New method.
5165         (isProxyClass): New field.
5166         (setClass): Set isProxyClass, add object to classLookupTable, set
5167         superClass and calculateOffsets.
5168         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5169         and not a proxy class.
5170         (setFields): Set accessible true for serialPersistentFields.
5171         (getClassUID): Same for suid. And check if suid is of type long.
5172         (hasClassInitializer): Don't throw NoSuchMethodError.
5173
5174 2003-01-03  Mark Wielaard  <mark@klomp.org>
5175
5176         * java/io/FileInputStream.java (finalize): Don't explicitly
5177         finalize FileDescriptor.
5178
5179 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5180
5181         * configure.host (sparc*-*): Enable bytecode interpreter.
5182
5183 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5184
5185         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5186         Don't throw RemoteException.
5187         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5188         throw RemoteException.
5189
5190 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5191
5192         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5193         proxyHost): New static fields.
5194         (<clinit>): Initialize new fields.
5195         (connect): Use proxy if necessary.
5196         (usingProxy): Implement.
5197
5198 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5199
5200         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5201         (TreeIterator.remove): Prefer IllegalStateException over
5202         ConcurrentModificationException, to match Sun.
5203
5204 2002-12-22  Anthony Green  <green@redhat.com>
5205
5206         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5207
5208 2003-01-02  Mark Wielaard  <mark@klomp.org>
5209
5210         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5211         public.
5212         (HTTP_USE_PROXY): Add field.
5213         (getResponseVals): Only set responseCode when not yet explicitly
5214         set by subclass.
5215
5216 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5217             Mark Wielaard  <mark@klomp.org>
5218
5219         * java/util/zip/ZipFile.java (entries): Now HashMap.
5220         (readLeShort(DataInput, byte[])): Read from given byte array.
5221         (readLeInt(DataInput, byte[]): Likewise.
5222         (readLeShort(byte[] b, int off)): New method.
5223         (readLeInt(byte[] b, int off)): Likewise.
5224         (readEntries): Use byte arrays to read info in bigger chunks.
5225         (getEntries): Return HashMap.
5226         (getEntry): Use HashMap.
5227         (locBuf): New private field.
5228         (checkLocalHeader): Use locBuf to read info in one chunk.
5229         (getInputStream): Use entries HashMap, wrap PartialInputStream
5230         in BufferedInputStream.
5231         (ZipEntryEnumeration): Use HashMap and Interator.
5232
5233 2003-01-02  Mark Wielaard  <mark@klomp.org>
5234             Jeroen Frijters  <jeroen@sumatra.nl>
5235
5236         * java/net/URLClassLoader.java (Resource.getCodeSource):
5237         Fix check certs == null.
5238         (getCanonicalFileURL): Removed method.
5239         (JarURLLoader): Don't call removed method.
5240         (FileURLLoader): Likewise.
5241         (FileURLLoader.getResource): Don't canonicalize file name.
5242
5243 2003-01-01  Tom Tromey  <tromey@redhat.com>
5244
5245         * Makefile.in: Rebuilt.
5246         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5247         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5248         java/awt/BufferCapabilities.java, java/awt/Button.java,
5249         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5250         java/awt/Container.java, java/awt/Cursor.java,
5251         java/awt/EventQueue.java, java/awt/FileDialog.java,
5252         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5253         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5254         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5255         java/awt/Scrollbar.java, java/awt/TextArea.java,
5256         java/awt/TextField.java, java/awt/color/CMMException.java,
5257         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5258         java/awt/color/ProfileDataException.java,
5259         java/awt/datatransfer/Clipboard.java,
5260         java/awt/datatransfer/DataFlavor.java,
5261         java/awt/datatransfer/FlavorMap.java,
5262         java/awt/datatransfer/SystemFlavorMap.java,
5263         java/awt/dnd/DragGestureEvent.java,
5264         java/awt/dnd/DragGestureRecognizer.java,
5265         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5266         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5267         java/awt/im/InputMethodHighlight.java,
5268         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5269         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5270
5271         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5272         `op' to BufferedImageOp.
5273
5274 2002-12-31  Tom Tromey  <tromey@redhat.com>
5275
5276         Fix for PR libgcj/7416:
5277         * javax/naming/InitialContext.java (init): Use
5278         gnu.classpath.home.url.
5279         * java/security/Security.java: Use new properties.
5280         (loadProviders): Accept base url; use it.
5281         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5282         gnu.classpath.home.url.
5283         (gnu.classpath.home.url): Define.
5284         (gnu.classpath.vm.shortname): Likewise.
5285
5286 2002-12-31  Tom Tromey  <tromey@redhat.com>
5287             Ranjit Mathew  <rmathew@hotmail.com>
5288
5289         Fix for PR libgcj/8997:
5290         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5291         Include platform.h.
5292         * include/posix.h (_Jv_platform_usleep): New function.
5293         * include/win32.h (_Jv_platform_usleep): New function.
5294
5295 2002-12-29  Tom Tromey  <tromey@redhat.com>
5296
5297         * gcj/javaprims.h: Updated.
5298         * scripts/classes.pl (scan): Removed stray semicolon.
5299
5300 2002-12-30  Mark Wielaard  <mark@klomp.org>
5301
5302         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5303         if zero or smaller.
5304
5305 2002-12-30  Mark Wielaard  <mark@klomp.org>
5306
5307         * java/util/Properties (formatForOutput): Don't fall through to
5308         default case after escaping character.
5309
5310 2002-12-30  Mark Wielaard  <mark@klomp.org>
5311
5312         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5313         against count.
5314
5315 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5316
5317         * boehm.cc: Remove stray semicolon.
5318         * interpret.cc: Likewise.
5319         * prims.cc: Likewise.
5320         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5321         earlier to ensure default arguments are processed.
5322         * gcj/array.h (JArray): Add forward declaration.
5323         (elements): Likewise.
5324         * gcj/javaprim.h: Remove stray semicolons.
5325         * include/bohm-gc.h: Likewise.
5326         * include/jni.h: Likewise.
5327         * include/jvm.h: Likewise.
5328         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5329         
5330 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5331
5332         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5333         of catch_type.
5334         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5335         idt tables after initializing superclass.
5336         * java/lang/natClassLoader.cc (uaddr): New typedef.
5337         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5338         if they are constant pool indicies.  Don't link vtable, otable yet.
5339
5340 2002-12-21  Anthony Green  <green@redhat.com>
5341
5342         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5343         libraries.
5344         * Makefile.in: Rebuilt.
5345
5346 2002-12-19  Anthony Green  <green@redhat.com>
5347
5348         * Makefile.am (ordinary_java_source_files): Add
5349         org/xml/sax/helpers/NewInstance.java.
5350         * Makefile.in: Rebuilt.
5351         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5352         org/xml/sax/helpers/package.html: New files.
5353         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5354         http://www.saxproject.org.
5355
5356 2002-12-19  Andrew Haley  <aph@redhat.com>
5357
5358         * java/util/natResourceBundle.cc: Include
5359         ArrayIndexOutOfBoundsException.h.
5360         (getCallingClassLoader): Don't put upper bound on stack search.
5361         Catch ArrayIndexOutOfBoundsException.
5362
5363 2002-12-19  Tom Tromey  <tromey@redhat.com>
5364
5365         * libtool-version: Increased `current'.
5366
5367 2002-12-19  Tom Tromey  <tromey@redhat.com>
5368
5369         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5370         comment.
5371         * java/lang/ClassLoader.java (defineClass): Use chained
5372         exception when rethrowing.
5373         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5374         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5375         constants.
5376         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5377         (_Jv_PrepareClass): Use it.
5378         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5379         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5380         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5381         (Class): _Jv_PrepareMissingMethods now friend.
5382         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5383         Record `NULL' for system class loader.
5384         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5385         system class loader.
5386         (_Jv_FindClassInCache): Likewise.
5387         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5388         (_Jv_FindClass): Special case system class loader.
5389         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5390         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5391         vtable slots.
5392         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5393         in a final class.
5394         (_getDeclaredMethod): Don't return synthetic methods.
5395         (getDeclaredMethods): Likewise.
5396         (_getMethod): Likewise.
5397         (_getMethods): Likewise.
5398
5399 2002-12-18  Raif Naffah  <raif@fl.net.au>
5400
5401         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5402         canonical form after divide().
5403         (modInverse): Likewise.
5404
5405 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5406             Mark Wielaard  <mark@klomp.org>
5407
5408         * java/security/SecurityRandom (digest): Removed field.
5409         (SecureRandom): Check all providers for case-insensitive SecureRandom
5410         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5411         if necessary.
5412         (getInstance(String,Provider,boolean): New method.
5413         (getInstance(String)): Use new method.
5414         (getInstance(String,String)): Likewise.
5415         (getInstance(String,Provider)): Likewise.
5416
5417 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5418
5419         * java/security/Security.java (loadProviders): Increment i only once.
5420
5421 2002-12-12  Mark Wielaard  <mark@klomp.org>
5422
5423         * java/lang/ClassLoader.java (resolveClass0): Transform
5424         ClassNotFoundException to NoClassDefFoundError. Transform all other
5425         throwables to LinkageError.
5426
5427 2002-12-11  Tom Tromey  <tromey@redhat.com>
5428
5429         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5430
5431         * java/lang/ClassLoader.java (loadedClasses): New field.
5432         (defineClass): Fixed indentation.  Put new class in
5433         loadedClasses.
5434         (findLoadedClass): Implement here.
5435         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5436
5437 2002-12-10  Tom Tromey  <tromey@redhat.com>
5438
5439         * Makefile.in: Rebuilt.
5440         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5441         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5442         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5443         * java/lang/natClassLoader.cc
5444         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5445
5446 2002-12-10  Mark Wielaard  <mark@klomp.org>
5447             Tom Tromey  <tromey@redhat.com>
5448
5449         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5450         (JarURLLoader): Use it.
5451         (FileURLLoader): Likewise.
5452         (JarURLResource.getURL): Use chained exception.
5453         (FileResource.getURL): Likewise.
5454         (FileURLLoader.getResource): Use canonical file name.
5455         (addURL): Indentation fix.
5456
5457 2002-12-10  Tom Tromey  <tromey@redhat.com>
5458
5459         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5460         From Laurent Bardet <l.bardet@magic.fr>.
5461
5462 2002-12-09  Tom Tromey  <tromey@redhat.com>
5463
5464         * include/win32.h (_Jv_platform_solib_prefix): New define.
5465         (_Jv_platform_solib_suffix): Likewise.
5466         * include/posix.h (_Jv_platform_solib_prefix): New define.
5467         (_Jv_platform_solib_suffix): Likewise.
5468         * java/lang/natRuntime.cc: Include StackTrace.h.
5469         (_load): Use findLibrary and new platform defines.
5470         (nativeGetLibname): Use new platform defines.
5471
5472         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5473         `t' won't be null.
5474
5475 2002-12-08  Mark Wielaard  <mark@klomp.org>
5476
5477         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5478         cache remote jar files.
5479         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5480         add File.separator to URL when it is a directory.
5481         * java/lang/ClassLoader.java: Add Classpath javadoc.
5482         (parent): final.
5483         (getParent): Add (disabled) security check.
5484         (findLibrary): New default method.
5485         * java/net/JarURLConnection.java (getManifest): Implement.
5486         (getInputStream): Only create InputStream when entry exists.
5487         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5488         when they exist.
5489         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5490
5491 2002-12-08  Mark Wielaard  <mark@klomp.org>
5492
5493         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5494         (lastDefaultLocale): New field.
5495         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5496         resourceBundleCache.
5497
5498 2002-12-06  Mark Wielaard  <mark@klomp.org>
5499
5500         * java/net/InetAddress.java (toString): Use hostname when not null,
5501         don't do an explicit reverse getHostName() lookup.
5502         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5503         NullPointerException.
5504
5505 2002-12-06  Tom Tromey  <tromey@redhat.com>
5506
5507         * include/java-interp.h (class _Jv_InterpMethod): Added
5508         JV_MARKOBJ_DECL.
5509         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5510         mark `prepared' field of interpreted method.
5511         * interpret.cc (compile): Use _Jv_AllocBytes.
5512
5513 2002-12-05  Andrew Haley  <aph@redhat.com>
5514
5515         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5516         #ifdef (HAVE_BACKTRACE) around the whole function body.
5517
5518 2002-12-05  Tom Tromey  <tromey@redhat.com>
5519
5520         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5521         * resolve.cc: Don't include AbstractMethodError.h.
5522         (_Jv_abstractMethodError): Removed.
5523         * defineclass.cc (handleMethodsBegin): Initialize method index to
5524         -1.
5525         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5526         method index for "new" final method.
5527         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5528         isVirtualMethod.  Added `flags' argument.
5529         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5530         class.
5531
5532 2002-12-04  Tom Tromey  <tromey@redhat.com>
5533
5534         * java/net/SocketPermission.java (hashCode): Rewrote.
5535
5536 2002-12-04  Tom Tromey  <tromey@redhat.com>
5537
5538         * Makefile.in: Rebuilt.
5539         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5540         natResourceBundle.
5541         * java/util/ResourceBundle.java (Security): Removed.
5542         (getCallingClassLoader): Now native.
5543         * java/util/natResourceBundle.cc: New file.
5544         * java/lang/natVMSecurityManager.cc: New file.
5545         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5546
5547 2002-12-03  Mark Wielaard  <mark@klomp.org>
5548
5549         * java/util/jar/JarFile.java (manifest): Not final.
5550         (manifestRead): New field.
5551         (JarFile): Don't read Manifest in constructor.
5552         (getManifest): New method.
5553         (JarEnumeration.nextElement): Use new method.
5554         (getEntry): Likewise.
5555         * java/util/zip/ZipFile.java (name): Final.
5556         (raf): Likewsie.
5557         (entries): Change type to Hashtable.
5558         (closed): New field.
5559         (ZipFile): Don't read enties in constructor.
5560         (readEntries): Use Hashtable.
5561         (close): Set new close flag and set entries to null inside
5562         synchronized block.
5563         (entries): Contruct enumeration using new getEntries() method and
5564         entries Hashtable.
5565         (getEntryIndex): Removed.
5566         (getEntries): New method.
5567         (getEntry): Use new getEntries() method and entries Hastable.
5568         (getInputStream): Likewise.
5569         (size): Return getEntries().size().
5570         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5571         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5572         (time): Removed
5573         (dostime): New field.
5574         (zipFileIndex): Removed.
5575         (ZipEntry(ZipEntry)): Copy dostime.
5576         (setDOSTime): Now final and doesn't convert dos time.
5577         (getDOSTime): Likewise.
5578         (setTime): Convert dos time.
5579         (getTime): Likewise.
5580         (getCalendar): New method.
5581         (setExtra): Use setTime().
5582         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5583
5584 2002-12-03  Tom Tromey  <tromey@redhat.com>
5585
5586         * java/lang/Character.java (forDigit): Formatting fix.
5587
5588 2002-12-03  Raif Naffah  <raif@fl.net.au>
5589
5590         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5591         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5592         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5593
5594 2002-12-03  Andrew Haley  <aph@redhat.com>
5595
5596         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5597         _Jv_PushClass.
5598         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5599         (_Jv_PopClass): New.
5600         (_Jv_PushClass): New.
5601         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5602         discover the ClassLoader of our caller.
5603         (_Jv_CheckArrayStore): Don't check that a class is assignment
5604         compatible with Object.
5605         * java/lang/natVMTHrowable.cc: Delete.
5606         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5607         java.lang.VMThrowable.
5608         (StackTrace(), StackTrace(int)): New constructors.
5609         (classAt, methodAt, update, methodAtAddress): New methods.
5610         (map): New field.
5611         * java/lang/VMThrowable.java: Use StackTrace instead of
5612         natVMTHrowable.
5613         * java/lang/Class.h (getClassLoaderInternal): New.
5614         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5615         Be friendly with gnu::gcj::runtime::StackTrace.
5616         (Object.chain): New field.
5617         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5618         gnu::gcj::runtime::StackTrace.
5619         * gnu/gcj/runtime/natStackTrace.cc: New file.
5620         * gnu/gcj/runtime/MethodRef.java: New file.
5621         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5622         instead of getClassLoader().
5623         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5624         java::lang::VMThrowable.
5625         * Makefile.am (core_java_source_files): Add MethodRef.java,
5626         StackTrace.java.
5627         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5628         * Makefile.in: Rebuild.
5629
5630 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5631
5632         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5633         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5634         yes also for sh-linux* and sh[34]*-linux*.
5635         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5636         set SIGNAL_HANDLER to use DWARF2 exception for them.
5637         * configure: Regenerate.
5638
5639 2002-12-02  Tom Tromey  <tromey@redhat.com>
5640
5641         * jni.cc: Added `name' argument.
5642         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5643         `const char *' argument.
5644         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5645
5646 2002-12-01  Tom Tromey  <tromey@redhat.com>
5647
5648         Bug compatibility, for PR libgcj/8738:
5649         * java/io/CharArrayWriter.java (close): Do nothing.
5650         (flush): Likewise.
5651         (reset): Don't touch `closed'.
5652         (write(int)): Don't throw IOException.
5653         (write(char[],int,int)): Likewise.
5654         (write(String,int,int)): Likewise.
5655         (closed): Removed.
5656
5657 2002-12-01  Mark Wielaard  <mark@klomp.org>
5658
5659         * java/lang/SecurityManager.java: Remerge comments, indenting and
5660         checkXXX methods with Classpath.
5661
5662 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5663
5664         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5665         getNormalizedComponents): Fix calculation which was using one too
5666         many bits in the unnormalized format.
5667
5668 2002-11-29  Gary Benson  <gbenson@redhat.com>
5669
5670         For PR libgcj/8759:
5671         * java/beans/Introspector.java (flushCaches): New method.
5672         (flushFromCaches): Likewise.
5673
5674 2002-11-29  Michael Koch <konqueror@gmx.de>
5675
5676         * java/nio/channels/DatagramChannel.java
5677         (open): Added exception documentation.
5678         (write): Added exception documentation.
5679         (connect): Added exception documentation.
5680         (disconnect): Added exception documentation.
5681         (isConnected): Added exception documentation.
5682         (read): Added exception documentation.
5683         (receive): Added exception documentation.
5684         (send): Added exception documentation.
5685         (validOps): Added exception documentation.
5686         * java/nio/channels/SocketChannel.java
5687         (open): Added exception documentation.
5688         (read): Added exception documentation.
5689         (write): Added exception documentation.
5690         (connect): Added exception documentation.
5691         (finishConnect): Added exception documentation.
5692
5693 2002-11-29  Michael Koch <konqueror@gmx.de>
5694
5695         * gnu/java/nio/DatagramChannelImpl:
5696         (fd): New member variable to store file descriptor of socket.
5697         * gnu/java/nio/SelectionKeyImpl.java:
5698         (ops): Removed.
5699         (readyOps): New member variable.
5700         (interestOps): New member variable.
5701         (readyOps): Implemented.
5702         (readyOps): New method to set member variable readyOps.
5703         (interestOps): Replaced ops by interestOps.
5704         * gnu/java/nio/SelectorImpl.java:
5705         (SelectorImpl): Initialize key sets.
5706         (select): Call select with -1 instead of Long.MAX_VALUE).
5707         (java_do_select): Make it a native method.
5708         (getFDsAsArray): New helper method.
5709         (select): Remove canceled keys, give only interested file discriptors
5710         to java_do_select, set ready ops.
5711         (add): No need to initialize keys set here.
5712         (add_selected): No need to initialize selected set here.
5713         (deregisterCanceledKeys): New helper method.
5714         (register): Set interest ops, set attachments, added handling of datagram
5715         channels.
5716         * gnu/java/nio/ServerSocketChannelImpl:
5717         (SocketAccept): Renamed from NioSocketAccept.
5718         (implConfigureBlocking): Implemented.
5719         (accept): Use SocketAccept instead of NioSocketAccept.
5720         * gnu/java/nio/SocketChannelImpl:
5721         Reactivate native methods.
5722
5723 2002-11-29  Michael Koch <konqueror@gmx.de>
5724
5725         * gnu/java/nio/natByteBufferImpl.cc,
5726         gnu/java/nio/natCharBufferImpl.cc,
5727         gnu/java/nio/natDoubleBufferImpl.cc,
5728         gnu/java/nio/natFloatBufferImpl.cc,
5729         gnu/java/nio/natIntBufferImpl.cc,
5730         gnu/java/nio/natLongBufferImpl.cc,
5731         gnu/java/nio/natSelectorImpl.cc,
5732         gnu/java/nio/natServerSocketChannelImpl.cc,
5733         gnu/java/nio/natShortBufferImpl.cc,
5734         gnu/java/nio/natSocketChannelImpl.cc:
5735         New files that implement native functionalities.
5736
5737 2002-11-29  Michael Koch <konqueror@gmx.de>
5738
5739         * gnu/java/nio/ByteBufferImpl.java
5740         (ByteBufferImpl): Moved position() after limit.
5741         (nio_*): Use native implementation.
5742         * gnu/java/nio/CharBufferImpl.java:
5743         Reformated.
5744         (endian): New member variable string endianess of buffer.
5745         (CharBufferImpl): Moved position() after limit.
5746         (nio_*): Use native implementation.
5747         (subSequence): Implemented.
5748         * gnu/java/nio/DoubleBufferImpl.java
5749         (DoubleBufferImpl): Moved position() after limit.
5750         (nio_*): Use native implementation.
5751         * gnu/java/nio/FloatBufferImpl.java
5752         Reformated.
5753         (FloatBufferImpl): Moved position() after limit.
5754         (nio_*): Use native implementation.
5755         * gnu/java/nio/IntBufferImpl.java
5756         Added needed imports, Reformated.
5757         (IntBufferImpl): Moved position() after limit.
5758         (nio_*): Use native implementation.
5759         * gnu/java/nio/LongBufferImpl.java
5760         Reformated.
5761         (LongBufferImpl): Moved position() after limit.
5762         (nio_*): Use native implementation.
5763         * gnu/java/nio/ShortBufferImpl.java
5764         Reformated.
5765         (ShortBufferImpl): Moved position() after limit.
5766         (nio_*): Use native implementation.
5767
5768 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5769
5770         * java/util/Locale.java (toString): Improve efficiency if country
5771         and variant are both empty.
5772
5773 2002-11-26  Tom Tromey  <tromey@redhat.com>
5774
5775         * verify.cc (pop_init_ref): New method.
5776         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5777         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5778         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5779         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5780         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5781         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5782         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5783         let `this' argument be uninitialized.  Don't let `null' be passed
5784         as `this' to construtor.
5785
5786 2002-11-26  Mark Wielaard  <mark@klomp.org>
5787
5788         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5789         * javax/transaction/HeuristicMixedException.java: Likewise.
5790         * javax/transaction/HeuristicRollbackException.java: Likewise.
5791         * javax/transaction/InvalidTransactionException.java: Likewise.
5792         * javax/transaction/NotSupportedException.java: Likewise.
5793         * javax/transaction/RollbackException.java: Likewise.
5794         * javax/transaction/Status.java: Likewise.
5795         * javax/transaction/Synchronization.java: Likewise.
5796         * javax/transaction/SystemException.java: Likewise.
5797         * javax/transaction/Transaction.java: Likewise.
5798         * javax/transaction/TransactionManager.java: Likewise.
5799         * javax/transaction/TransactionRequiredException.java: Likewise.
5800         * javax/transaction/TransactionRolledbackException.java: Likewise.
5801         * javax/transaction/UserTransaction.java: Likewise.
5802         * javax/transaction/xa/XAException.java: Likewise.
5803         * javax/transaction/xa/XAResource.java: Likewise.
5804         * javax/transaction/xa/Xid.java: Likewise.
5805
5806 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5807
5808         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5809         define.
5810         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5811         * include/posix.h (socklen_t): Define if not already defined.
5812
5813 2002-11-25  Tom Tromey  <tromey@redhat.com>
5814
5815         * verify.cc (type::compatible): Backed out broken change.
5816
5817         * verify.cc (type::compatible): Check initialization status
5818         first.
5819         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5820         Don't use NULLCHECK.
5821
5822 2002-11-23  H.J. Lu <hjl@gnu.org>
5823
5824         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5825         Include ../config/accross.m4.
5826         * aclocal.m4; Rebuild.
5827         * configure: Likewise.
5828
5829 2002-11-23  Mark Wielaard  <mark@klomp.org>
5830
5831         * javax/naming/AuthenticationException.java: Update copyright header.
5832         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5833         * javax/naming/Binding.java: Likewise.
5834         * javax/naming/CannotProceedException.java: Likewise.
5835         * javax/naming/CommunicationException.java: Likewise.
5836         * javax/naming/CompositeName.java: Likewise.
5837         * javax/naming/CompoundName.java: Likewise.
5838         * javax/naming/ConfigurationException.java: Likewise.
5839         * javax/naming/Context.java: Likewise.
5840         * javax/naming/ContextNotEmptyException.java: Likewise.
5841         * javax/naming/InitialContext.java: Likewise.
5842         * javax/naming/InsufficientResourcesException.java: Likewise.
5843         * javax/naming/InterruptedNamingException.java: Likewise.
5844         * javax/naming/LimitExceededException.java: Likewise.
5845         * javax/naming/LinkException.java: Likewise.
5846         * javax/naming/LinkLoopException.java: Likewise.
5847         * javax/naming/LinkRef.java: Likewise.
5848         * javax/naming/MalformedLinkException.java: Likewise.
5849         * javax/naming/NameAlreadyBoundException.java: Likewise.
5850         * javax/naming/NameClassPair.java: Likewise.
5851         * javax/naming/NameNotFoundException.java: Likewise.
5852         * javax/naming/NameParser.java: Likewise.
5853         * javax/naming/NamingEnumeration.java: Likewise.
5854         * javax/naming/NamingSecurityException.java: Likewise.
5855         * javax/naming/NoInitialContextException.java: Likewise.
5856         * javax/naming/NoPermissionException.java: Likewise.
5857         * javax/naming/NotContextException.java: Likewise.
5858         * javax/naming/OperationNotSupportedException.java: Likewise.
5859         * javax/naming/PartialResultException.java: Likewise.
5860         * javax/naming/Reference.java: Likewise.
5861         * javax/naming/Referenceable.java: Likewise.
5862         * javax/naming/ReferralException.java: Likewise.
5863         * javax/naming/ServiceUnavailableException.java: Likewise.
5864         * javax/naming/SizeLimitExceededException.java: Likewise.
5865         * javax/naming/TimeLimitExceededException.java: Likewise.
5866         * javax/naming/directory/Attribute.java: Likewise.
5867         * javax/naming/directory/AttributeInUseException.java: Likewise.
5868         * javax/naming/directory/AttributeModificationException.java: Likewise.
5869         * javax/naming/directory/Attributes.java: Likewise.
5870         * javax/naming/directory/BasicAttribute.java: Likewise.
5871         * javax/naming/directory/BasicAttributes.java: Likewise.
5872         * javax/naming/directory/DirContext.java: Likewise.
5873         * javax/naming/directory/InitialDirContext.java: Likewise.
5874         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5875         Likewise.
5876         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5877         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5878         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5879         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5880         * javax/naming/directory/ModificationItem.java: Likewise.
5881         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5882         * javax/naming/directory/SchemaViolationException.java: Likewise.
5883         * javax/naming/directory/SearchControls.java: Likewise.
5884         * javax/naming/directory/SearchResult.java: Likewise.
5885         * javax/naming/event/EventContext.java: Likewise.
5886         * javax/naming/event/EventDirContext.java: Likewise.
5887         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5888         * javax/naming/event/NamingEvent.java: Likewise.
5889         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5890         * javax/naming/event/NamingListener.java: Likewise.
5891         * javax/naming/event/ObjectChangeListener.java: Likewise.
5892         * javax/naming/ldap/Control.java: Likewise.
5893         * javax/naming/ldap/ControlFactory.java: Likewise.
5894         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5895         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5896         * javax/naming/ldap/HasControls.java: Likewise.
5897         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5898         * javax/naming/ldap/LdapContext.java: Likewise.
5899         * javax/naming/ldap/LdapReferralException.java: Likewise.
5900         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5901         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5902         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5903         * javax/naming/spi/DirObjectFactory.java: Likewise.
5904         * javax/naming/spi/DirStateFactory.java: Likewise.
5905         * javax/naming/spi/DirectoryManager.java: Likewise.
5906         * javax/naming/spi/InitialContextFactory.java: Likewise.
5907         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5908         * javax/naming/spi/NamingManager.java: Likewise.
5909         * javax/naming/spi/ObjectFactory.java: Likewise.
5910         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5911         * javax/naming/spi/ResolveResult.java: Likewise.
5912         * javax/naming/spi/Resolver.java: Likewise.
5913         * javax/naming/spi/StateFactory.java: Likewise.
5914
5915         * javax/naming/spi/NamingManager.java (ofb): Package private.
5916
5917 2002-11-21  Mark Wielaard  <mark@klomp.org>
5918
5919         * java/net/URL.java: Merge with Classpath (partly).
5920         * java/net/URLStreamHandler: Merge with Classpath.
5921
5922 2002-11-22  Michael Koch <konqueror@gmx.de>
5923
5924         * include/posix.h:
5925         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5926         * include/win32.h:
5927         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5928         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5929
5930 2002-11-21  Michael Koch <konqueror@gmx.de>
5931
5932         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5933         Only the new network functions should be in it.
5934
5935 2002-11-21  Michael Koch <konqueror@gmx.de>
5936
5937         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5938         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5939
5940 2002-11-21  Michael Koch <konqueror@gmx.de>
5941
5942         * java/nio/channels/AsynchronousCloseException.java,
5943         java/nio/channels/CancelledKeyException.java,
5944         java/nio/channels/ClosedByInterruptException.java,
5945         java/nio/channels/ConnectionPendingException.java,
5946         java/nio/channels/FileLockInterruptionException.java,
5947         java/nio/channels/IllegalSelectorException.java,
5948         java/nio/channels/NoConnectionPendingException.java,
5949         java/nio/channels/NonReadableChannelException.java,
5950         java/nio/channels/NonWritableChannelException.java,
5951         java/nio/channels/NotYetBoundException.java,
5952         java/nio/channels/NotYetConnectedException.java,
5953         java/nio/channels/OverlappingFileLockException.java,
5954         java/nio/channels/UnresolvedAddressException.java,
5955         java/nio/channels/UnsupportedAddressTypeException.java:
5956         New files.
5957         * Makefile.am (ordinary_java_source_files): Added new files.
5958         * Makefile.in: Regenerated.
5959
5960 2002-11-21  Michael Koch <konqueror@gmx.de>
5961
5962         * include/posix.h
5963         (_Jv_socket): New method.
5964         (_Jv_connect): New method.
5965         (_Jv_close): New method.
5966         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5967         (_Jv_bind): New method.
5968         (_Jv_listen): New method.
5969         (_Jv_write): New method.
5970         (_Jv_read): New method.
5971         * include/win32.h
5972         (_Jv_socket): New method.
5973         (_Jv_connect): New method.
5974         (_Jv_close): New method.
5975         (_Jv_bind): New method.
5976         (_Jv_listen): New method.
5977         (_Jv_write): New method.
5978         (_Jv_read): New method.
5979         * java/net/natNetworkInterface.cc:
5980         Include platform.h, removed inclusion of socket.h
5981         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5982         ::close() by _Jv_close().
5983         * java/net/natPlainDatagramSocketImpl.cc:
5984         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5985         added some new lines to make code more readable.
5986         (create): Replaced ::socket() by _Jv_socket().
5987         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5988         * java/net/natPlainSocketImpl.cc:
5989         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5990         removed include of socket.h, removed some windows defines
5991         (now in include/win32.h).
5992         (create): Replaced ::socket() by _Jv_socket().
5993         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5994         (write): Replaced ::read by _Jv_write().
5995         (read): Replaced ::read by _Jv_read().
5996
5997 2002-11-20  Michael Koch <konqueror@gmx.de>
5998
5999         * Makefile.am (ordinary_java_source_files):
6000         Added java/nio/channels/FileChannel.java.
6001         * Makefile.in: Regenerated.
6002
6003 2002-11-20  Michael Koch <konqueror@gmx.de>
6004
6005         * java/io/FileInputStream.java
6006         (getChannel): New method.
6007         * java/io/FileOutputStream.java
6008         (getChannel): New method.
6009         * java/net/ServerSocket.java
6010         (bind): Removed duplicate code and called another bind method instead.
6011         * java/nio/channels/SelectionKey.java
6012         (isValid): Removed wrong exception documentation.
6013         * java/nio/channels/ServerSocketChannel.java
6014         (accept): Added exception documentation.
6015         (open): Fixed typo, added exception documentation.
6016         * java/nio/channels/spi/AbstractSelectableChannel.java
6017         (implCloseChannel): Added exception documentation.
6018         (add): Reformated.
6019         (register): Added exception documentation.
6020
6021 2002-11-20  Andreas Jaeger  <aj@suse.de>
6022
6023         * configure: Regenerated with new libtool.m4.
6024
6025 2002-11-19  Tom Tromey  <tromey@redhat.com>
6026
6027         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6028         `referent'.
6029         (finalize_referred_to_object): Don't modify `referent' or `copy'
6030         fields.
6031         (add_to_hash): Correctly set `n->next' when updating list.
6032         * java/lang/ref/Reference.java (enqueue): Return false if already
6033         enqueued.
6034
6035 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6036
6037         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6038         to function and function pointer declarations in accordance with
6039         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6040         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6041         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6042         JNI function definitions.
6043
6044 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6045
6046         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6047         that was causing CoderResults to be cached, not WeakReferences
6048         to CoderResults.
6049
6050 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6051
6052         * java/security/KeyStore.java (getInstance): Fix
6053         comment and throw IllegalArgumentException if
6054         given provider is null.
6055         (getInstance): New method for jdk1.4 compatibility.
6056
6057 2002-11-18  Michael Koch <konqueror@gmx.de>
6058
6059         * java/net/PlainSocketImpl.java: Fix imports.
6060
6061 2002-11-18  Michael Koch <konqueror@gmx.de>
6062
6063         * java/nio/channels/SelectionKey.java
6064         (isValid): Added exception documentation.
6065         * java/nio/channels/Selector.java
6066         (open): Declare "throws IOException".
6067
6068 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6069
6070         * java/nio/charset/Charset.java
6071         (<clinit>): New method.
6072         (encode): Synchronize use of cached encoder object.
6073         (decode): Synchronize use of cached encoder object.
6074
6075 2002-11-18  Michael Koch <konqueror@gmx.de>
6076
6077         * gnu/java/nio/ByteBufferImpl.java,
6078         gnu/java/nio/CharBufferImpl.java,
6079         gnu/java/nio/DatagramChannelImpl.java,
6080         gnu/java/nio/DoubleBufferImpl.java,
6081         gnu/java/nio/FileChannelImpl.java,
6082         gnu/java/nio/FloatBufferImpl.java,
6083         gnu/java/nio/IntBufferImpl.java,
6084         gnu/java/nio/LongBufferImpl.java,
6085         gnu/java/nio/PipeImpl.java,
6086         gnu/java/nio/SelectionKeyImpl.java,
6087         gnu/java/nio/SelectorImpl.java,
6088         gnu/java/nio/SelectorProviderImpl.java,
6089         gnu/java/nio/ServerSocketChannelImpl.java,
6090         gnu/java/nio/ShortBufferImpl.java,
6091         gnu/java/nio/SocketChannelImpl.java,
6092         java/nio/DoubleBuffer.java,
6093         java/nio/FloatBuffer.java,
6094         java/nio/IntBuffer.java,
6095         java/nio/LongBuffer.java,
6096         java/nio/ShortBuffer.java,
6097         java/nio/channels/FileChannel.java: New files.
6098
6099 2002-11-18  Michael Koch <konqueror@gmx.de>
6100
6101         * Makefile.am (ordinary_java_source_files):
6102         Added java/nio/ReadOnlyBufferException.java and
6103         java/nio/channels/ClosedSelectorException.java.
6104         * Makefile.in: Regenerated.
6105
6106 2002-11-18  Michael Koch <konqueror@gmx.de>
6107
6108         * java/net/PlainSocketImpl.java: Reworked imports.
6109         * java/net/ServerSocket.java
6110         (ServerSocket): Create socket.
6111         * java/net/SocketAddress.java: Documentation added.
6112         * java/net/natPlainSocketImpl.cc: Reindented.
6113         * java/nio/ReadOnlyBufferException.java: New file
6114         * java/nio/channels/ClosedChannelException.java: Documentation added.
6115         * java/nio/channels/ClosedSelectorException.java: New file.
6116
6117 2002-11-17  Mark Wielaard  <mark@klomp.org>
6118
6119         * java/net/HttpURLConnection.java ((getPermission): Take port
6120         into consideration.
6121         (getErrorStream): Implement.
6122
6123 2002-11-17  Mark Wielaard  <mark@klomp.org>
6124
6125         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6126
6127 2002-11-16  Mark Wielaard  <mark@klomp.org>
6128
6129         Integrate work by Raif S. Naffah (raif@fl.net.au)
6130         * java/security/DummyKeyPairGenerator.java (clone): New method.
6131         * java/security/DummyMessageDigest.java (clone): New method.
6132         (engineUpdate): Now public.
6133         (engineReset): Likewise.
6134         (engineDigest): Likewise.
6135         (engineGetDigestLength): New method.
6136         * java/security/DummySignature.java (clone): New method.
6137         * java/security/KeyPairGenerator.java (provider): Now package private.
6138         (getInstance(String)): Use getInstance(String,Provider).
6139         (getInstance(String,String): Use getInstance(String,Provider)
6140         (getInstance(String,Provider): New method.
6141         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6142         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6143         * java/security/MessageDigest.java (provider): Now package private.
6144         (getInstance(String): Use getInstance(String,Provider).
6145         (getInstance(String,String): Use getInstance(String,Provider)
6146         (getInstance(String,Provider): New method.
6147         * java/security/Provider.java (toCanonicalKey): New method.
6148         (get): New method that uses toCanonicalKey().
6149         (put): Use toCanonicalKey().
6150         (remove): Likewise.
6151         * java/security/Security.java (insertProviderAt): Provider index is one
6152         based, not zero based.
6153         (addProvider): Likewise.
6154         (removeProvider): Likewise.
6155         * java/security/Signature.java (provider): Now package private.
6156         (getInstance(String)): Use getInstance(String,Provider).
6157         (getInstance(String,String): Use getInstance(String,Provider)
6158         (getInstance(String,Provider): New method.
6159         (getInstance(String,String,Provider): Don't cast DummySignature.
6160
6161 2002-11-15  Tom Tromey  <tromey@redhat.com>
6162
6163         For PR libgcj/8593:
6164         * java/util/zip/GZIPInputStream.java (read): Check file size.
6165         Look in inflater for remaining input bytes.
6166         (read4): Added buf and offset arguments.
6167
6168 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6169
6170         * java/applet/AppletContext.java: Fix typo and remove redundant
6171         modifiers.
6172
6173 2002-11-14  Tom Tromey  <tromey@redhat.com>
6174
6175         * java/lang/natRuntime.cc (insertSystemProperties): Set
6176         gnu.classpath.home.
6177
6178 2002-11-13  Michael Koch <konqueror@gmx.de>
6179
6180         * java/nio/ByteBuffer.java
6181         (allocate): New method.
6182         (wrap): New method.
6183         (put): New method.
6184         (get): New method.
6185
6186 2002-11-13  Michael Koch <konqueror@gmx.de>
6187
6188         * java/nio/channels/AlreadyConnectedException.java:
6189         Removed unneeded import.
6190         (AlreadyConnectedException): Documentation added.
6191         * java/nio/channels/Pipe.java
6192         (SinkChannel.SinkChannel): Documentation added.
6193         (SinkChannel.validOps): New method.
6194         (SourceChannel.SourceChannel): Documentation added.
6195         (SourceChannel.validOps): New method.
6196         (Pipe): Documentation added.
6197         (open): Documentation added.
6198         (SinkChannel.channel): Documentation added.
6199         (SourceChannel.channel): Documentation added.
6200         * java/nio/channel/SelectableChannel.java
6201         (SelectableChannel): Documentation added.
6202         (blockingLock): Documentation added.
6203         (configureBlocking):Documentation added.
6204         (isBlocking):Documentation added.
6205         (isRegistered):Documentation added.
6206         (keyFor):Documentation added.
6207         (provider):Documentation added.
6208         (register): Documentation added.
6209         (validOps): Documentation added.
6210         * jaba/nio/channels/SelectionKey.java
6211         (SelectionKey): Documentation added.
6212         (attach): Documentation added.
6213         (attachment): Documentation added.
6214         (isAcceptable): Documentation added.
6215         (isConnetable): Documentation added.
6216         (isReadable): Documentation added.
6217         (isWritable): Documentation added.
6218         (cancel): Documentation added.
6219         (channel): Documentation added.
6220         (interestOps): Documentation added.
6221         (isValid): Documentation added.
6222         (readyOps): Documentation added.
6223         (selector): Documentation added.
6224         * jaba/nio/channels/Selector.java
6225         (Selector): Documentation added.
6226         (open): Documentation added.
6227         (close): Documentation added.
6228         (isOpen): Documentation added.
6229         (keys): Documentation added.
6230         (provider): Documentation added.
6231         (select): Documentation added.
6232         (selectedKeys): Documentation added.
6233         (selectNow): Documentation added.
6234         (wakeup): Documentation added.
6235         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6236         (AbstractInterruptibleChannel): Documentation added.
6237         (opened): Default to true;
6238         (begin): Documentation added.
6239         (close): Set opened to false, documentation added.
6240         (isOpen): Documentation added.
6241         * java/nio/channels/spi/AbstractSelectionKey.java
6242         (AbstractSelectionKey): Documentation added.
6243         (cancel): Documentation added.
6244         (isValid): Documentation added.
6245         * java/nio/channels/spi/AbstractSelector.java
6246         (AbstractSelector): Documentation added.
6247         (begin): Documentation added.
6248         (close): Documentation added.
6249         (isOpen): Documentation added.
6250         (deregister): Documentation added.
6251         (end): Documentation added.
6252         (provider): Documentation added.
6253         (implCloseSelector): Documentation added.
6254         (register): Documentation added.
6255         * java/nio/channels/spi/SelectorProvider.java
6256         (SelectorProvider): Documentation added.
6257         (openDatagramChannel): Documentation added.
6258         (openPipe): Documentation added.
6259         (openSelector): Documentation added.
6260         (openServerSocketChannel): Documentation added.
6261         (openSocketChannel): Documentation added.
6262         (provider): Documentation added.
6263
6264 2002-11-12  Michael Koch <konqueror@gmx.de>
6265
6266         * java/nio/Buffer.java: Implemented.
6267         * java/nio/CharBuffer.java: New file.
6268         * java/nio/InvalidMarkException.java: New file.
6269         * java/nio/channels/DatagramChannel.java: Implemented.
6270         * java/nio/channels/ServerSocketChannel.java: Implemented.
6271         * java/nio/channels/SocketChannel.java: Implemented.
6272         * java/nio/channels/spi/AbstractChannel.java: Removed.
6273         * java/nio/channels/spi/AbstractSelectableChannel.java:
6274         Implemented.
6275         * java/nio/charset/Charset.java:
6276         Merge from Classpath.
6277         * java/nio/charset/CharsetDecoder.java: New file.
6278         * java/nio/charset/CharsetEncoder.java: New file.
6279         * java/nio/charset/CoderResult.java: New file.
6280         * Makefile.am (ordinary_java_source_files): Added new files.
6281         * Makefile.in: Regenerated.
6282
6283 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6284
6285         * gnu/java/nio/charset/ISO_8859_1.java,
6286         gnu/java/nio/charset/Provider.java,
6287         gnu/java/nio/charset/US_ASCII.java,
6288         gnu/java/nio/charset/UTF_16.java,
6289         gnu/java/nio/charset/UTF_16BE.java,
6290         gnu/java/nio/charset/UTF_16Decoder.java,
6291         gnu/java/nio/charset/UTF_16Encoder.java,
6292         gnu/java/nio/charset/UTF_16LE.java,
6293         gnu/java/nio/charset/UTF_8.java: New files.
6294
6295 2002-11-11  Michael Koch <konqueror@gmx.de>
6296
6297         * java/nio/charset/CharacterCodingException.java:
6298         This class must be public.
6299         * java/nio/charset/CoderMalfunctionError.java:
6300         This class must be public.
6301         * java/nio/charset/CodingErrorAction.java:
6302         This class must be public.
6303         * java/nio/charset/IllegalCharsetNameException.java:
6304         This class must be public, better implementation.
6305         * java/nio/charset/MalformedInputException.java:
6306         This class must be public, better implementation.
6307         * java/nio/charset/UnmappableCharacterException.java:
6308         This class must be public, better implementation.
6309         * java/nio/charset/UnsupportedCharsetException.java:
6310         This class must be public, better implementation.
6311
6312 2002-11-11  Michael Koch <konqueror@gmx.de>
6313
6314         * java/nio/BufferOverflowException.java,
6315         java/nio/BufferUnderflowException.java: New file.
6316         * Makefile.am (ordinary_java_source_files):
6317         Added new files.
6318         * Makefile.in: Regenerated.
6319
6320 2002-11-10  Tom Tromey  <tromey@redhat.com>
6321
6322         * java/awt/Container.java (validate): Use tree lock.
6323         (getComponent): Likewise.
6324         (getComponents): Likewise.
6325         (addImpl): Likewise.
6326         (remove): Likewise.
6327         (removeAll): Likewise.
6328         (processEvent): Fixed indentation.
6329         (getComponentAt): Use tree lock.
6330         (findComponentAt): Likewise.
6331         (removeNotify): Likewise.
6332         (isAncestorOf): Likewise.
6333         (list): Likewise.
6334         (visitChildren): Likewise.
6335         (findNextFocusComponent): Likewise.
6336         (addNotifyContainerChildren): Likewise.
6337         (getAccessibleChildrenCount): Likewise.
6338         (getAccessibleChild): Likewise.
6339
6340         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6341         (getSize): Likewise.
6342         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6343         (getSize): Likewise.
6344         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6345         (calcSize): Likewise.
6346         * java/awt/CardLayout.java (getSize): Use tree lock.
6347         (gotoComponent): Likewise.
6348         (layoutContainer): Likewise.
6349
6350         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6351         count is 0.
6352         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6353         count is 0.
6354
6355         * java/io/Externalizable.java, java/io/FilePermission.java,
6356         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6357         java/io/SerializablePermission.java, java/text/Format.java,
6358         java/util/AbstractMap.java, java/util/HashMap.java,
6359         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6360         versions from Classpath.
6361
6362 2002-11-10  Anthony Green  <green@redhat.com>
6363
6364         * java/util/jar/Attributes.java (Name): Fix name check.
6365
6366 2002-11-10  Mark Wielaard  <mark@klomp.org>
6367
6368         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6369         with getName() as message.
6370         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6371         type as message.
6372
6373         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6374         unused.
6375
6376 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6377
6378         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6379         for Win32. JNICALL has been defined to __stdcall to be compatible
6380         with Sun's JDKs.
6381
6382 2002-11-10  Tom Tromey  <tromey@redhat.com>
6383
6384         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6385         (setRows): Check newRows, not rows.
6386
6387         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6388
6389 2002-11-09  Tom Tromey  <tromey@redhat.com>
6390
6391         * java/applet/Applet.java, java/applet/AppletContext.java,
6392         java/applet/AppletStub.java, java/applet/AudioClip.java,
6393         java/awt/CardLayout.java,
6394         java/awt/ContainerOrderFocusTraversalPolicy.java,
6395         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6396         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6397         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6398         java/awt/color/ICC_ColorSpace.java,
6399         java/awt/color/ICC_Profile.java,
6400         java/awt/color/ICC_ProfileGray.java,
6401         java/awt/color/ICC_ProfileRGB.java,
6402         java/awt/datatransfer/DataFlavor.java,
6403         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6404         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6405         New versions from Classpath.
6406         * Makefile.in: Rebuilt.
6407         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6408         ICC_ProfileRGB.
6409
6410         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6411         display policy.
6412
6413         * java/awt/List.java (processEvent): Added missing `else's.
6414
6415         * java/awt/Window.java (show): validate() before showing.  Make
6416         parent displayable.
6417         (isDisplayable): New method.
6418
6419 2002-11-07  Mark Wielaard  <mark@klomp.org>
6420
6421         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6422         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6423
6424         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6425         annotation.
6426         (loadClass): Take String as codebases.
6427         (getClassAnnotation): Use MyClassLoader annotations.
6428         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6429         call exportObject(this).
6430
6431         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6432         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6433         (setAnnotation): Don't set locBytesStream and locStream.
6434         (replaceObject): Removed.
6435         (flush): Don't test locStream.
6436         (getLocBytes): LikeWise.
6437         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6438         (leaseCache): New field.
6439         (dirty): Use leaseCache.
6440         (LeaseRecord): New inner class.
6441         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6442         explicitly call exportObject().
6443         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6444         false to communicate with Sun JDK130.
6445         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6446         * gnu/java/rmi/server/RMIObjectInputStream.java
6447         (UnicastConnectionManager): Removed field.
6448         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6449         Use UnicastServer.getExportedRef().
6450         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6451         (expireTime): Likewise.
6452         (CONNECTION_TIMEOUT): Likewise.
6453         (disconnect): Call sock.close().
6454         (isExpired): New method.
6455         (resetTime): Likewise.
6456         (run): Use do while loop and catch Exception for discardConnection().
6457         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6458         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6459         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6460         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6461         (exportObject): Use refcache.
6462         (unexportObject): Likewise.
6463         (getExportedRef): New method.
6464         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6465         constructor.
6466         (exportObject): Save manager.serverobj.
6467         (getStub): New method.
6468
6469 2002-11-07  Mark Wielaard  <mark@klomp.org>
6470
6471         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6472         (getByte): Likewise.
6473         (getShort): Likewise.
6474         (getInt): Likewise.
6475         (getLong): Likewise.
6476         (getFloat): Likewise.
6477         (getDouble): Likewise.
6478         (get): Likewise.
6479         (setChar): Likewise.
6480         (setByte): Likewise.
6481         (setShort): Likewise.
6482         (setInt): Likewise.
6483         (setLong): Likewise.
6484         (setFloat): Likewise.
6485         (setDouble): Likewise.
6486
6487 2002-11-07  Michael Koch <konqueror@gmx.de>
6488
6489         * java/awt/Choice.java,
6490         java/awt/Container.java,
6491         java/awt/GridBagLayout.java:
6492         Fixed documentation.
6493         * java/awt/peer/ContainerPeer.java:
6494         Reindented.
6495
6496 2002-11-07  Michael Koch <konqueror@gmx.de>
6497
6498         * java/awt/color/ICC_Profile.java:
6499         Added missing constants.
6500         * java/awt/color/ICC_ColorSpace.java
6501         (getMinValue): Added dummy implementation.
6502         (getMaxValue): Added dummy implementation.
6503         * java/awt/datatransfer/DataFlavor.java
6504         (imageFlavor): Added.
6505         (isMimeTypeEqual): Must be final.
6506         (getDefaultRepresentationClass): Must be non-static.
6507         (getDefaultRepresentationClassAsString): Must be non-static.
6508         * java/awt/dnd/DragSourceContext.java
6509         (dragExit): Corrected argument.
6510         (dragDropEnd): Corrected argument.
6511         * java/awt/dnd/DragSourceListener.java.java
6512         (dragExit): Corrected argument.
6513         (dragDropEnd): Corrected argument.
6514         * java/awt/font/TextHitInfo.java
6515         (toString): Added stubbed implementation.
6516         * java/awt/geom/PathIterator.java:
6517         The constants must be static.
6518         * java/awt/image/VolatileImage.java
6519         (IMAGE_INCOMPATIBLE): Fixed typo.
6520         * java/awt/image/renderable/RenderableImage.java
6521         (HINTS_OBSERVED): Must be static.
6522         * java/beans/BeanInfo.java:
6523         Constants must be final.
6524
6525 2002-11-06  Tom Tromey  <tromey@redhat.com>
6526
6527         From svens@it.uu.se.  For PR libgcj/8481.
6528         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6529
6530 2002-11-06  Tom Tromey  <tromey@redhat.com>
6531
6532         * jni.cc (array_from_valist): Assume that jlong won't be
6533         promoted.
6534
6535 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6536
6537         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6538         Return 20.
6539         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6540         Return 16.
6541
6542 2002-11-03  Tom Tromey  <tromey@redhat.com>
6543
6544         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6545         VMClassLoader, not findClass.
6546
6547 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6548
6549         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6550         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6551         _Jv_DetermineVTableIndex, to determine vtable offset.
6552         (_Jv_DetermineVTableIndex): Remove.
6553         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6554
6555         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6556
6557 2002-11-03  Tom Tromey  <tromey@redhat.com>
6558
6559         * java/nio/channels/AlreadyConnectedException.java: Extend
6560         IllegalStateException, per spec.
6561
6562 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6563
6564         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6565
6566 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6567
6568         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6569         size items.
6570
6571 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6572
6573         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6574         initial estimated size to avoid enlarge buffer frequently.
6575
6576 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6577
6578         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6579         ClassLoader when null.
6580         (ProxyType.hashCode): Loader null check no longer needed.
6581         (ProxyType.sameTypes): New method.
6582         (ProxyType.equals): Use new method.
6583
6584 2002-10-31  Mark Wielaard  <mark@klomp.org>
6585
6586         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6587         length of String.
6588         * java/net/URLEncoder.java (encode): Likewise.
6589
6590 2002-10-31  Mark Wielaard  <mark@klomp.org>
6591
6592         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6593         when stream is closed.
6594         (closeEntry): Likewise.
6595         (read): Likewise.
6596         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6597         ZipException when no entry active.
6598         (closeEntry): Likewise.
6599         (write): Likewise.
6600
6601 2002-11-02  Tom Tromey  <tromey@redhat.com>
6602
6603         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6604         * java/lang/natClass.cc (initializeClass): Don't return just
6605         because self==thread.
6606
6607         For PR java/8415:
6608         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6609         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6610
6611 2002-11-02  Andreas Schwab  <schwab@suse.de>
6612
6613         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6614         pass GCJFLAGS.
6615         (FLAGS_TO_PASS): Define.
6616         * Makefile.in: Regenerated.
6617
6618 2002-11-01  Michael Koch  <konqueror@gmx.de>
6619
6620         * java/nio/ByteOrder.java: New file.
6621         * java/nio/channels/DatagramChannel.java:
6622         (DatagramChannel): New constructor.
6623         * java/nio/channels/Pipe.java: New file.
6624         * java/nio/channels/SelectableChannel.java: New file.
6625         * java/nio/channels/SelectionKey.java: New file.
6626         * java/nio/channels/Selector.java: New file.
6627         * java/nio/channels/ServerSocketChannel.java
6628         (ServerSocketChannel): New constructor.
6629         * java/nio/channels/SocketChannel.java
6630         (SocketChannel): New constructor.
6631         * java/nio/channels/Pipe.java: New file.
6632         * java/nio/channels/spi/AbstractChannel.java: New file.
6633         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6634         * java/nio/channels/spi/AbstractSelectableChannel.java:
6635         License added
6636         (AbstractSelectableChannel): New stubbed method.
6637         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6638         * java/nio/channels/spi/AbstractSelector.java: New file.
6639         * java/nio/channels/spi/SelectorProvider.java: New file.
6640         * java/nio/charset/Charset.java: New file.
6641         * java/nio/charset/CoderMalfunctionError.java: New file.
6642         * java/nio/charset/CodingErrorAction.java: New file.
6643         * java/nio/charset/spi/CharsetProvider.java
6644         (charsetForName): Uncommented.
6645         * Makefile.am (java_native_source_files): Added new files.
6646         * Makefile.in: Regenerated.
6647
6648 2002-11-01  Michael Koch  <konqueror@gmx.de>
6649
6650         * java/net/InetAddress.java:
6651         (isAnyLocalAddress): Implemented.
6652         (isLoopbackAddress): Implemented, comment added.
6653         (isLinkLocalAddress): Implemented, documentation added.
6654         (isSiteLocalAddress): Implemented, documentation added.
6655         (isMCGlobal): Implemented, documentation added.
6656         (isMCNodeLocal): Implemented, documentation added.
6657         (isMCLinkLocal): Implemented, documentation added.
6658         (isMCSiteLocal): Implemented, documentation added.
6659         (isMCOrgLocal): Implemented, documentation added.
6660         (getHostName): Documentation added.
6661         (getCanonicalHostName): Implemented, documentation added.
6662         (getAddress): Documentation added.
6663         (hashCode): Documentation added.
6664         (equals): Documentation added.
6665         (toString): Fixed implementation.
6666         (getByAddress): Use Inet4Address and Inet6Address.
6667         (lookup): New linewrap.
6668         (getByName): SecurityManager check added, support Inet4Address and
6669         Inet6address, comments added.
6670         (getAllByName): SecurityManager check added, comments added.
6671         * java/net/Inet6Address.java:
6672         (Inet6Address): Initialize parent class with addr instead of null.
6673         * java/net/URL.java
6674         (equals): Documentation added.
6675         (getFile): Documentation added.
6676         (hashCode): Documentation added.
6677         * java/net/natInetAddress.cc:
6678         (aton): Fix IPv6 support.
6679         * java/net/natPlainDatagramSocketImpl.cc:
6680         (peek): Throw PortUnreachableException when suitable.
6681         (peekData): Throw PortUnreachableException when suitable.
6682         (send): Throw PortUnreachableException when suitable.
6683         (receive): Throw PortUnreachableException when suitable.
6684
6685 2002-10-27  Mark Wielaard  <mark@klomp.org>
6686
6687         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6688         argument.
6689         (readLeShort): Likewise and use byte[].
6690         (readLeInt): Likewise.
6691         (readEntries): Use new versions of methods and use byte[] for reading
6692         a complete zip entry. Add ZipFile name to exceptions.
6693         (entries): Add ZipFile name to exceptions.
6694         (getEntry): Likewise.
6695         (checkLocalHeader): Use new versions of methods and add ZipFile name
6696         to exceptions.
6697
6698 2002-10-31  Mark Anderson  <mark@panonet.net>
6699
6700         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6701         added
6702
6703 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6704
6705         * configure.in: Disable hash sync when not using threads.
6706         * configure: Regenerated.
6707
6708 2002-10-24  Tom Tromey  <tromey@redhat.com>
6709
6710         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6711         (_Jv_FindSymbolInExecutable): Removed argument name.
6712         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6713         java.library.path is set.
6714
6715         * gij.cc (help): Document --showversion.
6716         (version): Don't exit.
6717         (main): Handle --showversion.  Exit if --version given.
6718
6719 2002-10-23  Tom Tromey  <tromey@redhat.com>
6720
6721         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6722         (array_from_valist): Correctly handle promotion for jint, jlong,
6723         jfloat, and jdouble.
6724
6725 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6726
6727         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6728         GetFileAttributesEx( ) to find file length and modification times,
6729         as the latter is not present on Windows 95.
6730
6731 2002-10-21  Michael Koch  <konqueror@gmx.de>
6732
6733         * java/net/URL.java
6734         (URL): Activate SecurityManager checks.
6735         (equals): Use URLStreamHandler implementation instead of doing it
6736         alone. This allows special protocol stream handlers to change default
6737         behaviour.
6738         (hashCode): Use URLStreamHandler implementation instead of doing it
6739         alone. This allows special protocol stream handlers to change default
6740         behaviour.
6741         * java/net/URLStreamHandler.java
6742         (equals): Implemented default URL equality check.
6743         (hostsEqual): Implemented default URL equality check.
6744         (hashCode): Implemented default URL hashCode algorithm.
6745         * java/net/natPlainDatagramSocketImpl.cc:
6746         No lines longer then 80 characters.
6747
6748 2002-10-20  Adam Megacz <adam@xwt.org>
6749
6750         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6751         * configure.in: enabled hash sync on Win32
6752         * include/win32-threads.h (_Jv_ThreadId_t): added.
6753         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6754         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6755         removed some posix-isms, use Thread::sleep() instead of usleep,
6756         added code to clear bottom three bits if platform has a broken
6757         linker.
6758         * include/win32-threads.h (_Jv_ThreadId_t): added.
6759
6760 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6761
6762         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6763         runtime property "gnu.gcj.progname" containing the name used to
6764         invoke the current Java program (similar to argv[0] for C
6765         programs).
6766
6767 2002-10-15  Tom Tromey  <tromey@redhat.com>
6768
6769         Fix for PR libgcj/8234:
6770         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6771         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6772
6773 2002-10-13  Mark Wielaard  <mark@klomp.org>
6774
6775         * mauve-libgcj: Enable Mauve tests that compile now.
6776
6777 2002-10-11  Mark Wielaard  <mark@klomp.org>
6778
6779         Fix for PR libgcj/8142
6780         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6781         loading native modules.
6782
6783 2002-10-10  Michael Koch  <konqueror@gmx.de>
6784
6785         * javax/swing/AbstractListModel.java
6786         (getListDataListeners): New stubbed method.
6787         javax/swing/DefaultBoundedRangeModel.java
6788         (getChangeListeners): New stubbed method.
6789         javax/swing/DefaultSingleSelectionModel.java
6790         (getChangeListeners): New stubbed method.
6791
6792 2002-10-10  Michael Koch  <konqueror@gmx.de>
6793
6794         * gcj/.cvsignore: New file to ignore files generated during build.
6795         * include/.cvsignore: New file to ignore files generated during build.
6796
6797 2002-10-10  Michael Koch  <konqueror@gmx.de>
6798
6799         * java/net/HttpURLConnection.java
6800         (getPermission): New method.
6801         (getErrorStream): New stub method.
6802         (getHeaderFieldDate): New stub method.
6803         * java/net/Inet4Address.java:
6804         (isLinkLocalAddress): Typo fixed.
6805         * java/net/InetAddress.java:
6806         (readResolve): New stubbed method (for serialization).
6807         (isAnyLocalAddress): New stubbed method.
6808         (isLoopbackAddress): New stubbed method.
6809         (isLinkLocalAddress): New stubbed method.
6810         (isSiteLocalAddress): New stubbed method.
6811         (isMCGlobal): New stubbed method.
6812         (isMCNodeGlobal): New stubbed method.
6813         (isMCLinkLocal): New stubbed method.
6814         (isMCSiteLocal): New stubbed method.
6815         (isMCOrgLocal): New stubbed method.
6816         (getCanonicalHostName): New stubbed method.
6817         (getByAddress): Create instances of Inet4Address/Inet6Address,
6818         instead of InetAddress, documentation added.
6819         * java/net/MulticastSocket.java
6820         (getInterface): Removed FIXME.
6821         (getNetworkInterface): New method.
6822         (setNetworkInterface): New method.
6823         * java/net/NetworkInterface.java:
6824         (toString): Use property "line.separator" instead of "\n".
6825         * java/net/URLConnection.java
6826         (getContent): New stubbed method.
6827         * java/net/URLStreamHandler.java:
6828         (equals): New stubbed method.
6829         (hostsEqual): New stubbed method.
6830         (hashCode): New stubbed method.
6831         * java/net/natNetworkInterface.cc:
6832         (getRealNetworkInterfaces): Create Inet4Address object
6833         instead of InetAddress.
6834
6835 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6836
6837         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6838         unsigned long temporary to implement insn_iushr shifts.
6839
6840 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6841
6842         * configure.host [s390*-*]: Enable Java interpreter.
6843         Enable hash synchronization.  Add sysdeps dir.
6844         * sysdep/s390/locks.h: New file.
6845
6846 2002-10-06  Mark Wielaard  <mark@klomp.org>
6847
6848         * java/lang/Thread.java (setDaemon): Check startable_flag,
6849         not isAlive().
6850
6851 2002-10-07  Michael Koch  <konqueror@gmx.de>
6852
6853         * java/nio/Buffer.java: New stub file.
6854         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6855         of class Charset.
6856         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6857         * Makefile.in: Regenerated.
6858
6859 2002-10-07  Michael Koch  <konqueror@gmx.de>
6860
6861         * java/nio/ByteBuffer.java:
6862         removed import of not commited class.
6863
6864 2002-10-07  Michael Koch  <konqueror@gmx.de>
6865
6866         * java/nio/ByteBuffer.java,
6867         java/nio/MappedByteBuffer.java:
6868         New files, forgot to add these dummies.
6869         * Makefile.am (java_native_source_files): Added new files.
6870         * Makefile.in: Regenerated.
6871
6872 2002-10-07  Michael Koch  <konqueror@gmx.de>
6873
6874         * java/nio/channels/AlreadyConnectedException.java,
6875         java/nio/channels/ClosedChannelException.java,
6876         java/nio/channels/ReadableByteChannel.java,
6877         java/nio/channels/InterruptibleChannel.java,
6878         java/nio/channels/Channel.java,
6879         java/nio/channels/ByteChannel.java,
6880         java/nio/channels/GatheringByteChannel.java,
6881         java/nio/channels/ScatteringByteChannel.java,
6882         java/nio/channels/WritableByteChannel.java,
6883         java/nio/charset/CharacterCodingException.java,
6884         java/nio/charset/IllegalCharsetNameException.java,
6885         java/nio/charset/MalformedInputException.java,
6886         java/nio/charset/UnmappableCharacterException.java,
6887         java/nio/charset/UnsupportedCharsetException.java,
6888         java/nio/charset/spi/CharsetProvider.java: New file.
6889         These files are exceptions or interfaces,
6890         no real or abstract classes.
6891         * Makefile.am (java_native_source_files): Added new files.
6892         * Makefile.in: Regenerated.
6893
6894 2002-10-05  Michael Koch  <konqueror@gmx.de>
6895
6896         * java/net/InetAddress.java
6897         (getByAddress): Fixed documentation.
6898         (getByAddress): New method.
6899         * java/net/Inet4Address.java: New file.
6900         * java/net/URL.java
6901         (URL): Documentation added.
6902         (getContent): Documentation added.
6903         (getContent): New stubbed method.
6904         (getQuery): New method.
6905         (openConnection): Documentation added.
6906         (openStream): Documentation added.
6907         (setURLStreamHandlerFactory): Documentation added.
6908         * java/net/URI.java: New stub file.
6909         * Makefile.am
6910         (java_native_source_files): Added java/net/Inet4Address.java,
6911         java/net/Inet6Address.java and java/net/URI.java.
6912         * Makefile.in: Regenerated.
6913
6914 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6915
6916         * java/lang/ProtectionDomain.java (linesep): Remove field.
6917         (toString): Use System.getProperty("line.separator").
6918
6919 2002-10-04  Michael Koch  <konqueror@gmx.de>
6920
6921         * java/security/Identity.java: Added serialVersionUID.
6922         * java/security/KeyPair.java: Added serialVersionUID.
6923         * java/security/Provider.java: Added serialVersionUID.
6924         * java/security/SecureRandom.java: Added serialVersionUID.
6925         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6926         * java/security/SignedObject.java: Added serialVersionUID.
6927         * java/security/cert/Certificate.java: Added serialVersionUID.
6928
6929 2002-10-04  Mark Wielaard <mark@klomp.org>
6930
6931         * java/security/Security.java: Use java.home or gnu.classpath.home
6932         to load providers.
6933         (loadProviders): Extra dir argument.
6934         (getProvider): Return null when not found.
6935
6936 2002-10-04  Mark Wielaard  <mark@klomp.org>
6937
6938         * java/lang/Throwable.java: Remerge with Classpath.
6939
6940 2002-10-04  Michael Koch  <konqueror@gmx.de>
6941
6942         * java/net/InetAddress.java:
6943         (isMulticastAddress): Added documentation.
6944         (getHostAddress): Added documentation.
6945         (toString): Added documentation.
6946         (getByAddress): Fixed documentation.
6947         (getByName): Added documentation.
6948         (getAllByName): Added documentation.
6949         (getLocalHost): Added documentation.
6950
6951 2002-10-04  Michael Koch  <konqueror@gmx.de>
6952
6953         * java/beans/beancontext/BeanContextChildSupport.java:
6954         Added serialVersionUID.
6955         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6956         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6957         * javax/naming/Name.java: Added serialVersionUID.
6958
6959 2002-10-03  Adam Megacz <adam@xwt.org>
6960
6961         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6962         some functionality that isn't supported yet on WIN32.
6963
6964 2002-10-03  Tom Tromey  <tromey@redhat.com>
6965
6966         * Makefile.in: Rebuilt.
6967         * Makefile.am (awt_java_source_files): Added new files.
6968
6969 2002-10-03  Michael Koch  <konqueror@gmx.de>
6970
6971         * java/net/InetAddress.java
6972         (class InetAddress): Removed final keyword.
6973         (equals): Fixed typo.
6974         (getByAddress): New method.
6975
6976 2002-10-03  Michael Koch  <konqueror@gmx.de>
6977
6978         * java/awt/dnd/Autoscroll.java:
6979         New file, merge from Classpath.
6980         * java/awt/dnd/DragSourceAdapter.java:
6981         (dragExit): Fixed typos in argument type.
6982         (dragDropEnd): Fixed typos in argument type.
6983         * java/awt/dnd/DragSourceDropEvent.java:
6984         New file, merge from Classpath.
6985         * java/awt/dnd/DropTarget.java:
6986         Added stubs, merge from Classpath.
6987         * java/awt/dnd/DropTargetAdapter.java:
6988         New file, merge from Classpath.
6989         * java/awt/dnd/DropTargetContext.java:
6990         New file, merge from Classpath.
6991         * java/awt/dnd/DropTargetDragEvent.java:
6992         New file, merge from Classpath.
6993         * java/awt/dnd/DropTargetDropEvent.java:
6994         New file, merge from Classpath.
6995         * java/awt/dnd/DropTargetEvent.java:
6996         New file, merge from Classpath.
6997         * java/awt/dnd/DropTargetListener.java:
6998         New file, merge from Classpath.
6999         * java/awt/dnd/MouseDragGestureRecognizer.java:
7000         New file, merge from Classpath.
7001         * java/awt/dnd/peer/DropTargetContextPeer.java:
7002         New file, merge from Classpath.
7003
7004 2002-10-03  Michael Koch  <konqueror@gmx.de>
7005
7006         * java/net/DatagramPacket.java
7007         (setLength): Fixed typo and be HTML-aware.
7008         * java/net/InetSocketAddress.java
7009         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7010         (equals): Added comment about equality of InetSocketAddress objects.
7011         * java/net/ServerSocket.java
7012         (accept): Added checks.
7013         (isClosed): New stubbed method.
7014         * java/net/SocketOptions.java: Reindention.
7015         * java/net/SocketPermission
7016         (SocketPermission): Documentation fixed.
7017
7018 2002-10-03  Michael Koch  <konqueror@gmx.de>
7019
7020         * java/net/DatagramSocket.java
7021         (receive): Check with SecurityManager AFTER the packet is received,
7022         check if connected to multicast address, documentation added.
7023         (send): Only check SecurityManager if connected, check address of
7024         packet to send.
7025         (connect): Implemented, documentation added.
7026         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7027         * java/net/InetSocketAddress.java
7028         (whole file): Reindented.
7029         (hostname): New attribute.
7030         (InetSocketAddress): Initialize new attribute.
7031         (getAddress): Documentation added.
7032         (getHostName): Documentation added.
7033         (getPort): Documentation added.
7034         (hashCode): Documentation added.
7035         (isUnresolved): Documentation added.
7036         (toString): Conform to output of JDK 1.4.1, documentation added.
7037         * java/net/MulticastSocket.java
7038         (joinGroup): Removed FIXME, documentation added.
7039         (leaveGroup): Removed FIXME, documentation added.
7040         (send): Documentation added.
7041         * java/net/Socket.java
7042         (inputShutdown): New variable.
7043         (outputShutdown): New variable.
7044         (Socket): Initialize new variables.
7045         (getRemoteSocketAddress): Check if connected.
7046         (shutdownInput): Set new variable.
7047         (shutdownOutput): Set new variable.
7048         (isConnected): New method.
7049         (isClosed): New method.
7050         (isInputShutdown): New method.
7051         (isOutputShutdown): New method.
7052         * java/net/URLStreamHandler.java
7053         (URLStreamHandler): New method.
7054         (openConnection): Added documentation.
7055         (parseURL): Added documentation.
7056         (getHostAddress): New method.
7057         (getDefaultPort): New method.
7058
7059 2002-10-02  Tom Tromey  <tromey@redhat.com>
7060
7061         * java/rmi/activation/ActivationDesc.java,
7062         java/rmi/activation/ActivationGroupDesc.java,
7063         java/rmi/activation/ActivationGroupID.java,
7064         java/rmi/activation/ActivationID.java: New versions from
7065         Classpath.
7066
7067 2002-09-30  Bo Thorsen  <bo@suse.de>
7068
7069         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7070
7071 2002-09-30  Tom Tromey  <tromey@redhat.com>
7072
7073         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7074         from Classpath.
7075         * Makefile.in: Rebuilt.
7076         * Makefile.am (rmi_java_source_files): Added new files.
7077         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7078         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7079         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7080         Classpath.
7081         * gnu/java/rmi/dgc/DGCImpl.java,
7082         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7083         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7084         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7085         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7086         gnu/java/rmi/server/RMIHashes.java,
7087         gnu/java/rmi/server/RMIObjectInputStream.java,
7088         gnu/java/rmi/server/RMIObjectOutputStream.java,
7089         gnu/java/rmi/server/UnicastConnection.java,
7090         gnu/java/rmi/server/UnicastConnectionManager.java,
7091         gnu/java/rmi/server/UnicastRef.java,
7092         gnu/java/rmi/server/UnicastServer.java,
7093         gnu/java/rmi/server/UnicastServerRef.java,
7094         java/rmi/MarshalledObject.java,
7095         java/rmi/server/RMIClassLoader.java,
7096         java/rmi/server/RemoteObject.java,
7097         java/rmi/server/UnicastRemoteObject.java,
7098         java/security/SecureClassLoader.java: Merged from Classpath.
7099
7100 2002-09-29  Anthony Green  <green@redhat.com>
7101
7102         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7103         Imported from GNU Classpath.
7104         * java/lang/reflect/natProxy.cc: New file.
7105         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7106         from GNU Classpath.
7107         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7108         Classpath.
7109         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7110         Classpath.
7111         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7112         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7113         New statics.
7114         * gcj/javaprims.h ("Java"): Add new classes.
7115         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7116         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7117         java/lang/reflect/Proxy$$ProxyType.h): And this.
7118         (inner_nat_headers): Add these new headers.
7119         (ordinary_java_source_files): Add new files.
7120         (nat_source_files): Add new file.
7121         * Makefile.in: Rebuilt.
7122
7123 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7124
7125         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7126         a single configuration.
7127
7128 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7129
7130         * java/util/TimeZone.java (getDSTSavings): New method.
7131         Fixes PR libgcj/7786.
7132
7133 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7134
7135         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7136         to see if `the_method == 0' before looking up vtable index.
7137         Fixes PR libgcj/7709.
7138
7139 2002-09-25  Tom Tromey  <tromey@redhat.com>
7140
7141         * java/lang/natClassLoader.cc:
7142         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7143         * resolve.cc: Include NoClassDefFoundError.h, not
7144         ClassNotFoundException.h.
7145         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7146
7147         * defineclass.cc: Don't include ClassNotFoundException.h.
7148
7149         * resolve.cc: Include StringBuffer.
7150         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7151
7152         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7153         allocated but not initialized.
7154
7155 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7156
7157         Fix for PR libgcj/7766:
7158         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7159         (getNextEntry): Set it.
7160         (closeEntry): Likewise.
7161         (read): Likewise.
7162         (close): Likewise.
7163         (available): Use it.
7164
7165 2002-09-25  Michael Koch  <konqueror@gmx.de>
7166
7167         * java/net/DatagramSocket.java
7168         (DatagramSocket): Initialize new instance variables.
7169         (close): Reset new instance variables.
7170         (getLocalAddress): Remove unneeded SecurityManager usage.
7171         (getLocalPort): Check if socket is already bound.
7172         (isConnected): New method.
7173         (getInetAddress): Implemented.
7174         (getPort): Better Implementation, documentation fixed.
7175         (getRemoteSocketAddress): New method.
7176         * java/net/JarURLConnection.java
7177         (element): Typo fixed.
7178         (getMainAttributes): New method.
7179         (getAttributes): New method (stub only).
7180         (getManifest): New method (stub only).
7181         * java/net/NetPermission.java: Added serialVersionsUID.
7182         * java/net/Socket.java
7183         (connect): Check blocking mode of associated channel,
7184         documentation added.
7185         (getLocalSocketAddress): Better implementation.
7186         (getRemoteSocketAddress): Implemented.
7187         (isBound): New method.
7188         (setSendBufferSize): Documentation added.
7189         * java/net/SocketAddress.java: Added serialVersionsUID.
7190         * java/net/SocketPermission.java: Added serialVersionsUID.
7191         * java/net/URL.java
7192         (URL): Wrap for shorter lines, initialize new instance variables,
7193         documentation added.
7194         (equals): Check new instance variables too.
7195         (getContent): Documentation added.
7196         (getPath): Documentation added.
7197         (getAuthority): New method.
7198         (getHost): Documentation added.
7199         (getPort): Documentation added.
7200         (getDefaultPort): New method.
7201         (getProtocol): Documentation added.
7202         (getUserInfo): Documentation added.
7203         (set): Initialize new instance variables, documentation added.
7204         * java/net/URLStreamHandler.java
7205         (setURL): New method.
7206         * java/net/natPlainDatagramSocketImpl.cc
7207         (connect): Fix exception name.
7208         (disconnect): Fix exception name.
7209
7210 2002-09-25  Michael Koch  <konqueror@gmx.de>
7211
7212         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7213         * java/nio/channels/DatagramChannel.java:
7214         extends AbstractSelectableChannel
7215         * java/nio/channels/ServerSocketChannel.java:
7216         extends AbstractSelectableChannel
7217         * java/nio/channels/SocketChannel.java:
7218         extends AbstractSelectableChannel
7219         * Makefile.am (ordinary_java_source_files):
7220         java/nio/channels/spi/AbstractSelectableChannel.java added.
7221         * Makefile.in: Regenerated.
7222
7223 2002-09-25  Michael Koch  <konqueror@gmx.de>
7224
7225         * java/net/DatagramSocket.java
7226         (DatagramSocket): Exception documentation added.
7227         (bind): Exception documentation added, addded SecurityManager check,
7228         added SocketAddress type check.
7229         (getSoTimeout): Check impl.
7230         (receive): Fix SecurityManager check, check impl, documentation added.
7231         (send): Check channel mode, documentation added.
7232         (connect): New method.
7233         (disconnect): Implemented.
7234         (getLocalSocketAddress): New method.
7235         (getReceiveBufferSize): Check impl.
7236         (setReuseAddress): Check impl.
7237         (getReuseAddress): Check impl.
7238         (setBroadcast): Check impl.
7239         (getBroadcast): Check impl.
7240         (setTrafficClass): Check impl, Documentation cleared.
7241         (getTrafficClass): Check impl.
7242         (getSendBufferSize): Check impl.
7243         (setReceiveBufferSize): Check impl, documentation added.
7244         (setSendBufferSize): Documentation added.
7245         (setDatagramSocketImplFactory): New method.
7246         * java/net/HttpURLConnection.java
7247         (HTTP_INTERNAL_ERROR): The correct code is 500.
7248         (HTTP_NOT_IMPLEMENTED): Added new constant.
7249         (setFollowRedirects): Documentation added.
7250         (getInstanceFollowRedirects): New method.
7251         (setInstanceFollowRedirects): New method.
7252         (setRequestMethod): Documentation added.
7253         (getResponseCode): Documentation added.
7254         (getResponseMessage): Documentation added.
7255         * java/net/JarURLConnection.java
7256         (JarURLConnection): protected since JDK 1.4.
7257         (getJarEntry): java.io.IOException to IOException, documentation added.
7258         (getJarFile): Documentation added.
7259         * java/net/ServerSocket.java
7260         (ServerSocket): Private to public, exception added.
7261         (ServerSocket): java.io.IOException to IOException, documentation added.
7262         (bind): Check socket address type, documentation added.
7263         (bind): java.io.IOException to IOException, documentation added.
7264         (accept): Documentation added.
7265         (implAccept): Check ch is not non-blocking, documentation added.
7266         (setSoTimeout): Documentation fixed.
7267         (setReceiveBufferSize): Documentation added.
7268         * java/net/Socket.java
7269         (Socket): Documentation added.
7270         (bind): Documentation added.
7271         (connect): Check socket address type, documentation added.
7272         (getRemoteSocketAddress): New method.
7273         (getLocalSocketAddress): New method.
7274         (setSoLinger): Documentation added.
7275         (getReuseAddress): New method.
7276         (setReuseAddress): New method.
7277         (getTrafficClass): New method.
7278         (setTrafficClass): New method.
7279         * java/net/URLStreamHandler.java
7280         (openConnection): java.io.IOException to IOException.
7281         (parseURL): Documentation added.
7282         (sameFile): public to protected, documentation added.
7283         (setURL): Documentation added.
7284         * java/nio/IllegalBlockingModeException.java: New file.
7285         * Makefile.am (ordinary_java_source_files):
7286         added java/nio/IllegalBlockingModeException.java
7287         * Makefile.in: Regenerated.
7288
7289 2002-09-25  Michael Koch  <konqueror@gmx.de>
7290
7291         * java/net/DatagramPacket
7292         (DatagramPacket): Exception documentation added.
7293         (setData): Likewise.
7294         (setSocketAddress): Likewise.
7295         * java/net/DatagramSocketImpl.java
7296         (peek): Documentation addded.
7297         (peekData): Documentation addded.
7298         (send): Documentation addded.
7299         (receive): Documentation addded.
7300         (connect): New method.
7301         (disconnect): New method.
7302         (joinGroup): New abstract method.
7303         (leaveGroup): New abstract method.
7304         * java/net/InetSocketAddress.java
7305         (InetSocketAddress): Documentation added.
7306         (equals): final keyword added.
7307         (getAddress): final keyword added.
7308         (getHostName): final keyword added.
7309         (getPort): final keyword added.
7310         (hashCode): final keyword added.
7311         (isUnresolved): final keyword added.
7312         * java/net/MulticastSocket.java
7313         (MulticastSocket): Documentation added.
7314         (MulticastSocket): New method.
7315         (joinGroup): Documentation added.
7316         (joinGroup): New method.
7317         (leaveGroup): Documentation added.
7318         (leaveGroup): New method.
7319         (send): Documentation added.
7320         * java/net/NetworkInterface.java
7321         (getByName): Documentation added.
7322         (getByInetAddress): Documentation added.
7323         (getNetworkInterfaces): Documentation added.
7324         * java/net/PlainDatagramSocketImpl.java
7325         (connect): New method.
7326         (disconnect): New method.
7327         * java/net/SocketImpl.java
7328         (create): Documentation added.
7329         (shutdownInput): Convert public to protected, as it always was.
7330         (shutdownOutput): Convert public to protected, as it always was.
7331         * java/net/SocketOptions.java
7332         (whole file): Reintented.
7333         * java/net/URLClassLoader.java
7334         (URLClassLoader): SecurityManager check added, documentation added.
7335         (findResources): Documentation added.
7336         (findClass): Documentation added.
7337         (newInstance): More correct method arguments.
7338         * java/net/URLConnection.java
7339         (connect): Documentation added.
7340         (getContent): Documentation added.
7341         (getPermission): Documentation added.
7342         (getInputStream): Documentation added.
7343         (getOutputStream): Documentation added.
7344         (setDoInput): Throw correct exception, documentation added.
7345         (setDoOutput): Throw correct exception, documentation added.
7346         (setAllowUserInteraction): Throw correct exception, documentation added.
7347         (setUseCaches): Throw correct exception, documentation added.
7348         (setIfModifiedSince): Throw correct exception, documentation added.
7349         (setRequestProperty): Throw exception, documentation added.
7350         (addRequestProperty): Throw exception, documentation added.
7351         (getRequestProperty): Throw exception, documentation added.
7352         (getRequestProperties): Documentation added.
7353         (setContentHandlerFactory): Documentation added.
7354         (guessContentTypeFromName): protected to public.
7355         (setFileNameMap): Documentation added.
7356         * java/net/URLDecoder.java
7357         (URLDecoder): New method.
7358         (decode): Documentation added.
7359         (whole file): Reindented.
7360         * java/net/URLEncoder.java
7361         (encode): Documentation added.
7362         * java/net/natPlainDatagramSocketImpl.cc
7363         (connect): New method.
7364         (disconnect): New method.
7365         * javax/naming/RefAddr:
7366         (addrType): addrType was never final.
7367         (equals): Fix typo in method name.
7368         * javax/naming/BinaryRefAddr:
7369         (equals): Fix typo in method name.
7370
7371 2002-09-22  Tom Tromey  <tromey@redhat.com>
7372
7373         Fix for PR libgcj/6576:
7374         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7375         didn't find a given bundle.
7376         (getBundle): Don't require base bundle.
7377         (setParent): Removed old comment.
7378         (tryLocalBundle): Try components even if preceding components were
7379         empty.
7380
7381 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7382
7383         * Makefile.am (all-multi): Fix multilib parallel build.
7384
7385 2002-09-21  Michael Koch  <konqueror@gmx.de>
7386
7387         * java/net/Socket.java
7388         (sendUrgentData): New method.
7389         (getChannel): New method.
7390         * java/net/ServerSocket.java
7391         (getChannel): New method.
7392         (isBound): New method.
7393         * java/net/DatagramSocket.java
7394         (DatagramSocket): Two new methods.
7395         (bind): New method.
7396         (getChannel): New method.
7397         (isBound): New method.
7398         (send): Added newline to to make shorter lines.
7399         * java/net/PlainDatagramSocketImpl.java
7400         (mcastGrp): Added argument.
7401         (join): Use new mcastGrp.
7402         (leave): Use new mcastGrp.
7403         (joinGroup): New method.
7404         (leaveGroup): New method.
7405         * java/net/natPlainDatagramSocketImpl.cc
7406         (mcastGrp): Added argument, no yet really implemented.
7407         (getOption): Added newline for shorter lines.
7408         * java/net/natPlainSocketImpl.cc
7409         (read, setOption, getOption): Added newline for shorter lines.
7410
7411 2002-09-19  Tom Tromey  <tromey@redhat.com>
7412
7413        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7414        newly-created exception.
7415
7416 2002-09-18  Michael Koch  <konqueror@gmx.de>
7417
7418         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7419         java/util/regex/PatternSyntaxException.java:
7420         Merge with classpath, new files.
7421         * Makefile.am (core_java_source_files):
7422         Added java/util/regex/Matcher.java,
7423         java/util/regex/Pattern.java,
7424         java/util/regex/PatternSyntaxException.java
7425         * Makefile.in: Regenerated.
7426         * include/config.h.in: Added HAVE_NET_IF_H.
7427         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7428         Removed #if 0 ... #endif.
7429
7430 2002-09-17  Michael Koch  <konqueror@gmx.de>
7431
7432         * java/net/natNetworkInterface.cc:
7433         Removed unneed and yet wrong includes.
7434
7435 2002-09-17  Michael Koch  <konqueror@gmx.de>
7436
7437         * java/net/NetworkInterface.java: New file.
7438         * java/net/natNetworkInterface.java: New file.
7439         * configure.in: Added check for net/if.h.
7440         * configure: Regenerated.
7441         * Makefile.am
7442         (ordinary_java_source_files): Added NetworkInterface.java.
7443         (nat_source_files): Added natNetworkInterface.cc.
7444         * Makefile.in: Regenerated.
7445
7446 2002-09-16  Tom Tromey  <tromey@redhat.com>
7447
7448         * java/net/URLClassLoader.java (findClass): Code source for a
7449         class from a jar is not necessarily a jar: URL.
7450
7451 2002-09-16  Michael Koch  <konqueror@gmx.de>
7452
7453         * java/lang/AssertionError.java:
7454         Merge with classpath, fixes HTML.
7455         * java/rmi/server/LogStream.java:
7456         Merge with classpath, fixes some constants.
7457         * java/net/server/RemoteServer.java:
7458         Merge with classpath, adds serialVersionUID.
7459         * javax/naming/BinaryRefAddr.java:
7460         Merge with classpath, s/equal/equals/.
7461         * javax/naming/NamingException.java:
7462         Merge with classpath, fixed typo.
7463         * javax/naming/RefAddr.java:
7464         Merge with classpath, s/equal/equals/.
7465         * java/awt/Toolkit.java:
7466         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7467         and typo fixed.
7468
7469 2002-09-15  Adam Megacz <adam@xwt.org>
7470
7471         * java/net/natPlainSocketImpl.cc: fixed typo.
7472
7473 2002-09-15  Adam Megacz <adam@xwt.org>
7474
7475         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7476         which don't work on Win32 (yet).
7477
7478 2002-09-14  Adam Megacz <adam@xwt.org>
7479
7480         * java/net/natPlainDatagramSocket.cc: removed #include
7481         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7482         * include/win32.h: included definition for IP_TOS to satisfy
7483         natPlainDatagramSocket.cc
7484
7485 2002-09-13  Michael Koch  <konqueror@gmx.de>
7486
7487         * java/net/DatagramPacket.java (DatagramPacket):
7488         Added linebreak for 80 chars per line.
7489         * java/net/JarURLConection.java
7490         (getInputStreami, getJarEntry): Likewise.
7491         * java/net/SocketPErmission.java
7492         (SocketPermission class docu, implies): Likewise.
7493         * java/net/URLClassLoader.java (findResources): Likewise.
7494         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7495
7496 2002-09-13  Michael Koch  <konqueror@gmx.de>
7497
7498         * java/nio/channels/DatagramChannel.java,
7499         java/nio/channels/ServerSocketChannel.java
7500         java/nio/channels/SocketChannel.java:
7501         New dummy files to make java.net fully JDK 1.4 compatible
7502         * Makefile.am (ordinary_java_source_files): Added
7503         java/net/DatagramSocketImplFactory.java (long forgotten),
7504         java/nio/SocketChannel.java,
7505         java/nio/ServerSocketChannel.java,
7506         java/nio/DatagramChannel.java
7507         * Makefile.in: Regenrated.
7508
7509 2002-09-12  Michael Koch  <konqueror@gmx.de>
7510
7511         * java/net/DatagramSocketImpl.java
7512         (peekData): New method.
7513         * java/net/PlainDatagramSocketImpl.java
7514         (peekData): New method.
7515         * java/net/natPlainDatagramSocketImpl.cc
7516         (peekData): New method.
7517         * java/net/URLConnection
7518         (getPermission): New method.
7519         (addRequestProperty): New method.
7520         (getRequestProperties): New method.
7521         (guessContentTypeFromStream): New method, not really implemented.
7522         (URLConnection): Added/updated documentation.
7523         (connect): Added/updated documentation.
7524         (getURL): Added/updated documentation.
7525         (getContentLength): Added/updated documentation.
7526         (getContentType: Added/updated documentation.
7527         (getContentEncoding): Added/updated documentation.
7528         (getExpiration): Added/updated documentation.
7529         (getDate): Added/updated documentation.
7530         (getLastModified): Added/updated documentation.
7531         (getHeaderField): Added/updated documentation.
7532         (getHeaderFields): Added/updated documentation.
7533         (getHeaderFieldInt): Added/updated documentation.
7534         (getHeaderFieldDate): Added/updated documentation.
7535         (getHeaderFieldKey): Added/updated documentation.
7536         (getContent): Added/updated documentation.
7537         (getInputStream): Added/updated documentation.
7538         (getOutputStream): Added/updated documentation.
7539         (toString): Added/updated documentation.
7540         (setDoInput): Added/updated documentation.
7541         (getDoInput): Added/updated documentation.
7542         (setDoOutput): Added/updated documentation.
7543         (getDoOutput): Added/updated documentation.
7544         (setAllowUserInteraction): Added/updated documentation.
7545         (getAllowUserInteraction): Added/updated documentation.
7546         (setDefaultAllowUserInteraction): Added/updated documentation.
7547         (getDefaultAllowUserInteraction): Added/updated documentation.
7548         (setUseCaches): Added/updated documentation.
7549         (getUseCaches): Added/updated documentation.
7550         (setIfModifiedSince): Added/updated documentation.
7551         (getIfModifiedSince): Added/updated documentation.
7552         (getDefaultUseCaches): Added/updated documentation.
7553         (setDefaultUseCaches): Added/updated documentation.
7554         (setRequestProperty): Added/updated documentation.
7555         (getRequestProperty): Added/updated documentation.
7556         (setDefaultRequestProperty): Added/updated documentation.
7557         (getDefaultRequestProperty): Added/updated documentation.
7558         (setContentHandlerFactory): Added/updated documentation.
7559         (guessContentTypeFromName): Added/updated documentation.
7560         (getFileNameMap): Added/updated documentation.
7561         (setFileNameMap): Added/updated documentation.
7562
7563 2002-09-11  Michael Koch  <konqueror@gmx.de>
7564
7565         * java/net/Socket.java
7566         (Socket): protected to public (since JDK 1.4). Added @specnote.
7567         (bind): New method.
7568         (connect): Two new methods.
7569         (getKeepalive): Get correct socket option.
7570         (setKeepalive): Set correct socket option.
7571         (getOOBInline): New method.
7572         (setOOBInline): New method.
7573         * java/net/ServerSocket.java
7574         (bind): Two new methods.
7575         (getInetAddress): Reimplemented, catch exception.
7576         (getLocalSocketAddress): New method.
7577         (setReuseAddress): New method.
7578         (getReuseAdress): New method.
7579         (setReceiveBufferSize): New method.
7580         (getReceiveBufferSize): New method.
7581         (toString): Made string JDK 1.4 compliant.
7582
7583 2002-09-10  Michael Koch  <konqueror@gmx.de>
7584
7585         * java/net/SocketImpl.java
7586         (connect): New method.
7587         (supportsUrgentData): New method.
7588         (sendUrgentData): New method.
7589         * java/net/PlainSocketImpl.java
7590         (connect): One new method and two new implementation.
7591         (sendUrgentData): New method.
7592         * java/natPlainSocketImpl.cc
7593         (connect): Arguments changed, added support for timeouts.
7594         (getOption): Another __java_boolean to jboolean.
7595
7596 2002-09-07  Adam Megacz <adam@xwt.org>
7597
7598         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7599         definition of IP_TOS.
7600
7601 2002-09-04  Michael Koch  <konqueror@gmx.de>
7602
7603         * java/net/DatagramSocket.java
7604         (DatagramSocket): Added documentation.
7605         (close): Likewise.
7606         (getLocalAddress): Likewise.
7607         (getLocalPort): Likewise.
7608         (receive): Likewise.
7609         (send): Likewise.
7610         (setSoTimeout): Likewise.
7611         (connect): New method.
7612         (disconnect): New method.
7613         (getInetAddress): New method (FIXME)
7614         (getPort): New method.
7615         (setReuseAddress): New method.
7616         (getReuseAddress): New method.
7617         (setBroadcast): New method.
7618         (getBroadcast): New method.
7619         (setTrafficClass): New method.
7620         (getTrafficClass): New method.
7621         * java/net/MulticastSocket.java):
7622         (getTTL): Added @see in documentation.
7623         (setTTL): Added @see in documentation.
7624         (setLoopbackMode): New method.
7625         (getLoopbackMode): New method.
7626         * java/net/PlainSocketImpl.java:
7627         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7628         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7629         * java/net/PlainDatagramSocketImpl.java
7630         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7631         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7632         * java/net/natPlainSocketImpl.cc
7633         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7634         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7635         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7636         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7637         This should also fix SO_KEEPALIVE
7638         * java/net/natPlainDatagramSocketImpl.cc
7639         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7640         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7641         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7642         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7643
7644 2002-09-04  Michael Koch  <konqueror@gmx.de>
7645
7646         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7647         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7648         IP_MULTICAST_LOOP, IP_TOS
7649
7650 2002-09-03  Tom Tromey  <tromey@redhat.com>
7651
7652         * java/lang/Class.h (_getDeclaredMethod): Declare.
7653         (_getMethod): Now private.
7654         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7655         getDeclaredMethod.  Now returns NULL on failure.
7656         * java/lang/Class.java (_getDeclaredMethod): Declare.
7657         (getDeclaredMethod): No longer native; implements access checks.
7658
7659 2002-09-01  Mark Wielaard  <mark@klomp.org>
7660
7661         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7662         (sanitizeStack): Correctly reset unknown and interpreter counters,
7663         detect interpreter runtime frames.
7664         (demangleInterpreterMethod): New method.
7665         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7666         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7667         filling in addrs[].
7668
7669 2002-09-02  Michael Koch  <konqueror@gmx.de>
7670
7671         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7672         re-indented documentation.
7673
7674 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7675
7676         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7677         public, per 1.4 spec.  Fixes PR libgcj/7785.
7678
7679 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7680
7681         * Makefile.in: Rebuilt.
7682         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7683
7684 2002-08-29  Tom Tromey  <tromey@redhat.com>
7685
7686         * java/net/JarURLConnection.java (getCertificates): New method
7687         from Classpath.
7688         * java/net/URLClassLoader.java (URLClassLoader): Extends
7689         SecureClassLoader.
7690         (definePackage): New method from Classpath.
7691         (getPermissions): Likewise.
7692         (newInstance): Likewise.
7693         (findClass): Construct CodeSource for new class (from Classpath).
7694         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7695         methods.
7696         * java/net/URL.java (getUserInfo): New method.
7697         (set(String,String,int,String,String,String,String,String)): New
7698         method.
7699         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7700         (shutdownInput, shutdownOutput): Declare.
7701         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7702         Define.
7703         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7704         (getOption): Likewise.
7705         (shutdownInput): New method.
7706         (shutdownOutput): Likewise.
7707         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7708         keepalive.
7709         (getOption): Likewise.
7710         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7711         * java/net/Socket.java (setKeepAlive): New method.
7712         (getKeepAlive): Likewise.
7713         (shutdownInput, shutdownOutput): New methods.
7714
7715 2002-08-29  Michael Koch  <konqueror@gmx.de>
7716
7717         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7718         new methods are:
7719         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7720           address),
7721         DatagramPacket(byte[] buf, int length, SocketAddress address),
7722         void setSocketAddress(SocketAddress address)
7723         public SocketAddress getSocketAddress()
7724
7725 2002-08-29  Tom Tromey  <tromey@redhat.com>
7726
7727         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7728         ftruncate is missing.
7729         * configure, include/config.h.in: Rebuilt.
7730         * acconfig.h (HAVE_FTRUNCATE): Mention.
7731         * configure.in: Check for ftruncate.
7732
7733 2002-08-29  Tom Tromey  <tromey@redhat.com>
7734
7735         * include/jvm.h (struct _Jv_frame_info): New structure.
7736         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7737         java-interp.h.
7738         (lookupInterp): New method.
7739         (getAddrAsString): Use _Jv_frame_info.
7740         (dladdrLookup): Likewise.
7741         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7742         interpreted frame.
7743         (lookupInterp): Declare.
7744         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7745         (fillInStackTrace): Collect information on interpreted frames.
7746         Use _Jv_frame_info.
7747         * interpret.cc: Include Thread.h.
7748         (run): Create and push _Jv_MethodChain object.
7749         (_Jv_EndOfInterpreter): New global.
7750         * java/lang/Thread.java (interp_frame): New field.
7751         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7752         Include NameFinder.h.
7753
7754 2002-08-28  Tom Tromey  <tromey@redhat.com>
7755
7756         * java/lang/Class.h: Include Package.h.
7757         (Class::getProtectionDomain): Declare.
7758         (Class::getPackage): Declare.
7759
7760 2002-08-28  Michael Koch <konqueror@gmx.de>
7761
7762         * java/net/InetSocketAddress.java: Added some documentation and argument
7763         checks for the port numbers.
7764         * java/net/DatagramSocketImplFactory.java: New file.
7765
7766 2002-08-28  Michael Koch <konqueror@gmx.de>
7767
7768         * java/net/Authenticator.java: added some documentation.
7769
7770 2002-08-27  Tom Tromey  <tromey@redhat.com>
7771
7772         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7773         class.
7774         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7775
7776 2002-08-27  Michael Koch <konqueror@gmx.de>
7777
7778         * java/net/BindException.java,
7779         java/net/JarURLConnection.java,
7780         java/net/FileNameMap.java,
7781         java/net/HttpURLConnection.java,
7782         java/net/InetSocketAddress.java,
7783         java/net/DatagramPacket.java,
7784         java/net/DatagramSocket.java,
7785         java/net/DatagramSocketImpl.java,
7786         java/net/MulticastSocket.java,
7787         java/net/PasswordAuthentication.java,
7788         java/net/ServerSocket.java,
7789         java/net/Socket.java,
7790         java/net/URLClassLoader.java,
7791         java/net/URLConnection.java: add/update of some @since/@deprecated
7792
7793 2002-08-27  Tony Kimball <alk@pobox.com>
7794             Tom Tromey  <tromey@redhat.com>
7795
7796         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7797         define.
7798         (::close): Removed.
7799         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7800         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7801         (::close): Removed.
7802         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7803         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7804
7805 2002-08-25  Adam Megacz <adam@xwt.org>
7806
7807         * include/win32.h (getcwd): copied function declaration as
7808         temporary fix for header confusion.
7809
7810 2002-08-24  Mark Wielaard <mark@klomp.org>
7811
7812         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7813         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7814         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7815         and natNameFinder.cc.
7816         * Makefile.in: Regenerate.
7817         * prims.cc: Use trace_enabled from VMThrowable.
7818         * name-finder.cc: Removed.
7819         * gcj/javaprims.h: Add class VMThrowable.
7820         * gnu/gcj/runtime/NameFinder.java: New file.
7821         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7822         * include/name-finder.h: Removed.
7823         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7824         method stackTraceString().
7825         (printStackTrace (PrintWriter)): Likewise.
7826         (stackTraceString): Complete rewrite of old printStackTrace using
7827         StringBuffer.
7828         (stackTraceStringBuffer): New helper method for stackTraceString().
7829         (fillInStackTrace): Delegate to VMTrowable.
7830         (getStackTrace): Likewise.
7831         (getStackTrace0): Removed.
7832         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7833         (setStackTrace): Copy given array.
7834         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7835         * java/lang/VMThrowable.java: New class.
7836         * java/lang/natVMThrowable.cc: New file.
7837
7838 2003-08-23  Michael Koch  <konqueror@gmx.de>
7839
7840         * java/net/URLConnection.java,
7841         java/netJarURLConnection.java,
7842         gnu/gcj/protocol/core/Connection.java,
7843         gnu/gcj/protocol/file/Connection.java,
7844         gnu/gcj/protocol/http/Connection.java: Added implementation of
7845         getHeaderFields().
7846
7847 2002-08-22  Tom Tromey  <tromey@redhat.com>
7848
7849         * gij.cc (help): Document -cp and -classpath.
7850         (main): Handle -classpath.
7851
7852 2002-08-21  Tom Tromey  <tromey@redhat.com>
7853
7854         * Makefile.in: Rebuilt.
7855         * Makefile.am (ordinary_java_source_files): Added
7856         SocketAddress.java, InetSocketAddress.java.
7857         * java/net/PortUnreachableException.java: Merged with Classpath.
7858         * java/net/SocketTimeoutException.java: Likewise.
7859         * java/net/URISyntaxException.java: Likewise.
7860         * java/net/SocketAddress.java: New class from Classpath.
7861         * java/net/InetSocketAddress.java: Likewise.
7862
7863 2003-08-21  Michael Koch  <konqueror@gmx.de>
7864
7865         * java/net/Authenticator.java: updated JDK 1.4
7866         * java/net/ContentHandler.java: updated JDK 1.4
7867
7868 2002-08-20  Michael Koch  <konqueror@gmx.de>
7869
7870         * java/net/URISyntaxException.java: New file.
7871         * java/net/SocketTimeoutException.java: New file.
7872         * java/net/PortUnreachableException.java: New file.
7873         * Makefile.am: Updated.
7874         * Makefile.in: Rebuilt.
7875
7876 2002-08-18  Mark Wielaard  <mark@klomp.org>
7877
7878         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7879         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7880         MessageDigestSpi (fixes Classpath bug #783).
7881
7882 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7883
7884         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7885         (startProcess): Allocate path for chdir in async-signal-safe way.
7886
7887 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7888
7889         Fix for PR libgcj/7570 and PR libgcj/7578:
7890         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7891         (startProcess): Handle new `dir' argument.
7892         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7893         argument.
7894         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7895         argument.
7896         (startProcess): Likewise.
7897         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7898         argument.
7899         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7900         (exec): Don't create new environment if ENV==null.  Pass DIR to
7901         execInternal.
7902         * java/lang/natRuntime.cc: Include java/io/File.h.
7903         (execInternal): Added `dir' argument.
7904
7905 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7906
7907         * java/io/RandomAccessFile.java (skipBytes): Return number of
7908         bytes skipped.
7909
7910 2002-08-01  Mark Wielaard  <mark@klomp.org>
7911
7912         Reenable patch since shared library troubles on powerpc are solved:
7913         * gnu/java/security/provider/Gnu.java: Reference all implementation
7914         classes by using Class.getName().
7915         * gnu/java/security/der/DEREncodingException.java,
7916         gnu/java/security/provider/DERReader.java,
7917         gnu/java/security/provider/DERWriter.java,
7918         gnu/java/security/provider/DSAKeyPairGenerator.java,
7919         gnu/java/security/provider/DSAParameterGenerator.java,
7920         gnu/java/security/provider/DSAParameters.java,
7921         gnu/java/security/provider/DSASignature.java,
7922         gnu/java/security/provider/GnuDSAPrivateKey.java,
7923         gnu/java/security/provider/GnuDSAPublicKey.java,
7924         gnu/java/security/provider/MD5.java,
7925         gnu/java/security/util/Prime.java: New classes
7926         * Makefile.am (ordinary_java_source_files): Add above files.
7927         * Makefile.in: Regenerate.
7928         * gnu/java/security/provider/DefaultPolicy.java
7929         (getPermissions): Don't maintain static class variable of Permissions.
7930         * gnu/java/security/provider/SHA.java
7931         (engineUpdate): algorithm change.
7932         (engineDigest): algorithm change.
7933
7934 2002-08-09  Mark Wielaard  <mark@klomp.org>
7935
7936         * java/awt/image/MemoryImageSource.java: Change constructor to take
7937         int[] not byte[].
7938         * java/awt/Graphics2D.java: Uncomment methods that can now be
7939         compiled.
7940         * java/awt/GridBagLayout.java: New stub implementation.
7941         * javax/swing/text/html/HTML.java: Stub implementation.
7942         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7943         implementation.
7944
7945         * Makefile.am: Add new files.
7946         * Makefile.in: Rebuilt.
7947
7948 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7949
7950         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7951         methods in Graphics2D.
7952
7953 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7954
7955         AWT/Swing merge from GNU Classpath.
7956
7957         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7958         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7959         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7960         java/awt/color/ProfileDataException.java,
7961         java/awt/CompositeContext.java, java/awt/Composite.java,
7962         java/awt/ContainerOrderFocusTraversalPolicy.java,
7963         java/awt/datatransfer/FlavorTable.java,
7964         java/awt/DefaultFocusTraversalPolicy.java,
7965         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7966         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7967         java/awt/dnd/DragGestureListener.java,
7968         java/awt/dnd/DragGestureRecognizer.java,
7969         java/awt/dnd/DragSourceAdapter.java,
7970         java/awt/dnd/DragSourceContext.java,
7971         java/awt/dnd/DragSourceDragEvent.java,
7972         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7973         java/awt/dnd/DragSourceListener.java,
7974         java/awt/dnd/DragSourceMotionListener.java,
7975         java/awt/dnd/DropTarget.java,
7976         java/awt/dnd/InvalidDnDOperationException.java,
7977         java/awt/dnd/peer/DragSourceContextPeer.java,
7978         java/awt/event/AWTEventListenerProxy.java,
7979         java/awt/event/MouseWheelEvent.java,
7980         java/awt/event/MouseWheelListener.java,
7981         java/awt/event/WindowFocusListener.java,
7982         java/awt/event/WindowStateListener.java,
7983         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7984         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7985         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7986         java/awt/geom/FlatteningPathIterator.java,
7987         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7988         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7989         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7990         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7991         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7992         java/awt/image/ImagingOpException.java,
7993         java/awt/image/RasterFormatException.java,
7994         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7995         java/awt/image/VolatileImage.java,
7996         java/awt/image/WritableRenderedImage.java,
7997         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7998         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7999         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8000         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8001         java/awt/PageAttributes.java, java/awt/print/Book.java,
8002         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8003         java/awt/print/Paper.java, java/awt/print/Printable.java,
8004         java/awt/print/PrinterAbortException.java,
8005         java/awt/print/PrinterException.java,
8006         java/awt/print/PrinterGraphics.java,
8007         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8008         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8009         java/awt/Stroke.java, java/awt/TexturePaint.java,
8010         javax/accessibility/AccessibleAction.java,
8011         javax/accessibility/AccessibleBundle.java,
8012         javax/accessibility/AccessibleComponent.java,
8013         javax/accessibility/AccessibleContext.java,
8014         javax/accessibility/AccessibleEditableText.java,
8015         javax/accessibility/AccessibleExtendedComponent.java,
8016         javax/accessibility/AccessibleExtendedTable.java,
8017         javax/accessibility/AccessibleHyperlink.java,
8018         javax/accessibility/AccessibleHypertext.java,
8019         javax/accessibility/AccessibleIcon.java,
8020         javax/accessibility/Accessible.java,
8021         javax/accessibility/AccessibleKeyBinding.java,
8022         javax/accessibility/AccessibleRelation.java,
8023         javax/accessibility/AccessibleRelationSet.java,
8024         javax/accessibility/AccessibleResourceBundle.java,
8025         javax/accessibility/AccessibleRole.java,
8026         javax/accessibility/AccessibleSelection.java,
8027         javax/accessibility/AccessibleState.java,
8028         javax/accessibility/AccessibleStateSet.java,
8029         javax/accessibility/AccessibleTable.java,
8030         javax/accessibility/AccessibleTableModelChange.java,
8031         javax/accessibility/AccessibleText.java,
8032         javax/accessibility/AccessibleValue.java,
8033         javax/swing/AbstractAction.java,
8034         javax/swing/AbstractButton.java,
8035         javax/swing/AbstractCellEditor.java,
8036         javax/swing/AbstractListModel.java,
8037         javax/swing/AbstractSet.java, javax/swing/Action.java,
8038         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8039         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8040         javax/swing/border/CompoundBorder.java,
8041         javax/swing/border/EmptyBorder.java,
8042         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8043         javax/swing/border/LineBorder.java,
8044         javax/swing/border/MatteBorder.java,
8045         javax/swing/border/TitledBorder.java,
8046         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8047         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8048         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8049         javax/swing/CellRendererPane.java,
8050         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8051         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8052         javax/swing/colorchooser/ColorSelectionModel.java,
8053         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8054         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8055         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8056         javax/swing/DefaultBoundedRangeModel.java,
8057         javax/swing/DefaultButtonModel.java,
8058         javax/swing/DefaultCellEditor.java,
8059         javax/swing/DefaultCellRenderer.java,
8060         javax/swing/DefaultComboBoxModel.java,
8061         javax/swing/DefaultDesktopManager.java,
8062         javax/swing/DefaultFocusManager.java,
8063         javax/swing/DefaultListCellRenderer.java,
8064         javax/swing/DefaultListModel.java,
8065         javax/swing/DefaultListSelectionModel.java,
8066         javax/swing/DefaultSingleSelectionModel.java,
8067         javax/swing/DesktopManager.java,
8068         javax/swing/event/AncestorEvent.java,
8069         javax/swing/event/AncestorListener.java,
8070         javax/swing/event/CaretEvent.java,
8071         javax/swing/event/CaretListener.java,
8072         javax/swing/event/CellEditorListener.java,
8073         javax/swing/event/ChangeEvent.java,
8074         javax/swing/event/ChangeListener.java,
8075         javax/swing/event/DocumentEvent.java,
8076         javax/swing/event/DocumentListener.java,
8077         javax/swing/event/EventListenerList.java,
8078         javax/swing/event/HyperlinkEvent.java,
8079         javax/swing/event/HyperlinkListener.java,
8080         javax/swing/event/InternalFrameAdapter.java,
8081         javax/swing/event/InternalFrameEvent.java,
8082         javax/swing/event/InternalFrameListener.java,
8083         javax/swing/event/ListDataEvent.java,
8084         javax/swing/event/ListDataListener.java,
8085         javax/swing/event/ListSelectionEvent.java,
8086         javax/swing/event/ListSelectionListener.java,
8087         javax/swing/event/MenuDragMouseEvent.java,
8088         javax/swing/event/MenuDragMouseListener.java,
8089         javax/swing/event/MenuEvent.java,
8090         javax/swing/event/MenuKeyEvent.java,
8091         javax/swing/event/MenuKeyListener.java,
8092         javax/swing/event/MenuListener.java,
8093         javax/swing/event/MouseInputAdapter.java,
8094         javax/swing/event/MouseInputListener.java,
8095         javax/swing/event/PopupMenuEvent.java,
8096         javax/swing/event/PopupMenuListener.java,
8097         javax/swing/event/SwingPropertyChangeSupport.java,
8098         javax/swing/event/TableColumnModelEvent.java,
8099         javax/swing/event/TableColumnModelListener.java,
8100         javax/swing/event/TableModelEvent.java,
8101         javax/swing/event/TableModelListener.java,
8102         javax/swing/event/TreeExpansionEvent.java,
8103         javax/swing/event/TreeExpansionListener.java,
8104         javax/swing/event/TreeModelEvent.java,
8105         javax/swing/event/TreeModelListener.java,
8106         javax/swing/event/TreeSelectionEvent.java,
8107         javax/swing/event/TreeSelectionListener.java,
8108         javax/swing/event/TreeWillExpandListener.java,
8109         javax/swing/event/UndoableEditEvent.java,
8110         javax/swing/event/UndoableEditListener.java,
8111         javax/swing/filechooser/FileFilter.java,
8112         javax/swing/filechooser/FileSystemView.java,
8113         javax/swing/filechooser/FileView.java,
8114         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8115         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8116         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8117         javax/swing/JApplet.java, javax/swing/JButton.java,
8118         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8119         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8120         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8121         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8122         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8123         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8124         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8125         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8126         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8127         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8128         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8129         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8130         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8131         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8132         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8133         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8134         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8135         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8136         javax/swing/JToolTip.java, javax/swing/JTree.java,
8137         javax/swing/JViewport.java, javax/swing/JWindow.java,
8138         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8139         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8140         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8141         javax/swing/MenuSelectionManager.java,
8142         javax/swing/MutableComboBoxModel.java,
8143         javax/swing/OverlayLayout.java,
8144         javax/swing/plaf/ActionMapUIResource.java,
8145         javax/swing/plaf/basic/BasicBorders.java,
8146         javax/swing/plaf/basic/BasicButtonUI.java,
8147         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8148         javax/swing/plaf/basic/BasicDefaults.java,
8149         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8150         javax/swing/plaf/basic/BasicIconFactory.java,
8151         javax/swing/plaf/basic/BasicLabelUI.java,
8152         javax/swing/plaf/basic/BasicListUI.java,
8153         javax/swing/plaf/basic/BasicLookAndFeel.java,
8154         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8155         javax/swing/plaf/basic/BasicPanelUI.java,
8156         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8157         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8158         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8159         javax/swing/plaf/basic/BasicTextUI.java,
8160         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8161         javax/swing/plaf/basic/BasicTreeUI.java,
8162         javax/swing/plaf/basic/BasicViewportUI.java,
8163         javax/swing/plaf/BorderUIResource.java,
8164         javax/swing/plaf/ButtonUI.java,
8165         javax/swing/plaf/ColorChooserUI.java,
8166         javax/swing/plaf/ColorUIResource.java,
8167         javax/swing/plaf/ComboBoxUI.java,
8168         javax/swing/plaf/ComponentInputMapUIResource.java,
8169         javax/swing/plaf/ComponentUI.java,
8170         javax/swing/plaf/DesktopIconUI.java,
8171         javax/swing/plaf/DesktopPaneUI.java,
8172         javax/swing/plaf/DimensionUIResource.java,
8173         javax/swing/plaf/FileChooserUI.java,
8174         javax/swing/plaf/FontUIResource.java,
8175         javax/swing/plaf/IconUIResource.java,
8176         javax/swing/plaf/InputMapUIResource.java,
8177         javax/swing/plaf/InsetsUIResource.java,
8178         javax/swing/plaf/InternalFrameUI.java,
8179         javax/swing/plaf/LabelUI.java,
8180         javax/swing/plaf/ListUI.java,
8181         javax/swing/plaf/MenuBarUI.java,
8182         javax/swing/plaf/MenuItemUI.java,
8183         javax/swing/plaf/OptionPaneUI.java,
8184         javax/swing/plaf/PanelUI.java,
8185         javax/swing/plaf/PopupMenuUI.java,
8186         javax/swing/plaf/ProgressBarUI.java,
8187         javax/swing/plaf/RootPaneUI.java,
8188         javax/swing/plaf/ScrollBarUI.java,
8189         javax/swing/plaf/ScrollPaneUI.java,
8190         javax/swing/plaf/SeparatorUI.java,
8191         javax/swing/plaf/SliderUI.java,
8192         javax/swing/plaf/SplitPaneUI.java,
8193         javax/swing/plaf/TabbedPaneUI.java,
8194         javax/swing/plaf/TableHeaderUI.java,
8195         javax/swing/plaf/TableUI.java,
8196         javax/swing/plaf/TextUI.java,
8197         javax/swing/plaf/ToolBarUI.java,
8198         javax/swing/plaf/ToolTipUI.java,
8199         javax/swing/plaf/TreeUI.java,
8200         javax/swing/plaf/UIResource.java,
8201         javax/swing/plaf/ViewportUI.java,
8202         javax/swing/ProgressMonitorInputStream.java,
8203         javax/swing/ProgressMonitor.java,
8204         javax/swing/Renderer.java,
8205         javax/swing/RepaintManager.java,
8206         javax/swing/RootPaneContainer.java,
8207         javax/swing/Scrollable.java,
8208         javax/swing/ScrollPaneConstants.java,
8209         javax/swing/ScrollPaneLayout.java,
8210         javax/swing/SingleSelectionModel.java,
8211         javax/swing/SizeRequirements.java,
8212         javax/swing/SizeSequence.java,
8213         javax/swing/SwingConstants.java,
8214         javax/swing/SwingUtilities.java,
8215         javax/swing/table/AbstractTableModel.java,
8216         javax/swing/table/DefaultTableCellRenderer.java,
8217         javax/swing/table/DefaultTableColumnModel.java,
8218         javax/swing/table/DefaultTableModel.java,
8219         javax/swing/table/TableCellEditor.java,
8220         javax/swing/table/TableCellRenderer.java,
8221         javax/swing/table/TableColumn.java,
8222         javax/swing/table/TableColumnModel.java,
8223         javax/swing/table/TableModel.java,
8224         javax/swing/text/AbstractDocument.java,
8225         javax/swing/text/AttributeSet.java,
8226         javax/swing/text/BadLocationException.java,
8227         javax/swing/text/Caret.java,
8228         javax/swing/text/CharacterIterator.java,
8229         javax/swing/text/ComponentView.java,
8230         javax/swing/text/DefaultCaret.java,
8231         javax/swing/text/DefaultEditorKit.java,
8232         javax/swing/text/Document.java,
8233         javax/swing/text/EditorKit.java,
8234         javax/swing/text/Element.java,
8235         javax/swing/text/GapContent.java,
8236         javax/swing/text/JTextComponent.java,
8237         javax/swing/text/Keymap.java,
8238         javax/swing/text/MutableAttributeSet.java,
8239         javax/swing/text/PlainDocument.java,
8240         javax/swing/text/PlainEditorKit.java,
8241         javax/swing/text/Position.java,
8242         javax/swing/text/Segment.java,
8243         javax/swing/text/StyledDocument.java,
8244         javax/swing/text/StyledEditorKit.java,
8245         javax/swing/text/Style.java,
8246         javax/swing/text/TextAction.java,
8247         javax/swing/text/ViewFactory.java,
8248         javax/swing/text/View.java,
8249         javax/swing/Timer.java,
8250         javax/swing/ToggleButtonModel.java,
8251         javax/swing/ToolTipManager.java,
8252         javax/swing/tree/AbstractLayoutCache.java,
8253         javax/swing/tree/DefaultMutableTreeNode.java,
8254         javax/swing/tree/DefaultTreeCellEditor.java,
8255         javax/swing/tree/DefaultTreeCellRenderer.java,
8256         javax/swing/tree/DefaultTreeModel.java,
8257         javax/swing/tree/DefaultTreeSelectionModel.java,
8258         javax/swing/tree/ExpandVetoException.java,
8259         javax/swing/tree/FixedHeightLayoutCache.java,
8260         javax/swing/tree/MutableTreeNode.java,
8261         javax/swing/tree/RowMapper.java,
8262         javax/swing/tree/TreeCellEditor.java,
8263         javax/swing/tree/TreeCellRenderer.java,
8264         javax/swing/tree/TreeModel.java,
8265         javax/swing/tree/TreeNode.java,
8266         javax/swing/tree/TreePath.java,
8267         javax/swing/tree/TreeSelectionModel.java,
8268         javax/swing/tree/VariableHeightLayoutCache.java,
8269         javax/swing/UIDefaults.java,
8270         javax/swing/UIManager.java,
8271         javax/swing/undo/AbstractUndoableEdit.java,
8272         javax/swing/undo/CannotRedoException.java,
8273         javax/swing/undo/CannotUndoException.java,
8274         javax/swing/undo/CompoundEdit.java,
8275         javax/swing/undo/StateEditable.java,
8276         javax/swing/undo/StateEdit.java,
8277         javax/swing/undo/UndoableEdit.java,
8278         javax/swing/undo/UndoableEditSupport.java,
8279         javax/swing/undo/UndoManager.java,
8280         javax/swing/UnsupportedLookAndFeelException.java,
8281         javax/swing/ViewportLayout.java,
8282         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8283
8284         * java/awt/ActiveEvent.java,
8285         java/awt/Adjustable.java, java/awt/AWTError.java,
8286         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8287         java/awt/AWTException.java, java/awt/AWTPermission.java,
8288         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8289         java/awt/Color.java, java/awt/Component.java,
8290         java/awt/ComponentOrientation.java, java/awt/Container.java,
8291         java/awt/datatransfer/MimeTypeParseException.java,
8292         java/awt/datatransfer/Transferable.java,
8293         java/awt/datatransfer/UnsupportedFlavorException.java,
8294         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8295         java/awt/event/ActionListener.java,
8296         java/awt/event/AdjustmentEvent.java,
8297         java/awt/event/AdjustmentListener.java,
8298         java/awt/event/AWTEventListener.java,
8299         java/awt/event/ComponentAdapter.java,
8300         java/awt/event/ComponentEvent.java,
8301         java/awt/event/ComponentListener.java,
8302         java/awt/event/ContainerAdapter.java,
8303         java/awt/event/ContainerEvent.java,
8304         java/awt/event/ContainerListener.java,
8305         java/awt/event/FocusAdapter.java,
8306         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8307         java/awt/event/HierarchyBoundsAdapter.java,
8308         java/awt/event/HierarchyBoundsListener.java,
8309         java/awt/event/HierarchyEvent.java,
8310         java/awt/event/HierarchyListener.java,
8311         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8312         java/awt/event/InputMethodListener.java,
8313         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8314         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8315         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8316         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8317         java/awt/event/MouseListener.java,
8318         java/awt/event/MouseMotionAdapter.java,
8319         java/awt/event/MouseMotionListener.java,
8320         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8321         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8322         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8323         java/awt/event/WindowListener.java, java/awt/Font.java,
8324         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8325         java/awt/geom/Ellipse2D.java,
8326         java/awt/geom/IllegalPathStateException.java,
8327         java/awt/geom/Line2D.java,
8328         java/awt/geom/NoninvertibleTransformException.java,
8329         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8330         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8331         java/awt/geom/RoundRectangle2D.java,
8332         java/awt/GraphicsConfiguration.java,
8333         java/awt/IllegalComponentStateException.java,
8334         java/awt/image/IndexColorModel.java,
8335         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8336         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8337         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8338         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8339         java/awt/MenuItem.java, java/awt/PaintContext.java,
8340         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8341         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8342         java/awt/PrintJob.java, java/awt/Rectangle.java,
8343         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8344         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8345         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8346
8347         * java/awt/im/spi/InputMethod.java,
8348         java/awt/im/spi/InputMethodContext.java,
8349         java/awt/im/spi/InputMethodDescriptor.java,
8350         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8351         java/awt/image/renderable/ParameterBlock.java,
8352         java/awt/image/renderable/RenderContext.java,
8353         java/awt/image/renderable/RenderableImage.java,
8354         java/awt/image/renderable/RenderableImageOp.java,
8355         java/awt/image/renderable/RenderableImageProducer.java,
8356         java/awt/image/renderable/RenderedImageFactory.java: New files from
8357         classpath.
8358
8359         * gnu/java/awt/EventModifier.java,
8360         gnu/java/awt/image/ImageDecoder.java,
8361         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8362
8363         * gnu/awt/xlib/XGraphicsConfiguration.java,
8364         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8365         API.
8366
8367         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8368         GNU Classpath.
8369
8370         * Makefile.am: Add new files.
8371         * Makefile.in: Rebuilt.
8372
8373 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8374
8375         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8376         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8377         findResource, getResources, findResources): Add javadoc from classpath.
8378         (getSystemResources): Implemented.
8379
8380 2002-08-01  Mark Wielaard  <mark@klomp.org>
8381
8382         Revert patch that breaks libgcj shared library on powerpc:
8383         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8384         implementation classes by using Class.getName(). Uses Strings again.
8385         * gnu/java/security/der/DEREncodingException.java,
8386         gnu/java/security/provider/DERReader.java,
8387         gnu/java/security/provider/DERWriter.java,
8388         gnu/java/security/provider/DSAKeyPairGenerator.java,
8389         gnu/java/security/provider/DSAParameterGenerator.java,
8390         gnu/java/security/provider/DSAParameters.java,
8391         gnu/java/security/provider/DSASignature.java,
8392         gnu/java/security/provider/GnuDSAPrivateKey.java,
8393         gnu/java/security/provider/GnuDSAPublicKey.java,
8394         gnu/java/security/provider/MD5.java,
8395         gnu/java/security/util/Prime.java: Removed.
8396         * Makefile.am (ordinary_java_source_files): Remove above files.
8397         * Makefile.in: Regenerate.
8398         * gnu/java/security/provider/DefaultPolicy.java
8399         (getPermissions): Revert to maintaining static class variable of
8400         Permissions.
8401         * gnu/java/security/provider/SHA.java
8402         (engineUpdate): Revert algorithm change.
8403         (engineDigest): Revert algorithm change.
8404
8405 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8406
8407         * configure.host: Add SH support.
8408         * sysdep/sh/locks.h: New file.
8409
8410 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8411
8412         * java/awt/Frame.java (Frame): Remove println calls.
8413
8414 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8415
8416         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8417         * configure: Rebuilt.
8418
8419 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8420
8421         * sysdep/powerpc/locks.h: Formatting.
8422         (_LARX): Define.
8423         (_STCX): Define.
8424         (compare_and_swap): Use _LARX and _STCX.
8425         (compare_and_swap_release): Likewise.
8426
8427 2002-07-26  Tom Tromey  <tromey@redhat.com>
8428
8429         * java/net/Authenticator.java: New version from Classpath.
8430         * java/net/DatagramSocketImpl.java: New version from Classpath.
8431
8432 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8433
8434         * configure.host: Add powerpc64*-* entry.
8435
8436 2002-07-26  Tom Tromey  <tromey@redhat.com>
8437
8438         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8439         fcntl.h.
8440
8441 2002-07-24  Tom Tromey  <tromey@redhat.com>
8442
8443         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8444         argument to _load.
8445
8446 2002-07-24  Tom Tromey  <tromey@redhat.com>
8447             Tony Kimball <alk@pobox.com>
8448
8449         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8450         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8451         * java/io/RandomAccessFile.java (setLength): New method.
8452         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8453         * java/io/FileDescriptor.java (setLength): New method.
8454
8455 2002-07-24  Mark Wielaard  <mark@klomp.org>
8456
8457         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8458         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8459         field call setAccessible(true).
8460         (setByteField): Likewise.
8461         (setCharField): Likewise.
8462         (setDoubleField): Likewise.
8463         (setFloatField): Likewise.
8464         (setIntField): Likewise.
8465         (setLongField): Likewise.
8466         (setShortField): Likewise.
8467         (setObjectField): Likewise.
8468
8469 2002-07-24  Tom Tromey  <tromey@redhat.com>
8470
8471         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8472         use toString() to format array element.
8473
8474 2002-07-23  Mark Wielaard  <mark@klomp.org>
8475
8476         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8477         MessageDigestSpi (fixes Classpath bug #783).
8478
8479 2002-07-21  Mark Wielaard  <mark@klomp.org>
8480
8481         * gnu/java/security/provider/Gnu.java: Reference all implementation
8482         classes by using Class.getName().
8483
8484 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8485
8486         * java/lang/ieeefp.h: Add x86-64 support.
8487         * configure.in: Likewise.
8488         * configure.host: Likewise.
8489         * configure: Regenerated.
8490         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8491
8492 2002-07-16  Mark Wielaard  <mark@klomp.org>
8493
8494         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8495         (whitespaceChars): call resetChar().
8496
8497 2002-07-15  Tom Tromey  <tromey@redhat.com>
8498
8499         * Makefile.in: Rebuilt.
8500         * Makefile.am (awt_java_source_files): Added new files.
8501         * java/beans/ExceptionListener.java: Merged with Classpath.
8502         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8503         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8504         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8505         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8506         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8507         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8508         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8509
8510 2002-07-14  Mark Wielaard  <mark@klomp.org>
8511
8512         * gnu/java/security/der/DEREncodingException.java,
8513         gnu/java/security/provider/DERReader.java,
8514         gnu/java/security/provider/DERWriter.java,
8515         gnu/java/security/provider/DSAKeyPairGenerator.java,
8516         gnu/java/security/provider/DSAParameterGenerator.java,
8517         gnu/java/security/provider/DSAParameters.java,
8518         gnu/java/security/provider/DSASignature.java,
8519         gnu/java/security/provider/GnuDSAPrivateKey.java,
8520         gnu/java/security/provider/GnuDSAPublicKey.java,
8521         gnu/java/security/provider/MD5.java,
8522         gnu/java/security/util/Prime.java: New files from Classpath.
8523         * Makefile.am (ordinary_java_source_files): Add new files.
8524         * Makefile.in: Regenerate.
8525
8526 2002-07-14  C. Brian Jones <cbj@gnu.org>
8527
8528         * gnu/java/security/provider/DefaultPolicy.java
8529         (getPermissions): do not maintain static class variable of
8530         Permissions
8531         * gnu/java/security/provider/SHA.java
8532         (engineUpdate): algorithm change
8533         (engineDigest): algorithm change
8534
8535 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8536
8537         For PR libgcj/7292:
8538         * java/lang/Character.java (toString(char)): Now static.
8539
8540 2002-07-12  Mark Wielaard  <mark@klomp.org>
8541
8542         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8543         (getStackTrace0): new method.
8544         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8545         (printStackTrace(PrintWriter)): replace with pure java implementation.
8546         (printRawStackTrace): removed.
8547         (getStackTrace0): new method.
8548         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8549         * gcj/javaprims.h: regenerate class list.
8550         * include/name-finder.h (lookup): new returns StackTraceElement*.
8551         (method_name, file_name): fields removed.
8552         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8553         (~_Jv_name_finder): close new descriptors.
8554         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8555         (createStackTraceElement): new method.
8556         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8557
8558 2002-07-10  Tom Tromey  <tromey@redhat.com>
8559
8560         * configure: Rebuilt.
8561         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8562
8563 2002-07-08  Mark Wielaard  <mark@klomp.org>
8564
8565         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8566         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8567         java.sql.DatabaseMetaData.TestJdbc20
8568
8569 2002-07-05  Tony Kimball  <alk@pobox.com>
8570
8571         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8572
8573 2002-07-04  Tom Tromey  <tromey@redhat.com>
8574             Jeff Sturm  <jsturm@one-point.com>
8575
8576         Fix for PR libgcj/7060:
8577         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8578         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8579         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8580         * java/lang/Class.java (getMethod): New Java implementation;
8581         complies with spec.
8582         (_getMethod): New native method.
8583
8584 2002-07-02  Tom Tromey  <tromey@redhat.com>
8585             David Hovemeyer  <daveho@cs.umd.edu>
8586
8587         * java/text/ChoiceFormat.java
8588         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8589         in check loop.
8590         * java/text/MessageFormat.java
8591         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8592         to MessageFormat.
8593
8594 2002-07-01  Tom Tromey  <tromey@redhat.com>
8595
8596         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8597         StringTokenizer on null string.  For PR libgcj/7180.
8598         From daveho@cs.umd.edu.
8599
8600 2002-06-24  Tom Tromey  <tromey@redhat.com>
8601
8602         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8603         (IntegerClass): Likewise.
8604         * java/lang/natClass.cc (CloneableClass): Removed.
8605         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8606         ConstructorClass): Likewise.
8607         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8608         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8609         SerializableClass): Likewise.
8610         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8611         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8612         LongClass, FloatClass, DoubleClass): Likewise.
8613
8614         * verify.cc (branch_prepass): Updated for change to exception
8615         handler type.
8616         (verify_instructions_0): Likewise.
8617         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8618         (handleExceptionTableEntry): Updated for change to exception
8619         handler type.
8620         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8621         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8622         (union _Jv_InterpPC): New.
8623         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8624         (class _Jv_InterpMethod): Added new `prepared' field.
8625         (class _Jv_InterpMethod): Added `compile' method.  Removed
8626         `continue1' and `find_exception'.  Changed arguments to `run'.
8627         * interpret.cc (union insn_slot): New.
8628         (find_exception): Removed.
8629         (run_normal): Removed most logic.
8630         (run_synch_object): Likewise; also, use JvSynchronize.
8631         (run_synch_class): Likewise.
8632         (run): Removed.
8633         (continue1): Renamed as `run'.  Compile bytecode if required.
8634         Add new code to allow refinement of direct-threaded code at
8635         runtime.  Handle exceptions.
8636         (SAVE_PC): Removed.
8637         (compile): New method.
8638         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8639         (NULLARRAYCHECK): Don't use SAVE_PC.
8640         (pc_t): New typedef.
8641         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8642         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8643
8644 2002-06-23  Tom Tromey  <tromey@redhat.com>
8645
8646         * configure: Rebuilt.
8647         * configure.in (INTERPRETER): New subst.
8648         (AM_RUNTESTFLAGS): Don't subst.
8649
8650         * Makefile.in: Rebuilt.
8651         * Makefile.am ($(srcdir)/java/lang/Object.h,
8652         $(srcdir)/java/lang/Class.h): Added dummy targets.
8653
8654 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8655
8656         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8657
8658         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8659         java/sql/Savepoint.java: New files.
8660         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8661         java/sql/Blob.java, java/sql/CallableStatement.java,
8662         java/sql/Clob.java, java/sql/Connection.java,
8663         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8664         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8665         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8666         java/sql/Ref.java, java/sql/ResultSet.java,
8667         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8668         java/sql/SQLException.java, java/sql/SQLInput.java,
8669         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8670         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8671         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8672         (JDK 1.4) specification.
8673         * javax/sql/ConnectionEvent.java,
8674         javax/sql/ConnectionEventListener.java,
8675         javax/sql/ConnectionPoolDataSource.java,
8676         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8677         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8678         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8679         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8680         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8681         javax/sql/XADataSource.java: New files.
8682         * Makefile.am: Add new files.
8683         * Makefile.in: Rebuilt.
8684
8685 2002-06-20  Tom Tromey  <tromey@redhat.com>
8686
8687         For PR libgcj/7073:
8688         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8689         exists.
8690         * defineclass.cc (handleClassBegin): Superclass for interface is
8691         `null'.
8692
8693 2002-06-18  Tom Tromey  <tromey@redhat.com>
8694
8695         * gcj/javaprims.h: Updated class declaration list.
8696         * Makefile.in: Rebuilt.
8697         * Makefile.am (core_java_source_files): Removed
8698         BasicMapEntry.java.
8699         * java/util/BasicMapEntry.java: Removed.
8700
8701 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8702
8703         * java/net/natPlainDatagramSocketImpl.cc (receive):
8704         Check bounds of argument to FD_SET.
8705         (setOption): Throw exception if socket is closed.
8706
8707         * java/net/natPlainSocketImpl.cc (accept, read):
8708         Check bounds of argument to FD_SET.
8709         (setOption): Throw exception if socket is closed.
8710
8711 2002-06-18  Tom Tromey  <tromey@redhat.com>
8712
8713         * gcj/javaprims.h: Updated class declaration list.
8714         * Makefile.in: Rebuilt.
8715         * Makefile.am (core_java_source_files): Added
8716         PropertyPermissionCollection.java.
8717         * java/lang/Thread.java (group, name): Now package-private.
8718         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8719         * java/util/AbstractList.java: Likewise.
8720         * java/util/AbstractMap.java: Likewise.
8721         * java/util/Calendar.java: Likewise.
8722         * java/util/Collections.java: Likewise.
8723         * java/util/HashMap.java: Likewise.
8724         * java/util/Hashtable.java: Likewise.
8725         * java/util/LinkedHashMap.java: Likewise.
8726         * java/util/LinkedList.java: Likewise.
8727         * java/util/List.java: Likewise.
8728         * java/util/ListResourceBundle.java: Likewise.
8729         * java/util/Map.java: Likewise.
8730         * java/util/Observable.java: Likewise.
8731         * java/util/Properties.java: Likewise.
8732         * java/util/PropertyPermission.java: Likewise.
8733         * java/util/PropertyPermissionCollection.java: Likewise.
8734         * java/util/PropertyResourceBundle.java: Likewise.
8735         * java/util/Random.java: Likewise.
8736         * java/util/SimpleTimeZone.java: Likewise.
8737         * java/util/StringTokenizer.java: Likewise.
8738         * java/util/TimerTask.java: Likewise.
8739         * java/util/TreeMap.java: Likewise.
8740         * java/util/WeakHashMap.java: Likewise.
8741         * java/util/jar/Attributes.java: Likewise.
8742         * java/util/jar/JarException.java: Likewise.
8743         * java/util/jar/Manifest.java: Likewise.
8744
8745 2002-06-17  Tom Tromey  <tromey@redhat.com>
8746
8747         * gcj/javaprims.h: Updated class declaration list.
8748         * Makefile.in: Rebuilt.
8749         * Makefile.am (core_java_source_files): Added new file.
8750         * java/util/EventListenerProxy.java: New file.
8751         * java/util/EventListener.java: Re-merge with Classpath.
8752         * java/util/EventObject.java: Re-merge with Classpath.
8753
8754 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8755
8756         * java/lang/ClassNotFoundException.java: New Classpath version.
8757
8758 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8759
8760         * java/rmi/activation/ActivateFailedException.java: Remerge from
8761         Classpath version.
8762         * java/rmi/activation/ActivationException.java: Ditto.
8763         * java/rmi/activation/UnknownGroupException.java: Ditto.
8764         * java/rmi/activation/UnknownObjectException.java: Ditto.
8765         * java/rmi/server/ExportException: Ditto.
8766         * java/rmi/server/ServerCloneException: Ditto.
8767         * java/rmi/server/ServerNotActiveException: Ditto.
8768         * java/rmi/server/SkeletonMismatchException: Ditto.
8769         * java/rmi/server/SkeletonNotFoundException: Ditto.
8770         * java/rmi/server/SocketSecurityException: Ditto.
8771
8772 2002-06-16  Tom Tromey  <tromey@redhat.com>
8773
8774         * gcj/javaprims.h: Updated class declaration list.
8775
8776         * java/io/LineNumberInputStream.java: Merged with Classpath.
8777
8778         * java/lang/RuntimeException.java: Re-merge with Classpath.
8779         * java/util/ArrayList.java: Likewise.
8780         * java/util/Arrays.java: Likewise.
8781         * java/util/BitSet.java: Likewise.
8782         * java/util/Dictionary.java: Likewise.
8783         * java/util/IdentityHashMap.java: Likewise.
8784         * java/util/MissingResourceException.java: Likewise.
8785         * java/util/Observer.java: Likewise.
8786         * java/util/TooManyListenersException.java: Likewise.
8787         * java/util/zip/DataFormatException.java: Likewise.
8788         * java/util/zip/ZipException.java: Likewise.
8789
8790 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8791
8792         * java/rmi/AccessException.java: Remerge from Classpath.
8793         * java/rmi/AlreadyBoundException.java: Ditto.
8794         * java/rmi/ConnectException.java: Ditto.
8795         * java/rmi/ConnectIOException.java: Ditto.
8796         * java/rmi/MarshalException.java: Ditto.
8797         * java/rmi/NoSuchObjectException.java: Ditto.
8798         * java/rmi/NotBoundException.java: Ditto.
8799         * java/rmi/RemoteException.java: Ditto.
8800         * java/rmi/RMISecurityException.java: Ditto.
8801         * java/rmi/ServerError.java: Ditto.
8802         * java/rmi/ServerException.java: Ditto.
8803         * java/rmi/ServerRuntimeException.java: Ditto.
8804         * java/rmi/StubNotFoundException.java: Ditto.
8805         * java/rmi/UnexpectedExcpetion.java: Ditto.
8806         * java/rmi/UnknownHostException.java: Ditto.
8807         * java/rmi/UnmarshalException.java: Ditto.
8808
8809 2002-06-15  Tom Tromey  <tromey@redhat.com>
8810
8811         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8812         * java/lang/ArithmeticException.java: Likewise.
8813         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8814         * java/lang/ArrayStoreException.java: Likewise.
8815         * java/lang/Byte.java: Likewise.
8816         * java/lang/CharSequence.java: Likewise.
8817         * java/lang/ClassCastException.java: Likewise.
8818         * java/lang/ClassCircularityError.java: Likewise.
8819         * java/lang/ClassFormatError.java: Likewise.
8820         * java/lang/CloneNotSupportedException.java: Likewise.
8821         * java/lang/Cloneable.java: Likewise.
8822         * java/lang/Comparable.java: Likewise.
8823         * java/lang/Compiler.java: Likewise.
8824         * java/lang/Error.java: Likewise.
8825         * java/lang/ExceptionInInitializerError.java: Likewise.
8826         * java/lang/IllegalAccessError.java: Likewise.
8827         * java/lang/IllegalAccessException.java: Likewise.
8828         * java/lang/IllegalArgumentException.java: Likewise.
8829         * java/lang/IllegalMonitorStateException.java: Likewise.
8830         * java/lang/IllegalStateException.java: Likewise.
8831         * java/lang/IllegalThreadStateException.java: Likewise.
8832         * java/lang/IncompatibleClassChangeError.java: Likewise.
8833         * java/lang/IndexOutOfBoundsException.java: Likewise.
8834         * java/lang/InheritableThreadLocal.java: Likewise.
8835         * java/lang/InstantiationError.java: Likewise.
8836         * java/lang/InstantiationException.java: Likewise.
8837         * java/lang/InternalError.java: Likewise.
8838         * java/lang/InterruptedException.java: Likewise.
8839         * java/lang/LinkageError.java: Likewise.
8840         * java/lang/NegativeArraySizeException.java: Likewise.
8841         * java/lang/NoClassDefFoundError.java: Likewise.
8842         * java/lang/NoSuchFieldError.java: Likewise.
8843         * java/lang/NoSuchFieldException.java: Likewise.
8844         * java/lang/NoSuchMethodError.java: Likewise.
8845         * java/lang/NoSuchMethodException.java: Likewise.
8846         * java/lang/NullPointerException.java: Likewise.
8847         * java/lang/NumberFormatException.java: Likewise.
8848         * java/lang/OutOfMemoryError.java: Likewise.
8849         * java/lang/Process.java: Likewise.
8850         * java/lang/Runnable.java: Likewise.
8851         * java/lang/RuntimePermission.java: Likewise.
8852         * java/lang/SecurityException.java: Likewise.
8853         * java/lang/Short.java: Likewise.
8854         * java/lang/StackOverflowError.java: Likewise.
8855         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8856         * java/lang/ThreadDeath.java: Likewise.
8857         * java/lang/ThreadLocal.java: Likewise.
8858         * java/lang/UnknownError.java: Likewise.
8859         * java/lang/UnsatisfiedLinkError.java: Likewise.
8860         * java/lang/UnsupportedClassVersionError.java: Likewise.
8861         * java/lang/UnsupportedOperationException.java: Likewise.
8862         * java/lang/VerifyError.java: Likewise.
8863         * java/lang/VirtualMachineError.java: Likewise.
8864         * java/lang/reflect/InvocationTargetException.java: Likewise.
8865         * java/net/BindException.java: Likewise.
8866         * java/net/ConnectException.java: Likewise.
8867         * java/net/MalformedURLException.java: Likewise.
8868         * java/net/NoRouteToHostException.java: Likewise.
8869         * java/net/ProtocolException.java: Likewise.
8870         * java/net/SocketException.java: Likewise.
8871         * java/net/UnknownHostException.java: Likewise.
8872         * java/net/UnknownServiceException.java: Likewise.
8873
8874         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8875         * java/io/CharConversionException.java: Likewise.
8876         * java/io/EOFException.java: Likewise.
8877         * java/io/FileNotFoundException.java: Likewise.
8878         * java/io/IOException.java: Likewise.
8879         * java/io/InterruptedIOException.java: Likewise.
8880         * java/io/InvalidClassException.java: Likewise.
8881         * java/io/InvalidObjectException.java: Likewise.
8882         * java/io/NotActiveException.java: Likewise.
8883         * java/io/NotSerializableException.java: Likewise.
8884         * java/io/ObjectStreamException.java: Likewise.
8885         * java/io/ObjectStreamConstants.java: Likewise.
8886         * java/io/OptionalDataException.java: Likewise.
8887         * java/io/PipedInputStream.java: Likewise.
8888         * java/io/PushbackInputStream.java: Likewise.
8889         * java/io/StreamCorruptedException.java: Likewise.
8890         * java/io/SyncFailedException.java: Likewise.
8891         * java/io/UTFDataFormatException.java: Likewise.
8892         * java/io/UnsupportedEncodingException.java: Likewise.
8893         * java/io/WriteAbortedException.java: Likewise.
8894
8895 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8896
8897         * java/text/ChoiceFormat.java: Update comments from Classpath.
8898         * java/text/ParseException.java (serialVersionUID): New
8899         field from Classpath.
8900         * java/text/ParseException.java: Update formatting & comments
8901         from Classpath.
8902
8903 2002-06-15  Tom Tromey  <tromey@redhat.com>
8904
8905         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8906         been read but none output by inflater.
8907         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8908         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8909         is_finished.
8910         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8911         version.
8912         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8913         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8914         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8915         version.
8916         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8917
8918 2002-06-13  Tom Tromey  <tromey@redhat.com>
8919
8920         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8921         true and OFFSET!=0.
8922         * java/lang/String.java (String(char[],int,int,boolean): New
8923         constructor.
8924         * java/lang/Long.java: Imported new version from Classpath.
8925         * java/lang/Number.java: Likewise.
8926         * java/lang/Integer.java: Likewise.
8927         * java/lang/Long.java: Likewise.
8928         * java/lang/Float.java: Likewise.
8929         * java/lang/Boolean.java: Likewise.
8930         * java/lang/Double.java: Likewise.
8931         * java/lang/Void.java: Likewise.
8932
8933 2002-06-12  Tom Tromey  <tromey@redhat.com>
8934
8935         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8936         Fixes PR libgcj/6652.
8937
8938 2002-06-10  Tom Tromey  <tromey@redhat.com>
8939
8940         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8941         (Class::getPackagePortion): Likewise.
8942         * java/lang/Class.java (desiredAssertionStatus): New method from
8943         Classpath.
8944         (getPackagePortion): Likewise.
8945         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8946         packageAssertionStatus, classAssertionStatus): New methods from
8947         Classpath.
8948         * java/lang/ClassLoader.java (defaultAssertionStatus,
8949         systemPackageAssertionStatus, packageAssertionStatus,
8950         systemClassAssertionStatus, classAssertionStatus): New fields from
8951         Classpath.
8952         (setDefaultAssertionStatus, setPackageAssertionStatus,
8953         setClassAssertionStatus, clearAssertionStatus): New methods from
8954         Classpath.
8955         * Makefile.in: Rebuilt.
8956         * Makefile.am (core_java_source_files): Added AssertionError.java.
8957         * java/lang/AssertionError.java: New from Classpath.
8958
8959 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8960
8961         * configure.host: Disable hash synchronization and slow_pthread_self
8962         for cygwin.
8963
8964 2002-06-06  Adam Megacz <adam@xwt.org>
8965
8966         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8967         locking, just like the Sun JVM does.
8968
8969 2002-06-05  H.J. Lu  (hjl@gnu.org)
8970
8971         * Makefile.am (libgcj_convenience.la): Revert the last change.
8972         (libgcj.la): Likewise.
8973         * Makefile.in: Regenerated.
8974
8975 2002-06-04  H.J. Lu  (hjl@gnu.org)
8976
8977         * Makefile.am (libgcj_convenience.la): New target.
8978         (libgcj.la): Depend on libgcj_convenience.la.
8979         * Makefile.in: Regenerated.
8980
8981 2002-06-04  H.J. Lu  (hjl@gnu.org)
8982
8983         * configure.in (--with-newlib): New option:
8984         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8985         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8986         Linux.
8987         * configure: Regenerated.
8988
8989 2002-06-04  Tom Tromey  <tromey@redhat.com>
8990
8991         * java/util/natTimeZone.cc: Include <stdio.h>.
8992
8993 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8994
8995         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8996         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8997         Set SIGNAL_HANDLER=include/s390-linux.h.
8998         * configure: Regenerate.
8999         * include/s390-linux.h: New file.
9000
9001 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9002
9003         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9004         not "stackTrace".
9005
9006 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9007
9008         Merge JDK 1.4 java.security changes from classpath.
9009
9010         * java/security/AccessControlException.java: Merge from Classpath.
9011         * java/security/AccessController.java: Likewise.
9012         * java/security/AllPermission.java: Likewise.
9013         * java/security/BasicPermission.java: Likewise.
9014         * java/security/Certificate.java: Likewise.
9015         * java/security/CodeSource.java: Likewise.
9016         * java/security/DigestException.java: Likewise.
9017         * java/security/DigestOutputStream.java: Likewise.
9018         * java/security/DomainCombiner.java: Likewise.
9019         * java/security/GeneralSecurityException.java: Likewise.
9020         * java/security/Guard.java: Likewise.
9021         * java/security/GuardedObject.java: Likewise.
9022         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9023         * java/security/InvalidKeyException.java: Likewise.
9024         * java/security/InvalidParameterException.java: Likewise.
9025         * java/security/Key.java: Likewise.
9026         * java/security/KeyException.java: Likewise.
9027         * java/security/KeyManagementException.java: Likewise.
9028         * java/security/KeyStoreException.java: Likewise.
9029         * java/security/MessageDigest.java: Likewise.
9030         * java/security/NoSuchAlgorithmException.java: Likewise.
9031         * java/security/NoSuchProviderException.java: Likewise.
9032         * java/security/Permission.java: Likewise.
9033         * java/security/PermissionCollection.java: Likewise.
9034         * java/security/Permissions.java: Likewise.
9035         * java/security/Policy.java: Likewise.
9036         * java/security/Principal.java: Likewise.
9037         * java/security/PrivateKey.java: Likewise.
9038         * java/security/PrivilegedAction.java: Likewise.
9039         * java/security/PrivilegedActionException.java: Likewise.
9040         * java/security/PrivilegedExceptionAction.java: Likewise.
9041         * java/security/ProtectionDomain.java: Likewise.
9042         * java/security/ProviderException.java: Likewise.
9043         * java/security/PublicKey.java: Likewise.
9044         * java/security/SecureClassLoader.java: Likewise.
9045         * java/security/SecurityPermission.java: Likewise.
9046         * java/security/SignatureException.java: Likewise.
9047         * java/security/UnrecoverableKeyException.java: Likewise.
9048         * java/security/UnresolvedPermission.java: Likewise.
9049         * java/security/acl/AclNotFoundException.java: Likewise.
9050         * java/security/acl/LastOwnerException.java: Likewise.
9051         * java/security/acl/NotOwnerException.java: Likewise.
9052         * java/security/cert/CRLException.java: Likewise.
9053         * java/security/cert/CertificateEncodingException.java: Likewise.
9054         * java/security/cert/CertificateException.java: Likewise.
9055         * java/security/cert/CertificateExpiredException.java: Likewise.
9056         * java/security/cert/CertificateFactory.java: Likewise.
9057         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9058         * java/security/cert/CertificateParsingException.java: Likewise.
9059         * java/security/spec/InvalidKeySpecException.java: Likewise.
9060         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9061
9062         * java/security/cert/CertPath.java: New file.
9063         * java/security/cert/CertPathBuilderException.java: New file.
9064         * java/security/cert/CertPathValidatorException.java: New file.
9065         * java/security/cert/CertStoreException.java: New file.
9066
9067         * Makefile.am: Add new CertPath classes.
9068         * Makefile.in: Rebuilt.
9069
9070         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9071
9072 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9073
9074         Merge JDK 1.4 exception chaining support from classpath.
9075
9076         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9077         (stackTraceBytes): Rename from stackTrace.
9078         * java/lang/Exception.java: Merge from classpath.
9079         * java/lang/StackTraceElement: New file from classpath.
9080         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9081         * Makefile.am: Add StackTraceElement.
9082         * Makefile.in: Rebuilt.
9083
9084 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9085
9086         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9087         they build first.
9088         * Makefile.in: Rebuilt.
9089
9090 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9091
9092         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9093         * configure.in: Likewise.
9094         * aclocal.m4: Regenerate.
9095         * configure: Regenerate.
9096
9097 2002-05-13  Tom Tromey  <tromey@redhat.com>
9098
9099         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9100         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9101         Include platform.h.
9102
9103         Fixes PR libgcj/6389:
9104         * Makefile.in: Rebuilt.
9105         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9106         * java/util/natTimeZone.cc: New file.
9107         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9108         * java/lang/System.java: Merged with Classpath.
9109         * java/lang/Runtime.java: Merged with Classpath.
9110         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9111         security check.
9112         (setIn0): Renamed from setIn; don't run security check.
9113         (setOut0): Renamed from setOut; don't run security check.
9114         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9115         init_properties): Moved to natRuntime.cc.
9116         Moved many includes to natRuntime.cc.
9117         (isWordsBigEndian): New method.
9118         * java/lang/natRuntime.cc: Include Long.h, also other includes
9119         previously in natSystem.cc.
9120         (maxMemory): New function.
9121         (exitInternal): Renamed from `_exit'.
9122         (exit): Removed.
9123         (init): Don't set finalize_on_exit.
9124         (exitInternal): Use `finalizeOnExit'.
9125         (file_encoding, getpwuid_adaptor): New functions from
9126         natSystem.cc.
9127         (insertSystemProperties): New method, renamed from
9128         System::init_properties.  Don't set user.timezone.
9129         (_load): Don't call checkLink.
9130         (execInternal): New method.
9131         (availableProcessors): Likewise.
9132         (nativeGetLibname): Likewise.
9133
9134 2002-05-11  Mark Wielaard  <mark@klomp.org>
9135
9136         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9137         space characters.
9138         (previous_internal): Likewise.
9139
9140 2002-05-09  Tom Tromey  <tromey@redhat.com>
9141
9142         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9143
9144         * java/util/ResourceBundle.java: New version from Classpath.
9145         * java/util/Locale.java: Likewise.
9146
9147 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9148
9149         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9150         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9151         LD_LIBRARY_PATH.
9152
9153 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9154
9155         * libjava/Makefile.am (all_java_source_files): New variable.
9156         (all_java_class_files): Likewise.
9157         .java.class: New rule.
9158         (CLEANFILES): Remove tmp-list.
9159         * libjava/Makefile.in: Regenerated.
9160
9161 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9162
9163         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9164         Append .exe to executable names.  Fix for cygwin.
9165
9166 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9167
9168         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9169         script entry, and set LD to it when configuring multilibs.
9170         * configure: Rebuilt.
9171
9172 2002-05-07  Tom Tromey  <tromey@redhat.com>
9173
9174         * java/lang/natString.cc (unintern): Fixed typo.
9175
9176 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9177
9178         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9179         with -no-install on *-*-cygwin*.
9180
9181 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9182
9183         * testsuite/lib/libjava.exp (test_libjava_from_source):
9184         Add comment explaining last patch
9185
9186 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9187
9188         * testsuite/lib/libjava.exp (test_libjava_from_source):
9189         Append .exe to executable names.  If no suffix is present,
9190         then ".exe" is added by default on win32.  Harmless
9191         elsewhere so always do it.
9192
9193 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9194             Tom Tromey  <tromey@redhat.com>
9195
9196         * java/lang/natSystem.cc (getSystemTimeZone): Use
9197         HAVE_UNDERSCORE_TIMEZONE.
9198         * include/config.h.in: Rebuilt.
9199         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9200         * aclocal.m4, configure: Rebuilt.
9201         * acinclude.m4: Run AC_EXEEXT.
9202         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9203         Add test for `_timezone'.
9204
9205 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9206
9207         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9208         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9209         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9210         * Makefile.in: Rebuilt.
9211
9212 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9213
9214         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9215         use sigaction instead of __libc_sigaction.
9216
9217 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9218
9219         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9220         (libjava_init): Use it to find libgcj.spec.
9221         (libjava_arguments): Likewise.
9222
9223 2002-05-02  David S. Miller  <davem@redhat.com>
9224
9225         PR bootstrap/6525
9226         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9227         __libc_sigaction on Sparc.
9228
9229 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9230
9231         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9232         sys/filio.h, if present.
9233
9234 2002-04-30  Tom Tromey  <tromey@redhat.com>
9235
9236         * java/io/BufferedReader.java (fill): Handle case where markPos
9237         point to ignored \n.  Fixes PR libgcj/6301.
9238
9239 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9240
9241         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9242
9243 2002-04-29  Adam King <aking@dreammechanics.com>
9244
9245         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9246         of file in APPEND mode.
9247
9248 2002-04-25  David S. Miller  <davem@redhat.com>
9249
9250         PR target/6422
9251         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9252         program counter to next program counter minus 8.  Update
9253         comments in this macro to explain why.
9254
9255 2002-04-26  Tom Tromey  <tromey@redhat.com>
9256
9257         * verify.cc (construct_primitive_array_type) [void_type]: New
9258         case.
9259         (branch_prepass): Added dummy entries for unused instruction
9260         values.
9261         (verify_instructions_0): Likewise.
9262         * interpret.cc (continue1): Comment fix.
9263         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9264         * Makefile.in: Rebuilt.
9265         * Makefile.am: Added -Wswitch-enum.
9266
9267 2002-04-24  Tom Tromey  <tromey@redhat.com>
9268
9269         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9270         correct length of UTF-8 encoded name.  Strip leading `/'.
9271         (_Jv_RegisterResource): Use _Jv_Malloc.
9272
9273 2002-04-23  Adam Megacz <adam@xwt.org>
9274
9275         * win32.cc, include/win32.cc (backtrace): Added this function
9276         because Win32 does not supply it.
9277
9278 2002-04-21  David S. Miller  <davem@redhat.com>
9279
9280         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9281         magic instruction reading sequence.
9282
9283 2002-04-21  Mark Wielaard  <mark@klomp.org>
9284
9285         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9286
9287 2002-04-19  David S. Miller  <davem@redhat.com>
9288
9289         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9290         arg.
9291         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9292         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9293         on Sparc too.
9294         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9295         for 64-bit sparc.
9296         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9297         * sysdeps/sparc/locks.h: New file.
9298         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9299         on all sparc Solaris configurations.  Set to
9300         include/dwarf2-signal.h on sparc Linux.
9301         * configure: Regenerate
9302         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9303
9304 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9305
9306         * configure: Rebuilt.
9307         * configure.in (backtrace): Function doesn't work on IA-64.
9308
9309 2002-04-17  Adam King <aking@dreammechanics.com>
9310
9311         * java/io/File.java (normalizePath): Add Win32 support for auto
9312         conversion of a '/' path separator to Win32's '\' separator.
9313
9314 2002-04-16  Tom Tromey  <tromey@redhat.com>
9315
9316         Fix for PR libgcj/6081:
9317         * Makefile.in: Rebuilt.
9318         * Makefile.am (install-data-local): Use GNU make trick to avoid
9319         shell limit.
9320
9321 2002-04-16  Adam King <aking@dreammechanics.com>
9322             Tom Tromey  <tromey@redhat.com>
9323
9324         * java/io/natFileWin32.cc (performList): Return the correct array
9325         type.  Don't duplicate the creation of a File since it's already
9326         done earlier in the method and the existing code would cause a
9327         ArrayStoreException.  Don't use fixed-size array.
9328         (_access, _stat, attr, getCanonicalPath, performMkdir,
9329         performRenameTo): Don't use fixed-size array.
9330         (getCanonicalPath): Use throw, not _Jv_Throw.
9331
9332 2002-04-15  DJ Delorie  <dj@redhat.com>
9333
9334         * configure.in: Allow building in $srcdir.
9335         * configure: Regenerated.
9336
9337 2002-04-14  Mark Wielaard <mark@klomp.org>
9338
9339         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9340         * java/net/natSocketImpl.cc (close): Likewise.
9341
9342 2002-04-14  Mark Wielaard <mark@klomp.org>
9343
9344         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9345
9346 2002-04-13  Adam King <aking@dreammechanics.com>
9347
9348         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9349         the f/F/d/D modifiers.
9350
9351 2002-04-12  Anthony Green  <green@redhat.com>
9352
9353         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9354         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9355         * Makefile.in: Rebuilt.
9356         * configure.in: Substitute gcc_version.
9357         * configure: Rebuilt.
9358
9359 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9360
9361         * configure.host: Set can_unwind_signal on hosts which support it.
9362         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9363         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9364         exceptions and can_unwind_signal isn't set.
9365         * configure: Rebuilt.
9366
9367 2002-04-11  Tom Tromey  <tromey@redhat.com>
9368
9369         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9370
9371 2002-04-11  Adam King <aking@dreammechanics.com>
9372             Tom Tromey  <tromey@redhat.com>
9373
9374         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9375         _Jv_ThrowNullPointerException): Mark as noreturn.
9376         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9377         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9378         fixes.
9379
9380 2002-04-10  Tom Tromey  <tromey@redhat.com>
9381
9382         * Makefile.in: Rebuilt.
9383         * Makefile.am (java/lang/Thread.h): Mark
9384         _Jv_AttachCurrentThreadAsDaemon as friend.
9385         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9386         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9387         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9388         function.
9389         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9390         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9391         (_Jv_JNI_InvokeFunctions): Added
9392         _Jv_JNI_AttachCurrentThreadAsDaemon.
9393         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9394         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9395         (JNI_CreateJavaVM): Likewise.
9396         (_Jv_JNI_AttachCurrentThread): Likewise.
9397         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9398         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9399         (_Jv_JNIFunctions): Initialize new fields.
9400         (_Jv_JNI_NewDirectByteBuffer): New function.
9401         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9402         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9403         * include/jni.h (JNI_VERSION_1_4): New macro.
9404         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9405         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9406         (JNINativeInterface::NewDirectByteBuffer): New field.
9407         (JNINativeInterface::GetDirectBufferAddress): New field.
9408         (JNINativeInterface::GetDirectBufferCapacity): New field.
9409         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9410         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9411         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9412
9413 2002-04-09  Tom Tromey  <tromey@redhat.com>
9414
9415         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9416
9417 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9418
9419         Fix for PR libgcj/6187:
9420         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9421         distance.
9422
9423 2002-04-07  Mark Wielaard <mark@klomp.org>
9424
9425         * java/util/AbstractMap.java (putAll): Use entrySet size.
9426         (toString): Explicitly use getKey() and getValue().
9427
9428 2002-04-07  Mark Wielaard <mark@klomp.org>
9429
9430         * java/util/Hashtable.java (contains): Remove NullPointer check.
9431         (containsValue): Add NullPointer check.
9432         (remove): Always throw NullPointerException when key
9433         is null.
9434
9435 2002-04-07  Adam King <aking@dreammechanics.com>
9436
9437         * java/lang/natSystem.cc (init_properties): Call new function
9438         _Jv_platform_initProperties.
9439         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9440         support for the System properties os.name, os.arch, os.version,
9441         user.name, user.home, and user.dir.
9442         * include/posix.h, include/win32.h, posix.cc: New function
9443         _Jv_platform_initProperties.
9444
9445 2002-04-06  Mark Wielaard <mark@klomp.org>
9446
9447         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9448
9449 2002-04-06  Mark Wielaard <mark@klomp.org>
9450
9451         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9452         all of the remaining elements.
9453         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9454         (removeRange): If toIndex == fromIndex do
9455         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9456         (removeAll): Always throw NullPointerException when collection is
9457         null.
9458         (retrainAll): Likewise.
9459
9460 2002-04-05  Mark Wielaard <mark@klomp.org>
9461
9462         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9463         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9464
9465 2002-04-05  Adam Megacz <adam@xwt.org>
9466
9467         * exception.cc (abort): added static modifier
9468
9469 2002-04-04  Adam Megacz <adam@xwt.org>
9470
9471         * include/win32.h (_Jv_platform_close_on_exec): added inline
9472         modifier.
9473
9474 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9475
9476         * configure.host: Add case statement to support generic port
9477         properties.  Add *-*-freebsd* section.
9478
9479 2002-04-04  Mark Wielaard  <mark@klomp.org>
9480
9481         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9482         test.
9483         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9484         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9485         that depend on awt code and BufferedByteOutputStream.interrupt.
9486
9487 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9488
9489         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9490         incorrect "hi" value when count > 40.
9491
9492 2002-04-03  Mark Wielaard  <mark@klomp.org>
9493
9494         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9495         ordering.
9496
9497 2002-04-02  Tom Tromey  <tromey@redhat.com>
9498
9499         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9500         not `0'.
9501
9502 2002-04-02  Mark Wielaard  <mark@klomp.org>
9503
9504         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9505         list of testsuite crashers.
9506
9507 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9508
9509         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9510         when resizing table.
9511
9512 2002-04-01  Mark Wielaard  <mark@klomp.org>
9513
9514         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9515         NegativeArraySizeException
9516         (clear(int)): Use sign extended shift.
9517         (flip(int)): Likewise.
9518         (get(int)): Likewise.
9519         (nextClearBit(int)): Likewise.
9520         (nextSetBit(int)): Likewise.
9521         (set(int)): Likewise.
9522
9523 2002-04-01  Mark Wielaard  <mark@klomp.org>
9524
9525         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9526         that can be compiled now and add testsuite crashers to ignore list.
9527
9528 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9529
9530         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9531
9532         * libgcj.spec.in: Override libgcc, not lib.
9533         * libgcj-test.spec.in: Likewise.
9534
9535 2002-03-29  Tom Tromey  <tromey@redhat.com>
9536
9537         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9538         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9539
9540 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9541
9542         * java/net/PlainDatagramSocketImpl.java
9543         (close): Use native implementation.
9544         (finalize): New method.
9545
9546         * java/net/PlainSocketImpl.java (finalize): New method.
9547
9548         * java/net/natPlainDatagramSocketImpl.cc
9549         (java/io/FileDescriptor.h): Don't include.
9550         (close): Implement method here.
9551         (create): Don't assign fd.
9552
9553         * java/net/natPlainSocketImpl.cc
9554         (java/io/FileDescriptor.h): Don't include.
9555         (create): Don't assign fd.
9556         (accept): Likewise.
9557         (close): Synchronize.
9558
9559 2002-03-27  Richard Henderson  <rth@redhat.com>
9560
9561         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9562
9563 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9564
9565         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9566         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9567         instead of syscall on IA-64.
9568         Add FIXME comment.
9569
9570 2002-03-27  Anthony Green  <green@redhat.com>
9571
9572         * libgcj.spec.in: Add CHECKREFSPEC.
9573         * configure.in: Ditto.
9574         * configure.host: Ditto.  Check references for xscale-elf.
9575         * configure: Rebuilt.
9576
9577 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9578
9579         * include/dwarf2-signal.h: Temporarily back out last change.
9580
9581 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9582
9583         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9584
9585 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9586
9587         * configure.in, configure: enable dwarf2-exception-style
9588         exception handling on IA-64.
9589         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9590         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9591         Add FIXME comment.
9592
9593 2002-03-25  Tom Tromey  <tromey@redhat.com>
9594
9595         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9596         (jv_convert_LDFLAGS): Likewise.
9597         (gij_LDFLAGS): Likewise.
9598         (rmic_LDFLAGS): Likewise.
9599         (rmiregistry_LDFLAGS): Likewise.
9600         * configure.in (THREADLDFLAGS): New subst; set correctly for
9601         *BSD.
9602
9603 2002-03-25  Tom Tromey  <tromey@redhat.com>
9604
9605         For PR libgcj/5303:
9606         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9607         and --version.
9608         (help): New method.
9609         (version): Likewise.
9610         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9611         "GNU".
9612         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9613         "GNU".
9614
9615 2002-03-25  Tom Tromey  <tromey@redhat.com>
9616
9617         * java/awt/Component.java (processEvent): Check ComponentEvent
9618         after KeyEvent.
9619
9620 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9621
9622         * java/io/PushbackReader.java: Reformat.
9623
9624         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9625         calculate correct number of bytes skipped.
9626
9627         Based on patch from Intel's ORP team:
9628         * java/io/PushbackInputStream.java (available): Calculate correct
9629         number of bytes in buffer.
9630         (read): Remove redundant bound check. Return bytes from both the
9631         buffer and the stream.
9632
9633 2002-03-24  Tom Tromey  <tromey@redhat.com>
9634
9635         * java/awt/TextComponent.java (TextComponent): Editable by
9636         default.
9637
9638         * java/awt/MenuItem.java (eventMask): No longer private.
9639         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9640         superclass if we didn't handle event.
9641         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9642         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9643         * java/awt/Choice.java (dispatchEventImpl): New method.
9644         * java/awt/List.java (dispatchEventImpl): New method.
9645         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9646         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9647         * java/awt/TextField.java (dispatchEventImpl): New method.
9648
9649 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9650
9651         * java/beans/IntrospectionException.java: Update to 1.4.
9652         * java/beans/PropertyVetoException.java: Ditto.
9653
9654 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9655
9656         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9657         Arrays.equals instead of ArrayHelper.equalsArray.
9658
9659 2002-03-24  C. Brian Jones <cbj@gnu.org>
9660
9661         * java/beans/Introspector.java: added new static final fields
9662         introduced in 1.2, lots of other updates remain to be done
9663
9664 2002-03-24  C. Brian Jones <cbj@gnu.org>
9665
9666         * java/beans/Introspector.java: reformatting
9667
9668 2002-03-24  C. Brian Jones <cbj@gnu.org>
9669
9670         * java/beans/Introspector.java: default beanInfoSearchPath will
9671         not include sun.beans.infos given we provide no such package and
9672         the API doesn't really require it; gnu.java.beans.info is the
9673         default.
9674
9675 2002-03-24  Mark Wielaard  <mark@klomp.org>
9676
9677         Thanks to Orp developers
9678         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9679         switch TRUE and FALSE return values.
9680
9681 2002-03-23  Tom Tromey  <tromey@redhat.com>
9682
9683         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9684         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9685
9686 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9687
9688         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9689         MONTH entry.  Fixes PR libgcj/6045.
9690
9691 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9692
9693         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9694
9695 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9696
9697         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9698         not release_set.
9699         * sysdep/powerpc/locks.h (write_barrier): New function.
9700         * sysdep/i386/locks.h (write_barrier): New function.
9701
9702 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9703
9704         * include/jni.h Use correct C comments.
9705
9706 2002-03-18  Tom Tromey  <tromey@redhat.com>
9707
9708         * include/jni.h (JNIIMPORT): New macro.
9709         (JNIEXPORT): Likewise.
9710         (JNICALL): Likewise.
9711
9712 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9713
9714         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9715         systems.
9716
9717 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9718
9719         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9720         INIT_SEGV: Use old_i386_kernel_sigaction.
9721         INIT_FP: Likewise.
9722
9723 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9724
9725         * java/lang/natSystem.cc (init_properties): Update VM version
9726         properties.
9727         * configure.in: Set GCJVERSION.
9728         * acconfig.h: Add GCJVERSION.
9729         * configure: Rebuilt.
9730         * include/config.h.in: Rebuilt.
9731
9732 2002-03-17  Anthony Green  <green@redhat.com>
9733
9734         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9735
9736 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9737
9738         Build a single libgcj.so, without separate gc and zlib libraries.
9739         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9740         SYS_ZLIBS if system zlib is used.
9741         * configure: Rebuilt.
9742         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9743         * Makefile.in: Rebuilt.
9744         * libtool-version: Increment .so version number.
9745
9746         * Makefile.am: Escape quotes in echo.
9747         * Makefile.in: Rebuilt.
9748
9749 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9750
9751         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9752         * Makefile.in: Rebuilt.
9753
9754 2002-03-15  Anthony Green  <green@redhat.com>
9755
9756         * configure.host (FILE): New macro for specifing File
9757         implementation.
9758         * configure: Rebuilt.
9759         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9760
9761 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9762
9763         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9764         already implicitly brought in from libgcj.la.
9765         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9766         * Makefile.in: Rebuilt.
9767
9768 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9769
9770         * THANKS: Fix punctuation, alphabetization.
9771
9772 2002-03-15  Tom Tromey  <tromey@redhat.com>
9773             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9774
9775         Fix for PR libgcj/5944.
9776         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9777
9778 2002-03-15  Anthony Green  <green@redhat.com>
9779
9780         * configure.in (tool_include_dir): Define.
9781         * configure: Rebuilt.
9782         * gcj/Makefile.am: Install libgcj-config.h relative to
9783         tool_include_dir.
9784         * gcj/Makefile: Rebuilt.
9785         * gcj/libgcj-config.h: Add warning comment.
9786
9787 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9788
9789         * configure.host (powerpc*-darwin*): Enable interpreter.
9790
9791 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9792
9793         * include/posix.h: Add multiple include header protection.
9794         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9795
9796 2002-03-10  Adam Megacz <adam@xwt.org>
9797
9798         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9799
9800 2002-03-10  Tom Tromey  <tromey@redhat.com>
9801
9802         * java/awt/GridLayout.java (layoutContainer): Handle case where
9803         there are no items in container.
9804
9805         * java/lang/Win32Process.java: Added comment.
9806         * include/posix.h (_Jv_platform_close_on_exec): New function.
9807         Include fcntl.h.
9808         * include/win32.h (_Jv_platform_close_on_exec): New function.
9809         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9810         flag.
9811         (accept): Likewise.
9812         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9813         close-on-exec flag.
9814         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9815         flag.
9816
9817 2002-03-09  Tom Tromey  <tromey@redhat.com>
9818
9819         * verify.cc (state::NO_STACK): New constant.
9820         (state::is_unmerged_ret_state): Handle case where stacktop is
9821         NO_STACK.
9822         (state::merge): Handle NO_STACK merges.
9823         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9824         for instruction following jsr.
9825         (stacktop, stackdepth): Removed unused variables.
9826         (pop_jump): Ignore case where all remaining states are skipped.
9827
9828 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9829
9830         * java/awt/ImageMediaEntry: Removed.
9831         * java/awt/MediaEntry: Removed.
9832
9833 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9834
9835         Hashtable synchronization for PowerPC.
9836         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9837         slow_pthread_self. Set up symlink for sysdeps directory.
9838         * configure: Rebuild.
9839         * configure.host: Document more shell variables. Set sysdeps_dir
9840         for most platforms. Set slow_pthread_self for i686. Set
9841         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9842         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9843         that memory barrier is emitted where required.
9844         * prims.cc: 64-bit align static primitive class instances.
9845         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9846         read_barrier() to enforce ordering of reads.
9847         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9848         primitives for PowerPC.
9849         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9850         moved from natObject.cc.
9851         * sysdep/alpha/locks.h: Likewise.
9852         * sysdep/ia64/locks.h: Likewise.
9853         * sysdep/generic/locks.h: Likewise.
9854         * java/lang/natObject.cc: Move thread synchronization primitives to
9855         system-dependent headers.
9856
9857 2002-03-09  Adam Megacz  <adam@xwt.org>
9858
9859         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9860         bytes read and no failure code returned.
9861
9862 2002-03-09  Adam Megacz  <adam@xwt.org>
9863
9864         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9865         definitions to simulate -mthreads.
9866
9867 2002-03-09  Adam Megacz  <adam@xwt.org>
9868
9869         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9870         avoid precision loss.
9871
9872 2002-03-09  Per Bothner  <per@bothner.com>
9873
9874         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9875         * gnu/gcj/xlib/XImage.java:  Likewise.
9876         * gnu/gcj/xlib/XColor.java:  Likewise.
9877
9878 2002-03-09  Adam Megacz  <adam@xwt.org>
9879
9880         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9881         IOException so that Throwable.printStackTrace fails correctly.
9882
9883 2002-03-08  Adam Megacz  <adam@xwt.org>
9884
9885         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9886         fixed.
9887
9888 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9889
9890         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9891         truncated to int.
9892
9893 2002-03-08  Tom Tromey  <tromey@redhat.com>
9894
9895         * include/jni.h: Include stdio.h.
9896
9897 2002-03-08  Tom Tromey  <tromey@redhat.com>
9898
9899         * posix.cc (internal_gettimeofday): New function.
9900         (_Jv_select): Use it.
9901
9902 2002-03-07  Adam Megacz  <adam@xwt.org>
9903
9904         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9905         WIN32, and added thunks for read(), write(), and close().
9906         * java/net/natPlainSocketImpl.cc (accept, read, read):
9907         Disabled timeouts on WIN32 pending discussion.
9908
9909 2002-03-07  Adam Megacz  <adam@xwt.org>
9910
9911         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9912         returns jlong. Added implementation
9913         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9914         returns jlong.
9915         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9916         returns jlong.
9917         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9918         returns jlong.
9919         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9920         _Jv_platform_gettimeofday signature.
9921
9922 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9923
9924         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9925         (read): Call recv() directly, not _Jv_recv().
9926
9927 2002-03-06  Tom Tromey  <tromey@redhat.com>
9928
9929         * java/io/natFileDescriptorEcos.cc (init): Don't use
9930         GetStdHandle.
9931         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9932         is negative.
9933         (init): Don't use GetStdHandle.
9934
9935         * include/config.h.in: Rebuilt.
9936         * configure: Rebuilt.
9937         * Makefile.in: Rebuilt.
9938
9939 2002-03-06  Adam Megacz  <adam@xwt.org>
9940
9941         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9942         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9943         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9944         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9945
9946 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9947
9948         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9949         the code for generating include/java-chartables.h.
9950         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9951         merge with Classpath.
9952         * scripts/unicode-muncher.pl: Copy from Classpath.
9953         * scritps/MakeCharTables.java: New file.
9954         * gnu/gcj/convert/Blocks-3.txt: New file.
9955         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9956         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9957         * gnu/java/lang/CharData.java: Copy from Classpath.
9958         * Makefile.am (ordinary_java_source_files): Add
9959         gnu/java/lang/CharData.java.
9960         * configure.in: Remove --enable-fast-character option.
9961         * java/lang/Character.java: Merge algorithms and Javadoc with
9962         Classpath.
9963         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9964         efficiently.
9965         * include/java-chardecomp.h: Regenerate.
9966         * include/java-chartables.h: Regenerate.
9967
9968 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9969
9970         * java/awt/MediaTracker.java: Implemented.
9971         * Makefile.am: Add MediaTracker.
9972         * Makefile.in: Rebuilt.
9973
9974 2002-03-05  Tom Tromey  <tromey@redhat.com>
9975
9976         * java/lang/natPosixProcess.cc (fail): Removed.
9977         (startProcess): Simplified error-handling.  Preserve
9978         LD_LIBRARY_PATH across exec.
9979
9980         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9981         AbstractMethodError.
9982
9983 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9984
9985         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9986         * Makefile.in: Rebuilt.
9987
9988 2002-03-03 Mark Wielaard <mark@klomp.org>
9989
9990         * java/util/Timer (TaskQueue.stop): set elements to zero.
9991
9992 2002-02-28  Anthony Green  <green@redhat.com>
9993
9994         * java/lang/reflect/natMethod.cc (result): Add void* element.
9995         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9996         constructor test.
9997
9998 2002-02-27  Adam Megacz <adam@xwt.org>
9999
10000         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10001         '#undef STRICT'.
10002
10003 2002-02-26  Tom Tromey  <tromey@redhat.com>
10004
10005         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10006         * gij.cc (version): Use __VERSION__.
10007         * include/config.h.in: Rebuilt.
10008         * acconfig.h (GCJVERSION): Removed.
10009         * configure: Rebuilt.
10010         * configure.in (GCJVERSION): Removed.
10011
10012 2002-02-26  Andreas Schwab  <schwab@suse.de>
10013
10014         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10015         glibcpp_CXX, since libjava uses even another CXX.
10016         * aclocal.m4, configure: Regenerated.
10017
10018 2002-02-26  Tom Tromey  <tromey@redhat.com>
10019
10020         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10021         `1'.
10022
10023 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10024
10025         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10026         dependency tracking for .java files.
10027         * Makefile.in: Rebuilt.
10028
10029 2002-02-24  Adam Megacz  <adam@xwt.org>
10030
10031         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10032         typo. Sorry.
10033
10034 2002-02-24  Adam Megacz  <adam@xwt.org>
10035
10036         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10037         for Win32, changed #ifdefs to check WIN32 instead of the
10038         (now-obsolete) USE_WINSOCK, and removed support for socket
10039         timeouts on Win32 pending further discussion.
10040
10041 2002-02-24  Adam Megacz  <adam@xwt.org>
10042
10043         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10044         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10045         delete
10046
10047 2002-02-24  Adam Megacz  <adam@xwt.org>
10048
10049         * java/lang/Win32Process.java: Created a dummy class to allow
10050         build process to run to completion.
10051
10052 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10053
10054         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10055         Define ffi_result union for ffi_call result.  Cast
10056         ffi_result members to jvalue.
10057
10058 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10059
10060         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10061         * testsuite/Makefile.in: Likewise.
10062
10063 2002-02-20  Per Bothner  <per@bothner.com>
10064
10065         * java/net/URL.java (getPath):  New JDK 1.3 method.
10066
10067         * java/net/URLStreamHandler.java (parseURL):
10068         It is wrong to prepend '/' to the file part of a relative url.
10069
10070         * java/net/URLStreamHandler.java (parseURL):
10071         Minor optizations - append '/' rather than "/".
10072
10073         * java/net/URLStreamHandler.java (parseURL):
10074         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10075         We probably should canonicalize for a context-relative url, though.
10076         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10077         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10078         (sameFile):  New method.  Uses canonicalizeFilename.
10079
10080 2002-02-22  Tom Tromey  <tromey@redhat.com>
10081
10082         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10083         java.vendor and java.vm.vendor.
10084         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10085         recent copyright date.
10086         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10087         * gij.cc (version): Print `Inc'.
10088
10089 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10090
10091         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10092         * aclocal.m4, configure: Rebuilt.
10093
10094 2002-02-20  Per Bothner  <per@bothner.com>
10095
10096         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10097         and/or output streams immediately here, instead of using File.exists.
10098         (inputStream, outputStream):  New fields to save open streams.
10099         (getInputStream, getOutputStream):  Use already-opened streams.
10100
10101 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10102
10103         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10104         Use it.
10105         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10106         * aclocal.m4, configure, Makefile.in: Rebuilt.
10107
10108 2002-02-19  Tom Tromey  <tromey@redhat.com>
10109
10110         Fix for PR libgcj/5696:
10111         * verify.cc (is_assignable_from_slow): Never call
10112         _Jv_IsAssignableFrom.
10113         (verify_instructions_0): Added new debug statement.
10114         (state::print): Print information about whether local has
10115         changed.
10116         (state::merge): Don't call note_variable when merging locals.
10117         (state::set_exception): Removed old FIXME comment.
10118
10119 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10120
10121         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10122         enable SO_BROADCAST.
10123
10124 2002-02-18  Jason Merrill  <jason@redhat.com>
10125
10126         * name-finder.cc (toHex): Use word mode, not long long.
10127
10128         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10129
10130 2002-02-15  Tom Tromey  <tromey@redhat.com>
10131
10132         Fix for PR libgcj/5695:
10133         * verify.cc (is_assignable_from_slow): Check to see if target is
10134         an Object before checking to see if source is an interface.
10135         (verify_instructions_0) [op_invokeinterface]: Handle case where
10136         we're making an interface call on Object.
10137
10138 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10139
10140         * Makefile.in: Rebuilt with Eric's change below.
10141
10142         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10143         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10144         Removed functions which are now implemented in Math.java.
10145
10146 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10147
10148         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10149         * Makefile.am (core_java_source_files): Add
10150         java/lang/StrictMath.java.
10151         * java/lang/Math.java: Merge with Classpath.
10152         * java/lang/StrictMath.java: New file - merge with Classpath.
10153
10154 2002-02-14  Mark Wielaard  <mark@klomp.org>
10155
10156         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10157         package as a workaround for gcj 3.0.x
10158
10159 2002-02-14  Mark Wielaard <mark@klomp.org>
10160
10161         * java/security/BasicPermission.java: extends with fully qualified
10162         classname as workaround for gcj 3.0.4.
10163
10164 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10165
10166         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10167         around gcj bug of wrong emitted qualifier for inherited method.
10168         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10169         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10170         constructor to reduce amount of emitted bytecode. While this
10171         happens to work around a jikes 1.15 bug, it is still a useful
10172         patch even for correct compilers.
10173         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10174         * gnu/java/rmi/server/UnicastRemoteCall.java
10175         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10176
10177 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10178
10179         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10180         * java/net/SocketImpl.java: Ditto.
10181         * java/rmi/server/RMIClassLoader.java: Ditto.
10182         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10183
10184 2002-02-14  Mark Wielaard <mark@klomp.org>
10185
10186         Thanks to Takashi Okamoto
10187         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10188         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10189         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10190
10191 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10192
10193         Fix for PR libgcj/5670:
10194         * verify.cc (is_assignable_from_slow): If `source' is interface,
10195         recursively look for merge with `target'.
10196
10197 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10198
10199         * include/jni.h: Fix typo.
10200
10201 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10202
10203         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10204         correctly.
10205
10206 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10207
10208         Fix for PR libgcj/5671:
10209         * verify.cc (state::merge): Handle case where we're merging
10210         against an interface.
10211
10212 2002-02-12  Tom Tromey  <tromey@redhat.com>
10213
10214         * exception.cc (std::abort): Mark as noreturn.
10215
10216 2002-02-12  Adam Megacz <adam@xwt.org>
10217
10218         * java/lang/Win32Process.java: Filled in a placeholder
10219         implementation so Win32 will build.
10220
10221 2002-02-12  Adam Megacz <adam@xwt.org>
10222
10223         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10224         * java/io/natFile.cc: Removed from repository.
10225         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10226
10227 2002-02-12  Adam Megacz <adam@xwt.org>
10228
10229         * win32.cc: Added two #includes to make win32.cc compile.
10230
10231 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10232
10233         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10234         declarations.
10235         (_Jv_InitGC): Don't bother locking, as this is always called from a
10236         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10237
10238 2002-02-11  Adam Megacz <adam@xwt.org>
10239
10240         * include/win32.h: Added _Jv_platform_gettimeofday.
10241         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10242
10243 2002-02-11  Adam Megacz <adam@xwt.org>
10244
10245         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10246         Added #undef STRICT to make windows.h and
10247         java/lang/reflect/Modifier.h cooperate.
10248
10249 2002-02-11  Adam Megacz <adam@xwt.org>
10250
10251         * java/io/natFileWin32.cc: Created a placeholder class with lots
10252         of FIXMEs.
10253
10254 2002-02-11  Adam Megacz <adam@xwt.org>
10255
10256         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10257         std::abort() to simply abort(). Also added "fake" std::abort() so
10258         we can #include unwind-pe.h without having to link against
10259         libstdc++-v3.
10260
10261 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10262
10263         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10264
10265 2002-02-08  Tom Tromey  <tromey@redhat.com>
10266
10267         * interpret.cc (convert): New function.
10268         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10269         convert.
10270         Include Long.h.
10271
10272 2002-02-08  Anthony Green  <green@redhat.com>
10273
10274         * configure.host: Add support for xscale-elf embedded target.
10275
10276 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10277
10278         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10279         dereferenced.
10280         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10281         frame.
10282
10283 2002-02-07  Tom Tromey  <tromey@redhat.com>
10284
10285         * java/io/natFile.cc (_access): Use __builtin_alloca.
10286         (_stat): Likewise.
10287         (attr): Likewise.
10288         (getCanonicalPath): Likewise.
10289         (performList): Likewise.
10290         (performMkdir): Likewise.
10291         (performSetReadOnly): Likewise.
10292         (performRenameTo): Likewise.
10293         (performSetLastModified): Likewise.
10294         (performCreate): Likewise.
10295         (performDelete): Likewise.
10296
10297 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10298
10299         * HACKING: Fix URL for the automake-gcj.
10300
10301 2002-02-07  Tom Tromey  <tromey@redhat.com>
10302
10303         * java/lang/natThrowable.cc: Updated copyright.
10304         * java/io/natFileWin32.cc: Updated copyright.
10305         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10306         * win32-threads.cc: Updated copyright.
10307         * name-finder.cc: Updated copyright.
10308         * include/name-finder.h: Updated copyright.
10309
10310         * include/name-finder.h: Conditionally include sys/wait.h.
10311         * include/config.h.in: Rebuilt.
10312
10313         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10314         Size buffer based on real size of string.
10315         (_stat): Likewise.
10316         (attr): Likewise.
10317         (getCanonicalPath): Likewise.
10318         (performList): Likewise.
10319         (performMkdir): Likewise.
10320         (performSetReadOnly): Likewise.
10321         (unixroot): Removed.
10322         (performRenameTo): Likewise.
10323         (performSetLastModified): Likewise.
10324         (performCreate): Likewise.
10325         (performDelete): Likewise.
10326         (performListRoots): Always return new array.
10327
10328         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10329         * win32.cc (win32_exception_handler): Now static.
10330         * include/win32.h (_Jv_platform_initialize): Declare.
10331         (win32_exception_handler): Don't declare.
10332         * java/lang/natSystem.cc (currentTimeMillis): Use
10333         _Jv_platform_gettimeofday.
10334         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10335         (_Jv_select): Use new name.
10336         (_Jv_platform_initialize): New function.
10337         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10338         _Jv_gettimeofday.
10339         (_Jv_platform_initialize): Declare.
10340
10341         * configure: Rebuilt.
10342         * configure.in: Removed unnecessary parens.
10343
10344 2002-02-06  Adam Megacz <adam@xwt.org>
10345
10346        * configure.in: Changed mingw) to *mingw*).
10347        * win32.cc: Created this file.
10348        * win32.h: Created this file.
10349        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10350        win32_exception_handler from prims.cc to win32.cc, added
10351        header in win32.h.
10352        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10353        longer needed now that we have platform.h
10354
10355 2002-02-06  Adam Megacz <adam@xwt.org>
10356
10357         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10358         use uint<n>_t instead of LONG and BYTE
10359
10360 2002-02-06  Adam Megacz <adam@xwt.org>
10361
10362         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10363
10364 2002-02-06  Anthony Green  <green@redhat.com>
10365
10366         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10367         Implement missing method stubs.
10368         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10369         targets.
10370         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10371         concept of timezones.
10372         (init_properties): Don't refer to _Jv_Environment_Properties
10373         when this feature is not available.
10374         * include/config.h.in: Rebuilt.
10375         * acconfig.h: Add DISABLE_MAIN_ARGS.
10376         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10377         * configure: Rebuilt.
10378         * configure.in: Add --disable-main-args option.  Test for
10379           opendir function.  Replace AC_CHECK_SIZEOF with
10380           AC_COMPILE_CHECK_SIZEOF.
10381         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10382         * aclocal.m4: Rebuilt.
10383         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10384
10385 2002-02-06  Tom Tromey  <tromey@redhat.com>
10386
10387         * verify.cc (require_array_type): If argument is a null array of
10388         references, return null as the element type.
10389
10390 2002-02-06  Mark Wielaard  <mark@klomp.org>
10391
10392         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10393         duplicate of a wide type.
10394
10395 2002-02-06  Tom Tromey  <tromey@redhat.com>
10396
10397         * verify.cc (type::isnull): New method.
10398         (require_array_type): Handle case where array is null.
10399         (verify_instructions_0) [op_arraylength]: Likewise.
10400
10401 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10402
10403         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10404         Symlink PLATFORMH to platform.h.
10405         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10406         PLATFORMOBJS.
10407         * java/lang/natSystem.cc: #include platform.h not posix.h.
10408         * Makefile.in: Rebuilt with libgcj automake.
10409         * configure: Rebuilt.
10410
10411 2002-02-05  Richard Henderson  <rth@redhat.com>
10412
10413         * Makefile.in: Undo munging last change.
10414
10415 2002-02-04  Adam Megacz <adam@xwt.org>
10416
10417         * win32.cc: Created it.
10418         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10419         which is set to posix.cc or win32.cc.
10420         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10421
10422 2002-02-04  Adam Megacz <adam@xwt.org>
10423
10424         * configure.in: Corrected mingw case branches; added * before
10425         and after.
10426
10427 2002-02-04  Adam Megacz <adam@xwt.org>
10428
10429         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10430         if compiling for win32
10431
10432 2002-02-04  Adam Megacz <adam@xwt.org>
10433
10434         * win32-threads.cc: #undef STRICT after gc.h inclusion
10435
10436 2002-02-02  Tom Tromey  <tromey@redhat.com>
10437
10438         * Makefile.in: Rebuilt.
10439
10440 2002-02-02  Jason Merrill  <jason@redhat.com>
10441
10442         * Makefile.am (clean-nat): New target.
10443
10444 2002-02-02  Tom Tromey  <tromey@redhat.com>
10445
10446         * java/io/natFile.cc: Removed old "FIXME" comments.
10447
10448 2002-02-01  Tom Tromey  <tromey@redhat.com>
10449
10450         * java/lang/natPosixProcess.cc (myclose): New function.
10451         (fail): Use it.
10452         (startProcess): Likewise.
10453
10454 2002-02-01  Adam Megacz <adam@xwt.org>
10455
10456         * prims.cc: Added #undef STRICT after #include<windows.h>.
10457
10458 2002-02-01  Adam Megacz <adam@xwt.org>
10459
10460         * prims.cc
10461         (_Jv_CreateJavaVM): We now use WIN32 instead of
10462         USE_WIN32_SIGNALLING and USE_WINSOCK.
10463         (win32_exception_handler): Now throws an exception out of
10464         the signal handler; assumes SJLJ.
10465
10466 2002-02-01  Adam Megacz <adam@xwt.org>
10467
10468         * win32-threads.cc:
10469         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10470         wait() algorithm to make it safe.
10471         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10472         Added lazy creation of Win32 Events for better performance
10473         (really_start): This now uses GC_CreateThread so boehm-gc
10474         knows about new threads even when statically linked.
10475
10476 2002-02-01  Adam Megacz <adam@xwt.org>
10477
10478         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10479         enable safer wait() algorithm.
10480         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10481         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10482         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10483         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10484         instead of mutex.
10485         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10486
10487 2002-02-01  Adam Megacz <adam@xwt.org>
10488
10489         * configure.in: Added support for mingw.
10490         * java/lang/Win32Process.java: Created as empty file.
10491         * java/lang/natWin32Process.cc: Created as empty file.
10492
10493 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10494
10495         PR java/4972
10496         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10497         for libiconv in LIBICONV variable.
10498         * configure: Regenerated.
10499
10500 2002-01-31  Tom Tromey  <tromey@redhat.com>
10501
10502         * verify.cc (state::enter_subroutine): New method.
10503         (handle_jsr_insn): Use it.
10504         (state::merge): When processing a `ret', correctly use
10505         subroutine's state to determine which local variables have
10506         changed.
10507         (push_exception_jump): Don't let stack overflow.
10508
10509 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10510
10511         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10512         --version output.
10513
10514 2002-01-30  Tom Tromey  <tromey@redhat.com>
10515
10516         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10517         parameter for `recv' return type.
10518
10519         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10520         (state::merge): ... not here.
10521         (subr_entry_info): New structure.
10522         (entry_points): New field.
10523         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10524         entry_points.
10525
10526 2002-01-29  Tom Tromey  <tromey@redhat.com>
10527
10528         * java/awt/List.java (addNotify): Correctly check to see if peer
10529         does not exist.
10530
10531         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10532         to compute height of each cell, and number of columns to compute
10533         width of each cell.
10534         * java/awt/Window.java (getOwnedWindows): Don't return null.
10535         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10536         of component.  Increment x using horizontal gap, not vertical
10537         gap.
10538
10539 2002-01-28  Tom Tromey  <tromey@redhat.com>
10540
10541         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10542         `nargs' byte is number of words, not number of arguments.
10543
10544 2002-01-27  Tom Tromey  <tromey@redhat.com>
10545
10546         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10547         (when): Likewise.
10548         * java/awt/event/InputEvent.java (modifiers, when): Now
10549         package-private.
10550
10551         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10552         and to-do list.
10553         (state::merge): Use current class' class loader.
10554         (state::print): Print subroutine.
10555         (state::merge): Don't look at subroutine of unmerged `ret'.
10556
10557 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10558
10559         * nogc.cc: Remove warnings.
10560         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10561         New functions.
10562
10563 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10564
10565         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10566         int, int):  Remove empty "if" statement to work around compiler bug.
10567         (newPixels(int[], ColorModel, int, int): Likewise.
10568
10569 2002-01-25  Per Bothner  <per@bothner.com>
10570
10571         * verify.cc (verify_fail):  Change from being a top-level function
10572         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10573         Pass the current verifier to type: and state: methods as needed,
10574         for better error messages, and for resolve.
10575         (resolve):  Pass current class's loader for Class.forName and
10576         _Jv_FindClassFromSignature, rather than using the default loader.
10577         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10578         (get_type_val_for_signature):  Make non-static.
10579         (various methods):  Pass start_PC implicitly, not explicitly.
10580
10581 2002-01-25  Tom Tromey  <tromey@redhat.com>
10582
10583         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10584         loop termination condition.
10585         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10586         width.
10587
10588 2002-01-24  Tom Tromey  <tromey@redhat.com>
10589
10590         * java/awt/Shape.java: Merged with Classpath.
10591         * java/awt/Scrollbar.java: Merged with Classpath.
10592
10593         * java/awt/Container.java (addNotify): Unconditionally call
10594         addNotifyContainerChildren and superclass addNotify.
10595
10596         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10597         getAlpha, not getBlue.
10598
10599 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10600
10601         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10602
10603         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10604         (grabPixels(long)): Wait to be notified that the ImageProducer has
10605         completed.
10606
10607 2002-01-24  Per Bothner  <per@bothner.com>
10608
10609         * verify.cc (is_assignable_from_slow): If target is an interface,
10610         we must still check the source's superclass before giving up.
10611
10612 2002-01-24  Tom Tromey  <tromey@redhat.com>
10613
10614         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10615
10616 2002-01-23  Tom Tromey  <tromey@redhat.com>
10617
10618         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10619         `else'.
10620
10621         * Makefile.in: Rebuilt.
10622         * Makefile.am (awt_java_source_files): Added new files.
10623         * java/awt/Toolkit.java: Merged with Classpath.
10624         * java/awt/PrintGraphics.java: New file from Classpath.
10625         * java/awt/PrintJob.java: New file from Classpath.
10626         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10627         * java/awt/datatransfer/ClipboardOwner.java: New file from
10628         Classpath.
10629         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10630         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10631         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10632         Classpath.
10633         * java/awt/datatransfer/StringSelection.java: New file from
10634         Classpath.
10635         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10636         Classpath.
10637         * java/awt/datatransfer/Transferable.java: New file from
10638         Classpath.
10639         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10640         from Classpath.
10641
10642         * Makefile.in: Rebuilt.
10643         * Makefile.am (awt_java_source_files): Added new files.
10644         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10645         Classpath.
10646         * java/awt/image/CropImageFilter.java: New file from Classpath.
10647         * java/awt/image/FilteredImageSource.java: New file from
10648         Classpath.
10649         * java/awt/image/ImageFilter.java: New file from Classpath.
10650         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10651         * java/awt/image/PixelGrabber.java: New file from Classpath.
10652         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10653         * java/awt/image/ReplicateScaleFilter.java: New file from
10654         Classpath.
10655         * java/awt/image/ImageProducer.java: Replaced with Classpath
10656         version.
10657         * java/awt/image/ImageObserver.java: Replaced with Classpath
10658         version.
10659         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10660         version.
10661         * java/awt/GridBagConstraints.java (clone): Catch
10662         CloneNotSupportedException.
10663
10664 2002-01-23  Per Bothner  <per@bothner.com>
10665
10666         * java/lang/reflect/natField.cc (setAddr):  New function.
10667         Calls getAddr and then checks that the field isn't final.
10668         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10669         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10670         (set):  Call setAddr before check that new value has right type,
10671         to better match specified semantics.
10672
10673 2002-01-22  Tom Tromey  <tromey@redhat.com>
10674
10675         * java/awt/TextField.java: Replaced with Classpath version.
10676         * java/awt/TextArea.java: Replaced with Classpath version.
10677         * java/awt/TextComponent.java: Replaced with Classpath version.
10678
10679         * java/awt/GridBagConstraints.java: Updated copyright.
10680
10681 2002-01-22  Mark Wielaard <mark@klomp.org>
10682
10683         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10684         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10685         java/awt/Dialog.java java/awt/FileDialog.java
10686         java/awt/Font.java java/awt/FontMetrics.java
10687         java/awt/Image.java java/awt/ImageMediaEntry.java
10688         java/awt/Insets.java java/awt/List.java
10689         java/awt/MediaEntry.java java/awt/MediaTracker.java
10690         java/awt/Menu.java java/awt/MenuBar.java
10691         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10692         java/awt/PaintContext.java java/awt/Panel.java
10693         java/awt/PopupMenu.java java/awt/SystemColor.java
10694         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10695         java/awt/peer/CheckboxMenuItemPeer.java
10696         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10697         java/awt/peer/ComponentPeer.java
10698         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10699         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10700         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10701         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10702         java/awt/peer/MenuBarPeer.java
10703         java/awt/peer/MenuComponentPeer.java
10704         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10705         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10706         java/awt/peer/ScrollPanePeer.java
10707         java/awt/peer/ScrollbarPeer.java
10708         java/awt/peer/TextAreaPeer.java
10709         java/awt/peer/TextComponentPeer.java
10710         java/awt/peer/TextFieldPeer.java
10711         java/awt/peer/WindowPeer.java: Add license clarification.
10712
10713 2002-01-22  Mark Wielaard <mark@klomp.org>
10714
10715         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10716         gnu/gcj/runtime/StringBuffer.java
10717         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10718         gnu/java/awt/ComponentDataBlitOp.java
10719         gnu/java/awt/GLightweightPeer.java
10720         gnu/java/beans/BeanInfoEmbryo.java
10721         gnu/java/beans/EmptyBeanInfo.java
10722         gnu/java/beans/ExplicitBeanInfo.java
10723         gnu/java/beans/IntrospectionIncubator.java
10724         gnu/java/beans/editors/ColorEditor.java
10725         gnu/java/beans/editors/FontEditor.java
10726         gnu/java/beans/editors/NativeBooleanEditor.java
10727         gnu/java/beans/editors/NativeByteEditor.java
10728         gnu/java/beans/editors/NativeDoubleEditor.java
10729         gnu/java/beans/editors/NativeFloatEditor.java
10730         gnu/java/beans/editors/NativeIntEditor.java
10731         gnu/java/beans/editors/NativeLongEditor.java
10732         gnu/java/beans/editors/NativeShortEditor.java
10733         gnu/java/beans/editors/StringEditor.java
10734         gnu/java/beans/info/ComponentBeanInfo.java
10735         gnu/java/io/ClassLoaderObjectInputStream.java
10736         gnu/java/io/NullOutputStream.java
10737         gnu/java/io/ObjectIdentityWrapper.java
10738         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10739         gnu/java/lang/reflect/TypeSignature.java
10740         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10741         gnu/java/locale/Calendar_en.java
10742         gnu/java/locale/Calendar_nl.java
10743         gnu/java/locale/LocaleInformation.java
10744         gnu/java/locale/LocaleInformation_de.java
10745         gnu/java/locale/LocaleInformation_en.java
10746         gnu/java/locale/LocaleInformation_nl.java
10747         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10748         gnu/java/rmi/registry/RegistryImpl.java
10749         gnu/java/rmi/rmic/Compile_gcj.java
10750         gnu/java/rmi/rmic/Compiler.java
10751         gnu/java/rmi/rmic/CompilerProcess.java
10752         gnu/java/rmi/rmic/RMIC.java
10753         gnu/java/rmi/rmic/TabbedWriter.java
10754         gnu/java/rmi/server/ProtocolConstants.java
10755         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10756         gnu/java/rmi/server/RMIHashes.java
10757         gnu/java/rmi/server/RMIObjectInputStream.java
10758         gnu/java/rmi/server/RMIObjectOutputStream.java
10759         gnu/java/rmi/server/UnicastConnection.java
10760         gnu/java/rmi/server/UnicastConnectionManager.java
10761         gnu/java/rmi/server/UnicastRef.java
10762         gnu/java/rmi/server/UnicastRemoteCall.java
10763         gnu/java/rmi/server/UnicastRemoteStub.java
10764         gnu/java/rmi/server/UnicastServer.java
10765         gnu/java/rmi/server/UnicastServerRef.java
10766         gnu/java/security/provider/DefaultPolicy.java
10767         gnu/java/security/provider/Gnu.java
10768         gnu/java/security/provider/SHA.java
10769         gnu/java/security/provider/SHA1PRNG.java
10770         gnu/java/text/BaseBreakIterator.java
10771         gnu/java/text/CharacterBreakIterator.java
10772         gnu/java/text/LineBreakIterator.java
10773         gnu/java/text/SentenceBreakIterator.java
10774         gnu/java/text/WordBreakIterator.java
10775         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10776         java/applet/AppletContext.java java/applet/AppletStub.java
10777         java/applet/AudioClip.java java/awt/AWTError.java
10778         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10779         java/awt/AWTException.java java/awt/AWTPermission.java
10780         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10781         java/awt/Button.java java/awt/Canvas.java
10782         java/awt/CardLayout.java java/awt/Checkbox.java
10783         java/awt/CheckboxGroup.java java/awt/Component.java
10784         java/awt/ComponentOrientation.java java/awt/Container.java
10785         java/awt/Dimension.java java/awt/Event.java
10786         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10787         java/awt/FlowLayout.java java/awt/Frame.java
10788         java/awt/Graphics.java java/awt/Graphics2D.java
10789         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10790         java/awt/IllegalComponentStateException.java
10791         java/awt/ItemSelectable.java java/awt/Label.java
10792         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10793         java/awt/MenuComponent.java java/awt/MenuItem.java
10794         java/awt/Paint.java java/awt/Point.java
10795         java/awt/Rectangle.java java/awt/RenderingHints.java
10796         java/awt/Transparency.java java/awt/Window.java
10797         java/awt/color/ColorSpace.java
10798         java/awt/color/ICC_ColorSpace.java
10799         java/awt/color/ICC_Profile.java
10800         java/awt/event/HierarchyBoundsAdapter.java
10801         java/awt/event/HierarchyBoundsListener.java
10802         java/awt/event/HierarchyEvent.java
10803         java/awt/event/HierarchyListener.java
10804         java/awt/geom/AffineTransform.java
10805         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10806         java/awt/geom/IllegalPathStateException.java
10807         java/awt/geom/Line2D.java
10808         java/awt/geom/NoninvertibleTransformException.java
10809         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10810         java/awt/geom/Rectangle2D.java
10811         java/awt/geom/RectangularShape.java
10812         java/awt/geom/RoundRectangle2D.java
10813         java/awt/image/BufferedImage.java
10814         java/awt/image/ColorModel.java
10815         java/awt/image/ComponentColorModel.java
10816         java/awt/image/ComponentSampleModel.java
10817         java/awt/image/DataBuffer.java
10818         java/awt/image/DataBufferByte.java
10819         java/awt/image/DataBufferInt.java
10820         java/awt/image/DataBufferUShort.java
10821         java/awt/image/DirectColorModel.java
10822         java/awt/image/PackedColorModel.java
10823         java/awt/image/Raster.java java/awt/image/RasterOp.java
10824         java/awt/image/SampleModel.java
10825         java/awt/image/SinglePixelPackedSampleModel.java
10826         java/awt/image/WritableRaster.java
10827         java/beans/AppletInitializer.java
10828         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10829         java/beans/Beans.java java/beans/Customizer.java
10830         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10831         java/beans/FeatureDescriptor.java
10832         java/beans/IndexedPropertyDescriptor.java
10833         java/beans/IntrospectionException.java
10834         java/beans/Introspector.java java/beans/MethodDescriptor.java
10835         java/beans/ParameterDescriptor.java
10836         java/beans/PropertyChangeEvent.java
10837         java/beans/PropertyChangeListener.java
10838         java/beans/PropertyChangeSupport.java
10839         java/beans/PropertyDescriptor.java
10840         java/beans/PropertyEditor.java
10841         java/beans/PropertyEditorManager.java
10842         java/beans/PropertyEditorSupport.java
10843         java/beans/PropertyVetoException.java
10844         java/beans/SimpleBeanInfo.java
10845         java/beans/VetoableChangeListener.java
10846         java/beans/VetoableChangeSupport.java
10847         java/beans/Visibility.java
10848         java/beans/beancontext/BeanContext.java
10849         java/beans/beancontext/BeanContextChild.java
10850         java/beans/beancontext/BeanContextChildComponentProxy.java
10851         java/beans/beancontext/BeanContextChildSupport.java
10852         java/beans/beancontext/BeanContextContainerProxy.java
10853         java/beans/beancontext/BeanContextEvent.java
10854         java/beans/beancontext/BeanContextMembershipEvent.java
10855         java/beans/beancontext/BeanContextMembershipListener.java
10856         java/beans/beancontext/BeanContextProxy.java
10857         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10858         java/beans/beancontext/BeanContextServiceProvider.java
10859         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10860         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10861         java/beans/beancontext/BeanContextServiceRevokedListener.java
10862         java/beans/beancontext/BeanContextServices.java
10863         java/beans/beancontext/BeanContextServicesListener.java
10864         java/io/BufferedInputStream.java
10865         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10866         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10867         java/io/ByteArrayOutputStream.java
10868         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10869         java/io/CharConversionException.java java/io/DataInput.java
10870         java/io/DataInputStream.java java/io/DataOutput.java
10871         java/io/EOFException.java java/io/Externalizable.java
10872         java/io/FileFilter.java java/io/FileNotFoundException.java
10873         java/io/FilePermission.java java/io/FileReader.java
10874         java/io/FileWriter.java java/io/FilenameFilter.java
10875         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10876         java/io/FilterReader.java java/io/FilterWriter.java
10877         java/io/IOException.java java/io/InputStream.java
10878         java/io/InterruptedIOException.java
10879         java/io/InvalidClassException.java
10880         java/io/InvalidObjectException.java
10881         java/io/NotActiveException.java
10882         java/io/NotSerializableException.java java/io/ObjectInput.java
10883         java/io/ObjectInputStream.java
10884         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10885         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10886         java/io/ObjectStreamConstants.java
10887         java/io/ObjectStreamException.java
10888         java/io/ObjectStreamField.java
10889         java/io/OptionalDataException.java java/io/OutputStream.java
10890         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10891         java/io/PipedReader.java java/io/PipedWriter.java
10892         java/io/PrintWriter.java java/io/PushbackInputStream.java
10893         java/io/PushbackReader.java java/io/Reader.java
10894         java/io/SequenceInputStream.java java/io/Serializable.java
10895         java/io/SerializablePermission.java
10896         java/io/StreamCorruptedException.java
10897         java/io/StreamTokenizer.java
10898         java/io/StringBufferInputStream.java java/io/StringReader.java
10899         java/io/StringWriter.java java/io/SyncFailedException.java
10900         java/io/UTFDataFormatException.java
10901         java/io/UnsupportedEncodingException.java
10902         java/io/WriteAbortedException.java java/io/Writer.java
10903         java/lang/AbstractMethodError.java
10904         java/lang/ArithmeticException.java
10905         java/lang/ArrayIndexOutOfBoundsException.java
10906         java/lang/ArrayStoreException.java java/lang/Boolean.java
10907         java/lang/Byte.java java/lang/CharSequence.java
10908         java/lang/ClassCastException.java
10909         java/lang/ClassCircularityError.java
10910         java/lang/ClassFormatError.java
10911         java/lang/ClassNotFoundException.java
10912         java/lang/CloneNotSupportedException.java
10913         java/lang/Cloneable.java java/lang/Comparable.java
10914         java/lang/Compiler.java java/lang/Double.java
10915         java/lang/Error.java java/lang/Exception.java
10916         java/lang/ExceptionInInitializerError.java
10917         java/lang/Float.java java/lang/IllegalAccessError.java
10918         java/lang/IllegalAccessException.java
10919         java/lang/IllegalArgumentException.java
10920         java/lang/IllegalMonitorStateException.java
10921         java/lang/IllegalStateException.java
10922         java/lang/IllegalThreadStateException.java
10923         java/lang/IncompatibleClassChangeError.java
10924         java/lang/IndexOutOfBoundsException.java
10925         java/lang/InheritableThreadLocal.java
10926         java/lang/InstantiationError.java
10927         java/lang/InstantiationException.java java/lang/Integer.java
10928         java/lang/InternalError.java
10929         java/lang/InterruptedException.java
10930         java/lang/LinkageError.java java/lang/Long.java
10931         java/lang/NegativeArraySizeException.java
10932         java/lang/NoClassDefFoundError.java
10933         java/lang/NoSuchFieldError.java
10934         java/lang/NoSuchFieldException.java
10935         java/lang/NoSuchMethodError.java
10936         java/lang/NoSuchMethodException.java
10937         java/lang/NullPointerException.java java/lang/Number.java
10938         java/lang/NumberFormatException.java
10939         java/lang/OutOfMemoryError.java java/lang/Package.java
10940         java/lang/Process.java java/lang/Runnable.java
10941         java/lang/RuntimeException.java
10942         java/lang/RuntimePermission.java
10943         java/lang/SecurityException.java
10944         java/lang/SecurityManager.java java/lang/Short.java
10945         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10946         java/lang/StringIndexOutOfBoundsException.java
10947         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10948         java/lang/ThreadLocal.java java/lang/UnknownError.java
10949         java/lang/UnsatisfiedLinkError.java
10950         java/lang/UnsupportedClassVersionError.java
10951         java/lang/UnsupportedOperationException.java
10952         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10953         java/lang/Void.java java/lang/ref/PhantomReference.java
10954         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10955         java/lang/ref/SoftReference.java
10956         java/lang/ref/WeakReference.java
10957         java/lang/reflect/AccessibleObject.java
10958         java/lang/reflect/InvocationTargetException.java
10959         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10960         java/lang/reflect/ReflectPermission.java
10961         java/math/BigDecimal.java java/math/BigInteger.java
10962         java/net/Authenticator.java java/net/BindException.java
10963         java/net/ConnectException.java java/net/ContentHandler.java
10964         java/net/ContentHandlerFactory.java
10965         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10966         java/net/FileNameMap.java java/net/MalformedURLException.java
10967         java/net/MulticastSocket.java java/net/NetPermission.java
10968         java/net/NoRouteToHostException.java
10969         java/net/PasswordAuthentication.java
10970         java/net/ProtocolException.java java/net/ServerSocket.java
10971         java/net/Socket.java java/net/SocketException.java
10972         java/net/SocketImpl.java java/net/SocketImplFactory.java
10973         java/net/SocketOptions.java java/net/SocketPermission.java
10974         java/net/URLDecoder.java java/net/URLEncoder.java
10975         java/net/URLStreamHandlerFactory.java
10976         java/net/UnknownHostException.java
10977         java/net/UnknownServiceException.java
10978         java/rmi/AccessException.java
10979         java/rmi/AlreadyBoundException.java
10980         java/rmi/ConnectException.java
10981         java/rmi/ConnectIOException.java
10982         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10983         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10984         java/rmi/NotBoundException.java
10985         java/rmi/RMISecurityException.java
10986         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10987         java/rmi/RemoteException.java java/rmi/ServerError.java
10988         java/rmi/ServerException.java
10989         java/rmi/ServerRuntimeException.java
10990         java/rmi/StubNotFoundException.java
10991         java/rmi/UnexpectedException.java
10992         java/rmi/UnknownHostException.java
10993         java/rmi/UnmarshalException.java
10994         java/rmi/activation/Activatable.java
10995         java/rmi/activation/ActivateFailedException.java
10996         java/rmi/activation/ActivationDesc.java
10997         java/rmi/activation/ActivationException.java
10998         java/rmi/activation/ActivationGroup.java
10999         java/rmi/activation/ActivationGroupDesc.java
11000         java/rmi/activation/ActivationGroupID.java
11001         java/rmi/activation/ActivationID.java
11002         java/rmi/activation/ActivationInstantiator.java
11003         java/rmi/activation/ActivationMonitor.java
11004         java/rmi/activation/ActivationSystem.java
11005         java/rmi/activation/Activator.java
11006         java/rmi/activation/UnknownGroupException.java
11007         java/rmi/activation/UnknownObjectException.java
11008         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11009         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11010         java/rmi/registry/Registry.java
11011         java/rmi/registry/RegistryHandler.java
11012         java/rmi/server/ExportException.java
11013         java/rmi/server/LoaderHandler.java
11014         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11015         java/rmi/server/Operation.java
11016         java/rmi/server/RMIClassLoader.java
11017         java/rmi/server/RMIClientSocketFactory.java
11018         java/rmi/server/RMIFailureHandler.java
11019         java/rmi/server/RMIServerSocketFactory.java
11020         java/rmi/server/RMISocketFactory.java
11021         java/rmi/server/RemoteCall.java
11022         java/rmi/server/RemoteObject.java
11023         java/rmi/server/RemoteRef.java
11024         java/rmi/server/RemoteServer.java
11025         java/rmi/server/RemoteStub.java
11026         java/rmi/server/ServerCloneException.java
11027         java/rmi/server/ServerNotActiveException.java
11028         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11029         java/rmi/server/SkeletonMismatchException.java
11030         java/rmi/server/SkeletonNotFoundException.java
11031         java/rmi/server/SocketSecurityException.java
11032         java/rmi/server/UID.java
11033         java/rmi/server/UnicastRemoteObject.java
11034         java/rmi/server/Unreferenced.java
11035         java/security/AccessControlContext.java
11036         java/security/AccessControlException.java
11037         java/security/AccessController.java
11038         java/security/AlgorithmParameterGenerator.java
11039         java/security/AlgorithmParameterGeneratorSpi.java
11040         java/security/AlgorithmParameters.java
11041         java/security/AlgorithmParametersSpi.java
11042         java/security/AllPermission.java
11043         java/security/BasicPermission.java
11044         java/security/Certificate.java java/security/CodeSource.java
11045         java/security/DigestException.java
11046         java/security/DigestInputStream.java
11047         java/security/DigestOutputStream.java
11048         java/security/DomainCombiner.java
11049         java/security/DummyKeyPairGenerator.java
11050         java/security/DummyMessageDigest.java
11051         java/security/DummySignature.java
11052         java/security/GeneralSecurityException.java
11053         java/security/Guard.java java/security/GuardedObject.java
11054         java/security/Identity.java java/security/IdentityScope.java
11055         java/security/InvalidAlgorithmParameterException.java
11056         java/security/InvalidKeyException.java
11057         java/security/InvalidParameterException.java
11058         java/security/Key.java java/security/KeyException.java
11059         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11060         java/security/KeyManagementException.java
11061         java/security/KeyPair.java java/security/KeyPairGenerator.java
11062         java/security/KeyPairGeneratorSpi.java
11063         java/security/KeyStore.java
11064         java/security/KeyStoreException.java
11065         java/security/KeyStoreSpi.java
11066         java/security/MessageDigest.java
11067         java/security/MessageDigestSpi.java
11068         java/security/NoSuchAlgorithmException.java
11069         java/security/NoSuchProviderException.java
11070         java/security/Permission.java
11071         java/security/PermissionCollection.java
11072         java/security/Permissions.java java/security/Policy.java
11073         java/security/Principal.java java/security/PrivateKey.java
11074         java/security/PrivilegedAction.java
11075         java/security/PrivilegedActionException.java
11076         java/security/PrivilegedExceptionAction.java
11077         java/security/ProtectionDomain.java
11078         java/security/Provider.java
11079         java/security/ProviderException.java
11080         java/security/PublicKey.java
11081         java/security/SecureClassLoader.java
11082         java/security/SecureRandom.java
11083         java/security/SecureRandomSpi.java java/security/Security.java
11084         java/security/SecurityPermission.java
11085         java/security/Signature.java
11086         java/security/SignatureException.java
11087         java/security/SignatureSpi.java
11088         java/security/SignedObject.java java/security/Signer.java
11089         java/security/UnrecoverableKeyException.java
11090         java/security/UnresolvedPermission.java
11091         java/security/acl/Acl.java java/security/acl/AclEntry.java
11092         java/security/acl/AclNotFoundException.java
11093         java/security/acl/Group.java
11094         java/security/acl/LastOwnerException.java
11095         java/security/acl/NotOwnerException.java
11096         java/security/acl/Owner.java java/security/acl/Permission.java
11097         java/security/cert/CRL.java
11098         java/security/cert/CRLException.java
11099         java/security/cert/Certificate.java
11100         java/security/cert/CertificateEncodingException.java
11101         java/security/cert/CertificateException.java
11102         java/security/cert/CertificateExpiredException.java
11103         java/security/cert/CertificateFactory.java
11104         java/security/cert/CertificateFactorySpi.java
11105         java/security/cert/CertificateNotYetValidException.java
11106         java/security/cert/CertificateParsingException.java
11107         java/security/cert/X509CRL.java
11108         java/security/cert/X509CRLEntry.java
11109         java/security/cert/X509Certificate.java
11110         java/security/cert/X509Extension.java
11111         java/security/interfaces/DSAKey.java
11112         java/security/interfaces/DSAKeyPairGenerator.java
11113         java/security/interfaces/DSAParams.java
11114         java/security/interfaces/DSAPrivateKey.java
11115         java/security/interfaces/DSAPublicKey.java
11116         java/security/interfaces/RSAKey.java
11117         java/security/interfaces/RSAPrivateCrtKey.java
11118         java/security/interfaces/RSAPrivateKey.java
11119         java/security/interfaces/RSAPublicKey.java
11120         java/security/spec/AlgorithmParameterSpec.java
11121         java/security/spec/DSAParameterSpec.java
11122         java/security/spec/DSAPrivateKeySpec.java
11123         java/security/spec/DSAPublicKeySpec.java
11124         java/security/spec/EncodedKeySpec.java
11125         java/security/spec/InvalidKeySpecException.java
11126         java/security/spec/InvalidParameterSpecException.java
11127         java/security/spec/KeySpec.java
11128         java/security/spec/PKCS8EncodedKeySpec.java
11129         java/security/spec/RSAKeyGenParameterSpec.java
11130         java/security/spec/RSAPrivateCrtKeySpec.java
11131         java/security/spec/RSAPrivateKeySpec.java
11132         java/security/spec/RSAPublicKeySpec.java
11133         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11134         java/sql/BatchUpdateException.java java/sql/Blob.java
11135         java/sql/CallableStatement.java java/sql/Clob.java
11136         java/sql/Connection.java java/sql/DataTruncation.java
11137         java/sql/DatabaseMetaData.java java/sql/Date.java
11138         java/sql/Driver.java java/sql/DriverManager.java
11139         java/sql/DriverPropertyInfo.java
11140         java/sql/PreparedStatement.java java/sql/Ref.java
11141         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11142         java/sql/SQLData.java java/sql/SQLException.java
11143         java/sql/SQLInput.java java/sql/SQLOutput.java
11144         java/sql/SQLWarning.java java/sql/Statement.java
11145         java/sql/Struct.java java/sql/Time.java
11146         java/sql/Timestamp.java java/sql/Types.java
11147         java/text/Annotation.java
11148         java/text/AttributedCharacterIterator.java
11149         java/text/AttributedString.java
11150         java/text/AttributedStringIterator.java
11151         java/text/BreakIterator.java java/text/CharacterIterator.java
11152         java/text/ChoiceFormat.java java/text/Collator.java
11153         java/text/DateFormat.java java/text/DateFormatSymbols.java
11154         java/text/DecimalFormat.java
11155         java/text/DecimalFormatSymbols.java
11156         java/text/FieldPosition.java java/text/Format.java
11157         java/text/MessageFormat.java java/text/NumberFormat.java
11158         java/text/ParseException.java java/text/ParsePosition.java
11159         java/text/SimpleDateFormat.java
11160         java/text/StringCharacterIterator.java
11161         java/util/AbstractCollection.java java/util/AbstractList.java
11162         java/util/AbstractMap.java
11163         java/util/AbstractSequentialList.java
11164         java/util/AbstractSet.java java/util/ArrayList.java
11165         java/util/Arrays.java java/util/BasicMapEntry.java
11166         java/util/BitSet.java java/util/Calendar.java
11167         java/util/Collection.java java/util/Collections.java
11168         java/util/Comparator.java
11169         java/util/ConcurrentModificationException.java
11170         java/util/Date.java java/util/Dictionary.java
11171         java/util/EmptyStackException.java java/util/Enumeration.java
11172         java/util/EventListener.java java/util/EventObject.java
11173         java/util/GregorianCalendar.java java/util/HashMap.java
11174         java/util/HashSet.java java/util/Hashtable.java
11175         java/util/IdentityHashMap.java java/util/Iterator.java
11176         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11177         java/util/LinkedList.java java/util/List.java
11178         java/util/ListIterator.java java/util/ListResourceBundle.java
11179         java/util/Locale.java java/util/Map.java
11180         java/util/MissingResourceException.java
11181         java/util/NoSuchElementException.java
11182         java/util/Observable.java java/util/Observer.java
11183         java/util/Properties.java java/util/PropertyPermission.java
11184         java/util/PropertyResourceBundle.java java/util/Random.java
11185         java/util/RandomAccess.java java/util/ResourceBundle.java
11186         java/util/Set.java java/util/SimpleTimeZone.java
11187         java/util/SortedMap.java java/util/SortedSet.java
11188         java/util/Stack.java java/util/StringTokenizer.java
11189         java/util/TimeZone.java java/util/Timer.java
11190         java/util/TimerTask.java
11191         java/util/TooManyListenersException.java
11192         java/util/TreeMap.java java/util/TreeSet.java
11193         java/util/Vector.java java/util/WeakHashMap.java
11194         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11195         java/util/jar/JarException.java java/util/jar/JarFile.java
11196         java/util/jar/JarInputStream.java
11197         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11198         java/util/zip/Adler32.java java/util/zip/CRC32.java
11199         java/util/zip/CheckedInputStream.java
11200         java/util/zip/CheckedOutputStream.java
11201         java/util/zip/Checksum.java
11202         java/util/zip/DataFormatException.java
11203         java/util/zip/Deflater.java
11204         java/util/zip/DeflaterOutputStream.java
11205         java/util/zip/GZIPInputStream.java
11206         java/util/zip/GZIPOutputStream.java
11207         java/util/zip/Inflater.java
11208         java/util/zip/InflaterInputStream.java
11209         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11210         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11211         java/util/zip/ZipInputStream.java
11212         java/util/zip/ZipOutputStream.java
11213         javax/naming/BinaryRefAddr.java
11214         javax/naming/InvalidNameException.java javax/naming/Name.java
11215         javax/naming/NamingException.java javax/naming/RefAddr.java
11216         javax/naming/StringRefAddr.java: Add license clarification.
11217
11218 2002-01-22  Tom Tromey  <tromey@redhat.com>
11219
11220         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11221         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11222         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11223         version.
11224         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11225         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11226         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11227         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11228         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11229         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11230         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11231         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11232         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11233         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11234         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11235         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11236         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11237         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11238         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11239         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11240         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11241         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11242         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11243         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11244         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11245         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11246         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11247         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11248         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11249         (minimumSize, preferredSize, reshape): Likewise.
11250         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11251         getColorModel): New methods.
11252         * java/awt/PopupMenu.java: Merged with Classpath.
11253         * java/awt/MenuBar.java: Merged with Classpath.
11254         * java/awt/SystemColor.java: Replace with Classpath version.
11255         * java/awt/Panel.java: Merged with Classpath.
11256         * java/awt/PaintContext.java: Updated copyright.
11257         * java/awt/MenuShortcut.java: Merged with Classpath.
11258         * java/awt/MenuContainer.java: Merged with Classpath.
11259         * java/awt/Menu.java: Merged with Classpath.
11260         * java/awt/MediaEntry.java: New file from Classpath.
11261         * java/awt/MediaTracker.java: New file from Classpath.
11262         * java/awt/List.java: Merged with Classpath version.
11263         * java/awt/Insets.java: Merged with Classpath version.
11264         * java/awt/ImageMediaEntry.java: New file from Classpath.
11265         * java/awt/Image.java: Replaced with Classpath version.
11266         * java/awt/FontMetrics.java: Merged with Classpath version.
11267         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11268         constant.
11269         * java/awt/Font.java: Merged with Classpath version.
11270         * java/awt/Dialog.java: Merged with Classpath version.
11271         * java/awt/Color.java: Merged with Classpath version.
11272         * java/awt/Choice.java: Merged with Classpath version.
11273         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11274         * java/awt/Adjustable.java: Replace with Classpath version.
11275         * java/awt/MenuItem.java (paramString): Don't include class name
11276         or brackets.  Call superclass paramString.
11277         * java/awt/MenuComponent.java (toString): Call paramString.
11278         (paramString): Compute string; don't call toString.
11279         * java/awt/Label.java (paramString): Don't include class name
11280         or brackets.  Call superclass paramString.
11281         * java/awt/Checkbox.java (paramString): Don't include class name
11282         or brackets.  Call superclass paramString.
11283         * java/awt/Button.java (paramString): Don't include class name or
11284         brackets.  Call superclass paramString.
11285         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11286
11287 2002-01-20  Andreas Schwab  <schwab@suse.de>
11288
11289         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11290         function and of parameter recv_func to ssize_t, as specified by
11291         POSIX.
11292
11293 2002-01-19  Per Bothner  <per@bothner.com>
11294
11295         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11296         uncompressed_size in readiness for next entry.
11297
11298 2002-01-18  Tom Tromey  <tromey@redhat.com>
11299
11300         * java/net/natPlainSocketImpl.cc: Include
11301         IllegalArgumentException.h.
11302         (_Jv_recv): New template function.
11303         (BooleanClass): Removed.
11304         (read): Use _Jv_recv.
11305         (setOption): Use Boolean::class$.  Throw exception if object is
11306         not Boolean or Integer.
11307
11308 2002-01-17  Tom Tromey  <tromey@redhat.com>
11309
11310         * java/awt/MenuComponent.java: Merged with Classpath.
11311         * java/awt/MenuItem.java: Merged with Classpath.
11312         * java/awt/Button.java: Merged with Classpath.
11313
11314         * java/awt/ActiveEvent.java: Updated copyright.
11315
11316         * java/awt/AWTError.java: Replaced with Classpath version.
11317         * java/awt/AWTException.java: Replaced with Classpath version.
11318         * java/awt/IllegalComponentStateException.java: Replaced with
11319         Classpath version.
11320
11321 2002-01-16  Tom Tromey  <tromey@redhat.com>
11322
11323         * java/awt/Canvas.java (serialVersionUID): New constant.
11324         Updated copyright.  Added javadoc from Classpath.
11325         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11326
11327         * java/awt/CheckboxGroup.java: Merged with Classpath.
11328         * java/awt/Checkbox.java: Merged with Classpath.
11329
11330         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11331         Classpath.
11332         * java/awt/Point.java: Updated copyright.
11333
11334         * java/awt/Point.java (toString): Use getClass().getName().
11335         Added javadoc.
11336
11337         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11338         commented code.
11339         (hash): Correctly compute initial value for `h'.
11340
11341         * java/awt/Label.java: Merged with Classpath.
11342
11343 2002-01-15  Tom Tromey  <tromey@redhat.com>
11344
11345         * java/awt/AWTPermission.java: Updated copyright.
11346
11347         * java/awt/LayoutManager2.java: Merged with Classpath.
11348         * java/awt/LayoutManager.java: Merged with Classpath.
11349         * java/awt/GridLayout.java: Updated copyright and javadoc.
11350         (getSize): Use `parent.ncomponents'.  Handle insets.
11351         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11352         there are fewer children than columns.  Correctly compute size of
11353         each cell in the grid.  Handle case where there isn't enough
11354         space.
11355         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11356         all users.
11357         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11358         before calling setVisible() on it.  Last item is `num - 1', not
11359         `num'.
11360         (layoutContainer): Hoist invariants out of loop.
11361
11362         Start of AWT merge with Classpath:
11363         * Makefile.in: Rebuilt.
11364         * Makefile.am (awt_java_source_files): Reference files in
11365         gnu/java/awt, not gnu/gcj/awt.
11366         * java/awt/image/BufferedImage.java: Updated copyright.
11367         * java/awt/image/ComponentColorModel.java: Updated copyright.
11368         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11369         * java/awt/image/DataBuffer.java: Updated copyright.
11370         * java/awt/image/DataBufferByte.java: Updated copyright.
11371         * java/awt/image/DataBufferInt.java: Updated copyright.
11372         * java/awt/image/DataBufferUShort.java: Updated copyright.
11373         * java/awt/image/IndexColorModel.java: Updated copyright.
11374         * java/awt/image/PackedColorModel.java: Updated copyright.
11375         * java/awt/image/Raster.java: Updated copyright.
11376         * java/awt/image/RasterOp.java: Updated copyright.
11377         * java/awt/image/SampleModel.java: Updated copyright.
11378         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11379         * java/awt/image/WritableRaster.java: Updated copyright.
11380         * java/awt/color/ColorSpace.java: Updated copyright.
11381         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11382         * java/awt/color/ICC_Profile.java: Updated copyright.
11383         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11384         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11385         * java/awt/event/HierarchyEvent.java: Updated copyright.
11386         * java/awt/event/HierarchyListener.java: Updated copyright.
11387         * java/awt/geom/AffineTransform.java: Updated copyright.
11388         * java/awt/geom/Dimension2D.java: Updated copyright.
11389         * java/awt/geom/Ellipse2D.java: Updated copyright.
11390         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11391         * java/awt/geom/Line2D.java: Updated copyright.
11392         * java/awt/geom/NoninvertibleTransformException.java: Updated
11393         copyright.
11394         * java/awt/geom/PathIterator.java: Updated copyright.
11395         * java/awt/geom/Point2D.java: Updated copyright.
11396         * java/awt/geom/Rectangle2D.java: Updated copyright.
11397         * java/awt/geom/RectangularShape.java: Updated copyright.
11398         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11399         * java/awt/Toolkit.java: Updated import for file moves.
11400         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11401         Classpath.
11402         (hashCode): New method from Classpath.
11403         * java/awt/Graphics2D.java: Updated copyright.
11404         * java/awt/Transparency.java: Updated copyright.
11405         * java/awt/Paint.java: Updated copyright.
11406         * java/awt/Graphics.java: New version from Classpath.
11407         * java/awt/EventDispatchThread.java: Updated copyright.
11408         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11409         children.
11410         (gotoComponent): Wrap around on next/previous.
11411         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11412         * gnu/gcj/awt/Buffers.java: Removed.
11413         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11414         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11415         * gnu/java/awt/BitMaskExtent.java: Added.
11416         * gnu/java/awt/Buffers.java: Added.
11417         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11418         * gnu/java/awt/GLightweightPeer.java: Added.
11419         * java/awt/geom/Line2D.java (clone): Ignore
11420         CloneNotSupportedException.
11421         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11422         * java/awt/Frame.java: Merged with Classpath.
11423         * java/awt/RenderingHints.java: Copyright update.
11424         * java/awt/Paint.java: Copyright update.
11425         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11426         * java/awt/image/ColorModel.java: Merged with Classpath.
11427         * java/awt/Window.java (show): New Implementation from Classpath.
11428         (isShowing): Use super.isShowing().
11429         * java/awt/EventQueue.java: Merged with Classpath.
11430         * java/awt/AWTEventMulticaster.java (save): Throw
11431         RuntimeException.
11432         (saveInternal): Likewise.
11433         * java/awt/AWTEvent.java: Now implements Serializable.
11434         * java/awt/Event.java: Copyright update.
11435         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11436         * java/awt/image/BufferedImage.java: Copyright update.
11437         * java/awt/GraphicsConfiguration.java: Copyright update.
11438         * java/awt/Component.java: (addNotify): Don't call
11439         addNotifyContainerChildren().
11440         (addNotifyContainerChildren): Removed.
11441         (setPeer): New method from Classpath.
11442         (setTreeLock): Likewise.
11443         (setVisible): Rewrote.
11444         (show): Use it.
11445         (hide): Likewise.
11446         (validate): Set `valid'.
11447         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11448         (createImage(ImageProducer)): Likewise.
11449         (prepareImage): Likewise.
11450         * java/awt/Container.java (addImpl): Handle case where constraint
11451         is not a String.  Post event via system event queue.
11452         (remove): Post event via system event queue.
11453         (validateTree): Only validate child if it is invalid.
11454         (getAlignmentX): Call super method as default.
11455         (getAlignmentY): Likewise.
11456         (addContainerListener): Now synchronized.
11457         (removeContainerListener): Likewise.
11458         (addNotifyContainerChildren): Now private.
11459         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11460         @author.
11461         * java/awt/FlowLayout.java (serialVersionUID): New field.
11462         (setAlignment): Better exception message.
11463         (layoutContainer): Don't compute component's preferred size unless
11464         we're going to use it.
11465         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11466         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11467         (firstLine, lastLine, firstItem, lastItem): New fields.
11468         (addLayoutComponent): Handle case where constraints is null.
11469         Also, handle relative locations.
11470         (removeLayoutComponent): Handle relative locations.
11471         (MIN, MAX, PREF): New constants.
11472         (calcCompSize): New method.
11473         (calcSize): New method.
11474         (minimumLayoutSize): Use it.
11475         (preferredLayoutSize): Likewise.
11476         (maximumLayoutSize): Likewise.
11477         (toString): Include more information.
11478         (setBounds): New method.
11479         (layoutContainer): Use libgcj implementation; extended to handle
11480         relative locations.
11481
11482 2002-01-15  Tom Tromey  <tromey@redhat.com>
11483
11484         * java/lang/Float.java (equals): Preserve old code.
11485         * java/lang/Double.java (equals): Preserve old code.
11486
11487 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11488
11489         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11490         * java/lang/Float.java (equals, compare): Ditto.
11491
11492 2002-01-13  Mark Wielaard  <mark@klomp.org>
11493
11494         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11495         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11496         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11497         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11498
11499 2002-01-11  Mark Wielaard  <mark@klomp.org>
11500
11501         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11502         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11503         InetAddress.
11504         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11505         * java/net/Socket.java: Merge with Classpath.
11506         * java/net/ServerSocket.java: Likewise.
11507
11508 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11509
11510         * interpret.cc (NULLARRAYCHECK): New macro.
11511         (SAVE_PC): Just store `pc'.
11512         (find_exception): Subtract one from `pc' here.
11513         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11514         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11515         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11516         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11517         don't call SAVE_PC.
11518         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11519         call SAVE_PC.
11520
11521 2002-01-11  Tom Tromey  <tromey@redhat.com>
11522
11523         * java/lang/natSystem.cc (init_properties): Only look for default
11524         locale if LC_MESSAGES is defined.
11525         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11526         * configure.in: Call AM_LC_MESSAGES.
11527         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11528
11529 2002-01-10  Tom Tromey  <tromey@redhat.com>
11530
11531         For PR libgcj/5303:
11532         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11533         --version.  Recognize GNU-style long options.  Print GNU-style
11534         error messages.
11535         (usage): Print GNU-style help.  Exit with status 0.
11536         (error): New method.
11537         (run): Print error message if no class names found.
11538         (main): Don't print usage on error.
11539
11540 2002-01-09  Tom Tromey  <tromey@redhat.com>
11541
11542         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11543         property.
11544         (help, version): Use println(), not println("").
11545
11546         For PR libgcj/5303:
11547         * gnu/gcj/convert/Convert.java (error): Program is called
11548         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11549         -1.
11550         (main): Handle --help and --version.
11551         (help): New method.
11552         (version): Likewise.
11553
11554 2002-01-08  Tom Tromey  <tromey@redhat.com>
11555
11556         * Makefile.in: Rebuilt.
11557         * Makefile.am (ordinary_java_source_files): Added new files.
11558         * gnu/java/locale/LocaleInformation.java: Extend
11559         LocaleInformation_en.
11560         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11561         and time/date formats.
11562         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11563         generated.
11564         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11565         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11566         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11567         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11568         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11569         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11570         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11571         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11572         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11573         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11574         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11575         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11576         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11577         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11578         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11579         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11580         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11581         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11582         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11583         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11584         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11585         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11586         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11587         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11588         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11589         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11590         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11591         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11592         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11593         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11594         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11595         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11596         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11597         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11598         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11599         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11600         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11601         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11602         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11603         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11604         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11605         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11606         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11607         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11608         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11609         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11610         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11611         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11612         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11613         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11614         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11615         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11616         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11617         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11618         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11619         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11620         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11621         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11622         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11623         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11624         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11625         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11626         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11627         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11628         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11629         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11630         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11631         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11632         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11633         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11634         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11635         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11636         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11637         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11638         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11639         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11640         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11641         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11642         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11643         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11644         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11645         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11646         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11647         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11648         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11649         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11650         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11651         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11652         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11653         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11654         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11655         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11656         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11657         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11658         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11659         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11660         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11661         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11662         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11663         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11664         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11665         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11666         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11667         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11668         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11669         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11670         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11671         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11672         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11673         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11674         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11675         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11676         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11677         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11678         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11679         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11680         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11681         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11682         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11683         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11684         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11685         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11686         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11687         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11688         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11689         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11690         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11691         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11692         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11693         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11694
11695         For PR libgcj/5031:
11696         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11697         choose default locale.
11698
11699         * Makefile.in: Rebuilt.
11700         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11701
11702 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11703
11704         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11705         sockets.
11706         (close): New function closes the socket.
11707         (write): New functions for output to socket.
11708         (read): New functions for reading from socket.
11709         * java/net/PlainSocketImpl.java: Glue for new timeout
11710         implementation.
11711         (write): Call the native impl.
11712         (read): Likewise.
11713         (getInputStream): Get a stream to read from the socket.
11714         (getOutputStream): Get a stream to write to the socket.
11715
11716 2002-01-08  Tom Tromey  <tromey@redhat.com>
11717
11718         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11719
11720 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11721
11722         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11723         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11724
11725 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11726
11727         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11728         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11729         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11730         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11731         insn_bastore, insn_castore, insn_sastore]: Use it.
11732         (continue1) [insn_arraylength]: Check for null array.
11733
11734 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11735
11736         * configure, include/config.h.in: Rebuilt.
11737         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11738         * configure.in: Call AC_STRUCT_TIMEZONE.
11739
11740 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11741
11742         * configure.host: Disable the interpreter for Darwin.
11743
11744 2002-01-04  Tom Tromey  <tromey@redhat.com>
11745
11746         * java/lang/Thread.java (stop): No longer synchronized.
11747         (start): Likewise.
11748
11749 2002-01-02  Tom Tromey  <tromey@redhat.com>
11750
11751         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11752         patch.
11753
11754 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11755
11756         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11757         PPC Darwin, not for all of Darwin.