OSDN Git Service

d85f3a3acfbf272e9ca18447a46d87afb59ea706
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-06-19  Michael Koch  <konqueror@gmx.de>
2
3         * java/text/CollationElementIterator.java
4         (NULLORDER): Initialize with -1 as JDK documentation says.
5
6 2003-06-19  Michael Koch  <konqueror@gmx.de>
7
8         * java/net/HttpURLConnection.java,
9         java/net/Inet4Address.java,
10         java/net/Inet6Address.java,
11         java/net/SocketImpl.java,
12         java/net/URLClassLoader.java:
13         Reworked import statements.
14         * java/net/InetAddress.java
15         (getByAddress): Simplified.
16         * java/net/ServerSocket.java
17         (ServerSocket): Moved special handling during bind operation to
18         bind().
19         (bind): Handle different cases when trying to bind a socket.
20         * java/net/URLConnection.java
21         (getHeaderFieldDate): Merged with classpath.
22         (getHeaderFieldInt): Likewise.
23
24 2003-06-19  Michael Koch  <konqueror@gmx.de>
25
26         * java/util/zip/InflaterInputStream.java
27         (InflaterInputStream): Throw NullPointerException if in is null (as
28         JDK does).
29
30 2003-06-19  Michael Koch  <konqueror@gmx.de>
31
32         * java/awt/Font.java
33         javax/swing/UIManager.java
34         javax/swing/border/AbstractBorder.java
35         javax/swing/border/BevelBorder.java
36         javax/swing/border/Border.java
37         javax/swing/border/CompoundBorder.java
38         javax/swing/border/EmptyBorder.java
39         javax/swing/border/EtchedBorder.java
40         javax/swing/border/LineBorder.java
41         javax/swing/border/MatteBorder.java
42         javax/swing/border/TitledBorder.java
43         javax/swing/plaf/BorderUIResource.java
44         javax/swing/plaf/basic/BasicBorders.java
45         javax/swing/plaf/basic/BasicButtonUI.java
46         javax/swing/plaf/basic/BasicCheckBoxUI.java
47         javax/swing/plaf/basic/BasicGraphicsUtils.java
48         javax/swing/plaf/basic/BasicLabelUI.java
49         javax/swing/plaf/basic/BasicRadioButtonUI.java
50         javax/swing/plaf/basic/BasicToggleButtonUI.java:
51         New versions from classpath.
52         * javax/swing/border/SoftBevelBorder.java:
53         New file from classpath.
54         * javax/swing/border/doc-files/LineBorder-1.png,
55         javax/swing/border/doc-files/BevelBorder-1.png,
56         javax/swing/border/doc-files/BevelBorder-2.png,
57         javax/swing/border/doc-files/BevelBorder-3.png,
58         javax/swing/border/doc-files/EmptyBorder-1.png,
59         javax/swing/border/doc-files/EtchedBorder-1.png,
60         javax/swing/border/doc-files/EtchedBorder-2.png,
61         javax/swing/border/doc-files/MatteBorder-1.png,
62         javax/swing/border/doc-files/MatteBorder-2.png,
63         javax/swing/border/doc-files/MatteBorder-3.png,
64         javax/swing/border/doc-files/MatteBorder-4.png,
65         javax/swing/border/doc-files/MatteBorder-5.png,
66         javax/swing/border/doc-files/MatteBorder-6.png,
67         javax/swing/border/doc-files/SoftBevelBorder-1.png,
68         javax/swing/border/doc-files/SoftBevelBorder-2.png,
69         javax/swing/border/doc-files/SoftBevelBorder-3.png,
70         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
71         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
72         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
73         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
74         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
75         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
76         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
77         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
78         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
79         New binary files from classpath.
80         * Makefile.am
81         (awt_java_source_files): Added
82         javax/swing/border/SoftBevelBorder.java.
83         * Makefile.in: Regenerated.
84
85 2003-06-19  Michael Koch  <konqueror@gmx.de>
86
87         * gnu/java/security/x509/X509Certificate.java
88         (writeReplace): Merged from classpath.
89
90 2003-06-19  Michael Koch  <konqueror@gmx.de>
91
92         * gnu/java/nio/FileChannelImpl.java
93         (map_address): Made public.
94         (FileChannelImpl): Merged with classpath.
95         * gnu/java/nio/natFileChannelImpl.cc
96         (nio_mmap_file): Commented out unused arguments.
97         (nio_unmmap_file): Likewise.
98         (niu_msync): Likewise.
99
100 2003-06-19  Michael Koch  <konqueror@gmx.de>
101
102         * java/awt/image/IndexColorModel.java:
103         New version from classpath.
104
105 2003-06-18  Tom Tromey  <tromey@redhat.com>
106
107         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
108         on arrays.
109         (isLoopbackAddress): Likewise.
110         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
111         on arrays.
112
113 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
114
115         * java/lang/natVMSecurityManager.cc (getClassContext):
116         Use maxlen instead of len for loop bound.
117
118 2003-06-18  Michael Koch  <konqueror@gmx.de>
119
120         * gnu/java/nio/SelectorImpl.java
121         (register): Use fd with value 0 for now, will be fixed later.
122         * gnu/java/nio/ServerSocketChannelImpl.java
123         (fd): Removed.
124         (local_port): Removed.
125         (InetSocketAddress): Removed.
126         (ServerSocketChannelImpl): Just initialize internal socket object.
127         (implCloseSelectableChannel): Close internal socket object.
128         (implConfigureBlocking): Added comment.
129         (accept): Use jaba.net stuff to accept socket.
130         * gnu/java/nio/SocketChannelImpl.java
131         (fd): Removed.
132         (local_port): Removed.
133         (InetSocketAddress): Removed.
134         (SocketCreate): Removed.
135         (SocketConnect): Removed.
136         (SocketBind): Removed.
137         (SocketListen): Removed.
138         (SocketAvailable): Removed.
139         (SocketClose): Removed.
140         (SocketRead): Removed.
141         (SocketWrite): Removed.
142         (SocketChannelImpl): Just initialize internal socket object.
143         (implCloseSelectableChannel): Close internal socket object.
144         (implConfigureBlocking): Fixed implementation, added comment.
145         (connect): Use internal socket object to connect.
146         (socket): No need for sanity checks.
147         (read): Comment out some stuff, this will be reimplemented in the next
148         commit.
149         (write): Likewise.
150         * gnu/java/nio/natFileChannelImpl.cc
151         (nio_mmap_file): Line wrapped.
152         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
153         * Makefile.am
154         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
155         * Makefile.in: Regenerated.
156
157 2003-06-18  Michael Koch  <konqueror@gmx.de>
158
159         * java/util/Locale.java
160         (equals): Merged from classpath.
161
162 2003-06-18  Michael Koch  <konqueror@gmx.de>
163
164         * java/net/InetAddress.java:
165         Reformatted to better match classpath's version.
166         * java/net/URL.java
167         (equals): Simplified.
168         * java/net/URLConnection.java
169         (setDoInput): Revised documentation.
170         (getDefaultUseCaches): Likewise.
171         (setRequestProperty): Added @since tag.
172
173 2003-06-17  Michael Koch  <konqueror@gmx.de>
174
175         * java/net/InetSocketAddress.java
176         (InetSocketAddress): Use wildcard address if addr is null.
177         (InetSocketAddress): Dont duplicate implementation.
178         (InetSocketAddress): Throw exception when hostname is null.
179         * java/net/Socket.java:
180         Reworked imports.
181         (Socket): Throw exception when raddr is null, handle case when laddr
182         is null.
183
184 2003-06-17  Michael Koch  <konqueror@gmx.de>
185
186         * java/nio/DirectByteBufferImpl.java
187         (address): Made package private.
188         (DirectByteBufferImpl): New constructor.
189         * java/nio/natDirectByteBufferImpl.cc
190         (allocateImpl): Moved to java.nio namespace, implemented.
191         (freeImpl): Likewise.
192         (getImpl): Likewise.
193         (putImpl): Likewise.
194         * jni.cc
195         (_Jv_JNI_NewDirectByteBuffer): Implemented.
196         (_Jv_JNI_GetDirectBufferAddress): Implemented.
197         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
198
199 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
200
201         * include/powerpc-signal.h: New File.
202         * configure.in: Use it.
203         * configure: Regenerated.
204
205 2003-06-17  Michael Koch  <konqueror@gmx.de>
206
207         * java/util/Locale.java
208         (getDisplayLanguage): Made it final.
209         (getDisplayCountry): Likewise.
210         (getDisplayVariant): Likewise.
211         (getDisplayName): Likewise.
212
213 2003-06-17  Michael Koch  <konqueror@gmx.de>
214
215         * java/util/PropertyResourceBundle.java:
216         Removed unneeded import.
217
218 2003-06-17  Michael Koch  <konqueror@gmx.de>
219
220         * java/util/prefs/AbstractPreferences.java,
221         java/util/prefs/PreferencesFactory.java:
222         Reworked imports, removed unused imports.
223         * java/util/prefs/Preferences.java
224         (systemNodeForPackage): Method takes a Class not an Object.
225         (userNodeForPackage): Likewise.
226         (nodeForPackage): Likewise.
227
228 2003-06-17  Michael Koch  <konqueror@gmx.de>
229
230         * gnu/java/security/x509/X509Certificate.java:
231         Explicitely import used classes.
232
233 2003-06-17  Michael Koch  <konqueror@gmx.de>
234
235         * java/util/zip/ZipEntry.java,
236         java/util/zip/ZipFile.java,
237         java/util/zip/ZipInputStream.java,
238         java/util/zip/ZipOutputStream.java:
239         Reworked imports, only import used classes.
240
241 2003-06-17  Michael Koch  <konqueror@gmx.de>
242
243         * gnu/java/lang/ArrayHelper.java,
244         gnu/java/lang/ClassHelper.java:
245         Reformatted to match classpath's versions.
246
247 2003-06-14  Michael Koch  <konqueror@gmx.de>
248
249         * gnu/java/nio/FileChannelImpl.java
250         (map_address): Removed incorrect comment.        
251         * gnu/java/nio/SelectorImpl.java
252         (register): Remove code duplication and code for file channel handling.        
253         * gnu/java/nio/ServerSocketChannelImpl.java
254         (serverSocket): Renamed from sock_object.
255         (ServerSocketChannel): Initialize serverSocket.
256         (socket): Return serverSocket.
257         * gnu/java/nio/SocketChannelImpl.java
258         (socket): Renamed from sock_object.
259         (isConnectionPenging): Simplified.
260         (socket): Return socket.
261 2003-06-14  Michael Koch  <konqueror@gmx.de>
262
263         * java/security/BasicPermission.java:
264         New version from classpath.
265
266 2003-06-14  Michael Koch  <konqueror@gmx.de>
267
268         * javax/naming/directory/Attribute.java:
269         New version from classpath.
270
271 2003-06-14  Michael Koch  <konqueror@gmx.de>
272
273         * java/io/BufferedReader.java,
274         java/io/FileOutputStream.java:
275         New versions from classpath.
276
277 2003-06-12  Andrew Haley  <aph@redhat.com>
278
279         * prims.cc (catch_segv): Create exception in handler.
280         (catch_fpe): Likewise.  
281         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
282         (_Jv_ThrowSignal): Remove.
283
284         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
285         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
286         to nullp and arithexception.
287         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
288         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
289         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
290         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
291         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
292
293 2003-06-11  Andrew Haley  <aph@redhat.com>
294
295         * jni.cc (_Jv_JNI_check_types): New.
296         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
297         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
298         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
299         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
300         
301         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
302         infinite loop.
303
304 2003-06-11  Tom Tromey  <tromey@redhat.com>
305
306         * java/lang/ClassLoader.java (loadClass): Not deprecated.
307         * java/io/PrintStream.java: Not deprecated.
308
309 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
310
311         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
312         (fillOval): implemented
313         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
314         (fillArc): implemented.
315         * gnu/gcj/xlib/GC.java (drawArc): added native method.
316         (fillArc): added native method.
317         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
318         (fillArc): added native method.
319
320 2003-06-11  Michael Koch  <konqueror@gmx.de>
321
322         * java/awt/im/InputSubset.java:
323         New version from classpath.
324
325 2003-06-11  Michael Koch  <konqueror@gmx.de>
326
327         * javax/swing/AbstractAction.java,
328         javax/swing/AbstractButton.java,
329         javax/swing/AbstractCellEditor.java,
330         javax/swing/AbstractListModel.java,
331         javax/swing/BorderFactory.java,
332         javax/swing/Box.java,
333         javax/swing/BoxLayout.java,
334         javax/swing/ButtonGroup.java,
335         javax/swing/DefaultButtonModel.java,
336         javax/swing/DefaultListModel.java,
337         javax/swing/DefaultListSelectionModel.java,
338         javax/swing/FocusManager.java,
339         javax/swing/ImageIcon.java,
340         javax/swing/InputMap.java,
341         javax/swing/JApplet.java,
342         javax/swing/JButton.java,
343         javax/swing/JCheckBox.java,
344         javax/swing/JCheckBoxMenuItem.java,
345         javax/swing/JColorChooser.java,
346         javax/swing/JComboBox.java,
347         javax/swing/JComponent.java,
348         javax/swing/JDesktopPane.java,
349         javax/swing/JDialog.java,
350         javax/swing/JEditorPane.java,
351         javax/swing/JFileChooser.java,
352         javax/swing/JFormattedTextField.java,
353         javax/swing/JFrame.java,
354         javax/swing/JLabel.java,
355         javax/swing/JLayeredPane.java,
356         javax/swing/JList.java,
357         javax/swing/JMenuBar.java,
358         javax/swing/JMenuItem.java,
359         javax/swing/JOptionPane.java,
360         javax/swing/JPanel.java,
361         javax/swing/JPasswordField.java,
362         javax/swing/JPopupMenu.java,
363         javax/swing/JProgressBar.java,
364         javax/swing/JRadioButton.java,
365         javax/swing/JRadioButtonMenuItem.java,
366         javax/swing/JRootPane.java,
367         javax/swing/JScrollBar.java,
368         javax/swing/JScrollPane.java,
369         javax/swing/JSeparator.java,
370         javax/swing/JSlider.java,
371         javax/swing/JTabbedPane.java,
372         javax/swing/JTable.java,
373         javax/swing/JTextField.java,
374         javax/swing/JToggleButton.java,
375         javax/swing/JToolBar.java,
376         javax/swing/JToolTip.java,
377         javax/swing/JTree.java,
378         javax/swing/JViewport.java,
379         javax/swing/JWindow.java,
380         javax/swing/KeyStroke.java,
381         javax/swing/ListSelectionModel.java,
382         javax/swing/LookAndFeel.java,
383         javax/swing/RepaintManager.java,
384         javax/swing/ScrollPaneLayout.java,
385         javax/swing/SizeRequirements.java,
386         javax/swing/SwingConstants.java,
387         javax/swing/Timer.java,
388         javax/swing/UIDefaults.java,
389         javax/swing/UIManager.java,
390         javax/swing/border/AbstractBorder.java,
391         javax/swing/border/CompoundBorder.java,
392         javax/swing/colorchooser/AbstractColorChooserPanel.java,
393         javax/swing/colorchooser/ColorChooserComponentFactory.java,
394         javax/swing/colorchooser/ColorSelectionModel.java,
395         javax/swing/colorchooser/DefaultColorSelectionModel.java,
396         javax/swing/event/AncestorEvent.java,
397         javax/swing/event/HyperlinkEvent.java,
398         javax/swing/event/InternalFrameAdapter.java,
399         javax/swing/event/InternalFrameEvent.java,
400         javax/swing/event/ListDataEvent.java,
401         javax/swing/event/MouseInputAdapter.java,
402         javax/swing/event/SwingPropertyChangeSupport.java,
403         javax/swing/event/TableModelEvent.java,
404         javax/swing/event/TreeWillExpandListener.java,
405         javax/swing/event/UndoableEditEvent.java,
406         javax/swing/filechooser/FileFilter.java,
407         javax/swing/filechooser/FileSystemView.java,
408         javax/swing/filechooser/FileView.java,
409         javax/swing/plaf/BorderUIResource.java,
410         javax/swing/plaf/basic/BasicDefaults.java,
411         javax/swing/table/AbstractTableModel.java,
412         javax/swing/table/DefaultTableCellRenderer.java,
413         javax/swing/table/DefaultTableColumnModel.java,
414         javax/swing/table/DefaultTableModel.java,
415         javax/swing/table/TableColumn.java,
416         javax/swing/text/JTextComponent.java,
417         javax/swing/tree/AbstractLayoutCache.java,
418         javax/swing/tree/DefaultMutableTreeNode.java,
419         javax/swing/tree/DefaultTreeCellEditor.java,
420         javax/swing/tree/DefaultTreeCellRenderer.java,
421         javax/swing/tree/DefaultTreeModel.java,
422         javax/swing/tree/DefaultTreeSelectionModel.java,
423         javax/swing/tree/FixedHeightLayoutCache.java,
424         javax/swing/tree/TreeCellEditor.java,
425         javax/swing/tree/TreeModel.java,
426         javax/swing/tree/TreeNode.java,
427         javax/swing/tree/TreePath.java,
428         javax/swing/tree/TreeSelectionModel.java,
429         javax/swing/tree/VariableHeightLayoutCache.java,
430         javax/swing/undo/AbstractUndoableEdit.java,
431         javax/swing/undo/CompoundEdit.java,
432         javax/swing/undo/StateEdit.java,
433         javax/swing/undo/UndoManager.java,
434         javax/swing/undo/UndoableEditSupport.java:
435         New versions from classpath.
436         * javax/swing/table/JTableHeader.java:
437         New file from classpath.
438         * Makefile.am
439         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
440         * Makefile.in: Regenerated.
441
442 2003-06-11  Michael Koch  <konqueror@gmx.de>
443
444         * java/nio/MappedByteBuffer.java,
445         java/nio/channels/Channels.java,
446         java/nio/channels/ServerSocketChannel.java,
447         java/nio/channels/spi/AbstractSelector.java:
448         Removed unneeded imports.
449
450 2003-06-11  Michael Koch  <konqueror@gmx.de>
451
452         * java/net/DatagramSocket.java:
453         Partly merged with classpath.
454
455 2003-06-11  Michael Koch  <konqueror@gmx.de>
456
457         * java/awt/Frame.java,
458         java/awt/Graphics.java,
459         java/awt/Menu.java,
460         java/awt/Robot.java,
461         java/awt/image/ColorModel.java:
462         New versions from classpath.
463
464 2003-06-10  Michael Koch  <konqueror@gmx.de>
465
466         * java/io/PrintStream.java:
467         Merged version from classpath.
468         (close): Removed sychronized keyword. This class is not garantied to
469         be thread-safe.
470         (write): Likewise.
471
472 2003-06-09  Tom Tromey  <tromey@redhat.com>
473
474         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
475         field.
476         (getDescent): Likewise, for "descent".
477
478 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
479
480         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
481         (getMaxDescent): adjusted return value.
482         (getAscent): modified to use metrics for 'O'.
483         (getDescent): modified to use metrics for 'y'.
484
485 2003-06-08  Anthony Green  <green@redhat.com>
486
487         * java/net/URLStreamHandler.java (sameFile): Fix port value
488         comparison.
489         * java/net/URL.java (handler): Make package private.
490         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
491
492 2003-06-07  Tom Tromey  <tromey@redhat.com>
493
494         For PR libgcj/11085:
495         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
496         Limit number of characters in numeric field when required.
497         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
498         Respect maximumIntegerDigits.
499
500 2003-06-08  Michael Koch  <konqueror@gmx.de>
501
502         * java/net/Socket.java
503         (Socket): Dont initialize inputShutdown and outputShutdown twice,
504         call bind() and connect() to actually do the bind and connect tasks.
505         (bind): Connect to canonical address if bindpoint is null, create
506         socket and bind it to bindpoint.
507         (connect): Check for exceptions.
508
509 2003-06-08  Michael Koch  <konqueror@gmx.de>
510
511         * java/net/DatagramSocket.java
512         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
513         into the Multicast constructors.
514         * java/net/DatagramSocketImpl.java
515         (getOption): Removed.
516         (setOption): Removed.
517         * java/net/MulticastSocket.java
518         (MulticastSocket): Call setReuseAddress (true).
519         * java/net/SocketImpl.java
520         (getOption): Removed.
521         (setOption): Removed.
522
523 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
524
525         PR libgcj/10886:
526         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
527         Test for empty vector.
528
529 2003-06-06  Mark Wielaard  <mark@klomp.org>
530
531         * java/security/Security.java (secprops): Initialize.
532         (loadProviders): Return boolean.
533         (static): Check result of loadProvider calls. If necessary
534         display WARNING and fallback to Gnu provider.
535
536 2002-06-06  James Clark  <jjc@jclark.com>
537
538         Fix for PR libgcj/8738:
539         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
540         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
541         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
542         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
543         (write): Always decrease avail when count is increased.
544         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
545         and whether output buffer is full before increasing size.
546
547 2002-06-06  Mark Wielaard  <mark@klomp dot org>
548
549         * java/io/PrintStream.java (writeChars(char[],int, int)):
550         Check converter.havePendingBytes().
551         (writeChars(String,int,int)): Likewise.
552         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
553         Check converter.havePendingBytes() and flush buffer when stalled.
554
555 2003-06-07  Michael Koch  <konqueror@gmx.de>
556
557         * include/posix.h
558         (O_DSYNC): Define O_DSYNC on platforms not
559         supporting O_FSYNC (newlib).
560
561 2003-06-06  Mark Wielaard  <mark@klomp.org>
562
563         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
564         AWTError.
565
566 2003-06-06  Michael Koch  <konqueror@gmx.de>
567
568         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
569         More compile fixes from my stupid work yesterday.
570
571 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
572
573         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
574         if _IEEE_LIBM is undefined.
575
576 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
577
578         * libjava/include/posix.h (O_SYNC): Define if not available
579         and a reasonable, perhaps more conservative, replacement exists.
580         (O_DSYNC): Likewise.
581         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
582
583 2003-06-05  Michael Koch  <konqueror@gmx.de>
584
585         * javax/swing/plaf/BorderUIResource.java,
586         javax/swing/plaf/basic/BasicDefaults.java,
587         javax/swing/plaf/basic/BasicOptionPaneUI.java:
588         More compile fixes for latest Border commit. I should not commit
589         something in this heat here ...
590
591 2003-06-05  Michael Koch  <konqueror@gmx.de>
592
593         * javax/swing/border/BevelBorder.java
594         (BevelBorder): Removed.
595         * javax/swing/border/EmptyBorder.java:
596         Reformatted.
597         (EmptyBorder): Removed.
598         (getBorderInsets): Dont use l, r, t and b.
599         * javax/swing/border/EtchedBorder.java
600         (EtchedBorder): Removed.
601         * javax/swing/border/LineBorder.java
602         (LineBorder): Removed.
603         * javax/swing/border/MatteBorder.java
604         (MatteBorder): Removed.
605         * javax/swing/border/TitledBorder.java
606         (defaultBorder): Use other default for now.
607         (defaultFont): Likewise.
608         (defaultColor): Likewise.
609
610 2003-06-05  Michael Koch  <konqueror@gmx.de>
611
612         * javax/swing/border/Border.java:
613         New version from classpath.
614
615 2003-06-05  Michael Koch  <konqueror@gmx.de>
616
617         * javax/swing/border/AbstractBorder.java,
618         javax/swing/border/BevelBorder.java,
619         javax/swing/border/CompoundBorder.java,
620         javax/swing/border/EmptyBorder.java,
621         javax/swing/border/EtchedBorder.java,
622         javax/swing/border/LineBorder.java,
623         javax/swing/border/MatteBorder.java,
624         javax/swing/border/TitledBorder.java:
625         New versions from Classpath.
626
627 2003-06-05  Michael Koch  <konqueror@gmx.de>
628
629         * java/awt/Button.java,
630         java/awt/Checkbox.java,
631         java/awt/CheckboxMenuItem.java,
632         java/awt/Choice.java,
633         java/awt/Container.java,
634         java/awt/Dialog.java,
635         java/awt/EventQueue.java,
636         java/awt/FileDialog.java,
637         java/awt/Frame.java,
638         java/awt/Label.java,
639         java/awt/List.java,
640         java/awt/Menu.java,
641         java/awt/MenuItem.java,
642         java/awt/Panel.java,
643         java/awt/PopupMenu.java,
644         java/awt/Rectangle.java,
645         java/awt/ScrollPane.java,
646         java/awt/Scrollbar.java,
647         java/awt/TextArea.java,
648         java/awt/TextField.java,
649         java/awt/Window.java,
650         java/awt/datatransfer/DataFlavor.java,
651         java/awt/dnd/DragSource.java,
652         java/awt/dnd/DragSourceContext.java,
653         java/awt/event/HierarchyEvent.java,
654         java/awt/event/MouseWheelEvent.java,
655         java/awt/im/InputContext.java,
656         java/awt/image/BufferedImage.java,
657         java/awt/image/ComponentColorModel.java,
658         java/awt/image/Raster.java,
659         java/awt/image/WritableRaster.java,
660         java/awt/peer/ComponentPeer.java,
661         java/awt/print/PageFormat.java,
662         java/awt/print/PrinterJob.java:
663         New versions from Classpath.
664
665 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
666
667         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
668         numberFormat.setParseIntegerOnly(true).
669
670 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
671
672         * include/posix-threads.h: Include <machine/pal.h> on OSF.
673
674 2003-06-03  Andrew Haley  <aph@redhat.com>
675
676         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
677         stack volatile to prevent optimization from removing it.
678
679 2003-05-27  Michael Koch  <konqueror@gmx.de>
680
681         * java/util/zip/Deflater.java
682         (FILTERED): Merged documentation from classpath.
683         * java/util/zip/DeflaterOutputStream.java
684         (DeflaterOutputStream): Merged documentation and argument validity
685         check from classpath.
686         (deflate): Merged documentation from classpath.
687         (finish): Likewise.
688         * java/util/zip/Inflater.java
689         (Inflater): Merged class documentation from classpath.
690         (zstream): Reordered.
691         (is_finished): Reordered.
692         (dict_needed): Reordered.
693         (Inflater): Reordered, merged documentation from classpath.
694         (end): Likewise.
695         (finalize): Merged documentation from classpath.
696         (finished): Likewise.
697         (getAdler): Likewise.
698         (getRemaining): Likewise.
699         (getTotalIn): Likewise.
700         (getTotalOut): Likewise.
701         (inflate): Likewise.
702         (needsDictionary): Likewise.
703         (needsInput): Likewise.
704         (reset): Likewise.
705         (setDictionary): Likewise.
706         (setInput): Likewise.
707
708 2003-05-27  Michael Koch  <konqueror@gmx.de>
709
710         * java/net/URLConnection.java
711         (getHeaderFieldInt): Merged with classpath.
712
713 2003-05-27  Michael Koch  <konqueror@gmx.de>
714
715         * java/io/PrintStream.java
716         (PrintStream): Reformatted.
717         (PrintStream): New method, merged from classpath.
718         (write): Reformatted.
719
720 2003-05-27  Michael Koch  <konqueror@gmx.de>
721
722         * java/lang/System.java:
723         Explicitely import needed classes.
724
725 2003-05-26  Michael Koch  <konqueror@gmx.de>
726
727         * java/net/NetPermission.java,
728         java/net/NetworkInterface.java,
729         java/net/PasswordAuthentication.java,
730         java/net/SocketPermission.java:
731         New versions from classpath.
732
733 2003-05-25  Michael Koch  <konqueror@gmx.de>
734
735         * java/io/PushbackInputStream.java,
736         java/net/Authenticator.java,
737         java/net/ContentHandler.java,
738         java/net/ContentHandlerFactory.java,
739         java/net/DatagramSocket.java,
740         java/net/DatagramSocketImpl.java,
741         java/net/DatagramSocketImplFactory.java,
742         java/net/FileNameMap.java,
743         java/net/SocketImplFactory.java,
744         java/net/SocketOptions.java,
745         java/net/URLStreamHandlerFactory.java:
746         Merged new versions from classpath.
747
748 2003-05-25  Michael Koch  <konqueror@gmx.de>
749
750         * java/awt/Checkbox.java,
751         java/awt/Dialog.java,
752         java/awt/Font.java,
753         java/awt/Frame.java,
754         java/awt/ScrollPaneAdjustable.java,
755         java/awt/Scrollbar.java,
756         java/awt/Window.java:
757         New versions from classpath.
758
759 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
760
761         PR libgcj/10838:
762         * java/io/ObjectInputStream (enableResolveObject):
763         Fixed spelling of permission name.
764
765 2003-05-20  Michael Koch  <konqueror@gmx.de>
766
767         * java/io/DataInputStream.java
768         (convertFromUTF): Merged comment from classpath.
769         * java/io/PrintStream.java
770         (error_occured): Renamed from error, merged comment from classpath.
771         (PrintStream): No need to initialized error.
772         (checkError): Replace error with error_occurred.
773         (setError): Likewise.
774
775 2003-05-20  Michael Koch  <konqueror@gmx.de>
776
777         * java/io/DataInputStream.java:
778         Reformatted, Replaced < and & with html entitites in documentation.
779         * java/io/File.java:
780         Reformatted.
781         * java/io/PrintWriter.java:
782         Moved class documentation.
783
784 2003-05-20  Michael Koch  <konqueror@gmx.de>
785
786         * gnu/java/nio/ByteBufferImpl.java,
787         gnu/java/nio/CharBufferImpl.java,
788         gnu/java/nio/CharViewBufferImpl.java,
789         gnu/java/nio/DirectByteBufferImpl.java,
790         gnu/java/nio/DoubleBufferImpl.java,
791         gnu/java/nio/DoubleViewBufferImpl.java,
792         gnu/java/nio/FloatBufferImpl.java,
793         gnu/java/nio/FloatViewBufferImpl.java,
794         gnu/java/nio/IntBufferImpl.java,
795         gnu/java/nio/IntViewBufferImpl.java,
796         gnu/java/nio/LongBufferImpl.java,
797         gnu/java/nio/LongViewBufferImpl.java,
798         gnu/java/nio/natDirectByteBufferImpl.cc,
799         gnu/java/nio/ShortBufferImpl.java,
800         gnu/java/nio/ShortViewBufferImpl.java:
801         Moved files to java/nio.
802         * gnu/java/nio/SocketChannelImpl.java
803         
804         * java/nio/ByteBuffer.java,
805         java/nio/CharBuffer.java,
806         java/nio/DoubleBuffer.java,
807         java/nio/FloatBuffer.java,
808         java/nio/IntBuffer.java,
809         java/nio/LongBuffer.java,
810         java/nio/ShortBuffer.java:
811         Dont import anything.
812         * java/nio/ByteBufferImpl.java,
813         java/nio/CharBufferImpl.java,
814         java/nio/CharViewBufferImpl.java,
815         java/nio/DirectByteBufferImpl.java,
816         java/nio/DoubleBufferImpl.java,
817         java/nio/DoubleViewBufferImpl.java,
818         java/nio/FloatBufferImpl.java,
819         java/nio/FloatViewBufferImpl.java,
820         java/nio/IntBufferImpl.java,
821         java/nio/IntViewBufferImpl.java,
822         java/nio/LongBufferImpl.java,
823         java/nio/LongViewBufferImpl.java,
824         java/nio/natDirectByteBufferImpl.cc,
825         java/nio/ShortBufferImpl.java,
826         java/nio/ShortViewBufferImpl.java:
827         Moved from gnu/java/nio.
828         * Makefile.am
829         (ordinary_java_source_files): Moved files from gnu/java/nio to
830         java/nio.
831         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
832         to java/nio.
833         * Makefile.in: Regenerated.
834
835 2003-05-19  Michael Koch  <konqueror@gmx.de>
836
837         * java/util/Calendar.java
838         (get): Not final anymore since JDK 1.4
839         (set): Likewise.
840
841 2003-05-19  Michael Koch  <konqueror@gmx.de>
842
843         * java/text/CollationKey.java:
844         Merged copyright and dat from classpath.
845         * java/text/RuleBasedCollator.java:
846         Merged class documentation from classpath.
847
848 2003-05-19  Michael Koch  <konqueror@gmx.de>
849
850         * java/nio/CharBuffer.java
851         (toString): Compile fix.
852
853 2003-05-19  Michael Koch  <konqueror@gmx.de>
854
855         * gnu/java/nio/ByteBufferImpl.java
856         (putLong): Fixed conversion to bytes.
857         (putDouble): Fixed conversion to bytes.
858         * gnu/java/nio/DirectByteBufferImpl.java
859         (putLong): Fixed conversion to bytes.
860         (putDouble): Fixed conversion to bytes.
861         * gnu/java/nio/FileLockImpl.java
862         (isValid): Reformatted.
863         * java/nio/Buffer.java
864         (Buffer): Fixed off-by-one bug in handling mark.
865         * java/nio/ByteBuffer.java:
866         Added newline.
867         * java/nio/CharBuffer.java
868         (toString): Don't use relative get to get string data.
869
870 2003-05-16  Michael Koch  <konqueror@gmx.de>
871
872         * java/io/natFileDescriptorPosix.cc
873         (open): Commented out the O_SYNC and O_DSYNC usage until its better
874         tested.
875
876 2003-05-14  Michael Koch  <konqueror@gmx.de>
877
878         * gnu/java/nio/FileLockImpl.java
879         (released): New member variable.
880         (FileLockImpl): Initialize released.
881         (releaseImpl): New native method.
882         (release): Implemented.
883         * gnu/java/nio/SelectorImpl.java: Reformatted.
884         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
885         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
886         (accept): Throws IOException.
887         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
888         (implConfigureBlocking): Throws IOException.
889         (connect): Likewise.
890         (read): Likewise.
891         (write): Likewise.
892         * gnu/java/nio/natFileLockImpl.cc: New file.
893         * java/nio/channels/FileLock.java: Reformatted.
894         * Makefile.am:
895         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
896         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
897         * Makefile.in: Regenerated.
898
899 2003-05-13  Michael Koch  <konqueror@gmx.de>
900
901         * gnu/java/nio/CharViewBufferImpl.java
902         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
903         (get): Shift bits to the right direction.
904         (put): Likewise.
905         * gnu/java/nio/DoubleViewBufferImpl.java
906         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
907         (get): Shift bits to the right direction.
908         (put): Likewise.
909         * gnu/java/nio/FloatViewBufferImpl.java
910         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
911         (get): Shift bits to the right direction.
912         (put): Likewise.
913         * gnu/java/nio/IntViewBufferImpl.java
914         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
915         (get): Shift bits to the right direction.
916         (put): Likewise.
917         * gnu/java/nio/LongViewBufferImpl.java
918         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
919         (get): Shift bits to the right direction.
920         (put): Likewise.
921         * gnu/java/nio/ShortViewBufferImpl.java
922         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
923         (get): Shift bits to the right direction.
924         (put): Likewise.
925
926 2003-05-13  Michael Koch  <konqueror@gmx.de>
927
928         * gnu/java/nio/natDirectByteBufferImpl.cc
929         (allocateImpl): jlong -> RawData*.
930         (freeImpl): Likewise.
931
932 2003-05-13  Michael Koch  <konqueror@gmx.de>
933
934         * java/nio/channels/FileChannel.java
935         (MapMode.m): Made it package-private to match JDK 1.4.
936         * java/nio/charset/Charset.java
937         (decode): Made it final to match JDK 1.4.
938
939 2003-05-13  Michael Koch  <konqueror@gmx.de>
940
941        * java/io/FileDescriptor.java
942        (SYNC): New constant.
943        (DSYNC): Likewise.
944        (getLength): Renamed from lenght() to match classpath's
945        FileDescriptor.java.
946        * java/io/RandomAccessFile.java
947        (RandomAccessFile): Removed unneeded mode check, implemented mode
948        "rws" and "rwd", merged documentation from classpath.
949        (setLength): Reformatted.
950        (length): Use new getLength() of FileDescriptor.
951        * java/io/natFileDescriptorEcos.cc
952        (getLength): Renamed from length().
953        * java/io/natFileDescriptorPosix.cc
954        (open): Implemented support for SYNC and DSYNC.
955        (seek): Use getLength() instead of length().
956        (getLength): Renamed from length().
957        * java/io/natFileDescriptorWin32.cc
958        (getLength): Renamed from length().
959        (seek): Use getLength() instead of length().
960        (available): Likewise.
961        * gnu/java/nio/natFileChannelImpl.cc
962        (size): Use getLength() instead of length().
963
964 2003-05-13  Michael Koch  <konqueror@gmx.de>
965
966         * gnu/java/nio/ByteBufferImpl.java
967         (ByteBufferImpl): All constructors revised.
968         (slice): Reimplemented.
969         (duplicate): Reimplemented.
970         (asReadOnlyBuffer): Reimplemented.
971         * java/nio/ByteBuffer.java:
972         Reformatted.
973         (array_offset): Renamed from "offset" to match all other buffer
974         classes.
975         (ByteBuffer): All constructors revised.
976         (allocateDirect): Implemented.
977         (allocate): New implementation, documentation reworked.
978         (wrap): Likewise.
979         (get): Documentation reworked.
980         (put): New implementation, documentation reworked.
981         (hasArray): Documentation reworked.
982         (arrayOffset): Likewise.
983         (hashCode): Likewise.
984         (equals): Likewise.
985         (compareTo): Likewise.
986         (order): Likewise.
987         (compact): Likewise.
988         (isDirect): Likewise.
989         (slice): Likewise.
990         (duplicate): Likewise.
991         (asReadOnlyBuffer): Likewise.
992         * Makefile.am
993         (ordinary_java_source_files):
994         Added gnu/java/nio/DirectByteBufferImpl.java.
995         (nat_source_files):
996         Added gnu/java/nio/natDirectByteBufferImpl.cc.
997         * Makefile.in: Regenerated.
998
999 2003-05-12  Michael Koch  <konqueror@gmx.de>
1000
1001         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1002         (nio_get_*): Removed.
1003         (nio_put_*): Removed.
1004         (as*Buffer): Implemented.
1005         (compact): Implemented.
1006         (get): Documentation added.
1007         (put): Documentation added.
1008         (get*): Newly implemented.
1009         (put*): Newly implemented.
1010         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1011         (CharBufferImpl): Revised.
1012         (slice): New implementation.
1013         (duplicate): New implementation.
1014         (compact): New implementation.
1015         (asReadOnlyBuffer): New implementation.
1016         (get): Documentation revised.
1017         (order): Return native byte order.
1018         * gnu/java/nio/DirectByteBufferImpl.java
1019         (allocateDirect): objects can be null not 0.
1020         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1021         (DoubleBufferImpl): Revised.
1022         (slice): New implementation.
1023         (duplicate): New implementation.
1024         (compact): New implementation.
1025         (asReadOnlyBuffer): New implementation.
1026         (get): Documentation revised.
1027         (order): Return native byte order.
1028         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1029         (FloatBufferImpl): Revised.
1030         (slice): New implementation.
1031         (duplicate): New implementation.
1032         (compact): New implementation.
1033         (asReadOnlyBuffer): New implementation.
1034         (get): Documentation revised.
1035         (order): Return native byte order.
1036         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1037         (IntBufferImpl): Revised.
1038         (slice): New implementation.
1039         (duplicate): New implementation.
1040         (compact): New implementation.
1041         (asReadOnlyBuffer): New implementation.
1042         (get): Documentation revised.
1043         (order): Return native byte order.
1044         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1045         (LongBufferImpl): Revised.
1046         (slice): New implementation.
1047         (duplicate): New implementation.
1048         (compact): New implementation.
1049         (asReadOnlyBuffer): New implementation.
1050         (get): Documentation revised.
1051         (order): Return native byte order.
1052         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1053         (ShortBufferImpl): Revised.
1054         (slice): New implementation.
1055         (duplicate): New implementation.
1056         (compact): New implementation.
1057         (asReadOnlyBuffer): New implementation.
1058         (get): Documentation revised.
1059         (order): Return native byte order.
1060         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1061         (CharBuffer): Revised.
1062         (order): Removed.
1063         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1064         (DoubleBuffer): Revised.
1065         (allocateDirect): Removed.
1066         (order): Removed.
1067         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1068         (FloatBuffer): Revised.
1069         (allocateDirect): Removed.
1070         (order): Removed.
1071         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1072         (IntBuffer): Revised.
1073         (allocateDirect): Removed.
1074         (order): Removed.
1075         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1076         (LongBuffer): Revised.
1077         (allocateDirect): Removed.
1078         (order): Removed.
1079         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1080         (ShortBuffer): Revised.
1081         (allocateDirect): Removed.
1082         (order): Removed.
1083         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1084         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1085         * Makefile.am
1086         (ordinary_java_source_files): Added the following files:
1087         gnu/java/nio/CharViewBufferImpl.java,
1088         gnu/java/nio/DoubleViewBufferImpl.java,
1089         gnu/java/nio/FloatViewBufferImpl.java,
1090         gnu/java/nio/IntViewBufferImpl.java,
1091         gnu/java/nio/LongViewBufferImpl.java,
1092         gnu/java/nio/ShortViewBufferImpl.java
1093         (nat_source_files): Removed the following files:
1094         gnu/java/nio/natByteBufferImpl.cc,
1095         gnu/java/nio/natCharBufferImpl.cc
1096         * Makefile.in: Regenerated.
1097
1098 2003-05-12  Michael Koch  <konqueror@gmx.de>
1099
1100         * gnu/java/nio/CharViewBufferImpl.java,
1101         gnu/java/nio/DirectByteBufferImpl.java,
1102         gnu/java/nio/DoubleViewBufferImpl.java,
1103         gnu/java/nio/FloatViewBufferImpl.java,
1104         gnu/java/nio/IntViewBufferImpl.java,
1105         gnu/java/nio/LongViewBufferImpl.java,
1106         gnu/java/nio/ShortViewBufferImpl.java,
1107         gnu/java/nio/natDirectByteBufferImpl.cc:
1108         New files, not yet to be compiled.
1109
1110 2003-05-10  Michael Koch  <konqueror@gmx.de>
1111
1112         * javax/swing/plaf/ButtonUI.java,
1113         javax/swing/plaf/ColorUIResource.java,
1114         javax/swing/plaf/ComponentUI.java,
1115         javax/swing/plaf/DimensionUIResource.java,
1116         javax/swing/plaf/FontUIResource.java,
1117         javax/swing/plaf/IconUIResource.java,
1118         javax/swing/plaf/InsetsUIResource.java,
1119         javax/swing/plaf/LabelUI.java,
1120         javax/swing/plaf/ListUI.java,
1121         javax/swing/plaf/OptionPaneUI.java,
1122         javax/swing/plaf/PanelUI.java,
1123         javax/swing/plaf/TabbedPaneUI.java,
1124         javax/swing/plaf/TextUI.java,
1125         javax/swing/plaf/TreeUI.java,
1126         javax/swing/plaf/ViewportUI.java,
1127         javax/swing/plaf/basic/BasicBorders.java,
1128         javax/swing/plaf/basic/BasicButtonUI.java,
1129         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1130         javax/swing/plaf/basic/BasicDefaults.java,
1131         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1132         javax/swing/plaf/basic/BasicIconFactory.java,
1133         javax/swing/plaf/basic/BasicLabelUI.java,
1134         javax/swing/plaf/basic/BasicListUI.java,
1135         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1136         javax/swing/plaf/basic/BasicPanelUI.java,
1137         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1138         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1139         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1140         javax/swing/plaf/basic/BasicTextUI.java,
1141         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1142         javax/swing/plaf/basic/BasicTreeUI.java,
1143         javax/swing/plaf/basic/BasicViewportUI.java,
1144         javax/swing/plaf/metal/MetalLookAndFeel.java:
1145         New versions from classpath. This adds copyrights to all files and
1146         some serialVersionUIDs.
1147
1148 2003-05-10  Michael Koch  <konqueror@gmx.de>
1149
1150         * java/nio/CharBuffer.java
1151         (offset): Make it package-private.
1152         (backing_buffer): Likewise.
1153         * java/nio/DoubleBuffer.java
1154         (offset): Make it package-private.
1155         (backing_buffer): Likewise.
1156         (put): Reformatted.
1157         * java/nio/FloatBuffer.java
1158         (offset): Make it package-private.
1159         (backing_buffer): Likewise.
1160         * java/nio/IntBuffer.java
1161         (offset): Make it package-private.
1162         (backing_buffer): Likewise.
1163         * java/nio/LongBuffer.java
1164         (offset): Make it package-private.
1165         (backing_buffer): Likewise.
1166         * java/nio/ShortBuffer.java
1167         (offset): Make it package-private.
1168         (backing_buffer): Likewise.
1169
1170 2003-05-10  Michael Koch  <konqueror@gmx.de>
1171
1172         * java/nio/CharBuffer.java
1173         (put): Fixed precondtion check.
1174         (toString): Make it work without backing array.
1175         (put): Skip one level of method calling.
1176
1177 2003-05-10  Michael Koch  <konqueror@gmx.de>
1178
1179         * java/security/Identity.java,
1180         java/security/IdentityScope.java,
1181         java/security/Key.java,
1182         java/security/KeyPair.java,
1183         java/security/PrivateKey.java,
1184         java/security/Provider.java,
1185         java/security/PublicKey.java,
1186         java/security/SecureRandom.java,
1187         java/security/SecureRandomSpi.java,
1188         java/security/SignedObject.java,
1189         java/security/Signer.java,
1190         java/security/cert/Certificate.java,
1191         java/security/cert/PKIXCertPathBuilderResult.java,
1192         java/security/cert/X509Certificate.java:
1193         New versions from classpath.
1194
1195 2003-05-09  Tom Tromey  <tromey@redhat.com>
1196
1197         * Makefile.in: Rebuilt.
1198         * Makefile.am (nat_source_files): Removed old files.
1199         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1200         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1201         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1202         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1203         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1204
1205 2003-05-09  Michael Koch  <konqueror@gmx.de>
1206
1207         * gnu/java/nio/ByteBufferImpl.java
1208         (nio_cast): Removed.
1209         (ByteBufferImpl): Removed.
1210         (nio_get_Byte): Removed.
1211         (nio_put_Byte): Removed.
1212         (asByteBuffer): Removed.
1213         (asCharBuffer): Removed implementation and throw exception.
1214         (asShortBuffer): Likewise.
1215         (asIntBuffer): Likewise.
1216         (asLongBuffer): Likewise.
1217         (asFloatBuffer): Likewise.
1218         (asDoubleBuffer): Likewise.
1219         * gnu/java/nio/CharBufferImpl.java
1220         (CharBufferImpl): Removed.
1221         (nio_get_Byte): Removed.
1222         (nio_put_Byte): Removed.
1223         (asByteBuffer): Removed.
1224         * gnu/java/nio/DoubleBufferImpl.java
1225         (DoubleBufferImpl): Removed.
1226         (nio_get_Byte): Removed.
1227         (nio_put_Byte): Removed.
1228         (asByteBuffer): Removed.
1229         * gnu/java/nio/FloatBufferImpl.java
1230         (FloatBufferImpl): Removed.
1231         (nio_get_Byte): Removed.
1232         (nio_put_Byte): Removed.
1233         (asByteBuffer): Removed.
1234         * gnu/java/nio/IntBufferImpl.java
1235         (IntBufferImpl): Removed.
1236         (nio_get_Byte): Removed.
1237         (nio_put_Byte): Removed.
1238         (asByteBuffer): Removed.
1239         * gnu/java/nio/LongBufferImpl.java
1240         (LongBufferImpl): Removed.
1241         (nio_get_Byte): Removed.
1242         (nio_put_Byte): Removed.
1243         (asByteBuffer): Removed.
1244         * gnu/java/nio/ShortBufferImpl.java
1245         (ShortBufferImpl): Removed.
1246         (nio_get_Byte): Removed.
1247         (nio_put_Byte): Removed.
1248         (asByteBuffer): Removed.
1249         * gnu/java/nio/natByteBufferImpl.cc
1250         (nio_cast): Removed.
1251         (nio_get_Byte): Removed.
1252         (nio_put_Byte): Removed.
1253         * gnu/java/nio/natCharBufferImpl.cc
1254         (nio_get_Byte): Removed.
1255         (nio_put_Byte): Removed.
1256
1257 2003-05-09  Michael Koch  <konqueror@gmx.de>
1258
1259         * java/net/JarURLConnection.java
1260         (getJarEntry): Merged documentation from classpath.
1261         (getJarFile): Likewise.
1262         (getMainAttributes): Likewise.
1263         (getAttributes): Likewise.
1264         (getManifest): Likewise.
1265         (getCertificates): Reformatted.
1266         * java/net/URLConnection.java:
1267         Little classpath merge.
1268
1269 2003-05-09  Michael Koch  <konqueror@gmx.de>
1270
1271         * java/io/DataOutputStream.java
1272         (writeShort): Made it synchronized.
1273         (writeChar): Likewise.
1274         (writeInt): Likewise.
1275         (writeLong): Liekwise.
1276         (writeUTF): Made it synchronized, renamed argument to match classpath.
1277         * java/io/InputStreamReader.java
1278         (converter): Added documentation.
1279         (read): Merged documentation from classpath.
1280         * java/io/OutputStreamWriter.java
1281         (OutputStreamWriter): Merged documentation from classpath.
1282         (close): Reformatted.
1283         (getEncoding): Likewise.
1284         (flush): Likewise.
1285         (write): Merged documentation from classpath, reformatted.
1286
1287 2003-05-08  Tom Tromey  <tromey@redhat.com>
1288
1289         * configure.host <powerpc64*-*>: Set with_libffi_default and
1290         libgcj_interpreter to "yes".
1291
1292 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1293
1294         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1295         
1296 2003-05-06  Tom Tromey  <tromey@redhat.com>
1297
1298         * verify.cc: Reverted previous patch.
1299
1300 2003-05-06  Michael Koch  <konqueror@gmx.de>
1301
1302         * java/io/DataOutputStream.java
1303         (write): Renamed argument to "value", merged documentation from
1304         classpath.
1305         (writeBoolean): Likewise.
1306         (writeByte): Likewise.
1307         (writeShort): Likewise.
1308         (writeChar): Likewise.
1309         (writeInt): Likewise.
1310         (writeLong): Likewise.
1311         (writeFloat): Likewise.
1312         (writeDouble): Likewise.
1313         (writeBytes): Likewise.
1314         (writeChars): Likewise.
1315         (writeUTF): Likewise.
1316         * java/io/File.java
1317         (performDelete): Added documentation.
1318         (performList): Likewise.
1319         (performMkdir): Likewise.
1320         (performSetReadOnly): Likewise.
1321         (performRenameTo): Likewise.
1322         (performSetLastModified): Likewise.
1323         (delete): Made it sychronized.
1324         (renameTo): Made it sychronized.
1325         (equals): Reformatted.
1326         (isHidden): Likewise.
1327         (listFiles): Likewise.
1328         (setReadOnly): Likewise.
1329         (listRoots): Likewise.
1330         (setLastModified): Likewise.
1331         (checkRead): Likewise.
1332         (checkWrite): Likewise.
1333         * java/io/FileInputStream.java
1334         (skip): Made it sychronized, merged from classpath.
1335         * java/io/FileOutputStream.java
1336         (write): Merged from classpath.
1337         * java/io/InputStreamReader.java:
1338         (InputStreamReader): Merged documentation from classpath.
1339
1340 2003-05-05  Michael Koch  <konqueror@gmx.de>
1341
1342         * java/net/NetworkInterface.java
1343         (networkInterfaces): Removed.
1344         (getByName): Use getRealNetworkInterfaces() instead of
1345         networkInterfaces.
1346         (getByInetAddress): Likewise.
1347         (getNetworkInterfaces): Likewise.
1348         (toString): Fix output of addresses of an interface.
1349
1350 2003-05-05  Michael Koch  <konqueror@gmx.de>
1351
1352         * java/io/DataInputStream.java:
1353         Merged new documentation from classpath.
1354
1355 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1356
1357         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1358         "version".
1359         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1360         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1361         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1362         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1363         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1364         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1365         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1366         * java/security/Key.java: Likewise.
1367         * java/security/PrivateKey.java: Likewise.
1368         * java/security/Provider.java: Likewise.
1369         * java/security/PublicKey.java: Likewise.
1370
1371 2003-05-02  Michael Koch  <konqueror@gmx.de>
1372
1373         * java/net/URI.java
1374         (create): Doesnt throws any exceptions.
1375         * java/net/URLConnection.java
1376         (URLConnection): Commend added.
1377         (getExpiration): The header field is called "expires" not
1378         "expiration".
1379         (getHeaderField): Merged documentation with classpath.
1380         (getHeaderFieldInt): Likewise.
1381         (getHeaderFieldDate): Likewise.
1382         (getHeaderFieldKey): Likewise.
1383         (getPermission): Likewise.
1384         (setDefaultUseCaches): Likewise.
1385         (setRequestProperty): Likewise.
1386         (addRequestProperty): Likewise.
1387         (getRequestProperty): Likewise.
1388         (getRequestProperties): Likewise.
1389         (setDefaultRequestProperty): Likewise.
1390         (getDefaultRequestProperty): Likewise.
1391         (guessContentTypeFromStream): Likewise.
1392         (getFileNameMap): Likewise.
1393         (setFileNameMap): Likewise.
1394         (setDoInput): Merged implementation and documentation with classpath.
1395         (setDoOutput): Likewise.
1396         (setAllowUserInteraction): Likewise.
1397         (setDefaultAllowUserInteraction): Likewise.
1398         (setContentHandlerFactory): Made it synchronized, merged documentation
1399         with classpath.
1400         (guessContentTypeFromName): Renamed argument fname to filename to
1401         match classpath, merged documentation with classpath.
1402
1403 2003-05-02  Michael Koch  <konqueror@gmx.de>
1404
1405         * java/net/JarURLConnection.java
1406         (JarURLConnection): Class documentation merged with classpath.
1407         (getJarFileURL): Moved and documentation merged with classpath.
1408         (getEntryName): Likewise.
1409         (JarURLConnection): Documentation merged with classpath.
1410         (getJarEntry): Likewise.
1411         (getJarFile): Likewise.
1412         * java/net/PlainDatagramSocketImpl.java:
1413         Class documentation moved.
1414         * java/net/URLConnection.java
1415         (fileNameMap): Moved and documentation merged with classpath.
1416         (factory): Likewise.
1417         (defaultAllowUserInteraction): Likewis.
1418         (defaultUseCaches): Likewise.
1419         (allowUserInteraction): Likewise.
1420         (connected): Likewise.
1421         (url): Likewise.
1422         (connect): Documentation merged with classpath.
1423         (getURL): Likewise.
1424         (getContentLength): Likewise.
1425         (getContentType): Likewise.
1426         (getContentEncoding): Likewise.
1427         (getExpiration): Likewise.
1428         (getDate): Likewise.
1429         (getLastModified): Likewise.
1430         (getHeaderField): Likewise.
1431         (getContent): Likewise.
1432         (getPermission): Likewise.
1433         (getInputStream): Likewise.
1434         (getOutputStream): Likewise.
1435         (toString): Likewise.
1436         (getDoInput): Likewise.
1437         (getDoOutput): Likewise.
1438         (setAllowUserInteraction): Likewise.
1439         (getAllowUserInteraction): Likewise.
1440         (setDefaultAllowUserInteraction): Likewise.
1441         (getDefaultAllowUserInteraction): Likewise.
1442         (setUseCaches): Likewise.
1443         (getUseCaches): Likewise.
1444         (setIfModifiedSince): Likewise.
1445         (getIfModifiedSince): Likewise.
1446         (setDefaultRequestProperty): Likewise.
1447         (getDefaultRequestProperty): Likewise.
1448         (setContentHandlerFactory): Likewise.
1449         (setFileNameMap): Likewise.
1450
1451 2003-05-02  Michael Koch  <konqueror@gmx.de>
1452
1453         * java/net/InetAddress.java:
1454         Merged class documentation with classpath.
1455         * java/net/JarURLConnection.java:
1456         Explicitely import all used classes.
1457         * java/net/URL.java:
1458         Reformatting.
1459         * java/net/ServerSocket.java,
1460         java/net/Socket.java:
1461         New versions from classpath.
1462
1463 2003-05-02  Michael Koch  <konqueror@gmx.de>
1464
1465         * gnu/java/nio/FileChannelImpl.java
1466         (read): New implementation.
1467         (implRead): New methods.
1468         (write): New implementation, call other write insteal of read method.
1469         (implWrite): New methods.
1470         (map): Added comment.
1471         (transferFrom): Implemented.
1472         (transferTo): Implemented.
1473         (lock): Added checks to throw exceptions.
1474         (truncate): Added check to throw exception.
1475         * gnu/java/nio/natFileChannelImpl.cc
1476         (implRead): New method.
1477         (implWrite): New method.
1478         * java/nio/ByteBuffer.java
1479         (hashCode): Fixed comment.
1480         (get): Fixed exception documentation.
1481         (put): Fixed exception documentation.
1482         * java/nio/CharBuffer.java:
1483         Added comment for later optimizations.
1484
1485 2003-04-30  Tom Tromey  <tromey@redhat.com>
1486
1487         PR libgcj/10582:
1488         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1489         Removed.
1490         (type::compatible): Use _Jv_IsAssignableFrom.
1491         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1492         (_Jv_IsAssignableFrom): Work even when source or target class is
1493         not prepared.
1494
1495 2003-04-30  Michael Koch  <konqueror@gmx.de>
1496
1497         * java/text/BreakIterator.java
1498         (clone): New method.
1499
1500 2003-04-30  Michael Koch  <konqueror@gmx.de>
1501
1502         * java/text/CollationElementIterator.java,
1503         java/text/CollationKey.java,
1504         java/text/RuleBasedCollator.java:
1505         Merged copyright and documentation from classpath and
1506         rearranged some code. No code changes done.
1507
1508 2003-04-30  Michael Koch  <konqueror@gmx.de>
1509
1510         * java/util/regex/Matcher.java
1511         (pattern): New member variable.
1512         (appendReplacement): New method.
1513         (appendTail): New method.
1514         (end): New method.
1515         (find): New method.
1516         (group): New method.
1517         (replaceFirst): Added documentation.
1518         (replaceAll): Added documentation.
1519         (groupCount): New method.
1520         (lookingAt): New method.
1521         (matches): New method.
1522         (reset): New method.
1523         (start): New method.
1524         * java/util/regex/Pattern.java
1525         (serialVersionUID): New constant.
1526         (CANON_EQ): New constant.
1527         (CASE_INSENSITIVE): New constant.
1528         (COMMENTS): New constant.
1529         (DOTALL): New constant.
1530         (MULTILINE): New constant.
1531         (UNICODE_CASE): New constant.
1532         (UNIX_LINES): New constant.
1533         (regex): New member variable.
1534         (flags): New member variable.
1535         (Pattern): New method.
1536         (compile): Documentation added.
1537         (flags): New method.
1538         (matches): Documentation added.
1539         (matcher): Documentation added.
1540         (split): Documentation added.
1541         (pattern): New method.
1542
1543 2003-04-30  Michael Koch  <konqueror@gmx.de>
1544
1545         * gnu/java/security/Engine.java,
1546         gnu/java/security/OID.java,
1547         gnu/java/security/der/BitString.java,
1548         gnu/java/security/der/DER.java,
1549         gnu/java/security/der/DERReader.java,
1550         gnu/java/security/der/DERValue.java,
1551         gnu/java/security/der/DERWriter.java,
1552         gnu/java/security/provider/DSAKeyFactory.java,
1553         gnu/java/security/provider/X509CertificateFactory.java,
1554         gnu/java/security/x509/X500DistinguishedName.java,
1555         gnu/java/security/x509/X509CRL.java,
1556         gnu/java/security/x509/X509CRLEntry.java,
1557         gnu/java/security/x509/X509Certificate.java,
1558         java/security/cert/CRLSelector.java,
1559         java/security/cert/CertPathBuilder.java,
1560         java/security/cert/CertPathBuilderResult.java,
1561         java/security/cert/CertPathBuilderSpi.java,
1562         java/security/cert/CertPathParameters.java,
1563         java/security/cert/CertPathValidator.java,
1564         java/security/cert/CertPathValidatorResult.java,
1565         java/security/cert/CertPathValidatorSpi.java,
1566         java/security/cert/CertSelector.java,
1567         java/security/cert/CertStore.java,
1568         java/security/cert/CertStoreParameters.java,
1569         java/security/cert/CertStoreSpi.java,
1570         java/security/cert/CollectionCertStoreParameters.java,
1571         java/security/cert/LDAPCertStoreParameters.java,
1572         java/security/cert/PKIXBuilderParameters.java,
1573         java/security/cert/PKIXCertPathBuilderResult.java,
1574         java/security/cert/PKIXCertPathChecker.java,
1575         java/security/cert/PKIXCertPathValidatorResult.java,
1576         java/security/cert/PKIXParameters.java,
1577         java/security/cert/PolicyNode.java,
1578         java/security/cert/PolicyQualifierInfo.java,
1579         java/security/cert/TrustAnchor.java,
1580         javax/security/auth/x500/X500Principal.java:
1581         New files from classpath.
1582         * gnu/java/io/ASN1ParsingException.java,
1583         gnu/java/io/Base64InputStream.java,
1584         gnu/java/security/der/DEREncodingException.java,
1585         gnu/java/security/provider/DSAParameters.java,
1586         gnu/java/security/provider/DSASignature.java,
1587         gnu/java/security/provider/Gnu.java,
1588         gnu/java/security/provider/GnuDSAPrivateKey.java,
1589         gnu/java/security/provider/GnuDSAPublicKey.java,
1590         java/security/AlgorithmParameterGenerator.java,
1591         java/security/AlgorithmParameters.java,
1592         java/security/KeyFactory.java,
1593         java/security/KeyPairGenerator.java,
1594         java/security/KeyStore.java,
1595         java/security/MessageDigest.java,
1596         java/security/SecureClassLoader.java,
1597         java/security/SecureRandom.java,
1598         java/security/Security.java,
1599         java/security/Signature.java,
1600         java/security/cert/Certificate.java,
1601         java/security/cert/CertificateFactory.java,
1602         java/security/cert/CertificateFactorySpi.java,
1603         java/security/cert/X509CRL.java,
1604         java/security/cert/X509Certificate.java,
1605         java/security/spec/DSAPublicKeySpec.java:
1606         New versions from classpath.
1607         * gnu/java/security/provider/DERReader.java,
1608         gnu/java/security/provider/DERWriter.java,
1609         java/security/Engine.java: Removed.
1610         * Makefile.am
1611         (java_source_files, javax_source_files): Added new files.
1612         * Makefile.in: Regenerated.
1613
1614 2003-04-29  Michael Koch  <konqueror@gmx.de>
1615
1616         * javax/swing/JTable.java
1617         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1618         (AUTO_RESIZE_LAST_COLUMN): New constant.
1619         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1620         (AUTO_RESIZE_OFF): New constant.
1621         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1622         (JTable): New method.
1623         (columnAdded): New method.
1624         (columnMarginChanged): New method.
1625         (columnMoved): New method.
1626         (columnRemoved): New method.
1627         (columnSelectionChanged): New method.
1628         (editingCanceled): New method.
1629         (editingStopped): New method.
1630         (getColumnModel): New method.
1631         (getPreferredScrollableViewportSize): New method.
1632         (getScrollableBlockIncrement): New method.
1633         (getScrollableTracksViewportHeight): New method.
1634         (getScrollableTracksViewportWidth): New method.
1635         (getScrollableUnitIncrement): New method.
1636         (getSelectedRow): New method.
1637         (getSelectionModel): New method.
1638         (tableChanged): New method.
1639         (setModel): New method.
1640         (setSelectionMode): New method.
1641         (setSelectionModel): New method.
1642         (setShowGrid): New method.
1643         (valueChanged): New method.
1644         * javax/swing/text/DefaultEditorKit.java
1645         (backwardAction): New constant.
1646         (beepAction): New constant.
1647         (beginAction): New constant.
1648         (beginLineAction): New constant.
1649         (beginParagraphAction): New constant.
1650         (beginWordAction): New constant.
1651         (copyAction): New constant.
1652         (cutAction): New constant.
1653         (defaultKeyTypedAction): New constant.
1654         (deleteNextCharAction): New constant.
1655         (deletePrevCharAction): New constant.
1656         (downAction): New constant.
1657         (endAction): New constant.
1658         (endLineAction): New constant.
1659         (endOfLineStringProperty): New constant.
1660         (endParagraphAction): New constant.
1661         (endWordAction): New constant.
1662         (forwardAction): New constant.
1663         (insertBreakAction): New constant.
1664         (insertContentAction): New constant.
1665         (insertTabAction): New constant.
1666         (nextWordAction): New constant.
1667         (pageDownAction): New constant.
1668         (pageUpAction): New constant.
1669         (pasteAction): New constant.
1670         (previousWordAction): New constant.
1671         (readOnlyAction): New constant.
1672         (selectAllAction): New constant.
1673         (selectionBackwardAction): New constant.
1674         (selectionBeginAction): New constant.
1675         (selectionBeginLineAction): New constant.
1676         (selectionBeginParagraphAction): New constant.
1677         (selectionBeginWordAction): New constant.
1678         (selectionDownAction): New constant.
1679         (selectionEndAction): New constant.
1680         (selectionEndLineAction): New constant.
1681         (selectionEndParagraphAction): New constant.
1682         (selectionEndWordAction): New constant.
1683         (selectionForwardAction): New constant.
1684         (selectionNextWordAction): New constant.
1685         (selectionPreviousWordAction): New constant.
1686         (selectionUpAction): New constant.
1687         (selectLineAction): New constant.
1688         (selectParagraphAction): New constant.
1689         (selectWordAction): New constant.
1690         (upAction): New constant.
1691         (writableAction): New constant.
1692
1693 2003-04-29  Michael Koch  <konqueror@gmx.de>
1694
1695         * java/util/PropertyPermission.java:
1696         New version from classpath
1697         * java/util/ResourceBundle.java:
1698         Partly merged from classpath
1699         (getObject): Reformated.
1700         (tryBundle): Set foundBundle = null if no bundle found.
1701
1702 2003-04-29  Michael Koch  <konqueror@gmx.de>
1703
1704         * javax/swing/AbstractListModel.java,
1705         javax/swing/DefaultBoundedRangeModel.java,
1706         javax/swing/DefaultSingleSelectionModel.java:
1707         New Versions from classpath.
1708
1709 2003-04-29  Michael Koch  <konqueror@gmx.de>
1710
1711         * java/awt/Window.java
1712         (show): Call super.show() instead of setVisible() to avoid endless
1713         loop.
1714         (hide): Call super.hide() instead of setVisible() to avoid endless
1715         loop.
1716
1717 2003-04-29  Michael Koch  <konqueror@gmx.de>
1718
1719         * java/util/zip/Deflater.java,
1720         java/util/zip/DeflaterOutputStream.java:
1721         Partly merged with classpath.
1722
1723 2003-04-27  Tom Tromey  <tromey@redhat.com>
1724
1725         * java/lang/natString.cc (_Jv_AllocString): Initialize
1726         cachedHashCode.
1727         (init): Likewise.
1728         (_Jv_NewStringUtf8Const): Likewise.
1729
1730 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
1731
1732         * include/jvm.h: (_Jv_GetNbArgs) added
1733         (_Jv_GetSafeArg) added
1734         (_Jv_SetArgs) added
1735         * prims.cc: (_Jv_GetNbArgs) implemented
1736         (_Jv_GetSafeArg) implemented
1737         (_Jv_SetArgs) implemented
1738         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1739         setting _Jv_argc and _Jv_argv
1740         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1741         instead of _Jv_argv
1742         * java/lang/natRuntime.cc: (insertSystemProperties) use
1743         _Jv_GetSafeArg() instead of _Jv_argv
1744
1745 2003-04-23  Tom Tromey  <tromey@redhat.com>
1746
1747         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1748         required by this object.  Search superclasses to find required
1749         alignment.
1750         (get_alignment_from_class): Use alignment of type as it appears
1751         in a struct.
1752         (ALIGNOF): New macro.
1753         (struct aligner): New helper structure.
1754
1755 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
1756
1757         * java/awt/Container.java (addImpl): Enable paint events if adding
1758         a lightweight to a heavyweight.
1759         (addNotify): Ensure that peer is created before
1760         addNotifyContainerChildren.
1761         (addNotifyContainerChildren): Enable paint events if a heavyweight
1762         container contains a lightweight.
1763
1764 2003-04-20  Tom Tromey  <tromey@redhat.com>
1765
1766         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1767         java/io/DataInput.java, java/io/DataOutput.java: Imports from
1768         Classpath.
1769
1770 2003-04-19  Tom Tromey  <tromey@redhat.com>
1771
1772         * java/sql/Date.java, java/sql/DriverManager.java,
1773         java/sql/Time.java, java/sql/Timestamp.java: New versions from
1774         Classpath.
1775
1776         * Makefile.in: Rebuilt.
1777         * Makefile.am (ordinary_java_source_files): Added new files.
1778         * java/security/AlgorithmParameterGenerator.java,
1779         java/security/AlgorithmParameters.java, java/security/Engine.java,
1780         java/security/Identity.java, java/security/IdentityScope.java,
1781         java/security/KeyFactory.java,
1782         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1783         java/security/MessageDigest.java, java/security/Policy.java,
1784         java/security/ProtectionDomain.java,
1785         java/security/SecureRandom.java, java/security/Security.java,
1786         java/security/Signature.java, java/security/SignatureSpi.java,
1787         java/security/SignedObject.java, java/security/Signer.java,
1788         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1789         java/security/spec/PSSParameterSpec.java,
1790         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1791         java/security/spec/RSAOtherPrimeInfo.java: New versions from
1792         Classpath.
1793
1794 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1795
1796         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1797         (dispose): Null metrics.
1798         * gnu/awt/xlib/XToolkit.java (sync): Implement.
1799         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
1800         finalize.
1801         (finalize): Call dispose.
1802         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
1803         (gcCachedCount): New field.
1804         (finalize): New method.
1805         (putGCInCache): New method.
1806         (getGCFromCache): New method.
1807         * gnu/gcj/xlib/GC.java (GC): Make protected.
1808         (clone): Get new GC from cache if possible.
1809         (create): New static method.
1810         (dispose): Save old GC in cache.
1811         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
1812         deleting.
1813         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
1814         is null.
1815         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
1816         * java/awt/Container.java (visitChild): Dispose gfx2 when
1817         finished.
1818
1819 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
1820
1821         * java/math/BigInteger.java (probablePrime): New.
1822         * java/math/BigDecimal.java (unscaledValue): New.
1823
1824 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
1825
1826         * java/io/File.java (getAbsolutePath): On Windows, take care
1827         of paths like "C:", "G:foo\bar", etc.
1828         (getName): Make it work correctly on Windows.
1829         (getParent): Make it work correctly on Windows. For UNIX,
1830         fix bug that causes "/" to be returned as the parent of "/",
1831         instead of null as returned by Sun's JRE.
1832
1833         * java/io/natFileWin32.cc: Change copyright owner to FSF.
1834
1835 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1836
1837         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
1838         inner class.
1839         (CACHE_SIZE_PER_DISPLAY): New field
1840         (fontMetricsCache): New field
1841         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
1842         loading ISO10646-1 fonts.
1843
1844 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
1845
1846         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
1847         characters.
1848         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
1849         characters.
1850
1851 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
1852
1853         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
1854         floating point.
1855
1856 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
1857
1858         * configure.host (*-linux*): Don't set slow_pthread_self if primary
1859         installed libpthread is either linuxthreads with floating stacks or
1860         NPTL.
1861
1862 2003-04-14  Tom Tromey  <tromey@redhat.com>
1863
1864         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
1865         of alignment.
1866
1867 2003-04-10  Tom Tromey  <tromey@redhat.com>
1868
1869         * verify.cc (pop64): Removed.
1870         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
1871         exception if top-of-stack is narrow.
1872         (initialize_stack): Check to ensure that <init> is not static and
1873         <clinit> is.
1874
1875 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
1876
1877         * java/io/ObjectStreamException
1878         * java/io/FileFilter
1879         * java/io/FilenameFilter
1880         * java/io/ObjectInput
1881         * java/io/ObjectOutput
1882         * java/io/ObjectStreamConstants
1883         Minor doc fixes, format fixes, spelling corrections, etc.
1884         * java/io/DataInput
1885         Corrected code samples in Javadocs to match reality
1886         * java/io/DataOutput
1887         * java/io/ObjectInputValidation
1888         Major documentation fixes - all Javadocs re-written or updated
1889
1890 2003-04-06  Michael Koch  <konqueror@gmx.de>
1891
1892         * java/net/URLConnection.java:
1893         Import classes directly.
1894         (URLConnection): Merged class documentation with classpath.
1895         (url): Moved, documentation from classpath added.
1896         (doInput): Moved, documentation from classpath added.
1897         (doOutput): Moved, documentation from classpath added.
1898         (allowUserInteraction): Moved.
1899         (useCaches): Moved, documentation from classpath added.
1900         (ifModifiedSince): Moved, documentation from classpath added.
1901         (connected): Moved, documentation from classpath added.
1902
1903 2003-04-06  Michael Koch  <konqueror@gmx.de>
1904
1905         * java/io/FileInputStream.java
1906         (skip): Renamed some variables to match classpath, added
1907         checks from classpath.
1908
1909 2003-03-31  Michael Koch  <konqueror@gmx.de>
1910
1911         * javax/swing/AbstractAction.java
1912         (AbstractAction): Reformatted.
1913         (serialVersionUID): New private member variable.
1914         * javax/swing/plaf/BorderUIResource.java
1915         (serialVersionUID): New private member variable.
1916         * javax/swing/plaf/basic/BasicLookAndFeel.java
1917         (serialVersionUID): New private member variable.
1918
1919 2003-03-31  Michael Koch  <konqueror@gmx.de>
1920
1921         * java/sql/Date.java
1922         (valueOf): Deprecated, reformatted.
1923         (toString): Deprecated, reformatted.
1924         * java/sql/Time.java
1925         (valueOf): Deprecated, reformatted.
1926         (toString): Deprecated, reformatted.
1927
1928 2003-03-31  Michael Koch  <konqueror@gmx.de>
1929
1930         * java/rmi/dgc/VMID.java
1931         (isUnique): Deprecated.
1932
1933 2003-03-31  Michael Koch  <konqueror@gmx.de>
1934
1935         * java/io/File.java
1936         (separator): Merged documentation from classpath.
1937         (separatorChar): Merged documentation from classpath.
1938         (pathSeparator): Merged documentation from classpath.
1939         (pathSeparatorChar): Merged documentation from classpath.
1940         (path): Merged documentation from classpath.
1941         (canRead): Merged documentation from classpath.
1942         (canWrite): Merged documentation from classpath.
1943         (createNewFile): Merged documentation from classpath.
1944         (delete): Merged documentation from classpath.
1945         (equals): Merged documentation from classpath.
1946         (exists): Merged documentation from classpath.
1947         (File): Renamed p to name to match classpath, merged documentation
1948         from classpath.
1949         (getAbsolutePath): Merged documentation from classpath.
1950         (getCanonicalPath): Merged documentation from classpath.
1951         (getCanonicalFile): Merged documentation from classpath.
1952         (getName): Merged documentation from classpath.
1953         (getParent): Merged documentation from classpath.
1954         (getParentFile): Merged documentation from classpath.
1955         (getPath): Merged documentation from classpath.
1956         (hashCode): Merged documentation from classpath.
1957         (isAbsolute): Merged documentation from classpath.
1958         (isDirectory): Merged documentation from classpath.
1959         (isFile): Merged documentation from classpath.
1960         (isHidden): Merged documentation from classpath.
1961         (lastModified): Merged documentation from classpath.
1962         (length): Merged documentation from classpath.
1963         (list): Merged documentation from classpath.
1964         (listFiles): Merged documentation from classpath.
1965         (toString): Merged documentation from classpath.
1966         (toURL): Merged documentation from classpath.
1967         (mkdir): Merged documentation from classpath.
1968         (mkdirs): Merged documentation from classpath.
1969         (createTempFile): Merged documentation from classpath.
1970         (setReadOnly): Merged documentation from classpath.
1971         (listRoots): Merged documentation from classpath.
1972         (compareTo): Merged documentation from classpath.
1973         (renameTo): Merged documentation from classpath.
1974         (setLastModified): Merged documentation from classpath.
1975         * java/io/PrintStream.java
1976         (auto_flush): Merged documentation from classpath.
1977         (PrintStream): Merged documentation from classpath.
1978         (checkError): Merged documentation from classpath.
1979         (setError): Merged documentation from classpath.
1980         (close): Merged documentation from classpath.
1981         (flush): Merged documentation from classpath.
1982         (print): Merged documentation from classpath.
1983         (println):  Merged documentation from classpath.
1984         (write): Renamed count to len to match classpath,
1985         merged documentation from classpath.
1986         * java/io/RandomAccessFile.java
1987         (readShort): Merged documentation from classpath.
1988         (readUnsignedByte): Merged documentation from classpath.
1989         (readUnsignedShort): Merged documentation from classpath.
1990         (readUTF): Merged documentation from classpath.
1991         (seek): Reformatted, merged documentation from classpath.
1992         (skipBytes): Renamed some variables to match classpath, reformatted,
1993         merged documentation from classpath.
1994         (write): Merged documentation from classpath.
1995         (writeBoolean): Merged documentation from classpath.
1996         (writeByte): Merged documentation from classpath.
1997         (writeShort): Merged documentation from classpath.
1998         (writeChar): Merged documentation from classpath.
1999         (writeInt): Merged documentation from classpath.
2000         (writeLong): Merged documentation from classpath.
2001         (writeFloat): Merged documentation from classpath.
2002         (writeDouble): Merged documentation from classpath.
2003         (writeBytes): Merged documentation from classpath.
2004         (writeChars): Merged documentation from classpath.
2005         (writeUTF): Reformatted.
2006         (getChannel): Reformatted.
2007
2008 2003-03-31  Michael Koch  <konqueror@gmx.de>
2009
2010         * java/awt/font/TextAttribute.java
2011         (readResolve): Throws java.io.InvalidObjectException.
2012
2013 2003-03-31  Michael Koch  <konqueror@gmx.de>
2014
2015         * java/rmi/server/LoaderHandler.java
2016         (loadClass): Deprecated.
2017         (getSecurityContext): Deprecated.
2018         * java/rmi/server/LogStream.java
2019         (getDefaultStream): Deprecated.
2020         (setDefaultStream): Deprecated.
2021         (getOutputStream): Deprecated.
2022         (setOutputStream): Deprecated.
2023         (write): Deprecated.
2024         (toString): Deprecated.
2025         (parseLevel): Deprecated.
2026         * java/rmi/server/Operation.java
2027         (Operation): Deprecated.
2028         (getOperation): Deprecated.
2029         (toString): Deprecated.
2030         * java/rmi/server/RemoteCall.java
2031         (getOutputStream): Deprecated.
2032         (releaseOutputStream): Deprecated.
2033         (getInputStream): Deprecated.
2034         (releaseInputStream): Deprecated.
2035         (getResultStream): Deprecated.
2036         (executeCall): Deprecated.
2037         (done): Deprecated.
2038         * java/rmi/server/RemoteRef.java
2039         (invoke): Deprecated.
2040         (newCall): Deprecated.
2041         (done): Deprecated.
2042         * java/rmi/server/RemoteStub.java
2043         (setRef): Deprecated.
2044         * java/rmi/server/Skeleton.java:
2045         No need to import java.lang.Exception explicitly.
2046         (dispatch): Deprecated.
2047         (getOperations): Deprecated.
2048
2049 2003-03-31  Michael Koch  <konqueror@gmx.de>
2050
2051         * java/rmi/dgc/VMID.java,
2052         java/rmi/registry/RegistryHandler.java,
2053         java/rmi/server/LogStream.java,
2054         java/rmi/server/Operation.java,
2055         java/rmi/server/RemoteCall.java,
2056         java/rmi/server/RemoteRef.java,
2057         java/rmi/server/RemoteStub.java:
2058         Reformatted.
2059
2060 2003-03-31  Michael Koch  <konqueror@gmx.de>
2061
2062         * javax/swing/AbstractCellEditor.java,
2063         javax/swing/AbstractListModel.java,
2064         javax/swing/ActionMap.java,
2065         javax/swing/BorderFactory.java,
2066         javax/swing/ButtonGroup.java,
2067         javax/swing/DefaultBoundedRangeModel.java,
2068         javax/swing/DefaultButtonModel.java,
2069         javax/swing/DefaultCellEditor.java,
2070         javax/swing/DefaultComboBoxModel.java,
2071         javax/swing/DefaultDesktopManager.java,
2072         javax/swing/DefaultListCellRenderer.java,
2073         javax/swing/DefaultSingleSelectionModel.java,
2074         javax/swing/InputMap.java,
2075         javax/swing/JComponent.java,
2076         javax/swing/JMenu.java,
2077         javax/swing/JSlider.java,
2078         javax/swing/KeyStroke.java,
2079         javax/swing/OverlayLayout.java,
2080         javax/swing/ScrollPaneLayout.java,
2081         javax/swing/SizeRequirements.java,
2082         javax/swing/UIManager.java,
2083         javax/swing/ViewportLayout.java,
2084         javax/swing/border/AbstractBorder.java,
2085         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2086         javax/swing/event/EventListenerList.java,
2087         javax/swing/table/AbstractTableModel.java,
2088         javax/swing/table/DefaultTableCellRenderer.java,
2089         javax/swing/table/DefaultTableColumnModel.java,
2090         javax/swing/table/DefaultTableModel.java,
2091         javax/swing/table/TableColumn.java,
2092         javax/swing/text/StyledEditorKit.java,
2093         javax/swing/tree/DefaultMutableTreeNode.java,
2094         javax/swing/tree/DefaultTreeModel.java,
2095         javax/swing/tree/DefaultTreeSelectionModel.java,
2096         javax/swing/tree/TreePath.java,
2097         javax/swing/undo/AbstractUndoableEdit.java,
2098         javax/swing/undo/StateEdit.java,
2099         javax/swing/undo/StateEditable.java,
2100         javax/swing/undo/UndoableEditSupport.java:
2101         Merges from classpath.
2102
2103 2003-03-30  Tom Tromey  <tromey@redhat.com>
2104
2105         * java/lang/String.java (data, boffset, count): Documented.
2106         (String(byte[],String)): Reformatted.
2107         (String(byte[])): Likewise.
2108         (lastIndexOf(int)): Likewise.
2109         (lastIndexOf(String)): Likewise.
2110         (substring(int)): Renamed argument to match Classpath.
2111         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2112
2113         * java/lang/String.java: Miscellaneous minor formatting changes
2114         to match Classpath more closely.
2115
2116 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2117             Tom Tromey  <tromey@redhat.com>
2118
2119         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2120         (init()): Removed.
2121         (charAt): Put index in exception.
2122         (contentEquals): New method.
2123         Include StringBuffer.h.
2124         * java/lang/String.java (cachedHashCode): New field.
2125         (String()): Follow classpath implementation.
2126         (init()): Removed.
2127         (contentEquals): Declare.
2128         (subSequence): Don't declare IndexOutIfBoundsException in throws
2129         clause.
2130         (matches, replaceFirst, replaceAll, split): New methods from
2131         Classpath.
2132
2133 2003-03-29  Tom Tromey  <tromey@redhat.com>
2134
2135         * java/lang/String.java: Reordered to follow Classpath; merged in
2136         javadoc.
2137
2138         * java/text/MessageFormat.java: Removed some whitespace.
2139
2140         * Makefile.in: Rebuilt.
2141         * Makefile.am (awt_java_source_files): Added new files.
2142         * gnu/javax/rmi/PortableServer.java,
2143         gnu/javax/rmi/CORBA/DelegateFactory.java,
2144         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2145         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2146         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2147         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2148         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2149         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2150         javax/rmi/PortableRemoteObject.java,
2151         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2152         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2153         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2154         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2155         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2156         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2157
2158         * java/lang/natClass.cc (newInstance): Put method name in
2159         exception.
2160         (getConstructor): Likewise.
2161         (getDeclaredConstructor): Likewise.
2162         (getPrivateMethod): Likewise.
2163
2164 2003-03-28  Tom Tromey  <tromey@redhat.com>
2165
2166         * java/lang/reflect/Proxy.java: New version from Classpath.
2167         * java/lang/Package.java: New version from Classpath.
2168
2169 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2170
2171         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2172         * configure: Regenerate.
2173
2174 2003-03-28  Michael Koch  <konqueror@gmx.de>
2175
2176         * java/io/File.java:
2177         Import needed classes instead of whole packages, merged class
2178         documentation with classpath, moved constants and variables to top of
2179         class.
2180         * java/io/PrintStream.java:
2181         Merged class documentation with classpath, moved constants and
2182         variables to top of class.
2183         * java/io/RandomAccessFile.java
2184         (RandomAccessFile): Merged with classpath.
2185         (read): Merged with classpath).
2186         (read*): Reformatted.
2187
2188 2003-03-28  Michael Koch  <konqueror@gmx.de>
2189
2190         * java/io/FileDescriptor.java
2191         (finalize): Throws Throwable, not IOException.
2192         * java/io/ObjectOutputStream.java
2193         (PutField.put): Doesnt throws anything.
2194
2195 2003­03-28  Michael Koch  <konqueror@gmx.de>
2196
2197         * java/io/FileOutputStream.java:
2198         Merged class documentation and authors with classpath.
2199         (FileOutputStream): Partly merged with classpath.
2200         (write): Merged with classpath.
2201         (getChannel): Make it synchronized instead of explicit block in this
2202         method.
2203         * java/io/RandomAccessFile.java:
2204         Merged class documentation and authors with classpath.
2205
2206 2003-03-26  Tom Tromey  <tromey@redhat.com>
2207
2208         * java/lang/natRuntime.cc (insertSystemProperties): Set
2209         gnu.classpath.home.url.
2210         * Makefile.in: Rebuilt.
2211         * Makefile.am: Define LIBDIR.
2212
2213 2003-03-25  Michael Koch  <konqueror@gmx.de>
2214
2215         * java/io/FileInputStream.java
2216         (read): Renamed b to buf and off to offset.
2217         * java/io/FileOutputStream.java
2218         (ch): Documentation added.
2219         (FileOutputStream): Documentation added.
2220         (getFD): Documentation added.
2221         (write): Documentation added.
2222         (close): Documentation added.
2223         (getChannel): Documentation added.
2224
2225 2003-03-24  Michael Koch  <konqueror@gmx.de>
2226
2227         * java/io/DataOutputStream.java
2228         (write): Merged from classpath.
2229         * java/io/File.java:
2230         Merged copyrigth with classpath.
2231         * java/io/FileInputStream.java
2232         (getChannel): Made it synchronized instead of using a synchronized
2233         block.
2234         * java/io/FileOutputStream.java: Reformatted.
2235         * java/io/InputStreamReader.java
2236         (InputStreamReader): Renamed enc to encoding_name.
2237         (close): Merged documentation from classpath.
2238         (getEncoding): Merged documentation from classpath.
2239         (ready): Merged documentation from classpath.
2240         (read): Merged documentation from classpath.
2241         * java/io/LineNumberReader.java
2242         (lineNumber): Made it private.
2243         (LineNumberReader): Use Constant instead of a direct value.
2244         * java/io/OutputStreamWriter.java
2245         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2246         documentation from classpath.
2247         (close): Merged documentation from classpath.
2248         (flush): Merged documentation from classpath.
2249         (write): Merged documentation from classpath.
2250         * java/io/PrintStream.java: Reformatted.
2251
2252 2003-03-24  Michael Koch  <konqueror@gmx.de>
2253
2254         * javax/swing/text/ComponentView.java
2255         (getComponent): Must be final.
2256         * javax/swing/tree/DefaultTreeCellRenderer.java:
2257         Reformatted.
2258         * javax/swing/undo/StateEditable.java:
2259         Reformatted.
2260
2261 2003-03-24  Michael Koch  <konqueror@gmx.de>
2262
2263         * java/rmi/activation/ActivationInstantiator.java:
2264         Reformatted.
2265         * java/rmi/activation/Activator.java:
2266         Reformatted.
2267         * java/rmi/registry/RegistryHandler.java:
2268         Remerged from classpath.
2269
2270 2003-03-24  Michael Koch  <konqueror@gmx.de>
2271
2272         * java/util/Date.java:
2273         Fixed documentation starting tag to make javadoc happy.
2274         * java/util/regex/Pattern.java
2275         (Pattern): Implements Serializable.
2276         * java/util/PatternSyntaxException.java
2277         (serialVersionUID): New member variable.
2278
2279 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2280
2281         * java/awt/ContainerOrderFocusTraversalPolicy.java
2282         (getFirstComponent): Implemented.
2283         (getLastComponent): Implemented.
2284         (getDefaultComponent): Implemented.
2285         (setImplicitDownCycleTraversal): Fixed implementation.
2286         * java/awt/Robot.java
2287         (Robot): Added documentation.
2288         * java/awt/Toolkit.java
2289         (getFontList): Deprecated.
2290         (getFontMetrics): Deprecated.
2291         (getPrintJob): Added documentation.
2292         (getSystemSelection): Added documentation.
2293         (getLockingKeyState): Added documentation.
2294         (setLockingKeyState): Added documentation.
2295         (createCustomCursor): Added documentation.
2296         (getBestCursorSize): Added documentation.
2297         (getMaximumCursorColors): Added documentation.
2298         (isFrameStateSupported): Added documentation.
2299
2300 2003-03-24  Michael Koch  <konqueror@gmx.de>
2301
2302         * java/io/RandomAccessFile.java:
2303         More little merges with classpath. No code changes.
2304
2305 2003-03-24  Michael Koch  <konqueror@gmx.de>
2306
2307         * java/net/natInetAddressNoNet.cc:
2308         Include stddef.h.
2309         * java/net/natPlainDatagramSocketImplNoNet.cc:
2310         Fixed inlcude of java/net/DatagramPacket.h.
2311         * java/net/natPlainSocketImplNoNet.cc:
2312         Include some missing classes.
2313
2314 2003-03-24  Michael Koch  <konqueror@gmx.de>
2315
2316         * java/awt/dnd/DropTarget.java
2317         (DropTargetAutoScroller): According to the online documentation, this
2318         is protected, but in reality it is public.
2319         * java/awt/dnd/DropTargetContext.java
2320         (TransferableProxy): According to the online documentation, this
2321         is protected, but in reality it is public.
2322
2323 2003-03-24  Michael Koch  <konqueror@gmx.de>
2324
2325         * java/io/DataInputStream.java
2326         (): Wrapped documentation line.
2327         (): Fixed @return tag.
2328         * java/io/DataOutputStream.java
2329         (written): Moved to top of class.
2330         (all methods): Merged documentation from classpath.
2331         * java/io/File.java:
2332         Merged copyright year with classpath.
2333         * java/io/FileInputStream.java
2334         (all methods): Merged documentation from classpath.
2335         * java/io/LineNumberReader.java
2336         (getLineNumber): Fixed @return tag.
2337         * java/io/ObjectInputStream.java.
2338         Reformatted.
2339         * java/io/ObjectOutputStream.java:
2340         Reformatted, fixed some @see tags.
2341         * java/io/OutputStreamWriter.java:
2342         Deleted empty line.
2343         * java/io/Writer.java:
2344         Reformatted.
2345
2346 2003-03-24  Michael Koch  <konqueror@gmx.de>
2347
2348         * java/awt/Frame.java
2349         (DEFAULT_CURSOR): Fixed @deprecated tag.
2350         (setCursor): Fixed @deprecated tag.
2351
2352 2003-03-24  Michael Koch  <konqueror@gmx.de>
2353
2354         * java/beans/beancontext/BeanContextEvent.java:
2355         Reformated.
2356
2357 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2358
2359         * java/lang/natStringBuffer.cc (regionMatches): New function.
2360         * java/lang/String.java (count): Now package-private.
2361         * java/lang/StringBuffer.java: Merged with Classpath.
2362
2363 2003-03-23  Michael Koch  <konqueror@gmx.de>
2364
2365         * java/io/BufferedOutputStream.java:
2366         Reformated.
2367         * java/io/BufferedReader.java:
2368         Reformated.
2369         * java/io/ByteArrayOutputStream.java
2370         (size): Fixed @see tag.
2371         * java/io/CharArrayWriter.java
2372         (size): Fixed @see tag.
2373         * java/io/DataInput.java:
2374         Reformated.
2375         * java/io/DataOutput.java:
2376         Reformated.
2377         * java/io/DataOutputStream.java:
2378         Merged copyright years with classpath.
2379         * java/io/Externalizable.java:
2380         Reformated.
2381         * java/io/FileFilter.java:
2382         Reformated.
2383         * java/io/FileInputStream.java:
2384         Merged copyright years with classpath.
2385         * java/io/FileOutputStream.java:
2386         Merged copyright years with classpath.
2387         * java/io/FilePermission.java
2388         (FilePermission): Replaced @XXX with FIXME:.
2389         * java/io/FileWriter.java:
2390         Reformated.
2391         * java/io/FilenameFilter.java:
2392         Reformated.
2393         * java/io/FilterInputStream.java:
2394         Reformated.
2395         * java/io/FilterOutputStream.java:
2396         Reformated.
2397         * java/io/FilterReader.java:
2398         Reformated.
2399         * java/io/FilterWriter.java:
2400         Reformated.
2401         * java/io/LineNumberInputStream.java
2402         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2403         happy.
2404         (getLineNumber): Fixed @return tag.
2405         * java/io/ObjectInput.java:
2406         Reformated.
2407         * java/io/ObjectOutput.java:
2408         Reformated.
2409         * java/io/ObjectStreamClass.java:
2410         Reformated.
2411         * java/io/PrintStream.java:
2412         Merged copyright years with classpath.
2413         * java/io/PushbackReader.java
2414         (PushbackReader): Replaced @code with @param.
2415         * java/io/SerializablePermission.java:
2416         Reformated.
2417         * java/io/StreamTokenizer.java
2418         (resetSyntax): Fixed @see tag.
2419
2420 2003-03-22  Richard Henderson  <rth@redhat.com>
2421
2422         * sysdep/ia64/locks.h: Include ia64intrin.h.
2423         (compare_and_swap): Use __sync_bool_compare_and_swap.
2424         (compare_and_swap_release): Expose ar.ccv assignment.
2425
2426 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2427
2428         * include/posix.h: Add suffix for darwin dynamic libraries.
2429
2430 2003-03-21  Michael Koch  <konqueror@gmx.de>
2431
2432         * javax/swing/Action.java
2433         (ACCELERATOR_KEY): New constant.
2434         (ACTION_COMMAND_KEY): Likewise.
2435         (MNEMONIC_KEY): Likewise.
2436         * javax/swing/UnsupportedLookAndFeelException.java
2437         (UnsupportedLookAndFeelException): Must be public.
2438         * javax/swing/WindowConstants.java
2439         (EXIT_ON_CLOSE): New constant.
2440         * javax/swing/text/BadLocationException.java
2441         (offset): New member variable.
2442         (BadLocationException): New implementation, documentation added.
2443         (offsetRequested): New method.
2444         * javax/swing/text/Caret.java:
2445         Reformated.
2446         * javax/swing/text/Document.java:
2447         Reformated.
2448
2449 2003-03-21  Michael Koch  <konqueror@gmx.de>
2450
2451         * java/rmi/activation/Activatable.java
2452         (serialVersionUID): New member variable.
2453         * java/rmi/activation/ActivationGroup.java
2454         (serialVersionUID): New member variable.
2455         * java/rmi/activation/ActivationGroupDesc.java
2456         (serialVersionUID): New member variable.
2457         * java/rmi/registry/Registry.java:
2458         Reformated.
2459         (Registry): Deprecated.
2460         * java/rmi/server/LoaderHandler.java
2461         Reformated.
2462         (LoaderHandler): Deprecated.
2463         * java/rmi/server/LogStream.java
2464         Reformated.
2465         (LogStream): Deprecated.
2466         * java/rmi/server/Operation.java
2467         (Operation): Deprecated.
2468         * java/rmi/server/RMIFailureHandler.java:
2469         Reformated.
2470         * java/rmi/server/RMISocketFactory.java:
2471         Reformated.
2472         * java/rmi/server/RemoteCall.java
2473         (RemoteCall): Deprecated.
2474         * java/rmi/server/RemoteStub.java:
2475         Reformated.
2476         * java/rmi/server/Skeleton.java
2477         Reformated.
2478         (Skeleton): Deprecated.
2479
2480 2003-03-21  Michael Koch  <konqueror@gmx.de>
2481
2482         * java/io/LineNumberReader.java
2483         (LineNumberReader): Merged documentation with classpath.
2484         (getLineNumber): Likewise.
2485         (setLineNumber): Likewise.
2486         (mark): Likewise.
2487         (reset): Likewise.
2488         (read): Likewise.
2489         (readLine): Likewise.
2490         (skip): Likewise.
2491
2492 2003-03-21  Michael Koch  <konqueror@gmx.de>
2493
2494         * java/rmi/RMISecurityManager.java
2495         (checkAccept): Removed.
2496         (checkAccess): Likewise.
2497         (checkAccess): Likewise.
2498         (checkAwtEventQueueAccess): Likewise.
2499         (checkConnect): Likewise.
2500         (checkCreateClassLoader): Likewise.
2501         (checkDelete): Likewise.
2502         (checkExec): Likewise.
2503         (checkExit): Likewise.
2504         (checkLink): Likewise.
2505         (checkListen): Likewise.
2506         (checkMemberAccess): Likewise.
2507         (checkMulticast): Likewise.
2508         (checkPackageAccess): Likewise.
2509         (checkPackageDefinition): Likewise.
2510         (checkPermission): Likewise.
2511         (checkPrintJobAccess): Likewise.
2512         (checkPropertiesAccess): Likewise.
2513         (checkPropertyAccess): Likewise.
2514         (checkRead): Likewise.
2515         (checkSecurityAccess): Likewise.
2516         (checkSetFactory): Likewise.
2517         (checkSystemClipboardAccess): Likewise.
2518         (checkTopLevelWindow): Likewise.
2519         (checkWrite): Likewise.
2520
2521 2003-03-20  Michael Koch  <konqueror@gmx.de>
2522
2523         * gnu/java/nio/FileChannelImpl.java
2524         (address): Removed.
2525         (map_address): New member variable.
2526         (length): Make it package private.
2527         (fd): Make it package private.
2528         (buf): Make it package private.
2529         (file_obj): Make it package private.
2530         (FileChannelImpl): New constructor.
2531         (nio_mmap_file): Use RawData instead of long.
2532         (nio_munmap_file): Use RawData instead of long.
2533         (nio_msync): Use RawData instead of long.
2534         (implCloseChannel): New implementation using map_address.
2535         (read): Reformated.
2536         (map): Implemented.
2537         (create_direct_mapped_buffer): Implemented, use RawData, throws
2538         IOException.
2539         (force): Use map_address instead of address.
2540         * gnu/java/nio/MappedByteFileBuffer.java
2541         (address): Removed.
2542         (map_address): New member variable.
2543         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2544         (several methods): Use map_address instead of address, replaced long
2545         with RawData where appropriate.
2546         * gnu/java/nio/natFileChannelImpl.cc
2547         (nio_mmap_file): Replaced long with RawData.
2548         (nio_munmap_file): Replaced long with RawData.
2549         (nio_msync): Replaced long with RawData.
2550         * gnu/java/nio/natMappedByteFileBuffer.cc
2551         (several methods): Replaced long with RawData where appropriate.
2552
2553 2003-03-20  Michael Koch  <konqueror@gmx.de>
2554
2555         * java/net/InetAddress.java,
2556         java/net/JarURLConnection.java,
2557         java/net/PlainDatagramSocketImpl.java,
2558         java/net/PlainSocketImpl.java,
2559         java/net/URLConnection.java:
2560         Merged copyright statements with classpath for easier merging.
2561
2562 2003-03-20  Michael Koch  <konqueror@gmx.de>
2563
2564         * java/io/FileInputStream.java
2565         (getChannel): New implementation.
2566         * java/io/FileOutputStream.java
2567         (ch): New member variable.
2568         (getChannel): Implemented.
2569         * java/io/RandomAccessFile.java
2570         (RandomAccessFile): Throws FileNotFoundException instead of
2571         IOException.
2572         (getChannel): New method.
2573         (ch): New member variable.
2574
2575 2003-03-20  Michael Koch  <konqueror@gmx.de>
2576
2577         * java/io/DataOutputStream.java,
2578         java/io/File.java,
2579         java/io/FileInputStream.java,
2580         java/io/FileOutputStream.java,
2581         java/io/InputStreamReader.java,
2582         java/io/LineNumberReader.java,
2583         java/io/OutputStreamWriter.java,
2584         java/io/PrintStream.java,
2585         java/io/RandomAccessFile.java:
2586         Merged copyright statements with classpath for easier merging.
2587
2588 2003-03-19  Michael Koch  <konqueror@gmx.de>
2589
2590         * java/lang/Process.java:
2591         Merged from classpath.
2592
2593 2003-03-19  Michael Koch  <konqueror@gmx.de>
2594
2595         * java/io/FileOutputStream.java
2596         (FileOutputStream): New constructor, merged from classpath.
2597         * java/io/FileWriter.java
2598         (FileWriter): New constructor, merged from classpath.
2599
2600 2003-03-18  Michael Koch  <konqueror@gmx.de>
2601
2602         * java/awt/ScrollPane.java
2603         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2604         (getViewportSize): Likewise.
2605         (addNotify): Likewise.
2606         (removeNotify): Likewise.
2607         * java/awt/ScrollPaneAdjustable.java
2608         (ScrollPaneAdjustable): No longer extends Scrollbar.
2609         * java/beans/beancontext/BeanContextServices.java:
2610         Reformated.
2611         (getService): Added throws TooManyListenersException;
2612         * java/beans/beancontext/BeanContextServicesSupport.java:
2613         Reformated.
2614
2615 2003-03-18  Michael Koch  <konqueror@gmx.de>
2616
2617         * java/io/BufferedOutputStream.java,
2618         java/io/DataInput.java,
2619         java/io/DataInputStream.java,
2620         java/io/DataOutput.java,
2621         java/io/Externalizable.java:
2622         More merges from classpath.
2623
2624 2003-03-18  Michael Koch  <konqueror@gmx.de>
2625
2626         * configure.in: Fixed links to platform dependant java.net files.
2627         * configure: Regenerated.
2628         * java/net/natInetAddress.cc,
2629         java/net/natNetworkInterface.cc,
2630         java/net/natPlainDatagramSocketImpl.cc,
2631         java/net/natPlainSocketImpl.cc:
2632         Removed.
2633
2634 2003-03-18  Michael Koch  <konqueror@gmx.de>
2635
2636         * configure.in: Create links to architecture dependent files,
2637         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2638         * configure: Regenerated.
2639         * java/net/natInetAddressNoNet.cc,
2640         java/net/natInetAddressPosix.cc,
2641         java/net/natInetAddressWin32.cc,
2642         java/net/natNetworkInterfaceNoNet.cc,
2643         java/net/natNetworkInterfacePosix.cc,
2644         java/net/natNetworkInterfaceWin32.cc,
2645         java/net/natPlainDatagramSocketImplNoNet.cc,
2646         java/net/natPlainDatagramSocketImplPosix.cc,
2647         java/net/natPlainDatagramSocketImplWin32.cc,
2648         java/net/natPlainSocketImplNoNet.cc,
2649         java/net/natPlainSocketImplPosix.cc,
2650         java/net/natPlainSocketImplWin32.cc: New files.
2651
2652 2003-03-18  Michael Koch  <konqueror@gmx.de>
2653
2654         * java/io/BufferedReader.java,
2655         java/io/BufferedWriter.java,
2656         java/io/ByteArrayOutputStream.java,
2657         java/io/FileFilter.java,
2658         java/io/FilePermission.java,
2659         java/io/FileReader.java,
2660         java/io/FileWriter.java,
2661         java/io/FilenameFilter.java,
2662         java/io/FilterInputStream.java,
2663         java/io/FilterOutputStream.java,
2664         java/io/FilterReader.java,
2665         java/io/FilterWriter.java,
2666         java/io/ObjectInput.java,
2667         java/io/ObjectInputValidation.java,
2668         java/io/ObjectOutput.java,
2669         java/io/ObjectStreamField.java,
2670         java/io/PipedInputStream.java,
2671         java/io/PipedReader.java,
2672         java/io/PrintWriter.java,
2673         java/io/PushbackReader.java,
2674         java/io/Reader.java,
2675         java/io/SerializablePermission.java,
2676         java/io/StringReader.java,
2677         java/io/Writer.java:
2678         Merged from classpath.
2679
2680 2003-03-17  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/awt/ScrollPaneAdjustable.java:
2683         Compile fixes.
2684         
2685 2003-03-17  Michael Koch  <konqueror@gmx.de>
2686
2687         * java/net/DatagramSocket.java
2688         (connect): Fixed comment.
2689         * java/nio/ByteBuffer.java
2690         (hasArray): Fixed comment.
2691
2692 2003-03-17  Michael Koch  <konqueror@gmx.de>
2693
2694         * java/beans/Beans.java:
2695         Explicitely import classes not packages.
2696         * java/beans/FeatureDescriptor.java
2697         (preferred): New member variable.
2698         (isPreferred): New method.
2699         (setPreferred): New method.
2700         * java/beans/PropertyEditorManager.java:
2701         Explicitely import used classes.
2702         * java/beans/beancontext/BeanContextChild.java:
2703         Added line wrapping.
2704         * java/beans/beancontext/BeanContextChildSupport.java:
2705         Reindented.
2706         * java/beans/beancontext/BeanContextEvent.java:
2707         Reindented.
2708
2709 2003-03-17  Michael Koch  <konqueror@gmx.de>
2710
2711         * java/awt/Dialog.java
2712         (Dialog): New constructor, changed implementations, added
2713         documentation.
2714         * java/awt/ScrollPaneAdjustable.java
2715         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2716         Serializable.
2717         (serialVersionUID): New member variable.
2718         (sp): New member variable.
2719         (orientation): New member variable.
2720         (value): New member variable.
2721         (minimum): New member variable.
2722         (maximum): New member variable.
2723         (visibleAmount): New member variable.
2724         (unitIncrement): New member variable.
2725         (blockIncrement): New member variable.
2726         (AdjustmentListener): New member variable.
2727         (ScrollPaneAdjustable): New implementation.
2728         (addAdjustmentListener): New method.
2729         (removeAdjustmentListener): New method.
2730         (getAdjustmentListeners): New method.
2731         (getBlockIncrement): New method.
2732         (getMaximum): New method.
2733         (getMinimum): New method.
2734         (getOrientation): New method.
2735         (getUnitIncrement): New method.
2736         (getValue): New method.
2737         (getVisibleAmount): New method.
2738         (setBlockIncrement): New method.
2739         (setMaximum): Implemented.
2740         (setMinimum): Implemented.
2741         (setUnitIncrement): New method.
2742         (setValue): New method.
2743         (setVisibleAmount): Implemented. 
2744         (paramString): New stubbed method.
2745         * java/awt/Window.java
2746         (show): Call setVisible().
2747         (hide): Call setVisible().
2748         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2749         and WINDOW_STATE_CHANGED.
2750         (processWindowFocusEvent): New method.
2751         (processWindowStateEvent): New method.
2752         (postEvent): Deprecated.
2753         (applyResourceBundle): Deprecated.
2754         * java/awt/datatransfer/DataFlavor.java
2755         (DataFlavor): Doesn't thow ClassNotFoundException.
2756
2757 2003-03-17  Michael Koch
2758
2759         * javax/print/attribute/Attribute.java,
2760         javax/print/attribute/AttributeSet.java,
2761         javax/print/attribute/PrintRequestAttributeSet.java:
2762         New files.
2763         * Makefile.am
2764         (javax_source_files): Added new files:
2765         javax/print/attribute/Attribute.java
2766         javax/print/attribute/AttributeSet.java
2767         javax/print/attribute/PrintRequestAttributeSet.java
2768         * Makefile.in: Regenerated.
2769
2770 2003-03-17  Michael Koch
2771
2772         * javax/print/attribute/Attribute.java,
2773         javax/print/attribute/AttributeSet.java,
2774         javax/print/attribute/PrintRequestAttributeSet.java:
2775         New files.
2776         * Makefile.am
2777         (awt_java_source_files): Added new files:
2778         javax/print/attribute/Attribute.java
2779         javax/print/attribute/AttributeSet.java
2780         javax/print/attribute/PrintRequestAttributeSet.java
2781         * Makefile.in: Regenerated.
2782
2783 2003-03-16  Tom Tromey  <tromey@redhat.com>
2784
2785         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2786         Include platform.h.
2787         * java/lang/natRuntime.cc (insertSystemProperties): Use
2788         _Jv_platform_path_separator.
2789         (nativeGetLibname): Use _Jv_platform_file_separator.
2790         (_load): Use _Jv_platform_onload_names.
2791         (onload_names): New global.
2792         * include/win32.h (_Jv_platform_file_separator): New define.
2793         (_Jv_platform_path_separator): Likewise.
2794         (_Jv_platform_onload_names): Likewise.
2795         (_Jv_platform_ffi_abi): Likewise.
2796         * include/posix.h (_Jv_platform_file_separator): New define.
2797         (_Jv_platform_path_separator): Likewise.
2798         (_Jv_platform_onload_names): Likewise.
2799         (_Jv_platform_ffi_abi): Likewise.
2800
2801 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
2802
2803         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
2804
2805 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
2806
2807         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
2808         hierarchy loop.
2809         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
2810         list to Object,ObjectStreamClass, moved callReadMethod code up into
2811         readObject and added Class argument to all setXxxField calls.
2812         (callReadMethod): Changed Class argument to ObjectStreamClass to be
2813         consistent with ObjectOutputStream and to facilitate caching the
2814         Method in the future.
2815         (setBooleanField): Added Class argument.
2816         (setByteField): Likewise.
2817         (setCharField): Likewise.
2818         (setDoubleField): Likewise.
2819         (setFloatField): Likewise.
2820         (setIntField): Likewise.
2821         (setLongField): Likewise.
2822         (setShortField): Likewise.
2823         (setObjectField): Likewise.
2824         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
2825         class hierarchy loop.
2826         (defaultWriteObject): Call writeFields with new argument list.
2827         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
2828         list to Object,ObjectStreamClass, moved callWriteMethod up into
2829         writeObject and added Class argument to all getXxxField calls.
2830         (callWriteMethod): Added ObjectStreamClass argument to be able to
2831         get the proper class to call getMethod on (each class can have (or
2832         not have) its own writeObject method).
2833         (getBooleanField): Added Class argument.
2834         (getByteField): Likewise.
2835         (getCharField): Likewise.
2836         (getDoubleField): Likewise.
2837         (getFloatField): Likewise.
2838         (getIntField): Likewise.
2839         (getLongField): Likewise.
2840         (getShortField): Likewise.
2841         (getObjectField): Likewise.
2842         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
2843         facilitate caching the Method object in the future.
2844
2845 2003-03-12  Andreas Schwab  <schwab@suse.de>
2846
2847         * configure.in: Avoid trailing /. in toolexeclibdir.
2848         * configure: Rebuilt.
2849
2850 2003-03-11  Michael Koch  <konqueror@gmx.de>
2851
2852         * gnu/java/nio/ByteBufferImpl.java
2853         (putInt): Use limit() instead of limit.
2854         * gnu/java/nio/CharBufferImpl.java
2855         (slice): Fixed implementation.
2856         (subSequence): Better bounds checking.
2857         * gnu/java/nio/MappedByteFileBuffer.java:
2858         Import all needed classes directly.
2859         * java/nio/ByteBuffer.java
2860         (hashCode): New dummy method.
2861         * java/nio/CharBuffer.java
2862         (array_offset): New member variable.
2863         (hasArray): Fixed documentation.
2864         (arrayOffset): Return array_offset.
2865
2866 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
2867
2868         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
2869         setter; made return value of getter const char* instead of char*
2870         * prims.cc: removed all references to _Jv_ThisExecutable().
2871         These are in the platform-specific sections now.
2872         * posix.cc: define platform-specific _Jv_ThisExecutable().
2873         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
2874         * win32.cc: define platform-specific _Jv_ThisExecutable()
2875         using GetModuleFilename()
2876         * java/lang/natRuntime.cc: set gnu.gcj.progname property
2877         to argv[0] instead of _Jv_ThisExecutable()
2878
2879 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2880
2881         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
2882         that is set if we are using addr2name.awk instead of addr2line.
2883         (NameFinder): Set usingAddr2name if using addr2name.awk.
2884         (getExternalLabel): New native method to convert a method 
2885         name to an external label.
2886         (lookup): Convert name given by addr2line to an external label
2887         before demangling.
2888
2889         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
2890         constant representing the prefix attached to method names to
2891         convert them to an external label.
2892         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
2893         using LABEL_PREFIX.
2894
2895 2003-03-10  Tom Tromey  <tromey@redhat.com>
2896
2897         * Makefile.in: Rebuilt.
2898         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
2899         (JC1FLAGS): Removed -Wno-deprecated.
2900
2901 2003-03-10  Michael Koch  <konqueror@gmx.de>
2902
2903         * java/nio/ByteOrder.java
2904         (nativeOrder): Working implementation, added documentation.
2905         (toString): Added documentation.
2906
2907 2003-03-10  Michael Koch  <konqueror@gmx.de>
2908
2909         * java/net/DatagramSocket.java,
2910         java/net/MulticastSocket.java,
2911         java/net/Socket.java,
2912         java/net/URL.java,
2913         java/net/URLConnection.java:
2914         Fixed some documentation tags to make javadoc and friends happy.
2915
2916 2003-03-10  Michael Koch  <koqnueror@gmx.de>
2917
2918         * java/beans/beancontext/BeanContextServicesSupport.java,
2919         java/beans/beancontext/BeanContextSupport.java: New files.
2920         * Makefile.am
2921         (awt_source_files): Added new files.
2922         * Makefile.in: Regenerated.
2923
2924 2003-03-10  Michael Koch  <konqueror@gmx.de>
2925
2926         * java/awt/FocusTraversalPolicy.java
2927         (FocusTraversalPolicy): Documentation added.
2928         (getComponentAfter): Documentation added.
2929         (getComponentBefore): Documentation added.
2930         (getFirstComponent): Documentation added.
2931         (getLastComponent): Documentation added.
2932         (getDefaultComponent): Documentation added.
2933         (getInitialComponent): Documentation added.
2934         * java/awt/ScrollPaneAdjustable.java
2935         (sp): New member variable.
2936         (orientation): New member variable.
2937         (value): New member variable.
2938         (minimum): New member variable.
2939         (maximum): New member variable.
2940         (visibleAmount): New member variable.
2941         (unitIncrement): New member variable.
2942         (blockIncrement): New member variable.
2943         (adjustmentListener): New member variable.
2944         (ScrollPaneAdjustable): Rewrote.
2945         (addAdjustmentListener): New method.
2946         (removeAdjustmentListener): New method.
2947         (getAdjustmentListeners): New method.
2948         (getBlockIncrement): New method.
2949         (getMaximum): New method.
2950         (getMinimum): New method.
2951         (getOrientation): New method.
2952         (getUnitIncrement): New method.
2953         (getValue): New method.
2954         (getVisibleAmount): New method.
2955         (setBlockIncrement): New method.
2956         (setUnitIncrement): New method.
2957         (setMaximum): Implemented.
2958         (setMinimum): Implemented.
2959         (setValue): New method.
2960         (setVisibleAmount): Implemented.
2961         (paramString): New method.
2962         * java/awt/Window.java
2963         (show): Use setVisible(true) instead of super.show().
2964         (hide): Use sevVisible(false) instead of super.hide().
2965         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
2966         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
2967         (postEvent): Deprecated.
2968         (applyResourceBundle): Deprecated.
2969         (processWindowFocusEvent): New method.
2970         (processWindowStateEvent): New method.
2971         * java/awt/datatransfer/DataFlavor.java: Reindented.
2972         * java/awt/font/TextHitInfo.java
2973         (charIndex): New member variable.
2974         (leadingEdge): New member variable.
2975         (TextHitInfo): New constructor.
2976         (getCharIndex): Implemented.
2977         (isLeadingEdge): Implemented.
2978         (getInsertionIndex): Implemented.
2979         (hashCode): Access charIndex directly.
2980         (equals): Reformated.
2981         (leading): Implemented.
2982         (trailing): Implemented.
2983         (beforeOffset): Implemented.
2984         (afterOffset): Implemented.
2985         (getOtherHit): Implemented.
2986         (getOffsetHit): Implemented.
2987         (toString): Implemented.
2988         * java/awt/image/BufferedImage.java
2989         (BufferedImage): Implements WritableRenderedImage.
2990         (observers): New member variable.
2991         (addTileObserver): New method.
2992         (removeTileObserver): New method.
2993
2994 2003-03-09  Tom Tromey  <tromey@redhat.com>
2995
2996         PR libgcj/9934:
2997         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
2998         to lseek.  Return 0 if we can't compute the value.
2999
3000 2003-03-03  Michael Koch  <konqueror@gmx.de>
3001
3002         * java/net/NetworkInterface.java: Merged with classpath.
3003
3004 2003-03-03  Tom Tromey  <tromey@redhat.com>
3005
3006         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3007         of bytecode.
3008         (handle_ret_insn): Fail if returning to jsr that appears at end of
3009         bytecode.
3010
3011 2003-03-03  Michael Koch  <konqueror@gmx.de>
3012
3013         * Makefile.am
3014         (ordinary_java_source_files):
3015         Added gnu/java/nio/MappedByteFileBuffer.java.
3016         (nat_source_files):
3017         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3018         * Makefile.in: Regenerated.
3019
3020 2003-03-03  Michael Koch  <konqueror@gmx.de>
3021
3022         * java/net/DatagramSocket.java
3023         (connect): Merged comment from classpath.
3024         (receive): Merged documentation from classpath.
3025         * java/net/Socket.java
3026         (setSoTimeout): Clarified documentation.
3027         * java/net/URL.java
3028         (getPath): Merged from classpath.
3029         (getUserInfo): Merged from classpath.
3030         (getQuery): Merged from classpath.
3031         * java/net/URLStreamHandler.java
3032         (toExternalForm): Merged from classpath.
3033
3034 2003-03-02  Mark Wielaard  <mark@klomp.org>
3035
3036         * java/util/Properties.java (load): Only skip line if the first
3037         character is a comment, whitespaces don't count.
3038
3039 2003-03-02  Michael Koch  <konqueror@gmx.de>
3040
3041         * java/net/NetPermission.java:
3042         Merged copyright with classpath.
3043
3044 2003-03-02  Michael Koch  <konqueror@gmx.de>
3045
3046         * java/lang/Package.java:
3047         Remerged from classpath.
3048
3049 2003-03-02  Michael Koch  <konqueror@gmx.de>
3050
3051         * java/net/HttpURLConnection.java
3052         (HTTP_SERVER_ERROR): Deprecated.
3053         * java/net/MulticastSocket.java
3054         (send): Replaced checkMulticast with appropriate checkPermission call,
3055         deprecated.
3056         * java/net/URLDecoder.java
3057         (decode): Deprecated.
3058         * java/net/URLEncoder.java
3059         (encode): Deprecated.
3060
3061 2003-03-02  Michael Koch  <konqueror@gmx.de>
3062
3063         * javax/swing/text/Caret.java
3064         (getMagicCaretPosition): Fixed typo in method name.
3065         * javax/swing/text/DefaultCaret.java
3066         (getMagicCaretPosition): Fixed typo in method name.
3067
3068 2003-03-02  Michael Koch  <konqueror@gmx.de>
3069
3070         * java/awt/List.java
3071         (setMultipleSelections): Deprecated.
3072         (delItem): Deprecated.
3073         * java/awt/MenuComponent.java
3074         (getPeer): Deprecated.
3075         * java/awt/ScrollPane.java
3076         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3077         * java/awt/dnd/MouseDragGestureRecognizer.java
3078         (mouseClicked): Added comment.
3079         (mousePressed): Added comment.
3080         (mouseReleased): Added comment.
3081         (mouseEntered): Added comment.
3082         (mouseExited): Added comment.
3083         (mouseDragged): Added comment.
3084         (mouseMoved): Added comment.
3085         * java/awt/event/KeyEvent.java
3086         (KeyEvent): Deprecated.
3087         (setModifiers): Deprecated.
3088         
3089 2003-03-02  Michael Koch  <konqueror@gmx.de>
3090
3091         * gnu/java/nio/FileChannelImpl.java
3092         (fd): Type FileDescriptor instead of int.
3093         (lengthInternal): Removed.
3094         (FileChannelImpl): Fixed arguments, check type of file object.
3095         (size): Made it native.
3096         (implPosition): New native method.
3097         (implTruncate): New native method.
3098         (position): Implemented.
3099         (truncate): Implemented.
3100         (nio_mmap_file): Changed arguments.
3101         (nio_munmap_file): Changed arguments.
3102         (nio_msync): Changed arguments.
3103         * gnu/java/nio/natFileChannelImpl.cc
3104         (lengthInternal): Removed.
3105         (size): New method.
3106         (implPosition): New method.
3107         (implTruncate): New method.
3108         (nio_mmap_file): Changed arguments.
3109         (nio_munmap_file): Changed arguments.
3110         (nio_msync): Changed arguments.
3111
3112 2003-03-02  Michael Koch  <konqueror@gmx.de>
3113
3114         * java/awt/dnd/DropTargetContext.java:
3115         Compile fix: Forgot to commit import.
3116         
3117 2003-03-02  Michael Koch  <konqueror@gmx.de>
3118
3119         * java/awt/Component.java,
3120         java/awt/ScrollPane.java:
3121         Fixed typos.
3122
3123 2003-03-02  Michael Koch  <konqueror@gmx.de>
3124
3125         * java/awt/dnd/DnDEventMulticaster.java: New file.
3126         * java/awt/dnd/DragSource.java
3127         (flavorMap): New member variable.
3128         (dragSourceListener): New member variable.
3129         (dragSourceMotionListener): New member variable.
3130         (getFlavorMap): Implemented.
3131         (createDragGestureRecognizer): Implemented.
3132         (addDragSourceListener): Implemented.
3133         (removeDragSourceListener): Implemented.
3134         (getDragSourceListeners): Implemented.
3135         (addDragSourceMotionListener): Implemented.
3136         (removeDragSourceMotionListener): Implemented.
3137         (getDragSourceMotionListeners): Implemented.
3138         (getListeners): Implemented.
3139         * java/awt/dnd/DragSourceContext.java
3140         (peer): New member variable.
3141         (cursor): New member variable.
3142         (transferable): New member variable.
3143         (trigger): New member variable.
3144         (dragSourceListener): New member variable.
3145         (image): New member variable.
3146         (offset): New member variable.
3147         (DragSourceContext): Implemented.
3148         (getDragSource): Implemented.
3149         (getComponent): Implemented.
3150         (getTrigger): Implemented.
3151         (getSourceActions): Implemented.
3152         (setCursor): Implemented.
3153         (getCursor): Implemented.
3154         (addDragSourceListener): Implemented.
3155         (removeDragSourceListener): Implemented.
3156         (getTransferable): Implemented.
3157         * java/awt/dnd/DropTarget.java
3158         (DropTargetAutoScroller.component): New member variable.
3159         (DropTargetAutoScroller.point): New member variable.
3160         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3161         (DropTargetAutoScroller.updateLocation): Implemented.
3162         (active): Renamed from isActive, defaults to true now.
3163         (component): New member variable.
3164         (flavorMap): New member variable.
3165         (actions): New member variable.
3166         (dropTargetContext): New member variable.
3167         (dropTargetListener): New member variable.
3168         (DropTarget): Implemented.
3169         (getComponent): Implemented.
3170         (setComponent): Implemented.
3171         (setDefaultActions): Implemented.
3172         (getDefaultActions): Implemented.
3173         (setActive): Use active instead of isActive.
3174         (isActive): Use active instead of isActive.
3175         (addDropTargetListener): Implemented.
3176         (removeDropTargetListener): Implemented.
3177         (getFlavorMap): Implemented.
3178         (setFlavorMap): Implemented.
3179         (getDropTargetContext): Implemented.
3180         (createDropTargetContext): Implemented.
3181         (createDropTargetAutoScroller): Implemented.
3182         * java/awt/dnd/DropTargetContext.java
3183         (TransferableProxy.getTransferDataFlavors): Implemented.
3184         (TransferableProxy.isDataFlavorSupported): Implemented.
3185         (TransferableProxy.getTransferData): Implemented.
3186         (dropTarget):  New member variable.
3187         (dtcp): New member variable.
3188         (DropTargetContext): New package private constructor.
3189         (getDropTarget): Implemented.
3190         (getComponent): Implemented.
3191         (addNotify): Implemented.
3192         (removeNotify): Implemented.
3193         (getCurrentDataFlavorsAsList): Implemented.
3194         (isDataFlavorSupported): Implemented.
3195         * java/awt/dnd/MouseDragGestureRecognizer.java
3196         (registerListeners): Implemented.
3197         (unregisterListeners): Implemented.
3198         * Makefile.am
3199         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3200         * Makefile.in: Regenerated.
3201
3202 2003-03-02  Michael Koch  <konqueror@gmx.de>
3203
3204         * java/awt/Component.java
3205         (eventTypeEnabled): New method.
3206         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3207         * java/awt/Container.java
3208         (changeSupport): New member variable.
3209         (addPropertyChangeListener): New methods.
3210         * java/awt/ContainerOrderFocusTraversalPolicy.java
3211         (ContainerOrderFocusTraversalPolicy): Added comment.
3212         (getComponentAfter): Throw exception, documentation added.
3213         (getComponentBefore): Throw exception, documentation added.
3214         (getFirstComponent): Throw exception, documentation added.
3215         (getLastComponent): Throw exception, documentation added.
3216         (getDefaultComponent): Throw exception, documentation added.
3217         * java/awt/EventQueue.java: Reindented.
3218         * java/awt/FocusTraversalPolicy.java:
3219         (FocusTraversalPolicy): Added comment.
3220         (getComponentAfter): Documentation added.
3221         (getComponentBefore): Documentation added.
3222         (getFirstComponent): Documentation added.
3223         (getLastComponent): Documentation added.
3224         (getDefaultComponent): Documentation added.
3225         (getInitialComponent): Documentation added.
3226         * java/awt/ScrollPane.java
3227         (wheelScrollingEnabled): New member variable.
3228         (ScrollPane): Initialize wheelScollingEnabled.
3229         (eventTypeEnabled): New method.
3230         (isWheelScrollingEnabled): New method.
3231         (setWheelScrollingEnabled): New method.
3232
3233 2003-03-02  Michael Koch  <konqueror@gmx.de>
3234
3235         * java/net/DatagramSocket.java
3236         (closed): New member variable.
3237         (close): Use closed variable.
3238         (getInetAddress): No need to call isConnected().
3239         (getPort): No need to call isConnected().
3240         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3241         (isClosed): Reimplemented.
3242         
3243 2003-03-02  Michael Koch  <konqueror@gmx.de>
3244
3245         * configure.in: Added check for memory mapping of files.
3246         * configure: Regenerated.
3247         * config.h.in: Regenerated.
3248
3249 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3250
3251         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3252         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3253
3254 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3255
3256         * java/io/File.java (normalizePath): Remove trailing separator
3257         on Windows only if path is not of the form "x:\".
3258
3259         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3260         (java::io::File::attr): Change formatting a bit and use
3261         WIN32_EPOCH_MILLIS instead of magic numbers.
3262         (java::io::File::isAbsolute): Path must have at least 3 
3263         characters for a UNC network path.
3264         (java::io::File::init_native): Define.
3265         (java::io::File::performCreate): Likewise.
3266         (java::io::File::performSetReadOnly): Likewise.
3267         (java::io::File::performSetLastModified): Likewise.
3268         (java::io::File::performListRoots): Likewise.
3269
3270 2003-03-01  Tom Tromey  <tromey@redhat.com>
3271
3272         * java/lang/natObject.cc: Don't include assert.h.
3273         (heavy_lock_obj_finalization_proc): Use JvAssert.
3274         (remove_all_heavy): Likewise.
3275         (_Jv_MonitorEnter): Likewise.
3276         (_Jv_MonitorExit): Likewise.
3277         (wait): Likewise.
3278
3279 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3280
3281         * java/io/File (getAbsolutePath): Prefix drive specifier on
3282         Windows for paths starting with a '\'.
3283         (toURL): Make URL more consistent with what Sun's JDK returns.
3284
3285         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3286         true only if the path is a UNC network path or it starts with a
3287         drive specifier.
3288
3289         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3290         Be prepared to handle either '/' or '\\' in the file path for
3291         Windows if using the "file" protocol.
3292         Canonicalise the file path if using a relative path in the given
3293         context and the "file" protocol.
3294
3295 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3296
3297         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3298         program array element passed to CreateProcess.
3299
3300 2003-03-01  Tom Tromey  <tromey@redhat.com>
3301
3302         * java/rmi/registry/RegistryHandler.java: Deprecate.
3303
3304 2003-03-01  Tom Tromey  <tromey@redhat.com>
3305
3306         * javax/accessibility/AccessibleEditableText.java,
3307         javax/accessibility/AccessibleHyperlink.java: New versions from
3308         Classpath.
3309
3310         * gnu/java/locale/LocaleInformation_af_ZA.java,
3311         gnu/java/locale/LocaleInformation_ar_AE.java,
3312         gnu/java/locale/LocaleInformation_ar_BH.java,
3313         gnu/java/locale/LocaleInformation_ar_DZ.java,
3314         gnu/java/locale/LocaleInformation_ar_EG.java,
3315         gnu/java/locale/LocaleInformation_ar_IN.java,
3316         gnu/java/locale/LocaleInformation_ar_IQ.java,
3317         gnu/java/locale/LocaleInformation_ar_JO.java,
3318         gnu/java/locale/LocaleInformation_ar_KW.java,
3319         gnu/java/locale/LocaleInformation_ar_LB.java,
3320         gnu/java/locale/LocaleInformation_ar_LY.java,
3321         gnu/java/locale/LocaleInformation_ar_MA.java,
3322         gnu/java/locale/LocaleInformation_ar_OM.java,
3323         gnu/java/locale/LocaleInformation_ar_QA.java,
3324         gnu/java/locale/LocaleInformation_ar_SD.java,
3325         gnu/java/locale/LocaleInformation_ar_SY.java,
3326         gnu/java/locale/LocaleInformation_ar_TN.java,
3327         gnu/java/locale/LocaleInformation_ar_YE.java,
3328         gnu/java/locale/LocaleInformation_be_BY.java,
3329         gnu/java/locale/LocaleInformation_bn_IN.java,
3330         gnu/java/locale/LocaleInformation_br_FR.java,
3331         gnu/java/locale/LocaleInformation_bs_BA.java,
3332         gnu/java/locale/LocaleInformation_ca_ES.java,
3333         gnu/java/locale/LocaleInformation_cs_CZ.java,
3334         gnu/java/locale/LocaleInformation_cy_GB.java,
3335         gnu/java/locale/LocaleInformation_da_DK.java,
3336         gnu/java/locale/LocaleInformation_de_AT.java,
3337         gnu/java/locale/LocaleInformation_de_BE.java,
3338         gnu/java/locale/LocaleInformation_de_CH.java,
3339         gnu/java/locale/LocaleInformation_de_DE.java,
3340         gnu/java/locale/LocaleInformation_de_LU.java,
3341         gnu/java/locale/LocaleInformation_el_GR.java,
3342         gnu/java/locale/LocaleInformation_en_AU.java,
3343         gnu/java/locale/LocaleInformation_en_BW.java,
3344         gnu/java/locale/LocaleInformation_en_CA.java,
3345         gnu/java/locale/LocaleInformation_en_DK.java,
3346         gnu/java/locale/LocaleInformation_en_GB.java,
3347         gnu/java/locale/LocaleInformation_en_HK.java,
3348         gnu/java/locale/LocaleInformation_en_IE.java,
3349         gnu/java/locale/LocaleInformation_en_IN.java,
3350         gnu/java/locale/LocaleInformation_en_NZ.java,
3351         gnu/java/locale/LocaleInformation_en_PH.java,
3352         gnu/java/locale/LocaleInformation_en_SG.java,
3353         gnu/java/locale/LocaleInformation_en_US.java,
3354         gnu/java/locale/LocaleInformation_en_ZA.java,
3355         gnu/java/locale/LocaleInformation_en_ZW.java,
3356         gnu/java/locale/LocaleInformation_es_AR.java,
3357         gnu/java/locale/LocaleInformation_es_BO.java,
3358         gnu/java/locale/LocaleInformation_es_CL.java,
3359         gnu/java/locale/LocaleInformation_es_CO.java,
3360         gnu/java/locale/LocaleInformation_es_CR.java,
3361         gnu/java/locale/LocaleInformation_es_DO.java,
3362         gnu/java/locale/LocaleInformation_es_EC.java,
3363         gnu/java/locale/LocaleInformation_es_ES.java,
3364         gnu/java/locale/LocaleInformation_es_GT.java,
3365         gnu/java/locale/LocaleInformation_es_HN.java,
3366         gnu/java/locale/LocaleInformation_es_MX.java,
3367         gnu/java/locale/LocaleInformation_es_NI.java,
3368         gnu/java/locale/LocaleInformation_es_PA.java,
3369         gnu/java/locale/LocaleInformation_es_PE.java,
3370         gnu/java/locale/LocaleInformation_es_PR.java,
3371         gnu/java/locale/LocaleInformation_es_PY.java,
3372         gnu/java/locale/LocaleInformation_es_SV.java,
3373         gnu/java/locale/LocaleInformation_es_US.java,
3374         gnu/java/locale/LocaleInformation_es_UY.java,
3375         gnu/java/locale/LocaleInformation_es_VE.java,
3376         gnu/java/locale/LocaleInformation_et_EE.java,
3377         gnu/java/locale/LocaleInformation_eu_ES.java,
3378         gnu/java/locale/LocaleInformation_fa_IR.java,
3379         gnu/java/locale/LocaleInformation_fi_FI.java,
3380         gnu/java/locale/LocaleInformation_fo_FO.java,
3381         gnu/java/locale/LocaleInformation_fr_BE.java,
3382         gnu/java/locale/LocaleInformation_fr_CA.java,
3383         gnu/java/locale/LocaleInformation_fr_CH.java,
3384         gnu/java/locale/LocaleInformation_fr_FR.java,
3385         gnu/java/locale/LocaleInformation_fr_LU.java,
3386         gnu/java/locale/LocaleInformation_ga_IE.java,
3387         gnu/java/locale/LocaleInformation_gd_GB.java,
3388         gnu/java/locale/LocaleInformation_gl_ES.java,
3389         gnu/java/locale/LocaleInformation_gv_GB.java,
3390         gnu/java/locale/LocaleInformation_he_IL.java,
3391         gnu/java/locale/LocaleInformation_hi_IN.java,
3392         gnu/java/locale/LocaleInformation_hr_HR.java,
3393         gnu/java/locale/LocaleInformation_hu_HU.java,
3394         gnu/java/locale/LocaleInformation_id_ID.java,
3395         gnu/java/locale/LocaleInformation_it_CH.java,
3396         gnu/java/locale/LocaleInformation_it_IT.java,
3397         gnu/java/locale/LocaleInformation_iw_IL.java,
3398         gnu/java/locale/LocaleInformation_ja_JP.java,
3399         gnu/java/locale/LocaleInformation_ka_GE.java,
3400         gnu/java/locale/LocaleInformation_kl_GL.java,
3401         gnu/java/locale/LocaleInformation_ko_KR.java,
3402         gnu/java/locale/LocaleInformation_kw_GB.java,
3403         gnu/java/locale/LocaleInformation_lt_LT.java,
3404         gnu/java/locale/LocaleInformation_lv_LV.java,
3405         gnu/java/locale/LocaleInformation_mi_NZ.java,
3406         gnu/java/locale/LocaleInformation_mk_MK.java,
3407         gnu/java/locale/LocaleInformation_mr_IN.java,
3408         gnu/java/locale/LocaleInformation_mt_MT.java,
3409         gnu/java/locale/LocaleInformation_nl_BE.java,
3410         gnu/java/locale/LocaleInformation_nl_NL.java,
3411         gnu/java/locale/LocaleInformation_nn_NO.java,
3412         gnu/java/locale/LocaleInformation_no_NO.java,
3413         gnu/java/locale/LocaleInformation_oc_FR.java,
3414         gnu/java/locale/LocaleInformation_pl_PL.java,
3415         gnu/java/locale/LocaleInformation_pt_BR.java,
3416         gnu/java/locale/LocaleInformation_pt_PT.java,
3417         gnu/java/locale/LocaleInformation_ro_RO.java,
3418         gnu/java/locale/LocaleInformation_ru_RU.java,
3419         gnu/java/locale/LocaleInformation_ru_UA.java,
3420         gnu/java/locale/LocaleInformation_se_NO.java,
3421         gnu/java/locale/LocaleInformation_sk_SK.java,
3422         gnu/java/locale/LocaleInformation_sl_SI.java,
3423         gnu/java/locale/LocaleInformation_sq_AL.java,
3424         gnu/java/locale/LocaleInformation_sr_YU.java,
3425         gnu/java/locale/LocaleInformation_sv_FI.java,
3426         gnu/java/locale/LocaleInformation_sv_SE.java,
3427         gnu/java/locale/LocaleInformation_ta_IN.java,
3428         gnu/java/locale/LocaleInformation_te_IN.java,
3429         gnu/java/locale/LocaleInformation_tg_TJ.java,
3430         gnu/java/locale/LocaleInformation_tl_PH.java,
3431         gnu/java/locale/LocaleInformation_tr_TR.java,
3432         gnu/java/locale/LocaleInformation_uk_UA.java,
3433         gnu/java/locale/LocaleInformation_ur_PK.java,
3434         gnu/java/locale/LocaleInformation_uz_UZ.java,
3435         gnu/java/locale/LocaleInformation_vi_VN.java,
3436         gnu/java/locale/LocaleInformation_yi_US.java,
3437         gnu/java/locale/LocaleInformation_zh_CN.java,
3438         gnu/java/locale/LocaleInformation_zh_HK.java,
3439         gnu/java/locale/LocaleInformation_zh_SG.java,
3440         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3441         info; from Classpath.
3442
3443         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3444         isPaintPending): New methods.
3445         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3446         setMaximizedBounds): New methods.
3447         (beginLayout, endLayout, isPaintPending): Likewise.
3448         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3449         (requestFocus): Likewise.
3450         (isObscured): Likewise.
3451         (canDetermineObscurity): Likewise.
3452         (coalescePaintEvent): Likewise.
3453         (updateCursorImmediately): Likewise.
3454         (createVolatileImage): Likewise.
3455         (handlesWheelScrolling): Likewise.
3456         (createBuffers): Likewise.
3457         (getBackBuffer): Likewise.
3458         (flip): Likewise.
3459         (destroyBuffers): Likewise.
3460
3461         * Makefile.in: Rebuilt.
3462         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3463         RobotPeer.java.
3464         * gnu/java/awt/GLightweightPeer.java,
3465         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3466         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3467         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3468         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3469         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3470         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3471         java/awt/dnd/peer/DragSourceContextPeer.java,
3472         java/awt/dnd/peer/DropTargetContextPeer.java,
3473         java/awt/peer/ButtonPeer.java,
3474         java/awt/peer/CheckboxMenuItemPeer.java,
3475         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3476         java/awt/peer/ComponentPeer.java,
3477         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3478         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3479         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3480         java/awt/peer/MenuBarPeer.java,
3481         java/awt/peer/MenuComponentPeer.java,
3482         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3483         java/awt/peer/PopupMenuPeer.java,
3484         java/awt/peer/ScrollPanePeer.java,
3485         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3486         java/awt/peer/TextComponentPeer.java,
3487         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3488         New versions from Classpath.
3489         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3490         * java/awt/peer/RobotPeer.java: Likewise.
3491
3492 2003-03-01  Mark Wielaard  <mark@klomp.org>
3493
3494         * java/io/ObjectInputStream.java: Reindent.
3495         * java/io/ObjectOutputStream.java: Likewise.
3496
3497 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3498
3499         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3500         jvalue for each argument. Simplify.
3501         * testsuite/libjava.jni/calls.c (docall),
3502         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3503         misalignment.
3504
3505 2003-02-28  Mark Wielaard  <mark@klomp.org>
3506
3507         * Makefile.am (nat_source_files): Remove
3508         java/io/natObjectOutputStream.cc.
3509         * Makefile.in: Regenerated.
3510         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3511         * java/io/ObjectStreamField.java (typename): New field.
3512         (ObjectStreamField(String, Class)): Initialize new field.
3513         (ObjectStreamField(String, String)): New Constructor.
3514         (getTypeCode): Use new field.
3515         (getTypeString): Use new field.
3516         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3517         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3518         Handle reading of Proxy classes. Never drain(), just write
3519         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3520         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3521         (flush): Call flush(), not just drain().
3522         (writeBoolean): Always use blockDataOutput.
3523         (writeByte): Likewise.
3524         (writeShort): Likewise.
3525         (writeChar): Likewise.
3526         (writeInt): Likewise.
3527         (writeLong): Likewise.
3528         (writeFloat): Likewise.
3529         (writeDouble): Likewise.
3530         (writeBytes): Likewise.
3531         (putfield (put(String,Object))): Throw IllegalArgumentException if
3532         field cannot be found.
3533         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3534         (writeArraySizeAndElements): Write byte[] in one go.
3535         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3536         set BlockDataMode to false.
3537         (annotateProxyClass): New method.
3538         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3539         (getField): No longer native.
3540         (getMethod): Likewise.
3541         (setBlockDataMode): Always drain() on switch, return old mode.
3542         (static): New static code block.
3543         * java/io/natObjectOutputStream.cc: Removed.
3544         * java/io/ObjectInputStream.java (getField): No longer native.
3545         (getMethod): Likewise.
3546         (readObject): Remember and reset old BlockDataMode. Track whether
3547         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3548         TC_LONGSTRING.
3549         (defaultReadObject): Set BlockDataMode to false during readFields.
3550         (resolveClass): Create new SecurityManager if necessary.
3551         Use Class.forName() if null ClassLoader found.
3552         (read(byte[],int,int): Copy remaining bytes to data before calling
3553         readNextBlock().
3554         (readFields): Set and reset BlockDataMode on call_read_method.
3555         Catch NoSuchFieldErrors.
3556         (setBlockDataMode): Return old mode.
3557         (static): New static code block.
3558         * java/io/natObjectInputStream.cc (getField): Removed.
3559         (getMethod): Likewise.
3560
3561 2003-02-27  Michael Koch  <konqueror@gmx.de>
3562
3563         * java/beans/Beans.java,
3564         java/beans/FeatureDescriptor.java
3565         java/beans/PropertyEditorManager.java:
3566         Reformated to GNU style.
3567
3568 2003-02-25  Michael Koch  <konqueror@gmx.de>
3569
3570         * gnu/java/nio/MappedByteFileBuffer.java,
3571         gnu/java/nio/natMappedByteFileBuffer.cc:
3572         New files, both are not compiled yet to get not noncompiling CVS.
3573
3574 2003-02-24  Tom Tromey  <tromey@redhat.com>
3575
3576         * java/util/prefs/AbstractPreferences.java (isUserNode):
3577         Implemented.
3578
3579 2003-02-24  Tom Tromey  <tromey@redhat.com>
3580
3581         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3582         Deprecate.
3583         * java/lang/Thread.java (resume): Deprecate.
3584         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3585         in @deprecated.
3586
3587 2003-02-23  Tom Tromey  <tromey@redhat.com>
3588
3589         * Makefile.in: Rebuilt.
3590         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3591
3592 2003-02-23  Tom Tromey  <tromey@redhat.com>
3593
3594         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3595         libraries): Removed.
3596         (add_library): Removed.
3597         (_load): Don't call add_library.
3598         (loadLibraryInternal): Likewise.
3599         (init): Likewise.
3600         (lookup_data): New struct.
3601         (find_symbol): New function.
3602         (_Jv_FindSymbolInExecutable): Use it.
3603
3604 2002-02-21  Anthony Green  <green@redhat.com>
3605
3606         * java/lang/Thread.java (Thread): New constructor taking stack
3607         size parameter (ignored for now).
3608         * Many methods: Merged GNU Classpath documentation.
3609
3610         * java/lang/Class.java (finalize): throws a Throwable.
3611
3612 2003-02-21  Mark Wielaard  <mark@klomp.org>
3613
3614         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3615         argument is null.
3616
3617 2003-02-21  Mark Wielaard  <mark@klomp.org>
3618
3619         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3620         then 65535 chars throw IllegalArgumentException.
3621
3622 2003-02-21  Mark Wielaard  <mark@klomp.org>
3623
3624         * java/util/zip/ZipFile.java (finalize): New method.
3625
3626 2003-02-21  Michael Koch  <konqueror@gmx.de>
3627
3628         * gnu/java/nio/natSocketChannelImpl.cc:
3629         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3630         <cato@df.lth.se> for pointing to it.
3631
3632 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3633
3634         * java/math/BigInteger.java (euclidInv): Take result array as an
3635         argument.  Updated all callers.
3636         (modInverse): Removed unused variables.
3637
3638 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3639
3640         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3641         config.status.
3642         * configure: Rebuilt.
3643
3644 2003-02-19  Michael Koch  <konqueror@gmx.de>
3645
3646         * gnu/java/nio/natSocketChannelImpl.cc:
3647         Added support for platforms without network support.
3648
3649 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3650
3651         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3652         after config.h.  Use <> for consistency.
3653         * java/lang/natObject.cc: Likewise.
3654         * java/lang/natRuntime.cc: Likewise.
3655         * java/lang/natSystem.cc: Likewise.
3656         * java/util/natTimeZone.cc: Likewise.
3657         * win32.cc: Likewise.
3658         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3659         listen, write, read): Undef to avoid interference from OS macros.
3660
3661 2003-02-19  Michael Koch  <konqueror@gmx.de>
3662
3663         * gnu/java/nio/ByteBufferImpl.java
3664         (ByteBufferImpl): Renamed two variables.
3665         * gnu/java/nio/CharBufferImpl.java
3666         (CharBufferImpl): Renamed two variables.
3667         * gnu/java/nio/DoubleBufferImpl.java
3668         (DoubleBufferImpl): Renamed two variables.
3669         * gnu/java/nio/FloatBufferImpl.java
3670         (FloatBufferImpl): Renamed two variables.
3671         * gnu/java/nio/IntBufferImpl.java
3672         (IntBufferImpl): Renamed two variables.
3673         * gnu/java/nio/LongBufferImpl.java
3674         (LongBufferImpl): Renamed two variables.
3675         * gnu/java/nio/ShortBufferImpl.java
3676         (ShortBufferImpl): Renamed two variables.
3677         * java/nio/CharBuffer.java
3678         (wrap): Fixed arguments to CharBufferImpl constructor.
3679         (hasArray): Only not read-only buffers have backing arrays.
3680         (length): Documentation added.
3681         (subSequence): Documentation added.
3682         * java/nio/DoubleBuffer.java
3683         (hasArray): Only not read-only buffers have backing arrays.
3684         * java/nio/FloatBuffer.java
3685         (hasArray): Only not read-only buffers have backing arrays.
3686         * java/nio/IntBuffer.java
3687         (hasArray): Only not read-only buffers have backing arrays.
3688         * java/nio/LongBuffer.java
3689         (hasArray): Only not read-only buffers have backing arrays.
3690         * java/nio/ShortBuffer.java
3691         (hasArray): Only not read-only buffers have backing arrays.
3692         
3693 2003-02-19  Michael Koch  <konqueror@gmx.de>
3694
3695         * javax/accessibility/AccessibleContext.java
3696         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3697
3698 2003-02-19  Michael Koch  <konqueror@gmx.de>
3699
3700         * java/awt/ScrollPaneAdjustable.java: Reformated.
3701
3702 2003-02-19  Michael Koch <konqueror@gmx.de>
3703
3704         * gnu/awt/j2d/Graphics2DImpl.java
3705         (getFontRenderContext): New method.
3706         (drawGlyphVector): New method.
3707         * java/awt/Graphics2D.java
3708         (getFontRenderContext): New abstract method.
3709         (drawGlyphVector): New abstract method.
3710         
3711 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
3712
3713         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3714         if necessary.
3715         
3716         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3717         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3718         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3719         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3720         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3721         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3722         (setFont, gtkSetFont): add.
3723         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3724         Propagate font to peer.  (setFont): add FIXME comment.
3725
3726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3727         (gtkTextGetSize): fix height, width computation.
3728
3729         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3730         Make X font name a bit less bogus.
3731
3732         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3733         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3734
3735         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3736         (processAdjustmentEvent): Adjust value.
3737
3738         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3739         logic errors.
3740
3741         * java/awt/Component.java (setVisible, show, hide): Call show and
3742         hide methods in subclasses.
3743         (getPreferredSize): don't set prefSize before we have peer.
3744
3745         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3746         Guess (0,0) if we don't have peer.
3747
3748
3749 2003-02-18  Michael Koch  <konqueror@gmx.de>
3750
3751         * java/nio/channels/FileChannel.java
3752         (toString): New implementation, added documentation.
3753         (map): Added exception documentation.
3754         (size): Added exception documentation.
3755         (write): New methods, documentation work.
3756         (read): New methods, documentation work.
3757         (implCloseChannel): Rewrote exception documentation.
3758         (force): Throws IOException, added documentation.
3759         (lock): New methods.
3760         (tryLock): New methods.
3761         (position): New methods.
3762         (transferTo): New method.
3763         (transferFrom): New method.
3764         (truncate): New method.
3765         * java/nio/channels/spi/SelectorProvider.java
3766         (provider): Implemented.
3767         * Makefile.am
3768         (ordinary_java_source_files): Added the following files:
3769         gnu/java/nio/DatagramChannelImpl.java
3770         gnu/java/nio/FileChannelImpl.java
3771         gnu/java/nio/PipeImpl.java
3772         gnu/java/nio/SelectionKeyImpl.java
3773         gnu/java/nio/SelectorImpl.java
3774         gnu/java/nio/SelectorProviderImpl.java
3775         gnu/java/nio/ServerSocketChannelImpl.java
3776         gnu/java/nio/SocketChannelImpl.java
3777         java/nio/channels/FileLock.java
3778         (nat_java_source_files): Added the following files:
3779         gnu/java/nio/natFileChannelImpl.cc
3780         gnu/java/nio/natSelectorImpl.cc
3781         gnu/java/nio/natSocketChannelImpl.cc
3782         * Makefile.in: Regenerated.
3783
3784 2003-02-17  Tom Tromey  <tromey@redhat.com>
3785
3786         * java/awt/image/ColorModel.java: Re-merged with Classpath.
3787         * java/awt/image/ImageFilter.java: Likewise.
3788
3789 2003-02-17  Raif S. Naffah <raif@fl.net.au>
3790
3791         * java/math/BigInteger.java (euclidInv): Return array of
3792         `BigInteger's.  Changed all callers.
3793
3794 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
3795
3796         * java/util/Properties.java (store): Move the code formerly in
3797         list(), into this method.
3798         (list (PrintStream)): Just call list (PrintWriter) with a 
3799         PrintWriter object constructed from the given PrintStream object.
3800         (list (PrintWriter)): Emulate the output of Properties.list()
3801         as found in JDK 1.3/1.4.
3802
3803 2003-02-17  Michael Koch  <konqueror@gmx.de>
3804
3805         * java/net/DatagramSocket.java
3806         (connect): Merged with classpath.
3807         (disconnect): Merged documentation with classpath.
3808         (receice): Merged documentation with classpath.
3809         (send): Merged documentation with classpath.
3810         
3811 2003-02-17  Michael Koch  <konqueror@gmx.de>
3812
3813         * java/awt/dnd/DragSourceContext.java
3814         (addDragSourceListener): Added documentation.
3815         * java/awt/dnd/DragSourceDragEvent.java
3816         (serialVersionUID): New member variable.
3817         (getDropAction): Reformated.
3818         * java/awt/dnd/DragSourceDropEvent.java
3819         (serialVersionUID): New member variable.
3820         (dropSuccess): Renamed from success for serialization issues.
3821         * java/awt/dnd/DragSourceEvent.java
3822         (serialVersionUID): New member variable.
3823         * java/awt/dnd/DropTarget.java
3824         (serialVersionUID): New member variable.
3825         (DropTarget): Implemented, documentation reworked.
3826         (setComponent): Documentation added.
3827         (getComponent): Documentation added.
3828         (setDefaultActions): Documentation added.
3829         (getDefaultActions): Documentation added.
3830         (addDropTargetListener): Documentation added.
3831         * java/awt/dnd/DropTargetContext.java
3832         (DropTargetContext): Documentation added.
3833         (TransferableProxy.TransferableProxy): New method.
3834         (dropComplete): Fixed documentation.
3835         (getTransferable): Fixed documentation.
3836         (createTransferableProxy): Implemented.
3837         * java/awt/dnd/DropTargetDragEvent.java
3838         (DropTargetDragEvent): Documentation added.
3839         (serialVersionUID): New member variable.
3840         (DropTargetDragEvent): Throw exceptions, documentation added.
3841         (acceptDrag): Implemented.
3842         (getCurrentDataFlavors): Implemented.3yy
3843         (getCurrentDataFlavorsAsList): Implemented.
3844         (isDataFlavorSupported): Implemented.
3845         (rejectDrag): Implemented.
3846         * java/awt/dnd/DropTargetDropEvent.java
3847         (DropTargetDropEvent): Documentation added.
3848         (serialVersionUID): New member variable.
3849         (actions): Renamed from srcActions for serialization issues.
3850         (isLocalTx): Renamed from isLocalTx for serialization issues.
3851         (DropTargetDropEvent): New implementation, throw exceptions,
3852         documentation added.
3853         (getCurrentDataFlavors): Implemented.
3854         (getCurrentDataFlavorsAsList): Implemented.
3855         (isDataFlavorSupported): Implemented.
3856         (getSourceActions): Implemented.
3857         (getDropAction): Implemented.
3858         (getTransferable): Implemented.
3859         (acceptDrop): Implemented.
3860         (rejectDrop): Implemented.
3861         * java/awt/dnd/DropTargetListener.java
3862         (drop): Fixed documentation.
3863         * java/awt/dnd/MouseDragGestureRecognizer.java
3864         (MouseDragGestureRecognizer): Documentation added.
3865
3866 2003-02-17  Michael Koch  <konqueror@gmx.de>
3867
3868         * java/awt/font/FontRenderContext.java,
3869         java/awt/font/ShapeGraphicAttribute.java,
3870         java/awt/font/MultipleMaster.java,
3871         java/awt/font/TransformAttribute.java,
3872         java/awt/font/GlyphJustificationInfo.java,
3873         java/awt/font/LineBreakMeasurer.java,
3874         java/awt/font/TextMeasurer.java,
3875         java/awt/font/TextLayout.java,
3876         java/awt/font/LineMetrics.java,
3877         java/awt/font/TextAttribute.java,
3878         java/awt/font/GlyphMetrics.java,
3879         java/awt/font/OpenType.java,
3880         java/awt/font/GlyphVector.java,
3881         java/awt/font/GraphicAttribute.java,
3882         java/awt/font/ImageGraphicAttribute.java,
3883         java/awt/font/NumericShaper.java: New files.
3884         * Makefile.am
3885         (awt_java_source_files): Added the following files:
3886         java/awt/font/FontRenderContext.java
3887         java/awt/font/ShapeGraphicAttribute.java
3888         java/awt/font/MultipleMaster.java
3889         java/awt/font/TransformAttribute.java
3890         java/awt/font/GlyphJustificationInfo.java
3891         java/awt/font/LineBreakMeasurer.java
3892         java/awt/font/TextMeasurer.java
3893         java/awt/font/TextLayout.java
3894         java/awt/font/LineMetrics.java
3895         java/awt/font/TextAttribute.java
3896         java/awt/font/GlyphMetrics.java
3897         java/awt/font/OpenType.java
3898         java/awt/font/GlyphVector.java
3899         java/awt/font/GraphicAttribute.java
3900         java/awt/font/ImageGraphicAttribute.java
3901         java/awt/font/NumericShaper.java
3902         * Makefile.in: Regenerated.
3903
3904 2003-02-17  Michael Koch  <konqueror@gmx.de>
3905
3906         * java/awt/print/Paper.java
3907         (Paper): Implements Cloneable.
3908         * java/awt/print/PrinterJob.java
3909         (setJobName): Return value must be void.
3910         (print): Throws PrinterException.
3911         
3912 2003-02-16  Tom Tromey  <tromey@redhat.com>
3913
3914         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
3915         variable.
3916
3917 2003-02-15  Michael Koch  <konqueror@gmx.de>
3918
3919         * java/awt/datatransfer/DataFlavor.java
3920         (isRepresentationClassByteBuffer): Removed try-catch block.
3921         (isRepresentationClassCharBuffer): Removed try-catch block.
3922         (isRepresentationClassReader): Removed try-catch block.
3923
3924 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
3925
3926         * java/nio/charset/Charset.java
3927         (isRegistered): Fixed method args and implementation.
3928         * java/nio/charset/CharsetEncoder.java
3929         (unmappableCharacterAction): New method.
3930
3931 2003-02-15  Michael Koch  <konqueror@gmx.de>
3932
3933         * java/awt/CheckboxMenuItem.java
3934         (CheckBoxMenuItem): Dont implement Serializable.
3935         (getListeners): New method,
3936         (getItemListeners): New method.
3937         * java/awt/Choice.java
3938         (getListeners): New method,
3939         (getItemListeners): New method.
3940         * java/awt/Container.java
3941         (getListeners): Added exception documentation.
3942         (setFocusTraversalKeys): Throw exceptions, added documentattion.
3943         (getFocusTraversalKeys): Added documentation.
3944         (areFocusTraversalKeysSet): Added documentation.
3945         (applyComponentOrientation): Added documentation.
3946         * java/awt/ContainerOrderFocusTraversalPolicy.java
3947         (implicitDownCycleTraversal): Renamed from downCycle for
3948         serialization.
3949         (ContainerOrderFocusTraversalPolicy): Added documentation.
3950         (accept): Reformated.
3951         * java/awt/Dialog.java
3952         (Dialog): Dont implement Serializable.
3953         (Dialog): Added documentation.
3954         * java/awt/Font.java
3955         (Font): Dont use absolute class name.
3956         * java/awt/Frame.java
3957         (Frame): Font implement Serializable.
3958         * java/awt/List.java
3959         (getListeners): New method,
3960         (getActionListeners): New method.       
3961         (getItemListeners): New method.
3962         * java/awt/Menu.java
3963         (countItems): New deprecated method.
3964         * java/awt/Scrollbar.java
3965         (getListeners): New method,
3966         (getAdjustmentListeners): New method,
3967         * java/awt/TextComponent.java
3968         (getListeners): New method,
3969         (getTextListeners): New method,
3970         * java/awt/TextField.java
3971         (getListeners): New method,
3972         (getActionListeners): New method.       
3973         * java/awt/Window.java
3974         (windowFocusListener): New member variable.
3975         (windowStateListener): New member variable.
3976         (getWindowFocusListeners): New method.
3977         (getWindowStateListeners): New method.
3978         (addWindowFocusListener): New method.
3979         (addWindowStateListener): New method.
3980         (removeWindowFocusListener): New method.
3981         (removeWindowStateListener): New method.
3982         * java/awt/datatransfer/DataFlavor.java
3983         (isRepresentationClassByteBuffer): New method.
3984         (isRepresentationClassCharBuffer): New method.
3985         (isRepresentationClassReader): New method.
3986
3987 2003-02-14  Mark Wielaard  <mark@klomp.org>
3988
3989         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
3990         zero when there is an exponent and the significant is zero.
3991         (divide): Always set scale to newScale even in special ZERO case.
3992
3993 2003-02-14  Tom Tromey  <tromey@redhat.com>
3994
3995         * java/lang/System.java (properties): Use Properties.clone.
3996         (setProperties): Likewise.
3997
3998 2003-02-14  Michael Koch  <konqueror@gmx.de>
3999
4000         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4001         * gnu/java/nio/ServerSocketChannelImpl.java
4002         (SocketAccept): Removed.
4003         (accept): Commented out use of SocketAccept.
4004
4005 2003-02-13  Tom Tromey  <tromey@redhat.com>
4006
4007         * verify.cc (state::seen_subrs): New field.
4008         (state::state): Initialize it.
4009         (state::clean_subrs): New method.
4010         (state::~state): Call it.
4011         (state::copy): Copy subroutine list.
4012         (state::add_subr): New method.
4013         (state::merge): Only register a change if the current subroutine
4014         hasn't yet been noted.
4015
4016 2003-02-13  Mark Wielaard  <mark@klomp.org>
4017
4018         * java/io/InputStreamReader.java (getEncoding): Return null when
4019         closed.
4020         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4021
4022 2003-02-13  Mark Wielaard  <mark@klomp.org>
4023  
4024         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4025         is zero.
4026
4027 2003-02-13  Mark Wielaard  <mark@klomp.org>
4028
4029         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4030         next byte cannot be buffered.
4031
4032 2003-02-13  Michael Koch  <konqueror@gmx.de>
4033  
4034         * java/awt/Label.java
4035         (Label): Don't implement Serializable directly.
4036         (addNotify): Fixed typo in documentation.
4037         * java/awt/List.java
4038         (List): Don't implement Serializable directly.
4039         * java/awt/PopupMenu.java
4040         (PopupMenu): Don't implement Serializable directly.
4041         * java/awt/ScrollPane.java
4042         (ScrollPane): Don't implement Serializable directly.
4043         * java/awt/Scrollbar.java
4044         (Scrollbar): Don't implement Serializable directly.
4045         * java/awt/TextArea.java
4046         (preferredSize): Fixed method arguments.
4047         * java/awt/TextField.java
4048         (TextField): Don't implement Serializable directly.
4049         * java/awt/color/ICC_ColorSpace.java
4050         (fromCIOXYZ): Documentation added.
4051         (getMinValue): Documentation added.
4052         (getMaxValue): Documentation added.
4053         * java/awt/datatransfer/DataFlavor.java
4054         (isMimeTypeEqual): May not be final.
4055         (clone): Throws CloneNotSupportedException.
4056         (getReaderForText): Don't throws UnsupportedEncodingException.
4057
4058 2003-02-13  Michael Koch  <konqueror@gmx.de>
4059  
4060         * gnu/java/awt/peer/gtk/GdkGraphics.java
4061         (drawString): New stubbed method.
4062         * java/awt/Graphics.java
4063         (drawString): New method.
4064
4065 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4066
4067         PR libgcj/9271:
4068         * java/security/SecureRandom.java (next): Avoid bias in results.
4069
4070 2003-02-13  Michael  <konqueror@gmx.de>
4071
4072         * gnu/java/nio/FileChannelImpl.java
4073         (lengthInternal): Must be native.
4074         (size): Check if channel is already closed.
4075         (implCloseChannel): Reformated.
4076         (read): w was unused, removed it.
4077         (read): Removed.
4078         (read): New method.
4079         (write): New method.
4080         (map): Check arguments.
4081         (force): Throws IOException, check if channel is closed.
4082         (transferTo): New method.
4083         (transferFrom): New method.
4084         (lock): New method.
4085         (tryLock): New method.
4086         (position): New method.
4087         (truncate): New method.
4088         (nio_mmap_file): Uncommented.
4089         (nio_munmap_file): Uncommented.
4090         (nio_msync): Uncommented.
4091         * gnu/java/nio/natFileChannelImpl.cc: New file.
4092         
4093 2003-02-13  Michael Koch  <konqueror@gmx.de>
4094
4095         * java/nio/ByteBuffer.java
4096         (endian): New member variable.
4097         (get): New methods.
4098         (equals): New method.
4099         (compareTo): New method.
4100         (order): New methods.
4101         (compact): New method.
4102         (isDirect): New method.
4103         (slice): New method.
4104         (duplicate): New method.
4105         (asReadOnlyBuffer): New method.
4106         (asCharBuffer): New method.
4107         (asDoubleBuffer): New method.
4108         (asFloatBuffer): New method.
4109         (asIntBuffer): New method.
4110         (asLongBuffer): New method.
4111         (asShortBuffer): New method.
4112         (get*): New methods.
4113         (put*): New methods.
4114         (toString): New method.
4115         * java/nio/CharBuffer.java
4116         (CharBuffer): Implement Comparable instead of Cloneable.
4117         (get): May not be final.
4118         (put): May not be final.
4119         
4120 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4121
4122         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4123         lastIndexOf( ) instead of indexOf( ) to find the colon before
4124         the line number, because Win32 file names might contain a 
4125         drive letter and a colon at the start of an absolute path.
4126
4127 2003-02-13  Michael Koch  <konqueror@gmx.de>
4128
4129         * gnu/java/nio/natSocketChannelImpl.cc
4130         (SocketConnect): This is not implemented yet.
4131         (SocketBind): This is not implemented yet.
4132
4133 2003-02-13  Michael Koch  <konqueror@gmx.de>
4134
4135         * gnu/java/nio/natByteBufferImpl.cc,
4136         gnu/java/nio/natCharBufferImpl.cc,
4137         gnu/java/nio/natDoubleBufferImpl.cc,
4138         gnu/java/nio/natFloatBufferImpl.cc,
4139         gnu/java/nio/natIntBufferImpl.cc,
4140         gnu/java/nio/natLongBufferImpl.cc,
4141         gnu/java/nio/natShortBufferImpl.cc:
4142         Added copyright and license.
4143         * java/nio/DoubleBuffer.java,
4144         java/nio/FloatBuffer.java,
4145         java/nio/IntBuffer.java,
4146         java/nio/LongBuffer.java,
4147         java/nio/ShortBuffer.java
4148         (array): Throw exceptions.
4149         (arrayOffset): Throw exceptions.
4150
4151 2003-02-13  Michael Koch  <konqueror@gmx.de>
4152  
4153         * gnu/java/util/prefs/FileBasedFactory.java,
4154         gnu/java/util/prefs/MemmoryBasedFactory.java,
4155         gnu/java/util/prefs/MemoryBasedPreferences.java,
4156         gnu/java/util/prefs/NodeReader.java,
4157         gnu/java/util/prefs/NodeWriter.java,
4158         java/util/prefs/AbstractPreferences.java,
4159         java/util/prefs/BackingStoreException.java,
4160         java/util/prefs/InvalidPreferencesFormatException.java,
4161         java/util/prefs/NodeChangeEvent.java,
4162         java/util/prefs/NodeChangeListener.java,
4163         java/util/prefs/PreferenceChangeEvent.java,
4164         java/util/prefs/PreferenceChangeListener.java,
4165         java/util/prefs/Preferences.java,
4166         java/util/prefs/PreferencesFactory.java:
4167         New files, all merged from classpath.
4168         * Makefile.am
4169         (ordinary_java_source_files): Added the following files:
4170         gnu/java/util/prefs/FileBasedFactory.java,
4171         gnu/java/util/prefs/MemmoryBasedFactory.java,
4172         gnu/java/util/prefs/MemoryBasedPreferences.java,
4173         gnu/java/util/prefs/NodeReader.java,
4174         gnu/java/util/prefs/NodeWriter.java,
4175         (core_java_source_files): Added the following files:
4176         java/util/prefs/AbstractPreferences.java,
4177         java/util/prefs/BackingStoreException.java,
4178         java/util/prefs/InvalidPreferencesFormatException.java,
4179         java/util/prefs/NodeChangeEvent.java,
4180         java/util/prefs/NodeChangeListener.java,
4181         java/util/prefs/PreferenceChangeEvent.java,
4182         java/util/prefs/PreferenceChangeListener.java,
4183         java/util/prefs/Preferences.java,
4184         java/util/prefs/PreferencesFactory.java
4185         * Makefile.in: Regenerated.
4186  
4187 2003-02-13  Michael Koch  <konqueror@gmx.de>
4188
4189         * java/net/NetPermission.java
4190         (NetPermission): Make doucmentation match the method declaration.
4191         * java/net/NetworkInterface.java
4192         (equals): Reformated for GNU coding style.
4193         * java/net/ServerSocket.java: Merged with classpath.
4194         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4195         * java/net/SocketImpl.java
4196         (localPort): Merged with classpath (initialize with -1).
4197         * java/net/SocketPermission.java: Merged with classpath (reindented).
4198         * java/net/URLDecoder.java: Merged with classpath (reindented).
4199
4200 2003-02-13  Michael Koch  <konqueror@gmx.de>
4201
4202         * java/awt/GridBagConstraints.java
4203         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4204         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4205         * java/awt/KeyboardFocusManager.java
4206         (setGlobalCurrentFocusCycleRoot): Must be public.
4207         * java/awt/MenuComponent.java
4208         (MenuComponent): Must be public.
4209         * java/awt/Toolkit.java:
4210         Added some empty lines to make documentation more readable.
4211         (getFontPeer): Added @deprecated.
4212         (getColorModel): Added exception documentation.
4213         (getProperty): Fixed documentation.
4214  
4215 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4216
4217         * configure.host (alpha*-*): Default to -mieee.
4218         * configure.in (IEEESPEC): New.
4219         * libgcj.spec.in (jc1): Add IEEESPEC.
4220         * configure: Rebuild.
4221
4222 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4223
4224         * include/win32.h: Include ws2tcpip.h instead of
4225         winsock.h to obtain definition of the socklen_t type.
4226         Remove IP_TOS definition - not needed with ws2tcpip.h
4227         (_Jv_connect): Correct slight formatting error.
4228
4229 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4230
4231         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4232         size of the arguments for a JNI function. For Win32,
4233         modify to search for all forms of possible exported
4234         names of an stdcall JNI function.
4235         (_Jv_JNIMethod::call): Modify to calculate the size
4236         of the arguments passed to a JNI function and pass
4237         it to _Jv_LookupJNIMethod.
4238
4239 2003-02-12  Michael Koch  <konqueror@gmx.de>
4240
4241         * java/nio/channels/Channels.java: New file.
4242         * Makefile.am
4243         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4244         * Makefile.in: Regenerated.
4245
4246 2003-02-12  Michael Koch  <konqueror@gmx.de>
4247
4248         * java/nio/ByteBuffer.java
4249         (allocate): Implemented.
4250         (wrap): Implemented.
4251         * java/nio/CharBuffer.java:
4252         Some documentation added and reworked.
4253         (endian): Removed.
4254         (allocate): Implemented.
4255         (wrap): Implemented.
4256         (array): Throw exceptions.
4257         (arrayOffset): Throw exceptions.
4258         (toString): Implemented.
4259         (length): Implemented.
4260         (put): Implemented.
4261         (charAt): Implemented.
4262
4263 2003-02-11  John Leuner  <jewel@debian.org>
4264
4265         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4266         reads from end of file.
4267
4268 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4269
4270         * java/io/natFileDescriptorWin32.cc 
4271         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4272         returns with Win32 error code ERROR_BROKEN_PIPE.
4273
4274 2003-02-11  Michael Koch  <konqueror@gmx.de>
4275
4276         * Makefile.in
4277         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4278
4279 2003-02-11  Michael Koch  <konqueror@gmx.de>
4280
4281         * gnu/java/nio/ByteBufferImpl.java:
4282         Reformated and removed some code.
4283         (backing_buffer): Removed.      
4284         (array_offset): Removed.
4285         (ro): Renamed to readOnly.
4286         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4287         * gnu/java/nio/CharBufferImpl.java:
4288         Reformated and removed some code.
4289         (array_offset): Removed.
4290         (ro): Renamed to readOnly.
4291         (CharBufferImpl): Use parent constructor, initialize readOnly.
4292         (inc_pos): Removed.
4293         (order): New method.
4294         * gnu/java/nio/DoubleBufferImpl.java:
4295         Reformated and removed some code.
4296         (array_offset): Removed.
4297         (ro): Renamed to readOnly.
4298         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4299         (inc_pos): Removed.
4300         (order): New method.
4301         * gnu/java/nio/FloatBufferImpl.java:
4302         Reformated and removed some code.
4303         (array_offset): Removed.
4304         (ro): Renamed to readOnly.
4305         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4306         (inc_pos): Removed.
4307         (order): New method.
4308         * gnu/java/nio/IntBufferImpl.java:
4309         Reformated and removed some code.
4310         (array_offset): Removed.
4311         (ro): Renamed to readOnly.
4312         (IntBufferImpl): Use parent constructor, initialize readOnly.
4313         (inc_pos): Removed.
4314         (order): New method.
4315         * gnu/java/nio/LongBufferImpl.java:
4316         Reformated and removed some code.
4317         (array_offset): Removed.
4318         (ro): Renamed to readOnly.
4319         (LongBufferImpl): Use parent constructor, initialize readOnly.
4320         (inc_pos): Removed.
4321         (order): New method.
4322         * gnu/java/nio/ShortBufferImpl.java:
4323         Reformated and removed some code.
4324         (array_offset): Removed.
4325         (ro): Renamed to readOnly.
4326         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4327         (inc_pos): Removed.
4328         (order): New method.
4329         * Makefile.am
4330         (ordinary_java_source_files): Added the following files:
4331         gnu/java/nio/ByteBufferImpl.java
4332         gnu/java/nio/CharBufferImpl.java
4333         gnu/java/nio/DoubleBufferImpl.java
4334         gnu/java/nio/FloatBufferImpl.java
4335         gnu/java/nio/IntBufferImpl.java
4336         gnu/java/nio/LongBufferImpl.java
4337         gnu/java/nio/ShortBufferImpl.java
4338         java/nio/DoubleBuffer.java
4339         java/nio/FloatBuffer.java
4340         java/nio/IntBuffer.java
4341         java/nio/LongBuffer.java
4342         java/nio/ShortBuffer.java
4343         (nat_source_files): Added the following files:
4344         gnu/java/nio/natByteBufferImpl.cc
4345         gnu/java/nio/natCharBufferImpl.cc
4346         gnu/java/nio/natDoubleBufferImpl.cc
4347         gnu/java/nio/natFloatBufferImpl.cc
4348         gnu/java/nio/natIntBufferImpl.cc
4349         gnu/java/nio/natLongBufferImpl.cc
4350         gnu/java/nio/natShortBufferImpl.cc
4351         * Makefile.in: Regenerated.
4352
4353 2003-02-11  Michael Koch  <konqueror@gmx.de>
4354
4355         * gnu/java/nio/natCharBufferImpl.cc
4356         (nio_cast): Removed.
4357         (nio_put_*): Removed.
4358         (nio_get_*): Removed.
4359         * gnu/java/nio/natDoubleBufferImpl.cc
4360         (nio_cast): Removed.
4361         (nio_put_*): Removed.
4362         (nio_get_*): Removed.
4363         * gnu/java/nio/natFloatBufferImpl.cc
4364         (nio_cast): Removed.
4365         (nio_put_*): Removed.
4366         (nio_get_*): Removed.
4367         * gnu/java/nio/natIntBufferImpl.cc
4368         (nio_cast): Removed.
4369         (nio_put_*): Removed.
4370         (nio_get_*): Removed.
4371         * gnu/java/nio/natLongBufferImpl.cc
4372         (nio_cast): Removed.
4373         (nio_put_*): Removed.
4374         (nio_get_*): Removed.
4375         * gnu/java/nio/natShortBufferImpl.cc
4376         (nio_cast): Removed.
4377         (nio_put_*): Removed.
4378         (nio_get_*): Removed.
4379         * gnu/java/nio/SelectorProviderImpl.java
4380         (openDatagramChannel): Throws IOException.
4381         (openPipe): Throws IOException.
4382         (openSelector): Throws IOException.
4383         (openServerSocketChannel): Throws IOException.
4384         (openSocketChannel): Throws IOException.
4385         * gnu/java/nio/ServerSocketChannelImpl.java
4386         (ServerSocketChannelImpl): Throws IOException.
4387         (implCloseSelectableChannel): Throws IOException.
4388         (implConfigureBlocking): Throws IOException.
4389         * java/nio/ByteBuffer.java
4390         (readOnly): Removed.
4391         (hasArray): Use isReadOnly() instead of readOnly.
4392         (array): Use isReadOnly() instead of readOnly.
4393         (arrayOffset): Use isReadOnly() instead of readOnly.
4394         * java/nio/CharBuffer.java
4395         (CharBuffer): Implements Cloneable and CharSequence.
4396
4397 2003-02-11  Michael Koch  <konqueror@gmx.de>
4398
4399         * java/nio/DoubleBuffer.java
4400         (DoubleBuffer): Implements Comparable.
4401         (endian): Removed.
4402         (array_offset): New member variable.
4403         (DoubleBuffer): New constuctor.
4404         (get): May not be final.
4405         (put): May not be final.
4406         (arrayOffset): Implemented.
4407         (order): Made abstract.
4408         (order): Removed.
4409         (as*Buffer): Removed.
4410         (get*): Removed.
4411         (put*): Removed.
4412         * java/nio/FloatBuffer.java
4413         (FloatBuffer): Implements Comparable.
4414         (endian): Removed.
4415         (array_offset): New member variable.
4416         (FloatBuffer): New constuctor.
4417         (get): May not be final.
4418         (put): May not be final.
4419         (arrayOffset): Implemented.
4420         (order): Made abstract.
4421         (order): Removed.
4422         (as*Buffer): Removed.
4423         (get*): Removed.
4424         (put*): Removed.
4425         * java/nio/IntBuffer.java
4426         (IntBuffer): Implements Comparable.
4427         (endian): Removed.
4428         (array_offset): New member variable.
4429         (IntBuffer): New constuctor.
4430         (get): May not be final.
4431         (put): May not be final.
4432         (arrayOffset): Implemented.
4433         (order): Made abstract.
4434         (order): Removed.
4435         (as*Buffer): Removed.
4436         (get*): Removed.
4437         (put*): Removed.
4438         * java/nio/LongBuffer.java
4439         (LongBuffer): Implements Comparable.
4440         (endian): Removed.
4441         (array_offset): New member variable.
4442         (LongBuffer): New constuctor.
4443         (get): May not be final.
4444         (put): May not be final.
4445         (arrayOffset): Implemented.
4446         (order): Made abstract.
4447         (order): Removed.
4448         (as*Buffer): Removed.
4449         (get*): Removed.
4450         (put*): Removed.
4451         * java/nio/ShortBuffer.java
4452         (ShortBuffer): Implements Comparable.
4453         (endian): Removed.
4454         (array_offset): New member variable.
4455         (ShortBuffer): New constuctor.
4456         (get): May not be final.
4457         (put): May not be final.
4458         (arrayOffset): Implemented.
4459         (order): Made abstract.
4460         (order): Removed.
4461         (as*Buffer): Removed.
4462         (get*): Removed.
4463         (put*): Removed.
4464
4465 2003-02-11   Michael Koch  <konqueror@gmx.de>
4466
4467         * java/nio/channels/SelectionKey.java
4468         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4469         values.
4470
4471 2003-02-11  Michael Koch  <konqueror@gmx.de>
4472
4473         * java/nio/channels/DatagramChannel.java
4474         (write): Throws IOException.
4475         (connect): Throws IOException.
4476         (disconnect): Throws IOException.
4477         (read): Throws IOException.
4478         (receive): Throws IOException.
4479         (send): Throws IOException.
4480         * java/nio/channels/Pipe.java
4481         (open): Throws IOException.
4482         * java/nio/channels/SelectableChannel.java
4483         (configureBlocking): Throws IOException.
4484         * java/nio/channels/ServerSocketChannel.java
4485         (accept): Throws IOException.
4486         * java/nio/channels/SocketChannel.java
4487         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4488         GatheringByteChannel.
4489         (read): Throws IOException.
4490         (write): Throws IOException.
4491         (finishConnect): Throws IOException.
4492         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4493         (end): Throws AsynchronousCloseException.
4494         * java/nio/channels/spi/AbstractSelectableChannel.java
4495         (configureBlocking): Throws IOException.
4496         (implCloseChannel): Throws IOException.
4497         (implCloseSelectableChannel): Throws IOException.
4498         (implConfigureBlocking): Throws IOException.
4499         * java/nio/channels/spi/SelectorProvider.java
4500         (openDatagramChannel): Throws IOException.
4501         (openPipe): Throws IOException.
4502         (openSelector): Throws IOException.
4503         (openServerSocketChannel): Throws IOException.
4504         (openSocketChannel): Throws IOException.
4505
4506 2003-02-11  Michael Koch  <konqueror@gmx.de>
4507
4508         * gnu/java/nio/FileLockImpl.java,
4509         java/nio/channels/FileLock.java: New files.
4510
4511 2003-02-11  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/nio/charset/IllegalCharsetNameException.java
4514         (serialVersionUID): New member variable.
4515         (charsetName): New member variable.
4516         (IllegalCharsetException): New implementation.
4517         (getCharsetName): New implementation.
4518         * java/nio/charset/UnsupportedCharsetException.java
4519         (serialVersionUID): New member variable.
4520         (charsetName): New member variable.
4521         (UnsupportedCharsetException): New implementation.
4522         (getCharsetName): New implementation.
4523
4524 2003-02-10  Tom Tromey  <tromey@redhat.com>
4525
4526         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4527         (ex): Renamed from sqlException.
4528
4529 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4530
4531         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4532         method used to ensure seeding has occurred and that a specific 
4533         seed can be set and used.
4534
4535 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4536
4537         * java/lang/Win32Process.java (destroy): Declare as native.
4538         (hasExited): New native method.
4539         (exitValue): Define.
4540         (getErrorStream): Likewise.
4541         (getInputStream): Likewise.
4542         (getOutputStream): Likewise.
4543         (waitFor): Declare as native.
4544         (startProcess): New native method.
4545         (cleanup): Likewise.
4546         (ConcreteProcess): Define.
4547         (outputStream, inputStream, errorStream): New members.
4548         (procHandle, exitCode): Likewise.
4549
4550         * java/lang/natWin32Process.cc
4551         (java::lang::ConcreteProcess::cleanup): Define.
4552         (java::lang::ConcreteProcess::destroy): Likewise.
4553         (java::lang::ConcreteProcess::hasExited): Likewise.
4554         (java::lang::ConcreteProcess::waitFor): Likewise.
4555         (new_string): Likewise.
4556         (java::lang::ConcreteProcess::startProcess): Likewise.
4557
4558 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4559
4560         * java/math/BigInteger.java:
4561         Updated notice to include years 2002 and 3.
4562         Added 2 private (int) arrays with values from the HAC (Handbook of
4563         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4564         and t[] that contains nbr. of tests --used in isProbablePrime().
4565
4566         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4567
4568         * java/math/BigInteger.java (make(int[],int), add(int,int),
4569         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4570         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4571         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4572         make(long).
4573
4574         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4575         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4576         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4577         BIs and returns void.
4578         (modInverse(BI)): Use new signatures of euclidInv().
4579
4580         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4581         static small primes instead of remainder().
4582         Use pre-computed max nbr of trials based on bitlength of BI to test.
4583         Use pre-computed small primes for the trial tests instead of random
4584         numbers.
4585
4586         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4587         not used.
4588
4589         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4590         invoacation of MPN.chars_per_word().  not used.
4591
4592         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4593         local var and used where needed.
4594
4595         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4596         Combined declaration with initialisation of locals.
4597         Removed unused var.
4598
4599         * java/math/BigInteger.java: Style changes
4600         (pow(int)): Removed 'else' keyword.
4601         (toString(int)): idem.
4602         (doubleValue()): idem.
4603         (bitLength()): idem.
4604         (equals(Object)): Use static methods name in same class w/o prepending
4605         class name.
4606         (doubleValue()): idem.
4607         (setNegative(BI)): idem.
4608         (negate()): idem.
4609         (and(BI,int)): idem.
4610         (and(BI)): idem.
4611         (gcd(BI)): idem.
4612         (byteArrayToIntArray()): Removed casting to (int). this is
4613         std. behaviour.
4614         (canonicalize()): idem.
4615         (alloc(int)): Always instantiate a new BI.
4616
4617 2003-02-10  Tom Tromey  <tromey@redhat.com>
4618
4619         * java/sql/Timestamp.java (compareTo(Object)): New method.
4620         (compareTo(Timestamp)): Likewise.
4621         (serialVersionUID): Updated.
4622
4623 2003-02-07  Mark Wielaard  <mark@klomp.org>
4624
4625         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4626         when verify is true.
4627         (JarFile(File, boolean)): Likewise.
4628         (manifestRead): Set manifestRead field correctly.
4629
4630 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4631
4632         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4633         tests; see patch #1016 on Savannah.
4634
4635 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4636
4637         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4638         (toString): do not return Strings starting with . and - erroneously.
4639         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4640         DiagBigDecimal.
4641
4642 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4643
4644         * java/beans/PropertyDescriptor.java
4645         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4646         methods.
4647         (PropertyDescriptor(String, Class, String, String)): Likewise.
4648         (PropertyDescriptor(String, Method, Method): Factor out getter and
4649         setter method sanity checks into new method.
4650         (findMethods): Don't do parameter sanity checking of get method here.
4651         (checkMethods): New method.
4652
4653 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4654
4655         * java/beans/PropertyDescriptor.java: Reformat.
4656
4657 2003-02-04  Tom Tromey  <tromey@redhat.com>
4658
4659         * java/io/PipedOutputStream.java (flush): Declare as throwing
4660         IOException.
4661         (close): Likewise.
4662         * java/io/PipedWriter.java (close): Declare as throwing
4663         IOException.
4664         * java/io/StringWriter.java (close): Declare as throwing
4665         IOException.
4666
4667 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4668
4669         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4670         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4671         could also have been exported as "JNI_OnLoad@8" (MinGW) or
4672         "_JNI_OnLoad@8" (MSVC).
4673
4674 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
4675
4676         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4677         convention on Win32 to invoke native JNI methods.
4678
4679 2003-02-03  Andrew Haley  <aph@redhat.com>
4680
4681         * configure.host (x86_64): Enable interpreter.
4682
4683 2003-02-03  Andrew Haley  <aph@redhat.com>
4684
4685         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4686         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4687         * configure.in (BACKTRACESPEC): New.
4688         * configure: Regenerate.
4689
4690 2003-02-02  Tom Tromey  <tromey@redhat.com>
4691
4692         * configure: Rebuilt.
4693         * configure.in (TOOLKIT) [xlib]: Set correctly.
4694
4695         * Makefile.in: Rebuilt.
4696         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4697         libstdc++.
4698
4699 2003-01-31  Mark WIelaard  <mark@klomp.org>
4700
4701         * Makefile.in: Rebuilt.
4702         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4703
4704 2003-01-31  Tom Tromey  <tromey@redhat.com>
4705
4706         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4707         cast to element type.
4708         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4709         (_Jv_JNI_GetObjectArrayElement): Likewise.
4710
4711         * Makefile.in: Rebuilt.
4712         * Makefile.am (cond_x_ltlibrary): Renamed library to
4713         lib-gnu-awt-xlib.la.
4714         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4715         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4716         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4717         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4718         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4719         (lib_gnu_awt_xlib_la_LINK): Likewise.
4720         (install-exec-hook): Removed.
4721         (lib-gnu-awt-xlib.la): Renamed.
4722
4723 2003-01-31  Tom Tromey  <tromey@redhat.com>
4724
4725         * aclocal.m4, configure, include/config.h.in: Rebuilt.
4726         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4727         aclocal.m4 and lost in some merge.
4728
4729         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4730         Don't try to find graphics configuration.
4731         * java/awt/Toolkit.java (default_toolkit_name): Use new
4732         Configuration entry.
4733         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4734         New global.
4735         * configure: Rebuilt.
4736         * configure.in (TOOLKIT): New subst.
4737         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4738         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
4739         directory.  Make output directories for .c files.
4740         * Makefile.in: Rebuilt.
4741         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4742         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4743         (all_java_source_files): Added new sources.
4744         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4745         (gtk_c_files): New macro.
4746         (gtk_c_source_files): New macro.
4747         (cond_gtk_ltlibrary): New macro.
4748         ($(gtk_c_files)): New target.
4749         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4750         (gtk_awt_peer_sources): New macro.
4751         (gtk_c_headers): New macro.
4752         ($(gtk_c_headers)): New target.
4753         (ACLOCAL_AMFLAGS): New macro.
4754         * gtk.m4, glib.m4, libart.m4: New files.
4755         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4756         gnu/java/awt/peer/gtk/GdkGraphics.java,
4757         gnu/java/awt/peer/gtk/GtkArg.java,
4758         gnu/java/awt/peer/gtk/GtkArgList.java,
4759         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4760         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4761         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4762         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4763         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4764         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4765         gnu/java/awt/peer/gtk/GtkClipboard.java,
4766         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4767         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4768         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4769         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4770         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4771         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4772         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4773         gnu/java/awt/peer/gtk/GtkImage.java,
4774         gnu/java/awt/peer/gtk/GtkImagePainter.java,
4775         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4776         gnu/java/awt/peer/gtk/GtkListPeer.java,
4777         gnu/java/awt/peer/gtk/GtkMainThread.java,
4778         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4779         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4780         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4781         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4782         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4783         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4784         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4785         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4786         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4787         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4788         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4789         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4790         gnu/java/awt/peer/gtk/GtkToolkit.java,
4791         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4792         gnu/java/awt/peer/gtk/TestAWT.java,
4793         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4795         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4796         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4797         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4798         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4799         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4800         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4801         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4802         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4804         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
4805         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4806         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
4807         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4808         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4809         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
4810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4811         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
4813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
4816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4821         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
4822         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
4823         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
4824         jni/classpath/native_state.c, jni/classpath/native_state.h,
4825         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
4826
4827 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
4828
4829         * java/util/Properties.java (load): Ignore backslash before EOF.
4830
4831 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
4832
4833         * java/lang/natClass.cc (initializeClass): Check tables when
4834         (state == JV_STATE_IN_PROGRESS).
4835         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
4836         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
4837         interpreted classes.
4838         (linkClass0): Use _Jv_WaitForState.
4839
4840 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
4841
4842         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
4843         object when finished.
4844
4845 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
4846
4847         * libjava/configure.host: Disable can_unwind_signal on darwin.
4848
4849 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
4850
4851         Fixes PR java/9254:
4852         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
4853         additionally containing id of the owner thread as well as
4854         the number of nested times the thread has acquired the mutex.
4855         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
4856         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
4857         (_Jv_MutexUnlock): Check if really the owner thread, reset
4858         owner thread id to 0 before leaving, if leaving for the last
4859         time.
4860         (_Jv_MutexLock): Set owner thread id in the mutex and increment
4861         refcount.
4862         (_Jv_ThreadYield): Yield using a call to Sleep(0).
4863         * win32-threads.cc (_Jv_CondWait): Check if really owner of
4864         the passed mutex.
4865         Pass handle of the broadcast event, instead of a pointer to it
4866         in Win32 ResetEvent( ) call.
4867         Remove incorrect return values.
4868         (_Jv_CondDestroy): Close both event handles and delete
4869         critical section.
4870         (_Jv_CondNotify): Check if really the owner thread.
4871         (_Jv_CondNotifyAll): Check if really the owner thread.
4872         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
4873         (really_start): Use SetEvent( ) to signal daemon_cond.
4874         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
4875         WaitForSingleObject( ) instead to wait for daemon_cond to be
4876         signalled.
4877
4878 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
4879
4880         * configure.in: Specifically define HAVE_BACKTRACE if building
4881         for MinGW.
4882         * include/win32.h: Remove HAVE_BACKTRACE definition.
4883         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
4884         * configure: Rebuilt.
4885
4886 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
4887
4888         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
4889         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
4890         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
4891         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
4892         * Makefile.in, configure: Rebuilt.
4893
4894 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
4895
4896         Fixes PR java/9253:
4897         * java/io/natFileWin32.cc (performList): Append only "*.*"
4898         if the canonical file path already has a "\" at the end.
4899
4900 2003-01-24  Tom Tromey  <tromey@redhat.com>
4901
4902         * defineclass.cc (handleMethodsEnd): Precompute code for static
4903         method.
4904         (handleCodeAttribute): Likewise.
4905         * resolve.cc (ncode): Use run_class for unsynchronized static
4906         methods.
4907         * include/java-interp.h (class _Jv_InterpMethod): Declare
4908         run_class.
4909         * interpret.cc (run_synch_class): Initialize class.
4910         (run) [insn_invokestatic]: Don't initialize class.
4911         [insn_anewarray]: Likewise.
4912         [insn_multianewarray]: Likewise.
4913         (run_class): New function.
4914
4915 2003-01-24  Tom Tromey  <tromey@redhat.com>
4916
4917         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
4918         comment.
4919
4920 2003-01-22  Andrew Haley  <aph@redhat.com>
4921
4922         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
4923         * configure.host (CHECKREFSPEC): Define for x86_64.
4924
4925 2003-01-21  Tom Tromey  <tromey@redhat.com>
4926
4927         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
4928         search at 2, not 3.
4929
4930 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
4931
4932         * java/io/natFileWin32.cc (isAbsolute): Check path length before
4933         looking at any characters.
4934         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
4935         be used.
4936         (isAbsolute): Check path's length as well.
4937
4938 2003-01-17  Mark Wielaard  <mark@klomp.org>
4939
4940         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
4941         (nat_source_files): Add natVMObjectStreamClass.cc.
4942         * Makefile.in: Regenerated.
4943         * gcj/javaprims.h (namespace java): Regenerated.
4944         * java/io/ObjectStreamClass.java (getClassUID): Call
4945         VMObjectStreamClass.hasClassInitializer().
4946         (hasClassInitializer): Removed.
4947         * java/io/VMObjectStreamClass.java: New class.
4948         * java/io/natVMObjectStreamClass.cc: New file.
4949         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
4950
4951 2003-01-16  Mark Wielaard  <mark@klomp.org>
4952
4953         * java/net/SocketImpl.java (toString): Don't explicitly call
4954         toString() on possible null address.
4955
4956 2003-01-16  Michael Koch  <konqueror@gmx.de>
4957
4958         * java/net/MulticastSocket.java
4959         (setInterface): Reindented.
4960
4961 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4962
4963         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
4964         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
4965         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
4966         translateY arguments.  Implement.
4967         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
4968         down translation arguments.
4969         (drawPolyline, drawPolygon): Fix incorrect tests.
4970         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
4971         translateX and translateY arguments.
4972
4973 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4974
4975         * Makefile.in: Rebuilt.
4976         * Makefile.am (xlib_includes): New macro.
4977         (INCLUDES): Use it.
4978
4979 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4980
4981         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
4982         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
4983         16-bit display mode.
4984
4985 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
4986
4987         * java/awt/CardLayout.java (show): Rewrote.
4988         (gotoComponent): Removed `target' argument.  Simplified code.
4989         Don't pre-compute `choice' unless `what' is FIRST or LAST.
4990         Changed all callers.
4991         (NONE): Removed.
4992         
4993 2003-01-14  Michael Koch  <konqueror@gmx.de>
4994
4995         * java/net/InetSocketAddress.java
4996         (serialVersionUID): New member variable.
4997         * java/net/NetPermission.java
4998         (NetPermission): Dont implement java.io.Serialization directly.
4999         * java/net/SocketAddress.java:
5000         (serialVersionUID): Documentation added.
5001         
5002 2003-01-14  Michael Koch  <konqueror@gmx.de>
5003
5004         * java/awt/Label.java
5005         (Label): Implements javax.accessibility.Accessible;
5006         * java/awt/List.java
5007         (List): Implements javax.accessibility.Accessible;
5008         * java/awt/ScrollPane.java
5009         (ScrollPane): Implements javax.accessibility.Accessible;
5010         * java/awt/Scrollbar.java
5011         (Scrollbar): Implements javax.accessibility.Accessible;
5012         * java/awt/TextComponent.java
5013         (setCaretPosition): Throw exception, documentation added.
5014         * java/awt/Toolkit.java:
5015         Added some newlines in method documentations.
5016         (createButton): Exception documentation added.
5017         (createTextField): Exception documentation added.
5018         (createLabel): Exception documentation added.
5019         (createList): Exception documentation added.
5020         (createCheckbox): Exception documentation added.
5021         (createScrollbar): Exception documentation added.
5022         (createScrollPane): Exception documentation added.
5023         (createTextArea): Exception documentation added.
5024         (createChoice): Exception documentation added.
5025         (createFrame): Exception documentation added.
5026         (createWindow): Exception documentation added.
5027         (createDialog): Exception documentation added.
5028         (createMenuBar): Exception documentation added.
5029         (createMenu): Exception documentation added.
5030         (createMenuItem): Exception documentation added.
5031         (createFileDialog): Exception documentation added.
5032         (createCheckboxMenuItem): Exception documentation added.
5033         (loadSystemColors): Exception documentation added.
5034         (setDynamicLayout): Exception documentation added.
5035         (isDynamicLayoutSet): Exception documentation added.
5036         (isDynamicLayoutActive): Exception documentation added.
5037         (getScreenSize): Exception documentation added.
5038         (getScreenResolution): Exception documentation added.
5039         (getScreenInsets): Exception documentation added.
5040         (getColorModel): Exception documentation added.
5041         (getSystemClipboard): Exception documentation added.
5042         (getSystemSelection): Exception documentation added.
5043         (getMenuShortcutKeyMask): Exception documentation added.
5044         (getSystemEventQueue): Exception documentation added.
5045         * java/awt/Window.java:
5046         Reindented some code.
5047         (Window): Centralized implementation, documentation added.
5048         (finalize): Documentation added.
5049         (hide): Fixed typo in comment.
5050         (getWindowListeners): Documentation added.
5051         * java/awt/color/ColorSpace.java
5052         (toRGB): Documentation added.
5053         * java/awt/color/ICC_ColorSpace.java
5054         (ICC_ColorSpace): Documentation added.
5055         (toRGB): Throw exception, documentation added.
5056         (fromRGB): Throw exception, documentation added.
5057         (toCIEXYZ): Documentation added.
5058         (fromCIEXYZ): Documentation added.
5059         (getMinValue): Documentation added.
5060         (getMaxValue): Documentation added.
5061         * java/awt/geom/Dimension2D.java
5062         (clone): Documentation added.
5063         * java/awt/geom/GeneralPath.java
5064         (clone): Documentation added.
5065         * java/awt/geom/Line2D.java
5066         (clone): Documentation added.
5067         * java/awt/geom/QuadCurve2D.java
5068         (clone): Documentation added.
5069         * java/awt/image/ColorModel.java
5070         (ColorModel): Throw exception, documentation added.
5071         * java/awt/image/ImageFilter.java
5072         (clone): Doesnt throw CloneNotSupportedException.
5073
5074 2003-01-14  Andrew Haley  <aph@redhat.com>
5075
5076         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5077         in a try block.
5078
5079 2003-01-10  Andrew Haley  <aph@redhat.com>
5080
5081         * include/dwarf2-signal.h: Remove x86_64.
5082         * configure.host (x86_64 DIVIDESPEC): Remove.
5083         * include/x86_64-signal.h: New file.
5084         * configure.in: Regenerate.
5085
5086 2003-01-10  Michael Koch  <konqueror@gmx.de>
5087
5088         * java/net/DatagramSocket.java
5089         (ch): Description added.
5090         (remotePort): Initialize with -1.
5091         (connect): Doesnt throws SocketException.
5092         * java/net/MulticastSocket.java
5093         (setInterface): Merge with Classpath.
5094         * java/net/ServerSocket.java
5095         (closed): New member variable.
5096         (bind): Check if socket is closed.
5097         (close): Close an associated channel too, set new value to closed.
5098         (isBound): Reindented.
5099         (isClosed): Implemented.
5100         * java/net/Socket.java
5101         (closed): New member variable.
5102         (bind): Check if socket is closed.
5103         (connect): Check if socket is closed.
5104         (close): Close an associated channel too, set new value to closed.
5105         (isClosed): Implemented.
5106
5107 2003-01-10  Michael Koch  <konqueror@gmx.de>
5108
5109         * java/awt/DisplayMode.java
5110         (equals): Fixed argument type and implementation.
5111
5112 2003-01-07  Tom Tromey  <tromey@redhat.com>
5113
5114         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5115         JV_HASH_SYNCHRONIZATION.
5116         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5117         JV_HASH_SYNCHRONIZATION.
5118
5119 2003-01-07  Michael Koch  <konqueror@gmx.de>
5120  
5121         * java/net/DatagramSocket.java:
5122         Added classpath license info.
5123         (DatagramSocket): Merged description with classpath.
5124         (close): Merged description with classpath.
5125         (getChannel): Merged description with classpath.
5126         (getInetAddress): Merged description with classpath.
5127         (getPort): Merged description with classpath.
5128         (getLocalAddress): Merged description with classpath.
5129         (getLocalPort): Merged description with classpath.
5130         (getSoTimeout): Merged description with classpath.
5131         (setSoTimeout): Merged description with classpath.
5132         (getSendBufferSize): Merged description with classpath.
5133         (setSendBufferSize): Merged description with classpath.
5134         (getReceiveBufferSize): Merged description with classpath.
5135         (setReceiveBufferSize): Merged description with classpath.
5136         
5137 2003-01-04  Tom Tromey  <tromey@redhat.com>
5138
5139         * java/awt/List.java: Merged with Classpath.
5140
5141 2003-01-03  Mark Wielaard  <mark@klomp.org>
5142
5143         * java/io/FileDescriptor.java (position): New private field.
5144         * java/io/natFileDescriptorPosix.cc (write): Up position.
5145         (setLength): Use and set position.
5146         (seek): Set position.
5147         (getFilePointer): Return position.
5148         (read): Up position.
5149
5150 2003-01-03  Mark Wielaard  <mark@klomp.org>
5151
5152         Merge with Classpath:
5153         * java/io/ObjectStreamClass.java (lookup): Split method and call
5154         lookupForClassObject().
5155         (lookupForClassObject): New method.
5156         (isProxyClass): New field.
5157         (setClass): Set isProxyClass, add object to classLookupTable, set
5158         superClass and calculateOffsets.
5159         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5160         and not a proxy class.
5161         (setFields): Set accessible true for serialPersistentFields.
5162         (getClassUID): Same for suid. And check if suid is of type long.
5163         (hasClassInitializer): Don't throw NoSuchMethodError.
5164
5165 2003-01-03  Mark Wielaard  <mark@klomp.org>
5166
5167         * java/io/FileInputStream.java (finalize): Don't explicitly
5168         finalize FileDescriptor.
5169
5170 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5171
5172         * configure.host (sparc*-*): Enable bytecode interpreter.
5173
5174 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5175
5176         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5177         Don't throw RemoteException.
5178         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5179         throw RemoteException.
5180
5181 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5182
5183         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5184         proxyHost): New static fields.
5185         (<clinit>): Initialize new fields.
5186         (connect): Use proxy if necessary.
5187         (usingProxy): Implement.
5188
5189 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5190
5191         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5192         (TreeIterator.remove): Prefer IllegalStateException over
5193         ConcurrentModificationException, to match Sun.
5194
5195 2002-12-22  Anthony Green  <green@redhat.com>
5196
5197         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5198
5199 2003-01-02  Mark Wielaard  <mark@klomp.org>
5200
5201         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5202         public.
5203         (HTTP_USE_PROXY): Add field.
5204         (getResponseVals): Only set responseCode when not yet explicitly
5205         set by subclass.
5206
5207 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5208             Mark Wielaard  <mark@klomp.org>
5209
5210         * java/util/zip/ZipFile.java (entries): Now HashMap.
5211         (readLeShort(DataInput, byte[])): Read from given byte array.
5212         (readLeInt(DataInput, byte[]): Likewise.
5213         (readLeShort(byte[] b, int off)): New method.
5214         (readLeInt(byte[] b, int off)): Likewise.
5215         (readEntries): Use byte arrays to read info in bigger chunks.
5216         (getEntries): Return HashMap.
5217         (getEntry): Use HashMap.
5218         (locBuf): New private field.
5219         (checkLocalHeader): Use locBuf to read info in one chunk.
5220         (getInputStream): Use entries HashMap, wrap PartialInputStream
5221         in BufferedInputStream.
5222         (ZipEntryEnumeration): Use HashMap and Interator.
5223
5224 2003-01-02  Mark Wielaard  <mark@klomp.org>
5225             Jeroen Frijters  <jeroen@sumatra.nl>
5226
5227         * java/net/URLClassLoader.java (Resource.getCodeSource):
5228         Fix check certs == null.
5229         (getCanonicalFileURL): Removed method.
5230         (JarURLLoader): Don't call removed method.
5231         (FileURLLoader): Likewise.
5232         (FileURLLoader.getResource): Don't canonicalize file name.
5233
5234 2003-01-01  Tom Tromey  <tromey@redhat.com>
5235
5236         * Makefile.in: Rebuilt.
5237         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5238         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5239         java/awt/BufferCapabilities.java, java/awt/Button.java,
5240         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5241         java/awt/Container.java, java/awt/Cursor.java,
5242         java/awt/EventQueue.java, java/awt/FileDialog.java,
5243         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5244         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5245         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5246         java/awt/Scrollbar.java, java/awt/TextArea.java,
5247         java/awt/TextField.java, java/awt/color/CMMException.java,
5248         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5249         java/awt/color/ProfileDataException.java,
5250         java/awt/datatransfer/Clipboard.java,
5251         java/awt/datatransfer/DataFlavor.java,
5252         java/awt/datatransfer/FlavorMap.java,
5253         java/awt/datatransfer/SystemFlavorMap.java,
5254         java/awt/dnd/DragGestureEvent.java,
5255         java/awt/dnd/DragGestureRecognizer.java,
5256         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5257         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5258         java/awt/im/InputMethodHighlight.java,
5259         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5260         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5261
5262         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5263         `op' to BufferedImageOp.
5264
5265 2002-12-31  Tom Tromey  <tromey@redhat.com>
5266
5267         Fix for PR libgcj/7416:
5268         * javax/naming/InitialContext.java (init): Use
5269         gnu.classpath.home.url.
5270         * java/security/Security.java: Use new properties.
5271         (loadProviders): Accept base url; use it.
5272         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5273         gnu.classpath.home.url.
5274         (gnu.classpath.home.url): Define.
5275         (gnu.classpath.vm.shortname): Likewise.
5276
5277 2002-12-31  Tom Tromey  <tromey@redhat.com>
5278             Ranjit Mathew  <rmathew@hotmail.com>
5279
5280         Fix for PR libgcj/8997:
5281         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5282         Include platform.h.
5283         * include/posix.h (_Jv_platform_usleep): New function.
5284         * include/win32.h (_Jv_platform_usleep): New function.
5285
5286 2002-12-29  Tom Tromey  <tromey@redhat.com>
5287
5288         * gcj/javaprims.h: Updated.
5289         * scripts/classes.pl (scan): Removed stray semicolon.
5290
5291 2002-12-30  Mark Wielaard  <mark@klomp.org>
5292
5293         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5294         if zero or smaller.
5295
5296 2002-12-30  Mark Wielaard  <mark@klomp.org>
5297
5298         * java/util/Properties (formatForOutput): Don't fall through to
5299         default case after escaping character.
5300
5301 2002-12-30  Mark Wielaard  <mark@klomp.org>
5302
5303         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5304         against count.
5305
5306 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5307
5308         * boehm.cc: Remove stray semicolon.
5309         * interpret.cc: Likewise.
5310         * prims.cc: Likewise.
5311         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5312         earlier to ensure default arguments are processed.
5313         * gcj/array.h (JArray): Add forward declaration.
5314         (elements): Likewise.
5315         * gcj/javaprim.h: Remove stray semicolons.
5316         * include/bohm-gc.h: Likewise.
5317         * include/jni.h: Likewise.
5318         * include/jvm.h: Likewise.
5319         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5320         
5321 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5322
5323         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5324         of catch_type.
5325         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5326         idt tables after initializing superclass.
5327         * java/lang/natClassLoader.cc (uaddr): New typedef.
5328         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5329         if they are constant pool indicies.  Don't link vtable, otable yet.
5330
5331 2002-12-21  Anthony Green  <green@redhat.com>
5332
5333         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5334         libraries.
5335         * Makefile.in: Rebuilt.
5336
5337 2002-12-19  Anthony Green  <green@redhat.com>
5338
5339         * Makefile.am (ordinary_java_source_files): Add
5340         org/xml/sax/helpers/NewInstance.java.
5341         * Makefile.in: Rebuilt.
5342         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5343         org/xml/sax/helpers/package.html: New files.
5344         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5345         http://www.saxproject.org.
5346
5347 2002-12-19  Andrew Haley  <aph@redhat.com>
5348
5349         * java/util/natResourceBundle.cc: Include
5350         ArrayIndexOutOfBoundsException.h.
5351         (getCallingClassLoader): Don't put upper bound on stack search.
5352         Catch ArrayIndexOutOfBoundsException.
5353
5354 2002-12-19  Tom Tromey  <tromey@redhat.com>
5355
5356         * libtool-version: Increased `current'.
5357
5358 2002-12-19  Tom Tromey  <tromey@redhat.com>
5359
5360         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5361         comment.
5362         * java/lang/ClassLoader.java (defineClass): Use chained
5363         exception when rethrowing.
5364         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5365         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5366         constants.
5367         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5368         (_Jv_PrepareClass): Use it.
5369         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5370         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5371         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5372         (Class): _Jv_PrepareMissingMethods now friend.
5373         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5374         Record `NULL' for system class loader.
5375         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5376         system class loader.
5377         (_Jv_FindClassInCache): Likewise.
5378         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5379         (_Jv_FindClass): Special case system class loader.
5380         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5381         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5382         vtable slots.
5383         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5384         in a final class.
5385         (_getDeclaredMethod): Don't return synthetic methods.
5386         (getDeclaredMethods): Likewise.
5387         (_getMethod): Likewise.
5388         (_getMethods): Likewise.
5389
5390 2002-12-18  Raif Naffah  <raif@fl.net.au>
5391
5392         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5393         canonical form after divide().
5394         (modInverse): Likewise.
5395
5396 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5397             Mark Wielaard  <mark@klomp.org>
5398
5399         * java/security/SecurityRandom (digest): Removed field.
5400         (SecureRandom): Check all providers for case-insensitive SecureRandom
5401         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5402         if necessary.
5403         (getInstance(String,Provider,boolean): New method.
5404         (getInstance(String)): Use new method.
5405         (getInstance(String,String)): Likewise.
5406         (getInstance(String,Provider)): Likewise.
5407
5408 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5409
5410         * java/security/Security.java (loadProviders): Increment i only once.
5411
5412 2002-12-12  Mark Wielaard  <mark@klomp.org>
5413
5414         * java/lang/ClassLoader.java (resolveClass0): Transform
5415         ClassNotFoundException to NoClassDefFoundError. Transform all other
5416         throwables to LinkageError.
5417
5418 2002-12-11  Tom Tromey  <tromey@redhat.com>
5419
5420         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5421
5422         * java/lang/ClassLoader.java (loadedClasses): New field.
5423         (defineClass): Fixed indentation.  Put new class in
5424         loadedClasses.
5425         (findLoadedClass): Implement here.
5426         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5427
5428 2002-12-10  Tom Tromey  <tromey@redhat.com>
5429
5430         * Makefile.in: Rebuilt.
5431         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5432         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5433         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5434         * java/lang/natClassLoader.cc
5435         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5436
5437 2002-12-10  Mark Wielaard  <mark@klomp.org>
5438             Tom Tromey  <tromey@redhat.com>
5439
5440         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5441         (JarURLLoader): Use it.
5442         (FileURLLoader): Likewise.
5443         (JarURLResource.getURL): Use chained exception.
5444         (FileResource.getURL): Likewise.
5445         (FileURLLoader.getResource): Use canonical file name.
5446         (addURL): Indentation fix.
5447
5448 2002-12-10  Tom Tromey  <tromey@redhat.com>
5449
5450         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5451         From Laurent Bardet <l.bardet@magic.fr>.
5452
5453 2002-12-09  Tom Tromey  <tromey@redhat.com>
5454
5455         * include/win32.h (_Jv_platform_solib_prefix): New define.
5456         (_Jv_platform_solib_suffix): Likewise.
5457         * include/posix.h (_Jv_platform_solib_prefix): New define.
5458         (_Jv_platform_solib_suffix): Likewise.
5459         * java/lang/natRuntime.cc: Include StackTrace.h.
5460         (_load): Use findLibrary and new platform defines.
5461         (nativeGetLibname): Use new platform defines.
5462
5463         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5464         `t' won't be null.
5465
5466 2002-12-08  Mark Wielaard  <mark@klomp.org>
5467
5468         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5469         cache remote jar files.
5470         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5471         add File.separator to URL when it is a directory.
5472         * java/lang/ClassLoader.java: Add Classpath javadoc.
5473         (parent): final.
5474         (getParent): Add (disabled) security check.
5475         (findLibrary): New default method.
5476         * java/net/JarURLConnection.java (getManifest): Implement.
5477         (getInputStream): Only create InputStream when entry exists.
5478         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5479         when they exist.
5480         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5481
5482 2002-12-08  Mark Wielaard  <mark@klomp.org>
5483
5484         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5485         (lastDefaultLocale): New field.
5486         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5487         resourceBundleCache.
5488
5489 2002-12-06  Mark Wielaard  <mark@klomp.org>
5490
5491         * java/net/InetAddress.java (toString): Use hostname when not null,
5492         don't do an explicit reverse getHostName() lookup.
5493         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5494         NullPointerException.
5495
5496 2002-12-06  Tom Tromey  <tromey@redhat.com>
5497
5498         * include/java-interp.h (class _Jv_InterpMethod): Added
5499         JV_MARKOBJ_DECL.
5500         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5501         mark `prepared' field of interpreted method.
5502         * interpret.cc (compile): Use _Jv_AllocBytes.
5503
5504 2002-12-05  Andrew Haley  <aph@redhat.com>
5505
5506         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5507         #ifdef (HAVE_BACKTRACE) around the whole function body.
5508
5509 2002-12-05  Tom Tromey  <tromey@redhat.com>
5510
5511         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5512         * resolve.cc: Don't include AbstractMethodError.h.
5513         (_Jv_abstractMethodError): Removed.
5514         * defineclass.cc (handleMethodsBegin): Initialize method index to
5515         -1.
5516         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5517         method index for "new" final method.
5518         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5519         isVirtualMethod.  Added `flags' argument.
5520         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5521         class.
5522
5523 2002-12-04  Tom Tromey  <tromey@redhat.com>
5524
5525         * java/net/SocketPermission.java (hashCode): Rewrote.
5526
5527 2002-12-04  Tom Tromey  <tromey@redhat.com>
5528
5529         * Makefile.in: Rebuilt.
5530         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5531         natResourceBundle.
5532         * java/util/ResourceBundle.java (Security): Removed.
5533         (getCallingClassLoader): Now native.
5534         * java/util/natResourceBundle.cc: New file.
5535         * java/lang/natVMSecurityManager.cc: New file.
5536         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5537
5538 2002-12-03  Mark Wielaard  <mark@klomp.org>
5539
5540         * java/util/jar/JarFile.java (manifest): Not final.
5541         (manifestRead): New field.
5542         (JarFile): Don't read Manifest in constructor.
5543         (getManifest): New method.
5544         (JarEnumeration.nextElement): Use new method.
5545         (getEntry): Likewise.
5546         * java/util/zip/ZipFile.java (name): Final.
5547         (raf): Likewsie.
5548         (entries): Change type to Hashtable.
5549         (closed): New field.
5550         (ZipFile): Don't read enties in constructor.
5551         (readEntries): Use Hashtable.
5552         (close): Set new close flag and set entries to null inside
5553         synchronized block.
5554         (entries): Contruct enumeration using new getEntries() method and
5555         entries Hashtable.
5556         (getEntryIndex): Removed.
5557         (getEntries): New method.
5558         (getEntry): Use new getEntries() method and entries Hastable.
5559         (getInputStream): Likewise.
5560         (size): Return getEntries().size().
5561         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5562         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5563         (time): Removed
5564         (dostime): New field.
5565         (zipFileIndex): Removed.
5566         (ZipEntry(ZipEntry)): Copy dostime.
5567         (setDOSTime): Now final and doesn't convert dos time.
5568         (getDOSTime): Likewise.
5569         (setTime): Convert dos time.
5570         (getTime): Likewise.
5571         (getCalendar): New method.
5572         (setExtra): Use setTime().
5573         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5574
5575 2002-12-03  Tom Tromey  <tromey@redhat.com>
5576
5577         * java/lang/Character.java (forDigit): Formatting fix.
5578
5579 2002-12-03  Raif Naffah  <raif@fl.net.au>
5580
5581         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5582         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5583         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5584
5585 2002-12-03  Andrew Haley  <aph@redhat.com>
5586
5587         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5588         _Jv_PushClass.
5589         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5590         (_Jv_PopClass): New.
5591         (_Jv_PushClass): New.
5592         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5593         discover the ClassLoader of our caller.
5594         (_Jv_CheckArrayStore): Don't check that a class is assignment
5595         compatible with Object.
5596         * java/lang/natVMTHrowable.cc: Delete.
5597         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5598         java.lang.VMThrowable.
5599         (StackTrace(), StackTrace(int)): New constructors.
5600         (classAt, methodAt, update, methodAtAddress): New methods.
5601         (map): New field.
5602         * java/lang/VMThrowable.java: Use StackTrace instead of
5603         natVMTHrowable.
5604         * java/lang/Class.h (getClassLoaderInternal): New.
5605         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5606         Be friendly with gnu::gcj::runtime::StackTrace.
5607         (Object.chain): New field.
5608         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5609         gnu::gcj::runtime::StackTrace.
5610         * gnu/gcj/runtime/natStackTrace.cc: New file.
5611         * gnu/gcj/runtime/MethodRef.java: New file.
5612         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5613         instead of getClassLoader().
5614         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5615         java::lang::VMThrowable.
5616         * Makefile.am (core_java_source_files): Add MethodRef.java,
5617         StackTrace.java.
5618         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5619         * Makefile.in: Rebuild.
5620
5621 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5622
5623         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5624         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5625         yes also for sh-linux* and sh[34]*-linux*.
5626         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5627         set SIGNAL_HANDLER to use DWARF2 exception for them.
5628         * configure: Regenerate.
5629
5630 2002-12-02  Tom Tromey  <tromey@redhat.com>
5631
5632         * jni.cc: Added `name' argument.
5633         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5634         `const char *' argument.
5635         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5636
5637 2002-12-01  Tom Tromey  <tromey@redhat.com>
5638
5639         Bug compatibility, for PR libgcj/8738:
5640         * java/io/CharArrayWriter.java (close): Do nothing.
5641         (flush): Likewise.
5642         (reset): Don't touch `closed'.
5643         (write(int)): Don't throw IOException.
5644         (write(char[],int,int)): Likewise.
5645         (write(String,int,int)): Likewise.
5646         (closed): Removed.
5647
5648 2002-12-01  Mark Wielaard  <mark@klomp.org>
5649
5650         * java/lang/SecurityManager.java: Remerge comments, indenting and
5651         checkXXX methods with Classpath.
5652
5653 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5654
5655         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5656         getNormalizedComponents): Fix calculation which was using one too
5657         many bits in the unnormalized format.
5658
5659 2002-11-29  Gary Benson  <gbenson@redhat.com>
5660
5661         For PR libgcj/8759:
5662         * java/beans/Introspector.java (flushCaches): New method.
5663         (flushFromCaches): Likewise.
5664
5665 2002-11-29  Michael Koch <konqueror@gmx.de>
5666
5667         * java/nio/channels/DatagramChannel.java
5668         (open): Added exception documentation.
5669         (write): Added exception documentation.
5670         (connect): Added exception documentation.
5671         (disconnect): Added exception documentation.
5672         (isConnected): Added exception documentation.
5673         (read): Added exception documentation.
5674         (receive): Added exception documentation.
5675         (send): Added exception documentation.
5676         (validOps): Added exception documentation.
5677         * java/nio/channels/SocketChannel.java
5678         (open): Added exception documentation.
5679         (read): Added exception documentation.
5680         (write): Added exception documentation.
5681         (connect): Added exception documentation.
5682         (finishConnect): Added exception documentation.
5683
5684 2002-11-29  Michael Koch <konqueror@gmx.de>
5685
5686         * gnu/java/nio/DatagramChannelImpl:
5687         (fd): New member variable to store file descriptor of socket.
5688         * gnu/java/nio/SelectionKeyImpl.java:
5689         (ops): Removed.
5690         (readyOps): New member variable.
5691         (interestOps): New member variable.
5692         (readyOps): Implemented.
5693         (readyOps): New method to set member variable readyOps.
5694         (interestOps): Replaced ops by interestOps.
5695         * gnu/java/nio/SelectorImpl.java:
5696         (SelectorImpl): Initialize key sets.
5697         (select): Call select with -1 instead of Long.MAX_VALUE).
5698         (java_do_select): Make it a native method.
5699         (getFDsAsArray): New helper method.
5700         (select): Remove canceled keys, give only interested file discriptors
5701         to java_do_select, set ready ops.
5702         (add): No need to initialize keys set here.
5703         (add_selected): No need to initialize selected set here.
5704         (deregisterCanceledKeys): New helper method.
5705         (register): Set interest ops, set attachments, added handling of datagram
5706         channels.
5707         * gnu/java/nio/ServerSocketChannelImpl:
5708         (SocketAccept): Renamed from NioSocketAccept.
5709         (implConfigureBlocking): Implemented.
5710         (accept): Use SocketAccept instead of NioSocketAccept.
5711         * gnu/java/nio/SocketChannelImpl:
5712         Reactivate native methods.
5713
5714 2002-11-29  Michael Koch <konqueror@gmx.de>
5715
5716         * gnu/java/nio/natByteBufferImpl.cc,
5717         gnu/java/nio/natCharBufferImpl.cc,
5718         gnu/java/nio/natDoubleBufferImpl.cc,
5719         gnu/java/nio/natFloatBufferImpl.cc,
5720         gnu/java/nio/natIntBufferImpl.cc,
5721         gnu/java/nio/natLongBufferImpl.cc,
5722         gnu/java/nio/natSelectorImpl.cc,
5723         gnu/java/nio/natServerSocketChannelImpl.cc,
5724         gnu/java/nio/natShortBufferImpl.cc,
5725         gnu/java/nio/natSocketChannelImpl.cc:
5726         New files that implement native functionalities.
5727
5728 2002-11-29  Michael Koch <konqueror@gmx.de>
5729
5730         * gnu/java/nio/ByteBufferImpl.java
5731         (ByteBufferImpl): Moved position() after limit.
5732         (nio_*): Use native implementation.
5733         * gnu/java/nio/CharBufferImpl.java:
5734         Reformated.
5735         (endian): New member variable string endianess of buffer.
5736         (CharBufferImpl): Moved position() after limit.
5737         (nio_*): Use native implementation.
5738         (subSequence): Implemented.
5739         * gnu/java/nio/DoubleBufferImpl.java
5740         (DoubleBufferImpl): Moved position() after limit.
5741         (nio_*): Use native implementation.
5742         * gnu/java/nio/FloatBufferImpl.java
5743         Reformated.
5744         (FloatBufferImpl): Moved position() after limit.
5745         (nio_*): Use native implementation.
5746         * gnu/java/nio/IntBufferImpl.java
5747         Added needed imports, Reformated.
5748         (IntBufferImpl): Moved position() after limit.
5749         (nio_*): Use native implementation.
5750         * gnu/java/nio/LongBufferImpl.java
5751         Reformated.
5752         (LongBufferImpl): Moved position() after limit.
5753         (nio_*): Use native implementation.
5754         * gnu/java/nio/ShortBufferImpl.java
5755         Reformated.
5756         (ShortBufferImpl): Moved position() after limit.
5757         (nio_*): Use native implementation.
5758
5759 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
5760
5761         * java/util/Locale.java (toString): Improve efficiency if country
5762         and variant are both empty.
5763
5764 2002-11-26  Tom Tromey  <tromey@redhat.com>
5765
5766         * verify.cc (pop_init_ref): New method.
5767         (verify_instructions_0) [op_iaload, op_laload, op_faload,
5768         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5769         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5770         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5771         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5772         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5773         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
5774         let `this' argument be uninitialized.  Don't let `null' be passed
5775         as `this' to construtor.
5776
5777 2002-11-26  Mark Wielaard  <mark@klomp.org>
5778
5779         * javax/transaction/HeuristicCommitException.java: Classpath merge.
5780         * javax/transaction/HeuristicMixedException.java: Likewise.
5781         * javax/transaction/HeuristicRollbackException.java: Likewise.
5782         * javax/transaction/InvalidTransactionException.java: Likewise.
5783         * javax/transaction/NotSupportedException.java: Likewise.
5784         * javax/transaction/RollbackException.java: Likewise.
5785         * javax/transaction/Status.java: Likewise.
5786         * javax/transaction/Synchronization.java: Likewise.
5787         * javax/transaction/SystemException.java: Likewise.
5788         * javax/transaction/Transaction.java: Likewise.
5789         * javax/transaction/TransactionManager.java: Likewise.
5790         * javax/transaction/TransactionRequiredException.java: Likewise.
5791         * javax/transaction/TransactionRolledbackException.java: Likewise.
5792         * javax/transaction/UserTransaction.java: Likewise.
5793         * javax/transaction/xa/XAException.java: Likewise.
5794         * javax/transaction/xa/XAResource.java: Likewise.
5795         * javax/transaction/xa/Xid.java: Likewise.
5796
5797 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
5798
5799         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
5800         define.
5801         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
5802         * include/posix.h (socklen_t): Define if not already defined.
5803
5804 2002-11-25  Tom Tromey  <tromey@redhat.com>
5805
5806         * verify.cc (type::compatible): Backed out broken change.
5807
5808         * verify.cc (type::compatible): Check initialization status
5809         first.
5810         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
5811         Don't use NULLCHECK.
5812
5813 2002-11-23  H.J. Lu <hjl@gnu.org>
5814
5815         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
5816         Include ../config/accross.m4.
5817         * aclocal.m4; Rebuild.
5818         * configure: Likewise.
5819
5820 2002-11-23  Mark Wielaard  <mark@klomp.org>
5821
5822         * javax/naming/AuthenticationException.java: Update copyright header.
5823         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
5824         * javax/naming/Binding.java: Likewise.
5825         * javax/naming/CannotProceedException.java: Likewise.
5826         * javax/naming/CommunicationException.java: Likewise.
5827         * javax/naming/CompositeName.java: Likewise.
5828         * javax/naming/CompoundName.java: Likewise.
5829         * javax/naming/ConfigurationException.java: Likewise.
5830         * javax/naming/Context.java: Likewise.
5831         * javax/naming/ContextNotEmptyException.java: Likewise.
5832         * javax/naming/InitialContext.java: Likewise.
5833         * javax/naming/InsufficientResourcesException.java: Likewise.
5834         * javax/naming/InterruptedNamingException.java: Likewise.
5835         * javax/naming/LimitExceededException.java: Likewise.
5836         * javax/naming/LinkException.java: Likewise.
5837         * javax/naming/LinkLoopException.java: Likewise.
5838         * javax/naming/LinkRef.java: Likewise.
5839         * javax/naming/MalformedLinkException.java: Likewise.
5840         * javax/naming/NameAlreadyBoundException.java: Likewise.
5841         * javax/naming/NameClassPair.java: Likewise.
5842         * javax/naming/NameNotFoundException.java: Likewise.
5843         * javax/naming/NameParser.java: Likewise.
5844         * javax/naming/NamingEnumeration.java: Likewise.
5845         * javax/naming/NamingSecurityException.java: Likewise.
5846         * javax/naming/NoInitialContextException.java: Likewise.
5847         * javax/naming/NoPermissionException.java: Likewise.
5848         * javax/naming/NotContextException.java: Likewise.
5849         * javax/naming/OperationNotSupportedException.java: Likewise.
5850         * javax/naming/PartialResultException.java: Likewise.
5851         * javax/naming/Reference.java: Likewise.
5852         * javax/naming/Referenceable.java: Likewise.
5853         * javax/naming/ReferralException.java: Likewise.
5854         * javax/naming/ServiceUnavailableException.java: Likewise.
5855         * javax/naming/SizeLimitExceededException.java: Likewise.
5856         * javax/naming/TimeLimitExceededException.java: Likewise.
5857         * javax/naming/directory/Attribute.java: Likewise.
5858         * javax/naming/directory/AttributeInUseException.java: Likewise.
5859         * javax/naming/directory/AttributeModificationException.java: Likewise.
5860         * javax/naming/directory/Attributes.java: Likewise.
5861         * javax/naming/directory/BasicAttribute.java: Likewise.
5862         * javax/naming/directory/BasicAttributes.java: Likewise.
5863         * javax/naming/directory/DirContext.java: Likewise.
5864         * javax/naming/directory/InitialDirContext.java: Likewise.
5865         * javax/naming/directory/InvalidAttributeIdentifierException.java:
5866         Likewise.
5867         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
5868         * javax/naming/directory/InvalidAttributesException.java: Likewise.
5869         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
5870         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
5871         * javax/naming/directory/ModificationItem.java: Likewise.
5872         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
5873         * javax/naming/directory/SchemaViolationException.java: Likewise.
5874         * javax/naming/directory/SearchControls.java: Likewise.
5875         * javax/naming/directory/SearchResult.java: Likewise.
5876         * javax/naming/event/EventContext.java: Likewise.
5877         * javax/naming/event/EventDirContext.java: Likewise.
5878         * javax/naming/event/NamespaceChangeListener.java: Likewise.
5879         * javax/naming/event/NamingEvent.java: Likewise.
5880         * javax/naming/event/NamingExceptionEvent.java: Likewise.
5881         * javax/naming/event/NamingListener.java: Likewise.
5882         * javax/naming/event/ObjectChangeListener.java: Likewise.
5883         * javax/naming/ldap/Control.java: Likewise.
5884         * javax/naming/ldap/ControlFactory.java: Likewise.
5885         * javax/naming/ldap/ExtendedRequest.java: Likewise.
5886         * javax/naming/ldap/ExtendedResponse.java: Likewise.
5887         * javax/naming/ldap/HasControls.java: Likewise.
5888         * javax/naming/ldap/InitialLdapContext.java: Likewise.
5889         * javax/naming/ldap/LdapContext.java: Likewise.
5890         * javax/naming/ldap/LdapReferralException.java: Likewise.
5891         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
5892         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
5893         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
5894         * javax/naming/spi/DirObjectFactory.java: Likewise.
5895         * javax/naming/spi/DirStateFactory.java: Likewise.
5896         * javax/naming/spi/DirectoryManager.java: Likewise.
5897         * javax/naming/spi/InitialContextFactory.java: Likewise.
5898         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
5899         * javax/naming/spi/NamingManager.java: Likewise.
5900         * javax/naming/spi/ObjectFactory.java: Likewise.
5901         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
5902         * javax/naming/spi/ResolveResult.java: Likewise.
5903         * javax/naming/spi/Resolver.java: Likewise.
5904         * javax/naming/spi/StateFactory.java: Likewise.
5905
5906         * javax/naming/spi/NamingManager.java (ofb): Package private.
5907
5908 2002-11-21  Mark Wielaard  <mark@klomp.org>
5909
5910         * java/net/URL.java: Merge with Classpath (partly).
5911         * java/net/URLStreamHandler: Merge with Classpath.
5912
5913 2002-11-22  Michael Koch <konqueror@gmx.de>
5914
5915         * include/posix.h:
5916         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5917         * include/win32.h:
5918         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
5919         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
5920
5921 2002-11-21  Michael Koch <konqueror@gmx.de>
5922
5923         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
5924         Only the new network functions should be in it.
5925
5926 2002-11-21  Michael Koch <konqueror@gmx.de>
5927
5928         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5929         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
5930
5931 2002-11-21  Michael Koch <konqueror@gmx.de>
5932
5933         * java/nio/channels/AsynchronousCloseException.java,
5934         java/nio/channels/CancelledKeyException.java,
5935         java/nio/channels/ClosedByInterruptException.java,
5936         java/nio/channels/ConnectionPendingException.java,
5937         java/nio/channels/FileLockInterruptionException.java,
5938         java/nio/channels/IllegalSelectorException.java,
5939         java/nio/channels/NoConnectionPendingException.java,
5940         java/nio/channels/NonReadableChannelException.java,
5941         java/nio/channels/NonWritableChannelException.java,
5942         java/nio/channels/NotYetBoundException.java,
5943         java/nio/channels/NotYetConnectedException.java,
5944         java/nio/channels/OverlappingFileLockException.java,
5945         java/nio/channels/UnresolvedAddressException.java,
5946         java/nio/channels/UnsupportedAddressTypeException.java:
5947         New files.
5948         * Makefile.am (ordinary_java_source_files): Added new files.
5949         * Makefile.in: Regenerated.
5950
5951 2002-11-21  Michael Koch <konqueror@gmx.de>
5952
5953         * include/posix.h
5954         (_Jv_socket): New method.
5955         (_Jv_connect): New method.
5956         (_Jv_close): New method.
5957         (_Jv_platform_close_on_exec): Prefixed system function with "::".
5958         (_Jv_bind): New method.
5959         (_Jv_listen): New method.
5960         (_Jv_write): New method.
5961         (_Jv_read): New method.
5962         * include/win32.h
5963         (_Jv_socket): New method.
5964         (_Jv_connect): New method.
5965         (_Jv_close): New method.
5966         (_Jv_bind): New method.
5967         (_Jv_listen): New method.
5968         (_Jv_write): New method.
5969         (_Jv_read): New method.
5970         * java/net/natNetworkInterface.cc:
5971         Include platform.h, removed inclusion of socket.h
5972         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
5973         ::close() by _Jv_close().
5974         * java/net/natPlainDatagramSocketImpl.cc:
5975         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
5976         added some new lines to make code more readable.
5977         (create): Replaced ::socket() by _Jv_socket().
5978         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5979         * java/net/natPlainSocketImpl.cc:
5980         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
5981         removed include of socket.h, removed some windows defines
5982         (now in include/win32.h).
5983         (create): Replaced ::socket() by _Jv_socket().
5984         (close): Replaced NATIVE_CLOSE() by _Jv_close().
5985         (write): Replaced ::read by _Jv_write().
5986         (read): Replaced ::read by _Jv_read().
5987
5988 2002-11-20  Michael Koch <konqueror@gmx.de>
5989
5990         * Makefile.am (ordinary_java_source_files):
5991         Added java/nio/channels/FileChannel.java.
5992         * Makefile.in: Regenerated.
5993
5994 2002-11-20  Michael Koch <konqueror@gmx.de>
5995
5996         * java/io/FileInputStream.java
5997         (getChannel): New method.
5998         * java/io/FileOutputStream.java
5999         (getChannel): New method.
6000         * java/net/ServerSocket.java
6001         (bind): Removed duplicate code and called another bind method instead.
6002         * java/nio/channels/SelectionKey.java
6003         (isValid): Removed wrong exception documentation.
6004         * java/nio/channels/ServerSocketChannel.java
6005         (accept): Added exception documentation.
6006         (open): Fixed typo, added exception documentation.
6007         * java/nio/channels/spi/AbstractSelectableChannel.java
6008         (implCloseChannel): Added exception documentation.
6009         (add): Reformated.
6010         (register): Added exception documentation.
6011
6012 2002-11-20  Andreas Jaeger  <aj@suse.de>
6013
6014         * configure: Regenerated with new libtool.m4.
6015
6016 2002-11-19  Tom Tromey  <tromey@redhat.com>
6017
6018         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6019         `referent'.
6020         (finalize_referred_to_object): Don't modify `referent' or `copy'
6021         fields.
6022         (add_to_hash): Correctly set `n->next' when updating list.
6023         * java/lang/ref/Reference.java (enqueue): Return false if already
6024         enqueued.
6025
6026 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6027
6028         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6029         to function and function pointer declarations in accordance with
6030         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6031         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6032         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6033         JNI function definitions.
6034
6035 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6036
6037         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6038         that was causing CoderResults to be cached, not WeakReferences
6039         to CoderResults.
6040
6041 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6042
6043         * java/security/KeyStore.java (getInstance): Fix
6044         comment and throw IllegalArgumentException if
6045         given provider is null.
6046         (getInstance): New method for jdk1.4 compatibility.
6047
6048 2002-11-18  Michael Koch <konqueror@gmx.de>
6049
6050         * java/net/PlainSocketImpl.java: Fix imports.
6051
6052 2002-11-18  Michael Koch <konqueror@gmx.de>
6053
6054         * java/nio/channels/SelectionKey.java
6055         (isValid): Added exception documentation.
6056         * java/nio/channels/Selector.java
6057         (open): Declare "throws IOException".
6058
6059 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6060
6061         * java/nio/charset/Charset.java
6062         (<clinit>): New method.
6063         (encode): Synchronize use of cached encoder object.
6064         (decode): Synchronize use of cached encoder object.
6065
6066 2002-11-18  Michael Koch <konqueror@gmx.de>
6067
6068         * gnu/java/nio/ByteBufferImpl.java,
6069         gnu/java/nio/CharBufferImpl.java,
6070         gnu/java/nio/DatagramChannelImpl.java,
6071         gnu/java/nio/DoubleBufferImpl.java,
6072         gnu/java/nio/FileChannelImpl.java,
6073         gnu/java/nio/FloatBufferImpl.java,
6074         gnu/java/nio/IntBufferImpl.java,
6075         gnu/java/nio/LongBufferImpl.java,
6076         gnu/java/nio/PipeImpl.java,
6077         gnu/java/nio/SelectionKeyImpl.java,
6078         gnu/java/nio/SelectorImpl.java,
6079         gnu/java/nio/SelectorProviderImpl.java,
6080         gnu/java/nio/ServerSocketChannelImpl.java,
6081         gnu/java/nio/ShortBufferImpl.java,
6082         gnu/java/nio/SocketChannelImpl.java,
6083         java/nio/DoubleBuffer.java,
6084         java/nio/FloatBuffer.java,
6085         java/nio/IntBuffer.java,
6086         java/nio/LongBuffer.java,
6087         java/nio/ShortBuffer.java,
6088         java/nio/channels/FileChannel.java: New files.
6089
6090 2002-11-18  Michael Koch <konqueror@gmx.de>
6091
6092         * Makefile.am (ordinary_java_source_files):
6093         Added java/nio/ReadOnlyBufferException.java and
6094         java/nio/channels/ClosedSelectorException.java.
6095         * Makefile.in: Regenerated.
6096
6097 2002-11-18  Michael Koch <konqueror@gmx.de>
6098
6099         * java/net/PlainSocketImpl.java: Reworked imports.
6100         * java/net/ServerSocket.java
6101         (ServerSocket): Create socket.
6102         * java/net/SocketAddress.java: Documentation added.
6103         * java/net/natPlainSocketImpl.cc: Reindented.
6104         * java/nio/ReadOnlyBufferException.java: New file
6105         * java/nio/channels/ClosedChannelException.java: Documentation added.
6106         * java/nio/channels/ClosedSelectorException.java: New file.
6107
6108 2002-11-17  Mark Wielaard  <mark@klomp.org>
6109
6110         * java/net/HttpURLConnection.java ((getPermission): Take port
6111         into consideration.
6112         (getErrorStream): Implement.
6113
6114 2002-11-17  Mark Wielaard  <mark@klomp.org>
6115
6116         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6117
6118 2002-11-16  Mark Wielaard  <mark@klomp.org>
6119
6120         Integrate work by Raif S. Naffah (raif@fl.net.au)
6121         * java/security/DummyKeyPairGenerator.java (clone): New method.
6122         * java/security/DummyMessageDigest.java (clone): New method.
6123         (engineUpdate): Now public.
6124         (engineReset): Likewise.
6125         (engineDigest): Likewise.
6126         (engineGetDigestLength): New method.
6127         * java/security/DummySignature.java (clone): New method.
6128         * java/security/KeyPairGenerator.java (provider): Now package private.
6129         (getInstance(String)): Use getInstance(String,Provider).
6130         (getInstance(String,String): Use getInstance(String,Provider)
6131         (getInstance(String,Provider): New method.
6132         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6133         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6134         * java/security/MessageDigest.java (provider): Now package private.
6135         (getInstance(String): Use getInstance(String,Provider).
6136         (getInstance(String,String): Use getInstance(String,Provider)
6137         (getInstance(String,Provider): New method.
6138         * java/security/Provider.java (toCanonicalKey): New method.
6139         (get): New method that uses toCanonicalKey().
6140         (put): Use toCanonicalKey().
6141         (remove): Likewise.
6142         * java/security/Security.java (insertProviderAt): Provider index is one
6143         based, not zero based.
6144         (addProvider): Likewise.
6145         (removeProvider): Likewise.
6146         * java/security/Signature.java (provider): Now package private.
6147         (getInstance(String)): Use getInstance(String,Provider).
6148         (getInstance(String,String): Use getInstance(String,Provider)
6149         (getInstance(String,Provider): New method.
6150         (getInstance(String,String,Provider): Don't cast DummySignature.
6151
6152 2002-11-15  Tom Tromey  <tromey@redhat.com>
6153
6154         For PR libgcj/8593:
6155         * java/util/zip/GZIPInputStream.java (read): Check file size.
6156         Look in inflater for remaining input bytes.
6157         (read4): Added buf and offset arguments.
6158
6159 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6160
6161         * java/applet/AppletContext.java: Fix typo and remove redundant
6162         modifiers.
6163
6164 2002-11-14  Tom Tromey  <tromey@redhat.com>
6165
6166         * java/lang/natRuntime.cc (insertSystemProperties): Set
6167         gnu.classpath.home.
6168
6169 2002-11-13  Michael Koch <konqueror@gmx.de>
6170
6171         * java/nio/ByteBuffer.java
6172         (allocate): New method.
6173         (wrap): New method.
6174         (put): New method.
6175         (get): New method.
6176
6177 2002-11-13  Michael Koch <konqueror@gmx.de>
6178
6179         * java/nio/channels/AlreadyConnectedException.java:
6180         Removed unneeded import.
6181         (AlreadyConnectedException): Documentation added.
6182         * java/nio/channels/Pipe.java
6183         (SinkChannel.SinkChannel): Documentation added.
6184         (SinkChannel.validOps): New method.
6185         (SourceChannel.SourceChannel): Documentation added.
6186         (SourceChannel.validOps): New method.
6187         (Pipe): Documentation added.
6188         (open): Documentation added.
6189         (SinkChannel.channel): Documentation added.
6190         (SourceChannel.channel): Documentation added.
6191         * java/nio/channel/SelectableChannel.java
6192         (SelectableChannel): Documentation added.
6193         (blockingLock): Documentation added.
6194         (configureBlocking):Documentation added.
6195         (isBlocking):Documentation added.
6196         (isRegistered):Documentation added.
6197         (keyFor):Documentation added.
6198         (provider):Documentation added.
6199         (register): Documentation added.
6200         (validOps): Documentation added.
6201         * jaba/nio/channels/SelectionKey.java
6202         (SelectionKey): Documentation added.
6203         (attach): Documentation added.
6204         (attachment): Documentation added.
6205         (isAcceptable): Documentation added.
6206         (isConnetable): Documentation added.
6207         (isReadable): Documentation added.
6208         (isWritable): Documentation added.
6209         (cancel): Documentation added.
6210         (channel): Documentation added.
6211         (interestOps): Documentation added.
6212         (isValid): Documentation added.
6213         (readyOps): Documentation added.
6214         (selector): Documentation added.
6215         * jaba/nio/channels/Selector.java
6216         (Selector): Documentation added.
6217         (open): Documentation added.
6218         (close): Documentation added.
6219         (isOpen): Documentation added.
6220         (keys): Documentation added.
6221         (provider): Documentation added.
6222         (select): Documentation added.
6223         (selectedKeys): Documentation added.
6224         (selectNow): Documentation added.
6225         (wakeup): Documentation added.
6226         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6227         (AbstractInterruptibleChannel): Documentation added.
6228         (opened): Default to true;
6229         (begin): Documentation added.
6230         (close): Set opened to false, documentation added.
6231         (isOpen): Documentation added.
6232         * java/nio/channels/spi/AbstractSelectionKey.java
6233         (AbstractSelectionKey): Documentation added.
6234         (cancel): Documentation added.
6235         (isValid): Documentation added.
6236         * java/nio/channels/spi/AbstractSelector.java
6237         (AbstractSelector): Documentation added.
6238         (begin): Documentation added.
6239         (close): Documentation added.
6240         (isOpen): Documentation added.
6241         (deregister): Documentation added.
6242         (end): Documentation added.
6243         (provider): Documentation added.
6244         (implCloseSelector): Documentation added.
6245         (register): Documentation added.
6246         * java/nio/channels/spi/SelectorProvider.java
6247         (SelectorProvider): Documentation added.
6248         (openDatagramChannel): Documentation added.
6249         (openPipe): Documentation added.
6250         (openSelector): Documentation added.
6251         (openServerSocketChannel): Documentation added.
6252         (openSocketChannel): Documentation added.
6253         (provider): Documentation added.
6254
6255 2002-11-12  Michael Koch <konqueror@gmx.de>
6256
6257         * java/nio/Buffer.java: Implemented.
6258         * java/nio/CharBuffer.java: New file.
6259         * java/nio/InvalidMarkException.java: New file.
6260         * java/nio/channels/DatagramChannel.java: Implemented.
6261         * java/nio/channels/ServerSocketChannel.java: Implemented.
6262         * java/nio/channels/SocketChannel.java: Implemented.
6263         * java/nio/channels/spi/AbstractChannel.java: Removed.
6264         * java/nio/channels/spi/AbstractSelectableChannel.java:
6265         Implemented.
6266         * java/nio/charset/Charset.java:
6267         Merge from Classpath.
6268         * java/nio/charset/CharsetDecoder.java: New file.
6269         * java/nio/charset/CharsetEncoder.java: New file.
6270         * java/nio/charset/CoderResult.java: New file.
6271         * Makefile.am (ordinary_java_source_files): Added new files.
6272         * Makefile.in: Regenerated.
6273
6274 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6275
6276         * gnu/java/nio/charset/ISO_8859_1.java,
6277         gnu/java/nio/charset/Provider.java,
6278         gnu/java/nio/charset/US_ASCII.java,
6279         gnu/java/nio/charset/UTF_16.java,
6280         gnu/java/nio/charset/UTF_16BE.java,
6281         gnu/java/nio/charset/UTF_16Decoder.java,
6282         gnu/java/nio/charset/UTF_16Encoder.java,
6283         gnu/java/nio/charset/UTF_16LE.java,
6284         gnu/java/nio/charset/UTF_8.java: New files.
6285
6286 2002-11-11  Michael Koch <konqueror@gmx.de>
6287
6288         * java/nio/charset/CharacterCodingException.java:
6289         This class must be public.
6290         * java/nio/charset/CoderMalfunctionError.java:
6291         This class must be public.
6292         * java/nio/charset/CodingErrorAction.java:
6293         This class must be public.
6294         * java/nio/charset/IllegalCharsetNameException.java:
6295         This class must be public, better implementation.
6296         * java/nio/charset/MalformedInputException.java:
6297         This class must be public, better implementation.
6298         * java/nio/charset/UnmappableCharacterException.java:
6299         This class must be public, better implementation.
6300         * java/nio/charset/UnsupportedCharsetException.java:
6301         This class must be public, better implementation.
6302
6303 2002-11-11  Michael Koch <konqueror@gmx.de>
6304
6305         * java/nio/BufferOverflowException.java,
6306         java/nio/BufferUnderflowException.java: New file.
6307         * Makefile.am (ordinary_java_source_files):
6308         Added new files.
6309         * Makefile.in: Regenerated.
6310
6311 2002-11-10  Tom Tromey  <tromey@redhat.com>
6312
6313         * java/awt/Container.java (validate): Use tree lock.
6314         (getComponent): Likewise.
6315         (getComponents): Likewise.
6316         (addImpl): Likewise.
6317         (remove): Likewise.
6318         (removeAll): Likewise.
6319         (processEvent): Fixed indentation.
6320         (getComponentAt): Use tree lock.
6321         (findComponentAt): Likewise.
6322         (removeNotify): Likewise.
6323         (isAncestorOf): Likewise.
6324         (list): Likewise.
6325         (visitChildren): Likewise.
6326         (findNextFocusComponent): Likewise.
6327         (addNotifyContainerChildren): Likewise.
6328         (getAccessibleChildrenCount): Likewise.
6329         (getAccessibleChild): Likewise.
6330
6331         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6332         (getSize): Likewise.
6333         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6334         (getSize): Likewise.
6335         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6336         (calcSize): Likewise.
6337         * java/awt/CardLayout.java (getSize): Use tree lock.
6338         (gotoComponent): Likewise.
6339         (layoutContainer): Likewise.
6340
6341         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6342         count is 0.
6343         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6344         count is 0.
6345
6346         * java/io/Externalizable.java, java/io/FilePermission.java,
6347         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6348         java/io/SerializablePermission.java, java/text/Format.java,
6349         java/util/AbstractMap.java, java/util/HashMap.java,
6350         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6351         versions from Classpath.
6352
6353 2002-11-10  Anthony Green  <green@redhat.com>
6354
6355         * java/util/jar/Attributes.java (Name): Fix name check.
6356
6357 2002-11-10  Mark Wielaard  <mark@klomp.org>
6358
6359         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6360         with getName() as message.
6361         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6362         type as message.
6363
6364         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6365         unused.
6366
6367 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6368
6369         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6370         for Win32. JNICALL has been defined to __stdcall to be compatible
6371         with Sun's JDKs.
6372
6373 2002-11-10  Tom Tromey  <tromey@redhat.com>
6374
6375         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6376         (setRows): Check newRows, not rows.
6377
6378         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6379
6380 2002-11-09  Tom Tromey  <tromey@redhat.com>
6381
6382         * java/applet/Applet.java, java/applet/AppletContext.java,
6383         java/applet/AppletStub.java, java/applet/AudioClip.java,
6384         java/awt/CardLayout.java,
6385         java/awt/ContainerOrderFocusTraversalPolicy.java,
6386         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6387         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6388         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6389         java/awt/color/ICC_ColorSpace.java,
6390         java/awt/color/ICC_Profile.java,
6391         java/awt/color/ICC_ProfileGray.java,
6392         java/awt/color/ICC_ProfileRGB.java,
6393         java/awt/datatransfer/DataFlavor.java,
6394         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6395         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6396         New versions from Classpath.
6397         * Makefile.in: Rebuilt.
6398         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6399         ICC_ProfileRGB.
6400
6401         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6402         display policy.
6403
6404         * java/awt/List.java (processEvent): Added missing `else's.
6405
6406         * java/awt/Window.java (show): validate() before showing.  Make
6407         parent displayable.
6408         (isDisplayable): New method.
6409
6410 2002-11-07  Mark Wielaard  <mark@klomp.org>
6411
6412         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6413         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6414
6415         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6416         annotation.
6417         (loadClass): Take String as codebases.
6418         (getClassAnnotation): Use MyClassLoader annotations.
6419         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6420         call exportObject(this).
6421
6422         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6423         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6424         (setAnnotation): Don't set locBytesStream and locStream.
6425         (replaceObject): Removed.
6426         (flush): Don't test locStream.
6427         (getLocBytes): LikeWise.
6428         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6429         (leaseCache): New field.
6430         (dirty): Use leaseCache.
6431         (LeaseRecord): New inner class.
6432         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6433         explicitly call exportObject().
6434         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6435         false to communicate with Sun JDK130.
6436         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6437         * gnu/java/rmi/server/RMIObjectInputStream.java
6438         (UnicastConnectionManager): Removed field.
6439         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6440         Use UnicastServer.getExportedRef().
6441         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6442         (expireTime): Likewise.
6443         (CONNECTION_TIMEOUT): Likewise.
6444         (disconnect): Call sock.close().
6445         (isExpired): New method.
6446         (resetTime): Likewise.
6447         (run): Use do while loop and catch Exception for discardConnection().
6448         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6449         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6450         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6451         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6452         (exportObject): Use refcache.
6453         (unexportObject): Likewise.
6454         (getExportedRef): New method.
6455         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6456         constructor.
6457         (exportObject): Save manager.serverobj.
6458         (getStub): New method.
6459
6460 2002-11-07  Mark Wielaard  <mark@klomp.org>
6461
6462         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6463         (getByte): Likewise.
6464         (getShort): Likewise.
6465         (getInt): Likewise.
6466         (getLong): Likewise.
6467         (getFloat): Likewise.
6468         (getDouble): Likewise.
6469         (get): Likewise.
6470         (setChar): Likewise.
6471         (setByte): Likewise.
6472         (setShort): Likewise.
6473         (setInt): Likewise.
6474         (setLong): Likewise.
6475         (setFloat): Likewise.
6476         (setDouble): Likewise.
6477
6478 2002-11-07  Michael Koch <konqueror@gmx.de>
6479
6480         * java/awt/Choice.java,
6481         java/awt/Container.java,
6482         java/awt/GridBagLayout.java:
6483         Fixed documentation.
6484         * java/awt/peer/ContainerPeer.java:
6485         Reindented.
6486
6487 2002-11-07  Michael Koch <konqueror@gmx.de>
6488
6489         * java/awt/color/ICC_Profile.java:
6490         Added missing constants.
6491         * java/awt/color/ICC_ColorSpace.java
6492         (getMinValue): Added dummy implementation.
6493         (getMaxValue): Added dummy implementation.
6494         * java/awt/datatransfer/DataFlavor.java
6495         (imageFlavor): Added.
6496         (isMimeTypeEqual): Must be final.
6497         (getDefaultRepresentationClass): Must be non-static.
6498         (getDefaultRepresentationClassAsString): Must be non-static.
6499         * java/awt/dnd/DragSourceContext.java
6500         (dragExit): Corrected argument.
6501         (dragDropEnd): Corrected argument.
6502         * java/awt/dnd/DragSourceListener.java.java
6503         (dragExit): Corrected argument.
6504         (dragDropEnd): Corrected argument.
6505         * java/awt/font/TextHitInfo.java
6506         (toString): Added stubbed implementation.
6507         * java/awt/geom/PathIterator.java:
6508         The constants must be static.
6509         * java/awt/image/VolatileImage.java
6510         (IMAGE_INCOMPATIBLE): Fixed typo.
6511         * java/awt/image/renderable/RenderableImage.java
6512         (HINTS_OBSERVED): Must be static.
6513         * java/beans/BeanInfo.java:
6514         Constants must be final.
6515
6516 2002-11-06  Tom Tromey  <tromey@redhat.com>
6517
6518         From svens@it.uu.se.  For PR libgcj/8481.
6519         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6520
6521 2002-11-06  Tom Tromey  <tromey@redhat.com>
6522
6523         * jni.cc (array_from_valist): Assume that jlong won't be
6524         promoted.
6525
6526 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6527
6528         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6529         Return 20.
6530         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6531         Return 16.
6532
6533 2002-11-03  Tom Tromey  <tromey@redhat.com>
6534
6535         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6536         VMClassLoader, not findClass.
6537
6538 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6539
6540         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6541         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6542         _Jv_DetermineVTableIndex, to determine vtable offset.
6543         (_Jv_DetermineVTableIndex): Remove.
6544         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6545
6546         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6547
6548 2002-11-03  Tom Tromey  <tromey@redhat.com>
6549
6550         * java/nio/channels/AlreadyConnectedException.java: Extend
6551         IllegalStateException, per spec.
6552
6553 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6554
6555         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6556
6557 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6558
6559         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6560         size items.
6561
6562 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6563
6564         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6565         initial estimated size to avoid enlarge buffer frequently.
6566
6567 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6568
6569         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6570         ClassLoader when null.
6571         (ProxyType.hashCode): Loader null check no longer needed.
6572         (ProxyType.sameTypes): New method.
6573         (ProxyType.equals): Use new method.
6574
6575 2002-10-31  Mark Wielaard  <mark@klomp.org>
6576
6577         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6578         length of String.
6579         * java/net/URLEncoder.java (encode): Likewise.
6580
6581 2002-10-31  Mark Wielaard  <mark@klomp.org>
6582
6583         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6584         when stream is closed.
6585         (closeEntry): Likewise.
6586         (read): Likewise.
6587         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6588         ZipException when no entry active.
6589         (closeEntry): Likewise.
6590         (write): Likewise.
6591
6592 2002-11-02  Tom Tromey  <tromey@redhat.com>
6593
6594         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6595         * java/lang/natClass.cc (initializeClass): Don't return just
6596         because self==thread.
6597
6598         For PR java/8415:
6599         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6600         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6601
6602 2002-11-02  Andreas Schwab  <schwab@suse.de>
6603
6604         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6605         pass GCJFLAGS.
6606         (FLAGS_TO_PASS): Define.
6607         * Makefile.in: Regenerated.
6608
6609 2002-11-01  Michael Koch  <konqueror@gmx.de>
6610
6611         * java/nio/ByteOrder.java: New file.
6612         * java/nio/channels/DatagramChannel.java:
6613         (DatagramChannel): New constructor.
6614         * java/nio/channels/Pipe.java: New file.
6615         * java/nio/channels/SelectableChannel.java: New file.
6616         * java/nio/channels/SelectionKey.java: New file.
6617         * java/nio/channels/Selector.java: New file.
6618         * java/nio/channels/ServerSocketChannel.java
6619         (ServerSocketChannel): New constructor.
6620         * java/nio/channels/SocketChannel.java
6621         (SocketChannel): New constructor.
6622         * java/nio/channels/Pipe.java: New file.
6623         * java/nio/channels/spi/AbstractChannel.java: New file.
6624         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6625         * java/nio/channels/spi/AbstractSelectableChannel.java:
6626         License added
6627         (AbstractSelectableChannel): New stubbed method.
6628         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6629         * java/nio/channels/spi/AbstractSelector.java: New file.
6630         * java/nio/channels/spi/SelectorProvider.java: New file.
6631         * java/nio/charset/Charset.java: New file.
6632         * java/nio/charset/CoderMalfunctionError.java: New file.
6633         * java/nio/charset/CodingErrorAction.java: New file.
6634         * java/nio/charset/spi/CharsetProvider.java
6635         (charsetForName): Uncommented.
6636         * Makefile.am (java_native_source_files): Added new files.
6637         * Makefile.in: Regenerated.
6638
6639 2002-11-01  Michael Koch  <konqueror@gmx.de>
6640
6641         * java/net/InetAddress.java:
6642         (isAnyLocalAddress): Implemented.
6643         (isLoopbackAddress): Implemented, comment added.
6644         (isLinkLocalAddress): Implemented, documentation added.
6645         (isSiteLocalAddress): Implemented, documentation added.
6646         (isMCGlobal): Implemented, documentation added.
6647         (isMCNodeLocal): Implemented, documentation added.
6648         (isMCLinkLocal): Implemented, documentation added.
6649         (isMCSiteLocal): Implemented, documentation added.
6650         (isMCOrgLocal): Implemented, documentation added.
6651         (getHostName): Documentation added.
6652         (getCanonicalHostName): Implemented, documentation added.
6653         (getAddress): Documentation added.
6654         (hashCode): Documentation added.
6655         (equals): Documentation added.
6656         (toString): Fixed implementation.
6657         (getByAddress): Use Inet4Address and Inet6Address.
6658         (lookup): New linewrap.
6659         (getByName): SecurityManager check added, support Inet4Address and
6660         Inet6address, comments added.
6661         (getAllByName): SecurityManager check added, comments added.
6662         * java/net/Inet6Address.java:
6663         (Inet6Address): Initialize parent class with addr instead of null.
6664         * java/net/URL.java
6665         (equals): Documentation added.
6666         (getFile): Documentation added.
6667         (hashCode): Documentation added.
6668         * java/net/natInetAddress.cc:
6669         (aton): Fix IPv6 support.
6670         * java/net/natPlainDatagramSocketImpl.cc:
6671         (peek): Throw PortUnreachableException when suitable.
6672         (peekData): Throw PortUnreachableException when suitable.
6673         (send): Throw PortUnreachableException when suitable.
6674         (receive): Throw PortUnreachableException when suitable.
6675
6676 2002-10-27  Mark Wielaard  <mark@klomp.org>
6677
6678         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6679         argument.
6680         (readLeShort): Likewise and use byte[].
6681         (readLeInt): Likewise.
6682         (readEntries): Use new versions of methods and use byte[] for reading
6683         a complete zip entry. Add ZipFile name to exceptions.
6684         (entries): Add ZipFile name to exceptions.
6685         (getEntry): Likewise.
6686         (checkLocalHeader): Use new versions of methods and add ZipFile name
6687         to exceptions.
6688
6689 2002-10-31  Mark Anderson  <mark@panonet.net>
6690
6691         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6692         added
6693
6694 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
6695
6696         * configure.in: Disable hash sync when not using threads.
6697         * configure: Regenerated.
6698
6699 2002-10-24  Tom Tromey  <tromey@redhat.com>
6700
6701         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6702         (_Jv_FindSymbolInExecutable): Removed argument name.
6703         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6704         java.library.path is set.
6705
6706         * gij.cc (help): Document --showversion.
6707         (version): Don't exit.
6708         (main): Handle --showversion.  Exit if --version given.
6709
6710 2002-10-23  Tom Tromey  <tromey@redhat.com>
6711
6712         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6713         (array_from_valist): Correctly handle promotion for jint, jlong,
6714         jfloat, and jdouble.
6715
6716 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
6717
6718         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6719         GetFileAttributesEx( ) to find file length and modification times,
6720         as the latter is not present on Windows 95.
6721
6722 2002-10-21  Michael Koch  <konqueror@gmx.de>
6723
6724         * java/net/URL.java
6725         (URL): Activate SecurityManager checks.
6726         (equals): Use URLStreamHandler implementation instead of doing it
6727         alone. This allows special protocol stream handlers to change default
6728         behaviour.
6729         (hashCode): Use URLStreamHandler implementation instead of doing it
6730         alone. This allows special protocol stream handlers to change default
6731         behaviour.
6732         * java/net/URLStreamHandler.java
6733         (equals): Implemented default URL equality check.
6734         (hostsEqual): Implemented default URL equality check.
6735         (hashCode): Implemented default URL hashCode algorithm.
6736         * java/net/natPlainDatagramSocketImpl.cc:
6737         No lines longer then 80 characters.
6738
6739 2002-10-20  Adam Megacz <adam@xwt.org>
6740
6741         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6742         * configure.in: enabled hash sync on Win32
6743         * include/win32-threads.h (_Jv_ThreadId_t): added.
6744         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6745         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6746         removed some posix-isms, use Thread::sleep() instead of usleep,
6747         added code to clear bottom three bits if platform has a broken
6748         linker.
6749         * include/win32-threads.h (_Jv_ThreadId_t): added.
6750
6751 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
6752
6753         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6754         runtime property "gnu.gcj.progname" containing the name used to
6755         invoke the current Java program (similar to argv[0] for C
6756         programs).
6757
6758 2002-10-15  Tom Tromey  <tromey@redhat.com>
6759
6760         Fix for PR libgcj/8234:
6761         * java/util/zip/natInflater.cc (reset): Reset avail_in.
6762         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6763
6764 2002-10-13  Mark Wielaard  <mark@klomp.org>
6765
6766         * mauve-libgcj: Enable Mauve tests that compile now.
6767
6768 2002-10-11  Mark Wielaard  <mark@klomp.org>
6769
6770         Fix for PR libgcj/8142
6771         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6772         loading native modules.
6773
6774 2002-10-10  Michael Koch  <konqueror@gmx.de>
6775
6776         * javax/swing/AbstractListModel.java
6777         (getListDataListeners): New stubbed method.
6778         javax/swing/DefaultBoundedRangeModel.java
6779         (getChangeListeners): New stubbed method.
6780         javax/swing/DefaultSingleSelectionModel.java
6781         (getChangeListeners): New stubbed method.
6782
6783 2002-10-10  Michael Koch  <konqueror@gmx.de>
6784
6785         * gcj/.cvsignore: New file to ignore files generated during build.
6786         * include/.cvsignore: New file to ignore files generated during build.
6787
6788 2002-10-10  Michael Koch  <konqueror@gmx.de>
6789
6790         * java/net/HttpURLConnection.java
6791         (getPermission): New method.
6792         (getErrorStream): New stub method.
6793         (getHeaderFieldDate): New stub method.
6794         * java/net/Inet4Address.java:
6795         (isLinkLocalAddress): Typo fixed.
6796         * java/net/InetAddress.java:
6797         (readResolve): New stubbed method (for serialization).
6798         (isAnyLocalAddress): New stubbed method.
6799         (isLoopbackAddress): New stubbed method.
6800         (isLinkLocalAddress): New stubbed method.
6801         (isSiteLocalAddress): New stubbed method.
6802         (isMCGlobal): New stubbed method.
6803         (isMCNodeGlobal): New stubbed method.
6804         (isMCLinkLocal): New stubbed method.
6805         (isMCSiteLocal): New stubbed method.
6806         (isMCOrgLocal): New stubbed method.
6807         (getCanonicalHostName): New stubbed method.
6808         (getByAddress): Create instances of Inet4Address/Inet6Address,
6809         instead of InetAddress, documentation added.
6810         * java/net/MulticastSocket.java
6811         (getInterface): Removed FIXME.
6812         (getNetworkInterface): New method.
6813         (setNetworkInterface): New method.
6814         * java/net/NetworkInterface.java:
6815         (toString): Use property "line.separator" instead of "\n".
6816         * java/net/URLConnection.java
6817         (getContent): New stubbed method.
6818         * java/net/URLStreamHandler.java:
6819         (equals): New stubbed method.
6820         (hostsEqual): New stubbed method.
6821         (hashCode): New stubbed method.
6822         * java/net/natNetworkInterface.cc:
6823         (getRealNetworkInterfaces): Create Inet4Address object
6824         instead of InetAddress.
6825
6826 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6827
6828         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
6829         unsigned long temporary to implement insn_iushr shifts.
6830
6831 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
6832
6833         * configure.host [s390*-*]: Enable Java interpreter.
6834         Enable hash synchronization.  Add sysdeps dir.
6835         * sysdep/s390/locks.h: New file.
6836
6837 2002-10-06  Mark Wielaard  <mark@klomp.org>
6838
6839         * java/lang/Thread.java (setDaemon): Check startable_flag,
6840         not isAlive().
6841
6842 2002-10-07  Michael Koch  <konqueror@gmx.de>
6843
6844         * java/nio/Buffer.java: New stub file.
6845         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
6846         of class Charset.
6847         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
6848         * Makefile.in: Regenerated.
6849
6850 2002-10-07  Michael Koch  <konqueror@gmx.de>
6851
6852         * java/nio/ByteBuffer.java:
6853         removed import of not commited class.
6854
6855 2002-10-07  Michael Koch  <konqueror@gmx.de>
6856
6857         * java/nio/ByteBuffer.java,
6858         java/nio/MappedByteBuffer.java:
6859         New files, forgot to add these dummies.
6860         * Makefile.am (java_native_source_files): Added new files.
6861         * Makefile.in: Regenerated.
6862
6863 2002-10-07  Michael Koch  <konqueror@gmx.de>
6864
6865         * java/nio/channels/AlreadyConnectedException.java,
6866         java/nio/channels/ClosedChannelException.java,
6867         java/nio/channels/ReadableByteChannel.java,
6868         java/nio/channels/InterruptibleChannel.java,
6869         java/nio/channels/Channel.java,
6870         java/nio/channels/ByteChannel.java,
6871         java/nio/channels/GatheringByteChannel.java,
6872         java/nio/channels/ScatteringByteChannel.java,
6873         java/nio/channels/WritableByteChannel.java,
6874         java/nio/charset/CharacterCodingException.java,
6875         java/nio/charset/IllegalCharsetNameException.java,
6876         java/nio/charset/MalformedInputException.java,
6877         java/nio/charset/UnmappableCharacterException.java,
6878         java/nio/charset/UnsupportedCharsetException.java,
6879         java/nio/charset/spi/CharsetProvider.java: New file.
6880         These files are exceptions or interfaces,
6881         no real or abstract classes.
6882         * Makefile.am (java_native_source_files): Added new files.
6883         * Makefile.in: Regenerated.
6884
6885 2002-10-05  Michael Koch  <konqueror@gmx.de>
6886
6887         * java/net/InetAddress.java
6888         (getByAddress): Fixed documentation.
6889         (getByAddress): New method.
6890         * java/net/Inet4Address.java: New file.
6891         * java/net/URL.java
6892         (URL): Documentation added.
6893         (getContent): Documentation added.
6894         (getContent): New stubbed method.
6895         (getQuery): New method.
6896         (openConnection): Documentation added.
6897         (openStream): Documentation added.
6898         (setURLStreamHandlerFactory): Documentation added.
6899         * java/net/URI.java: New stub file.
6900         * Makefile.am
6901         (java_native_source_files): Added java/net/Inet4Address.java,
6902         java/net/Inet6Address.java and java/net/URI.java.
6903         * Makefile.in: Regenerated.
6904
6905 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
6906
6907         * java/lang/ProtectionDomain.java (linesep): Remove field.
6908         (toString): Use System.getProperty("line.separator").
6909
6910 2002-10-04  Michael Koch  <konqueror@gmx.de>
6911
6912         * java/security/Identity.java: Added serialVersionUID.
6913         * java/security/KeyPair.java: Added serialVersionUID.
6914         * java/security/Provider.java: Added serialVersionUID.
6915         * java/security/SecureRandom.java: Added serialVersionUID.
6916         * java/security/SecureRandomSpi.java: Added serialVersionUID.
6917         * java/security/SignedObject.java: Added serialVersionUID.
6918         * java/security/cert/Certificate.java: Added serialVersionUID.
6919
6920 2002-10-04  Mark Wielaard <mark@klomp.org>
6921
6922         * java/security/Security.java: Use java.home or gnu.classpath.home
6923         to load providers.
6924         (loadProviders): Extra dir argument.
6925         (getProvider): Return null when not found.
6926
6927 2002-10-04  Mark Wielaard  <mark@klomp.org>
6928
6929         * java/lang/Throwable.java: Remerge with Classpath.
6930
6931 2002-10-04  Michael Koch  <konqueror@gmx.de>
6932
6933         * java/net/InetAddress.java:
6934         (isMulticastAddress): Added documentation.
6935         (getHostAddress): Added documentation.
6936         (toString): Added documentation.
6937         (getByAddress): Fixed documentation.
6938         (getByName): Added documentation.
6939         (getAllByName): Added documentation.
6940         (getLocalHost): Added documentation.
6941
6942 2002-10-04  Michael Koch  <konqueror@gmx.de>
6943
6944         * java/beans/beancontext/BeanContextChildSupport.java:
6945         Added serialVersionUID.
6946         * java/text/Collator.java: (compare): Made documentation HTML-aware.
6947         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
6948         * javax/naming/Name.java: Added serialVersionUID.
6949
6950 2002-10-03  Adam Megacz <adam@xwt.org>
6951
6952         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
6953         some functionality that isn't supported yet on WIN32.
6954
6955 2002-10-03  Tom Tromey  <tromey@redhat.com>
6956
6957         * Makefile.in: Rebuilt.
6958         * Makefile.am (awt_java_source_files): Added new files.
6959
6960 2002-10-03  Michael Koch  <konqueror@gmx.de>
6961
6962         * java/net/InetAddress.java
6963         (class InetAddress): Removed final keyword.
6964         (equals): Fixed typo.
6965         (getByAddress): New method.
6966
6967 2002-10-03  Michael Koch  <konqueror@gmx.de>
6968
6969         * java/awt/dnd/Autoscroll.java:
6970         New file, merge from Classpath.
6971         * java/awt/dnd/DragSourceAdapter.java:
6972         (dragExit): Fixed typos in argument type.
6973         (dragDropEnd): Fixed typos in argument type.
6974         * java/awt/dnd/DragSourceDropEvent.java:
6975         New file, merge from Classpath.
6976         * java/awt/dnd/DropTarget.java:
6977         Added stubs, merge from Classpath.
6978         * java/awt/dnd/DropTargetAdapter.java:
6979         New file, merge from Classpath.
6980         * java/awt/dnd/DropTargetContext.java:
6981         New file, merge from Classpath.
6982         * java/awt/dnd/DropTargetDragEvent.java:
6983         New file, merge from Classpath.
6984         * java/awt/dnd/DropTargetDropEvent.java:
6985         New file, merge from Classpath.
6986         * java/awt/dnd/DropTargetEvent.java:
6987         New file, merge from Classpath.
6988         * java/awt/dnd/DropTargetListener.java:
6989         New file, merge from Classpath.
6990         * java/awt/dnd/MouseDragGestureRecognizer.java:
6991         New file, merge from Classpath.
6992         * java/awt/dnd/peer/DropTargetContextPeer.java:
6993         New file, merge from Classpath.
6994
6995 2002-10-03  Michael Koch  <konqueror@gmx.de>
6996
6997         * java/net/DatagramPacket.java
6998         (setLength): Fixed typo and be HTML-aware.
6999         * java/net/InetSocketAddress.java
7000         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7001         (equals): Added comment about equality of InetSocketAddress objects.
7002         * java/net/ServerSocket.java
7003         (accept): Added checks.
7004         (isClosed): New stubbed method.
7005         * java/net/SocketOptions.java: Reindention.
7006         * java/net/SocketPermission
7007         (SocketPermission): Documentation fixed.
7008
7009 2002-10-03  Michael Koch  <konqueror@gmx.de>
7010
7011         * java/net/DatagramSocket.java
7012         (receive): Check with SecurityManager AFTER the packet is received,
7013         check if connected to multicast address, documentation added.
7014         (send): Only check SecurityManager if connected, check address of
7015         packet to send.
7016         (connect): Implemented, documentation added.
7017         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7018         * java/net/InetSocketAddress.java
7019         (whole file): Reindented.
7020         (hostname): New attribute.
7021         (InetSocketAddress): Initialize new attribute.
7022         (getAddress): Documentation added.
7023         (getHostName): Documentation added.
7024         (getPort): Documentation added.
7025         (hashCode): Documentation added.
7026         (isUnresolved): Documentation added.
7027         (toString): Conform to output of JDK 1.4.1, documentation added.
7028         * java/net/MulticastSocket.java
7029         (joinGroup): Removed FIXME, documentation added.
7030         (leaveGroup): Removed FIXME, documentation added.
7031         (send): Documentation added.
7032         * java/net/Socket.java
7033         (inputShutdown): New variable.
7034         (outputShutdown): New variable.
7035         (Socket): Initialize new variables.
7036         (getRemoteSocketAddress): Check if connected.
7037         (shutdownInput): Set new variable.
7038         (shutdownOutput): Set new variable.
7039         (isConnected): New method.
7040         (isClosed): New method.
7041         (isInputShutdown): New method.
7042         (isOutputShutdown): New method.
7043         * java/net/URLStreamHandler.java
7044         (URLStreamHandler): New method.
7045         (openConnection): Added documentation.
7046         (parseURL): Added documentation.
7047         (getHostAddress): New method.
7048         (getDefaultPort): New method.
7049
7050 2002-10-02  Tom Tromey  <tromey@redhat.com>
7051
7052         * java/rmi/activation/ActivationDesc.java,
7053         java/rmi/activation/ActivationGroupDesc.java,
7054         java/rmi/activation/ActivationGroupID.java,
7055         java/rmi/activation/ActivationID.java: New versions from
7056         Classpath.
7057
7058 2002-09-30  Bo Thorsen  <bo@suse.de>
7059
7060         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7061
7062 2002-09-30  Tom Tromey  <tromey@redhat.com>
7063
7064         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7065         from Classpath.
7066         * Makefile.in: Rebuilt.
7067         * Makefile.am (rmi_java_source_files): Added new files.
7068         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7069         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7070         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7071         Classpath.
7072         * gnu/java/rmi/dgc/DGCImpl.java,
7073         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7074         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7075         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7076         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7077         gnu/java/rmi/server/RMIHashes.java,
7078         gnu/java/rmi/server/RMIObjectInputStream.java,
7079         gnu/java/rmi/server/RMIObjectOutputStream.java,
7080         gnu/java/rmi/server/UnicastConnection.java,
7081         gnu/java/rmi/server/UnicastConnectionManager.java,
7082         gnu/java/rmi/server/UnicastRef.java,
7083         gnu/java/rmi/server/UnicastServer.java,
7084         gnu/java/rmi/server/UnicastServerRef.java,
7085         java/rmi/MarshalledObject.java,
7086         java/rmi/server/RMIClassLoader.java,
7087         java/rmi/server/RemoteObject.java,
7088         java/rmi/server/UnicastRemoteObject.java,
7089         java/security/SecureClassLoader.java: Merged from Classpath.
7090
7091 2002-09-29  Anthony Green  <green@redhat.com>
7092
7093         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7094         Imported from GNU Classpath.
7095         * java/lang/reflect/natProxy.cc: New file.
7096         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7097         from GNU Classpath.
7098         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7099         Classpath.
7100         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7101         Classpath.
7102         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7103         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7104         New statics.
7105         * gcj/javaprims.h ("Java"): Add new classes.
7106         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7107         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7108         java/lang/reflect/Proxy$$ProxyType.h): And this.
7109         (inner_nat_headers): Add these new headers.
7110         (ordinary_java_source_files): Add new files.
7111         (nat_source_files): Add new file.
7112         * Makefile.in: Rebuilt.
7113
7114 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7115
7116         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7117         a single configuration.
7118
7119 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7120
7121         * java/util/TimeZone.java (getDSTSavings): New method.
7122         Fixes PR libgcj/7786.
7123
7124 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7125
7126         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7127         to see if `the_method == 0' before looking up vtable index.
7128         Fixes PR libgcj/7709.
7129
7130 2002-09-25  Tom Tromey  <tromey@redhat.com>
7131
7132         * java/lang/natClassLoader.cc:
7133         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7134         * resolve.cc: Include NoClassDefFoundError.h, not
7135         ClassNotFoundException.h.
7136         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7137
7138         * defineclass.cc: Don't include ClassNotFoundException.h.
7139
7140         * resolve.cc: Include StringBuffer.
7141         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7142
7143         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7144         allocated but not initialized.
7145
7146 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7147
7148         Fix for PR libgcj/7766:
7149         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7150         (getNextEntry): Set it.
7151         (closeEntry): Likewise.
7152         (read): Likewise.
7153         (close): Likewise.
7154         (available): Use it.
7155
7156 2002-09-25  Michael Koch  <konqueror@gmx.de>
7157
7158         * java/net/DatagramSocket.java
7159         (DatagramSocket): Initialize new instance variables.
7160         (close): Reset new instance variables.
7161         (getLocalAddress): Remove unneeded SecurityManager usage.
7162         (getLocalPort): Check if socket is already bound.
7163         (isConnected): New method.
7164         (getInetAddress): Implemented.
7165         (getPort): Better Implementation, documentation fixed.
7166         (getRemoteSocketAddress): New method.
7167         * java/net/JarURLConnection.java
7168         (element): Typo fixed.
7169         (getMainAttributes): New method.
7170         (getAttributes): New method (stub only).
7171         (getManifest): New method (stub only).
7172         * java/net/NetPermission.java: Added serialVersionsUID.
7173         * java/net/Socket.java
7174         (connect): Check blocking mode of associated channel,
7175         documentation added.
7176         (getLocalSocketAddress): Better implementation.
7177         (getRemoteSocketAddress): Implemented.
7178         (isBound): New method.
7179         (setSendBufferSize): Documentation added.
7180         * java/net/SocketAddress.java: Added serialVersionsUID.
7181         * java/net/SocketPermission.java: Added serialVersionsUID.
7182         * java/net/URL.java
7183         (URL): Wrap for shorter lines, initialize new instance variables,
7184         documentation added.
7185         (equals): Check new instance variables too.
7186         (getContent): Documentation added.
7187         (getPath): Documentation added.
7188         (getAuthority): New method.
7189         (getHost): Documentation added.
7190         (getPort): Documentation added.
7191         (getDefaultPort): New method.
7192         (getProtocol): Documentation added.
7193         (getUserInfo): Documentation added.
7194         (set): Initialize new instance variables, documentation added.
7195         * java/net/URLStreamHandler.java
7196         (setURL): New method.
7197         * java/net/natPlainDatagramSocketImpl.cc
7198         (connect): Fix exception name.
7199         (disconnect): Fix exception name.
7200
7201 2002-09-25  Michael Koch  <konqueror@gmx.de>
7202
7203         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7204         * java/nio/channels/DatagramChannel.java:
7205         extends AbstractSelectableChannel
7206         * java/nio/channels/ServerSocketChannel.java:
7207         extends AbstractSelectableChannel
7208         * java/nio/channels/SocketChannel.java:
7209         extends AbstractSelectableChannel
7210         * Makefile.am (ordinary_java_source_files):
7211         java/nio/channels/spi/AbstractSelectableChannel.java added.
7212         * Makefile.in: Regenerated.
7213
7214 2002-09-25  Michael Koch  <konqueror@gmx.de>
7215
7216         * java/net/DatagramSocket.java
7217         (DatagramSocket): Exception documentation added.
7218         (bind): Exception documentation added, addded SecurityManager check,
7219         added SocketAddress type check.
7220         (getSoTimeout): Check impl.
7221         (receive): Fix SecurityManager check, check impl, documentation added.
7222         (send): Check channel mode, documentation added.
7223         (connect): New method.
7224         (disconnect): Implemented.
7225         (getLocalSocketAddress): New method.
7226         (getReceiveBufferSize): Check impl.
7227         (setReuseAddress): Check impl.
7228         (getReuseAddress): Check impl.
7229         (setBroadcast): Check impl.
7230         (getBroadcast): Check impl.
7231         (setTrafficClass): Check impl, Documentation cleared.
7232         (getTrafficClass): Check impl.
7233         (getSendBufferSize): Check impl.
7234         (setReceiveBufferSize): Check impl, documentation added.
7235         (setSendBufferSize): Documentation added.
7236         (setDatagramSocketImplFactory): New method.
7237         * java/net/HttpURLConnection.java
7238         (HTTP_INTERNAL_ERROR): The correct code is 500.
7239         (HTTP_NOT_IMPLEMENTED): Added new constant.
7240         (setFollowRedirects): Documentation added.
7241         (getInstanceFollowRedirects): New method.
7242         (setInstanceFollowRedirects): New method.
7243         (setRequestMethod): Documentation added.
7244         (getResponseCode): Documentation added.
7245         (getResponseMessage): Documentation added.
7246         * java/net/JarURLConnection.java
7247         (JarURLConnection): protected since JDK 1.4.
7248         (getJarEntry): java.io.IOException to IOException, documentation added.
7249         (getJarFile): Documentation added.
7250         * java/net/ServerSocket.java
7251         (ServerSocket): Private to public, exception added.
7252         (ServerSocket): java.io.IOException to IOException, documentation added.
7253         (bind): Check socket address type, documentation added.
7254         (bind): java.io.IOException to IOException, documentation added.
7255         (accept): Documentation added.
7256         (implAccept): Check ch is not non-blocking, documentation added.
7257         (setSoTimeout): Documentation fixed.
7258         (setReceiveBufferSize): Documentation added.
7259         * java/net/Socket.java
7260         (Socket): Documentation added.
7261         (bind): Documentation added.
7262         (connect): Check socket address type, documentation added.
7263         (getRemoteSocketAddress): New method.
7264         (getLocalSocketAddress): New method.
7265         (setSoLinger): Documentation added.
7266         (getReuseAddress): New method.
7267         (setReuseAddress): New method.
7268         (getTrafficClass): New method.
7269         (setTrafficClass): New method.
7270         * java/net/URLStreamHandler.java
7271         (openConnection): java.io.IOException to IOException.
7272         (parseURL): Documentation added.
7273         (sameFile): public to protected, documentation added.
7274         (setURL): Documentation added.
7275         * java/nio/IllegalBlockingModeException.java: New file.
7276         * Makefile.am (ordinary_java_source_files):
7277         added java/nio/IllegalBlockingModeException.java
7278         * Makefile.in: Regenerated.
7279
7280 2002-09-25  Michael Koch  <konqueror@gmx.de>
7281
7282         * java/net/DatagramPacket
7283         (DatagramPacket): Exception documentation added.
7284         (setData): Likewise.
7285         (setSocketAddress): Likewise.
7286         * java/net/DatagramSocketImpl.java
7287         (peek): Documentation addded.
7288         (peekData): Documentation addded.
7289         (send): Documentation addded.
7290         (receive): Documentation addded.
7291         (connect): New method.
7292         (disconnect): New method.
7293         (joinGroup): New abstract method.
7294         (leaveGroup): New abstract method.
7295         * java/net/InetSocketAddress.java
7296         (InetSocketAddress): Documentation added.
7297         (equals): final keyword added.
7298         (getAddress): final keyword added.
7299         (getHostName): final keyword added.
7300         (getPort): final keyword added.
7301         (hashCode): final keyword added.
7302         (isUnresolved): final keyword added.
7303         * java/net/MulticastSocket.java
7304         (MulticastSocket): Documentation added.
7305         (MulticastSocket): New method.
7306         (joinGroup): Documentation added.
7307         (joinGroup): New method.
7308         (leaveGroup): Documentation added.
7309         (leaveGroup): New method.
7310         (send): Documentation added.
7311         * java/net/NetworkInterface.java
7312         (getByName): Documentation added.
7313         (getByInetAddress): Documentation added.
7314         (getNetworkInterfaces): Documentation added.
7315         * java/net/PlainDatagramSocketImpl.java
7316         (connect): New method.
7317         (disconnect): New method.
7318         * java/net/SocketImpl.java
7319         (create): Documentation added.
7320         (shutdownInput): Convert public to protected, as it always was.
7321         (shutdownOutput): Convert public to protected, as it always was.
7322         * java/net/SocketOptions.java
7323         (whole file): Reintented.
7324         * java/net/URLClassLoader.java
7325         (URLClassLoader): SecurityManager check added, documentation added.
7326         (findResources): Documentation added.
7327         (findClass): Documentation added.
7328         (newInstance): More correct method arguments.
7329         * java/net/URLConnection.java
7330         (connect): Documentation added.
7331         (getContent): Documentation added.
7332         (getPermission): Documentation added.
7333         (getInputStream): Documentation added.
7334         (getOutputStream): Documentation added.
7335         (setDoInput): Throw correct exception, documentation added.
7336         (setDoOutput): Throw correct exception, documentation added.
7337         (setAllowUserInteraction): Throw correct exception, documentation added.
7338         (setUseCaches): Throw correct exception, documentation added.
7339         (setIfModifiedSince): Throw correct exception, documentation added.
7340         (setRequestProperty): Throw exception, documentation added.
7341         (addRequestProperty): Throw exception, documentation added.
7342         (getRequestProperty): Throw exception, documentation added.
7343         (getRequestProperties): Documentation added.
7344         (setContentHandlerFactory): Documentation added.
7345         (guessContentTypeFromName): protected to public.
7346         (setFileNameMap): Documentation added.
7347         * java/net/URLDecoder.java
7348         (URLDecoder): New method.
7349         (decode): Documentation added.
7350         (whole file): Reindented.
7351         * java/net/URLEncoder.java
7352         (encode): Documentation added.
7353         * java/net/natPlainDatagramSocketImpl.cc
7354         (connect): New method.
7355         (disconnect): New method.
7356         * javax/naming/RefAddr:
7357         (addrType): addrType was never final.
7358         (equals): Fix typo in method name.
7359         * javax/naming/BinaryRefAddr:
7360         (equals): Fix typo in method name.
7361
7362 2002-09-22  Tom Tromey  <tromey@redhat.com>
7363
7364         Fix for PR libgcj/6576:
7365         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7366         didn't find a given bundle.
7367         (getBundle): Don't require base bundle.
7368         (setParent): Removed old comment.
7369         (tryLocalBundle): Try components even if preceding components were
7370         empty.
7371
7372 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7373
7374         * Makefile.am (all-multi): Fix multilib parallel build.
7375
7376 2002-09-21  Michael Koch  <konqueror@gmx.de>
7377
7378         * java/net/Socket.java
7379         (sendUrgentData): New method.
7380         (getChannel): New method.
7381         * java/net/ServerSocket.java
7382         (getChannel): New method.
7383         (isBound): New method.
7384         * java/net/DatagramSocket.java
7385         (DatagramSocket): Two new methods.
7386         (bind): New method.
7387         (getChannel): New method.
7388         (isBound): New method.
7389         (send): Added newline to to make shorter lines.
7390         * java/net/PlainDatagramSocketImpl.java
7391         (mcastGrp): Added argument.
7392         (join): Use new mcastGrp.
7393         (leave): Use new mcastGrp.
7394         (joinGroup): New method.
7395         (leaveGroup): New method.
7396         * java/net/natPlainDatagramSocketImpl.cc
7397         (mcastGrp): Added argument, no yet really implemented.
7398         (getOption): Added newline for shorter lines.
7399         * java/net/natPlainSocketImpl.cc
7400         (read, setOption, getOption): Added newline for shorter lines.
7401
7402 2002-09-19  Tom Tromey  <tromey@redhat.com>
7403
7404        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7405        newly-created exception.
7406
7407 2002-09-18  Michael Koch  <konqueror@gmx.de>
7408
7409         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7410         java/util/regex/PatternSyntaxException.java:
7411         Merge with classpath, new files.
7412         * Makefile.am (core_java_source_files):
7413         Added java/util/regex/Matcher.java,
7414         java/util/regex/Pattern.java,
7415         java/util/regex/PatternSyntaxException.java
7416         * Makefile.in: Regenerated.
7417         * include/config.h.in: Added HAVE_NET_IF_H.
7418         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7419         Removed #if 0 ... #endif.
7420
7421 2002-09-17  Michael Koch  <konqueror@gmx.de>
7422
7423         * java/net/natNetworkInterface.cc:
7424         Removed unneed and yet wrong includes.
7425
7426 2002-09-17  Michael Koch  <konqueror@gmx.de>
7427
7428         * java/net/NetworkInterface.java: New file.
7429         * java/net/natNetworkInterface.java: New file.
7430         * configure.in: Added check for net/if.h.
7431         * configure: Regenerated.
7432         * Makefile.am
7433         (ordinary_java_source_files): Added NetworkInterface.java.
7434         (nat_source_files): Added natNetworkInterface.cc.
7435         * Makefile.in: Regenerated.
7436
7437 2002-09-16  Tom Tromey  <tromey@redhat.com>
7438
7439         * java/net/URLClassLoader.java (findClass): Code source for a
7440         class from a jar is not necessarily a jar: URL.
7441
7442 2002-09-16  Michael Koch  <konqueror@gmx.de>
7443
7444         * java/lang/AssertionError.java:
7445         Merge with classpath, fixes HTML.
7446         * java/rmi/server/LogStream.java:
7447         Merge with classpath, fixes some constants.
7448         * java/net/server/RemoteServer.java:
7449         Merge with classpath, adds serialVersionUID.
7450         * javax/naming/BinaryRefAddr.java:
7451         Merge with classpath, s/equal/equals/.
7452         * javax/naming/NamingException.java:
7453         Merge with classpath, fixed typo.
7454         * javax/naming/RefAddr.java:
7455         Merge with classpath, s/equal/equals/.
7456         * java/awt/Toolkit.java:
7457         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7458         and typo fixed.
7459
7460 2002-09-15  Adam Megacz <adam@xwt.org>
7461
7462         * java/net/natPlainSocketImpl.cc: fixed typo.
7463
7464 2002-09-15  Adam Megacz <adam@xwt.org>
7465
7466         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7467         which don't work on Win32 (yet).
7468
7469 2002-09-14  Adam Megacz <adam@xwt.org>
7470
7471         * java/net/natPlainDatagramSocket.cc: removed #include
7472         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7473         * include/win32.h: included definition for IP_TOS to satisfy
7474         natPlainDatagramSocket.cc
7475
7476 2002-09-13  Michael Koch  <konqueror@gmx.de>
7477
7478         * java/net/DatagramPacket.java (DatagramPacket):
7479         Added linebreak for 80 chars per line.
7480         * java/net/JarURLConection.java
7481         (getInputStreami, getJarEntry): Likewise.
7482         * java/net/SocketPErmission.java
7483         (SocketPermission class docu, implies): Likewise.
7484         * java/net/URLClassLoader.java (findResources): Likewise.
7485         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7486
7487 2002-09-13  Michael Koch  <konqueror@gmx.de>
7488
7489         * java/nio/channels/DatagramChannel.java,
7490         java/nio/channels/ServerSocketChannel.java
7491         java/nio/channels/SocketChannel.java:
7492         New dummy files to make java.net fully JDK 1.4 compatible
7493         * Makefile.am (ordinary_java_source_files): Added
7494         java/net/DatagramSocketImplFactory.java (long forgotten),
7495         java/nio/SocketChannel.java,
7496         java/nio/ServerSocketChannel.java,
7497         java/nio/DatagramChannel.java
7498         * Makefile.in: Regenrated.
7499
7500 2002-09-12  Michael Koch  <konqueror@gmx.de>
7501
7502         * java/net/DatagramSocketImpl.java
7503         (peekData): New method.
7504         * java/net/PlainDatagramSocketImpl.java
7505         (peekData): New method.
7506         * java/net/natPlainDatagramSocketImpl.cc
7507         (peekData): New method.
7508         * java/net/URLConnection
7509         (getPermission): New method.
7510         (addRequestProperty): New method.
7511         (getRequestProperties): New method.
7512         (guessContentTypeFromStream): New method, not really implemented.
7513         (URLConnection): Added/updated documentation.
7514         (connect): Added/updated documentation.
7515         (getURL): Added/updated documentation.
7516         (getContentLength): Added/updated documentation.
7517         (getContentType: Added/updated documentation.
7518         (getContentEncoding): Added/updated documentation.
7519         (getExpiration): Added/updated documentation.
7520         (getDate): Added/updated documentation.
7521         (getLastModified): Added/updated documentation.
7522         (getHeaderField): Added/updated documentation.
7523         (getHeaderFields): Added/updated documentation.
7524         (getHeaderFieldInt): Added/updated documentation.
7525         (getHeaderFieldDate): Added/updated documentation.
7526         (getHeaderFieldKey): Added/updated documentation.
7527         (getContent): Added/updated documentation.
7528         (getInputStream): Added/updated documentation.
7529         (getOutputStream): Added/updated documentation.
7530         (toString): Added/updated documentation.
7531         (setDoInput): Added/updated documentation.
7532         (getDoInput): Added/updated documentation.
7533         (setDoOutput): Added/updated documentation.
7534         (getDoOutput): Added/updated documentation.
7535         (setAllowUserInteraction): Added/updated documentation.
7536         (getAllowUserInteraction): Added/updated documentation.
7537         (setDefaultAllowUserInteraction): Added/updated documentation.
7538         (getDefaultAllowUserInteraction): Added/updated documentation.
7539         (setUseCaches): Added/updated documentation.
7540         (getUseCaches): Added/updated documentation.
7541         (setIfModifiedSince): Added/updated documentation.
7542         (getIfModifiedSince): Added/updated documentation.
7543         (getDefaultUseCaches): Added/updated documentation.
7544         (setDefaultUseCaches): Added/updated documentation.
7545         (setRequestProperty): Added/updated documentation.
7546         (getRequestProperty): Added/updated documentation.
7547         (setDefaultRequestProperty): Added/updated documentation.
7548         (getDefaultRequestProperty): Added/updated documentation.
7549         (setContentHandlerFactory): Added/updated documentation.
7550         (guessContentTypeFromName): Added/updated documentation.
7551         (getFileNameMap): Added/updated documentation.
7552         (setFileNameMap): Added/updated documentation.
7553
7554 2002-09-11  Michael Koch  <konqueror@gmx.de>
7555
7556         * java/net/Socket.java
7557         (Socket): protected to public (since JDK 1.4). Added @specnote.
7558         (bind): New method.
7559         (connect): Two new methods.
7560         (getKeepalive): Get correct socket option.
7561         (setKeepalive): Set correct socket option.
7562         (getOOBInline): New method.
7563         (setOOBInline): New method.
7564         * java/net/ServerSocket.java
7565         (bind): Two new methods.
7566         (getInetAddress): Reimplemented, catch exception.
7567         (getLocalSocketAddress): New method.
7568         (setReuseAddress): New method.
7569         (getReuseAdress): New method.
7570         (setReceiveBufferSize): New method.
7571         (getReceiveBufferSize): New method.
7572         (toString): Made string JDK 1.4 compliant.
7573
7574 2002-09-10  Michael Koch  <konqueror@gmx.de>
7575
7576         * java/net/SocketImpl.java
7577         (connect): New method.
7578         (supportsUrgentData): New method.
7579         (sendUrgentData): New method.
7580         * java/net/PlainSocketImpl.java
7581         (connect): One new method and two new implementation.
7582         (sendUrgentData): New method.
7583         * java/natPlainSocketImpl.cc
7584         (connect): Arguments changed, added support for timeouts.
7585         (getOption): Another __java_boolean to jboolean.
7586
7587 2002-09-07  Adam Megacz <adam@xwt.org>
7588
7589         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7590         definition of IP_TOS.
7591
7592 2002-09-04  Michael Koch  <konqueror@gmx.de>
7593
7594         * java/net/DatagramSocket.java
7595         (DatagramSocket): Added documentation.
7596         (close): Likewise.
7597         (getLocalAddress): Likewise.
7598         (getLocalPort): Likewise.
7599         (receive): Likewise.
7600         (send): Likewise.
7601         (setSoTimeout): Likewise.
7602         (connect): New method.
7603         (disconnect): New method.
7604         (getInetAddress): New method (FIXME)
7605         (getPort): New method.
7606         (setReuseAddress): New method.
7607         (getReuseAddress): New method.
7608         (setBroadcast): New method.
7609         (getBroadcast): New method.
7610         (setTrafficClass): New method.
7611         (getTrafficClass): New method.
7612         * java/net/MulticastSocket.java):
7613         (getTTL): Added @see in documentation.
7614         (setTTL): Added @see in documentation.
7615         (setLoopbackMode): New method.
7616         (getLoopbackMode): New method.
7617         * java/net/PlainSocketImpl.java:
7618         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7619         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7620         * java/net/PlainDatagramSocketImpl.java
7621         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7622         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7623         * java/net/natPlainSocketImpl.cc
7624         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7625         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7626         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7627         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7628         This should also fix SO_KEEPALIVE
7629         * java/net/natPlainDatagramSocketImpl.cc
7630         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7631         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7632         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7633         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7634
7635 2002-09-04  Michael Koch  <konqueror@gmx.de>
7636
7637         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7638         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7639         IP_MULTICAST_LOOP, IP_TOS
7640
7641 2002-09-03  Tom Tromey  <tromey@redhat.com>
7642
7643         * java/lang/Class.h (_getDeclaredMethod): Declare.
7644         (_getMethod): Now private.
7645         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7646         getDeclaredMethod.  Now returns NULL on failure.
7647         * java/lang/Class.java (_getDeclaredMethod): Declare.
7648         (getDeclaredMethod): No longer native; implements access checks.
7649
7650 2002-09-01  Mark Wielaard  <mark@klomp.org>
7651
7652         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7653         (sanitizeStack): Correctly reset unknown and interpreter counters,
7654         detect interpreter runtime frames.
7655         (demangleInterpreterMethod): New method.
7656         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7657         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7658         filling in addrs[].
7659
7660 2002-09-02  Michael Koch  <konqueror@gmx.de>
7661
7662         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7663         re-indented documentation.
7664
7665 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7666
7667         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7668         public, per 1.4 spec.  Fixes PR libgcj/7785.
7669
7670 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
7671
7672         * Makefile.in: Rebuilt.
7673         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7674
7675 2002-08-29  Tom Tromey  <tromey@redhat.com>
7676
7677         * java/net/JarURLConnection.java (getCertificates): New method
7678         from Classpath.
7679         * java/net/URLClassLoader.java (URLClassLoader): Extends
7680         SecureClassLoader.
7681         (definePackage): New method from Classpath.
7682         (getPermissions): Likewise.
7683         (newInstance): Likewise.
7684         (findClass): Construct CodeSource for new class (from Classpath).
7685         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7686         methods.
7687         * java/net/URL.java (getUserInfo): New method.
7688         (set(String,String,int,String,String,String,String,String)): New
7689         method.
7690         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7691         (shutdownInput, shutdownOutput): Declare.
7692         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7693         Define.
7694         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7695         (getOption): Likewise.
7696         (shutdownInput): New method.
7697         (shutdownOutput): Likewise.
7698         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7699         keepalive.
7700         (getOption): Likewise.
7701         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7702         * java/net/Socket.java (setKeepAlive): New method.
7703         (getKeepAlive): Likewise.
7704         (shutdownInput, shutdownOutput): New methods.
7705
7706 2002-08-29  Michael Koch  <konqueror@gmx.de>
7707
7708         * java/net/DatagramPacket.java: updated to JDK 1.4 API
7709         new methods are:
7710         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7711           address),
7712         DatagramPacket(byte[] buf, int length, SocketAddress address),
7713         void setSocketAddress(SocketAddress address)
7714         public SocketAddress getSocketAddress()
7715
7716 2002-08-29  Tom Tromey  <tromey@redhat.com>
7717
7718         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7719         ftruncate is missing.
7720         * configure, include/config.h.in: Rebuilt.
7721         * acconfig.h (HAVE_FTRUNCATE): Mention.
7722         * configure.in: Check for ftruncate.
7723
7724 2002-08-29  Tom Tromey  <tromey@redhat.com>
7725
7726         * include/jvm.h (struct _Jv_frame_info): New structure.
7727         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7728         java-interp.h.
7729         (lookupInterp): New method.
7730         (getAddrAsString): Use _Jv_frame_info.
7731         (dladdrLookup): Likewise.
7732         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7733         interpreted frame.
7734         (lookupInterp): Declare.
7735         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7736         (fillInStackTrace): Collect information on interpreted frames.
7737         Use _Jv_frame_info.
7738         * interpret.cc: Include Thread.h.
7739         (run): Create and push _Jv_MethodChain object.
7740         (_Jv_EndOfInterpreter): New global.
7741         * java/lang/Thread.java (interp_frame): New field.
7742         * include/java-interp.h (struct _Jv_MethodChain): New structure.
7743         Include NameFinder.h.
7744
7745 2002-08-28  Tom Tromey  <tromey@redhat.com>
7746
7747         * java/lang/Class.h: Include Package.h.
7748         (Class::getProtectionDomain): Declare.
7749         (Class::getPackage): Declare.
7750
7751 2002-08-28  Michael Koch <konqueror@gmx.de>
7752
7753         * java/net/InetSocketAddress.java: Added some documentation and argument
7754         checks for the port numbers.
7755         * java/net/DatagramSocketImplFactory.java: New file.
7756
7757 2002-08-28  Michael Koch <konqueror@gmx.de>
7758
7759         * java/net/Authenticator.java: added some documentation.
7760
7761 2002-08-27  Tom Tromey  <tromey@redhat.com>
7762
7763         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7764         class.
7765         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7766
7767 2002-08-27  Michael Koch <konqueror@gmx.de>
7768
7769         * java/net/BindException.java,
7770         java/net/JarURLConnection.java,
7771         java/net/FileNameMap.java,
7772         java/net/HttpURLConnection.java,
7773         java/net/InetSocketAddress.java,
7774         java/net/DatagramPacket.java,
7775         java/net/DatagramSocket.java,
7776         java/net/DatagramSocketImpl.java,
7777         java/net/MulticastSocket.java,
7778         java/net/PasswordAuthentication.java,
7779         java/net/ServerSocket.java,
7780         java/net/Socket.java,
7781         java/net/URLClassLoader.java,
7782         java/net/URLConnection.java: add/update of some @since/@deprecated
7783
7784 2002-08-27  Tony Kimball <alk@pobox.com>
7785             Tom Tromey  <tromey@redhat.com>
7786
7787         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7788         define.
7789         (::close): Removed.
7790         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7791         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7792         (::close): Removed.
7793         (PlainSocketImpl::close): Use NATIVE_CLOSE.
7794         * include/win32.h (getcwd): Removed declaration.  Include io.h.
7795
7796 2002-08-25  Adam Megacz <adam@xwt.org>
7797
7798         * include/win32.h (getcwd): copied function declaration as
7799         temporary fix for header confusion.
7800
7801 2002-08-24  Mark Wielaard <mark@klomp.org>
7802
7803         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
7804         (core_java_source_files): Add VMThrowable.java and NameFinder.java
7805         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
7806         and natNameFinder.cc.
7807         * Makefile.in: Regenerate.
7808         * prims.cc: Use trace_enabled from VMThrowable.
7809         * name-finder.cc: Removed.
7810         * gcj/javaprims.h: Add class VMThrowable.
7811         * gnu/gcj/runtime/NameFinder.java: New file.
7812         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
7813         * include/name-finder.h: Removed.
7814         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
7815         method stackTraceString().
7816         (printStackTrace (PrintWriter)): Likewise.
7817         (stackTraceString): Complete rewrite of old printStackTrace using
7818         StringBuffer.
7819         (stackTraceStringBuffer): New helper method for stackTraceString().
7820         (fillInStackTrace): Delegate to VMTrowable.
7821         (getStackTrace): Likewise.
7822         (getStackTrace0): Removed.
7823         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
7824         (setStackTrace): Copy given array.
7825         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
7826         * java/lang/VMThrowable.java: New class.
7827         * java/lang/natVMThrowable.cc: New file.
7828
7829 2003-08-23  Michael Koch  <konqueror@gmx.de>
7830
7831         * java/net/URLConnection.java,
7832         java/netJarURLConnection.java,
7833         gnu/gcj/protocol/core/Connection.java,
7834         gnu/gcj/protocol/file/Connection.java,
7835         gnu/gcj/protocol/http/Connection.java: Added implementation of
7836         getHeaderFields().
7837
7838 2002-08-22  Tom Tromey  <tromey@redhat.com>
7839
7840         * gij.cc (help): Document -cp and -classpath.
7841         (main): Handle -classpath.
7842
7843 2002-08-21  Tom Tromey  <tromey@redhat.com>
7844
7845         * Makefile.in: Rebuilt.
7846         * Makefile.am (ordinary_java_source_files): Added
7847         SocketAddress.java, InetSocketAddress.java.
7848         * java/net/PortUnreachableException.java: Merged with Classpath.
7849         * java/net/SocketTimeoutException.java: Likewise.
7850         * java/net/URISyntaxException.java: Likewise.
7851         * java/net/SocketAddress.java: New class from Classpath.
7852         * java/net/InetSocketAddress.java: Likewise.
7853
7854 2003-08-21  Michael Koch  <konqueror@gmx.de>
7855
7856         * java/net/Authenticator.java: updated JDK 1.4
7857         * java/net/ContentHandler.java: updated JDK 1.4
7858
7859 2002-08-20  Michael Koch  <konqueror@gmx.de>
7860
7861         * java/net/URISyntaxException.java: New file.
7862         * java/net/SocketTimeoutException.java: New file.
7863         * java/net/PortUnreachableException.java: New file.
7864         * Makefile.am: Updated.
7865         * Makefile.in: Rebuilt.
7866
7867 2002-08-18  Mark Wielaard  <mark@klomp.org>
7868
7869         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
7870         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7871         MessageDigestSpi (fixes Classpath bug #783).
7872
7873 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7874
7875         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
7876         (startProcess): Allocate path for chdir in async-signal-safe way.
7877
7878 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7879
7880         Fix for PR libgcj/7570 and PR libgcj/7578:
7881         * java/lang/natPosixProcess.cc: Include java/io/File.h.
7882         (startProcess): Handle new `dir' argument.
7883         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
7884         argument.
7885         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
7886         argument.
7887         (startProcess): Likewise.
7888         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
7889         argument.
7890         * java/lang/Runtime.java (execInternal): Added `dir' argument.
7891         (exec): Don't create new environment if ENV==null.  Pass DIR to
7892         execInternal.
7893         * java/lang/natRuntime.cc: Include java/io/File.h.
7894         (execInternal): Added `dir' argument.
7895
7896 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
7897
7898         * java/io/RandomAccessFile.java (skipBytes): Return number of
7899         bytes skipped.
7900
7901 2002-08-01  Mark Wielaard  <mark@klomp.org>
7902
7903         Reenable patch since shared library troubles on powerpc are solved:
7904         * gnu/java/security/provider/Gnu.java: Reference all implementation
7905         classes by using Class.getName().
7906         * gnu/java/security/der/DEREncodingException.java,
7907         gnu/java/security/provider/DERReader.java,
7908         gnu/java/security/provider/DERWriter.java,
7909         gnu/java/security/provider/DSAKeyPairGenerator.java,
7910         gnu/java/security/provider/DSAParameterGenerator.java,
7911         gnu/java/security/provider/DSAParameters.java,
7912         gnu/java/security/provider/DSASignature.java,
7913         gnu/java/security/provider/GnuDSAPrivateKey.java,
7914         gnu/java/security/provider/GnuDSAPublicKey.java,
7915         gnu/java/security/provider/MD5.java,
7916         gnu/java/security/util/Prime.java: New classes
7917         * Makefile.am (ordinary_java_source_files): Add above files.
7918         * Makefile.in: Regenerate.
7919         * gnu/java/security/provider/DefaultPolicy.java
7920         (getPermissions): Don't maintain static class variable of Permissions.
7921         * gnu/java/security/provider/SHA.java
7922         (engineUpdate): algorithm change.
7923         (engineDigest): algorithm change.
7924
7925 2002-08-09  Mark Wielaard  <mark@klomp.org>
7926
7927         * java/awt/image/MemoryImageSource.java: Change constructor to take
7928         int[] not byte[].
7929         * java/awt/Graphics2D.java: Uncomment methods that can now be
7930         compiled.
7931         * java/awt/GridBagLayout.java: New stub implementation.
7932         * javax/swing/text/html/HTML.java: Stub implementation.
7933         * javax/swing/text/html/parser/ParserDelegator.java: New stub
7934         implementation.
7935
7936         * Makefile.am: Add new files.
7937         * Makefile.in: Rebuilt.
7938
7939 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7940
7941         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
7942         methods in Graphics2D.
7943
7944 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7945
7946         AWT/Swing merge from GNU Classpath.
7947
7948         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7949         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
7950         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
7951         java/awt/color/ProfileDataException.java,
7952         java/awt/CompositeContext.java, java/awt/Composite.java,
7953         java/awt/ContainerOrderFocusTraversalPolicy.java,
7954         java/awt/datatransfer/FlavorTable.java,
7955         java/awt/DefaultFocusTraversalPolicy.java,
7956         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
7957         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
7958         java/awt/dnd/DragGestureListener.java,
7959         java/awt/dnd/DragGestureRecognizer.java,
7960         java/awt/dnd/DragSourceAdapter.java,
7961         java/awt/dnd/DragSourceContext.java,
7962         java/awt/dnd/DragSourceDragEvent.java,
7963         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
7964         java/awt/dnd/DragSourceListener.java,
7965         java/awt/dnd/DragSourceMotionListener.java,
7966         java/awt/dnd/DropTarget.java,
7967         java/awt/dnd/InvalidDnDOperationException.java,
7968         java/awt/dnd/peer/DragSourceContextPeer.java,
7969         java/awt/event/AWTEventListenerProxy.java,
7970         java/awt/event/MouseWheelEvent.java,
7971         java/awt/event/MouseWheelListener.java,
7972         java/awt/event/WindowFocusListener.java,
7973         java/awt/event/WindowStateListener.java,
7974         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
7975         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
7976         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
7977         java/awt/geom/FlatteningPathIterator.java,
7978         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
7979         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
7980         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
7981         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
7982         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
7983         java/awt/image/ImagingOpException.java,
7984         java/awt/image/RasterFormatException.java,
7985         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
7986         java/awt/image/VolatileImage.java,
7987         java/awt/image/WritableRenderedImage.java,
7988         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
7989         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
7990         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
7991         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
7992         java/awt/PageAttributes.java, java/awt/print/Book.java,
7993         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
7994         java/awt/print/Paper.java, java/awt/print/Printable.java,
7995         java/awt/print/PrinterAbortException.java,
7996         java/awt/print/PrinterException.java,
7997         java/awt/print/PrinterGraphics.java,
7998         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
7999         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8000         java/awt/Stroke.java, java/awt/TexturePaint.java,
8001         javax/accessibility/AccessibleAction.java,
8002         javax/accessibility/AccessibleBundle.java,
8003         javax/accessibility/AccessibleComponent.java,
8004         javax/accessibility/AccessibleContext.java,
8005         javax/accessibility/AccessibleEditableText.java,
8006         javax/accessibility/AccessibleExtendedComponent.java,
8007         javax/accessibility/AccessibleExtendedTable.java,
8008         javax/accessibility/AccessibleHyperlink.java,
8009         javax/accessibility/AccessibleHypertext.java,
8010         javax/accessibility/AccessibleIcon.java,
8011         javax/accessibility/Accessible.java,
8012         javax/accessibility/AccessibleKeyBinding.java,
8013         javax/accessibility/AccessibleRelation.java,
8014         javax/accessibility/AccessibleRelationSet.java,
8015         javax/accessibility/AccessibleResourceBundle.java,
8016         javax/accessibility/AccessibleRole.java,
8017         javax/accessibility/AccessibleSelection.java,
8018         javax/accessibility/AccessibleState.java,
8019         javax/accessibility/AccessibleStateSet.java,
8020         javax/accessibility/AccessibleTable.java,
8021         javax/accessibility/AccessibleTableModelChange.java,
8022         javax/accessibility/AccessibleText.java,
8023         javax/accessibility/AccessibleValue.java,
8024         javax/swing/AbstractAction.java,
8025         javax/swing/AbstractButton.java,
8026         javax/swing/AbstractCellEditor.java,
8027         javax/swing/AbstractListModel.java,
8028         javax/swing/AbstractSet.java, javax/swing/Action.java,
8029         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8030         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8031         javax/swing/border/CompoundBorder.java,
8032         javax/swing/border/EmptyBorder.java,
8033         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8034         javax/swing/border/LineBorder.java,
8035         javax/swing/border/MatteBorder.java,
8036         javax/swing/border/TitledBorder.java,
8037         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8038         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8039         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8040         javax/swing/CellRendererPane.java,
8041         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8042         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8043         javax/swing/colorchooser/ColorSelectionModel.java,
8044         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8045         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8046         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8047         javax/swing/DefaultBoundedRangeModel.java,
8048         javax/swing/DefaultButtonModel.java,
8049         javax/swing/DefaultCellEditor.java,
8050         javax/swing/DefaultCellRenderer.java,
8051         javax/swing/DefaultComboBoxModel.java,
8052         javax/swing/DefaultDesktopManager.java,
8053         javax/swing/DefaultFocusManager.java,
8054         javax/swing/DefaultListCellRenderer.java,
8055         javax/swing/DefaultListModel.java,
8056         javax/swing/DefaultListSelectionModel.java,
8057         javax/swing/DefaultSingleSelectionModel.java,
8058         javax/swing/DesktopManager.java,
8059         javax/swing/event/AncestorEvent.java,
8060         javax/swing/event/AncestorListener.java,
8061         javax/swing/event/CaretEvent.java,
8062         javax/swing/event/CaretListener.java,
8063         javax/swing/event/CellEditorListener.java,
8064         javax/swing/event/ChangeEvent.java,
8065         javax/swing/event/ChangeListener.java,
8066         javax/swing/event/DocumentEvent.java,
8067         javax/swing/event/DocumentListener.java,
8068         javax/swing/event/EventListenerList.java,
8069         javax/swing/event/HyperlinkEvent.java,
8070         javax/swing/event/HyperlinkListener.java,
8071         javax/swing/event/InternalFrameAdapter.java,
8072         javax/swing/event/InternalFrameEvent.java,
8073         javax/swing/event/InternalFrameListener.java,
8074         javax/swing/event/ListDataEvent.java,
8075         javax/swing/event/ListDataListener.java,
8076         javax/swing/event/ListSelectionEvent.java,
8077         javax/swing/event/ListSelectionListener.java,
8078         javax/swing/event/MenuDragMouseEvent.java,
8079         javax/swing/event/MenuDragMouseListener.java,
8080         javax/swing/event/MenuEvent.java,
8081         javax/swing/event/MenuKeyEvent.java,
8082         javax/swing/event/MenuKeyListener.java,
8083         javax/swing/event/MenuListener.java,
8084         javax/swing/event/MouseInputAdapter.java,
8085         javax/swing/event/MouseInputListener.java,
8086         javax/swing/event/PopupMenuEvent.java,
8087         javax/swing/event/PopupMenuListener.java,
8088         javax/swing/event/SwingPropertyChangeSupport.java,
8089         javax/swing/event/TableColumnModelEvent.java,
8090         javax/swing/event/TableColumnModelListener.java,
8091         javax/swing/event/TableModelEvent.java,
8092         javax/swing/event/TableModelListener.java,
8093         javax/swing/event/TreeExpansionEvent.java,
8094         javax/swing/event/TreeExpansionListener.java,
8095         javax/swing/event/TreeModelEvent.java,
8096         javax/swing/event/TreeModelListener.java,
8097         javax/swing/event/TreeSelectionEvent.java,
8098         javax/swing/event/TreeSelectionListener.java,
8099         javax/swing/event/TreeWillExpandListener.java,
8100         javax/swing/event/UndoableEditEvent.java,
8101         javax/swing/event/UndoableEditListener.java,
8102         javax/swing/filechooser/FileFilter.java,
8103         javax/swing/filechooser/FileSystemView.java,
8104         javax/swing/filechooser/FileView.java,
8105         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8106         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8107         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8108         javax/swing/JApplet.java, javax/swing/JButton.java,
8109         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8110         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8111         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8112         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8113         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8114         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8115         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8116         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8117         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8118         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8119         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8120         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8121         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8122         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8123         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8124         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8125         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8126         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8127         javax/swing/JToolTip.java, javax/swing/JTree.java,
8128         javax/swing/JViewport.java, javax/swing/JWindow.java,
8129         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8130         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8131         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8132         javax/swing/MenuSelectionManager.java,
8133         javax/swing/MutableComboBoxModel.java,
8134         javax/swing/OverlayLayout.java,
8135         javax/swing/plaf/ActionMapUIResource.java,
8136         javax/swing/plaf/basic/BasicBorders.java,
8137         javax/swing/plaf/basic/BasicButtonUI.java,
8138         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8139         javax/swing/plaf/basic/BasicDefaults.java,
8140         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8141         javax/swing/plaf/basic/BasicIconFactory.java,
8142         javax/swing/plaf/basic/BasicLabelUI.java,
8143         javax/swing/plaf/basic/BasicListUI.java,
8144         javax/swing/plaf/basic/BasicLookAndFeel.java,
8145         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8146         javax/swing/plaf/basic/BasicPanelUI.java,
8147         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8148         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8149         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8150         javax/swing/plaf/basic/BasicTextUI.java,
8151         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8152         javax/swing/plaf/basic/BasicTreeUI.java,
8153         javax/swing/plaf/basic/BasicViewportUI.java,
8154         javax/swing/plaf/BorderUIResource.java,
8155         javax/swing/plaf/ButtonUI.java,
8156         javax/swing/plaf/ColorChooserUI.java,
8157         javax/swing/plaf/ColorUIResource.java,
8158         javax/swing/plaf/ComboBoxUI.java,
8159         javax/swing/plaf/ComponentInputMapUIResource.java,
8160         javax/swing/plaf/ComponentUI.java,
8161         javax/swing/plaf/DesktopIconUI.java,
8162         javax/swing/plaf/DesktopPaneUI.java,
8163         javax/swing/plaf/DimensionUIResource.java,
8164         javax/swing/plaf/FileChooserUI.java,
8165         javax/swing/plaf/FontUIResource.java,
8166         javax/swing/plaf/IconUIResource.java,
8167         javax/swing/plaf/InputMapUIResource.java,
8168         javax/swing/plaf/InsetsUIResource.java,
8169         javax/swing/plaf/InternalFrameUI.java,
8170         javax/swing/plaf/LabelUI.java,
8171         javax/swing/plaf/ListUI.java,
8172         javax/swing/plaf/MenuBarUI.java,
8173         javax/swing/plaf/MenuItemUI.java,
8174         javax/swing/plaf/OptionPaneUI.java,
8175         javax/swing/plaf/PanelUI.java,
8176         javax/swing/plaf/PopupMenuUI.java,
8177         javax/swing/plaf/ProgressBarUI.java,
8178         javax/swing/plaf/RootPaneUI.java,
8179         javax/swing/plaf/ScrollBarUI.java,
8180         javax/swing/plaf/ScrollPaneUI.java,
8181         javax/swing/plaf/SeparatorUI.java,
8182         javax/swing/plaf/SliderUI.java,
8183         javax/swing/plaf/SplitPaneUI.java,
8184         javax/swing/plaf/TabbedPaneUI.java,
8185         javax/swing/plaf/TableHeaderUI.java,
8186         javax/swing/plaf/TableUI.java,
8187         javax/swing/plaf/TextUI.java,
8188         javax/swing/plaf/ToolBarUI.java,
8189         javax/swing/plaf/ToolTipUI.java,
8190         javax/swing/plaf/TreeUI.java,
8191         javax/swing/plaf/UIResource.java,
8192         javax/swing/plaf/ViewportUI.java,
8193         javax/swing/ProgressMonitorInputStream.java,
8194         javax/swing/ProgressMonitor.java,
8195         javax/swing/Renderer.java,
8196         javax/swing/RepaintManager.java,
8197         javax/swing/RootPaneContainer.java,
8198         javax/swing/Scrollable.java,
8199         javax/swing/ScrollPaneConstants.java,
8200         javax/swing/ScrollPaneLayout.java,
8201         javax/swing/SingleSelectionModel.java,
8202         javax/swing/SizeRequirements.java,
8203         javax/swing/SizeSequence.java,
8204         javax/swing/SwingConstants.java,
8205         javax/swing/SwingUtilities.java,
8206         javax/swing/table/AbstractTableModel.java,
8207         javax/swing/table/DefaultTableCellRenderer.java,
8208         javax/swing/table/DefaultTableColumnModel.java,
8209         javax/swing/table/DefaultTableModel.java,
8210         javax/swing/table/TableCellEditor.java,
8211         javax/swing/table/TableCellRenderer.java,
8212         javax/swing/table/TableColumn.java,
8213         javax/swing/table/TableColumnModel.java,
8214         javax/swing/table/TableModel.java,
8215         javax/swing/text/AbstractDocument.java,
8216         javax/swing/text/AttributeSet.java,
8217         javax/swing/text/BadLocationException.java,
8218         javax/swing/text/Caret.java,
8219         javax/swing/text/CharacterIterator.java,
8220         javax/swing/text/ComponentView.java,
8221         javax/swing/text/DefaultCaret.java,
8222         javax/swing/text/DefaultEditorKit.java,
8223         javax/swing/text/Document.java,
8224         javax/swing/text/EditorKit.java,
8225         javax/swing/text/Element.java,
8226         javax/swing/text/GapContent.java,
8227         javax/swing/text/JTextComponent.java,
8228         javax/swing/text/Keymap.java,
8229         javax/swing/text/MutableAttributeSet.java,
8230         javax/swing/text/PlainDocument.java,
8231         javax/swing/text/PlainEditorKit.java,
8232         javax/swing/text/Position.java,
8233         javax/swing/text/Segment.java,
8234         javax/swing/text/StyledDocument.java,
8235         javax/swing/text/StyledEditorKit.java,
8236         javax/swing/text/Style.java,
8237         javax/swing/text/TextAction.java,
8238         javax/swing/text/ViewFactory.java,
8239         javax/swing/text/View.java,
8240         javax/swing/Timer.java,
8241         javax/swing/ToggleButtonModel.java,
8242         javax/swing/ToolTipManager.java,
8243         javax/swing/tree/AbstractLayoutCache.java,
8244         javax/swing/tree/DefaultMutableTreeNode.java,
8245         javax/swing/tree/DefaultTreeCellEditor.java,
8246         javax/swing/tree/DefaultTreeCellRenderer.java,
8247         javax/swing/tree/DefaultTreeModel.java,
8248         javax/swing/tree/DefaultTreeSelectionModel.java,
8249         javax/swing/tree/ExpandVetoException.java,
8250         javax/swing/tree/FixedHeightLayoutCache.java,
8251         javax/swing/tree/MutableTreeNode.java,
8252         javax/swing/tree/RowMapper.java,
8253         javax/swing/tree/TreeCellEditor.java,
8254         javax/swing/tree/TreeCellRenderer.java,
8255         javax/swing/tree/TreeModel.java,
8256         javax/swing/tree/TreeNode.java,
8257         javax/swing/tree/TreePath.java,
8258         javax/swing/tree/TreeSelectionModel.java,
8259         javax/swing/tree/VariableHeightLayoutCache.java,
8260         javax/swing/UIDefaults.java,
8261         javax/swing/UIManager.java,
8262         javax/swing/undo/AbstractUndoableEdit.java,
8263         javax/swing/undo/CannotRedoException.java,
8264         javax/swing/undo/CannotUndoException.java,
8265         javax/swing/undo/CompoundEdit.java,
8266         javax/swing/undo/StateEditable.java,
8267         javax/swing/undo/StateEdit.java,
8268         javax/swing/undo/UndoableEdit.java,
8269         javax/swing/undo/UndoableEditSupport.java,
8270         javax/swing/undo/UndoManager.java,
8271         javax/swing/UnsupportedLookAndFeelException.java,
8272         javax/swing/ViewportLayout.java,
8273         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8274
8275         * java/awt/ActiveEvent.java,
8276         java/awt/Adjustable.java, java/awt/AWTError.java,
8277         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8278         java/awt/AWTException.java, java/awt/AWTPermission.java,
8279         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8280         java/awt/Color.java, java/awt/Component.java,
8281         java/awt/ComponentOrientation.java, java/awt/Container.java,
8282         java/awt/datatransfer/MimeTypeParseException.java,
8283         java/awt/datatransfer/Transferable.java,
8284         java/awt/datatransfer/UnsupportedFlavorException.java,
8285         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8286         java/awt/event/ActionListener.java,
8287         java/awt/event/AdjustmentEvent.java,
8288         java/awt/event/AdjustmentListener.java,
8289         java/awt/event/AWTEventListener.java,
8290         java/awt/event/ComponentAdapter.java,
8291         java/awt/event/ComponentEvent.java,
8292         java/awt/event/ComponentListener.java,
8293         java/awt/event/ContainerAdapter.java,
8294         java/awt/event/ContainerEvent.java,
8295         java/awt/event/ContainerListener.java,
8296         java/awt/event/FocusAdapter.java,
8297         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8298         java/awt/event/HierarchyBoundsAdapter.java,
8299         java/awt/event/HierarchyBoundsListener.java,
8300         java/awt/event/HierarchyEvent.java,
8301         java/awt/event/HierarchyListener.java,
8302         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8303         java/awt/event/InputMethodListener.java,
8304         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8305         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8306         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8307         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8308         java/awt/event/MouseListener.java,
8309         java/awt/event/MouseMotionAdapter.java,
8310         java/awt/event/MouseMotionListener.java,
8311         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8312         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8313         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8314         java/awt/event/WindowListener.java, java/awt/Font.java,
8315         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8316         java/awt/geom/Ellipse2D.java,
8317         java/awt/geom/IllegalPathStateException.java,
8318         java/awt/geom/Line2D.java,
8319         java/awt/geom/NoninvertibleTransformException.java,
8320         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8321         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8322         java/awt/geom/RoundRectangle2D.java,
8323         java/awt/GraphicsConfiguration.java,
8324         java/awt/IllegalComponentStateException.java,
8325         java/awt/image/IndexColorModel.java,
8326         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8327         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8328         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8329         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8330         java/awt/MenuItem.java, java/awt/PaintContext.java,
8331         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8332         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8333         java/awt/PrintJob.java, java/awt/Rectangle.java,
8334         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8335         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8336         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8337
8338         * java/awt/im/spi/InputMethod.java,
8339         java/awt/im/spi/InputMethodContext.java,
8340         java/awt/im/spi/InputMethodDescriptor.java,
8341         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8342         java/awt/image/renderable/ParameterBlock.java,
8343         java/awt/image/renderable/RenderContext.java,
8344         java/awt/image/renderable/RenderableImage.java,
8345         java/awt/image/renderable/RenderableImageOp.java,
8346         java/awt/image/renderable/RenderableImageProducer.java,
8347         java/awt/image/renderable/RenderedImageFactory.java: New files from
8348         classpath.
8349
8350         * gnu/java/awt/EventModifier.java,
8351         gnu/java/awt/image/ImageDecoder.java,
8352         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8353
8354         * gnu/awt/xlib/XGraphicsConfiguration.java,
8355         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8356         API.
8357
8358         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8359         GNU Classpath.
8360
8361         * Makefile.am: Add new files.
8362         * Makefile.in: Rebuilt.
8363
8364 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8365
8366         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8367         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8368         findResource, getResources, findResources): Add javadoc from classpath.
8369         (getSystemResources): Implemented.
8370
8371 2002-08-01  Mark Wielaard  <mark@klomp.org>
8372
8373         Revert patch that breaks libgcj shared library on powerpc:
8374         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8375         implementation classes by using Class.getName(). Uses Strings again.
8376         * gnu/java/security/der/DEREncodingException.java,
8377         gnu/java/security/provider/DERReader.java,
8378         gnu/java/security/provider/DERWriter.java,
8379         gnu/java/security/provider/DSAKeyPairGenerator.java,
8380         gnu/java/security/provider/DSAParameterGenerator.java,
8381         gnu/java/security/provider/DSAParameters.java,
8382         gnu/java/security/provider/DSASignature.java,
8383         gnu/java/security/provider/GnuDSAPrivateKey.java,
8384         gnu/java/security/provider/GnuDSAPublicKey.java,
8385         gnu/java/security/provider/MD5.java,
8386         gnu/java/security/util/Prime.java: Removed.
8387         * Makefile.am (ordinary_java_source_files): Remove above files.
8388         * Makefile.in: Regenerate.
8389         * gnu/java/security/provider/DefaultPolicy.java
8390         (getPermissions): Revert to maintaining static class variable of
8391         Permissions.
8392         * gnu/java/security/provider/SHA.java
8393         (engineUpdate): Revert algorithm change.
8394         (engineDigest): Revert algorithm change.
8395
8396 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8397
8398         * configure.host: Add SH support.
8399         * sysdep/sh/locks.h: New file.
8400
8401 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8402
8403         * java/awt/Frame.java (Frame): Remove println calls.
8404
8405 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8406
8407         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8408         * configure: Rebuilt.
8409
8410 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8411
8412         * sysdep/powerpc/locks.h: Formatting.
8413         (_LARX): Define.
8414         (_STCX): Define.
8415         (compare_and_swap): Use _LARX and _STCX.
8416         (compare_and_swap_release): Likewise.
8417
8418 2002-07-26  Tom Tromey  <tromey@redhat.com>
8419
8420         * java/net/Authenticator.java: New version from Classpath.
8421         * java/net/DatagramSocketImpl.java: New version from Classpath.
8422
8423 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8424
8425         * configure.host: Add powerpc64*-* entry.
8426
8427 2002-07-26  Tom Tromey  <tromey@redhat.com>
8428
8429         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8430         fcntl.h.
8431
8432 2002-07-24  Tom Tromey  <tromey@redhat.com>
8433
8434         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8435         argument to _load.
8436
8437 2002-07-24  Tom Tromey  <tromey@redhat.com>
8438             Tony Kimball <alk@pobox.com>
8439
8440         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8441         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8442         * java/io/RandomAccessFile.java (setLength): New method.
8443         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8444         * java/io/FileDescriptor.java (setLength): New method.
8445
8446 2002-07-24  Mark Wielaard  <mark@klomp.org>
8447
8448         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8449         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8450         field call setAccessible(true).
8451         (setByteField): Likewise.
8452         (setCharField): Likewise.
8453         (setDoubleField): Likewise.
8454         (setFloatField): Likewise.
8455         (setIntField): Likewise.
8456         (setLongField): Likewise.
8457         (setShortField): Likewise.
8458         (setObjectField): Likewise.
8459
8460 2002-07-24  Tom Tromey  <tromey@redhat.com>
8461
8462         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8463         use toString() to format array element.
8464
8465 2002-07-23  Mark Wielaard  <mark@klomp.org>
8466
8467         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8468         MessageDigestSpi (fixes Classpath bug #783).
8469
8470 2002-07-21  Mark Wielaard  <mark@klomp.org>
8471
8472         * gnu/java/security/provider/Gnu.java: Reference all implementation
8473         classes by using Class.getName().
8474
8475 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8476
8477         * java/lang/ieeefp.h: Add x86-64 support.
8478         * configure.in: Likewise.
8479         * configure.host: Likewise.
8480         * configure: Regenerated.
8481         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8482
8483 2002-07-16  Mark Wielaard  <mark@klomp.org>
8484
8485         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8486         (whitespaceChars): call resetChar().
8487
8488 2002-07-15  Tom Tromey  <tromey@redhat.com>
8489
8490         * Makefile.in: Rebuilt.
8491         * Makefile.am (awt_java_source_files): Added new files.
8492         * java/beans/ExceptionListener.java: Merged with Classpath.
8493         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8494         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8495         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8496         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8497         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8498         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8499         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8500
8501 2002-07-14  Mark Wielaard  <mark@klomp.org>
8502
8503         * gnu/java/security/der/DEREncodingException.java,
8504         gnu/java/security/provider/DERReader.java,
8505         gnu/java/security/provider/DERWriter.java,
8506         gnu/java/security/provider/DSAKeyPairGenerator.java,
8507         gnu/java/security/provider/DSAParameterGenerator.java,
8508         gnu/java/security/provider/DSAParameters.java,
8509         gnu/java/security/provider/DSASignature.java,
8510         gnu/java/security/provider/GnuDSAPrivateKey.java,
8511         gnu/java/security/provider/GnuDSAPublicKey.java,
8512         gnu/java/security/provider/MD5.java,
8513         gnu/java/security/util/Prime.java: New files from Classpath.
8514         * Makefile.am (ordinary_java_source_files): Add new files.
8515         * Makefile.in: Regenerate.
8516
8517 2002-07-14  C. Brian Jones <cbj@gnu.org>
8518
8519         * gnu/java/security/provider/DefaultPolicy.java
8520         (getPermissions): do not maintain static class variable of
8521         Permissions
8522         * gnu/java/security/provider/SHA.java
8523         (engineUpdate): algorithm change
8524         (engineDigest): algorithm change
8525
8526 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8527
8528         For PR libgcj/7292:
8529         * java/lang/Character.java (toString(char)): Now static.
8530
8531 2002-07-12  Mark Wielaard  <mark@klomp.org>
8532
8533         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8534         (getStackTrace0): new method.
8535         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8536         (printStackTrace(PrintWriter)): replace with pure java implementation.
8537         (printRawStackTrace): removed.
8538         (getStackTrace0): new method.
8539         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8540         * gcj/javaprims.h: regenerate class list.
8541         * include/name-finder.h (lookup): new returns StackTraceElement*.
8542         (method_name, file_name): fields removed.
8543         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8544         (~_Jv_name_finder): close new descriptors.
8545         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8546         (createStackTraceElement): new method.
8547         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8548
8549 2002-07-10  Tom Tromey  <tromey@redhat.com>
8550
8551         * configure: Rebuilt.
8552         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8553
8554 2002-07-08  Mark Wielaard  <mark@klomp.org>
8555
8556         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8557         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8558         java.sql.DatabaseMetaData.TestJdbc20
8559
8560 2002-07-05  Tony Kimball  <alk@pobox.com>
8561
8562         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8563
8564 2002-07-04  Tom Tromey  <tromey@redhat.com>
8565             Jeff Sturm  <jsturm@one-point.com>
8566
8567         Fix for PR libgcj/7060:
8568         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8569         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8570         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8571         * java/lang/Class.java (getMethod): New Java implementation;
8572         complies with spec.
8573         (_getMethod): New native method.
8574
8575 2002-07-02  Tom Tromey  <tromey@redhat.com>
8576             David Hovemeyer  <daveho@cs.umd.edu>
8577
8578         * java/text/ChoiceFormat.java
8579         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8580         in check loop.
8581         * java/text/MessageFormat.java
8582         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8583         to MessageFormat.
8584
8585 2002-07-01  Tom Tromey  <tromey@redhat.com>
8586
8587         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8588         StringTokenizer on null string.  For PR libgcj/7180.
8589         From daveho@cs.umd.edu.
8590
8591 2002-06-24  Tom Tromey  <tromey@redhat.com>
8592
8593         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8594         (IntegerClass): Likewise.
8595         * java/lang/natClass.cc (CloneableClass): Removed.
8596         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8597         ConstructorClass): Likewise.
8598         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8599         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8600         SerializableClass): Likewise.
8601         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8602         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8603         LongClass, FloatClass, DoubleClass): Likewise.
8604
8605         * verify.cc (branch_prepass): Updated for change to exception
8606         handler type.
8607         (verify_instructions_0): Likewise.
8608         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8609         (handleExceptionTableEntry): Updated for change to exception
8610         handler type.
8611         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8612         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8613         (union _Jv_InterpPC): New.
8614         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8615         (class _Jv_InterpMethod): Added new `prepared' field.
8616         (class _Jv_InterpMethod): Added `compile' method.  Removed
8617         `continue1' and `find_exception'.  Changed arguments to `run'.
8618         * interpret.cc (union insn_slot): New.
8619         (find_exception): Removed.
8620         (run_normal): Removed most logic.
8621         (run_synch_object): Likewise; also, use JvSynchronize.
8622         (run_synch_class): Likewise.
8623         (run): Removed.
8624         (continue1): Renamed as `run'.  Compile bytecode if required.
8625         Add new code to allow refinement of direct-threaded code at
8626         runtime.  Handle exceptions.
8627         (SAVE_PC): Removed.
8628         (compile): New method.
8629         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8630         (NULLARRAYCHECK): Don't use SAVE_PC.
8631         (pc_t): New typedef.
8632         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8633         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8634
8635 2002-06-23  Tom Tromey  <tromey@redhat.com>
8636
8637         * configure: Rebuilt.
8638         * configure.in (INTERPRETER): New subst.
8639         (AM_RUNTESTFLAGS): Don't subst.
8640
8641         * Makefile.in: Rebuilt.
8642         * Makefile.am ($(srcdir)/java/lang/Object.h,
8643         $(srcdir)/java/lang/Class.h): Added dummy targets.
8644
8645 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8646
8647         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8648
8649         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8650         java/sql/Savepoint.java: New files.
8651         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8652         java/sql/Blob.java, java/sql/CallableStatement.java,
8653         java/sql/Clob.java, java/sql/Connection.java,
8654         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8655         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8656         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8657         java/sql/Ref.java, java/sql/ResultSet.java,
8658         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8659         java/sql/SQLException.java, java/sql/SQLInput.java,
8660         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8661         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8662         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8663         (JDK 1.4) specification.
8664         * javax/sql/ConnectionEvent.java,
8665         javax/sql/ConnectionEventListener.java,
8666         javax/sql/ConnectionPoolDataSource.java,
8667         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8668         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8669         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8670         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8671         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8672         javax/sql/XADataSource.java: New files.
8673         * Makefile.am: Add new files.
8674         * Makefile.in: Rebuilt.
8675
8676 2002-06-20  Tom Tromey  <tromey@redhat.com>
8677
8678         For PR libgcj/7073:
8679         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8680         exists.
8681         * defineclass.cc (handleClassBegin): Superclass for interface is
8682         `null'.
8683
8684 2002-06-18  Tom Tromey  <tromey@redhat.com>
8685
8686         * gcj/javaprims.h: Updated class declaration list.
8687         * Makefile.in: Rebuilt.
8688         * Makefile.am (core_java_source_files): Removed
8689         BasicMapEntry.java.
8690         * java/util/BasicMapEntry.java: Removed.
8691
8692 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
8693
8694         * java/net/natPlainDatagramSocketImpl.cc (receive):
8695         Check bounds of argument to FD_SET.
8696         (setOption): Throw exception if socket is closed.
8697
8698         * java/net/natPlainSocketImpl.cc (accept, read):
8699         Check bounds of argument to FD_SET.
8700         (setOption): Throw exception if socket is closed.
8701
8702 2002-06-18  Tom Tromey  <tromey@redhat.com>
8703
8704         * gcj/javaprims.h: Updated class declaration list.
8705         * Makefile.in: Rebuilt.
8706         * Makefile.am (core_java_source_files): Added
8707         PropertyPermissionCollection.java.
8708         * java/lang/Thread.java (group, name): Now package-private.
8709         * java/lang/ThreadGroup.java: Re-merge with Classpath.
8710         * java/util/AbstractList.java: Likewise.
8711         * java/util/AbstractMap.java: Likewise.
8712         * java/util/Calendar.java: Likewise.
8713         * java/util/Collections.java: Likewise.
8714         * java/util/HashMap.java: Likewise.
8715         * java/util/Hashtable.java: Likewise.
8716         * java/util/LinkedHashMap.java: Likewise.
8717         * java/util/LinkedList.java: Likewise.
8718         * java/util/List.java: Likewise.
8719         * java/util/ListResourceBundle.java: Likewise.
8720         * java/util/Map.java: Likewise.
8721         * java/util/Observable.java: Likewise.
8722         * java/util/Properties.java: Likewise.
8723         * java/util/PropertyPermission.java: Likewise.
8724         * java/util/PropertyPermissionCollection.java: Likewise.
8725         * java/util/PropertyResourceBundle.java: Likewise.
8726         * java/util/Random.java: Likewise.
8727         * java/util/SimpleTimeZone.java: Likewise.
8728         * java/util/StringTokenizer.java: Likewise.
8729         * java/util/TimerTask.java: Likewise.
8730         * java/util/TreeMap.java: Likewise.
8731         * java/util/WeakHashMap.java: Likewise.
8732         * java/util/jar/Attributes.java: Likewise.
8733         * java/util/jar/JarException.java: Likewise.
8734         * java/util/jar/Manifest.java: Likewise.
8735
8736 2002-06-17  Tom Tromey  <tromey@redhat.com>
8737
8738         * gcj/javaprims.h: Updated class declaration list.
8739         * Makefile.in: Rebuilt.
8740         * Makefile.am (core_java_source_files): Added new file.
8741         * java/util/EventListenerProxy.java: New file.
8742         * java/util/EventListener.java: Re-merge with Classpath.
8743         * java/util/EventObject.java: Re-merge with Classpath.
8744
8745 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8746
8747         * java/lang/ClassNotFoundException.java: New Classpath version.
8748
8749 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
8750
8751         * java/rmi/activation/ActivateFailedException.java: Remerge from
8752         Classpath version.
8753         * java/rmi/activation/ActivationException.java: Ditto.
8754         * java/rmi/activation/UnknownGroupException.java: Ditto.
8755         * java/rmi/activation/UnknownObjectException.java: Ditto.
8756         * java/rmi/server/ExportException: Ditto.
8757         * java/rmi/server/ServerCloneException: Ditto.
8758         * java/rmi/server/ServerNotActiveException: Ditto.
8759         * java/rmi/server/SkeletonMismatchException: Ditto.
8760         * java/rmi/server/SkeletonNotFoundException: Ditto.
8761         * java/rmi/server/SocketSecurityException: Ditto.
8762
8763 2002-06-16  Tom Tromey  <tromey@redhat.com>
8764
8765         * gcj/javaprims.h: Updated class declaration list.
8766
8767         * java/io/LineNumberInputStream.java: Merged with Classpath.
8768
8769         * java/lang/RuntimeException.java: Re-merge with Classpath.
8770         * java/util/ArrayList.java: Likewise.
8771         * java/util/Arrays.java: Likewise.
8772         * java/util/BitSet.java: Likewise.
8773         * java/util/Dictionary.java: Likewise.
8774         * java/util/IdentityHashMap.java: Likewise.
8775         * java/util/MissingResourceException.java: Likewise.
8776         * java/util/Observer.java: Likewise.
8777         * java/util/TooManyListenersException.java: Likewise.
8778         * java/util/zip/DataFormatException.java: Likewise.
8779         * java/util/zip/ZipException.java: Likewise.
8780
8781 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
8782
8783         * java/rmi/AccessException.java: Remerge from Classpath.
8784         * java/rmi/AlreadyBoundException.java: Ditto.
8785         * java/rmi/ConnectException.java: Ditto.
8786         * java/rmi/ConnectIOException.java: Ditto.
8787         * java/rmi/MarshalException.java: Ditto.
8788         * java/rmi/NoSuchObjectException.java: Ditto.
8789         * java/rmi/NotBoundException.java: Ditto.
8790         * java/rmi/RemoteException.java: Ditto.
8791         * java/rmi/RMISecurityException.java: Ditto.
8792         * java/rmi/ServerError.java: Ditto.
8793         * java/rmi/ServerException.java: Ditto.
8794         * java/rmi/ServerRuntimeException.java: Ditto.
8795         * java/rmi/StubNotFoundException.java: Ditto.
8796         * java/rmi/UnexpectedExcpetion.java: Ditto.
8797         * java/rmi/UnknownHostException.java: Ditto.
8798         * java/rmi/UnmarshalException.java: Ditto.
8799
8800 2002-06-15  Tom Tromey  <tromey@redhat.com>
8801
8802         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
8803         * java/lang/ArithmeticException.java: Likewise.
8804         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
8805         * java/lang/ArrayStoreException.java: Likewise.
8806         * java/lang/Byte.java: Likewise.
8807         * java/lang/CharSequence.java: Likewise.
8808         * java/lang/ClassCastException.java: Likewise.
8809         * java/lang/ClassCircularityError.java: Likewise.
8810         * java/lang/ClassFormatError.java: Likewise.
8811         * java/lang/CloneNotSupportedException.java: Likewise.
8812         * java/lang/Cloneable.java: Likewise.
8813         * java/lang/Comparable.java: Likewise.
8814         * java/lang/Compiler.java: Likewise.
8815         * java/lang/Error.java: Likewise.
8816         * java/lang/ExceptionInInitializerError.java: Likewise.
8817         * java/lang/IllegalAccessError.java: Likewise.
8818         * java/lang/IllegalAccessException.java: Likewise.
8819         * java/lang/IllegalArgumentException.java: Likewise.
8820         * java/lang/IllegalMonitorStateException.java: Likewise.
8821         * java/lang/IllegalStateException.java: Likewise.
8822         * java/lang/IllegalThreadStateException.java: Likewise.
8823         * java/lang/IncompatibleClassChangeError.java: Likewise.
8824         * java/lang/IndexOutOfBoundsException.java: Likewise.
8825         * java/lang/InheritableThreadLocal.java: Likewise.
8826         * java/lang/InstantiationError.java: Likewise.
8827         * java/lang/InstantiationException.java: Likewise.
8828         * java/lang/InternalError.java: Likewise.
8829         * java/lang/InterruptedException.java: Likewise.
8830         * java/lang/LinkageError.java: Likewise.
8831         * java/lang/NegativeArraySizeException.java: Likewise.
8832         * java/lang/NoClassDefFoundError.java: Likewise.
8833         * java/lang/NoSuchFieldError.java: Likewise.
8834         * java/lang/NoSuchFieldException.java: Likewise.
8835         * java/lang/NoSuchMethodError.java: Likewise.
8836         * java/lang/NoSuchMethodException.java: Likewise.
8837         * java/lang/NullPointerException.java: Likewise.
8838         * java/lang/NumberFormatException.java: Likewise.
8839         * java/lang/OutOfMemoryError.java: Likewise.
8840         * java/lang/Process.java: Likewise.
8841         * java/lang/Runnable.java: Likewise.
8842         * java/lang/RuntimePermission.java: Likewise.
8843         * java/lang/SecurityException.java: Likewise.
8844         * java/lang/Short.java: Likewise.
8845         * java/lang/StackOverflowError.java: Likewise.
8846         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
8847         * java/lang/ThreadDeath.java: Likewise.
8848         * java/lang/ThreadLocal.java: Likewise.
8849         * java/lang/UnknownError.java: Likewise.
8850         * java/lang/UnsatisfiedLinkError.java: Likewise.
8851         * java/lang/UnsupportedClassVersionError.java: Likewise.
8852         * java/lang/UnsupportedOperationException.java: Likewise.
8853         * java/lang/VerifyError.java: Likewise.
8854         * java/lang/VirtualMachineError.java: Likewise.
8855         * java/lang/reflect/InvocationTargetException.java: Likewise.
8856         * java/net/BindException.java: Likewise.
8857         * java/net/ConnectException.java: Likewise.
8858         * java/net/MalformedURLException.java: Likewise.
8859         * java/net/NoRouteToHostException.java: Likewise.
8860         * java/net/ProtocolException.java: Likewise.
8861         * java/net/SocketException.java: Likewise.
8862         * java/net/UnknownHostException.java: Likewise.
8863         * java/net/UnknownServiceException.java: Likewise.
8864
8865         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
8866         * java/io/CharConversionException.java: Likewise.
8867         * java/io/EOFException.java: Likewise.
8868         * java/io/FileNotFoundException.java: Likewise.
8869         * java/io/IOException.java: Likewise.
8870         * java/io/InterruptedIOException.java: Likewise.
8871         * java/io/InvalidClassException.java: Likewise.
8872         * java/io/InvalidObjectException.java: Likewise.
8873         * java/io/NotActiveException.java: Likewise.
8874         * java/io/NotSerializableException.java: Likewise.
8875         * java/io/ObjectStreamException.java: Likewise.
8876         * java/io/ObjectStreamConstants.java: Likewise.
8877         * java/io/OptionalDataException.java: Likewise.
8878         * java/io/PipedInputStream.java: Likewise.
8879         * java/io/PushbackInputStream.java: Likewise.
8880         * java/io/StreamCorruptedException.java: Likewise.
8881         * java/io/SyncFailedException.java: Likewise.
8882         * java/io/UTFDataFormatException.java: Likewise.
8883         * java/io/UnsupportedEncodingException.java: Likewise.
8884         * java/io/WriteAbortedException.java: Likewise.
8885
8886 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
8887
8888         * java/text/ChoiceFormat.java: Update comments from Classpath.
8889         * java/text/ParseException.java (serialVersionUID): New
8890         field from Classpath.
8891         * java/text/ParseException.java: Update formatting & comments
8892         from Classpath.
8893
8894 2002-06-15  Tom Tromey  <tromey@redhat.com>
8895
8896         * java/util/zip/InflaterInputStream.java (read): Loop if data has
8897         been read but none output by inflater.
8898         * java/util/zip/natDeflater.cc (reset): Set is_finished.
8899         * java/util/zip/natInflater.cc (reset): Set dist_needed and
8900         is_finished.
8901         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
8902         version.
8903         * java/util/zip/ZipFile.java: Replaced with Classpath version.
8904         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
8905         * java/util/zip/ZipInputStream.java: Replaced with Classpath
8906         version.
8907         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
8908
8909 2002-06-13  Tom Tromey  <tromey@redhat.com>
8910
8911         * java/lang/natString.cc (init): Handle case where DONT_COPY is
8912         true and OFFSET!=0.
8913         * java/lang/String.java (String(char[],int,int,boolean): New
8914         constructor.
8915         * java/lang/Long.java: Imported new version from Classpath.
8916         * java/lang/Number.java: Likewise.
8917         * java/lang/Integer.java: Likewise.
8918         * java/lang/Long.java: Likewise.
8919         * java/lang/Float.java: Likewise.
8920         * java/lang/Boolean.java: Likewise.
8921         * java/lang/Double.java: Likewise.
8922         * java/lang/Void.java: Likewise.
8923
8924 2002-06-12  Tom Tromey  <tromey@redhat.com>
8925
8926         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
8927         Fixes PR libgcj/6652.
8928
8929 2002-06-10  Tom Tromey  <tromey@redhat.com>
8930
8931         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
8932         (Class::getPackagePortion): Likewise.
8933         * java/lang/Class.java (desiredAssertionStatus): New method from
8934         Classpath.
8935         (getPackagePortion): Likewise.
8936         * java/lang/VMClassLoader.java (defaultAssertionStatus,
8937         packageAssertionStatus, classAssertionStatus): New methods from
8938         Classpath.
8939         * java/lang/ClassLoader.java (defaultAssertionStatus,
8940         systemPackageAssertionStatus, packageAssertionStatus,
8941         systemClassAssertionStatus, classAssertionStatus): New fields from
8942         Classpath.
8943         (setDefaultAssertionStatus, setPackageAssertionStatus,
8944         setClassAssertionStatus, clearAssertionStatus): New methods from
8945         Classpath.
8946         * Makefile.in: Rebuilt.
8947         * Makefile.am (core_java_source_files): Added AssertionError.java.
8948         * java/lang/AssertionError.java: New from Classpath.
8949
8950 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8951
8952         * configure.host: Disable hash synchronization and slow_pthread_self
8953         for cygwin.
8954
8955 2002-06-06  Adam Megacz <adam@xwt.org>
8956
8957         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
8958         locking, just like the Sun JVM does.
8959
8960 2002-06-05  H.J. Lu  (hjl@gnu.org)
8961
8962         * Makefile.am (libgcj_convenience.la): Revert the last change.
8963         (libgcj.la): Likewise.
8964         * Makefile.in: Regenerated.
8965
8966 2002-06-04  H.J. Lu  (hjl@gnu.org)
8967
8968         * Makefile.am (libgcj_convenience.la): New target.
8969         (libgcj.la): Depend on libgcj_convenience.la.
8970         * Makefile.in: Regenerated.
8971
8972 2002-06-04  H.J. Lu  (hjl@gnu.org)
8973
8974         * configure.in (--with-newlib): New option:
8975         Check ${with_newlib} instead of ${with_cross_host} for newlib.
8976         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
8977         Linux.
8978         * configure: Regenerated.
8979
8980 2002-06-04  Tom Tromey  <tromey@redhat.com>
8981
8982         * java/util/natTimeZone.cc: Include <stdio.h>.
8983
8984 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
8985
8986         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
8987         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
8988         Set SIGNAL_HANDLER=include/s390-linux.h.
8989         * configure: Regenerate.
8990         * include/s390-linux.h: New file.
8991
8992 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8993
8994         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
8995         not "stackTrace".
8996
8997 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8998
8999         Merge JDK 1.4 java.security changes from classpath.
9000
9001         * java/security/AccessControlException.java: Merge from Classpath.
9002         * java/security/AccessController.java: Likewise.
9003         * java/security/AllPermission.java: Likewise.
9004         * java/security/BasicPermission.java: Likewise.
9005         * java/security/Certificate.java: Likewise.
9006         * java/security/CodeSource.java: Likewise.
9007         * java/security/DigestException.java: Likewise.
9008         * java/security/DigestOutputStream.java: Likewise.
9009         * java/security/DomainCombiner.java: Likewise.
9010         * java/security/GeneralSecurityException.java: Likewise.
9011         * java/security/Guard.java: Likewise.
9012         * java/security/GuardedObject.java: Likewise.
9013         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9014         * java/security/InvalidKeyException.java: Likewise.
9015         * java/security/InvalidParameterException.java: Likewise.
9016         * java/security/Key.java: Likewise.
9017         * java/security/KeyException.java: Likewise.
9018         * java/security/KeyManagementException.java: Likewise.
9019         * java/security/KeyStoreException.java: Likewise.
9020         * java/security/MessageDigest.java: Likewise.
9021         * java/security/NoSuchAlgorithmException.java: Likewise.
9022         * java/security/NoSuchProviderException.java: Likewise.
9023         * java/security/Permission.java: Likewise.
9024         * java/security/PermissionCollection.java: Likewise.
9025         * java/security/Permissions.java: Likewise.
9026         * java/security/Policy.java: Likewise.
9027         * java/security/Principal.java: Likewise.
9028         * java/security/PrivateKey.java: Likewise.
9029         * java/security/PrivilegedAction.java: Likewise.
9030         * java/security/PrivilegedActionException.java: Likewise.
9031         * java/security/PrivilegedExceptionAction.java: Likewise.
9032         * java/security/ProtectionDomain.java: Likewise.
9033         * java/security/ProviderException.java: Likewise.
9034         * java/security/PublicKey.java: Likewise.
9035         * java/security/SecureClassLoader.java: Likewise.
9036         * java/security/SecurityPermission.java: Likewise.
9037         * java/security/SignatureException.java: Likewise.
9038         * java/security/UnrecoverableKeyException.java: Likewise.
9039         * java/security/UnresolvedPermission.java: Likewise.
9040         * java/security/acl/AclNotFoundException.java: Likewise.
9041         * java/security/acl/LastOwnerException.java: Likewise.
9042         * java/security/acl/NotOwnerException.java: Likewise.
9043         * java/security/cert/CRLException.java: Likewise.
9044         * java/security/cert/CertificateEncodingException.java: Likewise.
9045         * java/security/cert/CertificateException.java: Likewise.
9046         * java/security/cert/CertificateExpiredException.java: Likewise.
9047         * java/security/cert/CertificateFactory.java: Likewise.
9048         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9049         * java/security/cert/CertificateParsingException.java: Likewise.
9050         * java/security/spec/InvalidKeySpecException.java: Likewise.
9051         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9052
9053         * java/security/cert/CertPath.java: New file.
9054         * java/security/cert/CertPathBuilderException.java: New file.
9055         * java/security/cert/CertPathValidatorException.java: New file.
9056         * java/security/cert/CertStoreException.java: New file.
9057
9058         * Makefile.am: Add new CertPath classes.
9059         * Makefile.in: Rebuilt.
9060
9061         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9062
9063 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9064
9065         Merge JDK 1.4 exception chaining support from classpath.
9066
9067         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9068         (stackTraceBytes): Rename from stackTrace.
9069         * java/lang/Exception.java: Merge from classpath.
9070         * java/lang/StackTraceElement: New file from classpath.
9071         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9072         * Makefile.am: Add StackTraceElement.
9073         * Makefile.in: Rebuilt.
9074
9075 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9076
9077         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9078         they build first.
9079         * Makefile.in: Rebuilt.
9080
9081 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9082
9083         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9084         * configure.in: Likewise.
9085         * aclocal.m4: Regenerate.
9086         * configure: Regenerate.
9087
9088 2002-05-13  Tom Tromey  <tromey@redhat.com>
9089
9090         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9091         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9092         Include platform.h.
9093
9094         Fixes PR libgcj/6389:
9095         * Makefile.in: Rebuilt.
9096         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9097         * java/util/natTimeZone.cc: New file.
9098         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9099         * java/lang/System.java: Merged with Classpath.
9100         * java/lang/Runtime.java: Merged with Classpath.
9101         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9102         security check.
9103         (setIn0): Renamed from setIn; don't run security check.
9104         (setOut0): Renamed from setOut; don't run security check.
9105         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9106         init_properties): Moved to natRuntime.cc.
9107         Moved many includes to natRuntime.cc.
9108         (isWordsBigEndian): New method.
9109         * java/lang/natRuntime.cc: Include Long.h, also other includes
9110         previously in natSystem.cc.
9111         (maxMemory): New function.
9112         (exitInternal): Renamed from `_exit'.
9113         (exit): Removed.
9114         (init): Don't set finalize_on_exit.
9115         (exitInternal): Use `finalizeOnExit'.
9116         (file_encoding, getpwuid_adaptor): New functions from
9117         natSystem.cc.
9118         (insertSystemProperties): New method, renamed from
9119         System::init_properties.  Don't set user.timezone.
9120         (_load): Don't call checkLink.
9121         (execInternal): New method.
9122         (availableProcessors): Likewise.
9123         (nativeGetLibname): Likewise.
9124
9125 2002-05-11  Mark Wielaard  <mark@klomp.org>
9126
9127         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9128         space characters.
9129         (previous_internal): Likewise.
9130
9131 2002-05-09  Tom Tromey  <tromey@redhat.com>
9132
9133         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9134
9135         * java/util/ResourceBundle.java: New version from Classpath.
9136         * java/util/Locale.java: Likewise.
9137
9138 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9139
9140         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9141         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9142         LD_LIBRARY_PATH.
9143
9144 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9145
9146         * libjava/Makefile.am (all_java_source_files): New variable.
9147         (all_java_class_files): Likewise.
9148         .java.class: New rule.
9149         (CLEANFILES): Remove tmp-list.
9150         * libjava/Makefile.in: Regenerated.
9151
9152 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9153
9154         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9155         Append .exe to executable names.  Fix for cygwin.
9156
9157 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9158
9159         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9160         script entry, and set LD to it when configuring multilibs.
9161         * configure: Rebuilt.
9162
9163 2002-05-07  Tom Tromey  <tromey@redhat.com>
9164
9165         * java/lang/natString.cc (unintern): Fixed typo.
9166
9167 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9168
9169         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9170         with -no-install on *-*-cygwin*.
9171
9172 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9173
9174         * testsuite/lib/libjava.exp (test_libjava_from_source):
9175         Add comment explaining last patch
9176
9177 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9178
9179         * testsuite/lib/libjava.exp (test_libjava_from_source):
9180         Append .exe to executable names.  If no suffix is present,
9181         then ".exe" is added by default on win32.  Harmless
9182         elsewhere so always do it.
9183
9184 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9185             Tom Tromey  <tromey@redhat.com>
9186
9187         * java/lang/natSystem.cc (getSystemTimeZone): Use
9188         HAVE_UNDERSCORE_TIMEZONE.
9189         * include/config.h.in: Rebuilt.
9190         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9191         * aclocal.m4, configure: Rebuilt.
9192         * acinclude.m4: Run AC_EXEEXT.
9193         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9194         Add test for `_timezone'.
9195
9196 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9197
9198         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9199         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9200         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9201         * Makefile.in: Rebuilt.
9202
9203 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9204
9205         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9206         use sigaction instead of __libc_sigaction.
9207
9208 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9209
9210         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9211         (libjava_init): Use it to find libgcj.spec.
9212         (libjava_arguments): Likewise.
9213
9214 2002-05-02  David S. Miller  <davem@redhat.com>
9215
9216         PR bootstrap/6525
9217         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9218         __libc_sigaction on Sparc.
9219
9220 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9221
9222         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9223         sys/filio.h, if present.
9224
9225 2002-04-30  Tom Tromey  <tromey@redhat.com>
9226
9227         * java/io/BufferedReader.java (fill): Handle case where markPos
9228         point to ignored \n.  Fixes PR libgcj/6301.
9229
9230 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9231
9232         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9233
9234 2002-04-29  Adam King <aking@dreammechanics.com>
9235
9236         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9237         of file in APPEND mode.
9238
9239 2002-04-25  David S. Miller  <davem@redhat.com>
9240
9241         PR target/6422
9242         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9243         program counter to next program counter minus 8.  Update
9244         comments in this macro to explain why.
9245
9246 2002-04-26  Tom Tromey  <tromey@redhat.com>
9247
9248         * verify.cc (construct_primitive_array_type) [void_type]: New
9249         case.
9250         (branch_prepass): Added dummy entries for unused instruction
9251         values.
9252         (verify_instructions_0): Likewise.
9253         * interpret.cc (continue1): Comment fix.
9254         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9255         * Makefile.in: Rebuilt.
9256         * Makefile.am: Added -Wswitch-enum.
9257
9258 2002-04-24  Tom Tromey  <tromey@redhat.com>
9259
9260         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9261         correct length of UTF-8 encoded name.  Strip leading `/'.
9262         (_Jv_RegisterResource): Use _Jv_Malloc.
9263
9264 2002-04-23  Adam Megacz <adam@xwt.org>
9265
9266         * win32.cc, include/win32.cc (backtrace): Added this function
9267         because Win32 does not supply it.
9268
9269 2002-04-21  David S. Miller  <davem@redhat.com>
9270
9271         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9272         magic instruction reading sequence.
9273
9274 2002-04-21  Mark Wielaard  <mark@klomp.org>
9275
9276         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9277
9278 2002-04-19  David S. Miller  <davem@redhat.com>
9279
9280         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9281         arg.
9282         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9283         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9284         on Sparc too.
9285         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9286         for 64-bit sparc.
9287         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9288         * sysdeps/sparc/locks.h: New file.
9289         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9290         on all sparc Solaris configurations.  Set to
9291         include/dwarf2-signal.h on sparc Linux.
9292         * configure: Regenerate
9293         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9294
9295 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9296
9297         * configure: Rebuilt.
9298         * configure.in (backtrace): Function doesn't work on IA-64.
9299
9300 2002-04-17  Adam King <aking@dreammechanics.com>
9301
9302         * java/io/File.java (normalizePath): Add Win32 support for auto
9303         conversion of a '/' path separator to Win32's '\' separator.
9304
9305 2002-04-16  Tom Tromey  <tromey@redhat.com>
9306
9307         Fix for PR libgcj/6081:
9308         * Makefile.in: Rebuilt.
9309         * Makefile.am (install-data-local): Use GNU make trick to avoid
9310         shell limit.
9311
9312 2002-04-16  Adam King <aking@dreammechanics.com>
9313             Tom Tromey  <tromey@redhat.com>
9314
9315         * java/io/natFileWin32.cc (performList): Return the correct array
9316         type.  Don't duplicate the creation of a File since it's already
9317         done earlier in the method and the existing code would cause a
9318         ArrayStoreException.  Don't use fixed-size array.
9319         (_access, _stat, attr, getCanonicalPath, performMkdir,
9320         performRenameTo): Don't use fixed-size array.
9321         (getCanonicalPath): Use throw, not _Jv_Throw.
9322
9323 2002-04-15  DJ Delorie  <dj@redhat.com>
9324
9325         * configure.in: Allow building in $srcdir.
9326         * configure: Regenerated.
9327
9328 2002-04-14  Mark Wielaard <mark@klomp.org>
9329
9330         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9331         * java/net/natSocketImpl.cc (close): Likewise.
9332
9333 2002-04-14  Mark Wielaard <mark@klomp.org>
9334
9335         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9336
9337 2002-04-13  Adam King <aking@dreammechanics.com>
9338
9339         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9340         the f/F/d/D modifiers.
9341
9342 2002-04-12  Anthony Green  <green@redhat.com>
9343
9344         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9345         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9346         * Makefile.in: Rebuilt.
9347         * configure.in: Substitute gcc_version.
9348         * configure: Rebuilt.
9349
9350 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9351
9352         * configure.host: Set can_unwind_signal on hosts which support it.
9353         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9354         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9355         exceptions and can_unwind_signal isn't set.
9356         * configure: Rebuilt.
9357
9358 2002-04-11  Tom Tromey  <tromey@redhat.com>
9359
9360         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9361
9362 2002-04-11  Adam King <aking@dreammechanics.com>
9363             Tom Tromey  <tromey@redhat.com>
9364
9365         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9366         _Jv_ThrowNullPointerException): Mark as noreturn.
9367         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9368         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9369         fixes.
9370
9371 2002-04-10  Tom Tromey  <tromey@redhat.com>
9372
9373         * Makefile.in: Rebuilt.
9374         * Makefile.am (java/lang/Thread.h): Mark
9375         _Jv_AttachCurrentThreadAsDaemon as friend.
9376         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9377         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9378         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9379         function.
9380         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9381         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9382         (_Jv_JNI_InvokeFunctions): Added
9383         _Jv_JNI_AttachCurrentThreadAsDaemon.
9384         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9385         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9386         (JNI_CreateJavaVM): Likewise.
9387         (_Jv_JNI_AttachCurrentThread): Likewise.
9388         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9389         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9390         (_Jv_JNIFunctions): Initialize new fields.
9391         (_Jv_JNI_NewDirectByteBuffer): New function.
9392         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9393         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9394         * include/jni.h (JNI_VERSION_1_4): New macro.
9395         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9396         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9397         (JNINativeInterface::NewDirectByteBuffer): New field.
9398         (JNINativeInterface::GetDirectBufferAddress): New field.
9399         (JNINativeInterface::GetDirectBufferCapacity): New field.
9400         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9401         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9402         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9403
9404 2002-04-09  Tom Tromey  <tromey@redhat.com>
9405
9406         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9407
9408 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9409
9410         Fix for PR libgcj/6187:
9411         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9412         distance.
9413
9414 2002-04-07  Mark Wielaard <mark@klomp.org>
9415
9416         * java/util/AbstractMap.java (putAll): Use entrySet size.
9417         (toString): Explicitly use getKey() and getValue().
9418
9419 2002-04-07  Mark Wielaard <mark@klomp.org>
9420
9421         * java/util/Hashtable.java (contains): Remove NullPointer check.
9422         (containsValue): Add NullPointer check.
9423         (remove): Always throw NullPointerException when key
9424         is null.
9425
9426 2002-04-07  Adam King <aking@dreammechanics.com>
9427
9428         * java/lang/natSystem.cc (init_properties): Call new function
9429         _Jv_platform_initProperties.
9430         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9431         support for the System properties os.name, os.arch, os.version,
9432         user.name, user.home, and user.dir.
9433         * include/posix.h, include/win32.h, posix.cc: New function
9434         _Jv_platform_initProperties.
9435
9436 2002-04-06  Mark Wielaard <mark@klomp.org>
9437
9438         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9439
9440 2002-04-06  Mark Wielaard <mark@klomp.org>
9441
9442         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9443         all of the remaining elements.
9444         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9445         (removeRange): If toIndex == fromIndex do
9446         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9447         (removeAll): Always throw NullPointerException when collection is
9448         null.
9449         (retrainAll): Likewise.
9450
9451 2002-04-05  Mark Wielaard <mark@klomp.org>
9452
9453         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9454         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9455
9456 2002-04-05  Adam Megacz <adam@xwt.org>
9457
9458         * exception.cc (abort): added static modifier
9459
9460 2002-04-04  Adam Megacz <adam@xwt.org>
9461
9462         * include/win32.h (_Jv_platform_close_on_exec): added inline
9463         modifier.
9464
9465 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9466
9467         * configure.host: Add case statement to support generic port
9468         properties.  Add *-*-freebsd* section.
9469
9470 2002-04-04  Mark Wielaard  <mark@klomp.org>
9471
9472         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9473         test.
9474         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9475         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9476         that depend on awt code and BufferedByteOutputStream.interrupt.
9477
9478 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9479
9480         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9481         incorrect "hi" value when count > 40.
9482
9483 2002-04-03  Mark Wielaard  <mark@klomp.org>
9484
9485         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9486         ordering.
9487
9488 2002-04-02  Tom Tromey  <tromey@redhat.com>
9489
9490         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9491         not `0'.
9492
9493 2002-04-02  Mark Wielaard  <mark@klomp.org>
9494
9495         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9496         list of testsuite crashers.
9497
9498 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9499
9500         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9501         when resizing table.
9502
9503 2002-04-01  Mark Wielaard  <mark@klomp.org>
9504
9505         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9506         NegativeArraySizeException
9507         (clear(int)): Use sign extended shift.
9508         (flip(int)): Likewise.
9509         (get(int)): Likewise.
9510         (nextClearBit(int)): Likewise.
9511         (nextSetBit(int)): Likewise.
9512         (set(int)): Likewise.
9513
9514 2002-04-01  Mark Wielaard  <mark@klomp.org>
9515
9516         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9517         that can be compiled now and add testsuite crashers to ignore list.
9518
9519 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9520
9521         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9522
9523         * libgcj.spec.in: Override libgcc, not lib.
9524         * libgcj-test.spec.in: Likewise.
9525
9526 2002-03-29  Tom Tromey  <tromey@redhat.com>
9527
9528         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9529         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9530
9531 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9532
9533         * java/net/PlainDatagramSocketImpl.java
9534         (close): Use native implementation.
9535         (finalize): New method.
9536
9537         * java/net/PlainSocketImpl.java (finalize): New method.
9538
9539         * java/net/natPlainDatagramSocketImpl.cc
9540         (java/io/FileDescriptor.h): Don't include.
9541         (close): Implement method here.
9542         (create): Don't assign fd.
9543
9544         * java/net/natPlainSocketImpl.cc
9545         (java/io/FileDescriptor.h): Don't include.
9546         (create): Don't assign fd.
9547         (accept): Likewise.
9548         (close): Synchronize.
9549
9550 2002-03-27  Richard Henderson  <rth@redhat.com>
9551
9552         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9553
9554 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9555
9556         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9557         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9558         instead of syscall on IA-64.
9559         Add FIXME comment.
9560
9561 2002-03-27  Anthony Green  <green@redhat.com>
9562
9563         * libgcj.spec.in: Add CHECKREFSPEC.
9564         * configure.in: Ditto.
9565         * configure.host: Ditto.  Check references for xscale-elf.
9566         * configure: Rebuilt.
9567
9568 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9569
9570         * include/dwarf2-signal.h: Temporarily back out last change.
9571
9572 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9573
9574         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9575
9576 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9577
9578         * configure.in, configure: enable dwarf2-exception-style
9579         exception handling on IA-64.
9580         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9581         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9582         Add FIXME comment.
9583
9584 2002-03-25  Tom Tromey  <tromey@redhat.com>
9585
9586         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9587         (jv_convert_LDFLAGS): Likewise.
9588         (gij_LDFLAGS): Likewise.
9589         (rmic_LDFLAGS): Likewise.
9590         (rmiregistry_LDFLAGS): Likewise.
9591         * configure.in (THREADLDFLAGS): New subst; set correctly for
9592         *BSD.
9593
9594 2002-03-25  Tom Tromey  <tromey@redhat.com>
9595
9596         For PR libgcj/5303:
9597         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9598         and --version.
9599         (help): New method.
9600         (version): Likewise.
9601         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9602         "GNU".
9603         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9604         "GNU".
9605
9606 2002-03-25  Tom Tromey  <tromey@redhat.com>
9607
9608         * java/awt/Component.java (processEvent): Check ComponentEvent
9609         after KeyEvent.
9610
9611 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9612
9613         * java/io/PushbackReader.java: Reformat.
9614
9615         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9616         calculate correct number of bytes skipped.
9617
9618         Based on patch from Intel's ORP team:
9619         * java/io/PushbackInputStream.java (available): Calculate correct
9620         number of bytes in buffer.
9621         (read): Remove redundant bound check. Return bytes from both the
9622         buffer and the stream.
9623
9624 2002-03-24  Tom Tromey  <tromey@redhat.com>
9625
9626         * java/awt/TextComponent.java (TextComponent): Editable by
9627         default.
9628
9629         * java/awt/MenuItem.java (eventMask): No longer private.
9630         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9631         superclass if we didn't handle event.
9632         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9633         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9634         * java/awt/Choice.java (dispatchEventImpl): New method.
9635         * java/awt/List.java (dispatchEventImpl): New method.
9636         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9637         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9638         * java/awt/TextField.java (dispatchEventImpl): New method.
9639
9640 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9641
9642         * java/beans/IntrospectionException.java: Update to 1.4.
9643         * java/beans/PropertyVetoException.java: Ditto.
9644
9645 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9646
9647         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9648         Arrays.equals instead of ArrayHelper.equalsArray.
9649
9650 2002-03-24  C. Brian Jones <cbj@gnu.org>
9651
9652         * java/beans/Introspector.java: added new static final fields
9653         introduced in 1.2, lots of other updates remain to be done
9654
9655 2002-03-24  C. Brian Jones <cbj@gnu.org>
9656
9657         * java/beans/Introspector.java: reformatting
9658
9659 2002-03-24  C. Brian Jones <cbj@gnu.org>
9660
9661         * java/beans/Introspector.java: default beanInfoSearchPath will
9662         not include sun.beans.infos given we provide no such package and
9663         the API doesn't really require it; gnu.java.beans.info is the
9664         default.
9665
9666 2002-03-24  Mark Wielaard  <mark@klomp.org>
9667
9668         Thanks to Orp developers
9669         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9670         switch TRUE and FALSE return values.
9671
9672 2002-03-23  Tom Tromey  <tromey@redhat.com>
9673
9674         * include/name-finder.h (_Jv_name_finder::myclose): New method.
9675         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9676
9677 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
9678
9679         * java/util/GregorianCalendar.java (minimums, maximums): Correct
9680         MONTH entry.  Fixes PR libgcj/6045.
9681
9682 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
9683
9684         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9685
9686 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9687
9688         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9689         not release_set.
9690         * sysdep/powerpc/locks.h (write_barrier): New function.
9691         * sysdep/i386/locks.h (write_barrier): New function.
9692
9693 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
9694
9695         * include/jni.h Use correct C comments.
9696
9697 2002-03-18  Tom Tromey  <tromey@redhat.com>
9698
9699         * include/jni.h (JNIIMPORT): New macro.
9700         (JNIEXPORT): Likewise.
9701         (JNICALL): Likewise.
9702
9703 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9704
9705         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9706         systems.
9707
9708 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
9709
9710         * include/i386-signal.h (old_i386_kernel_sigaction): New.
9711         INIT_SEGV: Use old_i386_kernel_sigaction.
9712         INIT_FP: Likewise.
9713
9714 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9715
9716         * java/lang/natSystem.cc (init_properties): Update VM version
9717         properties.
9718         * configure.in: Set GCJVERSION.
9719         * acconfig.h: Add GCJVERSION.
9720         * configure: Rebuilt.
9721         * include/config.h.in: Rebuilt.
9722
9723 2002-03-17  Anthony Green  <green@redhat.com>
9724
9725         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9726
9727 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9728
9729         Build a single libgcj.so, without separate gc and zlib libraries.
9730         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9731         SYS_ZLIBS if system zlib is used.
9732         * configure: Rebuilt.
9733         * Makefile.am: Use boehm-gc and zlib convenience libraries.
9734         * Makefile.in: Rebuilt.
9735         * libtool-version: Increment .so version number.
9736
9737         * Makefile.am: Escape quotes in echo.
9738         * Makefile.in: Rebuilt.
9739
9740 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9741
9742         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9743         * Makefile.in: Rebuilt.
9744
9745 2002-03-15  Anthony Green  <green@redhat.com>
9746
9747         * configure.host (FILE): New macro for specifing File
9748         implementation.
9749         * configure: Rebuilt.
9750         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
9751
9752 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
9753
9754         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9755         already implicitly brought in from libgcj.la.
9756         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9757         * Makefile.in: Rebuilt.
9758
9759 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
9760
9761         * THANKS: Fix punctuation, alphabetization.
9762
9763 2002-03-15  Tom Tromey  <tromey@redhat.com>
9764             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9765
9766         Fix for PR libgcj/5944.
9767         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9768
9769 2002-03-15  Anthony Green  <green@redhat.com>
9770
9771         * configure.in (tool_include_dir): Define.
9772         * configure: Rebuilt.
9773         * gcj/Makefile.am: Install libgcj-config.h relative to
9774         tool_include_dir.
9775         * gcj/Makefile: Rebuilt.
9776         * gcj/libgcj-config.h: Add warning comment.
9777
9778 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
9779
9780         * configure.host (powerpc*-darwin*): Enable interpreter.
9781
9782 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9783
9784         * include/posix.h: Add multiple include header protection.
9785         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9786
9787 2002-03-10  Adam Megacz <adam@xwt.org>
9788
9789         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9790
9791 2002-03-10  Tom Tromey  <tromey@redhat.com>
9792
9793         * java/awt/GridLayout.java (layoutContainer): Handle case where
9794         there are no items in container.
9795
9796         * java/lang/Win32Process.java: Added comment.
9797         * include/posix.h (_Jv_platform_close_on_exec): New function.
9798         Include fcntl.h.
9799         * include/win32.h (_Jv_platform_close_on_exec): New function.
9800         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
9801         flag.
9802         (accept): Likewise.
9803         * java/net/natPlainDatagramSocketImpl.cc (create): Set
9804         close-on-exec flag.
9805         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
9806         flag.
9807
9808 2002-03-09  Tom Tromey  <tromey@redhat.com>
9809
9810         * verify.cc (state::NO_STACK): New constant.
9811         (state::is_unmerged_ret_state): Handle case where stacktop is
9812         NO_STACK.
9813         (state::merge): Handle NO_STACK merges.
9814         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
9815         for instruction following jsr.
9816         (stacktop, stackdepth): Removed unused variables.
9817         (pop_jump): Ignore case where all remaining states are skipped.
9818
9819 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9820
9821         * java/awt/ImageMediaEntry: Removed.
9822         * java/awt/MediaEntry: Removed.
9823
9824 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9825
9826         Hashtable synchronization for PowerPC.
9827         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
9828         slow_pthread_self. Set up symlink for sysdeps directory.
9829         * configure: Rebuild.
9830         * configure.host: Document more shell variables. Set sysdeps_dir
9831         for most platforms. Set slow_pthread_self for i686. Set
9832         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
9833         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
9834         that memory barrier is emitted where required.
9835         * prims.cc: 64-bit align static primitive class instances.
9836         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
9837         read_barrier() to enforce ordering of reads.
9838         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
9839         primitives for PowerPC.
9840         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
9841         moved from natObject.cc.
9842         * sysdep/alpha/locks.h: Likewise.
9843         * sysdep/ia64/locks.h: Likewise.
9844         * sysdep/generic/locks.h: Likewise.
9845         * java/lang/natObject.cc: Move thread synchronization primitives to
9846         system-dependent headers.
9847
9848 2002-03-09  Adam Megacz  <adam@xwt.org>
9849
9850         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
9851         bytes read and no failure code returned.
9852
9853 2002-03-09  Adam Megacz  <adam@xwt.org>
9854
9855         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
9856         definitions to simulate -mthreads.
9857
9858 2002-03-09  Adam Megacz  <adam@xwt.org>
9859
9860         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
9861         avoid precision loss.
9862
9863 2002-03-09  Per Bothner  <per@bothner.com>
9864
9865         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
9866         * gnu/gcj/xlib/XImage.java:  Likewise.
9867         * gnu/gcj/xlib/XColor.java:  Likewise.
9868
9869 2002-03-09  Adam Megacz  <adam@xwt.org>
9870
9871         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
9872         IOException so that Throwable.printStackTrace fails correctly.
9873
9874 2002-03-08  Adam Megacz  <adam@xwt.org>
9875
9876         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
9877         fixed.
9878
9879 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9880
9881         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
9882         truncated to int.
9883
9884 2002-03-08  Tom Tromey  <tromey@redhat.com>
9885
9886         * include/jni.h: Include stdio.h.
9887
9888 2002-03-08  Tom Tromey  <tromey@redhat.com>
9889
9890         * posix.cc (internal_gettimeofday): New function.
9891         (_Jv_select): Use it.
9892
9893 2002-03-07  Adam Megacz  <adam@xwt.org>
9894
9895         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
9896         WIN32, and added thunks for read(), write(), and close().
9897         * java/net/natPlainSocketImpl.cc (accept, read, read):
9898         Disabled timeouts on WIN32 pending discussion.
9899
9900 2002-03-07  Adam Megacz  <adam@xwt.org>
9901
9902         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
9903         returns jlong. Added implementation
9904         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
9905         returns jlong.
9906         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
9907         returns jlong.
9908         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
9909         returns jlong.
9910         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
9911         _Jv_platform_gettimeofday signature.
9912
9913 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9914
9915         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
9916         (read): Call recv() directly, not _Jv_recv().
9917
9918 2002-03-06  Tom Tromey  <tromey@redhat.com>
9919
9920         * java/io/natFileDescriptorEcos.cc (init): Don't use
9921         GetStdHandle.
9922         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
9923         is negative.
9924         (init): Don't use GetStdHandle.
9925
9926         * include/config.h.in: Rebuilt.
9927         * configure: Rebuilt.
9928         * Makefile.in: Rebuilt.
9929
9930 2002-03-06  Adam Megacz  <adam@xwt.org>
9931
9932         * java/io/FileDescriptor.java: Initialize in/out/err in init().
9933         * java/io/natFileDescriptorWin32.cc (init()): Added function.
9934         * java/io/natFileDescriptorPosix.cc (init()): Added function.
9935         * java/io/natFileDescriptorEcos.cc (init()): Added function.
9936
9937 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
9938
9939         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
9940         the code for generating include/java-chartables.h.
9941         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
9942         merge with Classpath.
9943         * scripts/unicode-muncher.pl: Copy from Classpath.
9944         * scritps/MakeCharTables.java: New file.
9945         * gnu/gcj/convert/Blocks-3.txt: New file.
9946         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
9947         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
9948         * gnu/java/lang/CharData.java: Copy from Classpath.
9949         * Makefile.am (ordinary_java_source_files): Add
9950         gnu/java/lang/CharData.java.
9951         * configure.in: Remove --enable-fast-character option.
9952         * java/lang/Character.java: Merge algorithms and Javadoc with
9953         Classpath.
9954         * java/lang/natCharacter.cc: Implement Unicode lookup table more
9955         efficiently.
9956         * include/java-chardecomp.h: Regenerate.
9957         * include/java-chartables.h: Regenerate.
9958
9959 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9960
9961         * java/awt/MediaTracker.java: Implemented.
9962         * Makefile.am: Add MediaTracker.
9963         * Makefile.in: Rebuilt.
9964
9965 2002-03-05  Tom Tromey  <tromey@redhat.com>
9966
9967         * java/lang/natPosixProcess.cc (fail): Removed.
9968         (startProcess): Simplified error-handling.  Preserve
9969         LD_LIBRARY_PATH across exec.
9970
9971         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
9972         AbstractMethodError.
9973
9974 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9975
9976         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
9977         * Makefile.in: Rebuilt.
9978
9979 2002-03-03 Mark Wielaard <mark@klomp.org>
9980
9981         * java/util/Timer (TaskQueue.stop): set elements to zero.
9982
9983 2002-02-28  Anthony Green  <green@redhat.com>
9984
9985         * java/lang/reflect/natMethod.cc (result): Add void* element.
9986         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
9987         constructor test.
9988
9989 2002-02-27  Adam Megacz <adam@xwt.org>
9990
9991         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
9992         '#undef STRICT'.
9993
9994 2002-02-26  Tom Tromey  <tromey@redhat.com>
9995
9996         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
9997         * gij.cc (version): Use __VERSION__.
9998         * include/config.h.in: Rebuilt.
9999         * acconfig.h (GCJVERSION): Removed.
10000         * configure: Rebuilt.
10001         * configure.in (GCJVERSION): Removed.
10002
10003 2002-02-26  Andreas Schwab  <schwab@suse.de>
10004
10005         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10006         glibcpp_CXX, since libjava uses even another CXX.
10007         * aclocal.m4, configure: Regenerated.
10008
10009 2002-02-26  Tom Tromey  <tromey@redhat.com>
10010
10011         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10012         `1'.
10013
10014 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10015
10016         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10017         dependency tracking for .java files.
10018         * Makefile.in: Rebuilt.
10019
10020 2002-02-24  Adam Megacz  <adam@xwt.org>
10021
10022         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10023         typo. Sorry.
10024
10025 2002-02-24  Adam Megacz  <adam@xwt.org>
10026
10027         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10028         for Win32, changed #ifdefs to check WIN32 instead of the
10029         (now-obsolete) USE_WINSOCK, and removed support for socket
10030         timeouts on Win32 pending further discussion.
10031
10032 2002-02-24  Adam Megacz  <adam@xwt.org>
10033
10034         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10035         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10036         delete
10037
10038 2002-02-24  Adam Megacz  <adam@xwt.org>
10039
10040         * java/lang/Win32Process.java: Created a dummy class to allow
10041         build process to run to completion.
10042
10043 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10044
10045         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10046         Define ffi_result union for ffi_call result.  Cast
10047         ffi_result members to jvalue.
10048
10049 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10050
10051         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10052         * testsuite/Makefile.in: Likewise.
10053
10054 2002-02-20  Per Bothner  <per@bothner.com>
10055
10056         * java/net/URL.java (getPath):  New JDK 1.3 method.
10057
10058         * java/net/URLStreamHandler.java (parseURL):
10059         It is wrong to prepend '/' to the file part of a relative url.
10060
10061         * java/net/URLStreamHandler.java (parseURL):
10062         Minor optizations - append '/' rather than "/".
10063
10064         * java/net/URLStreamHandler.java (parseURL):
10065         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10066         We probably should canonicalize for a context-relative url, though.
10067         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10068         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10069         (sameFile):  New method.  Uses canonicalizeFilename.
10070
10071 2002-02-22  Tom Tromey  <tromey@redhat.com>
10072
10073         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10074         java.vendor and java.vm.vendor.
10075         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10076         recent copyright date.
10077         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10078         * gij.cc (version): Print `Inc'.
10079
10080 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10081
10082         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10083         * aclocal.m4, configure: Rebuilt.
10084
10085 2002-02-20  Per Bothner  <per@bothner.com>
10086
10087         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10088         and/or output streams immediately here, instead of using File.exists.
10089         (inputStream, outputStream):  New fields to save open streams.
10090         (getInputStream, getOutputStream):  Use already-opened streams.
10091
10092 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10093
10094         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10095         Use it.
10096         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10097         * aclocal.m4, configure, Makefile.in: Rebuilt.
10098
10099 2002-02-19  Tom Tromey  <tromey@redhat.com>
10100
10101         Fix for PR libgcj/5696:
10102         * verify.cc (is_assignable_from_slow): Never call
10103         _Jv_IsAssignableFrom.
10104         (verify_instructions_0): Added new debug statement.
10105         (state::print): Print information about whether local has
10106         changed.
10107         (state::merge): Don't call note_variable when merging locals.
10108         (state::set_exception): Removed old FIXME comment.
10109
10110 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10111
10112         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10113         enable SO_BROADCAST.
10114
10115 2002-02-18  Jason Merrill  <jason@redhat.com>
10116
10117         * name-finder.cc (toHex): Use word mode, not long long.
10118
10119         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10120
10121 2002-02-15  Tom Tromey  <tromey@redhat.com>
10122
10123         Fix for PR libgcj/5695:
10124         * verify.cc (is_assignable_from_slow): Check to see if target is
10125         an Object before checking to see if source is an interface.
10126         (verify_instructions_0) [op_invokeinterface]: Handle case where
10127         we're making an interface call on Object.
10128
10129 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10130
10131         * Makefile.in: Rebuilt with Eric's change below.
10132
10133         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10134         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10135         Removed functions which are now implemented in Math.java.
10136
10137 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10138
10139         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10140         * Makefile.am (core_java_source_files): Add
10141         java/lang/StrictMath.java.
10142         * java/lang/Math.java: Merge with Classpath.
10143         * java/lang/StrictMath.java: New file - merge with Classpath.
10144
10145 2002-02-14  Mark Wielaard  <mark@klomp.org>
10146
10147         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10148         package as a workaround for gcj 3.0.x
10149
10150 2002-02-14  Mark Wielaard <mark@klomp.org>
10151
10152         * java/security/BasicPermission.java: extends with fully qualified
10153         classname as workaround for gcj 3.0.4.
10154
10155 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10156
10157         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10158         around gcj bug of wrong emitted qualifier for inherited method.
10159         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10160         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10161         constructor to reduce amount of emitted bytecode. While this
10162         happens to work around a jikes 1.15 bug, it is still a useful
10163         patch even for correct compilers.
10164         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10165         * gnu/java/rmi/server/UnicastRemoteCall.java
10166         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10167
10168 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10169
10170         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10171         * java/net/SocketImpl.java: Ditto.
10172         * java/rmi/server/RMIClassLoader.java: Ditto.
10173         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10174
10175 2002-02-14  Mark Wielaard <mark@klomp.org>
10176
10177         Thanks to Takashi Okamoto
10178         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10179         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10180         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10181
10182 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10183
10184         Fix for PR libgcj/5670:
10185         * verify.cc (is_assignable_from_slow): If `source' is interface,
10186         recursively look for merge with `target'.
10187
10188 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10189
10190         * include/jni.h: Fix typo.
10191
10192 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10193
10194         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10195         correctly.
10196
10197 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10198
10199         Fix for PR libgcj/5671:
10200         * verify.cc (state::merge): Handle case where we're merging
10201         against an interface.
10202
10203 2002-02-12  Tom Tromey  <tromey@redhat.com>
10204
10205         * exception.cc (std::abort): Mark as noreturn.
10206
10207 2002-02-12  Adam Megacz <adam@xwt.org>
10208
10209         * java/lang/Win32Process.java: Filled in a placeholder
10210         implementation so Win32 will build.
10211
10212 2002-02-12  Adam Megacz <adam@xwt.org>
10213
10214         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10215         * java/io/natFile.cc: Removed from repository.
10216         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10217
10218 2002-02-12  Adam Megacz <adam@xwt.org>
10219
10220         * win32.cc: Added two #includes to make win32.cc compile.
10221
10222 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10223
10224         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10225         declarations.
10226         (_Jv_InitGC): Don't bother locking, as this is always called from a
10227         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10228
10229 2002-02-11  Adam Megacz <adam@xwt.org>
10230
10231         * include/win32.h: Added _Jv_platform_gettimeofday.
10232         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10233
10234 2002-02-11  Adam Megacz <adam@xwt.org>
10235
10236         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10237         Added #undef STRICT to make windows.h and
10238         java/lang/reflect/Modifier.h cooperate.
10239
10240 2002-02-11  Adam Megacz <adam@xwt.org>
10241
10242         * java/io/natFileWin32.cc: Created a placeholder class with lots
10243         of FIXMEs.
10244
10245 2002-02-11  Adam Megacz <adam@xwt.org>
10246
10247         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10248         std::abort() to simply abort(). Also added "fake" std::abort() so
10249         we can #include unwind-pe.h without having to link against
10250         libstdc++-v3.
10251
10252 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10253
10254         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10255
10256 2002-02-08  Tom Tromey  <tromey@redhat.com>
10257
10258         * interpret.cc (convert): New function.
10259         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10260         convert.
10261         Include Long.h.
10262
10263 2002-02-08  Anthony Green  <green@redhat.com>
10264
10265         * configure.host: Add support for xscale-elf embedded target.
10266
10267 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10268
10269         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10270         dereferenced.
10271         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10272         frame.
10273
10274 2002-02-07  Tom Tromey  <tromey@redhat.com>
10275
10276         * java/io/natFile.cc (_access): Use __builtin_alloca.
10277         (_stat): Likewise.
10278         (attr): Likewise.
10279         (getCanonicalPath): Likewise.
10280         (performList): Likewise.
10281         (performMkdir): Likewise.
10282         (performSetReadOnly): Likewise.
10283         (performRenameTo): Likewise.
10284         (performSetLastModified): Likewise.
10285         (performCreate): Likewise.
10286         (performDelete): Likewise.
10287
10288 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10289
10290         * HACKING: Fix URL for the automake-gcj.
10291
10292 2002-02-07  Tom Tromey  <tromey@redhat.com>
10293
10294         * java/lang/natThrowable.cc: Updated copyright.
10295         * java/io/natFileWin32.cc: Updated copyright.
10296         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10297         * win32-threads.cc: Updated copyright.
10298         * name-finder.cc: Updated copyright.
10299         * include/name-finder.h: Updated copyright.
10300
10301         * include/name-finder.h: Conditionally include sys/wait.h.
10302         * include/config.h.in: Rebuilt.
10303
10304         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10305         Size buffer based on real size of string.
10306         (_stat): Likewise.
10307         (attr): Likewise.
10308         (getCanonicalPath): Likewise.
10309         (performList): Likewise.
10310         (performMkdir): Likewise.
10311         (performSetReadOnly): Likewise.
10312         (unixroot): Removed.
10313         (performRenameTo): Likewise.
10314         (performSetLastModified): Likewise.
10315         (performCreate): Likewise.
10316         (performDelete): Likewise.
10317         (performListRoots): Always return new array.
10318
10319         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10320         * win32.cc (win32_exception_handler): Now static.
10321         * include/win32.h (_Jv_platform_initialize): Declare.
10322         (win32_exception_handler): Don't declare.
10323         * java/lang/natSystem.cc (currentTimeMillis): Use
10324         _Jv_platform_gettimeofday.
10325         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10326         (_Jv_select): Use new name.
10327         (_Jv_platform_initialize): New function.
10328         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10329         _Jv_gettimeofday.
10330         (_Jv_platform_initialize): Declare.
10331
10332         * configure: Rebuilt.
10333         * configure.in: Removed unnecessary parens.
10334
10335 2002-02-06  Adam Megacz <adam@xwt.org>
10336
10337        * configure.in: Changed mingw) to *mingw*).
10338        * win32.cc: Created this file.
10339        * win32.h: Created this file.
10340        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10341        win32_exception_handler from prims.cc to win32.cc, added
10342        header in win32.h.
10343        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10344        longer needed now that we have platform.h
10345
10346 2002-02-06  Adam Megacz <adam@xwt.org>
10347
10348         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10349         use uint<n>_t instead of LONG and BYTE
10350
10351 2002-02-06  Adam Megacz <adam@xwt.org>
10352
10353         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10354
10355 2002-02-06  Anthony Green  <green@redhat.com>
10356
10357         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10358         Implement missing method stubs.
10359         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10360         targets.
10361         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10362         concept of timezones.
10363         (init_properties): Don't refer to _Jv_Environment_Properties
10364         when this feature is not available.
10365         * include/config.h.in: Rebuilt.
10366         * acconfig.h: Add DISABLE_MAIN_ARGS.
10367         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10368         * configure: Rebuilt.
10369         * configure.in: Add --disable-main-args option.  Test for
10370           opendir function.  Replace AC_CHECK_SIZEOF with
10371           AC_COMPILE_CHECK_SIZEOF.
10372         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10373         * aclocal.m4: Rebuilt.
10374         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10375
10376 2002-02-06  Tom Tromey  <tromey@redhat.com>
10377
10378         * verify.cc (require_array_type): If argument is a null array of
10379         references, return null as the element type.
10380
10381 2002-02-06  Mark Wielaard  <mark@klomp.org>
10382
10383         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10384         duplicate of a wide type.
10385
10386 2002-02-06  Tom Tromey  <tromey@redhat.com>
10387
10388         * verify.cc (type::isnull): New method.
10389         (require_array_type): Handle case where array is null.
10390         (verify_instructions_0) [op_arraylength]: Likewise.
10391
10392 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10393
10394         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10395         Symlink PLATFORMH to platform.h.
10396         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10397         PLATFORMOBJS.
10398         * java/lang/natSystem.cc: #include platform.h not posix.h.
10399         * Makefile.in: Rebuilt with libgcj automake.
10400         * configure: Rebuilt.
10401
10402 2002-02-05  Richard Henderson  <rth@redhat.com>
10403
10404         * Makefile.in: Undo munging last change.
10405
10406 2002-02-04  Adam Megacz <adam@xwt.org>
10407
10408         * win32.cc: Created it.
10409         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10410         which is set to posix.cc or win32.cc.
10411         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10412
10413 2002-02-04  Adam Megacz <adam@xwt.org>
10414
10415         * configure.in: Corrected mingw case branches; added * before
10416         and after.
10417
10418 2002-02-04  Adam Megacz <adam@xwt.org>
10419
10420         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10421         if compiling for win32
10422
10423 2002-02-04  Adam Megacz <adam@xwt.org>
10424
10425         * win32-threads.cc: #undef STRICT after gc.h inclusion
10426
10427 2002-02-02  Tom Tromey  <tromey@redhat.com>
10428
10429         * Makefile.in: Rebuilt.
10430
10431 2002-02-02  Jason Merrill  <jason@redhat.com>
10432
10433         * Makefile.am (clean-nat): New target.
10434
10435 2002-02-02  Tom Tromey  <tromey@redhat.com>
10436
10437         * java/io/natFile.cc: Removed old "FIXME" comments.
10438
10439 2002-02-01  Tom Tromey  <tromey@redhat.com>
10440
10441         * java/lang/natPosixProcess.cc (myclose): New function.
10442         (fail): Use it.
10443         (startProcess): Likewise.
10444
10445 2002-02-01  Adam Megacz <adam@xwt.org>
10446
10447         * prims.cc: Added #undef STRICT after #include<windows.h>.
10448
10449 2002-02-01  Adam Megacz <adam@xwt.org>
10450
10451         * prims.cc
10452         (_Jv_CreateJavaVM): We now use WIN32 instead of
10453         USE_WIN32_SIGNALLING and USE_WINSOCK.
10454         (win32_exception_handler): Now throws an exception out of
10455         the signal handler; assumes SJLJ.
10456
10457 2002-02-01  Adam Megacz <adam@xwt.org>
10458
10459         * win32-threads.cc:
10460         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10461         wait() algorithm to make it safe.
10462         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10463         Added lazy creation of Win32 Events for better performance
10464         (really_start): This now uses GC_CreateThread so boehm-gc
10465         knows about new threads even when statically linked.
10466
10467 2002-02-01  Adam Megacz <adam@xwt.org>
10468
10469         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10470         enable safer wait() algorithm.
10471         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10472         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10473         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10474         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10475         instead of mutex.
10476         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10477
10478 2002-02-01  Adam Megacz <adam@xwt.org>
10479
10480         * configure.in: Added support for mingw.
10481         * java/lang/Win32Process.java: Created as empty file.
10482         * java/lang/natWin32Process.cc: Created as empty file.
10483
10484 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10485
10486         PR java/4972
10487         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10488         for libiconv in LIBICONV variable.
10489         * configure: Regenerated.
10490
10491 2002-01-31  Tom Tromey  <tromey@redhat.com>
10492
10493         * verify.cc (state::enter_subroutine): New method.
10494         (handle_jsr_insn): Use it.
10495         (state::merge): When processing a `ret', correctly use
10496         subroutine's state to determine which local variables have
10497         changed.
10498         (push_exception_jump): Don't let stack overflow.
10499
10500 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10501
10502         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10503         --version output.
10504
10505 2002-01-30  Tom Tromey  <tromey@redhat.com>
10506
10507         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10508         parameter for `recv' return type.
10509
10510         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10511         (state::merge): ... not here.
10512         (subr_entry_info): New structure.
10513         (entry_points): New field.
10514         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10515         entry_points.
10516
10517 2002-01-29  Tom Tromey  <tromey@redhat.com>
10518
10519         * java/awt/List.java (addNotify): Correctly check to see if peer
10520         does not exist.
10521
10522         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10523         to compute height of each cell, and number of columns to compute
10524         width of each cell.
10525         * java/awt/Window.java (getOwnedWindows): Don't return null.
10526         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10527         of component.  Increment x using horizontal gap, not vertical
10528         gap.
10529
10530 2002-01-28  Tom Tromey  <tromey@redhat.com>
10531
10532         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10533         `nargs' byte is number of words, not number of arguments.
10534
10535 2002-01-27  Tom Tromey  <tromey@redhat.com>
10536
10537         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10538         (when): Likewise.
10539         * java/awt/event/InputEvent.java (modifiers, when): Now
10540         package-private.
10541
10542         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10543         and to-do list.
10544         (state::merge): Use current class' class loader.
10545         (state::print): Print subroutine.
10546         (state::merge): Don't look at subroutine of unmerged `ret'.
10547
10548 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10549
10550         * nogc.cc: Remove warnings.
10551         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10552         New functions.
10553
10554 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10555
10556         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10557         int, int):  Remove empty "if" statement to work around compiler bug.
10558         (newPixels(int[], ColorModel, int, int): Likewise.
10559
10560 2002-01-25  Per Bothner  <per@bothner.com>
10561
10562         * verify.cc (verify_fail):  Change from being a top-level function
10563         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10564         Pass the current verifier to type: and state: methods as needed,
10565         for better error messages, and for resolve.
10566         (resolve):  Pass current class's loader for Class.forName and
10567         _Jv_FindClassFromSignature, rather than using the default loader.
10568         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10569         (get_type_val_for_signature):  Make non-static.
10570         (various methods):  Pass start_PC implicitly, not explicitly.
10571
10572 2002-01-25  Tom Tromey  <tromey@redhat.com>
10573
10574         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10575         loop termination condition.
10576         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10577         width.
10578
10579 2002-01-24  Tom Tromey  <tromey@redhat.com>
10580
10581         * java/awt/Shape.java: Merged with Classpath.
10582         * java/awt/Scrollbar.java: Merged with Classpath.
10583
10584         * java/awt/Container.java (addNotify): Unconditionally call
10585         addNotifyContainerChildren and superclass addNotify.
10586
10587         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10588         getAlpha, not getBlue.
10589
10590 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10591
10592         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10593
10594         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10595         (grabPixels(long)): Wait to be notified that the ImageProducer has
10596         completed.
10597
10598 2002-01-24  Per Bothner  <per@bothner.com>
10599
10600         * verify.cc (is_assignable_from_slow): If target is an interface,
10601         we must still check the source's superclass before giving up.
10602
10603 2002-01-24  Tom Tromey  <tromey@redhat.com>
10604
10605         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10606
10607 2002-01-23  Tom Tromey  <tromey@redhat.com>
10608
10609         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10610         `else'.
10611
10612         * Makefile.in: Rebuilt.
10613         * Makefile.am (awt_java_source_files): Added new files.
10614         * java/awt/Toolkit.java: Merged with Classpath.
10615         * java/awt/PrintGraphics.java: New file from Classpath.
10616         * java/awt/PrintJob.java: New file from Classpath.
10617         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10618         * java/awt/datatransfer/ClipboardOwner.java: New file from
10619         Classpath.
10620         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10621         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10622         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10623         Classpath.
10624         * java/awt/datatransfer/StringSelection.java: New file from
10625         Classpath.
10626         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10627         Classpath.
10628         * java/awt/datatransfer/Transferable.java: New file from
10629         Classpath.
10630         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10631         from Classpath.
10632
10633         * Makefile.in: Rebuilt.
10634         * Makefile.am (awt_java_source_files): Added new files.
10635         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10636         Classpath.
10637         * java/awt/image/CropImageFilter.java: New file from Classpath.
10638         * java/awt/image/FilteredImageSource.java: New file from
10639         Classpath.
10640         * java/awt/image/ImageFilter.java: New file from Classpath.
10641         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10642         * java/awt/image/PixelGrabber.java: New file from Classpath.
10643         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10644         * java/awt/image/ReplicateScaleFilter.java: New file from
10645         Classpath.
10646         * java/awt/image/ImageProducer.java: Replaced with Classpath
10647         version.
10648         * java/awt/image/ImageObserver.java: Replaced with Classpath
10649         version.
10650         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10651         version.
10652         * java/awt/GridBagConstraints.java (clone): Catch
10653         CloneNotSupportedException.
10654
10655 2002-01-23  Per Bothner  <per@bothner.com>
10656
10657         * java/lang/reflect/natField.cc (setAddr):  New function.
10658         Calls getAddr and then checks that the field isn't final.
10659         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10660         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10661         (set):  Call setAddr before check that new value has right type,
10662         to better match specified semantics.
10663
10664 2002-01-22  Tom Tromey  <tromey@redhat.com>
10665
10666         * java/awt/TextField.java: Replaced with Classpath version.
10667         * java/awt/TextArea.java: Replaced with Classpath version.
10668         * java/awt/TextComponent.java: Replaced with Classpath version.
10669
10670         * java/awt/GridBagConstraints.java: Updated copyright.
10671
10672 2002-01-22  Mark Wielaard <mark@klomp.org>
10673
10674         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10675         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10676         java/awt/Dialog.java java/awt/FileDialog.java
10677         java/awt/Font.java java/awt/FontMetrics.java
10678         java/awt/Image.java java/awt/ImageMediaEntry.java
10679         java/awt/Insets.java java/awt/List.java
10680         java/awt/MediaEntry.java java/awt/MediaTracker.java
10681         java/awt/Menu.java java/awt/MenuBar.java
10682         java/awt/MenuContainer.java java/awt/MenuShortcut.java
10683         java/awt/PaintContext.java java/awt/Panel.java
10684         java/awt/PopupMenu.java java/awt/SystemColor.java
10685         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10686         java/awt/peer/CheckboxMenuItemPeer.java
10687         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10688         java/awt/peer/ComponentPeer.java
10689         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10690         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10691         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10692         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10693         java/awt/peer/MenuBarPeer.java
10694         java/awt/peer/MenuComponentPeer.java
10695         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10696         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10697         java/awt/peer/ScrollPanePeer.java
10698         java/awt/peer/ScrollbarPeer.java
10699         java/awt/peer/TextAreaPeer.java
10700         java/awt/peer/TextComponentPeer.java
10701         java/awt/peer/TextFieldPeer.java
10702         java/awt/peer/WindowPeer.java: Add license clarification.
10703
10704 2002-01-22  Mark Wielaard <mark@klomp.org>
10705
10706         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10707         gnu/gcj/runtime/StringBuffer.java
10708         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10709         gnu/java/awt/ComponentDataBlitOp.java
10710         gnu/java/awt/GLightweightPeer.java
10711         gnu/java/beans/BeanInfoEmbryo.java
10712         gnu/java/beans/EmptyBeanInfo.java
10713         gnu/java/beans/ExplicitBeanInfo.java
10714         gnu/java/beans/IntrospectionIncubator.java
10715         gnu/java/beans/editors/ColorEditor.java
10716         gnu/java/beans/editors/FontEditor.java
10717         gnu/java/beans/editors/NativeBooleanEditor.java
10718         gnu/java/beans/editors/NativeByteEditor.java
10719         gnu/java/beans/editors/NativeDoubleEditor.java
10720         gnu/java/beans/editors/NativeFloatEditor.java
10721         gnu/java/beans/editors/NativeIntEditor.java
10722         gnu/java/beans/editors/NativeLongEditor.java
10723         gnu/java/beans/editors/NativeShortEditor.java
10724         gnu/java/beans/editors/StringEditor.java
10725         gnu/java/beans/info/ComponentBeanInfo.java
10726         gnu/java/io/ClassLoaderObjectInputStream.java
10727         gnu/java/io/NullOutputStream.java
10728         gnu/java/io/ObjectIdentityWrapper.java
10729         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10730         gnu/java/lang/reflect/TypeSignature.java
10731         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10732         gnu/java/locale/Calendar_en.java
10733         gnu/java/locale/Calendar_nl.java
10734         gnu/java/locale/LocaleInformation.java
10735         gnu/java/locale/LocaleInformation_de.java
10736         gnu/java/locale/LocaleInformation_en.java
10737         gnu/java/locale/LocaleInformation_nl.java
10738         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10739         gnu/java/rmi/registry/RegistryImpl.java
10740         gnu/java/rmi/rmic/Compile_gcj.java
10741         gnu/java/rmi/rmic/Compiler.java
10742         gnu/java/rmi/rmic/CompilerProcess.java
10743         gnu/java/rmi/rmic/RMIC.java
10744         gnu/java/rmi/rmic/TabbedWriter.java
10745         gnu/java/rmi/server/ProtocolConstants.java
10746         gnu/java/rmi/server/RMIDefaultSocketFactory.java
10747         gnu/java/rmi/server/RMIHashes.java
10748         gnu/java/rmi/server/RMIObjectInputStream.java
10749         gnu/java/rmi/server/RMIObjectOutputStream.java
10750         gnu/java/rmi/server/UnicastConnection.java
10751         gnu/java/rmi/server/UnicastConnectionManager.java
10752         gnu/java/rmi/server/UnicastRef.java
10753         gnu/java/rmi/server/UnicastRemoteCall.java
10754         gnu/java/rmi/server/UnicastRemoteStub.java
10755         gnu/java/rmi/server/UnicastServer.java
10756         gnu/java/rmi/server/UnicastServerRef.java
10757         gnu/java/security/provider/DefaultPolicy.java
10758         gnu/java/security/provider/Gnu.java
10759         gnu/java/security/provider/SHA.java
10760         gnu/java/security/provider/SHA1PRNG.java
10761         gnu/java/text/BaseBreakIterator.java
10762         gnu/java/text/CharacterBreakIterator.java
10763         gnu/java/text/LineBreakIterator.java
10764         gnu/java/text/SentenceBreakIterator.java
10765         gnu/java/text/WordBreakIterator.java
10766         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10767         java/applet/AppletContext.java java/applet/AppletStub.java
10768         java/applet/AudioClip.java java/awt/AWTError.java
10769         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10770         java/awt/AWTException.java java/awt/AWTPermission.java
10771         java/awt/ActiveEvent.java java/awt/BorderLayout.java
10772         java/awt/Button.java java/awt/Canvas.java
10773         java/awt/CardLayout.java java/awt/Checkbox.java
10774         java/awt/CheckboxGroup.java java/awt/Component.java
10775         java/awt/ComponentOrientation.java java/awt/Container.java
10776         java/awt/Dimension.java java/awt/Event.java
10777         java/awt/EventDispatchThread.java java/awt/EventQueue.java
10778         java/awt/FlowLayout.java java/awt/Frame.java
10779         java/awt/Graphics.java java/awt/Graphics2D.java
10780         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10781         java/awt/IllegalComponentStateException.java
10782         java/awt/ItemSelectable.java java/awt/Label.java
10783         java/awt/LayoutManager.java java/awt/LayoutManager2.java
10784         java/awt/MenuComponent.java java/awt/MenuItem.java
10785         java/awt/Paint.java java/awt/Point.java
10786         java/awt/Rectangle.java java/awt/RenderingHints.java
10787         java/awt/Transparency.java java/awt/Window.java
10788         java/awt/color/ColorSpace.java
10789         java/awt/color/ICC_ColorSpace.java
10790         java/awt/color/ICC_Profile.java
10791         java/awt/event/HierarchyBoundsAdapter.java
10792         java/awt/event/HierarchyBoundsListener.java
10793         java/awt/event/HierarchyEvent.java
10794         java/awt/event/HierarchyListener.java
10795         java/awt/geom/AffineTransform.java
10796         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10797         java/awt/geom/IllegalPathStateException.java
10798         java/awt/geom/Line2D.java
10799         java/awt/geom/NoninvertibleTransformException.java
10800         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
10801         java/awt/geom/Rectangle2D.java
10802         java/awt/geom/RectangularShape.java
10803         java/awt/geom/RoundRectangle2D.java
10804         java/awt/image/BufferedImage.java
10805         java/awt/image/ColorModel.java
10806         java/awt/image/ComponentColorModel.java
10807         java/awt/image/ComponentSampleModel.java
10808         java/awt/image/DataBuffer.java
10809         java/awt/image/DataBufferByte.java
10810         java/awt/image/DataBufferInt.java
10811         java/awt/image/DataBufferUShort.java
10812         java/awt/image/DirectColorModel.java
10813         java/awt/image/PackedColorModel.java
10814         java/awt/image/Raster.java java/awt/image/RasterOp.java
10815         java/awt/image/SampleModel.java
10816         java/awt/image/SinglePixelPackedSampleModel.java
10817         java/awt/image/WritableRaster.java
10818         java/beans/AppletInitializer.java
10819         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
10820         java/beans/Beans.java java/beans/Customizer.java
10821         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
10822         java/beans/FeatureDescriptor.java
10823         java/beans/IndexedPropertyDescriptor.java
10824         java/beans/IntrospectionException.java
10825         java/beans/Introspector.java java/beans/MethodDescriptor.java
10826         java/beans/ParameterDescriptor.java
10827         java/beans/PropertyChangeEvent.java
10828         java/beans/PropertyChangeListener.java
10829         java/beans/PropertyChangeSupport.java
10830         java/beans/PropertyDescriptor.java
10831         java/beans/PropertyEditor.java
10832         java/beans/PropertyEditorManager.java
10833         java/beans/PropertyEditorSupport.java
10834         java/beans/PropertyVetoException.java
10835         java/beans/SimpleBeanInfo.java
10836         java/beans/VetoableChangeListener.java
10837         java/beans/VetoableChangeSupport.java
10838         java/beans/Visibility.java
10839         java/beans/beancontext/BeanContext.java
10840         java/beans/beancontext/BeanContextChild.java
10841         java/beans/beancontext/BeanContextChildComponentProxy.java
10842         java/beans/beancontext/BeanContextChildSupport.java
10843         java/beans/beancontext/BeanContextContainerProxy.java
10844         java/beans/beancontext/BeanContextEvent.java
10845         java/beans/beancontext/BeanContextMembershipEvent.java
10846         java/beans/beancontext/BeanContextMembershipListener.java
10847         java/beans/beancontext/BeanContextProxy.java
10848         java/beans/beancontext/BeanContextServiceAvailableEvent.java
10849         java/beans/beancontext/BeanContextServiceProvider.java
10850         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
10851         java/beans/beancontext/BeanContextServiceRevokedEvent.java
10852         java/beans/beancontext/BeanContextServiceRevokedListener.java
10853         java/beans/beancontext/BeanContextServices.java
10854         java/beans/beancontext/BeanContextServicesListener.java
10855         java/io/BufferedInputStream.java
10856         java/io/BufferedOutputStream.java java/io/BufferedReader.java
10857         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
10858         java/io/ByteArrayOutputStream.java
10859         java/io/CharArrayReader.java java/io/CharArrayWriter.java
10860         java/io/CharConversionException.java java/io/DataInput.java
10861         java/io/DataInputStream.java java/io/DataOutput.java
10862         java/io/EOFException.java java/io/Externalizable.java
10863         java/io/FileFilter.java java/io/FileNotFoundException.java
10864         java/io/FilePermission.java java/io/FileReader.java
10865         java/io/FileWriter.java java/io/FilenameFilter.java
10866         java/io/FilterInputStream.java java/io/FilterOutputStream.java
10867         java/io/FilterReader.java java/io/FilterWriter.java
10868         java/io/IOException.java java/io/InputStream.java
10869         java/io/InterruptedIOException.java
10870         java/io/InvalidClassException.java
10871         java/io/InvalidObjectException.java
10872         java/io/NotActiveException.java
10873         java/io/NotSerializableException.java java/io/ObjectInput.java
10874         java/io/ObjectInputStream.java
10875         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
10876         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
10877         java/io/ObjectStreamConstants.java
10878         java/io/ObjectStreamException.java
10879         java/io/ObjectStreamField.java
10880         java/io/OptionalDataException.java java/io/OutputStream.java
10881         java/io/PipedInputStream.java java/io/PipedOutputStream.java
10882         java/io/PipedReader.java java/io/PipedWriter.java
10883         java/io/PrintWriter.java java/io/PushbackInputStream.java
10884         java/io/PushbackReader.java java/io/Reader.java
10885         java/io/SequenceInputStream.java java/io/Serializable.java
10886         java/io/SerializablePermission.java
10887         java/io/StreamCorruptedException.java
10888         java/io/StreamTokenizer.java
10889         java/io/StringBufferInputStream.java java/io/StringReader.java
10890         java/io/StringWriter.java java/io/SyncFailedException.java
10891         java/io/UTFDataFormatException.java
10892         java/io/UnsupportedEncodingException.java
10893         java/io/WriteAbortedException.java java/io/Writer.java
10894         java/lang/AbstractMethodError.java
10895         java/lang/ArithmeticException.java
10896         java/lang/ArrayIndexOutOfBoundsException.java
10897         java/lang/ArrayStoreException.java java/lang/Boolean.java
10898         java/lang/Byte.java java/lang/CharSequence.java
10899         java/lang/ClassCastException.java
10900         java/lang/ClassCircularityError.java
10901         java/lang/ClassFormatError.java
10902         java/lang/ClassNotFoundException.java
10903         java/lang/CloneNotSupportedException.java
10904         java/lang/Cloneable.java java/lang/Comparable.java
10905         java/lang/Compiler.java java/lang/Double.java
10906         java/lang/Error.java java/lang/Exception.java
10907         java/lang/ExceptionInInitializerError.java
10908         java/lang/Float.java java/lang/IllegalAccessError.java
10909         java/lang/IllegalAccessException.java
10910         java/lang/IllegalArgumentException.java
10911         java/lang/IllegalMonitorStateException.java
10912         java/lang/IllegalStateException.java
10913         java/lang/IllegalThreadStateException.java
10914         java/lang/IncompatibleClassChangeError.java
10915         java/lang/IndexOutOfBoundsException.java
10916         java/lang/InheritableThreadLocal.java
10917         java/lang/InstantiationError.java
10918         java/lang/InstantiationException.java java/lang/Integer.java
10919         java/lang/InternalError.java
10920         java/lang/InterruptedException.java
10921         java/lang/LinkageError.java java/lang/Long.java
10922         java/lang/NegativeArraySizeException.java
10923         java/lang/NoClassDefFoundError.java
10924         java/lang/NoSuchFieldError.java
10925         java/lang/NoSuchFieldException.java
10926         java/lang/NoSuchMethodError.java
10927         java/lang/NoSuchMethodException.java
10928         java/lang/NullPointerException.java java/lang/Number.java
10929         java/lang/NumberFormatException.java
10930         java/lang/OutOfMemoryError.java java/lang/Package.java
10931         java/lang/Process.java java/lang/Runnable.java
10932         java/lang/RuntimeException.java
10933         java/lang/RuntimePermission.java
10934         java/lang/SecurityException.java
10935         java/lang/SecurityManager.java java/lang/Short.java
10936         java/lang/StackOverflowError.java java/lang/StringBuffer.java
10937         java/lang/StringIndexOutOfBoundsException.java
10938         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
10939         java/lang/ThreadLocal.java java/lang/UnknownError.java
10940         java/lang/UnsatisfiedLinkError.java
10941         java/lang/UnsupportedClassVersionError.java
10942         java/lang/UnsupportedOperationException.java
10943         java/lang/VerifyError.java java/lang/VirtualMachineError.java
10944         java/lang/Void.java java/lang/ref/PhantomReference.java
10945         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
10946         java/lang/ref/SoftReference.java
10947         java/lang/ref/WeakReference.java
10948         java/lang/reflect/AccessibleObject.java
10949         java/lang/reflect/InvocationTargetException.java
10950         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
10951         java/lang/reflect/ReflectPermission.java
10952         java/math/BigDecimal.java java/math/BigInteger.java
10953         java/net/Authenticator.java java/net/BindException.java
10954         java/net/ConnectException.java java/net/ContentHandler.java
10955         java/net/ContentHandlerFactory.java
10956         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
10957         java/net/FileNameMap.java java/net/MalformedURLException.java
10958         java/net/MulticastSocket.java java/net/NetPermission.java
10959         java/net/NoRouteToHostException.java
10960         java/net/PasswordAuthentication.java
10961         java/net/ProtocolException.java java/net/ServerSocket.java
10962         java/net/Socket.java java/net/SocketException.java
10963         java/net/SocketImpl.java java/net/SocketImplFactory.java
10964         java/net/SocketOptions.java java/net/SocketPermission.java
10965         java/net/URLDecoder.java java/net/URLEncoder.java
10966         java/net/URLStreamHandlerFactory.java
10967         java/net/UnknownHostException.java
10968         java/net/UnknownServiceException.java
10969         java/rmi/AccessException.java
10970         java/rmi/AlreadyBoundException.java
10971         java/rmi/ConnectException.java
10972         java/rmi/ConnectIOException.java
10973         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
10974         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
10975         java/rmi/NotBoundException.java
10976         java/rmi/RMISecurityException.java
10977         java/rmi/RMISecurityManager.java java/rmi/Remote.java
10978         java/rmi/RemoteException.java java/rmi/ServerError.java
10979         java/rmi/ServerException.java
10980         java/rmi/ServerRuntimeException.java
10981         java/rmi/StubNotFoundException.java
10982         java/rmi/UnexpectedException.java
10983         java/rmi/UnknownHostException.java
10984         java/rmi/UnmarshalException.java
10985         java/rmi/activation/Activatable.java
10986         java/rmi/activation/ActivateFailedException.java
10987         java/rmi/activation/ActivationDesc.java
10988         java/rmi/activation/ActivationException.java
10989         java/rmi/activation/ActivationGroup.java
10990         java/rmi/activation/ActivationGroupDesc.java
10991         java/rmi/activation/ActivationGroupID.java
10992         java/rmi/activation/ActivationID.java
10993         java/rmi/activation/ActivationInstantiator.java
10994         java/rmi/activation/ActivationMonitor.java
10995         java/rmi/activation/ActivationSystem.java
10996         java/rmi/activation/Activator.java
10997         java/rmi/activation/UnknownGroupException.java
10998         java/rmi/activation/UnknownObjectException.java
10999         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11000         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11001         java/rmi/registry/Registry.java
11002         java/rmi/registry/RegistryHandler.java
11003         java/rmi/server/ExportException.java
11004         java/rmi/server/LoaderHandler.java
11005         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11006         java/rmi/server/Operation.java
11007         java/rmi/server/RMIClassLoader.java
11008         java/rmi/server/RMIClientSocketFactory.java
11009         java/rmi/server/RMIFailureHandler.java
11010         java/rmi/server/RMIServerSocketFactory.java
11011         java/rmi/server/RMISocketFactory.java
11012         java/rmi/server/RemoteCall.java
11013         java/rmi/server/RemoteObject.java
11014         java/rmi/server/RemoteRef.java
11015         java/rmi/server/RemoteServer.java
11016         java/rmi/server/RemoteStub.java
11017         java/rmi/server/ServerCloneException.java
11018         java/rmi/server/ServerNotActiveException.java
11019         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11020         java/rmi/server/SkeletonMismatchException.java
11021         java/rmi/server/SkeletonNotFoundException.java
11022         java/rmi/server/SocketSecurityException.java
11023         java/rmi/server/UID.java
11024         java/rmi/server/UnicastRemoteObject.java
11025         java/rmi/server/Unreferenced.java
11026         java/security/AccessControlContext.java
11027         java/security/AccessControlException.java
11028         java/security/AccessController.java
11029         java/security/AlgorithmParameterGenerator.java
11030         java/security/AlgorithmParameterGeneratorSpi.java
11031         java/security/AlgorithmParameters.java
11032         java/security/AlgorithmParametersSpi.java
11033         java/security/AllPermission.java
11034         java/security/BasicPermission.java
11035         java/security/Certificate.java java/security/CodeSource.java
11036         java/security/DigestException.java
11037         java/security/DigestInputStream.java
11038         java/security/DigestOutputStream.java
11039         java/security/DomainCombiner.java
11040         java/security/DummyKeyPairGenerator.java
11041         java/security/DummyMessageDigest.java
11042         java/security/DummySignature.java
11043         java/security/GeneralSecurityException.java
11044         java/security/Guard.java java/security/GuardedObject.java
11045         java/security/Identity.java java/security/IdentityScope.java
11046         java/security/InvalidAlgorithmParameterException.java
11047         java/security/InvalidKeyException.java
11048         java/security/InvalidParameterException.java
11049         java/security/Key.java java/security/KeyException.java
11050         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11051         java/security/KeyManagementException.java
11052         java/security/KeyPair.java java/security/KeyPairGenerator.java
11053         java/security/KeyPairGeneratorSpi.java
11054         java/security/KeyStore.java
11055         java/security/KeyStoreException.java
11056         java/security/KeyStoreSpi.java
11057         java/security/MessageDigest.java
11058         java/security/MessageDigestSpi.java
11059         java/security/NoSuchAlgorithmException.java
11060         java/security/NoSuchProviderException.java
11061         java/security/Permission.java
11062         java/security/PermissionCollection.java
11063         java/security/Permissions.java java/security/Policy.java
11064         java/security/Principal.java java/security/PrivateKey.java
11065         java/security/PrivilegedAction.java
11066         java/security/PrivilegedActionException.java
11067         java/security/PrivilegedExceptionAction.java
11068         java/security/ProtectionDomain.java
11069         java/security/Provider.java
11070         java/security/ProviderException.java
11071         java/security/PublicKey.java
11072         java/security/SecureClassLoader.java
11073         java/security/SecureRandom.java
11074         java/security/SecureRandomSpi.java java/security/Security.java
11075         java/security/SecurityPermission.java
11076         java/security/Signature.java
11077         java/security/SignatureException.java
11078         java/security/SignatureSpi.java
11079         java/security/SignedObject.java java/security/Signer.java
11080         java/security/UnrecoverableKeyException.java
11081         java/security/UnresolvedPermission.java
11082         java/security/acl/Acl.java java/security/acl/AclEntry.java
11083         java/security/acl/AclNotFoundException.java
11084         java/security/acl/Group.java
11085         java/security/acl/LastOwnerException.java
11086         java/security/acl/NotOwnerException.java
11087         java/security/acl/Owner.java java/security/acl/Permission.java
11088         java/security/cert/CRL.java
11089         java/security/cert/CRLException.java
11090         java/security/cert/Certificate.java
11091         java/security/cert/CertificateEncodingException.java
11092         java/security/cert/CertificateException.java
11093         java/security/cert/CertificateExpiredException.java
11094         java/security/cert/CertificateFactory.java
11095         java/security/cert/CertificateFactorySpi.java
11096         java/security/cert/CertificateNotYetValidException.java
11097         java/security/cert/CertificateParsingException.java
11098         java/security/cert/X509CRL.java
11099         java/security/cert/X509CRLEntry.java
11100         java/security/cert/X509Certificate.java
11101         java/security/cert/X509Extension.java
11102         java/security/interfaces/DSAKey.java
11103         java/security/interfaces/DSAKeyPairGenerator.java
11104         java/security/interfaces/DSAParams.java
11105         java/security/interfaces/DSAPrivateKey.java
11106         java/security/interfaces/DSAPublicKey.java
11107         java/security/interfaces/RSAKey.java
11108         java/security/interfaces/RSAPrivateCrtKey.java
11109         java/security/interfaces/RSAPrivateKey.java
11110         java/security/interfaces/RSAPublicKey.java
11111         java/security/spec/AlgorithmParameterSpec.java
11112         java/security/spec/DSAParameterSpec.java
11113         java/security/spec/DSAPrivateKeySpec.java
11114         java/security/spec/DSAPublicKeySpec.java
11115         java/security/spec/EncodedKeySpec.java
11116         java/security/spec/InvalidKeySpecException.java
11117         java/security/spec/InvalidParameterSpecException.java
11118         java/security/spec/KeySpec.java
11119         java/security/spec/PKCS8EncodedKeySpec.java
11120         java/security/spec/RSAKeyGenParameterSpec.java
11121         java/security/spec/RSAPrivateCrtKeySpec.java
11122         java/security/spec/RSAPrivateKeySpec.java
11123         java/security/spec/RSAPublicKeySpec.java
11124         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11125         java/sql/BatchUpdateException.java java/sql/Blob.java
11126         java/sql/CallableStatement.java java/sql/Clob.java
11127         java/sql/Connection.java java/sql/DataTruncation.java
11128         java/sql/DatabaseMetaData.java java/sql/Date.java
11129         java/sql/Driver.java java/sql/DriverManager.java
11130         java/sql/DriverPropertyInfo.java
11131         java/sql/PreparedStatement.java java/sql/Ref.java
11132         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11133         java/sql/SQLData.java java/sql/SQLException.java
11134         java/sql/SQLInput.java java/sql/SQLOutput.java
11135         java/sql/SQLWarning.java java/sql/Statement.java
11136         java/sql/Struct.java java/sql/Time.java
11137         java/sql/Timestamp.java java/sql/Types.java
11138         java/text/Annotation.java
11139         java/text/AttributedCharacterIterator.java
11140         java/text/AttributedString.java
11141         java/text/AttributedStringIterator.java
11142         java/text/BreakIterator.java java/text/CharacterIterator.java
11143         java/text/ChoiceFormat.java java/text/Collator.java
11144         java/text/DateFormat.java java/text/DateFormatSymbols.java
11145         java/text/DecimalFormat.java
11146         java/text/DecimalFormatSymbols.java
11147         java/text/FieldPosition.java java/text/Format.java
11148         java/text/MessageFormat.java java/text/NumberFormat.java
11149         java/text/ParseException.java java/text/ParsePosition.java
11150         java/text/SimpleDateFormat.java
11151         java/text/StringCharacterIterator.java
11152         java/util/AbstractCollection.java java/util/AbstractList.java
11153         java/util/AbstractMap.java
11154         java/util/AbstractSequentialList.java
11155         java/util/AbstractSet.java java/util/ArrayList.java
11156         java/util/Arrays.java java/util/BasicMapEntry.java
11157         java/util/BitSet.java java/util/Calendar.java
11158         java/util/Collection.java java/util/Collections.java
11159         java/util/Comparator.java
11160         java/util/ConcurrentModificationException.java
11161         java/util/Date.java java/util/Dictionary.java
11162         java/util/EmptyStackException.java java/util/Enumeration.java
11163         java/util/EventListener.java java/util/EventObject.java
11164         java/util/GregorianCalendar.java java/util/HashMap.java
11165         java/util/HashSet.java java/util/Hashtable.java
11166         java/util/IdentityHashMap.java java/util/Iterator.java
11167         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11168         java/util/LinkedList.java java/util/List.java
11169         java/util/ListIterator.java java/util/ListResourceBundle.java
11170         java/util/Locale.java java/util/Map.java
11171         java/util/MissingResourceException.java
11172         java/util/NoSuchElementException.java
11173         java/util/Observable.java java/util/Observer.java
11174         java/util/Properties.java java/util/PropertyPermission.java
11175         java/util/PropertyResourceBundle.java java/util/Random.java
11176         java/util/RandomAccess.java java/util/ResourceBundle.java
11177         java/util/Set.java java/util/SimpleTimeZone.java
11178         java/util/SortedMap.java java/util/SortedSet.java
11179         java/util/Stack.java java/util/StringTokenizer.java
11180         java/util/TimeZone.java java/util/Timer.java
11181         java/util/TimerTask.java
11182         java/util/TooManyListenersException.java
11183         java/util/TreeMap.java java/util/TreeSet.java
11184         java/util/Vector.java java/util/WeakHashMap.java
11185         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11186         java/util/jar/JarException.java java/util/jar/JarFile.java
11187         java/util/jar/JarInputStream.java
11188         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11189         java/util/zip/Adler32.java java/util/zip/CRC32.java
11190         java/util/zip/CheckedInputStream.java
11191         java/util/zip/CheckedOutputStream.java
11192         java/util/zip/Checksum.java
11193         java/util/zip/DataFormatException.java
11194         java/util/zip/Deflater.java
11195         java/util/zip/DeflaterOutputStream.java
11196         java/util/zip/GZIPInputStream.java
11197         java/util/zip/GZIPOutputStream.java
11198         java/util/zip/Inflater.java
11199         java/util/zip/InflaterInputStream.java
11200         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11201         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11202         java/util/zip/ZipInputStream.java
11203         java/util/zip/ZipOutputStream.java
11204         javax/naming/BinaryRefAddr.java
11205         javax/naming/InvalidNameException.java javax/naming/Name.java
11206         javax/naming/NamingException.java javax/naming/RefAddr.java
11207         javax/naming/StringRefAddr.java: Add license clarification.
11208
11209 2002-01-22  Tom Tromey  <tromey@redhat.com>
11210
11211         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11212         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11213         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11214         version.
11215         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11216         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11217         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11218         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11219         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11220         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11221         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11222         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11223         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11224         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11225         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11226         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11227         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11228         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11229         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11230         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11231         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11232         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11233         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11234         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11235         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11236         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11237         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11238         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11239         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11240         (minimumSize, preferredSize, reshape): Likewise.
11241         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11242         getColorModel): New methods.
11243         * java/awt/PopupMenu.java: Merged with Classpath.
11244         * java/awt/MenuBar.java: Merged with Classpath.
11245         * java/awt/SystemColor.java: Replace with Classpath version.
11246         * java/awt/Panel.java: Merged with Classpath.
11247         * java/awt/PaintContext.java: Updated copyright.
11248         * java/awt/MenuShortcut.java: Merged with Classpath.
11249         * java/awt/MenuContainer.java: Merged with Classpath.
11250         * java/awt/Menu.java: Merged with Classpath.
11251         * java/awt/MediaEntry.java: New file from Classpath.
11252         * java/awt/MediaTracker.java: New file from Classpath.
11253         * java/awt/List.java: Merged with Classpath version.
11254         * java/awt/Insets.java: Merged with Classpath version.
11255         * java/awt/ImageMediaEntry.java: New file from Classpath.
11256         * java/awt/Image.java: Replaced with Classpath version.
11257         * java/awt/FontMetrics.java: Merged with Classpath version.
11258         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11259         constant.
11260         * java/awt/Font.java: Merged with Classpath version.
11261         * java/awt/Dialog.java: Merged with Classpath version.
11262         * java/awt/Color.java: Merged with Classpath version.
11263         * java/awt/Choice.java: Merged with Classpath version.
11264         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11265         * java/awt/Adjustable.java: Replace with Classpath version.
11266         * java/awt/MenuItem.java (paramString): Don't include class name
11267         or brackets.  Call superclass paramString.
11268         * java/awt/MenuComponent.java (toString): Call paramString.
11269         (paramString): Compute string; don't call toString.
11270         * java/awt/Label.java (paramString): Don't include class name
11271         or brackets.  Call superclass paramString.
11272         * java/awt/Checkbox.java (paramString): Don't include class name
11273         or brackets.  Call superclass paramString.
11274         * java/awt/Button.java (paramString): Don't include class name or
11275         brackets.  Call superclass paramString.
11276         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11277
11278 2002-01-20  Andreas Schwab  <schwab@suse.de>
11279
11280         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11281         function and of parameter recv_func to ssize_t, as specified by
11282         POSIX.
11283
11284 2002-01-19  Per Bothner  <per@bothner.com>
11285
11286         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11287         uncompressed_size in readiness for next entry.
11288
11289 2002-01-18  Tom Tromey  <tromey@redhat.com>
11290
11291         * java/net/natPlainSocketImpl.cc: Include
11292         IllegalArgumentException.h.
11293         (_Jv_recv): New template function.
11294         (BooleanClass): Removed.
11295         (read): Use _Jv_recv.
11296         (setOption): Use Boolean::class$.  Throw exception if object is
11297         not Boolean or Integer.
11298
11299 2002-01-17  Tom Tromey  <tromey@redhat.com>
11300
11301         * java/awt/MenuComponent.java: Merged with Classpath.
11302         * java/awt/MenuItem.java: Merged with Classpath.
11303         * java/awt/Button.java: Merged with Classpath.
11304
11305         * java/awt/ActiveEvent.java: Updated copyright.
11306
11307         * java/awt/AWTError.java: Replaced with Classpath version.
11308         * java/awt/AWTException.java: Replaced with Classpath version.
11309         * java/awt/IllegalComponentStateException.java: Replaced with
11310         Classpath version.
11311
11312 2002-01-16  Tom Tromey  <tromey@redhat.com>
11313
11314         * java/awt/Canvas.java (serialVersionUID): New constant.
11315         Updated copyright.  Added javadoc from Classpath.
11316         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11317
11318         * java/awt/CheckboxGroup.java: Merged with Classpath.
11319         * java/awt/Checkbox.java: Merged with Classpath.
11320
11321         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11322         Classpath.
11323         * java/awt/Point.java: Updated copyright.
11324
11325         * java/awt/Point.java (toString): Use getClass().getName().
11326         Added javadoc.
11327
11328         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11329         commented code.
11330         (hash): Correctly compute initial value for `h'.
11331
11332         * java/awt/Label.java: Merged with Classpath.
11333
11334 2002-01-15  Tom Tromey  <tromey@redhat.com>
11335
11336         * java/awt/AWTPermission.java: Updated copyright.
11337
11338         * java/awt/LayoutManager2.java: Merged with Classpath.
11339         * java/awt/LayoutManager.java: Merged with Classpath.
11340         * java/awt/GridLayout.java: Updated copyright and javadoc.
11341         (getSize): Use `parent.ncomponents'.  Handle insets.
11342         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11343         there are fewer children than columns.  Correctly compute size of
11344         each cell in the grid.  Handle case where there isn't enough
11345         space.
11346         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11347         all users.
11348         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11349         before calling setVisible() on it.  Last item is `num - 1', not
11350         `num'.
11351         (layoutContainer): Hoist invariants out of loop.
11352
11353         Start of AWT merge with Classpath:
11354         * Makefile.in: Rebuilt.
11355         * Makefile.am (awt_java_source_files): Reference files in
11356         gnu/java/awt, not gnu/gcj/awt.
11357         * java/awt/image/BufferedImage.java: Updated copyright.
11358         * java/awt/image/ComponentColorModel.java: Updated copyright.
11359         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11360         * java/awt/image/DataBuffer.java: Updated copyright.
11361         * java/awt/image/DataBufferByte.java: Updated copyright.
11362         * java/awt/image/DataBufferInt.java: Updated copyright.
11363         * java/awt/image/DataBufferUShort.java: Updated copyright.
11364         * java/awt/image/IndexColorModel.java: Updated copyright.
11365         * java/awt/image/PackedColorModel.java: Updated copyright.
11366         * java/awt/image/Raster.java: Updated copyright.
11367         * java/awt/image/RasterOp.java: Updated copyright.
11368         * java/awt/image/SampleModel.java: Updated copyright.
11369         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11370         * java/awt/image/WritableRaster.java: Updated copyright.
11371         * java/awt/color/ColorSpace.java: Updated copyright.
11372         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11373         * java/awt/color/ICC_Profile.java: Updated copyright.
11374         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11375         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11376         * java/awt/event/HierarchyEvent.java: Updated copyright.
11377         * java/awt/event/HierarchyListener.java: Updated copyright.
11378         * java/awt/geom/AffineTransform.java: Updated copyright.
11379         * java/awt/geom/Dimension2D.java: Updated copyright.
11380         * java/awt/geom/Ellipse2D.java: Updated copyright.
11381         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11382         * java/awt/geom/Line2D.java: Updated copyright.
11383         * java/awt/geom/NoninvertibleTransformException.java: Updated
11384         copyright.
11385         * java/awt/geom/PathIterator.java: Updated copyright.
11386         * java/awt/geom/Point2D.java: Updated copyright.
11387         * java/awt/geom/Rectangle2D.java: Updated copyright.
11388         * java/awt/geom/RectangularShape.java: Updated copyright.
11389         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11390         * java/awt/Toolkit.java: Updated import for file moves.
11391         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11392         Classpath.
11393         (hashCode): New method from Classpath.
11394         * java/awt/Graphics2D.java: Updated copyright.
11395         * java/awt/Transparency.java: Updated copyright.
11396         * java/awt/Paint.java: Updated copyright.
11397         * java/awt/Graphics.java: New version from Classpath.
11398         * java/awt/EventDispatchThread.java: Updated copyright.
11399         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11400         children.
11401         (gotoComponent): Wrap around on next/previous.
11402         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11403         * gnu/gcj/awt/Buffers.java: Removed.
11404         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11405         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11406         * gnu/java/awt/BitMaskExtent.java: Added.
11407         * gnu/java/awt/Buffers.java: Added.
11408         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11409         * gnu/java/awt/GLightweightPeer.java: Added.
11410         * java/awt/geom/Line2D.java (clone): Ignore
11411         CloneNotSupportedException.
11412         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11413         * java/awt/Frame.java: Merged with Classpath.
11414         * java/awt/RenderingHints.java: Copyright update.
11415         * java/awt/Paint.java: Copyright update.
11416         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11417         * java/awt/image/ColorModel.java: Merged with Classpath.
11418         * java/awt/Window.java (show): New Implementation from Classpath.
11419         (isShowing): Use super.isShowing().
11420         * java/awt/EventQueue.java: Merged with Classpath.
11421         * java/awt/AWTEventMulticaster.java (save): Throw
11422         RuntimeException.
11423         (saveInternal): Likewise.
11424         * java/awt/AWTEvent.java: Now implements Serializable.
11425         * java/awt/Event.java: Copyright update.
11426         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11427         * java/awt/image/BufferedImage.java: Copyright update.
11428         * java/awt/GraphicsConfiguration.java: Copyright update.
11429         * java/awt/Component.java: (addNotify): Don't call
11430         addNotifyContainerChildren().
11431         (addNotifyContainerChildren): Removed.
11432         (setPeer): New method from Classpath.
11433         (setTreeLock): Likewise.
11434         (setVisible): Rewrote.
11435         (show): Use it.
11436         (hide): Likewise.
11437         (validate): Set `valid'.
11438         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11439         (createImage(ImageProducer)): Likewise.
11440         (prepareImage): Likewise.
11441         * java/awt/Container.java (addImpl): Handle case where constraint
11442         is not a String.  Post event via system event queue.
11443         (remove): Post event via system event queue.
11444         (validateTree): Only validate child if it is invalid.
11445         (getAlignmentX): Call super method as default.
11446         (getAlignmentY): Likewise.
11447         (addContainerListener): Now synchronized.
11448         (removeContainerListener): Likewise.
11449         (addNotifyContainerChildren): Now private.
11450         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11451         @author.
11452         * java/awt/FlowLayout.java (serialVersionUID): New field.
11453         (setAlignment): Better exception message.
11454         (layoutContainer): Don't compute component's preferred size unless
11455         we're going to use it.
11456         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11457         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11458         (firstLine, lastLine, firstItem, lastItem): New fields.
11459         (addLayoutComponent): Handle case where constraints is null.
11460         Also, handle relative locations.
11461         (removeLayoutComponent): Handle relative locations.
11462         (MIN, MAX, PREF): New constants.
11463         (calcCompSize): New method.
11464         (calcSize): New method.
11465         (minimumLayoutSize): Use it.
11466         (preferredLayoutSize): Likewise.
11467         (maximumLayoutSize): Likewise.
11468         (toString): Include more information.
11469         (setBounds): New method.
11470         (layoutContainer): Use libgcj implementation; extended to handle
11471         relative locations.
11472
11473 2002-01-15  Tom Tromey  <tromey@redhat.com>
11474
11475         * java/lang/Float.java (equals): Preserve old code.
11476         * java/lang/Double.java (equals): Preserve old code.
11477
11478 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11479
11480         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11481         * java/lang/Float.java (equals, compare): Ditto.
11482
11483 2002-01-13  Mark Wielaard  <mark@klomp.org>
11484
11485         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11486         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11487         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11488         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11489
11490 2002-01-11  Mark Wielaard  <mark@klomp.org>
11491
11492         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11493         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11494         InetAddress.
11495         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11496         * java/net/Socket.java: Merge with Classpath.
11497         * java/net/ServerSocket.java: Likewise.
11498
11499 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11500
11501         * interpret.cc (NULLARRAYCHECK): New macro.
11502         (SAVE_PC): Just store `pc'.
11503         (find_exception): Subtract one from `pc' here.
11504         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11505         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11506         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11507         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11508         don't call SAVE_PC.
11509         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11510         call SAVE_PC.
11511
11512 2002-01-11  Tom Tromey  <tromey@redhat.com>
11513
11514         * java/lang/natSystem.cc (init_properties): Only look for default
11515         locale if LC_MESSAGES is defined.
11516         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11517         * configure.in: Call AM_LC_MESSAGES.
11518         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11519
11520 2002-01-10  Tom Tromey  <tromey@redhat.com>
11521
11522         For PR libgcj/5303:
11523         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11524         --version.  Recognize GNU-style long options.  Print GNU-style
11525         error messages.
11526         (usage): Print GNU-style help.  Exit with status 0.
11527         (error): New method.
11528         (run): Print error message if no class names found.
11529         (main): Don't print usage on error.
11530
11531 2002-01-09  Tom Tromey  <tromey@redhat.com>
11532
11533         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11534         property.
11535         (help, version): Use println(), not println("").
11536
11537         For PR libgcj/5303:
11538         * gnu/gcj/convert/Convert.java (error): Program is called
11539         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11540         -1.
11541         (main): Handle --help and --version.
11542         (help): New method.
11543         (version): Likewise.
11544
11545 2002-01-08  Tom Tromey  <tromey@redhat.com>
11546
11547         * Makefile.in: Rebuilt.
11548         * Makefile.am (ordinary_java_source_files): Added new files.
11549         * gnu/java/locale/LocaleInformation.java: Extend
11550         LocaleInformation_en.
11551         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11552         and time/date formats.
11553         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11554         generated.
11555         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11556         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11557         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11558         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11559         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11560         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11561         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11562         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11563         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11564         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11565         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11566         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11567         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11568         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11569         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11570         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11571         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11572         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11573         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11574         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11575         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11576         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11577         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11578         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11579         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11580         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11581         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11582         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11583         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11584         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11585         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11586         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11587         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11588         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11589         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11590         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11591         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11592         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11593         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11594         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11595         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11596         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11597         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11598         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11599         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11600         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11601         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11602         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11603         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11604         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11605         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11606         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11607         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11608         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11609         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11610         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11611         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11612         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11613         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11614         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11615         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11616         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11617         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11618         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11619         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11620         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11621         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11622         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11623         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11624         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11625         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11626         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11627         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11628         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11629         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11630         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11631         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11632         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11633         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11634         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11635         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11636         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11637         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11638         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11639         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11640         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11641         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11642         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11643         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11644         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11645         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11646         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11647         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11648         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11649         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11650         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11651         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11652         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11653         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11654         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11655         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11656         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11657         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11658         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11659         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11660         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11661         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11662         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11663         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11664         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11665         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11666         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11667         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11668         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11669         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11670         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11671         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11672         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11673         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11674         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11675         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11676         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11677         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11678         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11679         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11680         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11681         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11682         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11683         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11684         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11685
11686         For PR libgcj/5031:
11687         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11688         choose default locale.
11689
11690         * Makefile.in: Rebuilt.
11691         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11692
11693 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
11694
11695         * java/net/natPlainSocketImpl.cc: Added timeout handling for
11696         sockets.
11697         (close): New function closes the socket.
11698         (write): New functions for output to socket.
11699         (read): New functions for reading from socket.
11700         * java/net/PlainSocketImpl.java: Glue for new timeout
11701         implementation.
11702         (write): Call the native impl.
11703         (read): Likewise.
11704         (getInputStream): Get a stream to read from the socket.
11705         (getOutputStream): Get a stream to write to the socket.
11706
11707 2002-01-08  Tom Tromey  <tromey@redhat.com>
11708
11709         * resolve.cc (_Jv_PrepareClass): Enable verifier.
11710
11711 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
11712
11713         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11714         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11715
11716 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
11717
11718         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11719         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11720         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11721         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11722         insn_bastore, insn_castore, insn_sastore]: Use it.
11723         (continue1) [insn_arraylength]: Check for null array.
11724
11725 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11726
11727         * configure, include/config.h.in: Rebuilt.
11728         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11729         * configure.in: Call AC_STRUCT_TIMEZONE.
11730
11731 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11732
11733         * configure.host: Disable the interpreter for Darwin.
11734
11735 2002-01-04  Tom Tromey  <tromey@redhat.com>
11736
11737         * java/lang/Thread.java (stop): No longer synchronized.
11738         (start): Likewise.
11739
11740 2002-01-02  Tom Tromey  <tromey@redhat.com>
11741
11742         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11743         patch.
11744
11745 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
11746
11747         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11748         PPC Darwin, not for all of Darwin.